]> git.saurik.com Git - wxWidgets.git/blob - configure
rewrote this page to look like all the others; added wxALIGN_RIGHT test
[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.2.
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.2'
274 PACKAGE_STRING='wxWidgets 2.5.2'
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 PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED 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_MACOSX PLATFORM_OS2 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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_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_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_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_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_COCOA 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_MAC_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM_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_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 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 PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_DATA_FILE WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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.2 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.2:";;
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 --enable-rpath=DIR output the rpath flag from wx-config
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-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support in wxProtocol
939 --enable-protocol-ftp FTP support in wxProtocol
940 --enable-protocol-file FILE support in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use help subsystem
944 --enable-mshtmlhelp use MS HTML Help (win32)
945 --enable-html use wxHTML sub-library
946 --enable-htmlhelp use wxHTML-based help
947 --enable-constraints use layout-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl (Mac)
955 --enable-postscript use wxPostscriptDC device context (default for gtk+)
956 --enable-prologio not available; see contrib
957 --enable-resources not available; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick (Linux only)
1022 --enable-metafiles use wxMetaFile (Windows only)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images (GIF file format)
1028 --enable-pcx use pcx images (PCX file format)
1029 --enable-iff use iff images (IFF file format)
1030 --enable-pnm use pnm images (PNM file format)
1031 --enable-xpm use xpm images (XPM file format)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets (win32 DLL only)
1034 --enable-vendor=VENDOR vendor name (win32 DLL only)
1035 --disable-largefile omit support for large files
1036 --disable-gtktest do not try to compile and run a test GTK+ program
1037 --disable-gtktest Do not try to compile and run a test GTK program
1038 --disable-sdltest Do not try to compile and run a test SDL program
1039 --enable-omf use OMF object format (OS/2)
1040 --disable-precomp-headers don't use precompiled headers even if compiler can
1041
1042 Optional Packages:
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-gtk use GTK+
1046 --with-motif use Motif/Lesstif
1047 --with-mac use Mac OS X
1048 --with-cocoa use Cocoa
1049 --with-wine use Wine
1050 --with-msw use MS-Windows
1051 --with-pm use OS/2 Presentation Manager
1052 --with-mgl use SciTech MGL
1053 --with-microwin use MicroWindows
1054 --with-x11 use X11
1055 --with-libpng use libpng (PNG image format)
1056 --with-libjpeg use libjpeg (JPEG file format)
1057 --with-libtiff use libtiff (TIFF file format)
1058 --with-libxpm use libxpm (XPM file format)
1059 --with-libmspack use libmspack (CHM help files loading)
1060 --with-sdl use SDL for audio on Unix
1061 --with-opengl use OpenGL (or Mesa)
1062 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1063 --with-regex enable support for wxRegEx class
1064 --with-zlib use zlib for LZW compression
1065 --with-odbc use the IODBC and wxODBC classes
1066 --with-expat enable XML support using expat parser
1067 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1068 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1069 --with-x use the X Window System
1070 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1071 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1072 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1073 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1074 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1075
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1083 CPP C preprocessor
1084 CXX C++ compiler command
1085 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1087
1088 Use these variables to override the choices made by `configure' or to help
1089 it to find libraries and programs with nonstandard names/locations.
1090
1091 Report bugs to <wx-dev@lists.wxwidgets.org>.
1092 _ACEOF
1093 fi
1094
1095 if test "$ac_init_help" = "recursive"; then
1096 # If there are subdirs, report their specific --help.
1097 ac_popdir=`pwd`
1098 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1099 test -d $ac_dir || continue
1100 ac_builddir=.
1101
1102 if test "$ac_dir" != .; then
1103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104 # A "../" for each directory in $ac_dir_suffix.
1105 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106 else
1107 ac_dir_suffix= ac_top_builddir=
1108 fi
1109
1110 case $srcdir in
1111 .) # No --srcdir option. We are building in place.
1112 ac_srcdir=.
1113 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir=.
1115 else
1116 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1117 fi ;;
1118 [\\/]* | ?:[\\/]* ) # Absolute path.
1119 ac_srcdir=$srcdir$ac_dir_suffix;
1120 ac_top_srcdir=$srcdir ;;
1121 *) # Relative path.
1122 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1123 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1124 esac
1125
1126 # Do not use `cd foo && pwd` to compute absolute paths, because
1127 # the directories may not exist.
1128 case `pwd` in
1129 .) ac_abs_builddir="$ac_dir";;
1130 *)
1131 case "$ac_dir" in
1132 .) ac_abs_builddir=`pwd`;;
1133 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1134 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1135 esac;;
1136 esac
1137 case $ac_abs_builddir in
1138 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1139 *)
1140 case ${ac_top_builddir}. in
1141 .) ac_abs_top_builddir=$ac_abs_builddir;;
1142 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1144 esac;;
1145 esac
1146 case $ac_abs_builddir in
1147 .) ac_abs_srcdir=$ac_srcdir;;
1148 *)
1149 case $ac_srcdir in
1150 .) ac_abs_srcdir=$ac_abs_builddir;;
1151 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1152 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1153 esac;;
1154 esac
1155 case $ac_abs_builddir in
1156 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1157 *)
1158 case $ac_top_srcdir in
1159 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1160 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1162 esac;;
1163 esac
1164
1165 cd $ac_dir
1166 # Check for guested configure; otherwise get Cygnus style configure.
1167 if test -f $ac_srcdir/configure.gnu; then
1168 echo
1169 $SHELL $ac_srcdir/configure.gnu --help=recursive
1170 elif test -f $ac_srcdir/configure; then
1171 echo
1172 $SHELL $ac_srcdir/configure --help=recursive
1173 elif test -f $ac_srcdir/configure.ac ||
1174 test -f $ac_srcdir/configure.in; then
1175 echo
1176 $ac_configure --help
1177 else
1178 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1179 fi
1180 cd $ac_popdir
1181 done
1182 fi
1183
1184 test -n "$ac_init_help" && exit 0
1185 if $ac_init_version; then
1186 cat <<\_ACEOF
1187 wxWidgets configure 2.5.2
1188 generated by GNU Autoconf 2.59
1189
1190 Copyright (C) 2003 Free Software Foundation, Inc.
1191 This configure script is free software; the Free Software Foundation
1192 gives unlimited permission to copy, distribute and modify it.
1193 _ACEOF
1194 exit 0
1195 fi
1196 exec 5>config.log
1197 cat >&5 <<_ACEOF
1198 This file contains any messages produced by compilers while
1199 running configure, to aid debugging if configure makes a mistake.
1200
1201 It was created by wxWidgets $as_me 2.5.2, which was
1202 generated by GNU Autoconf 2.59. Invocation command line was
1203
1204 $ $0 $@
1205
1206 _ACEOF
1207 {
1208 cat <<_ASUNAME
1209 ## --------- ##
1210 ## Platform. ##
1211 ## --------- ##
1212
1213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218
1219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221
1222 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1229
1230 _ASUNAME
1231
1232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1233 for as_dir in $PATH
1234 do
1235 IFS=$as_save_IFS
1236 test -z "$as_dir" && as_dir=.
1237 echo "PATH: $as_dir"
1238 done
1239
1240 } >&5
1241
1242 cat >&5 <<_ACEOF
1243
1244
1245 ## ----------- ##
1246 ## Core tests. ##
1247 ## ----------- ##
1248
1249 _ACEOF
1250
1251
1252 # Keep a trace of the command line.
1253 # Strip out --no-create and --no-recursion so they do not pile up.
1254 # Strip out --silent because we don't want to record it for future runs.
1255 # Also quote any args containing shell meta-characters.
1256 # Make two passes to allow for proper duplicate-argument suppression.
1257 ac_configure_args=
1258 ac_configure_args0=
1259 ac_configure_args1=
1260 ac_sep=
1261 ac_must_keep_next=false
1262 for ac_pass in 1 2
1263 do
1264 for ac_arg
1265 do
1266 case $ac_arg in
1267 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1270 continue ;;
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 esac
1274 case $ac_pass in
1275 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1276 2)
1277 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1278 if test $ac_must_keep_next = true; then
1279 ac_must_keep_next=false # Got value, back to normal.
1280 else
1281 case $ac_arg in
1282 *=* | --config-cache | -C | -disable-* | --disable-* \
1283 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285 | -with-* | --with-* | -without-* | --without-* | --x)
1286 case "$ac_configure_args0 " in
1287 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 esac
1289 ;;
1290 -* ) ac_must_keep_next=true ;;
1291 esac
1292 fi
1293 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1294 # Get rid of the leading space.
1295 ac_sep=" "
1296 ;;
1297 esac
1298 done
1299 done
1300 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1301 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1302
1303 # When interrupted or exit'd, cleanup temporary files, and complete
1304 # config.log. We remove comments because anyway the quotes in there
1305 # would cause problems or look ugly.
1306 # WARNING: Be sure not to use single quotes in there, as some shells,
1307 # such as our DU 5.0 friend, will then `close' the trap.
1308 trap 'exit_status=$?
1309 # Save into config.log some information that might help in debugging.
1310 {
1311 echo
1312
1313 cat <<\_ASBOX
1314 ## ---------------- ##
1315 ## Cache variables. ##
1316 ## ---------------- ##
1317 _ASBOX
1318 echo
1319 # The following way of writing the cache mishandles newlines in values,
1320 {
1321 (set) 2>&1 |
1322 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 *ac_space=\ *)
1324 sed -n \
1325 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1327 ;;
1328 *)
1329 sed -n \
1330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1331 ;;
1332 esac;
1333 }
1334 echo
1335
1336 cat <<\_ASBOX
1337 ## ----------------- ##
1338 ## Output variables. ##
1339 ## ----------------- ##
1340 _ASBOX
1341 echo
1342 for ac_var in $ac_subst_vars
1343 do
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1346 done | sort
1347 echo
1348
1349 if test -n "$ac_subst_files"; then
1350 cat <<\_ASBOX
1351 ## ------------- ##
1352 ## Output files. ##
1353 ## ------------- ##
1354 _ASBOX
1355 echo
1356 for ac_var in $ac_subst_files
1357 do
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1360 done | sort
1361 echo
1362 fi
1363
1364 if test -s confdefs.h; then
1365 cat <<\_ASBOX
1366 ## ----------- ##
1367 ## confdefs.h. ##
1368 ## ----------- ##
1369 _ASBOX
1370 echo
1371 sed "/^$/d" confdefs.h | sort
1372 echo
1373 fi
1374 test "$ac_signal" != 0 &&
1375 echo "$as_me: caught signal $ac_signal"
1376 echo "$as_me: exit $exit_status"
1377 } >&5
1378 rm -f core *.core &&
1379 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 exit $exit_status
1381 ' 0
1382 for ac_signal in 1 2 13 15; do
1383 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1384 done
1385 ac_signal=0
1386
1387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1388 rm -rf conftest* confdefs.h
1389 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 echo >confdefs.h
1391
1392 # Predefined preprocessor variables.
1393
1394 cat >>confdefs.h <<_ACEOF
1395 #define PACKAGE_NAME "$PACKAGE_NAME"
1396 _ACEOF
1397
1398
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1401 _ACEOF
1402
1403
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1406 _ACEOF
1407
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_STRING "$PACKAGE_STRING"
1411 _ACEOF
1412
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1416 _ACEOF
1417
1418
1419 # Let the site file select an alternate cache file if it wants to.
1420 # Prefer explicitly selected file to automatically selected ones.
1421 if test -z "$CONFIG_SITE"; then
1422 if test "x$prefix" != xNONE; then
1423 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1424 else
1425 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 fi
1427 fi
1428 for ac_site_file in $CONFIG_SITE; do
1429 if test -r "$ac_site_file"; then
1430 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431 echo "$as_me: loading site script $ac_site_file" >&6;}
1432 sed 's/^/| /' "$ac_site_file" >&5
1433 . "$ac_site_file"
1434 fi
1435 done
1436
1437 if test -r "$cache_file"; then
1438 # Some versions of bash will fail to source /dev/null (special
1439 # files actually), so we avoid doing that.
1440 if test -f "$cache_file"; then
1441 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442 echo "$as_me: loading cache $cache_file" >&6;}
1443 case $cache_file in
1444 [\\/]* | ?:[\\/]* ) . $cache_file;;
1445 *) . ./$cache_file;;
1446 esac
1447 fi
1448 else
1449 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450 echo "$as_me: creating cache $cache_file" >&6;}
1451 >$cache_file
1452 fi
1453
1454 # Check that the precious variables saved in the cache have kept the same
1455 # value.
1456 ac_cache_corrupted=false
1457 for ac_var in `(set) 2>&1 |
1458 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1460 eval ac_new_set=\$ac_env_${ac_var}_set
1461 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1462 eval ac_new_val="\$ac_env_${ac_var}_value"
1463 case $ac_old_set,$ac_new_set in
1464 set,)
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467 ac_cache_corrupted=: ;;
1468 ,set)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,);;
1473 *)
1474 if test "x$ac_old_val" != "x$ac_new_val"; then
1475 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478 echo "$as_me: former value: $ac_old_val" >&2;}
1479 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480 echo "$as_me: current value: $ac_new_val" >&2;}
1481 ac_cache_corrupted=:
1482 fi;;
1483 esac
1484 # Pass precious variables to config.status.
1485 if test "$ac_new_set" = set; then
1486 case $ac_new_val in
1487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 *) ac_arg=$ac_var=$ac_new_val ;;
1490 esac
1491 case " $ac_configure_args " in
1492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1494 esac
1495 fi
1496 done
1497 if $ac_cache_corrupted; then
1498 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502 { (exit 1); exit 1; }; }
1503 fi
1504
1505 ac_ext=c
1506 ac_cpp='$CPP $CPPFLAGS'
1507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540 ac_aux_dir=
1541 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1542 if test -f $ac_dir/install-sh; then
1543 ac_aux_dir=$ac_dir
1544 ac_install_sh="$ac_aux_dir/install-sh -c"
1545 break
1546 elif test -f $ac_dir/install.sh; then
1547 ac_aux_dir=$ac_dir
1548 ac_install_sh="$ac_aux_dir/install.sh -c"
1549 break
1550 elif test -f $ac_dir/shtool; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/shtool install -c"
1553 break
1554 fi
1555 done
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1559 { (exit 1); exit 1; }; }
1560 fi
1561 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1564
1565 # Make sure we can run config.sub.
1566 $ac_config_sub sun4 >/dev/null 2>&1 ||
1567 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1568 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1569 { (exit 1); exit 1; }; }
1570
1571 echo "$as_me:$LINENO: checking build system type" >&5
1572 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1573 if test "${ac_cv_build+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 else
1576 ac_cv_build_alias=$build_alias
1577 test -z "$ac_cv_build_alias" &&
1578 ac_cv_build_alias=`$ac_config_guess`
1579 test -z "$ac_cv_build_alias" &&
1580 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1581 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1582 { (exit 1); exit 1; }; }
1583 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1587
1588 fi
1589 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1590 echo "${ECHO_T}$ac_cv_build" >&6
1591 build=$ac_cv_build
1592 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595
1596
1597 echo "$as_me:$LINENO: checking host system type" >&5
1598 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1599 if test "${ac_cv_host+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 else
1602 ac_cv_host_alias=$host_alias
1603 test -z "$ac_cv_host_alias" &&
1604 ac_cv_host_alias=$ac_cv_build_alias
1605 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1609
1610 fi
1611 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1612 echo "${ECHO_T}$ac_cv_host" >&6
1613 host=$ac_cv_host
1614 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1617
1618
1619 echo "$as_me:$LINENO: checking target system type" >&5
1620 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1621 if test "${ac_cv_target+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 else
1624 ac_cv_target_alias=$target_alias
1625 test "x$ac_cv_target_alias" = "x" &&
1626 ac_cv_target_alias=$ac_cv_host_alias
1627 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1629 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1630 { (exit 1); exit 1; }; }
1631
1632 fi
1633 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1634 echo "${ECHO_T}$ac_cv_target" >&6
1635 target=$ac_cv_target
1636 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1639
1640
1641 # The aliases save the names the user supplied, while $host etc.
1642 # will get canonicalized.
1643 test -n "$target_alias" &&
1644 test "$program_prefix$program_suffix$program_transform_name" = \
1645 NONENONEs,x,x, &&
1646 program_prefix=${target_alias}-
1647
1648
1649
1650 WX_MAJOR_VERSION_NUMBER=2
1651 WX_MINOR_VERSION_NUMBER=5
1652 WX_RELEASE_NUMBER=2
1653
1654 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1655 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1656
1657 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1658
1659 WX_CURRENT=2
1660 WX_REVISION=0
1661 WX_AGE=0
1662
1663
1664
1665 USE_UNIX=1
1666 USE_OS2=0
1667 USE_WIN32=0
1668 USE_DOS=0
1669 USE_BEOS=0
1670 USE_MAC=0
1671
1672 USE_AIX=
1673 USE_BSD= USE_DARWIN= USE_FREEBSD=
1674 USE_GNU= USE_HPUX=
1675 USE_LINUX=
1676 USE_NETBSD=
1677 USE_OPENBSD=
1678 USE_OSF= USE_SGI=
1679 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1680 USE_ULTRIX=
1681 USE_UNIXWARE=
1682
1683 USE_ALPHA=
1684
1685 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1686
1687 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1688
1689 DEFAULT_wxUSE_COCOA=0
1690 DEFAULT_wxUSE_GTK=0
1691 DEFAULT_wxUSE_MAC=0
1692 DEFAULT_wxUSE_MGL=0
1693 DEFAULT_wxUSE_MICROWIN=0
1694 DEFAULT_wxUSE_MOTIF=0
1695 DEFAULT_wxUSE_MSW=0
1696 DEFAULT_wxUSE_PM=0
1697 DEFAULT_wxUSE_X11=0
1698
1699 DEFAULT_DEFAULT_wxUSE_COCOA=0
1700 DEFAULT_DEFAULT_wxUSE_GTK=0
1701 DEFAULT_DEFAULT_wxUSE_MAC=0
1702 DEFAULT_DEFAULT_wxUSE_MGL=0
1703 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1705 DEFAULT_DEFAULT_wxUSE_MSW=0
1706 DEFAULT_DEFAULT_wxUSE_PM=0
1707 DEFAULT_DEFAULT_wxUSE_X11=0
1708
1709 PROGRAM_EXT=
1710 SO_SUFFIX=so
1711 SAMPLES_RPATH_FLAG=
1712 SAMPLES_RPATH_POSTLINK=
1713
1714 case "${host}" in
1715 *-hp-hpux* )
1716 USE_HPUX=1
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1719 SO_SUFFIX=sl
1720 cat >>confdefs.h <<\_ACEOF
1721 #define __HPUX__ 1
1722 _ACEOF
1723
1724 ;;
1725 *-*-linux* )
1726 USE_LINUX=1
1727 cat >>confdefs.h <<\_ACEOF
1728 #define __LINUX__ 1
1729 _ACEOF
1730
1731 TMP=`uname -m`
1732 if test "x$TMP" = "xalpha"; then
1733 USE_ALPHA=1
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __ALPHA__ 1
1736 _ACEOF
1737
1738 fi
1739 DEFAULT_DEFAULT_wxUSE_GTK=1
1740 ;;
1741 *-*-gnu* | *-*-k*bsd*-gnu )
1742 USE_GNU=1
1743 TMP=`uname -m`
1744 if test "x$TMP" = "xalpha"; then
1745 USE_ALPHA=1
1746 cat >>confdefs.h <<\_ACEOF
1747 #define __ALPHA__ 1
1748 _ACEOF
1749
1750 fi
1751 DEFAULT_DEFAULT_wxUSE_GTK=1
1752 ;;
1753 *-*-irix5* | *-*-irix6* )
1754 USE_SGI=1
1755 USE_SVR4=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __SGI__ 1
1758 _ACEOF
1759
1760 cat >>confdefs.h <<\_ACEOF
1761 #define __SVR4__ 1
1762 _ACEOF
1763
1764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1765 ;;
1766 *-*-solaris2* )
1767 USE_SUN=1
1768 USE_SOLARIS=1
1769 USE_SVR4=1
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __SUN__ 1
1772 _ACEOF
1773
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __SOLARIS__ 1
1776 _ACEOF
1777
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __SVR4__ 1
1780 _ACEOF
1781
1782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1783 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1784 ;;
1785 *-*-sunos4* )
1786 USE_SUN=1
1787 USE_SUNOS=1
1788 USE_BSD=1
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SUN__ 1
1791 _ACEOF
1792
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SUNOS__ 1
1795 _ACEOF
1796
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __BSD__ 1
1799 _ACEOF
1800
1801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1802 ;;
1803 *-*-freebsd*)
1804 USE_BSD=1
1805 USE_FREEBSD=1
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __FREEBSD__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __BSD__ 1
1812 _ACEOF
1813
1814 DEFAULT_DEFAULT_wxUSE_GTK=1
1815 ;;
1816 *-*-openbsd*)
1817 USE_BSD=1
1818 USE_OPENBSD=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __OPENBSD__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __BSD__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_GTK=1
1828 ;;
1829 *-*-netbsd*)
1830 USE_BSD=1
1831 USE_NETBSD=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __NETBSD__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __BSD__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 ;;
1842 *-*-osf* )
1843 USE_ALPHA=1
1844 USE_OSF=1
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __ALPHA__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __OSF__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1854 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1855 ;;
1856 *-*-dgux5* )
1857 USE_ALPHA=1
1858 USE_SVR4=1
1859 cat >>confdefs.h <<\_ACEOF
1860 #define __ALPHA__ 1
1861 _ACEOF
1862
1863 cat >>confdefs.h <<\_ACEOF
1864 #define __SVR4__ 1
1865 _ACEOF
1866
1867 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1868 ;;
1869 *-*-sysv5* )
1870 USE_SYSV=1
1871 USE_SVR4=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __SYSV__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __SVR4__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 ;;
1882 *-*-aix* )
1883 USE_AIX=1
1884 USE_SYSV=1
1885 USE_SVR4=1
1886 SO_SUFFIX=a
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __AIX__ 1
1889 _ACEOF
1890
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __SYSV__ 1
1893 _ACEOF
1894
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __SVR4__ 1
1897 _ACEOF
1898
1899 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1900 ;;
1901
1902 *-*-*UnixWare*)
1903 USE_SYSV=1
1904 USE_SVR4=1
1905 USE_UNIXWARE=1
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __UNIXWARE__ 1
1908 _ACEOF
1909
1910 ;;
1911
1912 *-*-cygwin* | *-*-mingw32* )
1913 SO_SUFFIX=dll
1914 PROGRAM_EXT=".exe"
1915 RESCOMP=windres
1916 DEFAULT_DEFAULT_wxUSE_MSW=1
1917 ;;
1918
1919 *-pc-msdosdjgpp )
1920 USE_UNIX=0
1921 USE_DOS=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __DOS__ 1
1924 _ACEOF
1925
1926 PROGRAM_EXT=".exe"
1927 DEFAULT_DEFAULT_wxUSE_MGL=1
1928 LIBS="$LIBS -lstdc++"
1929 ;;
1930
1931 *-pc-os2_emx | *-pc-os2-emx )
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __EMX__ 1
1934 _ACEOF
1935
1936 USE_OS2=1
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __OS2__ 1
1939 _ACEOF
1940
1941 PROGRAM_EXT=".exe"
1942 DEFAULT_DEFAULT_wxUSE_PM=1
1943 CXX=gcc
1944 LDFLAGS="$LDFLAGS -Zcrtdll"
1945 ac_executable_extensions=".exe"
1946 export ac_executable_extensions
1947 ac_save_IFS="$IFS"
1948 IFS='\\'
1949 ac_TEMP_PATH=
1950 for ac_dir in $PATH; do
1951 IFS=$ac_save_IFS
1952 if test -z "$ac_TEMP_PATH"; then
1953 ac_TEMP_PATH="$ac_dir"
1954 else
1955 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1956 fi
1957 done
1958 export PATH="$ac_TEMP_PATH"
1959 unset ac_TEMP_PATH
1960 ;;
1961
1962 powerpc-*-darwin* )
1963 USE_BSD=1
1964 USE_DARWIN=1
1965 SO_SUFFIX=dylib
1966 cat >>confdefs.h <<\_ACEOF
1967 #define __BSD__ 1
1968 _ACEOF
1969
1970 cat >>confdefs.h <<\_ACEOF
1971 #define __DARWIN__ 1
1972 _ACEOF
1973
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __POWERPC__ 1
1976 _ACEOF
1977
1978 cat >>confdefs.h <<\_ACEOF
1979 #define TARGET_CARBON 1
1980 _ACEOF
1981
1982 DEFAULT_DEFAULT_wxUSE_MAC=1
1983 ;;
1984
1985 *-*-beos* )
1986 USE_BEOS=1
1987 cat >>confdefs.h <<\_ACEOF
1988 #define __BEOS__ 1
1989 _ACEOF
1990
1991 ;;
1992
1993 *)
1994 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1995 echo "$as_me: error: unknown system type ${host}." >&2;}
1996 { (exit 1); exit 1; }; }
1997 esac
1998
1999
2000
2001
2002 wx_arg_cache_file="configarg.cache"
2003 echo "loading argument cache $wx_arg_cache_file"
2004 rm -f ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}.tmp
2006 touch ${wx_arg_cache_file}
2007
2008
2009 DEBUG_CONFIGURE=0
2010 if test $DEBUG_CONFIGURE = 1; then
2011 DEFAULT_wxUSE_UNIVERSAL=no
2012 DEFAULT_wxUSE_STL=no
2013
2014 DEFAULT_wxUSE_NANOX=no
2015
2016 DEFAULT_wxUSE_THREADS=yes
2017
2018 DEFAULT_wxUSE_SHARED=yes
2019 DEFAULT_wxUSE_OPTIMISE=no
2020 DEFAULT_wxUSE_PROFILE=no
2021 DEFAULT_wxUSE_NO_DEPS=no
2022 DEFAULT_wxUSE_NO_RTTI=no
2023 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2024 DEFAULT_wxUSE_PERMISSIVE=no
2025 DEFAULT_wxUSE_DEBUG_FLAG=yes
2026 DEFAULT_wxUSE_DEBUG_INFO=yes
2027 DEFAULT_wxUSE_DEBUG_GDB=yes
2028 DEFAULT_wxUSE_MEM_TRACING=no
2029 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2030 DEFAULT_wxUSE_DMALLOC=no
2031 DEFAULT_wxUSE_APPLE_IEEE=no
2032
2033 DEFAULT_wxUSE_EXCEPTIONS=no
2034 DEFAULT_wxUSE_LOG=yes
2035 DEFAULT_wxUSE_LOGWINDOW=no
2036 DEFAULT_wxUSE_LOGGUI=no
2037 DEFAULT_wxUSE_LOGDIALOG=no
2038
2039 DEFAULT_wxUSE_GUI=yes
2040 DEFAULT_wxUSE_CONTROLS=no
2041
2042 DEFAULT_wxUSE_REGEX=no
2043 DEFAULT_wxUSE_XML=no
2044 DEFAULT_wxUSE_EXPAT=no
2045 DEFAULT_wxUSE_ZLIB=no
2046 DEFAULT_wxUSE_LIBPNG=no
2047 DEFAULT_wxUSE_LIBJPEG=no
2048 DEFAULT_wxUSE_LIBTIFF=no
2049 DEFAULT_wxUSE_LIBXPM=no
2050 DEFAULT_wxUSE_LIBMSPACK=no
2051 DEFAULT_wxUSE_LIBSDL=no
2052 DEFAULT_wxUSE_ODBC=no
2053 DEFAULT_wxUSE_OPENGL=no
2054
2055 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2056 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2057 DEFAULT_wxUSE_STD_IOSTREAM=no
2058 DEFAULT_wxUSE_CMDLINE_PARSER=no
2059 DEFAULT_wxUSE_DATETIME=no
2060 DEFAULT_wxUSE_TIMER=no
2061 DEFAULT_wxUSE_STOPWATCH=no
2062 DEFAULT_wxUSE_FILE=no
2063 DEFAULT_wxUSE_FFILE=no
2064 DEFAULT_wxUSE_TEXTBUFFER=no
2065 DEFAULT_wxUSE_TEXTFILE=no
2066 DEFAULT_wxUSE_SOUND=no
2067 DEFAULT_wxUSE_INTL=no
2068 DEFAULT_wxUSE_CONFIG=no
2069 DEFAULT_wxUSE_FONTMAP=no
2070 DEFAULT_wxUSE_STREAMS=no
2071 DEFAULT_wxUSE_SOCKETS=no
2072 DEFAULT_wxUSE_OLE=no
2073 DEFAULT_wxUSE_DATAOBJ=no
2074 DEFAULT_wxUSE_DIALUP_MANAGER=no
2075 DEFAULT_wxUSE_JOYSTICK=no
2076 DEFAULT_wxUSE_DYNLIB_CLASS=no
2077 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2078 DEFAULT_wxUSE_LONGLONG=no
2079 DEFAULT_wxUSE_GEOMETRY=no
2080
2081 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2082 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2083 DEFAULT_wxUSE_POSTSCRIPT=no
2084
2085 DEFAULT_wxUSE_CLIPBOARD=no
2086 DEFAULT_wxUSE_TOOLTIPS=no
2087 DEFAULT_wxUSE_DRAG_AND_DROP=no
2088 DEFAULT_wxUSE_DRAGIMAGE=no
2089 DEFAULT_wxUSE_SPLINES=no
2090
2091 DEFAULT_wxUSE_MDI=no
2092 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2093 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2094 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2095
2096 DEFAULT_wxUSE_RESOURCES=no
2097 DEFAULT_wxUSE_CONSTRAINTS=no
2098 DEFAULT_wxUSE_IPC=no
2099 DEFAULT_wxUSE_HELP=no
2100 DEFAULT_wxUSE_MS_HTML_HELP=no
2101 DEFAULT_wxUSE_WXHTML_HELP=no
2102 DEFAULT_wxUSE_TREELAYOUT=no
2103 DEFAULT_wxUSE_METAFILE=no
2104 DEFAULT_wxUSE_MIMETYPE=no
2105 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2106 DEFAULT_wxUSE_PROTOCOL=no
2107 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2108 DEFAULT_wxUSE_PROTOCOL_FTP=no
2109 DEFAULT_wxUSE_PROTOCOL_FILE=no
2110 DEFAULT_wxUSE_URL=no
2111
2112 DEFAULT_wxUSE_COMMONDLGS=no
2113 DEFAULT_wxUSE_CHOICEDLG=no
2114 DEFAULT_wxUSE_COLOURDLG=no
2115 DEFAULT_wxUSE_DIRDLG=no
2116 DEFAULT_wxUSE_FILEDLG=no
2117 DEFAULT_wxUSE_FINDREPLDLG=no
2118 DEFAULT_wxUSE_FONTDLG=no
2119 DEFAULT_wxUSE_MSGDLG=no
2120 DEFAULT_wxUSE_NUMBERDLG=no
2121 DEFAULT_wxUSE_TEXTDLG=no
2122 DEFAULT_wxUSE_SPLASH=no
2123 DEFAULT_wxUSE_STARTUP_TIPS=no
2124 DEFAULT_wxUSE_PROGRESSDLG=no
2125 DEFAULT_wxUSE_WIZARDDLG=no
2126
2127 DEFAULT_wxUSE_MENUS=no
2128 DEFAULT_wxUSE_MINIFRAME=no
2129 DEFAULT_wxUSE_HTML=no
2130 DEFAULT_wxUSE_WEBKIT=no
2131 DEFAULT_wxUSE_FILESYSTEM=no
2132 DEFAULT_wxUSE_FS_INET=no
2133 DEFAULT_wxUSE_FS_ZIP=no
2134 DEFAULT_wxUSE_BUSYINFO=no
2135 DEFAULT_wxUSE_ZIPSTREAM=no
2136 DEFAULT_wxUSE_VALIDATORS=no
2137
2138 DEFAULT_wxUSE_ACCEL=no
2139 DEFAULT_wxUSE_BUTTON=no
2140 DEFAULT_wxUSE_BMPBUTTON=no
2141 DEFAULT_wxUSE_CALCTRL=no
2142 DEFAULT_wxUSE_CARET=no
2143 DEFAULT_wxUSE_CHECKBOX=no
2144 DEFAULT_wxUSE_CHECKLST=no
2145 DEFAULT_wxUSE_CHOICE=no
2146 DEFAULT_wxUSE_COMBOBOX=no
2147 DEFAULT_wxUSE_DISPLAY=no
2148 DEFAULT_wxUSE_GAUGE=no
2149 DEFAULT_wxUSE_GRID=no
2150 DEFAULT_wxUSE_IMAGLIST=no
2151 DEFAULT_wxUSE_LISTBOOK=no
2152 DEFAULT_wxUSE_LISTBOX=no
2153 DEFAULT_wxUSE_LISTCTRL=no
2154 DEFAULT_wxUSE_NOTEBOOK=no
2155 DEFAULT_wxUSE_RADIOBOX=no
2156 DEFAULT_wxUSE_RADIOBTN=no
2157 DEFAULT_wxUSE_SASH=no
2158 DEFAULT_wxUSE_SCROLLBAR=no
2159 DEFAULT_wxUSE_SLIDER=no
2160 DEFAULT_wxUSE_SPINBTN=no
2161 DEFAULT_wxUSE_SPINCTRL=no
2162 DEFAULT_wxUSE_SPLITTER=no
2163 DEFAULT_wxUSE_STATBMP=no
2164 DEFAULT_wxUSE_STATBOX=no
2165 DEFAULT_wxUSE_STATLINE=no
2166 DEFAULT_wxUSE_STATTEXT=no
2167 DEFAULT_wxUSE_STATUSBAR=yes
2168 DEFAULT_wxUSE_TABDIALOG=no
2169 DEFAULT_wxUSE_TEXTCTRL=no
2170 DEFAULT_wxUSE_TOGGLEBTN=no
2171 DEFAULT_wxUSE_TOOLBAR=no
2172 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2173 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2174 DEFAULT_wxUSE_TREECTRL=no
2175 DEFAULT_wxUSE_POPUPWIN=no
2176 DEFAULT_wxUSE_TIPWINDOW=no
2177
2178 DEFAULT_wxUSE_UNICODE=no
2179 DEFAULT_wxUSE_UNICODE_MSLU=no
2180 DEFAULT_wxUSE_WCSRTOMBS=no
2181
2182 DEFAULT_wxUSE_PALETTE=no
2183 DEFAULT_wxUSE_IMAGE=no
2184 DEFAULT_wxUSE_GIF=no
2185 DEFAULT_wxUSE_PCX=no
2186 DEFAULT_wxUSE_PNM=no
2187 DEFAULT_wxUSE_IFF=no
2188 DEFAULT_wxUSE_XPM=no
2189 DEFAULT_wxUSE_ICO_CUR=no
2190 DEFAULT_wxUSE_ACCESSIBILITY=no
2191
2192 DEFAULT_wxUSE_MONOLITHIC=no
2193 DEFAULT_wxUSE_PLUGINS=no
2194 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2195 else
2196 DEFAULT_wxUSE_UNIVERSAL=no
2197 DEFAULT_wxUSE_STL=no
2198
2199 DEFAULT_wxUSE_NANOX=no
2200
2201 DEFAULT_wxUSE_THREADS=yes
2202
2203 DEFAULT_wxUSE_SHARED=yes
2204 DEFAULT_wxUSE_OPTIMISE=yes
2205 DEFAULT_wxUSE_PROFILE=no
2206 DEFAULT_wxUSE_NO_DEPS=no
2207 DEFAULT_wxUSE_NO_RTTI=no
2208 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2209 DEFAULT_wxUSE_PERMISSIVE=no
2210 DEFAULT_wxUSE_DEBUG_FLAG=no
2211 DEFAULT_wxUSE_DEBUG_INFO=no
2212 DEFAULT_wxUSE_DEBUG_GDB=no
2213 DEFAULT_wxUSE_MEM_TRACING=no
2214 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2215 DEFAULT_wxUSE_DMALLOC=no
2216 DEFAULT_wxUSE_APPLE_IEEE=yes
2217
2218 DEFAULT_wxUSE_EXCEPTIONS=yes
2219 DEFAULT_wxUSE_LOG=yes
2220 DEFAULT_wxUSE_LOGWINDOW=yes
2221 DEFAULT_wxUSE_LOGGUI=yes
2222 DEFAULT_wxUSE_LOGDIALOG=yes
2223
2224 DEFAULT_wxUSE_GUI=yes
2225
2226 DEFAULT_wxUSE_REGEX=yes
2227 DEFAULT_wxUSE_XML=yes
2228 DEFAULT_wxUSE_EXPAT=yes
2229 DEFAULT_wxUSE_ZLIB=yes
2230 DEFAULT_wxUSE_LIBPNG=yes
2231 DEFAULT_wxUSE_LIBJPEG=yes
2232 DEFAULT_wxUSE_LIBTIFF=yes
2233 DEFAULT_wxUSE_LIBXPM=yes
2234 DEFAULT_wxUSE_LIBMSPACK=yes
2235 DEFAULT_wxUSE_LIBSDL=no
2236 DEFAULT_wxUSE_ODBC=no
2237 DEFAULT_wxUSE_OPENGL=no
2238
2239 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2240 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2241 DEFAULT_wxUSE_STD_IOSTREAM=no
2242 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2243 DEFAULT_wxUSE_DATETIME=yes
2244 DEFAULT_wxUSE_TIMER=yes
2245 DEFAULT_wxUSE_STOPWATCH=yes
2246 DEFAULT_wxUSE_FILE=yes
2247 DEFAULT_wxUSE_FFILE=yes
2248 DEFAULT_wxUSE_TEXTBUFFER=yes
2249 DEFAULT_wxUSE_TEXTFILE=yes
2250 DEFAULT_wxUSE_SOUND=yes
2251 DEFAULT_wxUSE_INTL=yes
2252 DEFAULT_wxUSE_CONFIG=yes
2253 DEFAULT_wxUSE_FONTMAP=yes
2254 DEFAULT_wxUSE_STREAMS=yes
2255 DEFAULT_wxUSE_SOCKETS=yes
2256 DEFAULT_wxUSE_OLE=yes
2257 DEFAULT_wxUSE_DATAOBJ=yes
2258 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2259 DEFAULT_wxUSE_JOYSTICK=yes
2260 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2261 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2262 DEFAULT_wxUSE_LONGLONG=yes
2263 DEFAULT_wxUSE_GEOMETRY=yes
2264
2265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2267 DEFAULT_wxUSE_POSTSCRIPT=yes
2268
2269 DEFAULT_wxUSE_CLIPBOARD=yes
2270 DEFAULT_wxUSE_TOOLTIPS=yes
2271 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2272 DEFAULT_wxUSE_DRAGIMAGE=yes
2273 DEFAULT_wxUSE_SPLINES=yes
2274
2275 DEFAULT_wxUSE_MDI=yes
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=yes
2282 DEFAULT_wxUSE_IPC=yes
2283 DEFAULT_wxUSE_HELP=yes
2284 DEFAULT_wxUSE_MS_HTML_HELP=yes
2285 DEFAULT_wxUSE_WXHTML_HELP=yes
2286 DEFAULT_wxUSE_TREELAYOUT=yes
2287 DEFAULT_wxUSE_METAFILE=yes
2288 DEFAULT_wxUSE_MIMETYPE=yes
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2290 DEFAULT_wxUSE_PROTOCOL=yes
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2292 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2293 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2294 DEFAULT_wxUSE_URL=yes
2295
2296 DEFAULT_wxUSE_COMMONDLGS=yes
2297 DEFAULT_wxUSE_CHOICEDLG=yes
2298 DEFAULT_wxUSE_COLOURDLG=yes
2299 DEFAULT_wxUSE_DIRDLG=yes
2300 DEFAULT_wxUSE_FILEDLG=yes
2301 DEFAULT_wxUSE_FINDREPLDLG=yes
2302 DEFAULT_wxUSE_FONTDLG=yes
2303 DEFAULT_wxUSE_MSGDLG=yes
2304 DEFAULT_wxUSE_NUMBERDLG=yes
2305 DEFAULT_wxUSE_TEXTDLG=yes
2306 DEFAULT_wxUSE_SPLASH=yes
2307 DEFAULT_wxUSE_STARTUP_TIPS=yes
2308 DEFAULT_wxUSE_PROGRESSDLG=yes
2309 DEFAULT_wxUSE_WIZARDDLG=yes
2310
2311 DEFAULT_wxUSE_MENUS=yes
2312 DEFAULT_wxUSE_MINIFRAME=yes
2313 DEFAULT_wxUSE_HTML=yes
2314 DEFAULT_wxUSE_WEBKIT=yes
2315 DEFAULT_wxUSE_FILESYSTEM=yes
2316 DEFAULT_wxUSE_FS_INET=yes
2317 DEFAULT_wxUSE_FS_ZIP=yes
2318 DEFAULT_wxUSE_BUSYINFO=yes
2319 DEFAULT_wxUSE_ZIPSTREAM=yes
2320 DEFAULT_wxUSE_VALIDATORS=yes
2321
2322 DEFAULT_wxUSE_ACCEL=yes
2323 DEFAULT_wxUSE_BUTTON=yes
2324 DEFAULT_wxUSE_BMPBUTTON=yes
2325 DEFAULT_wxUSE_CALCTRL=yes
2326 DEFAULT_wxUSE_CARET=yes
2327 DEFAULT_wxUSE_CHECKBOX=yes
2328 DEFAULT_wxUSE_CHECKLST=yes
2329 DEFAULT_wxUSE_CHOICE=yes
2330 DEFAULT_wxUSE_COMBOBOX=yes
2331 DEFAULT_wxUSE_DISPLAY=yes
2332 DEFAULT_wxUSE_GAUGE=yes
2333 DEFAULT_wxUSE_GRID=yes
2334 DEFAULT_wxUSE_IMAGLIST=yes
2335 DEFAULT_wxUSE_LISTBOOK=yes
2336 DEFAULT_wxUSE_LISTBOX=yes
2337 DEFAULT_wxUSE_LISTCTRL=yes
2338 DEFAULT_wxUSE_NOTEBOOK=yes
2339 DEFAULT_wxUSE_RADIOBOX=yes
2340 DEFAULT_wxUSE_RADIOBTN=yes
2341 DEFAULT_wxUSE_SASH=yes
2342 DEFAULT_wxUSE_SCROLLBAR=yes
2343 DEFAULT_wxUSE_SLIDER=yes
2344 DEFAULT_wxUSE_SPINBTN=yes
2345 DEFAULT_wxUSE_SPINCTRL=yes
2346 DEFAULT_wxUSE_SPLITTER=yes
2347 DEFAULT_wxUSE_STATBMP=yes
2348 DEFAULT_wxUSE_STATBOX=yes
2349 DEFAULT_wxUSE_STATLINE=yes
2350 DEFAULT_wxUSE_STATTEXT=yes
2351 DEFAULT_wxUSE_STATUSBAR=yes
2352 DEFAULT_wxUSE_TABDIALOG=no
2353 DEFAULT_wxUSE_TEXTCTRL=yes
2354 DEFAULT_wxUSE_TOGGLEBTN=yes
2355 DEFAULT_wxUSE_TOOLBAR=yes
2356 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2357 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2358 DEFAULT_wxUSE_TREECTRL=yes
2359 DEFAULT_wxUSE_POPUPWIN=yes
2360 DEFAULT_wxUSE_TIPWINDOW=yes
2361
2362 DEFAULT_wxUSE_UNICODE=no
2363 DEFAULT_wxUSE_UNICODE_MSLU=yes
2364 DEFAULT_wxUSE_WCSRTOMBS=no
2365
2366 DEFAULT_wxUSE_PALETTE=yes
2367 DEFAULT_wxUSE_IMAGE=yes
2368 DEFAULT_wxUSE_GIF=yes
2369 DEFAULT_wxUSE_PCX=yes
2370 DEFAULT_wxUSE_IFF=no
2371 DEFAULT_wxUSE_PNM=yes
2372 DEFAULT_wxUSE_XPM=yes
2373 DEFAULT_wxUSE_ICO_CUR=yes
2374 DEFAULT_wxUSE_ACCESSIBILITY=no
2375
2376 DEFAULT_wxUSE_MONOLITHIC=no
2377 DEFAULT_wxUSE_PLUGINS=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2379
2380 DEFAULT_wxUSE_GTK2=yes
2381 fi
2382
2383
2384
2385 for toolkit in `echo $ALL_TOOLKITS`; do
2386 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2387 if test "x$LINE" != "x" ; then
2388 has_toolkit_in_cache=1
2389 eval "DEFAULT_$LINE"
2390 eval "CACHE_$toolkit=1"
2391 fi
2392 done
2393
2394
2395
2396 enablestring=
2397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2398 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2399 no_cache=0
2400 # Check whether --enable-gui or --disable-gui was given.
2401 if test "${enable_gui+set}" = set; then
2402 enableval="$enable_gui"
2403
2404 if test "$enableval" = yes; then
2405 ac_cv_use_gui='wxUSE_GUI=yes'
2406 else
2407 ac_cv_use_gui='wxUSE_GUI=no'
2408 fi
2409
2410 else
2411
2412 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2413 if test "x$LINE" != x ; then
2414 eval "DEFAULT_$LINE"
2415 else
2416 no_cache=1
2417 fi
2418
2419 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2420
2421 fi;
2422
2423 eval "$ac_cv_use_gui"
2424 if test "$no_cache" != 1; then
2425 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2426 fi
2427
2428 if test "$wxUSE_GUI" = yes; then
2429 echo "$as_me:$LINENO: result: yes" >&5
2430 echo "${ECHO_T}yes" >&6
2431 else
2432 echo "$as_me:$LINENO: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2434 fi
2435
2436
2437 enablestring=
2438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2439 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2440 no_cache=0
2441 # Check whether --enable-monolithic or --disable-monolithic was given.
2442 if test "${enable_monolithic+set}" = set; then
2443 enableval="$enable_monolithic"
2444
2445 if test "$enableval" = yes; then
2446 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2447 else
2448 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2449 fi
2450
2451 else
2452
2453 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x ; then
2455 eval "DEFAULT_$LINE"
2456 else
2457 no_cache=1
2458 fi
2459
2460 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2461
2462 fi;
2463
2464 eval "$ac_cv_use_monolithic"
2465 if test "$no_cache" != 1; then
2466 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2467 fi
2468
2469 if test "$wxUSE_MONOLITHIC" = yes; then
2470 echo "$as_me:$LINENO: result: yes" >&5
2471 echo "${ECHO_T}yes" >&6
2472 else
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2475 fi
2476
2477
2478 enablestring=
2479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2480 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2481 no_cache=0
2482 # Check whether --enable-plugins or --disable-plugins was given.
2483 if test "${enable_plugins+set}" = set; then
2484 enableval="$enable_plugins"
2485
2486 if test "$enableval" = yes; then
2487 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2488 else
2489 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2490 fi
2491
2492 else
2493
2494 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2495 if test "x$LINE" != x ; then
2496 eval "DEFAULT_$LINE"
2497 else
2498 no_cache=1
2499 fi
2500
2501 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2502
2503 fi;
2504
2505 eval "$ac_cv_use_plugins"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2508 fi
2509
2510 if test "$wxUSE_PLUGINS" = yes; then
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2513 else
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2516 fi
2517
2518
2519 if test "$wxUSE_GUI" = "yes"; then
2520
2521
2522 enablestring=
2523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2524 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2525 no_cache=0
2526 # Check whether --enable-universal or --disable-universal was given.
2527 if test "${enable_universal+set}" = set; then
2528 enableval="$enable_universal"
2529
2530 if test "$enableval" = yes; then
2531 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2532 else
2533 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2534 fi
2535
2536 else
2537
2538 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2539 if test "x$LINE" != x ; then
2540 eval "DEFAULT_$LINE"
2541 else
2542 no_cache=1
2543 fi
2544
2545 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2546
2547 fi;
2548
2549 eval "$ac_cv_use_universal"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2552 fi
2553
2554 if test "$wxUSE_UNIVERSAL" = yes; then
2555 echo "$as_me:$LINENO: result: yes" >&5
2556 echo "${ECHO_T}yes" >&6
2557 else
2558 echo "$as_me:$LINENO: result: no" >&5
2559 echo "${ECHO_T}no" >&6
2560 fi
2561
2562
2563 # Check whether --with-gtk or --without-gtk was given.
2564 if test "${with_gtk+set}" = set; then
2565 withval="$with_gtk"
2566 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2567 fi;
2568
2569 # Check whether --with-motif or --without-motif was given.
2570 if test "${with_motif+set}" = set; then
2571 withval="$with_motif"
2572 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2573 fi;
2574
2575 # Check whether --with-mac or --without-mac was given.
2576 if test "${with_mac+set}" = set; then
2577 withval="$with_mac"
2578 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2579 fi;
2580
2581 # Check whether --with-cocoa or --without-cocoa was given.
2582 if test "${with_cocoa+set}" = set; then
2583 withval="$with_cocoa"
2584 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2585 fi;
2586
2587 # Check whether --with-wine or --without-wine was given.
2588 if test "${with_wine+set}" = set; then
2589 withval="$with_wine"
2590 wxUSE_WINE="$withval" CACHE_WINE=1
2591 fi;
2592
2593 # Check whether --with-msw or --without-msw was given.
2594 if test "${with_msw+set}" = set; then
2595 withval="$with_msw"
2596 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2597 fi;
2598
2599 # Check whether --with-pm or --without-pm was given.
2600 if test "${with_pm+set}" = set; then
2601 withval="$with_pm"
2602 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2603 fi;
2604
2605 # Check whether --with-mgl or --without-mgl was given.
2606 if test "${with_mgl+set}" = set; then
2607 withval="$with_mgl"
2608 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2609 fi;
2610
2611 # Check whether --with-microwin or --without-microwin was given.
2612 if test "${with_microwin+set}" = set; then
2613 withval="$with_microwin"
2614 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2615 fi;
2616
2617 # Check whether --with-x11 or --without-x11 was given.
2618 if test "${with_x11+set}" = set; then
2619 withval="$with_x11"
2620 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2621 fi;
2622
2623 enablestring=
2624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2625 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2626 no_cache=0
2627 # Check whether --enable-nanox or --disable-nanox was given.
2628 if test "${enable_nanox+set}" = set; then
2629 enableval="$enable_nanox"
2630
2631 if test "$enableval" = yes; then
2632 ac_cv_use_nanox='wxUSE_NANOX=yes'
2633 else
2634 ac_cv_use_nanox='wxUSE_NANOX=no'
2635 fi
2636
2637 else
2638
2639 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2640 if test "x$LINE" != x ; then
2641 eval "DEFAULT_$LINE"
2642 else
2643 no_cache=1
2644 fi
2645
2646 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2647
2648 fi;
2649
2650 eval "$ac_cv_use_nanox"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2653 fi
2654
2655 if test "$wxUSE_NANOX" = yes; then
2656 echo "$as_me:$LINENO: result: yes" >&5
2657 echo "${ECHO_T}yes" >&6
2658 else
2659 echo "$as_me:$LINENO: result: no" >&5
2660 echo "${ECHO_T}no" >&6
2661 fi
2662
2663
2664
2665 enablestring=
2666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2667 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2668 no_cache=0
2669 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2670 if test "${enable_gtk2+set}" = set; then
2671 enableval="$enable_gtk2"
2672
2673 if test "$enableval" = yes; then
2674 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2675 else
2676 ac_cv_use_gtk2='wxUSE_GTK2=no'
2677 fi
2678
2679 else
2680
2681 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x ; then
2683 eval "DEFAULT_$LINE"
2684 else
2685 no_cache=1
2686 fi
2687
2688 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2689
2690 fi;
2691
2692 eval "$ac_cv_use_gtk2"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2695 fi
2696
2697 if test "$wxUSE_GTK2" = yes; then
2698 echo "$as_me:$LINENO: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6
2700 else
2701 echo "$as_me:$LINENO: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2703 fi
2704
2705
2706 enablestring=
2707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2709 no_cache=0
2710 # Check whether --enable-gpe or --disable-gpe was given.
2711 if test "${enable_gpe+set}" = set; then
2712 enableval="$enable_gpe"
2713
2714 if test "$enableval" = yes; then
2715 ac_cv_use_gpe='wxUSE_GPE=yes'
2716 else
2717 ac_cv_use_gpe='wxUSE_GPE=no'
2718 fi
2719
2720 else
2721
2722 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x ; then
2724 eval "DEFAULT_$LINE"
2725 else
2726 no_cache=1
2727 fi
2728
2729 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2730
2731 fi;
2732
2733 eval "$ac_cv_use_gpe"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2736 fi
2737
2738 if test "$wxUSE_GPE" = yes; then
2739 echo "$as_me:$LINENO: result: yes" >&5
2740 echo "${ECHO_T}yes" >&6
2741 else
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2744 fi
2745
2746
2747
2748 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2750 no_cache=0
2751
2752 # Check whether --with-libpng or --without-libpng was given.
2753 if test "${with_libpng+set}" = set; then
2754 withval="$with_libpng"
2755
2756 if test "$withval" = yes; then
2757 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2758 elif test "$withval" = no; then
2759 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2760 elif test "$withval" = sys; then
2761 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2762 elif test "$withval" = builtin; then
2763 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2764 else
2765 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2766 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2767 { (exit 1); exit 1; }; }
2768 fi
2769
2770 else
2771
2772 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x ; then
2774 eval "DEFAULT_$LINE"
2775 else
2776 no_cache=1
2777 fi
2778
2779 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2780
2781 fi;
2782
2783 eval "$ac_cv_use_libpng"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2786 fi
2787
2788 if test "$wxUSE_LIBPNG" = yes; then
2789 echo "$as_me:$LINENO: result: yes" >&5
2790 echo "${ECHO_T}yes" >&6
2791 elif test "$wxUSE_LIBPNG" = no; then
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2794 elif test "$wxUSE_LIBPNG" = sys; then
2795 echo "$as_me:$LINENO: result: system version" >&5
2796 echo "${ECHO_T}system version" >&6
2797 elif test "$wxUSE_LIBPNG" = builtin; then
2798 echo "$as_me:$LINENO: result: builtin version" >&5
2799 echo "${ECHO_T}builtin version" >&6
2800 else
2801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2803 { (exit 1); exit 1; }; }
2804 fi
2805
2806
2807 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2809 no_cache=0
2810
2811 # Check whether --with-libjpeg or --without-libjpeg was given.
2812 if test "${with_libjpeg+set}" = set; then
2813 withval="$with_libjpeg"
2814
2815 if test "$withval" = yes; then
2816 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2817 elif test "$withval" = no; then
2818 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2819 elif test "$withval" = sys; then
2820 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2821 elif test "$withval" = builtin; then
2822 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2823 else
2824 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2825 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2826 { (exit 1); exit 1; }; }
2827 fi
2828
2829 else
2830
2831 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2832 if test "x$LINE" != x ; then
2833 eval "DEFAULT_$LINE"
2834 else
2835 no_cache=1
2836 fi
2837
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2839
2840 fi;
2841
2842 eval "$ac_cv_use_libjpeg"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2845 fi
2846
2847 if test "$wxUSE_LIBJPEG" = yes; then
2848 echo "$as_me:$LINENO: result: yes" >&5
2849 echo "${ECHO_T}yes" >&6
2850 elif test "$wxUSE_LIBJPEG" = no; then
2851 echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6
2853 elif test "$wxUSE_LIBJPEG" = sys; then
2854 echo "$as_me:$LINENO: result: system version" >&5
2855 echo "${ECHO_T}system version" >&6
2856 elif test "$wxUSE_LIBJPEG" = builtin; then
2857 echo "$as_me:$LINENO: result: builtin version" >&5
2858 echo "${ECHO_T}builtin version" >&6
2859 else
2860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2862 { (exit 1); exit 1; }; }
2863 fi
2864
2865
2866 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2868 no_cache=0
2869
2870 # Check whether --with-libtiff or --without-libtiff was given.
2871 if test "${with_libtiff+set}" = set; then
2872 withval="$with_libtiff"
2873
2874 if test "$withval" = yes; then
2875 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2876 elif test "$withval" = no; then
2877 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2878 elif test "$withval" = sys; then
2879 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2880 elif test "$withval" = builtin; then
2881 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2882 else
2883 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2884 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2885 { (exit 1); exit 1; }; }
2886 fi
2887
2888 else
2889
2890 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x ; then
2892 eval "DEFAULT_$LINE"
2893 else
2894 no_cache=1
2895 fi
2896
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2898
2899 fi;
2900
2901 eval "$ac_cv_use_libtiff"
2902 if test "$no_cache" != 1; then
2903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2904 fi
2905
2906 if test "$wxUSE_LIBTIFF" = yes; then
2907 echo "$as_me:$LINENO: result: yes" >&5
2908 echo "${ECHO_T}yes" >&6
2909 elif test "$wxUSE_LIBTIFF" = no; then
2910 echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6
2912 elif test "$wxUSE_LIBTIFF" = sys; then
2913 echo "$as_me:$LINENO: result: system version" >&5
2914 echo "${ECHO_T}system version" >&6
2915 elif test "$wxUSE_LIBTIFF" = builtin; then
2916 echo "$as_me:$LINENO: result: builtin version" >&5
2917 echo "${ECHO_T}builtin version" >&6
2918 else
2919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2921 { (exit 1); exit 1; }; }
2922 fi
2923
2924
2925 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2927 no_cache=0
2928
2929 # Check whether --with-libxpm or --without-libxpm was given.
2930 if test "${with_libxpm+set}" = set; then
2931 withval="$with_libxpm"
2932
2933 if test "$withval" = yes; then
2934 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2935 elif test "$withval" = no; then
2936 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2937 elif test "$withval" = sys; then
2938 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2939 elif test "$withval" = builtin; then
2940 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2941 else
2942 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2943 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2944 { (exit 1); exit 1; }; }
2945 fi
2946
2947 else
2948
2949 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x ; then
2951 eval "DEFAULT_$LINE"
2952 else
2953 no_cache=1
2954 fi
2955
2956 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2957
2958 fi;
2959
2960 eval "$ac_cv_use_libxpm"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2963 fi
2964
2965 if test "$wxUSE_LIBXPM" = yes; then
2966 echo "$as_me:$LINENO: result: yes" >&5
2967 echo "${ECHO_T}yes" >&6
2968 elif test "$wxUSE_LIBXPM" = no; then
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2971 elif test "$wxUSE_LIBXPM" = sys; then
2972 echo "$as_me:$LINENO: result: system version" >&5
2973 echo "${ECHO_T}system version" >&6
2974 elif test "$wxUSE_LIBXPM" = builtin; then
2975 echo "$as_me:$LINENO: result: builtin version" >&5
2976 echo "${ECHO_T}builtin version" >&6
2977 else
2978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2980 { (exit 1); exit 1; }; }
2981 fi
2982
2983
2984 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2985 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2986 no_cache=0
2987
2988 # Check whether --with-libmspack or --without-libmspack was given.
2989 if test "${with_libmspack+set}" = set; then
2990 withval="$with_libmspack"
2991
2992 if test "$withval" = yes; then
2993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2994 else
2995 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2996 fi
2997
2998 else
2999
3000 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x ; then
3002 eval "DEFAULT_$LINE"
3003 else
3004 no_cache=1
3005 fi
3006
3007 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3008
3009 fi;
3010
3011 eval "$ac_cv_use_libmspack"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3014 fi
3015
3016 if test "$wxUSE_LIBMSPACK" = yes; then
3017 echo "$as_me:$LINENO: result: yes" >&5
3018 echo "${ECHO_T}yes" >&6
3019 else
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3022 fi
3023
3024
3025 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3026 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3027 no_cache=0
3028
3029 # Check whether --with-sdl or --without-sdl was given.
3030 if test "${with_sdl+set}" = set; then
3031 withval="$with_sdl"
3032
3033 if test "$withval" = yes; then
3034 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3035 else
3036 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3037 fi
3038
3039 else
3040
3041 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3042 if test "x$LINE" != x ; then
3043 eval "DEFAULT_$LINE"
3044 else
3045 no_cache=1
3046 fi
3047
3048 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3049
3050 fi;
3051
3052 eval "$ac_cv_use_sdl"
3053 if test "$no_cache" != 1; then
3054 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3055 fi
3056
3057 if test "$wxUSE_LIBSDL" = yes; then
3058 echo "$as_me:$LINENO: result: yes" >&5
3059 echo "${ECHO_T}yes" >&6
3060 else
3061 echo "$as_me:$LINENO: result: no" >&5
3062 echo "${ECHO_T}no" >&6
3063 fi
3064
3065
3066 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3067 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3068 no_cache=0
3069
3070 # Check whether --with-opengl or --without-opengl was given.
3071 if test "${with_opengl+set}" = set; then
3072 withval="$with_opengl"
3073
3074 if test "$withval" = yes; then
3075 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3076 else
3077 ac_cv_use_opengl='wxUSE_OPENGL=no'
3078 fi
3079
3080 else
3081
3082 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3083 if test "x$LINE" != x ; then
3084 eval "DEFAULT_$LINE"
3085 else
3086 no_cache=1
3087 fi
3088
3089 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3090
3091 fi;
3092
3093 eval "$ac_cv_use_opengl"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3096 fi
3097
3098 if test "$wxUSE_OPENGL" = yes; then
3099 echo "$as_me:$LINENO: result: yes" >&5
3100 echo "${ECHO_T}yes" >&6
3101 else
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3104 fi
3105
3106
3107 fi
3108
3109
3110 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3111 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3112 no_cache=0
3113
3114 # Check whether --with-dmalloc or --without-dmalloc was given.
3115 if test "${with_dmalloc+set}" = set; then
3116 withval="$with_dmalloc"
3117
3118 if test "$withval" = yes; then
3119 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3120 else
3121 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3122 fi
3123
3124 else
3125
3126 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3127 if test "x$LINE" != x ; then
3128 eval "DEFAULT_$LINE"
3129 else
3130 no_cache=1
3131 fi
3132
3133 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3134
3135 fi;
3136
3137 eval "$ac_cv_use_dmalloc"
3138 if test "$no_cache" != 1; then
3139 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3140 fi
3141
3142 if test "$wxUSE_DMALLOC" = yes; then
3143 echo "$as_me:$LINENO: result: yes" >&5
3144 echo "${ECHO_T}yes" >&6
3145 else
3146 echo "$as_me:$LINENO: result: no" >&5
3147 echo "${ECHO_T}no" >&6
3148 fi
3149
3150
3151 echo "$as_me:$LINENO: checking for --with-regex" >&5
3152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3153 no_cache=0
3154
3155 # Check whether --with-regex or --without-regex was given.
3156 if test "${with_regex+set}" = set; then
3157 withval="$with_regex"
3158
3159 if test "$withval" = yes; then
3160 ac_cv_use_regex='wxUSE_REGEX=yes'
3161 elif test "$withval" = no; then
3162 ac_cv_use_regex='wxUSE_REGEX=no'
3163 elif test "$withval" = sys; then
3164 ac_cv_use_regex='wxUSE_REGEX=sys'
3165 elif test "$withval" = builtin; then
3166 ac_cv_use_regex='wxUSE_REGEX=builtin'
3167 else
3168 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3169 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3170 { (exit 1); exit 1; }; }
3171 fi
3172
3173 else
3174
3175 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3176 if test "x$LINE" != x ; then
3177 eval "DEFAULT_$LINE"
3178 else
3179 no_cache=1
3180 fi
3181
3182 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3183
3184 fi;
3185
3186 eval "$ac_cv_use_regex"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3189 fi
3190
3191 if test "$wxUSE_REGEX" = yes; then
3192 echo "$as_me:$LINENO: result: yes" >&5
3193 echo "${ECHO_T}yes" >&6
3194 elif test "$wxUSE_REGEX" = no; then
3195 echo "$as_me:$LINENO: result: no" >&5
3196 echo "${ECHO_T}no" >&6
3197 elif test "$wxUSE_REGEX" = sys; then
3198 echo "$as_me:$LINENO: result: system version" >&5
3199 echo "${ECHO_T}system version" >&6
3200 elif test "$wxUSE_REGEX" = builtin; then
3201 echo "$as_me:$LINENO: result: builtin version" >&5
3202 echo "${ECHO_T}builtin version" >&6
3203 else
3204 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3205 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3206 { (exit 1); exit 1; }; }
3207 fi
3208
3209
3210 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3211 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3212 no_cache=0
3213
3214 # Check whether --with-zlib or --without-zlib was given.
3215 if test "${with_zlib+set}" = set; then
3216 withval="$with_zlib"
3217
3218 if test "$withval" = yes; then
3219 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3220 elif test "$withval" = no; then
3221 ac_cv_use_zlib='wxUSE_ZLIB=no'
3222 elif test "$withval" = sys; then
3223 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3224 elif test "$withval" = builtin; then
3225 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3226 else
3227 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3228 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3229 { (exit 1); exit 1; }; }
3230 fi
3231
3232 else
3233
3234 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x ; then
3236 eval "DEFAULT_$LINE"
3237 else
3238 no_cache=1
3239 fi
3240
3241 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3242
3243 fi;
3244
3245 eval "$ac_cv_use_zlib"
3246 if test "$no_cache" != 1; then
3247 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3248 fi
3249
3250 if test "$wxUSE_ZLIB" = yes; then
3251 echo "$as_me:$LINENO: result: yes" >&5
3252 echo "${ECHO_T}yes" >&6
3253 elif test "$wxUSE_ZLIB" = no; then
3254 echo "$as_me:$LINENO: result: no" >&5
3255 echo "${ECHO_T}no" >&6
3256 elif test "$wxUSE_ZLIB" = sys; then
3257 echo "$as_me:$LINENO: result: system version" >&5
3258 echo "${ECHO_T}system version" >&6
3259 elif test "$wxUSE_ZLIB" = builtin; then
3260 echo "$as_me:$LINENO: result: builtin version" >&5
3261 echo "${ECHO_T}builtin version" >&6
3262 else
3263 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3264 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3265 { (exit 1); exit 1; }; }
3266 fi
3267
3268
3269 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3270 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3271 no_cache=0
3272
3273 # Check whether --with-odbc or --without-odbc was given.
3274 if test "${with_odbc+set}" = set; then
3275 withval="$with_odbc"
3276
3277 if test "$withval" = yes; then
3278 ac_cv_use_odbc='wxUSE_ODBC=yes'
3279 elif test "$withval" = no; then
3280 ac_cv_use_odbc='wxUSE_ODBC=no'
3281 elif test "$withval" = sys; then
3282 ac_cv_use_odbc='wxUSE_ODBC=sys'
3283 elif test "$withval" = builtin; then
3284 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3285 else
3286 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3287 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3288 { (exit 1); exit 1; }; }
3289 fi
3290
3291 else
3292
3293 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x ; then
3295 eval "DEFAULT_$LINE"
3296 else
3297 no_cache=1
3298 fi
3299
3300 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3301
3302 fi;
3303
3304 eval "$ac_cv_use_odbc"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3307 fi
3308
3309 if test "$wxUSE_ODBC" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3312 elif test "$wxUSE_ODBC" = no; then
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3315 elif test "$wxUSE_ODBC" = sys; then
3316 echo "$as_me:$LINENO: result: system version" >&5
3317 echo "${ECHO_T}system version" >&6
3318 elif test "$wxUSE_ODBC" = builtin; then
3319 echo "$as_me:$LINENO: result: builtin version" >&5
3320 echo "${ECHO_T}builtin version" >&6
3321 else
3322 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3323 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3324 { (exit 1); exit 1; }; }
3325 fi
3326
3327
3328 echo "$as_me:$LINENO: checking for --with-expat" >&5
3329 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3330 no_cache=0
3331
3332 # Check whether --with-expat or --without-expat was given.
3333 if test "${with_expat+set}" = set; then
3334 withval="$with_expat"
3335
3336 if test "$withval" = yes; then
3337 ac_cv_use_expat='wxUSE_EXPAT=yes'
3338 elif test "$withval" = no; then
3339 ac_cv_use_expat='wxUSE_EXPAT=no'
3340 elif test "$withval" = sys; then
3341 ac_cv_use_expat='wxUSE_EXPAT=sys'
3342 elif test "$withval" = builtin; then
3343 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3344 else
3345 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3346 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3347 { (exit 1); exit 1; }; }
3348 fi
3349
3350 else
3351
3352 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3355 else
3356 no_cache=1
3357 fi
3358
3359 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3360
3361 fi;
3362
3363 eval "$ac_cv_use_expat"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3366 fi
3367
3368 if test "$wxUSE_EXPAT" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 elif test "$wxUSE_EXPAT" = no; then
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3374 elif test "$wxUSE_EXPAT" = sys; then
3375 echo "$as_me:$LINENO: result: system version" >&5
3376 echo "${ECHO_T}system version" >&6
3377 elif test "$wxUSE_EXPAT" = builtin; then
3378 echo "$as_me:$LINENO: result: builtin version" >&5
3379 echo "${ECHO_T}builtin version" >&6
3380 else
3381 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3382 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3383 { (exit 1); exit 1; }; }
3384 fi
3385
3386
3387
3388
3389 enablestring=
3390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3392 no_cache=0
3393 # Check whether --enable-shared or --disable-shared was given.
3394 if test "${enable_shared+set}" = set; then
3395 enableval="$enable_shared"
3396
3397 if test "$enableval" = yes; then
3398 ac_cv_use_shared='wxUSE_SHARED=yes'
3399 else
3400 ac_cv_use_shared='wxUSE_SHARED=no'
3401 fi
3402
3403 else
3404
3405 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x ; then
3407 eval "DEFAULT_$LINE"
3408 else
3409 no_cache=1
3410 fi
3411
3412 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3413
3414 fi;
3415
3416 eval "$ac_cv_use_shared"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3419 fi
3420
3421 if test "$wxUSE_SHARED" = yes; then
3422 echo "$as_me:$LINENO: result: yes" >&5
3423 echo "${ECHO_T}yes" >&6
3424 else
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3427 fi
3428
3429
3430 enablestring=
3431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3432 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3433 no_cache=0
3434 # Check whether --enable-optimise or --disable-optimise was given.
3435 if test "${enable_optimise+set}" = set; then
3436 enableval="$enable_optimise"
3437
3438 if test "$enableval" = yes; then
3439 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3440 else
3441 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3442 fi
3443
3444 else
3445
3446 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x ; then
3448 eval "DEFAULT_$LINE"
3449 else
3450 no_cache=1
3451 fi
3452
3453 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3454
3455 fi;
3456
3457 eval "$ac_cv_use_optimise"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3460 fi
3461
3462 if test "$wxUSE_OPTIMISE" = yes; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3465 else
3466 echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6
3468 fi
3469
3470
3471 enablestring=
3472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3474 no_cache=0
3475 # Check whether --enable-debug or --disable-debug was given.
3476 if test "${enable_debug+set}" = set; then
3477 enableval="$enable_debug"
3478
3479 if test "$enableval" = yes; then
3480 ac_cv_use_debug='wxUSE_DEBUG=yes'
3481 else
3482 ac_cv_use_debug='wxUSE_DEBUG=no'
3483 fi
3484
3485 else
3486
3487 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3490 else
3491 no_cache=1
3492 fi
3493
3494 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3495
3496 fi;
3497
3498 eval "$ac_cv_use_debug"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test "$wxUSE_DEBUG" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3506 else
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3509 fi
3510
3511
3512 enablestring=
3513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3514 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3515 no_cache=0
3516 # Check whether --enable-stl or --disable-stl was given.
3517 if test "${enable_stl+set}" = set; then
3518 enableval="$enable_stl"
3519
3520 if test "$enableval" = yes; then
3521 ac_cv_use_stl='wxUSE_STL=yes'
3522 else
3523 ac_cv_use_stl='wxUSE_STL=no'
3524 fi
3525
3526 else
3527
3528 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3531 else
3532 no_cache=1
3533 fi
3534
3535 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3536
3537 fi;
3538
3539 eval "$ac_cv_use_stl"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3542 fi
3543
3544 if test "$wxUSE_STL" = yes; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3547 else
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3550 fi
3551
3552 if test "$USE_OS2" = "1"; then
3553
3554 enablestring=
3555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3556 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3557 no_cache=0
3558 # Check whether --enable-omf or --disable-omf was given.
3559 if test "${enable_omf+set}" = set; then
3560 enableval="$enable_omf"
3561
3562 if test "$enableval" = yes; then
3563 ac_cv_use_omf='wxUSE_OMF=yes'
3564 else
3565 ac_cv_use_omf='wxUSE_OMF=no'
3566 fi
3567
3568 else
3569
3570 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3578
3579 fi;
3580
3581 eval "$ac_cv_use_omf"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_OMF" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 else
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 fi
3593
3594 fi
3595
3596 if test "$wxUSE_DEBUG" = "yes"; then
3597 DEFAULT_wxUSE_DEBUG_FLAG=yes
3598 DEFAULT_wxUSE_DEBUG_INFO=yes
3599 BUILD=debug
3600 elif test "$wxUSE_DEBUG" = "no"; then
3601 DEFAULT_wxUSE_DEBUG_FLAG=no
3602 DEFAULT_wxUSE_DEBUG_INFO=no
3603 BUILD=release
3604 fi
3605
3606
3607 enablestring=
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3610 no_cache=0
3611 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3612 if test "${enable_debug_flag+set}" = set; then
3613 enableval="$enable_debug_flag"
3614
3615 if test "$enableval" = yes; then
3616 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3617 else
3618 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3619 fi
3620
3621 else
3622
3623 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x ; then
3625 eval "DEFAULT_$LINE"
3626 else
3627 no_cache=1
3628 fi
3629
3630 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3631
3632 fi;
3633
3634 eval "$ac_cv_use_debug_flag"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3637 fi
3638
3639 if test "$wxUSE_DEBUG_FLAG" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 else
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 fi
3646
3647
3648 enablestring=
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3651 no_cache=0
3652 # Check whether --enable-debug_info or --disable-debug_info was given.
3653 if test "${enable_debug_info+set}" = set; then
3654 enableval="$enable_debug_info"
3655
3656 if test "$enableval" = yes; then
3657 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3658 else
3659 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3660 fi
3661
3662 else
3663
3664 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 else
3668 no_cache=1
3669 fi
3670
3671 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3672
3673 fi;
3674
3675 eval "$ac_cv_use_debug_info"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3678 fi
3679
3680 if test "$wxUSE_DEBUG_INFO" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3686 fi
3687
3688
3689 enablestring=
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3692 no_cache=0
3693 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3694 if test "${enable_debug_gdb+set}" = set; then
3695 enableval="$enable_debug_gdb"
3696
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3699 else
3700 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3701 fi
3702
3703 else
3704
3705 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3713
3714 fi;
3715
3716 eval "$ac_cv_use_debug_gdb"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_DEBUG_GDB" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 fi
3728
3729
3730 enablestring=
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3733 no_cache=0
3734 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3735 if test "${enable_debug_cntxt+set}" = set; then
3736 enableval="$enable_debug_cntxt"
3737
3738 if test "$enableval" = yes; then
3739 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3740 else
3741 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3742 fi
3743
3744 else
3745
3746 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3754
3755 fi;
3756
3757 eval "$ac_cv_use_debug_cntxt"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3760 fi
3761
3762 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 fi
3769
3770
3771 enablestring=
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3774 no_cache=0
3775 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3776 if test "${enable_mem_tracing+set}" = set; then
3777 enableval="$enable_mem_tracing"
3778
3779 if test "$enableval" = yes; then
3780 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3781 else
3782 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3783 fi
3784
3785 else
3786
3787 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x ; then
3789 eval "DEFAULT_$LINE"
3790 else
3791 no_cache=1
3792 fi
3793
3794 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3795
3796 fi;
3797
3798 eval "$ac_cv_use_mem_tracing"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3801 fi
3802
3803 if test "$wxUSE_MEM_TRACING" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3806 else
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3809 fi
3810
3811
3812 enablestring=
3813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3814 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3815 no_cache=0
3816 # Check whether --enable-profile or --disable-profile was given.
3817 if test "${enable_profile+set}" = set; then
3818 enableval="$enable_profile"
3819
3820 if test "$enableval" = yes; then
3821 ac_cv_use_profile='wxUSE_PROFILE=yes'
3822 else
3823 ac_cv_use_profile='wxUSE_PROFILE=no'
3824 fi
3825
3826 else
3827
3828 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3829 if test "x$LINE" != x ; then
3830 eval "DEFAULT_$LINE"
3831 else
3832 no_cache=1
3833 fi
3834
3835 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3836
3837 fi;
3838
3839 eval "$ac_cv_use_profile"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3842 fi
3843
3844 if test "$wxUSE_PROFILE" = yes; then
3845 echo "$as_me:$LINENO: result: yes" >&5
3846 echo "${ECHO_T}yes" >&6
3847 else
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3850 fi
3851
3852
3853 enablestring=
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3856 no_cache=0
3857 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3858 if test "${enable_no_rtti+set}" = set; then
3859 enableval="$enable_no_rtti"
3860
3861 if test "$enableval" = yes; then
3862 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3863 else
3864 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3865 fi
3866
3867 else
3868
3869 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3872 else
3873 no_cache=1
3874 fi
3875
3876 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3877
3878 fi;
3879
3880 eval "$ac_cv_use_no_rtti"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3883 fi
3884
3885 if test "$wxUSE_NO_RTTI" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3888 else
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3891 fi
3892
3893
3894 enablestring=
3895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3896 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3897 no_cache=0
3898 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3899 if test "${enable_no_exceptions+set}" = set; then
3900 enableval="$enable_no_exceptions"
3901
3902 if test "$enableval" = yes; then
3903 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3904 else
3905 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3906 fi
3907
3908 else
3909
3910 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x ; then
3912 eval "DEFAULT_$LINE"
3913 else
3914 no_cache=1
3915 fi
3916
3917 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3918
3919 fi;
3920
3921 eval "$ac_cv_use_no_exceptions"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3924 fi
3925
3926 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3927 echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6
3929 else
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3932 fi
3933
3934
3935 enablestring=
3936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3937 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3938 no_cache=0
3939 # Check whether --enable-permissive or --disable-permissive was given.
3940 if test "${enable_permissive+set}" = set; then
3941 enableval="$enable_permissive"
3942
3943 if test "$enableval" = yes; then
3944 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3945 else
3946 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3947 fi
3948
3949 else
3950
3951 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3954 else
3955 no_cache=1
3956 fi
3957
3958 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3959
3960 fi;
3961
3962 eval "$ac_cv_use_permissive"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3965 fi
3966
3967 if test "$wxUSE_PERMISSIVE" = yes; then
3968 echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6
3970 else
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3973 fi
3974
3975
3976 enablestring=
3977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3978 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3979 no_cache=0
3980 # Check whether --enable-no_deps or --disable-no_deps was given.
3981 if test "${enable_no_deps+set}" = set; then
3982 enableval="$enable_no_deps"
3983
3984 if test "$enableval" = yes; then
3985 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3986 else
3987 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3988 fi
3989
3990 else
3991
3992 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x ; then
3994 eval "DEFAULT_$LINE"
3995 else
3996 no_cache=1
3997 fi
3998
3999 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4000
4001 fi;
4002
4003 eval "$ac_cv_use_no_deps"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4006 fi
4007
4008 if test "$wxUSE_NO_DEPS" = yes; then
4009 echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6
4011 else
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4014 fi
4015
4016
4017
4018 enablestring=
4019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4020 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4021 no_cache=0
4022 # Check whether --enable-compat22 or --disable-compat22 was given.
4023 if test "${enable_compat22+set}" = set; then
4024 enableval="$enable_compat22"
4025
4026 if test "$enableval" = yes; then
4027 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4028 else
4029 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4030 fi
4031
4032 else
4033
4034 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x ; then
4036 eval "DEFAULT_$LINE"
4037 else
4038 no_cache=1
4039 fi
4040
4041 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4042
4043 fi;
4044
4045 eval "$ac_cv_use_compat22"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4048 fi
4049
4050 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4051 echo "$as_me:$LINENO: result: yes" >&5
4052 echo "${ECHO_T}yes" >&6
4053 else
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4056 fi
4057
4058
4059 enablestring=disable
4060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4061 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4062 no_cache=0
4063 # Check whether --enable-compat24 or --disable-compat24 was given.
4064 if test "${enable_compat24+set}" = set; then
4065 enableval="$enable_compat24"
4066
4067 if test "$enableval" = yes; then
4068 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4069 else
4070 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4071 fi
4072
4073 else
4074
4075 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x ; then
4077 eval "DEFAULT_$LINE"
4078 else
4079 no_cache=1
4080 fi
4081
4082 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4083
4084 fi;
4085
4086 eval "$ac_cv_use_compat24"
4087 if test "$no_cache" != 1; then
4088 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4089 fi
4090
4091 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4092 echo "$as_me:$LINENO: result: yes" >&5
4093 echo "${ECHO_T}yes" >&6
4094 else
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4097 fi
4098
4099
4100 # Check whether --enable-rpath or --disable-rpath was given.
4101 if test "${enable_rpath+set}" = set; then
4102 enableval="$enable_rpath"
4103 wxRPATH_DIR="$enableval"
4104 fi;
4105
4106 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4107 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4108 fi
4109
4110
4111
4112
4113 enablestring=
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4116 no_cache=0
4117 # Check whether --enable-intl or --disable-intl was given.
4118 if test "${enable_intl+set}" = set; then
4119 enableval="$enable_intl"
4120
4121 if test "$enableval" = yes; then
4122 ac_cv_use_intl='wxUSE_INTL=yes'
4123 else
4124 ac_cv_use_intl='wxUSE_INTL=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4137
4138 fi;
4139
4140 eval "$ac_cv_use_intl"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4143 fi
4144
4145 if test "$wxUSE_INTL" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4148 else
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4151 fi
4152
4153
4154 enablestring=
4155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4156 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4157 no_cache=0
4158 # Check whether --enable-config or --disable-config was given.
4159 if test "${enable_config+set}" = set; then
4160 enableval="$enable_config"
4161
4162 if test "$enableval" = yes; then
4163 ac_cv_use_config='wxUSE_CONFIG=yes'
4164 else
4165 ac_cv_use_config='wxUSE_CONFIG=no'
4166 fi
4167
4168 else
4169
4170 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x ; then
4172 eval "DEFAULT_$LINE"
4173 else
4174 no_cache=1
4175 fi
4176
4177 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4178
4179 fi;
4180
4181 eval "$ac_cv_use_config"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4184 fi
4185
4186 if test "$wxUSE_CONFIG" = yes; then
4187 echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6
4189 else
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4192 fi
4193
4194
4195
4196 enablestring=
4197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4198 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4199 no_cache=0
4200 # Check whether --enable-protocols or --disable-protocols was given.
4201 if test "${enable_protocols+set}" = set; then
4202 enableval="$enable_protocols"
4203
4204 if test "$enableval" = yes; then
4205 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4206 else
4207 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4208 fi
4209
4210 else
4211
4212 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x ; then
4214 eval "DEFAULT_$LINE"
4215 else
4216 no_cache=1
4217 fi
4218
4219 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4220
4221 fi;
4222
4223 eval "$ac_cv_use_protocols"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4226 fi
4227
4228 if test "$wxUSE_PROTOCOL" = yes; then
4229 echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6
4231 else
4232 echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4234 fi
4235
4236
4237 enablestring=
4238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4239 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4240 no_cache=0
4241 # Check whether --enable-ftp or --disable-ftp was given.
4242 if test "${enable_ftp+set}" = set; then
4243 enableval="$enable_ftp"
4244
4245 if test "$enableval" = yes; then
4246 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4247 else
4248 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4249 fi
4250
4251 else
4252
4253 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x ; then
4255 eval "DEFAULT_$LINE"
4256 else
4257 no_cache=1
4258 fi
4259
4260 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4261
4262 fi;
4263
4264 eval "$ac_cv_use_ftp"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4267 fi
4268
4269 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4270 echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6
4272 else
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4275 fi
4276
4277
4278 enablestring=
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4281 no_cache=0
4282 # Check whether --enable-http or --disable-http was given.
4283 if test "${enable_http+set}" = set; then
4284 enableval="$enable_http"
4285
4286 if test "$enableval" = yes; then
4287 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4288 else
4289 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4290 fi
4291
4292 else
4293
4294 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x ; then
4296 eval "DEFAULT_$LINE"
4297 else
4298 no_cache=1
4299 fi
4300
4301 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4302
4303 fi;
4304
4305 eval "$ac_cv_use_http"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4308 fi
4309
4310 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4313 else
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4316 fi
4317
4318
4319 enablestring=
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4322 no_cache=0
4323 # Check whether --enable-fileproto or --disable-fileproto was given.
4324 if test "${enable_fileproto+set}" = set; then
4325 enableval="$enable_fileproto"
4326
4327 if test "$enableval" = yes; then
4328 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4329 else
4330 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4331 fi
4332
4333 else
4334
4335 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x ; then
4337 eval "DEFAULT_$LINE"
4338 else
4339 no_cache=1
4340 fi
4341
4342 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4343
4344 fi;
4345
4346 eval "$ac_cv_use_fileproto"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4349 fi
4350
4351 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4354 else
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4357 fi
4358
4359
4360 enablestring=
4361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4362 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4363 no_cache=0
4364 # Check whether --enable-sockets or --disable-sockets was given.
4365 if test "${enable_sockets+set}" = set; then
4366 enableval="$enable_sockets"
4367
4368 if test "$enableval" = yes; then
4369 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4370 else
4371 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4372 fi
4373
4374 else
4375
4376 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x ; then
4378 eval "DEFAULT_$LINE"
4379 else
4380 no_cache=1
4381 fi
4382
4383 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4384
4385 fi;
4386
4387 eval "$ac_cv_use_sockets"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4390 fi
4391
4392 if test "$wxUSE_SOCKETS" = yes; then
4393 echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6
4395 else
4396 echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4398 fi
4399
4400
4401 enablestring=
4402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4403 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4404 no_cache=0
4405 # Check whether --enable-ole or --disable-ole was given.
4406 if test "${enable_ole+set}" = set; then
4407 enableval="$enable_ole"
4408
4409 if test "$enableval" = yes; then
4410 ac_cv_use_ole='wxUSE_OLE=yes'
4411 else
4412 ac_cv_use_ole='wxUSE_OLE=no'
4413 fi
4414
4415 else
4416
4417 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x ; then
4419 eval "DEFAULT_$LINE"
4420 else
4421 no_cache=1
4422 fi
4423
4424 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4425
4426 fi;
4427
4428 eval "$ac_cv_use_ole"
4429 if test "$no_cache" != 1; then
4430 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4431 fi
4432
4433 if test "$wxUSE_OLE" = yes; then
4434 echo "$as_me:$LINENO: result: yes" >&5
4435 echo "${ECHO_T}yes" >&6
4436 else
4437 echo "$as_me:$LINENO: result: no" >&5
4438 echo "${ECHO_T}no" >&6
4439 fi
4440
4441
4442 enablestring=
4443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4445 no_cache=0
4446 # Check whether --enable-dataobj or --disable-dataobj was given.
4447 if test "${enable_dataobj+set}" = set; then
4448 enableval="$enable_dataobj"
4449
4450 if test "$enableval" = yes; then
4451 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4452 else
4453 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4454 fi
4455
4456 else
4457
4458 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x ; then
4460 eval "DEFAULT_$LINE"
4461 else
4462 no_cache=1
4463 fi
4464
4465 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4466
4467 fi;
4468
4469 eval "$ac_cv_use_dataobj"
4470 if test "$no_cache" != 1; then
4471 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4472 fi
4473
4474 if test "$wxUSE_DATAOBJ" = yes; then
4475 echo "$as_me:$LINENO: result: yes" >&5
4476 echo "${ECHO_T}yes" >&6
4477 else
4478 echo "$as_me:$LINENO: result: no" >&5
4479 echo "${ECHO_T}no" >&6
4480 fi
4481
4482
4483
4484 enablestring=
4485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4486 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4487 no_cache=0
4488 # Check whether --enable-ipc or --disable-ipc was given.
4489 if test "${enable_ipc+set}" = set; then
4490 enableval="$enable_ipc"
4491
4492 if test "$enableval" = yes; then
4493 ac_cv_use_ipc='wxUSE_IPC=yes'
4494 else
4495 ac_cv_use_ipc='wxUSE_IPC=no'
4496 fi
4497
4498 else
4499
4500 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x ; then
4502 eval "DEFAULT_$LINE"
4503 else
4504 no_cache=1
4505 fi
4506
4507 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4508
4509 fi;
4510
4511 eval "$ac_cv_use_ipc"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4514 fi
4515
4516 if test "$wxUSE_IPC" = yes; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4519 else
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4522 fi
4523
4524
4525
4526 enablestring=
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4529 no_cache=0
4530 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4531 if test "${enable_apple_ieee+set}" = set; then
4532 enableval="$enable_apple_ieee"
4533
4534 if test "$enableval" = yes; then
4535 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4536 else
4537 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4538 fi
4539
4540 else
4541
4542 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x ; then
4544 eval "DEFAULT_$LINE"
4545 else
4546 no_cache=1
4547 fi
4548
4549 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4550
4551 fi;
4552
4553 eval "$ac_cv_use_apple_ieee"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4556 fi
4557
4558 if test "$wxUSE_APPLE_IEEE" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6
4561 else
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4564 fi
4565
4566
4567 enablestring=
4568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4569 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4570 no_cache=0
4571 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4572 if test "${enable_catch_segvs+set}" = set; then
4573 enableval="$enable_catch_segvs"
4574
4575 if test "$enableval" = yes; then
4576 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4577 else
4578 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4579 fi
4580
4581 else
4582
4583 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x ; then
4585 eval "DEFAULT_$LINE"
4586 else
4587 no_cache=1
4588 fi
4589
4590 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4591
4592 fi;
4593
4594 eval "$ac_cv_use_catch_segvs"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4597 fi
4598
4599 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4600 echo "$as_me:$LINENO: result: yes" >&5
4601 echo "${ECHO_T}yes" >&6
4602 else
4603 echo "$as_me:$LINENO: result: no" >&5
4604 echo "${ECHO_T}no" >&6
4605 fi
4606
4607
4608 enablestring=
4609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4611 no_cache=0
4612 # Check whether --enable-cmdline or --disable-cmdline was given.
4613 if test "${enable_cmdline+set}" = set; then
4614 enableval="$enable_cmdline"
4615
4616 if test "$enableval" = yes; then
4617 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4618 else
4619 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4620 fi
4621
4622 else
4623
4624 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x ; then
4626 eval "DEFAULT_$LINE"
4627 else
4628 no_cache=1
4629 fi
4630
4631 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4632
4633 fi;
4634
4635 eval "$ac_cv_use_cmdline"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4638 fi
4639
4640 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642 echo "${ECHO_T}yes" >&6
4643 else
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4646 fi
4647
4648
4649 enablestring=
4650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4651 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4652 no_cache=0
4653 # Check whether --enable-datetime or --disable-datetime was given.
4654 if test "${enable_datetime+set}" = set; then
4655 enableval="$enable_datetime"
4656
4657 if test "$enableval" = yes; then
4658 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4659 else
4660 ac_cv_use_datetime='wxUSE_DATETIME=no'
4661 fi
4662
4663 else
4664
4665 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x ; then
4667 eval "DEFAULT_$LINE"
4668 else
4669 no_cache=1
4670 fi
4671
4672 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4673
4674 fi;
4675
4676 eval "$ac_cv_use_datetime"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4679 fi
4680
4681 if test "$wxUSE_DATETIME" = yes; then
4682 echo "$as_me:$LINENO: result: yes" >&5
4683 echo "${ECHO_T}yes" >&6
4684 else
4685 echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6
4687 fi
4688
4689
4690 enablestring=
4691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4692 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4693 no_cache=0
4694 # Check whether --enable-dialupman or --disable-dialupman was given.
4695 if test "${enable_dialupman+set}" = set; then
4696 enableval="$enable_dialupman"
4697
4698 if test "$enableval" = yes; then
4699 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4700 else
4701 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4702 fi
4703
4704 else
4705
4706 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x ; then
4708 eval "DEFAULT_$LINE"
4709 else
4710 no_cache=1
4711 fi
4712
4713 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4714
4715 fi;
4716
4717 eval "$ac_cv_use_dialupman"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4720 fi
4721
4722 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4723 echo "$as_me:$LINENO: result: yes" >&5
4724 echo "${ECHO_T}yes" >&6
4725 else
4726 echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6
4728 fi
4729
4730
4731 enablestring=
4732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4734 no_cache=0
4735 # Check whether --enable-dynlib or --disable-dynlib was given.
4736 if test "${enable_dynlib+set}" = set; then
4737 enableval="$enable_dynlib"
4738
4739 if test "$enableval" = yes; then
4740 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4741 else
4742 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4743 fi
4744
4745 else
4746
4747 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x ; then
4749 eval "DEFAULT_$LINE"
4750 else
4751 no_cache=1
4752 fi
4753
4754 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4755
4756 fi;
4757
4758 eval "$ac_cv_use_dynlib"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4761 fi
4762
4763 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4764 echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6
4766 else
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4769 fi
4770
4771
4772 enablestring=
4773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4775 no_cache=0
4776 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4777 if test "${enable_dynamicloader+set}" = set; then
4778 enableval="$enable_dynamicloader"
4779
4780 if test "$enableval" = yes; then
4781 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4782 else
4783 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4784 fi
4785
4786 else
4787
4788 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x ; then
4790 eval "DEFAULT_$LINE"
4791 else
4792 no_cache=1
4793 fi
4794
4795 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4796
4797 fi;
4798
4799 eval "$ac_cv_use_dynamicloader"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4802 fi
4803
4804 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4805 echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6
4807 else
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4810 fi
4811
4812
4813 enablestring=
4814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4816 no_cache=0
4817 # Check whether --enable-exceptions or --disable-exceptions was given.
4818 if test "${enable_exceptions+set}" = set; then
4819 enableval="$enable_exceptions"
4820
4821 if test "$enableval" = yes; then
4822 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4823 else
4824 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4825 fi
4826
4827 else
4828
4829 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4830 if test "x$LINE" != x ; then
4831 eval "DEFAULT_$LINE"
4832 else
4833 no_cache=1
4834 fi
4835
4836 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4837
4838 fi;
4839
4840 eval "$ac_cv_use_exceptions"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4843 fi
4844
4845 if test "$wxUSE_EXCEPTIONS" = yes; then
4846 echo "$as_me:$LINENO: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6
4848 else
4849 echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6
4851 fi
4852
4853
4854 enablestring=
4855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4856 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4857 no_cache=0
4858 # Check whether --enable-ffile or --disable-ffile was given.
4859 if test "${enable_ffile+set}" = set; then
4860 enableval="$enable_ffile"
4861
4862 if test "$enableval" = yes; then
4863 ac_cv_use_ffile='wxUSE_FFILE=yes'
4864 else
4865 ac_cv_use_ffile='wxUSE_FFILE=no'
4866 fi
4867
4868 else
4869
4870 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x ; then
4872 eval "DEFAULT_$LINE"
4873 else
4874 no_cache=1
4875 fi
4876
4877 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4878
4879 fi;
4880
4881 eval "$ac_cv_use_ffile"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4884 fi
4885
4886 if test "$wxUSE_FFILE" = yes; then
4887 echo "$as_me:$LINENO: result: yes" >&5
4888 echo "${ECHO_T}yes" >&6
4889 else
4890 echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6
4892 fi
4893
4894
4895 enablestring=
4896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4898 no_cache=0
4899 # Check whether --enable-file or --disable-file was given.
4900 if test "${enable_file+set}" = set; then
4901 enableval="$enable_file"
4902
4903 if test "$enableval" = yes; then
4904 ac_cv_use_file='wxUSE_FILE=yes'
4905 else
4906 ac_cv_use_file='wxUSE_FILE=no'
4907 fi
4908
4909 else
4910
4911 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x ; then
4913 eval "DEFAULT_$LINE"
4914 else
4915 no_cache=1
4916 fi
4917
4918 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4919
4920 fi;
4921
4922 eval "$ac_cv_use_file"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4925 fi
4926
4927 if test "$wxUSE_FILE" = yes; then
4928 echo "$as_me:$LINENO: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6
4930 else
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4933 fi
4934
4935
4936 enablestring=
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4939 no_cache=0
4940 # Check whether --enable-filesystem or --disable-filesystem was given.
4941 if test "${enable_filesystem+set}" = set; then
4942 enableval="$enable_filesystem"
4943
4944 if test "$enableval" = yes; then
4945 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4946 else
4947 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4948 fi
4949
4950 else
4951
4952 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x ; then
4954 eval "DEFAULT_$LINE"
4955 else
4956 no_cache=1
4957 fi
4958
4959 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4960
4961 fi;
4962
4963 eval "$ac_cv_use_filesystem"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4966 fi
4967
4968 if test "$wxUSE_FILESYSTEM" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6
4971 else
4972 echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6
4974 fi
4975
4976
4977 enablestring=
4978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4980 no_cache=0
4981 # Check whether --enable-fontmap or --disable-fontmap was given.
4982 if test "${enable_fontmap+set}" = set; then
4983 enableval="$enable_fontmap"
4984
4985 if test "$enableval" = yes; then
4986 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4987 else
4988 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4989 fi
4990
4991 else
4992
4993 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x ; then
4995 eval "DEFAULT_$LINE"
4996 else
4997 no_cache=1
4998 fi
4999
5000 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5001
5002 fi;
5003
5004 eval "$ac_cv_use_fontmap"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5007 fi
5008
5009 if test "$wxUSE_FONTMAP" = yes; then
5010 echo "$as_me:$LINENO: result: yes" >&5
5011 echo "${ECHO_T}yes" >&6
5012 else
5013 echo "$as_me:$LINENO: result: no" >&5
5014 echo "${ECHO_T}no" >&6
5015 fi
5016
5017
5018 enablestring=
5019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5021 no_cache=0
5022 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5023 if test "${enable_fs_inet+set}" = set; then
5024 enableval="$enable_fs_inet"
5025
5026 if test "$enableval" = yes; then
5027 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5028 else
5029 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5030 fi
5031
5032 else
5033
5034 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5035 if test "x$LINE" != x ; then
5036 eval "DEFAULT_$LINE"
5037 else
5038 no_cache=1
5039 fi
5040
5041 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5042
5043 fi;
5044
5045 eval "$ac_cv_use_fs_inet"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5048 fi
5049
5050 if test "$wxUSE_FS_INET" = yes; then
5051 echo "$as_me:$LINENO: result: yes" >&5
5052 echo "${ECHO_T}yes" >&6
5053 else
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5056 fi
5057
5058
5059 enablestring=
5060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5062 no_cache=0
5063 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5064 if test "${enable_fs_zip+set}" = set; then
5065 enableval="$enable_fs_zip"
5066
5067 if test "$enableval" = yes; then
5068 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5069 else
5070 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5071 fi
5072
5073 else
5074
5075 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x ; then
5077 eval "DEFAULT_$LINE"
5078 else
5079 no_cache=1
5080 fi
5081
5082 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5083
5084 fi;
5085
5086 eval "$ac_cv_use_fs_zip"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5089 fi
5090
5091 if test "$wxUSE_FS_ZIP" = yes; then
5092 echo "$as_me:$LINENO: result: yes" >&5
5093 echo "${ECHO_T}yes" >&6
5094 else
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5097 fi
5098
5099
5100 enablestring=
5101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5103 no_cache=0
5104 # Check whether --enable-geometry or --disable-geometry was given.
5105 if test "${enable_geometry+set}" = set; then
5106 enableval="$enable_geometry"
5107
5108 if test "$enableval" = yes; then
5109 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5110 else
5111 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5112 fi
5113
5114 else
5115
5116 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x ; then
5118 eval "DEFAULT_$LINE"
5119 else
5120 no_cache=1
5121 fi
5122
5123 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5124
5125 fi;
5126
5127 eval "$ac_cv_use_geometry"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5130 fi
5131
5132 if test "$wxUSE_GEOMETRY" = yes; then
5133 echo "$as_me:$LINENO: result: yes" >&5
5134 echo "${ECHO_T}yes" >&6
5135 else
5136 echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6
5138 fi
5139
5140
5141 enablestring=
5142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5143 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5144 no_cache=0
5145 # Check whether --enable-log or --disable-log was given.
5146 if test "${enable_log+set}" = set; then
5147 enableval="$enable_log"
5148
5149 if test "$enableval" = yes; then
5150 ac_cv_use_log='wxUSE_LOG=yes'
5151 else
5152 ac_cv_use_log='wxUSE_LOG=no'
5153 fi
5154
5155 else
5156
5157 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x ; then
5159 eval "DEFAULT_$LINE"
5160 else
5161 no_cache=1
5162 fi
5163
5164 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5165
5166 fi;
5167
5168 eval "$ac_cv_use_log"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5171 fi
5172
5173 if test "$wxUSE_LOG" = yes; then
5174 echo "$as_me:$LINENO: result: yes" >&5
5175 echo "${ECHO_T}yes" >&6
5176 else
5177 echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6
5179 fi
5180
5181
5182 enablestring=
5183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5185 no_cache=0
5186 # Check whether --enable-longlong or --disable-longlong was given.
5187 if test "${enable_longlong+set}" = set; then
5188 enableval="$enable_longlong"
5189
5190 if test "$enableval" = yes; then
5191 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5192 else
5193 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5194 fi
5195
5196 else
5197
5198 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5201 else
5202 no_cache=1
5203 fi
5204
5205 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5206
5207 fi;
5208
5209 eval "$ac_cv_use_longlong"
5210 if test "$no_cache" != 1; then
5211 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5212 fi
5213
5214 if test "$wxUSE_LONGLONG" = yes; then
5215 echo "$as_me:$LINENO: result: yes" >&5
5216 echo "${ECHO_T}yes" >&6
5217 else
5218 echo "$as_me:$LINENO: result: no" >&5
5219 echo "${ECHO_T}no" >&6
5220 fi
5221
5222
5223 enablestring=
5224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5225 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5226 no_cache=0
5227 # Check whether --enable-mimetype or --disable-mimetype was given.
5228 if test "${enable_mimetype+set}" = set; then
5229 enableval="$enable_mimetype"
5230
5231 if test "$enableval" = yes; then
5232 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5233 else
5234 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5235 fi
5236
5237 else
5238
5239 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5240 if test "x$LINE" != x ; then
5241 eval "DEFAULT_$LINE"
5242 else
5243 no_cache=1
5244 fi
5245
5246 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5247
5248 fi;
5249
5250 eval "$ac_cv_use_mimetype"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5253 fi
5254
5255 if test "$wxUSE_MIMETYPE" = yes; then
5256 echo "$as_me:$LINENO: result: yes" >&5
5257 echo "${ECHO_T}yes" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5261 fi
5262
5263
5264 enablestring=
5265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5266 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5267 no_cache=0
5268 # Check whether --enable-mslu or --disable-mslu was given.
5269 if test "${enable_mslu+set}" = set; then
5270 enableval="$enable_mslu"
5271
5272 if test "$enableval" = yes; then
5273 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5274 else
5275 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5276 fi
5277
5278 else
5279
5280 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x ; then
5282 eval "DEFAULT_$LINE"
5283 else
5284 no_cache=1
5285 fi
5286
5287 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5288
5289 fi;
5290
5291 eval "$ac_cv_use_mslu"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5294 fi
5295
5296 if test "$wxUSE_UNICODE_MSLU" = yes; then
5297 echo "$as_me:$LINENO: result: yes" >&5
5298 echo "${ECHO_T}yes" >&6
5299 else
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5302 fi
5303
5304
5305 enablestring=
5306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5308 no_cache=0
5309 # Check whether --enable-snglinst or --disable-snglinst was given.
5310 if test "${enable_snglinst+set}" = set; then
5311 enableval="$enable_snglinst"
5312
5313 if test "$enableval" = yes; then
5314 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5315 else
5316 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5317 fi
5318
5319 else
5320
5321 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5324 else
5325 no_cache=1
5326 fi
5327
5328 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5329
5330 fi;
5331
5332 eval "$ac_cv_use_snglinst"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5335 fi
5336
5337 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5338 echo "$as_me:$LINENO: result: yes" >&5
5339 echo "${ECHO_T}yes" >&6
5340 else
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5343 fi
5344
5345
5346 enablestring=
5347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5349 no_cache=0
5350 # Check whether --enable-streams or --disable-streams was given.
5351 if test "${enable_streams+set}" = set; then
5352 enableval="$enable_streams"
5353
5354 if test "$enableval" = yes; then
5355 ac_cv_use_streams='wxUSE_STREAMS=yes'
5356 else
5357 ac_cv_use_streams='wxUSE_STREAMS=no'
5358 fi
5359
5360 else
5361
5362 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x ; then
5364 eval "DEFAULT_$LINE"
5365 else
5366 no_cache=1
5367 fi
5368
5369 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5370
5371 fi;
5372
5373 eval "$ac_cv_use_streams"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5376 fi
5377
5378 if test "$wxUSE_STREAMS" = yes; then
5379 echo "$as_me:$LINENO: result: yes" >&5
5380 echo "${ECHO_T}yes" >&6
5381 else
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5384 fi
5385
5386
5387 enablestring=
5388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5389 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5390 no_cache=0
5391 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5392 if test "${enable_std_iostreams+set}" = set; then
5393 enableval="$enable_std_iostreams"
5394
5395 if test "$enableval" = yes; then
5396 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5397 else
5398 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5399 fi
5400
5401 else
5402
5403 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x ; then
5405 eval "DEFAULT_$LINE"
5406 else
5407 no_cache=1
5408 fi
5409
5410 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5411
5412 fi;
5413
5414 eval "$ac_cv_use_std_iostreams"
5415 if test "$no_cache" != 1; then
5416 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5417 fi
5418
5419 if test "$wxUSE_STD_IOSTREAM" = yes; then
5420 echo "$as_me:$LINENO: result: yes" >&5
5421 echo "${ECHO_T}yes" >&6
5422 else
5423 echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6
5425 fi
5426
5427
5428 enablestring=
5429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5431 no_cache=0
5432 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5433 if test "${enable_stopwatch+set}" = set; then
5434 enableval="$enable_stopwatch"
5435
5436 if test "$enableval" = yes; then
5437 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5438 else
5439 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5440 fi
5441
5442 else
5443
5444 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5445 if test "x$LINE" != x ; then
5446 eval "DEFAULT_$LINE"
5447 else
5448 no_cache=1
5449 fi
5450
5451 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5452
5453 fi;
5454
5455 eval "$ac_cv_use_stopwatch"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5458 fi
5459
5460 if test "$wxUSE_STOPWATCH" = yes; then
5461 echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6
5463 else
5464 echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6
5466 fi
5467
5468
5469 enablestring=
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5472 no_cache=0
5473 # Check whether --enable-system_options or --disable-system_options was given.
5474 if test "${enable_system_options+set}" = set; then
5475 enableval="$enable_system_options"
5476
5477 if test "$enableval" = yes; then
5478 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5479 else
5480 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5481 fi
5482
5483 else
5484
5485 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5488 else
5489 no_cache=1
5490 fi
5491
5492 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5493
5494 fi;
5495
5496 eval "$ac_cv_use_system_options"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5504 else
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5507 fi
5508
5509
5510 enablestring=
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5513 no_cache=0
5514 # Check whether --enable-textbuf or --disable-textbuf was given.
5515 if test "${enable_textbuf+set}" = set; then
5516 enableval="$enable_textbuf"
5517
5518 if test "$enableval" = yes; then
5519 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5520 else
5521 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5522 fi
5523
5524 else
5525
5526 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5529 else
5530 no_cache=1
5531 fi
5532
5533 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5534
5535 fi;
5536
5537 eval "$ac_cv_use_textbuf"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test "$wxUSE_TEXTBUFFER" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5545 else
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5548 fi
5549
5550
5551 enablestring=
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5554 no_cache=0
5555 # Check whether --enable-textfile or --disable-textfile was given.
5556 if test "${enable_textfile+set}" = set; then
5557 enableval="$enable_textfile"
5558
5559 if test "$enableval" = yes; then
5560 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5561 else
5562 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5563 fi
5564
5565 else
5566
5567 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x ; then
5569 eval "DEFAULT_$LINE"
5570 else
5571 no_cache=1
5572 fi
5573
5574 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5575
5576 fi;
5577
5578 eval "$ac_cv_use_textfile"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5581 fi
5582
5583 if test "$wxUSE_TEXTFILE" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5586 else
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5589 fi
5590
5591
5592 enablestring=
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5595 no_cache=0
5596 # Check whether --enable-timer or --disable-timer was given.
5597 if test "${enable_timer+set}" = set; then
5598 enableval="$enable_timer"
5599
5600 if test "$enableval" = yes; then
5601 ac_cv_use_timer='wxUSE_TIMER=yes'
5602 else
5603 ac_cv_use_timer='wxUSE_TIMER=no'
5604 fi
5605
5606 else
5607
5608 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x ; then
5610 eval "DEFAULT_$LINE"
5611 else
5612 no_cache=1
5613 fi
5614
5615 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5616
5617 fi;
5618
5619 eval "$ac_cv_use_timer"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test "$wxUSE_TIMER" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5627 else
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5630 fi
5631
5632
5633 enablestring=
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5636 no_cache=0
5637 # Check whether --enable-unicode or --disable-unicode was given.
5638 if test "${enable_unicode+set}" = set; then
5639 enableval="$enable_unicode"
5640
5641 if test "$enableval" = yes; then
5642 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5643 else
5644 ac_cv_use_unicode='wxUSE_UNICODE=no'
5645 fi
5646
5647 else
5648
5649 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 else
5653 no_cache=1
5654 fi
5655
5656 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5657
5658 fi;
5659
5660 eval "$ac_cv_use_unicode"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test "$wxUSE_UNICODE" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5668 else
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5671 fi
5672
5673
5674 enablestring=
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5677 no_cache=0
5678 # Check whether --enable-sound or --disable-sound was given.
5679 if test "${enable_sound+set}" = set; then
5680 enableval="$enable_sound"
5681
5682 if test "$enableval" = yes; then
5683 ac_cv_use_sound='wxUSE_SOUND=yes'
5684 else
5685 ac_cv_use_sound='wxUSE_SOUND=no'
5686 fi
5687
5688 else
5689
5690 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5693 else
5694 no_cache=1
5695 fi
5696
5697 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5698
5699 fi;
5700
5701 eval "$ac_cv_use_sound"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_SOUND" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5709 else
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5712 fi
5713
5714
5715 enablestring=
5716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5717 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5718 no_cache=0
5719 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5720 if test "${enable_wxprintfv+set}" = set; then
5721 enableval="$enable_wxprintfv"
5722
5723 if test "$enableval" = yes; then
5724 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5725 else
5726 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5727 fi
5728
5729 else
5730
5731 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x ; then
5733 eval "DEFAULT_$LINE"
5734 else
5735 no_cache=1
5736 fi
5737
5738 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5739
5740 fi;
5741
5742 eval "$ac_cv_use_wxprintfv"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5745 fi
5746
5747 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5748 echo "$as_me:$LINENO: result: yes" >&5
5749 echo "${ECHO_T}yes" >&6
5750 else
5751 echo "$as_me:$LINENO: result: no" >&5
5752 echo "${ECHO_T}no" >&6
5753 fi
5754
5755
5756 enablestring=
5757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5759 no_cache=0
5760 # Check whether --enable-zipstream or --disable-zipstream was given.
5761 if test "${enable_zipstream+set}" = set; then
5762 enableval="$enable_zipstream"
5763
5764 if test "$enableval" = yes; then
5765 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5766 else
5767 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5768 fi
5769
5770 else
5771
5772 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x ; then
5774 eval "DEFAULT_$LINE"
5775 else
5776 no_cache=1
5777 fi
5778
5779 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5780
5781 fi;
5782
5783 eval "$ac_cv_use_zipstream"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5786 fi
5787
5788 if test "$wxUSE_ZIPSTREAM" = yes; then
5789 echo "$as_me:$LINENO: result: yes" >&5
5790 echo "${ECHO_T}yes" >&6
5791 else
5792 echo "$as_me:$LINENO: result: no" >&5
5793 echo "${ECHO_T}no" >&6
5794 fi
5795
5796
5797
5798 enablestring=
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5801 no_cache=0
5802 # Check whether --enable-url or --disable-url was given.
5803 if test "${enable_url+set}" = set; then
5804 enableval="$enable_url"
5805
5806 if test "$enableval" = yes; then
5807 ac_cv_use_url='wxUSE_URL=yes'
5808 else
5809 ac_cv_use_url='wxUSE_URL=no'
5810 fi
5811
5812 else
5813
5814 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5822
5823 fi;
5824
5825 eval "$ac_cv_use_url"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5828 fi
5829
5830 if test "$wxUSE_URL" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5833 else
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5836 fi
5837
5838
5839 enablestring=
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5842 no_cache=0
5843 # Check whether --enable-protocol or --disable-protocol was given.
5844 if test "${enable_protocol+set}" = set; then
5845 enableval="$enable_protocol"
5846
5847 if test "$enableval" = yes; then
5848 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5849 else
5850 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5851 fi
5852
5853 else
5854
5855 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5863
5864 fi;
5865
5866 eval "$ac_cv_use_protocol"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5869 fi
5870
5871 if test "$wxUSE_PROTOCOL" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5874 else
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5877 fi
5878
5879
5880 enablestring=
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5883 no_cache=0
5884 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5885 if test "${enable_protocol_http+set}" = set; then
5886 enableval="$enable_protocol_http"
5887
5888 if test "$enableval" = yes; then
5889 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5890 else
5891 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5892 fi
5893
5894 else
5895
5896 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5904
5905 fi;
5906
5907 eval "$ac_cv_use_protocol_http"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5915 else
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5918 fi
5919
5920
5921 enablestring=
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5924 no_cache=0
5925 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5926 if test "${enable_protocol_ftp+set}" = set; then
5927 enableval="$enable_protocol_ftp"
5928
5929 if test "$enableval" = yes; then
5930 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5931 else
5932 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5933 fi
5934
5935 else
5936
5937 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5940 else
5941 no_cache=1
5942 fi
5943
5944 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5945
5946 fi;
5947
5948 eval "$ac_cv_use_protocol_ftp"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5951 fi
5952
5953 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5956 else
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5959 fi
5960
5961
5962 enablestring=
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5965 no_cache=0
5966 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5967 if test "${enable_protocol_file+set}" = set; then
5968 enableval="$enable_protocol_file"
5969
5970 if test "$enableval" = yes; then
5971 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5972 else
5973 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5974 fi
5975
5976 else
5977
5978 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5981 else
5982 no_cache=1
5983 fi
5984
5985 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5986
5987 fi;
5988
5989 eval "$ac_cv_use_protocol_file"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5992 fi
5993
5994 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5997 else
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6000 fi
6001
6002
6003
6004
6005
6006 enablestring=
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6009 no_cache=0
6010 # Check whether --enable-threads or --disable-threads was given.
6011 if test "${enable_threads+set}" = set; then
6012 enableval="$enable_threads"
6013
6014 if test "$enableval" = yes; then
6015 ac_cv_use_threads='wxUSE_THREADS=yes'
6016 else
6017 ac_cv_use_threads='wxUSE_THREADS=no'
6018 fi
6019
6020 else
6021
6022 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 else
6026 no_cache=1
6027 fi
6028
6029 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6030
6031 fi;
6032
6033 eval "$ac_cv_use_threads"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test "$wxUSE_THREADS" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6041 else
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6044 fi
6045
6046
6047 if test "$wxUSE_GUI" = "yes"; then
6048
6049
6050
6051 enablestring=
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6054 no_cache=0
6055 # Check whether --enable-docview or --disable-docview was given.
6056 if test "${enable_docview+set}" = set; then
6057 enableval="$enable_docview"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6061 else
6062 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6063 fi
6064
6065 else
6066
6067 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6075
6076 fi;
6077
6078 eval "$ac_cv_use_docview"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6086 else
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6089 fi
6090
6091
6092 enablestring=
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6095 no_cache=0
6096 # Check whether --enable-help or --disable-help was given.
6097 if test "${enable_help+set}" = set; then
6098 enableval="$enable_help"
6099
6100 if test "$enableval" = yes; then
6101 ac_cv_use_help='wxUSE_HELP=yes'
6102 else
6103 ac_cv_use_help='wxUSE_HELP=no'
6104 fi
6105
6106 else
6107
6108 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6116
6117 fi;
6118
6119 eval "$ac_cv_use_help"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_HELP" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6127 else
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6130 fi
6131
6132
6133 enablestring=
6134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6136 no_cache=0
6137 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6138 if test "${enable_mshtmlhelp+set}" = set; then
6139 enableval="$enable_mshtmlhelp"
6140
6141 if test "$enableval" = yes; then
6142 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6143 else
6144 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6145 fi
6146
6147 else
6148
6149 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x ; then
6151 eval "DEFAULT_$LINE"
6152 else
6153 no_cache=1
6154 fi
6155
6156 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6157
6158 fi;
6159
6160 eval "$ac_cv_use_mshtmlhelp"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6163 fi
6164
6165 if test "$wxUSE_MS_HTML_HELP" = yes; then
6166 echo "$as_me:$LINENO: result: yes" >&5
6167 echo "${ECHO_T}yes" >&6
6168 else
6169 echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6
6171 fi
6172
6173
6174 enablestring=
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6177 no_cache=0
6178 # Check whether --enable-html or --disable-html was given.
6179 if test "${enable_html+set}" = set; then
6180 enableval="$enable_html"
6181
6182 if test "$enableval" = yes; then
6183 ac_cv_use_html='wxUSE_HTML=yes'
6184 else
6185 ac_cv_use_html='wxUSE_HTML=no'
6186 fi
6187
6188 else
6189
6190 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6193 else
6194 no_cache=1
6195 fi
6196
6197 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6198
6199 fi;
6200
6201 eval "$ac_cv_use_html"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6204 fi
6205
6206 if test "$wxUSE_HTML" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6209 else
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6212 fi
6213
6214
6215 enablestring=
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6218 no_cache=0
6219 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6220 if test "${enable_htmlhelp+set}" = set; then
6221 enableval="$enable_htmlhelp"
6222
6223 if test "$enableval" = yes; then
6224 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6225 else
6226 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6227 fi
6228
6229 else
6230
6231 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6234 else
6235 no_cache=1
6236 fi
6237
6238 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6239
6240 fi;
6241
6242 eval "$ac_cv_use_htmlhelp"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6245 fi
6246
6247 if test "$wxUSE_WXHTML_HELP" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6250 else
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6253 fi
6254
6255
6256 enablestring=
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6259 no_cache=0
6260 # Check whether --enable-constraints or --disable-constraints was given.
6261 if test "${enable_constraints+set}" = set; then
6262 enableval="$enable_constraints"
6263
6264 if test "$enableval" = yes; then
6265 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6266 else
6267 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6268 fi
6269
6270 else
6271
6272 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6275 else
6276 no_cache=1
6277 fi
6278
6279 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6280
6281 fi;
6282
6283 eval "$ac_cv_use_constraints"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6286 fi
6287
6288 if test "$wxUSE_CONSTRAINTS" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6
6291 else
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6294 fi
6295
6296
6297 enablestring=
6298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6300 no_cache=0
6301 # Check whether --enable-printarch or --disable-printarch was given.
6302 if test "${enable_printarch+set}" = set; then
6303 enableval="$enable_printarch"
6304
6305 if test "$enableval" = yes; then
6306 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6307 else
6308 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6309 fi
6310
6311 else
6312
6313 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6316 else
6317 no_cache=1
6318 fi
6319
6320 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6321
6322 fi;
6323
6324 eval "$ac_cv_use_printarch"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6327 fi
6328
6329 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6330 echo "$as_me:$LINENO: result: yes" >&5
6331 echo "${ECHO_T}yes" >&6
6332 else
6333 echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6
6335 fi
6336
6337
6338 enablestring=
6339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6341 no_cache=0
6342 # Check whether --enable-mdi or --disable-mdi was given.
6343 if test "${enable_mdi+set}" = set; then
6344 enableval="$enable_mdi"
6345
6346 if test "$enableval" = yes; then
6347 ac_cv_use_mdi='wxUSE_MDI=yes'
6348 else
6349 ac_cv_use_mdi='wxUSE_MDI=no'
6350 fi
6351
6352 else
6353
6354 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x ; then
6356 eval "DEFAULT_$LINE"
6357 else
6358 no_cache=1
6359 fi
6360
6361 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6362
6363 fi;
6364
6365 eval "$ac_cv_use_mdi"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6368 fi
6369
6370 if test "$wxUSE_MDI" = yes; then
6371 echo "$as_me:$LINENO: result: yes" >&5
6372 echo "${ECHO_T}yes" >&6
6373 else
6374 echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6
6376 fi
6377
6378
6379 enablestring=
6380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6382 no_cache=0
6383 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6384 if test "${enable_mdidoc+set}" = set; then
6385 enableval="$enable_mdidoc"
6386
6387 if test "$enableval" = yes; then
6388 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6389 else
6390 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6391 fi
6392
6393 else
6394
6395 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6398 else
6399 no_cache=1
6400 fi
6401
6402 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6403
6404 fi;
6405
6406 eval "$ac_cv_use_mdidoc"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6409 fi
6410
6411 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6412 echo "$as_me:$LINENO: result: yes" >&5
6413 echo "${ECHO_T}yes" >&6
6414 else
6415 echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6
6417 fi
6418
6419
6420 enablestring=
6421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6423 no_cache=0
6424 # Check whether --enable-loggui or --disable-loggui was given.
6425 if test "${enable_loggui+set}" = set; then
6426 enableval="$enable_loggui"
6427
6428 if test "$enableval" = yes; then
6429 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6430 else
6431 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6432 fi
6433
6434 else
6435
6436 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6437 if test "x$LINE" != x ; then
6438 eval "DEFAULT_$LINE"
6439 else
6440 no_cache=1
6441 fi
6442
6443 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6444
6445 fi;
6446
6447 eval "$ac_cv_use_loggui"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6450 fi
6451
6452 if test "$wxUSE_LOGGUI" = yes; then
6453 echo "$as_me:$LINENO: result: yes" >&5
6454 echo "${ECHO_T}yes" >&6
6455 else
6456 echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6
6458 fi
6459
6460
6461 enablestring=
6462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6464 no_cache=0
6465 # Check whether --enable-logwin or --disable-logwin was given.
6466 if test "${enable_logwin+set}" = set; then
6467 enableval="$enable_logwin"
6468
6469 if test "$enableval" = yes; then
6470 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6471 else
6472 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6473 fi
6474
6475 else
6476
6477 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6478 if test "x$LINE" != x ; then
6479 eval "DEFAULT_$LINE"
6480 else
6481 no_cache=1
6482 fi
6483
6484 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6485
6486 fi;
6487
6488 eval "$ac_cv_use_logwin"
6489 if test "$no_cache" != 1; then
6490 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6491 fi
6492
6493 if test "$wxUSE_LOGWINDOW" = yes; then
6494 echo "$as_me:$LINENO: result: yes" >&5
6495 echo "${ECHO_T}yes" >&6
6496 else
6497 echo "$as_me:$LINENO: result: no" >&5
6498 echo "${ECHO_T}no" >&6
6499 fi
6500
6501
6502 enablestring=
6503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6504 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6505 no_cache=0
6506 # Check whether --enable-logdialog or --disable-logdialog was given.
6507 if test "${enable_logdialog+set}" = set; then
6508 enableval="$enable_logdialog"
6509
6510 if test "$enableval" = yes; then
6511 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6512 else
6513 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6514 fi
6515
6516 else
6517
6518 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6519 if test "x$LINE" != x ; then
6520 eval "DEFAULT_$LINE"
6521 else
6522 no_cache=1
6523 fi
6524
6525 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6526
6527 fi;
6528
6529 eval "$ac_cv_use_logdialog"
6530 if test "$no_cache" != 1; then
6531 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6532 fi
6533
6534 if test "$wxUSE_LOGDIALOG" = yes; then
6535 echo "$as_me:$LINENO: result: yes" >&5
6536 echo "${ECHO_T}yes" >&6
6537 else
6538 echo "$as_me:$LINENO: result: no" >&5
6539 echo "${ECHO_T}no" >&6
6540 fi
6541
6542
6543 enablestring=
6544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6545 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6546 no_cache=0
6547 # Check whether --enable-webkit or --disable-webkit was given.
6548 if test "${enable_webkit+set}" = set; then
6549 enableval="$enable_webkit"
6550
6551 if test "$enableval" = yes; then
6552 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6553 else
6554 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6555 fi
6556
6557 else
6558
6559 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6560 if test "x$LINE" != x ; then
6561 eval "DEFAULT_$LINE"
6562 else
6563 no_cache=1
6564 fi
6565
6566 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6567
6568 fi;
6569
6570 eval "$ac_cv_use_webkit"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6573 fi
6574
6575 if test "$wxUSE_WEBKIT" = yes; then
6576 echo "$as_me:$LINENO: result: yes" >&5
6577 echo "${ECHO_T}yes" >&6
6578 else
6579 echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6
6581 fi
6582
6583
6584
6585 enablestring=
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6588 no_cache=0
6589 # Check whether --enable-postscript or --disable-postscript was given.
6590 if test "${enable_postscript+set}" = set; then
6591 enableval="$enable_postscript"
6592
6593 if test "$enableval" = yes; then
6594 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6595 else
6596 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6597 fi
6598
6599 else
6600
6601 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x ; then
6603 eval "DEFAULT_$LINE"
6604 else
6605 no_cache=1
6606 fi
6607
6608 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6609
6610 fi;
6611
6612 eval "$ac_cv_use_postscript"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6615 fi
6616
6617 if test "$wxUSE_POSTSCRIPT" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6620 else
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6623 fi
6624
6625
6626
6627
6628
6629 enablestring=
6630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6632 no_cache=0
6633 # Check whether --enable-prologio or --disable-prologio was given.
6634 if test "${enable_prologio+set}" = set; then
6635 enableval="$enable_prologio"
6636
6637 if test "$enableval" = yes; then
6638 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6639 else
6640 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6641 fi
6642
6643 else
6644
6645 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x ; then
6647 eval "DEFAULT_$LINE"
6648 else
6649 no_cache=1
6650 fi
6651
6652 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6653
6654 fi;
6655
6656 eval "$ac_cv_use_prologio"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6659 fi
6660
6661 if test "$wxUSE_PROLOGIO" = yes; then
6662 echo "$as_me:$LINENO: result: yes" >&5
6663 echo "${ECHO_T}yes" >&6
6664 else
6665 echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6
6667 fi
6668
6669
6670 enablestring=
6671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6673 no_cache=0
6674 # Check whether --enable-resources or --disable-resources was given.
6675 if test "${enable_resources+set}" = set; then
6676 enableval="$enable_resources"
6677
6678 if test "$enableval" = yes; then
6679 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6680 else
6681 ac_cv_use_resources='wxUSE_RESOURCES=no'
6682 fi
6683
6684 else
6685
6686 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x ; then
6688 eval "DEFAULT_$LINE"
6689 else
6690 no_cache=1
6691 fi
6692
6693 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6694
6695 fi;
6696
6697 eval "$ac_cv_use_resources"
6698 if test "$no_cache" != 1; then
6699 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6700 fi
6701
6702 if test "$wxUSE_RESOURCES" = yes; then
6703 echo "$as_me:$LINENO: result: yes" >&5
6704 echo "${ECHO_T}yes" >&6
6705 else
6706 echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6
6708 fi
6709
6710
6711
6712
6713 enablestring=
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6716 no_cache=0
6717 # Check whether --enable-clipboard or --disable-clipboard was given.
6718 if test "${enable_clipboard+set}" = set; then
6719 enableval="$enable_clipboard"
6720
6721 if test "$enableval" = yes; then
6722 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6723 else
6724 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6725 fi
6726
6727 else
6728
6729 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6732 else
6733 no_cache=1
6734 fi
6735
6736 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6737
6738 fi;
6739
6740 eval "$ac_cv_use_clipboard"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6743 fi
6744
6745 if test "$wxUSE_CLIPBOARD" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6748 else
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6751 fi
6752
6753
6754 enablestring=
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6757 no_cache=0
6758 # Check whether --enable-dnd or --disable-dnd was given.
6759 if test "${enable_dnd+set}" = set; then
6760 enableval="$enable_dnd"
6761
6762 if test "$enableval" = yes; then
6763 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6764 else
6765 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6766 fi
6767
6768 else
6769
6770 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x ; then
6772 eval "DEFAULT_$LINE"
6773 else
6774 no_cache=1
6775 fi
6776
6777 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6778
6779 fi;
6780
6781 eval "$ac_cv_use_dnd"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6784 fi
6785
6786 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6789 else
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6792 fi
6793
6794
6795 enablestring=
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6798 no_cache=0
6799 # Check whether --enable-metafile or --disable-metafile was given.
6800 if test "${enable_metafile+set}" = set; then
6801 enableval="$enable_metafile"
6802
6803 if test "$enableval" = yes; then
6804 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6805 else
6806 ac_cv_use_metafile='wxUSE_METAFILE=no'
6807 fi
6808
6809 else
6810
6811 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x ; then
6813 eval "DEFAULT_$LINE"
6814 else
6815 no_cache=1
6816 fi
6817
6818 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6819
6820 fi;
6821
6822 eval "$ac_cv_use_metafile"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 if test "$wxUSE_METAFILE" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6830 else
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6833 fi
6834
6835
6836
6837
6838
6839 enablestring=
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6842 no_cache=0
6843 # Check whether --enable-controls or --disable-controls was given.
6844 if test "${enable_controls+set}" = set; then
6845 enableval="$enable_controls"
6846
6847 if test "$enableval" = yes; then
6848 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6849 else
6850 ac_cv_use_controls='wxUSE_CONTROLS=no'
6851 fi
6852
6853 else
6854
6855 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6858 else
6859 no_cache=1
6860 fi
6861
6862 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6863
6864 fi;
6865
6866 eval "$ac_cv_use_controls"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6869 fi
6870
6871 if test "$wxUSE_CONTROLS" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6874 else
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6877 fi
6878
6879
6880 if test "$wxUSE_CONTROLS" = "yes"; then
6881 DEFAULT_wxUSE_ACCEL=yes
6882 DEFAULT_wxUSE_BMPBUTTON=yes
6883 DEFAULT_wxUSE_BUTTON=yes
6884 DEFAULT_wxUSE_CALCTRL=no
6885 DEFAULT_wxUSE_CARET=yes
6886 DEFAULT_wxUSE_COMBOBOX=yes
6887 DEFAULT_wxUSE_CHECKBOX=yes
6888 DEFAULT_wxUSE_CHECKLISTBOX=yes
6889 DEFAULT_wxUSE_CHOICE=yes
6890 DEFAULT_wxUSE_GAUGE=yes
6891 DEFAULT_wxUSE_GRID=yes
6892 DEFAULT_wxUSE_IMAGLIST=yes
6893 DEFAULT_wxUSE_LISTBOOK=yes
6894 DEFAULT_wxUSE_LISTBOX=yes
6895 DEFAULT_wxUSE_LISTCTRL=yes
6896 DEFAULT_wxUSE_NOTEBOOK=yes
6897 DEFAULT_wxUSE_RADIOBOX=yes
6898 DEFAULT_wxUSE_RADIOBTN=yes
6899 DEFAULT_wxUSE_SASH=yes
6900 DEFAULT_wxUSE_SCROLLBAR=yes
6901 DEFAULT_wxUSE_SLIDER=yes
6902 DEFAULT_wxUSE_SPINBTN=yes
6903 DEFAULT_wxUSE_SPINCTRL=yes
6904 DEFAULT_wxUSE_SPLITTER=yes
6905 DEFAULT_wxUSE_STATBMP=yes
6906 DEFAULT_wxUSE_STATBOX=yes
6907 DEFAULT_wxUSE_STATLINE=yes
6908 DEFAULT_wxUSE_STATUSBAR=yes
6909 DEFAULT_wxUSE_TAB_DIALOG=yes
6910 DEFAULT_wxUSE_TOGGLEBTN=yes
6911 DEFAULT_wxUSE_TOOLBAR=yes
6912 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6913 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6914 DEFAULT_wxUSE_TOOLTIPS=yes
6915 DEFAULT_wxUSE_TREECTRL=yes
6916 DEFAULT_wxUSE_POPUPWIN=yes
6917 DEFAULT_wxUSE_TIPWINDOW=yes
6918 elif test "$wxUSE_CONTROLS" = "no"; then
6919 DEFAULT_wxUSE_ACCEL=no
6920 DEFAULT_wxUSE_BMPBUTTON=no
6921 DEFAULT_wxUSE_BUTTON=no
6922 DEFAULT_wxUSE_CALCTRL=no
6923 DEFAULT_wxUSE_CARET=no
6924 DEFAULT_wxUSE_COMBOBOX=no
6925 DEFAULT_wxUSE_CHECKBOX=no
6926 DEFAULT_wxUSE_CHECKLISTBOX=no
6927 DEFAULT_wxUSE_CHOICE=no
6928 DEFAULT_wxUSE_GAUGE=no
6929 DEFAULT_wxUSE_GRID=no
6930 DEFAULT_wxUSE_IMAGLIST=no
6931 DEFAULT_wxUSE_LISTBOOK=no
6932 DEFAULT_wxUSE_LISTBOX=no
6933 DEFAULT_wxUSE_LISTCTRL=no
6934 DEFAULT_wxUSE_NOTEBOOK=no
6935 DEFAULT_wxUSE_RADIOBOX=no
6936 DEFAULT_wxUSE_RADIOBTN=no
6937 DEFAULT_wxUSE_SASH=no
6938 DEFAULT_wxUSE_SCROLLBAR=no
6939 DEFAULT_wxUSE_SLIDER=no
6940 DEFAULT_wxUSE_SPINBTN=no
6941 DEFAULT_wxUSE_SPINCTRL=no
6942 DEFAULT_wxUSE_SPLITTER=no
6943 DEFAULT_wxUSE_STATBMP=no
6944 DEFAULT_wxUSE_STATBOX=no
6945 DEFAULT_wxUSE_STATLINE=no
6946 DEFAULT_wxUSE_STATUSBAR=no
6947 DEFAULT_wxUSE_TAB_DIALOG=no
6948 DEFAULT_wxUSE_TOGGLEBTN=no
6949 DEFAULT_wxUSE_TOOLBAR=no
6950 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6951 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6952 DEFAULT_wxUSE_TOOLTIPS=no
6953 DEFAULT_wxUSE_TREECTRL=no
6954 DEFAULT_wxUSE_POPUPWIN=no
6955 DEFAULT_wxUSE_TIPWINDOW=no
6956 fi
6957
6958 ## FIXME: This is a blatant hack
6959 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6960 wxUSE_PRINTING_ARCHITECTURE=no
6961 wxUSE_DRAG_AND_DROP=no
6962 DEFAULT_wxUSE_TOOLTIPS=no
6963 DEFAULT_wxUSE_DRAGIMAGE=no
6964 fi
6965
6966
6967 enablestring=
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6970 no_cache=0
6971 # Check whether --enable-accel or --disable-accel was given.
6972 if test "${enable_accel+set}" = set; then
6973 enableval="$enable_accel"
6974
6975 if test "$enableval" = yes; then
6976 ac_cv_use_accel='wxUSE_ACCEL=yes'
6977 else
6978 ac_cv_use_accel='wxUSE_ACCEL=no'
6979 fi
6980
6981 else
6982
6983 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6986 else
6987 no_cache=1
6988 fi
6989
6990 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6991
6992 fi;
6993
6994 eval "$ac_cv_use_accel"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6997 fi
6998
6999 if test "$wxUSE_ACCEL" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7002 else
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7005 fi
7006
7007
7008 enablestring=
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7011 no_cache=0
7012 # Check whether --enable-button or --disable-button was given.
7013 if test "${enable_button+set}" = set; then
7014 enableval="$enable_button"
7015
7016 if test "$enableval" = yes; then
7017 ac_cv_use_button='wxUSE_BUTTON=yes'
7018 else
7019 ac_cv_use_button='wxUSE_BUTTON=no'
7020 fi
7021
7022 else
7023
7024 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7032
7033 fi;
7034
7035 eval "$ac_cv_use_button"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7038 fi
7039
7040 if test "$wxUSE_BUTTON" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7043 else
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7046 fi
7047
7048
7049 enablestring=
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7052 no_cache=0
7053 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7054 if test "${enable_bmpbutton+set}" = set; then
7055 enableval="$enable_bmpbutton"
7056
7057 if test "$enableval" = yes; then
7058 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7059 else
7060 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7061 fi
7062
7063 else
7064
7065 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7068 else
7069 no_cache=1
7070 fi
7071
7072 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7073
7074 fi;
7075
7076 eval "$ac_cv_use_bmpbutton"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7079 fi
7080
7081 if test "$wxUSE_BMPBUTTON" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7084 else
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7087 fi
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-calendar or --disable-calendar was given.
7095 if test "${enable_calendar+set}" = set; then
7096 enableval="$enable_calendar"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7100 else
7101 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7114
7115 fi;
7116
7117 eval "$ac_cv_use_calendar"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_CALCTRL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-caret or --disable-caret was given.
7136 if test "${enable_caret+set}" = set; then
7137 enableval="$enable_caret"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_caret='wxUSE_CARET=yes'
7141 else
7142 ac_cv_use_caret='wxUSE_CARET=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7155
7156 fi;
7157
7158 eval "$ac_cv_use_caret"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_CARET" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-checkbox or --disable-checkbox was given.
7177 if test "${enable_checkbox+set}" = set; then
7178 enableval="$enable_checkbox"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7182 else
7183 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7196
7197 fi;
7198
7199 eval "$ac_cv_use_checkbox"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_CHECKBOX" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213 enablestring=
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7216 no_cache=0
7217 # Check whether --enable-checklst or --disable-checklst was given.
7218 if test "${enable_checklst+set}" = set; then
7219 enableval="$enable_checklst"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7223 else
7224 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7225 fi
7226
7227 else
7228
7229 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7237
7238 fi;
7239
7240 eval "$ac_cv_use_checklst"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7243 fi
7244
7245 if test "$wxUSE_CHECKLST" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7248 else
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7251 fi
7252
7253
7254 enablestring=
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7257 no_cache=0
7258 # Check whether --enable-choice or --disable-choice was given.
7259 if test "${enable_choice+set}" = set; then
7260 enableval="$enable_choice"
7261
7262 if test "$enableval" = yes; then
7263 ac_cv_use_choice='wxUSE_CHOICE=yes'
7264 else
7265 ac_cv_use_choice='wxUSE_CHOICE=no'
7266 fi
7267
7268 else
7269
7270 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7273 else
7274 no_cache=1
7275 fi
7276
7277 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7278
7279 fi;
7280
7281 eval "$ac_cv_use_choice"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test "$wxUSE_CHOICE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7289 else
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7292 fi
7293
7294
7295 enablestring=
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7298 no_cache=0
7299 # Check whether --enable-combobox or --disable-combobox was given.
7300 if test "${enable_combobox+set}" = set; then
7301 enableval="$enable_combobox"
7302
7303 if test "$enableval" = yes; then
7304 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7305 else
7306 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7307 fi
7308
7309 else
7310
7311 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7314 else
7315 no_cache=1
7316 fi
7317
7318 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7319
7320 fi;
7321
7322 eval "$ac_cv_use_combobox"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7325 fi
7326
7327 if test "$wxUSE_COMBOBOX" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7330 else
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7333 fi
7334
7335
7336 enablestring=
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7339 no_cache=0
7340 # Check whether --enable-display or --disable-display was given.
7341 if test "${enable_display+set}" = set; then
7342 enableval="$enable_display"
7343
7344 if test "$enableval" = yes; then
7345 ac_cv_use_display='wxUSE_DISPLAY=yes'
7346 else
7347 ac_cv_use_display='wxUSE_DISPLAY=no'
7348 fi
7349
7350 else
7351
7352 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7360
7361 fi;
7362
7363 eval "$ac_cv_use_display"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7366 fi
7367
7368 if test "$wxUSE_DISPLAY" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7371 else
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7374 fi
7375
7376
7377 enablestring=
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7380 no_cache=0
7381 # Check whether --enable-gauge or --disable-gauge was given.
7382 if test "${enable_gauge+set}" = set; then
7383 enableval="$enable_gauge"
7384
7385 if test "$enableval" = yes; then
7386 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7387 else
7388 ac_cv_use_gauge='wxUSE_GAUGE=no'
7389 fi
7390
7391 else
7392
7393 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x ; then
7395 eval "DEFAULT_$LINE"
7396 else
7397 no_cache=1
7398 fi
7399
7400 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7401
7402 fi;
7403
7404 eval "$ac_cv_use_gauge"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7407 fi
7408
7409 if test "$wxUSE_GAUGE" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7412 else
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7415 fi
7416
7417
7418 enablestring=
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7421 no_cache=0
7422 # Check whether --enable-grid or --disable-grid was given.
7423 if test "${enable_grid+set}" = set; then
7424 enableval="$enable_grid"
7425
7426 if test "$enableval" = yes; then
7427 ac_cv_use_grid='wxUSE_GRID=yes'
7428 else
7429 ac_cv_use_grid='wxUSE_GRID=no'
7430 fi
7431
7432 else
7433
7434 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 else
7438 no_cache=1
7439 fi
7440
7441 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7442
7443 fi;
7444
7445 eval "$ac_cv_use_grid"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7448 fi
7449
7450 if test "$wxUSE_GRID" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7453 else
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7456 fi
7457
7458
7459 enablestring=
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7462 no_cache=0
7463 # Check whether --enable-imaglist or --disable-imaglist was given.
7464 if test "${enable_imaglist+set}" = set; then
7465 enableval="$enable_imaglist"
7466
7467 if test "$enableval" = yes; then
7468 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7469 else
7470 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7471 fi
7472
7473 else
7474
7475 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x ; then
7477 eval "DEFAULT_$LINE"
7478 else
7479 no_cache=1
7480 fi
7481
7482 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7483
7484 fi;
7485
7486 eval "$ac_cv_use_imaglist"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7489 fi
7490
7491 if test "$wxUSE_IMAGLIST" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7494 else
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7497 fi
7498
7499
7500 enablestring=
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7503 no_cache=0
7504 # Check whether --enable-listbook or --disable-listbook was given.
7505 if test "${enable_listbook+set}" = set; then
7506 enableval="$enable_listbook"
7507
7508 if test "$enableval" = yes; then
7509 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7510 else
7511 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7512 fi
7513
7514 else
7515
7516 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7519 else
7520 no_cache=1
7521 fi
7522
7523 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7524
7525 fi;
7526
7527 eval "$ac_cv_use_listbook"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7530 fi
7531
7532 if test "$wxUSE_LISTBOOK" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7535 else
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7538 fi
7539
7540
7541 enablestring=
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7544 no_cache=0
7545 # Check whether --enable-listbox or --disable-listbox was given.
7546 if test "${enable_listbox+set}" = set; then
7547 enableval="$enable_listbox"
7548
7549 if test "$enableval" = yes; then
7550 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7551 else
7552 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7553 fi
7554
7555 else
7556
7557 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x ; then
7559 eval "DEFAULT_$LINE"
7560 else
7561 no_cache=1
7562 fi
7563
7564 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7565
7566 fi;
7567
7568 eval "$ac_cv_use_listbox"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7571 fi
7572
7573 if test "$wxUSE_LISTBOX" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7576 else
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7579 fi
7580
7581
7582 enablestring=
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7585 no_cache=0
7586 # Check whether --enable-listctrl or --disable-listctrl was given.
7587 if test "${enable_listctrl+set}" = set; then
7588 enableval="$enable_listctrl"
7589
7590 if test "$enableval" = yes; then
7591 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7592 else
7593 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7594 fi
7595
7596 else
7597
7598 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x ; then
7600 eval "DEFAULT_$LINE"
7601 else
7602 no_cache=1
7603 fi
7604
7605 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7606
7607 fi;
7608
7609 eval "$ac_cv_use_listctrl"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7612 fi
7613
7614 if test "$wxUSE_LISTCTRL" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7617 else
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7620 fi
7621
7622
7623 enablestring=
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7625 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7626 no_cache=0
7627 # Check whether --enable-notebook or --disable-notebook was given.
7628 if test "${enable_notebook+set}" = set; then
7629 enableval="$enable_notebook"
7630
7631 if test "$enableval" = yes; then
7632 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7633 else
7634 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7635 fi
7636
7637 else
7638
7639 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x ; then
7641 eval "DEFAULT_$LINE"
7642 else
7643 no_cache=1
7644 fi
7645
7646 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7647
7648 fi;
7649
7650 eval "$ac_cv_use_notebook"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7653 fi
7654
7655 if test "$wxUSE_NOTEBOOK" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657 echo "${ECHO_T}yes" >&6
7658 else
7659 echo "$as_me:$LINENO: result: no" >&5
7660 echo "${ECHO_T}no" >&6
7661 fi
7662
7663
7664 enablestring=
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7667 no_cache=0
7668 # Check whether --enable-radiobox or --disable-radiobox was given.
7669 if test "${enable_radiobox+set}" = set; then
7670 enableval="$enable_radiobox"
7671
7672 if test "$enableval" = yes; then
7673 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7674 else
7675 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7676 fi
7677
7678 else
7679
7680 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x ; then
7682 eval "DEFAULT_$LINE"
7683 else
7684 no_cache=1
7685 fi
7686
7687 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7688
7689 fi;
7690
7691 eval "$ac_cv_use_radiobox"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7694 fi
7695
7696 if test "$wxUSE_RADIOBOX" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698 echo "${ECHO_T}yes" >&6
7699 else
7700 echo "$as_me:$LINENO: result: no" >&5
7701 echo "${ECHO_T}no" >&6
7702 fi
7703
7704
7705 enablestring=
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7708 no_cache=0
7709 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7710 if test "${enable_radiobtn+set}" = set; then
7711 enableval="$enable_radiobtn"
7712
7713 if test "$enableval" = yes; then
7714 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7715 else
7716 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7717 fi
7718
7719 else
7720
7721 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x ; then
7723 eval "DEFAULT_$LINE"
7724 else
7725 no_cache=1
7726 fi
7727
7728 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7729
7730 fi;
7731
7732 eval "$ac_cv_use_radiobtn"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7735 fi
7736
7737 if test "$wxUSE_RADIOBTN" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739 echo "${ECHO_T}yes" >&6
7740 else
7741 echo "$as_me:$LINENO: result: no" >&5
7742 echo "${ECHO_T}no" >&6
7743 fi
7744
7745
7746 enablestring=
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7749 no_cache=0
7750 # Check whether --enable-sash or --disable-sash was given.
7751 if test "${enable_sash+set}" = set; then
7752 enableval="$enable_sash"
7753
7754 if test "$enableval" = yes; then
7755 ac_cv_use_sash='wxUSE_SASH=yes'
7756 else
7757 ac_cv_use_sash='wxUSE_SASH=no'
7758 fi
7759
7760 else
7761
7762 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x ; then
7764 eval "DEFAULT_$LINE"
7765 else
7766 no_cache=1
7767 fi
7768
7769 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7770
7771 fi;
7772
7773 eval "$ac_cv_use_sash"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7776 fi
7777
7778 if test "$wxUSE_SASH" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780 echo "${ECHO_T}yes" >&6
7781 else
7782 echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6
7784 fi
7785
7786
7787 enablestring=
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7790 no_cache=0
7791 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7792 if test "${enable_scrollbar+set}" = set; then
7793 enableval="$enable_scrollbar"
7794
7795 if test "$enableval" = yes; then
7796 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7797 else
7798 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7799 fi
7800
7801 else
7802
7803 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x ; then
7805 eval "DEFAULT_$LINE"
7806 else
7807 no_cache=1
7808 fi
7809
7810 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7811
7812 fi;
7813
7814 eval "$ac_cv_use_scrollbar"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7817 fi
7818
7819 if test "$wxUSE_SCROLLBAR" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821 echo "${ECHO_T}yes" >&6
7822 else
7823 echo "$as_me:$LINENO: result: no" >&5
7824 echo "${ECHO_T}no" >&6
7825 fi
7826
7827
7828 enablestring=
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7831 no_cache=0
7832 # Check whether --enable-slider or --disable-slider was given.
7833 if test "${enable_slider+set}" = set; then
7834 enableval="$enable_slider"
7835
7836 if test "$enableval" = yes; then
7837 ac_cv_use_slider='wxUSE_SLIDER=yes'
7838 else
7839 ac_cv_use_slider='wxUSE_SLIDER=no'
7840 fi
7841
7842 else
7843
7844 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x ; then
7846 eval "DEFAULT_$LINE"
7847 else
7848 no_cache=1
7849 fi
7850
7851 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7852
7853 fi;
7854
7855 eval "$ac_cv_use_slider"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7858 fi
7859
7860 if test "$wxUSE_SLIDER" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862 echo "${ECHO_T}yes" >&6
7863 else
7864 echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6
7866 fi
7867
7868
7869 enablestring=
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7872 no_cache=0
7873 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7874 if test "${enable_spinbtn+set}" = set; then
7875 enableval="$enable_spinbtn"
7876
7877 if test "$enableval" = yes; then
7878 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7879 else
7880 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7881 fi
7882
7883 else
7884
7885 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x ; then
7887 eval "DEFAULT_$LINE"
7888 else
7889 no_cache=1
7890 fi
7891
7892 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7893
7894 fi;
7895
7896 eval "$ac_cv_use_spinbtn"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7899 fi
7900
7901 if test "$wxUSE_SPINBTN" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903 echo "${ECHO_T}yes" >&6
7904 else
7905 echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6
7907 fi
7908
7909
7910 enablestring=
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7912 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7913 no_cache=0
7914 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7915 if test "${enable_spinctrl+set}" = set; then
7916 enableval="$enable_spinctrl"
7917
7918 if test "$enableval" = yes; then
7919 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7920 else
7921 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7922 fi
7923
7924 else
7925
7926 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x ; then
7928 eval "DEFAULT_$LINE"
7929 else
7930 no_cache=1
7931 fi
7932
7933 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7934
7935 fi;
7936
7937 eval "$ac_cv_use_spinctrl"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7940 fi
7941
7942 if test "$wxUSE_SPINCTRL" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944 echo "${ECHO_T}yes" >&6
7945 else
7946 echo "$as_me:$LINENO: result: no" >&5
7947 echo "${ECHO_T}no" >&6
7948 fi
7949
7950
7951 enablestring=
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7954 no_cache=0
7955 # Check whether --enable-splitter or --disable-splitter was given.
7956 if test "${enable_splitter+set}" = set; then
7957 enableval="$enable_splitter"
7958
7959 if test "$enableval" = yes; then
7960 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7961 else
7962 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7963 fi
7964
7965 else
7966
7967 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x ; then
7969 eval "DEFAULT_$LINE"
7970 else
7971 no_cache=1
7972 fi
7973
7974 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7975
7976 fi;
7977
7978 eval "$ac_cv_use_splitter"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7981 fi
7982
7983 if test "$wxUSE_SPLITTER" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985 echo "${ECHO_T}yes" >&6
7986 else
7987 echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6
7989 fi
7990
7991
7992 enablestring=
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7995 no_cache=0
7996 # Check whether --enable-statbmp or --disable-statbmp was given.
7997 if test "${enable_statbmp+set}" = set; then
7998 enableval="$enable_statbmp"
7999
8000 if test "$enableval" = yes; then
8001 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8002 else
8003 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8004 fi
8005
8006 else
8007
8008 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x ; then
8010 eval "DEFAULT_$LINE"
8011 else
8012 no_cache=1
8013 fi
8014
8015 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8016
8017 fi;
8018
8019 eval "$ac_cv_use_statbmp"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8022 fi
8023
8024 if test "$wxUSE_STATBMP" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026 echo "${ECHO_T}yes" >&6
8027 else
8028 echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6
8030 fi
8031
8032
8033 enablestring=
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8036 no_cache=0
8037 # Check whether --enable-statbox or --disable-statbox was given.
8038 if test "${enable_statbox+set}" = set; then
8039 enableval="$enable_statbox"
8040
8041 if test "$enableval" = yes; then
8042 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8043 else
8044 ac_cv_use_statbox='wxUSE_STATBOX=no'
8045 fi
8046
8047 else
8048
8049 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x ; then
8051 eval "DEFAULT_$LINE"
8052 else
8053 no_cache=1
8054 fi
8055
8056 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8057
8058 fi;
8059
8060 eval "$ac_cv_use_statbox"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8063 fi
8064
8065 if test "$wxUSE_STATBOX" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067 echo "${ECHO_T}yes" >&6
8068 else
8069 echo "$as_me:$LINENO: result: no" >&5
8070 echo "${ECHO_T}no" >&6
8071 fi
8072
8073
8074 enablestring=
8075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8076 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8077 no_cache=0
8078 # Check whether --enable-statline or --disable-statline was given.
8079 if test "${enable_statline+set}" = set; then
8080 enableval="$enable_statline"
8081
8082 if test "$enableval" = yes; then
8083 ac_cv_use_statline='wxUSE_STATLINE=yes'
8084 else
8085 ac_cv_use_statline='wxUSE_STATLINE=no'
8086 fi
8087
8088 else
8089
8090 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8091 if test "x$LINE" != x ; then
8092 eval "DEFAULT_$LINE"
8093 else
8094 no_cache=1
8095 fi
8096
8097 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8098
8099 fi;
8100
8101 eval "$ac_cv_use_statline"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8104 fi
8105
8106 if test "$wxUSE_STATLINE" = yes; then
8107 echo "$as_me:$LINENO: result: yes" >&5
8108 echo "${ECHO_T}yes" >&6
8109 else
8110 echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6
8112 fi
8113
8114
8115 enablestring=
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8118 no_cache=0
8119 # Check whether --enable-stattext or --disable-stattext was given.
8120 if test "${enable_stattext+set}" = set; then
8121 enableval="$enable_stattext"
8122
8123 if test "$enableval" = yes; then
8124 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8125 else
8126 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8127 fi
8128
8129 else
8130
8131 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x ; then
8133 eval "DEFAULT_$LINE"
8134 else
8135 no_cache=1
8136 fi
8137
8138 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8139
8140 fi;
8141
8142 eval "$ac_cv_use_stattext"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8145 fi
8146
8147 if test "$wxUSE_STATTEXT" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8150 else
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8153 fi
8154
8155
8156 enablestring=
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8158 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8159 no_cache=0
8160 # Check whether --enable-statusbar or --disable-statusbar was given.
8161 if test "${enable_statusbar+set}" = set; then
8162 enableval="$enable_statusbar"
8163
8164 if test "$enableval" = yes; then
8165 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8166 else
8167 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8168 fi
8169
8170 else
8171
8172 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x ; then
8174 eval "DEFAULT_$LINE"
8175 else
8176 no_cache=1
8177 fi
8178
8179 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8180
8181 fi;
8182
8183 eval "$ac_cv_use_statusbar"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8186 fi
8187
8188 if test "$wxUSE_STATUSBAR" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8191 else
8192 echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6
8194 fi
8195
8196
8197 enablestring=
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8200 no_cache=0
8201 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8202 if test "${enable_tabdialog+set}" = set; then
8203 enableval="$enable_tabdialog"
8204
8205 if test "$enableval" = yes; then
8206 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8207 else
8208 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8209 fi
8210
8211 else
8212
8213 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x ; then
8215 eval "DEFAULT_$LINE"
8216 else
8217 no_cache=1
8218 fi
8219
8220 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8221
8222 fi;
8223
8224 eval "$ac_cv_use_tabdialog"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8227 fi
8228
8229 if test "$wxUSE_TABDIALOG" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231 echo "${ECHO_T}yes" >&6
8232 else
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8235 fi
8236
8237
8238 enablestring=
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8241 no_cache=0
8242 # Check whether --enable-textctrl or --disable-textctrl was given.
8243 if test "${enable_textctrl+set}" = set; then
8244 enableval="$enable_textctrl"
8245
8246 if test "$enableval" = yes; then
8247 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8248 else
8249 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8250 fi
8251
8252 else
8253
8254 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x ; then
8256 eval "DEFAULT_$LINE"
8257 else
8258 no_cache=1
8259 fi
8260
8261 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8262
8263 fi;
8264
8265 eval "$ac_cv_use_textctrl"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8268 fi
8269
8270 if test "$wxUSE_TEXTCTRL" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272 echo "${ECHO_T}yes" >&6
8273 else
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8276 fi
8277
8278
8279 enablestring=
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8282 no_cache=0
8283 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8284 if test "${enable_togglebtn+set}" = set; then
8285 enableval="$enable_togglebtn"
8286
8287 if test "$enableval" = yes; then
8288 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8289 else
8290 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8291 fi
8292
8293 else
8294
8295 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x ; then
8297 eval "DEFAULT_$LINE"
8298 else
8299 no_cache=1
8300 fi
8301
8302 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8303
8304 fi;
8305
8306 eval "$ac_cv_use_togglebtn"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8309 fi
8310
8311 if test "$wxUSE_TOGGLEBTN" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313 echo "${ECHO_T}yes" >&6
8314 else
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8317 fi
8318
8319
8320 enablestring=
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8323 no_cache=0
8324 # Check whether --enable-toolbar or --disable-toolbar was given.
8325 if test "${enable_toolbar+set}" = set; then
8326 enableval="$enable_toolbar"
8327
8328 if test "$enableval" = yes; then
8329 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8330 else
8331 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8332 fi
8333
8334 else
8335
8336 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x ; then
8338 eval "DEFAULT_$LINE"
8339 else
8340 no_cache=1
8341 fi
8342
8343 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8344
8345 fi;
8346
8347 eval "$ac_cv_use_toolbar"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8350 fi
8351
8352 if test "$wxUSE_TOOLBAR" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354 echo "${ECHO_T}yes" >&6
8355 else
8356 echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6
8358 fi
8359
8360
8361 enablestring=
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8364 no_cache=0
8365 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8366 if test "${enable_tbarnative+set}" = set; then
8367 enableval="$enable_tbarnative"
8368
8369 if test "$enableval" = yes; then
8370 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8371 else
8372 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8373 fi
8374
8375 else
8376
8377 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8380 else
8381 no_cache=1
8382 fi
8383
8384 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8385
8386 fi;
8387
8388 eval "$ac_cv_use_tbarnative"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8391 fi
8392
8393 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395 echo "${ECHO_T}yes" >&6
8396 else
8397 echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8399 fi
8400
8401
8402 enablestring=
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8405 no_cache=0
8406 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8407 if test "${enable_tbarsmpl+set}" = set; then
8408 enableval="$enable_tbarsmpl"
8409
8410 if test "$enableval" = yes; then
8411 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8412 else
8413 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8414 fi
8415
8416 else
8417
8418 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x ; then
8420 eval "DEFAULT_$LINE"
8421 else
8422 no_cache=1
8423 fi
8424
8425 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8426
8427 fi;
8428
8429 eval "$ac_cv_use_tbarsmpl"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8432 fi
8433
8434 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436 echo "${ECHO_T}yes" >&6
8437 else
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8440 fi
8441
8442
8443 enablestring=
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8446 no_cache=0
8447 # Check whether --enable-treectrl or --disable-treectrl was given.
8448 if test "${enable_treectrl+set}" = set; then
8449 enableval="$enable_treectrl"
8450
8451 if test "$enableval" = yes; then
8452 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8453 else
8454 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8455 fi
8456
8457 else
8458
8459 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x ; then
8461 eval "DEFAULT_$LINE"
8462 else
8463 no_cache=1
8464 fi
8465
8466 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8467
8468 fi;
8469
8470 eval "$ac_cv_use_treectrl"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8473 fi
8474
8475 if test "$wxUSE_TREECTRL" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477 echo "${ECHO_T}yes" >&6
8478 else
8479 echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6
8481 fi
8482
8483
8484 enablestring=
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8487 no_cache=0
8488 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8489 if test "${enable_tipwindow+set}" = set; then
8490 enableval="$enable_tipwindow"
8491
8492 if test "$enableval" = yes; then
8493 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8494 else
8495 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8496 fi
8497
8498 else
8499
8500 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8503 else
8504 no_cache=1
8505 fi
8506
8507 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8508
8509 fi;
8510
8511 eval "$ac_cv_use_tipwindow"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8514 fi
8515
8516 if test "$wxUSE_TIPWINDOW" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8519 else
8520 echo "$as_me:$LINENO: result: no" >&5
8521 echo "${ECHO_T}no" >&6
8522 fi
8523
8524
8525 enablestring=
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8528 no_cache=0
8529 # Check whether --enable-popupwin or --disable-popupwin was given.
8530 if test "${enable_popupwin+set}" = set; then
8531 enableval="$enable_popupwin"
8532
8533 if test "$enableval" = yes; then
8534 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8535 else
8536 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8537 fi
8538
8539 else
8540
8541 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x ; then
8543 eval "DEFAULT_$LINE"
8544 else
8545 no_cache=1
8546 fi
8547
8548 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8549
8550 fi;
8551
8552 eval "$ac_cv_use_popupwin"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test "$wxUSE_POPUPWIN" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8560 else
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8563 fi
8564
8565
8566
8567
8568 enablestring=
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8571 no_cache=0
8572 # Check whether --enable-commondlg or --disable-commondlg was given.
8573 if test "${enable_commondlg+set}" = set; then
8574 enableval="$enable_commondlg"
8575
8576 if test "$enableval" = yes; then
8577 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8578 else
8579 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8580 fi
8581
8582 else
8583
8584 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x ; then
8586 eval "DEFAULT_$LINE"
8587 else
8588 no_cache=1
8589 fi
8590
8591 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8592
8593 fi;
8594
8595 eval "$ac_cv_use_commondlg"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8598 fi
8599
8600 if test "$wxUSE_COMMONDLGS" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8603 else
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8606 fi
8607
8608
8609 enablestring=
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8612 no_cache=0
8613 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8614 if test "${enable_choicedlg+set}" = set; then
8615 enableval="$enable_choicedlg"
8616
8617 if test "$enableval" = yes; then
8618 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8619 else
8620 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8621 fi
8622
8623 else
8624
8625 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x ; then
8627 eval "DEFAULT_$LINE"
8628 else
8629 no_cache=1
8630 fi
8631
8632 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8633
8634 fi;
8635
8636 eval "$ac_cv_use_choicedlg"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8639 fi
8640
8641 if test "$wxUSE_CHOICEDLG" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8644 else
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8647 fi
8648
8649
8650 enablestring=
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8653 no_cache=0
8654 # Check whether --enable-coldlg or --disable-coldlg was given.
8655 if test "${enable_coldlg+set}" = set; then
8656 enableval="$enable_coldlg"
8657
8658 if test "$enableval" = yes; then
8659 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8660 else
8661 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8662 fi
8663
8664 else
8665
8666 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x ; then
8668 eval "DEFAULT_$LINE"
8669 else
8670 no_cache=1
8671 fi
8672
8673 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8674
8675 fi;
8676
8677 eval "$ac_cv_use_coldlg"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8680 fi
8681
8682 if test "$wxUSE_COLOURDLG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8685 else
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8688 fi
8689
8690
8691 enablestring=
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8694 no_cache=0
8695 # Check whether --enable-filedlg or --disable-filedlg was given.
8696 if test "${enable_filedlg+set}" = set; then
8697 enableval="$enable_filedlg"
8698
8699 if test "$enableval" = yes; then
8700 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8701 else
8702 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8703 fi
8704
8705 else
8706
8707 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8710 else
8711 no_cache=1
8712 fi
8713
8714 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8715
8716 fi;
8717
8718 eval "$ac_cv_use_filedlg"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test "$wxUSE_FILEDLG" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8726 else
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8729 fi
8730
8731
8732 enablestring=
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8735 no_cache=0
8736 # Check whether --enable-finddlg or --disable-finddlg was given.
8737 if test "${enable_finddlg+set}" = set; then
8738 enableval="$enable_finddlg"
8739
8740 if test "$enableval" = yes; then
8741 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8742 else
8743 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8744 fi
8745
8746 else
8747
8748 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8751 else
8752 no_cache=1
8753 fi
8754
8755 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8756
8757 fi;
8758
8759 eval "$ac_cv_use_finddlg"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test "$wxUSE_FINDREPLDLG" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8767 else
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8770 fi
8771
8772
8773 enablestring=
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8776 no_cache=0
8777 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8778 if test "${enable_fontdlg+set}" = set; then
8779 enableval="$enable_fontdlg"
8780
8781 if test "$enableval" = yes; then
8782 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8783 else
8784 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8785 fi
8786
8787 else
8788
8789 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x ; then
8791 eval "DEFAULT_$LINE"
8792 else
8793 no_cache=1
8794 fi
8795
8796 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8797
8798 fi;
8799
8800 eval "$ac_cv_use_fontdlg"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_FONTDLG" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8808 else
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8811 fi
8812
8813
8814 enablestring=
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8817 no_cache=0
8818 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8819 if test "${enable_dirdlg+set}" = set; then
8820 enableval="$enable_dirdlg"
8821
8822 if test "$enableval" = yes; then
8823 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8824 else
8825 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8826 fi
8827
8828 else
8829
8830 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x ; then
8832 eval "DEFAULT_$LINE"
8833 else
8834 no_cache=1
8835 fi
8836
8837 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8838
8839 fi;
8840
8841 eval "$ac_cv_use_dirdlg"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test "$wxUSE_DIRDLG" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8849 else
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8852 fi
8853
8854
8855 enablestring=
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8858 no_cache=0
8859 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8860 if test "${enable_msgdlg+set}" = set; then
8861 enableval="$enable_msgdlg"
8862
8863 if test "$enableval" = yes; then
8864 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8865 else
8866 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8867 fi
8868
8869 else
8870
8871 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 else
8875 no_cache=1
8876 fi
8877
8878 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8879
8880 fi;
8881
8882 eval "$ac_cv_use_msgdlg"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test "$wxUSE_MSGDLG" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8890 else
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8893 fi
8894
8895
8896 enablestring=
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8899 no_cache=0
8900 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8901 if test "${enable_numberdlg+set}" = set; then
8902 enableval="$enable_numberdlg"
8903
8904 if test "$enableval" = yes; then
8905 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8906 else
8907 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8908 fi
8909
8910 else
8911
8912 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x ; then
8914 eval "DEFAULT_$LINE"
8915 else
8916 no_cache=1
8917 fi
8918
8919 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8920
8921 fi;
8922
8923 eval "$ac_cv_use_numberdlg"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8926 fi
8927
8928 if test "$wxUSE_NUMBERDLG" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8931 else
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8934 fi
8935
8936
8937 enablestring=
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8940 no_cache=0
8941 # Check whether --enable-splash or --disable-splash was given.
8942 if test "${enable_splash+set}" = set; then
8943 enableval="$enable_splash"
8944
8945 if test "$enableval" = yes; then
8946 ac_cv_use_splash='wxUSE_SPLASH=yes'
8947 else
8948 ac_cv_use_splash='wxUSE_SPLASH=no'
8949 fi
8950
8951 else
8952
8953 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x ; then
8955 eval "DEFAULT_$LINE"
8956 else
8957 no_cache=1
8958 fi
8959
8960 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8961
8962 fi;
8963
8964 eval "$ac_cv_use_splash"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8967 fi
8968
8969 if test "$wxUSE_SPLASH" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8972 else
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8975 fi
8976
8977
8978 enablestring=
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8981 no_cache=0
8982 # Check whether --enable-textdlg or --disable-textdlg was given.
8983 if test "${enable_textdlg+set}" = set; then
8984 enableval="$enable_textdlg"
8985
8986 if test "$enableval" = yes; then
8987 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8988 else
8989 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8990 fi
8991
8992 else
8993
8994 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 else
8998 no_cache=1
8999 fi
9000
9001 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9002
9003 fi;
9004
9005 eval "$ac_cv_use_textdlg"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test "$wxUSE_TEXTDLG" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9013 else
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9016 fi
9017
9018
9019 enablestring=
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9022 no_cache=0
9023 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9024 if test "${enable_tipdlg+set}" = set; then
9025 enableval="$enable_tipdlg"
9026
9027 if test "$enableval" = yes; then
9028 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9029 else
9030 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9031 fi
9032
9033 else
9034
9035 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x ; then
9037 eval "DEFAULT_$LINE"
9038 else
9039 no_cache=1
9040 fi
9041
9042 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9043
9044 fi;
9045
9046 eval "$ac_cv_use_tipdlg"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9049 fi
9050
9051 if test "$wxUSE_STARTUP_TIPS" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6
9054 else
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9057 fi
9058
9059
9060 enablestring=
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9063 no_cache=0
9064 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9065 if test "${enable_progressdlg+set}" = set; then
9066 enableval="$enable_progressdlg"
9067
9068 if test "$enableval" = yes; then
9069 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9070 else
9071 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9072 fi
9073
9074 else
9075
9076 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x ; then
9078 eval "DEFAULT_$LINE"
9079 else
9080 no_cache=1
9081 fi
9082
9083 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9084
9085 fi;
9086
9087 eval "$ac_cv_use_progressdlg"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9090 fi
9091
9092 if test "$wxUSE_PROGRESSDLG" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6
9095 else
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9098 fi
9099
9100
9101 enablestring=
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9104 no_cache=0
9105 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9106 if test "${enable_wizarddlg+set}" = set; then
9107 enableval="$enable_wizarddlg"
9108
9109 if test "$enableval" = yes; then
9110 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9111 else
9112 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9113 fi
9114
9115 else
9116
9117 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x ; then
9119 eval "DEFAULT_$LINE"
9120 else
9121 no_cache=1
9122 fi
9123
9124 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9125
9126 fi;
9127
9128 eval "$ac_cv_use_wizarddlg"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9131 fi
9132
9133 if test "$wxUSE_WIZARDDLG" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9136 else
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9139 fi
9140
9141
9142
9143
9144 enablestring=
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9147 no_cache=0
9148 # Check whether --enable-menus or --disable-menus was given.
9149 if test "${enable_menus+set}" = set; then
9150 enableval="$enable_menus"
9151
9152 if test "$enableval" = yes; then
9153 ac_cv_use_menus='wxUSE_MENUS=yes'
9154 else
9155 ac_cv_use_menus='wxUSE_MENUS=no'
9156 fi
9157
9158 else
9159
9160 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9163 else
9164 no_cache=1
9165 fi
9166
9167 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9168
9169 fi;
9170
9171 eval "$ac_cv_use_menus"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test "$wxUSE_MENUS" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9179 else
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9182 fi
9183
9184
9185 enablestring=
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9188 no_cache=0
9189 # Check whether --enable-miniframe or --disable-miniframe was given.
9190 if test "${enable_miniframe+set}" = set; then
9191 enableval="$enable_miniframe"
9192
9193 if test "$enableval" = yes; then
9194 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9195 else
9196 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9197 fi
9198
9199 else
9200
9201 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9204 else
9205 no_cache=1
9206 fi
9207
9208 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9209
9210 fi;
9211
9212 eval "$ac_cv_use_miniframe"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test "$wxUSE_MINIFRAME" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9220 else
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9223 fi
9224
9225
9226 enablestring=
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9229 no_cache=0
9230 # Check whether --enable-tooltips or --disable-tooltips was given.
9231 if test "${enable_tooltips+set}" = set; then
9232 enableval="$enable_tooltips"
9233
9234 if test "$enableval" = yes; then
9235 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9236 else
9237 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9238 fi
9239
9240 else
9241
9242 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9245 else
9246 no_cache=1
9247 fi
9248
9249 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9250
9251 fi;
9252
9253 eval "$ac_cv_use_tooltips"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9256 fi
9257
9258 if test "$wxUSE_TOOLTIPS" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9261 else
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9264 fi
9265
9266
9267 enablestring=
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9270 no_cache=0
9271 # Check whether --enable-splines or --disable-splines was given.
9272 if test "${enable_splines+set}" = set; then
9273 enableval="$enable_splines"
9274
9275 if test "$enableval" = yes; then
9276 ac_cv_use_splines='wxUSE_SPLINES=yes'
9277 else
9278 ac_cv_use_splines='wxUSE_SPLINES=no'
9279 fi
9280
9281 else
9282
9283 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9286 else
9287 no_cache=1
9288 fi
9289
9290 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9291
9292 fi;
9293
9294 eval "$ac_cv_use_splines"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9297 fi
9298
9299 if test "$wxUSE_SPLINES" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9302 else
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9305 fi
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-validators or --disable-validators was given.
9313 if test "${enable_validators+set}" = set; then
9314 enableval="$enable_validators"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9318 else
9319 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9320 fi
9321
9322 else
9323
9324 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9332
9333 fi;
9334
9335 eval "$ac_cv_use_validators"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_VALIDATORS" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9354 if test "${enable_busyinfo+set}" = set; then
9355 enableval="$enable_busyinfo"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9359 else
9360 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9361 fi
9362
9363 else
9364
9365 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9373
9374 fi;
9375
9376 eval "$ac_cv_use_busyinfo"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_BUSYINFO" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-joystick or --disable-joystick was given.
9395 if test "${enable_joystick+set}" = set; then
9396 enableval="$enable_joystick"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9400 else
9401 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9402 fi
9403
9404 else
9405
9406 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9414
9415 fi;
9416
9417 eval "$ac_cv_use_joystick"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_JOYSTICK" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431 enablestring=
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9434 no_cache=0
9435 # Check whether --enable-metafile or --disable-metafile was given.
9436 if test "${enable_metafile+set}" = set; then
9437 enableval="$enable_metafile"
9438
9439 if test "$enableval" = yes; then
9440 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9441 else
9442 ac_cv_use_metafile='wxUSE_METAFILE=no'
9443 fi
9444
9445 else
9446
9447 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 else
9451 no_cache=1
9452 fi
9453
9454 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9455
9456 fi;
9457
9458 eval "$ac_cv_use_metafile"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9461 fi
9462
9463 if test "$wxUSE_METAFILE" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9466 else
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9469 fi
9470
9471
9472 enablestring=
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9475 no_cache=0
9476 # Check whether --enable-dragimage or --disable-dragimage was given.
9477 if test "${enable_dragimage+set}" = set; then
9478 enableval="$enable_dragimage"
9479
9480 if test "$enableval" = yes; then
9481 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9482 else
9483 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9484 fi
9485
9486 else
9487
9488 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x ; then
9490 eval "DEFAULT_$LINE"
9491 else
9492 no_cache=1
9493 fi
9494
9495 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9496
9497 fi;
9498
9499 eval "$ac_cv_use_dragimage"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9502 fi
9503
9504 if test "$wxUSE_DRAGIMAGE" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9507 else
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9510 fi
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-accessibility or --disable-accessibility was given.
9518 if test "${enable_accessibility+set}" = set; then
9519 enableval="$enable_accessibility"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9523 else
9524 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9525 fi
9526
9527 else
9528
9529 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 else
9533 no_cache=1
9534 fi
9535
9536 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9537
9538 fi;
9539
9540 eval "$ac_cv_use_accessibility"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_ACCESSIBILITY" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554
9555
9556 enablestring=
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9559 no_cache=0
9560 # Check whether --enable-palette or --disable-palette was given.
9561 if test "${enable_palette+set}" = set; then
9562 enableval="$enable_palette"
9563
9564 if test "$enableval" = yes; then
9565 ac_cv_use_palette='wxUSE_PALETTE=yes'
9566 else
9567 ac_cv_use_palette='wxUSE_PALETTE=no'
9568 fi
9569
9570 else
9571
9572 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x ; then
9574 eval "DEFAULT_$LINE"
9575 else
9576 no_cache=1
9577 fi
9578
9579 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9580
9581 fi;
9582
9583 eval "$ac_cv_use_palette"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test "$wxUSE_PALETTE" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9591 else
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9594 fi
9595
9596
9597 enablestring=
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9600 no_cache=0
9601 # Check whether --enable-image or --disable-image was given.
9602 if test "${enable_image+set}" = set; then
9603 enableval="$enable_image"
9604
9605 if test "$enableval" = yes; then
9606 ac_cv_use_image='wxUSE_IMAGE=yes'
9607 else
9608 ac_cv_use_image='wxUSE_IMAGE=no'
9609 fi
9610
9611 else
9612
9613 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x ; then
9615 eval "DEFAULT_$LINE"
9616 else
9617 no_cache=1
9618 fi
9619
9620 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9621
9622 fi;
9623
9624 eval "$ac_cv_use_image"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9627 fi
9628
9629 if test "$wxUSE_IMAGE" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9632 else
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9635 fi
9636
9637
9638 enablestring=
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9641 no_cache=0
9642 # Check whether --enable-gif or --disable-gif was given.
9643 if test "${enable_gif+set}" = set; then
9644 enableval="$enable_gif"
9645
9646 if test "$enableval" = yes; then
9647 ac_cv_use_gif='wxUSE_GIF=yes'
9648 else
9649 ac_cv_use_gif='wxUSE_GIF=no'
9650 fi
9651
9652 else
9653
9654 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x ; then
9656 eval "DEFAULT_$LINE"
9657 else
9658 no_cache=1
9659 fi
9660
9661 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9662
9663 fi;
9664
9665 eval "$ac_cv_use_gif"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9668 fi
9669
9670 if test "$wxUSE_GIF" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9673 else
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9676 fi
9677
9678
9679 enablestring=
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9682 no_cache=0
9683 # Check whether --enable-pcx or --disable-pcx was given.
9684 if test "${enable_pcx+set}" = set; then
9685 enableval="$enable_pcx"
9686
9687 if test "$enableval" = yes; then
9688 ac_cv_use_pcx='wxUSE_PCX=yes'
9689 else
9690 ac_cv_use_pcx='wxUSE_PCX=no'
9691 fi
9692
9693 else
9694
9695 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x ; then
9697 eval "DEFAULT_$LINE"
9698 else
9699 no_cache=1
9700 fi
9701
9702 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9703
9704 fi;
9705
9706 eval "$ac_cv_use_pcx"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9709 fi
9710
9711 if test "$wxUSE_PCX" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9714 else
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9717 fi
9718
9719
9720 enablestring=
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9723 no_cache=0
9724 # Check whether --enable-iff or --disable-iff was given.
9725 if test "${enable_iff+set}" = set; then
9726 enableval="$enable_iff"
9727
9728 if test "$enableval" = yes; then
9729 ac_cv_use_iff='wxUSE_IFF=yes'
9730 else
9731 ac_cv_use_iff='wxUSE_IFF=no'
9732 fi
9733
9734 else
9735
9736 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x ; then
9738 eval "DEFAULT_$LINE"
9739 else
9740 no_cache=1
9741 fi
9742
9743 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9744
9745 fi;
9746
9747 eval "$ac_cv_use_iff"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9750 fi
9751
9752 if test "$wxUSE_IFF" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9755 else
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9758 fi
9759
9760
9761 enablestring=
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9764 no_cache=0
9765 # Check whether --enable-pnm or --disable-pnm was given.
9766 if test "${enable_pnm+set}" = set; then
9767 enableval="$enable_pnm"
9768
9769 if test "$enableval" = yes; then
9770 ac_cv_use_pnm='wxUSE_PNM=yes'
9771 else
9772 ac_cv_use_pnm='wxUSE_PNM=no'
9773 fi
9774
9775 else
9776
9777 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x ; then
9779 eval "DEFAULT_$LINE"
9780 else
9781 no_cache=1
9782 fi
9783
9784 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9785
9786 fi;
9787
9788 eval "$ac_cv_use_pnm"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9791 fi
9792
9793 if test "$wxUSE_PNM" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9796 else
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9799 fi
9800
9801
9802 enablestring=
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9805 no_cache=0
9806 # Check whether --enable-xpm or --disable-xpm was given.
9807 if test "${enable_xpm+set}" = set; then
9808 enableval="$enable_xpm"
9809
9810 if test "$enableval" = yes; then
9811 ac_cv_use_xpm='wxUSE_XPM=yes'
9812 else
9813 ac_cv_use_xpm='wxUSE_XPM=no'
9814 fi
9815
9816 else
9817
9818 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9821 else
9822 no_cache=1
9823 fi
9824
9825 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9826
9827 fi;
9828
9829 eval "$ac_cv_use_xpm"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9832 fi
9833
9834 if test "$wxUSE_XPM" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9837 else
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9840 fi
9841
9842
9843 enablestring=
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9846 no_cache=0
9847 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9848 if test "${enable_ico_cur+set}" = set; then
9849 enableval="$enable_ico_cur"
9850
9851 if test "$enableval" = yes; then
9852 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9853 else
9854 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9855 fi
9856
9857 else
9858
9859 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x ; then
9861 eval "DEFAULT_$LINE"
9862 else
9863 no_cache=1
9864 fi
9865
9866 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9867
9868 fi;
9869
9870 eval "$ac_cv_use_ico_cur"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9873 fi
9874
9875 if test "$wxUSE_ICO_CUR" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9878 else
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9881 fi
9882
9883
9884 fi
9885
9886
9887
9888 enablestring=
9889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9891 no_cache=0
9892 # Check whether --enable-official_build or --disable-official_build was given.
9893 if test "${enable_official_build+set}" = set; then
9894 enableval="$enable_official_build"
9895
9896 if test "$enableval" = yes; then
9897 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9898 else
9899 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9900 fi
9901
9902 else
9903
9904 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9905 if test "x$LINE" != x ; then
9906 eval "DEFAULT_$LINE"
9907 else
9908 no_cache=1
9909 fi
9910
9911 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9912
9913 fi;
9914
9915 eval "$ac_cv_use_official_build"
9916 if test "$no_cache" != 1; then
9917 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9918 fi
9919
9920 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9921 echo "$as_me:$LINENO: result: yes" >&5
9922 echo "${ECHO_T}yes" >&6
9923 else
9924 echo "$as_me:$LINENO: result: no" >&5
9925 echo "${ECHO_T}no" >&6
9926 fi
9927
9928 # Check whether --enable-vendor or --disable-vendor was given.
9929 if test "${enable_vendor+set}" = set; then
9930 enableval="$enable_vendor"
9931 VENDOR="$enableval"
9932 fi;
9933 if test "x$VENDOR" = "x"; then
9934 VENDOR="custom"
9935 fi
9936
9937 case "${host}" in
9938 *-pc-os2_emx | *-pc-os2-emx )
9939 PATH_IFS=';'
9940 ;;
9941 *)
9942 PATH_IFS=':'
9943 ;;
9944 esac
9945
9946
9947
9948 echo "saving argument cache $wx_arg_cache_file"
9949 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9950
9951
9952
9953 echo "$as_me:$LINENO: checking for toolkit" >&5
9954 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9955
9956 # In Wine, we need to default to MSW, not GTK or MOTIF
9957 if test "$wxUSE_WINE" = "yes"; then
9958 DEFAULT_DEFAULT_wxUSE_GTK=0
9959 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9960 DEFAULT_DEFAULT_wxUSE_MSW=1
9961 wxUSE_SHARED=no
9962 fi
9963
9964 if test "$wxUSE_GUI" = "yes"; then
9965
9966 if test "$USE_BEOS" = 1; then
9967 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9968 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9969 { (exit 1); exit 1; }; }
9970 fi
9971
9972 if test "$TOOLKIT_GIVEN" = 1; then
9973 for toolkit in `echo $ALL_TOOLKITS`; do
9974 var=wxUSE_$toolkit
9975 eval "value=\$${var}"
9976 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9977 done
9978 else
9979 for toolkit in `echo $ALL_TOOLKITS`; do
9980 if test "$has_toolkit_in_cache" != 1; then
9981 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9982 else
9983 var=DEFAULT_wxUSE_$toolkit
9984 fi
9985 eval "wxUSE_$toolkit=\$${var}"
9986 done
9987 fi
9988
9989 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9990 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9991 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9992
9993 case "${host}" in
9994 *-pc-os2_emx | *-pc-os2-emx )
9995 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9996 esac
9997
9998 case "$NUM_TOOLKITS" in
9999 1)
10000 ;;
10001 0)
10002 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10003 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10004 { (exit 1); exit 1; }; }
10005 ;;
10006 *)
10007 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10008 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10009 { (exit 1); exit 1; }; }
10010 esac
10011
10012 for toolkit in `echo $ALL_TOOLKITS`; do
10013 var=wxUSE_$toolkit
10014 eval "value=\$${var}"
10015 if test "x$value" != x; then
10016 cache_var=CACHE_$toolkit
10017 eval "cache=\$${cache_var}"
10018 if test "$cache" = 1; then
10019 echo "$var=$value" >> ${wx_arg_cache_file}
10020 fi
10021 if test "$value" = 1; then
10022 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10023 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10024 echo "${ECHO_T}$toolkit_echo" >&6
10025 fi
10026 fi
10027 done
10028 else
10029 if test "x$host_alias" != "x"; then
10030 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10031 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10032 else
10033 echo "$as_me:$LINENO: result: base only" >&5
10034 echo "${ECHO_T}base only" >&6
10035 fi
10036 fi
10037
10038 wants_win32=0
10039 doesnt_want_win32=0
10040 case "${host}" in
10041 *-*-cygwin*)
10042 if test "$wxUSE_MSW" = 1 ; then
10043 wants_win32=1
10044 else
10045 doesnt_want_win32=1
10046 fi
10047 ;;
10048 *-*-mingw*)
10049 wants_win32=1
10050 ;;
10051 esac
10052
10053 if test "$wxUSE_WINE" = "yes"; then
10054 wants_win32=1
10055 CC=winegcc
10056 CXX=wineg++
10057 RESCOMP=wrc
10058 LDFLAGS_GUI="-mwindows"
10059 fi
10060
10061 if test "$wants_win32" = 1 ; then
10062 USE_UNIX=0
10063 USE_WIN32=1
10064 cat >>confdefs.h <<\_ACEOF
10065 #define __WIN32__ 1
10066 _ACEOF
10067
10068 cat >>confdefs.h <<\_ACEOF
10069 #define __WIN95__ 1
10070 _ACEOF
10071
10072 cat >>confdefs.h <<\_ACEOF
10073 #define __WINDOWS__ 1
10074 _ACEOF
10075
10076 cat >>confdefs.h <<\_ACEOF
10077 #define __GNUWIN32__ 1
10078 _ACEOF
10079
10080 cat >>confdefs.h <<\_ACEOF
10081 #define STRICT 1
10082 _ACEOF
10083
10084 cat >>confdefs.h <<\_ACEOF
10085 #define WINVER 0x0400
10086 _ACEOF
10087
10088 fi
10089 if test "$doesnt_want_win32" = 1 ; then
10090 USE_UNIX=1
10091 USE_WIN32=0
10092 fi
10093
10094 if test "$USE_UNIX" = 1 ; then
10095 wxUSE_UNIX=yes
10096 cat >>confdefs.h <<\_ACEOF
10097 #define __UNIX__ 1
10098 _ACEOF
10099
10100 fi
10101
10102
10103 cat >confcache <<\_ACEOF
10104 # This file is a shell script that caches the results of configure
10105 # tests run on this system so they can be shared between configure
10106 # scripts and configure runs, see configure's option --config-cache.
10107 # It is not useful on other systems. If it contains results you don't
10108 # want to keep, you may remove or edit it.
10109 #
10110 # config.status only pays attention to the cache file if you give it
10111 # the --recheck option to rerun configure.
10112 #
10113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10115 # following values.
10116
10117 _ACEOF
10118
10119 # The following way of writing the cache mishandles newlines in values,
10120 # but we know of no workaround that is simple, portable, and efficient.
10121 # So, don't put newlines in cache variables' values.
10122 # Ultrix sh set writes to stderr and can't be redirected directly,
10123 # and sets the high bit in the cache file unless we assign to the vars.
10124 {
10125 (set) 2>&1 |
10126 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10127 *ac_space=\ *)
10128 # `set' does not quote correctly, so add quotes (double-quote
10129 # substitution turns \\\\ into \\, and sed turns \\ into \).
10130 sed -n \
10131 "s/'/'\\\\''/g;
10132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10133 ;;
10134 *)
10135 # `set' quotes correctly as required by POSIX, so do not add quotes.
10136 sed -n \
10137 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10138 ;;
10139 esac;
10140 } |
10141 sed '
10142 t clear
10143 : clear
10144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10145 t end
10146 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10147 : end' >>confcache
10148 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10149 if test -w $cache_file; then
10150 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10151 cat confcache >$cache_file
10152 else
10153 echo "not updating unwritable cache $cache_file"
10154 fi
10155 fi
10156 rm -f confcache
10157
10158 if test "$build" != "$host" ; then
10159 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10160 CC=$host_alias-gcc
10161 CXX=$host_alias-c++
10162 AR=$host_alias-ar
10163 RANLIB=$host_alias-ranlib
10164 DLLTOOL=$host_alias-dlltool
10165 RESCOMP=$host_alias-windres
10166 LD=$host_alias-ld
10167 NM=$host_alias-nm
10168 STRIP=$host_alias-strip
10169 else
10170 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10171 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10172 { (exit 1); exit 1; }; }
10173 fi
10174 fi
10175
10176 CFLAGS=${CFLAGS:=}
10177 ac_ext=c
10178 ac_cpp='$CPP $CPPFLAGS'
10179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10182 if test -n "$ac_tool_prefix"; then
10183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10184 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10185 echo "$as_me:$LINENO: checking for $ac_word" >&5
10186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10187 if test "${ac_cv_prog_CC+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 else
10190 if test -n "$CC"; then
10191 ac_cv_prog_CC="$CC" # Let the user override the test.
10192 else
10193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10194 for as_dir in $PATH
10195 do
10196 IFS=$as_save_IFS
10197 test -z "$as_dir" && as_dir=.
10198 for ac_exec_ext in '' $ac_executable_extensions; do
10199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10200 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10202 break 2
10203 fi
10204 done
10205 done
10206
10207 fi
10208 fi
10209 CC=$ac_cv_prog_CC
10210 if test -n "$CC"; then
10211 echo "$as_me:$LINENO: result: $CC" >&5
10212 echo "${ECHO_T}$CC" >&6
10213 else
10214 echo "$as_me:$LINENO: result: no" >&5
10215 echo "${ECHO_T}no" >&6
10216 fi
10217
10218 fi
10219 if test -z "$ac_cv_prog_CC"; then
10220 ac_ct_CC=$CC
10221 # Extract the first word of "gcc", so it can be a program name with args.
10222 set dummy gcc; ac_word=$2
10223 echo "$as_me:$LINENO: checking for $ac_word" >&5
10224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10226 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 else
10228 if test -n "$ac_ct_CC"; then
10229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10230 else
10231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10232 for as_dir in $PATH
10233 do
10234 IFS=$as_save_IFS
10235 test -z "$as_dir" && as_dir=.
10236 for ac_exec_ext in '' $ac_executable_extensions; do
10237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10238 ac_cv_prog_ac_ct_CC="gcc"
10239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10240 break 2
10241 fi
10242 done
10243 done
10244
10245 fi
10246 fi
10247 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10248 if test -n "$ac_ct_CC"; then
10249 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10250 echo "${ECHO_T}$ac_ct_CC" >&6
10251 else
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10254 fi
10255
10256 CC=$ac_ct_CC
10257 else
10258 CC="$ac_cv_prog_CC"
10259 fi
10260
10261 if test -z "$CC"; then
10262 if test -n "$ac_tool_prefix"; then
10263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10264 set dummy ${ac_tool_prefix}cc; ac_word=$2
10265 echo "$as_me:$LINENO: checking for $ac_word" >&5
10266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10267 if test "${ac_cv_prog_CC+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 else
10270 if test -n "$CC"; then
10271 ac_cv_prog_CC="$CC" # Let the user override the test.
10272 else
10273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10274 for as_dir in $PATH
10275 do
10276 IFS=$as_save_IFS
10277 test -z "$as_dir" && as_dir=.
10278 for ac_exec_ext in '' $ac_executable_extensions; do
10279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10280 ac_cv_prog_CC="${ac_tool_prefix}cc"
10281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10282 break 2
10283 fi
10284 done
10285 done
10286
10287 fi
10288 fi
10289 CC=$ac_cv_prog_CC
10290 if test -n "$CC"; then
10291 echo "$as_me:$LINENO: result: $CC" >&5
10292 echo "${ECHO_T}$CC" >&6
10293 else
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10296 fi
10297
10298 fi
10299 if test -z "$ac_cv_prog_CC"; then
10300 ac_ct_CC=$CC
10301 # Extract the first word of "cc", so it can be a program name with args.
10302 set dummy cc; ac_word=$2
10303 echo "$as_me:$LINENO: checking for $ac_word" >&5
10304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 else
10308 if test -n "$ac_ct_CC"; then
10309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10310 else
10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10312 for as_dir in $PATH
10313 do
10314 IFS=$as_save_IFS
10315 test -z "$as_dir" && as_dir=.
10316 for ac_exec_ext in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_prog_ac_ct_CC="cc"
10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 break 2
10321 fi
10322 done
10323 done
10324
10325 fi
10326 fi
10327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10328 if test -n "$ac_ct_CC"; then
10329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10330 echo "${ECHO_T}$ac_ct_CC" >&6
10331 else
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10334 fi
10335
10336 CC=$ac_ct_CC
10337 else
10338 CC="$ac_cv_prog_CC"
10339 fi
10340
10341 fi
10342 if test -z "$CC"; then
10343 # Extract the first word of "cc", so it can be a program name with args.
10344 set dummy cc; ac_word=$2
10345 echo "$as_me:$LINENO: checking for $ac_word" >&5
10346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10347 if test "${ac_cv_prog_CC+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10349 else
10350 if test -n "$CC"; then
10351 ac_cv_prog_CC="$CC" # Let the user override the test.
10352 else
10353 ac_prog_rejected=no
10354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10355 for as_dir in $PATH
10356 do
10357 IFS=$as_save_IFS
10358 test -z "$as_dir" && as_dir=.
10359 for ac_exec_ext in '' $ac_executable_extensions; do
10360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10361 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10362 ac_prog_rejected=yes
10363 continue
10364 fi
10365 ac_cv_prog_CC="cc"
10366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10367 break 2
10368 fi
10369 done
10370 done
10371
10372 if test $ac_prog_rejected = yes; then
10373 # We found a bogon in the path, so make sure we never use it.
10374 set dummy $ac_cv_prog_CC
10375 shift
10376 if test $# != 0; then
10377 # We chose a different compiler from the bogus one.
10378 # However, it has the same basename, so the bogon will be chosen
10379 # first if we set CC to just the basename; use the full file name.
10380 shift
10381 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10382 fi
10383 fi
10384 fi
10385 fi
10386 CC=$ac_cv_prog_CC
10387 if test -n "$CC"; then
10388 echo "$as_me:$LINENO: result: $CC" >&5
10389 echo "${ECHO_T}$CC" >&6
10390 else
10391 echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6
10393 fi
10394
10395 fi
10396 if test -z "$CC"; then
10397 if test -n "$ac_tool_prefix"; then
10398 for ac_prog in cl
10399 do
10400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10402 echo "$as_me:$LINENO: checking for $ac_word" >&5
10403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10404 if test "${ac_cv_prog_CC+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 else
10407 if test -n "$CC"; then
10408 ac_cv_prog_CC="$CC" # Let the user override the test.
10409 else
10410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10411 for as_dir in $PATH
10412 do
10413 IFS=$as_save_IFS
10414 test -z "$as_dir" && as_dir=.
10415 for ac_exec_ext in '' $ac_executable_extensions; do
10416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10419 break 2
10420 fi
10421 done
10422 done
10423
10424 fi
10425 fi
10426 CC=$ac_cv_prog_CC
10427 if test -n "$CC"; then
10428 echo "$as_me:$LINENO: result: $CC" >&5
10429 echo "${ECHO_T}$CC" >&6
10430 else
10431 echo "$as_me:$LINENO: result: no" >&5
10432 echo "${ECHO_T}no" >&6
10433 fi
10434
10435 test -n "$CC" && break
10436 done
10437 fi
10438 if test -z "$CC"; then
10439 ac_ct_CC=$CC
10440 for ac_prog in cl
10441 do
10442 # Extract the first word of "$ac_prog", so it can be a program name with args.
10443 set dummy $ac_prog; ac_word=$2
10444 echo "$as_me:$LINENO: checking for $ac_word" >&5
10445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 else
10449 if test -n "$ac_ct_CC"; then
10450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10451 else
10452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10453 for as_dir in $PATH
10454 do
10455 IFS=$as_save_IFS
10456 test -z "$as_dir" && as_dir=.
10457 for ac_exec_ext in '' $ac_executable_extensions; do
10458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10459 ac_cv_prog_ac_ct_CC="$ac_prog"
10460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10461 break 2
10462 fi
10463 done
10464 done
10465
10466 fi
10467 fi
10468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10469 if test -n "$ac_ct_CC"; then
10470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10471 echo "${ECHO_T}$ac_ct_CC" >&6
10472 else
10473 echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6
10475 fi
10476
10477 test -n "$ac_ct_CC" && break
10478 done
10479
10480 CC=$ac_ct_CC
10481 fi
10482
10483 fi
10484
10485
10486 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10487 See \`config.log' for more details." >&5
10488 echo "$as_me: error: no acceptable C compiler found in \$PATH
10489 See \`config.log' for more details." >&2;}
10490 { (exit 1); exit 1; }; }
10491
10492 # Provide some information about the compiler.
10493 echo "$as_me:$LINENO:" \
10494 "checking for C compiler version" >&5
10495 ac_compiler=`set X $ac_compile; echo $2`
10496 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10497 (eval $ac_compiler --version </dev/null >&5) 2>&5
10498 ac_status=$?
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }
10501 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10502 (eval $ac_compiler -v </dev/null >&5) 2>&5
10503 ac_status=$?
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }
10506 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10507 (eval $ac_compiler -V </dev/null >&5) 2>&5
10508 ac_status=$?
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }
10511
10512 cat >conftest.$ac_ext <<_ACEOF
10513 /* confdefs.h. */
10514 _ACEOF
10515 cat confdefs.h >>conftest.$ac_ext
10516 cat >>conftest.$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10518
10519 int
10520 main ()
10521 {
10522
10523 ;
10524 return 0;
10525 }
10526 _ACEOF
10527 ac_clean_files_save=$ac_clean_files
10528 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10529 # Try to create an executable without -o first, disregard a.out.
10530 # It will help us diagnose broken compilers, and finding out an intuition
10531 # of exeext.
10532 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10533 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10534 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10535 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10536 (eval $ac_link_default) 2>&5
10537 ac_status=$?
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; then
10540 # Find the output, starting from the most likely. This scheme is
10541 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10542 # resort.
10543
10544 # Be careful to initialize this variable, since it used to be cached.
10545 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10546 ac_cv_exeext=
10547 # b.out is created by i960 compilers.
10548 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10549 do
10550 test -f "$ac_file" || continue
10551 case $ac_file in
10552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10553 ;;
10554 conftest.$ac_ext )
10555 # This is the source file.
10556 ;;
10557 [ab].out )
10558 # We found the default executable, but exeext='' is most
10559 # certainly right.
10560 break;;
10561 *.* )
10562 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10563 # FIXME: I believe we export ac_cv_exeext for Libtool,
10564 # but it would be cool to find out if it's true. Does anybody
10565 # maintain Libtool? --akim.
10566 export ac_cv_exeext
10567 break;;
10568 * )
10569 break;;
10570 esac
10571 done
10572 else
10573 echo "$as_me: failed program was:" >&5
10574 sed 's/^/| /' conftest.$ac_ext >&5
10575
10576 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10577 See \`config.log' for more details." >&5
10578 echo "$as_me: error: C compiler cannot create executables
10579 See \`config.log' for more details." >&2;}
10580 { (exit 77); exit 77; }; }
10581 fi
10582
10583 ac_exeext=$ac_cv_exeext
10584 echo "$as_me:$LINENO: result: $ac_file" >&5
10585 echo "${ECHO_T}$ac_file" >&6
10586
10587 # Check the compiler produces executables we can run. If not, either
10588 # the compiler is broken, or we cross compile.
10589 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10590 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10591 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10592 # If not cross compiling, check that we can run a simple program.
10593 if test "$cross_compiling" != yes; then
10594 if { ac_try='./$ac_file'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10597 ac_status=$?
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10600 cross_compiling=no
10601 else
10602 if test "$cross_compiling" = maybe; then
10603 cross_compiling=yes
10604 else
10605 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10606 If you meant to cross compile, use \`--host'.
10607 See \`config.log' for more details." >&5
10608 echo "$as_me: error: cannot run C compiled programs.
10609 If you meant to cross compile, use \`--host'.
10610 See \`config.log' for more details." >&2;}
10611 { (exit 1); exit 1; }; }
10612 fi
10613 fi
10614 fi
10615 echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6
10617
10618 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10619 ac_clean_files=$ac_clean_files_save
10620 # Check the compiler produces executables we can run. If not, either
10621 # the compiler is broken, or we cross compile.
10622 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10623 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10624 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10625 echo "${ECHO_T}$cross_compiling" >&6
10626
10627 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10628 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10630 (eval $ac_link) 2>&5
10631 ac_status=$?
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; then
10634 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10635 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10636 # work properly (i.e., refer to `conftest.exe'), while it won't with
10637 # `rm'.
10638 for ac_file in conftest.exe conftest conftest.*; do
10639 test -f "$ac_file" || continue
10640 case $ac_file in
10641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10642 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10643 export ac_cv_exeext
10644 break;;
10645 * ) break;;
10646 esac
10647 done
10648 else
10649 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10650 See \`config.log' for more details." >&5
10651 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10652 See \`config.log' for more details." >&2;}
10653 { (exit 1); exit 1; }; }
10654 fi
10655
10656 rm -f conftest$ac_cv_exeext
10657 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10658 echo "${ECHO_T}$ac_cv_exeext" >&6
10659
10660 rm -f conftest.$ac_ext
10661 EXEEXT=$ac_cv_exeext
10662 ac_exeext=$EXEEXT
10663 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10664 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10665 if test "${ac_cv_objext+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 else
10668 cat >conftest.$ac_ext <<_ACEOF
10669 /* confdefs.h. */
10670 _ACEOF
10671 cat confdefs.h >>conftest.$ac_ext
10672 cat >>conftest.$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10674
10675 int
10676 main ()
10677 {
10678
10679 ;
10680 return 0;
10681 }
10682 _ACEOF
10683 rm -f conftest.o conftest.obj
10684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10685 (eval $ac_compile) 2>&5
10686 ac_status=$?
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; then
10689 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10690 case $ac_file in
10691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10692 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10693 break;;
10694 esac
10695 done
10696 else
10697 echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.$ac_ext >&5
10699
10700 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10701 See \`config.log' for more details." >&5
10702 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10703 See \`config.log' for more details." >&2;}
10704 { (exit 1); exit 1; }; }
10705 fi
10706
10707 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10708 fi
10709 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10710 echo "${ECHO_T}$ac_cv_objext" >&6
10711 OBJEXT=$ac_cv_objext
10712 ac_objext=$OBJEXT
10713 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10715 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10717 else
10718 cat >conftest.$ac_ext <<_ACEOF
10719 /* confdefs.h. */
10720 _ACEOF
10721 cat confdefs.h >>conftest.$ac_ext
10722 cat >>conftest.$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10724
10725 int
10726 main ()
10727 {
10728 #ifndef __GNUC__
10729 choke me
10730 #endif
10731
10732 ;
10733 return 0;
10734 }
10735 _ACEOF
10736 rm -f conftest.$ac_objext
10737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10738 (eval $ac_compile) 2>conftest.er1
10739 ac_status=$?
10740 grep -v '^ *+' conftest.er1 >conftest.err
10741 rm -f conftest.er1
10742 cat conftest.err >&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } &&
10745 { ac_try='test -z "$ac_c_werror_flag"
10746 || test ! -s conftest.err'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10749 ac_status=$?
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; } &&
10752 { ac_try='test -s conftest.$ac_objext'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10755 ac_status=$?
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then
10758 ac_compiler_gnu=yes
10759 else
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10762
10763 ac_compiler_gnu=no
10764 fi
10765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10767
10768 fi
10769 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10770 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10771 GCC=`test $ac_compiler_gnu = yes && echo yes`
10772 ac_test_CFLAGS=${CFLAGS+set}
10773 ac_save_CFLAGS=$CFLAGS
10774 CFLAGS="-g"
10775 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10776 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10777 if test "${ac_cv_prog_cc_g+set}" = set; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10779 else
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
10785 /* end confdefs.h. */
10786
10787 int
10788 main ()
10789 {
10790
10791 ;
10792 return 0;
10793 }
10794 _ACEOF
10795 rm -f conftest.$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10798 ac_status=$?
10799 grep -v '^ *+' conftest.er1 >conftest.err
10800 rm -f conftest.er1
10801 cat conftest.err >&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10808 ac_status=$?
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10814 ac_status=$?
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 ac_cv_prog_cc_g=yes
10818 else
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.$ac_ext >&5
10821
10822 ac_cv_prog_cc_g=no
10823 fi
10824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10825 fi
10826 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10828 if test "$ac_test_CFLAGS" = set; then
10829 CFLAGS=$ac_save_CFLAGS
10830 elif test $ac_cv_prog_cc_g = yes; then
10831 if test "$GCC" = yes; then
10832 CFLAGS="-g -O2"
10833 else
10834 CFLAGS="-g"
10835 fi
10836 else
10837 if test "$GCC" = yes; then
10838 CFLAGS="-O2"
10839 else
10840 CFLAGS=
10841 fi
10842 fi
10843 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10844 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10845 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10847 else
10848 ac_cv_prog_cc_stdc=no
10849 ac_save_CC=$CC
10850 cat >conftest.$ac_ext <<_ACEOF
10851 /* confdefs.h. */
10852 _ACEOF
10853 cat confdefs.h >>conftest.$ac_ext
10854 cat >>conftest.$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10856 #include <stdarg.h>
10857 #include <stdio.h>
10858 #include <sys/types.h>
10859 #include <sys/stat.h>
10860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10861 struct buf { int x; };
10862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10863 static char *e (p, i)
10864 char **p;
10865 int i;
10866 {
10867 return p[i];
10868 }
10869 static char *f (char * (*g) (char **, int), char **p, ...)
10870 {
10871 char *s;
10872 va_list v;
10873 va_start (v,p);
10874 s = g (p, va_arg (v,int));
10875 va_end (v);
10876 return s;
10877 }
10878
10879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10880 function prototypes and stuff, but not '\xHH' hex character constants.
10881 These don't provoke an error unfortunately, instead are silently treated
10882 as 'x'. The following induces an error, until -std1 is added to get
10883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10884 array size at least. It's necessary to write '\x00'==0 to get something
10885 that's true only with -std1. */
10886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10887
10888 int test (int i, double x);
10889 struct s1 {int (*f) (int a);};
10890 struct s2 {int (*f) (double a);};
10891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10892 int argc;
10893 char **argv;
10894 int
10895 main ()
10896 {
10897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10898 ;
10899 return 0;
10900 }
10901 _ACEOF
10902 # Don't try gcc -ansi; that turns off useful extensions and
10903 # breaks some systems' header files.
10904 # AIX -qlanglvl=ansi
10905 # Ultrix and OSF/1 -std1
10906 # HP-UX 10.20 and later -Ae
10907 # HP-UX older versions -Aa -D_HPUX_SOURCE
10908 # SVR4 -Xc -D__EXTENSIONS__
10909 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10910 do
10911 CC="$ac_save_CC $ac_arg"
10912 rm -f conftest.$ac_objext
10913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10914 (eval $ac_compile) 2>conftest.er1
10915 ac_status=$?
10916 grep -v '^ *+' conftest.er1 >conftest.err
10917 rm -f conftest.er1
10918 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try='test -z "$ac_c_werror_flag"
10922 || test ! -s conftest.err'
10923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10924 (eval $ac_try) 2>&5
10925 ac_status=$?
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }; } &&
10928 { ac_try='test -s conftest.$ac_objext'
10929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10930 (eval $ac_try) 2>&5
10931 ac_status=$?
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }; }; then
10934 ac_cv_prog_cc_stdc=$ac_arg
10935 break
10936 else
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.$ac_ext >&5
10939
10940 fi
10941 rm -f conftest.err conftest.$ac_objext
10942 done
10943 rm -f conftest.$ac_ext conftest.$ac_objext
10944 CC=$ac_save_CC
10945
10946 fi
10947
10948 case "x$ac_cv_prog_cc_stdc" in
10949 x|xno)
10950 echo "$as_me:$LINENO: result: none needed" >&5
10951 echo "${ECHO_T}none needed" >&6 ;;
10952 *)
10953 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10954 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10955 CC="$CC $ac_cv_prog_cc_stdc" ;;
10956 esac
10957
10958 # Some people use a C++ compiler to compile C. Since we use `exit',
10959 # in C++ we need to declare it. In case someone uses the same compiler
10960 # for both compiling C and C++ we need to have the C++ compiler decide
10961 # the declaration of exit, since it's the most demanding environment.
10962 cat >conftest.$ac_ext <<_ACEOF
10963 #ifndef __cplusplus
10964 choke me
10965 #endif
10966 _ACEOF
10967 rm -f conftest.$ac_objext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10969 (eval $ac_compile) 2>conftest.er1
10970 ac_status=$?
10971 grep -v '^ *+' conftest.er1 >conftest.err
10972 rm -f conftest.er1
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } &&
10976 { ac_try='test -z "$ac_c_werror_flag"
10977 || test ! -s conftest.err'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10980 ac_status=$?
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try='test -s conftest.$ac_objext'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10986 ac_status=$?
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; }; then
10989 for ac_declaration in \
10990 '' \
10991 'extern "C" void std::exit (int) throw (); using std::exit;' \
10992 'extern "C" void std::exit (int); using std::exit;' \
10993 'extern "C" void exit (int) throw ();' \
10994 'extern "C" void exit (int);' \
10995 'void exit (int);'
10996 do
10997 cat >conftest.$ac_ext <<_ACEOF
10998 /* confdefs.h. */
10999 _ACEOF
11000 cat confdefs.h >>conftest.$ac_ext
11001 cat >>conftest.$ac_ext <<_ACEOF
11002 /* end confdefs.h. */
11003 $ac_declaration
11004 #include <stdlib.h>
11005 int
11006 main ()
11007 {
11008 exit (42);
11009 ;
11010 return 0;
11011 }
11012 _ACEOF
11013 rm -f conftest.$ac_objext
11014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11015 (eval $ac_compile) 2>conftest.er1
11016 ac_status=$?
11017 grep -v '^ *+' conftest.er1 >conftest.err
11018 rm -f conftest.er1
11019 cat conftest.err >&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); } &&
11022 { ac_try='test -z "$ac_c_werror_flag"
11023 || test ! -s conftest.err'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11026 ac_status=$?
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; } &&
11029 { ac_try='test -s conftest.$ac_objext'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11032 ac_status=$?
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; }; then
11035 :
11036 else
11037 echo "$as_me: failed program was:" >&5
11038 sed 's/^/| /' conftest.$ac_ext >&5
11039
11040 continue
11041 fi
11042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11043 cat >conftest.$ac_ext <<_ACEOF
11044 /* confdefs.h. */
11045 _ACEOF
11046 cat confdefs.h >>conftest.$ac_ext
11047 cat >>conftest.$ac_ext <<_ACEOF
11048 /* end confdefs.h. */
11049 $ac_declaration
11050 int
11051 main ()
11052 {
11053 exit (42);
11054 ;
11055 return 0;
11056 }
11057 _ACEOF
11058 rm -f conftest.$ac_objext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11060 (eval $ac_compile) 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try='test -z "$ac_c_werror_flag"
11068 || test ! -s conftest.err'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11071 ac_status=$?
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; } &&
11074 { ac_try='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11077 ac_status=$?
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 break
11081 else
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.$ac_ext >&5
11084
11085 fi
11086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11087 done
11088 rm -f conftest*
11089 if test -n "$ac_declaration"; then
11090 echo '#ifdef __cplusplus' >>confdefs.h
11091 echo $ac_declaration >>confdefs.h
11092 echo '#endif' >>confdefs.h
11093 fi
11094
11095 else
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.$ac_ext >&5
11098
11099 fi
11100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11101 ac_ext=c
11102 ac_cpp='$CPP $CPPFLAGS'
11103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11106
11107
11108
11109 ac_ext=c
11110 ac_cpp='$CPP $CPPFLAGS'
11111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11114 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11115 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11116 # On Suns, sometimes $CPP names a directory.
11117 if test -n "$CPP" && test -d "$CPP"; then
11118 CPP=
11119 fi
11120 if test -z "$CPP"; then
11121 if test "${ac_cv_prog_CPP+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11123 else
11124 # Double quotes because CPP needs to be expanded
11125 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11126 do
11127 ac_preproc_ok=false
11128 for ac_c_preproc_warn_flag in '' yes
11129 do
11130 # Use a header file that comes with gcc, so configuring glibc
11131 # with a fresh cross-compiler works.
11132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11133 # <limits.h> exists even on freestanding compilers.
11134 # On the NeXT, cc -E runs the code through the compiler's parser,
11135 # not just through cpp. "Syntax error" is here to catch this case.
11136 cat >conftest.$ac_ext <<_ACEOF
11137 /* confdefs.h. */
11138 _ACEOF
11139 cat confdefs.h >>conftest.$ac_ext
11140 cat >>conftest.$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #ifdef __STDC__
11143 # include <limits.h>
11144 #else
11145 # include <assert.h>
11146 #endif
11147 Syntax error
11148 _ACEOF
11149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11151 ac_status=$?
11152 grep -v '^ *+' conftest.er1 >conftest.err
11153 rm -f conftest.er1
11154 cat conftest.err >&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } >/dev/null; then
11157 if test -s conftest.err; then
11158 ac_cpp_err=$ac_c_preproc_warn_flag
11159 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11160 else
11161 ac_cpp_err=
11162 fi
11163 else
11164 ac_cpp_err=yes
11165 fi
11166 if test -z "$ac_cpp_err"; then
11167 :
11168 else
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.$ac_ext >&5
11171
11172 # Broken: fails on valid input.
11173 continue
11174 fi
11175 rm -f conftest.err conftest.$ac_ext
11176
11177 # OK, works on sane cases. Now check whether non-existent headers
11178 # can be detected and how.
11179 cat >conftest.$ac_ext <<_ACEOF
11180 /* confdefs.h. */
11181 _ACEOF
11182 cat confdefs.h >>conftest.$ac_ext
11183 cat >>conftest.$ac_ext <<_ACEOF
11184 /* end confdefs.h. */
11185 #include <ac_nonexistent.h>
11186 _ACEOF
11187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11189 ac_status=$?
11190 grep -v '^ *+' conftest.er1 >conftest.err
11191 rm -f conftest.er1
11192 cat conftest.err >&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } >/dev/null; then
11195 if test -s conftest.err; then
11196 ac_cpp_err=$ac_c_preproc_warn_flag
11197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11198 else
11199 ac_cpp_err=
11200 fi
11201 else
11202 ac_cpp_err=yes
11203 fi
11204 if test -z "$ac_cpp_err"; then
11205 # Broken: success on invalid input.
11206 continue
11207 else
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11210
11211 # Passes both tests.
11212 ac_preproc_ok=:
11213 break
11214 fi
11215 rm -f conftest.err conftest.$ac_ext
11216
11217 done
11218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11219 rm -f conftest.err conftest.$ac_ext
11220 if $ac_preproc_ok; then
11221 break
11222 fi
11223
11224 done
11225 ac_cv_prog_CPP=$CPP
11226
11227 fi
11228 CPP=$ac_cv_prog_CPP
11229 else
11230 ac_cv_prog_CPP=$CPP
11231 fi
11232 echo "$as_me:$LINENO: result: $CPP" >&5
11233 echo "${ECHO_T}$CPP" >&6
11234 ac_preproc_ok=false
11235 for ac_c_preproc_warn_flag in '' yes
11236 do
11237 # Use a header file that comes with gcc, so configuring glibc
11238 # with a fresh cross-compiler works.
11239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11240 # <limits.h> exists even on freestanding compilers.
11241 # On the NeXT, cc -E runs the code through the compiler's parser,
11242 # not just through cpp. "Syntax error" is here to catch this case.
11243 cat >conftest.$ac_ext <<_ACEOF
11244 /* confdefs.h. */
11245 _ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 #ifdef __STDC__
11250 # include <limits.h>
11251 #else
11252 # include <assert.h>
11253 #endif
11254 Syntax error
11255 _ACEOF
11256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11258 ac_status=$?
11259 grep -v '^ *+' conftest.er1 >conftest.err
11260 rm -f conftest.er1
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } >/dev/null; then
11264 if test -s conftest.err; then
11265 ac_cpp_err=$ac_c_preproc_warn_flag
11266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11267 else
11268 ac_cpp_err=
11269 fi
11270 else
11271 ac_cpp_err=yes
11272 fi
11273 if test -z "$ac_cpp_err"; then
11274 :
11275 else
11276 echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.$ac_ext >&5
11278
11279 # Broken: fails on valid input.
11280 continue
11281 fi
11282 rm -f conftest.err conftest.$ac_ext
11283
11284 # OK, works on sane cases. Now check whether non-existent headers
11285 # can be detected and how.
11286 cat >conftest.$ac_ext <<_ACEOF
11287 /* confdefs.h. */
11288 _ACEOF
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11292 #include <ac_nonexistent.h>
11293 _ACEOF
11294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11296 ac_status=$?
11297 grep -v '^ *+' conftest.er1 >conftest.err
11298 rm -f conftest.er1
11299 cat conftest.err >&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); } >/dev/null; then
11302 if test -s conftest.err; then
11303 ac_cpp_err=$ac_c_preproc_warn_flag
11304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11305 else
11306 ac_cpp_err=
11307 fi
11308 else
11309 ac_cpp_err=yes
11310 fi
11311 if test -z "$ac_cpp_err"; then
11312 # Broken: success on invalid input.
11313 continue
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11317
11318 # Passes both tests.
11319 ac_preproc_ok=:
11320 break
11321 fi
11322 rm -f conftest.err conftest.$ac_ext
11323
11324 done
11325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11326 rm -f conftest.err conftest.$ac_ext
11327 if $ac_preproc_ok; then
11328 :
11329 else
11330 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11331 See \`config.log' for more details." >&5
11332 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11333 See \`config.log' for more details." >&2;}
11334 { (exit 1); exit 1; }; }
11335 fi
11336
11337 ac_ext=c
11338 ac_cpp='$CPP $CPPFLAGS'
11339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11342
11343
11344 echo "$as_me:$LINENO: checking for egrep" >&5
11345 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11346 if test "${ac_cv_prog_egrep+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 else
11349 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11350 then ac_cv_prog_egrep='grep -E'
11351 else ac_cv_prog_egrep='egrep'
11352 fi
11353 fi
11354 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11355 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11356 EGREP=$ac_cv_prog_egrep
11357
11358
11359 if test $ac_cv_c_compiler_gnu = yes; then
11360 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11361 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11362 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 else
11365 ac_pattern="Autoconf.*'x'"
11366 cat >conftest.$ac_ext <<_ACEOF
11367 /* confdefs.h. */
11368 _ACEOF
11369 cat confdefs.h >>conftest.$ac_ext
11370 cat >>conftest.$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11372 #include <sgtty.h>
11373 Autoconf TIOCGETP
11374 _ACEOF
11375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11376 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11377 ac_cv_prog_gcc_traditional=yes
11378 else
11379 ac_cv_prog_gcc_traditional=no
11380 fi
11381 rm -f conftest*
11382
11383
11384 if test $ac_cv_prog_gcc_traditional = no; then
11385 cat >conftest.$ac_ext <<_ACEOF
11386 /* confdefs.h. */
11387 _ACEOF
11388 cat confdefs.h >>conftest.$ac_ext
11389 cat >>conftest.$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 #include <termio.h>
11392 Autoconf TCGETA
11393 _ACEOF
11394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11395 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11396 ac_cv_prog_gcc_traditional=yes
11397 fi
11398 rm -f conftest*
11399
11400 fi
11401 fi
11402 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11403 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11404 if test $ac_cv_prog_gcc_traditional = yes; then
11405 CC="$CC -traditional"
11406 fi
11407 fi
11408
11409
11410
11411
11412 ac_ext=cc
11413 ac_cpp='$CXXCPP $CPPFLAGS'
11414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11417
11418
11419 CXXFLAGS=${CXXFLAGS:=}
11420 ac_ext=cc
11421 ac_cpp='$CXXCPP $CPPFLAGS'
11422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11425 if test -n "$ac_tool_prefix"; then
11426 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11427 do
11428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11430 echo "$as_me:$LINENO: checking for $ac_word" >&5
11431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11432 if test "${ac_cv_prog_CXX+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 else
11435 if test -n "$CXX"; then
11436 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11437 else
11438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11439 for as_dir in $PATH
11440 do
11441 IFS=$as_save_IFS
11442 test -z "$as_dir" && as_dir=.
11443 for ac_exec_ext in '' $ac_executable_extensions; do
11444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11447 break 2
11448 fi
11449 done
11450 done
11451
11452 fi
11453 fi
11454 CXX=$ac_cv_prog_CXX
11455 if test -n "$CXX"; then
11456 echo "$as_me:$LINENO: result: $CXX" >&5
11457 echo "${ECHO_T}$CXX" >&6
11458 else
11459 echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6
11461 fi
11462
11463 test -n "$CXX" && break
11464 done
11465 fi
11466 if test -z "$CXX"; then
11467 ac_ct_CXX=$CXX
11468 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11469 do
11470 # Extract the first word of "$ac_prog", so it can be a program name with args.
11471 set dummy $ac_prog; ac_word=$2
11472 echo "$as_me:$LINENO: checking for $ac_word" >&5
11473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11474 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 else
11477 if test -n "$ac_ct_CXX"; then
11478 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11479 else
11480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11481 for as_dir in $PATH
11482 do
11483 IFS=$as_save_IFS
11484 test -z "$as_dir" && as_dir=.
11485 for ac_exec_ext in '' $ac_executable_extensions; do
11486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11487 ac_cv_prog_ac_ct_CXX="$ac_prog"
11488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11489 break 2
11490 fi
11491 done
11492 done
11493
11494 fi
11495 fi
11496 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11497 if test -n "$ac_ct_CXX"; then
11498 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11499 echo "${ECHO_T}$ac_ct_CXX" >&6
11500 else
11501 echo "$as_me:$LINENO: result: no" >&5
11502 echo "${ECHO_T}no" >&6
11503 fi
11504
11505 test -n "$ac_ct_CXX" && break
11506 done
11507 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11508
11509 CXX=$ac_ct_CXX
11510 fi
11511
11512
11513 # Provide some information about the compiler.
11514 echo "$as_me:$LINENO:" \
11515 "checking for C++ compiler version" >&5
11516 ac_compiler=`set X $ac_compile; echo $2`
11517 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11518 (eval $ac_compiler --version </dev/null >&5) 2>&5
11519 ac_status=$?
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }
11522 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11523 (eval $ac_compiler -v </dev/null >&5) 2>&5
11524 ac_status=$?
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }
11527 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11528 (eval $ac_compiler -V </dev/null >&5) 2>&5
11529 ac_status=$?
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }
11532
11533 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11534 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11535 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11536 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 else
11538 cat >conftest.$ac_ext <<_ACEOF
11539 /* confdefs.h. */
11540 _ACEOF
11541 cat confdefs.h >>conftest.$ac_ext
11542 cat >>conftest.$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11544
11545 int
11546 main ()
11547 {
11548 #ifndef __GNUC__
11549 choke me
11550 #endif
11551
11552 ;
11553 return 0;
11554 }
11555 _ACEOF
11556 rm -f conftest.$ac_objext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11558 (eval $ac_compile) 2>conftest.er1
11559 ac_status=$?
11560 grep -v '^ *+' conftest.er1 >conftest.err
11561 rm -f conftest.er1
11562 cat conftest.err >&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try='test -z "$ac_cxx_werror_flag"
11566 || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11569 ac_status=$?
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try='test -s conftest.$ac_objext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11575 ac_status=$?
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 ac_compiler_gnu=yes
11579 else
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.$ac_ext >&5
11582
11583 ac_compiler_gnu=no
11584 fi
11585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11586 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11587
11588 fi
11589 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11590 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11591 GXX=`test $ac_compiler_gnu = yes && echo yes`
11592 ac_test_CXXFLAGS=${CXXFLAGS+set}
11593 ac_save_CXXFLAGS=$CXXFLAGS
11594 CXXFLAGS="-g"
11595 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11596 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11597 if test "${ac_cv_prog_cxx_g+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 else
11600 cat >conftest.$ac_ext <<_ACEOF
11601 /* confdefs.h. */
11602 _ACEOF
11603 cat confdefs.h >>conftest.$ac_ext
11604 cat >>conftest.$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11606
11607 int
11608 main ()
11609 {
11610
11611 ;
11612 return 0;
11613 }
11614 _ACEOF
11615 rm -f conftest.$ac_objext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11617 (eval $ac_compile) 2>conftest.er1
11618 ac_status=$?
11619 grep -v '^ *+' conftest.er1 >conftest.err
11620 rm -f conftest.er1
11621 cat conftest.err >&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try='test -z "$ac_cxx_werror_flag"
11625 || test ! -s conftest.err'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11628 ac_status=$?
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; } &&
11631 { ac_try='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11634 ac_status=$?
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_prog_cxx_g=yes
11638 else
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.$ac_ext >&5
11641
11642 ac_cv_prog_cxx_g=no
11643 fi
11644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11645 fi
11646 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11647 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11648 if test "$ac_test_CXXFLAGS" = set; then
11649 CXXFLAGS=$ac_save_CXXFLAGS
11650 elif test $ac_cv_prog_cxx_g = yes; then
11651 if test "$GXX" = yes; then
11652 CXXFLAGS="-g -O2"
11653 else
11654 CXXFLAGS="-g"
11655 fi
11656 else
11657 if test "$GXX" = yes; then
11658 CXXFLAGS="-O2"
11659 else
11660 CXXFLAGS=
11661 fi
11662 fi
11663 for ac_declaration in \
11664 '' \
11665 'extern "C" void std::exit (int) throw (); using std::exit;' \
11666 'extern "C" void std::exit (int); using std::exit;' \
11667 'extern "C" void exit (int) throw ();' \
11668 'extern "C" void exit (int);' \
11669 'void exit (int);'
11670 do
11671 cat >conftest.$ac_ext <<_ACEOF
11672 /* confdefs.h. */
11673 _ACEOF
11674 cat confdefs.h >>conftest.$ac_ext
11675 cat >>conftest.$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11677 $ac_declaration
11678 #include <stdlib.h>
11679 int
11680 main ()
11681 {
11682 exit (42);
11683 ;
11684 return 0;
11685 }
11686 _ACEOF
11687 rm -f conftest.$ac_objext
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>conftest.er1
11690 ac_status=$?
11691 grep -v '^ *+' conftest.er1 >conftest.err
11692 rm -f conftest.er1
11693 cat conftest.err >&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try='test -z "$ac_cxx_werror_flag"
11697 || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11700 ac_status=$?
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11706 ac_status=$?
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 :
11710 else
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.$ac_ext >&5
11713
11714 continue
11715 fi
11716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11717 cat >conftest.$ac_ext <<_ACEOF
11718 /* confdefs.h. */
11719 _ACEOF
11720 cat confdefs.h >>conftest.$ac_ext
11721 cat >>conftest.$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11723 $ac_declaration
11724 int
11725 main ()
11726 {
11727 exit (42);
11728 ;
11729 return 0;
11730 }
11731 _ACEOF
11732 rm -f conftest.$ac_objext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11734 (eval $ac_compile) 2>conftest.er1
11735 ac_status=$?
11736 grep -v '^ *+' conftest.er1 >conftest.err
11737 rm -f conftest.er1
11738 cat conftest.err >&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } &&
11741 { ac_try='test -z "$ac_cxx_werror_flag"
11742 || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11745 ac_status=$?
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } &&
11748 { ac_try='test -s conftest.$ac_objext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11751 ac_status=$?
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11754 break
11755 else
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11758
11759 fi
11760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11761 done
11762 rm -f conftest*
11763 if test -n "$ac_declaration"; then
11764 echo '#ifdef __cplusplus' >>confdefs.h
11765 echo $ac_declaration >>confdefs.h
11766 echo '#endif' >>confdefs.h
11767 fi
11768
11769 ac_ext=cc
11770 ac_cpp='$CXXCPP $CPPFLAGS'
11771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11774
11775
11776 ac_ext=c
11777 ac_cpp='$CPP $CPPFLAGS'
11778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11781
11782
11783 if test -n "$ac_tool_prefix"; then
11784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11786 echo "$as_me:$LINENO: checking for $ac_word" >&5
11787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11788 if test "${ac_cv_prog_RANLIB+set}" = set; then
11789 echo $ECHO_N "(cached) $ECHO_C" >&6
11790 else
11791 if test -n "$RANLIB"; then
11792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11793 else
11794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11795 for as_dir in $PATH
11796 do
11797 IFS=$as_save_IFS
11798 test -z "$as_dir" && as_dir=.
11799 for ac_exec_ext in '' $ac_executable_extensions; do
11800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11803 break 2
11804 fi
11805 done
11806 done
11807
11808 fi
11809 fi
11810 RANLIB=$ac_cv_prog_RANLIB
11811 if test -n "$RANLIB"; then
11812 echo "$as_me:$LINENO: result: $RANLIB" >&5
11813 echo "${ECHO_T}$RANLIB" >&6
11814 else
11815 echo "$as_me:$LINENO: result: no" >&5
11816 echo "${ECHO_T}no" >&6
11817 fi
11818
11819 fi
11820 if test -z "$ac_cv_prog_RANLIB"; then
11821 ac_ct_RANLIB=$RANLIB
11822 # Extract the first word of "ranlib", so it can be a program name with args.
11823 set dummy ranlib; ac_word=$2
11824 echo "$as_me:$LINENO: checking for $ac_word" >&5
11825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11826 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 else
11829 if test -n "$ac_ct_RANLIB"; then
11830 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11831 else
11832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11833 for as_dir in $PATH
11834 do
11835 IFS=$as_save_IFS
11836 test -z "$as_dir" && as_dir=.
11837 for ac_exec_ext in '' $ac_executable_extensions; do
11838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11839 ac_cv_prog_ac_ct_RANLIB="ranlib"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11841 break 2
11842 fi
11843 done
11844 done
11845
11846 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11847 fi
11848 fi
11849 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11850 if test -n "$ac_ct_RANLIB"; then
11851 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11852 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11853 else
11854 echo "$as_me:$LINENO: result: no" >&5
11855 echo "${ECHO_T}no" >&6
11856 fi
11857
11858 RANLIB=$ac_ct_RANLIB
11859 else
11860 RANLIB="$ac_cv_prog_RANLIB"
11861 fi
11862
11863
11864 # Extract the first word of "ar", so it can be a program name with args.
11865 set dummy ar; ac_word=$2
11866 echo "$as_me:$LINENO: checking for $ac_word" >&5
11867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11868 if test "${ac_cv_prog_AR+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 else
11871 if test -n "$AR"; then
11872 ac_cv_prog_AR="$AR" # Let the user override the test.
11873 else
11874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11875 for as_dir in $PATH
11876 do
11877 IFS=$as_save_IFS
11878 test -z "$as_dir" && as_dir=.
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11881 ac_cv_prog_AR="ar"
11882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11883 break 2
11884 fi
11885 done
11886 done
11887
11888 fi
11889 fi
11890 AR=$ac_cv_prog_AR
11891 if test -n "$AR"; then
11892 echo "$as_me:$LINENO: result: $AR" >&5
11893 echo "${ECHO_T}$AR" >&6
11894 else
11895 echo "$as_me:$LINENO: result: no" >&5
11896 echo "${ECHO_T}no" >&6
11897 fi
11898
11899 if test "x$AR" = "x" ; then
11900 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11901 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11902 { (exit 1); exit 1; }; }
11903 fi
11904
11905 # Find a good install program. We prefer a C program (faster),
11906 # so one script is as good as another. But avoid the broken or
11907 # incompatible versions:
11908 # SysV /etc/install, /usr/sbin/install
11909 # SunOS /usr/etc/install
11910 # IRIX /sbin/install
11911 # AIX /bin/install
11912 # AmigaOS /C/install, which installs bootblocks on floppy discs
11913 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11914 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11916 # OS/2's system install, which has a completely different semantic
11917 # ./install, which can be erroneously created by make from ./install.sh.
11918 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11919 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11920 if test -z "$INSTALL"; then
11921 if test "${ac_cv_path_install+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 else
11924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11925 for as_dir in $PATH
11926 do
11927 IFS=$as_save_IFS
11928 test -z "$as_dir" && as_dir=.
11929 # Account for people who put trailing slashes in PATH elements.
11930 case $as_dir/ in
11931 ./ | .// | /cC/* | \
11932 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11933 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11934 /usr/ucb/* ) ;;
11935 *)
11936 # OSF1 and SCO ODT 3.0 have their own names for install.
11937 # Don't use installbsd from OSF since it installs stuff as root
11938 # by default.
11939 for ac_prog in ginstall scoinst install; do
11940 for ac_exec_ext in '' $ac_executable_extensions; do
11941 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11942 if test $ac_prog = install &&
11943 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11944 # AIX install. It has an incompatible calling convention.
11945 :
11946 elif test $ac_prog = install &&
11947 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11948 # program-specific install script used by HP pwplus--don't use.
11949 :
11950 else
11951 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11952 break 3
11953 fi
11954 fi
11955 done
11956 done
11957 ;;
11958 esac
11959 done
11960
11961
11962 fi
11963 if test "${ac_cv_path_install+set}" = set; then
11964 INSTALL=$ac_cv_path_install
11965 else
11966 # As a last resort, use the slow shell script. We don't cache a
11967 # path for INSTALL within a source directory, because that will
11968 # break other packages using the cache if that directory is
11969 # removed, or if the path is relative.
11970 INSTALL=$ac_install_sh
11971 fi
11972 fi
11973 echo "$as_me:$LINENO: result: $INSTALL" >&5
11974 echo "${ECHO_T}$INSTALL" >&6
11975
11976 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11977 # It thinks the first close brace ends the variable substitution.
11978 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11979
11980 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11981
11982 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11983
11984
11985 case ${INSTALL} in
11986 /* ) # Absolute
11987 ;;
11988 ?:* ) # Drive letter, considered as absolute.
11989 ;;
11990 *)
11991 INSTALL=`pwd`/${INSTALL} ;;
11992 esac
11993
11994 case ${host} in
11995 *-hp-hpux* )
11996 INSTALL_DIR="mkdir"
11997 ;;
11998
11999 *) INSTALL_DIR="$INSTALL -d"
12000 ;;
12001 esac
12002
12003
12004 case "${host}" in
12005
12006 powerpc-*-darwin* )
12007 INSTALL_PROGRAM="cp -fp"
12008 INSTALL_DATA="cp -fp"
12009 ;;
12010 *)
12011 ;;
12012 esac
12013
12014 # Extract the first word of "strip", so it can be a program name with args.
12015 set dummy strip; ac_word=$2
12016 echo "$as_me:$LINENO: checking for $ac_word" >&5
12017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12018 if test "${ac_cv_prog_STRIP+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 else
12021 if test -n "$STRIP"; then
12022 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12023 else
12024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025 for as_dir in $PATH
12026 do
12027 IFS=$as_save_IFS
12028 test -z "$as_dir" && as_dir=.
12029 for ac_exec_ext in '' $ac_executable_extensions; do
12030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12031 ac_cv_prog_STRIP="strip"
12032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 break 2
12034 fi
12035 done
12036 done
12037
12038 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12039 fi
12040 fi
12041 STRIP=$ac_cv_prog_STRIP
12042 if test -n "$STRIP"; then
12043 echo "$as_me:$LINENO: result: $STRIP" >&5
12044 echo "${ECHO_T}$STRIP" >&6
12045 else
12046 echo "$as_me:$LINENO: result: no" >&5
12047 echo "${ECHO_T}no" >&6
12048 fi
12049
12050
12051 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12052 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12053 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 else
12056
12057 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12058 egrep -s GNU > /dev/null); then
12059 wx_cv_prog_makeisgnu="yes"
12060 else
12061 wx_cv_prog_makeisgnu="no"
12062 fi
12063
12064 fi
12065 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12066 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12067
12068 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12069 IF_GNU_MAKE=""
12070 else
12071 IF_GNU_MAKE="#"
12072 fi
12073
12074
12075
12076 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12077 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12078 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12079 if test "${wx_cv_prog_makevpath+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 else
12082
12083 cat - << EOF > confMake
12084 check : file
12085 cp \$? \$@
12086 cp \$? final_file
12087 EOF
12088
12089 if test ! -d sub ; then
12090 mkdir sub
12091 fi
12092 echo dummy > sub/file
12093 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12094 RESULT=$?
12095 rm -f sub/file check final_file confMake
12096 rmdir sub
12097 if test "$RESULT" = 0; then
12098 wx_cv_prog_makevpath="yes"
12099 else
12100 wx_cv_prog_makevpath="no"
12101 fi
12102
12103 fi
12104 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12105 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12106
12107 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12108 { { echo "$as_me:$LINENO: error:
12109 You need a make-utility that is able to use the variable
12110 VPATH correctly.
12111 If your version of make does not support VPATH correctly,
12112 please install GNU-make (possibly as gmake), and start
12113 configure with the following command:
12114 export MAKE=gmake; ./configure for sh-type shells
12115 setenv MAKE gmake; ./configure for csh-type shells
12116 Also please do remember to use gmake in this case every time
12117 you are trying to compile.
12118 " >&5
12119 echo "$as_me: error:
12120 You need a make-utility that is able to use the variable
12121 VPATH correctly.
12122 If your version of make does not support VPATH correctly,
12123 please install GNU-make (possibly as gmake), and start
12124 configure with the following command:
12125 export MAKE=gmake; ./configure for sh-type shells
12126 setenv MAKE gmake; ./configure for csh-type shells
12127 Also please do remember to use gmake in this case every time
12128 you are trying to compile.
12129 " >&2;}
12130 { (exit 1); exit 1; }; }
12131 fi fi
12132 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12133 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12134 LN_S=$as_ln_s
12135 if test "$LN_S" = "ln -s"; then
12136 echo "$as_me:$LINENO: result: yes" >&5
12137 echo "${ECHO_T}yes" >&6
12138 else
12139 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12140 echo "${ECHO_T}no, using $LN_S" >&6
12141 fi
12142
12143
12144
12145 case "${host}" in
12146 *-pc-os2_emx | *-pc-os2-emx )
12147 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12148 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12149 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12150 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 else
12153 ac_check_lib_save_LIBS=$LIBS
12154 LIBS="-lcExt $LIBS"
12155 cat >conftest.$ac_ext <<_ACEOF
12156 /* confdefs.h. */
12157 _ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161
12162 /* Override any gcc2 internal prototype to avoid an error. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 /* We use char because int might match the return type of a gcc2
12167 builtin and then its argument prototype would still apply. */
12168 char drand48 ();
12169 int
12170 main ()
12171 {
12172 drand48 ();
12173 ;
12174 return 0;
12175 }
12176 _ACEOF
12177 rm -f conftest.$ac_objext conftest$ac_exeext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12179 (eval $ac_link) 2>conftest.er1
12180 ac_status=$?
12181 grep -v '^ *+' conftest.er1 >conftest.err
12182 rm -f conftest.er1
12183 cat conftest.err >&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try='test -z "$ac_c_werror_flag"
12187 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5
12190 ac_status=$?
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } &&
12193 { ac_try='test -s conftest$ac_exeext'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12196 ac_status=$?
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then
12199 ac_cv_lib_cExt_drand48=yes
12200 else
12201 echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.$ac_ext >&5
12203
12204 ac_cv_lib_cExt_drand48=no
12205 fi
12206 rm -f conftest.err conftest.$ac_objext \
12207 conftest$ac_exeext conftest.$ac_ext
12208 LIBS=$ac_check_lib_save_LIBS
12209 fi
12210 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12211 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12212 if test $ac_cv_lib_cExt_drand48 = yes; then
12213 LIBS="$LIBS -lcExt"
12214 fi
12215
12216 else
12217 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12218 fi
12219 echo "$as_me:$LINENO: checking for gcc version" >&5
12220 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12221 if test "${wx_cv_gccversion+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 else
12224
12225 cat >conftest.$ac_ext <<_ACEOF
12226 /* confdefs.h. */
12227 _ACEOF
12228 cat confdefs.h >>conftest.$ac_ext
12229 cat >>conftest.$ac_ext <<_ACEOF
12230 /* end confdefs.h. */
12231
12232 int
12233 main ()
12234 {
12235
12236 #if (__GNUC__ < 3)
12237 #error old gcc
12238 #endif
12239
12240 ;
12241 return 0;
12242 }
12243 _ACEOF
12244 rm -f conftest.$ac_objext
12245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12246 (eval $ac_compile) 2>conftest.er1
12247 ac_status=$?
12248 grep -v '^ *+' conftest.er1 >conftest.err
12249 rm -f conftest.er1
12250 cat conftest.err >&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); } &&
12253 { ac_try='test -z "$ac_c_werror_flag"
12254 || test ! -s conftest.err'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12257 ac_status=$?
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; } &&
12260 { ac_try='test -s conftest.$ac_objext'
12261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5
12263 ac_status=$?
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then
12266
12267 cat >conftest.$ac_ext <<_ACEOF
12268 /* confdefs.h. */
12269 _ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273
12274 int
12275 main ()
12276 {
12277
12278 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12279 #error intermediate gcc
12280 #endif
12281
12282 ;
12283 return 0;
12284 }
12285 _ACEOF
12286 rm -f conftest.$ac_objext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12288 (eval $ac_compile) 2>conftest.er1
12289 ac_status=$?
12290 grep -v '^ *+' conftest.er1 >conftest.err
12291 rm -f conftest.er1
12292 cat conftest.err >&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12299 ac_status=$?
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try='test -s conftest.$ac_objext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12305 ac_status=$?
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308
12309 wx_cv_gccversion=Innotek
12310
12311 else
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.$ac_ext >&5
12314
12315
12316 wx_cv_gccversion=3
12317
12318
12319 fi
12320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12321
12322 else
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.$ac_ext >&5
12325
12326
12327 wx_cv_gccversion=2
12328
12329
12330 fi
12331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12332
12333 fi
12334 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12335 echo "${ECHO_T}$wx_cv_gccversion" >&6
12336 if test "$wx_cv_gccversion" = "2"; then
12337 LIBS="$LIBS -lstdcpp"
12338 LDFLAGS="$LDFLAGS -Zsysv-signals"
12339 else
12340 if test "$wx_cv_gccversion" = "3"; then
12341 LIBS="$LIBS -lstdcxx"
12342 LDFLAGS="$LDFLAGS -Zsysv-signals"
12343 else
12344 LIBS="$LIBS -lstdc++"
12345 fi
12346 fi
12347 if test "$wxUSE_OMF" = "yes"; then
12348 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12349 fi
12350 ;;
12351 *)
12352
12353
12354
12355 ac_ext=cc
12356 ac_cpp='$CXXCPP $CPPFLAGS'
12357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12360
12361
12362
12363 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12364 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12365 if test "${ac_cv_string_strcasecmp+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else
12368
12369 cat >conftest.$ac_ext <<_ACEOF
12370 /* confdefs.h. */
12371 _ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12375
12376 #include <string.h>
12377
12378 int
12379 main ()
12380 {
12381
12382 strcasecmp("foo", "bar");
12383
12384 ;
12385 return 0;
12386 }
12387 _ACEOF
12388 rm -f conftest.$ac_objext conftest$ac_exeext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12390 (eval $ac_link) 2>conftest.er1
12391 ac_status=$?
12392 grep -v '^ *+' conftest.er1 >conftest.err
12393 rm -f conftest.er1
12394 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try='test -z "$ac_cxx_werror_flag"
12398 || test ! -s conftest.err'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12401 ac_status=$?
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; } &&
12404 { ac_try='test -s conftest$ac_exeext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12407 ac_status=$?
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_cv_string_strcasecmp=yes
12411 else
12412 echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.$ac_ext >&5
12414
12415 ac_cv_string_strcasecmp=no
12416
12417 fi
12418 rm -f conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420
12421 fi
12422 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12423 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12424
12425 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12426 cat >>confdefs.h <<\_ACEOF
12427 #define HAVE_STRCASECMP_IN_STRING_H 1
12428 _ACEOF
12429
12430 else
12431 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12432 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12433 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12434 echo $ECHO_N "(cached) $ECHO_C" >&6
12435 else
12436
12437 cat >conftest.$ac_ext <<_ACEOF
12438 /* confdefs.h. */
12439 _ACEOF
12440 cat confdefs.h >>conftest.$ac_ext
12441 cat >>conftest.$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12443
12444 #include <strings.h>
12445
12446 int
12447 main ()
12448 {
12449
12450 strcasecmp("foo", "bar");
12451
12452 ;
12453 return 0;
12454 }
12455 _ACEOF
12456 rm -f conftest.$ac_objext conftest$ac_exeext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458 (eval $ac_link) 2>conftest.er1
12459 ac_status=$?
12460 grep -v '^ *+' conftest.er1 >conftest.err
12461 rm -f conftest.er1
12462 cat conftest.err >&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try='test -z "$ac_cxx_werror_flag"
12466 || test ! -s conftest.err'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12469 ac_status=$?
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; } &&
12472 { ac_try='test -s conftest$ac_exeext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12475 ac_status=$?
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 ac_cv_strings_strcasecmp=yes
12479 else
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.$ac_ext >&5
12482
12483 ac_cv_strings_strcasecmp=no
12484
12485 fi
12486 rm -f conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488
12489 fi
12490 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12491 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12492
12493 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12494 cat >>confdefs.h <<\_ACEOF
12495 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12496 _ACEOF
12497
12498 else
12499 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12500 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12501 { (exit 1); exit 1; }; }
12502 fi
12503 fi
12504
12505 ac_ext=c
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12510
12511 ;;
12512 esac
12513
12514
12515 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12517 if test "${ac_cv_header_stdc+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 else
12520 cat >conftest.$ac_ext <<_ACEOF
12521 /* confdefs.h. */
12522 _ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12526 #include <stdlib.h>
12527 #include <stdarg.h>
12528 #include <string.h>
12529 #include <float.h>
12530
12531 int
12532 main ()
12533 {
12534
12535 ;
12536 return 0;
12537 }
12538 _ACEOF
12539 rm -f conftest.$ac_objext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12542 ac_status=$?
12543 grep -v '^ *+' conftest.er1 >conftest.err
12544 rm -f conftest.er1
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -z "$ac_c_werror_flag"
12549 || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12552 ac_status=$?
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try='test -s conftest.$ac_objext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12558 ac_status=$?
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 ac_cv_header_stdc=yes
12562 else
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.$ac_ext >&5
12565
12566 ac_cv_header_stdc=no
12567 fi
12568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12569
12570 if test $ac_cv_header_stdc = yes; then
12571 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12572 cat >conftest.$ac_ext <<_ACEOF
12573 /* confdefs.h. */
12574 _ACEOF
12575 cat confdefs.h >>conftest.$ac_ext
12576 cat >>conftest.$ac_ext <<_ACEOF
12577 /* end confdefs.h. */
12578 #include <string.h>
12579
12580 _ACEOF
12581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12582 $EGREP "memchr" >/dev/null 2>&1; then
12583 :
12584 else
12585 ac_cv_header_stdc=no
12586 fi
12587 rm -f conftest*
12588
12589 fi
12590
12591 if test $ac_cv_header_stdc = yes; then
12592 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12593 cat >conftest.$ac_ext <<_ACEOF
12594 /* confdefs.h. */
12595 _ACEOF
12596 cat confdefs.h >>conftest.$ac_ext
12597 cat >>conftest.$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 #include <stdlib.h>
12600
12601 _ACEOF
12602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12603 $EGREP "free" >/dev/null 2>&1; then
12604 :
12605 else
12606 ac_cv_header_stdc=no
12607 fi
12608 rm -f conftest*
12609
12610 fi
12611
12612 if test $ac_cv_header_stdc = yes; then
12613 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12614 if test "$cross_compiling" = yes; then
12615 :
12616 else
12617 cat >conftest.$ac_ext <<_ACEOF
12618 /* confdefs.h. */
12619 _ACEOF
12620 cat confdefs.h >>conftest.$ac_ext
12621 cat >>conftest.$ac_ext <<_ACEOF
12622 /* end confdefs.h. */
12623 #include <ctype.h>
12624 #if ((' ' & 0x0FF) == 0x020)
12625 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12626 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12627 #else
12628 # define ISLOWER(c) \
12629 (('a' <= (c) && (c) <= 'i') \
12630 || ('j' <= (c) && (c) <= 'r') \
12631 || ('s' <= (c) && (c) <= 'z'))
12632 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12633 #endif
12634
12635 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12636 int
12637 main ()
12638 {
12639 int i;
12640 for (i = 0; i < 256; i++)
12641 if (XOR (islower (i), ISLOWER (i))
12642 || toupper (i) != TOUPPER (i))
12643 exit(2);
12644 exit (0);
12645 }
12646 _ACEOF
12647 rm -f conftest$ac_exeext
12648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12649 (eval $ac_link) 2>&5
12650 ac_status=$?
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12655 ac_status=$?
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; }; then
12658 :
12659 else
12660 echo "$as_me: program exited with status $ac_status" >&5
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12663
12664 ( exit $ac_status )
12665 ac_cv_header_stdc=no
12666 fi
12667 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12668 fi
12669 fi
12670 fi
12671 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12672 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12673 if test $ac_cv_header_stdc = yes; then
12674
12675 cat >>confdefs.h <<\_ACEOF
12676 #define STDC_HEADERS 1
12677 _ACEOF
12678
12679 fi
12680
12681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12692 inttypes.h stdint.h unistd.h
12693 do
12694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12695 echo "$as_me:$LINENO: checking for $ac_header" >&5
12696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 else
12700 cat >conftest.$ac_ext <<_ACEOF
12701 /* confdefs.h. */
12702 _ACEOF
12703 cat confdefs.h >>conftest.$ac_ext
12704 cat >>conftest.$ac_ext <<_ACEOF
12705 /* end confdefs.h. */
12706 $ac_includes_default
12707
12708 #include <$ac_header>
12709 _ACEOF
12710 rm -f conftest.$ac_objext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12712 (eval $ac_compile) 2>conftest.er1
12713 ac_status=$?
12714 grep -v '^ *+' conftest.er1 >conftest.err
12715 rm -f conftest.er1
12716 cat conftest.err >&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try='test -z "$ac_c_werror_flag"
12720 || test ! -s conftest.err'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12723 ac_status=$?
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; } &&
12726 { ac_try='test -s conftest.$ac_objext'
12727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12728 (eval $ac_try) 2>&5
12729 ac_status=$?
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); }; }; then
12732 eval "$as_ac_Header=yes"
12733 else
12734 echo "$as_me: failed program was:" >&5
12735 sed 's/^/| /' conftest.$ac_ext >&5
12736
12737 eval "$as_ac_Header=no"
12738 fi
12739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12740 fi
12741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12744 cat >>confdefs.h <<_ACEOF
12745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12746 _ACEOF
12747
12748 fi
12749
12750 done
12751
12752
12753
12754 for ac_header in stdlib.h
12755 do
12756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12758 echo "$as_me:$LINENO: checking for $ac_header" >&5
12759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12762 fi
12763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12765 else
12766 # Is the header compilable?
12767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12769 cat >conftest.$ac_ext <<_ACEOF
12770 /* confdefs.h. */
12771 _ACEOF
12772 cat confdefs.h >>conftest.$ac_ext
12773 cat >>conftest.$ac_ext <<_ACEOF
12774 /* end confdefs.h. */
12775 $ac_includes_default
12776 #include <$ac_header>
12777 _ACEOF
12778 rm -f conftest.$ac_objext
12779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>conftest.er1
12781 ac_status=$?
12782 grep -v '^ *+' conftest.er1 >conftest.err
12783 rm -f conftest.er1
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } &&
12787 { ac_try='test -z "$ac_c_werror_flag"
12788 || test ! -s conftest.err'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12791 ac_status=$?
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try='test -s conftest.$ac_objext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12797 ac_status=$?
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 ac_header_compiler=yes
12801 else
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12804
12805 ac_header_compiler=no
12806 fi
12807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12809 echo "${ECHO_T}$ac_header_compiler" >&6
12810
12811 # Is the header present?
12812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12814 cat >conftest.$ac_ext <<_ACEOF
12815 /* confdefs.h. */
12816 _ACEOF
12817 cat confdefs.h >>conftest.$ac_ext
12818 cat >>conftest.$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12820 #include <$ac_header>
12821 _ACEOF
12822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12824 ac_status=$?
12825 grep -v '^ *+' conftest.er1 >conftest.err
12826 rm -f conftest.er1
12827 cat conftest.err >&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } >/dev/null; then
12830 if test -s conftest.err; then
12831 ac_cpp_err=$ac_c_preproc_warn_flag
12832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12833 else
12834 ac_cpp_err=
12835 fi
12836 else
12837 ac_cpp_err=yes
12838 fi
12839 if test -z "$ac_cpp_err"; then
12840 ac_header_preproc=yes
12841 else
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12844
12845 ac_header_preproc=no
12846 fi
12847 rm -f conftest.err conftest.$ac_ext
12848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12849 echo "${ECHO_T}$ac_header_preproc" >&6
12850
12851 # So? What about this header?
12852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12853 yes:no: )
12854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12858 ac_header_preproc=yes
12859 ;;
12860 no:yes:* )
12861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12873 (
12874 cat <<\_ASBOX
12875 ## ----------------------------------------- ##
12876 ## Report this to wx-dev@lists.wxwidgets.org ##
12877 ## ----------------------------------------- ##
12878 _ASBOX
12879 ) |
12880 sed "s/^/$as_me: WARNING: /" >&2
12881 ;;
12882 esac
12883 echo "$as_me:$LINENO: checking for $ac_header" >&5
12884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 else
12888 eval "$as_ac_Header=\$ac_header_preproc"
12889 fi
12890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12892
12893 fi
12894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12895 cat >>confdefs.h <<_ACEOF
12896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12897 _ACEOF
12898
12899 fi
12900
12901 done
12902
12903
12904 for ac_header in malloc.h
12905 do
12906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12908 echo "$as_me:$LINENO: checking for $ac_header" >&5
12909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 fi
12913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12915 else
12916 # Is the header compilable?
12917 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12919 cat >conftest.$ac_ext <<_ACEOF
12920 /* confdefs.h. */
12921 _ACEOF
12922 cat confdefs.h >>conftest.$ac_ext
12923 cat >>conftest.$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12925 $ac_includes_default
12926 #include <$ac_header>
12927 _ACEOF
12928 rm -f conftest.$ac_objext
12929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12930 (eval $ac_compile) 2>conftest.er1
12931 ac_status=$?
12932 grep -v '^ *+' conftest.er1 >conftest.err
12933 rm -f conftest.er1
12934 cat conftest.err >&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); } &&
12937 { ac_try='test -z "$ac_c_werror_flag"
12938 || test ! -s conftest.err'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; } &&
12944 { ac_try='test -s conftest.$ac_objext'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; }; then
12950 ac_header_compiler=yes
12951 else
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.$ac_ext >&5
12954
12955 ac_header_compiler=no
12956 fi
12957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12959 echo "${ECHO_T}$ac_header_compiler" >&6
12960
12961 # Is the header present?
12962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12964 cat >conftest.$ac_ext <<_ACEOF
12965 /* confdefs.h. */
12966 _ACEOF
12967 cat confdefs.h >>conftest.$ac_ext
12968 cat >>conftest.$ac_ext <<_ACEOF
12969 /* end confdefs.h. */
12970 #include <$ac_header>
12971 _ACEOF
12972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12974 ac_status=$?
12975 grep -v '^ *+' conftest.er1 >conftest.err
12976 rm -f conftest.er1
12977 cat conftest.err >&5
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); } >/dev/null; then
12980 if test -s conftest.err; then
12981 ac_cpp_err=$ac_c_preproc_warn_flag
12982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12983 else
12984 ac_cpp_err=
12985 fi
12986 else
12987 ac_cpp_err=yes
12988 fi
12989 if test -z "$ac_cpp_err"; then
12990 ac_header_preproc=yes
12991 else
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12994
12995 ac_header_preproc=no
12996 fi
12997 rm -f conftest.err conftest.$ac_ext
12998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12999 echo "${ECHO_T}$ac_header_preproc" >&6
13000
13001 # So? What about this header?
13002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13003 yes:no: )
13004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13007 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13008 ac_header_preproc=yes
13009 ;;
13010 no:yes:* )
13011 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13013 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13014 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13016 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13018 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13021 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13022 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13023 (
13024 cat <<\_ASBOX
13025 ## ----------------------------------------- ##
13026 ## Report this to wx-dev@lists.wxwidgets.org ##
13027 ## ----------------------------------------- ##
13028 _ASBOX
13029 ) |
13030 sed "s/^/$as_me: WARNING: /" >&2
13031 ;;
13032 esac
13033 echo "$as_me:$LINENO: checking for $ac_header" >&5
13034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13037 else
13038 eval "$as_ac_Header=\$ac_header_preproc"
13039 fi
13040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13042
13043 fi
13044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13045 cat >>confdefs.h <<_ACEOF
13046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13047 _ACEOF
13048
13049 fi
13050
13051 done
13052
13053
13054 for ac_header in unistd.h
13055 do
13056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13058 echo "$as_me:$LINENO: checking for $ac_header" >&5
13059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13062 fi
13063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13065 else
13066 # Is the header compilable?
13067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13069 cat >conftest.$ac_ext <<_ACEOF
13070 /* confdefs.h. */
13071 _ACEOF
13072 cat confdefs.h >>conftest.$ac_ext
13073 cat >>conftest.$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 $ac_includes_default
13076 #include <$ac_header>
13077 _ACEOF
13078 rm -f conftest.$ac_objext
13079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13080 (eval $ac_compile) 2>conftest.er1
13081 ac_status=$?
13082 grep -v '^ *+' conftest.er1 >conftest.err
13083 rm -f conftest.er1
13084 cat conftest.err >&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } &&
13087 { ac_try='test -z "$ac_c_werror_flag"
13088 || test ! -s conftest.err'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13091 ac_status=$?
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; } &&
13094 { ac_try='test -s conftest.$ac_objext'
13095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096 (eval $ac_try) 2>&5
13097 ac_status=$?
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); }; }; then
13100 ac_header_compiler=yes
13101 else
13102 echo "$as_me: failed program was:" >&5
13103 sed 's/^/| /' conftest.$ac_ext >&5
13104
13105 ac_header_compiler=no
13106 fi
13107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13109 echo "${ECHO_T}$ac_header_compiler" >&6
13110
13111 # Is the header present?
13112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13114 cat >conftest.$ac_ext <<_ACEOF
13115 /* confdefs.h. */
13116 _ACEOF
13117 cat confdefs.h >>conftest.$ac_ext
13118 cat >>conftest.$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13120 #include <$ac_header>
13121 _ACEOF
13122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13123 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13124 ac_status=$?
13125 grep -v '^ *+' conftest.er1 >conftest.err
13126 rm -f conftest.er1
13127 cat conftest.err >&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } >/dev/null; then
13130 if test -s conftest.err; then
13131 ac_cpp_err=$ac_c_preproc_warn_flag
13132 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13133 else
13134 ac_cpp_err=
13135 fi
13136 else
13137 ac_cpp_err=yes
13138 fi
13139 if test -z "$ac_cpp_err"; then
13140 ac_header_preproc=yes
13141 else
13142 echo "$as_me: failed program was:" >&5
13143 sed 's/^/| /' conftest.$ac_ext >&5
13144
13145 ac_header_preproc=no
13146 fi
13147 rm -f conftest.err conftest.$ac_ext
13148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13149 echo "${ECHO_T}$ac_header_preproc" >&6
13150
13151 # So? What about this header?
13152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13153 yes:no: )
13154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13158 ac_header_preproc=yes
13159 ;;
13160 no:yes:* )
13161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13173 (
13174 cat <<\_ASBOX
13175 ## ----------------------------------------- ##
13176 ## Report this to wx-dev@lists.wxwidgets.org ##
13177 ## ----------------------------------------- ##
13178 _ASBOX
13179 ) |
13180 sed "s/^/$as_me: WARNING: /" >&2
13181 ;;
13182 esac
13183 echo "$as_me:$LINENO: checking for $ac_header" >&5
13184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 else
13188 eval "$as_ac_Header=\$ac_header_preproc"
13189 fi
13190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13192
13193 fi
13194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13195 cat >>confdefs.h <<_ACEOF
13196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13197 _ACEOF
13198
13199 fi
13200
13201 done
13202
13203
13204 for ac_header in wchar.h
13205 do
13206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13208 echo "$as_me:$LINENO: checking for $ac_header" >&5
13209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13211 echo $ECHO_N "(cached) $ECHO_C" >&6
13212 fi
13213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13215 else
13216 # Is the header compilable?
13217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13219 cat >conftest.$ac_ext <<_ACEOF
13220 /* confdefs.h. */
13221 _ACEOF
13222 cat confdefs.h >>conftest.$ac_ext
13223 cat >>conftest.$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 $ac_includes_default
13226 #include <$ac_header>
13227 _ACEOF
13228 rm -f conftest.$ac_objext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13230 (eval $ac_compile) 2>conftest.er1
13231 ac_status=$?
13232 grep -v '^ *+' conftest.er1 >conftest.err
13233 rm -f conftest.er1
13234 cat conftest.err >&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try='test -z "$ac_c_werror_flag"
13238 || test ! -s conftest.err'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13241 ac_status=$?
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; } &&
13244 { ac_try='test -s conftest.$ac_objext'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13247 ac_status=$?
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; }; then
13250 ac_header_compiler=yes
13251 else
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13254
13255 ac_header_compiler=no
13256 fi
13257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13259 echo "${ECHO_T}$ac_header_compiler" >&6
13260
13261 # Is the header present?
13262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13264 cat >conftest.$ac_ext <<_ACEOF
13265 /* confdefs.h. */
13266 _ACEOF
13267 cat confdefs.h >>conftest.$ac_ext
13268 cat >>conftest.$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 #include <$ac_header>
13271 _ACEOF
13272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13274 ac_status=$?
13275 grep -v '^ *+' conftest.er1 >conftest.err
13276 rm -f conftest.er1
13277 cat conftest.err >&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } >/dev/null; then
13280 if test -s conftest.err; then
13281 ac_cpp_err=$ac_c_preproc_warn_flag
13282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13283 else
13284 ac_cpp_err=
13285 fi
13286 else
13287 ac_cpp_err=yes
13288 fi
13289 if test -z "$ac_cpp_err"; then
13290 ac_header_preproc=yes
13291 else
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.$ac_ext >&5
13294
13295 ac_header_preproc=no
13296 fi
13297 rm -f conftest.err conftest.$ac_ext
13298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13299 echo "${ECHO_T}$ac_header_preproc" >&6
13300
13301 # So? What about this header?
13302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13303 yes:no: )
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13308 ac_header_preproc=yes
13309 ;;
13310 no:yes:* )
13311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13323 (
13324 cat <<\_ASBOX
13325 ## ----------------------------------------- ##
13326 ## Report this to wx-dev@lists.wxwidgets.org ##
13327 ## ----------------------------------------- ##
13328 _ASBOX
13329 ) |
13330 sed "s/^/$as_me: WARNING: /" >&2
13331 ;;
13332 esac
13333 echo "$as_me:$LINENO: checking for $ac_header" >&5
13334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 else
13338 eval "$as_ac_Header=\$ac_header_preproc"
13339 fi
13340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13342
13343 fi
13344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13345 cat >>confdefs.h <<_ACEOF
13346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13347 _ACEOF
13348
13349 fi
13350
13351 done
13352
13353
13354 if test "$ac_cv_header_wchar_h" != "yes"; then
13355
13356 for ac_header in wcstr.h
13357 do
13358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13360 echo "$as_me:$LINENO: checking for $ac_header" >&5
13361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 fi
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13367 else
13368 # Is the header compilable?
13369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h. */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 $ac_includes_default
13378 #include <$ac_header>
13379 _ACEOF
13380 rm -f conftest.$ac_objext
13381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13382 (eval $ac_compile) 2>conftest.er1
13383 ac_status=$?
13384 grep -v '^ *+' conftest.er1 >conftest.err
13385 rm -f conftest.er1
13386 cat conftest.err >&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } &&
13389 { ac_try='test -z "$ac_c_werror_flag"
13390 || test ! -s conftest.err'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13393 ac_status=$?
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; } &&
13396 { ac_try='test -s conftest.$ac_objext'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13399 ac_status=$?
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; }; then
13402 ac_header_compiler=yes
13403 else
13404 echo "$as_me: failed program was:" >&5
13405 sed 's/^/| /' conftest.$ac_ext >&5
13406
13407 ac_header_compiler=no
13408 fi
13409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13411 echo "${ECHO_T}$ac_header_compiler" >&6
13412
13413 # Is the header present?
13414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13416 cat >conftest.$ac_ext <<_ACEOF
13417 /* confdefs.h. */
13418 _ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13422 #include <$ac_header>
13423 _ACEOF
13424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13425 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13426 ac_status=$?
13427 grep -v '^ *+' conftest.er1 >conftest.err
13428 rm -f conftest.er1
13429 cat conftest.err >&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } >/dev/null; then
13432 if test -s conftest.err; then
13433 ac_cpp_err=$ac_c_preproc_warn_flag
13434 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13435 else
13436 ac_cpp_err=
13437 fi
13438 else
13439 ac_cpp_err=yes
13440 fi
13441 if test -z "$ac_cpp_err"; then
13442 ac_header_preproc=yes
13443 else
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.$ac_ext >&5
13446
13447 ac_header_preproc=no
13448 fi
13449 rm -f conftest.err conftest.$ac_ext
13450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13451 echo "${ECHO_T}$ac_header_preproc" >&6
13452
13453 # So? What about this header?
13454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13455 yes:no: )
13456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13460 ac_header_preproc=yes
13461 ;;
13462 no:yes:* )
13463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13475 (
13476 cat <<\_ASBOX
13477 ## ----------------------------------------- ##
13478 ## Report this to wx-dev@lists.wxwidgets.org ##
13479 ## ----------------------------------------- ##
13480 _ASBOX
13481 ) |
13482 sed "s/^/$as_me: WARNING: /" >&2
13483 ;;
13484 esac
13485 echo "$as_me:$LINENO: checking for $ac_header" >&5
13486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 else
13490 eval "$as_ac_Header=\$ac_header_preproc"
13491 fi
13492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13494
13495 fi
13496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13497 cat >>confdefs.h <<_ACEOF
13498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13499 _ACEOF
13500
13501 fi
13502
13503 done
13504
13505 fi
13506
13507
13508 for ac_header in fnmatch.h
13509 do
13510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13512 echo "$as_me:$LINENO: checking for $ac_header" >&5
13513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 fi
13517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13519 else
13520 # Is the header compilable?
13521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13523 cat >conftest.$ac_ext <<_ACEOF
13524 /* confdefs.h. */
13525 _ACEOF
13526 cat confdefs.h >>conftest.$ac_ext
13527 cat >>conftest.$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 $ac_includes_default
13530 #include <$ac_header>
13531 _ACEOF
13532 rm -f conftest.$ac_objext
13533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13534 (eval $ac_compile) 2>conftest.er1
13535 ac_status=$?
13536 grep -v '^ *+' conftest.er1 >conftest.err
13537 rm -f conftest.er1
13538 cat conftest.err >&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); } &&
13541 { ac_try='test -z "$ac_c_werror_flag"
13542 || test ! -s conftest.err'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13545 ac_status=$?
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; } &&
13548 { ac_try='test -s conftest.$ac_objext'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13551 ac_status=$?
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; }; then
13554 ac_header_compiler=yes
13555 else
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13558
13559 ac_header_compiler=no
13560 fi
13561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13563 echo "${ECHO_T}$ac_header_compiler" >&6
13564
13565 # Is the header present?
13566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13568 cat >conftest.$ac_ext <<_ACEOF
13569 /* confdefs.h. */
13570 _ACEOF
13571 cat confdefs.h >>conftest.$ac_ext
13572 cat >>conftest.$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13574 #include <$ac_header>
13575 _ACEOF
13576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13578 ac_status=$?
13579 grep -v '^ *+' conftest.er1 >conftest.err
13580 rm -f conftest.er1
13581 cat conftest.err >&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } >/dev/null; then
13584 if test -s conftest.err; then
13585 ac_cpp_err=$ac_c_preproc_warn_flag
13586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13587 else
13588 ac_cpp_err=
13589 fi
13590 else
13591 ac_cpp_err=yes
13592 fi
13593 if test -z "$ac_cpp_err"; then
13594 ac_header_preproc=yes
13595 else
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.$ac_ext >&5
13598
13599 ac_header_preproc=no
13600 fi
13601 rm -f conftest.err conftest.$ac_ext
13602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13603 echo "${ECHO_T}$ac_header_preproc" >&6
13604
13605 # So? What about this header?
13606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13607 yes:no: )
13608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13612 ac_header_preproc=yes
13613 ;;
13614 no:yes:* )
13615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13627 (
13628 cat <<\_ASBOX
13629 ## ----------------------------------------- ##
13630 ## Report this to wx-dev@lists.wxwidgets.org ##
13631 ## ----------------------------------------- ##
13632 _ASBOX
13633 ) |
13634 sed "s/^/$as_me: WARNING: /" >&2
13635 ;;
13636 esac
13637 echo "$as_me:$LINENO: checking for $ac_header" >&5
13638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 else
13642 eval "$as_ac_Header=\$ac_header_preproc"
13643 fi
13644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13646
13647 fi
13648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13649 cat >>confdefs.h <<_ACEOF
13650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13651 _ACEOF
13652
13653 fi
13654
13655 done
13656
13657
13658 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13659
13660 for ac_func in fnmatch
13661 do
13662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13663 echo "$as_me:$LINENO: checking for $ac_func" >&5
13664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_var+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 else
13668 cat >conftest.$ac_ext <<_ACEOF
13669 /* confdefs.h. */
13670 _ACEOF
13671 cat confdefs.h >>conftest.$ac_ext
13672 cat >>conftest.$ac_ext <<_ACEOF
13673 /* end confdefs.h. */
13674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13676 #define $ac_func innocuous_$ac_func
13677
13678 /* System header to define __stub macros and hopefully few prototypes,
13679 which can conflict with char $ac_func (); below.
13680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13681 <limits.h> exists even on freestanding compilers. */
13682
13683 #ifdef __STDC__
13684 # include <limits.h>
13685 #else
13686 # include <assert.h>
13687 #endif
13688
13689 #undef $ac_func
13690
13691 /* Override any gcc2 internal prototype to avoid an error. */
13692 #ifdef __cplusplus
13693 extern "C"
13694 {
13695 #endif
13696 /* We use char because int might match the return type of a gcc2
13697 builtin and then its argument prototype would still apply. */
13698 char $ac_func ();
13699 /* The GNU C library defines this for functions which it implements
13700 to always fail with ENOSYS. Some functions are actually named
13701 something starting with __ and the normal name is an alias. */
13702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13703 choke me
13704 #else
13705 char (*f) () = $ac_func;
13706 #endif
13707 #ifdef __cplusplus
13708 }
13709 #endif
13710
13711 int
13712 main ()
13713 {
13714 return f != $ac_func;
13715 ;
13716 return 0;
13717 }
13718 _ACEOF
13719 rm -f conftest.$ac_objext conftest$ac_exeext
13720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13721 (eval $ac_link) 2>conftest.er1
13722 ac_status=$?
13723 grep -v '^ *+' conftest.er1 >conftest.err
13724 rm -f conftest.er1
13725 cat conftest.err >&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } &&
13728 { ac_try='test -z "$ac_c_werror_flag"
13729 || test ! -s conftest.err'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13732 ac_status=$?
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; } &&
13735 { ac_try='test -s conftest$ac_exeext'
13736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13737 (eval $ac_try) 2>&5
13738 ac_status=$?
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); }; }; then
13741 eval "$as_ac_var=yes"
13742 else
13743 echo "$as_me: failed program was:" >&5
13744 sed 's/^/| /' conftest.$ac_ext >&5
13745
13746 eval "$as_ac_var=no"
13747 fi
13748 rm -f conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 fi
13751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13753 if test `eval echo '${'$as_ac_var'}'` = yes; then
13754 cat >>confdefs.h <<_ACEOF
13755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13756 _ACEOF
13757
13758 fi
13759 done
13760
13761 fi
13762
13763
13764 for ac_header in langinfo.h
13765 do
13766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13768 echo "$as_me:$LINENO: checking for $ac_header" >&5
13769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 fi
13773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13775 else
13776 # Is the header compilable?
13777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13779 cat >conftest.$ac_ext <<_ACEOF
13780 /* confdefs.h. */
13781 _ACEOF
13782 cat confdefs.h >>conftest.$ac_ext
13783 cat >>conftest.$ac_ext <<_ACEOF
13784 /* end confdefs.h. */
13785 $ac_includes_default
13786 #include <$ac_header>
13787 _ACEOF
13788 rm -f conftest.$ac_objext
13789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13790 (eval $ac_compile) 2>conftest.er1
13791 ac_status=$?
13792 grep -v '^ *+' conftest.er1 >conftest.err
13793 rm -f conftest.er1
13794 cat conftest.err >&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } &&
13797 { ac_try='test -z "$ac_c_werror_flag"
13798 || test ! -s conftest.err'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13801 ac_status=$?
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; } &&
13804 { ac_try='test -s conftest.$ac_objext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13807 ac_status=$?
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_header_compiler=yes
13811 else
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.$ac_ext >&5
13814
13815 ac_header_compiler=no
13816 fi
13817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13819 echo "${ECHO_T}$ac_header_compiler" >&6
13820
13821 # Is the header present?
13822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13824 cat >conftest.$ac_ext <<_ACEOF
13825 /* confdefs.h. */
13826 _ACEOF
13827 cat confdefs.h >>conftest.$ac_ext
13828 cat >>conftest.$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13830 #include <$ac_header>
13831 _ACEOF
13832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13834 ac_status=$?
13835 grep -v '^ *+' conftest.er1 >conftest.err
13836 rm -f conftest.er1
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } >/dev/null; then
13840 if test -s conftest.err; then
13841 ac_cpp_err=$ac_c_preproc_warn_flag
13842 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13843 else
13844 ac_cpp_err=
13845 fi
13846 else
13847 ac_cpp_err=yes
13848 fi
13849 if test -z "$ac_cpp_err"; then
13850 ac_header_preproc=yes
13851 else
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13854
13855 ac_header_preproc=no
13856 fi
13857 rm -f conftest.err conftest.$ac_ext
13858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13859 echo "${ECHO_T}$ac_header_preproc" >&6
13860
13861 # So? What about this header?
13862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13863 yes:no: )
13864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13868 ac_header_preproc=yes
13869 ;;
13870 no:yes:* )
13871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13883 (
13884 cat <<\_ASBOX
13885 ## ----------------------------------------- ##
13886 ## Report this to wx-dev@lists.wxwidgets.org ##
13887 ## ----------------------------------------- ##
13888 _ASBOX
13889 ) |
13890 sed "s/^/$as_me: WARNING: /" >&2
13891 ;;
13892 esac
13893 echo "$as_me:$LINENO: checking for $ac_header" >&5
13894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 else
13898 eval "$as_ac_Header=\$ac_header_preproc"
13899 fi
13900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13902
13903 fi
13904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13905 cat >>confdefs.h <<_ACEOF
13906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13907 _ACEOF
13908
13909 fi
13910
13911 done
13912
13913
13914 case "${host}" in
13915 *-pc-os2_emx | *-pc-os2-emx )
13916 if test $ac_cv_header_langinfo_h = "yes"; then
13917 LIBS="$LIBS -lintl"
13918 fi
13919 ;;
13920 esac
13921
13922 if test "$wxUSE_GUI" = "yes"; then
13923 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13924
13925 for ac_header in X11/Xlib.h
13926 do
13927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13929 echo "$as_me:$LINENO: checking for $ac_header" >&5
13930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13933 fi
13934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13936 else
13937 # Is the header compilable?
13938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13940 cat >conftest.$ac_ext <<_ACEOF
13941 /* confdefs.h. */
13942 _ACEOF
13943 cat confdefs.h >>conftest.$ac_ext
13944 cat >>conftest.$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 $ac_includes_default
13947 #include <$ac_header>
13948 _ACEOF
13949 rm -f conftest.$ac_objext
13950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13951 (eval $ac_compile) 2>conftest.er1
13952 ac_status=$?
13953 grep -v '^ *+' conftest.er1 >conftest.err
13954 rm -f conftest.er1
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } &&
13958 { ac_try='test -z "$ac_c_werror_flag"
13959 || test ! -s conftest.err'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13962 ac_status=$?
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; } &&
13965 { ac_try='test -s conftest.$ac_objext'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13968 ac_status=$?
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; }; then
13971 ac_header_compiler=yes
13972 else
13973 echo "$as_me: failed program was:" >&5
13974 sed 's/^/| /' conftest.$ac_ext >&5
13975
13976 ac_header_compiler=no
13977 fi
13978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13980 echo "${ECHO_T}$ac_header_compiler" >&6
13981
13982 # Is the header present?
13983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13985 cat >conftest.$ac_ext <<_ACEOF
13986 /* confdefs.h. */
13987 _ACEOF
13988 cat confdefs.h >>conftest.$ac_ext
13989 cat >>conftest.$ac_ext <<_ACEOF
13990 /* end confdefs.h. */
13991 #include <$ac_header>
13992 _ACEOF
13993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13995 ac_status=$?
13996 grep -v '^ *+' conftest.er1 >conftest.err
13997 rm -f conftest.er1
13998 cat conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } >/dev/null; then
14001 if test -s conftest.err; then
14002 ac_cpp_err=$ac_c_preproc_warn_flag
14003 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14004 else
14005 ac_cpp_err=
14006 fi
14007 else
14008 ac_cpp_err=yes
14009 fi
14010 if test -z "$ac_cpp_err"; then
14011 ac_header_preproc=yes
14012 else
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.$ac_ext >&5
14015
14016 ac_header_preproc=no
14017 fi
14018 rm -f conftest.err conftest.$ac_ext
14019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14020 echo "${ECHO_T}$ac_header_preproc" >&6
14021
14022 # So? What about this header?
14023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14024 yes:no: )
14025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14029 ac_header_preproc=yes
14030 ;;
14031 no:yes:* )
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14044 (
14045 cat <<\_ASBOX
14046 ## ----------------------------------------- ##
14047 ## Report this to wx-dev@lists.wxwidgets.org ##
14048 ## ----------------------------------------- ##
14049 _ASBOX
14050 ) |
14051 sed "s/^/$as_me: WARNING: /" >&2
14052 ;;
14053 esac
14054 echo "$as_me:$LINENO: checking for $ac_header" >&5
14055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 else
14059 eval "$as_ac_Header=\$ac_header_preproc"
14060 fi
14061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14063
14064 fi
14065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14066 cat >>confdefs.h <<_ACEOF
14067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14068 _ACEOF
14069
14070 fi
14071
14072 done
14073
14074
14075 for ac_header in X11/XKBlib.h
14076 do
14077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14078 echo "$as_me:$LINENO: checking for $ac_header" >&5
14079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 else
14083 cat >conftest.$ac_ext <<_ACEOF
14084 /* confdefs.h. */
14085 _ACEOF
14086 cat confdefs.h >>conftest.$ac_ext
14087 cat >>conftest.$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089
14090 #if HAVE_X11_XLIB_H
14091 #include <X11/Xlib.h>
14092 #endif
14093
14094
14095 #include <$ac_header>
14096 _ACEOF
14097 rm -f conftest.$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>conftest.er1
14100 ac_status=$?
14101 grep -v '^ *+' conftest.er1 >conftest.err
14102 rm -f conftest.er1
14103 cat conftest.err >&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try='test -z "$ac_c_werror_flag"
14107 || test ! -s conftest.err'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; } &&
14113 { ac_try='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14116 ac_status=$?
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 eval "$as_ac_Header=yes"
14120 else
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14123
14124 eval "$as_ac_Header=no"
14125 fi
14126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14127 fi
14128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14131 cat >>confdefs.h <<_ACEOF
14132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14133 _ACEOF
14134
14135 fi
14136
14137 done
14138
14139 fi
14140 fi
14141
14142
14143 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14144 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14145 if test "${ac_cv_c_const+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 cat >conftest.$ac_ext <<_ACEOF
14149 /* confdefs.h. */
14150 _ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154
14155 int
14156 main ()
14157 {
14158 /* FIXME: Include the comments suggested by Paul. */
14159 #ifndef __cplusplus
14160 /* Ultrix mips cc rejects this. */
14161 typedef int charset[2];
14162 const charset x;
14163 /* SunOS 4.1.1 cc rejects this. */
14164 char const *const *ccp;
14165 char **p;
14166 /* NEC SVR4.0.2 mips cc rejects this. */
14167 struct point {int x, y;};
14168 static struct point const zero = {0,0};
14169 /* AIX XL C 1.02.0.0 rejects this.
14170 It does not let you subtract one const X* pointer from another in
14171 an arm of an if-expression whose if-part is not a constant
14172 expression */
14173 const char *g = "string";
14174 ccp = &g + (g ? g-g : 0);
14175 /* HPUX 7.0 cc rejects these. */
14176 ++ccp;
14177 p = (char**) ccp;
14178 ccp = (char const *const *) p;
14179 { /* SCO 3.2v4 cc rejects this. */
14180 char *t;
14181 char const *s = 0 ? (char *) 0 : (char const *) 0;
14182
14183 *t++ = 0;
14184 }
14185 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14186 int x[] = {25, 17};
14187 const int *foo = &x[0];
14188 ++foo;
14189 }
14190 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14191 typedef const int *iptr;
14192 iptr p = 0;
14193 ++p;
14194 }
14195 { /* AIX XL C 1.02.0.0 rejects this saying
14196 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14197 struct s { int j; const int *ap[3]; };
14198 struct s *b; b->j = 5;
14199 }
14200 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14201 const int foo = 10;
14202 }
14203 #endif
14204
14205 ;
14206 return 0;
14207 }
14208 _ACEOF
14209 rm -f conftest.$ac_objext
14210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14211 (eval $ac_compile) 2>conftest.er1
14212 ac_status=$?
14213 grep -v '^ *+' conftest.er1 >conftest.err
14214 rm -f conftest.er1
14215 cat conftest.err >&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); } &&
14218 { ac_try='test -z "$ac_c_werror_flag"
14219 || test ! -s conftest.err'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14222 ac_status=$?
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; } &&
14225 { ac_try='test -s conftest.$ac_objext'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14228 ac_status=$?
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; }; then
14231 ac_cv_c_const=yes
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14235
14236 ac_cv_c_const=no
14237 fi
14238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14239 fi
14240 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14241 echo "${ECHO_T}$ac_cv_c_const" >&6
14242 if test $ac_cv_c_const = no; then
14243
14244 cat >>confdefs.h <<\_ACEOF
14245 #define const
14246 _ACEOF
14247
14248 fi
14249
14250 echo "$as_me:$LINENO: checking for inline" >&5
14251 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14252 if test "${ac_cv_c_inline+set}" = set; then
14253 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 else
14255 ac_cv_c_inline=no
14256 for ac_kw in inline __inline__ __inline; do
14257 cat >conftest.$ac_ext <<_ACEOF
14258 /* confdefs.h. */
14259 _ACEOF
14260 cat confdefs.h >>conftest.$ac_ext
14261 cat >>conftest.$ac_ext <<_ACEOF
14262 /* end confdefs.h. */
14263 #ifndef __cplusplus
14264 typedef int foo_t;
14265 static $ac_kw foo_t static_foo () {return 0; }
14266 $ac_kw foo_t foo () {return 0; }
14267 #endif
14268
14269 _ACEOF
14270 rm -f conftest.$ac_objext
14271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14272 (eval $ac_compile) 2>conftest.er1
14273 ac_status=$?
14274 grep -v '^ *+' conftest.er1 >conftest.err
14275 rm -f conftest.er1
14276 cat conftest.err >&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try='test -z "$ac_c_werror_flag"
14280 || test ! -s conftest.err'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; } &&
14286 { ac_try='test -s conftest.$ac_objext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 ac_cv_c_inline=$ac_kw; break
14293 else
14294 echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14296
14297 fi
14298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14299 done
14300
14301 fi
14302 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14303 echo "${ECHO_T}$ac_cv_c_inline" >&6
14304
14305
14306 case $ac_cv_c_inline in
14307 inline | yes) ;;
14308 *)
14309 case $ac_cv_c_inline in
14310 no) ac_val=;;
14311 *) ac_val=$ac_cv_c_inline;;
14312 esac
14313 cat >>confdefs.h <<_ACEOF
14314 #ifndef __cplusplus
14315 #define inline $ac_val
14316 #endif
14317 _ACEOF
14318 ;;
14319 esac
14320
14321
14322 echo "$as_me:$LINENO: checking for char" >&5
14323 echo $ECHO_N "checking for char... $ECHO_C" >&6
14324 if test "${ac_cv_type_char+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 else
14327 cat >conftest.$ac_ext <<_ACEOF
14328 /* confdefs.h. */
14329 _ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 $ac_includes_default
14334 int
14335 main ()
14336 {
14337 if ((char *) 0)
14338 return 0;
14339 if (sizeof (char))
14340 return 0;
14341 ;
14342 return 0;
14343 }
14344 _ACEOF
14345 rm -f conftest.$ac_objext
14346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14347 (eval $ac_compile) 2>conftest.er1
14348 ac_status=$?
14349 grep -v '^ *+' conftest.er1 >conftest.err
14350 rm -f conftest.er1
14351 cat conftest.err >&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); } &&
14354 { ac_try='test -z "$ac_c_werror_flag"
14355 || test ! -s conftest.err'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14358 ac_status=$?
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; } &&
14361 { ac_try='test -s conftest.$ac_objext'
14362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14363 (eval $ac_try) 2>&5
14364 ac_status=$?
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); }; }; then
14367 ac_cv_type_char=yes
14368 else
14369 echo "$as_me: failed program was:" >&5
14370 sed 's/^/| /' conftest.$ac_ext >&5
14371
14372 ac_cv_type_char=no
14373 fi
14374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14375 fi
14376 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14377 echo "${ECHO_T}$ac_cv_type_char" >&6
14378
14379 echo "$as_me:$LINENO: checking size of char" >&5
14380 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14381 if test "${ac_cv_sizeof_char+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 else
14384 if test "$ac_cv_type_char" = yes; then
14385 # The cast to unsigned long works around a bug in the HP C Compiler
14386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14388 # This bug is HP SR number 8606223364.
14389 if test "$cross_compiling" = yes; then
14390 # Depending upon the size, compute the lo and hi bounds.
14391 cat >conftest.$ac_ext <<_ACEOF
14392 /* confdefs.h. */
14393 _ACEOF
14394 cat confdefs.h >>conftest.$ac_ext
14395 cat >>conftest.$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14397 $ac_includes_default
14398 int
14399 main ()
14400 {
14401 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14402 test_array [0] = 0
14403
14404 ;
14405 return 0;
14406 }
14407 _ACEOF
14408 rm -f conftest.$ac_objext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14410 (eval $ac_compile) 2>conftest.er1
14411 ac_status=$?
14412 grep -v '^ *+' conftest.er1 >conftest.err
14413 rm -f conftest.er1
14414 cat conftest.err >&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
14417 { ac_try='test -z "$ac_c_werror_flag"
14418 || test ! -s conftest.err'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14421 ac_status=$?
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try='test -s conftest.$ac_objext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_lo=0 ac_mid=0
14431 while :; do
14432 cat >conftest.$ac_ext <<_ACEOF
14433 /* confdefs.h. */
14434 _ACEOF
14435 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14438 $ac_includes_default
14439 int
14440 main ()
14441 {
14442 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14443 test_array [0] = 0
14444
14445 ;
14446 return 0;
14447 }
14448 _ACEOF
14449 rm -f conftest.$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14452 ac_status=$?
14453 grep -v '^ *+' conftest.er1 >conftest.err
14454 rm -f conftest.er1
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try='test -z "$ac_c_werror_flag"
14459 || test ! -s conftest.err'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; } &&
14465 { ac_try='test -s conftest.$ac_objext'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14468 ac_status=$?
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; }; then
14471 ac_hi=$ac_mid; break
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14475
14476 ac_lo=`expr $ac_mid + 1`
14477 if test $ac_lo -le $ac_mid; then
14478 ac_lo= ac_hi=
14479 break
14480 fi
14481 ac_mid=`expr 2 '*' $ac_mid + 1`
14482 fi
14483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14484 done
14485 else
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14488
14489 cat >conftest.$ac_ext <<_ACEOF
14490 /* confdefs.h. */
14491 _ACEOF
14492 cat confdefs.h >>conftest.$ac_ext
14493 cat >>conftest.$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14496 int
14497 main ()
14498 {
14499 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14500 test_array [0] = 0
14501
14502 ;
14503 return 0;
14504 }
14505 _ACEOF
14506 rm -f conftest.$ac_objext
14507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14508 (eval $ac_compile) 2>conftest.er1
14509 ac_status=$?
14510 grep -v '^ *+' conftest.er1 >conftest.err
14511 rm -f conftest.er1
14512 cat conftest.err >&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); } &&
14515 { ac_try='test -z "$ac_c_werror_flag"
14516 || test ! -s conftest.err'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14519 ac_status=$?
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; } &&
14522 { ac_try='test -s conftest.$ac_objext'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14525 ac_status=$?
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then
14528 ac_hi=-1 ac_mid=-1
14529 while :; do
14530 cat >conftest.$ac_ext <<_ACEOF
14531 /* confdefs.h. */
14532 _ACEOF
14533 cat confdefs.h >>conftest.$ac_ext
14534 cat >>conftest.$ac_ext <<_ACEOF
14535 /* end confdefs.h. */
14536 $ac_includes_default
14537 int
14538 main ()
14539 {
14540 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14541 test_array [0] = 0
14542
14543 ;
14544 return 0;
14545 }
14546 _ACEOF
14547 rm -f conftest.$ac_objext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14549 (eval $ac_compile) 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try='test -z "$ac_c_werror_flag"
14557 || test ! -s conftest.err'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14560 ac_status=$?
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; } &&
14563 { ac_try='test -s conftest.$ac_objext'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14566 ac_status=$?
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; }; then
14569 ac_lo=$ac_mid; break
14570 else
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14573
14574 ac_hi=`expr '(' $ac_mid ')' - 1`
14575 if test $ac_mid -le $ac_hi; then
14576 ac_lo= ac_hi=
14577 break
14578 fi
14579 ac_mid=`expr 2 '*' $ac_mid`
14580 fi
14581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14582 done
14583 else
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.$ac_ext >&5
14586
14587 ac_lo= ac_hi=
14588 fi
14589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14590 fi
14591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14592 # Binary search between lo and hi bounds.
14593 while test "x$ac_lo" != "x$ac_hi"; do
14594 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601 $ac_includes_default
14602 int
14603 main ()
14604 {
14605 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14606 test_array [0] = 0
14607
14608 ;
14609 return 0;
14610 }
14611 _ACEOF
14612 rm -f conftest.$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14615 ac_status=$?
14616 grep -v '^ *+' conftest.er1 >conftest.err
14617 rm -f conftest.er1
14618 cat conftest.err >&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try='test -z "$ac_c_werror_flag"
14622 || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14625 ac_status=$?
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 ac_hi=$ac_mid
14635 else
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14638
14639 ac_lo=`expr '(' $ac_mid ')' + 1`
14640 fi
14641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14642 done
14643 case $ac_lo in
14644 ?*) ac_cv_sizeof_char=$ac_lo;;
14645 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14646 See \`config.log' for more details." >&5
14647 echo "$as_me: error: cannot compute sizeof (char), 77
14648 See \`config.log' for more details." >&2;}
14649 { (exit 1); exit 1; }; } ;;
14650 esac
14651 else
14652 if test "$cross_compiling" = yes; then
14653 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14654 See \`config.log' for more details." >&5
14655 echo "$as_me: error: cannot run test program while cross compiling
14656 See \`config.log' for more details." >&2;}
14657 { (exit 1); exit 1; }; }
14658 else
14659 cat >conftest.$ac_ext <<_ACEOF
14660 /* confdefs.h. */
14661 _ACEOF
14662 cat confdefs.h >>conftest.$ac_ext
14663 cat >>conftest.$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 $ac_includes_default
14666 long longval () { return (long) (sizeof (char)); }
14667 unsigned long ulongval () { return (long) (sizeof (char)); }
14668 #include <stdio.h>
14669 #include <stdlib.h>
14670 int
14671 main ()
14672 {
14673
14674 FILE *f = fopen ("conftest.val", "w");
14675 if (! f)
14676 exit (1);
14677 if (((long) (sizeof (char))) < 0)
14678 {
14679 long i = longval ();
14680 if (i != ((long) (sizeof (char))))
14681 exit (1);
14682 fprintf (f, "%ld\n", i);
14683 }
14684 else
14685 {
14686 unsigned long i = ulongval ();
14687 if (i != ((long) (sizeof (char))))
14688 exit (1);
14689 fprintf (f, "%lu\n", i);
14690 }
14691 exit (ferror (f) || fclose (f) != 0);
14692
14693 ;
14694 return 0;
14695 }
14696 _ACEOF
14697 rm -f conftest$ac_exeext
14698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14699 (eval $ac_link) 2>&5
14700 ac_status=$?
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14708 ac_cv_sizeof_char=`cat conftest.val`
14709 else
14710 echo "$as_me: program exited with status $ac_status" >&5
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714 ( exit $ac_status )
14715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14716 See \`config.log' for more details." >&5
14717 echo "$as_me: error: cannot compute sizeof (char), 77
14718 See \`config.log' for more details." >&2;}
14719 { (exit 1); exit 1; }; }
14720 fi
14721 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14722 fi
14723 fi
14724 rm -f conftest.val
14725 else
14726 ac_cv_sizeof_char=0
14727 fi
14728 fi
14729 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14730 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14731 cat >>confdefs.h <<_ACEOF
14732 #define SIZEOF_CHAR $ac_cv_sizeof_char
14733 _ACEOF
14734
14735
14736 echo "$as_me:$LINENO: checking for short" >&5
14737 echo $ECHO_N "checking for short... $ECHO_C" >&6
14738 if test "${ac_cv_type_short+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 else
14741 cat >conftest.$ac_ext <<_ACEOF
14742 /* confdefs.h. */
14743 _ACEOF
14744 cat confdefs.h >>conftest.$ac_ext
14745 cat >>conftest.$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14747 $ac_includes_default
14748 int
14749 main ()
14750 {
14751 if ((short *) 0)
14752 return 0;
14753 if (sizeof (short))
14754 return 0;
14755 ;
14756 return 0;
14757 }
14758 _ACEOF
14759 rm -f conftest.$ac_objext
14760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14761 (eval $ac_compile) 2>conftest.er1
14762 ac_status=$?
14763 grep -v '^ *+' conftest.er1 >conftest.err
14764 rm -f conftest.er1
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } &&
14768 { ac_try='test -z "$ac_c_werror_flag"
14769 || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14772 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } &&
14775 { ac_try='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14778 ac_status=$?
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14781 ac_cv_type_short=yes
14782 else
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14785
14786 ac_cv_type_short=no
14787 fi
14788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14789 fi
14790 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14791 echo "${ECHO_T}$ac_cv_type_short" >&6
14792
14793 echo "$as_me:$LINENO: checking size of short" >&5
14794 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14795 if test "${ac_cv_sizeof_short+set}" = set; then
14796 echo $ECHO_N "(cached) $ECHO_C" >&6
14797 else
14798 if test "$ac_cv_type_short" = yes; then
14799 # The cast to unsigned long works around a bug in the HP C Compiler
14800 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14801 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14802 # This bug is HP SR number 8606223364.
14803 if test "$cross_compiling" = yes; then
14804 # Depending upon the size, compute the lo and hi bounds.
14805 cat >conftest.$ac_ext <<_ACEOF
14806 /* confdefs.h. */
14807 _ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 $ac_includes_default
14812 int
14813 main ()
14814 {
14815 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14816 test_array [0] = 0
14817
14818 ;
14819 return 0;
14820 }
14821 _ACEOF
14822 rm -f conftest.$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824 (eval $ac_compile) 2>conftest.er1
14825 ac_status=$?
14826 grep -v '^ *+' conftest.er1 >conftest.err
14827 rm -f conftest.er1
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try='test -z "$ac_c_werror_flag"
14832 || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14835 ac_status=$?
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try='test -s conftest.$ac_objext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14841 ac_status=$?
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_lo=0 ac_mid=0
14845 while :; do
14846 cat >conftest.$ac_ext <<_ACEOF
14847 /* confdefs.h. */
14848 _ACEOF
14849 cat confdefs.h >>conftest.$ac_ext
14850 cat >>conftest.$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14852 $ac_includes_default
14853 int
14854 main ()
14855 {
14856 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14857 test_array [0] = 0
14858
14859 ;
14860 return 0;
14861 }
14862 _ACEOF
14863 rm -f conftest.$ac_objext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>conftest.er1
14866 ac_status=$?
14867 grep -v '^ *+' conftest.er1 >conftest.err
14868 rm -f conftest.er1
14869 cat conftest.err >&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try='test -z "$ac_c_werror_flag"
14873 || test ! -s conftest.err'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; } &&
14879 { ac_try='test -s conftest.$ac_objext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_hi=$ac_mid; break
14886 else
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14889
14890 ac_lo=`expr $ac_mid + 1`
14891 if test $ac_lo -le $ac_mid; then
14892 ac_lo= ac_hi=
14893 break
14894 fi
14895 ac_mid=`expr 2 '*' $ac_mid + 1`
14896 fi
14897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14898 done
14899 else
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14902
14903 cat >conftest.$ac_ext <<_ACEOF
14904 /* confdefs.h. */
14905 _ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14910 int
14911 main ()
14912 {
14913 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14914 test_array [0] = 0
14915
14916 ;
14917 return 0;
14918 }
14919 _ACEOF
14920 rm -f conftest.$ac_objext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14922 (eval $ac_compile) 2>conftest.er1
14923 ac_status=$?
14924 grep -v '^ *+' conftest.er1 >conftest.err
14925 rm -f conftest.er1
14926 cat conftest.err >&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } &&
14929 { ac_try='test -z "$ac_c_werror_flag"
14930 || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 ac_hi=-1 ac_mid=-1
14943 while :; do
14944 cat >conftest.$ac_ext <<_ACEOF
14945 /* confdefs.h. */
14946 _ACEOF
14947 cat confdefs.h >>conftest.$ac_ext
14948 cat >>conftest.$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14950 $ac_includes_default
14951 int
14952 main ()
14953 {
14954 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14955 test_array [0] = 0
14956
14957 ;
14958 return 0;
14959 }
14960 _ACEOF
14961 rm -f conftest.$ac_objext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14963 (eval $ac_compile) 2>conftest.er1
14964 ac_status=$?
14965 grep -v '^ *+' conftest.er1 >conftest.err
14966 rm -f conftest.er1
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } &&
14970 { ac_try='test -z "$ac_c_werror_flag"
14971 || test ! -s conftest.err'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14974 ac_status=$?
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; } &&
14977 { ac_try='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14980 ac_status=$?
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 ac_lo=$ac_mid; break
14984 else
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14987
14988 ac_hi=`expr '(' $ac_mid ')' - 1`
14989 if test $ac_mid -le $ac_hi; then
14990 ac_lo= ac_hi=
14991 break
14992 fi
14993 ac_mid=`expr 2 '*' $ac_mid`
14994 fi
14995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14996 done
14997 else
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15000
15001 ac_lo= ac_hi=
15002 fi
15003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15004 fi
15005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15006 # Binary search between lo and hi bounds.
15007 while test "x$ac_lo" != "x$ac_hi"; do
15008 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15009 cat >conftest.$ac_ext <<_ACEOF
15010 /* confdefs.h. */
15011 _ACEOF
15012 cat confdefs.h >>conftest.$ac_ext
15013 cat >>conftest.$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15016 int
15017 main ()
15018 {
15019 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15020 test_array [0] = 0
15021
15022 ;
15023 return 0;
15024 }
15025 _ACEOF
15026 rm -f conftest.$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>conftest.er1
15029 ac_status=$?
15030 grep -v '^ *+' conftest.er1 >conftest.err
15031 rm -f conftest.er1
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } &&
15035 { ac_try='test -z "$ac_c_werror_flag"
15036 || test ! -s conftest.err'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15039 ac_status=$?
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; } &&
15042 { ac_try='test -s conftest.$ac_objext'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; }; then
15048 ac_hi=$ac_mid
15049 else
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15052
15053 ac_lo=`expr '(' $ac_mid ')' + 1`
15054 fi
15055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15056 done
15057 case $ac_lo in
15058 ?*) ac_cv_sizeof_short=$ac_lo;;
15059 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15060 See \`config.log' for more details." >&5
15061 echo "$as_me: error: cannot compute sizeof (short), 77
15062 See \`config.log' for more details." >&2;}
15063 { (exit 1); exit 1; }; } ;;
15064 esac
15065 else
15066 if test "$cross_compiling" = yes; then
15067 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15068 See \`config.log' for more details." >&5
15069 echo "$as_me: error: cannot run test program while cross compiling
15070 See \`config.log' for more details." >&2;}
15071 { (exit 1); exit 1; }; }
15072 else
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 $ac_includes_default
15080 long longval () { return (long) (sizeof (short)); }
15081 unsigned long ulongval () { return (long) (sizeof (short)); }
15082 #include <stdio.h>
15083 #include <stdlib.h>
15084 int
15085 main ()
15086 {
15087
15088 FILE *f = fopen ("conftest.val", "w");
15089 if (! f)
15090 exit (1);
15091 if (((long) (sizeof (short))) < 0)
15092 {
15093 long i = longval ();
15094 if (i != ((long) (sizeof (short))))
15095 exit (1);
15096 fprintf (f, "%ld\n", i);
15097 }
15098 else
15099 {
15100 unsigned long i = ulongval ();
15101 if (i != ((long) (sizeof (short))))
15102 exit (1);
15103 fprintf (f, "%lu\n", i);
15104 }
15105 exit (ferror (f) || fclose (f) != 0);
15106
15107 ;
15108 return 0;
15109 }
15110 _ACEOF
15111 rm -f conftest$ac_exeext
15112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15113 (eval $ac_link) 2>&5
15114 ac_status=$?
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 ac_cv_sizeof_short=`cat conftest.val`
15123 else
15124 echo "$as_me: program exited with status $ac_status" >&5
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15127
15128 ( exit $ac_status )
15129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15130 See \`config.log' for more details." >&5
15131 echo "$as_me: error: cannot compute sizeof (short), 77
15132 See \`config.log' for more details." >&2;}
15133 { (exit 1); exit 1; }; }
15134 fi
15135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15136 fi
15137 fi
15138 rm -f conftest.val
15139 else
15140 ac_cv_sizeof_short=0
15141 fi
15142 fi
15143 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15144 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15145 cat >>confdefs.h <<_ACEOF
15146 #define SIZEOF_SHORT $ac_cv_sizeof_short
15147 _ACEOF
15148
15149
15150 echo "$as_me:$LINENO: checking for void *" >&5
15151 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15152 if test "${ac_cv_type_void_p+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 else
15155 cat >conftest.$ac_ext <<_ACEOF
15156 /* confdefs.h. */
15157 _ACEOF
15158 cat confdefs.h >>conftest.$ac_ext
15159 cat >>conftest.$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15161 $ac_includes_default
15162 int
15163 main ()
15164 {
15165 if ((void * *) 0)
15166 return 0;
15167 if (sizeof (void *))
15168 return 0;
15169 ;
15170 return 0;
15171 }
15172 _ACEOF
15173 rm -f conftest.$ac_objext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15175 (eval $ac_compile) 2>conftest.er1
15176 ac_status=$?
15177 grep -v '^ *+' conftest.er1 >conftest.err
15178 rm -f conftest.er1
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try='test -z "$ac_c_werror_flag"
15183 || test ! -s conftest.err'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15186 ac_status=$?
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; } &&
15189 { ac_try='test -s conftest.$ac_objext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_type_void_p=yes
15196 else
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.$ac_ext >&5
15199
15200 ac_cv_type_void_p=no
15201 fi
15202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15203 fi
15204 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15205 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15206
15207 echo "$as_me:$LINENO: checking size of void *" >&5
15208 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15209 if test "${ac_cv_sizeof_void_p+set}" = set; then
15210 echo $ECHO_N "(cached) $ECHO_C" >&6
15211 else
15212 if test "$ac_cv_type_void_p" = yes; then
15213 # The cast to unsigned long works around a bug in the HP C Compiler
15214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15216 # This bug is HP SR number 8606223364.
15217 if test "$cross_compiling" = yes; then
15218 # Depending upon the size, compute the lo and hi bounds.
15219 cat >conftest.$ac_ext <<_ACEOF
15220 /* confdefs.h. */
15221 _ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15226 int
15227 main ()
15228 {
15229 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15230 test_array [0] = 0
15231
15232 ;
15233 return 0;
15234 }
15235 _ACEOF
15236 rm -f conftest.$ac_objext
15237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15238 (eval $ac_compile) 2>conftest.er1
15239 ac_status=$?
15240 grep -v '^ *+' conftest.er1 >conftest.err
15241 rm -f conftest.er1
15242 cat conftest.err >&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); } &&
15245 { ac_try='test -z "$ac_c_werror_flag"
15246 || test ! -s conftest.err'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; } &&
15252 { ac_try='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_lo=0 ac_mid=0
15259 while :; do
15260 cat >conftest.$ac_ext <<_ACEOF
15261 /* confdefs.h. */
15262 _ACEOF
15263 cat confdefs.h >>conftest.$ac_ext
15264 cat >>conftest.$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15266 $ac_includes_default
15267 int
15268 main ()
15269 {
15270 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15271 test_array [0] = 0
15272
15273 ;
15274 return 0;
15275 }
15276 _ACEOF
15277 rm -f conftest.$ac_objext
15278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15279 (eval $ac_compile) 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } &&
15286 { ac_try='test -z "$ac_c_werror_flag"
15287 || test ! -s conftest.err'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15290 ac_status=$?
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; } &&
15293 { ac_try='test -s conftest.$ac_objext'
15294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15295 (eval $ac_try) 2>&5
15296 ac_status=$?
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); }; }; then
15299 ac_hi=$ac_mid; break
15300 else
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.$ac_ext >&5
15303
15304 ac_lo=`expr $ac_mid + 1`
15305 if test $ac_lo -le $ac_mid; then
15306 ac_lo= ac_hi=
15307 break
15308 fi
15309 ac_mid=`expr 2 '*' $ac_mid + 1`
15310 fi
15311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15312 done
15313 else
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15316
15317 cat >conftest.$ac_ext <<_ACEOF
15318 /* confdefs.h. */
15319 _ACEOF
15320 cat confdefs.h >>conftest.$ac_ext
15321 cat >>conftest.$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15323 $ac_includes_default
15324 int
15325 main ()
15326 {
15327 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15328 test_array [0] = 0
15329
15330 ;
15331 return 0;
15332 }
15333 _ACEOF
15334 rm -f conftest.$ac_objext
15335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15336 (eval $ac_compile) 2>conftest.er1
15337 ac_status=$?
15338 grep -v '^ *+' conftest.er1 >conftest.err
15339 rm -f conftest.er1
15340 cat conftest.err >&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); } &&
15343 { ac_try='test -z "$ac_c_werror_flag"
15344 || test ! -s conftest.err'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15347 ac_status=$?
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; } &&
15350 { ac_try='test -s conftest.$ac_objext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15353 ac_status=$?
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15356 ac_hi=-1 ac_mid=-1
15357 while :; do
15358 cat >conftest.$ac_ext <<_ACEOF
15359 /* confdefs.h. */
15360 _ACEOF
15361 cat confdefs.h >>conftest.$ac_ext
15362 cat >>conftest.$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15364 $ac_includes_default
15365 int
15366 main ()
15367 {
15368 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15369 test_array [0] = 0
15370
15371 ;
15372 return 0;
15373 }
15374 _ACEOF
15375 rm -f conftest.$ac_objext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15377 (eval $ac_compile) 2>conftest.er1
15378 ac_status=$?
15379 grep -v '^ *+' conftest.er1 >conftest.err
15380 rm -f conftest.er1
15381 cat conftest.err >&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try='test -z "$ac_c_werror_flag"
15385 || test ! -s conftest.err'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15388 ac_status=$?
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; } &&
15391 { ac_try='test -s conftest.$ac_objext'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15394 ac_status=$?
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; }; then
15397 ac_lo=$ac_mid; break
15398 else
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5
15401
15402 ac_hi=`expr '(' $ac_mid ')' - 1`
15403 if test $ac_mid -le $ac_hi; then
15404 ac_lo= ac_hi=
15405 break
15406 fi
15407 ac_mid=`expr 2 '*' $ac_mid`
15408 fi
15409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15410 done
15411 else
15412 echo "$as_me: failed program was:" >&5
15413 sed 's/^/| /' conftest.$ac_ext >&5
15414
15415 ac_lo= ac_hi=
15416 fi
15417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15418 fi
15419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15420 # Binary search between lo and hi bounds.
15421 while test "x$ac_lo" != "x$ac_hi"; do
15422 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429 $ac_includes_default
15430 int
15431 main ()
15432 {
15433 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15434 test_array [0] = 0
15435
15436 ;
15437 return 0;
15438 }
15439 _ACEOF
15440 rm -f conftest.$ac_objext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442 (eval $ac_compile) 2>conftest.er1
15443 ac_status=$?
15444 grep -v '^ *+' conftest.er1 >conftest.err
15445 rm -f conftest.er1
15446 cat conftest.err >&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } &&
15449 { ac_try='test -z "$ac_c_werror_flag"
15450 || test ! -s conftest.err'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; } &&
15456 { ac_try='test -s conftest.$ac_objext'
15457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 (eval $ac_try) 2>&5
15459 ac_status=$?
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; }; then
15462 ac_hi=$ac_mid
15463 else
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15466
15467 ac_lo=`expr '(' $ac_mid ')' + 1`
15468 fi
15469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15470 done
15471 case $ac_lo in
15472 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15473 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: cannot compute sizeof (void *), 77
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; } ;;
15478 esac
15479 else
15480 if test "$cross_compiling" = yes; then
15481 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15482 See \`config.log' for more details." >&5
15483 echo "$as_me: error: cannot run test program while cross compiling
15484 See \`config.log' for more details." >&2;}
15485 { (exit 1); exit 1; }; }
15486 else
15487 cat >conftest.$ac_ext <<_ACEOF
15488 /* confdefs.h. */
15489 _ACEOF
15490 cat confdefs.h >>conftest.$ac_ext
15491 cat >>conftest.$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 $ac_includes_default
15494 long longval () { return (long) (sizeof (void *)); }
15495 unsigned long ulongval () { return (long) (sizeof (void *)); }
15496 #include <stdio.h>
15497 #include <stdlib.h>
15498 int
15499 main ()
15500 {
15501
15502 FILE *f = fopen ("conftest.val", "w");
15503 if (! f)
15504 exit (1);
15505 if (((long) (sizeof (void *))) < 0)
15506 {
15507 long i = longval ();
15508 if (i != ((long) (sizeof (void *))))
15509 exit (1);
15510 fprintf (f, "%ld\n", i);
15511 }
15512 else
15513 {
15514 unsigned long i = ulongval ();
15515 if (i != ((long) (sizeof (void *))))
15516 exit (1);
15517 fprintf (f, "%lu\n", i);
15518 }
15519 exit (ferror (f) || fclose (f) != 0);
15520
15521 ;
15522 return 0;
15523 }
15524 _ACEOF
15525 rm -f conftest$ac_exeext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15527 (eval $ac_link) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15533 ac_status=$?
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_sizeof_void_p=`cat conftest.val`
15537 else
15538 echo "$as_me: program exited with status $ac_status" >&5
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15541
15542 ( exit $ac_status )
15543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15544 See \`config.log' for more details." >&5
15545 echo "$as_me: error: cannot compute sizeof (void *), 77
15546 See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; }
15548 fi
15549 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15550 fi
15551 fi
15552 rm -f conftest.val
15553 else
15554 ac_cv_sizeof_void_p=0
15555 fi
15556 fi
15557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15558 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15559 cat >>confdefs.h <<_ACEOF
15560 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15561 _ACEOF
15562
15563
15564 echo "$as_me:$LINENO: checking for int" >&5
15565 echo $ECHO_N "checking for int... $ECHO_C" >&6
15566 if test "${ac_cv_type_int+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 $ac_includes_default
15576 int
15577 main ()
15578 {
15579 if ((int *) 0)
15580 return 0;
15581 if (sizeof (int))
15582 return 0;
15583 ;
15584 return 0;
15585 }
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try='test -z "$ac_c_werror_flag"
15597 || test ! -s conftest.err'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15600 ac_status=$?
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; } &&
15603 { ac_try='test -s conftest.$ac_objext'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15606 ac_status=$?
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; }; then
15609 ac_cv_type_int=yes
15610 else
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.$ac_ext >&5
15613
15614 ac_cv_type_int=no
15615 fi
15616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15617 fi
15618 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15619 echo "${ECHO_T}$ac_cv_type_int" >&6
15620
15621 echo "$as_me:$LINENO: checking size of int" >&5
15622 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15623 if test "${ac_cv_sizeof_int+set}" = set; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 else
15626 if test "$ac_cv_type_int" = yes; then
15627 # The cast to unsigned long works around a bug in the HP C Compiler
15628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15630 # This bug is HP SR number 8606223364.
15631 if test "$cross_compiling" = yes; then
15632 # Depending upon the size, compute the lo and hi bounds.
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h. */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 $ac_includes_default
15640 int
15641 main ()
15642 {
15643 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15644 test_array [0] = 0
15645
15646 ;
15647 return 0;
15648 }
15649 _ACEOF
15650 rm -f conftest.$ac_objext
15651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15652 (eval $ac_compile) 2>conftest.er1
15653 ac_status=$?
15654 grep -v '^ *+' conftest.er1 >conftest.err
15655 rm -f conftest.er1
15656 cat conftest.err >&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); } &&
15659 { ac_try='test -z "$ac_c_werror_flag"
15660 || test ! -s conftest.err'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15663 ac_status=$?
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; } &&
15666 { ac_try='test -s conftest.$ac_objext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15669 ac_status=$?
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
15672 ac_lo=0 ac_mid=0
15673 while :; do
15674 cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h. */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15680 $ac_includes_default
15681 int
15682 main ()
15683 {
15684 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15685 test_array [0] = 0
15686
15687 ;
15688 return 0;
15689 }
15690 _ACEOF
15691 rm -f conftest.$ac_objext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693 (eval $ac_compile) 2>conftest.er1
15694 ac_status=$?
15695 grep -v '^ *+' conftest.er1 >conftest.err
15696 rm -f conftest.er1
15697 cat conftest.err >&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try='test -z "$ac_c_werror_flag"
15701 || test ! -s conftest.err'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15704 ac_status=$?
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; } &&
15707 { ac_try='test -s conftest.$ac_objext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15710 ac_status=$?
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15713 ac_hi=$ac_mid; break
15714 else
15715 echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15717
15718 ac_lo=`expr $ac_mid + 1`
15719 if test $ac_lo -le $ac_mid; then
15720 ac_lo= ac_hi=
15721 break
15722 fi
15723 ac_mid=`expr 2 '*' $ac_mid + 1`
15724 fi
15725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15726 done
15727 else
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.$ac_ext >&5
15730
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15738 int
15739 main ()
15740 {
15741 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15742 test_array [0] = 0
15743
15744 ;
15745 return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>conftest.er1
15751 ac_status=$?
15752 grep -v '^ *+' conftest.er1 >conftest.err
15753 rm -f conftest.er1
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -z "$ac_c_werror_flag"
15758 || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15767 ac_status=$?
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15770 ac_hi=-1 ac_mid=-1
15771 while :; do
15772 cat >conftest.$ac_ext <<_ACEOF
15773 /* confdefs.h. */
15774 _ACEOF
15775 cat confdefs.h >>conftest.$ac_ext
15776 cat >>conftest.$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15778 $ac_includes_default
15779 int
15780 main ()
15781 {
15782 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15783 test_array [0] = 0
15784
15785 ;
15786 return 0;
15787 }
15788 _ACEOF
15789 rm -f conftest.$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791 (eval $ac_compile) 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -z "$ac_c_werror_flag"
15799 || test ! -s conftest.err'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; } &&
15805 { ac_try='test -s conftest.$ac_objext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15808 ac_status=$?
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_lo=$ac_mid; break
15812 else
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15815
15816 ac_hi=`expr '(' $ac_mid ')' - 1`
15817 if test $ac_mid -le $ac_hi; then
15818 ac_lo= ac_hi=
15819 break
15820 fi
15821 ac_mid=`expr 2 '*' $ac_mid`
15822 fi
15823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15824 done
15825 else
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.$ac_ext >&5
15828
15829 ac_lo= ac_hi=
15830 fi
15831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15832 fi
15833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15834 # Binary search between lo and hi bounds.
15835 while test "x$ac_lo" != "x$ac_hi"; do
15836 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15837 cat >conftest.$ac_ext <<_ACEOF
15838 /* confdefs.h. */
15839 _ACEOF
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843 $ac_includes_default
15844 int
15845 main ()
15846 {
15847 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15848 test_array [0] = 0
15849
15850 ;
15851 return 0;
15852 }
15853 _ACEOF
15854 rm -f conftest.$ac_objext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15856 (eval $ac_compile) 2>conftest.er1
15857 ac_status=$?
15858 grep -v '^ *+' conftest.er1 >conftest.err
15859 rm -f conftest.er1
15860 cat conftest.err >&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } &&
15863 { ac_try='test -z "$ac_c_werror_flag"
15864 || test ! -s conftest.err'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15867 ac_status=$?
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try='test -s conftest.$ac_objext'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15873 ac_status=$?
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; }; then
15876 ac_hi=$ac_mid
15877 else
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15880
15881 ac_lo=`expr '(' $ac_mid ')' + 1`
15882 fi
15883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15884 done
15885 case $ac_lo in
15886 ?*) ac_cv_sizeof_int=$ac_lo;;
15887 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15888 See \`config.log' for more details." >&5
15889 echo "$as_me: error: cannot compute sizeof (int), 77
15890 See \`config.log' for more details." >&2;}
15891 { (exit 1); exit 1; }; } ;;
15892 esac
15893 else
15894 if test "$cross_compiling" = yes; then
15895 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15896 See \`config.log' for more details." >&5
15897 echo "$as_me: error: cannot run test program while cross compiling
15898 See \`config.log' for more details." >&2;}
15899 { (exit 1); exit 1; }; }
15900 else
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 $ac_includes_default
15908 long longval () { return (long) (sizeof (int)); }
15909 unsigned long ulongval () { return (long) (sizeof (int)); }
15910 #include <stdio.h>
15911 #include <stdlib.h>
15912 int
15913 main ()
15914 {
15915
15916 FILE *f = fopen ("conftest.val", "w");
15917 if (! f)
15918 exit (1);
15919 if (((long) (sizeof (int))) < 0)
15920 {
15921 long i = longval ();
15922 if (i != ((long) (sizeof (int))))
15923 exit (1);
15924 fprintf (f, "%ld\n", i);
15925 }
15926 else
15927 {
15928 unsigned long i = ulongval ();
15929 if (i != ((long) (sizeof (int))))
15930 exit (1);
15931 fprintf (f, "%lu\n", i);
15932 }
15933 exit (ferror (f) || fclose (f) != 0);
15934
15935 ;
15936 return 0;
15937 }
15938 _ACEOF
15939 rm -f conftest$ac_exeext
15940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15941 (eval $ac_link) 2>&5
15942 ac_status=$?
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15947 ac_status=$?
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; }; then
15950 ac_cv_sizeof_int=`cat conftest.val`
15951 else
15952 echo "$as_me: program exited with status $ac_status" >&5
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.$ac_ext >&5
15955
15956 ( exit $ac_status )
15957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15958 See \`config.log' for more details." >&5
15959 echo "$as_me: error: cannot compute sizeof (int), 77
15960 See \`config.log' for more details." >&2;}
15961 { (exit 1); exit 1; }; }
15962 fi
15963 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15964 fi
15965 fi
15966 rm -f conftest.val
15967 else
15968 ac_cv_sizeof_int=0
15969 fi
15970 fi
15971 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15972 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15973 cat >>confdefs.h <<_ACEOF
15974 #define SIZEOF_INT $ac_cv_sizeof_int
15975 _ACEOF
15976
15977
15978 echo "$as_me:$LINENO: checking for long" >&5
15979 echo $ECHO_N "checking for long... $ECHO_C" >&6
15980 if test "${ac_cv_type_long+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 else
15983 cat >conftest.$ac_ext <<_ACEOF
15984 /* confdefs.h. */
15985 _ACEOF
15986 cat confdefs.h >>conftest.$ac_ext
15987 cat >>conftest.$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15989 $ac_includes_default
15990 int
15991 main ()
15992 {
15993 if ((long *) 0)
15994 return 0;
15995 if (sizeof (long))
15996 return 0;
15997 ;
15998 return 0;
15999 }
16000 _ACEOF
16001 rm -f conftest.$ac_objext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16003 (eval $ac_compile) 2>conftest.er1
16004 ac_status=$?
16005 grep -v '^ *+' conftest.er1 >conftest.err
16006 rm -f conftest.er1
16007 cat conftest.err >&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try='test -z "$ac_c_werror_flag"
16011 || test ! -s conftest.err'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16014 ac_status=$?
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; } &&
16017 { ac_try='test -s conftest.$ac_objext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 ac_cv_type_long=yes
16024 else
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.$ac_ext >&5
16027
16028 ac_cv_type_long=no
16029 fi
16030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16031 fi
16032 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16033 echo "${ECHO_T}$ac_cv_type_long" >&6
16034
16035 echo "$as_me:$LINENO: checking size of long" >&5
16036 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16037 if test "${ac_cv_sizeof_long+set}" = set; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 else
16040 if test "$ac_cv_type_long" = yes; then
16041 # The cast to unsigned long works around a bug in the HP C Compiler
16042 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16043 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16044 # This bug is HP SR number 8606223364.
16045 if test "$cross_compiling" = yes; then
16046 # Depending upon the size, compute the lo and hi bounds.
16047 cat >conftest.$ac_ext <<_ACEOF
16048 /* confdefs.h. */
16049 _ACEOF
16050 cat confdefs.h >>conftest.$ac_ext
16051 cat >>conftest.$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 $ac_includes_default
16054 int
16055 main ()
16056 {
16057 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16058 test_array [0] = 0
16059
16060 ;
16061 return 0;
16062 }
16063 _ACEOF
16064 rm -f conftest.$ac_objext
16065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16066 (eval $ac_compile) 2>conftest.er1
16067 ac_status=$?
16068 grep -v '^ *+' conftest.er1 >conftest.err
16069 rm -f conftest.er1
16070 cat conftest.err >&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); } &&
16073 { ac_try='test -z "$ac_c_werror_flag"
16074 || test ! -s conftest.err'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16077 ac_status=$?
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; } &&
16080 { ac_try='test -s conftest.$ac_objext'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16083 ac_status=$?
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; }; then
16086 ac_lo=0 ac_mid=0
16087 while :; do
16088 cat >conftest.$ac_ext <<_ACEOF
16089 /* confdefs.h. */
16090 _ACEOF
16091 cat confdefs.h >>conftest.$ac_ext
16092 cat >>conftest.$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16094 $ac_includes_default
16095 int
16096 main ()
16097 {
16098 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16099 test_array [0] = 0
16100
16101 ;
16102 return 0;
16103 }
16104 _ACEOF
16105 rm -f conftest.$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>conftest.er1
16108 ac_status=$?
16109 grep -v '^ *+' conftest.er1 >conftest.err
16110 rm -f conftest.er1
16111 cat conftest.err >&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } &&
16114 { ac_try='test -z "$ac_c_werror_flag"
16115 || test ! -s conftest.err'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; } &&
16121 { ac_try='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 ac_hi=$ac_mid; break
16128 else
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5
16131
16132 ac_lo=`expr $ac_mid + 1`
16133 if test $ac_lo -le $ac_mid; then
16134 ac_lo= ac_hi=
16135 break
16136 fi
16137 ac_mid=`expr 2 '*' $ac_mid + 1`
16138 fi
16139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16140 done
16141 else
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 cat >conftest.$ac_ext <<_ACEOF
16146 /* confdefs.h. */
16147 _ACEOF
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16151 $ac_includes_default
16152 int
16153 main ()
16154 {
16155 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16156 test_array [0] = 0
16157
16158 ;
16159 return 0;
16160 }
16161 _ACEOF
16162 rm -f conftest.$ac_objext
16163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16164 (eval $ac_compile) 2>conftest.er1
16165 ac_status=$?
16166 grep -v '^ *+' conftest.er1 >conftest.err
16167 rm -f conftest.er1
16168 cat conftest.err >&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } &&
16171 { ac_try='test -z "$ac_c_werror_flag"
16172 || test ! -s conftest.err'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16175 ac_status=$?
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; } &&
16178 { ac_try='test -s conftest.$ac_objext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16184 ac_hi=-1 ac_mid=-1
16185 while :; do
16186 cat >conftest.$ac_ext <<_ACEOF
16187 /* confdefs.h. */
16188 _ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 $ac_includes_default
16193 int
16194 main ()
16195 {
16196 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16197 test_array [0] = 0
16198
16199 ;
16200 return 0;
16201 }
16202 _ACEOF
16203 rm -f conftest.$ac_objext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>conftest.er1
16206 ac_status=$?
16207 grep -v '^ *+' conftest.er1 >conftest.err
16208 rm -f conftest.er1
16209 cat conftest.err >&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try='test -z "$ac_c_werror_flag"
16213 || test ! -s conftest.err'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16216 ac_status=$?
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; } &&
16219 { ac_try='test -s conftest.$ac_objext'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16222 ac_status=$?
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; }; then
16225 ac_lo=$ac_mid; break
16226 else
16227 echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.$ac_ext >&5
16229
16230 ac_hi=`expr '(' $ac_mid ')' - 1`
16231 if test $ac_mid -le $ac_hi; then
16232 ac_lo= ac_hi=
16233 break
16234 fi
16235 ac_mid=`expr 2 '*' $ac_mid`
16236 fi
16237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16238 done
16239 else
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.$ac_ext >&5
16242
16243 ac_lo= ac_hi=
16244 fi
16245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16246 fi
16247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16248 # Binary search between lo and hi bounds.
16249 while test "x$ac_lo" != "x$ac_hi"; do
16250 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16251 cat >conftest.$ac_ext <<_ACEOF
16252 /* confdefs.h. */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 $ac_includes_default
16258 int
16259 main ()
16260 {
16261 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16262 test_array [0] = 0
16263
16264 ;
16265 return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16270 (eval $ac_compile) 2>conftest.er1
16271 ac_status=$?
16272 grep -v '^ *+' conftest.er1 >conftest.err
16273 rm -f conftest.er1
16274 cat conftest.err >&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try='test -z "$ac_c_werror_flag"
16278 || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest.$ac_objext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_hi=$ac_mid
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 ac_lo=`expr '(' $ac_mid ')' + 1`
16296 fi
16297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16298 done
16299 case $ac_lo in
16300 ?*) ac_cv_sizeof_long=$ac_lo;;
16301 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16302 See \`config.log' for more details." >&5
16303 echo "$as_me: error: cannot compute sizeof (long), 77
16304 See \`config.log' for more details." >&2;}
16305 { (exit 1); exit 1; }; } ;;
16306 esac
16307 else
16308 if test "$cross_compiling" = yes; then
16309 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16310 See \`config.log' for more details." >&5
16311 echo "$as_me: error: cannot run test program while cross compiling
16312 See \`config.log' for more details." >&2;}
16313 { (exit 1); exit 1; }; }
16314 else
16315 cat >conftest.$ac_ext <<_ACEOF
16316 /* confdefs.h. */
16317 _ACEOF
16318 cat confdefs.h >>conftest.$ac_ext
16319 cat >>conftest.$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 $ac_includes_default
16322 long longval () { return (long) (sizeof (long)); }
16323 unsigned long ulongval () { return (long) (sizeof (long)); }
16324 #include <stdio.h>
16325 #include <stdlib.h>
16326 int
16327 main ()
16328 {
16329
16330 FILE *f = fopen ("conftest.val", "w");
16331 if (! f)
16332 exit (1);
16333 if (((long) (sizeof (long))) < 0)
16334 {
16335 long i = longval ();
16336 if (i != ((long) (sizeof (long))))
16337 exit (1);
16338 fprintf (f, "%ld\n", i);
16339 }
16340 else
16341 {
16342 unsigned long i = ulongval ();
16343 if (i != ((long) (sizeof (long))))
16344 exit (1);
16345 fprintf (f, "%lu\n", i);
16346 }
16347 exit (ferror (f) || fclose (f) != 0);
16348
16349 ;
16350 return 0;
16351 }
16352 _ACEOF
16353 rm -f conftest$ac_exeext
16354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16355 (eval $ac_link) 2>&5
16356 ac_status=$?
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16361 ac_status=$?
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; }; then
16364 ac_cv_sizeof_long=`cat conftest.val`
16365 else
16366 echo "$as_me: program exited with status $ac_status" >&5
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.$ac_ext >&5
16369
16370 ( exit $ac_status )
16371 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16372 See \`config.log' for more details." >&5
16373 echo "$as_me: error: cannot compute sizeof (long), 77
16374 See \`config.log' for more details." >&2;}
16375 { (exit 1); exit 1; }; }
16376 fi
16377 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16378 fi
16379 fi
16380 rm -f conftest.val
16381 else
16382 ac_cv_sizeof_long=0
16383 fi
16384 fi
16385 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16386 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16387 cat >>confdefs.h <<_ACEOF
16388 #define SIZEOF_LONG $ac_cv_sizeof_long
16389 _ACEOF
16390
16391
16392 echo "$as_me:$LINENO: checking for size_t" >&5
16393 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16394 if test "${ac_cv_type_size_t+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 else
16397 cat >conftest.$ac_ext <<_ACEOF
16398 /* confdefs.h. */
16399 _ACEOF
16400 cat confdefs.h >>conftest.$ac_ext
16401 cat >>conftest.$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 $ac_includes_default
16404 int
16405 main ()
16406 {
16407 if ((size_t *) 0)
16408 return 0;
16409 if (sizeof (size_t))
16410 return 0;
16411 ;
16412 return 0;
16413 }
16414 _ACEOF
16415 rm -f conftest.$ac_objext
16416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16417 (eval $ac_compile) 2>conftest.er1
16418 ac_status=$?
16419 grep -v '^ *+' conftest.er1 >conftest.err
16420 rm -f conftest.er1
16421 cat conftest.err >&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); } &&
16424 { ac_try='test -z "$ac_c_werror_flag"
16425 || test ! -s conftest.err'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16428 ac_status=$?
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; } &&
16431 { ac_try='test -s conftest.$ac_objext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16434 ac_status=$?
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_cv_type_size_t=yes
16438 else
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16441
16442 ac_cv_type_size_t=no
16443 fi
16444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16445 fi
16446 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16447 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16448
16449 echo "$as_me:$LINENO: checking size of size_t" >&5
16450 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16451 if test "${ac_cv_sizeof_size_t+set}" = set; then
16452 echo $ECHO_N "(cached) $ECHO_C" >&6
16453 else
16454 if test "$ac_cv_type_size_t" = yes; then
16455 # The cast to unsigned long works around a bug in the HP C Compiler
16456 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16457 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16458 # This bug is HP SR number 8606223364.
16459 if test "$cross_compiling" = yes; then
16460 # Depending upon the size, compute the lo and hi bounds.
16461 cat >conftest.$ac_ext <<_ACEOF
16462 /* confdefs.h. */
16463 _ACEOF
16464 cat confdefs.h >>conftest.$ac_ext
16465 cat >>conftest.$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16467 $ac_includes_default
16468 int
16469 main ()
16470 {
16471 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16472 test_array [0] = 0
16473
16474 ;
16475 return 0;
16476 }
16477 _ACEOF
16478 rm -f conftest.$ac_objext
16479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16480 (eval $ac_compile) 2>conftest.er1
16481 ac_status=$?
16482 grep -v '^ *+' conftest.er1 >conftest.err
16483 rm -f conftest.er1
16484 cat conftest.err >&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try='test -z "$ac_c_werror_flag"
16488 || test ! -s conftest.err'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; } &&
16494 { ac_try='test -s conftest.$ac_objext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16497 ac_status=$?
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16500 ac_lo=0 ac_mid=0
16501 while :; do
16502 cat >conftest.$ac_ext <<_ACEOF
16503 /* confdefs.h. */
16504 _ACEOF
16505 cat confdefs.h >>conftest.$ac_ext
16506 cat >>conftest.$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 $ac_includes_default
16509 int
16510 main ()
16511 {
16512 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16513 test_array [0] = 0
16514
16515 ;
16516 return 0;
16517 }
16518 _ACEOF
16519 rm -f conftest.$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try='test -z "$ac_c_werror_flag"
16529 || test ! -s conftest.err'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16532 ac_status=$?
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; } &&
16535 { ac_try='test -s conftest.$ac_objext'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16541 ac_hi=$ac_mid; break
16542 else
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16545
16546 ac_lo=`expr $ac_mid + 1`
16547 if test $ac_lo -le $ac_mid; then
16548 ac_lo= ac_hi=
16549 break
16550 fi
16551 ac_mid=`expr 2 '*' $ac_mid + 1`
16552 fi
16553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16554 done
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16558
16559 cat >conftest.$ac_ext <<_ACEOF
16560 /* confdefs.h. */
16561 _ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16565 $ac_includes_default
16566 int
16567 main ()
16568 {
16569 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16570 test_array [0] = 0
16571
16572 ;
16573 return 0;
16574 }
16575 _ACEOF
16576 rm -f conftest.$ac_objext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16578 (eval $ac_compile) 2>conftest.er1
16579 ac_status=$?
16580 grep -v '^ *+' conftest.er1 >conftest.err
16581 rm -f conftest.er1
16582 cat conftest.err >&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } &&
16585 { ac_try='test -z "$ac_c_werror_flag"
16586 || test ! -s conftest.err'
16587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16588 (eval $ac_try) 2>&5
16589 ac_status=$?
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); }; } &&
16592 { ac_try='test -s conftest.$ac_objext'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16595 ac_status=$?
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; }; then
16598 ac_hi=-1 ac_mid=-1
16599 while :; do
16600 cat >conftest.$ac_ext <<_ACEOF
16601 /* confdefs.h. */
16602 _ACEOF
16603 cat confdefs.h >>conftest.$ac_ext
16604 cat >>conftest.$ac_ext <<_ACEOF
16605 /* end confdefs.h. */
16606 $ac_includes_default
16607 int
16608 main ()
16609 {
16610 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16611 test_array [0] = 0
16612
16613 ;
16614 return 0;
16615 }
16616 _ACEOF
16617 rm -f conftest.$ac_objext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16619 (eval $ac_compile) 2>conftest.er1
16620 ac_status=$?
16621 grep -v '^ *+' conftest.er1 >conftest.err
16622 rm -f conftest.er1
16623 cat conftest.err >&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } &&
16626 { ac_try='test -z "$ac_c_werror_flag"
16627 || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try='test -s conftest.$ac_objext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16636 ac_status=$?
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_lo=$ac_mid; break
16640 else
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16643
16644 ac_hi=`expr '(' $ac_mid ')' - 1`
16645 if test $ac_mid -le $ac_hi; then
16646 ac_lo= ac_hi=
16647 break
16648 fi
16649 ac_mid=`expr 2 '*' $ac_mid`
16650 fi
16651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16652 done
16653 else
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.$ac_ext >&5
16656
16657 ac_lo= ac_hi=
16658 fi
16659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16660 fi
16661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16662 # Binary search between lo and hi bounds.
16663 while test "x$ac_lo" != "x$ac_hi"; do
16664 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16665 cat >conftest.$ac_ext <<_ACEOF
16666 /* confdefs.h. */
16667 _ACEOF
16668 cat confdefs.h >>conftest.$ac_ext
16669 cat >>conftest.$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 $ac_includes_default
16672 int
16673 main ()
16674 {
16675 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16676 test_array [0] = 0
16677
16678 ;
16679 return 0;
16680 }
16681 _ACEOF
16682 rm -f conftest.$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16685 ac_status=$?
16686 grep -v '^ *+' conftest.er1 >conftest.err
16687 rm -f conftest.er1
16688 cat conftest.err >&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try='test -z "$ac_c_werror_flag"
16692 || test ! -s conftest.err'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16695 ac_status=$?
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; } &&
16698 { ac_try='test -s conftest.$ac_objext'
16699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700 (eval $ac_try) 2>&5
16701 ac_status=$?
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; }; then
16704 ac_hi=$ac_mid
16705 else
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.$ac_ext >&5
16708
16709 ac_lo=`expr '(' $ac_mid ')' + 1`
16710 fi
16711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16712 done
16713 case $ac_lo in
16714 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16715 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16716 See \`config.log' for more details." >&5
16717 echo "$as_me: error: cannot compute sizeof (size_t), 77
16718 See \`config.log' for more details." >&2;}
16719 { (exit 1); exit 1; }; } ;;
16720 esac
16721 else
16722 if test "$cross_compiling" = yes; then
16723 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16724 See \`config.log' for more details." >&5
16725 echo "$as_me: error: cannot run test program while cross compiling
16726 See \`config.log' for more details." >&2;}
16727 { (exit 1); exit 1; }; }
16728 else
16729 cat >conftest.$ac_ext <<_ACEOF
16730 /* confdefs.h. */
16731 _ACEOF
16732 cat confdefs.h >>conftest.$ac_ext
16733 cat >>conftest.$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 $ac_includes_default
16736 long longval () { return (long) (sizeof (size_t)); }
16737 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16738 #include <stdio.h>
16739 #include <stdlib.h>
16740 int
16741 main ()
16742 {
16743
16744 FILE *f = fopen ("conftest.val", "w");
16745 if (! f)
16746 exit (1);
16747 if (((long) (sizeof (size_t))) < 0)
16748 {
16749 long i = longval ();
16750 if (i != ((long) (sizeof (size_t))))
16751 exit (1);
16752 fprintf (f, "%ld\n", i);
16753 }
16754 else
16755 {
16756 unsigned long i = ulongval ();
16757 if (i != ((long) (sizeof (size_t))))
16758 exit (1);
16759 fprintf (f, "%lu\n", i);
16760 }
16761 exit (ferror (f) || fclose (f) != 0);
16762
16763 ;
16764 return 0;
16765 }
16766 _ACEOF
16767 rm -f conftest$ac_exeext
16768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16769 (eval $ac_link) 2>&5
16770 ac_status=$?
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16775 ac_status=$?
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; }; then
16778 ac_cv_sizeof_size_t=`cat conftest.val`
16779 else
16780 echo "$as_me: program exited with status $ac_status" >&5
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.$ac_ext >&5
16783
16784 ( exit $ac_status )
16785 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16786 See \`config.log' for more details." >&5
16787 echo "$as_me: error: cannot compute sizeof (size_t), 77
16788 See \`config.log' for more details." >&2;}
16789 { (exit 1); exit 1; }; }
16790 fi
16791 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16792 fi
16793 fi
16794 rm -f conftest.val
16795 else
16796 ac_cv_sizeof_size_t=0
16797 fi
16798 fi
16799 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16800 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16801 cat >>confdefs.h <<_ACEOF
16802 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16803 _ACEOF
16804
16805
16806
16807 case "${host}" in
16808 arm-*-linux* )
16809 echo "$as_me:$LINENO: checking for long long" >&5
16810 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16811 if test "${ac_cv_type_long_long+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 else
16814 cat >conftest.$ac_ext <<_ACEOF
16815 /* confdefs.h. */
16816 _ACEOF
16817 cat confdefs.h >>conftest.$ac_ext
16818 cat >>conftest.$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820 $ac_includes_default
16821 int
16822 main ()
16823 {
16824 if ((long long *) 0)
16825 return 0;
16826 if (sizeof (long long))
16827 return 0;
16828 ;
16829 return 0;
16830 }
16831 _ACEOF
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16835 ac_status=$?
16836 grep -v '^ *+' conftest.er1 >conftest.err
16837 rm -f conftest.er1
16838 cat conftest.err >&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -z "$ac_c_werror_flag"
16842 || test ! -s conftest.err'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16845 ac_status=$?
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; } &&
16848 { ac_try='test -s conftest.$ac_objext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16851 ac_status=$?
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_type_long_long=yes
16855 else
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16858
16859 ac_cv_type_long_long=no
16860 fi
16861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16862 fi
16863 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16864 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16865
16866 echo "$as_me:$LINENO: checking size of long long" >&5
16867 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16868 if test "${ac_cv_sizeof_long_long+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 else
16871 if test "$ac_cv_type_long_long" = yes; then
16872 # The cast to unsigned long works around a bug in the HP C Compiler
16873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16875 # This bug is HP SR number 8606223364.
16876 if test "$cross_compiling" = yes; then
16877 # Depending upon the size, compute the lo and hi bounds.
16878 cat >conftest.$ac_ext <<_ACEOF
16879 /* confdefs.h. */
16880 _ACEOF
16881 cat confdefs.h >>conftest.$ac_ext
16882 cat >>conftest.$ac_ext <<_ACEOF
16883 /* end confdefs.h. */
16884 $ac_includes_default
16885 int
16886 main ()
16887 {
16888 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16889 test_array [0] = 0
16890
16891 ;
16892 return 0;
16893 }
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_c_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 ac_lo=0 ac_mid=0
16918 while :; do
16919 cat >conftest.$ac_ext <<_ACEOF
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16926 int
16927 main ()
16928 {
16929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16930 test_array [0] = 0
16931
16932 ;
16933 return 0;
16934 }
16935 _ACEOF
16936 rm -f conftest.$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16939 ac_status=$?
16940 grep -v '^ *+' conftest.er1 >conftest.err
16941 rm -f conftest.er1
16942 cat conftest.err >&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try='test -z "$ac_c_werror_flag"
16946 || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_hi=$ac_mid; break
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 ac_lo=`expr $ac_mid + 1`
16964 if test $ac_lo -le $ac_mid; then
16965 ac_lo= ac_hi=
16966 break
16967 fi
16968 ac_mid=`expr 2 '*' $ac_mid + 1`
16969 fi
16970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16971 done
16972 else
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.$ac_ext >&5
16975
16976 cat >conftest.$ac_ext <<_ACEOF
16977 /* confdefs.h. */
16978 _ACEOF
16979 cat confdefs.h >>conftest.$ac_ext
16980 cat >>conftest.$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 $ac_includes_default
16983 int
16984 main ()
16985 {
16986 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16987 test_array [0] = 0
16988
16989 ;
16990 return 0;
16991 }
16992 _ACEOF
16993 rm -f conftest.$ac_objext
16994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16995 (eval $ac_compile) 2>conftest.er1
16996 ac_status=$?
16997 grep -v '^ *+' conftest.er1 >conftest.err
16998 rm -f conftest.er1
16999 cat conftest.err >&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } &&
17002 { ac_try='test -z "$ac_c_werror_flag"
17003 || test ! -s conftest.err'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; } &&
17009 { ac_try='test -s conftest.$ac_objext'
17010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17011 (eval $ac_try) 2>&5
17012 ac_status=$?
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; }; then
17015 ac_hi=-1 ac_mid=-1
17016 while :; do
17017 cat >conftest.$ac_ext <<_ACEOF
17018 /* confdefs.h. */
17019 _ACEOF
17020 cat confdefs.h >>conftest.$ac_ext
17021 cat >>conftest.$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023 $ac_includes_default
17024 int
17025 main ()
17026 {
17027 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17028 test_array [0] = 0
17029
17030 ;
17031 return 0;
17032 }
17033 _ACEOF
17034 rm -f conftest.$ac_objext
17035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17036 (eval $ac_compile) 2>conftest.er1
17037 ac_status=$?
17038 grep -v '^ *+' conftest.er1 >conftest.err
17039 rm -f conftest.er1
17040 cat conftest.err >&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } &&
17043 { ac_try='test -z "$ac_c_werror_flag"
17044 || test ! -s conftest.err'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17047 ac_status=$?
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; } &&
17050 { ac_try='test -s conftest.$ac_objext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17053 ac_status=$?
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17056 ac_lo=$ac_mid; break
17057 else
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.$ac_ext >&5
17060
17061 ac_hi=`expr '(' $ac_mid ')' - 1`
17062 if test $ac_mid -le $ac_hi; then
17063 ac_lo= ac_hi=
17064 break
17065 fi
17066 ac_mid=`expr 2 '*' $ac_mid`
17067 fi
17068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17069 done
17070 else
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.$ac_ext >&5
17073
17074 ac_lo= ac_hi=
17075 fi
17076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17077 fi
17078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17079 # Binary search between lo and hi bounds.
17080 while test "x$ac_lo" != "x$ac_hi"; do
17081 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17082 cat >conftest.$ac_ext <<_ACEOF
17083 /* confdefs.h. */
17084 _ACEOF
17085 cat confdefs.h >>conftest.$ac_ext
17086 cat >>conftest.$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 $ac_includes_default
17089 int
17090 main ()
17091 {
17092 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17093 test_array [0] = 0
17094
17095 ;
17096 return 0;
17097 }
17098 _ACEOF
17099 rm -f conftest.$ac_objext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17101 (eval $ac_compile) 2>conftest.er1
17102 ac_status=$?
17103 grep -v '^ *+' conftest.er1 >conftest.err
17104 rm -f conftest.er1
17105 cat conftest.err >&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try='test -z "$ac_c_werror_flag"
17109 || test ! -s conftest.err'
17110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17111 (eval $ac_try) 2>&5
17112 ac_status=$?
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }; } &&
17115 { ac_try='test -s conftest.$ac_objext'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17118 ac_status=$?
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; }; then
17121 ac_hi=$ac_mid
17122 else
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.$ac_ext >&5
17125
17126 ac_lo=`expr '(' $ac_mid ')' + 1`
17127 fi
17128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17129 done
17130 case $ac_lo in
17131 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: cannot compute sizeof (long long), 77
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; } ;;
17137 esac
17138 else
17139 if test "$cross_compiling" = yes; then
17140 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17141 See \`config.log' for more details." >&5
17142 echo "$as_me: error: cannot run test program while cross compiling
17143 See \`config.log' for more details." >&2;}
17144 { (exit 1); exit 1; }; }
17145 else
17146 cat >conftest.$ac_ext <<_ACEOF
17147 /* confdefs.h. */
17148 _ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152 $ac_includes_default
17153 long longval () { return (long) (sizeof (long long)); }
17154 unsigned long ulongval () { return (long) (sizeof (long long)); }
17155 #include <stdio.h>
17156 #include <stdlib.h>
17157 int
17158 main ()
17159 {
17160
17161 FILE *f = fopen ("conftest.val", "w");
17162 if (! f)
17163 exit (1);
17164 if (((long) (sizeof (long long))) < 0)
17165 {
17166 long i = longval ();
17167 if (i != ((long) (sizeof (long long))))
17168 exit (1);
17169 fprintf (f, "%ld\n", i);
17170 }
17171 else
17172 {
17173 unsigned long i = ulongval ();
17174 if (i != ((long) (sizeof (long long))))
17175 exit (1);
17176 fprintf (f, "%lu\n", i);
17177 }
17178 exit (ferror (f) || fclose (f) != 0);
17179
17180 ;
17181 return 0;
17182 }
17183 _ACEOF
17184 rm -f conftest$ac_exeext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17186 (eval $ac_link) 2>&5
17187 ac_status=$?
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191 (eval $ac_try) 2>&5
17192 ac_status=$?
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; }; then
17195 ac_cv_sizeof_long_long=`cat conftest.val`
17196 else
17197 echo "$as_me: program exited with status $ac_status" >&5
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17200
17201 ( exit $ac_status )
17202 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17203 See \`config.log' for more details." >&5
17204 echo "$as_me: error: cannot compute sizeof (long long), 77
17205 See \`config.log' for more details." >&2;}
17206 { (exit 1); exit 1; }; }
17207 fi
17208 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17209 fi
17210 fi
17211 rm -f conftest.val
17212 else
17213 ac_cv_sizeof_long_long=0
17214 fi
17215 fi
17216 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17217 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17218 cat >>confdefs.h <<_ACEOF
17219 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17220 _ACEOF
17221
17222
17223 ;;
17224 *-hp-hpux* )
17225 echo "$as_me:$LINENO: checking for long long" >&5
17226 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17227 if test "${ac_cv_type_long_long+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17237 int
17238 main ()
17239 {
17240 if ((long long *) 0)
17241 return 0;
17242 if (sizeof (long long))
17243 return 0;
17244 ;
17245 return 0;
17246 }
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag"
17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 ac_cv_type_long_long=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17274
17275 ac_cv_type_long_long=no
17276 fi
17277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278 fi
17279 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17280 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17281
17282 echo "$as_me:$LINENO: checking size of long long" >&5
17283 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17284 if test "${ac_cv_sizeof_long_long+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 if test "$ac_cv_type_long_long" = yes; then
17288 # The cast to unsigned long works around a bug in the HP C Compiler
17289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17291 # This bug is HP SR number 8606223364.
17292 if test "$cross_compiling" = yes; then
17293 # Depending upon the size, compute the lo and hi bounds.
17294 cat >conftest.$ac_ext <<_ACEOF
17295 /* confdefs.h. */
17296 _ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17301 int
17302 main ()
17303 {
17304 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17305 test_array [0] = 0
17306
17307 ;
17308 return 0;
17309 }
17310 _ACEOF
17311 rm -f conftest.$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag"
17321 || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 ac_lo=0 ac_mid=0
17334 while :; do
17335 cat >conftest.$ac_ext <<_ACEOF
17336 /* confdefs.h. */
17337 _ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17342 int
17343 main ()
17344 {
17345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17346 test_array [0] = 0
17347
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -z "$ac_c_werror_flag"
17362 || test ! -s conftest.err'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17365 ac_status=$?
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; } &&
17368 { ac_try='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17371 ac_status=$?
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_hi=$ac_mid; break
17375 else
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17378
17379 ac_lo=`expr $ac_mid + 1`
17380 if test $ac_lo -le $ac_mid; then
17381 ac_lo= ac_hi=
17382 break
17383 fi
17384 ac_mid=`expr 2 '*' $ac_mid + 1`
17385 fi
17386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17387 done
17388 else
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.$ac_ext >&5
17391
17392 cat >conftest.$ac_ext <<_ACEOF
17393 /* confdefs.h. */
17394 _ACEOF
17395 cat confdefs.h >>conftest.$ac_ext
17396 cat >>conftest.$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 $ac_includes_default
17399 int
17400 main ()
17401 {
17402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17403 test_array [0] = 0
17404
17405 ;
17406 return 0;
17407 }
17408 _ACEOF
17409 rm -f conftest.$ac_objext
17410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17411 (eval $ac_compile) 2>conftest.er1
17412 ac_status=$?
17413 grep -v '^ *+' conftest.er1 >conftest.err
17414 rm -f conftest.er1
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } &&
17418 { ac_try='test -z "$ac_c_werror_flag"
17419 || test ! -s conftest.err'
17420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421 (eval $ac_try) 2>&5
17422 ac_status=$?
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; } &&
17425 { ac_try='test -s conftest.$ac_objext'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17428 ac_status=$?
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; }; then
17431 ac_hi=-1 ac_mid=-1
17432 while :; do
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 $ac_includes_default
17440 int
17441 main ()
17442 {
17443 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17444 test_array [0] = 0
17445
17446 ;
17447 return 0;
17448 }
17449 _ACEOF
17450 rm -f conftest.$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452 (eval $ac_compile) 2>conftest.er1
17453 ac_status=$?
17454 grep -v '^ *+' conftest.er1 >conftest.err
17455 rm -f conftest.er1
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try='test -z "$ac_c_werror_flag"
17460 || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_lo=$ac_mid; break
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17476
17477 ac_hi=`expr '(' $ac_mid ')' - 1`
17478 if test $ac_mid -le $ac_hi; then
17479 ac_lo= ac_hi=
17480 break
17481 fi
17482 ac_mid=`expr 2 '*' $ac_mid`
17483 fi
17484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17485 done
17486 else
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17489
17490 ac_lo= ac_hi=
17491 fi
17492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17493 fi
17494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17495 # Binary search between lo and hi bounds.
17496 while test "x$ac_lo" != "x$ac_hi"; do
17497 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504 $ac_includes_default
17505 int
17506 main ()
17507 {
17508 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17509 test_array [0] = 0
17510
17511 ;
17512 return 0;
17513 }
17514 _ACEOF
17515 rm -f conftest.$ac_objext
17516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17517 (eval $ac_compile) 2>conftest.er1
17518 ac_status=$?
17519 grep -v '^ *+' conftest.er1 >conftest.err
17520 rm -f conftest.er1
17521 cat conftest.err >&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } &&
17524 { ac_try='test -z "$ac_c_werror_flag"
17525 || test ! -s conftest.err'
17526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527 (eval $ac_try) 2>&5
17528 ac_status=$?
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; } &&
17531 { ac_try='test -s conftest.$ac_objext'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17534 ac_status=$?
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; }; then
17537 ac_hi=$ac_mid
17538 else
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17541
17542 ac_lo=`expr '(' $ac_mid ')' + 1`
17543 fi
17544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17545 done
17546 case $ac_lo in
17547 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17548 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17549 See \`config.log' for more details." >&5
17550 echo "$as_me: error: cannot compute sizeof (long long), 77
17551 See \`config.log' for more details." >&2;}
17552 { (exit 1); exit 1; }; } ;;
17553 esac
17554 else
17555 if test "$cross_compiling" = yes; then
17556 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17557 See \`config.log' for more details." >&5
17558 echo "$as_me: error: cannot run test program while cross compiling
17559 See \`config.log' for more details." >&2;}
17560 { (exit 1); exit 1; }; }
17561 else
17562 cat >conftest.$ac_ext <<_ACEOF
17563 /* confdefs.h. */
17564 _ACEOF
17565 cat confdefs.h >>conftest.$ac_ext
17566 cat >>conftest.$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17568 $ac_includes_default
17569 long longval () { return (long) (sizeof (long long)); }
17570 unsigned long ulongval () { return (long) (sizeof (long long)); }
17571 #include <stdio.h>
17572 #include <stdlib.h>
17573 int
17574 main ()
17575 {
17576
17577 FILE *f = fopen ("conftest.val", "w");
17578 if (! f)
17579 exit (1);
17580 if (((long) (sizeof (long long))) < 0)
17581 {
17582 long i = longval ();
17583 if (i != ((long) (sizeof (long long))))
17584 exit (1);
17585 fprintf (f, "%ld\n", i);
17586 }
17587 else
17588 {
17589 unsigned long i = ulongval ();
17590 if (i != ((long) (sizeof (long long))))
17591 exit (1);
17592 fprintf (f, "%lu\n", i);
17593 }
17594 exit (ferror (f) || fclose (f) != 0);
17595
17596 ;
17597 return 0;
17598 }
17599 _ACEOF
17600 rm -f conftest$ac_exeext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17602 (eval $ac_link) 2>&5
17603 ac_status=$?
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17608 ac_status=$?
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; }; then
17611 ac_cv_sizeof_long_long=`cat conftest.val`
17612 else
17613 echo "$as_me: program exited with status $ac_status" >&5
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 ( exit $ac_status )
17618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17619 See \`config.log' for more details." >&5
17620 echo "$as_me: error: cannot compute sizeof (long long), 77
17621 See \`config.log' for more details." >&2;}
17622 { (exit 1); exit 1; }; }
17623 fi
17624 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17625 fi
17626 fi
17627 rm -f conftest.val
17628 else
17629 ac_cv_sizeof_long_long=0
17630 fi
17631 fi
17632 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17633 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17634 cat >>confdefs.h <<_ACEOF
17635 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17636 _ACEOF
17637
17638
17639 if test "$ac_cv_sizeof_long_long" != "0"; then
17640 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17641 fi
17642 ;;
17643 * )
17644 echo "$as_me:$LINENO: checking for long long" >&5
17645 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17646 if test "${ac_cv_type_long_long+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 $ac_includes_default
17656 int
17657 main ()
17658 {
17659 if ((long long *) 0)
17660 return 0;
17661 if (sizeof (long long))
17662 return 0;
17663 ;
17664 return 0;
17665 }
17666 _ACEOF
17667 rm -f conftest.$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try='test -z "$ac_c_werror_flag"
17677 || test ! -s conftest.err'
17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679 (eval $ac_try) 2>&5
17680 ac_status=$?
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); }; } &&
17683 { ac_try='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17686 ac_status=$?
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 ac_cv_type_long_long=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 ac_cv_type_long_long=no
17695 fi
17696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17697 fi
17698 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17699 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17700
17701 echo "$as_me:$LINENO: checking size of long long" >&5
17702 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17703 if test "${ac_cv_sizeof_long_long+set}" = set; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 else
17706 if test "$ac_cv_type_long_long" = yes; then
17707 # The cast to unsigned long works around a bug in the HP C Compiler
17708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17710 # This bug is HP SR number 8606223364.
17711 if test "$cross_compiling" = yes; then
17712 # Depending upon the size, compute the lo and hi bounds.
17713 cat >conftest.$ac_ext <<_ACEOF
17714 /* confdefs.h. */
17715 _ACEOF
17716 cat confdefs.h >>conftest.$ac_ext
17717 cat >>conftest.$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17719 $ac_includes_default
17720 int
17721 main ()
17722 {
17723 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17724 test_array [0] = 0
17725
17726 ;
17727 return 0;
17728 }
17729 _ACEOF
17730 rm -f conftest.$ac_objext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17732 (eval $ac_compile) 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } &&
17739 { ac_try='test -z "$ac_c_werror_flag"
17740 || test ! -s conftest.err'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17743 ac_status=$?
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; } &&
17746 { ac_try='test -s conftest.$ac_objext'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17752 ac_lo=0 ac_mid=0
17753 while :; do
17754 cat >conftest.$ac_ext <<_ACEOF
17755 /* confdefs.h. */
17756 _ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 $ac_includes_default
17761 int
17762 main ()
17763 {
17764 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17765 test_array [0] = 0
17766
17767 ;
17768 return 0;
17769 }
17770 _ACEOF
17771 rm -f conftest.$ac_objext
17772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17773 (eval $ac_compile) 2>conftest.er1
17774 ac_status=$?
17775 grep -v '^ *+' conftest.er1 >conftest.err
17776 rm -f conftest.er1
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } &&
17780 { ac_try='test -z "$ac_c_werror_flag"
17781 || test ! -s conftest.err'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; } &&
17787 { ac_try='test -s conftest.$ac_objext'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17790 ac_status=$?
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; }; then
17793 ac_hi=$ac_mid; break
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17797
17798 ac_lo=`expr $ac_mid + 1`
17799 if test $ac_lo -le $ac_mid; then
17800 ac_lo= ac_hi=
17801 break
17802 fi
17803 ac_mid=`expr 2 '*' $ac_mid + 1`
17804 fi
17805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17806 done
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 cat >conftest.$ac_ext <<_ACEOF
17812 /* confdefs.h. */
17813 _ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 $ac_includes_default
17818 int
17819 main ()
17820 {
17821 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17822 test_array [0] = 0
17823
17824 ;
17825 return 0;
17826 }
17827 _ACEOF
17828 rm -f conftest.$ac_objext
17829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17830 (eval $ac_compile) 2>conftest.er1
17831 ac_status=$?
17832 grep -v '^ *+' conftest.er1 >conftest.err
17833 rm -f conftest.er1
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } &&
17837 { ac_try='test -z "$ac_c_werror_flag"
17838 || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17841 ac_status=$?
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try='test -s conftest.$ac_objext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17847 ac_status=$?
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 ac_hi=-1 ac_mid=-1
17851 while :; do
17852 cat >conftest.$ac_ext <<_ACEOF
17853 /* confdefs.h. */
17854 _ACEOF
17855 cat confdefs.h >>conftest.$ac_ext
17856 cat >>conftest.$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17858 $ac_includes_default
17859 int
17860 main ()
17861 {
17862 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17863 test_array [0] = 0
17864
17865 ;
17866 return 0;
17867 }
17868 _ACEOF
17869 rm -f conftest.$ac_objext
17870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17871 (eval $ac_compile) 2>conftest.er1
17872 ac_status=$?
17873 grep -v '^ *+' conftest.er1 >conftest.err
17874 rm -f conftest.er1
17875 cat conftest.err >&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } &&
17878 { ac_try='test -z "$ac_c_werror_flag"
17879 || test ! -s conftest.err'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17882 ac_status=$?
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; } &&
17885 { ac_try='test -s conftest.$ac_objext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17888 ac_status=$?
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_lo=$ac_mid; break
17892 else
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.$ac_ext >&5
17895
17896 ac_hi=`expr '(' $ac_mid ')' - 1`
17897 if test $ac_mid -le $ac_hi; then
17898 ac_lo= ac_hi=
17899 break
17900 fi
17901 ac_mid=`expr 2 '*' $ac_mid`
17902 fi
17903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17904 done
17905 else
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17908
17909 ac_lo= ac_hi=
17910 fi
17911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17912 fi
17913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17914 # Binary search between lo and hi bounds.
17915 while test "x$ac_lo" != "x$ac_hi"; do
17916 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17917 cat >conftest.$ac_ext <<_ACEOF
17918 /* confdefs.h. */
17919 _ACEOF
17920 cat confdefs.h >>conftest.$ac_ext
17921 cat >>conftest.$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17923 $ac_includes_default
17924 int
17925 main ()
17926 {
17927 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17928 test_array [0] = 0
17929
17930 ;
17931 return 0;
17932 }
17933 _ACEOF
17934 rm -f conftest.$ac_objext
17935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17936 (eval $ac_compile) 2>conftest.er1
17937 ac_status=$?
17938 grep -v '^ *+' conftest.er1 >conftest.err
17939 rm -f conftest.er1
17940 cat conftest.err >&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } &&
17943 { ac_try='test -z "$ac_c_werror_flag"
17944 || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17947 ac_status=$?
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try='test -s conftest.$ac_objext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17953 ac_status=$?
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17956 ac_hi=$ac_mid
17957 else
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17960
17961 ac_lo=`expr '(' $ac_mid ')' + 1`
17962 fi
17963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17964 done
17965 case $ac_lo in
17966 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17967 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17968 See \`config.log' for more details." >&5
17969 echo "$as_me: error: cannot compute sizeof (long long), 77
17970 See \`config.log' for more details." >&2;}
17971 { (exit 1); exit 1; }; } ;;
17972 esac
17973 else
17974 if test "$cross_compiling" = yes; then
17975 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17976 See \`config.log' for more details." >&5
17977 echo "$as_me: error: cannot run test program while cross compiling
17978 See \`config.log' for more details." >&2;}
17979 { (exit 1); exit 1; }; }
17980 else
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 $ac_includes_default
17988 long longval () { return (long) (sizeof (long long)); }
17989 unsigned long ulongval () { return (long) (sizeof (long long)); }
17990 #include <stdio.h>
17991 #include <stdlib.h>
17992 int
17993 main ()
17994 {
17995
17996 FILE *f = fopen ("conftest.val", "w");
17997 if (! f)
17998 exit (1);
17999 if (((long) (sizeof (long long))) < 0)
18000 {
18001 long i = longval ();
18002 if (i != ((long) (sizeof (long long))))
18003 exit (1);
18004 fprintf (f, "%ld\n", i);
18005 }
18006 else
18007 {
18008 unsigned long i = ulongval ();
18009 if (i != ((long) (sizeof (long long))))
18010 exit (1);
18011 fprintf (f, "%lu\n", i);
18012 }
18013 exit (ferror (f) || fclose (f) != 0);
18014
18015 ;
18016 return 0;
18017 }
18018 _ACEOF
18019 rm -f conftest$ac_exeext
18020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18021 (eval $ac_link) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18027 ac_status=$?
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 ac_cv_sizeof_long_long=`cat conftest.val`
18031 else
18032 echo "$as_me: program exited with status $ac_status" >&5
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18035
18036 ( exit $ac_status )
18037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18038 See \`config.log' for more details." >&5
18039 echo "$as_me: error: cannot compute sizeof (long long), 77
18040 See \`config.log' for more details." >&2;}
18041 { (exit 1); exit 1; }; }
18042 fi
18043 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18044 fi
18045 fi
18046 rm -f conftest.val
18047 else
18048 ac_cv_sizeof_long_long=0
18049 fi
18050 fi
18051 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18052 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18053 cat >>confdefs.h <<_ACEOF
18054 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18055 _ACEOF
18056
18057
18058 esac
18059
18060 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18061 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18062 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18065
18066 if test "$cross_compiling" = yes; then
18067
18068 case "${host}" in
18069 *-pc-msdosdjgpp )
18070 wx_cv_sizeof_wchar_t=0
18071 ;;
18072 * )
18073 wx_cv_sizeof_wchar_t=4
18074 ;;
18075 esac
18076
18077
18078 else
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085
18086 /* DJGPP only has fake wchar_t: */
18087 #ifdef __DJGPP__
18088 # error "fake wchar_t"
18089 #endif
18090 #ifdef HAVE_WCHAR_H
18091 # ifdef __CYGWIN__
18092 # include <stddef.h>
18093 # endif
18094 # include <wchar.h>
18095 #endif
18096 #ifdef HAVE_STDLIB_H
18097 # include <stdlib.h>
18098 #endif
18099 #include <stdio.h>
18100 int main()
18101 {
18102 FILE *f=fopen("conftestval", "w");
18103 if (!f) exit(1);
18104 fprintf(f, "%i", sizeof(wchar_t));
18105 exit(0);
18106 }
18107
18108 _ACEOF
18109 rm -f conftest$ac_exeext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18111 (eval $ac_link) 2>&5
18112 ac_status=$?
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 wx_cv_sizeof_wchar_t=`cat conftestval`
18121 else
18122 echo "$as_me: program exited with status $ac_status" >&5
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18125
18126 ( exit $ac_status )
18127 wx_cv_sizeof_wchar_t=0
18128 fi
18129 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18130 fi
18131
18132 fi
18133 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18134 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18135
18136 cat >>confdefs.h <<_ACEOF
18137 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18138 _ACEOF
18139
18140
18141 # Check whether --enable-largefile or --disable-largefile was given.
18142 if test "${enable_largefile+set}" = set; then
18143 enableval="$enable_largefile"
18144
18145 fi;
18146 if test "$enable_largefile" != no; then
18147 wx_largefile=no
18148
18149 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18150 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18151 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18153 else
18154
18155 cat >conftest.$ac_ext <<_ACEOF
18156 /* confdefs.h. */
18157 _ACEOF
18158 cat confdefs.h >>conftest.$ac_ext
18159 cat >>conftest.$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161 #define _FILE_OFFSET_BITS 64
18162 #include <sys/types.h>
18163 int
18164 main ()
18165 {
18166 typedef struct {
18167 unsigned int field: sizeof(off_t) == 8;
18168 } wxlf;
18169
18170 ;
18171 return 0;
18172 }
18173 _ACEOF
18174 rm -f conftest.$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18177 ac_status=$?
18178 grep -v '^ *+' conftest.er1 >conftest.err
18179 rm -f conftest.er1
18180 cat conftest.err >&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try='test -z "$ac_c_werror_flag"
18184 || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18193 ac_status=$?
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18196 ac_cv_sys_file_offset_bits=64
18197 else
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.$ac_ext >&5
18200
18201 ac_cv_sys_file_offset_bits=no
18202 fi
18203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18204
18205
18206 fi
18207 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18208 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18209
18210 if test "$ac_cv_sys_file_offset_bits" != no; then
18211 wx_largefile=yes
18212 cat >>confdefs.h <<_ACEOF
18213 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18214 _ACEOF
18215
18216 fi
18217
18218 if test "x$wx_largefile" != "xyes"; then
18219
18220 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18221 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18222 if test "${ac_cv_sys_large_files+set}" = set; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 else
18225
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 #define _LARGE_FILES 1
18233 #include <sys/types.h>
18234 int
18235 main ()
18236 {
18237 typedef struct {
18238 unsigned int field: sizeof(off_t) == 8;
18239 } wxlf;
18240
18241 ;
18242 return 0;
18243 }
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18248 ac_status=$?
18249 grep -v '^ *+' conftest.er1 >conftest.err
18250 rm -f conftest.er1
18251 cat conftest.err >&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try='test -z "$ac_c_werror_flag"
18255 || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18258 ac_status=$?
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18264 ac_status=$?
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 ac_cv_sys_large_files=1
18268 else
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.$ac_ext >&5
18271
18272 ac_cv_sys_large_files=no
18273 fi
18274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18275
18276
18277 fi
18278 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18279 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18280
18281 if test "$ac_cv_sys_large_files" != no; then
18282 wx_largefile=yes
18283 cat >>confdefs.h <<_ACEOF
18284 #define _LARGE_FILES $ac_cv_sys_large_files
18285 _ACEOF
18286
18287 fi
18288
18289 fi
18290
18291 echo "$as_me:$LINENO: checking if large file support is available" >&5
18292 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18293 if test "x$wx_largefile" = "xyes"; then
18294 cat >>confdefs.h <<\_ACEOF
18295 #define HAVE_LARGEFILE_SUPPORT 1
18296 _ACEOF
18297
18298 fi
18299 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18300 echo "${ECHO_T}$wx_largefile" >&6
18301 fi
18302
18303
18304 if test "x$wx_largefile" = "xyes"; then
18305 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18306 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18307 else
18308 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18309 fi
18310 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18311 fi
18312
18313 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18314 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18315 if test "${ac_cv_c_bigendian+set}" = set; then
18316 echo $ECHO_N "(cached) $ECHO_C" >&6
18317 else
18318 ac_cv_c_bigendian=unknown
18319 # See if sys/param.h defines the BYTE_ORDER macro.
18320 cat >conftest.$ac_ext <<_ACEOF
18321 /* confdefs.h. */
18322 _ACEOF
18323 cat confdefs.h >>conftest.$ac_ext
18324 cat >>conftest.$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 #include <sys/types.h>
18327 #include <sys/param.h>
18328 int
18329 main ()
18330 {
18331
18332 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18333 bogus endian macros
18334 #endif
18335 ;
18336 return 0;
18337 }
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18341 (eval $ac_compile) 2>conftest.er1
18342 ac_status=$?
18343 grep -v '^ *+' conftest.er1 >conftest.err
18344 rm -f conftest.er1
18345 cat conftest.err >&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try='test -z "$ac_c_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 # It does; now see whether it defined to BIG_ENDIAN or not.
18362 cat >conftest.$ac_ext <<_ACEOF
18363 /* confdefs.h. */
18364 _ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368 #include <sys/types.h>
18369 #include <sys/param.h>
18370 int
18371 main ()
18372 {
18373
18374 #if BYTE_ORDER != BIG_ENDIAN
18375 not big endian
18376 #endif
18377 ;
18378 return 0;
18379 }
18380 _ACEOF
18381 rm -f conftest.$ac_objext
18382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18383 (eval $ac_compile) 2>conftest.er1
18384 ac_status=$?
18385 grep -v '^ *+' conftest.er1 >conftest.err
18386 rm -f conftest.er1
18387 cat conftest.err >&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } &&
18390 { ac_try='test -z "$ac_c_werror_flag"
18391 || test ! -s conftest.err'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18394 ac_status=$?
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; } &&
18397 { ac_try='test -s conftest.$ac_objext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18403 ac_cv_c_bigendian=yes
18404 else
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18407
18408 ac_cv_c_bigendian=no
18409 fi
18410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18411 else
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.$ac_ext >&5
18414
18415 fi
18416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18417 if test $ac_cv_c_bigendian = unknown; then
18418 if test "$cross_compiling" = yes; then
18419 ac_cv_c_bigendian=unknown
18420 else
18421 cat >conftest.$ac_ext <<_ACEOF
18422 /* confdefs.h. */
18423 _ACEOF
18424 cat confdefs.h >>conftest.$ac_ext
18425 cat >>conftest.$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 main () {
18428 /* Are we little or big endian? From Harbison&Steele. */
18429 union
18430 {
18431 long l;
18432 char c[sizeof (long)];
18433 } u;
18434 u.l = 1;
18435 exit (u.c[sizeof (long) - 1] == 1);
18436 }
18437 _ACEOF
18438 rm -f conftest$ac_exeext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18440 (eval $ac_link) 2>&5
18441 ac_status=$?
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18446 ac_status=$?
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_c_bigendian=no
18450 else
18451 echo "$as_me: program exited with status $ac_status" >&5
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18454
18455 ( exit $ac_status )
18456 ac_cv_c_bigendian=yes
18457 fi
18458 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18459 fi
18460 fi
18461 fi
18462 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18463 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18464 if test $ac_cv_c_bigendian = unknown; then
18465 { 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
18466 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;}
18467 fi
18468 if test $ac_cv_c_bigendian = yes; then
18469 cat >>confdefs.h <<\_ACEOF
18470 #define WORDS_BIGENDIAN 1
18471 _ACEOF
18472
18473 fi
18474
18475
18476 ac_ext=cc
18477 ac_cpp='$CXXCPP $CPPFLAGS'
18478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18481 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18482 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18483 if test -z "$CXXCPP"; then
18484 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 else
18487 # Double quotes because CXXCPP needs to be expanded
18488 for CXXCPP in "$CXX -E" "/lib/cpp"
18489 do
18490 ac_preproc_ok=false
18491 for ac_cxx_preproc_warn_flag in '' yes
18492 do
18493 # Use a header file that comes with gcc, so configuring glibc
18494 # with a fresh cross-compiler works.
18495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18496 # <limits.h> exists even on freestanding compilers.
18497 # On the NeXT, cc -E runs the code through the compiler's parser,
18498 # not just through cpp. "Syntax error" is here to catch this case.
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #ifdef __STDC__
18506 # include <limits.h>
18507 #else
18508 # include <assert.h>
18509 #endif
18510 Syntax error
18511 _ACEOF
18512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18514 ac_status=$?
18515 grep -v '^ *+' conftest.er1 >conftest.err
18516 rm -f conftest.er1
18517 cat conftest.err >&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } >/dev/null; then
18520 if test -s conftest.err; then
18521 ac_cpp_err=$ac_cxx_preproc_warn_flag
18522 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18523 else
18524 ac_cpp_err=
18525 fi
18526 else
18527 ac_cpp_err=yes
18528 fi
18529 if test -z "$ac_cpp_err"; then
18530 :
18531 else
18532 echo "$as_me: failed program was:" >&5
18533 sed 's/^/| /' conftest.$ac_ext >&5
18534
18535 # Broken: fails on valid input.
18536 continue
18537 fi
18538 rm -f conftest.err conftest.$ac_ext
18539
18540 # OK, works on sane cases. Now check whether non-existent headers
18541 # can be detected and how.
18542 cat >conftest.$ac_ext <<_ACEOF
18543 /* confdefs.h. */
18544 _ACEOF
18545 cat confdefs.h >>conftest.$ac_ext
18546 cat >>conftest.$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 #include <ac_nonexistent.h>
18549 _ACEOF
18550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18552 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1
18555 cat conftest.err >&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } >/dev/null; then
18558 if test -s conftest.err; then
18559 ac_cpp_err=$ac_cxx_preproc_warn_flag
18560 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18561 else
18562 ac_cpp_err=
18563 fi
18564 else
18565 ac_cpp_err=yes
18566 fi
18567 if test -z "$ac_cpp_err"; then
18568 # Broken: success on invalid input.
18569 continue
18570 else
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18573
18574 # Passes both tests.
18575 ac_preproc_ok=:
18576 break
18577 fi
18578 rm -f conftest.err conftest.$ac_ext
18579
18580 done
18581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18582 rm -f conftest.err conftest.$ac_ext
18583 if $ac_preproc_ok; then
18584 break
18585 fi
18586
18587 done
18588 ac_cv_prog_CXXCPP=$CXXCPP
18589
18590 fi
18591 CXXCPP=$ac_cv_prog_CXXCPP
18592 else
18593 ac_cv_prog_CXXCPP=$CXXCPP
18594 fi
18595 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18596 echo "${ECHO_T}$CXXCPP" >&6
18597 ac_preproc_ok=false
18598 for ac_cxx_preproc_warn_flag in '' yes
18599 do
18600 # Use a header file that comes with gcc, so configuring glibc
18601 # with a fresh cross-compiler works.
18602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18603 # <limits.h> exists even on freestanding compilers.
18604 # On the NeXT, cc -E runs the code through the compiler's parser,
18605 # not just through cpp. "Syntax error" is here to catch this case.
18606 cat >conftest.$ac_ext <<_ACEOF
18607 /* confdefs.h. */
18608 _ACEOF
18609 cat confdefs.h >>conftest.$ac_ext
18610 cat >>conftest.$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18612 #ifdef __STDC__
18613 # include <limits.h>
18614 #else
18615 # include <assert.h>
18616 #endif
18617 Syntax error
18618 _ACEOF
18619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18621 ac_status=$?
18622 grep -v '^ *+' conftest.er1 >conftest.err
18623 rm -f conftest.er1
18624 cat conftest.err >&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } >/dev/null; then
18627 if test -s conftest.err; then
18628 ac_cpp_err=$ac_cxx_preproc_warn_flag
18629 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18630 else
18631 ac_cpp_err=
18632 fi
18633 else
18634 ac_cpp_err=yes
18635 fi
18636 if test -z "$ac_cpp_err"; then
18637 :
18638 else
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.$ac_ext >&5
18641
18642 # Broken: fails on valid input.
18643 continue
18644 fi
18645 rm -f conftest.err conftest.$ac_ext
18646
18647 # OK, works on sane cases. Now check whether non-existent headers
18648 # can be detected and how.
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h. */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 #include <ac_nonexistent.h>
18656 _ACEOF
18657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18659 ac_status=$?
18660 grep -v '^ *+' conftest.er1 >conftest.err
18661 rm -f conftest.er1
18662 cat conftest.err >&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } >/dev/null; then
18665 if test -s conftest.err; then
18666 ac_cpp_err=$ac_cxx_preproc_warn_flag
18667 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18668 else
18669 ac_cpp_err=
18670 fi
18671 else
18672 ac_cpp_err=yes
18673 fi
18674 if test -z "$ac_cpp_err"; then
18675 # Broken: success on invalid input.
18676 continue
18677 else
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18680
18681 # Passes both tests.
18682 ac_preproc_ok=:
18683 break
18684 fi
18685 rm -f conftest.err conftest.$ac_ext
18686
18687 done
18688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18689 rm -f conftest.err conftest.$ac_ext
18690 if $ac_preproc_ok; then
18691 :
18692 else
18693 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18694 See \`config.log' for more details." >&5
18695 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18696 See \`config.log' for more details." >&2;}
18697 { (exit 1); exit 1; }; }
18698 fi
18699
18700 ac_ext=cc
18701 ac_cpp='$CXXCPP $CPPFLAGS'
18702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18705
18706
18707
18708 if test "$cross_compiling" = "yes"; then
18709 cat >>confdefs.h <<\_ACEOF
18710 #define wxUSE_IOSTREAMH 1
18711 _ACEOF
18712
18713 else
18714
18715
18716 ac_ext=cc
18717 ac_cpp='$CXXCPP $CPPFLAGS'
18718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18721
18722
18723
18724 for ac_header in iostream
18725 do
18726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18728 echo "$as_me:$LINENO: checking for $ac_header" >&5
18729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 fi
18733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18735 else
18736 # Is the header compilable?
18737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18739 cat >conftest.$ac_ext <<_ACEOF
18740 /* confdefs.h. */
18741 _ACEOF
18742 cat confdefs.h >>conftest.$ac_ext
18743 cat >>conftest.$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745 $ac_includes_default
18746 #include <$ac_header>
18747 _ACEOF
18748 rm -f conftest.$ac_objext
18749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18750 (eval $ac_compile) 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try='test -z "$ac_cxx_werror_flag"
18758 || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18761 ac_status=$?
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 ac_header_compiler=yes
18771 else
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18774
18775 ac_header_compiler=no
18776 fi
18777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18779 echo "${ECHO_T}$ac_header_compiler" >&6
18780
18781 # Is the header present?
18782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18784 cat >conftest.$ac_ext <<_ACEOF
18785 /* confdefs.h. */
18786 _ACEOF
18787 cat confdefs.h >>conftest.$ac_ext
18788 cat >>conftest.$ac_ext <<_ACEOF
18789 /* end confdefs.h. */
18790 #include <$ac_header>
18791 _ACEOF
18792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18794 ac_status=$?
18795 grep -v '^ *+' conftest.er1 >conftest.err
18796 rm -f conftest.er1
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } >/dev/null; then
18800 if test -s conftest.err; then
18801 ac_cpp_err=$ac_cxx_preproc_warn_flag
18802 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18803 else
18804 ac_cpp_err=
18805 fi
18806 else
18807 ac_cpp_err=yes
18808 fi
18809 if test -z "$ac_cpp_err"; then
18810 ac_header_preproc=yes
18811 else
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.$ac_ext >&5
18814
18815 ac_header_preproc=no
18816 fi
18817 rm -f conftest.err conftest.$ac_ext
18818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18819 echo "${ECHO_T}$ac_header_preproc" >&6
18820
18821 # So? What about this header?
18822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18823 yes:no: )
18824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18828 ac_header_preproc=yes
18829 ;;
18830 no:yes:* )
18831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18843 (
18844 cat <<\_ASBOX
18845 ## ----------------------------------------- ##
18846 ## Report this to wx-dev@lists.wxwidgets.org ##
18847 ## ----------------------------------------- ##
18848 _ASBOX
18849 ) |
18850 sed "s/^/$as_me: WARNING: /" >&2
18851 ;;
18852 esac
18853 echo "$as_me:$LINENO: checking for $ac_header" >&5
18854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 else
18858 eval "$as_ac_Header=\$ac_header_preproc"
18859 fi
18860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18862
18863 fi
18864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18865 cat >>confdefs.h <<_ACEOF
18866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18867 _ACEOF
18868
18869 fi
18870
18871 done
18872
18873
18874 if test "$ac_cv_header_iostream" = "yes" ; then
18875 :
18876 else
18877 cat >>confdefs.h <<\_ACEOF
18878 #define wxUSE_IOSTREAMH 1
18879 _ACEOF
18880
18881 fi
18882
18883 ac_ext=c
18884 ac_cpp='$CPP $CPPFLAGS'
18885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18888
18889 fi
18890
18891
18892
18893 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18894 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18895 if test "${wx_cv_cpp_bool+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 else
18898
18899
18900
18901 ac_ext=cc
18902 ac_cpp='$CXXCPP $CPPFLAGS'
18903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18906
18907
18908 cat >conftest.$ac_ext <<_ACEOF
18909 /* confdefs.h. */
18910 _ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914
18915
18916 int
18917 main ()
18918 {
18919
18920 bool b = true;
18921
18922 return 0;
18923
18924 ;
18925 return 0;
18926 }
18927 _ACEOF
18928 rm -f conftest.$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18931 ac_status=$?
18932 grep -v '^ *+' conftest.er1 >conftest.err
18933 rm -f conftest.er1
18934 cat conftest.err >&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try='test -z "$ac_cxx_werror_flag"
18938 || test ! -s conftest.err'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18941 ac_status=$?
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; } &&
18944 { ac_try='test -s conftest.$ac_objext'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18947 ac_status=$?
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18950
18951 wx_cv_cpp_bool=yes
18952
18953 else
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18956
18957
18958 wx_cv_cpp_bool=no
18959
18960
18961 fi
18962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18963
18964 ac_ext=c
18965 ac_cpp='$CPP $CPPFLAGS'
18966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18969
18970
18971 fi
18972 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18973 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18974
18975 if test "$wx_cv_cpp_bool" = "yes"; then
18976 cat >>confdefs.h <<\_ACEOF
18977 #define HAVE_BOOL 1
18978 _ACEOF
18979
18980 fi
18981
18982
18983
18984 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18985 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18986 if test "${wx_cv_explicit+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 else
18989
18990
18991
18992 ac_ext=cc
18993 ac_cpp='$CXXCPP $CPPFLAGS'
18994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18997
18998
18999 cat >conftest.$ac_ext <<_ACEOF
19000 /* confdefs.h. */
19001 _ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005
19006 class Foo { public: explicit Foo(int) {} };
19007
19008 int
19009 main ()
19010 {
19011
19012 return 0;
19013
19014 ;
19015 return 0;
19016 }
19017 _ACEOF
19018 rm -f conftest.$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 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_cxx_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_objext'
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
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047
19048 class Foo { public: explicit Foo(int) {} };
19049 static void TakeFoo(const Foo& foo) { }
19050
19051 int
19052 main ()
19053 {
19054
19055 TakeFoo(17);
19056 return 0;
19057
19058 ;
19059 return 0;
19060 }
19061 _ACEOF
19062 rm -f conftest.$ac_objext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19064 (eval $ac_compile) 2>conftest.er1
19065 ac_status=$?
19066 grep -v '^ *+' conftest.er1 >conftest.err
19067 rm -f conftest.er1
19068 cat conftest.err >&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try='test -z "$ac_cxx_werror_flag"
19072 || test ! -s conftest.err'
19073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19074 (eval $ac_try) 2>&5
19075 ac_status=$?
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; } &&
19078 { ac_try='test -s conftest.$ac_objext'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19081 ac_status=$?
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; }; then
19084 wx_cv_explicit=no
19085 else
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19088
19089 wx_cv_explicit=yes
19090
19091 fi
19092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19093
19094 else
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19097
19098 wx_cv_explicit=no
19099
19100 fi
19101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19102
19103 ac_ext=c
19104 ac_cpp='$CPP $CPPFLAGS'
19105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19108
19109
19110 fi
19111 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19112 echo "${ECHO_T}$wx_cv_explicit" >&6
19113
19114 if test "$wx_cv_explicit" = "yes"; then
19115 cat >>confdefs.h <<\_ACEOF
19116 #define HAVE_EXPLICIT 1
19117 _ACEOF
19118
19119 fi
19120
19121
19122 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19123 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19124 if test "${ac_cv_cxx_const_cast+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 else
19127
19128
19129 ac_ext=cc
19130 ac_cpp='$CXXCPP $CPPFLAGS'
19131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19134
19135 cat >conftest.$ac_ext <<_ACEOF
19136 /* confdefs.h. */
19137 _ACEOF
19138 cat confdefs.h >>conftest.$ac_ext
19139 cat >>conftest.$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141
19142 int
19143 main ()
19144 {
19145 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19146 ;
19147 return 0;
19148 }
19149 _ACEOF
19150 rm -f conftest.$ac_objext
19151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19152 (eval $ac_compile) 2>conftest.er1
19153 ac_status=$?
19154 grep -v '^ *+' conftest.er1 >conftest.err
19155 rm -f conftest.er1
19156 cat conftest.err >&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } &&
19159 { ac_try='test -z "$ac_cxx_werror_flag"
19160 || test ! -s conftest.err'
19161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19162 (eval $ac_try) 2>&5
19163 ac_status=$?
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); }; } &&
19166 { ac_try='test -s conftest.$ac_objext'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19169 ac_status=$?
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; }; then
19172 ac_cv_cxx_const_cast=yes
19173 else
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.$ac_ext >&5
19176
19177 ac_cv_cxx_const_cast=no
19178 fi
19179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19180 ac_ext=c
19181 ac_cpp='$CPP $CPPFLAGS'
19182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19185
19186
19187 fi
19188 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19189 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19190 if test "$ac_cv_cxx_const_cast" = yes; then
19191
19192 cat >>confdefs.h <<\_ACEOF
19193 #define HAVE_CONST_CAST
19194 _ACEOF
19195
19196 fi
19197
19198 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19199 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19200 if test "${ac_cv_cxx_static_cast+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19202 else
19203
19204
19205 ac_ext=cc
19206 ac_cpp='$CXXCPP $CPPFLAGS'
19207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19210
19211 cat >conftest.$ac_ext <<_ACEOF
19212 /* confdefs.h. */
19213 _ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 #include <typeinfo>
19218 class Base { public : Base () {} virtual void f () = 0; };
19219 class Derived : public Base { public : Derived () {} virtual void f () {} };
19220 int g (Derived&) { return 0; }
19221 int
19222 main ()
19223 {
19224
19225 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19226 ;
19227 return 0;
19228 }
19229 _ACEOF
19230 rm -f conftest.$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -z "$ac_cxx_werror_flag"
19240 || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19249 ac_status=$?
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19252 ac_cv_cxx_static_cast=yes
19253 else
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19256
19257 ac_cv_cxx_static_cast=no
19258 fi
19259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19260 ac_ext=c
19261 ac_cpp='$CPP $CPPFLAGS'
19262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19265
19266
19267 fi
19268 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19269 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19270 if test "$ac_cv_cxx_static_cast" = yes; then
19271
19272 cat >>confdefs.h <<\_ACEOF
19273 #define HAVE_STATIC_CAST
19274 _ACEOF
19275
19276 fi
19277
19278
19279 if test "$wxUSE_STL" = "yes"; then
19280 ac_ext=cc
19281 ac_cpp='$CXXCPP $CPPFLAGS'
19282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19285
19286
19287 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19288 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19289 cat >conftest.$ac_ext <<_ACEOF
19290 /* confdefs.h. */
19291 _ACEOF
19292 cat confdefs.h >>conftest.$ac_ext
19293 cat >>conftest.$ac_ext <<_ACEOF
19294 /* end confdefs.h. */
19295 #include <string>
19296 #include <functional>
19297 #include <algorithm>
19298 #include <vector>
19299 #include <list>
19300 int
19301 main ()
19302 {
19303 std::vector<int> moo;
19304 std::list<int> foo;
19305 std::vector<int>::iterator it =
19306 std::find_if(moo.begin(), moo.end(),
19307 std::bind2nd(std::less<int>(), 3));
19308 ;
19309 return 0;
19310 }
19311 _ACEOF
19312 rm -f conftest.$ac_objext
19313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19314 (eval $ac_compile) 2>conftest.er1
19315 ac_status=$?
19316 grep -v '^ *+' conftest.er1 >conftest.err
19317 rm -f conftest.er1
19318 cat conftest.err >&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } &&
19321 { ac_try='test -z "$ac_cxx_werror_flag"
19322 || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 echo "$as_me:$LINENO: result: yes" >&5
19335 echo "${ECHO_T}yes" >&6
19336 else
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19339
19340 echo "$as_me:$LINENO: result: no" >&5
19341 echo "${ECHO_T}no" >&6
19342 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19343 echo "$as_me: error: Basic STL functionality missing" >&2;}
19344 { (exit 1); exit 1; }; }
19345 fi
19346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19347
19348 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19349 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 #include <string>
19357 int
19358 main ()
19359 {
19360 std::wstring foo;
19361 ;
19362 return 0;
19363 }
19364 _ACEOF
19365 rm -f conftest.$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>conftest.er1
19368 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } &&
19374 { ac_try='test -z "$ac_cxx_werror_flag"
19375 || test ! -s conftest.err'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; } &&
19381 { ac_try='test -s conftest.$ac_objext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 echo "$as_me:$LINENO: result: yes" >&5
19388 echo "${ECHO_T}yes" >&6
19389 cat >>confdefs.h <<\_ACEOF
19390 #define HAVE_STD_WSTRING 1
19391 _ACEOF
19392
19393 else
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5
19396
19397 echo "$as_me:$LINENO: result: no" >&5
19398 echo "${ECHO_T}no" >&6
19399 fi
19400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19401
19402 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19403 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19404 cat >conftest.$ac_ext <<_ACEOF
19405 /* confdefs.h. */
19406 _ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 #include <string>
19411 int
19412 main ()
19413 {
19414 std::string foo, bar;
19415 foo.compare(bar);
19416 foo.compare(1, 1, bar);
19417 foo.compare(1, 1, bar, 1, 1);
19418 foo.compare("");
19419 foo.compare(1, 1, "");
19420 foo.compare(1, 1, "", 2);
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest.$ac_objext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19427 (eval $ac_compile) 2>conftest.er1
19428 ac_status=$?
19429 grep -v '^ *+' conftest.er1 >conftest.err
19430 rm -f conftest.er1
19431 cat conftest.err >&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } &&
19434 { ac_try='test -z "$ac_cxx_werror_flag"
19435 || test ! -s conftest.err'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19438 ac_status=$?
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; } &&
19441 { ac_try='test -s conftest.$ac_objext'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19444 ac_status=$?
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; }; then
19447 echo "$as_me:$LINENO: result: yes" >&5
19448 echo "${ECHO_T}yes" >&6
19449 cat >>confdefs.h <<\_ACEOF
19450 #define HAVE_STD_STRING_COMPARE 1
19451 _ACEOF
19452
19453 else
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.$ac_ext >&5
19456
19457 echo "$as_me:$LINENO: result: no" >&5
19458 echo "${ECHO_T}no" >&6
19459 fi
19460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19461
19462 if test "${ac_cv_header_hash_map+set}" = set; then
19463 echo "$as_me:$LINENO: checking for hash_map" >&5
19464 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19465 if test "${ac_cv_header_hash_map+set}" = set; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 fi
19468 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19469 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19470 else
19471 # Is the header compilable?
19472 echo "$as_me:$LINENO: checking hash_map usability" >&5
19473 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19474 cat >conftest.$ac_ext <<_ACEOF
19475 /* confdefs.h. */
19476 _ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 $ac_includes_default
19481 #include <hash_map>
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19485 (eval $ac_compile) 2>conftest.er1
19486 ac_status=$?
19487 grep -v '^ *+' conftest.er1 >conftest.err
19488 rm -f conftest.er1
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try='test -z "$ac_cxx_werror_flag"
19493 || test ! -s conftest.err'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19496 ac_status=$?
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; } &&
19499 { ac_try='test -s conftest.$ac_objext'
19500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19502 ac_status=$?
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; }; then
19505 ac_header_compiler=yes
19506 else
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.$ac_ext >&5
19509
19510 ac_header_compiler=no
19511 fi
19512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19514 echo "${ECHO_T}$ac_header_compiler" >&6
19515
19516 # Is the header present?
19517 echo "$as_me:$LINENO: checking hash_map presence" >&5
19518 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19519 cat >conftest.$ac_ext <<_ACEOF
19520 /* confdefs.h. */
19521 _ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #include <hash_map>
19526 _ACEOF
19527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19529 ac_status=$?
19530 grep -v '^ *+' conftest.er1 >conftest.err
19531 rm -f conftest.er1
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } >/dev/null; then
19535 if test -s conftest.err; then
19536 ac_cpp_err=$ac_cxx_preproc_warn_flag
19537 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19538 else
19539 ac_cpp_err=
19540 fi
19541 else
19542 ac_cpp_err=yes
19543 fi
19544 if test -z "$ac_cpp_err"; then
19545 ac_header_preproc=yes
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19549
19550 ac_header_preproc=no
19551 fi
19552 rm -f conftest.err conftest.$ac_ext
19553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19554 echo "${ECHO_T}$ac_header_preproc" >&6
19555
19556 # So? What about this header?
19557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19558 yes:no: )
19559 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19560 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19561 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19562 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19563 ac_header_preproc=yes
19564 ;;
19565 no:yes:* )
19566 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19567 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19568 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19569 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19570 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19571 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19573 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19574 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19575 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19576 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19577 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19578 (
19579 cat <<\_ASBOX
19580 ## ----------------------------------------- ##
19581 ## Report this to wx-dev@lists.wxwidgets.org ##
19582 ## ----------------------------------------- ##
19583 _ASBOX
19584 ) |
19585 sed "s/^/$as_me: WARNING: /" >&2
19586 ;;
19587 esac
19588 echo "$as_me:$LINENO: checking for hash_map" >&5
19589 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19590 if test "${ac_cv_header_hash_map+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 ac_cv_header_hash_map=$ac_header_preproc
19594 fi
19595 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19596 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19597
19598 fi
19599 if test $ac_cv_header_hash_map = yes; then
19600 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19601 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #include <hash_map>
19609 #include <hash_set>
19610 int
19611 main ()
19612 {
19613 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19614 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19615 ;
19616 return 0;
19617 }
19618 _ACEOF
19619 rm -f conftest.$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try='test -z "$ac_cxx_werror_flag"
19629 || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19638 ac_status=$?
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19641 echo "$as_me:$LINENO: result: yes" >&5
19642 echo "${ECHO_T}yes" >&6
19643 cat >>confdefs.h <<\_ACEOF
19644 #define HAVE_HASH_MAP 1
19645 _ACEOF
19646
19647 cat >>confdefs.h <<\_ACEOF
19648 #define HAVE_STD_HASH_MAP 1
19649 _ACEOF
19650
19651 else
19652 echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.$ac_ext >&5
19654
19655 echo "$as_me:$LINENO: result: no" >&5
19656 echo "${ECHO_T}no" >&6
19657 fi
19658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19659
19660 fi
19661
19662
19663
19664 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19665 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19666 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19667 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 fi
19670 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19671 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19672 else
19673 # Is the header compilable?
19674 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19675 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19676 cat >conftest.$ac_ext <<_ACEOF
19677 /* confdefs.h. */
19678 _ACEOF
19679 cat confdefs.h >>conftest.$ac_ext
19680 cat >>conftest.$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 #include <ext/hash_map>
19684 _ACEOF
19685 rm -f conftest.$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687 (eval $ac_compile) 2>conftest.er1
19688 ac_status=$?
19689 grep -v '^ *+' conftest.er1 >conftest.err
19690 rm -f conftest.er1
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try='test -z "$ac_cxx_werror_flag"
19695 || test ! -s conftest.err'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19698 ac_status=$?
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; } &&
19701 { ac_try='test -s conftest.$ac_objext'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19704 ac_status=$?
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; }; then
19707 ac_header_compiler=yes
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_header_compiler=no
19713 fi
19714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19716 echo "${ECHO_T}$ac_header_compiler" >&6
19717
19718 # Is the header present?
19719 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19720 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19721 cat >conftest.$ac_ext <<_ACEOF
19722 /* confdefs.h. */
19723 _ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 #include <ext/hash_map>
19728 _ACEOF
19729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19731 ac_status=$?
19732 grep -v '^ *+' conftest.er1 >conftest.err
19733 rm -f conftest.er1
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } >/dev/null; then
19737 if test -s conftest.err; then
19738 ac_cpp_err=$ac_cxx_preproc_warn_flag
19739 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19740 else
19741 ac_cpp_err=
19742 fi
19743 else
19744 ac_cpp_err=yes
19745 fi
19746 if test -z "$ac_cpp_err"; then
19747 ac_header_preproc=yes
19748 else
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19751
19752 ac_header_preproc=no
19753 fi
19754 rm -f conftest.err conftest.$ac_ext
19755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19756 echo "${ECHO_T}$ac_header_preproc" >&6
19757
19758 # So? What about this header?
19759 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19760 yes:no: )
19761 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19762 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19763 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19764 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19765 ac_header_preproc=yes
19766 ;;
19767 no:yes:* )
19768 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19769 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19770 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19771 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19772 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19773 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19775 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19776 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19777 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19778 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19779 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19780 (
19781 cat <<\_ASBOX
19782 ## ----------------------------------------- ##
19783 ## Report this to wx-dev@lists.wxwidgets.org ##
19784 ## ----------------------------------------- ##
19785 _ASBOX
19786 ) |
19787 sed "s/^/$as_me: WARNING: /" >&2
19788 ;;
19789 esac
19790 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19791 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19792 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 ac_cv_header_ext_hash_map=$ac_header_preproc
19796 fi
19797 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19798 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19799
19800 fi
19801 if test $ac_cv_header_ext_hash_map = yes; then
19802 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19803 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19804 cat >conftest.$ac_ext <<_ACEOF
19805 /* confdefs.h. */
19806 _ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #include <ext/hash_map>
19811 #include <ext/hash_set>
19812 int
19813 main ()
19814 {
19815 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19816 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19817 ;
19818 return 0;
19819 }
19820 _ACEOF
19821 rm -f conftest.$ac_objext
19822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19823 (eval $ac_compile) 2>conftest.er1
19824 ac_status=$?
19825 grep -v '^ *+' conftest.er1 >conftest.err
19826 rm -f conftest.er1
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } &&
19830 { ac_try='test -z "$ac_cxx_werror_flag"
19831 || test ! -s conftest.err'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19834 ac_status=$?
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; } &&
19837 { ac_try='test -s conftest.$ac_objext'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19840 ac_status=$?
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19843 echo "$as_me:$LINENO: result: yes" >&5
19844 echo "${ECHO_T}yes" >&6
19845 cat >>confdefs.h <<\_ACEOF
19846 #define HAVE_EXT_HASH_MAP 1
19847 _ACEOF
19848
19849 cat >>confdefs.h <<\_ACEOF
19850 #define HAVE_GNU_CXX_HASH_MAP 1
19851 _ACEOF
19852
19853 else
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19856
19857 echo "$as_me:$LINENO: result: no" >&5
19858 echo "${ECHO_T}no" >&6
19859 fi
19860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19861
19862 fi
19863
19864
19865
19866 ac_ext=c
19867 ac_cpp='$CPP $CPPFLAGS'
19868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19871
19872 fi
19873
19874
19875 SEARCH_INCLUDE="\
19876 /usr/local/include \
19877 \
19878 /usr/Motif-2.1/include \
19879 /usr/Motif-1.2/include \
19880 /usr/include/Motif1.2 \
19881 /opt/xpm/include/X11 \
19882 /opt/GBxpm/include/ \
19883 /opt/GBxpm/X11/include/ \
19884 \
19885 /usr/dt/include \
19886 /usr/openwin/include \
19887 \
19888 /usr/include/Xm \
19889 \
19890 /usr/X11R6/include \
19891 /usr/X11R6.4/include \
19892 /usr/X11R5/include \
19893 /usr/X11R4/include \
19894 \
19895 /usr/include/X11R6 \
19896 /usr/include/X11R5 \
19897 /usr/include/X11R4 \
19898 \
19899 /usr/local/X11R6/include \
19900 /usr/local/X11R5/include \
19901 /usr/local/X11R4/include \
19902 \
19903 /usr/local/include/X11R6 \
19904 /usr/local/include/X11R5 \
19905 /usr/local/include/X11R4 \
19906 \
19907 /usr/X11/include \
19908 /usr/include/X11 \
19909 /usr/local/X11/include \
19910 /usr/local/include/X11 \
19911 \
19912 /usr/X386/include \
19913 /usr/x386/include \
19914 /usr/XFree86/include/X11 \
19915 \
19916 X:/XFree86/include \
19917 X:/XFree86/include/X11 \
19918 \
19919 /usr/include/gtk \
19920 /usr/local/include/gtk \
19921 /usr/include/glib \
19922 /usr/local/include/glib \
19923 \
19924 /usr/include/qt \
19925 /usr/local/include/qt \
19926 \
19927 /usr/local/arm/3.3.2/include \
19928 \
19929 /usr/include/windows \
19930 /usr/include/wine \
19931 /usr/local/include/wine \
19932 \
19933 /usr/unsupported/include \
19934 /usr/athena/include \
19935 /usr/local/x11r5/include \
19936 /usr/lpp/Xamples/include \
19937 \
19938 /usr/openwin/share/include"
19939
19940 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19941
19942
19943 cat >confcache <<\_ACEOF
19944 # This file is a shell script that caches the results of configure
19945 # tests run on this system so they can be shared between configure
19946 # scripts and configure runs, see configure's option --config-cache.
19947 # It is not useful on other systems. If it contains results you don't
19948 # want to keep, you may remove or edit it.
19949 #
19950 # config.status only pays attention to the cache file if you give it
19951 # the --recheck option to rerun configure.
19952 #
19953 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19954 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19955 # following values.
19956
19957 _ACEOF
19958
19959 # The following way of writing the cache mishandles newlines in values,
19960 # but we know of no workaround that is simple, portable, and efficient.
19961 # So, don't put newlines in cache variables' values.
19962 # Ultrix sh set writes to stderr and can't be redirected directly,
19963 # and sets the high bit in the cache file unless we assign to the vars.
19964 {
19965 (set) 2>&1 |
19966 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19967 *ac_space=\ *)
19968 # `set' does not quote correctly, so add quotes (double-quote
19969 # substitution turns \\\\ into \\, and sed turns \\ into \).
19970 sed -n \
19971 "s/'/'\\\\''/g;
19972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19973 ;;
19974 *)
19975 # `set' quotes correctly as required by POSIX, so do not add quotes.
19976 sed -n \
19977 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19978 ;;
19979 esac;
19980 } |
19981 sed '
19982 t clear
19983 : clear
19984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19985 t end
19986 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19987 : end' >>confcache
19988 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19989 if test -w $cache_file; then
19990 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19991 cat confcache >$cache_file
19992 else
19993 echo "not updating unwritable cache $cache_file"
19994 fi
19995 fi
19996 rm -f confcache
19997
19998 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19999 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20000 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20001 if test "${wx_cv_lib_glibc21+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
20004
20005 cat >conftest.$ac_ext <<_ACEOF
20006 /* confdefs.h. */
20007 _ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #include <features.h>
20012 int
20013 main ()
20014 {
20015
20016 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20017 #error not glibc2.1
20018 #endif
20019
20020 ;
20021 return 0;
20022 }
20023 _ACEOF
20024 rm -f conftest.$ac_objext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20026 (eval $ac_compile) 2>conftest.er1
20027 ac_status=$?
20028 grep -v '^ *+' conftest.er1 >conftest.err
20029 rm -f conftest.er1
20030 cat conftest.err >&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try='test -z "$ac_c_werror_flag"
20034 || test ! -s conftest.err'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; } &&
20040 { ac_try='test -s conftest.$ac_objext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20043 ac_status=$?
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046
20047 wx_cv_lib_glibc21=yes
20048
20049 else
20050 echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.$ac_ext >&5
20052
20053
20054 wx_cv_lib_glibc21=no
20055
20056
20057 fi
20058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20059
20060 fi
20061 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20062 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20063 if test "$wx_cv_lib_glibc21" = "yes"; then
20064 cat >>confdefs.h <<\_ACEOF
20065 #define wxHAVE_GLIBC2 1
20066 _ACEOF
20067
20068 fi
20069 fi
20070
20071 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20072 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20073 cat >>confdefs.h <<\_ACEOF
20074 #define _GNU_SOURCE 1
20075 _ACEOF
20076
20077 fi
20078 fi
20079
20080
20081
20082 if test "$wxUSE_REGEX" != "no"; then
20083 cat >>confdefs.h <<\_ACEOF
20084 #define wxUSE_REGEX 1
20085 _ACEOF
20086
20087
20088 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20089 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20090 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20091 wxUSE_REGEX=builtin
20092 fi
20093
20094 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20095 if test "${ac_cv_header_regex_h+set}" = set; then
20096 echo "$as_me:$LINENO: checking for regex.h" >&5
20097 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20098 if test "${ac_cv_header_regex_h+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 fi
20101 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20102 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20103 else
20104 # Is the header compilable?
20105 echo "$as_me:$LINENO: checking regex.h usability" >&5
20106 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20107 cat >conftest.$ac_ext <<_ACEOF
20108 /* confdefs.h. */
20109 _ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20114 #include <regex.h>
20115 _ACEOF
20116 rm -f conftest.$ac_objext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20118 (eval $ac_compile) 2>conftest.er1
20119 ac_status=$?
20120 grep -v '^ *+' conftest.er1 >conftest.err
20121 rm -f conftest.er1
20122 cat conftest.err >&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try='test -z "$ac_c_werror_flag"
20126 || test ! -s conftest.err'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20129 ac_status=$?
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; } &&
20132 { ac_try='test -s conftest.$ac_objext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20135 ac_status=$?
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20138 ac_header_compiler=yes
20139 else
20140 echo "$as_me: failed program was:" >&5
20141 sed 's/^/| /' conftest.$ac_ext >&5
20142
20143 ac_header_compiler=no
20144 fi
20145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20147 echo "${ECHO_T}$ac_header_compiler" >&6
20148
20149 # Is the header present?
20150 echo "$as_me:$LINENO: checking regex.h presence" >&5
20151 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20152 cat >conftest.$ac_ext <<_ACEOF
20153 /* confdefs.h. */
20154 _ACEOF
20155 cat confdefs.h >>conftest.$ac_ext
20156 cat >>conftest.$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 #include <regex.h>
20159 _ACEOF
20160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } >/dev/null; then
20168 if test -s conftest.err; then
20169 ac_cpp_err=$ac_c_preproc_warn_flag
20170 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20171 else
20172 ac_cpp_err=
20173 fi
20174 else
20175 ac_cpp_err=yes
20176 fi
20177 if test -z "$ac_cpp_err"; then
20178 ac_header_preproc=yes
20179 else
20180 echo "$as_me: failed program was:" >&5
20181 sed 's/^/| /' conftest.$ac_ext >&5
20182
20183 ac_header_preproc=no
20184 fi
20185 rm -f conftest.err conftest.$ac_ext
20186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20187 echo "${ECHO_T}$ac_header_preproc" >&6
20188
20189 # So? What about this header?
20190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20191 yes:no: )
20192 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20193 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20194 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20195 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20196 ac_header_preproc=yes
20197 ;;
20198 no:yes:* )
20199 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20200 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20201 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20202 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20203 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20204 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20205 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20206 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20207 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20208 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20209 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20210 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20211 (
20212 cat <<\_ASBOX
20213 ## ----------------------------------------- ##
20214 ## Report this to wx-dev@lists.wxwidgets.org ##
20215 ## ----------------------------------------- ##
20216 _ASBOX
20217 ) |
20218 sed "s/^/$as_me: WARNING: /" >&2
20219 ;;
20220 esac
20221 echo "$as_me:$LINENO: checking for regex.h" >&5
20222 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20223 if test "${ac_cv_header_regex_h+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 else
20226 ac_cv_header_regex_h=$ac_header_preproc
20227 fi
20228 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20229 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20230
20231 fi
20232 if test $ac_cv_header_regex_h = yes; then
20233
20234 for ac_func in regcomp
20235 do
20236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20237 echo "$as_me:$LINENO: checking for $ac_func" >&5
20238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20239 if eval "test \"\${$as_ac_var+set}\" = set"; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20242 cat >conftest.$ac_ext <<_ACEOF
20243 /* confdefs.h. */
20244 _ACEOF
20245 cat confdefs.h >>conftest.$ac_ext
20246 cat >>conftest.$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20250 #define $ac_func innocuous_$ac_func
20251
20252 /* System header to define __stub macros and hopefully few prototypes,
20253 which can conflict with char $ac_func (); below.
20254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20255 <limits.h> exists even on freestanding compilers. */
20256
20257 #ifdef __STDC__
20258 # include <limits.h>
20259 #else
20260 # include <assert.h>
20261 #endif
20262
20263 #undef $ac_func
20264
20265 /* Override any gcc2 internal prototype to avoid an error. */
20266 #ifdef __cplusplus
20267 extern "C"
20268 {
20269 #endif
20270 /* We use char because int might match the return type of a gcc2
20271 builtin and then its argument prototype would still apply. */
20272 char $ac_func ();
20273 /* The GNU C library defines this for functions which it implements
20274 to always fail with ENOSYS. Some functions are actually named
20275 something starting with __ and the normal name is an alias. */
20276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20277 choke me
20278 #else
20279 char (*f) () = $ac_func;
20280 #endif
20281 #ifdef __cplusplus
20282 }
20283 #endif
20284
20285 int
20286 main ()
20287 {
20288 return f != $ac_func;
20289 ;
20290 return 0;
20291 }
20292 _ACEOF
20293 rm -f conftest.$ac_objext conftest$ac_exeext
20294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20295 (eval $ac_link) 2>conftest.er1
20296 ac_status=$?
20297 grep -v '^ *+' conftest.er1 >conftest.err
20298 rm -f conftest.er1
20299 cat conftest.err >&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } &&
20302 { ac_try='test -z "$ac_c_werror_flag"
20303 || test ! -s conftest.err'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20306 ac_status=$?
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; } &&
20309 { ac_try='test -s conftest$ac_exeext'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20312 ac_status=$?
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; }; then
20315 eval "$as_ac_var=yes"
20316 else
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20319
20320 eval "$as_ac_var=no"
20321 fi
20322 rm -f conftest.err conftest.$ac_objext \
20323 conftest$ac_exeext conftest.$ac_ext
20324 fi
20325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20327 if test `eval echo '${'$as_ac_var'}'` = yes; then
20328 cat >>confdefs.h <<_ACEOF
20329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20330 _ACEOF
20331
20332 fi
20333 done
20334
20335 fi
20336
20337
20338
20339 if test "x$ac_cv_func_regcomp" != "xyes"; then
20340 if test "$wxUSE_REGEX" = "sys" ; then
20341 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20342 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20343 { (exit 1); exit 1; }; }
20344 else
20345 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20346 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20347 wxUSE_REGEX=builtin
20348 fi
20349 else
20350 wxUSE_REGEX=sys
20351 cat >>confdefs.h <<\_ACEOF
20352 #define WX_NO_REGEX_ADVANCED 1
20353 _ACEOF
20354
20355 fi
20356 fi
20357 fi
20358
20359
20360 ZLIB_LINK=
20361 if test "$wxUSE_ZLIB" != "no" ; then
20362 cat >>confdefs.h <<\_ACEOF
20363 #define wxUSE_ZLIB 1
20364 _ACEOF
20365
20366
20367 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20368 if test "$USE_DARWIN" = 1; then
20369 system_zlib_h_ok="yes"
20370 else
20371 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20372 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20373 if test "${ac_cv_header_zlib_h+set}" = set; then
20374 echo $ECHO_N "(cached) $ECHO_C" >&6
20375 else
20376 if test "$cross_compiling" = yes; then
20377 unset ac_cv_header_zlib_h
20378
20379 else
20380 cat >conftest.$ac_ext <<_ACEOF
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386
20387 #include <zlib.h>
20388 #include <stdio.h>
20389
20390 int main()
20391 {
20392 FILE *f=fopen("conftestval", "w");
20393 if (!f) exit(1);
20394 fprintf(f, "%s",
20395 ZLIB_VERSION[0] == '1' &&
20396 (ZLIB_VERSION[2] > '1' ||
20397 (ZLIB_VERSION[2] == '1' &&
20398 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20399 exit(0);
20400 }
20401
20402 _ACEOF
20403 rm -f conftest$ac_exeext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20405 (eval $ac_link) 2>&5
20406 ac_status=$?
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20411 ac_status=$?
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_cv_header_zlib_h=`cat conftestval`
20415 else
20416 echo "$as_me: program exited with status $ac_status" >&5
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20419
20420 ( exit $ac_status )
20421 ac_cv_header_zlib_h=no
20422 fi
20423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20424 fi
20425
20426 fi
20427 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20428 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20429 if test "${ac_cv_header_zlib_h+set}" = set; then
20430 echo "$as_me:$LINENO: checking for zlib.h" >&5
20431 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20432 if test "${ac_cv_header_zlib_h+set}" = set; then
20433 echo $ECHO_N "(cached) $ECHO_C" >&6
20434 fi
20435 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20436 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20437 else
20438 # Is the header compilable?
20439 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20440 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 #include <zlib.h>
20449 _ACEOF
20450 rm -f conftest.$ac_objext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20452 (eval $ac_compile) 2>conftest.er1
20453 ac_status=$?
20454 grep -v '^ *+' conftest.er1 >conftest.err
20455 rm -f conftest.er1
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try='test -z "$ac_c_werror_flag"
20460 || test ! -s conftest.err'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; } &&
20466 { ac_try='test -s conftest.$ac_objext'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; }; then
20472 ac_header_compiler=yes
20473 else
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20476
20477 ac_header_compiler=no
20478 fi
20479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20481 echo "${ECHO_T}$ac_header_compiler" >&6
20482
20483 # Is the header present?
20484 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20485 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 #include <zlib.h>
20493 _ACEOF
20494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20496 ac_status=$?
20497 grep -v '^ *+' conftest.er1 >conftest.err
20498 rm -f conftest.er1
20499 cat conftest.err >&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } >/dev/null; then
20502 if test -s conftest.err; then
20503 ac_cpp_err=$ac_c_preproc_warn_flag
20504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20505 else
20506 ac_cpp_err=
20507 fi
20508 else
20509 ac_cpp_err=yes
20510 fi
20511 if test -z "$ac_cpp_err"; then
20512 ac_header_preproc=yes
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20516
20517 ac_header_preproc=no
20518 fi
20519 rm -f conftest.err conftest.$ac_ext
20520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20521 echo "${ECHO_T}$ac_header_preproc" >&6
20522
20523 # So? What about this header?
20524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20525 yes:no: )
20526 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20527 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20528 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20529 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20530 ac_header_preproc=yes
20531 ;;
20532 no:yes:* )
20533 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20534 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20535 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20536 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20537 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20538 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20539 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20540 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20541 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20542 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20543 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20544 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20545 (
20546 cat <<\_ASBOX
20547 ## ----------------------------------------- ##
20548 ## Report this to wx-dev@lists.wxwidgets.org ##
20549 ## ----------------------------------------- ##
20550 _ASBOX
20551 ) |
20552 sed "s/^/$as_me: WARNING: /" >&2
20553 ;;
20554 esac
20555 echo "$as_me:$LINENO: checking for zlib.h" >&5
20556 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20557 if test "${ac_cv_header_zlib_h+set}" = set; then
20558 echo $ECHO_N "(cached) $ECHO_C" >&6
20559 else
20560 ac_cv_header_zlib_h=$ac_header_preproc
20561 fi
20562 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20563 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20564
20565 fi
20566
20567
20568
20569 system_zlib_h_ok=$ac_cv_header_zlib_h
20570 fi
20571
20572 if test "$system_zlib_h_ok" = "yes"; then
20573 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20574 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20575 if test "${ac_cv_lib_z_deflate+set}" = set; then
20576 echo $ECHO_N "(cached) $ECHO_C" >&6
20577 else
20578 ac_check_lib_save_LIBS=$LIBS
20579 LIBS="-lz $LIBS"
20580 cat >conftest.$ac_ext <<_ACEOF
20581 /* confdefs.h. */
20582 _ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586
20587 /* Override any gcc2 internal prototype to avoid an error. */
20588 #ifdef __cplusplus
20589 extern "C"
20590 #endif
20591 /* We use char because int might match the return type of a gcc2
20592 builtin and then its argument prototype would still apply. */
20593 char deflate ();
20594 int
20595 main ()
20596 {
20597 deflate ();
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 rm -f conftest.$ac_objext conftest$ac_exeext
20603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20604 (eval $ac_link) 2>conftest.er1
20605 ac_status=$?
20606 grep -v '^ *+' conftest.er1 >conftest.err
20607 rm -f conftest.er1
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try='test -z "$ac_c_werror_flag"
20612 || test ! -s conftest.err'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20615 ac_status=$?
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try='test -s conftest$ac_exeext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20621 ac_status=$?
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_lib_z_deflate=yes
20625 else
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20628
20629 ac_cv_lib_z_deflate=no
20630 fi
20631 rm -f conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext conftest.$ac_ext
20633 LIBS=$ac_check_lib_save_LIBS
20634 fi
20635 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20636 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20637 if test $ac_cv_lib_z_deflate = yes; then
20638 ZLIB_LINK=" -lz"
20639 fi
20640
20641 fi
20642
20643 if test "x$ZLIB_LINK" = "x" ; then
20644 if test "$wxUSE_ZLIB" = "sys" ; then
20645 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20646 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20647 { (exit 1); exit 1; }; }
20648 else
20649 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20650 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20651 wxUSE_ZLIB=builtin
20652 fi
20653 else
20654 wxUSE_ZLIB=sys
20655 fi
20656 fi
20657 fi
20658
20659
20660 PNG_LINK=
20661 if test "$wxUSE_LIBPNG" != "no" ; then
20662 cat >>confdefs.h <<\_ACEOF
20663 #define wxUSE_LIBPNG 1
20664 _ACEOF
20665
20666
20667 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20668 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20669 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20670 wxUSE_LIBPNG=sys
20671 fi
20672
20673 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20674 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20675 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20676 wxUSE_LIBPNG=builtin
20677 fi
20678
20679 if test "$wxUSE_MGL" != 1 ; then
20680 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20681 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20682 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20683 if test "${ac_cv_header_png_h+set}" = set; then
20684 echo $ECHO_N "(cached) $ECHO_C" >&6
20685 else
20686 if test "$cross_compiling" = yes; then
20687 unset ac_cv_header_png_h
20688
20689 else
20690 cat >conftest.$ac_ext <<_ACEOF
20691 /* confdefs.h. */
20692 _ACEOF
20693 cat confdefs.h >>conftest.$ac_ext
20694 cat >>conftest.$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20696
20697 #include <png.h>
20698 #include <stdio.h>
20699
20700 int main()
20701 {
20702 FILE *f=fopen("conftestval", "w");
20703 if (!f) exit(1);
20704 fprintf(f, "%s",
20705 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20706 exit(0);
20707 }
20708
20709 _ACEOF
20710 rm -f conftest$ac_exeext
20711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20712 (eval $ac_link) 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 ac_cv_header_png_h=`cat conftestval`
20722 else
20723 echo "$as_me: program exited with status $ac_status" >&5
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20726
20727 ( exit $ac_status )
20728 ac_cv_header_png_h=no
20729 fi
20730 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20731 fi
20732
20733 fi
20734 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20735 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20736 if test "${ac_cv_header_png_h+set}" = set; then
20737 echo "$as_me:$LINENO: checking for png.h" >&5
20738 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20739 if test "${ac_cv_header_png_h+set}" = set; then
20740 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 fi
20742 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20743 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20744 else
20745 # Is the header compilable?
20746 echo "$as_me:$LINENO: checking png.h usability" >&5
20747 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20748 cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h. */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 $ac_includes_default
20755 #include <png.h>
20756 _ACEOF
20757 rm -f conftest.$ac_objext
20758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20759 (eval $ac_compile) 2>conftest.er1
20760 ac_status=$?
20761 grep -v '^ *+' conftest.er1 >conftest.err
20762 rm -f conftest.er1
20763 cat conftest.err >&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } &&
20766 { ac_try='test -z "$ac_c_werror_flag"
20767 || test ! -s conftest.err'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20770 ac_status=$?
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; } &&
20773 { ac_try='test -s conftest.$ac_objext'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20776 ac_status=$?
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; }; then
20779 ac_header_compiler=yes
20780 else
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20783
20784 ac_header_compiler=no
20785 fi
20786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20788 echo "${ECHO_T}$ac_header_compiler" >&6
20789
20790 # Is the header present?
20791 echo "$as_me:$LINENO: checking png.h presence" >&5
20792 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20793 cat >conftest.$ac_ext <<_ACEOF
20794 /* confdefs.h. */
20795 _ACEOF
20796 cat confdefs.h >>conftest.$ac_ext
20797 cat >>conftest.$ac_ext <<_ACEOF
20798 /* end confdefs.h. */
20799 #include <png.h>
20800 _ACEOF
20801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20803 ac_status=$?
20804 grep -v '^ *+' conftest.er1 >conftest.err
20805 rm -f conftest.er1
20806 cat conftest.err >&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } >/dev/null; then
20809 if test -s conftest.err; then
20810 ac_cpp_err=$ac_c_preproc_warn_flag
20811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20812 else
20813 ac_cpp_err=
20814 fi
20815 else
20816 ac_cpp_err=yes
20817 fi
20818 if test -z "$ac_cpp_err"; then
20819 ac_header_preproc=yes
20820 else
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20823
20824 ac_header_preproc=no
20825 fi
20826 rm -f conftest.err conftest.$ac_ext
20827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20828 echo "${ECHO_T}$ac_header_preproc" >&6
20829
20830 # So? What about this header?
20831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20832 yes:no: )
20833 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20834 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20835 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20836 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20837 ac_header_preproc=yes
20838 ;;
20839 no:yes:* )
20840 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20841 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20842 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20843 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20844 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20845 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20846 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20847 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20848 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20849 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20850 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20851 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20852 (
20853 cat <<\_ASBOX
20854 ## ----------------------------------------- ##
20855 ## Report this to wx-dev@lists.wxwidgets.org ##
20856 ## ----------------------------------------- ##
20857 _ASBOX
20858 ) |
20859 sed "s/^/$as_me: WARNING: /" >&2
20860 ;;
20861 esac
20862 echo "$as_me:$LINENO: checking for png.h" >&5
20863 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20864 if test "${ac_cv_header_png_h+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20867 ac_cv_header_png_h=$ac_header_preproc
20868 fi
20869 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20870 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20871
20872 fi
20873
20874
20875
20876 if test "$ac_cv_header_png_h" = "yes"; then
20877 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20878 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20879 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20880 echo $ECHO_N "(cached) $ECHO_C" >&6
20881 else
20882 ac_check_lib_save_LIBS=$LIBS
20883 LIBS="-lpng -lz -lm $LIBS"
20884 cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h. */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890
20891 /* Override any gcc2 internal prototype to avoid an error. */
20892 #ifdef __cplusplus
20893 extern "C"
20894 #endif
20895 /* We use char because int might match the return type of a gcc2
20896 builtin and then its argument prototype would still apply. */
20897 char png_check_sig ();
20898 int
20899 main ()
20900 {
20901 png_check_sig ();
20902 ;
20903 return 0;
20904 }
20905 _ACEOF
20906 rm -f conftest.$ac_objext conftest$ac_exeext
20907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20908 (eval $ac_link) 2>conftest.er1
20909 ac_status=$?
20910 grep -v '^ *+' conftest.er1 >conftest.err
20911 rm -f conftest.er1
20912 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } &&
20915 { ac_try='test -z "$ac_c_werror_flag"
20916 || test ! -s conftest.err'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20919 ac_status=$?
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; } &&
20922 { ac_try='test -s conftest$ac_exeext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20925 ac_status=$?
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 ac_cv_lib_png_png_check_sig=yes
20929 else
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20932
20933 ac_cv_lib_png_png_check_sig=no
20934 fi
20935 rm -f conftest.err conftest.$ac_objext \
20936 conftest$ac_exeext conftest.$ac_ext
20937 LIBS=$ac_check_lib_save_LIBS
20938 fi
20939 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20940 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20941 if test $ac_cv_lib_png_png_check_sig = yes; then
20942 PNG_LINK=" -lpng -lz"
20943 fi
20944
20945 fi
20946
20947 if test "x$PNG_LINK" = "x" ; then
20948 if test "$wxUSE_LIBPNG" = "sys" ; then
20949 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20950 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20951 { (exit 1); exit 1; }; }
20952 else
20953 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20954 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20955 wxUSE_LIBPNG=builtin
20956 fi
20957 else
20958 wxUSE_LIBPNG=sys
20959 fi
20960 fi
20961 fi
20962
20963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20964 fi
20965
20966
20967 JPEG_LINK=
20968 if test "$wxUSE_LIBJPEG" != "no" ; then
20969 cat >>confdefs.h <<\_ACEOF
20970 #define wxUSE_LIBJPEG 1
20971 _ACEOF
20972
20973
20974 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20975 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20976 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20977 wxUSE_LIBJPEG=sys
20978 fi
20979
20980 if test "$wxUSE_MGL" != 1 ; then
20981 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20982 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20983 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20984 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20985 echo $ECHO_N "(cached) $ECHO_C" >&6
20986 else
20987 cat >conftest.$ac_ext <<_ACEOF
20988 /* confdefs.h. */
20989 _ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993
20994 #undef HAVE_STDLIB_H
20995 #include <stdio.h>
20996 #include <jpeglib.h>
20997
20998 int
20999 main ()
21000 {
21001
21002
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try='test -z "$ac_c_werror_flag"
21017 || test ! -s conftest.err'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21020 ac_status=$?
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; } &&
21023 { ac_try='test -s conftest.$ac_objext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 ac_cv_header_jpeglib_h=yes
21030 else
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21033
21034 ac_cv_header_jpeglib_h=no
21035
21036 fi
21037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21038
21039 fi
21040
21041 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21042 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21043
21044 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21045 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21046 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21047 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21048 echo $ECHO_N "(cached) $ECHO_C" >&6
21049 else
21050 ac_check_lib_save_LIBS=$LIBS
21051 LIBS="-ljpeg $LIBS"
21052 cat >conftest.$ac_ext <<_ACEOF
21053 /* confdefs.h. */
21054 _ACEOF
21055 cat confdefs.h >>conftest.$ac_ext
21056 cat >>conftest.$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21058
21059 /* Override any gcc2 internal prototype to avoid an error. */
21060 #ifdef __cplusplus
21061 extern "C"
21062 #endif
21063 /* We use char because int might match the return type of a gcc2
21064 builtin and then its argument prototype would still apply. */
21065 char jpeg_read_header ();
21066 int
21067 main ()
21068 {
21069 jpeg_read_header ();
21070 ;
21071 return 0;
21072 }
21073 _ACEOF
21074 rm -f conftest.$ac_objext conftest$ac_exeext
21075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21076 (eval $ac_link) 2>conftest.er1
21077 ac_status=$?
21078 grep -v '^ *+' conftest.er1 >conftest.err
21079 rm -f conftest.er1
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } &&
21083 { ac_try='test -z "$ac_c_werror_flag"
21084 || test ! -s conftest.err'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21087 ac_status=$?
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; } &&
21090 { ac_try='test -s conftest$ac_exeext'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21093 ac_status=$?
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; }; then
21096 ac_cv_lib_jpeg_jpeg_read_header=yes
21097 else
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21100
21101 ac_cv_lib_jpeg_jpeg_read_header=no
21102 fi
21103 rm -f conftest.err conftest.$ac_objext \
21104 conftest$ac_exeext conftest.$ac_ext
21105 LIBS=$ac_check_lib_save_LIBS
21106 fi
21107 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21108 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21109 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21110 JPEG_LINK=" -ljpeg"
21111 fi
21112
21113 fi
21114
21115 if test "x$JPEG_LINK" = "x" ; then
21116 if test "$wxUSE_LIBJPEG" = "sys" ; then
21117 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21118 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21119 { (exit 1); exit 1; }; }
21120 else
21121 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21122 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21123 wxUSE_LIBJPEG=builtin
21124 fi
21125 else
21126 wxUSE_LIBJPEG=sys
21127 fi
21128 fi
21129 fi
21130 fi
21131
21132
21133 TIFF_LINK=
21134 TIFF_PREREQ_LINKS=-lm
21135 if test "$wxUSE_LIBTIFF" != "no" ; then
21136 cat >>confdefs.h <<\_ACEOF
21137 #define wxUSE_LIBTIFF 1
21138 _ACEOF
21139
21140
21141 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21142 if test "$wxUSE_LIBJPEG" = "sys"; then
21143 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21144 fi
21145 if test "$wxUSE_ZLIB" = "sys"; then
21146 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21147 fi
21148 if test "${ac_cv_header_tiffio_h+set}" = set; then
21149 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21150 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21151 if test "${ac_cv_header_tiffio_h+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 fi
21154 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21155 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21156 else
21157 # Is the header compilable?
21158 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21159 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21160 cat >conftest.$ac_ext <<_ACEOF
21161 /* confdefs.h. */
21162 _ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 #include <tiffio.h>
21168 _ACEOF
21169 rm -f conftest.$ac_objext
21170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21171 (eval $ac_compile) 2>conftest.er1
21172 ac_status=$?
21173 grep -v '^ *+' conftest.er1 >conftest.err
21174 rm -f conftest.er1
21175 cat conftest.err >&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } &&
21178 { ac_try='test -z "$ac_c_werror_flag"
21179 || test ! -s conftest.err'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21182 ac_status=$?
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; } &&
21185 { ac_try='test -s conftest.$ac_objext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21188 ac_status=$?
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 ac_header_compiler=yes
21192 else
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21195
21196 ac_header_compiler=no
21197 fi
21198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21200 echo "${ECHO_T}$ac_header_compiler" >&6
21201
21202 # Is the header present?
21203 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21204 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 #include <tiffio.h>
21212 _ACEOF
21213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21215 ac_status=$?
21216 grep -v '^ *+' conftest.er1 >conftest.err
21217 rm -f conftest.er1
21218 cat conftest.err >&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } >/dev/null; then
21221 if test -s conftest.err; then
21222 ac_cpp_err=$ac_c_preproc_warn_flag
21223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21224 else
21225 ac_cpp_err=
21226 fi
21227 else
21228 ac_cpp_err=yes
21229 fi
21230 if test -z "$ac_cpp_err"; then
21231 ac_header_preproc=yes
21232 else
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 ac_header_preproc=no
21237 fi
21238 rm -f conftest.err conftest.$ac_ext
21239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21240 echo "${ECHO_T}$ac_header_preproc" >&6
21241
21242 # So? What about this header?
21243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21244 yes:no: )
21245 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21246 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21247 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21248 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21249 ac_header_preproc=yes
21250 ;;
21251 no:yes:* )
21252 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21253 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21254 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21255 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21256 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21257 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21258 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21259 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21261 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21263 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21264 (
21265 cat <<\_ASBOX
21266 ## ----------------------------------------- ##
21267 ## Report this to wx-dev@lists.wxwidgets.org ##
21268 ## ----------------------------------------- ##
21269 _ASBOX
21270 ) |
21271 sed "s/^/$as_me: WARNING: /" >&2
21272 ;;
21273 esac
21274 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21275 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21276 if test "${ac_cv_header_tiffio_h+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
21279 ac_cv_header_tiffio_h=$ac_header_preproc
21280 fi
21281 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21282 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21283
21284 fi
21285 if test $ac_cv_header_tiffio_h = yes; then
21286
21287 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21288 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21289 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21291 else
21292 ac_check_lib_save_LIBS=$LIBS
21293 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21294 cat >conftest.$ac_ext <<_ACEOF
21295 /* confdefs.h. */
21296 _ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300
21301 /* Override any gcc2 internal prototype to avoid an error. */
21302 #ifdef __cplusplus
21303 extern "C"
21304 #endif
21305 /* We use char because int might match the return type of a gcc2
21306 builtin and then its argument prototype would still apply. */
21307 char TIFFError ();
21308 int
21309 main ()
21310 {
21311 TIFFError ();
21312 ;
21313 return 0;
21314 }
21315 _ACEOF
21316 rm -f conftest.$ac_objext conftest$ac_exeext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21318 (eval $ac_link) 2>conftest.er1
21319 ac_status=$?
21320 grep -v '^ *+' conftest.er1 >conftest.err
21321 rm -f conftest.er1
21322 cat conftest.err >&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try='test -z "$ac_c_werror_flag"
21326 || test ! -s conftest.err'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try='test -s conftest$ac_exeext'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21335 ac_status=$?
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; }; then
21338 ac_cv_lib_tiff_TIFFError=yes
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21342
21343 ac_cv_lib_tiff_TIFFError=no
21344 fi
21345 rm -f conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21347 LIBS=$ac_check_lib_save_LIBS
21348 fi
21349 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21350 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21351 if test $ac_cv_lib_tiff_TIFFError = yes; then
21352 TIFF_LINK=" -ltiff"
21353 fi
21354
21355
21356
21357 fi
21358
21359
21360
21361 if test "x$TIFF_LINK" = "x" ; then
21362 if test "$wxUSE_LIBTIFF" = "sys" ; then
21363 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21364 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21365 { (exit 1); exit 1; }; }
21366 else
21367 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21368 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21369 wxUSE_LIBTIFF=builtin
21370 fi
21371 else
21372 wxUSE_LIBTIFF=sys
21373 fi
21374 fi
21375 fi
21376
21377
21378 if test "$wxUSE_EXPAT" != "no"; then
21379 wxUSE_XML=yes
21380 cat >>confdefs.h <<\_ACEOF
21381 #define wxUSE_EXPAT 1
21382 _ACEOF
21383
21384 cat >>confdefs.h <<\_ACEOF
21385 #define wxUSE_XML 1
21386 _ACEOF
21387
21388
21389 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21390 if test "${ac_cv_header_expat_h+set}" = set; then
21391 echo "$as_me:$LINENO: checking for expat.h" >&5
21392 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21393 if test "${ac_cv_header_expat_h+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 fi
21396 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21397 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21398 else
21399 # Is the header compilable?
21400 echo "$as_me:$LINENO: checking expat.h usability" >&5
21401 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21402 cat >conftest.$ac_ext <<_ACEOF
21403 /* confdefs.h. */
21404 _ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21409 #include <expat.h>
21410 _ACEOF
21411 rm -f conftest.$ac_objext
21412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21413 (eval $ac_compile) 2>conftest.er1
21414 ac_status=$?
21415 grep -v '^ *+' conftest.er1 >conftest.err
21416 rm -f conftest.er1
21417 cat conftest.err >&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } &&
21420 { ac_try='test -z "$ac_c_werror_flag"
21421 || test ! -s conftest.err'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21424 ac_status=$?
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; } &&
21427 { ac_try='test -s conftest.$ac_objext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21430 ac_status=$?
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; }; then
21433 ac_header_compiler=yes
21434 else
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.$ac_ext >&5
21437
21438 ac_header_compiler=no
21439 fi
21440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21442 echo "${ECHO_T}$ac_header_compiler" >&6
21443
21444 # Is the header present?
21445 echo "$as_me:$LINENO: checking expat.h presence" >&5
21446 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21447 cat >conftest.$ac_ext <<_ACEOF
21448 /* confdefs.h. */
21449 _ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 #include <expat.h>
21454 _ACEOF
21455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21457 ac_status=$?
21458 grep -v '^ *+' conftest.er1 >conftest.err
21459 rm -f conftest.er1
21460 cat conftest.err >&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); } >/dev/null; then
21463 if test -s conftest.err; then
21464 ac_cpp_err=$ac_c_preproc_warn_flag
21465 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21466 else
21467 ac_cpp_err=
21468 fi
21469 else
21470 ac_cpp_err=yes
21471 fi
21472 if test -z "$ac_cpp_err"; then
21473 ac_header_preproc=yes
21474 else
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21477
21478 ac_header_preproc=no
21479 fi
21480 rm -f conftest.err conftest.$ac_ext
21481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21482 echo "${ECHO_T}$ac_header_preproc" >&6
21483
21484 # So? What about this header?
21485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21486 yes:no: )
21487 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21488 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21489 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21490 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21491 ac_header_preproc=yes
21492 ;;
21493 no:yes:* )
21494 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21495 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21496 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21497 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21498 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21499 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21501 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21502 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21503 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21504 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21505 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21506 (
21507 cat <<\_ASBOX
21508 ## ----------------------------------------- ##
21509 ## Report this to wx-dev@lists.wxwidgets.org ##
21510 ## ----------------------------------------- ##
21511 _ASBOX
21512 ) |
21513 sed "s/^/$as_me: WARNING: /" >&2
21514 ;;
21515 esac
21516 echo "$as_me:$LINENO: checking for expat.h" >&5
21517 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21518 if test "${ac_cv_header_expat_h+set}" = set; then
21519 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 else
21521 ac_cv_header_expat_h=$ac_header_preproc
21522 fi
21523 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21524 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21525
21526 fi
21527 if test $ac_cv_header_expat_h = yes; then
21528 found_expat_h=1
21529 fi
21530
21531
21532 if test "x$found_expat_h" = "x1"; then
21533 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21534 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21535 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21536 echo $ECHO_N "(cached) $ECHO_C" >&6
21537 else
21538
21539
21540
21541 ac_ext=cc
21542 ac_cpp='$CXXCPP $CPPFLAGS'
21543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21546
21547 cat >conftest.$ac_ext <<_ACEOF
21548 /* confdefs.h. */
21549 _ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 #include <expat.h>
21554 int
21555 main ()
21556 {
21557
21558 ;
21559 return 0;
21560 }
21561 _ACEOF
21562 rm -f conftest.$ac_objext
21563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21564 (eval $ac_compile) 2>conftest.er1
21565 ac_status=$?
21566 grep -v '^ *+' conftest.er1 >conftest.err
21567 rm -f conftest.er1
21568 cat conftest.err >&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); } &&
21571 { ac_try='test -z "$ac_cxx_werror_flag"
21572 || test ! -s conftest.err'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21575 ac_status=$?
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; } &&
21578 { ac_try='test -s conftest.$ac_objext'
21579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21580 (eval $ac_try) 2>&5
21581 ac_status=$?
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); }; }; then
21584 wx_cv_expat_is_not_broken=yes
21585 else
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.$ac_ext >&5
21588
21589 wx_cv_expat_is_not_broken=no
21590
21591 fi
21592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21593 ac_ext=c
21594 ac_cpp='$CPP $CPPFLAGS'
21595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21598
21599
21600
21601 fi
21602 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21603 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21604 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21605 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21606 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21607 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 else
21610 ac_check_lib_save_LIBS=$LIBS
21611 LIBS="-lexpat $LIBS"
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618
21619 /* Override any gcc2 internal prototype to avoid an error. */
21620 #ifdef __cplusplus
21621 extern "C"
21622 #endif
21623 /* We use char because int might match the return type of a gcc2
21624 builtin and then its argument prototype would still apply. */
21625 char XML_ParserCreate ();
21626 int
21627 main ()
21628 {
21629 XML_ParserCreate ();
21630 ;
21631 return 0;
21632 }
21633 _ACEOF
21634 rm -f conftest.$ac_objext conftest$ac_exeext
21635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21636 (eval $ac_link) 2>conftest.er1
21637 ac_status=$?
21638 grep -v '^ *+' conftest.er1 >conftest.err
21639 rm -f conftest.er1
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } &&
21643 { ac_try='test -z "$ac_c_werror_flag"
21644 || test ! -s conftest.err'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; } &&
21650 { ac_try='test -s conftest$ac_exeext'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21653 ac_status=$?
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; }; then
21656 ac_cv_lib_expat_XML_ParserCreate=yes
21657 else
21658 echo "$as_me: failed program was:" >&5
21659 sed 's/^/| /' conftest.$ac_ext >&5
21660
21661 ac_cv_lib_expat_XML_ParserCreate=no
21662 fi
21663 rm -f conftest.err conftest.$ac_objext \
21664 conftest$ac_exeext conftest.$ac_ext
21665 LIBS=$ac_check_lib_save_LIBS
21666 fi
21667 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21668 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21669 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21670 EXPAT_LINK=" -lexpat"
21671 fi
21672
21673 fi
21674 fi
21675 if test "x$EXPAT_LINK" = "x" ; then
21676 if test "$wxUSE_EXPAT" = "sys" ; then
21677 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21678 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21679 { (exit 1); exit 1; }; }
21680 else
21681 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21682 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21683 wxUSE_EXPAT=builtin
21684 fi
21685 else
21686 wxUSE_EXPAT=sys
21687 fi
21688 fi
21689 if test "$wxUSE_EXPAT" = "builtin" ; then
21690
21691
21692 subdirs="$subdirs src/expat"
21693
21694 fi
21695 fi
21696
21697
21698
21699 if test "$wxUSE_LIBMSPACK" != "no"; then
21700
21701 if test "${ac_cv_header_mspack_h+set}" = set; then
21702 echo "$as_me:$LINENO: checking for mspack.h" >&5
21703 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21704 if test "${ac_cv_header_mspack_h+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 fi
21707 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21708 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21709 else
21710 # Is the header compilable?
21711 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21712 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21713 cat >conftest.$ac_ext <<_ACEOF
21714 /* confdefs.h. */
21715 _ACEOF
21716 cat confdefs.h >>conftest.$ac_ext
21717 cat >>conftest.$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719 $ac_includes_default
21720 #include <mspack.h>
21721 _ACEOF
21722 rm -f conftest.$ac_objext
21723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21724 (eval $ac_compile) 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } &&
21731 { ac_try='test -z "$ac_c_werror_flag"
21732 || test ! -s conftest.err'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21735 ac_status=$?
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; } &&
21738 { ac_try='test -s conftest.$ac_objext'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21741 ac_status=$?
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; }; then
21744 ac_header_compiler=yes
21745 else
21746 echo "$as_me: failed program was:" >&5
21747 sed 's/^/| /' conftest.$ac_ext >&5
21748
21749 ac_header_compiler=no
21750 fi
21751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21753 echo "${ECHO_T}$ac_header_compiler" >&6
21754
21755 # Is the header present?
21756 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21757 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #include <mspack.h>
21765 _ACEOF
21766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21768 ac_status=$?
21769 grep -v '^ *+' conftest.er1 >conftest.err
21770 rm -f conftest.er1
21771 cat conftest.err >&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } >/dev/null; then
21774 if test -s conftest.err; then
21775 ac_cpp_err=$ac_c_preproc_warn_flag
21776 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21777 else
21778 ac_cpp_err=
21779 fi
21780 else
21781 ac_cpp_err=yes
21782 fi
21783 if test -z "$ac_cpp_err"; then
21784 ac_header_preproc=yes
21785 else
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.$ac_ext >&5
21788
21789 ac_header_preproc=no
21790 fi
21791 rm -f conftest.err conftest.$ac_ext
21792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21793 echo "${ECHO_T}$ac_header_preproc" >&6
21794
21795 # So? What about this header?
21796 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21797 yes:no: )
21798 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21799 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21800 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21801 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21802 ac_header_preproc=yes
21803 ;;
21804 no:yes:* )
21805 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21806 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21807 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21808 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21809 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21810 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21811 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21812 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21813 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21814 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21816 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21817 (
21818 cat <<\_ASBOX
21819 ## ----------------------------------------- ##
21820 ## Report this to wx-dev@lists.wxwidgets.org ##
21821 ## ----------------------------------------- ##
21822 _ASBOX
21823 ) |
21824 sed "s/^/$as_me: WARNING: /" >&2
21825 ;;
21826 esac
21827 echo "$as_me:$LINENO: checking for mspack.h" >&5
21828 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21829 if test "${ac_cv_header_mspack_h+set}" = set; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21831 else
21832 ac_cv_header_mspack_h=$ac_header_preproc
21833 fi
21834 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21835 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21836
21837 fi
21838 if test $ac_cv_header_mspack_h = yes; then
21839 found_mspack_h=1
21840 fi
21841
21842
21843 if test "x$found_mspack_h" = "x1"; then
21844 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21845 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21846 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21848 else
21849 ac_check_lib_save_LIBS=$LIBS
21850 LIBS="-lmspack $LIBS"
21851 cat >conftest.$ac_ext <<_ACEOF
21852 /* confdefs.h. */
21853 _ACEOF
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857
21858 /* Override any gcc2 internal prototype to avoid an error. */
21859 #ifdef __cplusplus
21860 extern "C"
21861 #endif
21862 /* We use char because int might match the return type of a gcc2
21863 builtin and then its argument prototype would still apply. */
21864 char mspack_create_chm_decompressor ();
21865 int
21866 main ()
21867 {
21868 mspack_create_chm_decompressor ();
21869 ;
21870 return 0;
21871 }
21872 _ACEOF
21873 rm -f conftest.$ac_objext conftest$ac_exeext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21875 (eval $ac_link) 2>conftest.er1
21876 ac_status=$?
21877 grep -v '^ *+' conftest.er1 >conftest.err
21878 rm -f conftest.er1
21879 cat conftest.err >&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } &&
21882 { ac_try='test -z "$ac_c_werror_flag"
21883 || test ! -s conftest.err'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21886 ac_status=$?
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; } &&
21889 { ac_try='test -s conftest$ac_exeext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21895 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21896 else
21897 echo "$as_me: failed program was:" >&5
21898 sed 's/^/| /' conftest.$ac_ext >&5
21899
21900 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21901 fi
21902 rm -f conftest.err conftest.$ac_objext \
21903 conftest$ac_exeext conftest.$ac_ext
21904 LIBS=$ac_check_lib_save_LIBS
21905 fi
21906 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21907 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21908 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21909 MSPACK_LINK=" -lmspack"
21910 fi
21911
21912 fi
21913 if test "x$MSPACK_LINK" = "x" ; then
21914 wxUSE_LIBMSPACK=no
21915 else
21916 cat >>confdefs.h <<\_ACEOF
21917 #define wxUSE_LIBMSPACK 1
21918 _ACEOF
21919
21920 fi
21921 fi
21922
21923
21924
21925 AFMINSTALL=
21926 WIN32INSTALL=
21927
21928 TOOLKIT=
21929 TOOLKIT_INCLUDE=
21930 WIDGET_SET=
21931
21932 if test "$USE_WIN32" = 1 ; then
21933
21934 for ac_header in w32api.h
21935 do
21936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21938 echo "$as_me:$LINENO: checking for $ac_header" >&5
21939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21941 echo $ECHO_N "(cached) $ECHO_C" >&6
21942 fi
21943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21945 else
21946 # Is the header compilable?
21947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21949 cat >conftest.$ac_ext <<_ACEOF
21950 /* confdefs.h. */
21951 _ACEOF
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955 $ac_includes_default
21956 #include <$ac_header>
21957 _ACEOF
21958 rm -f conftest.$ac_objext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21960 (eval $ac_compile) 2>conftest.er1
21961 ac_status=$?
21962 grep -v '^ *+' conftest.er1 >conftest.err
21963 rm -f conftest.er1
21964 cat conftest.err >&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try='test -z "$ac_c_werror_flag"
21968 || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try='test -s conftest.$ac_objext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_header_compiler=yes
21981 else
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ac_header_compiler=no
21986 fi
21987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21989 echo "${ECHO_T}$ac_header_compiler" >&6
21990
21991 # Is the header present?
21992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21994 cat >conftest.$ac_ext <<_ACEOF
21995 /* confdefs.h. */
21996 _ACEOF
21997 cat confdefs.h >>conftest.$ac_ext
21998 cat >>conftest.$ac_ext <<_ACEOF
21999 /* end confdefs.h. */
22000 #include <$ac_header>
22001 _ACEOF
22002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22004 ac_status=$?
22005 grep -v '^ *+' conftest.er1 >conftest.err
22006 rm -f conftest.er1
22007 cat conftest.err >&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } >/dev/null; then
22010 if test -s conftest.err; then
22011 ac_cpp_err=$ac_c_preproc_warn_flag
22012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22013 else
22014 ac_cpp_err=
22015 fi
22016 else
22017 ac_cpp_err=yes
22018 fi
22019 if test -z "$ac_cpp_err"; then
22020 ac_header_preproc=yes
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_header_preproc=no
22026 fi
22027 rm -f conftest.err conftest.$ac_ext
22028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22029 echo "${ECHO_T}$ac_header_preproc" >&6
22030
22031 # So? What about this header?
22032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22033 yes:no: )
22034 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22037 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22038 ac_header_preproc=yes
22039 ;;
22040 no:yes:* )
22041 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22042 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22043 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22044 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22045 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22046 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22047 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22048 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22052 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22053 (
22054 cat <<\_ASBOX
22055 ## ----------------------------------------- ##
22056 ## Report this to wx-dev@lists.wxwidgets.org ##
22057 ## ----------------------------------------- ##
22058 _ASBOX
22059 ) |
22060 sed "s/^/$as_me: WARNING: /" >&2
22061 ;;
22062 esac
22063 echo "$as_me:$LINENO: checking for $ac_header" >&5
22064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22066 echo $ECHO_N "(cached) $ECHO_C" >&6
22067 else
22068 eval "$as_ac_Header=\$ac_header_preproc"
22069 fi
22070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22072
22073 fi
22074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22075 cat >>confdefs.h <<_ACEOF
22076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22077 _ACEOF
22078
22079 fi
22080
22081 done
22082
22083 if test "${ac_cv_header_windows_h+set}" = set; then
22084 echo "$as_me:$LINENO: checking for windows.h" >&5
22085 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22086 if test "${ac_cv_header_windows_h+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 fi
22089 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22090 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22091 else
22092 # Is the header compilable?
22093 echo "$as_me:$LINENO: checking windows.h usability" >&5
22094 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22095 cat >conftest.$ac_ext <<_ACEOF
22096 /* confdefs.h. */
22097 _ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 $ac_includes_default
22102 #include <windows.h>
22103 _ACEOF
22104 rm -f conftest.$ac_objext
22105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22106 (eval $ac_compile) 2>conftest.er1
22107 ac_status=$?
22108 grep -v '^ *+' conftest.er1 >conftest.err
22109 rm -f conftest.er1
22110 cat conftest.err >&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } &&
22113 { ac_try='test -z "$ac_c_werror_flag"
22114 || test ! -s conftest.err'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22117 ac_status=$?
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; } &&
22120 { ac_try='test -s conftest.$ac_objext'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22123 ac_status=$?
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_header_compiler=yes
22127 else
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22130
22131 ac_header_compiler=no
22132 fi
22133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22135 echo "${ECHO_T}$ac_header_compiler" >&6
22136
22137 # Is the header present?
22138 echo "$as_me:$LINENO: checking windows.h presence" >&5
22139 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22140 cat >conftest.$ac_ext <<_ACEOF
22141 /* confdefs.h. */
22142 _ACEOF
22143 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 #include <windows.h>
22147 _ACEOF
22148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22150 ac_status=$?
22151 grep -v '^ *+' conftest.er1 >conftest.err
22152 rm -f conftest.er1
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } >/dev/null; then
22156 if test -s conftest.err; then
22157 ac_cpp_err=$ac_c_preproc_warn_flag
22158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22159 else
22160 ac_cpp_err=
22161 fi
22162 else
22163 ac_cpp_err=yes
22164 fi
22165 if test -z "$ac_cpp_err"; then
22166 ac_header_preproc=yes
22167 else
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.$ac_ext >&5
22170
22171 ac_header_preproc=no
22172 fi
22173 rm -f conftest.err conftest.$ac_ext
22174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22175 echo "${ECHO_T}$ac_header_preproc" >&6
22176
22177 # So? What about this header?
22178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22179 yes:no: )
22180 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22181 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22182 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22183 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22184 ac_header_preproc=yes
22185 ;;
22186 no:yes:* )
22187 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22188 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22189 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22190 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22191 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22192 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22194 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22196 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22198 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22199 (
22200 cat <<\_ASBOX
22201 ## ----------------------------------------- ##
22202 ## Report this to wx-dev@lists.wxwidgets.org ##
22203 ## ----------------------------------------- ##
22204 _ASBOX
22205 ) |
22206 sed "s/^/$as_me: WARNING: /" >&2
22207 ;;
22208 esac
22209 echo "$as_me:$LINENO: checking for windows.h" >&5
22210 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22211 if test "${ac_cv_header_windows_h+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 else
22214 ac_cv_header_windows_h=$ac_header_preproc
22215 fi
22216 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22217 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22218
22219 fi
22220 if test $ac_cv_header_windows_h = yes; then
22221 :
22222 else
22223
22224 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22225 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22226 { (exit 1); exit 1; }; }
22227
22228 fi
22229
22230
22231
22232 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22233
22234 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22235 LIBS="$LIBS -loleacc"
22236 fi
22237
22238 case "${host}" in
22239 *-*-cygwin* )
22240 LIBS="$LIBS -lkernel32 -luser32"
22241 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22242 esac
22243
22244 if test "$wxUSE_ODBC" = "sys" ; then
22245 wxUSE_ODBC = "yes"
22246 fi
22247 if test "$wxUSE_ODBC" = "yes" ; then
22248 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22249 cat >>confdefs.h <<\_ACEOF
22250 #define wxUSE_ODBC 1
22251 _ACEOF
22252
22253 fi
22254
22255 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22256 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22257
22258 WIN32INSTALL=win32install
22259 fi
22260
22261 if test "$wxUSE_GUI" = "yes"; then
22262 USE_GUI=1
22263
22264 GUI_TK_LIBRARY=
22265
22266 WXGTK12=
22267 WXGTK127=
22268 WXGTK20=
22269 WXGPE=
22270
22271 if test "$wxUSE_MSW" = 1 ; then
22272 TOOLKIT=MSW
22273 GUIDIST=MSW_DIST
22274
22275 case "${host}" in
22276 *-*-mingw32* )
22277 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22278 esac
22279 fi
22280
22281 if test "$wxUSE_GTK" = 1; then
22282 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22283 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22284
22285 gtk_version_cached=1
22286 if test "${wx_cv_lib_gtk+set}" = set; then
22287 echo $ECHO_N "(cached) $ECHO_C" >&6
22288 else
22289
22290 gtk_version_cached=0
22291 echo "$as_me:$LINENO: result: " >&5
22292 echo "${ECHO_T}" >&6
22293
22294 GTK_MODULES=
22295 if test "$wxUSE_THREADS" = "yes"; then
22296 GTK_MODULES=gthread
22297 fi
22298
22299 wx_cv_lib_gtk=
22300 if test "x$wxUSE_GTK2" = "xyes"; then
22301 # Check whether --enable-gtktest or --disable-gtktest was given.
22302 if test "${enable_gtktest+set}" = set; then
22303 enableval="$enable_gtktest"
22304
22305 else
22306 enable_gtktest=yes
22307 fi;
22308
22309 pkg_config_args=gtk+-2.0
22310 for module in . $GTK_MODULES
22311 do
22312 case "$module" in
22313 gthread)
22314 pkg_config_args="$pkg_config_args gthread-2.0"
22315 ;;
22316 esac
22317 done
22318
22319 no_gtk=""
22320
22321 # Extract the first word of "pkg-config", so it can be a program name with args.
22322 set dummy pkg-config; ac_word=$2
22323 echo "$as_me:$LINENO: checking for $ac_word" >&5
22324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22325 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
22327 else
22328 case $PKG_CONFIG in
22329 [\\/]* | ?:[\\/]*)
22330 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22331 ;;
22332 *)
22333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22334 for as_dir in $PATH
22335 do
22336 IFS=$as_save_IFS
22337 test -z "$as_dir" && as_dir=.
22338 for ac_exec_ext in '' $ac_executable_extensions; do
22339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22340 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22342 break 2
22343 fi
22344 done
22345 done
22346
22347 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22348 ;;
22349 esac
22350 fi
22351 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22352
22353 if test -n "$PKG_CONFIG"; then
22354 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22355 echo "${ECHO_T}$PKG_CONFIG" >&6
22356 else
22357 echo "$as_me:$LINENO: result: no" >&5
22358 echo "${ECHO_T}no" >&6
22359 fi
22360
22361
22362 if test x$PKG_CONFIG != xno ; then
22363 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22364 :
22365 else
22366 echo "*** pkg-config too old; version 0.7 or better required."
22367 no_gtk=yes
22368 PKG_CONFIG=no
22369 fi
22370 else
22371 no_gtk=yes
22372 fi
22373
22374 min_gtk_version=2.0.0
22375 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22376 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22377
22378 if test x$PKG_CONFIG != xno ; then
22379 ## don't try to run the test against uninstalled libtool libs
22380 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22381 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22382 enable_gtktest=no
22383 fi
22384
22385 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22386 :
22387 else
22388 no_gtk=yes
22389 fi
22390 fi
22391
22392 if test x"$no_gtk" = x ; then
22393 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22394 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22395 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22397 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22399 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22401 if test "x$enable_gtktest" = "xyes" ; then
22402 ac_save_CFLAGS="$CFLAGS"
22403 ac_save_LIBS="$LIBS"
22404 CFLAGS="$CFLAGS $GTK_CFLAGS"
22405 LIBS="$GTK_LIBS $LIBS"
22406 rm -f conf.gtktest
22407 if test "$cross_compiling" = yes; then
22408 echo $ac_n "cross compiling; assumed OK... $ac_c"
22409 else
22410 cat >conftest.$ac_ext <<_ACEOF
22411 /* confdefs.h. */
22412 _ACEOF
22413 cat confdefs.h >>conftest.$ac_ext
22414 cat >>conftest.$ac_ext <<_ACEOF
22415 /* end confdefs.h. */
22416
22417 #include <gtk/gtk.h>
22418 #include <stdio.h>
22419 #include <stdlib.h>
22420
22421 int
22422 main ()
22423 {
22424 int major, minor, micro;
22425 char *tmp_version;
22426
22427 system ("touch conf.gtktest");
22428
22429 /* HP/UX 9 (%@#!) writes to sscanf strings */
22430 tmp_version = g_strdup("$min_gtk_version");
22431 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22432 printf("%s, bad version string\n", "$min_gtk_version");
22433 exit(1);
22434 }
22435
22436 if ((gtk_major_version != $gtk_config_major_version) ||
22437 (gtk_minor_version != $gtk_config_minor_version) ||
22438 (gtk_micro_version != $gtk_config_micro_version))
22439 {
22440 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22441 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22442 gtk_major_version, gtk_minor_version, gtk_micro_version);
22443 printf ("*** was found! If pkg-config was correct, then it is best\n");
22444 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22445 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22446 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22447 printf("*** required on your system.\n");
22448 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22449 printf("*** to point to the correct configuration files\n");
22450 }
22451 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22452 (gtk_minor_version != GTK_MINOR_VERSION) ||
22453 (gtk_micro_version != GTK_MICRO_VERSION))
22454 {
22455 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22456 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22457 printf("*** library (version %d.%d.%d)\n",
22458 gtk_major_version, gtk_minor_version, gtk_micro_version);
22459 }
22460 else
22461 {
22462 if ((gtk_major_version > major) ||
22463 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22464 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22465 {
22466 return 0;
22467 }
22468 else
22469 {
22470 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22471 gtk_major_version, gtk_minor_version, gtk_micro_version);
22472 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22473 major, minor, micro);
22474 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22475 printf("***\n");
22476 printf("*** If you have already installed a sufficiently new version, this error\n");
22477 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22478 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22479 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22480 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22481 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22482 printf("*** so that the correct libraries are found at run-time))\n");
22483 }
22484 }
22485 return 1;
22486 }
22487
22488 _ACEOF
22489 rm -f conftest$ac_exeext
22490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22491 (eval $ac_link) 2>&5
22492 ac_status=$?
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22496 (eval $ac_try) 2>&5
22497 ac_status=$?
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); }; }; then
22500 :
22501 else
22502 echo "$as_me: program exited with status $ac_status" >&5
22503 echo "$as_me: failed program was:" >&5
22504 sed 's/^/| /' conftest.$ac_ext >&5
22505
22506 ( exit $ac_status )
22507 no_gtk=yes
22508 fi
22509 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22510 fi
22511 CFLAGS="$ac_save_CFLAGS"
22512 LIBS="$ac_save_LIBS"
22513 fi
22514 fi
22515 if test "x$no_gtk" = x ; then
22516 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22517 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22518 wx_cv_lib_gtk=2.0
22519 else
22520 echo "$as_me:$LINENO: result: no" >&5
22521 echo "${ECHO_T}no" >&6
22522 if test "$PKG_CONFIG" = "no" ; then
22523 echo "*** A new enough version of pkg-config was not found."
22524 echo "*** See http://pkgconfig.sourceforge.net"
22525 else
22526 if test -f conf.gtktest ; then
22527 :
22528 else
22529 echo "*** Could not run GTK+ test program, checking why..."
22530 ac_save_CFLAGS="$CFLAGS"
22531 ac_save_LIBS="$LIBS"
22532 CFLAGS="$CFLAGS $GTK_CFLAGS"
22533 LIBS="$LIBS $GTK_LIBS"
22534 cat >conftest.$ac_ext <<_ACEOF
22535 /* confdefs.h. */
22536 _ACEOF
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540
22541 #include <gtk/gtk.h>
22542 #include <stdio.h>
22543
22544 int
22545 main ()
22546 {
22547 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22548 ;
22549 return 0;
22550 }
22551 _ACEOF
22552 rm -f conftest.$ac_objext conftest$ac_exeext
22553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22554 (eval $ac_link) 2>conftest.er1
22555 ac_status=$?
22556 grep -v '^ *+' conftest.er1 >conftest.err
22557 rm -f conftest.er1
22558 cat conftest.err >&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } &&
22561 { ac_try='test -z "$ac_c_werror_flag"
22562 || test ! -s conftest.err'
22563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22564 (eval $ac_try) 2>&5
22565 ac_status=$?
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try='test -s conftest$ac_exeext'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22571 ac_status=$?
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; }; then
22574 echo "*** The test program compiled, but did not run. This usually means"
22575 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22576 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22577 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22578 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22579 echo "*** is required on your system"
22580 echo "***"
22581 echo "*** If you have an old version installed, it is best to remove it, although"
22582 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22583 else
22584 echo "$as_me: failed program was:" >&5
22585 sed 's/^/| /' conftest.$ac_ext >&5
22586
22587 echo "*** The test program failed to compile or link. See the file config.log for the"
22588 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22589 fi
22590 rm -f conftest.err conftest.$ac_objext \
22591 conftest$ac_exeext conftest.$ac_ext
22592 CFLAGS="$ac_save_CFLAGS"
22593 LIBS="$ac_save_LIBS"
22594 fi
22595 fi
22596 GTK_CFLAGS=""
22597 GTK_LIBS=""
22598 :
22599 fi
22600
22601
22602 rm -f conf.gtktest
22603
22604 else
22605
22606 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22607 if test "${with_gtk_prefix+set}" = set; then
22608 withval="$with_gtk_prefix"
22609 gtk_config_prefix="$withval"
22610 else
22611 gtk_config_prefix=""
22612 fi;
22613
22614 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22615 if test "${with_gtk_exec_prefix+set}" = set; then
22616 withval="$with_gtk_exec_prefix"
22617 gtk_config_exec_prefix="$withval"
22618 else
22619 gtk_config_exec_prefix=""
22620 fi;
22621 # Check whether --enable-gtktest or --disable-gtktest was given.
22622 if test "${enable_gtktest+set}" = set; then
22623 enableval="$enable_gtktest"
22624
22625 else
22626 enable_gtktest=yes
22627 fi;
22628
22629 for module in . $GTK_MODULES
22630 do
22631 case "$module" in
22632 gthread)
22633 gtk_config_args="$gtk_config_args gthread"
22634 ;;
22635 esac
22636 done
22637
22638 if test x$gtk_config_exec_prefix != x ; then
22639 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22640 if test x${GTK_CONFIG+set} != xset ; then
22641 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22642 fi
22643 fi
22644 if test x$gtk_config_prefix != x ; then
22645 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22646 if test x${GTK_CONFIG+set} != xset ; then
22647 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22648 fi
22649 fi
22650
22651 # Extract the first word of "gtk-config", so it can be a program name with args.
22652 set dummy gtk-config; ac_word=$2
22653 echo "$as_me:$LINENO: checking for $ac_word" >&5
22654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22655 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22657 else
22658 case $GTK_CONFIG in
22659 [\\/]* | ?:[\\/]*)
22660 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22661 ;;
22662 *)
22663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22664 for as_dir in $PATH
22665 do
22666 IFS=$as_save_IFS
22667 test -z "$as_dir" && as_dir=.
22668 for ac_exec_ext in '' $ac_executable_extensions; do
22669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22670 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22672 break 2
22673 fi
22674 done
22675 done
22676
22677 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22678 ;;
22679 esac
22680 fi
22681 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22682
22683 if test -n "$GTK_CONFIG"; then
22684 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22685 echo "${ECHO_T}$GTK_CONFIG" >&6
22686 else
22687 echo "$as_me:$LINENO: result: no" >&5
22688 echo "${ECHO_T}no" >&6
22689 fi
22690
22691 min_gtk_version=1.2.7
22692 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22693 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22694 no_gtk=""
22695 if test "$GTK_CONFIG" = "no" ; then
22696 no_gtk=yes
22697 else
22698 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22699 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22700 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22702 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22704 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22706 if test "x$enable_gtktest" = "xyes" ; then
22707 ac_save_CFLAGS="$CFLAGS"
22708 ac_save_LIBS="$LIBS"
22709 CFLAGS="$CFLAGS $GTK_CFLAGS"
22710 LIBS="$GTK_LIBS $LIBS"
22711 rm -f conf.gtktest
22712 if test "$cross_compiling" = yes; then
22713 echo $ac_n "cross compiling; assumed OK... $ac_c"
22714 else
22715 cat >conftest.$ac_ext <<_ACEOF
22716 /* confdefs.h. */
22717 _ACEOF
22718 cat confdefs.h >>conftest.$ac_ext
22719 cat >>conftest.$ac_ext <<_ACEOF
22720 /* end confdefs.h. */
22721
22722 #include <gtk/gtk.h>
22723 #include <stdio.h>
22724 #include <stdlib.h>
22725
22726 int
22727 main ()
22728 {
22729 int major, minor, micro;
22730 char *tmp_version;
22731
22732 system ("touch conf.gtktest");
22733
22734 /* HP/UX 9 (%@#!) writes to sscanf strings */
22735 tmp_version = g_strdup("$min_gtk_version");
22736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22737 printf("%s, bad version string\n", "$min_gtk_version");
22738 exit(1);
22739 }
22740
22741 if ((gtk_major_version != $gtk_config_major_version) ||
22742 (gtk_minor_version != $gtk_config_minor_version) ||
22743 (gtk_micro_version != $gtk_config_micro_version))
22744 {
22745 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22747 gtk_major_version, gtk_minor_version, gtk_micro_version);
22748 printf ("*** was found! If gtk-config was correct, then it is best\n");
22749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22752 printf("*** required on your system.\n");
22753 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22754 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22755 printf("*** before re-running configure\n");
22756 }
22757 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22758 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22759 (gtk_minor_version != GTK_MINOR_VERSION) ||
22760 (gtk_micro_version != GTK_MICRO_VERSION))
22761 {
22762 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22763 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22764 printf("*** library (version %d.%d.%d)\n",
22765 gtk_major_version, gtk_minor_version, gtk_micro_version);
22766 }
22767 #endif /* defined (GTK_MAJOR_VERSION) ... */
22768 else
22769 {
22770 if ((gtk_major_version > major) ||
22771 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22772 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22773 {
22774 return 0;
22775 }
22776 else
22777 {
22778 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22779 gtk_major_version, gtk_minor_version, gtk_micro_version);
22780 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22781 major, minor, micro);
22782 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22783 printf("***\n");
22784 printf("*** If you have already installed a sufficiently new version, this error\n");
22785 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22786 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22787 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22788 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22789 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22790 printf("*** so that the correct libraries are found at run-time))\n");
22791 }
22792 }
22793 return 1;
22794 }
22795
22796 _ACEOF
22797 rm -f conftest$ac_exeext
22798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22799 (eval $ac_link) 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 :
22809 else
22810 echo "$as_me: program exited with status $ac_status" >&5
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.$ac_ext >&5
22813
22814 ( exit $ac_status )
22815 no_gtk=yes
22816 fi
22817 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22818 fi
22819 CFLAGS="$ac_save_CFLAGS"
22820 LIBS="$ac_save_LIBS"
22821 fi
22822 fi
22823 if test "x$no_gtk" = x ; then
22824 echo "$as_me:$LINENO: result: yes" >&5
22825 echo "${ECHO_T}yes" >&6
22826 wx_cv_lib_gtk=1.2.7
22827 else
22828 echo "$as_me:$LINENO: result: no" >&5
22829 echo "${ECHO_T}no" >&6
22830 if test "$GTK_CONFIG" = "no" ; then
22831 echo "*** The gtk-config script installed by GTK could not be found"
22832 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22833 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22834 echo "*** full path to gtk-config."
22835 else
22836 if test -f conf.gtktest ; then
22837 :
22838 else
22839 echo "*** Could not run GTK test program, checking why..."
22840 CFLAGS="$CFLAGS $GTK_CFLAGS"
22841 LIBS="$LIBS $GTK_LIBS"
22842 cat >conftest.$ac_ext <<_ACEOF
22843 /* confdefs.h. */
22844 _ACEOF
22845 cat confdefs.h >>conftest.$ac_ext
22846 cat >>conftest.$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22848
22849 #include <gtk/gtk.h>
22850 #include <stdio.h>
22851
22852 int
22853 main ()
22854 {
22855 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22856 ;
22857 return 0;
22858 }
22859 _ACEOF
22860 rm -f conftest.$ac_objext conftest$ac_exeext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22862 (eval $ac_link) 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try='test -z "$ac_c_werror_flag"
22870 || test ! -s conftest.err'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try='test -s conftest$ac_exeext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 echo "*** The test program compiled, but did not run. This usually means"
22883 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22884 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22885 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22886 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22887 echo "*** is required on your system"
22888 echo "***"
22889 echo "*** If you have an old version installed, it is best to remove it, although"
22890 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22891 echo "***"
22892 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22893 echo "*** came with the system with the command"
22894 echo "***"
22895 echo "*** rpm --erase --nodeps gtk gtk-devel"
22896 else
22897 echo "$as_me: failed program was:" >&5
22898 sed 's/^/| /' conftest.$ac_ext >&5
22899
22900 echo "*** The test program failed to compile or link. See the file config.log for the"
22901 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22902 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22903 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22904 fi
22905 rm -f conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22907 CFLAGS="$ac_save_CFLAGS"
22908 LIBS="$ac_save_LIBS"
22909 fi
22910 fi
22911 GTK_CFLAGS=""
22912 GTK_LIBS=""
22913 :
22914 fi
22915
22916
22917 rm -f conf.gtktest
22918
22919
22920 if test -z "$wx_cv_lib_gtk"; then
22921
22922 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22923 if test "${with_gtk_prefix+set}" = set; then
22924 withval="$with_gtk_prefix"
22925 gtk_config_prefix="$withval"
22926 else
22927 gtk_config_prefix=""
22928 fi;
22929
22930 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22931 if test "${with_gtk_exec_prefix+set}" = set; then
22932 withval="$with_gtk_exec_prefix"
22933 gtk_config_exec_prefix="$withval"
22934 else
22935 gtk_config_exec_prefix=""
22936 fi;
22937 # Check whether --enable-gtktest or --disable-gtktest was given.
22938 if test "${enable_gtktest+set}" = set; then
22939 enableval="$enable_gtktest"
22940
22941 else
22942 enable_gtktest=yes
22943 fi;
22944
22945 for module in . $GTK_MODULES
22946 do
22947 case "$module" in
22948 gthread)
22949 gtk_config_args="$gtk_config_args gthread"
22950 ;;
22951 esac
22952 done
22953
22954 if test x$gtk_config_exec_prefix != x ; then
22955 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22956 if test x${GTK_CONFIG+set} != xset ; then
22957 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22958 fi
22959 fi
22960 if test x$gtk_config_prefix != x ; then
22961 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22962 if test x${GTK_CONFIG+set} != xset ; then
22963 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22964 fi
22965 fi
22966
22967 # Extract the first word of "gtk-config", so it can be a program name with args.
22968 set dummy gtk-config; ac_word=$2
22969 echo "$as_me:$LINENO: checking for $ac_word" >&5
22970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22971 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22972 echo $ECHO_N "(cached) $ECHO_C" >&6
22973 else
22974 case $GTK_CONFIG in
22975 [\\/]* | ?:[\\/]*)
22976 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22977 ;;
22978 *)
22979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22980 for as_dir in $PATH
22981 do
22982 IFS=$as_save_IFS
22983 test -z "$as_dir" && as_dir=.
22984 for ac_exec_ext in '' $ac_executable_extensions; do
22985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22986 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22988 break 2
22989 fi
22990 done
22991 done
22992
22993 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22994 ;;
22995 esac
22996 fi
22997 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22998
22999 if test -n "$GTK_CONFIG"; then
23000 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23001 echo "${ECHO_T}$GTK_CONFIG" >&6
23002 else
23003 echo "$as_me:$LINENO: result: no" >&5
23004 echo "${ECHO_T}no" >&6
23005 fi
23006
23007 min_gtk_version=1.2.3
23008 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23009 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23010 no_gtk=""
23011 if test "$GTK_CONFIG" = "no" ; then
23012 no_gtk=yes
23013 else
23014 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23015 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23016 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23018 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23020 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23022 if test "x$enable_gtktest" = "xyes" ; then
23023 ac_save_CFLAGS="$CFLAGS"
23024 ac_save_LIBS="$LIBS"
23025 CFLAGS="$CFLAGS $GTK_CFLAGS"
23026 LIBS="$GTK_LIBS $LIBS"
23027 rm -f conf.gtktest
23028 if test "$cross_compiling" = yes; then
23029 echo $ac_n "cross compiling; assumed OK... $ac_c"
23030 else
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037
23038 #include <gtk/gtk.h>
23039 #include <stdio.h>
23040 #include <stdlib.h>
23041
23042 int
23043 main ()
23044 {
23045 int major, minor, micro;
23046 char *tmp_version;
23047
23048 system ("touch conf.gtktest");
23049
23050 /* HP/UX 9 (%@#!) writes to sscanf strings */
23051 tmp_version = g_strdup("$min_gtk_version");
23052 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23053 printf("%s, bad version string\n", "$min_gtk_version");
23054 exit(1);
23055 }
23056
23057 if ((gtk_major_version != $gtk_config_major_version) ||
23058 (gtk_minor_version != $gtk_config_minor_version) ||
23059 (gtk_micro_version != $gtk_config_micro_version))
23060 {
23061 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23062 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23063 gtk_major_version, gtk_minor_version, gtk_micro_version);
23064 printf ("*** was found! If gtk-config was correct, then it is best\n");
23065 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23066 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23067 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23068 printf("*** required on your system.\n");
23069 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23070 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23071 printf("*** before re-running configure\n");
23072 }
23073 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23074 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23075 (gtk_minor_version != GTK_MINOR_VERSION) ||
23076 (gtk_micro_version != GTK_MICRO_VERSION))
23077 {
23078 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23079 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23080 printf("*** library (version %d.%d.%d)\n",
23081 gtk_major_version, gtk_minor_version, gtk_micro_version);
23082 }
23083 #endif /* defined (GTK_MAJOR_VERSION) ... */
23084 else
23085 {
23086 if ((gtk_major_version > major) ||
23087 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23088 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23089 {
23090 return 0;
23091 }
23092 else
23093 {
23094 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23095 gtk_major_version, gtk_minor_version, gtk_micro_version);
23096 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23097 major, minor, micro);
23098 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23099 printf("***\n");
23100 printf("*** If you have already installed a sufficiently new version, this error\n");
23101 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23102 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23103 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23104 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23105 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23106 printf("*** so that the correct libraries are found at run-time))\n");
23107 }
23108 }
23109 return 1;
23110 }
23111
23112 _ACEOF
23113 rm -f conftest$ac_exeext
23114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23115 (eval $ac_link) 2>&5
23116 ac_status=$?
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23121 ac_status=$?
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23124 :
23125 else
23126 echo "$as_me: program exited with status $ac_status" >&5
23127 echo "$as_me: failed program was:" >&5
23128 sed 's/^/| /' conftest.$ac_ext >&5
23129
23130 ( exit $ac_status )
23131 no_gtk=yes
23132 fi
23133 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23134 fi
23135 CFLAGS="$ac_save_CFLAGS"
23136 LIBS="$ac_save_LIBS"
23137 fi
23138 fi
23139 if test "x$no_gtk" = x ; then
23140 echo "$as_me:$LINENO: result: yes" >&5
23141 echo "${ECHO_T}yes" >&6
23142 wx_cv_lib_gtk=1.2.3
23143 else
23144 echo "$as_me:$LINENO: result: no" >&5
23145 echo "${ECHO_T}no" >&6
23146 if test "$GTK_CONFIG" = "no" ; then
23147 echo "*** The gtk-config script installed by GTK could not be found"
23148 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23149 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23150 echo "*** full path to gtk-config."
23151 else
23152 if test -f conf.gtktest ; then
23153 :
23154 else
23155 echo "*** Could not run GTK test program, checking why..."
23156 CFLAGS="$CFLAGS $GTK_CFLAGS"
23157 LIBS="$LIBS $GTK_LIBS"
23158 cat >conftest.$ac_ext <<_ACEOF
23159 /* confdefs.h. */
23160 _ACEOF
23161 cat confdefs.h >>conftest.$ac_ext
23162 cat >>conftest.$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23164
23165 #include <gtk/gtk.h>
23166 #include <stdio.h>
23167
23168 int
23169 main ()
23170 {
23171 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23172 ;
23173 return 0;
23174 }
23175 _ACEOF
23176 rm -f conftest.$ac_objext conftest$ac_exeext
23177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23178 (eval $ac_link) 2>conftest.er1
23179 ac_status=$?
23180 grep -v '^ *+' conftest.er1 >conftest.err
23181 rm -f conftest.er1
23182 cat conftest.err >&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } &&
23185 { ac_try='test -z "$ac_c_werror_flag"
23186 || test ! -s conftest.err'
23187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188 (eval $ac_try) 2>&5
23189 ac_status=$?
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); }; } &&
23192 { ac_try='test -s conftest$ac_exeext'
23193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23194 (eval $ac_try) 2>&5
23195 ac_status=$?
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); }; }; then
23198 echo "*** The test program compiled, but did not run. This usually means"
23199 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23200 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23201 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23202 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23203 echo "*** is required on your system"
23204 echo "***"
23205 echo "*** If you have an old version installed, it is best to remove it, although"
23206 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23207 echo "***"
23208 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23209 echo "*** came with the system with the command"
23210 echo "***"
23211 echo "*** rpm --erase --nodeps gtk gtk-devel"
23212 else
23213 echo "$as_me: failed program was:" >&5
23214 sed 's/^/| /' conftest.$ac_ext >&5
23215
23216 echo "*** The test program failed to compile or link. See the file config.log for the"
23217 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23218 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23219 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23220 fi
23221 rm -f conftest.err conftest.$ac_objext \
23222 conftest$ac_exeext conftest.$ac_ext
23223 CFLAGS="$ac_save_CFLAGS"
23224 LIBS="$ac_save_LIBS"
23225 fi
23226 fi
23227 GTK_CFLAGS=""
23228 GTK_LIBS=""
23229 :
23230 fi
23231
23232
23233 rm -f conf.gtktest
23234
23235 fi
23236 fi
23237
23238 if test -z "$wx_cv_lib_gtk"; then
23239 wx_cv_lib_gtk=none
23240 else
23241 wx_cv_cflags_gtk=$GTK_CFLAGS
23242 wx_cv_libs_gtk=$GTK_LIBS
23243 fi
23244
23245
23246 fi
23247
23248
23249 if test "$gtk_version_cached" = 1; then
23250 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23251 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23252 fi
23253
23254 case "$wx_cv_lib_gtk" in
23255 2.0) WXGTK20=1
23256 TOOLKIT_VERSION=2
23257 ;;
23258 1.2.7) WXGTK127=1
23259 WXGTK12=1
23260 ;;
23261 1.2.3) WXGTK12=1
23262 ;;
23263 *) { { echo "$as_me:$LINENO: error:
23264 Please check that gtk-config is in path, the directory
23265 where GTK+ libraries are installed (returned by
23266 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23267 equivalent variable and GTK+ is version 1.2.3 or above.
23268 " >&5
23269 echo "$as_me: error:
23270 Please check that gtk-config is in path, the directory
23271 where GTK+ libraries are installed (returned by
23272 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23273 equivalent variable and GTK+ is version 1.2.3 or above.
23274 " >&2;}
23275 { (exit 1); exit 1; }; }
23276 ;;
23277 esac
23278
23279 if test "$WXGTK20" = 1; then
23280 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23281
23282 succeeded=no
23283
23284 if test -z "$PKG_CONFIG"; then
23285 # Extract the first word of "pkg-config", so it can be a program name with args.
23286 set dummy pkg-config; ac_word=$2
23287 echo "$as_me:$LINENO: checking for $ac_word" >&5
23288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23289 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23290 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 else
23292 case $PKG_CONFIG in
23293 [\\/]* | ?:[\\/]*)
23294 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23295 ;;
23296 *)
23297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23298 for as_dir in $PATH
23299 do
23300 IFS=$as_save_IFS
23301 test -z "$as_dir" && as_dir=.
23302 for ac_exec_ext in '' $ac_executable_extensions; do
23303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23304 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23306 break 2
23307 fi
23308 done
23309 done
23310
23311 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23312 ;;
23313 esac
23314 fi
23315 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23316
23317 if test -n "$PKG_CONFIG"; then
23318 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23319 echo "${ECHO_T}$PKG_CONFIG" >&6
23320 else
23321 echo "$as_me:$LINENO: result: no" >&5
23322 echo "${ECHO_T}no" >&6
23323 fi
23324
23325 fi
23326
23327 if test "$PKG_CONFIG" = "no" ; then
23328 echo "*** The pkg-config script could not be found. Make sure it is"
23329 echo "*** in your path, or set the PKG_CONFIG environment variable"
23330 echo "*** to the full path to pkg-config."
23331 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23332 else
23333 PKG_CONFIG_MIN_VERSION=0.9.0
23334 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23335 echo "$as_me:$LINENO: checking for pangoft2" >&5
23336 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23337
23338 if $PKG_CONFIG --exists "pangoft2" ; then
23339 echo "$as_me:$LINENO: result: yes" >&5
23340 echo "${ECHO_T}yes" >&6
23341 succeeded=yes
23342
23343 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23344 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23345 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23346 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23347 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23348
23349 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23350 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23351 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23352 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23353 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23354 else
23355 PANGOFT2_CFLAGS=""
23356 PANGOFT2_LIBS=""
23357 ## If we have a custom action on failure, don't print errors, but
23358 ## do set a variable so people can do so.
23359 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23360
23361 fi
23362
23363
23364
23365 else
23366 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23367 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23368 fi
23369 fi
23370
23371 if test $succeeded = yes; then
23372
23373 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23374 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23375
23376 else
23377
23378 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23379 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23380 wxUSE_PRINTING_ARCHITECTURE="no"
23381
23382
23383 fi
23384
23385 fi
23386
23387 save_CFLAGS="$CFLAGS"
23388 save_LIBS="$LIBS"
23389 CFLAGS="$CFLAGS $GTK_CFLAGS"
23390 LIBS="$LIBS $GTK_LIBS"
23391
23392 for ac_func in pango_font_family_is_monospace
23393 do
23394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23395 echo "$as_me:$LINENO: checking for $ac_func" >&5
23396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23397 if eval "test \"\${$as_ac_var+set}\" = set"; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 else
23400 cat >conftest.$ac_ext <<_ACEOF
23401 /* confdefs.h. */
23402 _ACEOF
23403 cat confdefs.h >>conftest.$ac_ext
23404 cat >>conftest.$ac_ext <<_ACEOF
23405 /* end confdefs.h. */
23406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23408 #define $ac_func innocuous_$ac_func
23409
23410 /* System header to define __stub macros and hopefully few prototypes,
23411 which can conflict with char $ac_func (); below.
23412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23413 <limits.h> exists even on freestanding compilers. */
23414
23415 #ifdef __STDC__
23416 # include <limits.h>
23417 #else
23418 # include <assert.h>
23419 #endif
23420
23421 #undef $ac_func
23422
23423 /* Override any gcc2 internal prototype to avoid an error. */
23424 #ifdef __cplusplus
23425 extern "C"
23426 {
23427 #endif
23428 /* We use char because int might match the return type of a gcc2
23429 builtin and then its argument prototype would still apply. */
23430 char $ac_func ();
23431 /* The GNU C library defines this for functions which it implements
23432 to always fail with ENOSYS. Some functions are actually named
23433 something starting with __ and the normal name is an alias. */
23434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23435 choke me
23436 #else
23437 char (*f) () = $ac_func;
23438 #endif
23439 #ifdef __cplusplus
23440 }
23441 #endif
23442
23443 int
23444 main ()
23445 {
23446 return f != $ac_func;
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext conftest$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>conftest.er1
23454 ac_status=$?
23455 grep -v '^ *+' conftest.er1 >conftest.err
23456 rm -f conftest.er1
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } &&
23460 { ac_try='test -z "$ac_c_werror_flag"
23461 || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 eval "$as_ac_var=yes"
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 eval "$as_ac_var=no"
23479 fi
23480 rm -f conftest.err conftest.$ac_objext \
23481 conftest$ac_exeext conftest.$ac_ext
23482 fi
23483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23485 if test `eval echo '${'$as_ac_var'}'` = yes; then
23486 cat >>confdefs.h <<_ACEOF
23487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23488 _ACEOF
23489
23490 fi
23491 done
23492
23493 CFLAGS="$save_CFLAGS"
23494 LIBS="$save_LIBS"
23495 else
23496 if test "$wxUSE_UNICODE" = "yes"; then
23497 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23498 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23499 wxUSE_UNICODE=no
23500 fi
23501 fi
23502
23503 if test "$USE_DARWIN" != 1; then
23504
23505 for ac_func in poll
23506 do
23507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23508 echo "$as_me:$LINENO: checking for $ac_func" >&5
23509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23510 if eval "test \"\${$as_ac_var+set}\" = set"; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23521 #define $ac_func innocuous_$ac_func
23522
23523 /* System header to define __stub macros and hopefully few prototypes,
23524 which can conflict with char $ac_func (); below.
23525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23526 <limits.h> exists even on freestanding compilers. */
23527
23528 #ifdef __STDC__
23529 # include <limits.h>
23530 #else
23531 # include <assert.h>
23532 #endif
23533
23534 #undef $ac_func
23535
23536 /* Override any gcc2 internal prototype to avoid an error. */
23537 #ifdef __cplusplus
23538 extern "C"
23539 {
23540 #endif
23541 /* We use char because int might match the return type of a gcc2
23542 builtin and then its argument prototype would still apply. */
23543 char $ac_func ();
23544 /* The GNU C library defines this for functions which it implements
23545 to always fail with ENOSYS. Some functions are actually named
23546 something starting with __ and the normal name is an alias. */
23547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23548 choke me
23549 #else
23550 char (*f) () = $ac_func;
23551 #endif
23552 #ifdef __cplusplus
23553 }
23554 #endif
23555
23556 int
23557 main ()
23558 {
23559 return f != $ac_func;
23560 ;
23561 return 0;
23562 }
23563 _ACEOF
23564 rm -f conftest.$ac_objext conftest$ac_exeext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23566 (eval $ac_link) 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try='test -z "$ac_c_werror_flag"
23574 || test ! -s conftest.err'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; } &&
23580 { ac_try='test -s conftest$ac_exeext'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23586 eval "$as_ac_var=yes"
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591 eval "$as_ac_var=no"
23592 fi
23593 rm -f conftest.err conftest.$ac_objext \
23594 conftest$ac_exeext conftest.$ac_ext
23595 fi
23596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23598 if test `eval echo '${'$as_ac_var'}'` = yes; then
23599 cat >>confdefs.h <<_ACEOF
23600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23601 _ACEOF
23602
23603 fi
23604 done
23605
23606 fi
23607
23608 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23609 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23610
23611 AFMINSTALL=afminstall
23612 TOOLKIT=GTK
23613 GUIDIST=GTK_DIST
23614
23615 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23616 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23617 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 else
23620 ac_check_lib_save_LIBS=$LIBS
23621 LIBS="-lgdk $LIBS"
23622 cat >conftest.$ac_ext <<_ACEOF
23623 /* confdefs.h. */
23624 _ACEOF
23625 cat confdefs.h >>conftest.$ac_ext
23626 cat >>conftest.$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23628
23629 /* Override any gcc2 internal prototype to avoid an error. */
23630 #ifdef __cplusplus
23631 extern "C"
23632 #endif
23633 /* We use char because int might match the return type of a gcc2
23634 builtin and then its argument prototype would still apply. */
23635 char gdk_im_open ();
23636 int
23637 main ()
23638 {
23639 gdk_im_open ();
23640 ;
23641 return 0;
23642 }
23643 _ACEOF
23644 rm -f conftest.$ac_objext conftest$ac_exeext
23645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23646 (eval $ac_link) 2>conftest.er1
23647 ac_status=$?
23648 grep -v '^ *+' conftest.er1 >conftest.err
23649 rm -f conftest.er1
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } &&
23653 { ac_try='test -z "$ac_c_werror_flag"
23654 || test ! -s conftest.err'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; } &&
23660 { ac_try='test -s conftest$ac_exeext'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; }; then
23666 ac_cv_lib_gdk_gdk_im_open=yes
23667 else
23668 echo "$as_me: failed program was:" >&5
23669 sed 's/^/| /' conftest.$ac_ext >&5
23670
23671 ac_cv_lib_gdk_gdk_im_open=no
23672 fi
23673 rm -f conftest.err conftest.$ac_objext \
23674 conftest$ac_exeext conftest.$ac_ext
23675 LIBS=$ac_check_lib_save_LIBS
23676 fi
23677 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23678 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23679 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23680 cat >>confdefs.h <<\_ACEOF
23681 #define HAVE_XIM 1
23682 _ACEOF
23683
23684 fi
23685
23686
23687
23688 if test "$wxUSE_GPE" = "yes"; then
23689 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23690 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23691
23692 ac_find_libraries=
23693 for ac_dir in $SEARCH_LIB /usr/lib;
23694 do
23695 for ac_extension in a so sl dylib; do
23696 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23697 ac_find_libraries=$ac_dir
23698 break 2
23699 fi
23700 done
23701 done
23702
23703 if test "$ac_find_libraries" != "" ; then
23704
23705 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23706 result=$?
23707 if test $result = 0; then
23708 ac_path_to_link=""
23709 else
23710 ac_path_to_link=" -L$ac_find_libraries"
23711 fi
23712
23713 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23714 WXGPE=1
23715 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23716 echo "${ECHO_T}found at $ac_find_libraries" >&6
23717 else
23718 echo "$as_me:$LINENO: result: not found" >&5
23719 echo "${ECHO_T}not found" >&6
23720 fi
23721
23722 fi
23723 fi
23724
23725 if test "$wxUSE_MGL" = 1; then
23726 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23727 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23728 if test "x$MGL_ROOT" = x ; then
23729 echo "$as_me:$LINENO: result: not found" >&5
23730 echo "${ECHO_T}not found" >&6
23731 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23732 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23733 { (exit 1); exit 1; }; }
23734 else
23735 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23736 echo "${ECHO_T}$MGL_ROOT" >&6
23737 fi
23738
23739 echo "$as_me:$LINENO: checking for libmgl location" >&5
23740 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23741 case "${host}" in
23742 *-*-linux* )
23743 if test "x$wxUSE_SHARED" = xyes ; then
23744 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23745 else
23746 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23747 fi
23748 ;;
23749 *-pc-msdosdjgpp )
23750 mgl_os_candidates="dos32/dj2"
23751 ;;
23752 *)
23753 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23754 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23755 { (exit 1); exit 1; }; }
23756 esac
23757
23758 mgl_lib_type=""
23759 mgl_os=""
23760
23761 for mgl_os_i in $mgl_os_candidates ; do
23762 if test "x$mgl_os" = x ; then
23763 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23764 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23765 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23766 mgl_lib_type=debug
23767 mgl_os=$mgl_os_i
23768 fi
23769 fi
23770 if test "x$mgl_lib_type" = x ; then
23771 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23772 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23773 mgl_lib_type=release
23774 mgl_os=$mgl_os_i
23775 fi
23776 fi
23777 fi
23778 done
23779
23780 if test "x$mgl_os" = x ; then
23781 echo "$as_me:$LINENO: result: not found" >&5
23782 echo "${ECHO_T}not found" >&6
23783 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23784 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23785 { (exit 1); exit 1; }; }
23786 fi
23787 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23788 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23789
23790 wxUSE_UNIVERSAL="yes"
23791
23792 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23793 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23794
23795 AFMINSTALL=afminstall
23796 TOOLKIT=MGL
23797 GUIDIST=MGL_DIST
23798 fi
23799
23800 if test "$wxUSE_MICROWIN" = 1; then
23801 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23802 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23803 if test "x$MICROWINDOWS" = x ; then
23804 echo "$as_me:$LINENO: result: not found" >&5
23805 echo "${ECHO_T}not found" >&6
23806 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23807 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23808 { (exit 1); exit 1; }; }
23809 else
23810 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23811 echo "${ECHO_T}$MICROWINDOWS" >&6
23812 fi
23813
23814 if test -f $MICROWINDOWS/lib/libmwin.a; then
23815 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23816 echo "${ECHO_T}MicroWindows' libraries found." >&6
23817 else
23818 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23819 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23820 { (exit 1); exit 1; }; }
23821 fi
23822
23823 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23824 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23825
23826 wxUSE_UNIVERSAL="yes"
23827
23828 AFMINSTALL=afminstall
23829 TOOLKIT=MICROWIN
23830 GUIDIST=MICROWIN_DIST
23831
23832 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23833 fi
23834
23835 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23836 echo "$as_me:$LINENO: checking for X" >&5
23837 echo $ECHO_N "checking for X... $ECHO_C" >&6
23838
23839
23840 # Check whether --with-x or --without-x was given.
23841 if test "${with_x+set}" = set; then
23842 withval="$with_x"
23843
23844 fi;
23845 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23846 if test "x$with_x" = xno; then
23847 # The user explicitly disabled X.
23848 have_x=disabled
23849 else
23850 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23851 # Both variables are already set.
23852 have_x=yes
23853 else
23854 if test "${ac_cv_have_x+set}" = set; then
23855 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 else
23857 # One or both of the vars are not set, and there is no cached value.
23858 ac_x_includes=no ac_x_libraries=no
23859 rm -fr conftest.dir
23860 if mkdir conftest.dir; then
23861 cd conftest.dir
23862 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23863 cat >Imakefile <<'_ACEOF'
23864 acfindx:
23865 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23866 _ACEOF
23867 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23868 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23869 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23870 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23871 for ac_extension in a so sl; do
23872 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23873 test -f $ac_im_libdir/libX11.$ac_extension; then
23874 ac_im_usrlibdir=$ac_im_libdir; break
23875 fi
23876 done
23877 # Screen out bogus values from the imake configuration. They are
23878 # bogus both because they are the default anyway, and because
23879 # using them would break gcc on systems where it needs fixed includes.
23880 case $ac_im_incroot in
23881 /usr/include) ;;
23882 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23883 esac
23884 case $ac_im_usrlibdir in
23885 /usr/lib | /lib) ;;
23886 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23887 esac
23888 fi
23889 cd ..
23890 rm -fr conftest.dir
23891 fi
23892
23893 # Standard set of common directories for X headers.
23894 # Check X11 before X11Rn because it is often a symlink to the current release.
23895 ac_x_header_dirs='
23896 /usr/X11/include
23897 /usr/X11R6/include
23898 /usr/X11R5/include
23899 /usr/X11R4/include
23900
23901 /usr/include/X11
23902 /usr/include/X11R6
23903 /usr/include/X11R5
23904 /usr/include/X11R4
23905
23906 /usr/local/X11/include
23907 /usr/local/X11R6/include
23908 /usr/local/X11R5/include
23909 /usr/local/X11R4/include
23910
23911 /usr/local/include/X11
23912 /usr/local/include/X11R6
23913 /usr/local/include/X11R5
23914 /usr/local/include/X11R4
23915
23916 /usr/X386/include
23917 /usr/x386/include
23918 /usr/XFree86/include/X11
23919
23920 /usr/include
23921 /usr/local/include
23922 /usr/unsupported/include
23923 /usr/athena/include
23924 /usr/local/x11r5/include
23925 /usr/lpp/Xamples/include
23926
23927 /usr/openwin/include
23928 /usr/openwin/share/include'
23929
23930 if test "$ac_x_includes" = no; then
23931 # Guess where to find include files, by looking for Intrinsic.h.
23932 # First, try using that file with no special directory specified.
23933 cat >conftest.$ac_ext <<_ACEOF
23934 /* confdefs.h. */
23935 _ACEOF
23936 cat confdefs.h >>conftest.$ac_ext
23937 cat >>conftest.$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23939 #include <X11/Intrinsic.h>
23940 _ACEOF
23941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23943 ac_status=$?
23944 grep -v '^ *+' conftest.er1 >conftest.err
23945 rm -f conftest.er1
23946 cat conftest.err >&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } >/dev/null; then
23949 if test -s conftest.err; then
23950 ac_cpp_err=$ac_c_preproc_warn_flag
23951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23952 else
23953 ac_cpp_err=
23954 fi
23955 else
23956 ac_cpp_err=yes
23957 fi
23958 if test -z "$ac_cpp_err"; then
23959 # We can compile using X headers with no special include directory.
23960 ac_x_includes=
23961 else
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.$ac_ext >&5
23964
23965 for ac_dir in $ac_x_header_dirs; do
23966 if test -r "$ac_dir/X11/Intrinsic.h"; then
23967 ac_x_includes=$ac_dir
23968 break
23969 fi
23970 done
23971 fi
23972 rm -f conftest.err conftest.$ac_ext
23973 fi # $ac_x_includes = no
23974
23975 if test "$ac_x_libraries" = no; then
23976 # Check for the libraries.
23977 # See if we find them without any special options.
23978 # Don't add to $LIBS permanently.
23979 ac_save_LIBS=$LIBS
23980 LIBS="-lXt $LIBS"
23981 cat >conftest.$ac_ext <<_ACEOF
23982 /* confdefs.h. */
23983 _ACEOF
23984 cat confdefs.h >>conftest.$ac_ext
23985 cat >>conftest.$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23987 #include <X11/Intrinsic.h>
23988 int
23989 main ()
23990 {
23991 XtMalloc (0)
23992 ;
23993 return 0;
23994 }
23995 _ACEOF
23996 rm -f conftest.$ac_objext conftest$ac_exeext
23997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23998 (eval $ac_link) 2>conftest.er1
23999 ac_status=$?
24000 grep -v '^ *+' conftest.er1 >conftest.err
24001 rm -f conftest.er1
24002 cat conftest.err >&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); } &&
24005 { ac_try='test -z "$ac_c_werror_flag"
24006 || test ! -s conftest.err'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24009 ac_status=$?
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; } &&
24012 { ac_try='test -s conftest$ac_exeext'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24015 ac_status=$?
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; }; then
24018 LIBS=$ac_save_LIBS
24019 # We can link X programs with no special library path.
24020 ac_x_libraries=
24021 else
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025 LIBS=$ac_save_LIBS
24026 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24027 do
24028 # Don't even attempt the hair of trying to link an X program!
24029 for ac_extension in a so sl; do
24030 if test -r $ac_dir/libXt.$ac_extension; then
24031 ac_x_libraries=$ac_dir
24032 break 2
24033 fi
24034 done
24035 done
24036 fi
24037 rm -f conftest.err conftest.$ac_objext \
24038 conftest$ac_exeext conftest.$ac_ext
24039 fi # $ac_x_libraries = no
24040
24041 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24042 # Didn't find X anywhere. Cache the known absence of X.
24043 ac_cv_have_x="have_x=no"
24044 else
24045 # Record where we found X for the cache.
24046 ac_cv_have_x="have_x=yes \
24047 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24048 fi
24049 fi
24050
24051 fi
24052 eval "$ac_cv_have_x"
24053 fi # $with_x != no
24054
24055 if test "$have_x" != yes; then
24056 echo "$as_me:$LINENO: result: $have_x" >&5
24057 echo "${ECHO_T}$have_x" >&6
24058 no_x=yes
24059 else
24060 # If each of the values was on the command line, it overrides each guess.
24061 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24062 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24063 # Update the cache value to reflect the command line values.
24064 ac_cv_have_x="have_x=yes \
24065 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24066 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24067 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24068 fi
24069
24070 if test "$no_x" = yes; then
24071 # Not all programs may use this symbol, but it does not hurt to define it.
24072
24073 cat >>confdefs.h <<\_ACEOF
24074 #define X_DISPLAY_MISSING 1
24075 _ACEOF
24076
24077 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24078 else
24079 if test -n "$x_includes"; then
24080 X_CFLAGS="$X_CFLAGS -I$x_includes"
24081 fi
24082
24083 # It would also be nice to do this for all -L options, not just this one.
24084 if test -n "$x_libraries"; then
24085 X_LIBS="$X_LIBS -L$x_libraries"
24086 # For Solaris; some versions of Sun CC require a space after -R and
24087 # others require no space. Words are not sufficient . . . .
24088 case `(uname -sr) 2>/dev/null` in
24089 "SunOS 5"*)
24090 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24091 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24092 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24093 cat >conftest.$ac_ext <<_ACEOF
24094 /* confdefs.h. */
24095 _ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24099
24100 int
24101 main ()
24102 {
24103
24104 ;
24105 return 0;
24106 }
24107 _ACEOF
24108 rm -f conftest.$ac_objext conftest$ac_exeext
24109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24110 (eval $ac_link) 2>conftest.er1
24111 ac_status=$?
24112 grep -v '^ *+' conftest.er1 >conftest.err
24113 rm -f conftest.er1
24114 cat conftest.err >&5
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); } &&
24117 { ac_try='test -z "$ac_c_werror_flag"
24118 || test ! -s conftest.err'
24119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24120 (eval $ac_try) 2>&5
24121 ac_status=$?
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); }; } &&
24124 { ac_try='test -s conftest$ac_exeext'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24127 ac_status=$?
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; }; then
24130 ac_R_nospace=yes
24131 else
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.$ac_ext >&5
24134
24135 ac_R_nospace=no
24136 fi
24137 rm -f conftest.err conftest.$ac_objext \
24138 conftest$ac_exeext conftest.$ac_ext
24139 if test $ac_R_nospace = yes; then
24140 echo "$as_me:$LINENO: result: no" >&5
24141 echo "${ECHO_T}no" >&6
24142 X_LIBS="$X_LIBS -R$x_libraries"
24143 else
24144 LIBS="$ac_xsave_LIBS -R $x_libraries"
24145 cat >conftest.$ac_ext <<_ACEOF
24146 /* confdefs.h. */
24147 _ACEOF
24148 cat confdefs.h >>conftest.$ac_ext
24149 cat >>conftest.$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24151
24152 int
24153 main ()
24154 {
24155
24156 ;
24157 return 0;
24158 }
24159 _ACEOF
24160 rm -f conftest.$ac_objext conftest$ac_exeext
24161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24162 (eval $ac_link) 2>conftest.er1
24163 ac_status=$?
24164 grep -v '^ *+' conftest.er1 >conftest.err
24165 rm -f conftest.er1
24166 cat conftest.err >&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } &&
24169 { ac_try='test -z "$ac_c_werror_flag"
24170 || test ! -s conftest.err'
24171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 (eval $ac_try) 2>&5
24173 ac_status=$?
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); }; } &&
24176 { ac_try='test -s conftest$ac_exeext'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; }; then
24182 ac_R_space=yes
24183 else
24184 echo "$as_me: failed program was:" >&5
24185 sed 's/^/| /' conftest.$ac_ext >&5
24186
24187 ac_R_space=no
24188 fi
24189 rm -f conftest.err conftest.$ac_objext \
24190 conftest$ac_exeext conftest.$ac_ext
24191 if test $ac_R_space = yes; then
24192 echo "$as_me:$LINENO: result: yes" >&5
24193 echo "${ECHO_T}yes" >&6
24194 X_LIBS="$X_LIBS -R $x_libraries"
24195 else
24196 echo "$as_me:$LINENO: result: neither works" >&5
24197 echo "${ECHO_T}neither works" >&6
24198 fi
24199 fi
24200 LIBS=$ac_xsave_LIBS
24201 esac
24202 fi
24203
24204 # Check for system-dependent libraries X programs must link with.
24205 # Do this before checking for the system-independent R6 libraries
24206 # (-lICE), since we may need -lsocket or whatever for X linking.
24207
24208 if test "$ISC" = yes; then
24209 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24210 else
24211 # Martyn Johnson says this is needed for Ultrix, if the X
24212 # libraries were built with DECnet support. And Karl Berry says
24213 # the Alpha needs dnet_stub (dnet does not exist).
24214 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24215 cat >conftest.$ac_ext <<_ACEOF
24216 /* confdefs.h. */
24217 _ACEOF
24218 cat confdefs.h >>conftest.$ac_ext
24219 cat >>conftest.$ac_ext <<_ACEOF
24220 /* end confdefs.h. */
24221
24222 /* Override any gcc2 internal prototype to avoid an error. */
24223 #ifdef __cplusplus
24224 extern "C"
24225 #endif
24226 /* We use char because int might match the return type of a gcc2
24227 builtin and then its argument prototype would still apply. */
24228 char XOpenDisplay ();
24229 int
24230 main ()
24231 {
24232 XOpenDisplay ();
24233 ;
24234 return 0;
24235 }
24236 _ACEOF
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24239 (eval $ac_link) 2>conftest.er1
24240 ac_status=$?
24241 grep -v '^ *+' conftest.er1 >conftest.err
24242 rm -f conftest.er1
24243 cat conftest.err >&5
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); } &&
24246 { ac_try='test -z "$ac_c_werror_flag"
24247 || test ! -s conftest.err'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24250 ac_status=$?
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; } &&
24253 { ac_try='test -s conftest$ac_exeext'
24254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24255 (eval $ac_try) 2>&5
24256 ac_status=$?
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); }; }; then
24259 :
24260 else
24261 echo "$as_me: failed program was:" >&5
24262 sed 's/^/| /' conftest.$ac_ext >&5
24263
24264 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24265 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24266 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24267 echo $ECHO_N "(cached) $ECHO_C" >&6
24268 else
24269 ac_check_lib_save_LIBS=$LIBS
24270 LIBS="-ldnet $LIBS"
24271 cat >conftest.$ac_ext <<_ACEOF
24272 /* confdefs.h. */
24273 _ACEOF
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h. */
24277
24278 /* Override any gcc2 internal prototype to avoid an error. */
24279 #ifdef __cplusplus
24280 extern "C"
24281 #endif
24282 /* We use char because int might match the return type of a gcc2
24283 builtin and then its argument prototype would still apply. */
24284 char dnet_ntoa ();
24285 int
24286 main ()
24287 {
24288 dnet_ntoa ();
24289 ;
24290 return 0;
24291 }
24292 _ACEOF
24293 rm -f conftest.$ac_objext conftest$ac_exeext
24294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24295 (eval $ac_link) 2>conftest.er1
24296 ac_status=$?
24297 grep -v '^ *+' conftest.er1 >conftest.err
24298 rm -f conftest.er1
24299 cat conftest.err >&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } &&
24302 { ac_try='test -z "$ac_c_werror_flag"
24303 || test ! -s conftest.err'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24306 ac_status=$?
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; } &&
24309 { ac_try='test -s conftest$ac_exeext'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24312 ac_status=$?
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 ac_cv_lib_dnet_dnet_ntoa=yes
24316 else
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24319
24320 ac_cv_lib_dnet_dnet_ntoa=no
24321 fi
24322 rm -f conftest.err conftest.$ac_objext \
24323 conftest$ac_exeext conftest.$ac_ext
24324 LIBS=$ac_check_lib_save_LIBS
24325 fi
24326 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24327 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24328 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24329 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24330 fi
24331
24332 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24333 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24334 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24335 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338 ac_check_lib_save_LIBS=$LIBS
24339 LIBS="-ldnet_stub $LIBS"
24340 cat >conftest.$ac_ext <<_ACEOF
24341 /* confdefs.h. */
24342 _ACEOF
24343 cat confdefs.h >>conftest.$ac_ext
24344 cat >>conftest.$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24346
24347 /* Override any gcc2 internal prototype to avoid an error. */
24348 #ifdef __cplusplus
24349 extern "C"
24350 #endif
24351 /* We use char because int might match the return type of a gcc2
24352 builtin and then its argument prototype would still apply. */
24353 char dnet_ntoa ();
24354 int
24355 main ()
24356 {
24357 dnet_ntoa ();
24358 ;
24359 return 0;
24360 }
24361 _ACEOF
24362 rm -f conftest.$ac_objext conftest$ac_exeext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24364 (eval $ac_link) 2>conftest.er1
24365 ac_status=$?
24366 grep -v '^ *+' conftest.er1 >conftest.err
24367 rm -f conftest.er1
24368 cat conftest.err >&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } &&
24371 { ac_try='test -z "$ac_c_werror_flag"
24372 || test ! -s conftest.err'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24375 ac_status=$?
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; } &&
24378 { ac_try='test -s conftest$ac_exeext'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24381 ac_status=$?
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; }; then
24384 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24385 else
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24388
24389 ac_cv_lib_dnet_stub_dnet_ntoa=no
24390 fi
24391 rm -f conftest.err conftest.$ac_objext \
24392 conftest$ac_exeext conftest.$ac_ext
24393 LIBS=$ac_check_lib_save_LIBS
24394 fi
24395 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24396 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24397 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24398 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24399 fi
24400
24401 fi
24402 fi
24403 rm -f conftest.err conftest.$ac_objext \
24404 conftest$ac_exeext conftest.$ac_ext
24405 LIBS="$ac_xsave_LIBS"
24406
24407 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24408 # to get the SysV transport functions.
24409 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24410 # needs -lnsl.
24411 # The nsl library prevents programs from opening the X display
24412 # on Irix 5.2, according to T.E. Dickey.
24413 # The functions gethostbyname, getservbyname, and inet_addr are
24414 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24415 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24416 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24417 if test "${ac_cv_func_gethostbyname+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 else
24420 cat >conftest.$ac_ext <<_ACEOF
24421 /* confdefs.h. */
24422 _ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24428 #define gethostbyname innocuous_gethostbyname
24429
24430 /* System header to define __stub macros and hopefully few prototypes,
24431 which can conflict with char gethostbyname (); below.
24432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24433 <limits.h> exists even on freestanding compilers. */
24434
24435 #ifdef __STDC__
24436 # include <limits.h>
24437 #else
24438 # include <assert.h>
24439 #endif
24440
24441 #undef gethostbyname
24442
24443 /* Override any gcc2 internal prototype to avoid an error. */
24444 #ifdef __cplusplus
24445 extern "C"
24446 {
24447 #endif
24448 /* We use char because int might match the return type of a gcc2
24449 builtin and then its argument prototype would still apply. */
24450 char gethostbyname ();
24451 /* The GNU C library defines this for functions which it implements
24452 to always fail with ENOSYS. Some functions are actually named
24453 something starting with __ and the normal name is an alias. */
24454 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24455 choke me
24456 #else
24457 char (*f) () = gethostbyname;
24458 #endif
24459 #ifdef __cplusplus
24460 }
24461 #endif
24462
24463 int
24464 main ()
24465 {
24466 return f != gethostbyname;
24467 ;
24468 return 0;
24469 }
24470 _ACEOF
24471 rm -f conftest.$ac_objext conftest$ac_exeext
24472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24473 (eval $ac_link) 2>conftest.er1
24474 ac_status=$?
24475 grep -v '^ *+' conftest.er1 >conftest.err
24476 rm -f conftest.er1
24477 cat conftest.err >&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try='test -z "$ac_c_werror_flag"
24481 || test ! -s conftest.err'
24482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24483 (eval $ac_try) 2>&5
24484 ac_status=$?
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); }; } &&
24487 { ac_try='test -s conftest$ac_exeext'
24488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489 (eval $ac_try) 2>&5
24490 ac_status=$?
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); }; }; then
24493 ac_cv_func_gethostbyname=yes
24494 else
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.$ac_ext >&5
24497
24498 ac_cv_func_gethostbyname=no
24499 fi
24500 rm -f conftest.err conftest.$ac_objext \
24501 conftest$ac_exeext conftest.$ac_ext
24502 fi
24503 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24504 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24505
24506 if test $ac_cv_func_gethostbyname = no; then
24507 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24508 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24509 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 else
24512 ac_check_lib_save_LIBS=$LIBS
24513 LIBS="-lnsl $LIBS"
24514 cat >conftest.$ac_ext <<_ACEOF
24515 /* confdefs.h. */
24516 _ACEOF
24517 cat confdefs.h >>conftest.$ac_ext
24518 cat >>conftest.$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24520
24521 /* Override any gcc2 internal prototype to avoid an error. */
24522 #ifdef __cplusplus
24523 extern "C"
24524 #endif
24525 /* We use char because int might match the return type of a gcc2
24526 builtin and then its argument prototype would still apply. */
24527 char gethostbyname ();
24528 int
24529 main ()
24530 {
24531 gethostbyname ();
24532 ;
24533 return 0;
24534 }
24535 _ACEOF
24536 rm -f conftest.$ac_objext conftest$ac_exeext
24537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24538 (eval $ac_link) 2>conftest.er1
24539 ac_status=$?
24540 grep -v '^ *+' conftest.er1 >conftest.err
24541 rm -f conftest.er1
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } &&
24545 { ac_try='test -z "$ac_c_werror_flag"
24546 || test ! -s conftest.err'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24549 ac_status=$?
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; } &&
24552 { ac_try='test -s conftest$ac_exeext'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24555 ac_status=$?
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24558 ac_cv_lib_nsl_gethostbyname=yes
24559 else
24560 echo "$as_me: failed program was:" >&5
24561 sed 's/^/| /' conftest.$ac_ext >&5
24562
24563 ac_cv_lib_nsl_gethostbyname=no
24564 fi
24565 rm -f conftest.err conftest.$ac_objext \
24566 conftest$ac_exeext conftest.$ac_ext
24567 LIBS=$ac_check_lib_save_LIBS
24568 fi
24569 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24570 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24571 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24572 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24573 fi
24574
24575 if test $ac_cv_lib_nsl_gethostbyname = no; then
24576 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24577 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24578 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24579 echo $ECHO_N "(cached) $ECHO_C" >&6
24580 else
24581 ac_check_lib_save_LIBS=$LIBS
24582 LIBS="-lbsd $LIBS"
24583 cat >conftest.$ac_ext <<_ACEOF
24584 /* confdefs.h. */
24585 _ACEOF
24586 cat confdefs.h >>conftest.$ac_ext
24587 cat >>conftest.$ac_ext <<_ACEOF
24588 /* end confdefs.h. */
24589
24590 /* Override any gcc2 internal prototype to avoid an error. */
24591 #ifdef __cplusplus
24592 extern "C"
24593 #endif
24594 /* We use char because int might match the return type of a gcc2
24595 builtin and then its argument prototype would still apply. */
24596 char gethostbyname ();
24597 int
24598 main ()
24599 {
24600 gethostbyname ();
24601 ;
24602 return 0;
24603 }
24604 _ACEOF
24605 rm -f conftest.$ac_objext conftest$ac_exeext
24606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24607 (eval $ac_link) 2>conftest.er1
24608 ac_status=$?
24609 grep -v '^ *+' conftest.er1 >conftest.err
24610 rm -f conftest.er1
24611 cat conftest.err >&5
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); } &&
24614 { ac_try='test -z "$ac_c_werror_flag"
24615 || test ! -s conftest.err'
24616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24617 (eval $ac_try) 2>&5
24618 ac_status=$?
24619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24620 (exit $ac_status); }; } &&
24621 { ac_try='test -s conftest$ac_exeext'
24622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24623 (eval $ac_try) 2>&5
24624 ac_status=$?
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); }; }; then
24627 ac_cv_lib_bsd_gethostbyname=yes
24628 else
24629 echo "$as_me: failed program was:" >&5
24630 sed 's/^/| /' conftest.$ac_ext >&5
24631
24632 ac_cv_lib_bsd_gethostbyname=no
24633 fi
24634 rm -f conftest.err conftest.$ac_objext \
24635 conftest$ac_exeext conftest.$ac_ext
24636 LIBS=$ac_check_lib_save_LIBS
24637 fi
24638 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24639 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24640 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24641 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24642 fi
24643
24644 fi
24645 fi
24646
24647 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24648 # socket/setsockopt and other routines are undefined under SCO ODT
24649 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24650 # on later versions), says Simon Leinen: it contains gethostby*
24651 # variants that don't use the name server (or something). -lsocket
24652 # must be given before -lnsl if both are needed. We assume that
24653 # if connect needs -lnsl, so does gethostbyname.
24654 echo "$as_me:$LINENO: checking for connect" >&5
24655 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24656 if test "${ac_cv_func_connect+set}" = set; then
24657 echo $ECHO_N "(cached) $ECHO_C" >&6
24658 else
24659 cat >conftest.$ac_ext <<_ACEOF
24660 /* confdefs.h. */
24661 _ACEOF
24662 cat confdefs.h >>conftest.$ac_ext
24663 cat >>conftest.$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24665 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24667 #define connect innocuous_connect
24668
24669 /* System header to define __stub macros and hopefully few prototypes,
24670 which can conflict with char connect (); below.
24671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24672 <limits.h> exists even on freestanding compilers. */
24673
24674 #ifdef __STDC__
24675 # include <limits.h>
24676 #else
24677 # include <assert.h>
24678 #endif
24679
24680 #undef connect
24681
24682 /* Override any gcc2 internal prototype to avoid an error. */
24683 #ifdef __cplusplus
24684 extern "C"
24685 {
24686 #endif
24687 /* We use char because int might match the return type of a gcc2
24688 builtin and then its argument prototype would still apply. */
24689 char connect ();
24690 /* The GNU C library defines this for functions which it implements
24691 to always fail with ENOSYS. Some functions are actually named
24692 something starting with __ and the normal name is an alias. */
24693 #if defined (__stub_connect) || defined (__stub___connect)
24694 choke me
24695 #else
24696 char (*f) () = connect;
24697 #endif
24698 #ifdef __cplusplus
24699 }
24700 #endif
24701
24702 int
24703 main ()
24704 {
24705 return f != connect;
24706 ;
24707 return 0;
24708 }
24709 _ACEOF
24710 rm -f conftest.$ac_objext conftest$ac_exeext
24711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24712 (eval $ac_link) 2>conftest.er1
24713 ac_status=$?
24714 grep -v '^ *+' conftest.er1 >conftest.err
24715 rm -f conftest.er1
24716 cat conftest.err >&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); } &&
24719 { ac_try='test -z "$ac_c_werror_flag"
24720 || test ! -s conftest.err'
24721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24722 (eval $ac_try) 2>&5
24723 ac_status=$?
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); }; } &&
24726 { ac_try='test -s conftest$ac_exeext'
24727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728 (eval $ac_try) 2>&5
24729 ac_status=$?
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); }; }; then
24732 ac_cv_func_connect=yes
24733 else
24734 echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24736
24737 ac_cv_func_connect=no
24738 fi
24739 rm -f conftest.err conftest.$ac_objext \
24740 conftest$ac_exeext conftest.$ac_ext
24741 fi
24742 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24743 echo "${ECHO_T}$ac_cv_func_connect" >&6
24744
24745 if test $ac_cv_func_connect = no; then
24746 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24747 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24748 if test "${ac_cv_lib_socket_connect+set}" = set; then
24749 echo $ECHO_N "(cached) $ECHO_C" >&6
24750 else
24751 ac_check_lib_save_LIBS=$LIBS
24752 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24753 cat >conftest.$ac_ext <<_ACEOF
24754 /* confdefs.h. */
24755 _ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759
24760 /* Override any gcc2 internal prototype to avoid an error. */
24761 #ifdef __cplusplus
24762 extern "C"
24763 #endif
24764 /* We use char because int might match the return type of a gcc2
24765 builtin and then its argument prototype would still apply. */
24766 char connect ();
24767 int
24768 main ()
24769 {
24770 connect ();
24771 ;
24772 return 0;
24773 }
24774 _ACEOF
24775 rm -f conftest.$ac_objext conftest$ac_exeext
24776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24777 (eval $ac_link) 2>conftest.er1
24778 ac_status=$?
24779 grep -v '^ *+' conftest.er1 >conftest.err
24780 rm -f conftest.er1
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } &&
24784 { ac_try='test -z "$ac_c_werror_flag"
24785 || test ! -s conftest.err'
24786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24787 (eval $ac_try) 2>&5
24788 ac_status=$?
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); }; } &&
24791 { ac_try='test -s conftest$ac_exeext'
24792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24793 (eval $ac_try) 2>&5
24794 ac_status=$?
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); }; }; then
24797 ac_cv_lib_socket_connect=yes
24798 else
24799 echo "$as_me: failed program was:" >&5
24800 sed 's/^/| /' conftest.$ac_ext >&5
24801
24802 ac_cv_lib_socket_connect=no
24803 fi
24804 rm -f conftest.err conftest.$ac_objext \
24805 conftest$ac_exeext conftest.$ac_ext
24806 LIBS=$ac_check_lib_save_LIBS
24807 fi
24808 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24809 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24810 if test $ac_cv_lib_socket_connect = yes; then
24811 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24812 fi
24813
24814 fi
24815
24816 # Guillermo Gomez says -lposix is necessary on A/UX.
24817 echo "$as_me:$LINENO: checking for remove" >&5
24818 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24819 if test "${ac_cv_func_remove+set}" = set; then
24820 echo $ECHO_N "(cached) $ECHO_C" >&6
24821 else
24822 cat >conftest.$ac_ext <<_ACEOF
24823 /* confdefs.h. */
24824 _ACEOF
24825 cat confdefs.h >>conftest.$ac_ext
24826 cat >>conftest.$ac_ext <<_ACEOF
24827 /* end confdefs.h. */
24828 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24830 #define remove innocuous_remove
24831
24832 /* System header to define __stub macros and hopefully few prototypes,
24833 which can conflict with char remove (); below.
24834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24835 <limits.h> exists even on freestanding compilers. */
24836
24837 #ifdef __STDC__
24838 # include <limits.h>
24839 #else
24840 # include <assert.h>
24841 #endif
24842
24843 #undef remove
24844
24845 /* Override any gcc2 internal prototype to avoid an error. */
24846 #ifdef __cplusplus
24847 extern "C"
24848 {
24849 #endif
24850 /* We use char because int might match the return type of a gcc2
24851 builtin and then its argument prototype would still apply. */
24852 char remove ();
24853 /* The GNU C library defines this for functions which it implements
24854 to always fail with ENOSYS. Some functions are actually named
24855 something starting with __ and the normal name is an alias. */
24856 #if defined (__stub_remove) || defined (__stub___remove)
24857 choke me
24858 #else
24859 char (*f) () = remove;
24860 #endif
24861 #ifdef __cplusplus
24862 }
24863 #endif
24864
24865 int
24866 main ()
24867 {
24868 return f != remove;
24869 ;
24870 return 0;
24871 }
24872 _ACEOF
24873 rm -f conftest.$ac_objext conftest$ac_exeext
24874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24875 (eval $ac_link) 2>conftest.er1
24876 ac_status=$?
24877 grep -v '^ *+' conftest.er1 >conftest.err
24878 rm -f conftest.er1
24879 cat conftest.err >&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); } &&
24882 { ac_try='test -z "$ac_c_werror_flag"
24883 || test ! -s conftest.err'
24884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24885 (eval $ac_try) 2>&5
24886 ac_status=$?
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); }; } &&
24889 { ac_try='test -s conftest$ac_exeext'
24890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24891 (eval $ac_try) 2>&5
24892 ac_status=$?
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); }; }; then
24895 ac_cv_func_remove=yes
24896 else
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.$ac_ext >&5
24899
24900 ac_cv_func_remove=no
24901 fi
24902 rm -f conftest.err conftest.$ac_objext \
24903 conftest$ac_exeext conftest.$ac_ext
24904 fi
24905 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24906 echo "${ECHO_T}$ac_cv_func_remove" >&6
24907
24908 if test $ac_cv_func_remove = no; then
24909 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24910 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24911 if test "${ac_cv_lib_posix_remove+set}" = set; then
24912 echo $ECHO_N "(cached) $ECHO_C" >&6
24913 else
24914 ac_check_lib_save_LIBS=$LIBS
24915 LIBS="-lposix $LIBS"
24916 cat >conftest.$ac_ext <<_ACEOF
24917 /* confdefs.h. */
24918 _ACEOF
24919 cat confdefs.h >>conftest.$ac_ext
24920 cat >>conftest.$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24922
24923 /* Override any gcc2 internal prototype to avoid an error. */
24924 #ifdef __cplusplus
24925 extern "C"
24926 #endif
24927 /* We use char because int might match the return type of a gcc2
24928 builtin and then its argument prototype would still apply. */
24929 char remove ();
24930 int
24931 main ()
24932 {
24933 remove ();
24934 ;
24935 return 0;
24936 }
24937 _ACEOF
24938 rm -f conftest.$ac_objext conftest$ac_exeext
24939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24940 (eval $ac_link) 2>conftest.er1
24941 ac_status=$?
24942 grep -v '^ *+' conftest.er1 >conftest.err
24943 rm -f conftest.er1
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } &&
24947 { ac_try='test -z "$ac_c_werror_flag"
24948 || test ! -s conftest.err'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24951 ac_status=$?
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; } &&
24954 { ac_try='test -s conftest$ac_exeext'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24957 ac_status=$?
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; }; then
24960 ac_cv_lib_posix_remove=yes
24961 else
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.$ac_ext >&5
24964
24965 ac_cv_lib_posix_remove=no
24966 fi
24967 rm -f conftest.err conftest.$ac_objext \
24968 conftest$ac_exeext conftest.$ac_ext
24969 LIBS=$ac_check_lib_save_LIBS
24970 fi
24971 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24972 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24973 if test $ac_cv_lib_posix_remove = yes; then
24974 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24975 fi
24976
24977 fi
24978
24979 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24980 echo "$as_me:$LINENO: checking for shmat" >&5
24981 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24982 if test "${ac_cv_func_shmat+set}" = set; then
24983 echo $ECHO_N "(cached) $ECHO_C" >&6
24984 else
24985 cat >conftest.$ac_ext <<_ACEOF
24986 /* confdefs.h. */
24987 _ACEOF
24988 cat confdefs.h >>conftest.$ac_ext
24989 cat >>conftest.$ac_ext <<_ACEOF
24990 /* end confdefs.h. */
24991 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24993 #define shmat innocuous_shmat
24994
24995 /* System header to define __stub macros and hopefully few prototypes,
24996 which can conflict with char shmat (); below.
24997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24998 <limits.h> exists even on freestanding compilers. */
24999
25000 #ifdef __STDC__
25001 # include <limits.h>
25002 #else
25003 # include <assert.h>
25004 #endif
25005
25006 #undef shmat
25007
25008 /* Override any gcc2 internal prototype to avoid an error. */
25009 #ifdef __cplusplus
25010 extern "C"
25011 {
25012 #endif
25013 /* We use char because int might match the return type of a gcc2
25014 builtin and then its argument prototype would still apply. */
25015 char shmat ();
25016 /* The GNU C library defines this for functions which it implements
25017 to always fail with ENOSYS. Some functions are actually named
25018 something starting with __ and the normal name is an alias. */
25019 #if defined (__stub_shmat) || defined (__stub___shmat)
25020 choke me
25021 #else
25022 char (*f) () = shmat;
25023 #endif
25024 #ifdef __cplusplus
25025 }
25026 #endif
25027
25028 int
25029 main ()
25030 {
25031 return f != shmat;
25032 ;
25033 return 0;
25034 }
25035 _ACEOF
25036 rm -f conftest.$ac_objext conftest$ac_exeext
25037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25038 (eval $ac_link) 2>conftest.er1
25039 ac_status=$?
25040 grep -v '^ *+' conftest.er1 >conftest.err
25041 rm -f conftest.er1
25042 cat conftest.err >&5
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); } &&
25045 { ac_try='test -z "$ac_c_werror_flag"
25046 || test ! -s conftest.err'
25047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25048 (eval $ac_try) 2>&5
25049 ac_status=$?
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; } &&
25052 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
25058 ac_cv_func_shmat=yes
25059 else
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.$ac_ext >&5
25062
25063 ac_cv_func_shmat=no
25064 fi
25065 rm -f conftest.err conftest.$ac_objext \
25066 conftest$ac_exeext conftest.$ac_ext
25067 fi
25068 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25069 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25070
25071 if test $ac_cv_func_shmat = no; then
25072 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25073 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25074 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 else
25077 ac_check_lib_save_LIBS=$LIBS
25078 LIBS="-lipc $LIBS"
25079 cat >conftest.$ac_ext <<_ACEOF
25080 /* confdefs.h. */
25081 _ACEOF
25082 cat confdefs.h >>conftest.$ac_ext
25083 cat >>conftest.$ac_ext <<_ACEOF
25084 /* end confdefs.h. */
25085
25086 /* Override any gcc2 internal prototype to avoid an error. */
25087 #ifdef __cplusplus
25088 extern "C"
25089 #endif
25090 /* We use char because int might match the return type of a gcc2
25091 builtin and then its argument prototype would still apply. */
25092 char shmat ();
25093 int
25094 main ()
25095 {
25096 shmat ();
25097 ;
25098 return 0;
25099 }
25100 _ACEOF
25101 rm -f conftest.$ac_objext conftest$ac_exeext
25102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25103 (eval $ac_link) 2>conftest.er1
25104 ac_status=$?
25105 grep -v '^ *+' conftest.er1 >conftest.err
25106 rm -f conftest.er1
25107 cat conftest.err >&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } &&
25110 { ac_try='test -z "$ac_c_werror_flag"
25111 || test ! -s conftest.err'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25114 ac_status=$?
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; } &&
25117 { ac_try='test -s conftest$ac_exeext'
25118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25119 (eval $ac_try) 2>&5
25120 ac_status=$?
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); }; }; then
25123 ac_cv_lib_ipc_shmat=yes
25124 else
25125 echo "$as_me: failed program was:" >&5
25126 sed 's/^/| /' conftest.$ac_ext >&5
25127
25128 ac_cv_lib_ipc_shmat=no
25129 fi
25130 rm -f conftest.err conftest.$ac_objext \
25131 conftest$ac_exeext conftest.$ac_ext
25132 LIBS=$ac_check_lib_save_LIBS
25133 fi
25134 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25135 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25136 if test $ac_cv_lib_ipc_shmat = yes; then
25137 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25138 fi
25139
25140 fi
25141 fi
25142
25143 # Check for libraries that X11R6 Xt/Xaw programs need.
25144 ac_save_LDFLAGS=$LDFLAGS
25145 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25146 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25147 # check for ICE first), but we must link in the order -lSM -lICE or
25148 # we get undefined symbols. So assume we have SM if we have ICE.
25149 # These have to be linked with before -lX11, unlike the other
25150 # libraries we check for below, so use a different variable.
25151 # John Interrante, Karl Berry
25152 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25153 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25154 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25155 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 else
25157 ac_check_lib_save_LIBS=$LIBS
25158 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25159 cat >conftest.$ac_ext <<_ACEOF
25160 /* confdefs.h. */
25161 _ACEOF
25162 cat confdefs.h >>conftest.$ac_ext
25163 cat >>conftest.$ac_ext <<_ACEOF
25164 /* end confdefs.h. */
25165
25166 /* Override any gcc2 internal prototype to avoid an error. */
25167 #ifdef __cplusplus
25168 extern "C"
25169 #endif
25170 /* We use char because int might match the return type of a gcc2
25171 builtin and then its argument prototype would still apply. */
25172 char IceConnectionNumber ();
25173 int
25174 main ()
25175 {
25176 IceConnectionNumber ();
25177 ;
25178 return 0;
25179 }
25180 _ACEOF
25181 rm -f conftest.$ac_objext conftest$ac_exeext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25183 (eval $ac_link) 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try='test -z "$ac_c_werror_flag"
25191 || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try='test -s conftest$ac_exeext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25200 ac_status=$?
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_lib_ICE_IceConnectionNumber=yes
25204 else
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208 ac_cv_lib_ICE_IceConnectionNumber=no
25209 fi
25210 rm -f conftest.err conftest.$ac_objext \
25211 conftest$ac_exeext conftest.$ac_ext
25212 LIBS=$ac_check_lib_save_LIBS
25213 fi
25214 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25215 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25216 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25217 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25218 fi
25219
25220 LDFLAGS=$ac_save_LDFLAGS
25221
25222 fi
25223
25224
25225 if test "$no_x" = "yes"; then
25226 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25227 echo "$as_me: error: X11 not found" >&2;}
25228 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25229 fi
25230
25231 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25232 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25233 AFMINSTALL=afminstall
25234 COMPILED_X_PROGRAM=0
25235
25236 fi
25237
25238 if test "$wxUSE_X11" = 1; then
25239 if test "$wxUSE_NANOX" = "yes"; then
25240 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25241 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25242 if test "x$MICROWIN" = x ; then
25243 echo "$as_me:$LINENO: result: not found" >&5
25244 echo "${ECHO_T}not found" >&6
25245 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25246 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25247 { (exit 1); exit 1; }; }
25248 else
25249 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25250 echo "${ECHO_T}$MICROWIN" >&6
25251 cat >>confdefs.h <<\_ACEOF
25252 #define wxUSE_NANOX 1
25253 _ACEOF
25254
25255 fi
25256 fi
25257
25258 if test "$wxUSE_UNICODE" = "yes"; then
25259
25260 succeeded=no
25261
25262 if test -z "$PKG_CONFIG"; then
25263 # Extract the first word of "pkg-config", so it can be a program name with args.
25264 set dummy pkg-config; ac_word=$2
25265 echo "$as_me:$LINENO: checking for $ac_word" >&5
25266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25267 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 else
25270 case $PKG_CONFIG in
25271 [\\/]* | ?:[\\/]*)
25272 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25273 ;;
25274 *)
25275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25276 for as_dir in $PATH
25277 do
25278 IFS=$as_save_IFS
25279 test -z "$as_dir" && as_dir=.
25280 for ac_exec_ext in '' $ac_executable_extensions; do
25281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25282 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25284 break 2
25285 fi
25286 done
25287 done
25288
25289 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25290 ;;
25291 esac
25292 fi
25293 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25294
25295 if test -n "$PKG_CONFIG"; then
25296 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25297 echo "${ECHO_T}$PKG_CONFIG" >&6
25298 else
25299 echo "$as_me:$LINENO: result: no" >&5
25300 echo "${ECHO_T}no" >&6
25301 fi
25302
25303 fi
25304
25305 if test "$PKG_CONFIG" = "no" ; then
25306 echo "*** The pkg-config script could not be found. Make sure it is"
25307 echo "*** in your path, or set the PKG_CONFIG environment variable"
25308 echo "*** to the full path to pkg-config."
25309 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25310 else
25311 PKG_CONFIG_MIN_VERSION=0.9.0
25312 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25313 echo "$as_me:$LINENO: checking for pangox" >&5
25314 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25315
25316 if $PKG_CONFIG --exists "pangox" ; then
25317 echo "$as_me:$LINENO: result: yes" >&5
25318 echo "${ECHO_T}yes" >&6
25319 succeeded=yes
25320
25321 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25322 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25323 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25324 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25325 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25326
25327 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25328 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25329 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25330 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25331 echo "${ECHO_T}$PANGOX_LIBS" >&6
25332 else
25333 PANGOX_CFLAGS=""
25334 PANGOX_LIBS=""
25335 ## If we have a custom action on failure, don't print errors, but
25336 ## do set a variable so people can do so.
25337 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25338
25339 fi
25340
25341
25342
25343 else
25344 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25345 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25346 fi
25347 fi
25348
25349 if test $succeeded = yes; then
25350
25351 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25352 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25353
25354 else
25355
25356 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25357 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25358 { (exit 1); exit 1; }; }
25359
25360
25361 fi
25362
25363
25364 succeeded=no
25365
25366 if test -z "$PKG_CONFIG"; then
25367 # Extract the first word of "pkg-config", so it can be a program name with args.
25368 set dummy pkg-config; ac_word=$2
25369 echo "$as_me:$LINENO: checking for $ac_word" >&5
25370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25371 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25373 else
25374 case $PKG_CONFIG in
25375 [\\/]* | ?:[\\/]*)
25376 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25377 ;;
25378 *)
25379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25380 for as_dir in $PATH
25381 do
25382 IFS=$as_save_IFS
25383 test -z "$as_dir" && as_dir=.
25384 for ac_exec_ext in '' $ac_executable_extensions; do
25385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25386 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25388 break 2
25389 fi
25390 done
25391 done
25392
25393 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25394 ;;
25395 esac
25396 fi
25397 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25398
25399 if test -n "$PKG_CONFIG"; then
25400 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25401 echo "${ECHO_T}$PKG_CONFIG" >&6
25402 else
25403 echo "$as_me:$LINENO: result: no" >&5
25404 echo "${ECHO_T}no" >&6
25405 fi
25406
25407 fi
25408
25409 if test "$PKG_CONFIG" = "no" ; then
25410 echo "*** The pkg-config script could not be found. Make sure it is"
25411 echo "*** in your path, or set the PKG_CONFIG environment variable"
25412 echo "*** to the full path to pkg-config."
25413 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25414 else
25415 PKG_CONFIG_MIN_VERSION=0.9.0
25416 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25417 echo "$as_me:$LINENO: checking for pangoft2" >&5
25418 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25419
25420 if $PKG_CONFIG --exists "pangoft2" ; then
25421 echo "$as_me:$LINENO: result: yes" >&5
25422 echo "${ECHO_T}yes" >&6
25423 succeeded=yes
25424
25425 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25426 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25427 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25428 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25429 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25430
25431 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25432 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25433 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25434 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25435 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25436 else
25437 PANGOFT2_CFLAGS=""
25438 PANGOFT2_LIBS=""
25439 ## If we have a custom action on failure, don't print errors, but
25440 ## do set a variable so people can do so.
25441 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25442
25443 fi
25444
25445
25446
25447 else
25448 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25449 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25450 fi
25451 fi
25452
25453 if test $succeeded = yes; then
25454
25455 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25457
25458 else
25459
25460 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25461 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25462 wxUSE_PRINTING_ARCHITECTURE="no"
25463
25464
25465 fi
25466
25467
25468 succeeded=no
25469
25470 if test -z "$PKG_CONFIG"; then
25471 # Extract the first word of "pkg-config", so it can be a program name with args.
25472 set dummy pkg-config; ac_word=$2
25473 echo "$as_me:$LINENO: checking for $ac_word" >&5
25474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25475 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 else
25478 case $PKG_CONFIG in
25479 [\\/]* | ?:[\\/]*)
25480 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25481 ;;
25482 *)
25483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25484 for as_dir in $PATH
25485 do
25486 IFS=$as_save_IFS
25487 test -z "$as_dir" && as_dir=.
25488 for ac_exec_ext in '' $ac_executable_extensions; do
25489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25490 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25492 break 2
25493 fi
25494 done
25495 done
25496
25497 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25498 ;;
25499 esac
25500 fi
25501 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25502
25503 if test -n "$PKG_CONFIG"; then
25504 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25505 echo "${ECHO_T}$PKG_CONFIG" >&6
25506 else
25507 echo "$as_me:$LINENO: result: no" >&5
25508 echo "${ECHO_T}no" >&6
25509 fi
25510
25511 fi
25512
25513 if test "$PKG_CONFIG" = "no" ; then
25514 echo "*** The pkg-config script could not be found. Make sure it is"
25515 echo "*** in your path, or set the PKG_CONFIG environment variable"
25516 echo "*** to the full path to pkg-config."
25517 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25518 else
25519 PKG_CONFIG_MIN_VERSION=0.9.0
25520 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25521 echo "$as_me:$LINENO: checking for pangoxft" >&5
25522 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25523
25524 if $PKG_CONFIG --exists "pangoxft" ; then
25525 echo "$as_me:$LINENO: result: yes" >&5
25526 echo "${ECHO_T}yes" >&6
25527 succeeded=yes
25528
25529 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25530 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25531 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25532 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25533 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25534
25535 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25536 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25537 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25538 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25539 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25540 else
25541 PANGOXFT_CFLAGS=""
25542 PANGOXFT_LIBS=""
25543 ## If we have a custom action on failure, don't print errors, but
25544 ## do set a variable so people can do so.
25545 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25546
25547 fi
25548
25549
25550
25551 else
25552 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25553 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25554 fi
25555 fi
25556
25557 if test $succeeded = yes; then
25558
25559 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25560 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25561
25562 else
25563
25564 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25565 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25566
25567
25568 fi
25569
25570 save_CFLAGS="$CFLAGS"
25571 save_LIBS="$LIBS"
25572 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25573 LIBS="$LIBS $PANGOX_LIBS"
25574
25575 for ac_func in pango_font_family_is_monospace
25576 do
25577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25578 echo "$as_me:$LINENO: checking for $ac_func" >&5
25579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25580 if eval "test \"\${$as_ac_var+set}\" = set"; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 else
25583 cat >conftest.$ac_ext <<_ACEOF
25584 /* confdefs.h. */
25585 _ACEOF
25586 cat confdefs.h >>conftest.$ac_ext
25587 cat >>conftest.$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25591 #define $ac_func innocuous_$ac_func
25592
25593 /* System header to define __stub macros and hopefully few prototypes,
25594 which can conflict with char $ac_func (); below.
25595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25596 <limits.h> exists even on freestanding compilers. */
25597
25598 #ifdef __STDC__
25599 # include <limits.h>
25600 #else
25601 # include <assert.h>
25602 #endif
25603
25604 #undef $ac_func
25605
25606 /* Override any gcc2 internal prototype to avoid an error. */
25607 #ifdef __cplusplus
25608 extern "C"
25609 {
25610 #endif
25611 /* We use char because int might match the return type of a gcc2
25612 builtin and then its argument prototype would still apply. */
25613 char $ac_func ();
25614 /* The GNU C library defines this for functions which it implements
25615 to always fail with ENOSYS. Some functions are actually named
25616 something starting with __ and the normal name is an alias. */
25617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25618 choke me
25619 #else
25620 char (*f) () = $ac_func;
25621 #endif
25622 #ifdef __cplusplus
25623 }
25624 #endif
25625
25626 int
25627 main ()
25628 {
25629 return f != $ac_func;
25630 ;
25631 return 0;
25632 }
25633 _ACEOF
25634 rm -f conftest.$ac_objext conftest$ac_exeext
25635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25636 (eval $ac_link) 2>conftest.er1
25637 ac_status=$?
25638 grep -v '^ *+' conftest.er1 >conftest.err
25639 rm -f conftest.er1
25640 cat conftest.err >&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } &&
25643 { ac_try='test -z "$ac_c_werror_flag"
25644 || test ! -s conftest.err'
25645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25646 (eval $ac_try) 2>&5
25647 ac_status=$?
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); }; } &&
25650 { ac_try='test -s conftest$ac_exeext'
25651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25652 (eval $ac_try) 2>&5
25653 ac_status=$?
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); }; }; then
25656 eval "$as_ac_var=yes"
25657 else
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.$ac_ext >&5
25660
25661 eval "$as_ac_var=no"
25662 fi
25663 rm -f conftest.err conftest.$ac_objext \
25664 conftest$ac_exeext conftest.$ac_ext
25665 fi
25666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25668 if test `eval echo '${'$as_ac_var'}'` = yes; then
25669 cat >>confdefs.h <<_ACEOF
25670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25671 _ACEOF
25672
25673 fi
25674 done
25675
25676 CFLAGS="$save_CFLAGS"
25677 LIBS="$save_LIBS"
25678 fi
25679
25680 wxUSE_UNIVERSAL="yes"
25681
25682 if test "$wxUSE_NANOX" = "yes"; then
25683 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25684 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"
25685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25686 else
25687 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25688 fi
25689
25690 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
25691 TOOLKIT=X11
25692 GUIDIST=X11_DIST
25693 fi
25694
25695 if test "$wxUSE_MOTIF" = 1; then
25696 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25697 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25698
25699 ac_find_includes=
25700 for ac_dir in $SEARCH_INCLUDE /usr/include;
25701 do
25702 if test -f "$ac_dir/Xm/Xm.h"; then
25703 ac_find_includes=$ac_dir
25704 break
25705 fi
25706 done
25707
25708 if test "$ac_find_includes" != "" ; then
25709 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25710 echo "${ECHO_T}found in $ac_find_includes" >&6
25711
25712 if test "x$ac_find_includes" = "x/usr/include"; then
25713 ac_path_to_include=""
25714 else
25715 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25716 result=$?
25717 if test $result = 0; then
25718 ac_path_to_include=""
25719 else
25720 ac_path_to_include=" -I$ac_find_includes"
25721 fi
25722 fi
25723
25724 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25725 else
25726 cat >conftest.$ac_ext <<_ACEOF
25727 /* confdefs.h. */
25728 _ACEOF
25729 cat confdefs.h >>conftest.$ac_ext
25730 cat >>conftest.$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25732
25733 #include <Xm/Xm.h>
25734
25735 int
25736 main ()
25737 {
25738
25739 int version;
25740 version = xmUseVersion;
25741
25742 ;
25743 return 0;
25744 }
25745 _ACEOF
25746 rm -f conftest.$ac_objext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25748 (eval $ac_compile) 2>conftest.er1
25749 ac_status=$?
25750 grep -v '^ *+' conftest.er1 >conftest.err
25751 rm -f conftest.er1
25752 cat conftest.err >&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } &&
25755 { ac_try='test -z "$ac_c_werror_flag"
25756 || test ! -s conftest.err'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25759 ac_status=$?
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; } &&
25762 { ac_try='test -s conftest.$ac_objext'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; }; then
25768
25769 echo "$as_me:$LINENO: result: found in default search path" >&5
25770 echo "${ECHO_T}found in default search path" >&6
25771 COMPILED_X_PROGRAM=1
25772
25773 else
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25776
25777
25778 echo "$as_me:$LINENO: result: no" >&5
25779 echo "${ECHO_T}no" >&6
25780 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25781 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25782 { (exit 1); exit 1; }; }
25783
25784
25785 fi
25786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25787 fi
25788
25789 if test "$COMPILED_X_PROGRAM" = 0; then
25790 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25791 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25792
25793 ac_find_libraries=
25794 for ac_dir in $SEARCH_LIB /usr/lib;
25795 do
25796 for ac_extension in a so sl dylib; do
25797 if test -f "$ac_dir/libXm.$ac_extension"; then
25798 ac_find_libraries=$ac_dir
25799 break 2
25800 fi
25801 done
25802 done
25803
25804 if test "$ac_find_libraries" != "" ; then
25805 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25806 echo "${ECHO_T}found at $ac_find_libraries" >&6
25807
25808
25809 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25810 result=$?
25811 if test $result = 0; then
25812 ac_path_to_link=""
25813 else
25814 ac_path_to_link=" -L$ac_find_libraries"
25815 fi
25816
25817 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25818 else
25819 save_CFLAGS=$CFLAGS
25820 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25821
25822 cat >conftest.$ac_ext <<_ACEOF
25823 /* confdefs.h. */
25824 _ACEOF
25825 cat confdefs.h >>conftest.$ac_ext
25826 cat >>conftest.$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25828
25829 #include <Xm/Xm.h>
25830
25831 int
25832 main ()
25833 {
25834
25835 int version;
25836 version = xmUseVersion;
25837
25838 ;
25839 return 0;
25840 }
25841 _ACEOF
25842 rm -f conftest.$ac_objext
25843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25844 (eval $ac_compile) 2>conftest.er1
25845 ac_status=$?
25846 grep -v '^ *+' conftest.er1 >conftest.err
25847 rm -f conftest.er1
25848 cat conftest.err >&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } &&
25851 { ac_try='test -z "$ac_c_werror_flag"
25852 || test ! -s conftest.err'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25855 ac_status=$?
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; } &&
25858 { ac_try='test -s conftest.$ac_objext'
25859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860 (eval $ac_try) 2>&5
25861 ac_status=$?
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); }; }; then
25864
25865 echo "$as_me:$LINENO: result: found in default search path" >&5
25866 echo "${ECHO_T}found in default search path" >&6
25867 COMPILED_X_PROGRAM=1
25868
25869 else
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873
25874 echo "$as_me:$LINENO: result: no" >&5
25875 echo "${ECHO_T}no" >&6
25876 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25877 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25878 { (exit 1); exit 1; }; }
25879
25880
25881 fi
25882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25883
25884 CFLAGS=$save_CFLAGS
25885 fi
25886 fi
25887
25888 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25889 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25890 libp_link=""
25891 libsm_ice_link=""
25892 libs_found=0
25893 for libp in "" " -lXp"; do
25894 if test "$libs_found" = "0"; then
25895 for libsm_ice in "" " -lSM -lICE"; do
25896 if test "$libs_found" = "0"; then
25897 save_LIBS="$LIBS"
25898 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25899 save_CFLAGS=$CFLAGS
25900 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25901
25902 cat >conftest.$ac_ext <<_ACEOF
25903 /* confdefs.h. */
25904 _ACEOF
25905 cat confdefs.h >>conftest.$ac_ext
25906 cat >>conftest.$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908
25909 #include <Xm/Xm.h>
25910 #include <Xm/List.h>
25911
25912 int
25913 main ()
25914 {
25915
25916 XmString string = NULL;
25917 Widget w = NULL;
25918 int position = 0;
25919 XmListAddItem(w, string, position);
25920
25921 ;
25922 return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext conftest$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try='test -z "$ac_c_werror_flag"
25935 || test ! -s conftest.err'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; } &&
25941 { ac_try='test -s conftest$ac_exeext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25947
25948 libp_link="$libp"
25949 libsm_ice_link="$libsm_ice"
25950 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25951 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25952 libs_found=1
25953
25954 else
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958
25959
25960 fi
25961 rm -f conftest.err conftest.$ac_objext \
25962 conftest$ac_exeext conftest.$ac_ext
25963
25964 LIBS="$save_LIBS"
25965 CFLAGS=$save_CFLAGS
25966 fi
25967 done
25968 fi
25969 done
25970
25971 if test "$libs_found" = "0"; then
25972 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25973 echo "${ECHO_T}can't find the right libraries" >&6
25974 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25975 echo "$as_me: error: can't link a simple motif program" >&2;}
25976 { (exit 1); exit 1; }; }
25977 fi
25978
25979 save_CFLAGS=$CFLAGS
25980 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25981 echo "$as_me:$LINENO: checking for Motif 2" >&5
25982 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25983 cat >conftest.$ac_ext <<_ACEOF
25984 /* confdefs.h. */
25985 _ACEOF
25986 cat confdefs.h >>conftest.$ac_ext
25987 cat >>conftest.$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25989
25990 #include <Xm/Xm.h>
25991
25992 int
25993 main ()
25994 {
25995
25996 #if XmVersion < 2000
25997 #error "Not Motif 2"
25998 #endif
25999
26000 ;
26001 return 0;
26002 }
26003 _ACEOF
26004 rm -f conftest.$ac_objext
26005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26006 (eval $ac_compile) 2>conftest.er1
26007 ac_status=$?
26008 grep -v '^ *+' conftest.er1 >conftest.err
26009 rm -f conftest.er1
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } &&
26013 { ac_try='test -z "$ac_c_werror_flag"
26014 || test ! -s conftest.err'
26015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016 (eval $ac_try) 2>&5
26017 ac_status=$?
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); }; } &&
26020 { ac_try='test -s conftest.$ac_objext'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26023 ac_status=$?
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; }; then
26026
26027 cat >>confdefs.h <<\_ACEOF
26028 #define __WXMOTIF20__ 1
26029 _ACEOF
26030
26031 echo "$as_me:$LINENO: result: found" >&5
26032 echo "${ECHO_T}found" >&6
26033
26034 else
26035 echo "$as_me: failed program was:" >&5
26036 sed 's/^/| /' conftest.$ac_ext >&5
26037
26038
26039 cat >>confdefs.h <<\_ACEOF
26040 #define __WXMOTIF20__ 0
26041 _ACEOF
26042
26043 echo "$as_me:$LINENO: result: not found" >&5
26044 echo "${ECHO_T}not found" >&6
26045
26046 fi
26047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26048 CFLAGS=$save_CFLAGS
26049
26050 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26051 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26052 TOOLKIT=MOTIF
26053 GUIDIST=MOTIF_DIST
26054 fi
26055
26056 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26057 if test "$wxUSE_LIBXPM" = "sys"; then
26058 echo "$as_me:$LINENO: checking for Xpm library" >&5
26059 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26060
26061 ac_find_libraries=
26062 for ac_dir in $SEARCH_LIB /usr/lib;
26063 do
26064 for ac_extension in a so sl dylib; do
26065 if test -f "$ac_dir/libXpm.$ac_extension"; then
26066 ac_find_libraries=$ac_dir
26067 break 2
26068 fi
26069 done
26070 done
26071
26072 if test "$ac_find_libraries" != "" ; then
26073
26074 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26075 result=$?
26076 if test $result = 0; then
26077 ac_path_to_link=""
26078 else
26079 ac_path_to_link=" -L$ac_find_libraries"
26080 fi
26081
26082 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26083 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26084 echo "${ECHO_T}found at $ac_find_libraries" >&6
26085
26086 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26087 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26088 if test "${wx_cv_x11_xpm_h+set}" = set; then
26089 echo $ECHO_N "(cached) $ECHO_C" >&6
26090 else
26091
26092 save_CFLAGS=$CFLAGS
26093 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26094
26095 cat >conftest.$ac_ext <<_ACEOF
26096 /* confdefs.h. */
26097 _ACEOF
26098 cat confdefs.h >>conftest.$ac_ext
26099 cat >>conftest.$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26101
26102 #include <X11/xpm.h>
26103
26104 int
26105 main ()
26106 {
26107
26108 int version;
26109 version = XpmLibraryVersion();
26110
26111 ;
26112 return 0;
26113 }
26114 _ACEOF
26115 rm -f conftest.$ac_objext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26117 (eval $ac_compile) 2>conftest.er1
26118 ac_status=$?
26119 grep -v '^ *+' conftest.er1 >conftest.err
26120 rm -f conftest.er1
26121 cat conftest.err >&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try='test -z "$ac_c_werror_flag"
26125 || test ! -s conftest.err'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26128 ac_status=$?
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; } &&
26131 { ac_try='test -s conftest.$ac_objext'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26134 ac_status=$?
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; }; then
26137 wx_cv_x11_xpm_h=yes
26138 else
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.$ac_ext >&5
26141
26142 wx_cv_x11_xpm_h=no
26143
26144 fi
26145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26146
26147 CFLAGS=$save_CFLAGS
26148
26149
26150 fi
26151 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26152 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26153
26154 if test $wx_cv_x11_xpm_h = "yes"; then
26155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26156 cat >>confdefs.h <<\_ACEOF
26157 #define wxHAVE_LIB_XPM 1
26158 _ACEOF
26159
26160 else
26161 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26162 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26163 fi
26164 fi
26165
26166 fi
26167
26168 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26169 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26170 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26172 else
26173 ac_check_lib_save_LIBS=$LIBS
26174 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26175 cat >conftest.$ac_ext <<_ACEOF
26176 /* confdefs.h. */
26177 _ACEOF
26178 cat confdefs.h >>conftest.$ac_ext
26179 cat >>conftest.$ac_ext <<_ACEOF
26180 /* end confdefs.h. */
26181
26182 /* Override any gcc2 internal prototype to avoid an error. */
26183 #ifdef __cplusplus
26184 extern "C"
26185 #endif
26186 /* We use char because int might match the return type of a gcc2
26187 builtin and then its argument prototype would still apply. */
26188 char XShapeQueryExtension ();
26189 int
26190 main ()
26191 {
26192 XShapeQueryExtension ();
26193 ;
26194 return 0;
26195 }
26196 _ACEOF
26197 rm -f conftest.$ac_objext conftest$ac_exeext
26198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26199 (eval $ac_link) 2>conftest.er1
26200 ac_status=$?
26201 grep -v '^ *+' conftest.er1 >conftest.err
26202 rm -f conftest.er1
26203 cat conftest.err >&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); } &&
26206 { ac_try='test -z "$ac_c_werror_flag"
26207 || test ! -s conftest.err'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26210 ac_status=$?
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; } &&
26213 { ac_try='test -s conftest$ac_exeext'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_lib_Xext_XShapeQueryExtension=yes
26220 else
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26223
26224 ac_cv_lib_Xext_XShapeQueryExtension=no
26225 fi
26226 rm -f conftest.err conftest.$ac_objext \
26227 conftest$ac_exeext conftest.$ac_ext
26228 LIBS=$ac_check_lib_save_LIBS
26229 fi
26230 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26231 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26232 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26233
26234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26235 wxHAVE_XEXT_LIB=1
26236
26237 fi
26238
26239
26240 if test "$wxHAVE_XEXT_LIB" = 1; then
26241 save_CFLAGS="$CFLAGS"
26242 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26243
26244 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26245 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26246 cat >conftest.$ac_ext <<_ACEOF
26247 /* confdefs.h. */
26248 _ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252
26253 #include <X11/Xlib.h>
26254 #include <X11/extensions/shape.h>
26255
26256 int
26257 main ()
26258 {
26259
26260 int dummy1, dummy2;
26261 XShapeQueryExtension((Display*)NULL,
26262 (int*)NULL, (int*)NULL);
26263
26264 ;
26265 return 0;
26266 }
26267 _ACEOF
26268 rm -f conftest.$ac_objext
26269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26270 (eval $ac_compile) 2>conftest.er1
26271 ac_status=$?
26272 grep -v '^ *+' conftest.er1 >conftest.err
26273 rm -f conftest.er1
26274 cat conftest.err >&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } &&
26277 { ac_try='test -z "$ac_c_werror_flag"
26278 || test ! -s conftest.err'
26279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26280 (eval $ac_try) 2>&5
26281 ac_status=$?
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); }; } &&
26284 { ac_try='test -s conftest.$ac_objext'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26287 ac_status=$?
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; }; then
26290
26291 cat >>confdefs.h <<\_ACEOF
26292 #define HAVE_XSHAPE 1
26293 _ACEOF
26294
26295 echo "$as_me:$LINENO: result: found" >&5
26296 echo "${ECHO_T}found" >&6
26297
26298 else
26299 echo "$as_me: failed program was:" >&5
26300 sed 's/^/| /' conftest.$ac_ext >&5
26301
26302
26303 echo "$as_me:$LINENO: result: not found" >&5
26304 echo "${ECHO_T}not found" >&6
26305
26306 fi
26307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26308 CFLAGS="$save_CFLAGS"
26309
26310 fi
26311 fi
26312
26313 if test "$wxUSE_MAC" = 1; then
26314 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26315 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26316 if test "$GCC" = yes; then
26317 echo "$as_me:$LINENO: result: gcc" >&5
26318 echo "${ECHO_T}gcc" >&6
26319 CPPFLAGS_PASCAL="-fpascal-strings"
26320 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26321 echo "$as_me:$LINENO: result: xlc" >&5
26322 echo "${ECHO_T}xlc" >&6
26323 CPPFLAGS_PASCAL="-qmacpstr"
26324 else
26325 echo "$as_me:$LINENO: result: none" >&5
26326 echo "${ECHO_T}none" >&6
26327 fi
26328
26329 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26330
26331 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26332 TOOLKIT=MAC
26333 GUIDIST=MACX_DIST
26334 WXBASEPORT="_carbon"
26335 fi
26336
26337 if test "$wxUSE_COCOA" = 1; then
26338 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26339 TOOLKIT=COCOA
26340 GUIDIST=COCOA_DIST
26341 fi
26342
26343 if test "$wxUSE_PM" = 1; then
26344 TOOLKIT=PM
26345 GUIDIST=PM_DIST
26346 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26347 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26348 if test "${wx_cv_spbcdata+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26351
26352 cat >conftest.$ac_ext <<_ACEOF
26353 /* confdefs.h. */
26354 _ACEOF
26355 cat confdefs.h >>conftest.$ac_ext
26356 cat >>conftest.$ac_ext <<_ACEOF
26357 /* end confdefs.h. */
26358
26359 #define INCL_PM
26360 #include <os2.h>
26361
26362 int
26363 main ()
26364 {
26365
26366 SPBCDATA test;
26367
26368 ;
26369 return 0;
26370 }
26371 _ACEOF
26372 rm -f conftest.$ac_objext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26374 (eval $ac_compile) 2>conftest.er1
26375 ac_status=$?
26376 grep -v '^ *+' conftest.er1 >conftest.err
26377 rm -f conftest.er1
26378 cat conftest.err >&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } &&
26381 { ac_try='test -z "$ac_c_werror_flag"
26382 || test ! -s conftest.err'
26383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384 (eval $ac_try) 2>&5
26385 ac_status=$?
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); }; } &&
26388 { ac_try='test -s conftest.$ac_objext'
26389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390 (eval $ac_try) 2>&5
26391 ac_status=$?
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); }; }; then
26394 wx_cv_spbcdata=yes
26395 else
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26398
26399 wx_cv_spbcdata=no
26400
26401 fi
26402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26403
26404
26405 fi
26406 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26407 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26408
26409 if test $wx_cv_spbcdata = "yes"; then
26410 cat >>confdefs.h <<\_ACEOF
26411 #define HAVE_SPBCDATA 1
26412 _ACEOF
26413
26414 fi
26415 fi
26416
26417 if test "$TOOLKIT" = "PM" ; then
26418 TOOLKIT_DIR="os2"
26419 else
26420 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26421 fi
26422
26423 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26424
26425 if test "$wxUSE_UNIVERSAL" = "yes"; then
26426 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26427
26428 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26429 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26430
26431 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26432 if test "$wxUSE_X11" = 1; then
26433 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26434 else
26435 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26436 fi
26437 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26438 WIDGET_SET=univ
26439 else
26440 ALL_OBJECTS="\$(GUIOBJS)"
26441 ALL_SOURCES="\$(ALL_SOURCES)"
26442 ALL_HEADERS="\$(ALL_HEADERS)"
26443 fi
26444
26445 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26446
26447 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26448 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26449 fi
26450
26451 if test "$wxUSE_HTML" = "yes"; then
26452 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26453 fi
26454
26455 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26456 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26457 fi
26458 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26459 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26460 fi
26461 if test "$wxUSE_LIBPNG" = "builtin" ; then
26462 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26463 fi
26464
26465 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26466 DISTDIR="wx\$(TOOLKIT)"
26467 else
26468 USE_GUI=0
26469
26470 TOOLKIT_DIR="base"
26471
26472 if test "$USE_WIN32" = 1 ; then
26473 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26474 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26475
26476 TOOLKIT="MSW"
26477 else
26478 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26479 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26480 fi
26481
26482 ALL_SOURCES="\$(ALL_SOURCES)"
26483 ALL_HEADERS="\$(ALL_HEADERS)"
26484
26485 PORT_FILES="\${top_srcdir}/src/files.lst"
26486
26487 GUIDIST="BASE_DIST"
26488 DISTDIR="wxBase"
26489 fi
26490
26491
26492
26493
26494 IODBC_C_SRC=""
26495
26496
26497 if test "$TOOLKIT" != "MSW" ; then
26498
26499 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26500
26501 if test "${ac_cv_header_sql_h+set}" = set; then
26502 echo "$as_me:$LINENO: checking for sql.h" >&5
26503 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26504 if test "${ac_cv_header_sql_h+set}" = set; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26506 fi
26507 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26508 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26509 else
26510 # Is the header compilable?
26511 echo "$as_me:$LINENO: checking sql.h usability" >&5
26512 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26513 cat >conftest.$ac_ext <<_ACEOF
26514 /* confdefs.h. */
26515 _ACEOF
26516 cat confdefs.h >>conftest.$ac_ext
26517 cat >>conftest.$ac_ext <<_ACEOF
26518 /* end confdefs.h. */
26519 $ac_includes_default
26520 #include <sql.h>
26521 _ACEOF
26522 rm -f conftest.$ac_objext
26523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26524 (eval $ac_compile) 2>conftest.er1
26525 ac_status=$?
26526 grep -v '^ *+' conftest.er1 >conftest.err
26527 rm -f conftest.er1
26528 cat conftest.err >&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } &&
26531 { ac_try='test -z "$ac_c_werror_flag"
26532 || test ! -s conftest.err'
26533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534 (eval $ac_try) 2>&5
26535 ac_status=$?
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; } &&
26538 { ac_try='test -s conftest.$ac_objext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26541 ac_status=$?
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26544 ac_header_compiler=yes
26545 else
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.$ac_ext >&5
26548
26549 ac_header_compiler=no
26550 fi
26551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26553 echo "${ECHO_T}$ac_header_compiler" >&6
26554
26555 # Is the header present?
26556 echo "$as_me:$LINENO: checking sql.h presence" >&5
26557 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26558 cat >conftest.$ac_ext <<_ACEOF
26559 /* confdefs.h. */
26560 _ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564 #include <sql.h>
26565 _ACEOF
26566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26568 ac_status=$?
26569 grep -v '^ *+' conftest.er1 >conftest.err
26570 rm -f conftest.er1
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } >/dev/null; then
26574 if test -s conftest.err; then
26575 ac_cpp_err=$ac_c_preproc_warn_flag
26576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26577 else
26578 ac_cpp_err=
26579 fi
26580 else
26581 ac_cpp_err=yes
26582 fi
26583 if test -z "$ac_cpp_err"; then
26584 ac_header_preproc=yes
26585 else
26586 echo "$as_me: failed program was:" >&5
26587 sed 's/^/| /' conftest.$ac_ext >&5
26588
26589 ac_header_preproc=no
26590 fi
26591 rm -f conftest.err conftest.$ac_ext
26592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26593 echo "${ECHO_T}$ac_header_preproc" >&6
26594
26595 # So? What about this header?
26596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26597 yes:no: )
26598 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26599 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26600 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26601 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26602 ac_header_preproc=yes
26603 ;;
26604 no:yes:* )
26605 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26606 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26607 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26608 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26609 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26610 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26611 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26612 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26613 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26614 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26615 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26616 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26617 (
26618 cat <<\_ASBOX
26619 ## ----------------------------------------- ##
26620 ## Report this to wx-dev@lists.wxwidgets.org ##
26621 ## ----------------------------------------- ##
26622 _ASBOX
26623 ) |
26624 sed "s/^/$as_me: WARNING: /" >&2
26625 ;;
26626 esac
26627 echo "$as_me:$LINENO: checking for sql.h" >&5
26628 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26629 if test "${ac_cv_header_sql_h+set}" = set; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 else
26632 ac_cv_header_sql_h=$ac_header_preproc
26633 fi
26634 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26635 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26636
26637 fi
26638 if test $ac_cv_header_sql_h = yes; then
26639 found_sql_h=1
26640 fi
26641
26642
26643 if test "x$found_sql_h" = "x1" ; then
26644 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26645 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26646 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 else
26649 ac_check_lib_save_LIBS=$LIBS
26650 LIBS="-liodbc $LIBS"
26651 cat >conftest.$ac_ext <<_ACEOF
26652 /* confdefs.h. */
26653 _ACEOF
26654 cat confdefs.h >>conftest.$ac_ext
26655 cat >>conftest.$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26657
26658 /* Override any gcc2 internal prototype to avoid an error. */
26659 #ifdef __cplusplus
26660 extern "C"
26661 #endif
26662 /* We use char because int might match the return type of a gcc2
26663 builtin and then its argument prototype would still apply. */
26664 char SQLAllocEnv ();
26665 int
26666 main ()
26667 {
26668 SQLAllocEnv ();
26669 ;
26670 return 0;
26671 }
26672 _ACEOF
26673 rm -f conftest.$ac_objext conftest$ac_exeext
26674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>conftest.er1
26676 ac_status=$?
26677 grep -v '^ *+' conftest.er1 >conftest.err
26678 rm -f conftest.er1
26679 cat conftest.err >&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } &&
26682 { ac_try='test -z "$ac_c_werror_flag"
26683 || test ! -s conftest.err'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26686 ac_status=$?
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; } &&
26689 { ac_try='test -s conftest$ac_exeext'
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26692 ac_status=$?
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; }; then
26695 ac_cv_lib_iodbc_SQLAllocEnv=yes
26696 else
26697 echo "$as_me: failed program was:" >&5
26698 sed 's/^/| /' conftest.$ac_ext >&5
26699
26700 ac_cv_lib_iodbc_SQLAllocEnv=no
26701 fi
26702 rm -f conftest.err conftest.$ac_objext \
26703 conftest$ac_exeext conftest.$ac_ext
26704 LIBS=$ac_check_lib_save_LIBS
26705 fi
26706 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26707 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26708 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26709 ODBC_LINK=" -liodbc"
26710 else
26711
26712 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26713 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26714 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 else
26717 ac_check_lib_save_LIBS=$LIBS
26718 LIBS="-lunixodbc $LIBS"
26719 cat >conftest.$ac_ext <<_ACEOF
26720 /* confdefs.h. */
26721 _ACEOF
26722 cat confdefs.h >>conftest.$ac_ext
26723 cat >>conftest.$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26725
26726 /* Override any gcc2 internal prototype to avoid an error. */
26727 #ifdef __cplusplus
26728 extern "C"
26729 #endif
26730 /* We use char because int might match the return type of a gcc2
26731 builtin and then its argument prototype would still apply. */
26732 char SQLAllocEnv ();
26733 int
26734 main ()
26735 {
26736 SQLAllocEnv ();
26737 ;
26738 return 0;
26739 }
26740 _ACEOF
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>conftest.er1
26744 ac_status=$?
26745 grep -v '^ *+' conftest.er1 >conftest.err
26746 rm -f conftest.er1
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -z "$ac_c_werror_flag"
26751 || test ! -s conftest.err'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26754 ac_status=$?
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; } &&
26757 { ac_try='test -s conftest$ac_exeext'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26760 ac_status=$?
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; }; then
26763 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26764 else
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.$ac_ext >&5
26767
26768 ac_cv_lib_unixodbc_SQLAllocEnv=no
26769 fi
26770 rm -f conftest.err conftest.$ac_objext \
26771 conftest$ac_exeext conftest.$ac_ext
26772 LIBS=$ac_check_lib_save_LIBS
26773 fi
26774 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26775 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26776 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26777 ODBC_LINK=" -lunixodbc"
26778 else
26779
26780 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26781 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26782 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26783 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 else
26785 ac_check_lib_save_LIBS=$LIBS
26786 LIBS="-lodbc $LIBS"
26787 cat >conftest.$ac_ext <<_ACEOF
26788 /* confdefs.h. */
26789 _ACEOF
26790 cat confdefs.h >>conftest.$ac_ext
26791 cat >>conftest.$ac_ext <<_ACEOF
26792 /* end confdefs.h. */
26793
26794 /* Override any gcc2 internal prototype to avoid an error. */
26795 #ifdef __cplusplus
26796 extern "C"
26797 #endif
26798 /* We use char because int might match the return type of a gcc2
26799 builtin and then its argument prototype would still apply. */
26800 char SQLAllocEnv ();
26801 int
26802 main ()
26803 {
26804 SQLAllocEnv ();
26805 ;
26806 return 0;
26807 }
26808 _ACEOF
26809 rm -f conftest.$ac_objext conftest$ac_exeext
26810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26811 (eval $ac_link) 2>conftest.er1
26812 ac_status=$?
26813 grep -v '^ *+' conftest.er1 >conftest.err
26814 rm -f conftest.er1
26815 cat conftest.err >&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try='test -z "$ac_c_werror_flag"
26819 || test ! -s conftest.err'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26822 ac_status=$?
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; } &&
26825 { ac_try='test -s conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26828 ac_status=$?
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 ac_cv_lib_odbc_SQLAllocEnv=yes
26832 else
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.$ac_ext >&5
26835
26836 ac_cv_lib_odbc_SQLAllocEnv=no
26837 fi
26838 rm -f conftest.err conftest.$ac_objext \
26839 conftest$ac_exeext conftest.$ac_ext
26840 LIBS=$ac_check_lib_save_LIBS
26841 fi
26842 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26843 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26844 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26845 ODBC_LINK=" -lodbc"
26846 fi
26847
26848
26849 fi
26850
26851
26852 fi
26853
26854 fi
26855 if test "x$ODBC_LINK" = "x" ; then
26856 if test "$wxUSE_ODBC" = "sys" ; then
26857 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26858 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26859 { (exit 1); exit 1; }; }
26860 else
26861 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26862 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26863 wxUSE_ODBC=builtin
26864 fi
26865 else
26866 wxUSE_ODBC=sys
26867 fi
26868 fi
26869 if test "$wxUSE_ODBC" != "no" ; then
26870 cat >>confdefs.h <<\_ACEOF
26871 #define wxUSE_ODBC 1
26872 _ACEOF
26873
26874 if test "$wxUSE_ODBC" = "builtin" ; then
26875 cat >>confdefs.h <<\_ACEOF
26876 #define wxUSE_BUILTIN_IODBC 1
26877 _ACEOF
26878
26879 fi
26880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26881
26882 WXODBCFLAG="-D_IODBC_"
26883 fi
26884 fi
26885
26886 if test "$wxUSE_REGEX" = "builtin" ; then
26887 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
26888 fi
26889 if test "$wxUSE_ZLIB" = "builtin" ; then
26890 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
26891 fi
26892
26893
26894 if test "$wxUSE_DISPLAY" = "yes"; then
26895 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26896 echo "$as_me:$LINENO: checking for Xinerama" >&5
26897 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26898
26899 ac_find_libraries=
26900 for ac_dir in $SEARCH_LIB /usr/lib;
26901 do
26902 for ac_extension in a so sl dylib; do
26903 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26904 ac_find_libraries=$ac_dir
26905 break 2
26906 fi
26907 done
26908 done
26909
26910 if test "$ac_find_libraries" != "" ; then
26911
26912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26913 result=$?
26914 if test $result = 0; then
26915 ac_path_to_link=""
26916 else
26917 ac_path_to_link=" -L$ac_find_libraries"
26918 fi
26919
26920 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26921 LDFLAGS="$LDFLAGS $ac_path_to_link"
26922 fi
26923 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26924 echo "$as_me:$LINENO: result: yes" >&5
26925 echo "${ECHO_T}yes" >&6
26926
26927 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26928 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26929
26930 ac_find_libraries=
26931 for ac_dir in $SEARCH_LIB /usr/lib;
26932 do
26933 for ac_extension in a so sl dylib; do
26934 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26935 ac_find_libraries=$ac_dir
26936 break 2
26937 fi
26938 done
26939 done
26940
26941 if test "$ac_find_libraries" != "" ; then
26942 echo "$as_me:$LINENO: result: yes" >&5
26943 echo "${ECHO_T}yes" >&6
26944
26945 for ac_header in X11/extensions/xf86vmode.h
26946 do
26947 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26948 echo "$as_me:$LINENO: checking for $ac_header" >&5
26949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26951 echo $ECHO_N "(cached) $ECHO_C" >&6
26952 else
26953 cat >conftest.$ac_ext <<_ACEOF
26954 /* confdefs.h. */
26955 _ACEOF
26956 cat confdefs.h >>conftest.$ac_ext
26957 cat >>conftest.$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26959
26960 #if HAVE_X11_XLIB_H
26961 #include <X11/Xlib.h>
26962 #endif
26963
26964
26965 #include <$ac_header>
26966 _ACEOF
26967 rm -f conftest.$ac_objext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26969 (eval $ac_compile) 2>conftest.er1
26970 ac_status=$?
26971 grep -v '^ *+' conftest.er1 >conftest.err
26972 rm -f conftest.er1
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_c_werror_flag"
26977 || test ! -s conftest.err'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26980 ac_status=$?
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; } &&
26983 { ac_try='test -s conftest.$ac_objext'
26984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985 (eval $ac_try) 2>&5
26986 ac_status=$?
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26989 eval "$as_ac_Header=yes"
26990 else
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26993
26994 eval "$as_ac_Header=no"
26995 fi
26996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26997 fi
26998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27001 cat >>confdefs.h <<_ACEOF
27002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27003 _ACEOF
27004
27005 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27006
27007 fi
27008
27009 done
27010
27011 else
27012 echo "$as_me:$LINENO: result: no" >&5
27013 echo "${ECHO_T}no" >&6
27014 fi
27015
27016 else
27017 echo "$as_me:$LINENO: result: no" >&5
27018 echo "${ECHO_T}no" >&6
27019 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27020 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27021 wxUSE_DISPLAY="no"
27022 fi
27023 elif test "$wxUSE_MSW" = 1; then
27024
27025
27026 for ac_header in multimon.h ddraw.h
27027 do
27028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27030 echo "$as_me:$LINENO: checking for $ac_header" >&5
27031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 fi
27035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27037 else
27038 # Is the header compilable?
27039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27041 cat >conftest.$ac_ext <<_ACEOF
27042 /* confdefs.h. */
27043 _ACEOF
27044 cat confdefs.h >>conftest.$ac_ext
27045 cat >>conftest.$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27047 $ac_includes_default
27048 #include <$ac_header>
27049 _ACEOF
27050 rm -f conftest.$ac_objext
27051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27052 (eval $ac_compile) 2>conftest.er1
27053 ac_status=$?
27054 grep -v '^ *+' conftest.er1 >conftest.err
27055 rm -f conftest.er1
27056 cat conftest.err >&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); } &&
27059 { ac_try='test -z "$ac_c_werror_flag"
27060 || test ! -s conftest.err'
27061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062 (eval $ac_try) 2>&5
27063 ac_status=$?
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); }; } &&
27066 { ac_try='test -s conftest.$ac_objext'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27069 ac_status=$?
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; }; then
27072 ac_header_compiler=yes
27073 else
27074 echo "$as_me: failed program was:" >&5
27075 sed 's/^/| /' conftest.$ac_ext >&5
27076
27077 ac_header_compiler=no
27078 fi
27079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27081 echo "${ECHO_T}$ac_header_compiler" >&6
27082
27083 # Is the header present?
27084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27086 cat >conftest.$ac_ext <<_ACEOF
27087 /* confdefs.h. */
27088 _ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <$ac_header>
27093 _ACEOF
27094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27096 ac_status=$?
27097 grep -v '^ *+' conftest.er1 >conftest.err
27098 rm -f conftest.er1
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } >/dev/null; then
27102 if test -s conftest.err; then
27103 ac_cpp_err=$ac_c_preproc_warn_flag
27104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27105 else
27106 ac_cpp_err=
27107 fi
27108 else
27109 ac_cpp_err=yes
27110 fi
27111 if test -z "$ac_cpp_err"; then
27112 ac_header_preproc=yes
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117 ac_header_preproc=no
27118 fi
27119 rm -f conftest.err conftest.$ac_ext
27120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27121 echo "${ECHO_T}$ac_header_preproc" >&6
27122
27123 # So? What about this header?
27124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27125 yes:no: )
27126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27130 ac_header_preproc=yes
27131 ;;
27132 no:yes:* )
27133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27145 (
27146 cat <<\_ASBOX
27147 ## ----------------------------------------- ##
27148 ## Report this to wx-dev@lists.wxwidgets.org ##
27149 ## ----------------------------------------- ##
27150 _ASBOX
27151 ) |
27152 sed "s/^/$as_me: WARNING: /" >&2
27153 ;;
27154 esac
27155 echo "$as_me:$LINENO: checking for $ac_header" >&5
27156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 else
27160 eval "$as_ac_Header=\$ac_header_preproc"
27161 fi
27162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27164
27165 fi
27166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27167 cat >>confdefs.h <<_ACEOF
27168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27169 _ACEOF
27170
27171 else
27172
27173 wxUSE_DISPLAY="no"
27174 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27175 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27176
27177 fi
27178
27179 done
27180
27181 fi
27182 fi
27183
27184
27185 USE_OPENGL=0
27186 if test "$wxUSE_OPENGL" = "yes"; then
27187 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27188 OPENGL_LIBS="-framework OpenGL -framework AGL"
27189 elif test "$wxUSE_MSW" = 1; then
27190 OPENGL_LIBS="-lopengl32 -lglu32"
27191 else
27192
27193
27194 ac_find_includes=
27195 for ac_dir in $SEARCH_INCLUDE /usr/include;
27196 do
27197 if test -f "$ac_dir/GL/gl.h"; then
27198 ac_find_includes=$ac_dir
27199 break
27200 fi
27201 done
27202
27203 if test "$ac_find_includes" != "" ; then
27204 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27205 echo "${ECHO_T}found in $ac_find_includes" >&6
27206
27207 if test "x$ac_find_includes" = "x/usr/include"; then
27208 ac_path_to_include=""
27209 else
27210 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27211 result=$?
27212 if test $result = 0; then
27213 ac_path_to_include=""
27214 else
27215 ac_path_to_include=" -I$ac_find_includes"
27216 fi
27217 fi
27218
27219 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27220 fi
27221
27222 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27223 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27224 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27225 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 fi
27228 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27229 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27230 else
27231 # Is the header compilable?
27232 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27233 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27234 cat >conftest.$ac_ext <<_ACEOF
27235 /* confdefs.h. */
27236 _ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240 $ac_includes_default
27241 #include <GL/gl.h>
27242 _ACEOF
27243 rm -f conftest.$ac_objext
27244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27245 (eval $ac_compile) 2>conftest.er1
27246 ac_status=$?
27247 grep -v '^ *+' conftest.er1 >conftest.err
27248 rm -f conftest.er1
27249 cat conftest.err >&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } &&
27252 { ac_try='test -z "$ac_c_werror_flag"
27253 || test ! -s conftest.err'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27256 ac_status=$?
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; } &&
27259 { ac_try='test -s conftest.$ac_objext'
27260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261 (eval $ac_try) 2>&5
27262 ac_status=$?
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); }; }; then
27265 ac_header_compiler=yes
27266 else
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.$ac_ext >&5
27269
27270 ac_header_compiler=no
27271 fi
27272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27274 echo "${ECHO_T}$ac_header_compiler" >&6
27275
27276 # Is the header present?
27277 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27278 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27279 cat >conftest.$ac_ext <<_ACEOF
27280 /* confdefs.h. */
27281 _ACEOF
27282 cat confdefs.h >>conftest.$ac_ext
27283 cat >>conftest.$ac_ext <<_ACEOF
27284 /* end confdefs.h. */
27285 #include <GL/gl.h>
27286 _ACEOF
27287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27289 ac_status=$?
27290 grep -v '^ *+' conftest.er1 >conftest.err
27291 rm -f conftest.er1
27292 cat conftest.err >&5
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); } >/dev/null; then
27295 if test -s conftest.err; then
27296 ac_cpp_err=$ac_c_preproc_warn_flag
27297 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27298 else
27299 ac_cpp_err=
27300 fi
27301 else
27302 ac_cpp_err=yes
27303 fi
27304 if test -z "$ac_cpp_err"; then
27305 ac_header_preproc=yes
27306 else
27307 echo "$as_me: failed program was:" >&5
27308 sed 's/^/| /' conftest.$ac_ext >&5
27309
27310 ac_header_preproc=no
27311 fi
27312 rm -f conftest.err conftest.$ac_ext
27313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27314 echo "${ECHO_T}$ac_header_preproc" >&6
27315
27316 # So? What about this header?
27317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27318 yes:no: )
27319 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27320 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27321 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27322 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27323 ac_header_preproc=yes
27324 ;;
27325 no:yes:* )
27326 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27327 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27328 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27329 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27330 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27331 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27332 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27333 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27334 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27335 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27336 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27337 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27338 (
27339 cat <<\_ASBOX
27340 ## ----------------------------------------- ##
27341 ## Report this to wx-dev@lists.wxwidgets.org ##
27342 ## ----------------------------------------- ##
27343 _ASBOX
27344 ) |
27345 sed "s/^/$as_me: WARNING: /" >&2
27346 ;;
27347 esac
27348 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27349 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27350 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27352 else
27353 ac_cv_header_GL_gl_h=$ac_header_preproc
27354 fi
27355 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27356 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27357
27358 fi
27359 if test $ac_cv_header_GL_gl_h = yes; then
27360
27361 found_gl=0
27362
27363 echo "$as_me:$LINENO: checking for -lGL" >&5
27364 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27365
27366 ac_find_libraries=
27367 for ac_dir in $SEARCH_LIB /usr/lib;
27368 do
27369 for ac_extension in a so sl dylib; do
27370 if test -f "$ac_dir/libGL.$ac_extension"; then
27371 ac_find_libraries=$ac_dir
27372 break 2
27373 fi
27374 done
27375 done
27376
27377 if test "$ac_find_libraries" != "" ; then
27378
27379 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27380 result=$?
27381 if test $result = 0; then
27382 ac_path_to_link=""
27383 else
27384 ac_path_to_link=" -L$ac_find_libraries"
27385 fi
27386
27387 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27388 LDFLAGS_GL="$ac_path_to_link"
27389 fi
27390
27391
27392 ac_find_libraries=
27393 for ac_dir in $SEARCH_LIB /usr/lib;
27394 do
27395 for ac_extension in a so sl dylib; do
27396 if test -f "$ac_dir/libGLU.$ac_extension"; then
27397 ac_find_libraries=$ac_dir
27398 break 2
27399 fi
27400 done
27401 done
27402
27403 if test "$ac_find_libraries" != "" ; then
27404
27405 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27406 result=$?
27407 if test $result = 0; then
27408 ac_path_to_link=""
27409 else
27410 ac_path_to_link=" -L$ac_find_libraries"
27411 fi
27412
27413 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27414 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27415 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27416 fi
27417
27418 found_gl=1
27419 OPENGL_LIBS="-lGL -lGLU"
27420 echo "$as_me:$LINENO: result: yes" >&5
27421 echo "${ECHO_T}yes" >&6
27422 fi
27423 fi
27424
27425 if test "$found_gl" != 1; then
27426 echo "$as_me:$LINENO: result: no" >&5
27427 echo "${ECHO_T}no" >&6
27428 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27429 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27430
27431 ac_find_libraries=
27432 for ac_dir in $SEARCH_LIB /usr/lib;
27433 do
27434 for ac_extension in a so sl dylib; do
27435 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27436 ac_find_libraries=$ac_dir
27437 break 2
27438 fi
27439 done
27440 done
27441
27442 if test "$ac_find_libraries" != "" ; then
27443
27444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27445 result=$?
27446 if test $result = 0; then
27447 ac_path_to_link=""
27448 else
27449 ac_path_to_link=" -L$ac_find_libraries"
27450 fi
27451
27452 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27453 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27454 echo "$as_me:$LINENO: result: yes" >&5
27455 echo "${ECHO_T}yes" >&6
27456 else
27457 echo "$as_me:$LINENO: result: no" >&5
27458 echo "${ECHO_T}no" >&6
27459 fi
27460 fi
27461
27462 fi
27463
27464
27465
27466 if test "x$OPENGL_LIBS" = "x"; then
27467 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27468 echo "$as_me: error: OpenGL libraries not available" >&2;}
27469 { (exit 1); exit 1; }; }
27470 fi
27471 fi
27472
27473 if test "$wxUSE_OPENGL" = "yes"; then
27474 USE_OPENGL=1
27475 cat >>confdefs.h <<\_ACEOF
27476 #define wxUSE_OPENGL 1
27477 _ACEOF
27478
27479 cat >>confdefs.h <<\_ACEOF
27480 #define wxUSE_GLCANVAS 1
27481 _ACEOF
27482
27483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27484 fi
27485 fi
27486
27487 if test -z "$TOOLKIT_VPATH" ; then
27488 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27489 fi
27490
27491 if test -n "$TOOLKIT" ; then
27492 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27493 fi
27494
27495 UNICODE=0
27496 lib_unicode_suffix=
27497 wxconfig_filename_unicode="ansi"
27498 if test "$wxUSE_UNICODE" = "yes"; then
27499 lib_unicode_suffix=u
27500 wxconfig_filename_unicode="unicode"
27501 UNICODE=1
27502 fi
27503
27504 lib_debug_suffix=
27505 wxconfig_filename_debug="release"
27506 DEBUG_FLAG=0
27507 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27508 lib_debug_suffix=d
27509 wxconfig_filename_debug="debug"
27510 DEBUG_FLAG=1
27511 fi
27512
27513 DEBUG_INFO=0
27514 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27515 DEBUG_INFO=1
27516 fi
27517
27518 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27519
27520 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27521 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27522
27523 WXCONFIG_DATA_FILE="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
27524
27525 if test "$cross_compiling" = "yes"; then
27526 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27527 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27528 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}-${host_alias}"
27529 HOST_SUFFIX="-${host_alias}"
27530 fi
27531
27532 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27533 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27534 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27535 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27536
27537 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27538 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27539
27540 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27541 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27542 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27543 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27544
27545 case "${host}" in
27546 *-*-cygwin* | *-*-mingw32* )
27547 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27548 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27549 ;;
27550
27551 *-*-darwin* )
27552
27553 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27554 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27555
27556 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27557 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27558 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27559 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27560
27561 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27562 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27563 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27564 fi
27565 ;;
27566 esac
27567
27568 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27569 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27570
27571 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27572 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27573
27574 if test "$wxUSE_OPENGL" = "yes"; then
27575 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27576 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27577 fi
27578
27579
27580
27581 if test "$wxUSE_SHARED" = "yes"; then
27582 case "${host}" in
27583 *-pc-msdosdjgpp )
27584 wxUSE_SHARED=no
27585 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27586 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27587 ;;
27588 esac
27589 fi
27590
27591 SHARED=0
27592 if test "$wxUSE_SHARED" = "yes"; then
27593 SHARED=1
27594
27595
27596 found_versioning=no
27597
27598
27599 if test $found_versioning = no ; then
27600 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27601 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27602 if test "${wx_cv_version_script+set}" = set; then
27603 echo $ECHO_N "(cached) $ECHO_C" >&6
27604 else
27605
27606 echo "VER_1 { *; };" >conftest.sym
27607 echo "int main() { return 0; }" >conftest.cpp
27608
27609 if { ac_try='
27610 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27611 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27613 (eval $ac_try) 2>&5
27614 ac_status=$?
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); }; } ; then
27617 if test -s conftest.stderr ; then
27618 wx_cv_version_script=no
27619 else
27620 wx_cv_version_script=yes
27621 fi
27622 else
27623 wx_cv_version_script=no
27624 fi
27625 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27626
27627 fi
27628 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27629 echo "${ECHO_T}$wx_cv_version_script" >&6
27630 if test $wx_cv_version_script = yes ; then
27631 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27632 fi
27633 fi
27634
27635
27636 case "${host}" in
27637 *-*-linux* | *-*-gnu* )
27638 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27639 ;;
27640
27641 *-*-solaris2* )
27642 if test "$GCC" = yes ; then
27643 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27644
27645 saveLdflags="$LDFLAGS"
27646 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27647 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27648 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27649 cat >conftest.$ac_ext <<_ACEOF
27650 /* confdefs.h. */
27651 _ACEOF
27652 cat confdefs.h >>conftest.$ac_ext
27653 cat >>conftest.$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27655
27656 int
27657 main ()
27658 {
27659
27660 ;
27661 return 0;
27662 }
27663 _ACEOF
27664 rm -f conftest.$ac_objext conftest$ac_exeext
27665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27666 (eval $ac_link) 2>conftest.er1
27667 ac_status=$?
27668 grep -v '^ *+' conftest.er1 >conftest.err
27669 rm -f conftest.er1
27670 cat conftest.err >&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } &&
27673 { ac_try='test -z "$ac_c_werror_flag"
27674 || test ! -s conftest.err'
27675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27676 (eval $ac_try) 2>&5
27677 ac_status=$?
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); }; } &&
27680 { ac_try='test -s conftest$ac_exeext'
27681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27682 (eval $ac_try) 2>&5
27683 ac_status=$?
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; }; then
27686
27687 echo "$as_me:$LINENO: result: yes" >&5
27688 echo "${ECHO_T}yes" >&6
27689 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27690
27691 else
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27694
27695
27696 echo "$as_me:$LINENO: result: no" >&5
27697 echo "${ECHO_T}no" >&6
27698 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27699 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27700 LDFLAGS="$saveLdflags -Wl,-R,/"
27701 cat >conftest.$ac_ext <<_ACEOF
27702 /* confdefs.h. */
27703 _ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27707
27708 int
27709 main ()
27710 {
27711
27712 ;
27713 return 0;
27714 }
27715 _ACEOF
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try='test -z "$ac_c_werror_flag"
27726 || test ! -s conftest.err'
27727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27728 (eval $ac_try) 2>&5
27729 ac_status=$?
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); }; } &&
27732 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27738
27739 echo "$as_me:$LINENO: result: yes" >&5
27740 echo "${ECHO_T}yes" >&6
27741 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27742 else
27743 echo "$as_me: failed program was:" >&5
27744 sed 's/^/| /' conftest.$ac_ext >&5
27745
27746
27747 echo "$as_me:$LINENO: result: no" >&5
27748 echo "${ECHO_T}no" >&6
27749
27750 fi
27751 rm -f conftest.err conftest.$ac_objext \
27752 conftest$ac_exeext conftest.$ac_ext
27753
27754 fi
27755 rm -f conftest.err conftest.$ac_objext \
27756 conftest$ac_exeext conftest.$ac_ext
27757 LDFLAGS="$saveLdflags"
27758 else
27759 SHARED_LD="${CXX} -G -o"
27760 PIC_FLAG="-KPIC"
27761 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27762 fi
27763 ;;
27764
27765 powerpc-*-darwin* )
27766 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27767 cat <<EOF >change-install-names
27768 #!/bin/sh
27769 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27770 inst_cmd="install_name_tool "
27771 for i in \${libnames} ; do
27772 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27773 done
27774 \${inst_cmd} \${3}
27775 EOF
27776 chmod +x change-install-names
27777 ;;
27778
27779 *-*-cygwin* | *-*-mingw32* )
27780 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27781 ;;
27782
27783 esac
27784
27785 if test "x$WX_TARGET_LIBRARY" = "x"; then
27786 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27787 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27788 fi
27789
27790 WX_TARGET_LIBRARY_TYPE="so"
27791 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27792 fi
27793
27794 if test "$wxUSE_SHARED" = "no"; then
27795
27796 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27797 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27798 fi
27799
27800 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27801 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27802 fi
27803
27804 if test "$wxUSE_OPENGL" = "yes"; then
27805 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27806 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27807 else
27808 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27809 fi
27810
27811 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27812 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27813
27814 WX_TARGET_LIBRARY_TYPE="a"
27815 INSTALL_LIBRARY='$(INSTALL_DATA)'
27816
27817 STATIC_FLAG="yes"
27818 else
27819 STATIC_FLAG="no"
27820 fi
27821
27822 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27823 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27824 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27825 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27826
27827 # Extract the first word of "Rez", so it can be a program name with args.
27828 set dummy Rez; ac_word=$2
27829 echo "$as_me:$LINENO: checking for $ac_word" >&5
27830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27831 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27832 echo $ECHO_N "(cached) $ECHO_C" >&6
27833 else
27834 if test -n "$RESCOMP"; then
27835 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27836 else
27837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27838 for as_dir in $PATH
27839 do
27840 IFS=$as_save_IFS
27841 test -z "$as_dir" && as_dir=.
27842 for ac_exec_ext in '' $ac_executable_extensions; do
27843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27844 ac_cv_prog_RESCOMP="Rez"
27845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27846 break 2
27847 fi
27848 done
27849 done
27850
27851 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27852 fi
27853 fi
27854 RESCOMP=$ac_cv_prog_RESCOMP
27855 if test -n "$RESCOMP"; then
27856 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27857 echo "${ECHO_T}$RESCOMP" >&6
27858 else
27859 echo "$as_me:$LINENO: result: no" >&5
27860 echo "${ECHO_T}no" >&6
27861 fi
27862
27863 # Extract the first word of "DeRez", so it can be a program name with args.
27864 set dummy DeRez; ac_word=$2
27865 echo "$as_me:$LINENO: checking for $ac_word" >&5
27866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27867 if test "${ac_cv_prog_DEREZ+set}" = set; then
27868 echo $ECHO_N "(cached) $ECHO_C" >&6
27869 else
27870 if test -n "$DEREZ"; then
27871 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27872 else
27873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27874 for as_dir in $PATH
27875 do
27876 IFS=$as_save_IFS
27877 test -z "$as_dir" && as_dir=.
27878 for ac_exec_ext in '' $ac_executable_extensions; do
27879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27880 ac_cv_prog_DEREZ="DeRez"
27881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27882 break 2
27883 fi
27884 done
27885 done
27886
27887 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27888 fi
27889 fi
27890 DEREZ=$ac_cv_prog_DEREZ
27891 if test -n "$DEREZ"; then
27892 echo "$as_me:$LINENO: result: $DEREZ" >&5
27893 echo "${ECHO_T}$DEREZ" >&6
27894 else
27895 echo "$as_me:$LINENO: result: no" >&5
27896 echo "${ECHO_T}no" >&6
27897 fi
27898
27899 # Extract the first word of "SetFile", so it can be a program name with args.
27900 set dummy SetFile; ac_word=$2
27901 echo "$as_me:$LINENO: checking for $ac_word" >&5
27902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27903 if test "${ac_cv_prog_SETFILE+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 else
27906 if test -n "$SETFILE"; then
27907 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27908 else
27909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27910 for as_dir in $PATH
27911 do
27912 IFS=$as_save_IFS
27913 test -z "$as_dir" && as_dir=.
27914 for ac_exec_ext in '' $ac_executable_extensions; do
27915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27916 ac_cv_prog_SETFILE="SetFile"
27917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27918 break 2
27919 fi
27920 done
27921 done
27922
27923 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27924 fi
27925 fi
27926 SETFILE=$ac_cv_prog_SETFILE
27927 if test -n "$SETFILE"; then
27928 echo "$as_me:$LINENO: result: $SETFILE" >&5
27929 echo "${ECHO_T}$SETFILE" >&6
27930 else
27931 echo "$as_me:$LINENO: result: no" >&5
27932 echo "${ECHO_T}no" >&6
27933 fi
27934
27935
27936 MACSETFILE="\$(SETFILE)"
27937
27938 if test "$wxUSE_MAC" = 1; then
27939 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27940
27941 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27942 else
27943 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27944 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27945 fi
27946 else
27947 MACSETFILE="@#"
27948 MACRESWXCONFIG="#"
27949
27950 if test "$wxUSE_PM" = 1; then
27951 MACRESCOMP="emxbind -ep"
27952 else
27953 MACRESCOMP="@#"
27954 fi
27955 fi
27956
27957
27958
27959 echo "$as_me:$LINENO: checking for mode_t" >&5
27960 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27961 if test "${ac_cv_type_mode_t+set}" = set; then
27962 echo $ECHO_N "(cached) $ECHO_C" >&6
27963 else
27964 cat >conftest.$ac_ext <<_ACEOF
27965 /* confdefs.h. */
27966 _ACEOF
27967 cat confdefs.h >>conftest.$ac_ext
27968 cat >>conftest.$ac_ext <<_ACEOF
27969 /* end confdefs.h. */
27970 $ac_includes_default
27971 int
27972 main ()
27973 {
27974 if ((mode_t *) 0)
27975 return 0;
27976 if (sizeof (mode_t))
27977 return 0;
27978 ;
27979 return 0;
27980 }
27981 _ACEOF
27982 rm -f conftest.$ac_objext
27983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27984 (eval $ac_compile) 2>conftest.er1
27985 ac_status=$?
27986 grep -v '^ *+' conftest.er1 >conftest.err
27987 rm -f conftest.er1
27988 cat conftest.err >&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } &&
27991 { ac_try='test -z "$ac_c_werror_flag"
27992 || test ! -s conftest.err'
27993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27994 (eval $ac_try) 2>&5
27995 ac_status=$?
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; } &&
27998 { ac_try='test -s conftest.$ac_objext'
27999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28000 (eval $ac_try) 2>&5
28001 ac_status=$?
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); }; }; then
28004 ac_cv_type_mode_t=yes
28005 else
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.$ac_ext >&5
28008
28009 ac_cv_type_mode_t=no
28010 fi
28011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28012 fi
28013 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28014 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28015 if test $ac_cv_type_mode_t = yes; then
28016 :
28017 else
28018
28019 cat >>confdefs.h <<_ACEOF
28020 #define mode_t int
28021 _ACEOF
28022
28023 fi
28024
28025 echo "$as_me:$LINENO: checking for off_t" >&5
28026 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28027 if test "${ac_cv_type_off_t+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 else
28030 cat >conftest.$ac_ext <<_ACEOF
28031 /* confdefs.h. */
28032 _ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036 $ac_includes_default
28037 int
28038 main ()
28039 {
28040 if ((off_t *) 0)
28041 return 0;
28042 if (sizeof (off_t))
28043 return 0;
28044 ;
28045 return 0;
28046 }
28047 _ACEOF
28048 rm -f conftest.$ac_objext
28049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28050 (eval $ac_compile) 2>conftest.er1
28051 ac_status=$?
28052 grep -v '^ *+' conftest.er1 >conftest.err
28053 rm -f conftest.er1
28054 cat conftest.err >&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); } &&
28057 { ac_try='test -z "$ac_c_werror_flag"
28058 || test ! -s conftest.err'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28061 ac_status=$?
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; } &&
28064 { ac_try='test -s conftest.$ac_objext'
28065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28066 (eval $ac_try) 2>&5
28067 ac_status=$?
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); }; }; then
28070 ac_cv_type_off_t=yes
28071 else
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28074
28075 ac_cv_type_off_t=no
28076 fi
28077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28078 fi
28079 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28080 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28081 if test $ac_cv_type_off_t = yes; then
28082 :
28083 else
28084
28085 cat >>confdefs.h <<_ACEOF
28086 #define off_t long
28087 _ACEOF
28088
28089 fi
28090
28091 echo "$as_me:$LINENO: checking for pid_t" >&5
28092 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28093 if test "${ac_cv_type_pid_t+set}" = set; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 else
28096 cat >conftest.$ac_ext <<_ACEOF
28097 /* confdefs.h. */
28098 _ACEOF
28099 cat confdefs.h >>conftest.$ac_ext
28100 cat >>conftest.$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 $ac_includes_default
28103 int
28104 main ()
28105 {
28106 if ((pid_t *) 0)
28107 return 0;
28108 if (sizeof (pid_t))
28109 return 0;
28110 ;
28111 return 0;
28112 }
28113 _ACEOF
28114 rm -f conftest.$ac_objext
28115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28116 (eval $ac_compile) 2>conftest.er1
28117 ac_status=$?
28118 grep -v '^ *+' conftest.er1 >conftest.err
28119 rm -f conftest.er1
28120 cat conftest.err >&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } &&
28123 { ac_try='test -z "$ac_c_werror_flag"
28124 || test ! -s conftest.err'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28127 ac_status=$?
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; } &&
28130 { ac_try='test -s conftest.$ac_objext'
28131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28132 (eval $ac_try) 2>&5
28133 ac_status=$?
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); }; }; then
28136 ac_cv_type_pid_t=yes
28137 else
28138 echo "$as_me: failed program was:" >&5
28139 sed 's/^/| /' conftest.$ac_ext >&5
28140
28141 ac_cv_type_pid_t=no
28142 fi
28143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28144 fi
28145 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28146 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28147 if test $ac_cv_type_pid_t = yes; then
28148 :
28149 else
28150
28151 cat >>confdefs.h <<_ACEOF
28152 #define pid_t int
28153 _ACEOF
28154
28155 fi
28156
28157 echo "$as_me:$LINENO: checking for size_t" >&5
28158 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28159 if test "${ac_cv_type_size_t+set}" = set; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 else
28162 cat >conftest.$ac_ext <<_ACEOF
28163 /* confdefs.h. */
28164 _ACEOF
28165 cat confdefs.h >>conftest.$ac_ext
28166 cat >>conftest.$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28168 $ac_includes_default
28169 int
28170 main ()
28171 {
28172 if ((size_t *) 0)
28173 return 0;
28174 if (sizeof (size_t))
28175 return 0;
28176 ;
28177 return 0;
28178 }
28179 _ACEOF
28180 rm -f conftest.$ac_objext
28181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28182 (eval $ac_compile) 2>conftest.er1
28183 ac_status=$?
28184 grep -v '^ *+' conftest.er1 >conftest.err
28185 rm -f conftest.er1
28186 cat conftest.err >&5
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } &&
28189 { ac_try='test -z "$ac_c_werror_flag"
28190 || test ! -s conftest.err'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28193 ac_status=$?
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try='test -s conftest.$ac_objext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28199 ac_status=$?
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28202 ac_cv_type_size_t=yes
28203 else
28204 echo "$as_me: failed program was:" >&5
28205 sed 's/^/| /' conftest.$ac_ext >&5
28206
28207 ac_cv_type_size_t=no
28208 fi
28209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28210 fi
28211 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28212 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28213 if test $ac_cv_type_size_t = yes; then
28214 :
28215 else
28216
28217 cat >>confdefs.h <<_ACEOF
28218 #define size_t unsigned
28219 _ACEOF
28220
28221 fi
28222
28223 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28224 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28225 if test "${ac_cv_type_uid_t+set}" = set; then
28226 echo $ECHO_N "(cached) $ECHO_C" >&6
28227 else
28228 cat >conftest.$ac_ext <<_ACEOF
28229 /* confdefs.h. */
28230 _ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234 #include <sys/types.h>
28235
28236 _ACEOF
28237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28238 $EGREP "uid_t" >/dev/null 2>&1; then
28239 ac_cv_type_uid_t=yes
28240 else
28241 ac_cv_type_uid_t=no
28242 fi
28243 rm -f conftest*
28244
28245 fi
28246 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28247 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28248 if test $ac_cv_type_uid_t = no; then
28249
28250 cat >>confdefs.h <<\_ACEOF
28251 #define uid_t int
28252 _ACEOF
28253
28254
28255 cat >>confdefs.h <<\_ACEOF
28256 #define gid_t int
28257 _ACEOF
28258
28259 fi
28260
28261
28262
28263
28264 ac_ext=cc
28265 ac_cpp='$CXXCPP $CPPFLAGS'
28266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269
28270 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28271 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28272 if test "${wx_cv_size_t_is_uint+set}" = set; then
28273 echo $ECHO_N "(cached) $ECHO_C" >&6
28274 else
28275
28276 cat >conftest.$ac_ext <<_ACEOF
28277 /* confdefs.h. */
28278 _ACEOF
28279 cat confdefs.h >>conftest.$ac_ext
28280 cat >>conftest.$ac_ext <<_ACEOF
28281 /* end confdefs.h. */
28282 #include <stddef.h>
28283 int
28284 main ()
28285 {
28286
28287 return 0; }
28288
28289 struct Foo { void foo(size_t); void foo(unsigned int); };
28290
28291 int bar() {
28292
28293 ;
28294 return 0;
28295 }
28296 _ACEOF
28297 rm -f conftest.$ac_objext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28299 (eval $ac_compile) 2>conftest.er1
28300 ac_status=$?
28301 grep -v '^ *+' conftest.er1 >conftest.err
28302 rm -f conftest.er1
28303 cat conftest.err >&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } &&
28306 { ac_try='test -z "$ac_cxx_werror_flag"
28307 || test ! -s conftest.err'
28308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 (eval $ac_try) 2>&5
28310 ac_status=$?
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }; } &&
28313 { ac_try='test -s conftest.$ac_objext'
28314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28315 (eval $ac_try) 2>&5
28316 ac_status=$?
28317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 (exit $ac_status); }; }; then
28319 wx_cv_size_t_is_uint=no
28320 else
28321 echo "$as_me: failed program was:" >&5
28322 sed 's/^/| /' conftest.$ac_ext >&5
28323
28324 wx_cv_size_t_is_uint=yes
28325
28326 fi
28327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28328
28329
28330 fi
28331 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28332 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28333
28334 if test "$wx_cv_size_t_is_uint" = "yes"; then
28335 cat >>confdefs.h <<\_ACEOF
28336 #define wxSIZE_T_IS_UINT 1
28337 _ACEOF
28338
28339 else
28340 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28341 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28342 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28344 else
28345 cat >conftest.$ac_ext <<_ACEOF
28346 /* confdefs.h. */
28347 _ACEOF
28348 cat confdefs.h >>conftest.$ac_ext
28349 cat >>conftest.$ac_ext <<_ACEOF
28350 /* end confdefs.h. */
28351 #include <stddef.h>
28352 int
28353 main ()
28354 {
28355
28356 return 0; }
28357
28358 struct Foo { void foo(size_t); void foo(unsigned long); };
28359
28360 int bar() {
28361
28362 ;
28363 return 0;
28364 }
28365 _ACEOF
28366 rm -f conftest.$ac_objext
28367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28368 (eval $ac_compile) 2>conftest.er1
28369 ac_status=$?
28370 grep -v '^ *+' conftest.er1 >conftest.err
28371 rm -f conftest.er1
28372 cat conftest.err >&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); } &&
28375 { ac_try='test -z "$ac_cxx_werror_flag"
28376 || test ! -s conftest.err'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28379 ac_status=$?
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; } &&
28382 { ac_try='test -s conftest.$ac_objext'
28383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384 (eval $ac_try) 2>&5
28385 ac_status=$?
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 wx_cv_size_t_is_ulong=no
28389 else
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28392
28393 wx_cv_size_t_is_ulong=yes
28394
28395 fi
28396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28397
28398 fi
28399 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28400 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28401
28402 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28403 cat >>confdefs.h <<\_ACEOF
28404 #define wxSIZE_T_IS_ULONG 1
28405 _ACEOF
28406
28407 fi
28408 fi
28409
28410 ac_ext=c
28411 ac_cpp='$CPP $CPPFLAGS'
28412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28415
28416
28417
28418 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28419 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28420 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28422 else
28423
28424 cat >conftest.$ac_ext <<_ACEOF
28425 /* confdefs.h. */
28426 _ACEOF
28427 cat confdefs.h >>conftest.$ac_ext
28428 cat >>conftest.$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28430 #include <pwd.h>
28431 int
28432 main ()
28433 {
28434
28435 char *p;
28436 struct passwd *pw;
28437 p = pw->pw_gecos;
28438
28439 ;
28440 return 0;
28441 }
28442 _ACEOF
28443 rm -f conftest.$ac_objext
28444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28445 (eval $ac_compile) 2>conftest.er1
28446 ac_status=$?
28447 grep -v '^ *+' conftest.er1 >conftest.err
28448 rm -f conftest.er1
28449 cat conftest.err >&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try='test -z "$ac_c_werror_flag"
28453 || test ! -s conftest.err'
28454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28455 (eval $ac_try) 2>&5
28456 ac_status=$?
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); }; } &&
28459 { ac_try='test -s conftest.$ac_objext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28462 ac_status=$?
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28465
28466 wx_cv_struct_pw_gecos=yes
28467
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472
28473 wx_cv_struct_pw_gecos=no
28474
28475
28476 fi
28477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28478
28479
28480 fi
28481 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28482 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28483
28484 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28485 cat >>confdefs.h <<\_ACEOF
28486 #define HAVE_PW_GECOS 1
28487 _ACEOF
28488
28489 fi
28490
28491
28492 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28493 cat >>confdefs.h <<\_ACEOF
28494 #define wxUSE_WCHAR_T 1
28495 _ACEOF
28496
28497
28498 WCSLEN_FOUND=0
28499 WCHAR_LINK=
28500
28501 for ac_func in wcslen
28502 do
28503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28504 echo "$as_me:$LINENO: checking for $ac_func" >&5
28505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28506 if eval "test \"\${$as_ac_var+set}\" = set"; then
28507 echo $ECHO_N "(cached) $ECHO_C" >&6
28508 else
28509 cat >conftest.$ac_ext <<_ACEOF
28510 /* confdefs.h. */
28511 _ACEOF
28512 cat confdefs.h >>conftest.$ac_ext
28513 cat >>conftest.$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28517 #define $ac_func innocuous_$ac_func
28518
28519 /* System header to define __stub macros and hopefully few prototypes,
28520 which can conflict with char $ac_func (); below.
28521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28522 <limits.h> exists even on freestanding compilers. */
28523
28524 #ifdef __STDC__
28525 # include <limits.h>
28526 #else
28527 # include <assert.h>
28528 #endif
28529
28530 #undef $ac_func
28531
28532 /* Override any gcc2 internal prototype to avoid an error. */
28533 #ifdef __cplusplus
28534 extern "C"
28535 {
28536 #endif
28537 /* We use char because int might match the return type of a gcc2
28538 builtin and then its argument prototype would still apply. */
28539 char $ac_func ();
28540 /* The GNU C library defines this for functions which it implements
28541 to always fail with ENOSYS. Some functions are actually named
28542 something starting with __ and the normal name is an alias. */
28543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28544 choke me
28545 #else
28546 char (*f) () = $ac_func;
28547 #endif
28548 #ifdef __cplusplus
28549 }
28550 #endif
28551
28552 int
28553 main ()
28554 {
28555 return f != $ac_func;
28556 ;
28557 return 0;
28558 }
28559 _ACEOF
28560 rm -f conftest.$ac_objext conftest$ac_exeext
28561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28562 (eval $ac_link) 2>conftest.er1
28563 ac_status=$?
28564 grep -v '^ *+' conftest.er1 >conftest.err
28565 rm -f conftest.er1
28566 cat conftest.err >&5
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); } &&
28569 { ac_try='test -z "$ac_c_werror_flag"
28570 || test ! -s conftest.err'
28571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28572 (eval $ac_try) 2>&5
28573 ac_status=$?
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); }; } &&
28576 { ac_try='test -s conftest$ac_exeext'
28577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28578 (eval $ac_try) 2>&5
28579 ac_status=$?
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); }; }; then
28582 eval "$as_ac_var=yes"
28583 else
28584 echo "$as_me: failed program was:" >&5
28585 sed 's/^/| /' conftest.$ac_ext >&5
28586
28587 eval "$as_ac_var=no"
28588 fi
28589 rm -f conftest.err conftest.$ac_objext \
28590 conftest$ac_exeext conftest.$ac_ext
28591 fi
28592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28594 if test `eval echo '${'$as_ac_var'}'` = yes; then
28595 cat >>confdefs.h <<_ACEOF
28596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28597 _ACEOF
28598 WCSLEN_FOUND=1
28599 fi
28600 done
28601
28602
28603 if test "$WCSLEN_FOUND" = 0; then
28604 if test "$TOOLKIT" = "MSW"; then
28605 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28606 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28607 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28608 echo $ECHO_N "(cached) $ECHO_C" >&6
28609 else
28610 ac_check_lib_save_LIBS=$LIBS
28611 LIBS="-lmsvcrt $LIBS"
28612 cat >conftest.$ac_ext <<_ACEOF
28613 /* confdefs.h. */
28614 _ACEOF
28615 cat confdefs.h >>conftest.$ac_ext
28616 cat >>conftest.$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28618
28619 /* Override any gcc2 internal prototype to avoid an error. */
28620 #ifdef __cplusplus
28621 extern "C"
28622 #endif
28623 /* We use char because int might match the return type of a gcc2
28624 builtin and then its argument prototype would still apply. */
28625 char wcslen ();
28626 int
28627 main ()
28628 {
28629 wcslen ();
28630 ;
28631 return 0;
28632 }
28633 _ACEOF
28634 rm -f conftest.$ac_objext conftest$ac_exeext
28635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28636 (eval $ac_link) 2>conftest.er1
28637 ac_status=$?
28638 grep -v '^ *+' conftest.er1 >conftest.err
28639 rm -f conftest.er1
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } &&
28643 { ac_try='test -z "$ac_c_werror_flag"
28644 || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28647 ac_status=$?
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try='test -s conftest$ac_exeext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28653 ac_status=$?
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 ac_cv_lib_msvcrt_wcslen=yes
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28660
28661 ac_cv_lib_msvcrt_wcslen=no
28662 fi
28663 rm -f conftest.err conftest.$ac_objext \
28664 conftest$ac_exeext conftest.$ac_ext
28665 LIBS=$ac_check_lib_save_LIBS
28666 fi
28667 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28668 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28669 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28670 WCHAR_OK=1
28671 fi
28672
28673 else
28674 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28675 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28676 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28677 echo $ECHO_N "(cached) $ECHO_C" >&6
28678 else
28679 ac_check_lib_save_LIBS=$LIBS
28680 LIBS="-lw $LIBS"
28681 cat >conftest.$ac_ext <<_ACEOF
28682 /* confdefs.h. */
28683 _ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687
28688 /* Override any gcc2 internal prototype to avoid an error. */
28689 #ifdef __cplusplus
28690 extern "C"
28691 #endif
28692 /* We use char because int might match the return type of a gcc2
28693 builtin and then its argument prototype would still apply. */
28694 char wcslen ();
28695 int
28696 main ()
28697 {
28698 wcslen ();
28699 ;
28700 return 0;
28701 }
28702 _ACEOF
28703 rm -f conftest.$ac_objext conftest$ac_exeext
28704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28705 (eval $ac_link) 2>conftest.er1
28706 ac_status=$?
28707 grep -v '^ *+' conftest.er1 >conftest.err
28708 rm -f conftest.er1
28709 cat conftest.err >&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } &&
28712 { ac_try='test -z "$ac_c_werror_flag"
28713 || test ! -s conftest.err'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28716 ac_status=$?
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; } &&
28719 { ac_try='test -s conftest$ac_exeext'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28722 ac_status=$?
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; }; then
28725 ac_cv_lib_w_wcslen=yes
28726 else
28727 echo "$as_me: failed program was:" >&5
28728 sed 's/^/| /' conftest.$ac_ext >&5
28729
28730 ac_cv_lib_w_wcslen=no
28731 fi
28732 rm -f conftest.err conftest.$ac_objext \
28733 conftest$ac_exeext conftest.$ac_ext
28734 LIBS=$ac_check_lib_save_LIBS
28735 fi
28736 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28737 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28738 if test $ac_cv_lib_w_wcslen = yes; then
28739
28740 WCHAR_LINK=" -lw"
28741 WCSLEN_FOUND=1
28742
28743 fi
28744
28745 fi
28746 fi
28747
28748 if test "$WCSLEN_FOUND" = 1; then
28749 cat >>confdefs.h <<\_ACEOF
28750 #define HAVE_WCSLEN 1
28751 _ACEOF
28752
28753 fi
28754
28755 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28756 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28757 fi
28758
28759
28760 for ac_func in wcsrtombs
28761 do
28762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28763 echo "$as_me:$LINENO: checking for $ac_func" >&5
28764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28765 if eval "test \"\${$as_ac_var+set}\" = set"; then
28766 echo $ECHO_N "(cached) $ECHO_C" >&6
28767 else
28768 cat >conftest.$ac_ext <<_ACEOF
28769 /* confdefs.h. */
28770 _ACEOF
28771 cat confdefs.h >>conftest.$ac_ext
28772 cat >>conftest.$ac_ext <<_ACEOF
28773 /* end confdefs.h. */
28774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28776 #define $ac_func innocuous_$ac_func
28777
28778 /* System header to define __stub macros and hopefully few prototypes,
28779 which can conflict with char $ac_func (); below.
28780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28781 <limits.h> exists even on freestanding compilers. */
28782
28783 #ifdef __STDC__
28784 # include <limits.h>
28785 #else
28786 # include <assert.h>
28787 #endif
28788
28789 #undef $ac_func
28790
28791 /* Override any gcc2 internal prototype to avoid an error. */
28792 #ifdef __cplusplus
28793 extern "C"
28794 {
28795 #endif
28796 /* We use char because int might match the return type of a gcc2
28797 builtin and then its argument prototype would still apply. */
28798 char $ac_func ();
28799 /* The GNU C library defines this for functions which it implements
28800 to always fail with ENOSYS. Some functions are actually named
28801 something starting with __ and the normal name is an alias. */
28802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28803 choke me
28804 #else
28805 char (*f) () = $ac_func;
28806 #endif
28807 #ifdef __cplusplus
28808 }
28809 #endif
28810
28811 int
28812 main ()
28813 {
28814 return f != $ac_func;
28815 ;
28816 return 0;
28817 }
28818 _ACEOF
28819 rm -f conftest.$ac_objext conftest$ac_exeext
28820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28821 (eval $ac_link) 2>conftest.er1
28822 ac_status=$?
28823 grep -v '^ *+' conftest.er1 >conftest.err
28824 rm -f conftest.er1
28825 cat conftest.err >&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); } &&
28828 { ac_try='test -z "$ac_c_werror_flag"
28829 || test ! -s conftest.err'
28830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28831 (eval $ac_try) 2>&5
28832 ac_status=$?
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); }; } &&
28835 { ac_try='test -s conftest$ac_exeext'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28838 ac_status=$?
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; }; then
28841 eval "$as_ac_var=yes"
28842 else
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.$ac_ext >&5
28845
28846 eval "$as_ac_var=no"
28847 fi
28848 rm -f conftest.err conftest.$ac_objext \
28849 conftest$ac_exeext conftest.$ac_ext
28850 fi
28851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28853 if test `eval echo '${'$as_ac_var'}'` = yes; then
28854 cat >>confdefs.h <<_ACEOF
28855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28856 _ACEOF
28857
28858 fi
28859 done
28860
28861 else
28862 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28863 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28864 fi
28865
28866
28867
28868 ac_ext=cc
28869 ac_cpp='$CXXCPP $CPPFLAGS'
28870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28873
28874
28875
28876 for ac_func in vsnprintf
28877 do
28878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28879 echo "$as_me:$LINENO: checking for $ac_func" >&5
28880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28881 if eval "test \"\${$as_ac_var+set}\" = set"; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28883 else
28884 cat >conftest.$ac_ext <<_ACEOF
28885 /* confdefs.h. */
28886 _ACEOF
28887 cat confdefs.h >>conftest.$ac_ext
28888 cat >>conftest.$ac_ext <<_ACEOF
28889 /* end confdefs.h. */
28890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28892 #define $ac_func innocuous_$ac_func
28893
28894 /* System header to define __stub macros and hopefully few prototypes,
28895 which can conflict with char $ac_func (); below.
28896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28897 <limits.h> exists even on freestanding compilers. */
28898
28899 #ifdef __STDC__
28900 # include <limits.h>
28901 #else
28902 # include <assert.h>
28903 #endif
28904
28905 #undef $ac_func
28906
28907 /* Override any gcc2 internal prototype to avoid an error. */
28908 #ifdef __cplusplus
28909 extern "C"
28910 {
28911 #endif
28912 /* We use char because int might match the return type of a gcc2
28913 builtin and then its argument prototype would still apply. */
28914 char $ac_func ();
28915 /* The GNU C library defines this for functions which it implements
28916 to always fail with ENOSYS. Some functions are actually named
28917 something starting with __ and the normal name is an alias. */
28918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28919 choke me
28920 #else
28921 char (*f) () = $ac_func;
28922 #endif
28923 #ifdef __cplusplus
28924 }
28925 #endif
28926
28927 int
28928 main ()
28929 {
28930 return f != $ac_func;
28931 ;
28932 return 0;
28933 }
28934 _ACEOF
28935 rm -f conftest.$ac_objext conftest$ac_exeext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28937 (eval $ac_link) 2>conftest.er1
28938 ac_status=$?
28939 grep -v '^ *+' conftest.er1 >conftest.err
28940 rm -f conftest.er1
28941 cat conftest.err >&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try='test -z "$ac_cxx_werror_flag"
28945 || test ! -s conftest.err'
28946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28947 (eval $ac_try) 2>&5
28948 ac_status=$?
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); }; } &&
28951 { ac_try='test -s conftest$ac_exeext'
28952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28953 (eval $ac_try) 2>&5
28954 ac_status=$?
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); }; }; then
28957 eval "$as_ac_var=yes"
28958 else
28959 echo "$as_me: failed program was:" >&5
28960 sed 's/^/| /' conftest.$ac_ext >&5
28961
28962 eval "$as_ac_var=no"
28963 fi
28964 rm -f conftest.err conftest.$ac_objext \
28965 conftest$ac_exeext conftest.$ac_ext
28966 fi
28967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28969 if test `eval echo '${'$as_ac_var'}'` = yes; then
28970 cat >>confdefs.h <<_ACEOF
28971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28972 _ACEOF
28973
28974 fi
28975 done
28976
28977
28978 if test "$ac_cv_func_vsnprintf" = "yes"; then
28979 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28980 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28981 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28982 echo $ECHO_N "(cached) $ECHO_C" >&6
28983 else
28984
28985 cat >conftest.$ac_ext <<_ACEOF
28986 /* confdefs.h. */
28987 _ACEOF
28988 cat confdefs.h >>conftest.$ac_ext
28989 cat >>conftest.$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
28991
28992 #include <stdio.h>
28993 #include <stdarg.h>
28994
28995 int
28996 main ()
28997 {
28998
28999 char *buf;
29000 va_list ap;
29001 vsnprintf(buf, 10u, "%s", ap);
29002
29003 ;
29004 return 0;
29005 }
29006 _ACEOF
29007 rm -f conftest.$ac_objext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29009 (eval $ac_compile) 2>conftest.er1
29010 ac_status=$?
29011 grep -v '^ *+' conftest.er1 >conftest.err
29012 rm -f conftest.er1
29013 cat conftest.err >&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); } &&
29016 { ac_try='test -z "$ac_cxx_werror_flag"
29017 || test ! -s conftest.err'
29018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019 (eval $ac_try) 2>&5
29020 ac_status=$?
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; } &&
29023 { ac_try='test -s conftest.$ac_objext'
29024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 (eval $ac_try) 2>&5
29026 ac_status=$?
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); }; }; then
29029 wx_cv_func_vsnprintf_decl=yes
29030 else
29031 echo "$as_me: failed program was:" >&5
29032 sed 's/^/| /' conftest.$ac_ext >&5
29033
29034 wx_cv_func_vsnprintf_decl=no
29035
29036 fi
29037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29038
29039
29040 fi
29041 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29042 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29043
29044 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29045 cat >>confdefs.h <<\_ACEOF
29046 #define HAVE_VSNPRINTF_DECL 1
29047 _ACEOF
29048
29049 fi
29050 fi
29051
29052 if test "$wxUSE_UNICODE" = yes; then
29053
29054
29055
29056
29057
29058
29059 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29060 do
29061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29062 echo "$as_me:$LINENO: checking for $ac_func" >&5
29063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29064 if eval "test \"\${$as_ac_var+set}\" = set"; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 else
29067 cat >conftest.$ac_ext <<_ACEOF
29068 /* confdefs.h. */
29069 _ACEOF
29070 cat confdefs.h >>conftest.$ac_ext
29071 cat >>conftest.$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29075 #define $ac_func innocuous_$ac_func
29076
29077 /* System header to define __stub macros and hopefully few prototypes,
29078 which can conflict with char $ac_func (); below.
29079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29080 <limits.h> exists even on freestanding compilers. */
29081
29082 #ifdef __STDC__
29083 # include <limits.h>
29084 #else
29085 # include <assert.h>
29086 #endif
29087
29088 #undef $ac_func
29089
29090 /* Override any gcc2 internal prototype to avoid an error. */
29091 #ifdef __cplusplus
29092 extern "C"
29093 {
29094 #endif
29095 /* We use char because int might match the return type of a gcc2
29096 builtin and then its argument prototype would still apply. */
29097 char $ac_func ();
29098 /* The GNU C library defines this for functions which it implements
29099 to always fail with ENOSYS. Some functions are actually named
29100 something starting with __ and the normal name is an alias. */
29101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29102 choke me
29103 #else
29104 char (*f) () = $ac_func;
29105 #endif
29106 #ifdef __cplusplus
29107 }
29108 #endif
29109
29110 int
29111 main ()
29112 {
29113 return f != $ac_func;
29114 ;
29115 return 0;
29116 }
29117 _ACEOF
29118 rm -f conftest.$ac_objext conftest$ac_exeext
29119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29120 (eval $ac_link) 2>conftest.er1
29121 ac_status=$?
29122 grep -v '^ *+' conftest.er1 >conftest.err
29123 rm -f conftest.er1
29124 cat conftest.err >&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } &&
29127 { ac_try='test -z "$ac_cxx_werror_flag"
29128 || test ! -s conftest.err'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29131 ac_status=$?
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; } &&
29134 { ac_try='test -s conftest$ac_exeext'
29135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29136 (eval $ac_try) 2>&5
29137 ac_status=$?
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); }; }; then
29140 eval "$as_ac_var=yes"
29141 else
29142 echo "$as_me: failed program was:" >&5
29143 sed 's/^/| /' conftest.$ac_ext >&5
29144
29145 eval "$as_ac_var=no"
29146 fi
29147 rm -f conftest.err conftest.$ac_objext \
29148 conftest$ac_exeext conftest.$ac_ext
29149 fi
29150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29152 if test `eval echo '${'$as_ac_var'}'` = yes; then
29153 cat >>confdefs.h <<_ACEOF
29154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29155 _ACEOF
29156
29157 fi
29158 done
29159
29160
29161 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29162 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29163 cat >conftest.$ac_ext <<_ACEOF
29164 /* confdefs.h. */
29165 _ACEOF
29166 cat confdefs.h >>conftest.$ac_ext
29167 cat >>conftest.$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169 #include <wchar.h>
29170 int
29171 main ()
29172 {
29173 &_vsnwprintf;
29174 ;
29175 return 0;
29176 }
29177 _ACEOF
29178 rm -f conftest.$ac_objext
29179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29180 (eval $ac_compile) 2>conftest.er1
29181 ac_status=$?
29182 grep -v '^ *+' conftest.er1 >conftest.err
29183 rm -f conftest.er1
29184 cat conftest.err >&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } &&
29187 { ac_try='test -z "$ac_cxx_werror_flag"
29188 || test ! -s conftest.err'
29189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29190 (eval $ac_try) 2>&5
29191 ac_status=$?
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; } &&
29194 { ac_try='test -s conftest.$ac_objext'
29195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29196 (eval $ac_try) 2>&5
29197 ac_status=$?
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); }; }; then
29200 echo "$as_me:$LINENO: result: yes" >&5
29201 echo "${ECHO_T}yes" >&6
29202 cat >>confdefs.h <<\_ACEOF
29203 #define HAVE__VSNWPRINTF 1
29204 _ACEOF
29205
29206 else
29207 echo "$as_me: failed program was:" >&5
29208 sed 's/^/| /' conftest.$ac_ext >&5
29209
29210 echo "$as_me:$LINENO: result: no" >&5
29211 echo "${ECHO_T}no" >&6
29212 fi
29213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29214 fi
29215
29216 ac_ext=c
29217 ac_cpp='$CPP $CPPFLAGS'
29218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29221
29222
29223
29224
29225 if test "$TOOLKIT" != "MSW"; then
29226
29227
29228
29229
29230 ac_ext=cc
29231 ac_cpp='$CXXCPP $CPPFLAGS'
29232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29235
29236
29237
29238
29239 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29240 if test "${with_libiconv_prefix+set}" = set; then
29241 withval="$with_libiconv_prefix"
29242
29243 for dir in `echo "$withval" | tr : ' '`; do
29244 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29245 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29246 done
29247
29248 fi;
29249
29250 echo "$as_me:$LINENO: checking for iconv" >&5
29251 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29252 if test "${am_cv_func_iconv+set}" = set; then
29253 echo $ECHO_N "(cached) $ECHO_C" >&6
29254 else
29255
29256 am_cv_func_iconv="no, consider installing GNU libiconv"
29257 am_cv_lib_iconv=no
29258 cat >conftest.$ac_ext <<_ACEOF
29259 /* confdefs.h. */
29260 _ACEOF
29261 cat confdefs.h >>conftest.$ac_ext
29262 cat >>conftest.$ac_ext <<_ACEOF
29263 /* end confdefs.h. */
29264 #include <stdlib.h>
29265 #include <iconv.h>
29266 int
29267 main ()
29268 {
29269 iconv_t cd = iconv_open("","");
29270 iconv(cd,NULL,NULL,NULL,NULL);
29271 iconv_close(cd);
29272 ;
29273 return 0;
29274 }
29275 _ACEOF
29276 rm -f conftest.$ac_objext conftest$ac_exeext
29277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29278 (eval $ac_link) 2>conftest.er1
29279 ac_status=$?
29280 grep -v '^ *+' conftest.er1 >conftest.err
29281 rm -f conftest.er1
29282 cat conftest.err >&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } &&
29285 { ac_try='test -z "$ac_cxx_werror_flag"
29286 || test ! -s conftest.err'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29289 ac_status=$?
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; } &&
29292 { ac_try='test -s conftest$ac_exeext'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29295 ac_status=$?
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; }; then
29298 am_cv_func_iconv=yes
29299 else
29300 echo "$as_me: failed program was:" >&5
29301 sed 's/^/| /' conftest.$ac_ext >&5
29302
29303 fi
29304 rm -f conftest.err conftest.$ac_objext \
29305 conftest$ac_exeext conftest.$ac_ext
29306 if test "$am_cv_func_iconv" != yes; then
29307 am_save_LIBS="$LIBS"
29308 LIBS="$LIBS -liconv"
29309 cat >conftest.$ac_ext <<_ACEOF
29310 /* confdefs.h. */
29311 _ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29315 #include <stdlib.h>
29316 #include <iconv.h>
29317 int
29318 main ()
29319 {
29320 iconv_t cd = iconv_open("","");
29321 iconv(cd,NULL,NULL,NULL,NULL);
29322 iconv_close(cd);
29323 ;
29324 return 0;
29325 }
29326 _ACEOF
29327 rm -f conftest.$ac_objext conftest$ac_exeext
29328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29329 (eval $ac_link) 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } &&
29336 { ac_try='test -z "$ac_cxx_werror_flag"
29337 || test ! -s conftest.err'
29338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29339 (eval $ac_try) 2>&5
29340 ac_status=$?
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); }; } &&
29343 { ac_try='test -s conftest$ac_exeext'
29344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29345 (eval $ac_try) 2>&5
29346 ac_status=$?
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; }; then
29349 am_cv_lib_iconv=yes
29350 am_cv_func_iconv=yes
29351 else
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29354
29355 fi
29356 rm -f conftest.err conftest.$ac_objext \
29357 conftest$ac_exeext conftest.$ac_ext
29358 LIBS="$am_save_LIBS"
29359 fi
29360
29361 fi
29362 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29363 echo "${ECHO_T}$am_cv_func_iconv" >&6
29364 if test "$am_cv_func_iconv" = yes; then
29365
29366 cat >>confdefs.h <<\_ACEOF
29367 #define HAVE_ICONV 1
29368 _ACEOF
29369
29370 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29371 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29372 if test "${wx_cv_func_iconv_const+set}" = set; then
29373 echo $ECHO_N "(cached) $ECHO_C" >&6
29374 else
29375 cat >conftest.$ac_ext <<_ACEOF
29376 /* confdefs.h. */
29377 _ACEOF
29378 cat confdefs.h >>conftest.$ac_ext
29379 cat >>conftest.$ac_ext <<_ACEOF
29380 /* end confdefs.h. */
29381
29382 #include <stdlib.h>
29383 #include <iconv.h>
29384 extern
29385 #ifdef __cplusplus
29386 "C"
29387 #endif
29388 #if defined(__STDC__) || defined(__cplusplus)
29389 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29390 #else
29391 size_t iconv();
29392 #endif
29393
29394 int
29395 main ()
29396 {
29397
29398 ;
29399 return 0;
29400 }
29401 _ACEOF
29402 rm -f conftest.$ac_objext
29403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29404 (eval $ac_compile) 2>conftest.er1
29405 ac_status=$?
29406 grep -v '^ *+' conftest.er1 >conftest.err
29407 rm -f conftest.er1
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try='test -z "$ac_cxx_werror_flag"
29412 || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29421 ac_status=$?
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 wx_cv_func_iconv_const="no"
29425 else
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29428
29429 wx_cv_func_iconv_const="yes"
29430
29431 fi
29432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29433
29434 fi
29435 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29436 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29437
29438 iconv_const=
29439 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29440 iconv_const="const"
29441 fi
29442
29443
29444 cat >>confdefs.h <<_ACEOF
29445 #define ICONV_CONST $iconv_const
29446 _ACEOF
29447
29448 fi
29449 LIBICONV=
29450 if test "$am_cv_lib_iconv" = yes; then
29451 LIBICONV="-liconv"
29452 fi
29453
29454
29455 LIBS="$LIBICONV $LIBS"
29456 ac_ext=c
29457 ac_cpp='$CPP $CPPFLAGS'
29458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29461
29462
29463 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29464
29465 for ac_func in sigaction
29466 do
29467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29468 echo "$as_me:$LINENO: checking for $ac_func" >&5
29469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29470 if eval "test \"\${$as_ac_var+set}\" = set"; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 else
29473 cat >conftest.$ac_ext <<_ACEOF
29474 /* confdefs.h. */
29475 _ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29481 #define $ac_func innocuous_$ac_func
29482
29483 /* System header to define __stub macros and hopefully few prototypes,
29484 which can conflict with char $ac_func (); below.
29485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29486 <limits.h> exists even on freestanding compilers. */
29487
29488 #ifdef __STDC__
29489 # include <limits.h>
29490 #else
29491 # include <assert.h>
29492 #endif
29493
29494 #undef $ac_func
29495
29496 /* Override any gcc2 internal prototype to avoid an error. */
29497 #ifdef __cplusplus
29498 extern "C"
29499 {
29500 #endif
29501 /* We use char because int might match the return type of a gcc2
29502 builtin and then its argument prototype would still apply. */
29503 char $ac_func ();
29504 /* The GNU C library defines this for functions which it implements
29505 to always fail with ENOSYS. Some functions are actually named
29506 something starting with __ and the normal name is an alias. */
29507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29508 choke me
29509 #else
29510 char (*f) () = $ac_func;
29511 #endif
29512 #ifdef __cplusplus
29513 }
29514 #endif
29515
29516 int
29517 main ()
29518 {
29519 return f != $ac_func;
29520 ;
29521 return 0;
29522 }
29523 _ACEOF
29524 rm -f conftest.$ac_objext conftest$ac_exeext
29525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29526 (eval $ac_link) 2>conftest.er1
29527 ac_status=$?
29528 grep -v '^ *+' conftest.er1 >conftest.err
29529 rm -f conftest.er1
29530 cat conftest.err >&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } &&
29533 { ac_try='test -z "$ac_c_werror_flag"
29534 || test ! -s conftest.err'
29535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29536 (eval $ac_try) 2>&5
29537 ac_status=$?
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; } &&
29540 { ac_try='test -s conftest$ac_exeext'
29541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29542 (eval $ac_try) 2>&5
29543 ac_status=$?
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); }; }; then
29546 eval "$as_ac_var=yes"
29547 else
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.$ac_ext >&5
29550
29551 eval "$as_ac_var=no"
29552 fi
29553 rm -f conftest.err conftest.$ac_objext \
29554 conftest$ac_exeext conftest.$ac_ext
29555 fi
29556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29558 if test `eval echo '${'$as_ac_var'}'` = yes; then
29559 cat >>confdefs.h <<_ACEOF
29560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29561 _ACEOF
29562
29563 fi
29564 done
29565
29566
29567 if test "$ac_cv_func_sigaction" = "no"; then
29568 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29569 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29570 wxUSE_ON_FATAL_EXCEPTION=no
29571 fi
29572
29573 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29574
29575
29576 ac_ext=cc
29577 ac_cpp='$CXXCPP $CPPFLAGS'
29578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29581
29582
29583 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29584 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29585 if test "${wx_cv_type_sa_handler+set}" = set; then
29586 echo $ECHO_N "(cached) $ECHO_C" >&6
29587 else
29588
29589 cat >conftest.$ac_ext <<_ACEOF
29590 /* confdefs.h. */
29591 _ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29595 #include <signal.h>
29596 int
29597 main ()
29598 {
29599
29600 extern void testSigHandler(int);
29601
29602 struct sigaction sa;
29603 sa.sa_handler = testSigHandler;
29604
29605 ;
29606 return 0;
29607 }
29608 _ACEOF
29609 rm -f conftest.$ac_objext
29610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29611 (eval $ac_compile) 2>conftest.er1
29612 ac_status=$?
29613 grep -v '^ *+' conftest.er1 >conftest.err
29614 rm -f conftest.er1
29615 cat conftest.err >&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); } &&
29618 { ac_try='test -z "$ac_cxx_werror_flag"
29619 || test ! -s conftest.err'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29622 ac_status=$?
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; } &&
29625 { ac_try='test -s conftest.$ac_objext'
29626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29627 (eval $ac_try) 2>&5
29628 ac_status=$?
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); }; }; then
29631
29632 wx_cv_type_sa_handler=int
29633
29634 else
29635 echo "$as_me: failed program was:" >&5
29636 sed 's/^/| /' conftest.$ac_ext >&5
29637
29638
29639 wx_cv_type_sa_handler=void
29640
29641 fi
29642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29643
29644 fi
29645 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29646 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29647
29648 ac_ext=c
29649 ac_cpp='$CPP $CPPFLAGS'
29650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29653
29654
29655 cat >>confdefs.h <<_ACEOF
29656 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29657 _ACEOF
29658
29659 fi
29660 fi
29661
29662
29663
29664 for ac_func in mkstemp mktemp
29665 do
29666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29667 echo "$as_me:$LINENO: checking for $ac_func" >&5
29668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29669 if eval "test \"\${$as_ac_var+set}\" = set"; then
29670 echo $ECHO_N "(cached) $ECHO_C" >&6
29671 else
29672 cat >conftest.$ac_ext <<_ACEOF
29673 /* confdefs.h. */
29674 _ACEOF
29675 cat confdefs.h >>conftest.$ac_ext
29676 cat >>conftest.$ac_ext <<_ACEOF
29677 /* end confdefs.h. */
29678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29680 #define $ac_func innocuous_$ac_func
29681
29682 /* System header to define __stub macros and hopefully few prototypes,
29683 which can conflict with char $ac_func (); below.
29684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29685 <limits.h> exists even on freestanding compilers. */
29686
29687 #ifdef __STDC__
29688 # include <limits.h>
29689 #else
29690 # include <assert.h>
29691 #endif
29692
29693 #undef $ac_func
29694
29695 /* Override any gcc2 internal prototype to avoid an error. */
29696 #ifdef __cplusplus
29697 extern "C"
29698 {
29699 #endif
29700 /* We use char because int might match the return type of a gcc2
29701 builtin and then its argument prototype would still apply. */
29702 char $ac_func ();
29703 /* The GNU C library defines this for functions which it implements
29704 to always fail with ENOSYS. Some functions are actually named
29705 something starting with __ and the normal name is an alias. */
29706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29707 choke me
29708 #else
29709 char (*f) () = $ac_func;
29710 #endif
29711 #ifdef __cplusplus
29712 }
29713 #endif
29714
29715 int
29716 main ()
29717 {
29718 return f != $ac_func;
29719 ;
29720 return 0;
29721 }
29722 _ACEOF
29723 rm -f conftest.$ac_objext conftest$ac_exeext
29724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29725 (eval $ac_link) 2>conftest.er1
29726 ac_status=$?
29727 grep -v '^ *+' conftest.er1 >conftest.err
29728 rm -f conftest.er1
29729 cat conftest.err >&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); } &&
29732 { ac_try='test -z "$ac_c_werror_flag"
29733 || test ! -s conftest.err'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; } &&
29739 { ac_try='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29742 ac_status=$?
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29745 eval "$as_ac_var=yes"
29746 else
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29749
29750 eval "$as_ac_var=no"
29751 fi
29752 rm -f conftest.err conftest.$ac_objext \
29753 conftest$ac_exeext conftest.$ac_ext
29754 fi
29755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29757 if test `eval echo '${'$as_ac_var'}'` = yes; then
29758 cat >>confdefs.h <<_ACEOF
29759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29760 _ACEOF
29761 break
29762 fi
29763 done
29764
29765
29766 echo "$as_me:$LINENO: checking for statfs" >&5
29767 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29768 if test "${wx_cv_func_statfs+set}" = set; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29770 else
29771 cat >conftest.$ac_ext <<_ACEOF
29772 /* confdefs.h. */
29773 _ACEOF
29774 cat confdefs.h >>conftest.$ac_ext
29775 cat >>conftest.$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29777
29778 #if defined(__BSD__)
29779 #include <sys/param.h>
29780 #include <sys/mount.h>
29781 #else
29782 #include <sys/vfs.h>
29783 #endif
29784
29785 int
29786 main ()
29787 {
29788
29789 long l;
29790 struct statfs fs;
29791 statfs("/", &fs);
29792 l = fs.f_bsize;
29793 l += fs.f_blocks;
29794 l += fs.f_bavail;
29795
29796 ;
29797 return 0;
29798 }
29799 _ACEOF
29800 rm -f conftest.$ac_objext
29801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29802 (eval $ac_compile) 2>conftest.er1
29803 ac_status=$?
29804 grep -v '^ *+' conftest.er1 >conftest.err
29805 rm -f conftest.er1
29806 cat conftest.err >&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } &&
29809 { ac_try='test -z "$ac_c_werror_flag"
29810 || test ! -s conftest.err'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; } &&
29816 { ac_try='test -s conftest.$ac_objext'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29819 ac_status=$?
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; }; then
29822
29823 wx_cv_func_statfs=yes
29824
29825 else
29826 echo "$as_me: failed program was:" >&5
29827 sed 's/^/| /' conftest.$ac_ext >&5
29828
29829
29830 wx_cv_func_statfs=no
29831
29832
29833 fi
29834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29835
29836 fi
29837 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29838 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29839
29840 if test "$wx_cv_func_statfs" = "yes"; then
29841 wx_cv_type_statvfs_t="struct statfs"
29842 cat >>confdefs.h <<\_ACEOF
29843 #define HAVE_STATFS 1
29844 _ACEOF
29845
29846 else
29847 echo "$as_me:$LINENO: checking for statvfs" >&5
29848 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29849 if test "${wx_cv_func_statvfs+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29852 cat >conftest.$ac_ext <<_ACEOF
29853 /* confdefs.h. */
29854 _ACEOF
29855 cat confdefs.h >>conftest.$ac_ext
29856 cat >>conftest.$ac_ext <<_ACEOF
29857 /* end confdefs.h. */
29858
29859 #include <stddef.h>
29860 #include <sys/statvfs.h>
29861
29862 int
29863 main ()
29864 {
29865
29866 statvfs("/", NULL);
29867
29868 ;
29869 return 0;
29870 }
29871 _ACEOF
29872 rm -f conftest.$ac_objext
29873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29874 (eval $ac_compile) 2>conftest.er1
29875 ac_status=$?
29876 grep -v '^ *+' conftest.er1 >conftest.err
29877 rm -f conftest.er1
29878 cat conftest.err >&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); } &&
29881 { ac_try='test -z "$ac_c_werror_flag"
29882 || test ! -s conftest.err'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29885 ac_status=$?
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; } &&
29888 { ac_try='test -s conftest.$ac_objext'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29891 ac_status=$?
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; }; then
29894 wx_cv_func_statvfs=yes
29895 else
29896 echo "$as_me: failed program was:" >&5
29897 sed 's/^/| /' conftest.$ac_ext >&5
29898
29899 wx_cv_func_statvfs=no
29900
29901 fi
29902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29903
29904 fi
29905 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29906 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29907
29908 if test "$wx_cv_func_statvfs" = "yes"; then
29909
29910
29911 ac_ext=cc
29912 ac_cpp='$CXXCPP $CPPFLAGS'
29913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916
29917
29918 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29919 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29920 if test "${wx_cv_type_statvfs_t+set}" = set; then
29921 echo $ECHO_N "(cached) $ECHO_C" >&6
29922 else
29923 cat >conftest.$ac_ext <<_ACEOF
29924 /* confdefs.h. */
29925 _ACEOF
29926 cat confdefs.h >>conftest.$ac_ext
29927 cat >>conftest.$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29929
29930 #include <sys/statvfs.h>
29931
29932 int
29933 main ()
29934 {
29935
29936 long l;
29937 statvfs_t fs;
29938 statvfs("/", &fs);
29939 l = fs.f_bsize;
29940 l += fs.f_blocks;
29941 l += fs.f_bavail;
29942
29943 ;
29944 return 0;
29945 }
29946 _ACEOF
29947 rm -f conftest.$ac_objext
29948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29949 (eval $ac_compile) 2>conftest.er1
29950 ac_status=$?
29951 grep -v '^ *+' conftest.er1 >conftest.err
29952 rm -f conftest.er1
29953 cat conftest.err >&5
29954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955 (exit $ac_status); } &&
29956 { ac_try='test -z "$ac_cxx_werror_flag"
29957 || test ! -s conftest.err'
29958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29959 (eval $ac_try) 2>&5
29960 ac_status=$?
29961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962 (exit $ac_status); }; } &&
29963 { ac_try='test -s conftest.$ac_objext'
29964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29965 (eval $ac_try) 2>&5
29966 ac_status=$?
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); }; }; then
29969 wx_cv_type_statvfs_t=statvfs_t
29970 else
29971 echo "$as_me: failed program was:" >&5
29972 sed 's/^/| /' conftest.$ac_ext >&5
29973
29974
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
29982 #include <sys/statvfs.h>
29983
29984 int
29985 main ()
29986 {
29987
29988 long l;
29989 struct statvfs fs;
29990 statvfs("/", &fs);
29991 l = fs.f_bsize;
29992 l += fs.f_blocks;
29993 l += fs.f_bavail;
29994
29995 ;
29996 return 0;
29997 }
29998 _ACEOF
29999 rm -f conftest.$ac_objext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30001 (eval $ac_compile) 2>conftest.er1
30002 ac_status=$?
30003 grep -v '^ *+' conftest.er1 >conftest.err
30004 rm -f conftest.er1
30005 cat conftest.err >&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); } &&
30008 { ac_try='test -z "$ac_cxx_werror_flag"
30009 || test ! -s conftest.err'
30010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011 (eval $ac_try) 2>&5
30012 ac_status=$?
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; } &&
30015 { ac_try='test -s conftest.$ac_objext'
30016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30017 (eval $ac_try) 2>&5
30018 ac_status=$?
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); }; }; then
30021 wx_cv_type_statvfs_t="struct statvfs"
30022 else
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.$ac_ext >&5
30025
30026 wx_cv_type_statvfs_t="unknown"
30027
30028 fi
30029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30030
30031
30032 fi
30033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30034
30035 fi
30036 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30037 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30038
30039 ac_ext=c
30040 ac_cpp='$CPP $CPPFLAGS'
30041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30044
30045
30046 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30047 cat >>confdefs.h <<\_ACEOF
30048 #define HAVE_STATVFS 1
30049 _ACEOF
30050
30051 fi
30052 else
30053 wx_cv_type_statvfs_t="unknown"
30054 fi
30055 fi
30056
30057 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30058 cat >>confdefs.h <<_ACEOF
30059 #define WX_STATFS_T $wx_cv_type_statvfs_t
30060 _ACEOF
30061
30062 else
30063 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30064 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30065 fi
30066
30067 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30068
30069
30070 for ac_func in fcntl flock
30071 do
30072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30073 echo "$as_me:$LINENO: checking for $ac_func" >&5
30074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30075 if eval "test \"\${$as_ac_var+set}\" = set"; then
30076 echo $ECHO_N "(cached) $ECHO_C" >&6
30077 else
30078 cat >conftest.$ac_ext <<_ACEOF
30079 /* confdefs.h. */
30080 _ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30086 #define $ac_func innocuous_$ac_func
30087
30088 /* System header to define __stub macros and hopefully few prototypes,
30089 which can conflict with char $ac_func (); below.
30090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30091 <limits.h> exists even on freestanding compilers. */
30092
30093 #ifdef __STDC__
30094 # include <limits.h>
30095 #else
30096 # include <assert.h>
30097 #endif
30098
30099 #undef $ac_func
30100
30101 /* Override any gcc2 internal prototype to avoid an error. */
30102 #ifdef __cplusplus
30103 extern "C"
30104 {
30105 #endif
30106 /* We use char because int might match the return type of a gcc2
30107 builtin and then its argument prototype would still apply. */
30108 char $ac_func ();
30109 /* The GNU C library defines this for functions which it implements
30110 to always fail with ENOSYS. Some functions are actually named
30111 something starting with __ and the normal name is an alias. */
30112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30113 choke me
30114 #else
30115 char (*f) () = $ac_func;
30116 #endif
30117 #ifdef __cplusplus
30118 }
30119 #endif
30120
30121 int
30122 main ()
30123 {
30124 return f != $ac_func;
30125 ;
30126 return 0;
30127 }
30128 _ACEOF
30129 rm -f conftest.$ac_objext conftest$ac_exeext
30130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30131 (eval $ac_link) 2>conftest.er1
30132 ac_status=$?
30133 grep -v '^ *+' conftest.er1 >conftest.err
30134 rm -f conftest.er1
30135 cat conftest.err >&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); } &&
30138 { ac_try='test -z "$ac_c_werror_flag"
30139 || test ! -s conftest.err'
30140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30141 (eval $ac_try) 2>&5
30142 ac_status=$?
30143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30144 (exit $ac_status); }; } &&
30145 { ac_try='test -s conftest$ac_exeext'
30146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30147 (eval $ac_try) 2>&5
30148 ac_status=$?
30149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30150 (exit $ac_status); }; }; then
30151 eval "$as_ac_var=yes"
30152 else
30153 echo "$as_me: failed program was:" >&5
30154 sed 's/^/| /' conftest.$ac_ext >&5
30155
30156 eval "$as_ac_var=no"
30157 fi
30158 rm -f conftest.err conftest.$ac_objext \
30159 conftest$ac_exeext conftest.$ac_ext
30160 fi
30161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30163 if test `eval echo '${'$as_ac_var'}'` = yes; then
30164 cat >>confdefs.h <<_ACEOF
30165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30166 _ACEOF
30167 break
30168 fi
30169 done
30170
30171
30172 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30173 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30174 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30175 wxUSE_SNGLINST_CHECKER=no
30176 fi
30177 fi
30178
30179
30180 for ac_func in timegm
30181 do
30182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30183 echo "$as_me:$LINENO: checking for $ac_func" >&5
30184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30185 if eval "test \"\${$as_ac_var+set}\" = set"; then
30186 echo $ECHO_N "(cached) $ECHO_C" >&6
30187 else
30188 cat >conftest.$ac_ext <<_ACEOF
30189 /* confdefs.h. */
30190 _ACEOF
30191 cat confdefs.h >>conftest.$ac_ext
30192 cat >>conftest.$ac_ext <<_ACEOF
30193 /* end confdefs.h. */
30194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30196 #define $ac_func innocuous_$ac_func
30197
30198 /* System header to define __stub macros and hopefully few prototypes,
30199 which can conflict with char $ac_func (); below.
30200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30201 <limits.h> exists even on freestanding compilers. */
30202
30203 #ifdef __STDC__
30204 # include <limits.h>
30205 #else
30206 # include <assert.h>
30207 #endif
30208
30209 #undef $ac_func
30210
30211 /* Override any gcc2 internal prototype to avoid an error. */
30212 #ifdef __cplusplus
30213 extern "C"
30214 {
30215 #endif
30216 /* We use char because int might match the return type of a gcc2
30217 builtin and then its argument prototype would still apply. */
30218 char $ac_func ();
30219 /* The GNU C library defines this for functions which it implements
30220 to always fail with ENOSYS. Some functions are actually named
30221 something starting with __ and the normal name is an alias. */
30222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30223 choke me
30224 #else
30225 char (*f) () = $ac_func;
30226 #endif
30227 #ifdef __cplusplus
30228 }
30229 #endif
30230
30231 int
30232 main ()
30233 {
30234 return f != $ac_func;
30235 ;
30236 return 0;
30237 }
30238 _ACEOF
30239 rm -f conftest.$ac_objext conftest$ac_exeext
30240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30241 (eval $ac_link) 2>conftest.er1
30242 ac_status=$?
30243 grep -v '^ *+' conftest.er1 >conftest.err
30244 rm -f conftest.er1
30245 cat conftest.err >&5
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); } &&
30248 { ac_try='test -z "$ac_c_werror_flag"
30249 || test ! -s conftest.err'
30250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251 (eval $ac_try) 2>&5
30252 ac_status=$?
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; } &&
30255 { ac_try='test -s conftest$ac_exeext'
30256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30257 (eval $ac_try) 2>&5
30258 ac_status=$?
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); }; }; then
30261 eval "$as_ac_var=yes"
30262 else
30263 echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.$ac_ext >&5
30265
30266 eval "$as_ac_var=no"
30267 fi
30268 rm -f conftest.err conftest.$ac_objext \
30269 conftest$ac_exeext conftest.$ac_ext
30270 fi
30271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30273 if test `eval echo '${'$as_ac_var'}'` = yes; then
30274 cat >>confdefs.h <<_ACEOF
30275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30276 _ACEOF
30277
30278 fi
30279 done
30280
30281
30282
30283
30284 for ac_func in putenv setenv
30285 do
30286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30287 echo "$as_me:$LINENO: checking for $ac_func" >&5
30288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30289 if eval "test \"\${$as_ac_var+set}\" = set"; then
30290 echo $ECHO_N "(cached) $ECHO_C" >&6
30291 else
30292 cat >conftest.$ac_ext <<_ACEOF
30293 /* confdefs.h. */
30294 _ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30300 #define $ac_func innocuous_$ac_func
30301
30302 /* System header to define __stub macros and hopefully few prototypes,
30303 which can conflict with char $ac_func (); below.
30304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30305 <limits.h> exists even on freestanding compilers. */
30306
30307 #ifdef __STDC__
30308 # include <limits.h>
30309 #else
30310 # include <assert.h>
30311 #endif
30312
30313 #undef $ac_func
30314
30315 /* Override any gcc2 internal prototype to avoid an error. */
30316 #ifdef __cplusplus
30317 extern "C"
30318 {
30319 #endif
30320 /* We use char because int might match the return type of a gcc2
30321 builtin and then its argument prototype would still apply. */
30322 char $ac_func ();
30323 /* The GNU C library defines this for functions which it implements
30324 to always fail with ENOSYS. Some functions are actually named
30325 something starting with __ and the normal name is an alias. */
30326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30327 choke me
30328 #else
30329 char (*f) () = $ac_func;
30330 #endif
30331 #ifdef __cplusplus
30332 }
30333 #endif
30334
30335 int
30336 main ()
30337 {
30338 return f != $ac_func;
30339 ;
30340 return 0;
30341 }
30342 _ACEOF
30343 rm -f conftest.$ac_objext conftest$ac_exeext
30344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30345 (eval $ac_link) 2>conftest.er1
30346 ac_status=$?
30347 grep -v '^ *+' conftest.er1 >conftest.err
30348 rm -f conftest.er1
30349 cat conftest.err >&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } &&
30352 { ac_try='test -z "$ac_c_werror_flag"
30353 || test ! -s conftest.err'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30356 ac_status=$?
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; } &&
30359 { ac_try='test -s conftest$ac_exeext'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30362 ac_status=$?
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; }; then
30365 eval "$as_ac_var=yes"
30366 else
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.$ac_ext >&5
30369
30370 eval "$as_ac_var=no"
30371 fi
30372 rm -f conftest.err conftest.$ac_objext \
30373 conftest$ac_exeext conftest.$ac_ext
30374 fi
30375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30377 if test `eval echo '${'$as_ac_var'}'` = yes; then
30378 cat >>confdefs.h <<_ACEOF
30379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30380 _ACEOF
30381 break
30382 fi
30383 done
30384
30385
30386 HAVE_SOME_SLEEP_FUNC=0
30387 if test "$USE_BEOS" = 1; then
30388 cat >>confdefs.h <<\_ACEOF
30389 #define HAVE_SLEEP 1
30390 _ACEOF
30391
30392 HAVE_SOME_SLEEP_FUNC=1
30393 fi
30394
30395 if test "$USE_DARWIN" = 1; then
30396 cat >>confdefs.h <<\_ACEOF
30397 #define HAVE_USLEEP 1
30398 _ACEOF
30399
30400 HAVE_SOME_SLEEP_FUNC=1
30401 fi
30402
30403 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30404 POSIX4_LINK=
30405
30406 for ac_func in nanosleep
30407 do
30408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30409 echo "$as_me:$LINENO: checking for $ac_func" >&5
30410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30411 if eval "test \"\${$as_ac_var+set}\" = set"; then
30412 echo $ECHO_N "(cached) $ECHO_C" >&6
30413 else
30414 cat >conftest.$ac_ext <<_ACEOF
30415 /* confdefs.h. */
30416 _ACEOF
30417 cat confdefs.h >>conftest.$ac_ext
30418 cat >>conftest.$ac_ext <<_ACEOF
30419 /* end confdefs.h. */
30420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30422 #define $ac_func innocuous_$ac_func
30423
30424 /* System header to define __stub macros and hopefully few prototypes,
30425 which can conflict with char $ac_func (); below.
30426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30427 <limits.h> exists even on freestanding compilers. */
30428
30429 #ifdef __STDC__
30430 # include <limits.h>
30431 #else
30432 # include <assert.h>
30433 #endif
30434
30435 #undef $ac_func
30436
30437 /* Override any gcc2 internal prototype to avoid an error. */
30438 #ifdef __cplusplus
30439 extern "C"
30440 {
30441 #endif
30442 /* We use char because int might match the return type of a gcc2
30443 builtin and then its argument prototype would still apply. */
30444 char $ac_func ();
30445 /* The GNU C library defines this for functions which it implements
30446 to always fail with ENOSYS. Some functions are actually named
30447 something starting with __ and the normal name is an alias. */
30448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30449 choke me
30450 #else
30451 char (*f) () = $ac_func;
30452 #endif
30453 #ifdef __cplusplus
30454 }
30455 #endif
30456
30457 int
30458 main ()
30459 {
30460 return f != $ac_func;
30461 ;
30462 return 0;
30463 }
30464 _ACEOF
30465 rm -f conftest.$ac_objext conftest$ac_exeext
30466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30467 (eval $ac_link) 2>conftest.er1
30468 ac_status=$?
30469 grep -v '^ *+' conftest.er1 >conftest.err
30470 rm -f conftest.er1
30471 cat conftest.err >&5
30472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30473 (exit $ac_status); } &&
30474 { ac_try='test -z "$ac_c_werror_flag"
30475 || test ! -s conftest.err'
30476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30477 (eval $ac_try) 2>&5
30478 ac_status=$?
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); }; } &&
30481 { ac_try='test -s conftest$ac_exeext'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30484 ac_status=$?
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; }; then
30487 eval "$as_ac_var=yes"
30488 else
30489 echo "$as_me: failed program was:" >&5
30490 sed 's/^/| /' conftest.$ac_ext >&5
30491
30492 eval "$as_ac_var=no"
30493 fi
30494 rm -f conftest.err conftest.$ac_objext \
30495 conftest$ac_exeext conftest.$ac_ext
30496 fi
30497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30499 if test `eval echo '${'$as_ac_var'}'` = yes; then
30500 cat >>confdefs.h <<_ACEOF
30501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30502 _ACEOF
30503 cat >>confdefs.h <<\_ACEOF
30504 #define HAVE_NANOSLEEP 1
30505 _ACEOF
30506
30507 else
30508
30509 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30510 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30511 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30512 echo $ECHO_N "(cached) $ECHO_C" >&6
30513 else
30514 ac_check_lib_save_LIBS=$LIBS
30515 LIBS="-lposix4 $LIBS"
30516 cat >conftest.$ac_ext <<_ACEOF
30517 /* confdefs.h. */
30518 _ACEOF
30519 cat confdefs.h >>conftest.$ac_ext
30520 cat >>conftest.$ac_ext <<_ACEOF
30521 /* end confdefs.h. */
30522
30523 /* Override any gcc2 internal prototype to avoid an error. */
30524 #ifdef __cplusplus
30525 extern "C"
30526 #endif
30527 /* We use char because int might match the return type of a gcc2
30528 builtin and then its argument prototype would still apply. */
30529 char nanosleep ();
30530 int
30531 main ()
30532 {
30533 nanosleep ();
30534 ;
30535 return 0;
30536 }
30537 _ACEOF
30538 rm -f conftest.$ac_objext conftest$ac_exeext
30539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30540 (eval $ac_link) 2>conftest.er1
30541 ac_status=$?
30542 grep -v '^ *+' conftest.er1 >conftest.err
30543 rm -f conftest.er1
30544 cat conftest.err >&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } &&
30547 { ac_try='test -z "$ac_c_werror_flag"
30548 || test ! -s conftest.err'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30551 ac_status=$?
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; } &&
30554 { ac_try='test -s conftest$ac_exeext'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30557 ac_status=$?
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; }; then
30560 ac_cv_lib_posix4_nanosleep=yes
30561 else
30562 echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.$ac_ext >&5
30564
30565 ac_cv_lib_posix4_nanosleep=no
30566 fi
30567 rm -f conftest.err conftest.$ac_objext \
30568 conftest$ac_exeext conftest.$ac_ext
30569 LIBS=$ac_check_lib_save_LIBS
30570 fi
30571 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30572 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30573 if test $ac_cv_lib_posix4_nanosleep = yes; then
30574
30575 cat >>confdefs.h <<\_ACEOF
30576 #define HAVE_NANOSLEEP 1
30577 _ACEOF
30578
30579 POSIX4_LINK=" -lposix4"
30580
30581 else
30582
30583
30584 for ac_func in usleep
30585 do
30586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30587 echo "$as_me:$LINENO: checking for $ac_func" >&5
30588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30589 if eval "test \"\${$as_ac_var+set}\" = set"; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30591 else
30592 cat >conftest.$ac_ext <<_ACEOF
30593 /* confdefs.h. */
30594 _ACEOF
30595 cat confdefs.h >>conftest.$ac_ext
30596 cat >>conftest.$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30600 #define $ac_func innocuous_$ac_func
30601
30602 /* System header to define __stub macros and hopefully few prototypes,
30603 which can conflict with char $ac_func (); below.
30604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30605 <limits.h> exists even on freestanding compilers. */
30606
30607 #ifdef __STDC__
30608 # include <limits.h>
30609 #else
30610 # include <assert.h>
30611 #endif
30612
30613 #undef $ac_func
30614
30615 /* Override any gcc2 internal prototype to avoid an error. */
30616 #ifdef __cplusplus
30617 extern "C"
30618 {
30619 #endif
30620 /* We use char because int might match the return type of a gcc2
30621 builtin and then its argument prototype would still apply. */
30622 char $ac_func ();
30623 /* The GNU C library defines this for functions which it implements
30624 to always fail with ENOSYS. Some functions are actually named
30625 something starting with __ and the normal name is an alias. */
30626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30627 choke me
30628 #else
30629 char (*f) () = $ac_func;
30630 #endif
30631 #ifdef __cplusplus
30632 }
30633 #endif
30634
30635 int
30636 main ()
30637 {
30638 return f != $ac_func;
30639 ;
30640 return 0;
30641 }
30642 _ACEOF
30643 rm -f conftest.$ac_objext conftest$ac_exeext
30644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30645 (eval $ac_link) 2>conftest.er1
30646 ac_status=$?
30647 grep -v '^ *+' conftest.er1 >conftest.err
30648 rm -f conftest.er1
30649 cat conftest.err >&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try='test -z "$ac_c_werror_flag"
30653 || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30656 ac_status=$?
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try='test -s conftest$ac_exeext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30662 ac_status=$?
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 eval "$as_ac_var=yes"
30666 else
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.$ac_ext >&5
30669
30670 eval "$as_ac_var=no"
30671 fi
30672 rm -f conftest.err conftest.$ac_objext \
30673 conftest$ac_exeext conftest.$ac_ext
30674 fi
30675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30677 if test `eval echo '${'$as_ac_var'}'` = yes; then
30678 cat >>confdefs.h <<_ACEOF
30679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30680 _ACEOF
30681 cat >>confdefs.h <<\_ACEOF
30682 #define HAVE_USLEEP 1
30683 _ACEOF
30684
30685 else
30686 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30687 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30688
30689 fi
30690 done
30691
30692
30693
30694 fi
30695
30696
30697
30698 fi
30699 done
30700
30701 fi
30702
30703
30704
30705 for ac_func in uname gethostname
30706 do
30707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30708 echo "$as_me:$LINENO: checking for $ac_func" >&5
30709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30710 if eval "test \"\${$as_ac_var+set}\" = set"; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 else
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30721 #define $ac_func innocuous_$ac_func
30722
30723 /* System header to define __stub macros and hopefully few prototypes,
30724 which can conflict with char $ac_func (); below.
30725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30726 <limits.h> exists even on freestanding compilers. */
30727
30728 #ifdef __STDC__
30729 # include <limits.h>
30730 #else
30731 # include <assert.h>
30732 #endif
30733
30734 #undef $ac_func
30735
30736 /* Override any gcc2 internal prototype to avoid an error. */
30737 #ifdef __cplusplus
30738 extern "C"
30739 {
30740 #endif
30741 /* We use char because int might match the return type of a gcc2
30742 builtin and then its argument prototype would still apply. */
30743 char $ac_func ();
30744 /* The GNU C library defines this for functions which it implements
30745 to always fail with ENOSYS. Some functions are actually named
30746 something starting with __ and the normal name is an alias. */
30747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30748 choke me
30749 #else
30750 char (*f) () = $ac_func;
30751 #endif
30752 #ifdef __cplusplus
30753 }
30754 #endif
30755
30756 int
30757 main ()
30758 {
30759 return f != $ac_func;
30760 ;
30761 return 0;
30762 }
30763 _ACEOF
30764 rm -f conftest.$ac_objext conftest$ac_exeext
30765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30766 (eval $ac_link) 2>conftest.er1
30767 ac_status=$?
30768 grep -v '^ *+' conftest.er1 >conftest.err
30769 rm -f conftest.er1
30770 cat conftest.err >&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } &&
30773 { ac_try='test -z "$ac_c_werror_flag"
30774 || test ! -s conftest.err'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30777 ac_status=$?
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; } &&
30780 { ac_try='test -s conftest$ac_exeext'
30781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30782 (eval $ac_try) 2>&5
30783 ac_status=$?
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); }; }; then
30786 eval "$as_ac_var=yes"
30787 else
30788 echo "$as_me: failed program was:" >&5
30789 sed 's/^/| /' conftest.$ac_ext >&5
30790
30791 eval "$as_ac_var=no"
30792 fi
30793 rm -f conftest.err conftest.$ac_objext \
30794 conftest$ac_exeext conftest.$ac_ext
30795 fi
30796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30798 if test `eval echo '${'$as_ac_var'}'` = yes; then
30799 cat >>confdefs.h <<_ACEOF
30800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30801 _ACEOF
30802 break
30803 fi
30804 done
30805
30806
30807
30808
30809 ac_ext=cc
30810 ac_cpp='$CXXCPP $CPPFLAGS'
30811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30814
30815
30816
30817 for ac_func in strtok_r
30818 do
30819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30820 echo "$as_me:$LINENO: checking for $ac_func" >&5
30821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30822 if eval "test \"\${$as_ac_var+set}\" = set"; then
30823 echo $ECHO_N "(cached) $ECHO_C" >&6
30824 else
30825 cat >conftest.$ac_ext <<_ACEOF
30826 /* confdefs.h. */
30827 _ACEOF
30828 cat confdefs.h >>conftest.$ac_ext
30829 cat >>conftest.$ac_ext <<_ACEOF
30830 /* end confdefs.h. */
30831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30833 #define $ac_func innocuous_$ac_func
30834
30835 /* System header to define __stub macros and hopefully few prototypes,
30836 which can conflict with char $ac_func (); below.
30837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30838 <limits.h> exists even on freestanding compilers. */
30839
30840 #ifdef __STDC__
30841 # include <limits.h>
30842 #else
30843 # include <assert.h>
30844 #endif
30845
30846 #undef $ac_func
30847
30848 /* Override any gcc2 internal prototype to avoid an error. */
30849 #ifdef __cplusplus
30850 extern "C"
30851 {
30852 #endif
30853 /* We use char because int might match the return type of a gcc2
30854 builtin and then its argument prototype would still apply. */
30855 char $ac_func ();
30856 /* The GNU C library defines this for functions which it implements
30857 to always fail with ENOSYS. Some functions are actually named
30858 something starting with __ and the normal name is an alias. */
30859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30860 choke me
30861 #else
30862 char (*f) () = $ac_func;
30863 #endif
30864 #ifdef __cplusplus
30865 }
30866 #endif
30867
30868 int
30869 main ()
30870 {
30871 return f != $ac_func;
30872 ;
30873 return 0;
30874 }
30875 _ACEOF
30876 rm -f conftest.$ac_objext conftest$ac_exeext
30877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30878 (eval $ac_link) 2>conftest.er1
30879 ac_status=$?
30880 grep -v '^ *+' conftest.er1 >conftest.err
30881 rm -f conftest.er1
30882 cat conftest.err >&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); } &&
30885 { ac_try='test -z "$ac_cxx_werror_flag"
30886 || test ! -s conftest.err'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30889 ac_status=$?
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; } &&
30892 { ac_try='test -s conftest$ac_exeext'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30895 ac_status=$?
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; }; then
30898 eval "$as_ac_var=yes"
30899 else
30900 echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.$ac_ext >&5
30902
30903 eval "$as_ac_var=no"
30904 fi
30905 rm -f conftest.err conftest.$ac_objext \
30906 conftest$ac_exeext conftest.$ac_ext
30907 fi
30908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30910 if test `eval echo '${'$as_ac_var'}'` = yes; then
30911 cat >>confdefs.h <<_ACEOF
30912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30913 _ACEOF
30914
30915 fi
30916 done
30917
30918
30919 ac_ext=c
30920 ac_cpp='$CPP $CPPFLAGS'
30921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30924
30925
30926 INET_LINK=
30927
30928 for ac_func in inet_addr
30929 do
30930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30931 echo "$as_me:$LINENO: checking for $ac_func" >&5
30932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30933 if eval "test \"\${$as_ac_var+set}\" = set"; then
30934 echo $ECHO_N "(cached) $ECHO_C" >&6
30935 else
30936 cat >conftest.$ac_ext <<_ACEOF
30937 /* confdefs.h. */
30938 _ACEOF
30939 cat confdefs.h >>conftest.$ac_ext
30940 cat >>conftest.$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30944 #define $ac_func innocuous_$ac_func
30945
30946 /* System header to define __stub macros and hopefully few prototypes,
30947 which can conflict with char $ac_func (); below.
30948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30949 <limits.h> exists even on freestanding compilers. */
30950
30951 #ifdef __STDC__
30952 # include <limits.h>
30953 #else
30954 # include <assert.h>
30955 #endif
30956
30957 #undef $ac_func
30958
30959 /* Override any gcc2 internal prototype to avoid an error. */
30960 #ifdef __cplusplus
30961 extern "C"
30962 {
30963 #endif
30964 /* We use char because int might match the return type of a gcc2
30965 builtin and then its argument prototype would still apply. */
30966 char $ac_func ();
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30971 choke me
30972 #else
30973 char (*f) () = $ac_func;
30974 #endif
30975 #ifdef __cplusplus
30976 }
30977 #endif
30978
30979 int
30980 main ()
30981 {
30982 return f != $ac_func;
30983 ;
30984 return 0;
30985 }
30986 _ACEOF
30987 rm -f conftest.$ac_objext conftest$ac_exeext
30988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30989 (eval $ac_link) 2>conftest.er1
30990 ac_status=$?
30991 grep -v '^ *+' conftest.er1 >conftest.err
30992 rm -f conftest.er1
30993 cat conftest.err >&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try='test -z "$ac_c_werror_flag"
30997 || test ! -s conftest.err'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; } &&
31003 { ac_try='test -s conftest$ac_exeext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 eval "$as_ac_var=yes"
31010 else
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.$ac_ext >&5
31013
31014 eval "$as_ac_var=no"
31015 fi
31016 rm -f conftest.err conftest.$ac_objext \
31017 conftest$ac_exeext conftest.$ac_ext
31018 fi
31019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31021 if test `eval echo '${'$as_ac_var'}'` = yes; then
31022 cat >>confdefs.h <<_ACEOF
31023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31024 _ACEOF
31025 cat >>confdefs.h <<\_ACEOF
31026 #define HAVE_INET_ADDR 1
31027 _ACEOF
31028
31029 else
31030
31031 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31032 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31033 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31034 echo $ECHO_N "(cached) $ECHO_C" >&6
31035 else
31036 ac_check_lib_save_LIBS=$LIBS
31037 LIBS="-lnsl $LIBS"
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044
31045 /* Override any gcc2 internal prototype to avoid an error. */
31046 #ifdef __cplusplus
31047 extern "C"
31048 #endif
31049 /* We use char because int might match the return type of a gcc2
31050 builtin and then its argument prototype would still apply. */
31051 char inet_addr ();
31052 int
31053 main ()
31054 {
31055 inet_addr ();
31056 ;
31057 return 0;
31058 }
31059 _ACEOF
31060 rm -f conftest.$ac_objext conftest$ac_exeext
31061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31062 (eval $ac_link) 2>conftest.er1
31063 ac_status=$?
31064 grep -v '^ *+' conftest.er1 >conftest.err
31065 rm -f conftest.er1
31066 cat conftest.err >&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } &&
31069 { ac_try='test -z "$ac_c_werror_flag"
31070 || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31073 ac_status=$?
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_lib_nsl_inet_addr=yes
31083 else
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.$ac_ext >&5
31086
31087 ac_cv_lib_nsl_inet_addr=no
31088 fi
31089 rm -f conftest.err conftest.$ac_objext \
31090 conftest$ac_exeext conftest.$ac_ext
31091 LIBS=$ac_check_lib_save_LIBS
31092 fi
31093 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31094 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31095 if test $ac_cv_lib_nsl_inet_addr = yes; then
31096 INET_LINK="nsl"
31097 else
31098
31099 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31100 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31101 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104 ac_check_lib_save_LIBS=$LIBS
31105 LIBS="-lresolv $LIBS"
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112
31113 /* Override any gcc2 internal prototype to avoid an error. */
31114 #ifdef __cplusplus
31115 extern "C"
31116 #endif
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31119 char inet_addr ();
31120 int
31121 main ()
31122 {
31123 inet_addr ();
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 rm -f conftest.$ac_objext conftest$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try='test -z "$ac_c_werror_flag"
31138 || test ! -s conftest.err'
31139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31140 (eval $ac_try) 2>&5
31141 ac_status=$?
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); }; } &&
31144 { ac_try='test -s conftest$ac_exeext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 ac_cv_lib_resolv_inet_addr=yes
31151 else
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.$ac_ext >&5
31154
31155 ac_cv_lib_resolv_inet_addr=no
31156 fi
31157 rm -f conftest.err conftest.$ac_objext \
31158 conftest$ac_exeext conftest.$ac_ext
31159 LIBS=$ac_check_lib_save_LIBS
31160 fi
31161 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31162 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31163 if test $ac_cv_lib_resolv_inet_addr = yes; then
31164 INET_LINK="resolv"
31165 else
31166
31167 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31168 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31169 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31170 echo $ECHO_N "(cached) $ECHO_C" >&6
31171 else
31172 ac_check_lib_save_LIBS=$LIBS
31173 LIBS="-lsocket $LIBS"
31174 cat >conftest.$ac_ext <<_ACEOF
31175 /* confdefs.h. */
31176 _ACEOF
31177 cat confdefs.h >>conftest.$ac_ext
31178 cat >>conftest.$ac_ext <<_ACEOF
31179 /* end confdefs.h. */
31180
31181 /* Override any gcc2 internal prototype to avoid an error. */
31182 #ifdef __cplusplus
31183 extern "C"
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 inet_addr ();
31188 int
31189 main ()
31190 {
31191 inet_addr ();
31192 ;
31193 return 0;
31194 }
31195 _ACEOF
31196 rm -f conftest.$ac_objext conftest$ac_exeext
31197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31198 (eval $ac_link) 2>conftest.er1
31199 ac_status=$?
31200 grep -v '^ *+' conftest.er1 >conftest.err
31201 rm -f conftest.er1
31202 cat conftest.err >&5
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } &&
31205 { ac_try='test -z "$ac_c_werror_flag"
31206 || test ! -s conftest.err'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31209 ac_status=$?
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; } &&
31212 { ac_try='test -s conftest$ac_exeext'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31215 ac_status=$?
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; }; then
31218 ac_cv_lib_socket_inet_addr=yes
31219 else
31220 echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.$ac_ext >&5
31222
31223 ac_cv_lib_socket_inet_addr=no
31224 fi
31225 rm -f conftest.err conftest.$ac_objext \
31226 conftest$ac_exeext conftest.$ac_ext
31227 LIBS=$ac_check_lib_save_LIBS
31228 fi
31229 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31230 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31231 if test $ac_cv_lib_socket_inet_addr = yes; then
31232 INET_LINK="socket"
31233
31234 fi
31235
31236
31237
31238 fi
31239
31240
31241
31242 fi
31243
31244
31245
31246 fi
31247 done
31248
31249
31250
31251 for ac_func in inet_aton
31252 do
31253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31254 echo "$as_me:$LINENO: checking for $ac_func" >&5
31255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31256 if eval "test \"\${$as_ac_var+set}\" = set"; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31258 else
31259 cat >conftest.$ac_ext <<_ACEOF
31260 /* confdefs.h. */
31261 _ACEOF
31262 cat confdefs.h >>conftest.$ac_ext
31263 cat >>conftest.$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31267 #define $ac_func innocuous_$ac_func
31268
31269 /* System header to define __stub macros and hopefully few prototypes,
31270 which can conflict with char $ac_func (); below.
31271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31272 <limits.h> exists even on freestanding compilers. */
31273
31274 #ifdef __STDC__
31275 # include <limits.h>
31276 #else
31277 # include <assert.h>
31278 #endif
31279
31280 #undef $ac_func
31281
31282 /* Override any gcc2 internal prototype to avoid an error. */
31283 #ifdef __cplusplus
31284 extern "C"
31285 {
31286 #endif
31287 /* We use char because int might match the return type of a gcc2
31288 builtin and then its argument prototype would still apply. */
31289 char $ac_func ();
31290 /* The GNU C library defines this for functions which it implements
31291 to always fail with ENOSYS. Some functions are actually named
31292 something starting with __ and the normal name is an alias. */
31293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31294 choke me
31295 #else
31296 char (*f) () = $ac_func;
31297 #endif
31298 #ifdef __cplusplus
31299 }
31300 #endif
31301
31302 int
31303 main ()
31304 {
31305 return f != $ac_func;
31306 ;
31307 return 0;
31308 }
31309 _ACEOF
31310 rm -f conftest.$ac_objext conftest$ac_exeext
31311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31312 (eval $ac_link) 2>conftest.er1
31313 ac_status=$?
31314 grep -v '^ *+' conftest.er1 >conftest.err
31315 rm -f conftest.er1
31316 cat conftest.err >&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); } &&
31319 { ac_try='test -z "$ac_c_werror_flag"
31320 || test ! -s conftest.err'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31323 ac_status=$?
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; } &&
31326 { ac_try='test -s conftest$ac_exeext'
31327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31328 (eval $ac_try) 2>&5
31329 ac_status=$?
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); }; }; then
31332 eval "$as_ac_var=yes"
31333 else
31334 echo "$as_me: failed program was:" >&5
31335 sed 's/^/| /' conftest.$ac_ext >&5
31336
31337 eval "$as_ac_var=no"
31338 fi
31339 rm -f conftest.err conftest.$ac_objext \
31340 conftest$ac_exeext conftest.$ac_ext
31341 fi
31342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31344 if test `eval echo '${'$as_ac_var'}'` = yes; then
31345 cat >>confdefs.h <<_ACEOF
31346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31347 _ACEOF
31348 cat >>confdefs.h <<\_ACEOF
31349 #define HAVE_INET_ATON 1
31350 _ACEOF
31351
31352 else
31353
31354 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31355 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31356 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31357 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31359 else
31360 ac_check_lib_save_LIBS=$LIBS
31361 LIBS="-l$INET_LINK $LIBS"
31362 cat >conftest.$ac_ext <<_ACEOF
31363 /* confdefs.h. */
31364 _ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31368
31369 /* Override any gcc2 internal prototype to avoid an error. */
31370 #ifdef __cplusplus
31371 extern "C"
31372 #endif
31373 /* We use char because int might match the return type of a gcc2
31374 builtin and then its argument prototype would still apply. */
31375 char inet_aton ();
31376 int
31377 main ()
31378 {
31379 inet_aton ();
31380 ;
31381 return 0;
31382 }
31383 _ACEOF
31384 rm -f conftest.$ac_objext conftest$ac_exeext
31385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31386 (eval $ac_link) 2>conftest.er1
31387 ac_status=$?
31388 grep -v '^ *+' conftest.er1 >conftest.err
31389 rm -f conftest.er1
31390 cat conftest.err >&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); } &&
31393 { ac_try='test -z "$ac_c_werror_flag"
31394 || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31397 ac_status=$?
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try='test -s conftest$ac_exeext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406 eval "$as_ac_Lib=yes"
31407 else
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.$ac_ext >&5
31410
31411 eval "$as_ac_Lib=no"
31412 fi
31413 rm -f conftest.err conftest.$ac_objext \
31414 conftest$ac_exeext conftest.$ac_ext
31415 LIBS=$ac_check_lib_save_LIBS
31416 fi
31417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31418 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31419 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31420 cat >>confdefs.h <<\_ACEOF
31421 #define HAVE_INET_ATON 1
31422 _ACEOF
31423
31424 fi
31425
31426
31427 fi
31428 done
31429
31430
31431 if test "x$INET_LINK" != "x"; then
31432 cat >>confdefs.h <<\_ACEOF
31433 #define HAVE_INET_ADDR 1
31434 _ACEOF
31435
31436 INET_LINK=" -l$INET_LINK"
31437 fi
31438
31439 fi
31440
31441
31442
31443 EXTRALIBS_ESD=
31444 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31445 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31446 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31447 echo $ECHO_N "(cached) $ECHO_C" >&6
31448 else
31449 ac_check_lib_save_LIBS=$LIBS
31450 LIBS="-lesd $LIBS"
31451 cat >conftest.$ac_ext <<_ACEOF
31452 /* confdefs.h. */
31453 _ACEOF
31454 cat confdefs.h >>conftest.$ac_ext
31455 cat >>conftest.$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31457
31458 /* Override any gcc2 internal prototype to avoid an error. */
31459 #ifdef __cplusplus
31460 extern "C"
31461 #endif
31462 /* We use char because int might match the return type of a gcc2
31463 builtin and then its argument prototype would still apply. */
31464 char esd_close ();
31465 int
31466 main ()
31467 {
31468 esd_close ();
31469 ;
31470 return 0;
31471 }
31472 _ACEOF
31473 rm -f conftest.$ac_objext conftest$ac_exeext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31475 (eval $ac_link) 2>conftest.er1
31476 ac_status=$?
31477 grep -v '^ *+' conftest.er1 >conftest.err
31478 rm -f conftest.er1
31479 cat conftest.err >&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try='test -z "$ac_c_werror_flag"
31483 || test ! -s conftest.err'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31486 ac_status=$?
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; } &&
31489 { ac_try='test -s conftest$ac_exeext'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31492 ac_status=$?
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; }; then
31495 ac_cv_lib_esd_esd_close=yes
31496 else
31497 echo "$as_me: failed program was:" >&5
31498 sed 's/^/| /' conftest.$ac_ext >&5
31499
31500 ac_cv_lib_esd_esd_close=no
31501 fi
31502 rm -f conftest.err conftest.$ac_objext \
31503 conftest$ac_exeext conftest.$ac_ext
31504 LIBS=$ac_check_lib_save_LIBS
31505 fi
31506 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31507 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31508 if test $ac_cv_lib_esd_esd_close = yes; then
31509
31510
31511 for ac_header in esd.h
31512 do
31513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31515 echo "$as_me:$LINENO: checking for $ac_header" >&5
31516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31518 echo $ECHO_N "(cached) $ECHO_C" >&6
31519 fi
31520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31522 else
31523 # Is the header compilable?
31524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31526 cat >conftest.$ac_ext <<_ACEOF
31527 /* confdefs.h. */
31528 _ACEOF
31529 cat confdefs.h >>conftest.$ac_ext
31530 cat >>conftest.$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31532 $ac_includes_default
31533 #include <$ac_header>
31534 _ACEOF
31535 rm -f conftest.$ac_objext
31536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31537 (eval $ac_compile) 2>conftest.er1
31538 ac_status=$?
31539 grep -v '^ *+' conftest.er1 >conftest.err
31540 rm -f conftest.er1
31541 cat conftest.err >&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); } &&
31544 { ac_try='test -z "$ac_c_werror_flag"
31545 || test ! -s conftest.err'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31548 ac_status=$?
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; } &&
31551 { ac_try='test -s conftest.$ac_objext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31554 ac_status=$?
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 ac_header_compiler=yes
31558 else
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.$ac_ext >&5
31561
31562 ac_header_compiler=no
31563 fi
31564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31566 echo "${ECHO_T}$ac_header_compiler" >&6
31567
31568 # Is the header present?
31569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31571 cat >conftest.$ac_ext <<_ACEOF
31572 /* confdefs.h. */
31573 _ACEOF
31574 cat confdefs.h >>conftest.$ac_ext
31575 cat >>conftest.$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31577 #include <$ac_header>
31578 _ACEOF
31579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31581 ac_status=$?
31582 grep -v '^ *+' conftest.er1 >conftest.err
31583 rm -f conftest.er1
31584 cat conftest.err >&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); } >/dev/null; then
31587 if test -s conftest.err; then
31588 ac_cpp_err=$ac_c_preproc_warn_flag
31589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31590 else
31591 ac_cpp_err=
31592 fi
31593 else
31594 ac_cpp_err=yes
31595 fi
31596 if test -z "$ac_cpp_err"; then
31597 ac_header_preproc=yes
31598 else
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.$ac_ext >&5
31601
31602 ac_header_preproc=no
31603 fi
31604 rm -f conftest.err conftest.$ac_ext
31605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31606 echo "${ECHO_T}$ac_header_preproc" >&6
31607
31608 # So? What about this header?
31609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31610 yes:no: )
31611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31615 ac_header_preproc=yes
31616 ;;
31617 no:yes:* )
31618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31630 (
31631 cat <<\_ASBOX
31632 ## ----------------------------------------- ##
31633 ## Report this to wx-dev@lists.wxwidgets.org ##
31634 ## ----------------------------------------- ##
31635 _ASBOX
31636 ) |
31637 sed "s/^/$as_me: WARNING: /" >&2
31638 ;;
31639 esac
31640 echo "$as_me:$LINENO: checking for $ac_header" >&5
31641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31644 else
31645 eval "$as_ac_Header=\$ac_header_preproc"
31646 fi
31647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31649
31650 fi
31651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31652 cat >>confdefs.h <<_ACEOF
31653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31654 _ACEOF
31655
31656 EXTRALIBS_ESD="-lesd"
31657
31658 fi
31659
31660 done
31661
31662
31663 fi
31664
31665
31666
31667 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31668 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31669 cat >conftest.$ac_ext <<_ACEOF
31670 /* confdefs.h. */
31671 _ACEOF
31672 cat confdefs.h >>conftest.$ac_ext
31673 cat >>conftest.$ac_ext <<_ACEOF
31674 /* end confdefs.h. */
31675 #ifdef __linux__
31676 #include <linux/cdrom.h>
31677 #else
31678 /* For Solaris */
31679 #include <sys/cdio.h>
31680 #endif
31681
31682 int
31683 main ()
31684 {
31685 struct cdrom_tocentry entry, old_entry;
31686 ;
31687 return 0;
31688 }
31689 _ACEOF
31690 rm -f conftest.$ac_objext
31691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31692 (eval $ac_compile) 2>conftest.er1
31693 ac_status=$?
31694 grep -v '^ *+' conftest.er1 >conftest.err
31695 rm -f conftest.er1
31696 cat conftest.err >&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); } &&
31699 { ac_try='test -z "$ac_c_werror_flag"
31700 || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31703 ac_status=$?
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try='test -s conftest.$ac_objext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31709 ac_status=$?
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712 echo "$as_me:$LINENO: result: yes" >&5
31713 echo "${ECHO_T}yes" >&6
31714 cat >>confdefs.h <<\_ACEOF
31715 #define HAVE_KNOWN_CDROM_INTERFACE 1
31716 _ACEOF
31717
31718 else
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.$ac_ext >&5
31721
31722 echo "$as_me:$LINENO: result: no" >&5
31723 echo "${ECHO_T}no" >&6
31724 fi
31725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31726
31727
31728 cat >confcache <<\_ACEOF
31729 # This file is a shell script that caches the results of configure
31730 # tests run on this system so they can be shared between configure
31731 # scripts and configure runs, see configure's option --config-cache.
31732 # It is not useful on other systems. If it contains results you don't
31733 # want to keep, you may remove or edit it.
31734 #
31735 # config.status only pays attention to the cache file if you give it
31736 # the --recheck option to rerun configure.
31737 #
31738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31740 # following values.
31741
31742 _ACEOF
31743
31744 # The following way of writing the cache mishandles newlines in values,
31745 # but we know of no workaround that is simple, portable, and efficient.
31746 # So, don't put newlines in cache variables' values.
31747 # Ultrix sh set writes to stderr and can't be redirected directly,
31748 # and sets the high bit in the cache file unless we assign to the vars.
31749 {
31750 (set) 2>&1 |
31751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31752 *ac_space=\ *)
31753 # `set' does not quote correctly, so add quotes (double-quote
31754 # substitution turns \\\\ into \\, and sed turns \\ into \).
31755 sed -n \
31756 "s/'/'\\\\''/g;
31757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31758 ;;
31759 *)
31760 # `set' quotes correctly as required by POSIX, so do not add quotes.
31761 sed -n \
31762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31763 ;;
31764 esac;
31765 } |
31766 sed '
31767 t clear
31768 : clear
31769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31770 t end
31771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31772 : end' >>confcache
31773 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31774 if test -w $cache_file; then
31775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31776 cat confcache >$cache_file
31777 else
31778 echo "not updating unwritable cache $cache_file"
31779 fi
31780 fi
31781 rm -f confcache
31782
31783
31784 CPP_MT_FLAG=
31785 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31786
31787
31788 THREADS_LINK=
31789 THREADS_CFLAGS=
31790
31791 if test "$wxUSE_THREADS" = "yes" ; then
31792 if test "$USE_BEOS" = 1; then
31793 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31794 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31795 wxUSE_THREADS="no"
31796 fi
31797 fi
31798
31799 if test "$wxUSE_THREADS" = "yes" ; then
31800
31801
31802 THREAD_OPTS="-pthread"
31803 case "${host}" in
31804 *-*-solaris2* | *-*-sunos4* )
31805 if test "x$GCC" = "xyes"; then
31806 THREAD_OPTS="-pthreads $THREAD_OPTS"
31807 else
31808 THREAD_OPTS="-mt $THREAD_OPTS"
31809 fi
31810 ;;
31811 *-*-freebsd*)
31812 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31813 ;;
31814 *-*-darwin* | *-*-cygwin* )
31815 THREAD_OPTS=""
31816 ;;
31817 *-*-aix*)
31818 THREAD_OPTS="pthreads"
31819 ;;
31820 *-hp-hpux* )
31821 if test "x$GCC" != "xyes"; then
31822 THREAD_OPTS=""
31823 fi
31824 ;;
31825
31826 *-*-irix* )
31827 if test "x$GCC" = "xyes"; then
31828 THREAD_OPTS=""
31829 fi
31830 ;;
31831
31832 *-*-*UnixWare*)
31833 if test "x$GCC" != "xyes"; then
31834 THREAD_OPTS="-Ethread"
31835 fi
31836 ;;
31837 esac
31838
31839 THREAD_OPTS="$THREAD_OPTS pthread none"
31840
31841 THREADS_OK=no
31842 for flag in $THREAD_OPTS; do
31843 case $flag in
31844 none)
31845 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31846 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31847 ;;
31848
31849 -*)
31850 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31851 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31852 THREADS_CFLAGS="$flag"
31853 ;;
31854
31855 *)
31856 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31857 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31858 THREADS_LINK="-l$flag"
31859 ;;
31860 esac
31861
31862 save_LIBS="$LIBS"
31863 save_CFLAGS="$CFLAGS"
31864 LIBS="$THREADS_LINK $LIBS"
31865 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31866
31867 cat >conftest.$ac_ext <<_ACEOF
31868 /* confdefs.h. */
31869 _ACEOF
31870 cat confdefs.h >>conftest.$ac_ext
31871 cat >>conftest.$ac_ext <<_ACEOF
31872 /* end confdefs.h. */
31873 #include <pthread.h>
31874 int
31875 main ()
31876 {
31877 pthread_create(0,0,0,0);
31878 ;
31879 return 0;
31880 }
31881 _ACEOF
31882 rm -f conftest.$ac_objext conftest$ac_exeext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31884 (eval $ac_link) 2>conftest.er1
31885 ac_status=$?
31886 grep -v '^ *+' conftest.er1 >conftest.err
31887 rm -f conftest.er1
31888 cat conftest.err >&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } &&
31891 { ac_try='test -z "$ac_c_werror_flag"
31892 || test ! -s conftest.err'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31895 ac_status=$?
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; } &&
31898 { ac_try='test -s conftest$ac_exeext'
31899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31900 (eval $ac_try) 2>&5
31901 ac_status=$?
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; }; then
31904 THREADS_OK=yes
31905 else
31906 echo "$as_me: failed program was:" >&5
31907 sed 's/^/| /' conftest.$ac_ext >&5
31908
31909 fi
31910 rm -f conftest.err conftest.$ac_objext \
31911 conftest$ac_exeext conftest.$ac_ext
31912
31913 LIBS="$save_LIBS"
31914 CFLAGS="$save_CFLAGS"
31915
31916 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31917 echo "${ECHO_T}$THREADS_OK" >&6
31918 if test "x$THREADS_OK" = "xyes"; then
31919 break;
31920 fi
31921
31922 THREADS_LINK=""
31923 THREADS_CFLAGS=""
31924 done
31925
31926 if test "x$THREADS_OK" != "xyes"; then
31927 wxUSE_THREADS=no
31928 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31929 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31930 else
31931 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31932 LIBS="$THREADS_LINK $LIBS"
31933
31934 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31935 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31936 flag=no
31937 case "${host}" in
31938 *-aix*)
31939 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31940 flag="-D_THREAD_SAFE"
31941 ;;
31942 *-freebsd*)
31943 flag="-D_THREAD_SAFE"
31944 ;;
31945 *-hp-hpux* )
31946 flag="-D_REENTRANT"
31947 if test "x$GCC" != "xyes"; then
31948 flag="$flag -D_RWSTD_MULTI_THREAD"
31949
31950 LIBS="$LIBS -lcma"
31951 fi
31952 ;;
31953 *solaris* | alpha*-osf*)
31954 flag="-D_REENTRANT"
31955 ;;
31956 esac
31957 echo "$as_me:$LINENO: result: ${flag}" >&5
31958 echo "${ECHO_T}${flag}" >&6
31959 if test "x$flag" != xno; then
31960 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31961 fi
31962
31963 if test "x$THREADS_CFLAGS" != "x"; then
31964 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31965 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31966 fi
31967 fi
31968 fi
31969
31970 if test "$wxUSE_THREADS" = "yes" ; then
31971
31972 for ac_func in thr_setconcurrency
31973 do
31974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31975 echo "$as_me:$LINENO: checking for $ac_func" >&5
31976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31977 if eval "test \"\${$as_ac_var+set}\" = set"; then
31978 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 else
31980 cat >conftest.$ac_ext <<_ACEOF
31981 /* confdefs.h. */
31982 _ACEOF
31983 cat confdefs.h >>conftest.$ac_ext
31984 cat >>conftest.$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31988 #define $ac_func innocuous_$ac_func
31989
31990 /* System header to define __stub macros and hopefully few prototypes,
31991 which can conflict with char $ac_func (); below.
31992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31993 <limits.h> exists even on freestanding compilers. */
31994
31995 #ifdef __STDC__
31996 # include <limits.h>
31997 #else
31998 # include <assert.h>
31999 #endif
32000
32001 #undef $ac_func
32002
32003 /* Override any gcc2 internal prototype to avoid an error. */
32004 #ifdef __cplusplus
32005 extern "C"
32006 {
32007 #endif
32008 /* We use char because int might match the return type of a gcc2
32009 builtin and then its argument prototype would still apply. */
32010 char $ac_func ();
32011 /* The GNU C library defines this for functions which it implements
32012 to always fail with ENOSYS. Some functions are actually named
32013 something starting with __ and the normal name is an alias. */
32014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32015 choke me
32016 #else
32017 char (*f) () = $ac_func;
32018 #endif
32019 #ifdef __cplusplus
32020 }
32021 #endif
32022
32023 int
32024 main ()
32025 {
32026 return f != $ac_func;
32027 ;
32028 return 0;
32029 }
32030 _ACEOF
32031 rm -f conftest.$ac_objext conftest$ac_exeext
32032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32033 (eval $ac_link) 2>conftest.er1
32034 ac_status=$?
32035 grep -v '^ *+' conftest.er1 >conftest.err
32036 rm -f conftest.er1
32037 cat conftest.err >&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try='test -z "$ac_c_werror_flag"
32041 || test ! -s conftest.err'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32044 ac_status=$?
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; } &&
32047 { ac_try='test -s conftest$ac_exeext'
32048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049 (eval $ac_try) 2>&5
32050 ac_status=$?
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); }; }; then
32053 eval "$as_ac_var=yes"
32054 else
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.$ac_ext >&5
32057
32058 eval "$as_ac_var=no"
32059 fi
32060 rm -f conftest.err conftest.$ac_objext \
32061 conftest$ac_exeext conftest.$ac_ext
32062 fi
32063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32065 if test `eval echo '${'$as_ac_var'}'` = yes; then
32066 cat >>confdefs.h <<_ACEOF
32067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32068 _ACEOF
32069
32070 fi
32071 done
32072
32073
32074
32075 for ac_header in sched.h
32076 do
32077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32079 echo "$as_me:$LINENO: checking for $ac_header" >&5
32080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32082 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 fi
32084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32086 else
32087 # Is the header compilable?
32088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 $ac_includes_default
32097 #include <$ac_header>
32098 _ACEOF
32099 rm -f conftest.$ac_objext
32100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32101 (eval $ac_compile) 2>conftest.er1
32102 ac_status=$?
32103 grep -v '^ *+' conftest.er1 >conftest.err
32104 rm -f conftest.er1
32105 cat conftest.err >&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); } &&
32108 { ac_try='test -z "$ac_c_werror_flag"
32109 || test ! -s conftest.err'
32110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32111 (eval $ac_try) 2>&5
32112 ac_status=$?
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); }; } &&
32115 { ac_try='test -s conftest.$ac_objext'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32118 ac_status=$?
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; }; then
32121 ac_header_compiler=yes
32122 else
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.$ac_ext >&5
32125
32126 ac_header_compiler=no
32127 fi
32128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32130 echo "${ECHO_T}$ac_header_compiler" >&6
32131
32132 # Is the header present?
32133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32135 cat >conftest.$ac_ext <<_ACEOF
32136 /* confdefs.h. */
32137 _ACEOF
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 #include <$ac_header>
32142 _ACEOF
32143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32145 ac_status=$?
32146 grep -v '^ *+' conftest.er1 >conftest.err
32147 rm -f conftest.er1
32148 cat conftest.err >&5
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); } >/dev/null; then
32151 if test -s conftest.err; then
32152 ac_cpp_err=$ac_c_preproc_warn_flag
32153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32154 else
32155 ac_cpp_err=
32156 fi
32157 else
32158 ac_cpp_err=yes
32159 fi
32160 if test -z "$ac_cpp_err"; then
32161 ac_header_preproc=yes
32162 else
32163 echo "$as_me: failed program was:" >&5
32164 sed 's/^/| /' conftest.$ac_ext >&5
32165
32166 ac_header_preproc=no
32167 fi
32168 rm -f conftest.err conftest.$ac_ext
32169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32170 echo "${ECHO_T}$ac_header_preproc" >&6
32171
32172 # So? What about this header?
32173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32174 yes:no: )
32175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32179 ac_header_preproc=yes
32180 ;;
32181 no:yes:* )
32182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32194 (
32195 cat <<\_ASBOX
32196 ## ----------------------------------------- ##
32197 ## Report this to wx-dev@lists.wxwidgets.org ##
32198 ## ----------------------------------------- ##
32199 _ASBOX
32200 ) |
32201 sed "s/^/$as_me: WARNING: /" >&2
32202 ;;
32203 esac
32204 echo "$as_me:$LINENO: checking for $ac_header" >&5
32205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32207 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 else
32209 eval "$as_ac_Header=\$ac_header_preproc"
32210 fi
32211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32213
32214 fi
32215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32216 cat >>confdefs.h <<_ACEOF
32217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32218 _ACEOF
32219
32220 fi
32221
32222 done
32223
32224 if test "$ac_cv_header_sched_h" = "yes"; then
32225 echo "$as_me:$LINENO: checking for sched_yield" >&5
32226 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32227 if test "${ac_cv_func_sched_yield+set}" = set; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32229 else
32230 cat >conftest.$ac_ext <<_ACEOF
32231 /* confdefs.h. */
32232 _ACEOF
32233 cat confdefs.h >>conftest.$ac_ext
32234 cat >>conftest.$ac_ext <<_ACEOF
32235 /* end confdefs.h. */
32236 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32238 #define sched_yield innocuous_sched_yield
32239
32240 /* System header to define __stub macros and hopefully few prototypes,
32241 which can conflict with char sched_yield (); below.
32242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32243 <limits.h> exists even on freestanding compilers. */
32244
32245 #ifdef __STDC__
32246 # include <limits.h>
32247 #else
32248 # include <assert.h>
32249 #endif
32250
32251 #undef sched_yield
32252
32253 /* Override any gcc2 internal prototype to avoid an error. */
32254 #ifdef __cplusplus
32255 extern "C"
32256 {
32257 #endif
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32260 char sched_yield ();
32261 /* The GNU C library defines this for functions which it implements
32262 to always fail with ENOSYS. Some functions are actually named
32263 something starting with __ and the normal name is an alias. */
32264 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32265 choke me
32266 #else
32267 char (*f) () = sched_yield;
32268 #endif
32269 #ifdef __cplusplus
32270 }
32271 #endif
32272
32273 int
32274 main ()
32275 {
32276 return f != sched_yield;
32277 ;
32278 return 0;
32279 }
32280 _ACEOF
32281 rm -f conftest.$ac_objext conftest$ac_exeext
32282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32283 (eval $ac_link) 2>conftest.er1
32284 ac_status=$?
32285 grep -v '^ *+' conftest.er1 >conftest.err
32286 rm -f conftest.er1
32287 cat conftest.err >&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); } &&
32290 { ac_try='test -z "$ac_c_werror_flag"
32291 || test ! -s conftest.err'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; } &&
32297 { ac_try='test -s conftest$ac_exeext'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32300 ac_status=$?
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; }; then
32303 ac_cv_func_sched_yield=yes
32304 else
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32307
32308 ac_cv_func_sched_yield=no
32309 fi
32310 rm -f conftest.err conftest.$ac_objext \
32311 conftest$ac_exeext conftest.$ac_ext
32312 fi
32313 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32314 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32315 if test $ac_cv_func_sched_yield = yes; then
32316 cat >>confdefs.h <<\_ACEOF
32317 #define HAVE_SCHED_YIELD 1
32318 _ACEOF
32319
32320 else
32321
32322 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32323 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32324 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 else
32327 ac_check_lib_save_LIBS=$LIBS
32328 LIBS="-lposix4 $LIBS"
32329 cat >conftest.$ac_ext <<_ACEOF
32330 /* confdefs.h. */
32331 _ACEOF
32332 cat confdefs.h >>conftest.$ac_ext
32333 cat >>conftest.$ac_ext <<_ACEOF
32334 /* end confdefs.h. */
32335
32336 /* Override any gcc2 internal prototype to avoid an error. */
32337 #ifdef __cplusplus
32338 extern "C"
32339 #endif
32340 /* We use char because int might match the return type of a gcc2
32341 builtin and then its argument prototype would still apply. */
32342 char sched_yield ();
32343 int
32344 main ()
32345 {
32346 sched_yield ();
32347 ;
32348 return 0;
32349 }
32350 _ACEOF
32351 rm -f conftest.$ac_objext conftest$ac_exeext
32352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32353 (eval $ac_link) 2>conftest.er1
32354 ac_status=$?
32355 grep -v '^ *+' conftest.er1 >conftest.err
32356 rm -f conftest.er1
32357 cat conftest.err >&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); } &&
32360 { ac_try='test -z "$ac_c_werror_flag"
32361 || test ! -s conftest.err'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32364 ac_status=$?
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; } &&
32367 { ac_try='test -s conftest$ac_exeext'
32368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32369 (eval $ac_try) 2>&5
32370 ac_status=$?
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; }; then
32373 ac_cv_lib_posix4_sched_yield=yes
32374 else
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32377
32378 ac_cv_lib_posix4_sched_yield=no
32379 fi
32380 rm -f conftest.err conftest.$ac_objext \
32381 conftest$ac_exeext conftest.$ac_ext
32382 LIBS=$ac_check_lib_save_LIBS
32383 fi
32384 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32385 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32386 if test $ac_cv_lib_posix4_sched_yield = yes; then
32387 cat >>confdefs.h <<\_ACEOF
32388 #define HAVE_SCHED_YIELD 1
32389 _ACEOF
32390 POSIX4_LINK=" -lposix4"
32391 else
32392 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32393 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32394
32395 fi
32396
32397
32398
32399 fi
32400
32401 fi
32402
32403 HAVE_PRIOR_FUNCS=0
32404 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32405 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32406 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32407 echo $ECHO_N "(cached) $ECHO_C" >&6
32408 else
32409 cat >conftest.$ac_ext <<_ACEOF
32410 /* confdefs.h. */
32411 _ACEOF
32412 cat confdefs.h >>conftest.$ac_ext
32413 cat >>conftest.$ac_ext <<_ACEOF
32414 /* end confdefs.h. */
32415 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32417 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32418
32419 /* System header to define __stub macros and hopefully few prototypes,
32420 which can conflict with char pthread_attr_getschedpolicy (); below.
32421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32422 <limits.h> exists even on freestanding compilers. */
32423
32424 #ifdef __STDC__
32425 # include <limits.h>
32426 #else
32427 # include <assert.h>
32428 #endif
32429
32430 #undef pthread_attr_getschedpolicy
32431
32432 /* Override any gcc2 internal prototype to avoid an error. */
32433 #ifdef __cplusplus
32434 extern "C"
32435 {
32436 #endif
32437 /* We use char because int might match the return type of a gcc2
32438 builtin and then its argument prototype would still apply. */
32439 char pthread_attr_getschedpolicy ();
32440 /* The GNU C library defines this for functions which it implements
32441 to always fail with ENOSYS. Some functions are actually named
32442 something starting with __ and the normal name is an alias. */
32443 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32444 choke me
32445 #else
32446 char (*f) () = pthread_attr_getschedpolicy;
32447 #endif
32448 #ifdef __cplusplus
32449 }
32450 #endif
32451
32452 int
32453 main ()
32454 {
32455 return f != pthread_attr_getschedpolicy;
32456 ;
32457 return 0;
32458 }
32459 _ACEOF
32460 rm -f conftest.$ac_objext conftest$ac_exeext
32461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32462 (eval $ac_link) 2>conftest.er1
32463 ac_status=$?
32464 grep -v '^ *+' conftest.er1 >conftest.err
32465 rm -f conftest.er1
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } &&
32469 { ac_try='test -z "$ac_c_werror_flag"
32470 || test ! -s conftest.err'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; } &&
32476 { ac_try='test -s conftest$ac_exeext'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32479 ac_status=$?
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; }; then
32482 ac_cv_func_pthread_attr_getschedpolicy=yes
32483 else
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.$ac_ext >&5
32486
32487 ac_cv_func_pthread_attr_getschedpolicy=no
32488 fi
32489 rm -f conftest.err conftest.$ac_objext \
32490 conftest$ac_exeext conftest.$ac_ext
32491 fi
32492 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32493 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32494 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32495 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32496 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32497 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32498 echo $ECHO_N "(cached) $ECHO_C" >&6
32499 else
32500 cat >conftest.$ac_ext <<_ACEOF
32501 /* confdefs.h. */
32502 _ACEOF
32503 cat confdefs.h >>conftest.$ac_ext
32504 cat >>conftest.$ac_ext <<_ACEOF
32505 /* end confdefs.h. */
32506 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32508 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32509
32510 /* System header to define __stub macros and hopefully few prototypes,
32511 which can conflict with char pthread_attr_setschedparam (); below.
32512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32513 <limits.h> exists even on freestanding compilers. */
32514
32515 #ifdef __STDC__
32516 # include <limits.h>
32517 #else
32518 # include <assert.h>
32519 #endif
32520
32521 #undef pthread_attr_setschedparam
32522
32523 /* Override any gcc2 internal prototype to avoid an error. */
32524 #ifdef __cplusplus
32525 extern "C"
32526 {
32527 #endif
32528 /* We use char because int might match the return type of a gcc2
32529 builtin and then its argument prototype would still apply. */
32530 char pthread_attr_setschedparam ();
32531 /* The GNU C library defines this for functions which it implements
32532 to always fail with ENOSYS. Some functions are actually named
32533 something starting with __ and the normal name is an alias. */
32534 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32535 choke me
32536 #else
32537 char (*f) () = pthread_attr_setschedparam;
32538 #endif
32539 #ifdef __cplusplus
32540 }
32541 #endif
32542
32543 int
32544 main ()
32545 {
32546 return f != pthread_attr_setschedparam;
32547 ;
32548 return 0;
32549 }
32550 _ACEOF
32551 rm -f conftest.$ac_objext conftest$ac_exeext
32552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32553 (eval $ac_link) 2>conftest.er1
32554 ac_status=$?
32555 grep -v '^ *+' conftest.er1 >conftest.err
32556 rm -f conftest.er1
32557 cat conftest.err >&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); } &&
32560 { ac_try='test -z "$ac_c_werror_flag"
32561 || test ! -s conftest.err'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; } &&
32567 { ac_try='test -s conftest$ac_exeext'
32568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569 (eval $ac_try) 2>&5
32570 ac_status=$?
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); }; }; then
32573 ac_cv_func_pthread_attr_setschedparam=yes
32574 else
32575 echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.$ac_ext >&5
32577
32578 ac_cv_func_pthread_attr_setschedparam=no
32579 fi
32580 rm -f conftest.err conftest.$ac_objext \
32581 conftest$ac_exeext conftest.$ac_ext
32582 fi
32583 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32584 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32585 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32586 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32587 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32588 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32590 else
32591 cat >conftest.$ac_ext <<_ACEOF
32592 /* confdefs.h. */
32593 _ACEOF
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32597 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32599 #define sched_get_priority_max innocuous_sched_get_priority_max
32600
32601 /* System header to define __stub macros and hopefully few prototypes,
32602 which can conflict with char sched_get_priority_max (); below.
32603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32604 <limits.h> exists even on freestanding compilers. */
32605
32606 #ifdef __STDC__
32607 # include <limits.h>
32608 #else
32609 # include <assert.h>
32610 #endif
32611
32612 #undef sched_get_priority_max
32613
32614 /* Override any gcc2 internal prototype to avoid an error. */
32615 #ifdef __cplusplus
32616 extern "C"
32617 {
32618 #endif
32619 /* We use char because int might match the return type of a gcc2
32620 builtin and then its argument prototype would still apply. */
32621 char sched_get_priority_max ();
32622 /* The GNU C library defines this for functions which it implements
32623 to always fail with ENOSYS. Some functions are actually named
32624 something starting with __ and the normal name is an alias. */
32625 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32626 choke me
32627 #else
32628 char (*f) () = sched_get_priority_max;
32629 #endif
32630 #ifdef __cplusplus
32631 }
32632 #endif
32633
32634 int
32635 main ()
32636 {
32637 return f != sched_get_priority_max;
32638 ;
32639 return 0;
32640 }
32641 _ACEOF
32642 rm -f conftest.$ac_objext conftest$ac_exeext
32643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32644 (eval $ac_link) 2>conftest.er1
32645 ac_status=$?
32646 grep -v '^ *+' conftest.er1 >conftest.err
32647 rm -f conftest.er1
32648 cat conftest.err >&5
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); } &&
32651 { ac_try='test -z "$ac_c_werror_flag"
32652 || test ! -s conftest.err'
32653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654 (eval $ac_try) 2>&5
32655 ac_status=$?
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); }; } &&
32658 { ac_try='test -s conftest$ac_exeext'
32659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32660 (eval $ac_try) 2>&5
32661 ac_status=$?
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); }; }; then
32664 ac_cv_func_sched_get_priority_max=yes
32665 else
32666 echo "$as_me: failed program was:" >&5
32667 sed 's/^/| /' conftest.$ac_ext >&5
32668
32669 ac_cv_func_sched_get_priority_max=no
32670 fi
32671 rm -f conftest.err conftest.$ac_objext \
32672 conftest$ac_exeext conftest.$ac_ext
32673 fi
32674 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32675 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32676 if test $ac_cv_func_sched_get_priority_max = yes; then
32677 HAVE_PRIOR_FUNCS=1
32678 else
32679 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32680 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32681 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32682 echo $ECHO_N "(cached) $ECHO_C" >&6
32683 else
32684 ac_check_lib_save_LIBS=$LIBS
32685 LIBS="-lposix4 $LIBS"
32686 cat >conftest.$ac_ext <<_ACEOF
32687 /* confdefs.h. */
32688 _ACEOF
32689 cat confdefs.h >>conftest.$ac_ext
32690 cat >>conftest.$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32692
32693 /* Override any gcc2 internal prototype to avoid an error. */
32694 #ifdef __cplusplus
32695 extern "C"
32696 #endif
32697 /* We use char because int might match the return type of a gcc2
32698 builtin and then its argument prototype would still apply. */
32699 char sched_get_priority_max ();
32700 int
32701 main ()
32702 {
32703 sched_get_priority_max ();
32704 ;
32705 return 0;
32706 }
32707 _ACEOF
32708 rm -f conftest.$ac_objext conftest$ac_exeext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32710 (eval $ac_link) 2>conftest.er1
32711 ac_status=$?
32712 grep -v '^ *+' conftest.er1 >conftest.err
32713 rm -f conftest.er1
32714 cat conftest.err >&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } &&
32717 { ac_try='test -z "$ac_c_werror_flag"
32718 || test ! -s conftest.err'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32721 ac_status=$?
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; } &&
32724 { ac_try='test -s conftest$ac_exeext'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32727 ac_status=$?
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; }; then
32730 ac_cv_lib_posix4_sched_get_priority_max=yes
32731 else
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32734
32735 ac_cv_lib_posix4_sched_get_priority_max=no
32736 fi
32737 rm -f conftest.err conftest.$ac_objext \
32738 conftest$ac_exeext conftest.$ac_ext
32739 LIBS=$ac_check_lib_save_LIBS
32740 fi
32741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32742 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32743 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32744
32745 HAVE_PRIOR_FUNCS=1
32746 POSIX4_LINK=" -lposix4"
32747
32748 fi
32749
32750
32751 fi
32752
32753
32754 fi
32755
32756
32757 fi
32758
32759
32760 if test "$HAVE_PRIOR_FUNCS" = 1; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32763 _ACEOF
32764
32765 else
32766 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32767 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32768 fi
32769
32770 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32771 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32772 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 else
32775 cat >conftest.$ac_ext <<_ACEOF
32776 /* confdefs.h. */
32777 _ACEOF
32778 cat confdefs.h >>conftest.$ac_ext
32779 cat >>conftest.$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32783 #define pthread_cancel innocuous_pthread_cancel
32784
32785 /* System header to define __stub macros and hopefully few prototypes,
32786 which can conflict with char pthread_cancel (); below.
32787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32788 <limits.h> exists even on freestanding compilers. */
32789
32790 #ifdef __STDC__
32791 # include <limits.h>
32792 #else
32793 # include <assert.h>
32794 #endif
32795
32796 #undef pthread_cancel
32797
32798 /* Override any gcc2 internal prototype to avoid an error. */
32799 #ifdef __cplusplus
32800 extern "C"
32801 {
32802 #endif
32803 /* We use char because int might match the return type of a gcc2
32804 builtin and then its argument prototype would still apply. */
32805 char pthread_cancel ();
32806 /* The GNU C library defines this for functions which it implements
32807 to always fail with ENOSYS. Some functions are actually named
32808 something starting with __ and the normal name is an alias. */
32809 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32810 choke me
32811 #else
32812 char (*f) () = pthread_cancel;
32813 #endif
32814 #ifdef __cplusplus
32815 }
32816 #endif
32817
32818 int
32819 main ()
32820 {
32821 return f != pthread_cancel;
32822 ;
32823 return 0;
32824 }
32825 _ACEOF
32826 rm -f conftest.$ac_objext conftest$ac_exeext
32827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32828 (eval $ac_link) 2>conftest.er1
32829 ac_status=$?
32830 grep -v '^ *+' conftest.er1 >conftest.err
32831 rm -f conftest.er1
32832 cat conftest.err >&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } &&
32835 { ac_try='test -z "$ac_c_werror_flag"
32836 || test ! -s conftest.err'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32845 ac_status=$?
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 ac_cv_func_pthread_cancel=yes
32849 else
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.$ac_ext >&5
32852
32853 ac_cv_func_pthread_cancel=no
32854 fi
32855 rm -f conftest.err conftest.$ac_objext \
32856 conftest$ac_exeext conftest.$ac_ext
32857 fi
32858 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32859 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32860 if test $ac_cv_func_pthread_cancel = yes; then
32861 cat >>confdefs.h <<\_ACEOF
32862 #define HAVE_PTHREAD_CANCEL 1
32863 _ACEOF
32864
32865 else
32866 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32867 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32868 fi
32869
32870
32871
32872
32873 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32874 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32875 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32876 echo $ECHO_N "(cached) $ECHO_C" >&6
32877 else
32878
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 #include <pthread.h>
32886 int
32887 main ()
32888 {
32889
32890 pthread_mutexattr_t attr;
32891 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32892
32893 ;
32894 return 0;
32895 }
32896 _ACEOF
32897 rm -f conftest.$ac_objext
32898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32899 (eval $ac_compile) 2>conftest.er1
32900 ac_status=$?
32901 grep -v '^ *+' conftest.er1 >conftest.err
32902 rm -f conftest.er1
32903 cat conftest.err >&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); } &&
32906 { ac_try='test -z "$ac_c_werror_flag"
32907 || test ! -s conftest.err'
32908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32909 (eval $ac_try) 2>&5
32910 ac_status=$?
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); }; } &&
32913 { ac_try='test -s conftest.$ac_objext'
32914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32915 (eval $ac_try) 2>&5
32916 ac_status=$?
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); }; }; then
32919
32920 wx_cv_type_pthread_mutexattr_t=yes
32921
32922 else
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.$ac_ext >&5
32925
32926
32927 wx_cv_type_pthread_mutexattr_t=no
32928
32929
32930 fi
32931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32932
32933 fi
32934 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32935 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32936
32937 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32938 cat >>confdefs.h <<\_ACEOF
32939 #define HAVE_PTHREAD_MUTEXATTR_T 1
32940 _ACEOF
32941
32942 else
32943 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32944 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32945 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 else
32948
32949 cat >conftest.$ac_ext <<_ACEOF
32950 /* confdefs.h. */
32951 _ACEOF
32952 cat confdefs.h >>conftest.$ac_ext
32953 cat >>conftest.$ac_ext <<_ACEOF
32954 /* end confdefs.h. */
32955 #include <pthread.h>
32956 int
32957 main ()
32958 {
32959
32960 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32961
32962 ;
32963 return 0;
32964 }
32965 _ACEOF
32966 rm -f conftest.$ac_objext
32967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32968 (eval $ac_compile) 2>conftest.er1
32969 ac_status=$?
32970 grep -v '^ *+' conftest.er1 >conftest.err
32971 rm -f conftest.er1
32972 cat conftest.err >&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } &&
32975 { ac_try='test -z "$ac_c_werror_flag"
32976 || test ! -s conftest.err'
32977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32978 (eval $ac_try) 2>&5
32979 ac_status=$?
32980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32981 (exit $ac_status); }; } &&
32982 { ac_try='test -s conftest.$ac_objext'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32985 ac_status=$?
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; }; then
32988
32989 wx_cv_type_pthread_rec_mutex_init=yes
32990
32991 else
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32994
32995
32996 wx_cv_type_pthread_rec_mutex_init=no
32997
32998
32999 fi
33000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33001
33002 fi
33003 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33004 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33005 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33008 _ACEOF
33009
33010 else
33011 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33012 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33013 fi
33014 fi
33015 fi
33016
33017 else
33018 if test "$wxUSE_THREADS" = "yes" ; then
33019 case "${host}" in
33020 *-*-mingw32* )
33021 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33022 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33023 if test "${wx_cv_cflags_mthread+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 else
33026
33027 CFLAGS_OLD="$CFLAGS"
33028 CFLAGS="$CFLAGS -mthreads"
33029 cat >conftest.$ac_ext <<_ACEOF
33030 /* confdefs.h. */
33031 _ACEOF
33032 cat confdefs.h >>conftest.$ac_ext
33033 cat >>conftest.$ac_ext <<_ACEOF
33034 /* end confdefs.h. */
33035
33036 int
33037 main ()
33038 {
33039
33040 ;
33041 return 0;
33042 }
33043 _ACEOF
33044 rm -f conftest.$ac_objext
33045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33046 (eval $ac_compile) 2>conftest.er1
33047 ac_status=$?
33048 grep -v '^ *+' conftest.er1 >conftest.err
33049 rm -f conftest.er1
33050 cat conftest.err >&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); } &&
33053 { ac_try='test -z "$ac_c_werror_flag"
33054 || test ! -s conftest.err'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33060 { ac_try='test -s conftest.$ac_objext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 wx_cv_cflags_mthread=yes
33067 else
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33070
33071 wx_cv_cflags_mthread=no
33072
33073 fi
33074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33075
33076
33077 fi
33078 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33079 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33080
33081 if test "$wx_cv_cflags_mthread" = "yes"; then
33082 CXXFLAGS="$CXXFLAGS -mthreads"
33083 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33084 LDFLAGS="$LDFLAGS -mthreads"
33085 else
33086 CFLAGS="$CFLAGS_OLD"
33087 fi
33088 ;;
33089 *-pc-os2*emx )
33090 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33091 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33092 LDFLAGS="$LDFLAGS -Zmt"
33093 ;;
33094 esac
33095 fi
33096 fi
33097
33098 if test "$wxUSE_THREADS" = "yes"; then
33099 cat >>confdefs.h <<\_ACEOF
33100 #define wxUSE_THREADS 1
33101 _ACEOF
33102
33103
33104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33105 else
33106 if test "$ac_cv_func_strtok_r" = "yes"; then
33107 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33108 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33109 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33110 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33111 echo "$as_me:$LINENO: result: yes" >&5
33112 echo "${ECHO_T}yes" >&6
33113 else
33114 echo "$as_me:$LINENO: result: no" >&5
33115 echo "${ECHO_T}no" >&6
33116 fi
33117 fi
33118 fi
33119
33120 if test "$WXGTK20" = 1 ; then
33121 cat >>confdefs.h <<_ACEOF
33122 #define __WXGTK20__ $WXGTK20
33123 _ACEOF
33124
33125 WXGTK12=1
33126 fi
33127
33128 if test "$WXGTK12" = 1 ; then
33129 cat >>confdefs.h <<_ACEOF
33130 #define __WXGTK12__ $WXGTK12
33131 _ACEOF
33132
33133 fi
33134
33135 if test "$WXGTK127" = 1 ; then
33136 cat >>confdefs.h <<_ACEOF
33137 #define __WXGTK127__ $WXGTK127
33138 _ACEOF
33139
33140 fi
33141
33142 if test "$WXGPE" = 1 ; then
33143 cat >>confdefs.h <<_ACEOF
33144 #define __WXGPE__ $WXGPE
33145 _ACEOF
33146
33147 fi
33148
33149 WXDEBUG=
33150
33151 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33152 WXDEBUG="-g"
33153 wxUSE_OPTIMISE=no
33154 fi
33155
33156 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33157 wxUSE_DEBUG_INFO=yes
33158 WXDEBUG="-ggdb"
33159 fi
33160
33161 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33162 cat >>confdefs.h <<\_ACEOF
33163 #define WXDEBUG 1
33164 _ACEOF
33165
33166 WXDEBUG_DEFINE="-D__WXDEBUG__"
33167 else
33168 if test "$wxUSE_GTK" = 1 ; then
33169 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33170 fi
33171 fi
33172
33173 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33174 cat >>confdefs.h <<\_ACEOF
33175 #define wxUSE_MEMORY_TRACING 1
33176 _ACEOF
33177
33178 cat >>confdefs.h <<\_ACEOF
33179 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33180 _ACEOF
33181
33182 cat >>confdefs.h <<\_ACEOF
33183 #define wxUSE_DEBUG_NEW_ALWAYS 1
33184 _ACEOF
33185
33186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33187 fi
33188
33189 if test "$wxUSE_DMALLOC" = "yes" ; then
33190 DMALLOC_LIBS="-ldmalloc"
33191 fi
33192
33193 PROFILE=
33194 if test "$wxUSE_PROFILE" = "yes" ; then
33195 PROFILE=" -pg"
33196 fi
33197
33198 CODE_GEN_FLAGS=
33199 CODE_GEN_FLAGS_CXX=
33200 if test "$GCC" = "yes" ; then
33201 if test "$wxUSE_NO_RTTI" = "yes" ; then
33202 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33203 fi
33204 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33205 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33206 fi
33207 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33208 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33209 fi
33210
33211 case "${host}" in
33212 powerpc*-*-aix* )
33213 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33214 ;;
33215 *-hppa* )
33216 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33217 ;;
33218 esac
33219 fi
33220
33221 OPTIMISE=
33222 if test "$wxUSE_OPTIMISE" = "no" ; then
33223 if test "$GCC" = yes ; then
33224 OPTIMISE="-O0"
33225 fi
33226 else
33227 if test "$GCC" = yes ; then
33228 OPTIMISE="-O2"
33229
33230 case "${host}" in
33231 i586-*-*|i686-*-* )
33232 OPTIMISE="${OPTIMISE} "
33233 ;;
33234 esac
33235 else
33236 OPTIMISE="-O"
33237 fi
33238 fi
33239
33240
33241 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33242 cat >>confdefs.h <<\_ACEOF
33243 #define WXWIN_COMPATIBILITY_2_2 1
33244 _ACEOF
33245
33246
33247 WXWIN_COMPATIBILITY_2_4="yes"
33248 fi
33249
33250 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33251 cat >>confdefs.h <<\_ACEOF
33252 #define WXWIN_COMPATIBILITY_2_4 1
33253 _ACEOF
33254
33255 fi
33256
33257
33258 if test "$wxUSE_GUI" = "yes"; then
33259 cat >>confdefs.h <<\_ACEOF
33260 #define wxUSE_GUI 1
33261 _ACEOF
33262
33263
33264 else
33265 cat >>confdefs.h <<\_ACEOF
33266 #define wxUSE_NOGUI 1
33267 _ACEOF
33268
33269 fi
33270
33271
33272 if test "$wxUSE_UNIX" = "yes"; then
33273 cat >>confdefs.h <<\_ACEOF
33274 #define wxUSE_UNIX 1
33275 _ACEOF
33276
33277 fi
33278
33279
33280 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33281
33282 HAVE_DL_FUNCS=0
33283 HAVE_SHL_FUNCS=0
33284 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33285 if test "$USE_DARWIN" = 1; then
33286 HAVE_DL_FUNCS=1
33287 else
33288
33289 for ac_func in dlopen
33290 do
33291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33292 echo "$as_me:$LINENO: checking for $ac_func" >&5
33293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33294 if eval "test \"\${$as_ac_var+set}\" = set"; then
33295 echo $ECHO_N "(cached) $ECHO_C" >&6
33296 else
33297 cat >conftest.$ac_ext <<_ACEOF
33298 /* confdefs.h. */
33299 _ACEOF
33300 cat confdefs.h >>conftest.$ac_ext
33301 cat >>conftest.$ac_ext <<_ACEOF
33302 /* end confdefs.h. */
33303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33305 #define $ac_func innocuous_$ac_func
33306
33307 /* System header to define __stub macros and hopefully few prototypes,
33308 which can conflict with char $ac_func (); below.
33309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33310 <limits.h> exists even on freestanding compilers. */
33311
33312 #ifdef __STDC__
33313 # include <limits.h>
33314 #else
33315 # include <assert.h>
33316 #endif
33317
33318 #undef $ac_func
33319
33320 /* Override any gcc2 internal prototype to avoid an error. */
33321 #ifdef __cplusplus
33322 extern "C"
33323 {
33324 #endif
33325 /* We use char because int might match the return type of a gcc2
33326 builtin and then its argument prototype would still apply. */
33327 char $ac_func ();
33328 /* The GNU C library defines this for functions which it implements
33329 to always fail with ENOSYS. Some functions are actually named
33330 something starting with __ and the normal name is an alias. */
33331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33332 choke me
33333 #else
33334 char (*f) () = $ac_func;
33335 #endif
33336 #ifdef __cplusplus
33337 }
33338 #endif
33339
33340 int
33341 main ()
33342 {
33343 return f != $ac_func;
33344 ;
33345 return 0;
33346 }
33347 _ACEOF
33348 rm -f conftest.$ac_objext conftest$ac_exeext
33349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33350 (eval $ac_link) 2>conftest.er1
33351 ac_status=$?
33352 grep -v '^ *+' conftest.er1 >conftest.err
33353 rm -f conftest.er1
33354 cat conftest.err >&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try='test -z "$ac_c_werror_flag"
33358 || test ! -s conftest.err'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33361 ac_status=$?
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; } &&
33364 { ac_try='test -s conftest$ac_exeext'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33367 ac_status=$?
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; }; then
33370 eval "$as_ac_var=yes"
33371 else
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.$ac_ext >&5
33374
33375 eval "$as_ac_var=no"
33376 fi
33377 rm -f conftest.err conftest.$ac_objext \
33378 conftest$ac_exeext conftest.$ac_ext
33379 fi
33380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33382 if test `eval echo '${'$as_ac_var'}'` = yes; then
33383 cat >>confdefs.h <<_ACEOF
33384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33385 _ACEOF
33386
33387 cat >>confdefs.h <<\_ACEOF
33388 #define HAVE_DLOPEN 1
33389 _ACEOF
33390
33391 HAVE_DL_FUNCS=1
33392
33393 else
33394
33395 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33396 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33397 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33398 echo $ECHO_N "(cached) $ECHO_C" >&6
33399 else
33400 ac_check_lib_save_LIBS=$LIBS
33401 LIBS="-ldl $LIBS"
33402 cat >conftest.$ac_ext <<_ACEOF
33403 /* confdefs.h. */
33404 _ACEOF
33405 cat confdefs.h >>conftest.$ac_ext
33406 cat >>conftest.$ac_ext <<_ACEOF
33407 /* end confdefs.h. */
33408
33409 /* Override any gcc2 internal prototype to avoid an error. */
33410 #ifdef __cplusplus
33411 extern "C"
33412 #endif
33413 /* We use char because int might match the return type of a gcc2
33414 builtin and then its argument prototype would still apply. */
33415 char dlopen ();
33416 int
33417 main ()
33418 {
33419 dlopen ();
33420 ;
33421 return 0;
33422 }
33423 _ACEOF
33424 rm -f conftest.$ac_objext conftest$ac_exeext
33425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33426 (eval $ac_link) 2>conftest.er1
33427 ac_status=$?
33428 grep -v '^ *+' conftest.er1 >conftest.err
33429 rm -f conftest.er1
33430 cat conftest.err >&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); } &&
33433 { ac_try='test -z "$ac_c_werror_flag"
33434 || test ! -s conftest.err'
33435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33436 (eval $ac_try) 2>&5
33437 ac_status=$?
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); }; } &&
33440 { ac_try='test -s conftest$ac_exeext'
33441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33442 (eval $ac_try) 2>&5
33443 ac_status=$?
33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33445 (exit $ac_status); }; }; then
33446 ac_cv_lib_dl_dlopen=yes
33447 else
33448 echo "$as_me: failed program was:" >&5
33449 sed 's/^/| /' conftest.$ac_ext >&5
33450
33451 ac_cv_lib_dl_dlopen=no
33452 fi
33453 rm -f conftest.err conftest.$ac_objext \
33454 conftest$ac_exeext conftest.$ac_ext
33455 LIBS=$ac_check_lib_save_LIBS
33456 fi
33457 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33458 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33459 if test $ac_cv_lib_dl_dlopen = yes; then
33460
33461 cat >>confdefs.h <<\_ACEOF
33462 #define HAVE_DLOPEN 1
33463 _ACEOF
33464
33465 HAVE_DL_FUNCS=1
33466 DL_LINK=" -ldl$DL_LINK"
33467
33468 else
33469
33470
33471 for ac_func in shl_load
33472 do
33473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33474 echo "$as_me:$LINENO: checking for $ac_func" >&5
33475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33476 if eval "test \"\${$as_ac_var+set}\" = set"; then
33477 echo $ECHO_N "(cached) $ECHO_C" >&6
33478 else
33479 cat >conftest.$ac_ext <<_ACEOF
33480 /* confdefs.h. */
33481 _ACEOF
33482 cat confdefs.h >>conftest.$ac_ext
33483 cat >>conftest.$ac_ext <<_ACEOF
33484 /* end confdefs.h. */
33485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33487 #define $ac_func innocuous_$ac_func
33488
33489 /* System header to define __stub macros and hopefully few prototypes,
33490 which can conflict with char $ac_func (); below.
33491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33492 <limits.h> exists even on freestanding compilers. */
33493
33494 #ifdef __STDC__
33495 # include <limits.h>
33496 #else
33497 # include <assert.h>
33498 #endif
33499
33500 #undef $ac_func
33501
33502 /* Override any gcc2 internal prototype to avoid an error. */
33503 #ifdef __cplusplus
33504 extern "C"
33505 {
33506 #endif
33507 /* We use char because int might match the return type of a gcc2
33508 builtin and then its argument prototype would still apply. */
33509 char $ac_func ();
33510 /* The GNU C library defines this for functions which it implements
33511 to always fail with ENOSYS. Some functions are actually named
33512 something starting with __ and the normal name is an alias. */
33513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33514 choke me
33515 #else
33516 char (*f) () = $ac_func;
33517 #endif
33518 #ifdef __cplusplus
33519 }
33520 #endif
33521
33522 int
33523 main ()
33524 {
33525 return f != $ac_func;
33526 ;
33527 return 0;
33528 }
33529 _ACEOF
33530 rm -f conftest.$ac_objext conftest$ac_exeext
33531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33532 (eval $ac_link) 2>conftest.er1
33533 ac_status=$?
33534 grep -v '^ *+' conftest.er1 >conftest.err
33535 rm -f conftest.er1
33536 cat conftest.err >&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } &&
33539 { ac_try='test -z "$ac_c_werror_flag"
33540 || test ! -s conftest.err'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33543 ac_status=$?
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; } &&
33546 { ac_try='test -s conftest$ac_exeext'
33547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33548 (eval $ac_try) 2>&5
33549 ac_status=$?
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); }; }; then
33552 eval "$as_ac_var=yes"
33553 else
33554 echo "$as_me: failed program was:" >&5
33555 sed 's/^/| /' conftest.$ac_ext >&5
33556
33557 eval "$as_ac_var=no"
33558 fi
33559 rm -f conftest.err conftest.$ac_objext \
33560 conftest$ac_exeext conftest.$ac_ext
33561 fi
33562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33564 if test `eval echo '${'$as_ac_var'}'` = yes; then
33565 cat >>confdefs.h <<_ACEOF
33566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33567 _ACEOF
33568
33569 cat >>confdefs.h <<\_ACEOF
33570 #define HAVE_SHL_LOAD 1
33571 _ACEOF
33572
33573 HAVE_SHL_FUNCS=1
33574
33575 else
33576
33577 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33578 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33579 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 else
33582 ac_check_lib_save_LIBS=$LIBS
33583 LIBS="-lshl_load $LIBS"
33584 cat >conftest.$ac_ext <<_ACEOF
33585 /* confdefs.h. */
33586 _ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33590
33591 /* Override any gcc2 internal prototype to avoid an error. */
33592 #ifdef __cplusplus
33593 extern "C"
33594 #endif
33595 /* We use char because int might match the return type of a gcc2
33596 builtin and then its argument prototype would still apply. */
33597 char dld ();
33598 int
33599 main ()
33600 {
33601 dld ();
33602 ;
33603 return 0;
33604 }
33605 _ACEOF
33606 rm -f conftest.$ac_objext conftest$ac_exeext
33607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33608 (eval $ac_link) 2>conftest.er1
33609 ac_status=$?
33610 grep -v '^ *+' conftest.er1 >conftest.err
33611 rm -f conftest.er1
33612 cat conftest.err >&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } &&
33615 { ac_try='test -z "$ac_c_werror_flag"
33616 || test ! -s conftest.err'
33617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33618 (eval $ac_try) 2>&5
33619 ac_status=$?
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); }; } &&
33622 { ac_try='test -s conftest$ac_exeext'
33623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33624 (eval $ac_try) 2>&5
33625 ac_status=$?
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; }; then
33628 ac_cv_lib_shl_load_dld=yes
33629 else
33630 echo "$as_me: failed program was:" >&5
33631 sed 's/^/| /' conftest.$ac_ext >&5
33632
33633 ac_cv_lib_shl_load_dld=no
33634 fi
33635 rm -f conftest.err conftest.$ac_objext \
33636 conftest$ac_exeext conftest.$ac_ext
33637 LIBS=$ac_check_lib_save_LIBS
33638 fi
33639 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33640 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33641 if test $ac_cv_lib_shl_load_dld = yes; then
33642
33643 HAVE_SHL_FUNCS=1
33644 DL_LINK=" -ldld$DL_LINK"
33645
33646 fi
33647
33648
33649 fi
33650 done
33651
33652
33653 fi
33654
33655
33656 fi
33657 done
33658
33659
33660 if test "$HAVE_DL_FUNCS" = 1; then
33661
33662 for ac_func in dlerror
33663 do
33664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33665 echo "$as_me:$LINENO: checking for $ac_func" >&5
33666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33667 if eval "test \"\${$as_ac_var+set}\" = set"; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33669 else
33670 cat >conftest.$ac_ext <<_ACEOF
33671 /* confdefs.h. */
33672 _ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33678 #define $ac_func innocuous_$ac_func
33679
33680 /* System header to define __stub macros and hopefully few prototypes,
33681 which can conflict with char $ac_func (); below.
33682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33683 <limits.h> exists even on freestanding compilers. */
33684
33685 #ifdef __STDC__
33686 # include <limits.h>
33687 #else
33688 # include <assert.h>
33689 #endif
33690
33691 #undef $ac_func
33692
33693 /* Override any gcc2 internal prototype to avoid an error. */
33694 #ifdef __cplusplus
33695 extern "C"
33696 {
33697 #endif
33698 /* We use char because int might match the return type of a gcc2
33699 builtin and then its argument prototype would still apply. */
33700 char $ac_func ();
33701 /* The GNU C library defines this for functions which it implements
33702 to always fail with ENOSYS. Some functions are actually named
33703 something starting with __ and the normal name is an alias. */
33704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33705 choke me
33706 #else
33707 char (*f) () = $ac_func;
33708 #endif
33709 #ifdef __cplusplus
33710 }
33711 #endif
33712
33713 int
33714 main ()
33715 {
33716 return f != $ac_func;
33717 ;
33718 return 0;
33719 }
33720 _ACEOF
33721 rm -f conftest.$ac_objext conftest$ac_exeext
33722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33723 (eval $ac_link) 2>conftest.er1
33724 ac_status=$?
33725 grep -v '^ *+' conftest.er1 >conftest.err
33726 rm -f conftest.er1
33727 cat conftest.err >&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); } &&
33730 { ac_try='test -z "$ac_c_werror_flag"
33731 || test ! -s conftest.err'
33732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33733 (eval $ac_try) 2>&5
33734 ac_status=$?
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); }; } &&
33737 { ac_try='test -s conftest$ac_exeext'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33740 ac_status=$?
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; }; then
33743 eval "$as_ac_var=yes"
33744 else
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33747
33748 eval "$as_ac_var=no"
33749 fi
33750 rm -f conftest.err conftest.$ac_objext \
33751 conftest$ac_exeext conftest.$ac_ext
33752 fi
33753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33755 if test `eval echo '${'$as_ac_var'}'` = yes; then
33756 cat >>confdefs.h <<_ACEOF
33757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33758 _ACEOF
33759 cat >>confdefs.h <<\_ACEOF
33760 #define HAVE_DLERROR 1
33761 _ACEOF
33762
33763 else
33764
33765 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33766 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33767 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33768 echo $ECHO_N "(cached) $ECHO_C" >&6
33769 else
33770 ac_check_lib_save_LIBS=$LIBS
33771 LIBS="-ldl $LIBS"
33772 cat >conftest.$ac_ext <<_ACEOF
33773 /* confdefs.h. */
33774 _ACEOF
33775 cat confdefs.h >>conftest.$ac_ext
33776 cat >>conftest.$ac_ext <<_ACEOF
33777 /* end confdefs.h. */
33778
33779 /* Override any gcc2 internal prototype to avoid an error. */
33780 #ifdef __cplusplus
33781 extern "C"
33782 #endif
33783 /* We use char because int might match the return type of a gcc2
33784 builtin and then its argument prototype would still apply. */
33785 char dlerror ();
33786 int
33787 main ()
33788 {
33789 dlerror ();
33790 ;
33791 return 0;
33792 }
33793 _ACEOF
33794 rm -f conftest.$ac_objext conftest$ac_exeext
33795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33796 (eval $ac_link) 2>conftest.er1
33797 ac_status=$?
33798 grep -v '^ *+' conftest.er1 >conftest.err
33799 rm -f conftest.er1
33800 cat conftest.err >&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } &&
33803 { ac_try='test -z "$ac_c_werror_flag"
33804 || test ! -s conftest.err'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33807 ac_status=$?
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; } &&
33810 { ac_try='test -s conftest$ac_exeext'
33811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33812 (eval $ac_try) 2>&5
33813 ac_status=$?
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); }; }; then
33816 ac_cv_lib_dl_dlerror=yes
33817 else
33818 echo "$as_me: failed program was:" >&5
33819 sed 's/^/| /' conftest.$ac_ext >&5
33820
33821 ac_cv_lib_dl_dlerror=no
33822 fi
33823 rm -f conftest.err conftest.$ac_objext \
33824 conftest$ac_exeext conftest.$ac_ext
33825 LIBS=$ac_check_lib_save_LIBS
33826 fi
33827 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33828 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33829 if test $ac_cv_lib_dl_dlerror = yes; then
33830 cat >>confdefs.h <<\_ACEOF
33831 #define HAVE_DLERROR 1
33832 _ACEOF
33833
33834 fi
33835
33836
33837
33838 fi
33839 done
33840
33841 fi
33842 fi
33843
33844 if test "$HAVE_DL_FUNCS" = 0; then
33845 if test "$HAVE_SHL_FUNCS" = 0; then
33846 if test "$USE_UNIX" = 1; then
33847 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33848 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33849 wxUSE_DYNAMIC_LOADER=no
33850 wxUSE_DYNLIB_CLASS=no
33851 else
33852 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33853 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33854 fi
33855 fi
33856 fi
33857 fi
33858 fi
33859
33860 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33861 cat >>confdefs.h <<\_ACEOF
33862 #define wxUSE_DYNAMIC_LOADER 1
33863 _ACEOF
33864
33865 fi
33866 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33867 cat >>confdefs.h <<\_ACEOF
33868 #define wxUSE_DYNLIB_CLASS 1
33869 _ACEOF
33870
33871 fi
33872
33873
33874
33875 if test "$wxUSE_PLUGINS" = "yes" ; then
33876 if test "$wxUSE_SHARED" = "no" ; then
33877 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33878 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33879 wxUSE_PLUGINS=no
33880 fi
33881 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33882 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33883 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33884 wxUSE_PLUGINS=no
33885 fi
33886 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33887 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33888 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33889 wxUSE_PLUGINS=no
33890 fi
33891 if test "$wxUSE_PLUGINS" = "yes" ; then
33892 cat >>confdefs.h <<\_ACEOF
33893 #define wxUSE_PLUGINS 1
33894 _ACEOF
33895
33896 fi
33897 fi
33898
33899
33900 if test "$wxUSE_STL" = "yes"; then
33901 cat >>confdefs.h <<\_ACEOF
33902 #define wxUSE_STL 1
33903 _ACEOF
33904
33905 fi
33906
33907 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33908 cat >>confdefs.h <<\_ACEOF
33909 #define wxUSE_APPLE_IEEE 1
33910 _ACEOF
33911
33912 fi
33913
33914 if test "$wxUSE_TIMER" = "yes"; then
33915 cat >>confdefs.h <<\_ACEOF
33916 #define wxUSE_TIMER 1
33917 _ACEOF
33918
33919 fi
33920
33921 WITH_PLUGIN_SDL=0
33922 if test "$wxUSE_SOUND" = "yes"; then
33923 if test "$USE_UNIX" = "1" ; then
33924
33925 for ac_header in sys/soundcard.h
33926 do
33927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33929 echo "$as_me:$LINENO: checking for $ac_header" >&5
33930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33932 echo $ECHO_N "(cached) $ECHO_C" >&6
33933 fi
33934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33936 else
33937 # Is the header compilable?
33938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33940 cat >conftest.$ac_ext <<_ACEOF
33941 /* confdefs.h. */
33942 _ACEOF
33943 cat confdefs.h >>conftest.$ac_ext
33944 cat >>conftest.$ac_ext <<_ACEOF
33945 /* end confdefs.h. */
33946 $ac_includes_default
33947 #include <$ac_header>
33948 _ACEOF
33949 rm -f conftest.$ac_objext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33951 (eval $ac_compile) 2>conftest.er1
33952 ac_status=$?
33953 grep -v '^ *+' conftest.er1 >conftest.err
33954 rm -f conftest.er1
33955 cat conftest.err >&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } &&
33958 { ac_try='test -z "$ac_c_werror_flag"
33959 || test ! -s conftest.err'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33962 ac_status=$?
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try='test -s conftest.$ac_objext'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33968 ac_status=$?
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; }; then
33971 ac_header_compiler=yes
33972 else
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33975
33976 ac_header_compiler=no
33977 fi
33978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33980 echo "${ECHO_T}$ac_header_compiler" >&6
33981
33982 # Is the header present?
33983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33985 cat >conftest.$ac_ext <<_ACEOF
33986 /* confdefs.h. */
33987 _ACEOF
33988 cat confdefs.h >>conftest.$ac_ext
33989 cat >>conftest.$ac_ext <<_ACEOF
33990 /* end confdefs.h. */
33991 #include <$ac_header>
33992 _ACEOF
33993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33995 ac_status=$?
33996 grep -v '^ *+' conftest.er1 >conftest.err
33997 rm -f conftest.er1
33998 cat conftest.err >&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); } >/dev/null; then
34001 if test -s conftest.err; then
34002 ac_cpp_err=$ac_c_preproc_warn_flag
34003 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34004 else
34005 ac_cpp_err=
34006 fi
34007 else
34008 ac_cpp_err=yes
34009 fi
34010 if test -z "$ac_cpp_err"; then
34011 ac_header_preproc=yes
34012 else
34013 echo "$as_me: failed program was:" >&5
34014 sed 's/^/| /' conftest.$ac_ext >&5
34015
34016 ac_header_preproc=no
34017 fi
34018 rm -f conftest.err conftest.$ac_ext
34019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34020 echo "${ECHO_T}$ac_header_preproc" >&6
34021
34022 # So? What about this header?
34023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34024 yes:no: )
34025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34029 ac_header_preproc=yes
34030 ;;
34031 no:yes:* )
34032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34044 (
34045 cat <<\_ASBOX
34046 ## ----------------------------------------- ##
34047 ## Report this to wx-dev@lists.wxwidgets.org ##
34048 ## ----------------------------------------- ##
34049 _ASBOX
34050 ) |
34051 sed "s/^/$as_me: WARNING: /" >&2
34052 ;;
34053 esac
34054 echo "$as_me:$LINENO: checking for $ac_header" >&5
34055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34058 else
34059 eval "$as_ac_Header=\$ac_header_preproc"
34060 fi
34061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34063
34064 fi
34065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34066 cat >>confdefs.h <<_ACEOF
34067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34068 _ACEOF
34069
34070 fi
34071
34072 done
34073
34074
34075 if test "$wxUSE_LIBSDL" != "no"; then
34076
34077 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34078 if test "${with_sdl_prefix+set}" = set; then
34079 withval="$with_sdl_prefix"
34080 sdl_prefix="$withval"
34081 else
34082 sdl_prefix=""
34083 fi;
34084
34085 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34086 if test "${with_sdl_exec_prefix+set}" = set; then
34087 withval="$with_sdl_exec_prefix"
34088 sdl_exec_prefix="$withval"
34089 else
34090 sdl_exec_prefix=""
34091 fi;
34092 # Check whether --enable-sdltest or --disable-sdltest was given.
34093 if test "${enable_sdltest+set}" = set; then
34094 enableval="$enable_sdltest"
34095
34096 else
34097 enable_sdltest=yes
34098 fi;
34099
34100 if test x$sdl_exec_prefix != x ; then
34101 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34102 if test x${SDL_CONFIG+set} != xset ; then
34103 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34104 fi
34105 fi
34106 if test x$sdl_prefix != x ; then
34107 sdl_args="$sdl_args --prefix=$sdl_prefix"
34108 if test x${SDL_CONFIG+set} != xset ; then
34109 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34110 fi
34111 fi
34112
34113
34114 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34115 # Extract the first word of "sdl-config", so it can be a program name with args.
34116 set dummy sdl-config; ac_word=$2
34117 echo "$as_me:$LINENO: checking for $ac_word" >&5
34118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34119 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34121 else
34122 case $SDL_CONFIG in
34123 [\\/]* | ?:[\\/]*)
34124 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34125 ;;
34126 *)
34127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34128 for as_dir in $PATH
34129 do
34130 IFS=$as_save_IFS
34131 test -z "$as_dir" && as_dir=.
34132 for ac_exec_ext in '' $ac_executable_extensions; do
34133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34134 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34136 break 2
34137 fi
34138 done
34139 done
34140
34141 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34142 ;;
34143 esac
34144 fi
34145 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34146
34147 if test -n "$SDL_CONFIG"; then
34148 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34149 echo "${ECHO_T}$SDL_CONFIG" >&6
34150 else
34151 echo "$as_me:$LINENO: result: no" >&5
34152 echo "${ECHO_T}no" >&6
34153 fi
34154
34155 min_sdl_version=1.2.0
34156 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34157 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34158 no_sdl=""
34159 if test "$SDL_CONFIG" = "no" ; then
34160 no_sdl=yes
34161 else
34162 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34163 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34164
34165 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34167 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34168 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34169 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34170 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34171 if test "x$enable_sdltest" = "xyes" ; then
34172 ac_save_CFLAGS="$CFLAGS"
34173 ac_save_LIBS="$LIBS"
34174 CFLAGS="$CFLAGS $SDL_CFLAGS"
34175 LIBS="$LIBS $SDL_LIBS"
34176 rm -f conf.sdltest
34177 if test "$cross_compiling" = yes; then
34178 echo $ac_n "cross compiling; assumed OK... $ac_c"
34179 else
34180 cat >conftest.$ac_ext <<_ACEOF
34181 /* confdefs.h. */
34182 _ACEOF
34183 cat confdefs.h >>conftest.$ac_ext
34184 cat >>conftest.$ac_ext <<_ACEOF
34185 /* end confdefs.h. */
34186
34187 #include <stdio.h>
34188 #include <stdlib.h>
34189 #include <string.h>
34190 #include "SDL.h"
34191
34192 char*
34193 my_strdup (char *str)
34194 {
34195 char *new_str;
34196
34197 if (str)
34198 {
34199 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34200 strcpy (new_str, str);
34201 }
34202 else
34203 new_str = NULL;
34204
34205 return new_str;
34206 }
34207
34208 int main (int argc, char *argv[])
34209 {
34210 int major, minor, micro;
34211 char *tmp_version;
34212
34213 /* This hangs on some systems (?)
34214 system ("touch conf.sdltest");
34215 */
34216 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34217
34218 /* HP/UX 9 (%@#!) writes to sscanf strings */
34219 tmp_version = my_strdup("$min_sdl_version");
34220 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34221 printf("%s, bad version string\n", "$min_sdl_version");
34222 exit(1);
34223 }
34224
34225 if (($sdl_major_version > major) ||
34226 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34227 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34228 {
34229 return 0;
34230 }
34231 else
34232 {
34233 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34234 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34235 printf("*** best to upgrade to the required version.\n");
34236 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34237 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34238 printf("*** config.cache before re-running configure\n");
34239 return 1;
34240 }
34241 }
34242
34243
34244 _ACEOF
34245 rm -f conftest$ac_exeext
34246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34247 (eval $ac_link) 2>&5
34248 ac_status=$?
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34252 (eval $ac_try) 2>&5
34253 ac_status=$?
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); }; }; then
34256 :
34257 else
34258 echo "$as_me: program exited with status $ac_status" >&5
34259 echo "$as_me: failed program was:" >&5
34260 sed 's/^/| /' conftest.$ac_ext >&5
34261
34262 ( exit $ac_status )
34263 no_sdl=yes
34264 fi
34265 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34266 fi
34267 CFLAGS="$ac_save_CFLAGS"
34268 LIBS="$ac_save_LIBS"
34269 fi
34270 fi
34271 if test "x$no_sdl" = x ; then
34272 echo "$as_me:$LINENO: result: yes" >&5
34273 echo "${ECHO_T}yes" >&6
34274
34275 EXTRALIBS_SDL="$SDL_LIBS"
34276 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34277 cat >>confdefs.h <<\_ACEOF
34278 #define wxUSE_LIBSDL 1
34279 _ACEOF
34280
34281
34282 else
34283 echo "$as_me:$LINENO: result: no" >&5
34284 echo "${ECHO_T}no" >&6
34285 if test "$SDL_CONFIG" = "no" ; then
34286 echo "*** The sdl-config script installed by SDL could not be found"
34287 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34288 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34289 echo "*** full path to sdl-config."
34290 else
34291 if test -f conf.sdltest ; then
34292 :
34293 else
34294 echo "*** Could not run SDL test program, checking why..."
34295 CFLAGS="$CFLAGS $SDL_CFLAGS"
34296 LIBS="$LIBS $SDL_LIBS"
34297 cat >conftest.$ac_ext <<_ACEOF
34298 /* confdefs.h. */
34299 _ACEOF
34300 cat confdefs.h >>conftest.$ac_ext
34301 cat >>conftest.$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34303
34304 #include <stdio.h>
34305 #include "SDL.h"
34306
34307 int main(int argc, char *argv[])
34308 { return 0; }
34309 #undef main
34310 #define main K_and_R_C_main
34311
34312 int
34313 main ()
34314 {
34315 return 0;
34316 ;
34317 return 0;
34318 }
34319 _ACEOF
34320 rm -f conftest.$ac_objext conftest$ac_exeext
34321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34322 (eval $ac_link) 2>conftest.er1
34323 ac_status=$?
34324 grep -v '^ *+' conftest.er1 >conftest.err
34325 rm -f conftest.er1
34326 cat conftest.err >&5
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); } &&
34329 { ac_try='test -z "$ac_c_werror_flag"
34330 || test ! -s conftest.err'
34331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34332 (eval $ac_try) 2>&5
34333 ac_status=$?
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); }; } &&
34336 { ac_try='test -s conftest$ac_exeext'
34337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34338 (eval $ac_try) 2>&5
34339 ac_status=$?
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); }; }; then
34342 echo "*** The test program compiled, but did not run. This usually means"
34343 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34344 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34345 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34346 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34347 echo "*** is required on your system"
34348 echo "***"
34349 echo "*** If you have an old version installed, it is best to remove it, although"
34350 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34351 else
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.$ac_ext >&5
34354
34355 echo "*** The test program failed to compile or link. See the file config.log for the"
34356 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34357 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34358 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34359 fi
34360 rm -f conftest.err conftest.$ac_objext \
34361 conftest$ac_exeext conftest.$ac_ext
34362 CFLAGS="$ac_save_CFLAGS"
34363 LIBS="$ac_save_LIBS"
34364 fi
34365 fi
34366 SDL_CFLAGS=""
34367 SDL_LIBS=""
34368 wxUSE_LIBSDL="no"
34369 fi
34370
34371
34372 rm -f conf.sdltest
34373
34374 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34375 WITH_PLUGIN_SDL=1
34376 fi
34377 fi
34378 fi
34379
34380 cat >>confdefs.h <<\_ACEOF
34381 #define wxUSE_SOUND 1
34382 _ACEOF
34383
34384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34385 fi
34386
34387 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34388 cat >>confdefs.h <<\_ACEOF
34389 #define wxUSE_CMDLINE_PARSER 1
34390 _ACEOF
34391
34392 fi
34393
34394 if test "$wxUSE_STOPWATCH" = "yes"; then
34395 cat >>confdefs.h <<\_ACEOF
34396 #define wxUSE_STOPWATCH 1
34397 _ACEOF
34398
34399 fi
34400
34401 if test "$wxUSE_DATETIME" = "yes"; then
34402 cat >>confdefs.h <<\_ACEOF
34403 #define wxUSE_DATETIME 1
34404 _ACEOF
34405
34406 fi
34407
34408 if test "$wxUSE_FILE" = "yes"; then
34409 cat >>confdefs.h <<\_ACEOF
34410 #define wxUSE_FILE 1
34411 _ACEOF
34412
34413 fi
34414
34415 if test "$wxUSE_FFILE" = "yes"; then
34416 cat >>confdefs.h <<\_ACEOF
34417 #define wxUSE_FFILE 1
34418 _ACEOF
34419
34420 fi
34421
34422 if test "$wxUSE_FILESYSTEM" = "yes"; then
34423 cat >>confdefs.h <<\_ACEOF
34424 #define wxUSE_FILESYSTEM 1
34425 _ACEOF
34426
34427 fi
34428
34429 if test "$wxUSE_FS_ZIP" = "yes"; then
34430 cat >>confdefs.h <<\_ACEOF
34431 #define wxUSE_FS_ZIP 1
34432 _ACEOF
34433
34434 fi
34435
34436 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34437 cat >>confdefs.h <<\_ACEOF
34438 #define wxUSE_ZIPSTREAM 1
34439 _ACEOF
34440
34441 fi
34442
34443 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34444 cat >>confdefs.h <<\_ACEOF
34445 #define wxUSE_ON_FATAL_EXCEPTION 1
34446 _ACEOF
34447
34448 fi
34449
34450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34451 cat >>confdefs.h <<\_ACEOF
34452 #define wxUSE_SNGLINST_CHECKER 1
34453 _ACEOF
34454
34455 fi
34456
34457 if test "$wxUSE_BUSYINFO" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459 #define wxUSE_BUSYINFO 1
34460 _ACEOF
34461
34462 fi
34463
34464 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34465 cat >>confdefs.h <<\_ACEOF
34466 #define wxUSE_STD_IOSTREAM 1
34467 _ACEOF
34468
34469 fi
34470
34471 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34472 cat >>confdefs.h <<\_ACEOF
34473 #define wxUSE_TEXTBUFFER 1
34474 _ACEOF
34475
34476 fi
34477
34478 if test "$wxUSE_TEXTFILE" = "yes"; then
34479 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34480 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34481 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34482 else
34483 cat >>confdefs.h <<\_ACEOF
34484 #define wxUSE_TEXTFILE 1
34485 _ACEOF
34486
34487 fi
34488 fi
34489
34490 if test "$wxUSE_CONFIG" = "yes" ; then
34491 if test "$wxUSE_TEXTFILE" != "yes"; then
34492 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34493 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34494 else
34495 cat >>confdefs.h <<\_ACEOF
34496 #define wxUSE_CONFIG 1
34497 _ACEOF
34498
34499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34500 fi
34501 fi
34502
34503 if test "$wxUSE_INTL" = "yes" ; then
34504 if test "$wxUSE_FILE" != "yes"; then
34505 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34506 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34507 else
34508 cat >>confdefs.h <<\_ACEOF
34509 #define wxUSE_INTL 1
34510 _ACEOF
34511
34512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34513 GUIDIST="$GUIDIST INTL_DIST"
34514 fi
34515 fi
34516
34517 if test "$wxUSE_LOG" = "yes"; then
34518 cat >>confdefs.h <<\_ACEOF
34519 #define wxUSE_LOG 1
34520 _ACEOF
34521
34522
34523 if test "$wxUSE_LOGGUI" = "yes"; then
34524 cat >>confdefs.h <<\_ACEOF
34525 #define wxUSE_LOGGUI 1
34526 _ACEOF
34527
34528 fi
34529
34530 if test "$wxUSE_LOGWINDOW" = "yes"; then
34531 cat >>confdefs.h <<\_ACEOF
34532 #define wxUSE_LOGWINDOW 1
34533 _ACEOF
34534
34535 fi
34536
34537 if test "$wxUSE_LOGDIALOG" = "yes"; then
34538 cat >>confdefs.h <<\_ACEOF
34539 #define wxUSE_LOG_DIALOG 1
34540 _ACEOF
34541
34542 fi
34543 fi
34544
34545 if test "$wxUSE_LONGLONG" = "yes"; then
34546 cat >>confdefs.h <<\_ACEOF
34547 #define wxUSE_LONGLONG 1
34548 _ACEOF
34549
34550 fi
34551
34552 if test "$wxUSE_GEOMETRY" = "yes"; then
34553 cat >>confdefs.h <<\_ACEOF
34554 #define wxUSE_GEOMETRY 1
34555 _ACEOF
34556
34557 fi
34558
34559 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34560 cat >>confdefs.h <<\_ACEOF
34561 #define wxUSE_DIALUP_MANAGER 1
34562 _ACEOF
34563
34564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34565 fi
34566
34567 if test "$wxUSE_STREAMS" = "yes" ; then
34568 cat >>confdefs.h <<\_ACEOF
34569 #define wxUSE_STREAMS 1
34570 _ACEOF
34571
34572 fi
34573
34574
34575 if test "$wxUSE_DATETIME" = "yes"; then
34576
34577 for ac_func in strptime
34578 do
34579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34580 echo "$as_me:$LINENO: checking for $ac_func" >&5
34581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34582 if eval "test \"\${$as_ac_var+set}\" = set"; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 else
34585 cat >conftest.$ac_ext <<_ACEOF
34586 /* confdefs.h. */
34587 _ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34593 #define $ac_func innocuous_$ac_func
34594
34595 /* System header to define __stub macros and hopefully few prototypes,
34596 which can conflict with char $ac_func (); below.
34597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34598 <limits.h> exists even on freestanding compilers. */
34599
34600 #ifdef __STDC__
34601 # include <limits.h>
34602 #else
34603 # include <assert.h>
34604 #endif
34605
34606 #undef $ac_func
34607
34608 /* Override any gcc2 internal prototype to avoid an error. */
34609 #ifdef __cplusplus
34610 extern "C"
34611 {
34612 #endif
34613 /* We use char because int might match the return type of a gcc2
34614 builtin and then its argument prototype would still apply. */
34615 char $ac_func ();
34616 /* The GNU C library defines this for functions which it implements
34617 to always fail with ENOSYS. Some functions are actually named
34618 something starting with __ and the normal name is an alias. */
34619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34620 choke me
34621 #else
34622 char (*f) () = $ac_func;
34623 #endif
34624 #ifdef __cplusplus
34625 }
34626 #endif
34627
34628 int
34629 main ()
34630 {
34631 return f != $ac_func;
34632 ;
34633 return 0;
34634 }
34635 _ACEOF
34636 rm -f conftest.$ac_objext conftest$ac_exeext
34637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34638 (eval $ac_link) 2>conftest.er1
34639 ac_status=$?
34640 grep -v '^ *+' conftest.er1 >conftest.err
34641 rm -f conftest.er1
34642 cat conftest.err >&5
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); } &&
34645 { ac_try='test -z "$ac_c_werror_flag"
34646 || test ! -s conftest.err'
34647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34648 (eval $ac_try) 2>&5
34649 ac_status=$?
34650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651 (exit $ac_status); }; } &&
34652 { ac_try='test -s conftest$ac_exeext'
34653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34654 (eval $ac_try) 2>&5
34655 ac_status=$?
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); }; }; then
34658 eval "$as_ac_var=yes"
34659 else
34660 echo "$as_me: failed program was:" >&5
34661 sed 's/^/| /' conftest.$ac_ext >&5
34662
34663 eval "$as_ac_var=no"
34664 fi
34665 rm -f conftest.err conftest.$ac_objext \
34666 conftest$ac_exeext conftest.$ac_ext
34667 fi
34668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34670 if test `eval echo '${'$as_ac_var'}'` = yes; then
34671 cat >>confdefs.h <<_ACEOF
34672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34673 _ACEOF
34674
34675 fi
34676 done
34677
34678
34679 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34680 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34681 if test "${wx_cv_var_timezone+set}" = set; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34683 else
34684
34685 cat >conftest.$ac_ext <<_ACEOF
34686 /* confdefs.h. */
34687 _ACEOF
34688 cat confdefs.h >>conftest.$ac_ext
34689 cat >>conftest.$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34691
34692 #include <time.h>
34693
34694 int
34695 main ()
34696 {
34697
34698 int tz;
34699 tz = timezone;
34700
34701 ;
34702 return 0;
34703 }
34704 _ACEOF
34705 rm -f conftest.$ac_objext
34706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34707 (eval $ac_compile) 2>conftest.er1
34708 ac_status=$?
34709 grep -v '^ *+' conftest.er1 >conftest.err
34710 rm -f conftest.er1
34711 cat conftest.err >&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); } &&
34714 { ac_try='test -z "$ac_c_werror_flag"
34715 || test ! -s conftest.err'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34718 ac_status=$?
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; } &&
34721 { ac_try='test -s conftest.$ac_objext'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34724 ac_status=$?
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; }; then
34727
34728 wx_cv_var_timezone=timezone
34729
34730 else
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.$ac_ext >&5
34733
34734
34735 cat >conftest.$ac_ext <<_ACEOF
34736 /* confdefs.h. */
34737 _ACEOF
34738 cat confdefs.h >>conftest.$ac_ext
34739 cat >>conftest.$ac_ext <<_ACEOF
34740 /* end confdefs.h. */
34741
34742 #include <time.h>
34743
34744 int
34745 main ()
34746 {
34747
34748 int tz;
34749 tz = _timezone;
34750
34751 ;
34752 return 0;
34753 }
34754 _ACEOF
34755 rm -f conftest.$ac_objext
34756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34757 (eval $ac_compile) 2>conftest.er1
34758 ac_status=$?
34759 grep -v '^ *+' conftest.er1 >conftest.err
34760 rm -f conftest.er1
34761 cat conftest.err >&5
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); } &&
34764 { ac_try='test -z "$ac_c_werror_flag"
34765 || test ! -s conftest.err'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34768 ac_status=$?
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; } &&
34771 { ac_try='test -s conftest.$ac_objext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34774 ac_status=$?
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34777
34778 wx_cv_var_timezone=_timezone
34779
34780 else
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.$ac_ext >&5
34783
34784
34785 cat >conftest.$ac_ext <<_ACEOF
34786 /* confdefs.h. */
34787 _ACEOF
34788 cat confdefs.h >>conftest.$ac_ext
34789 cat >>conftest.$ac_ext <<_ACEOF
34790 /* end confdefs.h. */
34791
34792 #include <time.h>
34793
34794 int
34795 main ()
34796 {
34797
34798 int tz;
34799 tz = __timezone;
34800
34801 ;
34802 return 0;
34803 }
34804 _ACEOF
34805 rm -f conftest.$ac_objext
34806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34807 (eval $ac_compile) 2>conftest.er1
34808 ac_status=$?
34809 grep -v '^ *+' conftest.er1 >conftest.err
34810 rm -f conftest.er1
34811 cat conftest.err >&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } &&
34814 { ac_try='test -z "$ac_c_werror_flag"
34815 || test ! -s conftest.err'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34818 ac_status=$?
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; } &&
34821 { ac_try='test -s conftest.$ac_objext'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34824 ac_status=$?
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; }; then
34827
34828 wx_cv_var_timezone=__timezone
34829
34830 else
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.$ac_ext >&5
34833
34834
34835 if test "$USE_DOS" = 0 ; then
34836 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34837 echo "$as_me: WARNING: no timezone variable" >&2;}
34838 fi
34839
34840
34841 fi
34842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34843
34844
34845 fi
34846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34847
34848
34849 fi
34850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34851
34852
34853 fi
34854 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34855 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34856
34857 if test "x$wx_cv_var_timezone" != x ; then
34858 cat >>confdefs.h <<_ACEOF
34859 #define WX_TIMEZONE $wx_cv_var_timezone
34860 _ACEOF
34861
34862 fi
34863
34864
34865 for ac_func in localtime
34866 do
34867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34868 echo "$as_me:$LINENO: checking for $ac_func" >&5
34869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34870 if eval "test \"\${$as_ac_var+set}\" = set"; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34872 else
34873 cat >conftest.$ac_ext <<_ACEOF
34874 /* confdefs.h. */
34875 _ACEOF
34876 cat confdefs.h >>conftest.$ac_ext
34877 cat >>conftest.$ac_ext <<_ACEOF
34878 /* end confdefs.h. */
34879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34881 #define $ac_func innocuous_$ac_func
34882
34883 /* System header to define __stub macros and hopefully few prototypes,
34884 which can conflict with char $ac_func (); below.
34885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34886 <limits.h> exists even on freestanding compilers. */
34887
34888 #ifdef __STDC__
34889 # include <limits.h>
34890 #else
34891 # include <assert.h>
34892 #endif
34893
34894 #undef $ac_func
34895
34896 /* Override any gcc2 internal prototype to avoid an error. */
34897 #ifdef __cplusplus
34898 extern "C"
34899 {
34900 #endif
34901 /* We use char because int might match the return type of a gcc2
34902 builtin and then its argument prototype would still apply. */
34903 char $ac_func ();
34904 /* The GNU C library defines this for functions which it implements
34905 to always fail with ENOSYS. Some functions are actually named
34906 something starting with __ and the normal name is an alias. */
34907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34908 choke me
34909 #else
34910 char (*f) () = $ac_func;
34911 #endif
34912 #ifdef __cplusplus
34913 }
34914 #endif
34915
34916 int
34917 main ()
34918 {
34919 return f != $ac_func;
34920 ;
34921 return 0;
34922 }
34923 _ACEOF
34924 rm -f conftest.$ac_objext conftest$ac_exeext
34925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34926 (eval $ac_link) 2>conftest.er1
34927 ac_status=$?
34928 grep -v '^ *+' conftest.er1 >conftest.err
34929 rm -f conftest.er1
34930 cat conftest.err >&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); } &&
34933 { ac_try='test -z "$ac_c_werror_flag"
34934 || test ! -s conftest.err'
34935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34936 (eval $ac_try) 2>&5
34937 ac_status=$?
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); }; } &&
34940 { ac_try='test -s conftest$ac_exeext'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34943 ac_status=$?
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; }; then
34946 eval "$as_ac_var=yes"
34947 else
34948 echo "$as_me: failed program was:" >&5
34949 sed 's/^/| /' conftest.$ac_ext >&5
34950
34951 eval "$as_ac_var=no"
34952 fi
34953 rm -f conftest.err conftest.$ac_objext \
34954 conftest$ac_exeext conftest.$ac_ext
34955 fi
34956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34958 if test `eval echo '${'$as_ac_var'}'` = yes; then
34959 cat >>confdefs.h <<_ACEOF
34960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34961 _ACEOF
34962
34963 fi
34964 done
34965
34966
34967 if test "$ac_cv_func_localtime" = "yes"; then
34968 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34969 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34970 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34971 echo $ECHO_N "(cached) $ECHO_C" >&6
34972 else
34973
34974 cat >conftest.$ac_ext <<_ACEOF
34975 /* confdefs.h. */
34976 _ACEOF
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980
34981 #include <time.h>
34982
34983 int
34984 main ()
34985 {
34986
34987 struct tm tm;
34988 tm.tm_gmtoff++;
34989
34990 ;
34991 return 0;
34992 }
34993 _ACEOF
34994 rm -f conftest.$ac_objext
34995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34996 (eval $ac_compile) 2>conftest.er1
34997 ac_status=$?
34998 grep -v '^ *+' conftest.er1 >conftest.err
34999 rm -f conftest.er1
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } &&
35003 { ac_try='test -z "$ac_c_werror_flag"
35004 || test ! -s conftest.err'
35005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35006 (eval $ac_try) 2>&5
35007 ac_status=$?
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); }; } &&
35010 { ac_try='test -s conftest.$ac_objext'
35011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35012 (eval $ac_try) 2>&5
35013 ac_status=$?
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); }; }; then
35016
35017 wx_cv_struct_tm_has_gmtoff=yes
35018
35019 else
35020 echo "$as_me: failed program was:" >&5
35021 sed 's/^/| /' conftest.$ac_ext >&5
35022
35023 wx_cv_struct_tm_has_gmtoff=no
35024
35025 fi
35026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35027
35028 fi
35029 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35030 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35031 fi
35032
35033 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define WX_GMTOFF_IN_TM 1
35036 _ACEOF
35037
35038 fi
35039
35040
35041
35042 for ac_func in gettimeofday ftime
35043 do
35044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35045 echo "$as_me:$LINENO: checking for $ac_func" >&5
35046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35047 if eval "test \"\${$as_ac_var+set}\" = set"; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35049 else
35050 cat >conftest.$ac_ext <<_ACEOF
35051 /* confdefs.h. */
35052 _ACEOF
35053 cat confdefs.h >>conftest.$ac_ext
35054 cat >>conftest.$ac_ext <<_ACEOF
35055 /* end confdefs.h. */
35056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35058 #define $ac_func innocuous_$ac_func
35059
35060 /* System header to define __stub macros and hopefully few prototypes,
35061 which can conflict with char $ac_func (); below.
35062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35063 <limits.h> exists even on freestanding compilers. */
35064
35065 #ifdef __STDC__
35066 # include <limits.h>
35067 #else
35068 # include <assert.h>
35069 #endif
35070
35071 #undef $ac_func
35072
35073 /* Override any gcc2 internal prototype to avoid an error. */
35074 #ifdef __cplusplus
35075 extern "C"
35076 {
35077 #endif
35078 /* We use char because int might match the return type of a gcc2
35079 builtin and then its argument prototype would still apply. */
35080 char $ac_func ();
35081 /* The GNU C library defines this for functions which it implements
35082 to always fail with ENOSYS. Some functions are actually named
35083 something starting with __ and the normal name is an alias. */
35084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35085 choke me
35086 #else
35087 char (*f) () = $ac_func;
35088 #endif
35089 #ifdef __cplusplus
35090 }
35091 #endif
35092
35093 int
35094 main ()
35095 {
35096 return f != $ac_func;
35097 ;
35098 return 0;
35099 }
35100 _ACEOF
35101 rm -f conftest.$ac_objext conftest$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>conftest.er1
35104 ac_status=$?
35105 grep -v '^ *+' conftest.er1 >conftest.err
35106 rm -f conftest.er1
35107 cat conftest.err >&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } &&
35110 { ac_try='test -z "$ac_c_werror_flag"
35111 || test ! -s conftest.err'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; } &&
35117 { ac_try='test -s conftest$ac_exeext'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35120 ac_status=$?
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; }; then
35123 eval "$as_ac_var=yes"
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 eval "$as_ac_var=no"
35129 fi
35130 rm -f conftest.err conftest.$ac_objext \
35131 conftest$ac_exeext conftest.$ac_ext
35132 fi
35133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h <<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35138 _ACEOF
35139 break
35140 fi
35141 done
35142
35143
35144 if test "$ac_cv_func_gettimeofday" = "yes"; then
35145 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35146 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35147 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35148 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 else
35150
35151
35152
35153 ac_ext=cc
35154 ac_cpp='$CXXCPP $CPPFLAGS'
35155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35158
35159
35160 cat >conftest.$ac_ext <<_ACEOF
35161 /* confdefs.h. */
35162 _ACEOF
35163 cat confdefs.h >>conftest.$ac_ext
35164 cat >>conftest.$ac_ext <<_ACEOF
35165 /* end confdefs.h. */
35166
35167 #include <sys/time.h>
35168 #include <unistd.h>
35169
35170 int
35171 main ()
35172 {
35173
35174 struct timeval tv;
35175 gettimeofday(&tv, NULL);
35176
35177 ;
35178 return 0;
35179 }
35180 _ACEOF
35181 rm -f conftest.$ac_objext
35182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35183 (eval $ac_compile) 2>conftest.er1
35184 ac_status=$?
35185 grep -v '^ *+' conftest.er1 >conftest.err
35186 rm -f conftest.er1
35187 cat conftest.err >&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } &&
35190 { ac_try='test -z "$ac_cxx_werror_flag"
35191 || test ! -s conftest.err'
35192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35193 (eval $ac_try) 2>&5
35194 ac_status=$?
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); }; } &&
35197 { ac_try='test -s conftest.$ac_objext'
35198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35199 (eval $ac_try) 2>&5
35200 ac_status=$?
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); }; }; then
35203 wx_cv_func_gettimeofday_has_2_args=yes
35204 else
35205 echo "$as_me: failed program was:" >&5
35206 sed 's/^/| /' conftest.$ac_ext >&5
35207
35208 cat >conftest.$ac_ext <<_ACEOF
35209 /* confdefs.h. */
35210 _ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35214
35215 #include <sys/time.h>
35216 #include <unistd.h>
35217
35218 int
35219 main ()
35220 {
35221
35222 struct timeval tv;
35223 gettimeofday(&tv);
35224
35225 ;
35226 return 0;
35227 }
35228 _ACEOF
35229 rm -f conftest.$ac_objext
35230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35231 (eval $ac_compile) 2>conftest.er1
35232 ac_status=$?
35233 grep -v '^ *+' conftest.er1 >conftest.err
35234 rm -f conftest.er1
35235 cat conftest.err >&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); } &&
35238 { ac_try='test -z "$ac_cxx_werror_flag"
35239 || test ! -s conftest.err'
35240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35241 (eval $ac_try) 2>&5
35242 ac_status=$?
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); }; } &&
35245 { ac_try='test -s conftest.$ac_objext'
35246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35247 (eval $ac_try) 2>&5
35248 ac_status=$?
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); }; }; then
35251 wx_cv_func_gettimeofday_has_2_args=no
35252 else
35253 echo "$as_me: failed program was:" >&5
35254 sed 's/^/| /' conftest.$ac_ext >&5
35255
35256
35257 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35258 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35259 wx_cv_func_gettimeofday_has_2_args=unknown
35260
35261
35262 fi
35263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35264
35265 fi
35266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35267 ac_ext=c
35268 ac_cpp='$CPP $CPPFLAGS'
35269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35272
35273
35274 fi
35275 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35276 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35277
35278 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35279 cat >>confdefs.h <<\_ACEOF
35280 #define WX_GETTIMEOFDAY_NO_TZ 1
35281 _ACEOF
35282
35283 fi
35284 fi
35285
35286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35287 fi
35288
35289
35290 if test "$wxUSE_SOCKETS" = "yes"; then
35291 if test "$wxUSE_MGL" = "1"; then
35292 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35293 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35294 wxUSE_SOCKETS="no"
35295 fi
35296 fi
35297
35298 if test "$wxUSE_SOCKETS" = "yes"; then
35299 if test "$TOOLKIT" != "MSW"; then
35300 echo "$as_me:$LINENO: checking for socket" >&5
35301 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35302 if test "${ac_cv_func_socket+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35304 else
35305 cat >conftest.$ac_ext <<_ACEOF
35306 /* confdefs.h. */
35307 _ACEOF
35308 cat confdefs.h >>conftest.$ac_ext
35309 cat >>conftest.$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35311 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35313 #define socket innocuous_socket
35314
35315 /* System header to define __stub macros and hopefully few prototypes,
35316 which can conflict with char socket (); below.
35317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35318 <limits.h> exists even on freestanding compilers. */
35319
35320 #ifdef __STDC__
35321 # include <limits.h>
35322 #else
35323 # include <assert.h>
35324 #endif
35325
35326 #undef socket
35327
35328 /* Override any gcc2 internal prototype to avoid an error. */
35329 #ifdef __cplusplus
35330 extern "C"
35331 {
35332 #endif
35333 /* We use char because int might match the return type of a gcc2
35334 builtin and then its argument prototype would still apply. */
35335 char socket ();
35336 /* The GNU C library defines this for functions which it implements
35337 to always fail with ENOSYS. Some functions are actually named
35338 something starting with __ and the normal name is an alias. */
35339 #if defined (__stub_socket) || defined (__stub___socket)
35340 choke me
35341 #else
35342 char (*f) () = socket;
35343 #endif
35344 #ifdef __cplusplus
35345 }
35346 #endif
35347
35348 int
35349 main ()
35350 {
35351 return f != socket;
35352 ;
35353 return 0;
35354 }
35355 _ACEOF
35356 rm -f conftest.$ac_objext conftest$ac_exeext
35357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35358 (eval $ac_link) 2>conftest.er1
35359 ac_status=$?
35360 grep -v '^ *+' conftest.er1 >conftest.err
35361 rm -f conftest.er1
35362 cat conftest.err >&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } &&
35365 { ac_try='test -z "$ac_c_werror_flag"
35366 || test ! -s conftest.err'
35367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35368 (eval $ac_try) 2>&5
35369 ac_status=$?
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); }; } &&
35372 { ac_try='test -s conftest$ac_exeext'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35375 ac_status=$?
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; }; then
35378 ac_cv_func_socket=yes
35379 else
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.$ac_ext >&5
35382
35383 ac_cv_func_socket=no
35384 fi
35385 rm -f conftest.err conftest.$ac_objext \
35386 conftest$ac_exeext conftest.$ac_ext
35387 fi
35388 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35389 echo "${ECHO_T}$ac_cv_func_socket" >&6
35390 if test $ac_cv_func_socket = yes; then
35391 :
35392 else
35393
35394 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35395 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35396 if test "${ac_cv_lib_socket_socket+set}" = set; then
35397 echo $ECHO_N "(cached) $ECHO_C" >&6
35398 else
35399 ac_check_lib_save_LIBS=$LIBS
35400 LIBS="-lsocket $LIBS"
35401 cat >conftest.$ac_ext <<_ACEOF
35402 /* confdefs.h. */
35403 _ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35407
35408 /* Override any gcc2 internal prototype to avoid an error. */
35409 #ifdef __cplusplus
35410 extern "C"
35411 #endif
35412 /* We use char because int might match the return type of a gcc2
35413 builtin and then its argument prototype would still apply. */
35414 char socket ();
35415 int
35416 main ()
35417 {
35418 socket ();
35419 ;
35420 return 0;
35421 }
35422 _ACEOF
35423 rm -f conftest.$ac_objext conftest$ac_exeext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35425 (eval $ac_link) 2>conftest.er1
35426 ac_status=$?
35427 grep -v '^ *+' conftest.er1 >conftest.err
35428 rm -f conftest.er1
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } &&
35432 { ac_try='test -z "$ac_c_werror_flag"
35433 || test ! -s conftest.err'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35436 ac_status=$?
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; } &&
35439 { ac_try='test -s conftest$ac_exeext'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35442 ac_status=$?
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 ac_cv_lib_socket_socket=yes
35446 else
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35449
35450 ac_cv_lib_socket_socket=no
35451 fi
35452 rm -f conftest.err conftest.$ac_objext \
35453 conftest$ac_exeext conftest.$ac_ext
35454 LIBS=$ac_check_lib_save_LIBS
35455 fi
35456 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35457 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35458 if test $ac_cv_lib_socket_socket = yes; then
35459 if test "$INET_LINK" != " -lsocket"; then
35460 INET_LINK="$INET_LINK -lsocket"
35461 fi
35462 else
35463
35464 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35465 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35466 wxUSE_SOCKETS=no
35467
35468
35469 fi
35470
35471
35472
35473 fi
35474
35475 fi
35476 fi
35477
35478 if test "$wxUSE_SOCKETS" = "yes" ; then
35479 if test "$TOOLKIT" != "MSW"; then
35480 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35481 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35482 if test "${wx_cv_type_getsockname3+set}" = set; then
35483 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 else
35485
35486 cat >conftest.$ac_ext <<_ACEOF
35487 /* confdefs.h. */
35488 _ACEOF
35489 cat confdefs.h >>conftest.$ac_ext
35490 cat >>conftest.$ac_ext <<_ACEOF
35491 /* end confdefs.h. */
35492
35493 #include <sys/types.h>
35494 #include <sys/socket.h>
35495
35496 int
35497 main ()
35498 {
35499
35500 socklen_t len;
35501 getsockname(0, 0, &len);
35502
35503 ;
35504 return 0;
35505 }
35506 _ACEOF
35507 rm -f conftest.$ac_objext
35508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35509 (eval $ac_compile) 2>conftest.er1
35510 ac_status=$?
35511 grep -v '^ *+' conftest.er1 >conftest.err
35512 rm -f conftest.er1
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } &&
35516 { ac_try='test -z "$ac_c_werror_flag"
35517 || test ! -s conftest.err'
35518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35519 (eval $ac_try) 2>&5
35520 ac_status=$?
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); }; } &&
35523 { ac_try='test -s conftest.$ac_objext'
35524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525 (eval $ac_try) 2>&5
35526 ac_status=$?
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); }; }; then
35529 wx_cv_type_getsockname3=socklen_t
35530 else
35531 echo "$as_me: failed program was:" >&5
35532 sed 's/^/| /' conftest.$ac_ext >&5
35533
35534
35535 CFLAGS_OLD="$CFLAGS"
35536 if test "$GCC" = yes ; then
35537 CFLAGS="$CFLAGS -Werror"
35538 fi
35539
35540 cat >conftest.$ac_ext <<_ACEOF
35541 /* confdefs.h. */
35542 _ACEOF
35543 cat confdefs.h >>conftest.$ac_ext
35544 cat >>conftest.$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546
35547 #include <sys/types.h>
35548 #include <sys/socket.h>
35549
35550 int
35551 main ()
35552 {
35553
35554 size_t len;
35555 getsockname(0, 0, &len);
35556
35557 ;
35558 return 0;
35559 }
35560 _ACEOF
35561 rm -f conftest.$ac_objext
35562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35563 (eval $ac_compile) 2>conftest.er1
35564 ac_status=$?
35565 grep -v '^ *+' conftest.er1 >conftest.err
35566 rm -f conftest.er1
35567 cat conftest.err >&5
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); } &&
35570 { ac_try='test -z "$ac_c_werror_flag"
35571 || test ! -s conftest.err'
35572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35573 (eval $ac_try) 2>&5
35574 ac_status=$?
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); }; } &&
35577 { ac_try='test -s conftest.$ac_objext'
35578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35579 (eval $ac_try) 2>&5
35580 ac_status=$?
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); }; }; then
35583 wx_cv_type_getsockname3=size_t
35584 else
35585 echo "$as_me: failed program was:" >&5
35586 sed 's/^/| /' conftest.$ac_ext >&5
35587
35588 cat >conftest.$ac_ext <<_ACEOF
35589 /* confdefs.h. */
35590 _ACEOF
35591 cat confdefs.h >>conftest.$ac_ext
35592 cat >>conftest.$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35594
35595 #include <sys/types.h>
35596 #include <sys/socket.h>
35597
35598 int
35599 main ()
35600 {
35601
35602 int len;
35603 getsockname(0, 0, &len);
35604
35605 ;
35606 return 0;
35607 }
35608 _ACEOF
35609 rm -f conftest.$ac_objext
35610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35611 (eval $ac_compile) 2>conftest.er1
35612 ac_status=$?
35613 grep -v '^ *+' conftest.er1 >conftest.err
35614 rm -f conftest.er1
35615 cat conftest.err >&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); } &&
35618 { ac_try='test -z "$ac_c_werror_flag"
35619 || test ! -s conftest.err'
35620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35621 (eval $ac_try) 2>&5
35622 ac_status=$?
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); }; } &&
35625 { ac_try='test -s conftest.$ac_objext'
35626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35627 (eval $ac_try) 2>&5
35628 ac_status=$?
35629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630 (exit $ac_status); }; }; then
35631 wx_cv_type_getsockname3=int
35632 else
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35635
35636 wx_cv_type_getsockname3=unknown
35637
35638 fi
35639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35640
35641 fi
35642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35643
35644 CFLAGS="$CFLAGS_OLD"
35645
35646
35647 fi
35648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35649
35650 fi
35651 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35652 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35653
35654 if test "$wx_cv_type_getsockname3" = "unknown"; then
35655 wxUSE_SOCKETS=no
35656 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35657 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35658 else
35659 cat >>confdefs.h <<_ACEOF
35660 #define SOCKLEN_T $wx_cv_type_getsockname3
35661 _ACEOF
35662
35663 fi
35664 fi
35665 fi
35666
35667 if test "$wxUSE_SOCKETS" = "yes" ; then
35668 cat >>confdefs.h <<\_ACEOF
35669 #define wxUSE_SOCKETS 1
35670 _ACEOF
35671
35672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35673 fi
35674
35675 if test "$wxUSE_PROTOCOL" = "yes"; then
35676 if test "$wxUSE_SOCKETS" != "yes"; then
35677 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35678 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35679 wxUSE_PROTOCOL=no
35680 fi
35681 fi
35682
35683 if test "$wxUSE_PROTOCOL" = "yes"; then
35684 cat >>confdefs.h <<\_ACEOF
35685 #define wxUSE_PROTOCOL 1
35686 _ACEOF
35687
35688
35689 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35690 cat >>confdefs.h <<\_ACEOF
35691 #define wxUSE_PROTOCOL_HTTP 1
35692 _ACEOF
35693
35694 fi
35695 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35696 cat >>confdefs.h <<\_ACEOF
35697 #define wxUSE_PROTOCOL_FTP 1
35698 _ACEOF
35699
35700 fi
35701 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35702 cat >>confdefs.h <<\_ACEOF
35703 #define wxUSE_PROTOCOL_FILE 1
35704 _ACEOF
35705
35706 fi
35707 else
35708 if test "$wxUSE_FS_INET" = "yes"; then
35709 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35710 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35711 wxUSE_FS_INET="no"
35712 fi
35713 fi
35714
35715 if test "$wxUSE_URL" = "yes"; then
35716 if test "$wxUSE_PROTOCOL" != "yes"; then
35717 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35718 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35719 wxUSE_URL=no
35720 fi
35721 if test "$wxUSE_URL" = "yes"; then
35722 cat >>confdefs.h <<\_ACEOF
35723 #define wxUSE_URL 1
35724 _ACEOF
35725
35726 fi
35727 fi
35728
35729 if test "$wxUSE_FS_INET" = "yes"; then
35730 cat >>confdefs.h <<\_ACEOF
35731 #define wxUSE_FS_INET 1
35732 _ACEOF
35733
35734 fi
35735
35736
35737 if test "$wxUSE_GUI" = "yes"; then
35738
35739 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35740 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35741 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35742 wxUSE_JOYSTICK=no
35743 fi
35744
35745 if test "$TOOLKIT" != "MSW"; then
35746 if test "$wxUSE_JOYSTICK" = "yes"; then
35747
35748 for ac_header in linux/joystick.h
35749 do
35750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35752 echo "$as_me:$LINENO: checking for $ac_header" >&5
35753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 fi
35757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35759 else
35760 # Is the header compilable?
35761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35763 cat >conftest.$ac_ext <<_ACEOF
35764 /* confdefs.h. */
35765 _ACEOF
35766 cat confdefs.h >>conftest.$ac_ext
35767 cat >>conftest.$ac_ext <<_ACEOF
35768 /* end confdefs.h. */
35769 $ac_includes_default
35770 #include <$ac_header>
35771 _ACEOF
35772 rm -f conftest.$ac_objext
35773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35774 (eval $ac_compile) 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } &&
35781 { ac_try='test -z "$ac_c_werror_flag"
35782 || test ! -s conftest.err'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; } &&
35788 { ac_try='test -s conftest.$ac_objext'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; }; then
35794 ac_header_compiler=yes
35795 else
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.$ac_ext >&5
35798
35799 ac_header_compiler=no
35800 fi
35801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35803 echo "${ECHO_T}$ac_header_compiler" >&6
35804
35805 # Is the header present?
35806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35808 cat >conftest.$ac_ext <<_ACEOF
35809 /* confdefs.h. */
35810 _ACEOF
35811 cat confdefs.h >>conftest.$ac_ext
35812 cat >>conftest.$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35814 #include <$ac_header>
35815 _ACEOF
35816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35818 ac_status=$?
35819 grep -v '^ *+' conftest.er1 >conftest.err
35820 rm -f conftest.er1
35821 cat conftest.err >&5
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); } >/dev/null; then
35824 if test -s conftest.err; then
35825 ac_cpp_err=$ac_c_preproc_warn_flag
35826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35827 else
35828 ac_cpp_err=
35829 fi
35830 else
35831 ac_cpp_err=yes
35832 fi
35833 if test -z "$ac_cpp_err"; then
35834 ac_header_preproc=yes
35835 else
35836 echo "$as_me: failed program was:" >&5
35837 sed 's/^/| /' conftest.$ac_ext >&5
35838
35839 ac_header_preproc=no
35840 fi
35841 rm -f conftest.err conftest.$ac_ext
35842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35843 echo "${ECHO_T}$ac_header_preproc" >&6
35844
35845 # So? What about this header?
35846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35847 yes:no: )
35848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35852 ac_header_preproc=yes
35853 ;;
35854 no:yes:* )
35855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35867 (
35868 cat <<\_ASBOX
35869 ## ----------------------------------------- ##
35870 ## Report this to wx-dev@lists.wxwidgets.org ##
35871 ## ----------------------------------------- ##
35872 _ASBOX
35873 ) |
35874 sed "s/^/$as_me: WARNING: /" >&2
35875 ;;
35876 esac
35877 echo "$as_me:$LINENO: checking for $ac_header" >&5
35878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35880 echo $ECHO_N "(cached) $ECHO_C" >&6
35881 else
35882 eval "$as_ac_Header=\$ac_header_preproc"
35883 fi
35884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35886
35887 fi
35888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35889 cat >>confdefs.h <<_ACEOF
35890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35891 _ACEOF
35892
35893 fi
35894
35895 done
35896
35897 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35898 wxUSE_JOYSTICK=no
35899 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35900 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35901 fi
35902 fi
35903 fi
35904
35905 if test "$wxUSE_JOYSTICK" = "yes"; then
35906 cat >>confdefs.h <<\_ACEOF
35907 #define wxUSE_JOYSTICK 1
35908 _ACEOF
35909
35910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35911 fi
35912 fi
35913
35914
35915
35916 if test "$wxUSE_FONTMAP" = "yes" ; then
35917 cat >>confdefs.h <<\_ACEOF
35918 #define wxUSE_FONTMAP 1
35919 _ACEOF
35920
35921 fi
35922
35923 if test "$wxUSE_UNICODE" = "yes" ; then
35924 cat >>confdefs.h <<\_ACEOF
35925 #define wxUSE_UNICODE 1
35926 _ACEOF
35927
35928
35929 if test "$USE_WIN32" != 1; then
35930 wxUSE_UNICODE_MSLU=no
35931 fi
35932
35933 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35934 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35935 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35936 if test "${ac_cv_lib_unicows_main+set}" = set; then
35937 echo $ECHO_N "(cached) $ECHO_C" >&6
35938 else
35939 ac_check_lib_save_LIBS=$LIBS
35940 LIBS="-lunicows $LIBS"
35941 cat >conftest.$ac_ext <<_ACEOF
35942 /* confdefs.h. */
35943 _ACEOF
35944 cat confdefs.h >>conftest.$ac_ext
35945 cat >>conftest.$ac_ext <<_ACEOF
35946 /* end confdefs.h. */
35947
35948
35949 int
35950 main ()
35951 {
35952 main ();
35953 ;
35954 return 0;
35955 }
35956 _ACEOF
35957 rm -f conftest.$ac_objext conftest$ac_exeext
35958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35959 (eval $ac_link) 2>conftest.er1
35960 ac_status=$?
35961 grep -v '^ *+' conftest.er1 >conftest.err
35962 rm -f conftest.er1
35963 cat conftest.err >&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); } &&
35966 { ac_try='test -z "$ac_c_werror_flag"
35967 || test ! -s conftest.err'
35968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35969 (eval $ac_try) 2>&5
35970 ac_status=$?
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); }; } &&
35973 { ac_try='test -s conftest$ac_exeext'
35974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35975 (eval $ac_try) 2>&5
35976 ac_status=$?
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); }; }; then
35979 ac_cv_lib_unicows_main=yes
35980 else
35981 echo "$as_me: failed program was:" >&5
35982 sed 's/^/| /' conftest.$ac_ext >&5
35983
35984 ac_cv_lib_unicows_main=no
35985 fi
35986 rm -f conftest.err conftest.$ac_objext \
35987 conftest$ac_exeext conftest.$ac_ext
35988 LIBS=$ac_check_lib_save_LIBS
35989 fi
35990 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35991 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35992 if test $ac_cv_lib_unicows_main = yes; then
35993
35994 cat >>confdefs.h <<\_ACEOF
35995 #define wxUSE_UNICODE_MSLU 1
35996 _ACEOF
35997
35998
35999 else
36000
36001 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36002 Applications will only run on Windows NT/2000/XP!" >&5
36003 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36004 Applications will only run on Windows NT/2000/XP!" >&2;}
36005 wxUSE_UNICODE_MSLU=no
36006
36007 fi
36008
36009 fi
36010 fi
36011
36012 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36013 cat >>confdefs.h <<\_ACEOF
36014 #define wxUSE_EXPERIMENTAL_PRINTF 1
36015 _ACEOF
36016
36017 fi
36018
36019
36020 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36021 cat >>confdefs.h <<\_ACEOF
36022 #define wxUSE_POSTSCRIPT 1
36023 _ACEOF
36024
36025 fi
36026
36027 cat >>confdefs.h <<\_ACEOF
36028 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36029 _ACEOF
36030
36031
36032 cat >>confdefs.h <<\_ACEOF
36033 #define wxUSE_NORMALIZED_PS_FONTS 1
36034 _ACEOF
36035
36036
36037
36038 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36039 cat >>confdefs.h <<\_ACEOF
36040 #define wxUSE_CONSTRAINTS 1
36041 _ACEOF
36042
36043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36044 fi
36045
36046 if test "$wxUSE_MDI" = "yes"; then
36047 cat >>confdefs.h <<\_ACEOF
36048 #define wxUSE_MDI 1
36049 _ACEOF
36050
36051
36052 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36053 cat >>confdefs.h <<\_ACEOF
36054 #define wxUSE_MDI_ARCHITECTURE 1
36055 _ACEOF
36056
36057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36058 fi
36059 fi
36060
36061 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36062 cat >>confdefs.h <<\_ACEOF
36063 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36064 _ACEOF
36065
36066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36067 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36069 fi
36070 fi
36071
36072 if test "$wxUSE_HELP" = "yes"; then
36073 cat >>confdefs.h <<\_ACEOF
36074 #define wxUSE_HELP 1
36075 _ACEOF
36076
36077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36078
36079 if test "$wxUSE_MSW" = 1; then
36080 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36081 cat >>confdefs.h <<\_ACEOF
36082 #define wxUSE_MS_HTML_HELP 1
36083 _ACEOF
36084
36085 fi
36086 fi
36087
36088 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36089 if test "$wxUSE_HTML" = "yes"; then
36090 cat >>confdefs.h <<\_ACEOF
36091 #define wxUSE_WXHTML_HELP 1
36092 _ACEOF
36093
36094 else
36095 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36096 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36097 wxUSE_WXHTML_HELP=no
36098 fi
36099 fi
36100 fi
36101
36102 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36103 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36104 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36105 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36106 else
36107 cat >>confdefs.h <<\_ACEOF
36108 #define wxUSE_PRINTING_ARCHITECTURE 1
36109 _ACEOF
36110
36111 fi
36112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36113 fi
36114
36115 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36116 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36117 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36118 { (exit 1); exit 1; }; }
36119 fi
36120
36121
36122 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36123 -o "$wxUSE_CLIPBOARD" = "yes" \
36124 -o "$wxUSE_OLE" = "yes" \
36125 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36126
36127 for ac_header in ole2.h
36128 do
36129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36131 echo "$as_me:$LINENO: checking for $ac_header" >&5
36132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 fi
36136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36138 else
36139 # Is the header compilable?
36140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36142 cat >conftest.$ac_ext <<_ACEOF
36143 /* confdefs.h. */
36144 _ACEOF
36145 cat confdefs.h >>conftest.$ac_ext
36146 cat >>conftest.$ac_ext <<_ACEOF
36147 /* end confdefs.h. */
36148 $ac_includes_default
36149 #include <$ac_header>
36150 _ACEOF
36151 rm -f conftest.$ac_objext
36152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36153 (eval $ac_compile) 2>conftest.er1
36154 ac_status=$?
36155 grep -v '^ *+' conftest.er1 >conftest.err
36156 rm -f conftest.er1
36157 cat conftest.err >&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); } &&
36160 { ac_try='test -z "$ac_c_werror_flag"
36161 || test ! -s conftest.err'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36164 ac_status=$?
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try='test -s conftest.$ac_objext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36170 ac_status=$?
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 ac_header_compiler=yes
36174 else
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36177
36178 ac_header_compiler=no
36179 fi
36180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36182 echo "${ECHO_T}$ac_header_compiler" >&6
36183
36184 # Is the header present?
36185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36187 cat >conftest.$ac_ext <<_ACEOF
36188 /* confdefs.h. */
36189 _ACEOF
36190 cat confdefs.h >>conftest.$ac_ext
36191 cat >>conftest.$ac_ext <<_ACEOF
36192 /* end confdefs.h. */
36193 #include <$ac_header>
36194 _ACEOF
36195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36197 ac_status=$?
36198 grep -v '^ *+' conftest.er1 >conftest.err
36199 rm -f conftest.er1
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } >/dev/null; then
36203 if test -s conftest.err; then
36204 ac_cpp_err=$ac_c_preproc_warn_flag
36205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36206 else
36207 ac_cpp_err=
36208 fi
36209 else
36210 ac_cpp_err=yes
36211 fi
36212 if test -z "$ac_cpp_err"; then
36213 ac_header_preproc=yes
36214 else
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.$ac_ext >&5
36217
36218 ac_header_preproc=no
36219 fi
36220 rm -f conftest.err conftest.$ac_ext
36221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36222 echo "${ECHO_T}$ac_header_preproc" >&6
36223
36224 # So? What about this header?
36225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36226 yes:no: )
36227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36231 ac_header_preproc=yes
36232 ;;
36233 no:yes:* )
36234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36246 (
36247 cat <<\_ASBOX
36248 ## ----------------------------------------- ##
36249 ## Report this to wx-dev@lists.wxwidgets.org ##
36250 ## ----------------------------------------- ##
36251 _ASBOX
36252 ) |
36253 sed "s/^/$as_me: WARNING: /" >&2
36254 ;;
36255 esac
36256 echo "$as_me:$LINENO: checking for $ac_header" >&5
36257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36260 else
36261 eval "$as_ac_Header=\$ac_header_preproc"
36262 fi
36263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36265
36266 fi
36267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36268 cat >>confdefs.h <<_ACEOF
36269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36270 _ACEOF
36271
36272 fi
36273
36274 done
36275
36276
36277 if test "$ac_cv_header_ole2_h" = "yes" ; then
36278 if test "$GCC" = yes ; then
36279
36280
36281 ac_ext=cc
36282 ac_cpp='$CXXCPP $CPPFLAGS'
36283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286
36287
36288 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36289 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36290 cat >conftest.$ac_ext <<_ACEOF
36291 /* confdefs.h. */
36292 _ACEOF
36293 cat confdefs.h >>conftest.$ac_ext
36294 cat >>conftest.$ac_ext <<_ACEOF
36295 /* end confdefs.h. */
36296 #include <windows.h>
36297 #include <ole2.h>
36298 int
36299 main ()
36300 {
36301
36302 ;
36303 return 0;
36304 }
36305 _ACEOF
36306 rm -f conftest.$ac_objext
36307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36308 (eval $ac_compile) 2>conftest.er1
36309 ac_status=$?
36310 grep -v '^ *+' conftest.er1 >conftest.err
36311 rm -f conftest.er1
36312 cat conftest.err >&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } &&
36315 { ac_try='test -z "$ac_cxx_werror_flag"
36316 || test ! -s conftest.err'
36317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318 (eval $ac_try) 2>&5
36319 ac_status=$?
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); }; } &&
36322 { ac_try='test -s conftest.$ac_objext'
36323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36324 (eval $ac_try) 2>&5
36325 ac_status=$?
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); }; }; then
36328 echo "$as_me:$LINENO: result: no" >&5
36329 echo "${ECHO_T}no" >&6
36330 else
36331 echo "$as_me: failed program was:" >&5
36332 sed 's/^/| /' conftest.$ac_ext >&5
36333
36334 echo "$as_me:$LINENO: result: yes" >&5
36335 echo "${ECHO_T}yes" >&6
36336 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36337 fi
36338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36339 ac_ext=c
36340 ac_cpp='$CPP $CPPFLAGS'
36341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36344
36345 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36346 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36347 if test "$wxUSE_OLE" = "yes" ; then
36348 cat >>confdefs.h <<\_ACEOF
36349 #define wxUSE_OLE 1
36350 _ACEOF
36351
36352 fi
36353 fi
36354
36355 if test "$wxUSE_DATAOBJ" = "yes" ; then
36356 cat >>confdefs.h <<\_ACEOF
36357 #define wxUSE_DATAOBJ 1
36358 _ACEOF
36359
36360 fi
36361 else
36362 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36363 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36364
36365 wxUSE_CLIPBOARD=no
36366 wxUSE_DRAG_AND_DROP=no
36367 wxUSE_DATAOBJ=no
36368 wxUSE_OLE=no
36369 fi
36370
36371 if test "$wxUSE_METAFILE" = "yes"; then
36372 cat >>confdefs.h <<\_ACEOF
36373 #define wxUSE_METAFILE 1
36374 _ACEOF
36375
36376
36377 cat >>confdefs.h <<\_ACEOF
36378 #define wxUSE_ENH_METAFILE 1
36379 _ACEOF
36380
36381 fi
36382 fi
36383
36384 if test "$wxUSE_IPC" = "yes"; then
36385 if test "$wxUSE_SOCKETS" != "yes"; then
36386 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36387 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36388 fi
36389
36390 cat >>confdefs.h <<\_ACEOF
36391 #define wxUSE_IPC 1
36392 _ACEOF
36393
36394 fi
36395
36396 if test "$wxUSE_CLIPBOARD" = "yes"; then
36397 if test "$wxUSE_MGL" = 1; then
36398 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36399 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36400 wxUSE_CLIPBOARD=no
36401 fi
36402
36403 if test "$wxUSE_CLIPBOARD" = "yes"; then
36404 cat >>confdefs.h <<\_ACEOF
36405 #define wxUSE_CLIPBOARD 1
36406 _ACEOF
36407
36408
36409 cat >>confdefs.h <<\_ACEOF
36410 #define wxUSE_DATAOBJ 1
36411 _ACEOF
36412
36413 fi
36414 fi
36415
36416 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36417 if test "$wxUSE_GTK" = 1; then
36418 if test "$WXGTK12" != 1; then
36419 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36420 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36421 wxUSE_DRAG_AND_DROP=no
36422 fi
36423 fi
36424
36425 if test "$wxUSE_MOTIF" = 1; then
36426 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36427 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36428 wxUSE_DRAG_AND_DROP=no
36429 fi
36430
36431 if test "$wxUSE_X11" = 1; then
36432 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36433 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36434 wxUSE_DRAG_AND_DROP=no
36435 fi
36436
36437 if test "$wxUSE_MGL" = 1; then
36438 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36439 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36440 wxUSE_DRAG_AND_DROP=no
36441 fi
36442
36443 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36444 cat >>confdefs.h <<\_ACEOF
36445 #define wxUSE_DRAG_AND_DROP 1
36446 _ACEOF
36447
36448 fi
36449
36450 fi
36451
36452 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36454 fi
36455
36456 if test "$wxUSE_SPLINES" = "yes" ; then
36457 cat >>confdefs.h <<\_ACEOF
36458 #define wxUSE_SPLINES 1
36459 _ACEOF
36460
36461 fi
36462
36463
36464 USES_CONTROLS=0
36465 if test "$wxUSE_CONTROLS" = "yes"; then
36466 USES_CONTROLS=1
36467 fi
36468
36469 if test "$wxUSE_ACCEL" = "yes"; then
36470 cat >>confdefs.h <<\_ACEOF
36471 #define wxUSE_ACCEL 1
36472 _ACEOF
36473
36474 USES_CONTROLS=1
36475 fi
36476
36477 if test "$wxUSE_BUTTON" = "yes"; then
36478 cat >>confdefs.h <<\_ACEOF
36479 #define wxUSE_BUTTON 1
36480 _ACEOF
36481
36482 USES_CONTROLS=1
36483 fi
36484
36485 if test "$wxUSE_BMPBUTTON" = "yes"; then
36486 cat >>confdefs.h <<\_ACEOF
36487 #define wxUSE_BMPBUTTON 1
36488 _ACEOF
36489
36490 USES_CONTROLS=1
36491 fi
36492
36493 if test "$wxUSE_CALCTRL" = "yes"; then
36494 cat >>confdefs.h <<\_ACEOF
36495 #define wxUSE_CALENDARCTRL 1
36496 _ACEOF
36497
36498 USES_CONTROLS=1
36499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36500 fi
36501
36502 if test "$wxUSE_CARET" = "yes"; then
36503 cat >>confdefs.h <<\_ACEOF
36504 #define wxUSE_CARET 1
36505 _ACEOF
36506
36507 USES_CONTROLS=1
36508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36509 fi
36510
36511 if test "$wxUSE_COMBOBOX" = "yes"; then
36512 cat >>confdefs.h <<\_ACEOF
36513 #define wxUSE_COMBOBOX 1
36514 _ACEOF
36515
36516 USES_CONTROLS=1
36517 fi
36518
36519 if test "$wxUSE_CHOICE" = "yes"; then
36520 cat >>confdefs.h <<\_ACEOF
36521 #define wxUSE_CHOICE 1
36522 _ACEOF
36523
36524 USES_CONTROLS=1
36525 fi
36526
36527 if test "$wxUSE_CHECKBOX" = "yes"; then
36528 cat >>confdefs.h <<\_ACEOF
36529 #define wxUSE_CHECKBOX 1
36530 _ACEOF
36531
36532 USES_CONTROLS=1
36533 fi
36534
36535 if test "$wxUSE_CHECKLST" = "yes"; then
36536 cat >>confdefs.h <<\_ACEOF
36537 #define wxUSE_CHECKLISTBOX 1
36538 _ACEOF
36539
36540 USES_CONTROLS=1
36541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36542 fi
36543
36544 if test "$wxUSE_DISPLAY" = "yes"; then
36545 cat >>confdefs.h <<\_ACEOF
36546 #define wxUSE_DISPLAY 1
36547 _ACEOF
36548
36549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36550 fi
36551
36552 if test "$wxUSE_GAUGE" = "yes"; then
36553 cat >>confdefs.h <<\_ACEOF
36554 #define wxUSE_GAUGE 1
36555 _ACEOF
36556
36557 USES_CONTROLS=1
36558 fi
36559
36560 if test "$wxUSE_GRID" = "yes"; then
36561 cat >>confdefs.h <<\_ACEOF
36562 #define wxUSE_GRID 1
36563 _ACEOF
36564
36565 USES_CONTROLS=1
36566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36567 fi
36568
36569 if test "$wxUSE_IMAGLIST" = "yes"; then
36570 cat >>confdefs.h <<\_ACEOF
36571 #define wxUSE_IMAGLIST 1
36572 _ACEOF
36573
36574 fi
36575
36576 if test "$wxUSE_LISTBOOK" = "yes"; then
36577 cat >>confdefs.h <<\_ACEOF
36578 #define wxUSE_LISTBOOK 1
36579 _ACEOF
36580
36581 USES_CONTROLS=1
36582 fi
36583
36584 if test "$wxUSE_LISTBOX" = "yes"; then
36585 cat >>confdefs.h <<\_ACEOF
36586 #define wxUSE_LISTBOX 1
36587 _ACEOF
36588
36589 USES_CONTROLS=1
36590 fi
36591
36592 if test "$wxUSE_LISTCTRL" = "yes"; then
36593 if test "$wxUSE_IMAGLIST" = "yes"; then
36594 cat >>confdefs.h <<\_ACEOF
36595 #define wxUSE_LISTCTRL 1
36596 _ACEOF
36597
36598 USES_CONTROLS=1
36599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36600 else
36601 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36602 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36603 fi
36604 fi
36605
36606 if test "$wxUSE_NOTEBOOK" = "yes"; then
36607 cat >>confdefs.h <<\_ACEOF
36608 #define wxUSE_NOTEBOOK 1
36609 _ACEOF
36610
36611 USES_CONTROLS=1
36612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36613 fi
36614
36615
36616 if test "$wxUSE_RADIOBOX" = "yes"; then
36617 cat >>confdefs.h <<\_ACEOF
36618 #define wxUSE_RADIOBOX 1
36619 _ACEOF
36620
36621 USES_CONTROLS=1
36622 fi
36623
36624 if test "$wxUSE_RADIOBTN" = "yes"; then
36625 cat >>confdefs.h <<\_ACEOF
36626 #define wxUSE_RADIOBTN 1
36627 _ACEOF
36628
36629 USES_CONTROLS=1
36630 fi
36631
36632 if test "$wxUSE_SASH" = "yes"; then
36633 cat >>confdefs.h <<\_ACEOF
36634 #define wxUSE_SASH 1
36635 _ACEOF
36636
36637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36638 fi
36639
36640 if test "$wxUSE_SCROLLBAR" = "yes"; then
36641 cat >>confdefs.h <<\_ACEOF
36642 #define wxUSE_SCROLLBAR 1
36643 _ACEOF
36644
36645 USES_CONTROLS=1
36646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36647 fi
36648
36649 if test "$wxUSE_SLIDER" = "yes"; then
36650 cat >>confdefs.h <<\_ACEOF
36651 #define wxUSE_SLIDER 1
36652 _ACEOF
36653
36654 USES_CONTROLS=1
36655 fi
36656
36657 if test "$wxUSE_SPINBTN" = "yes"; then
36658 cat >>confdefs.h <<\_ACEOF
36659 #define wxUSE_SPINBTN 1
36660 _ACEOF
36661
36662 USES_CONTROLS=1
36663 fi
36664
36665 if test "$wxUSE_SPINCTRL" = "yes"; then
36666 cat >>confdefs.h <<\_ACEOF
36667 #define wxUSE_SPINCTRL 1
36668 _ACEOF
36669
36670 USES_CONTROLS=1
36671 fi
36672
36673 if test "$wxUSE_SPLITTER" = "yes"; then
36674 cat >>confdefs.h <<\_ACEOF
36675 #define wxUSE_SPLITTER 1
36676 _ACEOF
36677
36678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36679 fi
36680
36681 if test "$wxUSE_STATBMP" = "yes"; then
36682 cat >>confdefs.h <<\_ACEOF
36683 #define wxUSE_STATBMP 1
36684 _ACEOF
36685
36686 USES_CONTROLS=1
36687 fi
36688
36689 if test "$wxUSE_STATBOX" = "yes"; then
36690 cat >>confdefs.h <<\_ACEOF
36691 #define wxUSE_STATBOX 1
36692 _ACEOF
36693
36694 USES_CONTROLS=1
36695 fi
36696
36697 if test "$wxUSE_STATTEXT" = "yes"; then
36698 cat >>confdefs.h <<\_ACEOF
36699 #define wxUSE_STATTEXT 1
36700 _ACEOF
36701
36702 USES_CONTROLS=1
36703 fi
36704
36705 if test "$wxUSE_STATLINE" = "yes"; then
36706 cat >>confdefs.h <<\_ACEOF
36707 #define wxUSE_STATLINE 1
36708 _ACEOF
36709
36710 USES_CONTROLS=1
36711 fi
36712
36713 if test "$wxUSE_STATUSBAR" = "yes"; then
36714 cat >>confdefs.h <<\_ACEOF
36715 #define wxUSE_STATUSBAR 1
36716 _ACEOF
36717
36718 USES_CONTROLS=1
36719
36720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36721 fi
36722
36723 if test "$wxUSE_TABDIALOG" = "yes"; then
36724 cat >>confdefs.h <<\_ACEOF
36725 #define wxUSE_TAB_DIALOG 1
36726 _ACEOF
36727
36728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36729 fi
36730
36731 if test "$wxUSE_TEXTCTRL" = "yes"; then
36732 cat >>confdefs.h <<\_ACEOF
36733 #define wxUSE_TEXTCTRL 1
36734 _ACEOF
36735
36736 USES_CONTROLS=1
36737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36738 fi
36739
36740 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36741 if test "$wxUSE_COCOA" = 1 ; then
36742 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36743 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36744 wxUSE_TOGGLEBTN=no
36745 else
36746 if test "$wxUSE_PM" = 1; then
36747 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36748 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36749 wxUSE_TOGGLEBTN=no
36750 fi
36751 fi
36752 if test "$wxUSE_UNIVERSAL" = "yes"; then
36753 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36754 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36755 wxUSE_TOGGLEBTN=no
36756 fi
36757
36758 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36759 cat >>confdefs.h <<\_ACEOF
36760 #define wxUSE_TOGGLEBTN 1
36761 _ACEOF
36762
36763 USES_CONTROLS=1
36764 fi
36765 fi
36766
36767 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36768 cat >>confdefs.h <<\_ACEOF
36769 #define wxUSE_TOOLBAR_SIMPLE 1
36770 _ACEOF
36771
36772 wxUSE_TOOLBAR="yes"
36773 USES_CONTROLS=1
36774 fi
36775
36776 if test "$wxUSE_TOOLBAR" = "yes"; then
36777 cat >>confdefs.h <<\_ACEOF
36778 #define wxUSE_TOOLBAR 1
36779 _ACEOF
36780
36781 USES_CONTROLS=1
36782
36783 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36784 wxUSE_TOOLBAR_NATIVE="yes"
36785 fi
36786
36787 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36788 cat >>confdefs.h <<\_ACEOF
36789 #define wxUSE_TOOLBAR_NATIVE 1
36790 _ACEOF
36791
36792 USES_CONTROLS=1
36793 fi
36794
36795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36796 fi
36797
36798 if test "$wxUSE_TOOLTIPS" = "yes"; then
36799 if test "$wxUSE_MOTIF" = 1; then
36800 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36801 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36802 else
36803 if test "$wxUSE_UNIVERSAL" = "yes"; then
36804 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36805 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36806 else
36807 cat >>confdefs.h <<\_ACEOF
36808 #define wxUSE_TOOLTIPS 1
36809 _ACEOF
36810
36811 fi
36812 fi
36813 fi
36814
36815 if test "$wxUSE_TREECTRL" = "yes"; then
36816 if test "$wxUSE_IMAGLIST" = "yes"; then
36817 cat >>confdefs.h <<\_ACEOF
36818 #define wxUSE_TREECTRL 1
36819 _ACEOF
36820
36821 USES_CONTROLS=1
36822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36823 else
36824 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36825 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36826 fi
36827 fi
36828
36829 if test "$wxUSE_POPUPWIN" = "yes"; then
36830 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36831 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36832 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36833 else
36834 if test "$wxUSE_PM" = 1; then
36835 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36836 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36837 else
36838 cat >>confdefs.h <<\_ACEOF
36839 #define wxUSE_POPUPWIN 1
36840 _ACEOF
36841
36842
36843 USES_CONTROLS=1
36844 fi
36845 fi
36846 fi
36847
36848 if test "$wxUSE_TIPWINDOW" = "yes"; then
36849 if test "$wxUSE_PM" = 1; then
36850 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36851 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36852 else
36853 cat >>confdefs.h <<\_ACEOF
36854 #define wxUSE_TIPWINDOW 1
36855 _ACEOF
36856
36857 fi
36858 fi
36859
36860 if test "$USES_CONTROLS" = 1; then
36861 cat >>confdefs.h <<\_ACEOF
36862 #define wxUSE_CONTROLS 1
36863 _ACEOF
36864
36865 fi
36866
36867
36868 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36869 cat >>confdefs.h <<\_ACEOF
36870 #define wxUSE_ACCESSIBILITY 1
36871 _ACEOF
36872
36873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36874 fi
36875
36876 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36877 cat >>confdefs.h <<\_ACEOF
36878 #define wxUSE_DRAGIMAGE 1
36879 _ACEOF
36880
36881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36882 fi
36883
36884 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36885 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36886 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36887 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36888 else
36889 cat >>confdefs.h <<\_ACEOF
36890 #define wxUSE_EXCEPTIONS 1
36891 _ACEOF
36892
36893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36894 fi
36895 fi
36896
36897 USE_HTML=0
36898 if test "$wxUSE_HTML" = "yes"; then
36899 cat >>confdefs.h <<\_ACEOF
36900 #define wxUSE_HTML 1
36901 _ACEOF
36902
36903 USE_HTML=1
36904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36905 if test "$wxUSE_MAC" = 1; then
36906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36907 fi
36908 fi
36909 if test "$wxUSE_WEBKIT" = "yes"; then
36910 if test "$wxUSE_MAC" = 1; then
36911 old_CPPFLAGS="$CPPFLAGS"
36912 CPPFLAGS="$CPPFLAGS -x objective-c++"
36913 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36914 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36915 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36917 else
36918 cat >conftest.$ac_ext <<_ACEOF
36919 /* confdefs.h. */
36920 _ACEOF
36921 cat confdefs.h >>conftest.$ac_ext
36922 cat >>conftest.$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36924 #include <Carbon/Carbon.h>
36925
36926 #include <WebKit/HIWebView.h>
36927 _ACEOF
36928 rm -f conftest.$ac_objext
36929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36930 (eval $ac_compile) 2>conftest.er1
36931 ac_status=$?
36932 grep -v '^ *+' conftest.er1 >conftest.err
36933 rm -f conftest.er1
36934 cat conftest.err >&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); } &&
36937 { ac_try='test -z "$ac_c_werror_flag"
36938 || test ! -s conftest.err'
36939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36940 (eval $ac_try) 2>&5
36941 ac_status=$?
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); }; } &&
36944 { ac_try='test -s conftest.$ac_objext'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36947 ac_status=$?
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; }; then
36950 ac_cv_header_WebKit_HIWebView_h=yes
36951 else
36952 echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.$ac_ext >&5
36954
36955 ac_cv_header_WebKit_HIWebView_h=no
36956 fi
36957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36958 fi
36959 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36960 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36961 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36962
36963 cat >>confdefs.h <<\_ACEOF
36964 #define wxUSE_WEBKIT 1
36965 _ACEOF
36966
36967 WEBKIT_LINK="-framework WebKit"
36968
36969 else
36970
36971 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36972 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36973 wxUSE_WEBKIT=no
36974
36975 fi
36976
36977
36978 CPPFLAGS="$old_CPPFLAGS"
36979 elif test "$wxUSE_COCOA" = 1; then
36980 cat >>confdefs.h <<\_ACEOF
36981 #define wxUSE_WEBKIT 1
36982 _ACEOF
36983
36984 else
36985 wxUSE_WEBKIT=no
36986 fi
36987 fi
36988
36989
36990 if test "$wxUSE_MENUS" = "yes"; then
36991 cat >>confdefs.h <<\_ACEOF
36992 #define wxUSE_MENUS 1
36993 _ACEOF
36994
36995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36996 fi
36997
36998 if test "$wxUSE_METAFILE" = "yes"; then
36999 cat >>confdefs.h <<\_ACEOF
37000 #define wxUSE_METAFILE 1
37001 _ACEOF
37002
37003 fi
37004
37005 if test "$wxUSE_MIMETYPE" = "yes"; then
37006 cat >>confdefs.h <<\_ACEOF
37007 #define wxUSE_MIMETYPE 1
37008 _ACEOF
37009
37010 fi
37011
37012 if test "$wxUSE_MINIFRAME" = "yes"; then
37013 cat >>confdefs.h <<\_ACEOF
37014 #define wxUSE_MINIFRAME 1
37015 _ACEOF
37016
37017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37018 fi
37019
37020 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37021 cat >>confdefs.h <<\_ACEOF
37022 #define wxUSE_SYSTEM_OPTIONS 1
37023 _ACEOF
37024
37025 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37026 "$TOOLKIT" = "MOTIF"; then
37027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37028 fi
37029 fi
37030
37031
37032 if test "$wxUSE_VALIDATORS" = "yes"; then
37033 cat >>confdefs.h <<\_ACEOF
37034 #define wxUSE_VALIDATORS 1
37035 _ACEOF
37036
37037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37038 fi
37039
37040 if test "$wxUSE_PALETTE" = "yes" ; then
37041 cat >>confdefs.h <<\_ACEOF
37042 #define wxUSE_PALETTE 1
37043 _ACEOF
37044
37045 fi
37046
37047 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37048 LIBS=" -lunicows $LIBS"
37049 fi
37050
37051
37052 if test "$wxUSE_IMAGE" = "yes" ; then
37053 cat >>confdefs.h <<\_ACEOF
37054 #define wxUSE_IMAGE 1
37055 _ACEOF
37056
37057
37058 if test "$wxUSE_GIF" = "yes" ; then
37059 cat >>confdefs.h <<\_ACEOF
37060 #define wxUSE_GIF 1
37061 _ACEOF
37062
37063 fi
37064
37065 if test "$wxUSE_PCX" = "yes" ; then
37066 cat >>confdefs.h <<\_ACEOF
37067 #define wxUSE_PCX 1
37068 _ACEOF
37069
37070 fi
37071
37072 if test "$wxUSE_IFF" = "yes" ; then
37073 cat >>confdefs.h <<\_ACEOF
37074 #define wxUSE_IFF 1
37075 _ACEOF
37076
37077 fi
37078
37079 if test "$wxUSE_PNM" = "yes" ; then
37080 cat >>confdefs.h <<\_ACEOF
37081 #define wxUSE_PNM 1
37082 _ACEOF
37083
37084 fi
37085
37086 if test "$wxUSE_XPM" = "yes" ; then
37087 cat >>confdefs.h <<\_ACEOF
37088 #define wxUSE_XPM 1
37089 _ACEOF
37090
37091 fi
37092
37093 if test "$wxUSE_ICO_CUR" = "yes" ; then
37094 cat >>confdefs.h <<\_ACEOF
37095 #define wxUSE_ICO_CUR 1
37096 _ACEOF
37097
37098 fi
37099 fi
37100
37101
37102 if test "$wxUSE_CHOICEDLG" = "yes"; then
37103 cat >>confdefs.h <<\_ACEOF
37104 #define wxUSE_CHOICEDLG 1
37105 _ACEOF
37106
37107 fi
37108
37109 if test "$wxUSE_COLOURDLG" = "yes"; then
37110 cat >>confdefs.h <<\_ACEOF
37111 #define wxUSE_COLOURDLG 1
37112 _ACEOF
37113
37114 fi
37115
37116 if test "$wxUSE_FILEDLG" = "yes"; then
37117 cat >>confdefs.h <<\_ACEOF
37118 #define wxUSE_FILEDLG 1
37119 _ACEOF
37120
37121 fi
37122
37123 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37124 cat >>confdefs.h <<\_ACEOF
37125 #define wxUSE_FINDREPLDLG 1
37126 _ACEOF
37127
37128 fi
37129
37130 if test "$wxUSE_FONTDLG" = "yes"; then
37131 cat >>confdefs.h <<\_ACEOF
37132 #define wxUSE_FONTDLG 1
37133 _ACEOF
37134
37135 fi
37136
37137 if test "$wxUSE_DIRDLG" = "yes"; then
37138 if test "$wxUSE_TREECTRL" != "yes"; then
37139 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37140 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37141 else
37142 cat >>confdefs.h <<\_ACEOF
37143 #define wxUSE_DIRDLG 1
37144 _ACEOF
37145
37146 fi
37147 fi
37148
37149 if test "$wxUSE_MSGDLG" = "yes"; then
37150 cat >>confdefs.h <<\_ACEOF
37151 #define wxUSE_MSGDLG 1
37152 _ACEOF
37153
37154 fi
37155
37156 if test "$wxUSE_NUMBERDLG" = "yes"; then
37157 cat >>confdefs.h <<\_ACEOF
37158 #define wxUSE_NUMBERDLG 1
37159 _ACEOF
37160
37161 fi
37162
37163 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37164 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37165 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37166 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37167 else
37168 cat >>confdefs.h <<\_ACEOF
37169 #define wxUSE_PROGRESSDLG 1
37170 _ACEOF
37171
37172 fi
37173 fi
37174
37175 if test "$wxUSE_SPLASH" = "yes"; then
37176 cat >>confdefs.h <<\_ACEOF
37177 #define wxUSE_SPLASH 1
37178 _ACEOF
37179
37180 fi
37181
37182 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37183 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37184 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37185 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37186 else
37187 cat >>confdefs.h <<\_ACEOF
37188 #define wxUSE_STARTUP_TIPS 1
37189 _ACEOF
37190
37191 fi
37192 fi
37193
37194 if test "$wxUSE_TEXTDLG" = "yes"; then
37195 cat >>confdefs.h <<\_ACEOF
37196 #define wxUSE_TEXTDLG 1
37197 _ACEOF
37198
37199 fi
37200
37201 if test "$wxUSE_WIZARDDLG" = "yes"; then
37202 cat >>confdefs.h <<\_ACEOF
37203 #define wxUSE_WIZARDDLG 1
37204 _ACEOF
37205
37206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37207 fi
37208
37209
37210 if test "$cross_compiling" = "yes"; then
37211 OSINFO="\"$host\""
37212 else
37213 OSINFO=`uname -s -r -m`
37214 OSINFO="\"$OSINFO\""
37215 fi
37216
37217 cat >>confdefs.h <<_ACEOF
37218 #define WXWIN_OS_DESCRIPTION $OSINFO
37219 _ACEOF
37220
37221
37222
37223 if test "x$prefix" != "xNONE"; then
37224 wxPREFIX=$prefix
37225 else
37226 wxPREFIX=$ac_default_prefix
37227 fi
37228
37229 cat >>confdefs.h <<_ACEOF
37230 #define wxINSTALL_PREFIX "$wxPREFIX"
37231 _ACEOF
37232
37233
37234 top_builddir_wxconfig=`pwd`
37235
37236
37237
37238 CORE_BASE_LIBS="net base"
37239 CORE_GUI_LIBS="adv core"
37240
37241 if test "$wxUSE_XML" = "yes" ; then
37242 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37243 fi
37244 if test "$wxUSE_ODBC" != "no" ; then
37245 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37246 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37247 fi
37248 if test "$wxUSE_HTML" = "yes" ; then
37249 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37250 fi
37251
37252 if test "$wxUSE_GUI" != "yes"; then
37253 CORE_GUI_LIBS=""
37254 fi
37255
37256
37257
37258
37259
37260
37261
37262
37263 if test "$wxUSE_MAC" = 1 ; then
37264 if test "$wxUSE_SOUND" = "yes"; then
37265 LDFLAGS="$LDFLAGS -framework QuickTime"
37266 fi
37267 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37268 fi
37269 if test "$wxUSE_COCOA" = 1 ; then
37270 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37271 fi
37272
37273
37274 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37275
37276 have_cos=0
37277 have_floor=0
37278
37279 for ac_func in cos
37280 do
37281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37282 echo "$as_me:$LINENO: checking for $ac_func" >&5
37283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37284 if eval "test \"\${$as_ac_var+set}\" = set"; then
37285 echo $ECHO_N "(cached) $ECHO_C" >&6
37286 else
37287 cat >conftest.$ac_ext <<_ACEOF
37288 /* confdefs.h. */
37289 _ACEOF
37290 cat confdefs.h >>conftest.$ac_ext
37291 cat >>conftest.$ac_ext <<_ACEOF
37292 /* end confdefs.h. */
37293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37295 #define $ac_func innocuous_$ac_func
37296
37297 /* System header to define __stub macros and hopefully few prototypes,
37298 which can conflict with char $ac_func (); below.
37299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37300 <limits.h> exists even on freestanding compilers. */
37301
37302 #ifdef __STDC__
37303 # include <limits.h>
37304 #else
37305 # include <assert.h>
37306 #endif
37307
37308 #undef $ac_func
37309
37310 /* Override any gcc2 internal prototype to avoid an error. */
37311 #ifdef __cplusplus
37312 extern "C"
37313 {
37314 #endif
37315 /* We use char because int might match the return type of a gcc2
37316 builtin and then its argument prototype would still apply. */
37317 char $ac_func ();
37318 /* The GNU C library defines this for functions which it implements
37319 to always fail with ENOSYS. Some functions are actually named
37320 something starting with __ and the normal name is an alias. */
37321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37322 choke me
37323 #else
37324 char (*f) () = $ac_func;
37325 #endif
37326 #ifdef __cplusplus
37327 }
37328 #endif
37329
37330 int
37331 main ()
37332 {
37333 return f != $ac_func;
37334 ;
37335 return 0;
37336 }
37337 _ACEOF
37338 rm -f conftest.$ac_objext conftest$ac_exeext
37339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37340 (eval $ac_link) 2>conftest.er1
37341 ac_status=$?
37342 grep -v '^ *+' conftest.er1 >conftest.err
37343 rm -f conftest.er1
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } &&
37347 { ac_try='test -z "$ac_c_werror_flag"
37348 || test ! -s conftest.err'
37349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37350 (eval $ac_try) 2>&5
37351 ac_status=$?
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); }; } &&
37354 { ac_try='test -s conftest$ac_exeext'
37355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356 (eval $ac_try) 2>&5
37357 ac_status=$?
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; }; then
37360 eval "$as_ac_var=yes"
37361 else
37362 echo "$as_me: failed program was:" >&5
37363 sed 's/^/| /' conftest.$ac_ext >&5
37364
37365 eval "$as_ac_var=no"
37366 fi
37367 rm -f conftest.err conftest.$ac_objext \
37368 conftest$ac_exeext conftest.$ac_ext
37369 fi
37370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37372 if test `eval echo '${'$as_ac_var'}'` = yes; then
37373 cat >>confdefs.h <<_ACEOF
37374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37375 _ACEOF
37376 have_cos=1
37377 fi
37378 done
37379
37380
37381 for ac_func in floor
37382 do
37383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37384 echo "$as_me:$LINENO: checking for $ac_func" >&5
37385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37386 if eval "test \"\${$as_ac_var+set}\" = set"; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37388 else
37389 cat >conftest.$ac_ext <<_ACEOF
37390 /* confdefs.h. */
37391 _ACEOF
37392 cat confdefs.h >>conftest.$ac_ext
37393 cat >>conftest.$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37397 #define $ac_func innocuous_$ac_func
37398
37399 /* System header to define __stub macros and hopefully few prototypes,
37400 which can conflict with char $ac_func (); below.
37401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37402 <limits.h> exists even on freestanding compilers. */
37403
37404 #ifdef __STDC__
37405 # include <limits.h>
37406 #else
37407 # include <assert.h>
37408 #endif
37409
37410 #undef $ac_func
37411
37412 /* Override any gcc2 internal prototype to avoid an error. */
37413 #ifdef __cplusplus
37414 extern "C"
37415 {
37416 #endif
37417 /* We use char because int might match the return type of a gcc2
37418 builtin and then its argument prototype would still apply. */
37419 char $ac_func ();
37420 /* The GNU C library defines this for functions which it implements
37421 to always fail with ENOSYS. Some functions are actually named
37422 something starting with __ and the normal name is an alias. */
37423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37424 choke me
37425 #else
37426 char (*f) () = $ac_func;
37427 #endif
37428 #ifdef __cplusplus
37429 }
37430 #endif
37431
37432 int
37433 main ()
37434 {
37435 return f != $ac_func;
37436 ;
37437 return 0;
37438 }
37439 _ACEOF
37440 rm -f conftest.$ac_objext conftest$ac_exeext
37441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37442 (eval $ac_link) 2>conftest.er1
37443 ac_status=$?
37444 grep -v '^ *+' conftest.er1 >conftest.err
37445 rm -f conftest.er1
37446 cat conftest.err >&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); } &&
37449 { ac_try='test -z "$ac_c_werror_flag"
37450 || test ! -s conftest.err'
37451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37452 (eval $ac_try) 2>&5
37453 ac_status=$?
37454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 (exit $ac_status); }; } &&
37456 { ac_try='test -s conftest$ac_exeext'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37459 ac_status=$?
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; }; then
37462 eval "$as_ac_var=yes"
37463 else
37464 echo "$as_me: failed program was:" >&5
37465 sed 's/^/| /' conftest.$ac_ext >&5
37466
37467 eval "$as_ac_var=no"
37468 fi
37469 rm -f conftest.err conftest.$ac_objext \
37470 conftest$ac_exeext conftest.$ac_ext
37471 fi
37472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37474 if test `eval echo '${'$as_ac_var'}'` = yes; then
37475 cat >>confdefs.h <<_ACEOF
37476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37477 _ACEOF
37478 have_floor=1
37479 fi
37480 done
37481
37482 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37483 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37484 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37485 echo "$as_me:$LINENO: result: yes" >&5
37486 echo "${ECHO_T}yes" >&6
37487 else
37488 echo "$as_me:$LINENO: result: no" >&5
37489 echo "${ECHO_T}no" >&6
37490 LIBS="$LIBS -lm"
37491 # use different functions to avoid configure caching
37492 have_sin=0
37493 have_ceil=0
37494
37495 for ac_func in sin
37496 do
37497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37498 echo "$as_me:$LINENO: checking for $ac_func" >&5
37499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37500 if eval "test \"\${$as_ac_var+set}\" = set"; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37502 else
37503 cat >conftest.$ac_ext <<_ACEOF
37504 /* confdefs.h. */
37505 _ACEOF
37506 cat confdefs.h >>conftest.$ac_ext
37507 cat >>conftest.$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37511 #define $ac_func innocuous_$ac_func
37512
37513 /* System header to define __stub macros and hopefully few prototypes,
37514 which can conflict with char $ac_func (); below.
37515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37516 <limits.h> exists even on freestanding compilers. */
37517
37518 #ifdef __STDC__
37519 # include <limits.h>
37520 #else
37521 # include <assert.h>
37522 #endif
37523
37524 #undef $ac_func
37525
37526 /* Override any gcc2 internal prototype to avoid an error. */
37527 #ifdef __cplusplus
37528 extern "C"
37529 {
37530 #endif
37531 /* We use char because int might match the return type of a gcc2
37532 builtin and then its argument prototype would still apply. */
37533 char $ac_func ();
37534 /* The GNU C library defines this for functions which it implements
37535 to always fail with ENOSYS. Some functions are actually named
37536 something starting with __ and the normal name is an alias. */
37537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37538 choke me
37539 #else
37540 char (*f) () = $ac_func;
37541 #endif
37542 #ifdef __cplusplus
37543 }
37544 #endif
37545
37546 int
37547 main ()
37548 {
37549 return f != $ac_func;
37550 ;
37551 return 0;
37552 }
37553 _ACEOF
37554 rm -f conftest.$ac_objext conftest$ac_exeext
37555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37556 (eval $ac_link) 2>conftest.er1
37557 ac_status=$?
37558 grep -v '^ *+' conftest.er1 >conftest.err
37559 rm -f conftest.er1
37560 cat conftest.err >&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } &&
37563 { ac_try='test -z "$ac_c_werror_flag"
37564 || test ! -s conftest.err'
37565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37566 (eval $ac_try) 2>&5
37567 ac_status=$?
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); }; } &&
37570 { ac_try='test -s conftest$ac_exeext'
37571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37572 (eval $ac_try) 2>&5
37573 ac_status=$?
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); }; }; then
37576 eval "$as_ac_var=yes"
37577 else
37578 echo "$as_me: failed program was:" >&5
37579 sed 's/^/| /' conftest.$ac_ext >&5
37580
37581 eval "$as_ac_var=no"
37582 fi
37583 rm -f conftest.err conftest.$ac_objext \
37584 conftest$ac_exeext conftest.$ac_ext
37585 fi
37586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37588 if test `eval echo '${'$as_ac_var'}'` = yes; then
37589 cat >>confdefs.h <<_ACEOF
37590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37591 _ACEOF
37592 have_sin=1
37593 fi
37594 done
37595
37596
37597 for ac_func in ceil
37598 do
37599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37600 echo "$as_me:$LINENO: checking for $ac_func" >&5
37601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37602 if eval "test \"\${$as_ac_var+set}\" = set"; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37604 else
37605 cat >conftest.$ac_ext <<_ACEOF
37606 /* confdefs.h. */
37607 _ACEOF
37608 cat confdefs.h >>conftest.$ac_ext
37609 cat >>conftest.$ac_ext <<_ACEOF
37610 /* end confdefs.h. */
37611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37613 #define $ac_func innocuous_$ac_func
37614
37615 /* System header to define __stub macros and hopefully few prototypes,
37616 which can conflict with char $ac_func (); below.
37617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37618 <limits.h> exists even on freestanding compilers. */
37619
37620 #ifdef __STDC__
37621 # include <limits.h>
37622 #else
37623 # include <assert.h>
37624 #endif
37625
37626 #undef $ac_func
37627
37628 /* Override any gcc2 internal prototype to avoid an error. */
37629 #ifdef __cplusplus
37630 extern "C"
37631 {
37632 #endif
37633 /* We use char because int might match the return type of a gcc2
37634 builtin and then its argument prototype would still apply. */
37635 char $ac_func ();
37636 /* The GNU C library defines this for functions which it implements
37637 to always fail with ENOSYS. Some functions are actually named
37638 something starting with __ and the normal name is an alias. */
37639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37640 choke me
37641 #else
37642 char (*f) () = $ac_func;
37643 #endif
37644 #ifdef __cplusplus
37645 }
37646 #endif
37647
37648 int
37649 main ()
37650 {
37651 return f != $ac_func;
37652 ;
37653 return 0;
37654 }
37655 _ACEOF
37656 rm -f conftest.$ac_objext conftest$ac_exeext
37657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37658 (eval $ac_link) 2>conftest.er1
37659 ac_status=$?
37660 grep -v '^ *+' conftest.er1 >conftest.err
37661 rm -f conftest.er1
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } &&
37665 { ac_try='test -z "$ac_c_werror_flag"
37666 || test ! -s conftest.err'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37669 ac_status=$?
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; } &&
37672 { ac_try='test -s conftest$ac_exeext'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37675 ac_status=$?
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; }; then
37678 eval "$as_ac_var=yes"
37679 else
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.$ac_ext >&5
37682
37683 eval "$as_ac_var=no"
37684 fi
37685 rm -f conftest.err conftest.$ac_objext \
37686 conftest$ac_exeext conftest.$ac_ext
37687 fi
37688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37690 if test `eval echo '${'$as_ac_var'}'` = yes; then
37691 cat >>confdefs.h <<_ACEOF
37692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37693 _ACEOF
37694 have_ceil=1
37695 fi
37696 done
37697
37698 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37699 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37700 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37701 echo "$as_me:$LINENO: result: yes" >&5
37702 echo "${ECHO_T}yes" >&6
37703 else
37704 echo "$as_me:$LINENO: result: no" >&5
37705 echo "${ECHO_T}no" >&6
37706 # not sure we should warn the user, crash, etc.
37707 fi
37708 fi
37709
37710 if test "$wxUSE_GUI" = "yes"; then
37711
37712
37713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37714 drawing dynamic erase event exec font image \
37715 minimal propsize rotate shaped widgets render"
37716
37717 if test "$wxUSE_MONOLITHIC" != "yes"; then
37718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37719 fi
37720 else
37721 SAMPLES_SUBDIRS="console"
37722 fi
37723
37724
37725 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37726 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37727
37728 if test "$GXX" = yes ; then
37729 CXXWARNINGS="-Wall"
37730 fi
37731
37732 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37733
37734 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37735 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37736 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37737
37738
37739 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37740 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37741 EXTRALIBS_XML="$EXPAT_LINK"
37742 EXTRALIBS_HTML="$MSPACK_LINK"
37743 EXTRALIBS_ODBC="$ODBC_LINK"
37744 if test "$wxUSE_GUI" = "yes"; then
37745 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK | sed 's/ \+/ /g'`
37746 fi
37747 if test "$wxUSE_OPENGL" = "yes"; then
37748 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37749 fi
37750
37751 LDFLAGS="$LDFLAGS $PROFILE"
37752
37753 if test "$wxUSE_GTK" = 1; then
37754 WXCONFIG_INCLUDE=
37755 else
37756 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37757 fi
37758
37759 WXCONFIG_EXTRALIBS="$LIBS"
37760
37761 if test "$wxUSE_REGEX" = "builtin" ; then
37762 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37763 fi
37764 if test "$wxUSE_EXPAT" = "builtin" ; then
37765 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37766 fi
37767 if test "$wxUSE_ODBC" = "builtin" ; then
37768 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37769 fi
37770 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37771 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37772 fi
37773 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37774 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37775 fi
37776 if test "$wxUSE_LIBPNG" = "builtin" ; then
37777 wxconfig_3rdparty="$wxconfig_3rdparty png"
37778 fi
37779 if test "$wxUSE_ZLIB" = "builtin" ; then
37780 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37781 fi
37782 if test "$wxUSE_ODBC" = "builtin" ; then
37783 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37784 fi
37785
37786 for i in $wxconfig_3rdparty ; do
37787 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37788 done
37789
37790
37791 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37792 WXUNIV=1
37793 else
37794 WXUNIV=0
37795 fi
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805 if test $wxUSE_MONOLITHIC = "yes" ; then
37806 MONOLITHIC=1
37807 else
37808 MONOLITHIC=0
37809 fi
37810
37811 if test $wxUSE_PLUGINS = "yes" ; then
37812 USE_PLUGINS=1
37813 else
37814 USE_PLUGINS=0
37815 fi
37816
37817 if test $wxUSE_ODBC != "no" ; then
37818 USE_ODBC=1
37819 else
37820 USE_ODBC=0
37821 fi
37822
37823 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37824 OFFICIAL_BUILD=1
37825 else
37826 OFFICIAL_BUILD=0
37827 fi
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859 if test "x$BAKEFILE_HOST" = "x"; then
37860 BAKEFILE_HOST="${host}"
37861 fi
37862
37863 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37864
37865 if test -n "$ac_tool_prefix"; then
37866 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37867 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37868 echo "$as_me:$LINENO: checking for $ac_word" >&5
37869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37870 if test "${ac_cv_prog_RANLIB+set}" = set; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 else
37873 if test -n "$RANLIB"; then
37874 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37875 else
37876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37877 for as_dir in $PATH
37878 do
37879 IFS=$as_save_IFS
37880 test -z "$as_dir" && as_dir=.
37881 for ac_exec_ext in '' $ac_executable_extensions; do
37882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37883 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37885 break 2
37886 fi
37887 done
37888 done
37889
37890 fi
37891 fi
37892 RANLIB=$ac_cv_prog_RANLIB
37893 if test -n "$RANLIB"; then
37894 echo "$as_me:$LINENO: result: $RANLIB" >&5
37895 echo "${ECHO_T}$RANLIB" >&6
37896 else
37897 echo "$as_me:$LINENO: result: no" >&5
37898 echo "${ECHO_T}no" >&6
37899 fi
37900
37901 fi
37902 if test -z "$ac_cv_prog_RANLIB"; then
37903 ac_ct_RANLIB=$RANLIB
37904 # Extract the first word of "ranlib", so it can be a program name with args.
37905 set dummy ranlib; ac_word=$2
37906 echo "$as_me:$LINENO: checking for $ac_word" >&5
37907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37908 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37909 echo $ECHO_N "(cached) $ECHO_C" >&6
37910 else
37911 if test -n "$ac_ct_RANLIB"; then
37912 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37913 else
37914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37915 for as_dir in $PATH
37916 do
37917 IFS=$as_save_IFS
37918 test -z "$as_dir" && as_dir=.
37919 for ac_exec_ext in '' $ac_executable_extensions; do
37920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37921 ac_cv_prog_ac_ct_RANLIB="ranlib"
37922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37923 break 2
37924 fi
37925 done
37926 done
37927
37928 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37929 fi
37930 fi
37931 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37932 if test -n "$ac_ct_RANLIB"; then
37933 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37934 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37935 else
37936 echo "$as_me:$LINENO: result: no" >&5
37937 echo "${ECHO_T}no" >&6
37938 fi
37939
37940 RANLIB=$ac_ct_RANLIB
37941 else
37942 RANLIB="$ac_cv_prog_RANLIB"
37943 fi
37944
37945 # Find a good install program. We prefer a C program (faster),
37946 # so one script is as good as another. But avoid the broken or
37947 # incompatible versions:
37948 # SysV /etc/install, /usr/sbin/install
37949 # SunOS /usr/etc/install
37950 # IRIX /sbin/install
37951 # AIX /bin/install
37952 # AmigaOS /C/install, which installs bootblocks on floppy discs
37953 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37954 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37955 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37956 # OS/2's system install, which has a completely different semantic
37957 # ./install, which can be erroneously created by make from ./install.sh.
37958 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37959 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37960 if test -z "$INSTALL"; then
37961 if test "${ac_cv_path_install+set}" = set; then
37962 echo $ECHO_N "(cached) $ECHO_C" >&6
37963 else
37964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37965 for as_dir in $PATH
37966 do
37967 IFS=$as_save_IFS
37968 test -z "$as_dir" && as_dir=.
37969 # Account for people who put trailing slashes in PATH elements.
37970 case $as_dir/ in
37971 ./ | .// | /cC/* | \
37972 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37973 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37974 /usr/ucb/* ) ;;
37975 *)
37976 # OSF1 and SCO ODT 3.0 have their own names for install.
37977 # Don't use installbsd from OSF since it installs stuff as root
37978 # by default.
37979 for ac_prog in ginstall scoinst install; do
37980 for ac_exec_ext in '' $ac_executable_extensions; do
37981 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37982 if test $ac_prog = install &&
37983 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37984 # AIX install. It has an incompatible calling convention.
37985 :
37986 elif test $ac_prog = install &&
37987 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37988 # program-specific install script used by HP pwplus--don't use.
37989 :
37990 else
37991 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37992 break 3
37993 fi
37994 fi
37995 done
37996 done
37997 ;;
37998 esac
37999 done
38000
38001
38002 fi
38003 if test "${ac_cv_path_install+set}" = set; then
38004 INSTALL=$ac_cv_path_install
38005 else
38006 # As a last resort, use the slow shell script. We don't cache a
38007 # path for INSTALL within a source directory, because that will
38008 # break other packages using the cache if that directory is
38009 # removed, or if the path is relative.
38010 INSTALL=$ac_install_sh
38011 fi
38012 fi
38013 echo "$as_me:$LINENO: result: $INSTALL" >&5
38014 echo "${ECHO_T}$INSTALL" >&6
38015
38016 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38017 # It thinks the first close brace ends the variable substitution.
38018 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38019
38020 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38021
38022 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38023
38024 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38025 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38026 LN_S=$as_ln_s
38027 if test "$LN_S" = "ln -s"; then
38028 echo "$as_me:$LINENO: result: yes" >&5
38029 echo "${ECHO_T}yes" >&6
38030 else
38031 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38032 echo "${ECHO_T}no, using $LN_S" >&6
38033 fi
38034
38035
38036 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38037 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38038 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38039 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38040 echo $ECHO_N "(cached) $ECHO_C" >&6
38041 else
38042 cat >conftest.make <<\_ACEOF
38043 all:
38044 @echo 'ac_maketemp="$(MAKE)"'
38045 _ACEOF
38046 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38047 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38048 if test -n "$ac_maketemp"; then
38049 eval ac_cv_prog_make_${ac_make}_set=yes
38050 else
38051 eval ac_cv_prog_make_${ac_make}_set=no
38052 fi
38053 rm -f conftest.make
38054 fi
38055 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38056 echo "$as_me:$LINENO: result: yes" >&5
38057 echo "${ECHO_T}yes" >&6
38058 SET_MAKE=
38059 else
38060 echo "$as_me:$LINENO: result: no" >&5
38061 echo "${ECHO_T}no" >&6
38062 SET_MAKE="MAKE=${MAKE-make}"
38063 fi
38064
38065
38066
38067 if test -n "$ac_tool_prefix"; then
38068 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38069 set dummy ${ac_tool_prefix}ar; ac_word=$2
38070 echo "$as_me:$LINENO: checking for $ac_word" >&5
38071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38072 if test "${ac_cv_prog_AR+set}" = set; then
38073 echo $ECHO_N "(cached) $ECHO_C" >&6
38074 else
38075 if test -n "$AR"; then
38076 ac_cv_prog_AR="$AR" # Let the user override the test.
38077 else
38078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38079 for as_dir in $PATH
38080 do
38081 IFS=$as_save_IFS
38082 test -z "$as_dir" && as_dir=.
38083 for ac_exec_ext in '' $ac_executable_extensions; do
38084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38085 ac_cv_prog_AR="${ac_tool_prefix}ar"
38086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38087 break 2
38088 fi
38089 done
38090 done
38091
38092 fi
38093 fi
38094 AR=$ac_cv_prog_AR
38095 if test -n "$AR"; then
38096 echo "$as_me:$LINENO: result: $AR" >&5
38097 echo "${ECHO_T}$AR" >&6
38098 else
38099 echo "$as_me:$LINENO: result: no" >&5
38100 echo "${ECHO_T}no" >&6
38101 fi
38102
38103 fi
38104 if test -z "$ac_cv_prog_AR"; then
38105 ac_ct_AR=$AR
38106 # Extract the first word of "ar", so it can be a program name with args.
38107 set dummy ar; ac_word=$2
38108 echo "$as_me:$LINENO: checking for $ac_word" >&5
38109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38110 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 else
38113 if test -n "$ac_ct_AR"; then
38114 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38115 else
38116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38117 for as_dir in $PATH
38118 do
38119 IFS=$as_save_IFS
38120 test -z "$as_dir" && as_dir=.
38121 for ac_exec_ext in '' $ac_executable_extensions; do
38122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38123 ac_cv_prog_ac_ct_AR="ar"
38124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38125 break 2
38126 fi
38127 done
38128 done
38129
38130 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38131 fi
38132 fi
38133 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38134 if test -n "$ac_ct_AR"; then
38135 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38136 echo "${ECHO_T}$ac_ct_AR" >&6
38137 else
38138 echo "$as_me:$LINENO: result: no" >&5
38139 echo "${ECHO_T}no" >&6
38140 fi
38141
38142 AR=$ac_ct_AR
38143 else
38144 AR="$ac_cv_prog_AR"
38145 fi
38146
38147 if test -n "$ac_tool_prefix"; then
38148 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38149 set dummy ${ac_tool_prefix}strip; ac_word=$2
38150 echo "$as_me:$LINENO: checking for $ac_word" >&5
38151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38152 if test "${ac_cv_prog_STRIP+set}" = set; then
38153 echo $ECHO_N "(cached) $ECHO_C" >&6
38154 else
38155 if test -n "$STRIP"; then
38156 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38157 else
38158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38159 for as_dir in $PATH
38160 do
38161 IFS=$as_save_IFS
38162 test -z "$as_dir" && as_dir=.
38163 for ac_exec_ext in '' $ac_executable_extensions; do
38164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38165 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38167 break 2
38168 fi
38169 done
38170 done
38171
38172 fi
38173 fi
38174 STRIP=$ac_cv_prog_STRIP
38175 if test -n "$STRIP"; then
38176 echo "$as_me:$LINENO: result: $STRIP" >&5
38177 echo "${ECHO_T}$STRIP" >&6
38178 else
38179 echo "$as_me:$LINENO: result: no" >&5
38180 echo "${ECHO_T}no" >&6
38181 fi
38182
38183 fi
38184 if test -z "$ac_cv_prog_STRIP"; then
38185 ac_ct_STRIP=$STRIP
38186 # Extract the first word of "strip", so it can be a program name with args.
38187 set dummy strip; ac_word=$2
38188 echo "$as_me:$LINENO: checking for $ac_word" >&5
38189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38190 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38191 echo $ECHO_N "(cached) $ECHO_C" >&6
38192 else
38193 if test -n "$ac_ct_STRIP"; then
38194 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38195 else
38196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38197 for as_dir in $PATH
38198 do
38199 IFS=$as_save_IFS
38200 test -z "$as_dir" && as_dir=.
38201 for ac_exec_ext in '' $ac_executable_extensions; do
38202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38203 ac_cv_prog_ac_ct_STRIP="strip"
38204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38205 break 2
38206 fi
38207 done
38208 done
38209
38210 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38211 fi
38212 fi
38213 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38214 if test -n "$ac_ct_STRIP"; then
38215 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38216 echo "${ECHO_T}$ac_ct_STRIP" >&6
38217 else
38218 echo "$as_me:$LINENO: result: no" >&5
38219 echo "${ECHO_T}no" >&6
38220 fi
38221
38222 STRIP=$ac_ct_STRIP
38223 else
38224 STRIP="$ac_cv_prog_STRIP"
38225 fi
38226
38227 if test -n "$ac_tool_prefix"; then
38228 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38229 set dummy ${ac_tool_prefix}nm; ac_word=$2
38230 echo "$as_me:$LINENO: checking for $ac_word" >&5
38231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38232 if test "${ac_cv_prog_NM+set}" = set; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38234 else
38235 if test -n "$NM"; then
38236 ac_cv_prog_NM="$NM" # Let the user override the test.
38237 else
38238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38239 for as_dir in $PATH
38240 do
38241 IFS=$as_save_IFS
38242 test -z "$as_dir" && as_dir=.
38243 for ac_exec_ext in '' $ac_executable_extensions; do
38244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38245 ac_cv_prog_NM="${ac_tool_prefix}nm"
38246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38247 break 2
38248 fi
38249 done
38250 done
38251
38252 fi
38253 fi
38254 NM=$ac_cv_prog_NM
38255 if test -n "$NM"; then
38256 echo "$as_me:$LINENO: result: $NM" >&5
38257 echo "${ECHO_T}$NM" >&6
38258 else
38259 echo "$as_me:$LINENO: result: no" >&5
38260 echo "${ECHO_T}no" >&6
38261 fi
38262
38263 fi
38264 if test -z "$ac_cv_prog_NM"; then
38265 ac_ct_NM=$NM
38266 # Extract the first word of "nm", so it can be a program name with args.
38267 set dummy nm; ac_word=$2
38268 echo "$as_me:$LINENO: checking for $ac_word" >&5
38269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38270 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38271 echo $ECHO_N "(cached) $ECHO_C" >&6
38272 else
38273 if test -n "$ac_ct_NM"; then
38274 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38275 else
38276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38277 for as_dir in $PATH
38278 do
38279 IFS=$as_save_IFS
38280 test -z "$as_dir" && as_dir=.
38281 for ac_exec_ext in '' $ac_executable_extensions; do
38282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38283 ac_cv_prog_ac_ct_NM="nm"
38284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38285 break 2
38286 fi
38287 done
38288 done
38289
38290 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38291 fi
38292 fi
38293 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38294 if test -n "$ac_ct_NM"; then
38295 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38296 echo "${ECHO_T}$ac_ct_NM" >&6
38297 else
38298 echo "$as_me:$LINENO: result: no" >&5
38299 echo "${ECHO_T}no" >&6
38300 fi
38301
38302 NM=$ac_ct_NM
38303 else
38304 NM="$ac_cv_prog_NM"
38305 fi
38306
38307
38308 case ${BAKEFILE_HOST} in
38309 *-hp-hpux* )
38310 INSTALL_DIR="mkdir"
38311 ;;
38312 *) INSTALL_DIR="$INSTALL -d"
38313 ;;
38314 esac
38315
38316
38317 LDFLAGS_GUI=
38318 case ${BAKEFILE_HOST} in
38319 *-*-cygwin* | *-*-mingw32* )
38320 LDFLAGS_GUI="-mwindows"
38321 esac
38322
38323
38324 fi
38325
38326 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38327 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38328 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38329 echo $ECHO_N "(cached) $ECHO_C" >&6
38330 else
38331
38332 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38333 egrep -s GNU > /dev/null); then
38334 bakefile_cv_prog_makeisgnu="yes"
38335 else
38336 bakefile_cv_prog_makeisgnu="no"
38337 fi
38338
38339 fi
38340 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38341 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38342
38343 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38344 IF_GNU_MAKE=""
38345 else
38346 IF_GNU_MAKE="#"
38347 fi
38348
38349
38350
38351 PLATFORM_UNIX=0
38352 PLATFORM_WIN32=0
38353 PLATFORM_MSDOS=0
38354 PLATFORM_MAC=0
38355 PLATFORM_MACOSX=0
38356 PLATFORM_OS2=0
38357
38358 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38359 case "${BAKEFILE_HOST}" in
38360 *-*-cygwin* | *-*-mingw32* )
38361 PLATFORM_WIN32=1
38362 ;;
38363 *-pc-msdosdjgpp )
38364 PLATFORM_MSDOS=1
38365 ;;
38366 *-pc-os2_emx | *-pc-os2-emx )
38367 PLATFORM_OS2=1
38368 ;;
38369 powerpc-*-darwin* )
38370 PLATFORM_MAC=1
38371 PLATFORM_MACOSX=1
38372 ;;
38373 * )
38374 PLATFORM_UNIX=1
38375 ;;
38376 esac
38377 else
38378 case "$BAKEFILE_FORCE_PLATFORM" in
38379 win32 )
38380 PLATFORM_WIN32=1
38381 ;;
38382 msdos )
38383 PLATFORM_MSDOS=1
38384 ;;
38385 os2 )
38386 PLATFORM_OS2=1
38387 ;;
38388 darwin )
38389 PLATFORM_MAC=1
38390 PLATFORM_MACOSX=1
38391 ;;
38392 unix )
38393 PLATFORM_UNIX=1
38394 ;;
38395 * )
38396 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38397 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38398 { (exit 1); exit 1; }; }
38399 ;;
38400 esac
38401 fi
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411 # Check whether --enable-omf or --disable-omf was given.
38412 if test "${enable_omf+set}" = set; then
38413 enableval="$enable_omf"
38414 bk_os2_use_omf="$enableval"
38415 fi;
38416
38417 case "${BAKEFILE_HOST}" in
38418 *-*-darwin* )
38419 CFLAGS="$CFLAGS -fno-common"
38420 CXXFLAGS="$CXXFLAGS -fno-common"
38421 ;;
38422
38423 *-pc-os2_emx | *-pc-os2-emx )
38424 if test "x$bk_os2_use_omf" = "xyes" ; then
38425 AR=emxomfar
38426 RANLIB=:
38427 LDFLAGS="-Zomf $LDFLAGS"
38428 CFLAGS="-Zomf $CFLAGS"
38429 CXXFLAGS="-Zomf $CXXFLAGS"
38430 OS2_LIBEXT="lib"
38431 else
38432 OS2_LIBEXT="a"
38433 fi
38434 ;;
38435 esac
38436
38437
38438 SO_SUFFIX="so"
38439 SO_SUFFIX_MODULE="so"
38440 EXEEXT=""
38441 LIBPREFIX="lib"
38442 LIBEXT=".a"
38443 DLLPREFIX="lib"
38444 DLLPREFIX_MODULE=""
38445 DLLIMP_SUFFIX=""
38446
38447 case "${BAKEFILE_HOST}" in
38448 *-hp-hpux* )
38449 SO_SUFFIX="sl"
38450 SO_SUFFIX_MODULE="sl"
38451 ;;
38452 *-*-aix* )
38453 SO_SUFFIX="a"
38454 SO_SUFFIX_MODULE="a"
38455 ;;
38456 *-*-cygwin* | *-*-mingw32* )
38457 SO_SUFFIX="dll"
38458 SO_SUFFIX_MODULE="dll"
38459 DLLIMP_SUFFIX="dll.a"
38460 EXEEXT=".exe"
38461 DLLPREFIX=""
38462 ;;
38463 *-pc-msdosdjgpp )
38464 EXEEXT=".exe"
38465 DLLPREFIX=""
38466 ;;
38467 *-pc-os2_emx | *-pc-os2-emx )
38468 SO_SUFFIX="dll"
38469 SO_SUFFIX_MODULE="dll"
38470 DLLIMP_SUFFIX=$OS2_LIBEXT
38471 EXEEXT=".exe"
38472 DLLPREFIX=""
38473 LIBPREFIX=""
38474 LIBEXT=".$OS2_LIBEXT"
38475 ;;
38476 powerpc-*-darwin* )
38477 SO_SUFFIX="dylib"
38478 SO_SUFFIX_MODULE="bundle"
38479 ;;
38480 esac
38481
38482 if test "x$DLLIMP_SUFFIX" = "x" ; then
38483 DLLIMP_SUFFIX="$SO_SUFFIX"
38484 fi
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496 SHARED_LD_CC="\$(CC) -shared -o"
38497 SHARED_LD_CXX="\$(CXX) -shared -o"
38498
38499 if test "x$GCC" = "xyes"; then
38500 PIC_FLAG="-fPIC"
38501 fi
38502
38503 case "${BAKEFILE_HOST}" in
38504 *-hp-hpux* )
38505 if test "x$GCC" = "xyes"; then
38506 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38507 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38508 else
38509 LDFLAGS="$LDFLAGS -L/usr/lib"
38510
38511 SHARED_LD_CC="${CC} -b -o"
38512 SHARED_LD_CXX="${CXX} -b -o"
38513 PIC_FLAG="+Z"
38514 fi
38515 ;;
38516
38517 *-*-linux* )
38518 if test "x$GCC" != "xyes"; then
38519 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38520 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38521 if test "${bakefile_cv_prog_icc+set}" = set; then
38522 echo $ECHO_N "(cached) $ECHO_C" >&6
38523 else
38524
38525 cat >conftest.$ac_ext <<_ACEOF
38526 /* confdefs.h. */
38527 _ACEOF
38528 cat confdefs.h >>conftest.$ac_ext
38529 cat >>conftest.$ac_ext <<_ACEOF
38530 /* end confdefs.h. */
38531
38532 int
38533 main ()
38534 {
38535
38536 #ifndef __INTEL_COMPILER
38537 #error Not icc
38538 #endif
38539
38540 ;
38541 return 0;
38542 }
38543 _ACEOF
38544 rm -f conftest.$ac_objext
38545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38546 (eval $ac_compile) 2>conftest.er1
38547 ac_status=$?
38548 grep -v '^ *+' conftest.er1 >conftest.err
38549 rm -f conftest.er1
38550 cat conftest.err >&5
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); } &&
38553 { ac_try='test -z "$ac_c_werror_flag"
38554 || test ! -s conftest.err'
38555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38556 (eval $ac_try) 2>&5
38557 ac_status=$?
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); }; } &&
38560 { ac_try='test -s conftest.$ac_objext'
38561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38562 (eval $ac_try) 2>&5
38563 ac_status=$?
38564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38565 (exit $ac_status); }; }; then
38566 bakefile_cv_prog_icc=yes
38567 else
38568 echo "$as_me: failed program was:" >&5
38569 sed 's/^/| /' conftest.$ac_ext >&5
38570
38571 bakefile_cv_prog_icc=no
38572
38573 fi
38574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38575
38576 fi
38577 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38578 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38579 if test "$bakefile_cv_prog_icc" = "yes"; then
38580 PIC_FLAG="-KPIC"
38581 fi
38582 fi
38583 ;;
38584
38585 *-*-solaris2* )
38586 if test "x$GCC" != xyes ; then
38587 SHARED_LD_CC="${CC} -G -o"
38588 SHARED_LD_CXX="${CXX} -G -o"
38589 PIC_FLAG="-KPIC"
38590 fi
38591 ;;
38592
38593 *-*-darwin* )
38594
38595 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38596 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38597 if test "${wx_cv_gcc31+set}" = set; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 else
38600
38601 cat >conftest.$ac_ext <<_ACEOF
38602 /* confdefs.h. */
38603 _ACEOF
38604 cat confdefs.h >>conftest.$ac_ext
38605 cat >>conftest.$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38607
38608 int
38609 main ()
38610 {
38611
38612 #if (__GNUC__ < 3) || \
38613 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38614 #error old gcc
38615 #endif
38616
38617 ;
38618 return 0;
38619 }
38620 _ACEOF
38621 rm -f conftest.$ac_objext
38622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38623 (eval $ac_compile) 2>conftest.er1
38624 ac_status=$?
38625 grep -v '^ *+' conftest.er1 >conftest.err
38626 rm -f conftest.er1
38627 cat conftest.err >&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); } &&
38630 { ac_try='test -z "$ac_c_werror_flag"
38631 || test ! -s conftest.err'
38632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38633 (eval $ac_try) 2>&5
38634 ac_status=$?
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); }; } &&
38637 { ac_try='test -s conftest.$ac_objext'
38638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639 (eval $ac_try) 2>&5
38640 ac_status=$?
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); }; }; then
38643
38644 wx_cv_gcc31=yes
38645
38646 else
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.$ac_ext >&5
38649
38650
38651 wx_cv_gcc31=no
38652
38653
38654 fi
38655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38656
38657 fi
38658 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38659 echo "${ECHO_T}$wx_cv_gcc31" >&6
38660 if test "$wx_cv_gcc31" = "no"; then
38661
38662 D='$'
38663 cat <<EOF >shared-ld-sh
38664 #!/bin/sh
38665 #-----------------------------------------------------------------------------
38666 #-- Name: distrib/mac/shared-ld-sh
38667 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38668 #-- Author: Gilles Depeyrot
38669 #-- Copyright: (c) 2002 Gilles Depeyrot
38670 #-- Licence: any use permitted
38671 #-----------------------------------------------------------------------------
38672
38673 verbose=0
38674 args=""
38675 objects=""
38676 linking_flag="-dynamiclib"
38677
38678 while test ${D}# -gt 0; do
38679 case ${D}1 in
38680
38681 -v)
38682 verbose=1
38683 ;;
38684
38685 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38686 # collect these options and values
38687 args="${D}{args} ${D}1 ${D}2"
38688 shift
38689 ;;
38690
38691 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38692 # collect these options
38693 args="${D}{args} ${D}1"
38694 ;;
38695
38696 -dynamiclib|-bundle)
38697 linking_flag="${D}1"
38698 ;;
38699
38700 -*)
38701 echo "shared-ld: unhandled option '${D}1'"
38702 exit 1
38703 ;;
38704
38705 *.o | *.a | *.dylib)
38706 # collect object files
38707 objects="${D}{objects} ${D}1"
38708 ;;
38709
38710 *)
38711 echo "shared-ld: unhandled argument '${D}1'"
38712 exit 1
38713 ;;
38714
38715 esac
38716 shift
38717 done
38718
38719 #
38720 # Link one module containing all the others
38721 #
38722 if test ${D}{verbose} = 1; then
38723 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38724 fi
38725 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38726 status=${D}?
38727 if test ${D}{status} != 0; then
38728 exit ${D}{status}
38729 fi
38730
38731 #
38732 # Link the shared library from the single module created
38733 #
38734 if test ${D}{verbose} = 1; then
38735 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38736 fi
38737 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38738 status=${D}?
38739 if test ${D}{status} != 0; then
38740 exit ${D}{status}
38741 fi
38742
38743 #
38744 # Remove intermediate module
38745 #
38746 rm -f master.${D}${D}.o
38747
38748 exit 0
38749 EOF
38750
38751 chmod +x shared-ld-sh
38752
38753 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38754 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38755 SHARED_LD_CXX="$SHARED_LD_CC"
38756 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38757 else
38758 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38759 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38760 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38761 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38762 fi
38763
38764 PIC_FLAG="-dynamic -fPIC"
38765 ;;
38766
38767 *-*-aix* )
38768 if test "x$GCC" != "xyes"; then
38769 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38770 set dummy makeC++SharedLib; ac_word=$2
38771 echo "$as_me:$LINENO: checking for $ac_word" >&5
38772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38773 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38774 echo $ECHO_N "(cached) $ECHO_C" >&6
38775 else
38776 if test -n "$AIX_CXX_LD"; then
38777 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38778 else
38779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38780 for as_dir in $PATH
38781 do
38782 IFS=$as_save_IFS
38783 test -z "$as_dir" && as_dir=.
38784 for ac_exec_ext in '' $ac_executable_extensions; do
38785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38786 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38788 break 2
38789 fi
38790 done
38791 done
38792
38793 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38794 fi
38795 fi
38796 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38797 if test -n "$AIX_CXX_LD"; then
38798 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38799 echo "${ECHO_T}$AIX_CXX_LD" >&6
38800 else
38801 echo "$as_me:$LINENO: result: no" >&5
38802 echo "${ECHO_T}no" >&6
38803 fi
38804
38805 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38806 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38807 fi
38808 ;;
38809
38810 *-*-beos* )
38811 SHARED_LD_CC="${LD} -shared -o"
38812 SHARED_LD_CXX="${LD} -shared -o"
38813 ;;
38814
38815 *-*-irix* )
38816 if test "x$GCC" != "xyes"; then
38817 PIC_FLAG="-KPIC"
38818 fi
38819 ;;
38820
38821 *-*-cygwin* | *-*-mingw32* )
38822 PIC_FLAG=""
38823 ;;
38824
38825 *-pc-os2_emx | *-pc-os2-emx )
38826 SHARED_LD_CC="`pwd`/dllar.sh -o"
38827 SHARED_LD_CXX="`pwd`/dllar.sh -o"
38828 PIC_FLAG=""
38829
38830 D='$'
38831 cat <<EOF >dllar.sh
38832 #!/bin/sh
38833 #
38834 # dllar - a tool to build both a .dll and an .a file
38835 # from a set of object (.o) files for EMX/OS2.
38836 #
38837 # Written by Andrew Zabolotny, bit@freya.etu.ru
38838 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38839 #
38840 # This script will accept a set of files on the command line.
38841 # All the public symbols from the .o files will be exported into
38842 # a .DEF file, then linker will be run (through gcc) against them to
38843 # build a shared library consisting of all given .o files. All libraries
38844 # (.a) will be first decompressed into component .o files then act as
38845 # described above. You can optionally give a description (-d "description")
38846 # which will be put into .DLL. To see the list of accepted options (as well
38847 # as command-line format) simply run this program without options. The .DLL
38848 # is built to be imported by name (there is no guarantee that new versions
38849 # of the library you build will have same ordinals for same symbols).
38850 #
38851 # dllar is free software; you can redistribute it and/or modify
38852 # it under the terms of the GNU General Public License as published by
38853 # the Free Software Foundation; either version 2, or (at your option)
38854 # any later version.
38855 #
38856 # dllar is distributed in the hope that it will be useful,
38857 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38858 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38859 # GNU General Public License for more details.
38860 #
38861 # You should have received a copy of the GNU General Public License
38862 # along with dllar; see the file COPYING. If not, write to the Free
38863 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38864 # 02111-1307, USA.
38865
38866 # To successfuly run this program you will need:
38867 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38868 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38869 # - gcc
38870 # (used to build the .dll)
38871 # - emxexp
38872 # (used to create .def file from .o files)
38873 # - emximp
38874 # (used to create .a file from .def file)
38875 # - GNU text utilites (cat, sort, uniq)
38876 # used to process emxexp output
38877 # - GNU file utilities (mv, rm)
38878 # - GNU sed
38879 # - lxlite (optional, see flag below)
38880 # (used for general .dll cleanup)
38881 #
38882
38883 flag_USE_LXLITE=1;
38884
38885 #
38886 # helper functions
38887 # basnam, variant of basename, which does _not_ remove the path, _iff_
38888 # second argument (suffix to remove) is given
38889 basnam(){
38890 case ${D}# in
38891 1)
38892 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38893 ;;
38894 2)
38895 echo ${D}1 | sed 's/'${D}2'${D}//'
38896 ;;
38897 *)
38898 echo "error in basnam ${D}*"
38899 exit 8
38900 ;;
38901 esac
38902 }
38903
38904 # Cleanup temporary files and output
38905 CleanUp() {
38906 cd ${D}curDir
38907 for i in ${D}inputFiles ; do
38908 case ${D}i in
38909 *!)
38910 rm -rf \`basnam ${D}i !\`
38911 ;;
38912 *)
38913 ;;
38914 esac
38915 done
38916
38917 # Kill result in case of failure as there is just to many stupid make/nmake
38918 # things out there which doesn't do this.
38919 if [] ${D}# -eq 0 []; then
38920 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38921 fi
38922 }
38923
38924 # Print usage and exit script with rc=1.
38925 PrintHelp() {
38926 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38927 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38928 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38929 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38930 echo ' []*.o[] []*.a[]'
38931 echo '*> "output_file" should have no extension.'
38932 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38933 echo ' The import library name is derived from this and is set to "name".a,'
38934 echo ' unless overridden by -import'
38935 echo '*> "importlib_name" should have no extension.'
38936 echo ' If it has the .o, or .a extension, it is automatically removed.'
38937 echo ' This name is used as the import library name and may be longer and'
38938 echo ' more descriptive than the DLL name which has to follow the old '
38939 echo ' 8.3 convention of FAT.'
38940 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38941 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38942 echo ' These flags will be put at the start of GCC command line.'
38943 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38944 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38945 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38946 echo ' If the last character of a symbol is "*", all symbols beginning'
38947 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38948 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38949 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38950 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38951 echo ' C runtime DLLs.'
38952 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38953 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38954 echo ' unchanged to GCC at the end of command line.'
38955 echo '*> If you create a DLL from a library and you do not specify -o,'
38956 echo ' the basename for DLL and import library will be set to library name,'
38957 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38958 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38959 echo ' library will be renamed into gcc_s.a.'
38960 echo '--------'
38961 echo 'Example:'
38962 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38963 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38964 CleanUp
38965 exit 1
38966 }
38967
38968 # Execute a command.
38969 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38970 # @Uses Whatever CleanUp() uses.
38971 doCommand() {
38972 echo "${D}*"
38973 eval ${D}*
38974 rcCmd=${D}?
38975
38976 if [] ${D}rcCmd -ne 0 []; then
38977 echo "command failed, exit code="${D}rcCmd
38978 CleanUp
38979 exit ${D}rcCmd
38980 fi
38981 }
38982
38983 # main routine
38984 # setup globals
38985 cmdLine=${D}*
38986 outFile=""
38987 outimpFile=""
38988 inputFiles=""
38989 description=""
38990 CC=gcc.exe
38991 CFLAGS="-s -Zcrtdll"
38992 EXTRA_CFLAGS=""
38993 EXPORT_BY_ORDINALS=0
38994 exclude_symbols=""
38995 library_flags=""
38996 curDir=\`pwd\`
38997 curDirS=curDir
38998 case ${D}curDirS in
38999 */)
39000 ;;
39001 *)
39002 curDirS=${D}{curDirS}"/"
39003 ;;
39004 esac
39005 # Parse commandline
39006 libsToLink=0
39007 while [] ${D}1 []; do
39008 case ${D}1 in
39009 -ord*)
39010 EXPORT_BY_ORDINALS=1;
39011 ;;
39012 -o*)
39013 shift
39014 outFile=${D}1
39015 ;;
39016 -i*)
39017 shift
39018 outimpFile=${D}1
39019 ;;
39020 -d*)
39021 shift
39022 description=${D}1
39023 ;;
39024 -f*)
39025 shift
39026 CFLAGS=${D}1
39027 ;;
39028 -c*)
39029 shift
39030 CC=${D}1
39031 ;;
39032 -h*)
39033 PrintHelp
39034 ;;
39035 -ex*)
39036 shift
39037 exclude_symbols=${D}{exclude_symbols}${D}1" "
39038 ;;
39039 -libf*)
39040 shift
39041 library_flags=${D}{library_flags}${D}1" "
39042 ;;
39043 -nocrt*)
39044 CFLAGS="-s"
39045 ;;
39046 -nolxl*)
39047 flag_USE_LXLITE=0
39048 ;;
39049 -* | /*)
39050 case ${D}1 in
39051 -L* | -l*)
39052 libsToLink=1
39053 ;;
39054 *)
39055 ;;
39056 esac
39057 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39058 ;;
39059 *)
39060 found=0;
39061 if [] ${D}libsToLink -ne 0 []; then
39062 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39063 else
39064 for file in ${D}1 ; do
39065 if [] -f ${D}file []; then
39066 inputFiles="${D}{inputFiles} ${D}file"
39067 found=1
39068 fi
39069 done
39070 if [] ${D}found -eq 0 []; then
39071 echo "ERROR: No file(s) found: "${D}1
39072 exit 8
39073 fi
39074 fi
39075 ;;
39076 esac
39077 shift
39078 done # iterate cmdline words
39079
39080 #
39081 if [] -z "${D}inputFiles" []; then
39082 echo "dllar: no input files"
39083 PrintHelp
39084 fi
39085
39086 # Now extract all .o files from .a files
39087 newInputFiles=""
39088 for file in ${D}inputFiles ; do
39089 case ${D}file in
39090 *.a | *.lib)
39091 case ${D}file in
39092 *.a)
39093 suffix=".a"
39094 AR="ar"
39095 ;;
39096 *.lib)
39097 suffix=".lib"
39098 AR="emxomfar"
39099 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39100 ;;
39101 *)
39102 ;;
39103 esac
39104 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39105 mkdir ${D}dirname
39106 if [] ${D}? -ne 0 []; then
39107 echo "Failed to create subdirectory ./${D}dirname"
39108 CleanUp
39109 exit 8;
39110 fi
39111 # Append '!' to indicate archive
39112 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39113 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39114 cd ${D}curDir
39115 found=0;
39116 for subfile in ${D}dirname/*.o* ; do
39117 if [] -f ${D}subfile []; then
39118 found=1
39119 if [] -s ${D}subfile []; then
39120 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39121 newInputFiles="${D}newInputFiles ${D}subfile"
39122 fi
39123 fi
39124 done
39125 if [] ${D}found -eq 0 []; then
39126 echo "WARNING: there are no files in archive \'${D}file\'"
39127 fi
39128 ;;
39129 *)
39130 newInputFiles="${D}{newInputFiles} ${D}file"
39131 ;;
39132 esac
39133 done
39134 inputFiles="${D}newInputFiles"
39135
39136 # Output filename(s).
39137 do_backup=0;
39138 if [] -z ${D}outFile []; then
39139 do_backup=1;
39140 set outFile ${D}inputFiles; outFile=${D}2
39141 fi
39142
39143 # If it is an archive, remove the '!' and the '_%' suffixes
39144 case ${D}outFile in
39145 *_%!)
39146 outFile=\`basnam ${D}outFile _%!\`
39147 ;;
39148 *)
39149 ;;
39150 esac
39151 case ${D}outFile in
39152 *.dll)
39153 outFile=\`basnam ${D}outFile .dll\`
39154 ;;
39155 *.DLL)
39156 outFile=\`basnam ${D}outFile .DLL\`
39157 ;;
39158 *.o)
39159 outFile=\`basnam ${D}outFile .o\`
39160 ;;
39161 *.obj)
39162 outFile=\`basnam ${D}outFile .obj\`
39163 ;;
39164 *.a)
39165 outFile=\`basnam ${D}outFile .a\`
39166 ;;
39167 *.lib)
39168 outFile=\`basnam ${D}outFile .lib\`
39169 ;;
39170 *)
39171 ;;
39172 esac
39173 case ${D}outimpFile in
39174 *.a)
39175 outimpFile=\`basnam ${D}outimpFile .a\`
39176 ;;
39177 *.lib)
39178 outimpFile=\`basnam ${D}outimpFile .lib\`
39179 ;;
39180 *)
39181 ;;
39182 esac
39183 if [] -z ${D}outimpFile []; then
39184 outimpFile=${D}outFile
39185 fi
39186 defFile="${D}{outFile}.def"
39187 arcFile="${D}{outimpFile}.a"
39188 arcFile2="${D}{outimpFile}.lib"
39189 dllFile="${D}outFile"
39190 # Add suffix to dllFile later, first we need a version to use as
39191 # name in .def file.
39192
39193 if [] ${D}do_backup -ne 0 [] ; then
39194 if [] -f ${D}arcFile [] ; then
39195 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39196 fi
39197 if [] -f ${D}arcFile2 [] ; then
39198 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39199 fi
39200 fi
39201
39202 # Extract public symbols from all the object files.
39203 tmpdefFile=${D}{defFile}_%
39204 rm -f ${D}tmpdefFile
39205 for file in ${D}inputFiles ; do
39206 case ${D}file in
39207 *!)
39208 ;;
39209 *)
39210 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39211 ;;
39212 esac
39213 done
39214
39215 # Create the def file.
39216 rm -f ${D}defFile
39217 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39218 dllFile="${D}dllFile.dll"
39219 if [] -n ${D}description []; then
39220 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39221 fi
39222 echo "EXPORTS" >> ${D}defFile
39223
39224 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39225 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39226
39227 # Checks if the export is ok or not.
39228 for word in ${D}exclude_symbols; do
39229 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39230 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39231 done
39232
39233
39234 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39235 sed "=" < ${D}tmpdefFile | \
39236 sed '
39237 N
39238 : loop
39239 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39240 t loop
39241 ' > ${D}{tmpdefFile}%
39242 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39243 else
39244 rm -f ${D}{tmpdefFile}%
39245 fi
39246 cat ${D}tmpdefFile >> ${D}defFile
39247 rm -f ${D}tmpdefFile
39248
39249 # Do linking, create implib, and apply lxlite.
39250 gccCmdl="";
39251 for file in ${D}inputFiles ; do
39252 case ${D}file in
39253 *!)
39254 ;;
39255 *)
39256 gccCmdl="${D}gccCmdl ${D}file"
39257 ;;
39258 esac
39259 done
39260 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39261 touch "${D}{outFile}.dll"
39262
39263 doCommand "emximp -o ${D}arcFile ${D}defFile"
39264 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39265 add_flags="";
39266 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39267 add_flags="-ynd"
39268 fi
39269 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39270 fi
39271 doCommand "emxomf -s -l ${D}arcFile"
39272
39273 # Successful exit.
39274 CleanUp 1
39275 exit 0
39276 EOF
39277
39278 chmod +x dllar.sh
39279 ;;
39280
39281 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39282 *-*-sunos4* | \
39283 *-*-osf* | \
39284 *-*-dgux5* | \
39285 *-*-sysv5* )
39286 ;;
39287
39288 *)
39289 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39290 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39291 { (exit 1); exit 1; }; }
39292 esac
39293
39294 if test "x$PIC_FLAG" != "x" ; then
39295 PIC_FLAG="$PIC_FLAG -DPIC"
39296 fi
39297
39298 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39299 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39300 fi
39301 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39302 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39303 fi
39304
39305
39306
39307
39308
39309
39310
39311
39312 USE_SOVERSION=0
39313 USE_SOVERLINUX=0
39314 USE_SOVERSOLARIS=0
39315 USE_SOSYMLINKS=0
39316 USE_MACVERSION=0
39317 SONAME_FLAG=
39318
39319 case "${BAKEFILE_HOST}" in
39320 *-*-linux* )
39321 SONAME_FLAG="-Wl,-soname,"
39322 USE_SOVERSION=1
39323 USE_SOVERLINUX=1
39324 USE_SOSYMLINKS=1
39325 ;;
39326
39327 *-*-solaris2* )
39328 SONAME_FLAG="-h "
39329 USE_SOVERSION=1
39330 USE_SOVERSOLARIS=1
39331 USE_SOSYMLINKS=1
39332 ;;
39333
39334 *-*-darwin* )
39335 USE_MACVERSION=1
39336 USE_SOVERSION=1
39337 USE_SOSYMLINKS=1
39338 ;;
39339 esac
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39350 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39351 DEPS_TRACKING=0
39352
39353 if test "x$GCC" = "xyes"; then
39354 DEPSMODE=gcc
39355 DEPS_TRACKING=1
39356 case "${BAKEFILE_HOST}" in
39357 powerpc-*-darwin* )
39358 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39359 ;;
39360 * )
39361 DEPSFLAG_GCC="-MMD"
39362 ;;
39363 esac
39364 echo "$as_me:$LINENO: result: gcc" >&5
39365 echo "${ECHO_T}gcc" >&6
39366 else
39367 echo "$as_me:$LINENO: result: none" >&5
39368 echo "${ECHO_T}none" >&6
39369 fi
39370
39371 if test $DEPS_TRACKING = 1 ; then
39372
39373 D='$'
39374 cat <<EOF >bk-deps
39375 #!/bin/sh
39376
39377 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39378 # script. It is used to track C/C++ files dependencies in portable way.
39379 #
39380 # Permission is given to use this file in any way.
39381
39382 DEPSMODE=${DEPSMODE}
39383 DEPSDIR=.deps
39384 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39385
39386 mkdir -p ${D}DEPSDIR
39387
39388 if test ${D}DEPSMODE = gcc ; then
39389 ${D}* ${D}{DEPSFLAG_GCC}
39390 status=${D}?
39391 if test ${D}{status} != 0 ; then
39392 exit ${D}{status}
39393 fi
39394 # move created file to the location we want it in:
39395 while test ${D}# -gt 0; do
39396 case "${D}1" in
39397 -o )
39398 shift
39399 objfile=${D}1
39400 ;;
39401 -* )
39402 ;;
39403 * )
39404 srcfile=${D}1
39405 ;;
39406 esac
39407 shift
39408 done
39409 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39410 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39411 if test -f ${D}depfile ; then
39412 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39413 rm -f ${D}depfile
39414 else
39415 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39416 if test -f ${D}depfile ; then
39417 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39418 rm -f ${D}depfile
39419 fi
39420 fi
39421 exit 0
39422 else
39423 ${D}*
39424 exit ${D}?
39425 fi
39426 EOF
39427
39428 chmod +x bk-deps
39429 fi
39430
39431
39432
39433
39434 RESCOMP=
39435 SETFILE=
39436
39437 case ${BAKEFILE_HOST} in
39438 *-*-cygwin* | *-*-mingw32* )
39439 if test "$build" != "$host" ; then
39440 RESCOMP=$host_alias-windres
39441 else
39442 # Extract the first word of "windres", so it can be a program name with args.
39443 set dummy windres; ac_word=$2
39444 echo "$as_me:$LINENO: checking for $ac_word" >&5
39445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39446 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39448 else
39449 if test -n "$RESCOMP"; then
39450 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39451 else
39452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39453 for as_dir in $PATH
39454 do
39455 IFS=$as_save_IFS
39456 test -z "$as_dir" && as_dir=.
39457 for ac_exec_ext in '' $ac_executable_extensions; do
39458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39459 ac_cv_prog_RESCOMP="windres"
39460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39461 break 2
39462 fi
39463 done
39464 done
39465
39466 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39467 fi
39468 fi
39469 RESCOMP=$ac_cv_prog_RESCOMP
39470 if test -n "$RESCOMP"; then
39471 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39472 echo "${ECHO_T}$RESCOMP" >&6
39473 else
39474 echo "$as_me:$LINENO: result: no" >&5
39475 echo "${ECHO_T}no" >&6
39476 fi
39477
39478 fi
39479 ;;
39480
39481 *-*-darwin* )
39482 # Extract the first word of "Rez", so it can be a program name with args.
39483 set dummy Rez; ac_word=$2
39484 echo "$as_me:$LINENO: checking for $ac_word" >&5
39485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39486 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39487 echo $ECHO_N "(cached) $ECHO_C" >&6
39488 else
39489 if test -n "$RESCOMP"; then
39490 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39491 else
39492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39493 for as_dir in $PATH
39494 do
39495 IFS=$as_save_IFS
39496 test -z "$as_dir" && as_dir=.
39497 for ac_exec_ext in '' $ac_executable_extensions; do
39498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39499 ac_cv_prog_RESCOMP="Rez"
39500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39501 break 2
39502 fi
39503 done
39504 done
39505
39506 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39507 fi
39508 fi
39509 RESCOMP=$ac_cv_prog_RESCOMP
39510 if test -n "$RESCOMP"; then
39511 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39512 echo "${ECHO_T}$RESCOMP" >&6
39513 else
39514 echo "$as_me:$LINENO: result: no" >&5
39515 echo "${ECHO_T}no" >&6
39516 fi
39517
39518 # Extract the first word of "SetFile", so it can be a program name with args.
39519 set dummy SetFile; ac_word=$2
39520 echo "$as_me:$LINENO: checking for $ac_word" >&5
39521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39522 if test "${ac_cv_prog_SETFILE+set}" = set; then
39523 echo $ECHO_N "(cached) $ECHO_C" >&6
39524 else
39525 if test -n "$SETFILE"; then
39526 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39527 else
39528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39529 for as_dir in $PATH
39530 do
39531 IFS=$as_save_IFS
39532 test -z "$as_dir" && as_dir=.
39533 for ac_exec_ext in '' $ac_executable_extensions; do
39534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39535 ac_cv_prog_SETFILE="SetFile"
39536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39537 break 2
39538 fi
39539 done
39540 done
39541
39542 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39543 fi
39544 fi
39545 SETFILE=$ac_cv_prog_SETFILE
39546 if test -n "$SETFILE"; then
39547 echo "$as_me:$LINENO: result: $SETFILE" >&5
39548 echo "${ECHO_T}$SETFILE" >&6
39549 else
39550 echo "$as_me:$LINENO: result: no" >&5
39551 echo "${ECHO_T}no" >&6
39552 fi
39553
39554 ;;
39555 esac
39556
39557
39558
39559
39560
39561 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
39562
39563
39564 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
39565
39566
39567
39568 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39569 if test "${enable_precomp_headers+set}" = set; then
39570 enableval="$enable_precomp_headers"
39571 bk_use_pch="$enableval"
39572 fi;
39573
39574 GCC_PCH=0
39575
39576 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39577 if test "x$GCC" = "xyes"; then
39578 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39579 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39580 cat >conftest.$ac_ext <<_ACEOF
39581 /* confdefs.h. */
39582 _ACEOF
39583 cat confdefs.h >>conftest.$ac_ext
39584 cat >>conftest.$ac_ext <<_ACEOF
39585 /* end confdefs.h. */
39586
39587 int
39588 main ()
39589 {
39590
39591 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39592 #error "no pch support"
39593 #endif
39594 #if (__GNUC__ < 3)
39595 #error "no pch support"
39596 #endif
39597 #if (__GNUC__ == 3) && \
39598 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39599 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39600 #error "no pch support"
39601 #endif
39602
39603 ;
39604 return 0;
39605 }
39606 _ACEOF
39607 rm -f conftest.$ac_objext
39608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39609 (eval $ac_compile) 2>conftest.er1
39610 ac_status=$?
39611 grep -v '^ *+' conftest.er1 >conftest.err
39612 rm -f conftest.er1
39613 cat conftest.err >&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } &&
39616 { ac_try='test -z "$ac_c_werror_flag"
39617 || test ! -s conftest.err'
39618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39619 (eval $ac_try) 2>&5
39620 ac_status=$?
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); }; } &&
39623 { ac_try='test -s conftest.$ac_objext'
39624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625 (eval $ac_try) 2>&5
39626 ac_status=$?
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); }; }; then
39629
39630 echo "$as_me:$LINENO: result: yes" >&5
39631 echo "${ECHO_T}yes" >&6
39632 CPPFLAGS="-fpch-deps $CPPFLAGS"
39633 GCC_PCH=1
39634
39635 else
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.$ac_ext >&5
39638
39639
39640 echo "$as_me:$LINENO: result: no" >&5
39641 echo "${ECHO_T}no" >&6
39642
39643 fi
39644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39645 if test $GCC_PCH = 1 ; then
39646 cat <<EOF >bk-make-pch
39647 #!/bin/sh
39648
39649 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39650 # script. It is used to generated precompiled headers.
39651 #
39652 # Permission is given to use this file in any way.
39653
39654 outfile="\${1}"
39655 header="\${2}"
39656 shift
39657 shift
39658
39659 compiler=
39660 headerfile=
39661 while test \${#} -gt 0; do
39662 case "\${1}" in
39663 -I* )
39664 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39665 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39666 headerfile="\${incdir}/\${header}"
39667 fi
39668 ;;
39669 esac
39670 compiler="\${compiler} \${1}"
39671 shift
39672 done
39673
39674 if test "x\${headerfile}" = "x" ; then
39675 echo "error: can't find header \${header} in include paths" >2
39676 else
39677 if test -f \${outfile} ; then
39678 rm -f \${outfile}
39679 else
39680 mkdir -p \`dirname \${outfile}\`
39681 fi
39682 depsfile=".deps/\`basename \${outfile}\`.d"
39683 mkdir -p .deps
39684 # can do this because gcc is >= 3.4:
39685 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39686 exit \${?}
39687 fi
39688 EOF
39689 chmod +x bk-make-pch
39690 fi
39691 fi
39692 fi
39693
39694
39695
39696
39697
39698
39699
39700 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39701 if test "${enable_precomp_headers+set}" = set; then
39702 enableval="$enable_precomp_headers"
39703 bk_use_pch="$enableval"
39704 fi;
39705
39706 GCC_PCH=0
39707
39708 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39709 if test "x$GCC" = "xyes"; then
39710 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39711 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39712 cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h. */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39718
39719 int
39720 main ()
39721 {
39722
39723 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39724 #error "no pch support"
39725 #endif
39726 #if (__GNUC__ < 3)
39727 #error "no pch support"
39728 #endif
39729 #if (__GNUC__ == 3) && \
39730 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39731 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39732 #error "no pch support"
39733 #endif
39734
39735 ;
39736 return 0;
39737 }
39738 _ACEOF
39739 rm -f conftest.$ac_objext
39740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39741 (eval $ac_compile) 2>conftest.er1
39742 ac_status=$?
39743 grep -v '^ *+' conftest.er1 >conftest.err
39744 rm -f conftest.er1
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } &&
39748 { ac_try='test -z "$ac_c_werror_flag"
39749 || test ! -s conftest.err'
39750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39751 (eval $ac_try) 2>&5
39752 ac_status=$?
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); }; } &&
39755 { ac_try='test -s conftest.$ac_objext'
39756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39757 (eval $ac_try) 2>&5
39758 ac_status=$?
39759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39760 (exit $ac_status); }; }; then
39761
39762 echo "$as_me:$LINENO: result: yes" >&5
39763 echo "${ECHO_T}yes" >&6
39764 CPPFLAGS="-fpch-deps $CPPFLAGS"
39765 GCC_PCH=1
39766
39767 else
39768 echo "$as_me: failed program was:" >&5
39769 sed 's/^/| /' conftest.$ac_ext >&5
39770
39771
39772 echo "$as_me:$LINENO: result: no" >&5
39773 echo "${ECHO_T}no" >&6
39774
39775 fi
39776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39777 if test $GCC_PCH = 1 ; then
39778 cat <<EOF >bk-make-pch
39779 #!/bin/sh
39780
39781 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39782 # script. It is used to generated precompiled headers.
39783 #
39784 # Permission is given to use this file in any way.
39785
39786 outfile="\${1}"
39787 header="\${2}"
39788 shift
39789 shift
39790
39791 compiler=
39792 headerfile=
39793 while test \${#} -gt 0; do
39794 case "\${1}" in
39795 -I* )
39796 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39797 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39798 headerfile="\${incdir}/\${header}"
39799 fi
39800 ;;
39801 esac
39802 compiler="\${compiler} \${1}"
39803 shift
39804 done
39805
39806 if test "x\${headerfile}" = "x" ; then
39807 echo "error: can't find header \${header} in include paths" >2
39808 else
39809 if test -f \${outfile} ; then
39810 rm -f \${outfile}
39811 else
39812 mkdir -p \`dirname \${outfile}\`
39813 fi
39814 depsfile=".deps/\`basename \${outfile}\`.d"
39815 mkdir -p .deps
39816 # can do this because gcc is >= 3.4:
39817 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39818 exit \${?}
39819 fi
39820 EOF
39821 chmod +x bk-make-pch
39822 fi
39823 fi
39824 fi
39825
39826
39827
39828
39829 COND_BUILD_DEBUG="#"
39830 if test "x$BUILD" = "xdebug" ; then
39831 COND_BUILD_DEBUG=""
39832 fi
39833
39834 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39835 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39836 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39837 fi
39838
39839 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39840 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39841 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39842 fi
39843
39844 COND_BUILD_DEBUG_UNICODE_0="#"
39845 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39846 COND_BUILD_DEBUG_UNICODE_0=""
39847 fi
39848
39849 COND_BUILD_DEBUG_UNICODE_1="#"
39850 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39851 COND_BUILD_DEBUG_UNICODE_1=""
39852 fi
39853
39854 COND_BUILD_RELEASE="#"
39855 if test "x$BUILD" = "xrelease" ; then
39856 COND_BUILD_RELEASE=""
39857 fi
39858
39859 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39860 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39861 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39862 fi
39863
39864 COND_BUILD_RELEASE_UNICODE_0="#"
39865 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39866 COND_BUILD_RELEASE_UNICODE_0=""
39867 fi
39868
39869 COND_BUILD_RELEASE_UNICODE_1="#"
39870 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39871 COND_BUILD_RELEASE_UNICODE_1=""
39872 fi
39873
39874 COND_DEBUG_FLAG_1="#"
39875 if test "x$DEBUG_FLAG" = "x1" ; then
39876 COND_DEBUG_FLAG_1=""
39877 fi
39878
39879 COND_DEBUG_INFO_0="#"
39880 if test "x$DEBUG_INFO" = "x0" ; then
39881 COND_DEBUG_INFO_0=""
39882 fi
39883
39884 COND_DEBUG_INFO_1="#"
39885 if test "x$DEBUG_INFO" = "x1" ; then
39886 COND_DEBUG_INFO_1=""
39887 fi
39888
39889 COND_DEPS_TRACKING_0="#"
39890 if test "x$DEPS_TRACKING" = "x0" ; then
39891 COND_DEPS_TRACKING_0=""
39892 fi
39893
39894 COND_DEPS_TRACKING_1="#"
39895 if test "x$DEPS_TRACKING" = "x1" ; then
39896 COND_DEPS_TRACKING_1=""
39897 fi
39898
39899 COND_GCC_PCH_1="#"
39900 if test "x$GCC_PCH" = "x1" ; then
39901 COND_GCC_PCH_1=""
39902 fi
39903
39904 COND_MONOLITHIC_0="#"
39905 if test "x$MONOLITHIC" = "x0" ; then
39906 COND_MONOLITHIC_0=""
39907 fi
39908
39909 COND_MONOLITHIC_0_SHARED_0="#"
39910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39911 COND_MONOLITHIC_0_SHARED_0=""
39912 fi
39913
39914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39917 fi
39918
39919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39922 fi
39923
39924 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39926 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39927 fi
39928
39929 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39931 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39932 fi
39933
39934 COND_MONOLITHIC_0_SHARED_1="#"
39935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39936 COND_MONOLITHIC_0_SHARED_1=""
39937 fi
39938
39939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39942 fi
39943
39944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39947 fi
39948
39949 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39951 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39952 fi
39953
39954 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39956 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39957 fi
39958
39959 COND_MONOLITHIC_0_USE_ODBC_1="#"
39960 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39961 COND_MONOLITHIC_0_USE_ODBC_1=""
39962 fi
39963
39964 COND_MONOLITHIC_1="#"
39965 if test "x$MONOLITHIC" = "x1" ; then
39966 COND_MONOLITHIC_1=""
39967 fi
39968
39969 COND_MONOLITHIC_1_SHARED_0="#"
39970 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39971 COND_MONOLITHIC_1_SHARED_0=""
39972 fi
39973
39974 COND_MONOLITHIC_1_SHARED_1="#"
39975 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39976 COND_MONOLITHIC_1_SHARED_1=""
39977 fi
39978
39979 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39980 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39981 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39982 fi
39983
39984 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39985 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39986 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39987 fi
39988
39989 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39990 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39991 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39992 fi
39993
39994 COND_PLATFORM_MACOSX_1="#"
39995 if test "x$PLATFORM_MACOSX" = "x1" ; then
39996 COND_PLATFORM_MACOSX_1=""
39997 fi
39998
39999 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40001 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40002 fi
40003
40004 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40006 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40007 fi
40008
40009 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40011 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40012 fi
40013
40014 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40016 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40017 fi
40018
40019 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40021 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40022 fi
40023
40024 COND_PLATFORM_MAC_1="#"
40025 if test "x$PLATFORM_MAC" = "x1" ; then
40026 COND_PLATFORM_MAC_1=""
40027 fi
40028
40029 COND_PLATFORM_OS2_1="#"
40030 if test "x$PLATFORM_OS2" = "x1" ; then
40031 COND_PLATFORM_OS2_1=""
40032 fi
40033
40034 COND_PLATFORM_UNIX_0="#"
40035 if test "x$PLATFORM_UNIX" = "x0" ; then
40036 COND_PLATFORM_UNIX_0=""
40037 fi
40038
40039 COND_PLATFORM_UNIX_1="#"
40040 if test "x$PLATFORM_UNIX" = "x1" ; then
40041 COND_PLATFORM_UNIX_1=""
40042 fi
40043
40044 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40045 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40046 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40047 fi
40048
40049 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40050 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40051 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40052 fi
40053
40054 COND_PLATFORM_WIN32_0="#"
40055 if test "x$PLATFORM_WIN32" = "x0" ; then
40056 COND_PLATFORM_WIN32_0=""
40057 fi
40058
40059 COND_PLATFORM_WIN32_1="#"
40060 if test "x$PLATFORM_WIN32" = "x1" ; then
40061 COND_PLATFORM_WIN32_1=""
40062 fi
40063
40064 COND_SHARED_0="#"
40065 if test "x$SHARED" = "x0" ; then
40066 COND_SHARED_0=""
40067 fi
40068
40069 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40070 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40071 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40072 fi
40073
40074 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40076 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40077 fi
40078
40079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40081 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40082 fi
40083
40084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40086 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40087 fi
40088
40089 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40090 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40091 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40092 fi
40093
40094 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40095 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40096 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40097 fi
40098
40099 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40100 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40101 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40102 fi
40103
40104 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40105 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40106 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40107 fi
40108
40109 COND_SHARED_1="#"
40110 if test "x$SHARED" = "x1" ; then
40111 COND_SHARED_1=""
40112 fi
40113
40114 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40115 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40117 fi
40118
40119 COND_TOOLKIT_COCOA="#"
40120 if test "x$TOOLKIT" = "xCOCOA" ; then
40121 COND_TOOLKIT_COCOA=""
40122 fi
40123
40124 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40125 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40126 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40127 fi
40128
40129 COND_TOOLKIT_GTK="#"
40130 if test "x$TOOLKIT" = "xGTK" ; then
40131 COND_TOOLKIT_GTK=""
40132 fi
40133
40134 COND_TOOLKIT_GTK_USE_GUI_1="#"
40135 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40136 COND_TOOLKIT_GTK_USE_GUI_1=""
40137 fi
40138
40139 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40140 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40141 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40142 fi
40143
40144 COND_TOOLKIT_MAC="#"
40145 if test "x$TOOLKIT" = "xMAC" ; then
40146 COND_TOOLKIT_MAC=""
40147 fi
40148
40149 COND_TOOLKIT_MAC_USE_GUI_1="#"
40150 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40151 COND_TOOLKIT_MAC_USE_GUI_1=""
40152 fi
40153
40154 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40155 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40156 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40157 fi
40158
40159 COND_TOOLKIT_MAC_WXUNIV_0="#"
40160 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40161 COND_TOOLKIT_MAC_WXUNIV_0=""
40162 fi
40163
40164 COND_TOOLKIT_MGL="#"
40165 if test "x$TOOLKIT" = "xMGL" ; then
40166 COND_TOOLKIT_MGL=""
40167 fi
40168
40169 COND_TOOLKIT_MGL_USE_GUI_1="#"
40170 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40171 COND_TOOLKIT_MGL_USE_GUI_1=""
40172 fi
40173
40174 COND_TOOLKIT_MOTIF="#"
40175 if test "x$TOOLKIT" = "xMOTIF" ; then
40176 COND_TOOLKIT_MOTIF=""
40177 fi
40178
40179 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40180 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40181 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40182 fi
40183
40184 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40186 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40187 fi
40188
40189 COND_TOOLKIT_MSW="#"
40190 if test "x$TOOLKIT" = "xMSW" ; then
40191 COND_TOOLKIT_MSW=""
40192 fi
40193
40194 COND_TOOLKIT_MSW_USE_GUI_1="#"
40195 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40196 COND_TOOLKIT_MSW_USE_GUI_1=""
40197 fi
40198
40199 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40201 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40202 fi
40203
40204 COND_TOOLKIT_MSW_WXUNIV_0="#"
40205 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40206 COND_TOOLKIT_MSW_WXUNIV_0=""
40207 fi
40208
40209 COND_TOOLKIT_PM="#"
40210 if test "x$TOOLKIT" = "xPM" ; then
40211 COND_TOOLKIT_PM=""
40212 fi
40213
40214 COND_TOOLKIT_PM_USE_GUI_1="#"
40215 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40216 COND_TOOLKIT_PM_USE_GUI_1=""
40217 fi
40218
40219 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40221 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40222 fi
40223
40224 COND_TOOLKIT_PM_WXUNIV_0="#"
40225 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40226 COND_TOOLKIT_PM_WXUNIV_0=""
40227 fi
40228
40229 COND_TOOLKIT_WINCE="#"
40230 if test "x$TOOLKIT" = "xWINCE" ; then
40231 COND_TOOLKIT_WINCE=""
40232 fi
40233
40234 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40235 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40236 COND_TOOLKIT_WINCE_USE_GUI_1=""
40237 fi
40238
40239 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40240 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40241 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40242 fi
40243
40244 COND_TOOLKIT_X11="#"
40245 if test "x$TOOLKIT" = "xX11" ; then
40246 COND_TOOLKIT_X11=""
40247 fi
40248
40249 COND_TOOLKIT_X11_USE_GUI_1="#"
40250 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40251 COND_TOOLKIT_X11_USE_GUI_1=""
40252 fi
40253
40254 COND_UNICODE_1="#"
40255 if test "x$UNICODE" = "x1" ; then
40256 COND_UNICODE_1=""
40257 fi
40258
40259 COND_USE_EXCEPTIONS_0="#"
40260 if test "x$USE_EXCEPTIONS" = "x0" ; then
40261 COND_USE_EXCEPTIONS_0=""
40262 fi
40263
40264 COND_USE_EXCEPTIONS_1="#"
40265 if test "x$USE_EXCEPTIONS" = "x1" ; then
40266 COND_USE_EXCEPTIONS_1=""
40267 fi
40268
40269 COND_USE_GUI_0="#"
40270 if test "x$USE_GUI" = "x0" ; then
40271 COND_USE_GUI_0=""
40272 fi
40273
40274 COND_USE_GUI_1="#"
40275 if test "x$USE_GUI" = "x1" ; then
40276 COND_USE_GUI_1=""
40277 fi
40278
40279 COND_USE_GUI_1_WXUNIV_0="#"
40280 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40281 COND_USE_GUI_1_WXUNIV_0=""
40282 fi
40283
40284 COND_USE_GUI_1_WXUNIV_1="#"
40285 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40286 COND_USE_GUI_1_WXUNIV_1=""
40287 fi
40288
40289 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40290 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40291 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40292 fi
40293
40294 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40296 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40297 fi
40298
40299 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40300 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40301 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40302 fi
40303
40304 COND_USE_ODBC_1="#"
40305 if test "x$USE_ODBC" = "x1" ; then
40306 COND_USE_ODBC_1=""
40307 fi
40308
40309 COND_USE_PLUGINS_0="#"
40310 if test "x$USE_PLUGINS" = "x0" ; then
40311 COND_USE_PLUGINS_0=""
40312 fi
40313
40314 COND_USE_SOSYMLINKS_1="#"
40315 if test "x$USE_SOSYMLINKS" = "x1" ; then
40316 COND_USE_SOSYMLINKS_1=""
40317 fi
40318
40319 COND_USE_SOVERLINUX_1="#"
40320 if test "x$USE_SOVERLINUX" = "x1" ; then
40321 COND_USE_SOVERLINUX_1=""
40322 fi
40323
40324 COND_USE_SOVERSION_0="#"
40325 if test "x$USE_SOVERSION" = "x0" ; then
40326 COND_USE_SOVERSION_0=""
40327 fi
40328
40329 COND_USE_SOVERSOLARIS_1="#"
40330 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40331 COND_USE_SOVERSOLARIS_1=""
40332 fi
40333
40334 COND_WITH_PLUGIN_SDL_1="#"
40335 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40336 COND_WITH_PLUGIN_SDL_1=""
40337 fi
40338
40339 COND_WITH_SDL_1="#"
40340 if test "x$WITH_SDL" = "x1" ; then
40341 COND_WITH_SDL_1=""
40342 fi
40343
40344 COND_WXUNIV_1="#"
40345 if test "x$WXUNIV" = "x1" ; then
40346 COND_WXUNIV_1=""
40347 fi
40348
40349 COND_WXUSE_EXPAT_BUILTIN="#"
40350 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40351 COND_WXUSE_EXPAT_BUILTIN=""
40352 fi
40353
40354 COND_WXUSE_LIBJPEG_BUILTIN="#"
40355 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40356 COND_WXUSE_LIBJPEG_BUILTIN=""
40357 fi
40358
40359 COND_WXUSE_LIBPNG_BUILTIN="#"
40360 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40361 COND_WXUSE_LIBPNG_BUILTIN=""
40362 fi
40363
40364 COND_WXUSE_LIBTIFF_BUILTIN="#"
40365 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40366 COND_WXUSE_LIBTIFF_BUILTIN=""
40367 fi
40368
40369 COND_WXUSE_ODBC_BUILTIN="#"
40370 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40371 COND_WXUSE_ODBC_BUILTIN=""
40372 fi
40373
40374 COND_WXUSE_REGEX_BUILTIN="#"
40375 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40376 COND_WXUSE_REGEX_BUILTIN=""
40377 fi
40378
40379 COND_WXUSE_ZLIB_BUILTIN="#"
40380 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40381 COND_WXUSE_ZLIB_BUILTIN=""
40382 fi
40383
40384 COND_BUILD_DEBUG="#"
40385 if test "x$BUILD" = "xdebug" ; then
40386 COND_BUILD_DEBUG=""
40387 fi
40388
40389 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40390 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40391 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40392 fi
40393
40394 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40395 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40396 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40397 fi
40398
40399 COND_BUILD_DEBUG_UNICODE_0="#"
40400 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40401 COND_BUILD_DEBUG_UNICODE_0=""
40402 fi
40403
40404 COND_BUILD_DEBUG_UNICODE_1="#"
40405 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40406 COND_BUILD_DEBUG_UNICODE_1=""
40407 fi
40408
40409 COND_BUILD_RELEASE="#"
40410 if test "x$BUILD" = "xrelease" ; then
40411 COND_BUILD_RELEASE=""
40412 fi
40413
40414 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40415 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40416 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40417 fi
40418
40419 COND_BUILD_RELEASE_UNICODE_0="#"
40420 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40421 COND_BUILD_RELEASE_UNICODE_0=""
40422 fi
40423
40424 COND_BUILD_RELEASE_UNICODE_1="#"
40425 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40426 COND_BUILD_RELEASE_UNICODE_1=""
40427 fi
40428
40429 COND_DEBUG_FLAG_1="#"
40430 if test "x$DEBUG_FLAG" = "x1" ; then
40431 COND_DEBUG_FLAG_1=""
40432 fi
40433
40434 COND_DEBUG_INFO_0="#"
40435 if test "x$DEBUG_INFO" = "x0" ; then
40436 COND_DEBUG_INFO_0=""
40437 fi
40438
40439 COND_DEBUG_INFO_1="#"
40440 if test "x$DEBUG_INFO" = "x1" ; then
40441 COND_DEBUG_INFO_1=""
40442 fi
40443
40444 COND_DEPS_TRACKING_0="#"
40445 if test "x$DEPS_TRACKING" = "x0" ; then
40446 COND_DEPS_TRACKING_0=""
40447 fi
40448
40449 COND_DEPS_TRACKING_1="#"
40450 if test "x$DEPS_TRACKING" = "x1" ; then
40451 COND_DEPS_TRACKING_1=""
40452 fi
40453
40454 COND_GCC_PCH_1="#"
40455 if test "x$GCC_PCH" = "x1" ; then
40456 COND_GCC_PCH_1=""
40457 fi
40458
40459 COND_MONOLITHIC_0="#"
40460 if test "x$MONOLITHIC" = "x0" ; then
40461 COND_MONOLITHIC_0=""
40462 fi
40463
40464 COND_MONOLITHIC_0_SHARED_0="#"
40465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40466 COND_MONOLITHIC_0_SHARED_0=""
40467 fi
40468
40469 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40471 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40472 fi
40473
40474 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40476 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40477 fi
40478
40479 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40481 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40482 fi
40483
40484 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40486 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40487 fi
40488
40489 COND_MONOLITHIC_0_SHARED_1="#"
40490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40491 COND_MONOLITHIC_0_SHARED_1=""
40492 fi
40493
40494 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40496 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40497 fi
40498
40499 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40501 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40502 fi
40503
40504 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40506 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40507 fi
40508
40509 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40511 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40512 fi
40513
40514 COND_MONOLITHIC_0_USE_ODBC_1="#"
40515 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40516 COND_MONOLITHIC_0_USE_ODBC_1=""
40517 fi
40518
40519 COND_MONOLITHIC_1="#"
40520 if test "x$MONOLITHIC" = "x1" ; then
40521 COND_MONOLITHIC_1=""
40522 fi
40523
40524 COND_MONOLITHIC_1_SHARED_0="#"
40525 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40526 COND_MONOLITHIC_1_SHARED_0=""
40527 fi
40528
40529 COND_MONOLITHIC_1_SHARED_1="#"
40530 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40531 COND_MONOLITHIC_1_SHARED_1=""
40532 fi
40533
40534 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40535 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40536 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40537 fi
40538
40539 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40540 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40541 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40542 fi
40543
40544 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40545 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40546 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40547 fi
40548
40549 COND_PLATFORM_MACOSX_1="#"
40550 if test "x$PLATFORM_MACOSX" = "x1" ; then
40551 COND_PLATFORM_MACOSX_1=""
40552 fi
40553
40554 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40556 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40557 fi
40558
40559 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40561 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40562 fi
40563
40564 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40566 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40567 fi
40568
40569 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40571 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40572 fi
40573
40574 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40576 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40577 fi
40578
40579 COND_PLATFORM_MAC_1="#"
40580 if test "x$PLATFORM_MAC" = "x1" ; then
40581 COND_PLATFORM_MAC_1=""
40582 fi
40583
40584 COND_PLATFORM_OS2_1="#"
40585 if test "x$PLATFORM_OS2" = "x1" ; then
40586 COND_PLATFORM_OS2_1=""
40587 fi
40588
40589 COND_PLATFORM_UNIX_0="#"
40590 if test "x$PLATFORM_UNIX" = "x0" ; then
40591 COND_PLATFORM_UNIX_0=""
40592 fi
40593
40594 COND_PLATFORM_UNIX_1="#"
40595 if test "x$PLATFORM_UNIX" = "x1" ; then
40596 COND_PLATFORM_UNIX_1=""
40597 fi
40598
40599 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40600 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40601 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40602 fi
40603
40604 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40605 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40606 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40607 fi
40608
40609 COND_PLATFORM_WIN32_0="#"
40610 if test "x$PLATFORM_WIN32" = "x0" ; then
40611 COND_PLATFORM_WIN32_0=""
40612 fi
40613
40614 COND_PLATFORM_WIN32_1="#"
40615 if test "x$PLATFORM_WIN32" = "x1" ; then
40616 COND_PLATFORM_WIN32_1=""
40617 fi
40618
40619 COND_SHARED_0="#"
40620 if test "x$SHARED" = "x0" ; then
40621 COND_SHARED_0=""
40622 fi
40623
40624 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40625 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40626 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40627 fi
40628
40629 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40630 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40631 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40632 fi
40633
40634 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40635 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40636 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40637 fi
40638
40639 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40640 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40641 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40642 fi
40643
40644 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40645 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40646 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40647 fi
40648
40649 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40650 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40651 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40652 fi
40653
40654 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40655 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40656 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40657 fi
40658
40659 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40660 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40661 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40662 fi
40663
40664 COND_SHARED_1="#"
40665 if test "x$SHARED" = "x1" ; then
40666 COND_SHARED_1=""
40667 fi
40668
40669 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40670 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40671 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40672 fi
40673
40674 COND_TOOLKIT_COCOA="#"
40675 if test "x$TOOLKIT" = "xCOCOA" ; then
40676 COND_TOOLKIT_COCOA=""
40677 fi
40678
40679 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40680 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40681 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40682 fi
40683
40684 COND_TOOLKIT_GTK="#"
40685 if test "x$TOOLKIT" = "xGTK" ; then
40686 COND_TOOLKIT_GTK=""
40687 fi
40688
40689 COND_TOOLKIT_GTK_USE_GUI_1="#"
40690 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40691 COND_TOOLKIT_GTK_USE_GUI_1=""
40692 fi
40693
40694 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40695 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40696 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40697 fi
40698
40699 COND_TOOLKIT_MAC="#"
40700 if test "x$TOOLKIT" = "xMAC" ; then
40701 COND_TOOLKIT_MAC=""
40702 fi
40703
40704 COND_TOOLKIT_MAC_USE_GUI_1="#"
40705 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40706 COND_TOOLKIT_MAC_USE_GUI_1=""
40707 fi
40708
40709 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40710 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40711 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40712 fi
40713
40714 COND_TOOLKIT_MGL="#"
40715 if test "x$TOOLKIT" = "xMGL" ; then
40716 COND_TOOLKIT_MGL=""
40717 fi
40718
40719 COND_TOOLKIT_MGL_USE_GUI_1="#"
40720 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40721 COND_TOOLKIT_MGL_USE_GUI_1=""
40722 fi
40723
40724 COND_TOOLKIT_MOTIF="#"
40725 if test "x$TOOLKIT" = "xMOTIF" ; then
40726 COND_TOOLKIT_MOTIF=""
40727 fi
40728
40729 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40730 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40731 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40732 fi
40733
40734 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40735 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40736 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40737 fi
40738
40739 COND_TOOLKIT_MSW="#"
40740 if test "x$TOOLKIT" = "xMSW" ; then
40741 COND_TOOLKIT_MSW=""
40742 fi
40743
40744 COND_TOOLKIT_MSW_USE_GUI_1="#"
40745 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40746 COND_TOOLKIT_MSW_USE_GUI_1=""
40747 fi
40748
40749 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40750 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40751 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40752 fi
40753
40754 COND_TOOLKIT_PM="#"
40755 if test "x$TOOLKIT" = "xPM" ; then
40756 COND_TOOLKIT_PM=""
40757 fi
40758
40759 COND_TOOLKIT_PM_USE_GUI_1="#"
40760 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40761 COND_TOOLKIT_PM_USE_GUI_1=""
40762 fi
40763
40764 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40765 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40766 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40767 fi
40768
40769 COND_TOOLKIT_WINCE="#"
40770 if test "x$TOOLKIT" = "xWINCE" ; then
40771 COND_TOOLKIT_WINCE=""
40772 fi
40773
40774 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40775 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40776 COND_TOOLKIT_WINCE_USE_GUI_1=""
40777 fi
40778
40779 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40780 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40781 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40782 fi
40783
40784 COND_TOOLKIT_X11="#"
40785 if test "x$TOOLKIT" = "xX11" ; then
40786 COND_TOOLKIT_X11=""
40787 fi
40788
40789 COND_TOOLKIT_X11_USE_GUI_1="#"
40790 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40791 COND_TOOLKIT_X11_USE_GUI_1=""
40792 fi
40793
40794 COND_UNICODE_1="#"
40795 if test "x$UNICODE" = "x1" ; then
40796 COND_UNICODE_1=""
40797 fi
40798
40799 COND_USE_EXCEPTIONS_0="#"
40800 if test "x$USE_EXCEPTIONS" = "x0" ; then
40801 COND_USE_EXCEPTIONS_0=""
40802 fi
40803
40804 COND_USE_EXCEPTIONS_1="#"
40805 if test "x$USE_EXCEPTIONS" = "x1" ; then
40806 COND_USE_EXCEPTIONS_1=""
40807 fi
40808
40809 COND_USE_GUI_0="#"
40810 if test "x$USE_GUI" = "x0" ; then
40811 COND_USE_GUI_0=""
40812 fi
40813
40814 COND_USE_GUI_1="#"
40815 if test "x$USE_GUI" = "x1" ; then
40816 COND_USE_GUI_1=""
40817 fi
40818
40819 COND_USE_GUI_1_WXUNIV_0="#"
40820 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40821 COND_USE_GUI_1_WXUNIV_0=""
40822 fi
40823
40824 COND_USE_GUI_1_WXUNIV_1="#"
40825 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40826 COND_USE_GUI_1_WXUNIV_1=""
40827 fi
40828
40829 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40830 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40831 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40832 fi
40833
40834 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40835 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40836 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40837 fi
40838
40839 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40840 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40841 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40842 fi
40843
40844 COND_USE_ODBC_1="#"
40845 if test "x$USE_ODBC" = "x1" ; then
40846 COND_USE_ODBC_1=""
40847 fi
40848
40849 COND_USE_PLUGINS_0="#"
40850 if test "x$USE_PLUGINS" = "x0" ; then
40851 COND_USE_PLUGINS_0=""
40852 fi
40853
40854 COND_USE_SOSYMLINKS_1="#"
40855 if test "x$USE_SOSYMLINKS" = "x1" ; then
40856 COND_USE_SOSYMLINKS_1=""
40857 fi
40858
40859 COND_USE_SOVERLINUX_1="#"
40860 if test "x$USE_SOVERLINUX" = "x1" ; then
40861 COND_USE_SOVERLINUX_1=""
40862 fi
40863
40864 COND_USE_SOVERSION_0="#"
40865 if test "x$USE_SOVERSION" = "x0" ; then
40866 COND_USE_SOVERSION_0=""
40867 fi
40868
40869 COND_USE_SOVERSOLARIS_1="#"
40870 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40871 COND_USE_SOVERSOLARIS_1=""
40872 fi
40873
40874 COND_WITH_PLUGIN_SDL_1="#"
40875 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40876 COND_WITH_PLUGIN_SDL_1=""
40877 fi
40878
40879 COND_WXUNIV_1="#"
40880 if test "x$WXUNIV" = "x1" ; then
40881 COND_WXUNIV_1=""
40882 fi
40883
40884 COND_WXUSE_EXPAT_BUILTIN="#"
40885 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40886 COND_WXUSE_EXPAT_BUILTIN=""
40887 fi
40888
40889 COND_WXUSE_LIBJPEG_BUILTIN="#"
40890 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40891 COND_WXUSE_LIBJPEG_BUILTIN=""
40892 fi
40893
40894 COND_WXUSE_LIBPNG_BUILTIN="#"
40895 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40896 COND_WXUSE_LIBPNG_BUILTIN=""
40897 fi
40898
40899 COND_WXUSE_LIBTIFF_BUILTIN="#"
40900 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40901 COND_WXUSE_LIBTIFF_BUILTIN=""
40902 fi
40903
40904 COND_WXUSE_ODBC_BUILTIN="#"
40905 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40906 COND_WXUSE_ODBC_BUILTIN=""
40907 fi
40908
40909 COND_WXUSE_REGEX_BUILTIN="#"
40910 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40911 COND_WXUSE_REGEX_BUILTIN=""
40912 fi
40913
40914 COND_WXUSE_ZLIB_BUILTIN="#"
40915 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40916 COND_WXUSE_ZLIB_BUILTIN=""
40917 fi
40918
40919
40920
40921 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40922 { { 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
40923 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;}
40924 { (exit 1); exit 1; }; }
40925 fi
40926
40927
40928
40929 GCC_PRAGMA_FLAGS=""
40930 if test $GCC_PCH = 1 ; then
40931 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40932 else
40933 case "${host}" in
40934 powerpc-*-darwin* )
40935 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
40936 ;;
40937 *-*-mingw32* )
40938 if test "$wxUSE_STL" = "yes" -o \
40939 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40940 "$wxUSE_NO_RTTI" != "yes"; then
40941 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40942 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40943 cat >conftest.$ac_ext <<_ACEOF
40944 /* confdefs.h. */
40945 _ACEOF
40946 cat confdefs.h >>conftest.$ac_ext
40947 cat >>conftest.$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40949
40950 int
40951 main ()
40952 {
40953 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40954 #error "Not GCC 3.2 or greater"
40955 #endif
40956
40957 ;
40958 return 0;
40959 }
40960 _ACEOF
40961 rm -f conftest.$ac_objext
40962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40963 (eval $ac_compile) 2>conftest.er1
40964 ac_status=$?
40965 grep -v '^ *+' conftest.er1 >conftest.err
40966 rm -f conftest.er1
40967 cat conftest.err >&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } &&
40970 { ac_try='test -z "$ac_c_werror_flag"
40971 || test ! -s conftest.err'
40972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40973 (eval $ac_try) 2>&5
40974 ac_status=$?
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); }; } &&
40977 { ac_try='test -s conftest.$ac_objext'
40978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40979 (eval $ac_try) 2>&5
40980 ac_status=$?
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); }; }; then
40983 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
40984 echo "$as_me:$LINENO: result: yes" >&5
40985 echo "${ECHO_T}yes" >&6
40986 else
40987 echo "$as_me: failed program was:" >&5
40988 sed 's/^/| /' conftest.$ac_ext >&5
40989
40990 echo "$as_me:$LINENO: result: no" >&5
40991 echo "${ECHO_T}no" >&6
40992 fi
40993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40994 fi
40995 ;;
40996 esac
40997 fi
40998 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
40999
41000
41001 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41002
41003
41004
41005
41006
41007
41008
41009
41010
41011
41012
41013
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025
41026
41027
41028
41029
41030
41031
41032
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042
41043
41044
41045
41046
41047
41048
41049
41050
41051
41052
41053
41054
41055
41056
41057
41058
41059
41060
41061
41062
41063
41064
41065
41066
41067
41068
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41104 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41105 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41106 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41107 echo $ECHO_N "(cached) $ECHO_C" >&6
41108 else
41109 cat >conftest.make <<\_ACEOF
41110 all:
41111 @echo 'ac_maketemp="$(MAKE)"'
41112 _ACEOF
41113 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41114 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41115 if test -n "$ac_maketemp"; then
41116 eval ac_cv_prog_make_${ac_make}_set=yes
41117 else
41118 eval ac_cv_prog_make_${ac_make}_set=no
41119 fi
41120 rm -f conftest.make
41121 fi
41122 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41123 echo "$as_me:$LINENO: result: yes" >&5
41124 echo "${ECHO_T}yes" >&6
41125 SET_MAKE=
41126 else
41127 echo "$as_me:$LINENO: result: no" >&5
41128 echo "${ECHO_T}no" >&6
41129 SET_MAKE="MAKE=${MAKE-make}"
41130 fi
41131
41132
41133 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
41134 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
41135 fi
41136
41137 ac_config_headers="$ac_config_headers setup.h"
41138
41139
41140 ac_config_files="$ac_config_files wx-config wx-config-wrapper version-script Makefile"
41141
41142
41143 ac_config_commands="$ac_config_commands default"
41144
41145
41146
41147 if test "$wxUSE_GUI" = "yes"; then
41148 SUBDIRS="samples demos utils contrib"
41149 else SUBDIRS="samples utils"
41150 fi
41151
41152
41153
41154 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41155 if test "${with_cppunit_prefix+set}" = set; then
41156 withval="$with_cppunit_prefix"
41157 cppunit_config_prefix="$withval"
41158 else
41159 cppunit_config_prefix=""
41160 fi;
41161
41162 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41163 if test "${with_cppunit_exec_prefix+set}" = set; then
41164 withval="$with_cppunit_exec_prefix"
41165 cppunit_config_exec_prefix="$withval"
41166 else
41167 cppunit_config_exec_prefix=""
41168 fi;
41169
41170 if test x$cppunit_config_exec_prefix != x ; then
41171 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41172 if test x${CPPUNIT_CONFIG+set} != xset ; then
41173 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41174 fi
41175 fi
41176 if test x$cppunit_config_prefix != x ; then
41177 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41178 if test x${CPPUNIT_CONFIG+set} != xset ; then
41179 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41180 fi
41181 fi
41182
41183 # Extract the first word of "cppunit-config", so it can be a program name with args.
41184 set dummy cppunit-config; ac_word=$2
41185 echo "$as_me:$LINENO: checking for $ac_word" >&5
41186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41187 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41188 echo $ECHO_N "(cached) $ECHO_C" >&6
41189 else
41190 case $CPPUNIT_CONFIG in
41191 [\\/]* | ?:[\\/]*)
41192 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41193 ;;
41194 *)
41195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41196 for as_dir in $PATH
41197 do
41198 IFS=$as_save_IFS
41199 test -z "$as_dir" && as_dir=.
41200 for ac_exec_ext in '' $ac_executable_extensions; do
41201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41202 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41204 break 2
41205 fi
41206 done
41207 done
41208
41209 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41210 ;;
41211 esac
41212 fi
41213 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41214
41215 if test -n "$CPPUNIT_CONFIG"; then
41216 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41217 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41218 else
41219 echo "$as_me:$LINENO: result: no" >&5
41220 echo "${ECHO_T}no" >&6
41221 fi
41222
41223 cppunit_version_min=1.8.0
41224
41225 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41226 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41227 no_cppunit=""
41228 if test "$CPPUNIT_CONFIG" = "no" ; then
41229 no_cppunit=yes
41230 else
41231 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41232 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41233 cppunit_version=`$CPPUNIT_CONFIG --version`
41234
41235 cppunit_major_version=`echo $cppunit_version | \
41236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41237 cppunit_minor_version=`echo $cppunit_version | \
41238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41239 cppunit_micro_version=`echo $cppunit_version | \
41240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41241
41242 cppunit_major_min=`echo $cppunit_version_min | \
41243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41244 cppunit_minor_min=`echo $cppunit_version_min | \
41245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41246 cppunit_micro_min=`echo $cppunit_version_min | \
41247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41248
41249 cppunit_version_proper=`expr \
41250 $cppunit_major_version \> $cppunit_major_min \| \
41251 $cppunit_major_version \= $cppunit_major_min \& \
41252 $cppunit_minor_version \> $cppunit_minor_min \| \
41253 $cppunit_major_version \= $cppunit_major_min \& \
41254 $cppunit_minor_version \= $cppunit_minor_min \& \
41255 $cppunit_micro_version \>= $cppunit_micro_min `
41256
41257 if test "$cppunit_version_proper" = "1" ; then
41258 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41259 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41260 else
41261 echo "$as_me:$LINENO: result: no" >&5
41262 echo "${ECHO_T}no" >&6
41263 no_cppunit=yes
41264 fi
41265 fi
41266
41267 if test "x$no_cppunit" = x ; then
41268 SUBDIRS="$SUBDIRS tests"
41269 else
41270 CPPUNIT_CFLAGS=""
41271 CPPUNIT_LIBS=""
41272 :
41273 fi
41274
41275
41276
41277
41278
41279 for subdir in `echo $SUBDIRS`; do
41280 if test -d ${srcdir}/${subdir} ; then
41281 if test "$wxUSE_GUI" = "yes"; then
41282 if test ${subdir} = "samples"; then
41283 makefiles="samples/Makefile.in $makefiles"
41284 for sample in `echo $SAMPLES_SUBDIRS`; do
41285 if test -d $srcdir/samples/$sample; then
41286 makefiles="samples/$sample/Makefile.in $makefiles"
41287 fi
41288 done
41289 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41290 fi
41291 else if test ${subdir} = "samples"; then
41292 makefiles="samples/Makefile.in samples/console/Makefile.in"
41293 elif test ${subdir} = "utils"; then
41294 makefiles="utils/HelpGen/Makefile.in \
41295 utils/HelpGen/src/Makefile.in \
41296 utils/tex2rtf/Makefile.in \
41297 utils/tex2rtf/src/Makefile.in"
41298 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41299 fi
41300 fi
41301
41302 for mkin in $makefiles ; do
41303 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41304 ac_config_files="$ac_config_files $mk"
41305
41306 done
41307 fi
41308 done
41309
41310
41311 cat >confcache <<\_ACEOF
41312 # This file is a shell script that caches the results of configure
41313 # tests run on this system so they can be shared between configure
41314 # scripts and configure runs, see configure's option --config-cache.
41315 # It is not useful on other systems. If it contains results you don't
41316 # want to keep, you may remove or edit it.
41317 #
41318 # config.status only pays attention to the cache file if you give it
41319 # the --recheck option to rerun configure.
41320 #
41321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41323 # following values.
41324
41325 _ACEOF
41326
41327 # The following way of writing the cache mishandles newlines in values,
41328 # but we know of no workaround that is simple, portable, and efficient.
41329 # So, don't put newlines in cache variables' values.
41330 # Ultrix sh set writes to stderr and can't be redirected directly,
41331 # and sets the high bit in the cache file unless we assign to the vars.
41332 {
41333 (set) 2>&1 |
41334 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41335 *ac_space=\ *)
41336 # `set' does not quote correctly, so add quotes (double-quote
41337 # substitution turns \\\\ into \\, and sed turns \\ into \).
41338 sed -n \
41339 "s/'/'\\\\''/g;
41340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41341 ;;
41342 *)
41343 # `set' quotes correctly as required by POSIX, so do not add quotes.
41344 sed -n \
41345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41346 ;;
41347 esac;
41348 } |
41349 sed '
41350 t clear
41351 : clear
41352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41353 t end
41354 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41355 : end' >>confcache
41356 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41357 if test -w $cache_file; then
41358 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41359 cat confcache >$cache_file
41360 else
41361 echo "not updating unwritable cache $cache_file"
41362 fi
41363 fi
41364 rm -f confcache
41365
41366 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41367 # Let make expand exec_prefix.
41368 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41369
41370 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41371 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41372 # trailing colons and then remove the whole line if VPATH becomes empty
41373 # (actually we leave an empty line to preserve line numbers).
41374 if test "x$srcdir" = x.; then
41375 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41376 s/:*\$(srcdir):*/:/;
41377 s/:*\${srcdir}:*/:/;
41378 s/:*@srcdir@:*/:/;
41379 s/^\([^=]*=[ ]*\):*/\1/;
41380 s/:*$//;
41381 s/^[^=]*=[ ]*$//;
41382 }'
41383 fi
41384
41385 DEFS=-DHAVE_CONFIG_H
41386
41387 ac_libobjs=
41388 ac_ltlibobjs=
41389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41390 # 1. Remove the extension, and $U if already installed.
41391 ac_i=`echo "$ac_i" |
41392 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41393 # 2. Add them.
41394 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41395 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41396 done
41397 LIBOBJS=$ac_libobjs
41398
41399 LTLIBOBJS=$ac_ltlibobjs
41400
41401
41402
41403 : ${CONFIG_STATUS=./config.status}
41404 ac_clean_files_save=$ac_clean_files
41405 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41406 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41407 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41408 cat >$CONFIG_STATUS <<_ACEOF
41409 #! $SHELL
41410 # Generated by $as_me.
41411 # Run this file to recreate the current configuration.
41412 # Compiler output produced by configure, useful for debugging
41413 # configure, is in config.log if it exists.
41414
41415 debug=false
41416 ac_cs_recheck=false
41417 ac_cs_silent=false
41418 SHELL=\${CONFIG_SHELL-$SHELL}
41419 _ACEOF
41420
41421 cat >>$CONFIG_STATUS <<\_ACEOF
41422 ## --------------------- ##
41423 ## M4sh Initialization. ##
41424 ## --------------------- ##
41425
41426 # Be Bourne compatible
41427 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41428 emulate sh
41429 NULLCMD=:
41430 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41431 # is contrary to our usage. Disable this feature.
41432 alias -g '${1+"$@"}'='"$@"'
41433 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41434 set -o posix
41435 fi
41436 DUALCASE=1; export DUALCASE # for MKS sh
41437
41438 # Support unset when possible.
41439 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41440 as_unset=unset
41441 else
41442 as_unset=false
41443 fi
41444
41445
41446 # Work around bugs in pre-3.0 UWIN ksh.
41447 $as_unset ENV MAIL MAILPATH
41448 PS1='$ '
41449 PS2='> '
41450 PS4='+ '
41451
41452 # NLS nuisances.
41453 for as_var in \
41454 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41455 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41456 LC_TELEPHONE LC_TIME
41457 do
41458 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41459 eval $as_var=C; export $as_var
41460 else
41461 $as_unset $as_var
41462 fi
41463 done
41464
41465 # Required to use basename.
41466 if expr a : '\(a\)' >/dev/null 2>&1; then
41467 as_expr=expr
41468 else
41469 as_expr=false
41470 fi
41471
41472 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41473 as_basename=basename
41474 else
41475 as_basename=false
41476 fi
41477
41478
41479 # Name of the executable.
41480 as_me=`$as_basename "$0" ||
41481 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41482 X"$0" : 'X\(//\)$' \| \
41483 X"$0" : 'X\(/\)$' \| \
41484 . : '\(.\)' 2>/dev/null ||
41485 echo X/"$0" |
41486 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41487 /^X\/\(\/\/\)$/{ s//\1/; q; }
41488 /^X\/\(\/\).*/{ s//\1/; q; }
41489 s/.*/./; q'`
41490
41491
41492 # PATH needs CR, and LINENO needs CR and PATH.
41493 # Avoid depending upon Character Ranges.
41494 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41495 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41496 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41497 as_cr_digits='0123456789'
41498 as_cr_alnum=$as_cr_Letters$as_cr_digits
41499
41500 # The user is always right.
41501 if test "${PATH_SEPARATOR+set}" != set; then
41502 echo "#! /bin/sh" >conf$$.sh
41503 echo "exit 0" >>conf$$.sh
41504 chmod +x conf$$.sh
41505 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41506 PATH_SEPARATOR=';'
41507 else
41508 PATH_SEPARATOR=:
41509 fi
41510 rm -f conf$$.sh
41511 fi
41512
41513
41514 as_lineno_1=$LINENO
41515 as_lineno_2=$LINENO
41516 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41517 test "x$as_lineno_1" != "x$as_lineno_2" &&
41518 test "x$as_lineno_3" = "x$as_lineno_2" || {
41519 # Find who we are. Look in the path if we contain no path at all
41520 # relative or not.
41521 case $0 in
41522 *[\\/]* ) as_myself=$0 ;;
41523 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41524 for as_dir in $PATH
41525 do
41526 IFS=$as_save_IFS
41527 test -z "$as_dir" && as_dir=.
41528 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41529 done
41530
41531 ;;
41532 esac
41533 # We did not find ourselves, most probably we were run as `sh COMMAND'
41534 # in which case we are not to be found in the path.
41535 if test "x$as_myself" = x; then
41536 as_myself=$0
41537 fi
41538 if test ! -f "$as_myself"; then
41539 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41540 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41541 { (exit 1); exit 1; }; }
41542 fi
41543 case $CONFIG_SHELL in
41544 '')
41545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41546 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41547 do
41548 IFS=$as_save_IFS
41549 test -z "$as_dir" && as_dir=.
41550 for as_base in sh bash ksh sh5; do
41551 case $as_dir in
41552 /*)
41553 if ("$as_dir/$as_base" -c '
41554 as_lineno_1=$LINENO
41555 as_lineno_2=$LINENO
41556 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41557 test "x$as_lineno_1" != "x$as_lineno_2" &&
41558 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41559 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41560 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41561 CONFIG_SHELL=$as_dir/$as_base
41562 export CONFIG_SHELL
41563 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41564 fi;;
41565 esac
41566 done
41567 done
41568 ;;
41569 esac
41570
41571 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41572 # uniformly replaced by the line number. The first 'sed' inserts a
41573 # line-number line before each line; the second 'sed' does the real
41574 # work. The second script uses 'N' to pair each line-number line
41575 # with the numbered line, and appends trailing '-' during
41576 # substitution so that $LINENO is not a special case at line end.
41577 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41578 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41579 sed '=' <$as_myself |
41580 sed '
41581 N
41582 s,$,-,
41583 : loop
41584 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41585 t loop
41586 s,-$,,
41587 s,^['$as_cr_digits']*\n,,
41588 ' >$as_me.lineno &&
41589 chmod +x $as_me.lineno ||
41590 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41591 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41592 { (exit 1); exit 1; }; }
41593
41594 # Don't try to exec as it changes $[0], causing all sort of problems
41595 # (the dirname of $[0] is not the place where we might find the
41596 # original and so on. Autoconf is especially sensible to this).
41597 . ./$as_me.lineno
41598 # Exit status is that of the last command.
41599 exit
41600 }
41601
41602
41603 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41604 *c*,-n*) ECHO_N= ECHO_C='
41605 ' ECHO_T=' ' ;;
41606 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41607 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41608 esac
41609
41610 if expr a : '\(a\)' >/dev/null 2>&1; then
41611 as_expr=expr
41612 else
41613 as_expr=false
41614 fi
41615
41616 rm -f conf$$ conf$$.exe conf$$.file
41617 echo >conf$$.file
41618 if ln -s conf$$.file conf$$ 2>/dev/null; then
41619 # We could just check for DJGPP; but this test a) works b) is more generic
41620 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41621 if test -f conf$$.exe; then
41622 # Don't use ln at all; we don't have any links
41623 as_ln_s='cp -p'
41624 else
41625 as_ln_s='ln -s'
41626 fi
41627 elif ln conf$$.file conf$$ 2>/dev/null; then
41628 as_ln_s=ln
41629 else
41630 as_ln_s='cp -p'
41631 fi
41632 rm -f conf$$ conf$$.exe conf$$.file
41633
41634 if mkdir -p . 2>/dev/null; then
41635 as_mkdir_p=:
41636 else
41637 test -d ./-p && rmdir ./-p
41638 as_mkdir_p=false
41639 fi
41640
41641 as_executable_p="test -f"
41642
41643 # Sed expression to map a string onto a valid CPP name.
41644 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41645
41646 # Sed expression to map a string onto a valid variable name.
41647 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41648
41649
41650 # IFS
41651 # We need space, tab and new line, in precisely that order.
41652 as_nl='
41653 '
41654 IFS=" $as_nl"
41655
41656 # CDPATH.
41657 $as_unset CDPATH
41658
41659 exec 6>&1
41660
41661 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41662 # report actual input values of CONFIG_FILES etc. instead of their
41663 # values after options handling. Logging --version etc. is OK.
41664 exec 5>>config.log
41665 {
41666 echo
41667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41668 ## Running $as_me. ##
41669 _ASBOX
41670 } >&5
41671 cat >&5 <<_CSEOF
41672
41673 This file was extended by wxWidgets $as_me 2.5.2, which was
41674 generated by GNU Autoconf 2.59. Invocation command line was
41675
41676 CONFIG_FILES = $CONFIG_FILES
41677 CONFIG_HEADERS = $CONFIG_HEADERS
41678 CONFIG_LINKS = $CONFIG_LINKS
41679 CONFIG_COMMANDS = $CONFIG_COMMANDS
41680 $ $0 $@
41681
41682 _CSEOF
41683 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41684 echo >&5
41685 _ACEOF
41686
41687 # Files that config.status was made for.
41688 if test -n "$ac_config_files"; then
41689 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41690 fi
41691
41692 if test -n "$ac_config_headers"; then
41693 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41694 fi
41695
41696 if test -n "$ac_config_links"; then
41697 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41698 fi
41699
41700 if test -n "$ac_config_commands"; then
41701 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41702 fi
41703
41704 cat >>$CONFIG_STATUS <<\_ACEOF
41705
41706 ac_cs_usage="\
41707 \`$as_me' instantiates files from templates according to the
41708 current configuration.
41709
41710 Usage: $0 [OPTIONS] [FILE]...
41711
41712 -h, --help print this help, then exit
41713 -V, --version print version number, then exit
41714 -q, --quiet do not print progress messages
41715 -d, --debug don't remove temporary files
41716 --recheck update $as_me by reconfiguring in the same conditions
41717 --file=FILE[:TEMPLATE]
41718 instantiate the configuration file FILE
41719 --header=FILE[:TEMPLATE]
41720 instantiate the configuration header FILE
41721
41722 Configuration files:
41723 $config_files
41724
41725 Configuration headers:
41726 $config_headers
41727
41728 Configuration commands:
41729 $config_commands
41730
41731 Report bugs to <bug-autoconf@gnu.org>."
41732 _ACEOF
41733
41734 cat >>$CONFIG_STATUS <<_ACEOF
41735 ac_cs_version="\\
41736 wxWidgets config.status 2.5.2
41737 configured by $0, generated by GNU Autoconf 2.59,
41738 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41739
41740 Copyright (C) 2003 Free Software Foundation, Inc.
41741 This config.status script is free software; the Free Software Foundation
41742 gives unlimited permission to copy, distribute and modify it."
41743 srcdir=$srcdir
41744 INSTALL="$INSTALL"
41745 _ACEOF
41746
41747 cat >>$CONFIG_STATUS <<\_ACEOF
41748 # If no file are specified by the user, then we need to provide default
41749 # value. By we need to know if files were specified by the user.
41750 ac_need_defaults=:
41751 while test $# != 0
41752 do
41753 case $1 in
41754 --*=*)
41755 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41756 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41757 ac_shift=:
41758 ;;
41759 -*)
41760 ac_option=$1
41761 ac_optarg=$2
41762 ac_shift=shift
41763 ;;
41764 *) # This is not an option, so the user has probably given explicit
41765 # arguments.
41766 ac_option=$1
41767 ac_need_defaults=false;;
41768 esac
41769
41770 case $ac_option in
41771 # Handling of the options.
41772 _ACEOF
41773 cat >>$CONFIG_STATUS <<\_ACEOF
41774 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41775 ac_cs_recheck=: ;;
41776 --version | --vers* | -V )
41777 echo "$ac_cs_version"; exit 0 ;;
41778 --he | --h)
41779 # Conflict between --help and --header
41780 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41781 Try \`$0 --help' for more information." >&5
41782 echo "$as_me: error: ambiguous option: $1
41783 Try \`$0 --help' for more information." >&2;}
41784 { (exit 1); exit 1; }; };;
41785 --help | --hel | -h )
41786 echo "$ac_cs_usage"; exit 0 ;;
41787 --debug | --d* | -d )
41788 debug=: ;;
41789 --file | --fil | --fi | --f )
41790 $ac_shift
41791 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41792 ac_need_defaults=false;;
41793 --header | --heade | --head | --hea )
41794 $ac_shift
41795 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41796 ac_need_defaults=false;;
41797 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41798 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41799 ac_cs_silent=: ;;
41800
41801 # This is an error.
41802 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41803 Try \`$0 --help' for more information." >&5
41804 echo "$as_me: error: unrecognized option: $1
41805 Try \`$0 --help' for more information." >&2;}
41806 { (exit 1); exit 1; }; } ;;
41807
41808 *) ac_config_targets="$ac_config_targets $1" ;;
41809
41810 esac
41811 shift
41812 done
41813
41814 ac_configure_extra_args=
41815
41816 if $ac_cs_silent; then
41817 exec 6>/dev/null
41818 ac_configure_extra_args="$ac_configure_extra_args --silent"
41819 fi
41820
41821 _ACEOF
41822 cat >>$CONFIG_STATUS <<_ACEOF
41823 if \$ac_cs_recheck; then
41824 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41825 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41826 fi
41827
41828 _ACEOF
41829
41830 cat >>$CONFIG_STATUS <<_ACEOF
41831 #
41832 # INIT-COMMANDS section.
41833 #
41834
41835
41836 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41837 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
41838 LN_S="${LN_S}"
41839
41840
41841
41842 _ACEOF
41843
41844
41845
41846 cat >>$CONFIG_STATUS <<\_ACEOF
41847 for ac_config_target in $ac_config_targets
41848 do
41849 case "$ac_config_target" in
41850 # Handling of arguments.
41851 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
41852 "wx-config-wrapper" ) CONFIG_FILES="$CONFIG_FILES wx-config-wrapper" ;;
41853 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
41854 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41855 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
41856 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
41857 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
41858 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41859 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41860 { (exit 1); exit 1; }; };;
41861 esac
41862 done
41863
41864 # If the user did not use the arguments to specify the items to instantiate,
41865 # then the envvar interface is used. Set only those that are not.
41866 # We use the long form for the default assignment because of an extremely
41867 # bizarre bug on SunOS 4.1.3.
41868 if $ac_need_defaults; then
41869 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41870 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41871 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41872 fi
41873
41874 # Have a temporary directory for convenience. Make it in the build tree
41875 # simply because there is no reason to put it here, and in addition,
41876 # creating and moving files from /tmp can sometimes cause problems.
41877 # Create a temporary directory, and hook for its removal unless debugging.
41878 $debug ||
41879 {
41880 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41881 trap '{ (exit 1); exit 1; }' 1 2 13 15
41882 }
41883
41884 # Create a (secure) tmp directory for tmp files.
41885
41886 {
41887 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41888 test -n "$tmp" && test -d "$tmp"
41889 } ||
41890 {
41891 tmp=./confstat$$-$RANDOM
41892 (umask 077 && mkdir $tmp)
41893 } ||
41894 {
41895 echo "$me: cannot create a temporary directory in ." >&2
41896 { (exit 1); exit 1; }
41897 }
41898
41899 _ACEOF
41900
41901 cat >>$CONFIG_STATUS <<_ACEOF
41902
41903 #
41904 # CONFIG_FILES section.
41905 #
41906
41907 # No need to generate the scripts if there are no CONFIG_FILES.
41908 # This happens for instance when ./config.status config.h
41909 if test -n "\$CONFIG_FILES"; then
41910 # Protect against being on the right side of a sed subst in config.status.
41911 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41912 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41913 s,@SHELL@,$SHELL,;t t
41914 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41915 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41916 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41917 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41918 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41919 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41920 s,@exec_prefix@,$exec_prefix,;t t
41921 s,@prefix@,$prefix,;t t
41922 s,@program_transform_name@,$program_transform_name,;t t
41923 s,@bindir@,$bindir,;t t
41924 s,@sbindir@,$sbindir,;t t
41925 s,@libexecdir@,$libexecdir,;t t
41926 s,@datadir@,$datadir,;t t
41927 s,@sysconfdir@,$sysconfdir,;t t
41928 s,@sharedstatedir@,$sharedstatedir,;t t
41929 s,@localstatedir@,$localstatedir,;t t
41930 s,@libdir@,$libdir,;t t
41931 s,@includedir@,$includedir,;t t
41932 s,@oldincludedir@,$oldincludedir,;t t
41933 s,@infodir@,$infodir,;t t
41934 s,@mandir@,$mandir,;t t
41935 s,@build_alias@,$build_alias,;t t
41936 s,@host_alias@,$host_alias,;t t
41937 s,@target_alias@,$target_alias,;t t
41938 s,@DEFS@,$DEFS,;t t
41939 s,@ECHO_C@,$ECHO_C,;t t
41940 s,@ECHO_N@,$ECHO_N,;t t
41941 s,@ECHO_T@,$ECHO_T,;t t
41942 s,@LIBS@,$LIBS,;t t
41943 s,@build@,$build,;t t
41944 s,@build_cpu@,$build_cpu,;t t
41945 s,@build_vendor@,$build_vendor,;t t
41946 s,@build_os@,$build_os,;t t
41947 s,@host@,$host,;t t
41948 s,@host_cpu@,$host_cpu,;t t
41949 s,@host_vendor@,$host_vendor,;t t
41950 s,@host_os@,$host_os,;t t
41951 s,@target@,$target,;t t
41952 s,@target_cpu@,$target_cpu,;t t
41953 s,@target_vendor@,$target_vendor,;t t
41954 s,@target_os@,$target_os,;t t
41955 s,@CC@,$CC,;t t
41956 s,@CFLAGS@,$CFLAGS,;t t
41957 s,@LDFLAGS@,$LDFLAGS,;t t
41958 s,@CPPFLAGS@,$CPPFLAGS,;t t
41959 s,@ac_ct_CC@,$ac_ct_CC,;t t
41960 s,@EXEEXT@,$EXEEXT,;t t
41961 s,@OBJEXT@,$OBJEXT,;t t
41962 s,@CPP@,$CPP,;t t
41963 s,@EGREP@,$EGREP,;t t
41964 s,@CXX@,$CXX,;t t
41965 s,@CXXFLAGS@,$CXXFLAGS,;t t
41966 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41967 s,@RANLIB@,$RANLIB,;t t
41968 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41969 s,@AR@,$AR,;t t
41970 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41971 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41972 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41973 s,@STRIP@,$STRIP,;t t
41974 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41975 s,@LN_S@,$LN_S,;t t
41976 s,@CXXCPP@,$CXXCPP,;t t
41977 s,@subdirs@,$subdirs,;t t
41978 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41979 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41980 s,@GTK_LIBS@,$GTK_LIBS,;t t
41981 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41982 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41983 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41984 s,@X_CFLAGS@,$X_CFLAGS,;t t
41985 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41986 s,@X_LIBS@,$X_LIBS,;t t
41987 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41988 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41989 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41990 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41991 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41992 s,@RESCOMP@,$RESCOMP,;t t
41993 s,@DEREZ@,$DEREZ,;t t
41994 s,@SETFILE@,$SETFILE,;t t
41995 s,@LIBICONV@,$LIBICONV,;t t
41996 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41997 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41998 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41999 s,@SDL_LIBS@,$SDL_LIBS,;t t
42000 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42001 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42002 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42003 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42004 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42005 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42006 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42007 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42008 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42009 s,@VENDOR@,$VENDOR,;t t
42010 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42011 s,@WXUNIV@,$WXUNIV,;t t
42012 s,@MONOLITHIC@,$MONOLITHIC,;t t
42013 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42014 s,@EXTRALIBS@,$EXTRALIBS,;t t
42015 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42016 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42017 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42018 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42019 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42020 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42021 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42022 s,@UNICODE@,$UNICODE,;t t
42023 s,@BUILD@,$BUILD,;t t
42024 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42025 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42026 s,@SHARED@,$SHARED,;t t
42027 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42028 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42029 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42030 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42031 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42032 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42033 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42034 s,@SET_MAKE@,$SET_MAKE,;t t
42035 s,@MAKE_SET@,$MAKE_SET,;t t
42036 s,@ac_ct_AR@,$ac_ct_AR,;t t
42037 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42038 s,@NM@,$NM,;t t
42039 s,@ac_ct_NM@,$ac_ct_NM,;t t
42040 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42041 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42042 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42043 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42044 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42045 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42046 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42047 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42048 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42049 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42050 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42051 s,@LIBPREFIX@,$LIBPREFIX,;t t
42052 s,@LIBEXT@,$LIBEXT,;t t
42053 s,@DLLPREFIX@,$DLLPREFIX,;t t
42054 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42055 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42056 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42057 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42058 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42059 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42060 s,@PIC_FLAG@,$PIC_FLAG,;t t
42061 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42062 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42063 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42064 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42065 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42066 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42067 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42068 s,@GCC_PCH@,$GCC_PCH,;t t
42069 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42070 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42071 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42072 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42073 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42074 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42075 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42076 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42077 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42078 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42079 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42080 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42081 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42082 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42083 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42084 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42085 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42086 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42087 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
42088 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42089 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42090 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42091 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42092 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
42093 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42094 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42095 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42096 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42097 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42098 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42099 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42100 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42101 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42102 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42103 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42104 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42105 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42106 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42107 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42108 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42109 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42110 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42111 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42112 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42113 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42114 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42115 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42116 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42117 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42118 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42119 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42120 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42121 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42122 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42123 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42124 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42125 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42126 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42127 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42128 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42129 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42130 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42131 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42132 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42133 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42134 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42135 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42136 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42137 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42138 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42139 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42140 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42141 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42142 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42143 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42144 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42145 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42146 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42147 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42148 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42149 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42150 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42151 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42152 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42153 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42154 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42155 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42156 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42157 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42158 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42159 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42160 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42161 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42162 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42163 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42164 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42165 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42166 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42167 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42168 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42169 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42170 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42171 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
42172 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42173 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42174 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42175 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42176 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42177 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42178 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42179 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42180 s,@PATH_IFS@,$PATH_IFS,;t t
42181 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
42182 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
42183 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
42184 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
42185 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
42186 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42187 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42188 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
42189 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
42190 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
42191 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
42192 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
42193 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
42194 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
42195 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
42196 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
42197 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
42198 s,@WX_ALL@,$WX_ALL,;t t
42199 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
42200 s,@SHARED_LD@,$SHARED_LD,;t t
42201 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
42202 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
42203 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42204 s,@USE_GUI@,$USE_GUI,;t t
42205 s,@AFMINSTALL@,$AFMINSTALL,;t t
42206 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42207 s,@TOOLKIT@,$TOOLKIT,;t t
42208 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42209 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
42210 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42211 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42212 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42213 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
42214 s,@cross_compiling@,$cross_compiling,;t t
42215 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42216 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
42217 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
42218 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
42219 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
42220 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42221 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42222 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42223 s,@WXCONFIG_DATA_FILE@,$WXCONFIG_DATA_FILE,;t t
42224 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42225 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42226 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42227 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42228 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
42229 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
42230 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
42231 s,@GUIDIST@,$GUIDIST,;t t
42232 s,@PORT_FILES@,$PORT_FILES,;t t
42233 s,@DISTDIR@,$DISTDIR,;t t
42234 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42235 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42236 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
42237 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
42238 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42239 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42240 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42241 s,@RESFLAGS@,$RESFLAGS,;t t
42242 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42243 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42244 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42245 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42246 s,@MACRESCOMP@,$MACRESCOMP,;t t
42247 s,@MACSETFILE@,$MACSETFILE,;t t
42248 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42249 s,@GCC@,$GCC,;t t
42250 s,@DLLTOOL@,$DLLTOOL,;t t
42251 s,@AS@,$AS,;t t
42252 s,@LD@,$LD,;t t
42253 s,@MAKEINFO@,$MAKEINFO,;t t
42254 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
42255 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42256 s,@LIBOBJS@,$LIBOBJS,;t t
42257 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42258 CEOF
42259
42260 _ACEOF
42261
42262 cat >>$CONFIG_STATUS <<\_ACEOF
42263 # Split the substitutions into bite-sized pieces for seds with
42264 # small command number limits, like on Digital OSF/1 and HP-UX.
42265 ac_max_sed_lines=48
42266 ac_sed_frag=1 # Number of current file.
42267 ac_beg=1 # First line for current file.
42268 ac_end=$ac_max_sed_lines # Line after last line for current file.
42269 ac_more_lines=:
42270 ac_sed_cmds=
42271 while $ac_more_lines; do
42272 if test $ac_beg -gt 1; then
42273 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42274 else
42275 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42276 fi
42277 if test ! -s $tmp/subs.frag; then
42278 ac_more_lines=false
42279 else
42280 # The purpose of the label and of the branching condition is to
42281 # speed up the sed processing (if there are no `@' at all, there
42282 # is no need to browse any of the substitutions).
42283 # These are the two extra sed commands mentioned above.
42284 (echo ':t
42285 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42286 if test -z "$ac_sed_cmds"; then
42287 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42288 else
42289 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42290 fi
42291 ac_sed_frag=`expr $ac_sed_frag + 1`
42292 ac_beg=$ac_end
42293 ac_end=`expr $ac_end + $ac_max_sed_lines`
42294 fi
42295 done
42296 if test -z "$ac_sed_cmds"; then
42297 ac_sed_cmds=cat
42298 fi
42299 fi # test -n "$CONFIG_FILES"
42300
42301 _ACEOF
42302 cat >>$CONFIG_STATUS <<\_ACEOF
42303 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42304 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42305 case $ac_file in
42306 - | *:- | *:-:* ) # input from stdin
42307 cat >$tmp/stdin
42308 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42309 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42310 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42311 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42312 * ) ac_file_in=$ac_file.in ;;
42313 esac
42314
42315 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42316 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42317 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42318 X"$ac_file" : 'X\(//\)[^/]' \| \
42319 X"$ac_file" : 'X\(//\)$' \| \
42320 X"$ac_file" : 'X\(/\)' \| \
42321 . : '\(.\)' 2>/dev/null ||
42322 echo X"$ac_file" |
42323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42325 /^X\(\/\/\)$/{ s//\1/; q; }
42326 /^X\(\/\).*/{ s//\1/; q; }
42327 s/.*/./; q'`
42328 { if $as_mkdir_p; then
42329 mkdir -p "$ac_dir"
42330 else
42331 as_dir="$ac_dir"
42332 as_dirs=
42333 while test ! -d "$as_dir"; do
42334 as_dirs="$as_dir $as_dirs"
42335 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42337 X"$as_dir" : 'X\(//\)[^/]' \| \
42338 X"$as_dir" : 'X\(//\)$' \| \
42339 X"$as_dir" : 'X\(/\)' \| \
42340 . : '\(.\)' 2>/dev/null ||
42341 echo X"$as_dir" |
42342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42343 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42344 /^X\(\/\/\)$/{ s//\1/; q; }
42345 /^X\(\/\).*/{ s//\1/; q; }
42346 s/.*/./; q'`
42347 done
42348 test ! -n "$as_dirs" || mkdir $as_dirs
42349 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42350 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42351 { (exit 1); exit 1; }; }; }
42352
42353 ac_builddir=.
42354
42355 if test "$ac_dir" != .; then
42356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42357 # A "../" for each directory in $ac_dir_suffix.
42358 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42359 else
42360 ac_dir_suffix= ac_top_builddir=
42361 fi
42362
42363 case $srcdir in
42364 .) # No --srcdir option. We are building in place.
42365 ac_srcdir=.
42366 if test -z "$ac_top_builddir"; then
42367 ac_top_srcdir=.
42368 else
42369 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42370 fi ;;
42371 [\\/]* | ?:[\\/]* ) # Absolute path.
42372 ac_srcdir=$srcdir$ac_dir_suffix;
42373 ac_top_srcdir=$srcdir ;;
42374 *) # Relative path.
42375 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42376 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42377 esac
42378
42379 # Do not use `cd foo && pwd` to compute absolute paths, because
42380 # the directories may not exist.
42381 case `pwd` in
42382 .) ac_abs_builddir="$ac_dir";;
42383 *)
42384 case "$ac_dir" in
42385 .) ac_abs_builddir=`pwd`;;
42386 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42387 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42388 esac;;
42389 esac
42390 case $ac_abs_builddir in
42391 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42392 *)
42393 case ${ac_top_builddir}. in
42394 .) ac_abs_top_builddir=$ac_abs_builddir;;
42395 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42396 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42397 esac;;
42398 esac
42399 case $ac_abs_builddir in
42400 .) ac_abs_srcdir=$ac_srcdir;;
42401 *)
42402 case $ac_srcdir in
42403 .) ac_abs_srcdir=$ac_abs_builddir;;
42404 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42405 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42406 esac;;
42407 esac
42408 case $ac_abs_builddir in
42409 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42410 *)
42411 case $ac_top_srcdir in
42412 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42413 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42414 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42415 esac;;
42416 esac
42417
42418
42419 case $INSTALL in
42420 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42421 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42422 esac
42423
42424 if test x"$ac_file" != x-; then
42425 { echo "$as_me:$LINENO: creating $ac_file" >&5
42426 echo "$as_me: creating $ac_file" >&6;}
42427 rm -f "$ac_file"
42428 fi
42429 # Let's still pretend it is `configure' which instantiates (i.e., don't
42430 # use $as_me), people would be surprised to read:
42431 # /* config.h. Generated by config.status. */
42432 if test x"$ac_file" = x-; then
42433 configure_input=
42434 else
42435 configure_input="$ac_file. "
42436 fi
42437 configure_input=$configure_input"Generated from `echo $ac_file_in |
42438 sed 's,.*/,,'` by configure."
42439
42440 # First look for the input files in the build tree, otherwise in the
42441 # src tree.
42442 ac_file_inputs=`IFS=:
42443 for f in $ac_file_in; do
42444 case $f in
42445 -) echo $tmp/stdin ;;
42446 [\\/$]*)
42447 # Absolute (can't be DOS-style, as IFS=:)
42448 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42449 echo "$as_me: error: cannot find input file: $f" >&2;}
42450 { (exit 1); exit 1; }; }
42451 echo "$f";;
42452 *) # Relative
42453 if test -f "$f"; then
42454 # Build tree
42455 echo "$f"
42456 elif test -f "$srcdir/$f"; then
42457 # Source tree
42458 echo "$srcdir/$f"
42459 else
42460 # /dev/null tree
42461 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42462 echo "$as_me: error: cannot find input file: $f" >&2;}
42463 { (exit 1); exit 1; }; }
42464 fi;;
42465 esac
42466 done` || { (exit 1); exit 1; }
42467 _ACEOF
42468 cat >>$CONFIG_STATUS <<_ACEOF
42469 sed "$ac_vpsub
42470 $extrasub
42471 _ACEOF
42472 cat >>$CONFIG_STATUS <<\_ACEOF
42473 :t
42474 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42475 s,@configure_input@,$configure_input,;t t
42476 s,@srcdir@,$ac_srcdir,;t t
42477 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42478 s,@top_srcdir@,$ac_top_srcdir,;t t
42479 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42480 s,@builddir@,$ac_builddir,;t t
42481 s,@abs_builddir@,$ac_abs_builddir,;t t
42482 s,@top_builddir@,$ac_top_builddir,;t t
42483 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42484 s,@INSTALL@,$ac_INSTALL,;t t
42485 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42486 rm -f $tmp/stdin
42487 if test x"$ac_file" != x-; then
42488 mv $tmp/out $ac_file
42489 else
42490 cat $tmp/out
42491 rm -f $tmp/out
42492 fi
42493
42494 done
42495 _ACEOF
42496 cat >>$CONFIG_STATUS <<\_ACEOF
42497
42498 #
42499 # CONFIG_HEADER section.
42500 #
42501
42502 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42503 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42504 #
42505 # ac_d sets the value in "#define NAME VALUE" lines.
42506 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42507 ac_dB='[ ].*$,\1#\2'
42508 ac_dC=' '
42509 ac_dD=',;t'
42510 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42511 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42512 ac_uB='$,\1#\2define\3'
42513 ac_uC=' '
42514 ac_uD=',;t'
42515
42516 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42517 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42518 case $ac_file in
42519 - | *:- | *:-:* ) # input from stdin
42520 cat >$tmp/stdin
42521 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42522 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42523 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42524 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42525 * ) ac_file_in=$ac_file.in ;;
42526 esac
42527
42528 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42529 echo "$as_me: creating $ac_file" >&6;}
42530
42531 # First look for the input files in the build tree, otherwise in the
42532 # src tree.
42533 ac_file_inputs=`IFS=:
42534 for f in $ac_file_in; do
42535 case $f in
42536 -) echo $tmp/stdin ;;
42537 [\\/$]*)
42538 # Absolute (can't be DOS-style, as IFS=:)
42539 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42540 echo "$as_me: error: cannot find input file: $f" >&2;}
42541 { (exit 1); exit 1; }; }
42542 # Do quote $f, to prevent DOS paths from being IFS'd.
42543 echo "$f";;
42544 *) # Relative
42545 if test -f "$f"; then
42546 # Build tree
42547 echo "$f"
42548 elif test -f "$srcdir/$f"; then
42549 # Source tree
42550 echo "$srcdir/$f"
42551 else
42552 # /dev/null tree
42553 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42554 echo "$as_me: error: cannot find input file: $f" >&2;}
42555 { (exit 1); exit 1; }; }
42556 fi;;
42557 esac
42558 done` || { (exit 1); exit 1; }
42559 # Remove the trailing spaces.
42560 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42561
42562 _ACEOF
42563
42564 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42565 # `conftest.undefs', that substitutes the proper values into
42566 # config.h.in to produce config.h. The first handles `#define'
42567 # templates, and the second `#undef' templates.
42568 # And first: Protect against being on the right side of a sed subst in
42569 # config.status. Protect against being in an unquoted here document
42570 # in config.status.
42571 rm -f conftest.defines conftest.undefs
42572 # Using a here document instead of a string reduces the quoting nightmare.
42573 # Putting comments in sed scripts is not portable.
42574 #
42575 # `end' is used to avoid that the second main sed command (meant for
42576 # 0-ary CPP macros) applies to n-ary macro definitions.
42577 # See the Autoconf documentation for `clear'.
42578 cat >confdef2sed.sed <<\_ACEOF
42579 s/[\\&,]/\\&/g
42580 s,[\\$`],\\&,g
42581 t clear
42582 : clear
42583 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42584 t end
42585 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42586 : end
42587 _ACEOF
42588 # If some macros were called several times there might be several times
42589 # the same #defines, which is useless. Nevertheless, we may not want to
42590 # sort them, since we want the *last* AC-DEFINE to be honored.
42591 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42592 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42593 rm -f confdef2sed.sed
42594
42595 # This sed command replaces #undef with comments. This is necessary, for
42596 # example, in the case of _POSIX_SOURCE, which is predefined and required
42597 # on some systems where configure will not decide to define it.
42598 cat >>conftest.undefs <<\_ACEOF
42599 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42600 _ACEOF
42601
42602 # Break up conftest.defines because some shells have a limit on the size
42603 # of here documents, and old seds have small limits too (100 cmds).
42604 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42605 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42606 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42607 echo ' :' >>$CONFIG_STATUS
42608 rm -f conftest.tail
42609 while grep . conftest.defines >/dev/null
42610 do
42611 # Write a limited-size here document to $tmp/defines.sed.
42612 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42613 # Speed up: don't consider the non `#define' lines.
42614 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42615 # Work around the forget-to-reset-the-flag bug.
42616 echo 't clr' >>$CONFIG_STATUS
42617 echo ': clr' >>$CONFIG_STATUS
42618 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42619 echo 'CEOF
42620 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42621 rm -f $tmp/in
42622 mv $tmp/out $tmp/in
42623 ' >>$CONFIG_STATUS
42624 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42625 rm -f conftest.defines
42626 mv conftest.tail conftest.defines
42627 done
42628 rm -f conftest.defines
42629 echo ' fi # grep' >>$CONFIG_STATUS
42630 echo >>$CONFIG_STATUS
42631
42632 # Break up conftest.undefs because some shells have a limit on the size
42633 # of here documents, and old seds have small limits too (100 cmds).
42634 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42635 rm -f conftest.tail
42636 while grep . conftest.undefs >/dev/null
42637 do
42638 # Write a limited-size here document to $tmp/undefs.sed.
42639 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42640 # Speed up: don't consider the non `#undef'
42641 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42642 # Work around the forget-to-reset-the-flag bug.
42643 echo 't clr' >>$CONFIG_STATUS
42644 echo ': clr' >>$CONFIG_STATUS
42645 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42646 echo 'CEOF
42647 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42648 rm -f $tmp/in
42649 mv $tmp/out $tmp/in
42650 ' >>$CONFIG_STATUS
42651 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42652 rm -f conftest.undefs
42653 mv conftest.tail conftest.undefs
42654 done
42655 rm -f conftest.undefs
42656
42657 cat >>$CONFIG_STATUS <<\_ACEOF
42658 # Let's still pretend it is `configure' which instantiates (i.e., don't
42659 # use $as_me), people would be surprised to read:
42660 # /* config.h. Generated by config.status. */
42661 if test x"$ac_file" = x-; then
42662 echo "/* Generated by configure. */" >$tmp/config.h
42663 else
42664 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42665 fi
42666 cat $tmp/in >>$tmp/config.h
42667 rm -f $tmp/in
42668 if test x"$ac_file" != x-; then
42669 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42670 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42671 echo "$as_me: $ac_file is unchanged" >&6;}
42672 else
42673 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42675 X"$ac_file" : 'X\(//\)[^/]' \| \
42676 X"$ac_file" : 'X\(//\)$' \| \
42677 X"$ac_file" : 'X\(/\)' \| \
42678 . : '\(.\)' 2>/dev/null ||
42679 echo X"$ac_file" |
42680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42682 /^X\(\/\/\)$/{ s//\1/; q; }
42683 /^X\(\/\).*/{ s//\1/; q; }
42684 s/.*/./; q'`
42685 { if $as_mkdir_p; then
42686 mkdir -p "$ac_dir"
42687 else
42688 as_dir="$ac_dir"
42689 as_dirs=
42690 while test ! -d "$as_dir"; do
42691 as_dirs="$as_dir $as_dirs"
42692 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42694 X"$as_dir" : 'X\(//\)[^/]' \| \
42695 X"$as_dir" : 'X\(//\)$' \| \
42696 X"$as_dir" : 'X\(/\)' \| \
42697 . : '\(.\)' 2>/dev/null ||
42698 echo X"$as_dir" |
42699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42701 /^X\(\/\/\)$/{ s//\1/; q; }
42702 /^X\(\/\).*/{ s//\1/; q; }
42703 s/.*/./; q'`
42704 done
42705 test ! -n "$as_dirs" || mkdir $as_dirs
42706 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42707 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42708 { (exit 1); exit 1; }; }; }
42709
42710 rm -f $ac_file
42711 mv $tmp/config.h $ac_file
42712 fi
42713 else
42714 cat $tmp/config.h
42715 rm -f $tmp/config.h
42716 fi
42717 done
42718 _ACEOF
42719 cat >>$CONFIG_STATUS <<\_ACEOF
42720
42721 #
42722 # CONFIG_COMMANDS section.
42723 #
42724 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42725 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42726 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42727 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42728 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42729 X"$ac_dest" : 'X\(//\)[^/]' \| \
42730 X"$ac_dest" : 'X\(//\)$' \| \
42731 X"$ac_dest" : 'X\(/\)' \| \
42732 . : '\(.\)' 2>/dev/null ||
42733 echo X"$ac_dest" |
42734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42736 /^X\(\/\/\)$/{ s//\1/; q; }
42737 /^X\(\/\).*/{ s//\1/; q; }
42738 s/.*/./; q'`
42739 { if $as_mkdir_p; then
42740 mkdir -p "$ac_dir"
42741 else
42742 as_dir="$ac_dir"
42743 as_dirs=
42744 while test ! -d "$as_dir"; do
42745 as_dirs="$as_dir $as_dirs"
42746 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42748 X"$as_dir" : 'X\(//\)[^/]' \| \
42749 X"$as_dir" : 'X\(//\)$' \| \
42750 X"$as_dir" : 'X\(/\)' \| \
42751 . : '\(.\)' 2>/dev/null ||
42752 echo X"$as_dir" |
42753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42754 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42755 /^X\(\/\/\)$/{ s//\1/; q; }
42756 /^X\(\/\).*/{ s//\1/; q; }
42757 s/.*/./; q'`
42758 done
42759 test ! -n "$as_dirs" || mkdir $as_dirs
42760 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42761 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42762 { (exit 1); exit 1; }; }; }
42763
42764 ac_builddir=.
42765
42766 if test "$ac_dir" != .; then
42767 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42768 # A "../" for each directory in $ac_dir_suffix.
42769 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42770 else
42771 ac_dir_suffix= ac_top_builddir=
42772 fi
42773
42774 case $srcdir in
42775 .) # No --srcdir option. We are building in place.
42776 ac_srcdir=.
42777 if test -z "$ac_top_builddir"; then
42778 ac_top_srcdir=.
42779 else
42780 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42781 fi ;;
42782 [\\/]* | ?:[\\/]* ) # Absolute path.
42783 ac_srcdir=$srcdir$ac_dir_suffix;
42784 ac_top_srcdir=$srcdir ;;
42785 *) # Relative path.
42786 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42787 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42788 esac
42789
42790 # Do not use `cd foo && pwd` to compute absolute paths, because
42791 # the directories may not exist.
42792 case `pwd` in
42793 .) ac_abs_builddir="$ac_dir";;
42794 *)
42795 case "$ac_dir" in
42796 .) ac_abs_builddir=`pwd`;;
42797 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42798 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42799 esac;;
42800 esac
42801 case $ac_abs_builddir in
42802 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42803 *)
42804 case ${ac_top_builddir}. in
42805 .) ac_abs_top_builddir=$ac_abs_builddir;;
42806 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42807 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42808 esac;;
42809 esac
42810 case $ac_abs_builddir in
42811 .) ac_abs_srcdir=$ac_srcdir;;
42812 *)
42813 case $ac_srcdir in
42814 .) ac_abs_srcdir=$ac_abs_builddir;;
42815 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42816 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42817 esac;;
42818 esac
42819 case $ac_abs_builddir in
42820 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42821 *)
42822 case $ac_top_srcdir in
42823 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42824 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42825 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42826 esac;;
42827 esac
42828
42829
42830 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42831 echo "$as_me: executing $ac_dest commands" >&6;}
42832 case $ac_dest in
42833 default )
42834 if test ! -d lib; then
42835 mkdir lib
42836 fi
42837 if test ! -d lib/wx; then
42838 mkdir lib/wx
42839 fi
42840 if test ! -d lib/wx/config; then
42841 mkdir lib/wx/config
42842 fi
42843 if test ! -d lib/wx/include; then
42844 mkdir lib/wx/include
42845 fi
42846 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
42847 mkdir lib/wx/include/${TOOLCHAIN_NAME}
42848 fi
42849 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
42850 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
42851 fi
42852 if test -f setup.h; then
42853 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
42854 fi
42855
42856 if test -f wx-config; then
42857 chmod +x wx-config
42858 mv -f wx-config lib/wx/config/${WXCONFIG_DATA_FILE}
42859 ( cd lib/wx/config ;
42860 rm -f ${TOOLCHAIN_NAME}
42861 ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
42862 fi
42863 if test -f wx-config-wrapper; then
42864 chmod +x wx-config-wrapper
42865 mv -f wx-config-wrapper wx-config
42866 rm -f wx${TOOLCHAIN_NAME}-config
42867 ${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
42868 fi
42869 ;;
42870 esac
42871 done
42872 _ACEOF
42873
42874 cat >>$CONFIG_STATUS <<\_ACEOF
42875
42876 { (exit 0); exit 0; }
42877 _ACEOF
42878 chmod +x $CONFIG_STATUS
42879 ac_clean_files=$ac_clean_files_save
42880
42881
42882 # configure is writing to config.log, and then calls config.status.
42883 # config.status does its own redirection, appending to config.log.
42884 # Unfortunately, on DOS this fails, as config.log is still kept open
42885 # by configure, so config.status won't be able to write to it; its
42886 # output is simply discarded. So we exec the FD to /dev/null,
42887 # effectively closing config.log, so it can be properly (re)opened and
42888 # appended to by config.status. When coming back to configure, we
42889 # need to make the FD available again.
42890 if test "$no_create" != yes; then
42891 ac_cs_success=:
42892 ac_config_status_args=
42893 test "$silent" = yes &&
42894 ac_config_status_args="$ac_config_status_args --quiet"
42895 exec 5>/dev/null
42896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42897 exec 5>>config.log
42898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42899 # would make configure fail if this is the last instruction.
42900 $ac_cs_success || { (exit 1); exit 1; }
42901 fi
42902
42903 #
42904 # CONFIG_SUBDIRS section.
42905 #
42906 if test "$no_recursion" != yes; then
42907
42908 # Remove --cache-file and --srcdir arguments so they do not pile up.
42909 ac_sub_configure_args=
42910 ac_prev=
42911 for ac_arg in $ac_configure_args; do
42912 if test -n "$ac_prev"; then
42913 ac_prev=
42914 continue
42915 fi
42916 case $ac_arg in
42917 -cache-file | --cache-file | --cache-fil | --cache-fi \
42918 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42919 ac_prev=cache_file ;;
42920 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42921 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42922 | --c=*)
42923 ;;
42924 --config-cache | -C)
42925 ;;
42926 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42927 ac_prev=srcdir ;;
42928 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42929 ;;
42930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42931 ac_prev=prefix ;;
42932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42933 ;;
42934 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
42935 esac
42936 done
42937
42938 # Always prepend --prefix to ensure using the same prefix
42939 # in subdir configurations.
42940 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
42941
42942 ac_popdir=`pwd`
42943 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42944
42945 # Do not complain, so a configure script can configure whichever
42946 # parts of a large source tree are present.
42947 test -d $srcdir/$ac_dir || continue
42948
42949 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42950 echo "$as_me: configuring in $ac_dir" >&6;}
42951 { if $as_mkdir_p; then
42952 mkdir -p "$ac_dir"
42953 else
42954 as_dir="$ac_dir"
42955 as_dirs=
42956 while test ! -d "$as_dir"; do
42957 as_dirs="$as_dir $as_dirs"
42958 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42960 X"$as_dir" : 'X\(//\)[^/]' \| \
42961 X"$as_dir" : 'X\(//\)$' \| \
42962 X"$as_dir" : 'X\(/\)' \| \
42963 . : '\(.\)' 2>/dev/null ||
42964 echo X"$as_dir" |
42965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42967 /^X\(\/\/\)$/{ s//\1/; q; }
42968 /^X\(\/\).*/{ s//\1/; q; }
42969 s/.*/./; q'`
42970 done
42971 test ! -n "$as_dirs" || mkdir $as_dirs
42972 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42973 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42974 { (exit 1); exit 1; }; }; }
42975
42976 ac_builddir=.
42977
42978 if test "$ac_dir" != .; then
42979 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42980 # A "../" for each directory in $ac_dir_suffix.
42981 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42982 else
42983 ac_dir_suffix= ac_top_builddir=
42984 fi
42985
42986 case $srcdir in
42987 .) # No --srcdir option. We are building in place.
42988 ac_srcdir=.
42989 if test -z "$ac_top_builddir"; then
42990 ac_top_srcdir=.
42991 else
42992 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42993 fi ;;
42994 [\\/]* | ?:[\\/]* ) # Absolute path.
42995 ac_srcdir=$srcdir$ac_dir_suffix;
42996 ac_top_srcdir=$srcdir ;;
42997 *) # Relative path.
42998 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42999 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43000 esac
43001
43002 # Do not use `cd foo && pwd` to compute absolute paths, because
43003 # the directories may not exist.
43004 case `pwd` in
43005 .) ac_abs_builddir="$ac_dir";;
43006 *)
43007 case "$ac_dir" in
43008 .) ac_abs_builddir=`pwd`;;
43009 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43010 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43011 esac;;
43012 esac
43013 case $ac_abs_builddir in
43014 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43015 *)
43016 case ${ac_top_builddir}. in
43017 .) ac_abs_top_builddir=$ac_abs_builddir;;
43018 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43019 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43020 esac;;
43021 esac
43022 case $ac_abs_builddir in
43023 .) ac_abs_srcdir=$ac_srcdir;;
43024 *)
43025 case $ac_srcdir in
43026 .) ac_abs_srcdir=$ac_abs_builddir;;
43027 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43028 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43029 esac;;
43030 esac
43031 case $ac_abs_builddir in
43032 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43033 *)
43034 case $ac_top_srcdir in
43035 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43036 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43037 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43038 esac;;
43039 esac
43040
43041
43042 cd $ac_dir
43043
43044 # Check for guested configure; otherwise get Cygnus style configure.
43045 if test -f $ac_srcdir/configure.gnu; then
43046 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43047 elif test -f $ac_srcdir/configure; then
43048 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43049 elif test -f $ac_srcdir/configure.in; then
43050 ac_sub_configure=$ac_configure
43051 else
43052 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43053 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43054 ac_sub_configure=
43055 fi
43056
43057 # The recursion is here.
43058 if test -n "$ac_sub_configure"; then
43059 # Make the cache file name correct relative to the subdirectory.
43060 case $cache_file in
43061 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43062 *) # Relative path.
43063 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43064 esac
43065
43066 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43067 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43068 # The eval makes quoting arguments work.
43069 eval $ac_sub_configure $ac_sub_configure_args \
43070 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43071 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43072 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43073 { (exit 1); exit 1; }; }
43074 fi
43075
43076 cd $ac_popdir
43077 done
43078 fi
43079
43080
43081 echo
43082 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43083 echo ""
43084 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
43085 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43086
43087 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43088 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43089 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43090
43091 echo " What level of wxWidgets compatibility should be enabled?"
43092 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43093 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43094
43095 echo " Which libraries should wxWidgets use?"
43096 echo " jpeg ${wxUSE_LIBJPEG-none}"
43097 echo " png ${wxUSE_LIBPNG-none}"
43098 echo " regex ${wxUSE_REGEX}"
43099 echo " tiff ${wxUSE_LIBTIFF-none}"
43100 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43101 echo " xpm ${wxUSE_LIBXPM-none}"
43102 fi
43103 echo " zlib ${wxUSE_ZLIB}"
43104 echo " odbc ${wxUSE_ODBC}"
43105 echo " expat ${wxUSE_EXPAT}"
43106 echo " libmspack ${wxUSE_LIBMSPACK}"
43107 echo " sdl ${wxUSE_LIBSDL}"
43108
43109 echo ""
43110