]> git.saurik.com Git - wxWidgets.git/blame - configure
fixed non-pch compilation, initial window size; slight code cleanup
[wxWidgets.git] / configure
CommitLineData
a848cd7e
SC
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 wxWindows 2.5.1.
5#
6# Report bugs to <wx-dev@lists.wxwindows.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
16if 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+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24fi
25DUALCASE=1; export DUALCASE # for MKS sh
26
27# Support unset when possible.
28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for 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
46do
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
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo 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.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if 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
100fi
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
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
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
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
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
155done
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
190case `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= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if 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
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226fi
227
228as_executable_p="test -f"
229
230# Sed expression to map a string onto a valid CPP name.
231as_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.
234as_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.
239as_nl='
240'
241IFS=" $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.
250ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252exec 6>&1
253
254#
255# Initializations.
256#
257ac_default_prefix=/usr/local
258ac_config_libobj_dir=.
259cross_compiling=no
260subdirs=
261MFLAGS=
262MAKEFLAGS=
263SHELL=${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.
271PACKAGE_NAME='wxWindows'
272PACKAGE_TARNAME='wxwindows'
273PACKAGE_VERSION='2.5.1'
274PACKAGE_STRING='wxWindows 2.5.1'
275PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
276
277ac_unique_file="wx-config.in"
278# Factoring default headers for most tests.
279ac_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
315ac_subdirs_all="$ac_subdirs_all src/expat"
316ac_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_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_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 WX_LARGEFILE_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 GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317ac_subst_files=''
318
319# Initialize some variables set by options.
320ac_init_help=
321ac_init_version=false
322# The variables have the same names as the options, with
323# dashes changed to underlines.
324cache_file=/dev/null
325exec_prefix=NONE
326no_create=
327no_recursion=
328prefix=NONE
329program_prefix=NONE
330program_suffix=NONE
331program_transform_name=s,x,x,
332silent=
333site=
334srcdir=
335verbose=
336x_includes=NONE
337x_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.
344bindir='${exec_prefix}/bin'
345sbindir='${exec_prefix}/sbin'
346libexecdir='${exec_prefix}/libexec'
347datadir='${prefix}/share'
348sysconfdir='${prefix}/etc'
349sharedstatedir='${prefix}/com'
350localstatedir='${prefix}/var'
351libdir='${exec_prefix}/lib'
352includedir='${prefix}/include'
353oldincludedir='/usr/include'
354infodir='${prefix}/info'
355mandir='${prefix}/man'
356
357ac_prev=
358for ac_option
359do
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
631Try \`$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
654done
655
656if 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; }; }
660fi
661
662# Be sure to have absolute paths.
663for ac_var in exec_prefix prefix
664do
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
671done
672
673# Be sure to have absolute paths.
674for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676do
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
683done
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.
688build=$build_alias
689host=$host_alias
690target=$target_alias
691
692# FIXME: To remove some day.
693if 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
701fi
702
703ac_tool_prefix=
704test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706test "$silent" = yes && exec 6>/dev/null
707
708
709# Find the source files, if location was not specified.
710if 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 ||
719echo 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
729else
730 ac_srcdir_defaulted=no
731fi
732if 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
740fi
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; }; }
744srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745ac_env_build_alias_set=${build_alias+set}
746ac_env_build_alias_value=$build_alias
747ac_cv_env_build_alias_set=${build_alias+set}
748ac_cv_env_build_alias_value=$build_alias
749ac_env_host_alias_set=${host_alias+set}
750ac_env_host_alias_value=$host_alias
751ac_cv_env_host_alias_set=${host_alias+set}
752ac_cv_env_host_alias_value=$host_alias
753ac_env_target_alias_set=${target_alias+set}
754ac_env_target_alias_value=$target_alias
755ac_cv_env_target_alias_set=${target_alias+set}
756ac_cv_env_target_alias_value=$target_alias
757ac_env_CC_set=${CC+set}
758ac_env_CC_value=$CC
759ac_cv_env_CC_set=${CC+set}
760ac_cv_env_CC_value=$CC
761ac_env_CFLAGS_set=${CFLAGS+set}
762ac_env_CFLAGS_value=$CFLAGS
763ac_cv_env_CFLAGS_set=${CFLAGS+set}
764ac_cv_env_CFLAGS_value=$CFLAGS
765ac_env_LDFLAGS_set=${LDFLAGS+set}
766ac_env_LDFLAGS_value=$LDFLAGS
767ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768ac_cv_env_LDFLAGS_value=$LDFLAGS
769ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770ac_env_CPPFLAGS_value=$CPPFLAGS
771ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773ac_env_CPP_set=${CPP+set}
774ac_env_CPP_value=$CPP
775ac_cv_env_CPP_set=${CPP+set}
776ac_cv_env_CPP_value=$CPP
777ac_env_CXX_set=${CXX+set}
778ac_env_CXX_value=$CXX
779ac_cv_env_CXX_set=${CXX+set}
780ac_cv_env_CXX_value=$CXX
781ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782ac_env_CXXFLAGS_value=$CXXFLAGS
783ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785ac_env_CXXCPP_set=${CXXCPP+set}
786ac_env_CXXCPP_value=$CXXCPP
787ac_cv_env_CXXCPP_set=${CXXCPP+set}
788ac_cv_env_CXXCPP_value=$CXXCPP
789
790#
791# Report the --help message.
792#
793if 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 wxWindows 2.5.1 to adapt to many kinds of systems.
798
799Usage: $0 [OPTION]... [VAR=VALUE]...
800
801To assign environment variables (e.g., CC, CFLAGS...), specify them as
802VAR=VALUE. See below for descriptions of some of the useful variables.
803
804Defaults for the options are specified in brackets.
805
806Configuration:
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
820Installation 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
826By default, \`make install' will install all the files in
827\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829for instance \`--prefix=\$HOME'.
830
831For better control, use the options below.
832
833Fine 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
850X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854System 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
859fi
860
861if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
864 esac
865 cat <<\_ACEOF
866
867Optional 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 wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
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 wxWindows 2.2 compatibility
893 --disable-compat24 disable wxWindows 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 wxWindows implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-gzstream use wxGzipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support in wxProtocol
940 --enable-protocol-ftp FTP support in wxProtocol
941 --enable-protocol-file FILE support in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use help subsystem
945 --enable-mshtmlhelp use MS HTML Help (win32)
946 --enable-html use wxHTML sub-library
947 --enable-htmlhelp use wxHTML-based help
948 --enable-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context (default for gtk+)
955 --enable-prologio not available; see contrib
956 --enable-resources not available; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick (Linux only)
1021 --enable-metafiles use wxMetaFile (Windows only)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images (GIF file format)
1027 --enable-pcx use pcx images (PCX file format)
1028 --enable-iff use iff images (IFF file format)
1029 --enable-pnm use pnm images (PNM file format)
1030 --enable-xpm use xpm images (XPM file format)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWindows (win32 DLL only)
1033 --enable-vendor=VENDOR vendor name (win32 DLL only)
1034 --disable-largefile omit support for large files
1035 --disable-gtktest do not try to compile and run a test GTK+ program
1036 --disable-gtktest Do not try to compile and run a test GTK program
1037 --disable-sdltest Do not try to compile and run a test SDL program
1038 --enable-omf use OMF object format (OS/2)
1039 --disable-precomp-headers don't use precompiled headers even if compiler can
1040
1041Optional Packages:
1042 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1043 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1044 --with-gtk use GTK+
1045 --with-motif use Motif/Lesstif
1046 --with-mac use Mac OS X
1047 --with-cocoa use Cocoa
1048 --with-wine use Wine
1049 --with-msw use MS-Windows
1050 --with-pm use OS/2 Presentation Manager
1051 --with-mgl use SciTech MGL
1052 --with-microwin use MicroWindows
1053 --with-x11 use X11
1054 --with-libpng use libpng (PNG image format)
1055 --with-libjpeg use libjpeg (JPEG file format)
1056 --with-libtiff use libtiff (TIFF file format)
1057 --with-libxpm use libxpm (XPM file format)
1058 --with-libmspack use libmspack (CHM help files loading)
1059 --with-sdl use SDL for audio on Unix
1060 --with-opengl use OpenGL (or Mesa)
1061 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1062 --with-regex enable support for wxRegEx class
1063 --with-zlib use zlib for LZW compression
1064 --with-odbc use the IODBC and wxODBC classes
1065 --with-expat enable XML support using expat parser
1066 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1067 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1068 --with-x use the X Window System
1069 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1070 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1071 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1072 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1073 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1074
1075Some influential environment variables:
1076 CC C compiler command
1077 CFLAGS C compiler flags
1078 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1079 nonstandard directory <lib dir>
1080 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081 headers in a nonstandard directory <include dir>
1082 CPP C preprocessor
1083 CXX C++ compiler command
1084 CXXFLAGS C++ compiler flags
1085 CXXCPP C++ preprocessor
1086
1087Use these variables to override the choices made by `configure' or to help
1088it to find libraries and programs with nonstandard names/locations.
1089
1090Report bugs to <wx-dev@lists.wxwindows.org>.
1091_ACEOF
1092fi
1093
1094if test "$ac_init_help" = "recursive"; then
1095 # If there are subdirs, report their specific --help.
1096 ac_popdir=`pwd`
1097 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1098 test -d $ac_dir || continue
1099 ac_builddir=.
1100
1101if test "$ac_dir" != .; then
1102 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1103 # A "../" for each directory in $ac_dir_suffix.
1104 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105else
1106 ac_dir_suffix= ac_top_builddir=
1107fi
1108
1109case $srcdir in
1110 .) # No --srcdir option. We are building in place.
1111 ac_srcdir=.
1112 if test -z "$ac_top_builddir"; then
1113 ac_top_srcdir=.
1114 else
1115 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1116 fi ;;
1117 [\\/]* | ?:[\\/]* ) # Absolute path.
1118 ac_srcdir=$srcdir$ac_dir_suffix;
1119 ac_top_srcdir=$srcdir ;;
1120 *) # Relative path.
1121 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1122 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1123esac
1124
1125# Do not use `cd foo && pwd` to compute absolute paths, because
1126# the directories may not exist.
1127case `pwd` in
1128.) ac_abs_builddir="$ac_dir";;
1129*)
1130 case "$ac_dir" in
1131 .) ac_abs_builddir=`pwd`;;
1132 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1133 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1134 esac;;
1135esac
1136case $ac_abs_builddir in
1137.) ac_abs_top_builddir=${ac_top_builddir}.;;
1138*)
1139 case ${ac_top_builddir}. in
1140 .) ac_abs_top_builddir=$ac_abs_builddir;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1142 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1143 esac;;
1144esac
1145case $ac_abs_builddir in
1146.) ac_abs_srcdir=$ac_srcdir;;
1147*)
1148 case $ac_srcdir in
1149 .) ac_abs_srcdir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1151 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1152 esac;;
1153esac
1154case $ac_abs_builddir in
1155.) ac_abs_top_srcdir=$ac_top_srcdir;;
1156*)
1157 case $ac_top_srcdir in
1158 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1160 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1161 esac;;
1162esac
1163
1164 cd $ac_dir
1165 # Check for guested configure; otherwise get Cygnus style configure.
1166 if test -f $ac_srcdir/configure.gnu; then
1167 echo
1168 $SHELL $ac_srcdir/configure.gnu --help=recursive
1169 elif test -f $ac_srcdir/configure; then
1170 echo
1171 $SHELL $ac_srcdir/configure --help=recursive
1172 elif test -f $ac_srcdir/configure.ac ||
1173 test -f $ac_srcdir/configure.in; then
1174 echo
1175 $ac_configure --help
1176 else
1177 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1178 fi
1179 cd $ac_popdir
1180 done
1181fi
1182
1183test -n "$ac_init_help" && exit 0
1184if $ac_init_version; then
1185 cat <<\_ACEOF
1186wxWindows configure 2.5.1
1187generated by GNU Autoconf 2.59
1188
1189Copyright (C) 2003 Free Software Foundation, Inc.
1190This configure script is free software; the Free Software Foundation
1191gives unlimited permission to copy, distribute and modify it.
1192_ACEOF
1193 exit 0
1194fi
1195exec 5>config.log
1196cat >&5 <<_ACEOF
1197This file contains any messages produced by compilers while
1198running configure, to aid debugging if configure makes a mistake.
1199
1200It was created by wxWindows $as_me 2.5.1, which was
1201generated by GNU Autoconf 2.59. Invocation command line was
1202
1203 $ $0 $@
1204
1205_ACEOF
1206{
1207cat <<_ASUNAME
1208## --------- ##
1209## Platform. ##
1210## --------- ##
1211
1212hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217
1218/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220
1221/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1228
1229_ASUNAME
1230
1231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1232for as_dir in $PATH
1233do
1234 IFS=$as_save_IFS
1235 test -z "$as_dir" && as_dir=.
1236 echo "PATH: $as_dir"
1237done
1238
1239} >&5
1240
1241cat >&5 <<_ACEOF
1242
1243
1244## ----------- ##
1245## Core tests. ##
1246## ----------- ##
1247
1248_ACEOF
1249
1250
1251# Keep a trace of the command line.
1252# Strip out --no-create and --no-recursion so they do not pile up.
1253# Strip out --silent because we don't want to record it for future runs.
1254# Also quote any args containing shell meta-characters.
1255# Make two passes to allow for proper duplicate-argument suppression.
1256ac_configure_args=
1257ac_configure_args0=
1258ac_configure_args1=
1259ac_sep=
1260ac_must_keep_next=false
1261for ac_pass in 1 2
1262do
1263 for ac_arg
1264 do
1265 case $ac_arg in
1266 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1269 continue ;;
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 esac
1273 case $ac_pass in
1274 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1275 2)
1276 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1277 if test $ac_must_keep_next = true; then
1278 ac_must_keep_next=false # Got value, back to normal.
1279 else
1280 case $ac_arg in
1281 *=* | --config-cache | -C | -disable-* | --disable-* \
1282 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1283 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1284 | -with-* | --with-* | -without-* | --without-* | --x)
1285 case "$ac_configure_args0 " in
1286 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1287 esac
1288 ;;
1289 -* ) ac_must_keep_next=true ;;
1290 esac
1291 fi
1292 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1293 # Get rid of the leading space.
1294 ac_sep=" "
1295 ;;
1296 esac
1297 done
1298done
1299$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1300$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1301
1302# When interrupted or exit'd, cleanup temporary files, and complete
1303# config.log. We remove comments because anyway the quotes in there
1304# would cause problems or look ugly.
1305# WARNING: Be sure not to use single quotes in there, as some shells,
1306# such as our DU 5.0 friend, will then `close' the trap.
1307trap 'exit_status=$?
1308 # Save into config.log some information that might help in debugging.
1309 {
1310 echo
1311
1312 cat <<\_ASBOX
1313## ---------------- ##
1314## Cache variables. ##
1315## ---------------- ##
1316_ASBOX
1317 echo
1318 # The following way of writing the cache mishandles newlines in values,
1319{
1320 (set) 2>&1 |
1321 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1322 *ac_space=\ *)
1323 sed -n \
1324 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1326 ;;
1327 *)
1328 sed -n \
1329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1330 ;;
1331 esac;
1332}
1333 echo
1334
1335 cat <<\_ASBOX
1336## ----------------- ##
1337## Output variables. ##
1338## ----------------- ##
1339_ASBOX
1340 echo
1341 for ac_var in $ac_subst_vars
1342 do
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1345 done | sort
1346 echo
1347
1348 if test -n "$ac_subst_files"; then
1349 cat <<\_ASBOX
1350## ------------- ##
1351## Output files. ##
1352## ------------- ##
1353_ASBOX
1354 echo
1355 for ac_var in $ac_subst_files
1356 do
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1361 fi
1362
1363 if test -s confdefs.h; then
1364 cat <<\_ASBOX
1365## ----------- ##
1366## confdefs.h. ##
1367## ----------- ##
1368_ASBOX
1369 echo
1370 sed "/^$/d" confdefs.h | sort
1371 echo
1372 fi
1373 test "$ac_signal" != 0 &&
1374 echo "$as_me: caught signal $ac_signal"
1375 echo "$as_me: exit $exit_status"
1376 } >&5
1377 rm -f core *.core &&
1378 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1379 exit $exit_status
1380 ' 0
1381for ac_signal in 1 2 13 15; do
1382 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1383done
1384ac_signal=0
1385
1386# confdefs.h avoids OS command line length limits that DEFS can exceed.
1387rm -rf conftest* confdefs.h
1388# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1389echo >confdefs.h
1390
1391# Predefined preprocessor variables.
1392
1393cat >>confdefs.h <<_ACEOF
1394#define PACKAGE_NAME "$PACKAGE_NAME"
1395_ACEOF
1396
1397
1398cat >>confdefs.h <<_ACEOF
1399#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1400_ACEOF
1401
1402
1403cat >>confdefs.h <<_ACEOF
1404#define PACKAGE_VERSION "$PACKAGE_VERSION"
1405_ACEOF
1406
1407
1408cat >>confdefs.h <<_ACEOF
1409#define PACKAGE_STRING "$PACKAGE_STRING"
1410_ACEOF
1411
1412
1413cat >>confdefs.h <<_ACEOF
1414#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1415_ACEOF
1416
1417
1418# Let the site file select an alternate cache file if it wants to.
1419# Prefer explicitly selected file to automatically selected ones.
1420if test -z "$CONFIG_SITE"; then
1421 if test "x$prefix" != xNONE; then
1422 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1423 else
1424 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1425 fi
1426fi
1427for ac_site_file in $CONFIG_SITE; do
1428 if test -r "$ac_site_file"; then
1429 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430echo "$as_me: loading site script $ac_site_file" >&6;}
1431 sed 's/^/| /' "$ac_site_file" >&5
1432 . "$ac_site_file"
1433 fi
1434done
1435
1436if test -r "$cache_file"; then
1437 # Some versions of bash will fail to source /dev/null (special
1438 # files actually), so we avoid doing that.
1439 if test -f "$cache_file"; then
1440 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441echo "$as_me: loading cache $cache_file" >&6;}
1442 case $cache_file in
1443 [\\/]* | ?:[\\/]* ) . $cache_file;;
1444 *) . ./$cache_file;;
1445 esac
1446 fi
1447else
1448 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1449echo "$as_me: creating cache $cache_file" >&6;}
1450 >$cache_file
1451fi
1452
1453# Check that the precious variables saved in the cache have kept the same
1454# value.
1455ac_cache_corrupted=false
1456for ac_var in `(set) 2>&1 |
1457 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1458 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1459 eval ac_new_set=\$ac_env_${ac_var}_set
1460 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1461 eval ac_new_val="\$ac_env_${ac_var}_value"
1462 case $ac_old_set,$ac_new_set in
1463 set,)
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1466 ac_cache_corrupted=: ;;
1467 ,set)
1468 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1469echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1470 ac_cache_corrupted=: ;;
1471 ,);;
1472 *)
1473 if test "x$ac_old_val" != "x$ac_new_val"; then
1474 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1475echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1476 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1477echo "$as_me: former value: $ac_old_val" >&2;}
1478 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1479echo "$as_me: current value: $ac_new_val" >&2;}
1480 ac_cache_corrupted=:
1481 fi;;
1482 esac
1483 # Pass precious variables to config.status.
1484 if test "$ac_new_set" = set; then
1485 case $ac_new_val in
1486 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1487 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 *) ac_arg=$ac_var=$ac_new_val ;;
1489 esac
1490 case " $ac_configure_args " in
1491 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1492 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1493 esac
1494 fi
1495done
1496if $ac_cache_corrupted; then
1497 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1498echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1499 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1500echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1501 { (exit 1); exit 1; }; }
1502fi
1503
1504ac_ext=c
1505ac_cpp='$CPP $CPPFLAGS'
1506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1508ac_compiler_gnu=$ac_cv_c_compiler_gnu
1509
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
1539ac_aux_dir=
1540for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1541 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c"
1544 break
1545 elif test -f $ac_dir/install.sh; then
1546 ac_aux_dir=$ac_dir
1547 ac_install_sh="$ac_aux_dir/install.sh -c"
1548 break
1549 elif test -f $ac_dir/shtool; then
1550 ac_aux_dir=$ac_dir
1551 ac_install_sh="$ac_aux_dir/shtool install -c"
1552 break
1553 fi
1554done
1555if test -z "$ac_aux_dir"; then
1556 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1557echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1558 { (exit 1); exit 1; }; }
1559fi
1560ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1561ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1562ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563
1564# Make sure we can run config.sub.
1565$ac_config_sub sun4 >/dev/null 2>&1 ||
1566 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1567echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1568 { (exit 1); exit 1; }; }
1569
1570echo "$as_me:$LINENO: checking build system type" >&5
1571echo $ECHO_N "checking build system type... $ECHO_C" >&6
1572if test "${ac_cv_build+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1574else
1575 ac_cv_build_alias=$build_alias
1576test -z "$ac_cv_build_alias" &&
1577 ac_cv_build_alias=`$ac_config_guess`
1578test -z "$ac_cv_build_alias" &&
1579 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1580echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1581 { (exit 1); exit 1; }; }
1582ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1584echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1586
1587fi
1588echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1589echo "${ECHO_T}$ac_cv_build" >&6
1590build=$ac_cv_build
1591build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1592build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1593build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594
1595
1596echo "$as_me:$LINENO: checking host system type" >&5
1597echo $ECHO_N "checking host system type... $ECHO_C" >&6
1598if test "${ac_cv_host+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1600else
1601 ac_cv_host_alias=$host_alias
1602test -z "$ac_cv_host_alias" &&
1603 ac_cv_host_alias=$ac_cv_build_alias
1604ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1606echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1607 { (exit 1); exit 1; }; }
1608
1609fi
1610echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1611echo "${ECHO_T}$ac_cv_host" >&6
1612host=$ac_cv_host
1613host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1614host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1615host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1616
1617
1618echo "$as_me:$LINENO: checking target system type" >&5
1619echo $ECHO_N "checking target system type... $ECHO_C" >&6
1620if test "${ac_cv_target+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1622else
1623 ac_cv_target_alias=$target_alias
1624test "x$ac_cv_target_alias" = "x" &&
1625 ac_cv_target_alias=$ac_cv_host_alias
1626ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1628echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1630
1631fi
1632echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1633echo "${ECHO_T}$ac_cv_target" >&6
1634target=$ac_cv_target
1635target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638
1639
1640# The aliases save the names the user supplied, while $host etc.
1641# will get canonicalized.
1642test -n "$target_alias" &&
1643 test "$program_prefix$program_suffix$program_transform_name" = \
1644 NONENONEs,x,x, &&
1645 program_prefix=${target_alias}-
1646
1647
1648
1649WX_MAJOR_VERSION_NUMBER=2
1650WX_MINOR_VERSION_NUMBER=5
1651WX_RELEASE_NUMBER=1
1652
1653WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1654WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1655
1656WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1657
1658WX_CURRENT=1
1659WX_REVISION=0
1660WX_AGE=0
1661
1662
1663
1664USE_UNIX=1
1665USE_OS2=0
1666USE_WIN32=0
1667USE_DOS=0
1668USE_BEOS=0
1669USE_MAC=0
1670
1671USE_AIX=
1672USE_BSD= USE_DARWIN= USE_FREEBSD=
1673USE_GNU= USE_HPUX=
1674USE_LINUX=
1675USE_NETBSD=
1676USE_OPENBSD=
1677USE_OSF= USE_SGI=
1678USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1679USE_ULTRIX=
1680USE_UNIXWARE=
1681
1682USE_ALPHA=
1683
1684NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1685
1686ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1687
1688DEFAULT_wxUSE_COCOA=0
1689DEFAULT_wxUSE_GTK=0
1690DEFAULT_wxUSE_MAC=0
1691DEFAULT_wxUSE_MGL=0
1692DEFAULT_wxUSE_MICROWIN=0
1693DEFAULT_wxUSE_MOTIF=0
1694DEFAULT_wxUSE_MSW=0
1695DEFAULT_wxUSE_PM=0
1696DEFAULT_wxUSE_X11=0
1697
1698DEFAULT_DEFAULT_wxUSE_COCOA=0
1699DEFAULT_DEFAULT_wxUSE_GTK=0
1700DEFAULT_DEFAULT_wxUSE_MAC=0
1701DEFAULT_DEFAULT_wxUSE_MGL=0
1702DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1703DEFAULT_DEFAULT_wxUSE_MOTIF=0
1704DEFAULT_DEFAULT_wxUSE_MSW=0
1705DEFAULT_DEFAULT_wxUSE_PM=0
1706DEFAULT_DEFAULT_wxUSE_X11=0
1707
1708PROGRAM_EXT=
1709SO_SUFFIX=so
1710SAMPLES_RPATH_FLAG=
1711SAMPLES_RPATH_POSTLINK=
1712
1713case "${host}" in
1714 *-hp-hpux* )
1715 USE_HPUX=1
1716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1717 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1718 SO_SUFFIX=sl
1719 cat >>confdefs.h <<\_ACEOF
1720#define __HPUX__ 1
1721_ACEOF
1722
1723 ;;
1724 *-*-linux* )
1725 USE_LINUX=1
1726 cat >>confdefs.h <<\_ACEOF
1727#define __LINUX__ 1
1728_ACEOF
1729
1730 TMP=`uname -m`
1731 if test "x$TMP" = "xalpha"; then
1732 USE_ALPHA=1
1733 cat >>confdefs.h <<\_ACEOF
1734#define __ALPHA__ 1
1735_ACEOF
1736
1737 fi
1738 DEFAULT_DEFAULT_wxUSE_GTK=1
1739 ;;
1740 *-*-gnu* | *-*-k*bsd*-gnu )
1741 USE_GNU=1
1742 TMP=`uname -m`
1743 if test "x$TMP" = "xalpha"; then
1744 USE_ALPHA=1
1745 cat >>confdefs.h <<\_ACEOF
1746#define __ALPHA__ 1
1747_ACEOF
1748
1749 fi
1750 DEFAULT_DEFAULT_wxUSE_GTK=1
1751 ;;
1752 *-*-irix5* | *-*-irix6* )
1753 USE_SGI=1
1754 USE_SVR4=1
1755 cat >>confdefs.h <<\_ACEOF
1756#define __SGI__ 1
1757_ACEOF
1758
1759 cat >>confdefs.h <<\_ACEOF
1760#define __SVR4__ 1
1761_ACEOF
1762
1763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1764 ;;
1765 *-*-solaris2* )
1766 USE_SUN=1
1767 USE_SOLARIS=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770#define __SUN__ 1
1771_ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774#define __SOLARIS__ 1
1775_ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778#define __SVR4__ 1
1779_ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1783 ;;
1784 *-*-sunos4* )
1785 USE_SUN=1
1786 USE_SUNOS=1
1787 USE_BSD=1
1788 cat >>confdefs.h <<\_ACEOF
1789#define __SUN__ 1
1790_ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793#define __SUNOS__ 1
1794_ACEOF
1795
1796 cat >>confdefs.h <<\_ACEOF
1797#define __BSD__ 1
1798_ACEOF
1799
1800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1801 ;;
1802 *-*-freebsd*)
1803 USE_BSD=1
1804 USE_FREEBSD=1
1805 cat >>confdefs.h <<\_ACEOF
1806#define __FREEBSD__ 1
1807_ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810#define __BSD__ 1
1811_ACEOF
1812
1813 DEFAULT_DEFAULT_wxUSE_GTK=1
1814 ;;
1815 *-*-openbsd*)
1816 USE_BSD=1
1817 USE_OPENBSD=1
1818 cat >>confdefs.h <<\_ACEOF
1819#define __OPENBSD__ 1
1820_ACEOF
1821
1822 cat >>confdefs.h <<\_ACEOF
1823#define __BSD__ 1
1824_ACEOF
1825
1826 DEFAULT_DEFAULT_wxUSE_GTK=1
1827 ;;
1828 *-*-netbsd*)
1829 USE_BSD=1
1830 USE_NETBSD=1
1831 cat >>confdefs.h <<\_ACEOF
1832#define __NETBSD__ 1
1833_ACEOF
1834
1835 cat >>confdefs.h <<\_ACEOF
1836#define __BSD__ 1
1837_ACEOF
1838
1839 DEFAULT_DEFAULT_wxUSE_GTK=1
1840 ;;
1841 *-*-osf* )
1842 USE_ALPHA=1
1843 USE_OSF=1
1844 cat >>confdefs.h <<\_ACEOF
1845#define __ALPHA__ 1
1846_ACEOF
1847
1848 cat >>confdefs.h <<\_ACEOF
1849#define __OSF__ 1
1850_ACEOF
1851
1852 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1854 ;;
1855 *-*-dgux5* )
1856 USE_ALPHA=1
1857 USE_SVR4=1
1858 cat >>confdefs.h <<\_ACEOF
1859#define __ALPHA__ 1
1860_ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863#define __SVR4__ 1
1864_ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 ;;
1868 *-*-sysv5* )
1869 USE_SYSV=1
1870 USE_SVR4=1
1871 cat >>confdefs.h <<\_ACEOF
1872#define __SYSV__ 1
1873_ACEOF
1874
1875 cat >>confdefs.h <<\_ACEOF
1876#define __SVR4__ 1
1877_ACEOF
1878
1879 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1880 ;;
1881 *-*-aix* )
1882 USE_AIX=1
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 SO_SUFFIX=a
1886 cat >>confdefs.h <<\_ACEOF
1887#define __AIX__ 1
1888_ACEOF
1889
1890 cat >>confdefs.h <<\_ACEOF
1891#define __SYSV__ 1
1892_ACEOF
1893
1894 cat >>confdefs.h <<\_ACEOF
1895#define __SVR4__ 1
1896_ACEOF
1897
1898 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1899 ;;
1900
1901 *-*-*UnixWare*)
1902 USE_SYSV=1
1903 USE_SVR4=1
1904 USE_UNIXWARE=1
1905 cat >>confdefs.h <<\_ACEOF
1906#define __UNIXWARE__ 1
1907_ACEOF
1908
1909 ;;
1910
1911 *-*-cygwin* | *-*-mingw32* )
1912 SO_SUFFIX=dll
1913 PROGRAM_EXT=".exe"
1914 RESCOMP=windres
1915 DEFAULT_DEFAULT_wxUSE_MSW=1
1916 ;;
1917
1918 *-pc-msdosdjgpp )
1919 USE_UNIX=0
1920 USE_DOS=1
1921 cat >>confdefs.h <<\_ACEOF
1922#define __DOS__ 1
1923_ACEOF
1924
1925 PROGRAM_EXT=".exe"
1926 DEFAULT_DEFAULT_wxUSE_MGL=1
1927 LIBS="$LIBS -lstdc++"
1928 ;;
1929
1930 *-pc-os2_emx | *-pc-os2-emx )
1931 cat >>confdefs.h <<\_ACEOF
1932#define __EMX__ 1
1933_ACEOF
1934
1935 USE_OS2=1
1936 cat >>confdefs.h <<\_ACEOF
1937#define __OS2__ 1
1938_ACEOF
1939
1940 PROGRAM_EXT=".exe"
1941 DEFAULT_DEFAULT_wxUSE_PM=1
1942 CXX=gcc
1943 LDFLAGS="$LDFLAGS -Zcrtdll"
1944 ac_executable_extensions=".exe"
1945 export ac_executable_extensions
1946 ac_save_IFS="$IFS"
1947 IFS='\\'
1948 ac_TEMP_PATH=
1949 for ac_dir in $PATH; do
1950 IFS=$ac_save_IFS
1951 if test -z "$ac_TEMP_PATH"; then
1952 ac_TEMP_PATH="$ac_dir"
1953 else
1954 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1955 fi
1956 done
1957 export PATH="$ac_TEMP_PATH"
1958 unset ac_TEMP_PATH
1959 ;;
1960
1961 powerpc-*-darwin* )
1962 USE_BSD=1
1963 USE_DARWIN=1
1964 SO_SUFFIX=dylib
1965 cat >>confdefs.h <<\_ACEOF
1966#define __BSD__ 1
1967_ACEOF
1968
1969 cat >>confdefs.h <<\_ACEOF
1970#define __DARWIN__ 1
1971_ACEOF
1972
1973 cat >>confdefs.h <<\_ACEOF
1974#define __POWERPC__ 1
1975_ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978#define TARGET_CARBON 1
1979_ACEOF
1980
1981 DEFAULT_DEFAULT_wxUSE_MAC=1
1982 ;;
1983
1984 *-*-beos* )
1985 USE_BEOS=1
1986 cat >>confdefs.h <<\_ACEOF
1987#define __BEOS__ 1
1988_ACEOF
1989
1990 ;;
1991
1992 *)
1993 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1994echo "$as_me: error: unknown system type ${host}." >&2;}
1995 { (exit 1); exit 1; }; }
1996esac
1997
1998
1999
2000
2001 wx_arg_cache_file="configarg.cache"
2002 echo "loading argument cache $wx_arg_cache_file"
2003 rm -f ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}
2006
2007
2008DEBUG_CONFIGURE=0
2009if test $DEBUG_CONFIGURE = 1; then
2010 DEFAULT_wxUSE_UNIVERSAL=no
2011 DEFAULT_wxUSE_STL=no
2012
2013 DEFAULT_wxUSE_NANOX=no
2014
2015 DEFAULT_wxUSE_THREADS=yes
2016
2017 DEFAULT_wxUSE_SHARED=yes
2018 DEFAULT_wxUSE_OPTIMISE=no
2019 DEFAULT_wxUSE_PROFILE=no
2020 DEFAULT_wxUSE_NO_DEPS=no
2021 DEFAULT_wxUSE_NO_RTTI=no
2022 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2023 DEFAULT_wxUSE_PERMISSIVE=no
2024 DEFAULT_wxUSE_DEBUG_FLAG=yes
2025 DEFAULT_wxUSE_DEBUG_INFO=yes
2026 DEFAULT_wxUSE_DEBUG_GDB=yes
2027 DEFAULT_wxUSE_MEM_TRACING=no
2028 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2029 DEFAULT_wxUSE_DMALLOC=no
2030 DEFAULT_wxUSE_APPLE_IEEE=no
2031
2032 DEFAULT_wxUSE_EXCEPTIONS=no
2033 DEFAULT_wxUSE_LOG=yes
2034 DEFAULT_wxUSE_LOGWINDOW=no
2035 DEFAULT_wxUSE_LOGGUI=no
2036 DEFAULT_wxUSE_LOGDIALOG=no
2037
2038 DEFAULT_wxUSE_GUI=yes
2039 DEFAULT_wxUSE_CONTROLS=no
2040
2041 DEFAULT_wxUSE_REGEX=no
2042 DEFAULT_wxUSE_XML=no
2043 DEFAULT_wxUSE_EXPAT=no
2044 DEFAULT_wxUSE_ZLIB=no
2045 DEFAULT_wxUSE_LIBPNG=no
2046 DEFAULT_wxUSE_LIBJPEG=no
2047 DEFAULT_wxUSE_LIBTIFF=no
2048 DEFAULT_wxUSE_LIBXPM=no
2049 DEFAULT_wxUSE_LIBMSPACK=no
2050 DEFAULT_wxUSE_LIBSDL=no
2051 DEFAULT_wxUSE_ODBC=no
2052 DEFAULT_wxUSE_OPENGL=no
2053
2054 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2055 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2056 DEFAULT_wxUSE_STD_IOSTREAM=no
2057 DEFAULT_wxUSE_CMDLINE_PARSER=no
2058 DEFAULT_wxUSE_DATETIME=no
2059 DEFAULT_wxUSE_TIMER=no
2060 DEFAULT_wxUSE_STOPWATCH=no
2061 DEFAULT_wxUSE_FILE=no
2062 DEFAULT_wxUSE_FFILE=no
2063 DEFAULT_wxUSE_TEXTBUFFER=no
2064 DEFAULT_wxUSE_TEXTFILE=no
2065 DEFAULT_wxUSE_SOUND=no
2066 DEFAULT_wxUSE_INTL=no
2067 DEFAULT_wxUSE_CONFIG=no
2068 DEFAULT_wxUSE_FONTMAP=no
2069 DEFAULT_wxUSE_STREAMS=no
2070 DEFAULT_wxUSE_SOCKETS=no
2071 DEFAULT_wxUSE_OLE=no
2072 DEFAULT_wxUSE_DATAOBJ=no
2073 DEFAULT_wxUSE_DIALUP_MANAGER=no
2074 DEFAULT_wxUSE_JOYSTICK=no
2075 DEFAULT_wxUSE_DYNLIB_CLASS=no
2076 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2077 DEFAULT_wxUSE_LONGLONG=no
2078 DEFAULT_wxUSE_GEOMETRY=no
2079
2080 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2081 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2082 DEFAULT_wxUSE_POSTSCRIPT=no
2083
2084 DEFAULT_wxUSE_CLIPBOARD=no
2085 DEFAULT_wxUSE_TOOLTIPS=no
2086 DEFAULT_wxUSE_DRAG_AND_DROP=no
2087 DEFAULT_wxUSE_DRAGIMAGE=no
2088 DEFAULT_wxUSE_SPLINES=no
2089
2090 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2091 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2092 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2093
2094 DEFAULT_wxUSE_RESOURCES=no
2095 DEFAULT_wxUSE_CONSTRAINTS=no
2096 DEFAULT_wxUSE_IPC=no
2097 DEFAULT_wxUSE_HELP=no
2098 DEFAULT_wxUSE_MS_HTML_HELP=no
2099 DEFAULT_wxUSE_WXHTML_HELP=no
2100 DEFAULT_wxUSE_TREELAYOUT=no
2101 DEFAULT_wxUSE_METAFILE=no
2102 DEFAULT_wxUSE_MIMETYPE=no
2103 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2104 DEFAULT_wxUSE_PROTOCOL=no
2105 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2106 DEFAULT_wxUSE_PROTOCOL_FTP=no
2107 DEFAULT_wxUSE_PROTOCOL_FILE=no
2108 DEFAULT_wxUSE_URL=no
2109
2110 DEFAULT_wxUSE_COMMONDLGS=no
2111 DEFAULT_wxUSE_CHOICEDLG=no
2112 DEFAULT_wxUSE_COLOURDLG=no
2113 DEFAULT_wxUSE_DIRDLG=no
2114 DEFAULT_wxUSE_FILEDLG=no
2115 DEFAULT_wxUSE_FINDREPLDLG=no
2116 DEFAULT_wxUSE_FONTDLG=no
2117 DEFAULT_wxUSE_MSGDLG=no
2118 DEFAULT_wxUSE_NUMBERDLG=no
2119 DEFAULT_wxUSE_TEXTDLG=no
2120 DEFAULT_wxUSE_SPLASH=no
2121 DEFAULT_wxUSE_STARTUP_TIPS=no
2122 DEFAULT_wxUSE_PROGRESSDLG=no
2123 DEFAULT_wxUSE_WIZARDDLG=no
2124
2125 DEFAULT_wxUSE_MENUS=no
2126 DEFAULT_wxUSE_MINIFRAME=no
2127 DEFAULT_wxUSE_HTML=no
2128 DEFAULT_wxUSE_FILESYSTEM=no
2129 DEFAULT_wxUSE_FS_INET=no
2130 DEFAULT_wxUSE_FS_ZIP=no
2131 DEFAULT_wxUSE_BUSYINFO=no
2132 DEFAULT_wxUSE_ZIPSTREAM=no
2133 DEFAULT_wxUSE_GZSTREAM=no
2134 DEFAULT_wxUSE_VALIDATORS=no
2135
2136 DEFAULT_wxUSE_ACCEL=no
2137 DEFAULT_wxUSE_BUTTON=no
2138 DEFAULT_wxUSE_BMPBUTTON=no
2139 DEFAULT_wxUSE_CALCTRL=no
2140 DEFAULT_wxUSE_CARET=no
2141 DEFAULT_wxUSE_CHECKBOX=no
2142 DEFAULT_wxUSE_CHECKLST=no
2143 DEFAULT_wxUSE_CHOICE=no
2144 DEFAULT_wxUSE_COMBOBOX=no
2145 DEFAULT_wxUSE_DISPLAY=no
2146 DEFAULT_wxUSE_GAUGE=no
2147 DEFAULT_wxUSE_GRID=no
2148 DEFAULT_wxUSE_IMAGLIST=no
2149 DEFAULT_wxUSE_LISTBOOK=no
2150 DEFAULT_wxUSE_LISTBOX=no
2151 DEFAULT_wxUSE_LISTCTRL=no
2152 DEFAULT_wxUSE_NOTEBOOK=no
2153 DEFAULT_wxUSE_RADIOBOX=no
2154 DEFAULT_wxUSE_RADIOBTN=no
2155 DEFAULT_wxUSE_SASH=no
2156 DEFAULT_wxUSE_SCROLLBAR=no
2157 DEFAULT_wxUSE_SLIDER=no
2158 DEFAULT_wxUSE_SPINBTN=no
2159 DEFAULT_wxUSE_SPINCTRL=no
2160 DEFAULT_wxUSE_SPLITTER=no
2161 DEFAULT_wxUSE_STATBMP=no
2162 DEFAULT_wxUSE_STATBOX=no
2163 DEFAULT_wxUSE_STATLINE=no
2164 DEFAULT_wxUSE_STATTEXT=no
2165 DEFAULT_wxUSE_STATUSBAR=yes
2166 DEFAULT_wxUSE_TABDIALOG=no
2167 DEFAULT_wxUSE_TEXTCTRL=no
2168 DEFAULT_wxUSE_TOGGLEBTN=no
2169 DEFAULT_wxUSE_TOOLBAR=no
2170 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2171 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2172 DEFAULT_wxUSE_TREECTRL=no
2173 DEFAULT_wxUSE_POPUPWIN=no
2174 DEFAULT_wxUSE_TIPWINDOW=no
2175
2176 DEFAULT_wxUSE_UNICODE=no
2177 DEFAULT_wxUSE_UNICODE_MSLU=no
2178 DEFAULT_wxUSE_WCSRTOMBS=no
2179
2180 DEFAULT_wxUSE_PALETTE=no
2181 DEFAULT_wxUSE_IMAGE=no
2182 DEFAULT_wxUSE_GIF=no
2183 DEFAULT_wxUSE_PCX=no
2184 DEFAULT_wxUSE_PNM=no
2185 DEFAULT_wxUSE_IFF=no
2186 DEFAULT_wxUSE_XPM=no
2187 DEFAULT_wxUSE_ICO_CUR=no
2188 DEFAULT_wxUSE_ACCESSIBILITY=no
2189
2190 DEFAULT_wxUSE_MONOLITHIC=no
2191 DEFAULT_wxUSE_PLUGINS=no
2192 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2193else
2194 DEFAULT_wxUSE_UNIVERSAL=no
2195 DEFAULT_wxUSE_STL=no
2196
2197 DEFAULT_wxUSE_NANOX=no
2198
2199 DEFAULT_wxUSE_THREADS=yes
2200
2201 DEFAULT_wxUSE_SHARED=yes
2202 DEFAULT_wxUSE_OPTIMISE=yes
2203 DEFAULT_wxUSE_PROFILE=no
2204 DEFAULT_wxUSE_NO_DEPS=no
2205 DEFAULT_wxUSE_NO_RTTI=no
2206 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2207 DEFAULT_wxUSE_PERMISSIVE=no
2208 DEFAULT_wxUSE_DEBUG_FLAG=no
2209 DEFAULT_wxUSE_DEBUG_INFO=no
2210 DEFAULT_wxUSE_DEBUG_GDB=no
2211 DEFAULT_wxUSE_MEM_TRACING=no
2212 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2213 DEFAULT_wxUSE_DMALLOC=no
2214 DEFAULT_wxUSE_APPLE_IEEE=yes
2215
2216 DEFAULT_wxUSE_EXCEPTIONS=yes
2217 DEFAULT_wxUSE_LOG=yes
2218 DEFAULT_wxUSE_LOGWINDOW=yes
2219 DEFAULT_wxUSE_LOGGUI=yes
2220 DEFAULT_wxUSE_LOGDIALOG=yes
2221
2222 DEFAULT_wxUSE_GUI=yes
2223
2224 DEFAULT_wxUSE_REGEX=yes
2225 DEFAULT_wxUSE_XML=yes
2226 DEFAULT_wxUSE_EXPAT=yes
2227 DEFAULT_wxUSE_ZLIB=yes
2228 DEFAULT_wxUSE_LIBPNG=yes
2229 DEFAULT_wxUSE_LIBJPEG=yes
2230 DEFAULT_wxUSE_LIBTIFF=yes
2231 DEFAULT_wxUSE_LIBXPM=yes
2232 DEFAULT_wxUSE_LIBMSPACK=yes
2233 DEFAULT_wxUSE_LIBSDL=no
2234 DEFAULT_wxUSE_ODBC=no
2235 DEFAULT_wxUSE_OPENGL=no
2236
2237 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2238 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2239 DEFAULT_wxUSE_STD_IOSTREAM=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2241 DEFAULT_wxUSE_DATETIME=yes
2242 DEFAULT_wxUSE_TIMER=yes
2243 DEFAULT_wxUSE_STOPWATCH=yes
2244 DEFAULT_wxUSE_FILE=yes
2245 DEFAULT_wxUSE_FFILE=yes
2246 DEFAULT_wxUSE_TEXTBUFFER=yes
2247 DEFAULT_wxUSE_TEXTFILE=yes
2248 DEFAULT_wxUSE_SOUND=yes
2249 DEFAULT_wxUSE_INTL=yes
2250 DEFAULT_wxUSE_CONFIG=yes
2251 DEFAULT_wxUSE_FONTMAP=yes
2252 DEFAULT_wxUSE_STREAMS=yes
2253 DEFAULT_wxUSE_SOCKETS=yes
2254 DEFAULT_wxUSE_OLE=yes
2255 DEFAULT_wxUSE_DATAOBJ=yes
2256 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2257 DEFAULT_wxUSE_JOYSTICK=yes
2258 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2259 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2260 DEFAULT_wxUSE_LONGLONG=yes
2261 DEFAULT_wxUSE_GEOMETRY=yes
2262
2263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2265 DEFAULT_wxUSE_POSTSCRIPT=yes
2266
2267 DEFAULT_wxUSE_CLIPBOARD=yes
2268 DEFAULT_wxUSE_TOOLTIPS=yes
2269 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2270 DEFAULT_wxUSE_DRAGIMAGE=yes
2271 DEFAULT_wxUSE_SPLINES=yes
2272
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2276
2277 DEFAULT_wxUSE_RESOURCES=no
2278 DEFAULT_wxUSE_CONSTRAINTS=yes
2279 DEFAULT_wxUSE_IPC=yes
2280 DEFAULT_wxUSE_HELP=yes
2281 DEFAULT_wxUSE_MS_HTML_HELP=yes
2282 DEFAULT_wxUSE_WXHTML_HELP=yes
2283 DEFAULT_wxUSE_TREELAYOUT=yes
2284 DEFAULT_wxUSE_METAFILE=yes
2285 DEFAULT_wxUSE_MIMETYPE=yes
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2287 DEFAULT_wxUSE_PROTOCOL=yes
2288 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2289 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2290 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2291 DEFAULT_wxUSE_URL=yes
2292
2293 DEFAULT_wxUSE_COMMONDLGS=yes
2294 DEFAULT_wxUSE_CHOICEDLG=yes
2295 DEFAULT_wxUSE_COLOURDLG=yes
2296 DEFAULT_wxUSE_DIRDLG=yes
2297 DEFAULT_wxUSE_FILEDLG=yes
2298 DEFAULT_wxUSE_FINDREPLDLG=yes
2299 DEFAULT_wxUSE_FONTDLG=yes
2300 DEFAULT_wxUSE_MSGDLG=yes
2301 DEFAULT_wxUSE_NUMBERDLG=yes
2302 DEFAULT_wxUSE_TEXTDLG=yes
2303 DEFAULT_wxUSE_SPLASH=yes
2304 DEFAULT_wxUSE_STARTUP_TIPS=yes
2305 DEFAULT_wxUSE_PROGRESSDLG=yes
2306 DEFAULT_wxUSE_WIZARDDLG=yes
2307
2308 DEFAULT_wxUSE_MENUS=yes
2309 DEFAULT_wxUSE_MINIFRAME=yes
2310 DEFAULT_wxUSE_HTML=yes
2311 DEFAULT_wxUSE_FILESYSTEM=yes
2312 DEFAULT_wxUSE_FS_INET=yes
2313 DEFAULT_wxUSE_FS_ZIP=yes
2314 DEFAULT_wxUSE_BUSYINFO=yes
2315 DEFAULT_wxUSE_ZIPSTREAM=yes
2316 DEFAULT_wxUSE_GZSTREAM=yes
2317 DEFAULT_wxUSE_VALIDATORS=yes
2318
2319 DEFAULT_wxUSE_ACCEL=yes
2320 DEFAULT_wxUSE_BUTTON=yes
2321 DEFAULT_wxUSE_BMPBUTTON=yes
2322 DEFAULT_wxUSE_CALCTRL=yes
2323 DEFAULT_wxUSE_CARET=yes
2324 DEFAULT_wxUSE_CHECKBOX=yes
2325 DEFAULT_wxUSE_CHECKLST=yes
2326 DEFAULT_wxUSE_CHOICE=yes
2327 DEFAULT_wxUSE_COMBOBOX=yes
2328 DEFAULT_wxUSE_DISPLAY=yes
2329 DEFAULT_wxUSE_GAUGE=yes
2330 DEFAULT_wxUSE_GRID=yes
2331 DEFAULT_wxUSE_IMAGLIST=yes
2332 DEFAULT_wxUSE_LISTBOOK=yes
2333 DEFAULT_wxUSE_LISTBOX=yes
2334 DEFAULT_wxUSE_LISTCTRL=yes
2335 DEFAULT_wxUSE_NOTEBOOK=yes
2336 DEFAULT_wxUSE_RADIOBOX=yes
2337 DEFAULT_wxUSE_RADIOBTN=yes
2338 DEFAULT_wxUSE_SASH=yes
2339 DEFAULT_wxUSE_SCROLLBAR=yes
2340 DEFAULT_wxUSE_SLIDER=yes
2341 DEFAULT_wxUSE_SPINBTN=yes
2342 DEFAULT_wxUSE_SPINCTRL=yes
2343 DEFAULT_wxUSE_SPLITTER=yes
2344 DEFAULT_wxUSE_STATBMP=yes
2345 DEFAULT_wxUSE_STATBOX=yes
2346 DEFAULT_wxUSE_STATLINE=yes
2347 DEFAULT_wxUSE_STATTEXT=yes
2348 DEFAULT_wxUSE_STATUSBAR=yes
2349 DEFAULT_wxUSE_TABDIALOG=no
2350 DEFAULT_wxUSE_TEXTCTRL=yes
2351 DEFAULT_wxUSE_TOGGLEBTN=yes
2352 DEFAULT_wxUSE_TOOLBAR=yes
2353 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2354 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2355 DEFAULT_wxUSE_TREECTRL=yes
2356 DEFAULT_wxUSE_POPUPWIN=yes
2357 DEFAULT_wxUSE_TIPWINDOW=yes
2358
2359 DEFAULT_wxUSE_UNICODE=no
2360 DEFAULT_wxUSE_UNICODE_MSLU=yes
2361 DEFAULT_wxUSE_WCSRTOMBS=no
2362
2363 DEFAULT_wxUSE_PALETTE=yes
2364 DEFAULT_wxUSE_IMAGE=yes
2365 DEFAULT_wxUSE_GIF=yes
2366 DEFAULT_wxUSE_PCX=yes
2367 DEFAULT_wxUSE_IFF=no
2368 DEFAULT_wxUSE_PNM=yes
2369 DEFAULT_wxUSE_XPM=yes
2370 DEFAULT_wxUSE_ICO_CUR=yes
2371 DEFAULT_wxUSE_ACCESSIBILITY=no
2372
2373 DEFAULT_wxUSE_MONOLITHIC=no
2374 DEFAULT_wxUSE_PLUGINS=no
2375 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2376fi
2377
2378
2379
2380for toolkit in `echo $ALL_TOOLKITS`; do
2381 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2382 if test "x$LINE" != "x" ; then
2383 has_toolkit_in_cache=1
2384 eval "DEFAULT_$LINE"
2385 eval "CACHE_$toolkit=1"
2386 fi
2387done
2388
2389
2390
2391 enablestring=
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2393echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2394 no_cache=0
2395 # Check whether --enable-gui or --disable-gui was given.
2396if test "${enable_gui+set}" = set; then
2397 enableval="$enable_gui"
2398
2399 if test "$enableval" = yes; then
2400 ac_cv_use_gui='wxUSE_GUI=yes'
2401 else
2402 ac_cv_use_gui='wxUSE_GUI=no'
2403 fi
2404
2405else
2406
2407 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x ; then
2409 eval "DEFAULT_$LINE"
2410 else
2411 no_cache=1
2412 fi
2413
2414 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2415
2416fi;
2417
2418 eval "$ac_cv_use_gui"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2421 fi
2422
2423 if test "$wxUSE_GUI" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425echo "${ECHO_T}yes" >&6
2426 else
2427 echo "$as_me:$LINENO: result: no" >&5
2428echo "${ECHO_T}no" >&6
2429 fi
2430
2431
2432 enablestring=
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2434echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2435 no_cache=0
2436 # Check whether --enable-monolithic or --disable-monolithic was given.
2437if test "${enable_monolithic+set}" = set; then
2438 enableval="$enable_monolithic"
2439
2440 if test "$enableval" = yes; then
2441 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2442 else
2443 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2444 fi
2445
2446else
2447
2448 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2451 else
2452 no_cache=1
2453 fi
2454
2455 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2456
2457fi;
2458
2459 eval "$ac_cv_use_monolithic"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2462 fi
2463
2464 if test "$wxUSE_MONOLITHIC" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466echo "${ECHO_T}yes" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469echo "${ECHO_T}no" >&6
2470 fi
2471
2472
2473 enablestring=
2474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2475echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2476 no_cache=0
2477 # Check whether --enable-plugins or --disable-plugins was given.
2478if test "${enable_plugins+set}" = set; then
2479 enableval="$enable_plugins"
2480
2481 if test "$enableval" = yes; then
2482 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2483 else
2484 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2485 fi
2486
2487else
2488
2489 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2490 if test "x$LINE" != x ; then
2491 eval "DEFAULT_$LINE"
2492 else
2493 no_cache=1
2494 fi
2495
2496 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2497
2498fi;
2499
2500 eval "$ac_cv_use_plugins"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2503 fi
2504
2505 if test "$wxUSE_PLUGINS" = yes; then
2506 echo "$as_me:$LINENO: result: yes" >&5
2507echo "${ECHO_T}yes" >&6
2508 else
2509 echo "$as_me:$LINENO: result: no" >&5
2510echo "${ECHO_T}no" >&6
2511 fi
2512
2513
2514if test "$wxUSE_GUI" = "yes"; then
2515
2516
2517 enablestring=
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2519echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2520 no_cache=0
2521 # Check whether --enable-universal or --disable-universal was given.
2522if test "${enable_universal+set}" = set; then
2523 enableval="$enable_universal"
2524
2525 if test "$enableval" = yes; then
2526 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2527 else
2528 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2529 fi
2530
2531else
2532
2533 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x ; then
2535 eval "DEFAULT_$LINE"
2536 else
2537 no_cache=1
2538 fi
2539
2540 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2541
2542fi;
2543
2544 eval "$ac_cv_use_universal"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2547 fi
2548
2549 if test "$wxUSE_UNIVERSAL" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551echo "${ECHO_T}yes" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554echo "${ECHO_T}no" >&6
2555 fi
2556
2557
2558# Check whether --with-gtk or --without-gtk was given.
2559if test "${with_gtk+set}" = set; then
2560 withval="$with_gtk"
2561 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2562fi;
2563
2564# Check whether --with-motif or --without-motif was given.
2565if test "${with_motif+set}" = set; then
2566 withval="$with_motif"
2567 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2568fi;
2569
2570# Check whether --with-mac or --without-mac was given.
2571if test "${with_mac+set}" = set; then
2572 withval="$with_mac"
2573 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2574fi;
2575
2576# Check whether --with-cocoa or --without-cocoa was given.
2577if test "${with_cocoa+set}" = set; then
2578 withval="$with_cocoa"
2579 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2580fi;
2581
2582# Check whether --with-wine or --without-wine was given.
2583if test "${with_wine+set}" = set; then
2584 withval="$with_wine"
2585 wxUSE_WINE="$withval" CACHE_WINE=1
2586fi;
2587
2588# Check whether --with-msw or --without-msw was given.
2589if test "${with_msw+set}" = set; then
2590 withval="$with_msw"
2591 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2592fi;
2593
2594# Check whether --with-pm or --without-pm was given.
2595if test "${with_pm+set}" = set; then
2596 withval="$with_pm"
2597 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2598fi;
2599
2600# Check whether --with-mgl or --without-mgl was given.
2601if test "${with_mgl+set}" = set; then
2602 withval="$with_mgl"
2603 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2604fi;
2605
2606# Check whether --with-microwin or --without-microwin was given.
2607if test "${with_microwin+set}" = set; then
2608 withval="$with_microwin"
2609 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2610fi;
2611
2612# Check whether --with-x11 or --without-x11 was given.
2613if test "${with_x11+set}" = set; then
2614 withval="$with_x11"
2615 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2616fi;
2617
2618 enablestring=
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2620echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2621 no_cache=0
2622 # Check whether --enable-nanox or --disable-nanox was given.
2623if test "${enable_nanox+set}" = set; then
2624 enableval="$enable_nanox"
2625
2626 if test "$enableval" = yes; then
2627 ac_cv_use_nanox='wxUSE_NANOX=yes'
2628 else
2629 ac_cv_use_nanox='wxUSE_NANOX=no'
2630 fi
2631
2632else
2633
2634 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x ; then
2636 eval "DEFAULT_$LINE"
2637 else
2638 no_cache=1
2639 fi
2640
2641 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2642
2643fi;
2644
2645 eval "$ac_cv_use_nanox"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2648 fi
2649
2650 if test "$wxUSE_NANOX" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652echo "${ECHO_T}yes" >&6
2653 else
2654 echo "$as_me:$LINENO: result: no" >&5
2655echo "${ECHO_T}no" >&6
2656 fi
2657
2658
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2662echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2665if test "${enable_gtk2+set}" = set; then
2666 enableval="$enable_gtk2"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2670 else
2671 ac_cv_use_gtk2='wxUSE_GTK2=no'
2672 fi
2673
2674else
2675
2676 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2684
2685fi;
2686
2687 eval "$ac_cv_use_gtk2"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_GTK2" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701 enablestring=
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2703echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2704 no_cache=0
2705 # Check whether --enable-gpe or --disable-gpe was given.
2706if test "${enable_gpe+set}" = set; then
2707 enableval="$enable_gpe"
2708
2709 if test "$enableval" = yes; then
2710 ac_cv_use_gpe='wxUSE_GPE=yes'
2711 else
2712 ac_cv_use_gpe='wxUSE_GPE=no'
2713 fi
2714
2715else
2716
2717 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x ; then
2719 eval "DEFAULT_$LINE"
2720 else
2721 no_cache=1
2722 fi
2723
2724 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2725
2726fi;
2727
2728 eval "$ac_cv_use_gpe"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2731 fi
2732
2733 if test "$wxUSE_GPE" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735echo "${ECHO_T}yes" >&6
2736 else
2737 echo "$as_me:$LINENO: result: no" >&5
2738echo "${ECHO_T}no" >&6
2739 fi
2740
2741
2742
2743 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2744echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2745 no_cache=0
2746
2747# Check whether --with-libpng or --without-libpng was given.
2748if test "${with_libpng+set}" = set; then
2749 withval="$with_libpng"
2750
2751 if test "$withval" = yes; then
2752 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2753 elif test "$withval" = no; then
2754 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2755 elif test "$withval" = sys; then
2756 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2757 elif test "$withval" = builtin; then
2758 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2759 else
2760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2761echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2762 { (exit 1); exit 1; }; }
2763 fi
2764
2765else
2766
2767 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x ; then
2769 eval "DEFAULT_$LINE"
2770 else
2771 no_cache=1
2772 fi
2773
2774 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2775
2776fi;
2777
2778 eval "$ac_cv_use_libpng"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2781 fi
2782
2783 if test "$wxUSE_LIBPNG" = yes; then
2784 echo "$as_me:$LINENO: result: yes" >&5
2785echo "${ECHO_T}yes" >&6
2786 elif test "$wxUSE_LIBPNG" = no; then
2787 echo "$as_me:$LINENO: result: no" >&5
2788echo "${ECHO_T}no" >&6
2789 elif test "$wxUSE_LIBPNG" = sys; then
2790 echo "$as_me:$LINENO: result: system version" >&5
2791echo "${ECHO_T}system version" >&6
2792 elif test "$wxUSE_LIBPNG" = builtin; then
2793 echo "$as_me:$LINENO: result: builtin version" >&5
2794echo "${ECHO_T}builtin version" >&6
2795 else
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2799 fi
2800
2801
2802 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2803echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2804 no_cache=0
2805
2806# Check whether --with-libjpeg or --without-libjpeg was given.
2807if test "${with_libjpeg+set}" = set; then
2808 withval="$with_libjpeg"
2809
2810 if test "$withval" = yes; then
2811 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2812 elif test "$withval" = no; then
2813 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2814 elif test "$withval" = sys; then
2815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2816 elif test "$withval" = builtin; then
2817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2818 else
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2820echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2822 fi
2823
2824else
2825
2826 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x ; then
2828 eval "DEFAULT_$LINE"
2829 else
2830 no_cache=1
2831 fi
2832
2833 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2834
2835fi;
2836
2837 eval "$ac_cv_use_libjpeg"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2840 fi
2841
2842 if test "$wxUSE_LIBJPEG" = yes; then
2843 echo "$as_me:$LINENO: result: yes" >&5
2844echo "${ECHO_T}yes" >&6
2845 elif test "$wxUSE_LIBJPEG" = no; then
2846 echo "$as_me:$LINENO: result: no" >&5
2847echo "${ECHO_T}no" >&6
2848 elif test "$wxUSE_LIBJPEG" = sys; then
2849 echo "$as_me:$LINENO: result: system version" >&5
2850echo "${ECHO_T}system version" >&6
2851 elif test "$wxUSE_LIBJPEG" = builtin; then
2852 echo "$as_me:$LINENO: result: builtin version" >&5
2853echo "${ECHO_T}builtin version" >&6
2854 else
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2858 fi
2859
2860
2861 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2862echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2863 no_cache=0
2864
2865# Check whether --with-libtiff or --without-libtiff was given.
2866if test "${with_libtiff+set}" = set; then
2867 withval="$with_libtiff"
2868
2869 if test "$withval" = yes; then
2870 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2871 elif test "$withval" = no; then
2872 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2873 elif test "$withval" = sys; then
2874 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2875 elif test "$withval" = builtin; then
2876 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2877 else
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2879echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2881 fi
2882
2883else
2884
2885 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2886 if test "x$LINE" != x ; then
2887 eval "DEFAULT_$LINE"
2888 else
2889 no_cache=1
2890 fi
2891
2892 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2893
2894fi;
2895
2896 eval "$ac_cv_use_libtiff"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2899 fi
2900
2901 if test "$wxUSE_LIBTIFF" = yes; then
2902 echo "$as_me:$LINENO: result: yes" >&5
2903echo "${ECHO_T}yes" >&6
2904 elif test "$wxUSE_LIBTIFF" = no; then
2905 echo "$as_me:$LINENO: result: no" >&5
2906echo "${ECHO_T}no" >&6
2907 elif test "$wxUSE_LIBTIFF" = sys; then
2908 echo "$as_me:$LINENO: result: system version" >&5
2909echo "${ECHO_T}system version" >&6
2910 elif test "$wxUSE_LIBTIFF" = builtin; then
2911 echo "$as_me:$LINENO: result: builtin version" >&5
2912echo "${ECHO_T}builtin version" >&6
2913 else
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2917 fi
2918
2919
2920 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2921echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2922 no_cache=0
2923
2924# Check whether --with-libxpm or --without-libxpm was given.
2925if test "${with_libxpm+set}" = set; then
2926 withval="$with_libxpm"
2927
2928 if test "$withval" = yes; then
2929 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2930 elif test "$withval" = no; then
2931 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2932 elif test "$withval" = sys; then
2933 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2934 elif test "$withval" = builtin; then
2935 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2936 else
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2938echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2940 fi
2941
2942else
2943
2944 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x ; then
2946 eval "DEFAULT_$LINE"
2947 else
2948 no_cache=1
2949 fi
2950
2951 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2952
2953fi;
2954
2955 eval "$ac_cv_use_libxpm"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2958 fi
2959
2960 if test "$wxUSE_LIBXPM" = yes; then
2961 echo "$as_me:$LINENO: result: yes" >&5
2962echo "${ECHO_T}yes" >&6
2963 elif test "$wxUSE_LIBXPM" = no; then
2964 echo "$as_me:$LINENO: result: no" >&5
2965echo "${ECHO_T}no" >&6
2966 elif test "$wxUSE_LIBXPM" = sys; then
2967 echo "$as_me:$LINENO: result: system version" >&5
2968echo "${ECHO_T}system version" >&6
2969 elif test "$wxUSE_LIBXPM" = builtin; then
2970 echo "$as_me:$LINENO: result: builtin version" >&5
2971echo "${ECHO_T}builtin version" >&6
2972 else
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2976 fi
2977
2978
2979 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2980echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2981 no_cache=0
2982
2983# Check whether --with-libmspack or --without-libmspack was given.
2984if test "${with_libmspack+set}" = set; then
2985 withval="$with_libmspack"
2986
2987 if test "$withval" = yes; then
2988 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2989 else
2990 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2991 fi
2992
2993else
2994
2995 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
2998 else
2999 no_cache=1
3000 fi
3001
3002 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3003
3004fi;
3005
3006 eval "$ac_cv_use_libmspack"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3009 fi
3010
3011 if test "$wxUSE_LIBMSPACK" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013echo "${ECHO_T}yes" >&6
3014 else
3015 echo "$as_me:$LINENO: result: no" >&5
3016echo "${ECHO_T}no" >&6
3017 fi
3018
3019
3020 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3021echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3022 no_cache=0
3023
3024# Check whether --with-sdl or --without-sdl was given.
3025if test "${with_sdl+set}" = set; then
3026 withval="$with_sdl"
3027
3028 if test "$withval" = yes; then
3029 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3030 else
3031 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3032 fi
3033
3034else
3035
3036 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3044
3045fi;
3046
3047 eval "$ac_cv_use_sdl"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBSDL" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054echo "${ECHO_T}yes" >&6
3055 else
3056 echo "$as_me:$LINENO: result: no" >&5
3057echo "${ECHO_T}no" >&6
3058 fi
3059
3060
3061 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3062echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3063 no_cache=0
3064
3065# Check whether --with-opengl or --without-opengl was given.
3066if test "${with_opengl+set}" = set; then
3067 withval="$with_opengl"
3068
3069 if test "$withval" = yes; then
3070 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3071 else
3072 ac_cv_use_opengl='wxUSE_OPENGL=no'
3073 fi
3074
3075else
3076
3077 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x ; then
3079 eval "DEFAULT_$LINE"
3080 else
3081 no_cache=1
3082 fi
3083
3084 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3085
3086fi;
3087
3088 eval "$ac_cv_use_opengl"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3091 fi
3092
3093 if test "$wxUSE_OPENGL" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095echo "${ECHO_T}yes" >&6
3096 else
3097 echo "$as_me:$LINENO: result: no" >&5
3098echo "${ECHO_T}no" >&6
3099 fi
3100
3101
3102fi
3103
3104
3105 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3106echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3107 no_cache=0
3108
3109# Check whether --with-dmalloc or --without-dmalloc was given.
3110if test "${with_dmalloc+set}" = set; then
3111 withval="$with_dmalloc"
3112
3113 if test "$withval" = yes; then
3114 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3115 else
3116 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3117 fi
3118
3119else
3120
3121 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 else
3125 no_cache=1
3126 fi
3127
3128 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3129
3130fi;
3131
3132 eval "$ac_cv_use_dmalloc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3135 fi
3136
3137 if test "$wxUSE_DMALLOC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139echo "${ECHO_T}yes" >&6
3140 else
3141 echo "$as_me:$LINENO: result: no" >&5
3142echo "${ECHO_T}no" >&6
3143 fi
3144
3145
3146 echo "$as_me:$LINENO: checking for --with-regex" >&5
3147echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3148 no_cache=0
3149
3150# Check whether --with-regex or --without-regex was given.
3151if test "${with_regex+set}" = set; then
3152 withval="$with_regex"
3153
3154 if test "$withval" = yes; then
3155 ac_cv_use_regex='wxUSE_REGEX=yes'
3156 elif test "$withval" = no; then
3157 ac_cv_use_regex='wxUSE_REGEX=no'
3158 elif test "$withval" = sys; then
3159 ac_cv_use_regex='wxUSE_REGEX=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_regex='wxUSE_REGEX=builtin'
3162 else
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3164echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3166 fi
3167
3168else
3169
3170 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x ; then
3172 eval "DEFAULT_$LINE"
3173 else
3174 no_cache=1
3175 fi
3176
3177 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3178
3179fi;
3180
3181 eval "$ac_cv_use_regex"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3184 fi
3185
3186 if test "$wxUSE_REGEX" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_REGEX" = no; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_REGEX" = sys; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_REGEX" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197echo "${ECHO_T}builtin version" >&6
3198 else
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3200echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3202 fi
3203
3204
3205 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3206echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3207 no_cache=0
3208
3209# Check whether --with-zlib or --without-zlib was given.
3210if test "${with_zlib+set}" = set; then
3211 withval="$with_zlib"
3212
3213 if test "$withval" = yes; then
3214 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3215 elif test "$withval" = no; then
3216 ac_cv_use_zlib='wxUSE_ZLIB=no'
3217 elif test "$withval" = sys; then
3218 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3221 else
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3223echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3225 fi
3226
3227else
3228
3229 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 else
3233 no_cache=1
3234 fi
3235
3236 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3237
3238fi;
3239
3240 eval "$ac_cv_use_zlib"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test "$wxUSE_ZLIB" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_ZLIB" = no; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_ZLIB" = sys; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_ZLIB" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256echo "${ECHO_T}builtin version" >&6
3257 else
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3259echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3261 fi
3262
3263
3264 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3265echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3266 no_cache=0
3267
3268# Check whether --with-odbc or --without-odbc was given.
3269if test "${with_odbc+set}" = set; then
3270 withval="$with_odbc"
3271
3272 if test "$withval" = yes; then
3273 ac_cv_use_odbc='wxUSE_ODBC=yes'
3274 elif test "$withval" = no; then
3275 ac_cv_use_odbc='wxUSE_ODBC=no'
3276 elif test "$withval" = sys; then
3277 ac_cv_use_odbc='wxUSE_ODBC=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3280 else
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3282echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3284 fi
3285
3286else
3287
3288 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x ; then
3290 eval "DEFAULT_$LINE"
3291 else
3292 no_cache=1
3293 fi
3294
3295 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3296
3297fi;
3298
3299 eval "$ac_cv_use_odbc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3302 fi
3303
3304 if test "$wxUSE_ODBC" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ODBC" = no; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ODBC" = sys; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ODBC" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315echo "${ECHO_T}builtin version" >&6
3316 else
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3318echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3320 fi
3321
3322
3323 echo "$as_me:$LINENO: checking for --with-expat" >&5
3324echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3325 no_cache=0
3326
3327# Check whether --with-expat or --without-expat was given.
3328if test "${with_expat+set}" = set; then
3329 withval="$with_expat"
3330
3331 if test "$withval" = yes; then
3332 ac_cv_use_expat='wxUSE_EXPAT=yes'
3333 elif test "$withval" = no; then
3334 ac_cv_use_expat='wxUSE_EXPAT=no'
3335 elif test "$withval" = sys; then
3336 ac_cv_use_expat='wxUSE_EXPAT=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3339 else
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3341echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3343 fi
3344
3345else
3346
3347 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x ; then
3349 eval "DEFAULT_$LINE"
3350 else
3351 no_cache=1
3352 fi
3353
3354 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3355
3356fi;
3357
3358 eval "$ac_cv_use_expat"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test "$wxUSE_EXPAT" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_EXPAT" = no; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_EXPAT" = sys; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_EXPAT" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374echo "${ECHO_T}builtin version" >&6
3375 else
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3377echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3379 fi
3380
3381
3382
3383
3384 enablestring=
3385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3386echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3387 no_cache=0
3388 # Check whether --enable-shared or --disable-shared was given.
3389if test "${enable_shared+set}" = set; then
3390 enableval="$enable_shared"
3391
3392 if test "$enableval" = yes; then
3393 ac_cv_use_shared='wxUSE_SHARED=yes'
3394 else
3395 ac_cv_use_shared='wxUSE_SHARED=no'
3396 fi
3397
3398else
3399
3400 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x ; then
3402 eval "DEFAULT_$LINE"
3403 else
3404 no_cache=1
3405 fi
3406
3407 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3408
3409fi;
3410
3411 eval "$ac_cv_use_shared"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_SHARED" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418echo "${ECHO_T}yes" >&6
3419 else
3420 echo "$as_me:$LINENO: result: no" >&5
3421echo "${ECHO_T}no" >&6
3422 fi
3423
3424
3425 enablestring=
3426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3427echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3428 no_cache=0
3429 # Check whether --enable-optimise or --disable-optimise was given.
3430if test "${enable_optimise+set}" = set; then
3431 enableval="$enable_optimise"
3432
3433 if test "$enableval" = yes; then
3434 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3435 else
3436 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3437 fi
3438
3439else
3440
3441 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x ; then
3443 eval "DEFAULT_$LINE"
3444 else
3445 no_cache=1
3446 fi
3447
3448 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3449
3450fi;
3451
3452 eval "$ac_cv_use_optimise"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_OPTIMISE" = yes; then
3458 echo "$as_me:$LINENO: result: yes" >&5
3459echo "${ECHO_T}yes" >&6
3460 else
3461 echo "$as_me:$LINENO: result: no" >&5
3462echo "${ECHO_T}no" >&6
3463 fi
3464
3465
3466 enablestring=
3467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3468echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3469 no_cache=0
3470 # Check whether --enable-debug or --disable-debug was given.
3471if test "${enable_debug+set}" = set; then
3472 enableval="$enable_debug"
3473
3474 if test "$enableval" = yes; then
3475 ac_cv_use_debug='wxUSE_DEBUG=yes'
3476 else
3477 ac_cv_use_debug='wxUSE_DEBUG=no'
3478 fi
3479
3480else
3481
3482 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x ; then
3484 eval "DEFAULT_$LINE"
3485 else
3486 no_cache=1
3487 fi
3488
3489 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3490
3491fi;
3492
3493 eval "$ac_cv_use_debug"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_DEBUG" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500echo "${ECHO_T}yes" >&6
3501 else
3502 echo "$as_me:$LINENO: result: no" >&5
3503echo "${ECHO_T}no" >&6
3504 fi
3505
3506
3507 enablestring=
3508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3509echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3510 no_cache=0
3511 # Check whether --enable-stl or --disable-stl was given.
3512if test "${enable_stl+set}" = set; then
3513 enableval="$enable_stl"
3514
3515 if test "$enableval" = yes; then
3516 ac_cv_use_stl='wxUSE_STL=yes'
3517 else
3518 ac_cv_use_stl='wxUSE_STL=no'
3519 fi
3520
3521else
3522
3523 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3531
3532fi;
3533
3534 eval "$ac_cv_use_stl"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3537 fi
3538
3539 if test "$wxUSE_STL" = yes; then
3540 echo "$as_me:$LINENO: result: yes" >&5
3541echo "${ECHO_T}yes" >&6
3542 else
3543 echo "$as_me:$LINENO: result: no" >&5
3544echo "${ECHO_T}no" >&6
3545 fi
3546
3547if test "$USE_OS2" = "1"; then
3548
3549 enablestring=
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3551echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3552 no_cache=0
3553 # Check whether --enable-omf or --disable-omf was given.
3554if test "${enable_omf+set}" = set; then
3555 enableval="$enable_omf"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_omf='wxUSE_OMF=yes'
3559 else
3560 ac_cv_use_omf='wxUSE_OMF=no'
3561 fi
3562
3563else
3564
3565 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3573
3574fi;
3575
3576 eval "$ac_cv_use_omf"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_OMF" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583echo "${ECHO_T}yes" >&6
3584 else
3585 echo "$as_me:$LINENO: result: no" >&5
3586echo "${ECHO_T}no" >&6
3587 fi
3588
3589fi
3590
3591if test "$wxUSE_DEBUG" = "yes"; then
3592 DEFAULT_wxUSE_DEBUG_FLAG=yes
3593 DEFAULT_wxUSE_DEBUG_INFO=yes
3594 BUILD=debug
3595elif test "$wxUSE_DEBUG" = "no"; then
3596 DEFAULT_wxUSE_DEBUG_FLAG=no
3597 DEFAULT_wxUSE_DEBUG_INFO=no
3598 BUILD=release
3599fi
3600
3601
3602 enablestring=
3603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3604echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3605 no_cache=0
3606 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3607if test "${enable_debug_flag+set}" = set; then
3608 enableval="$enable_debug_flag"
3609
3610 if test "$enableval" = yes; then
3611 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3612 else
3613 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3614 fi
3615
3616else
3617
3618 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x ; then
3620 eval "DEFAULT_$LINE"
3621 else
3622 no_cache=1
3623 fi
3624
3625 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3626
3627fi;
3628
3629 eval "$ac_cv_use_debug_flag"
3630 if test "$no_cache" != 1; then
3631 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3632 fi
3633
3634 if test "$wxUSE_DEBUG_FLAG" = yes; then
3635 echo "$as_me:$LINENO: result: yes" >&5
3636echo "${ECHO_T}yes" >&6
3637 else
3638 echo "$as_me:$LINENO: result: no" >&5
3639echo "${ECHO_T}no" >&6
3640 fi
3641
3642
3643 enablestring=
3644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3645echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3646 no_cache=0
3647 # Check whether --enable-debug_info or --disable-debug_info was given.
3648if test "${enable_debug_info+set}" = set; then
3649 enableval="$enable_debug_info"
3650
3651 if test "$enableval" = yes; then
3652 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3653 else
3654 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3655 fi
3656
3657else
3658
3659 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3660 if test "x$LINE" != x ; then
3661 eval "DEFAULT_$LINE"
3662 else
3663 no_cache=1
3664 fi
3665
3666 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3667
3668fi;
3669
3670 eval "$ac_cv_use_debug_info"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3673 fi
3674
3675 if test "$wxUSE_DEBUG_INFO" = yes; then
3676 echo "$as_me:$LINENO: result: yes" >&5
3677echo "${ECHO_T}yes" >&6
3678 else
3679 echo "$as_me:$LINENO: result: no" >&5
3680echo "${ECHO_T}no" >&6
3681 fi
3682
3683
3684 enablestring=
3685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3686echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3687 no_cache=0
3688 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3689if test "${enable_debug_gdb+set}" = set; then
3690 enableval="$enable_debug_gdb"
3691
3692 if test "$enableval" = yes; then
3693 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3694 else
3695 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3696 fi
3697
3698else
3699
3700 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3703 else
3704 no_cache=1
3705 fi
3706
3707 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3708
3709fi;
3710
3711 eval "$ac_cv_use_debug_gdb"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3714 fi
3715
3716 if test "$wxUSE_DEBUG_GDB" = yes; then
3717 echo "$as_me:$LINENO: result: yes" >&5
3718echo "${ECHO_T}yes" >&6
3719 else
3720 echo "$as_me:$LINENO: result: no" >&5
3721echo "${ECHO_T}no" >&6
3722 fi
3723
3724
3725 enablestring=
3726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3727echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3728 no_cache=0
3729 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3730if test "${enable_debug_cntxt+set}" = set; then
3731 enableval="$enable_debug_cntxt"
3732
3733 if test "$enableval" = yes; then
3734 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3735 else
3736 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3737 fi
3738
3739else
3740
3741 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3744 else
3745 no_cache=1
3746 fi
3747
3748 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3749
3750fi;
3751
3752 eval "$ac_cv_use_debug_cntxt"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3755 fi
3756
3757 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759echo "${ECHO_T}yes" >&6
3760 else
3761 echo "$as_me:$LINENO: result: no" >&5
3762echo "${ECHO_T}no" >&6
3763 fi
3764
3765
3766 enablestring=
3767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3768echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3769 no_cache=0
3770 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3771if test "${enable_mem_tracing+set}" = set; then
3772 enableval="$enable_mem_tracing"
3773
3774 if test "$enableval" = yes; then
3775 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3776 else
3777 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3778 fi
3779
3780else
3781
3782 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x ; then
3784 eval "DEFAULT_$LINE"
3785 else
3786 no_cache=1
3787 fi
3788
3789 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3790
3791fi;
3792
3793 eval "$ac_cv_use_mem_tracing"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3796 fi
3797
3798 if test "$wxUSE_MEM_TRACING" = yes; then
3799 echo "$as_me:$LINENO: result: yes" >&5
3800echo "${ECHO_T}yes" >&6
3801 else
3802 echo "$as_me:$LINENO: result: no" >&5
3803echo "${ECHO_T}no" >&6
3804 fi
3805
3806
3807 enablestring=
3808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3809echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3810 no_cache=0
3811 # Check whether --enable-profile or --disable-profile was given.
3812if test "${enable_profile+set}" = set; then
3813 enableval="$enable_profile"
3814
3815 if test "$enableval" = yes; then
3816 ac_cv_use_profile='wxUSE_PROFILE=yes'
3817 else
3818 ac_cv_use_profile='wxUSE_PROFILE=no'
3819 fi
3820
3821else
3822
3823 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x ; then
3825 eval "DEFAULT_$LINE"
3826 else
3827 no_cache=1
3828 fi
3829
3830 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3831
3832fi;
3833
3834 eval "$ac_cv_use_profile"
3835 if test "$no_cache" != 1; then
3836 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3837 fi
3838
3839 if test "$wxUSE_PROFILE" = yes; then
3840 echo "$as_me:$LINENO: result: yes" >&5
3841echo "${ECHO_T}yes" >&6
3842 else
3843 echo "$as_me:$LINENO: result: no" >&5
3844echo "${ECHO_T}no" >&6
3845 fi
3846
3847
3848 enablestring=
3849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3850echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3851 no_cache=0
3852 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3853if test "${enable_no_rtti+set}" = set; then
3854 enableval="$enable_no_rtti"
3855
3856 if test "$enableval" = yes; then
3857 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3858 else
3859 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3860 fi
3861
3862else
3863
3864 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x ; then
3866 eval "DEFAULT_$LINE"
3867 else
3868 no_cache=1
3869 fi
3870
3871 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3872
3873fi;
3874
3875 eval "$ac_cv_use_no_rtti"
3876 if test "$no_cache" != 1; then
3877 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3878 fi
3879
3880 if test "$wxUSE_NO_RTTI" = yes; then
3881 echo "$as_me:$LINENO: result: yes" >&5
3882echo "${ECHO_T}yes" >&6
3883 else
3884 echo "$as_me:$LINENO: result: no" >&5
3885echo "${ECHO_T}no" >&6
3886 fi
3887
3888
3889 enablestring=
3890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3891echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3892 no_cache=0
3893 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3894if test "${enable_no_exceptions+set}" = set; then
3895 enableval="$enable_no_exceptions"
3896
3897 if test "$enableval" = yes; then
3898 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3899 else
3900 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3901 fi
3902
3903else
3904
3905 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x ; then
3907 eval "DEFAULT_$LINE"
3908 else
3909 no_cache=1
3910 fi
3911
3912 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3913
3914fi;
3915
3916 eval "$ac_cv_use_no_exceptions"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3919 fi
3920
3921 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3922 echo "$as_me:$LINENO: result: yes" >&5
3923echo "${ECHO_T}yes" >&6
3924 else
3925 echo "$as_me:$LINENO: result: no" >&5
3926echo "${ECHO_T}no" >&6
3927 fi
3928
3929
3930 enablestring=
3931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3932echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3933 no_cache=0
3934 # Check whether --enable-permissive or --disable-permissive was given.
3935if test "${enable_permissive+set}" = set; then
3936 enableval="$enable_permissive"
3937
3938 if test "$enableval" = yes; then
3939 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3940 else
3941 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3942 fi
3943
3944else
3945
3946 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x ; then
3948 eval "DEFAULT_$LINE"
3949 else
3950 no_cache=1
3951 fi
3952
3953 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3954
3955fi;
3956
3957 eval "$ac_cv_use_permissive"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3960 fi
3961
3962 if test "$wxUSE_PERMISSIVE" = yes; then
3963 echo "$as_me:$LINENO: result: yes" >&5
3964echo "${ECHO_T}yes" >&6
3965 else
3966 echo "$as_me:$LINENO: result: no" >&5
3967echo "${ECHO_T}no" >&6
3968 fi
3969
3970
3971 enablestring=
3972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3973echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3974 no_cache=0
3975 # Check whether --enable-no_deps or --disable-no_deps was given.
3976if test "${enable_no_deps+set}" = set; then
3977 enableval="$enable_no_deps"
3978
3979 if test "$enableval" = yes; then
3980 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3981 else
3982 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3983 fi
3984
3985else
3986
3987 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3990 else
3991 no_cache=1
3992 fi
3993
3994 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3995
3996fi;
3997
3998 eval "$ac_cv_use_no_deps"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4001 fi
4002
4003 if test "$wxUSE_NO_DEPS" = yes; then
4004 echo "$as_me:$LINENO: result: yes" >&5
4005echo "${ECHO_T}yes" >&6
4006 else
4007 echo "$as_me:$LINENO: result: no" >&5
4008echo "${ECHO_T}no" >&6
4009 fi
4010
4011
4012
4013 enablestring=
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4015echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4016 no_cache=0
4017 # Check whether --enable-compat22 or --disable-compat22 was given.
4018if test "${enable_compat22+set}" = set; then
4019 enableval="$enable_compat22"
4020
4021 if test "$enableval" = yes; then
4022 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4023 else
4024 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4025 fi
4026
4027else
4028
4029 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4037
4038fi;
4039
4040 eval "$ac_cv_use_compat22"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4043 fi
4044
4045 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047echo "${ECHO_T}yes" >&6
4048 else
4049 echo "$as_me:$LINENO: result: no" >&5
4050echo "${ECHO_T}no" >&6
4051 fi
4052
4053
4054 enablestring=disable
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4056echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4057 no_cache=0
4058 # Check whether --enable-compat24 or --disable-compat24 was given.
4059if test "${enable_compat24+set}" = set; then
4060 enableval="$enable_compat24"
4061
4062 if test "$enableval" = yes; then
4063 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4064 else
4065 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4066 fi
4067
4068else
4069
4070 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4073 else
4074 no_cache=1
4075 fi
4076
4077 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4078
4079fi;
4080
4081 eval "$ac_cv_use_compat24"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4084 fi
4085
4086 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088echo "${ECHO_T}yes" >&6
4089 else
4090 echo "$as_me:$LINENO: result: no" >&5
4091echo "${ECHO_T}no" >&6
4092 fi
4093
4094
4095# Check whether --enable-rpath or --disable-rpath was given.
4096if test "${enable_rpath+set}" = set; then
4097 enableval="$enable_rpath"
4098 wxRPATH_DIR="$enableval"
4099fi;
4100
4101if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4102 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4103fi
4104
4105
4106
4107
4108 enablestring=
4109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4110echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4111 no_cache=0
4112 # Check whether --enable-intl or --disable-intl was given.
4113if test "${enable_intl+set}" = set; then
4114 enableval="$enable_intl"
4115
4116 if test "$enableval" = yes; then
4117 ac_cv_use_intl='wxUSE_INTL=yes'
4118 else
4119 ac_cv_use_intl='wxUSE_INTL=no'
4120 fi
4121
4122else
4123
4124 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x ; then
4126 eval "DEFAULT_$LINE"
4127 else
4128 no_cache=1
4129 fi
4130
4131 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4132
4133fi;
4134
4135 eval "$ac_cv_use_intl"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4138 fi
4139
4140 if test "$wxUSE_INTL" = yes; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142echo "${ECHO_T}yes" >&6
4143 else
4144 echo "$as_me:$LINENO: result: no" >&5
4145echo "${ECHO_T}no" >&6
4146 fi
4147
4148
4149 enablestring=
4150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4151echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4152 no_cache=0
4153 # Check whether --enable-config or --disable-config was given.
4154if test "${enable_config+set}" = set; then
4155 enableval="$enable_config"
4156
4157 if test "$enableval" = yes; then
4158 ac_cv_use_config='wxUSE_CONFIG=yes'
4159 else
4160 ac_cv_use_config='wxUSE_CONFIG=no'
4161 fi
4162
4163else
4164
4165 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x ; then
4167 eval "DEFAULT_$LINE"
4168 else
4169 no_cache=1
4170 fi
4171
4172 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4173
4174fi;
4175
4176 eval "$ac_cv_use_config"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4179 fi
4180
4181 if test "$wxUSE_CONFIG" = yes; then
4182 echo "$as_me:$LINENO: result: yes" >&5
4183echo "${ECHO_T}yes" >&6
4184 else
4185 echo "$as_me:$LINENO: result: no" >&5
4186echo "${ECHO_T}no" >&6
4187 fi
4188
4189
4190
4191 enablestring=
4192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4193echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4194 no_cache=0
4195 # Check whether --enable-protocols or --disable-protocols was given.
4196if test "${enable_protocols+set}" = set; then
4197 enableval="$enable_protocols"
4198
4199 if test "$enableval" = yes; then
4200 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4201 else
4202 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4203 fi
4204
4205else
4206
4207 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x ; then
4209 eval "DEFAULT_$LINE"
4210 else
4211 no_cache=1
4212 fi
4213
4214 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4215
4216fi;
4217
4218 eval "$ac_cv_use_protocols"
4219 if test "$no_cache" != 1; then
4220 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4221 fi
4222
4223 if test "$wxUSE_PROTOCOL" = yes; then
4224 echo "$as_me:$LINENO: result: yes" >&5
4225echo "${ECHO_T}yes" >&6
4226 else
4227 echo "$as_me:$LINENO: result: no" >&5
4228echo "${ECHO_T}no" >&6
4229 fi
4230
4231
4232 enablestring=
4233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4234echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4235 no_cache=0
4236 # Check whether --enable-ftp or --disable-ftp was given.
4237if test "${enable_ftp+set}" = set; then
4238 enableval="$enable_ftp"
4239
4240 if test "$enableval" = yes; then
4241 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4242 else
4243 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4244 fi
4245
4246else
4247
4248 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x ; then
4250 eval "DEFAULT_$LINE"
4251 else
4252 no_cache=1
4253 fi
4254
4255 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4256
4257fi;
4258
4259 eval "$ac_cv_use_ftp"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4262 fi
4263
4264 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4265 echo "$as_me:$LINENO: result: yes" >&5
4266echo "${ECHO_T}yes" >&6
4267 else
4268 echo "$as_me:$LINENO: result: no" >&5
4269echo "${ECHO_T}no" >&6
4270 fi
4271
4272
4273 enablestring=
4274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4275echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4276 no_cache=0
4277 # Check whether --enable-http or --disable-http was given.
4278if test "${enable_http+set}" = set; then
4279 enableval="$enable_http"
4280
4281 if test "$enableval" = yes; then
4282 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4283 else
4284 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4285 fi
4286
4287else
4288
4289 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x ; then
4291 eval "DEFAULT_$LINE"
4292 else
4293 no_cache=1
4294 fi
4295
4296 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4297
4298fi;
4299
4300 eval "$ac_cv_use_http"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4303 fi
4304
4305 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4306 echo "$as_me:$LINENO: result: yes" >&5
4307echo "${ECHO_T}yes" >&6
4308 else
4309 echo "$as_me:$LINENO: result: no" >&5
4310echo "${ECHO_T}no" >&6
4311 fi
4312
4313
4314 enablestring=
4315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4316echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4317 no_cache=0
4318 # Check whether --enable-fileproto or --disable-fileproto was given.
4319if test "${enable_fileproto+set}" = set; then
4320 enableval="$enable_fileproto"
4321
4322 if test "$enableval" = yes; then
4323 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4324 else
4325 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4326 fi
4327
4328else
4329
4330 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x ; then
4332 eval "DEFAULT_$LINE"
4333 else
4334 no_cache=1
4335 fi
4336
4337 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4338
4339fi;
4340
4341 eval "$ac_cv_use_fileproto"
4342 if test "$no_cache" != 1; then
4343 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4344 fi
4345
4346 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4347 echo "$as_me:$LINENO: result: yes" >&5
4348echo "${ECHO_T}yes" >&6
4349 else
4350 echo "$as_me:$LINENO: result: no" >&5
4351echo "${ECHO_T}no" >&6
4352 fi
4353
4354
4355 enablestring=
4356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4357echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4358 no_cache=0
4359 # Check whether --enable-sockets or --disable-sockets was given.
4360if test "${enable_sockets+set}" = set; then
4361 enableval="$enable_sockets"
4362
4363 if test "$enableval" = yes; then
4364 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4365 else
4366 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4367 fi
4368
4369else
4370
4371 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x ; then
4373 eval "DEFAULT_$LINE"
4374 else
4375 no_cache=1
4376 fi
4377
4378 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4379
4380fi;
4381
4382 eval "$ac_cv_use_sockets"
4383 if test "$no_cache" != 1; then
4384 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4385 fi
4386
4387 if test "$wxUSE_SOCKETS" = yes; then
4388 echo "$as_me:$LINENO: result: yes" >&5
4389echo "${ECHO_T}yes" >&6
4390 else
4391 echo "$as_me:$LINENO: result: no" >&5
4392echo "${ECHO_T}no" >&6
4393 fi
4394
4395
4396 enablestring=
4397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4398echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4399 no_cache=0
4400 # Check whether --enable-ole or --disable-ole was given.
4401if test "${enable_ole+set}" = set; then
4402 enableval="$enable_ole"
4403
4404 if test "$enableval" = yes; then
4405 ac_cv_use_ole='wxUSE_OLE=yes'
4406 else
4407 ac_cv_use_ole='wxUSE_OLE=no'
4408 fi
4409
4410else
4411
4412 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4413 if test "x$LINE" != x ; then
4414 eval "DEFAULT_$LINE"
4415 else
4416 no_cache=1
4417 fi
4418
4419 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4420
4421fi;
4422
4423 eval "$ac_cv_use_ole"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4426 fi
4427
4428 if test "$wxUSE_OLE" = yes; then
4429 echo "$as_me:$LINENO: result: yes" >&5
4430echo "${ECHO_T}yes" >&6
4431 else
4432 echo "$as_me:$LINENO: result: no" >&5
4433echo "${ECHO_T}no" >&6
4434 fi
4435
4436
4437 enablestring=
4438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4439echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4440 no_cache=0
4441 # Check whether --enable-dataobj or --disable-dataobj was given.
4442if test "${enable_dataobj+set}" = set; then
4443 enableval="$enable_dataobj"
4444
4445 if test "$enableval" = yes; then
4446 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4447 else
4448 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4449 fi
4450
4451else
4452
4453 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4454 if test "x$LINE" != x ; then
4455 eval "DEFAULT_$LINE"
4456 else
4457 no_cache=1
4458 fi
4459
4460 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4461
4462fi;
4463
4464 eval "$ac_cv_use_dataobj"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4467 fi
4468
4469 if test "$wxUSE_DATAOBJ" = yes; then
4470 echo "$as_me:$LINENO: result: yes" >&5
4471echo "${ECHO_T}yes" >&6
4472 else
4473 echo "$as_me:$LINENO: result: no" >&5
4474echo "${ECHO_T}no" >&6
4475 fi
4476
4477
4478
4479 enablestring=
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4481echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4482 no_cache=0
4483 # Check whether --enable-ipc or --disable-ipc was given.
4484if test "${enable_ipc+set}" = set; then
4485 enableval="$enable_ipc"
4486
4487 if test "$enableval" = yes; then
4488 ac_cv_use_ipc='wxUSE_IPC=yes'
4489 else
4490 ac_cv_use_ipc='wxUSE_IPC=no'
4491 fi
4492
4493else
4494
4495 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x ; then
4497 eval "DEFAULT_$LINE"
4498 else
4499 no_cache=1
4500 fi
4501
4502 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4503
4504fi;
4505
4506 eval "$ac_cv_use_ipc"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4509 fi
4510
4511 if test "$wxUSE_IPC" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513echo "${ECHO_T}yes" >&6
4514 else
4515 echo "$as_me:$LINENO: result: no" >&5
4516echo "${ECHO_T}no" >&6
4517 fi
4518
4519
4520
4521 enablestring=
4522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4523echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4524 no_cache=0
4525 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4526if test "${enable_apple_ieee+set}" = set; then
4527 enableval="$enable_apple_ieee"
4528
4529 if test "$enableval" = yes; then
4530 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4531 else
4532 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4533 fi
4534
4535else
4536
4537 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x ; then
4539 eval "DEFAULT_$LINE"
4540 else
4541 no_cache=1
4542 fi
4543
4544 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4545
4546fi;
4547
4548 eval "$ac_cv_use_apple_ieee"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test "$wxUSE_APPLE_IEEE" = yes; then
4554 echo "$as_me:$LINENO: result: yes" >&5
4555echo "${ECHO_T}yes" >&6
4556 else
4557 echo "$as_me:$LINENO: result: no" >&5
4558echo "${ECHO_T}no" >&6
4559 fi
4560
4561
4562 enablestring=
4563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4564echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4565 no_cache=0
4566 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4567if test "${enable_catch_segvs+set}" = set; then
4568 enableval="$enable_catch_segvs"
4569
4570 if test "$enableval" = yes; then
4571 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4572 else
4573 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4574 fi
4575
4576else
4577
4578 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x ; then
4580 eval "DEFAULT_$LINE"
4581 else
4582 no_cache=1
4583 fi
4584
4585 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4586
4587fi;
4588
4589 eval "$ac_cv_use_catch_segvs"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4592 fi
4593
4594 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4595 echo "$as_me:$LINENO: result: yes" >&5
4596echo "${ECHO_T}yes" >&6
4597 else
4598 echo "$as_me:$LINENO: result: no" >&5
4599echo "${ECHO_T}no" >&6
4600 fi
4601
4602
4603 enablestring=
4604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4605echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4606 no_cache=0
4607 # Check whether --enable-cmdline or --disable-cmdline was given.
4608if test "${enable_cmdline+set}" = set; then
4609 enableval="$enable_cmdline"
4610
4611 if test "$enableval" = yes; then
4612 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4613 else
4614 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4615 fi
4616
4617else
4618
4619 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x ; then
4621 eval "DEFAULT_$LINE"
4622 else
4623 no_cache=1
4624 fi
4625
4626 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4627
4628fi;
4629
4630 eval "$ac_cv_use_cmdline"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4633 fi
4634
4635 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4636 echo "$as_me:$LINENO: result: yes" >&5
4637echo "${ECHO_T}yes" >&6
4638 else
4639 echo "$as_me:$LINENO: result: no" >&5
4640echo "${ECHO_T}no" >&6
4641 fi
4642
4643
4644 enablestring=
4645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4646echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4647 no_cache=0
4648 # Check whether --enable-datetime or --disable-datetime was given.
4649if test "${enable_datetime+set}" = set; then
4650 enableval="$enable_datetime"
4651
4652 if test "$enableval" = yes; then
4653 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4654 else
4655 ac_cv_use_datetime='wxUSE_DATETIME=no'
4656 fi
4657
4658else
4659
4660 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x ; then
4662 eval "DEFAULT_$LINE"
4663 else
4664 no_cache=1
4665 fi
4666
4667 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4668
4669fi;
4670
4671 eval "$ac_cv_use_datetime"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4674 fi
4675
4676 if test "$wxUSE_DATETIME" = yes; then
4677 echo "$as_me:$LINENO: result: yes" >&5
4678echo "${ECHO_T}yes" >&6
4679 else
4680 echo "$as_me:$LINENO: result: no" >&5
4681echo "${ECHO_T}no" >&6
4682 fi
4683
4684
4685 enablestring=
4686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4687echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4688 no_cache=0
4689 # Check whether --enable-dialupman or --disable-dialupman was given.
4690if test "${enable_dialupman+set}" = set; then
4691 enableval="$enable_dialupman"
4692
4693 if test "$enableval" = yes; then
4694 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4695 else
4696 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4697 fi
4698
4699else
4700
4701 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x ; then
4703 eval "DEFAULT_$LINE"
4704 else
4705 no_cache=1
4706 fi
4707
4708 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4709
4710fi;
4711
4712 eval "$ac_cv_use_dialupman"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4715 fi
4716
4717 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4718 echo "$as_me:$LINENO: result: yes" >&5
4719echo "${ECHO_T}yes" >&6
4720 else
4721 echo "$as_me:$LINENO: result: no" >&5
4722echo "${ECHO_T}no" >&6
4723 fi
4724
4725
4726 enablestring=
4727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4728echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4729 no_cache=0
4730 # Check whether --enable-dynlib or --disable-dynlib was given.
4731if test "${enable_dynlib+set}" = set; then
4732 enableval="$enable_dynlib"
4733
4734 if test "$enableval" = yes; then
4735 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4736 else
4737 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4738 fi
4739
4740else
4741
4742 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4743 if test "x$LINE" != x ; then
4744 eval "DEFAULT_$LINE"
4745 else
4746 no_cache=1
4747 fi
4748
4749 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4750
4751fi;
4752
4753 eval "$ac_cv_use_dynlib"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4756 fi
4757
4758 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4759 echo "$as_me:$LINENO: result: yes" >&5
4760echo "${ECHO_T}yes" >&6
4761 else
4762 echo "$as_me:$LINENO: result: no" >&5
4763echo "${ECHO_T}no" >&6
4764 fi
4765
4766
4767 enablestring=
4768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4769echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4770 no_cache=0
4771 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4772if test "${enable_dynamicloader+set}" = set; then
4773 enableval="$enable_dynamicloader"
4774
4775 if test "$enableval" = yes; then
4776 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4777 else
4778 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4779 fi
4780
4781else
4782
4783 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x ; then
4785 eval "DEFAULT_$LINE"
4786 else
4787 no_cache=1
4788 fi
4789
4790 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4791
4792fi;
4793
4794 eval "$ac_cv_use_dynamicloader"
4795 if test "$no_cache" != 1; then
4796 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4797 fi
4798
4799 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4800 echo "$as_me:$LINENO: result: yes" >&5
4801echo "${ECHO_T}yes" >&6
4802 else
4803 echo "$as_me:$LINENO: result: no" >&5
4804echo "${ECHO_T}no" >&6
4805 fi
4806
4807
4808 enablestring=
4809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4810echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4811 no_cache=0
4812 # Check whether --enable-exceptions or --disable-exceptions was given.
4813if test "${enable_exceptions+set}" = set; then
4814 enableval="$enable_exceptions"
4815
4816 if test "$enableval" = yes; then
4817 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4818 else
4819 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4820 fi
4821
4822else
4823
4824 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x ; then
4826 eval "DEFAULT_$LINE"
4827 else
4828 no_cache=1
4829 fi
4830
4831 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4832
4833fi;
4834
4835 eval "$ac_cv_use_exceptions"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4838 fi
4839
4840 if test "$wxUSE_EXCEPTIONS" = yes; then
4841 echo "$as_me:$LINENO: result: yes" >&5
4842echo "${ECHO_T}yes" >&6
4843 else
4844 echo "$as_me:$LINENO: result: no" >&5
4845echo "${ECHO_T}no" >&6
4846 fi
4847
4848
4849 enablestring=
4850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4851echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4852 no_cache=0
4853 # Check whether --enable-ffile or --disable-ffile was given.
4854if test "${enable_ffile+set}" = set; then
4855 enableval="$enable_ffile"
4856
4857 if test "$enableval" = yes; then
4858 ac_cv_use_ffile='wxUSE_FFILE=yes'
4859 else
4860 ac_cv_use_ffile='wxUSE_FFILE=no'
4861 fi
4862
4863else
4864
4865 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x ; then
4867 eval "DEFAULT_$LINE"
4868 else
4869 no_cache=1
4870 fi
4871
4872 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4873
4874fi;
4875
4876 eval "$ac_cv_use_ffile"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4879 fi
4880
4881 if test "$wxUSE_FFILE" = yes; then
4882 echo "$as_me:$LINENO: result: yes" >&5
4883echo "${ECHO_T}yes" >&6
4884 else
4885 echo "$as_me:$LINENO: result: no" >&5
4886echo "${ECHO_T}no" >&6
4887 fi
4888
4889
4890 enablestring=
4891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4892echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4893 no_cache=0
4894 # Check whether --enable-file or --disable-file was given.
4895if test "${enable_file+set}" = set; then
4896 enableval="$enable_file"
4897
4898 if test "$enableval" = yes; then
4899 ac_cv_use_file='wxUSE_FILE=yes'
4900 else
4901 ac_cv_use_file='wxUSE_FILE=no'
4902 fi
4903
4904else
4905
4906 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4909 else
4910 no_cache=1
4911 fi
4912
4913 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4914
4915fi;
4916
4917 eval "$ac_cv_use_file"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4920 fi
4921
4922 if test "$wxUSE_FILE" = yes; then
4923 echo "$as_me:$LINENO: result: yes" >&5
4924echo "${ECHO_T}yes" >&6
4925 else
4926 echo "$as_me:$LINENO: result: no" >&5
4927echo "${ECHO_T}no" >&6
4928 fi
4929
4930
4931 enablestring=
4932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4933echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4934 no_cache=0
4935 # Check whether --enable-filesystem or --disable-filesystem was given.
4936if test "${enable_filesystem+set}" = set; then
4937 enableval="$enable_filesystem"
4938
4939 if test "$enableval" = yes; then
4940 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4941 else
4942 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4943 fi
4944
4945else
4946
4947 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x ; then
4949 eval "DEFAULT_$LINE"
4950 else
4951 no_cache=1
4952 fi
4953
4954 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4955
4956fi;
4957
4958 eval "$ac_cv_use_filesystem"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4961 fi
4962
4963 if test "$wxUSE_FILESYSTEM" = yes; then
4964 echo "$as_me:$LINENO: result: yes" >&5
4965echo "${ECHO_T}yes" >&6
4966 else
4967 echo "$as_me:$LINENO: result: no" >&5
4968echo "${ECHO_T}no" >&6
4969 fi
4970
4971
4972 enablestring=
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4974echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4975 no_cache=0
4976 # Check whether --enable-fontmap or --disable-fontmap was given.
4977if test "${enable_fontmap+set}" = set; then
4978 enableval="$enable_fontmap"
4979
4980 if test "$enableval" = yes; then
4981 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4982 else
4983 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4984 fi
4985
4986else
4987
4988 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x ; then
4990 eval "DEFAULT_$LINE"
4991 else
4992 no_cache=1
4993 fi
4994
4995 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4996
4997fi;
4998
4999 eval "$ac_cv_use_fontmap"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5002 fi
5003
5004 if test "$wxUSE_FONTMAP" = yes; then
5005 echo "$as_me:$LINENO: result: yes" >&5
5006echo "${ECHO_T}yes" >&6
5007 else
5008 echo "$as_me:$LINENO: result: no" >&5
5009echo "${ECHO_T}no" >&6
5010 fi
5011
5012
5013 enablestring=
5014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5015echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5016 no_cache=0
5017 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5018if test "${enable_fs_inet+set}" = set; then
5019 enableval="$enable_fs_inet"
5020
5021 if test "$enableval" = yes; then
5022 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5023 else
5024 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5025 fi
5026
5027else
5028
5029 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x ; then
5031 eval "DEFAULT_$LINE"
5032 else
5033 no_cache=1
5034 fi
5035
5036 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5037
5038fi;
5039
5040 eval "$ac_cv_use_fs_inet"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5043 fi
5044
5045 if test "$wxUSE_FS_INET" = yes; then
5046 echo "$as_me:$LINENO: result: yes" >&5
5047echo "${ECHO_T}yes" >&6
5048 else
5049 echo "$as_me:$LINENO: result: no" >&5
5050echo "${ECHO_T}no" >&6
5051 fi
5052
5053
5054 enablestring=
5055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5056echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5057 no_cache=0
5058 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5059if test "${enable_fs_zip+set}" = set; then
5060 enableval="$enable_fs_zip"
5061
5062 if test "$enableval" = yes; then
5063 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5064 else
5065 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5066 fi
5067
5068else
5069
5070 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5071 if test "x$LINE" != x ; then
5072 eval "DEFAULT_$LINE"
5073 else
5074 no_cache=1
5075 fi
5076
5077 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5078
5079fi;
5080
5081 eval "$ac_cv_use_fs_zip"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5084 fi
5085
5086 if test "$wxUSE_FS_ZIP" = yes; then
5087 echo "$as_me:$LINENO: result: yes" >&5
5088echo "${ECHO_T}yes" >&6
5089 else
5090 echo "$as_me:$LINENO: result: no" >&5
5091echo "${ECHO_T}no" >&6
5092 fi
5093
5094
5095 enablestring=
5096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5097echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5098 no_cache=0
5099 # Check whether --enable-geometry or --disable-geometry was given.
5100if test "${enable_geometry+set}" = set; then
5101 enableval="$enable_geometry"
5102
5103 if test "$enableval" = yes; then
5104 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5105 else
5106 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5107 fi
5108
5109else
5110
5111 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x ; then
5113 eval "DEFAULT_$LINE"
5114 else
5115 no_cache=1
5116 fi
5117
5118 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5119
5120fi;
5121
5122 eval "$ac_cv_use_geometry"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5125 fi
5126
5127 if test "$wxUSE_GEOMETRY" = yes; then
5128 echo "$as_me:$LINENO: result: yes" >&5
5129echo "${ECHO_T}yes" >&6
5130 else
5131 echo "$as_me:$LINENO: result: no" >&5
5132echo "${ECHO_T}no" >&6
5133 fi
5134
5135
5136 enablestring=
5137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5138echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5139 no_cache=0
5140 # Check whether --enable-log or --disable-log was given.
5141if test "${enable_log+set}" = set; then
5142 enableval="$enable_log"
5143
5144 if test "$enableval" = yes; then
5145 ac_cv_use_log='wxUSE_LOG=yes'
5146 else
5147 ac_cv_use_log='wxUSE_LOG=no'
5148 fi
5149
5150else
5151
5152 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x ; then
5154 eval "DEFAULT_$LINE"
5155 else
5156 no_cache=1
5157 fi
5158
5159 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5160
5161fi;
5162
5163 eval "$ac_cv_use_log"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5166 fi
5167
5168 if test "$wxUSE_LOG" = yes; then
5169 echo "$as_me:$LINENO: result: yes" >&5
5170echo "${ECHO_T}yes" >&6
5171 else
5172 echo "$as_me:$LINENO: result: no" >&5
5173echo "${ECHO_T}no" >&6
5174 fi
5175
5176
5177 enablestring=
5178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5179echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5180 no_cache=0
5181 # Check whether --enable-longlong or --disable-longlong was given.
5182if test "${enable_longlong+set}" = set; then
5183 enableval="$enable_longlong"
5184
5185 if test "$enableval" = yes; then
5186 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5187 else
5188 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5189 fi
5190
5191else
5192
5193 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x ; then
5195 eval "DEFAULT_$LINE"
5196 else
5197 no_cache=1
5198 fi
5199
5200 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5201
5202fi;
5203
5204 eval "$ac_cv_use_longlong"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5207 fi
5208
5209 if test "$wxUSE_LONGLONG" = yes; then
5210 echo "$as_me:$LINENO: result: yes" >&5
5211echo "${ECHO_T}yes" >&6
5212 else
5213 echo "$as_me:$LINENO: result: no" >&5
5214echo "${ECHO_T}no" >&6
5215 fi
5216
5217
5218 enablestring=
5219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5220echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5221 no_cache=0
5222 # Check whether --enable-mimetype or --disable-mimetype was given.
5223if test "${enable_mimetype+set}" = set; then
5224 enableval="$enable_mimetype"
5225
5226 if test "$enableval" = yes; then
5227 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5228 else
5229 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5230 fi
5231
5232else
5233
5234 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x ; then
5236 eval "DEFAULT_$LINE"
5237 else
5238 no_cache=1
5239 fi
5240
5241 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5242
5243fi;
5244
5245 eval "$ac_cv_use_mimetype"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5248 fi
5249
5250 if test "$wxUSE_MIMETYPE" = yes; then
5251 echo "$as_me:$LINENO: result: yes" >&5
5252echo "${ECHO_T}yes" >&6
5253 else
5254 echo "$as_me:$LINENO: result: no" >&5
5255echo "${ECHO_T}no" >&6
5256 fi
5257
5258
5259 enablestring=
5260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5261echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5262 no_cache=0
5263 # Check whether --enable-mslu or --disable-mslu was given.
5264if test "${enable_mslu+set}" = set; then
5265 enableval="$enable_mslu"
5266
5267 if test "$enableval" = yes; then
5268 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5269 else
5270 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5271 fi
5272
5273else
5274
5275 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x ; then
5277 eval "DEFAULT_$LINE"
5278 else
5279 no_cache=1
5280 fi
5281
5282 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5283
5284fi;
5285
5286 eval "$ac_cv_use_mslu"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5289 fi
5290
5291 if test "$wxUSE_UNICODE_MSLU" = yes; then
5292 echo "$as_me:$LINENO: result: yes" >&5
5293echo "${ECHO_T}yes" >&6
5294 else
5295 echo "$as_me:$LINENO: result: no" >&5
5296echo "${ECHO_T}no" >&6
5297 fi
5298
5299
5300 enablestring=
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5302echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5303 no_cache=0
5304 # Check whether --enable-snglinst or --disable-snglinst was given.
5305if test "${enable_snglinst+set}" = set; then
5306 enableval="$enable_snglinst"
5307
5308 if test "$enableval" = yes; then
5309 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5310 else
5311 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5312 fi
5313
5314else
5315
5316 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5324
5325fi;
5326
5327 eval "$ac_cv_use_snglinst"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5330 fi
5331
5332 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334echo "${ECHO_T}yes" >&6
5335 else
5336 echo "$as_me:$LINENO: result: no" >&5
5337echo "${ECHO_T}no" >&6
5338 fi
5339
5340
5341 enablestring=
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5343echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5344 no_cache=0
5345 # Check whether --enable-streams or --disable-streams was given.
5346if test "${enable_streams+set}" = set; then
5347 enableval="$enable_streams"
5348
5349 if test "$enableval" = yes; then
5350 ac_cv_use_streams='wxUSE_STREAMS=yes'
5351 else
5352 ac_cv_use_streams='wxUSE_STREAMS=no'
5353 fi
5354
5355else
5356
5357 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5360 else
5361 no_cache=1
5362 fi
5363
5364 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5365
5366fi;
5367
5368 eval "$ac_cv_use_streams"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5371 fi
5372
5373 if test "$wxUSE_STREAMS" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375echo "${ECHO_T}yes" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378echo "${ECHO_T}no" >&6
5379 fi
5380
5381
5382 enablestring=
5383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5384echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5385 no_cache=0
5386 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5387if test "${enable_std_iostreams+set}" = set; then
5388 enableval="$enable_std_iostreams"
5389
5390 if test "$enableval" = yes; then
5391 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5392 else
5393 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5394 fi
5395
5396else
5397
5398 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5401 else
5402 no_cache=1
5403 fi
5404
5405 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5406
5407fi;
5408
5409 eval "$ac_cv_use_std_iostreams"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5412 fi
5413
5414 if test "$wxUSE_STD_IOSTREAM" = yes; then
5415 echo "$as_me:$LINENO: result: yes" >&5
5416echo "${ECHO_T}yes" >&6
5417 else
5418 echo "$as_me:$LINENO: result: no" >&5
5419echo "${ECHO_T}no" >&6
5420 fi
5421
5422
5423 enablestring=
5424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5425echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5426 no_cache=0
5427 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5428if test "${enable_stopwatch+set}" = set; then
5429 enableval="$enable_stopwatch"
5430
5431 if test "$enableval" = yes; then
5432 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5433 else
5434 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5435 fi
5436
5437else
5438
5439 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x ; then
5441 eval "DEFAULT_$LINE"
5442 else
5443 no_cache=1
5444 fi
5445
5446 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5447
5448fi;
5449
5450 eval "$ac_cv_use_stopwatch"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5453 fi
5454
5455 if test "$wxUSE_STOPWATCH" = yes; then
5456 echo "$as_me:$LINENO: result: yes" >&5
5457echo "${ECHO_T}yes" >&6
5458 else
5459 echo "$as_me:$LINENO: result: no" >&5
5460echo "${ECHO_T}no" >&6
5461 fi
5462
5463
5464 enablestring=
5465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5466echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5467 no_cache=0
5468 # Check whether --enable-system_options or --disable-system_options was given.
5469if test "${enable_system_options+set}" = set; then
5470 enableval="$enable_system_options"
5471
5472 if test "$enableval" = yes; then
5473 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5474 else
5475 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5476 fi
5477
5478else
5479
5480 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x ; then
5482 eval "DEFAULT_$LINE"
5483 else
5484 no_cache=1
5485 fi
5486
5487 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5488
5489fi;
5490
5491 eval "$ac_cv_use_system_options"
5492 if test "$no_cache" != 1; then
5493 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5494 fi
5495
5496 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5497 echo "$as_me:$LINENO: result: yes" >&5
5498echo "${ECHO_T}yes" >&6
5499 else
5500 echo "$as_me:$LINENO: result: no" >&5
5501echo "${ECHO_T}no" >&6
5502 fi
5503
5504
5505 enablestring=
5506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5507echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5508 no_cache=0
5509 # Check whether --enable-textbuf or --disable-textbuf was given.
5510if test "${enable_textbuf+set}" = set; then
5511 enableval="$enable_textbuf"
5512
5513 if test "$enableval" = yes; then
5514 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5515 else
5516 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5517 fi
5518
5519else
5520
5521 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x ; then
5523 eval "DEFAULT_$LINE"
5524 else
5525 no_cache=1
5526 fi
5527
5528 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5529
5530fi;
5531
5532 eval "$ac_cv_use_textbuf"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5535 fi
5536
5537 if test "$wxUSE_TEXTBUFFER" = yes; then
5538 echo "$as_me:$LINENO: result: yes" >&5
5539echo "${ECHO_T}yes" >&6
5540 else
5541 echo "$as_me:$LINENO: result: no" >&5
5542echo "${ECHO_T}no" >&6
5543 fi
5544
5545
5546 enablestring=
5547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5548echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5549 no_cache=0
5550 # Check whether --enable-textfile or --disable-textfile was given.
5551if test "${enable_textfile+set}" = set; then
5552 enableval="$enable_textfile"
5553
5554 if test "$enableval" = yes; then
5555 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5556 else
5557 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5558 fi
5559
5560else
5561
5562 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x ; then
5564 eval "DEFAULT_$LINE"
5565 else
5566 no_cache=1
5567 fi
5568
5569 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5570
5571fi;
5572
5573 eval "$ac_cv_use_textfile"
5574 if test "$no_cache" != 1; then
5575 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5576 fi
5577
5578 if test "$wxUSE_TEXTFILE" = yes; then
5579 echo "$as_me:$LINENO: result: yes" >&5
5580echo "${ECHO_T}yes" >&6
5581 else
5582 echo "$as_me:$LINENO: result: no" >&5
5583echo "${ECHO_T}no" >&6
5584 fi
5585
5586
5587 enablestring=
5588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5589echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5590 no_cache=0
5591 # Check whether --enable-timer or --disable-timer was given.
5592if test "${enable_timer+set}" = set; then
5593 enableval="$enable_timer"
5594
5595 if test "$enableval" = yes; then
5596 ac_cv_use_timer='wxUSE_TIMER=yes'
5597 else
5598 ac_cv_use_timer='wxUSE_TIMER=no'
5599 fi
5600
5601else
5602
5603 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5604 if test "x$LINE" != x ; then
5605 eval "DEFAULT_$LINE"
5606 else
5607 no_cache=1
5608 fi
5609
5610 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5611
5612fi;
5613
5614 eval "$ac_cv_use_timer"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5617 fi
5618
5619 if test "$wxUSE_TIMER" = yes; then
5620 echo "$as_me:$LINENO: result: yes" >&5
5621echo "${ECHO_T}yes" >&6
5622 else
5623 echo "$as_me:$LINENO: result: no" >&5
5624echo "${ECHO_T}no" >&6
5625 fi
5626
5627
5628 enablestring=
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5630echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5631 no_cache=0
5632 # Check whether --enable-unicode or --disable-unicode was given.
5633if test "${enable_unicode+set}" = set; then
5634 enableval="$enable_unicode"
5635
5636 if test "$enableval" = yes; then
5637 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5638 else
5639 ac_cv_use_unicode='wxUSE_UNICODE=no'
5640 fi
5641
5642else
5643
5644 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5647 else
5648 no_cache=1
5649 fi
5650
5651 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5652
5653fi;
5654
5655 eval "$ac_cv_use_unicode"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5658 fi
5659
5660 if test "$wxUSE_UNICODE" = yes; then
5661 echo "$as_me:$LINENO: result: yes" >&5
5662echo "${ECHO_T}yes" >&6
5663 else
5664 echo "$as_me:$LINENO: result: no" >&5
5665echo "${ECHO_T}no" >&6
5666 fi
5667
5668
5669 enablestring=
5670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5671echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5672 no_cache=0
5673 # Check whether --enable-sound or --disable-sound was given.
5674if test "${enable_sound+set}" = set; then
5675 enableval="$enable_sound"
5676
5677 if test "$enableval" = yes; then
5678 ac_cv_use_sound='wxUSE_SOUND=yes'
5679 else
5680 ac_cv_use_sound='wxUSE_SOUND=no'
5681 fi
5682
5683else
5684
5685 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x ; then
5687 eval "DEFAULT_$LINE"
5688 else
5689 no_cache=1
5690 fi
5691
5692 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5693
5694fi;
5695
5696 eval "$ac_cv_use_sound"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5699 fi
5700
5701 if test "$wxUSE_SOUND" = yes; then
5702 echo "$as_me:$LINENO: result: yes" >&5
5703echo "${ECHO_T}yes" >&6
5704 else
5705 echo "$as_me:$LINENO: result: no" >&5
5706echo "${ECHO_T}no" >&6
5707 fi
5708
5709
5710 enablestring=
5711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5712echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5713 no_cache=0
5714 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5715if test "${enable_wxprintfv+set}" = set; then
5716 enableval="$enable_wxprintfv"
5717
5718 if test "$enableval" = yes; then
5719 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5720 else
5721 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5722 fi
5723
5724else
5725
5726 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x ; then
5728 eval "DEFAULT_$LINE"
5729 else
5730 no_cache=1
5731 fi
5732
5733 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5734
5735fi;
5736
5737 eval "$ac_cv_use_wxprintfv"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5740 fi
5741
5742 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5743 echo "$as_me:$LINENO: result: yes" >&5
5744echo "${ECHO_T}yes" >&6
5745 else
5746 echo "$as_me:$LINENO: result: no" >&5
5747echo "${ECHO_T}no" >&6
5748 fi
5749
5750
5751 enablestring=
5752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5753echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5754 no_cache=0
5755 # Check whether --enable-zipstream or --disable-zipstream was given.
5756if test "${enable_zipstream+set}" = set; then
5757 enableval="$enable_zipstream"
5758
5759 if test "$enableval" = yes; then
5760 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5761 else
5762 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5763 fi
5764
5765else
5766
5767 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x ; then
5769 eval "DEFAULT_$LINE"
5770 else
5771 no_cache=1
5772 fi
5773
5774 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5775
5776fi;
5777
5778 eval "$ac_cv_use_zipstream"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5781 fi
5782
5783 if test "$wxUSE_ZIPSTREAM" = yes; then
5784 echo "$as_me:$LINENO: result: yes" >&5
5785echo "${ECHO_T}yes" >&6
5786 else
5787 echo "$as_me:$LINENO: result: no" >&5
5788echo "${ECHO_T}no" >&6
5789 fi
5790
5791
5792 enablestring=
5793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5794echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5795 no_cache=0
5796 # Check whether --enable-gzstream or --disable-gzstream was given.
5797if test "${enable_gzstream+set}" = set; then
5798 enableval="$enable_gzstream"
5799
5800 if test "$enableval" = yes; then
5801 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5802 else
5803 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5804 fi
5805
5806else
5807
5808 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5809 if test "x$LINE" != x ; then
5810 eval "DEFAULT_$LINE"
5811 else
5812 no_cache=1
5813 fi
5814
5815 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5816
5817fi;
5818
5819 eval "$ac_cv_use_gzstream"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5822 fi
5823
5824 if test "$wxUSE_GZSTREAM" = yes; then
5825 echo "$as_me:$LINENO: result: yes" >&5
5826echo "${ECHO_T}yes" >&6
5827 else
5828 echo "$as_me:$LINENO: result: no" >&5
5829echo "${ECHO_T}no" >&6
5830 fi
5831
5832
5833
5834 enablestring=
5835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5836echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5837 no_cache=0
5838 # Check whether --enable-url or --disable-url was given.
5839if test "${enable_url+set}" = set; then
5840 enableval="$enable_url"
5841
5842 if test "$enableval" = yes; then
5843 ac_cv_use_url='wxUSE_URL=yes'
5844 else
5845 ac_cv_use_url='wxUSE_URL=no'
5846 fi
5847
5848else
5849
5850 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x ; then
5852 eval "DEFAULT_$LINE"
5853 else
5854 no_cache=1
5855 fi
5856
5857 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5858
5859fi;
5860
5861 eval "$ac_cv_use_url"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test "$wxUSE_URL" = yes; then
5867 echo "$as_me:$LINENO: result: yes" >&5
5868echo "${ECHO_T}yes" >&6
5869 else
5870 echo "$as_me:$LINENO: result: no" >&5
5871echo "${ECHO_T}no" >&6
5872 fi
5873
5874
5875 enablestring=
5876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5877echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5878 no_cache=0
5879 # Check whether --enable-protocol or --disable-protocol was given.
5880if test "${enable_protocol+set}" = set; then
5881 enableval="$enable_protocol"
5882
5883 if test "$enableval" = yes; then
5884 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5885 else
5886 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5887 fi
5888
5889else
5890
5891 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5894 else
5895 no_cache=1
5896 fi
5897
5898 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5899
5900fi;
5901
5902 eval "$ac_cv_use_protocol"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5905 fi
5906
5907 if test "$wxUSE_PROTOCOL" = yes; then
5908 echo "$as_me:$LINENO: result: yes" >&5
5909echo "${ECHO_T}yes" >&6
5910 else
5911 echo "$as_me:$LINENO: result: no" >&5
5912echo "${ECHO_T}no" >&6
5913 fi
5914
5915
5916 enablestring=
5917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5918echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5919 no_cache=0
5920 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5921if test "${enable_protocol_http+set}" = set; then
5922 enableval="$enable_protocol_http"
5923
5924 if test "$enableval" = yes; then
5925 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5926 else
5927 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5928 fi
5929
5930else
5931
5932 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x ; then
5934 eval "DEFAULT_$LINE"
5935 else
5936 no_cache=1
5937 fi
5938
5939 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5940
5941fi;
5942
5943 eval "$ac_cv_use_protocol_http"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5946 fi
5947
5948 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5949 echo "$as_me:$LINENO: result: yes" >&5
5950echo "${ECHO_T}yes" >&6
5951 else
5952 echo "$as_me:$LINENO: result: no" >&5
5953echo "${ECHO_T}no" >&6
5954 fi
5955
5956
5957 enablestring=
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5959echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5960 no_cache=0
5961 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5962if test "${enable_protocol_ftp+set}" = set; then
5963 enableval="$enable_protocol_ftp"
5964
5965 if test "$enableval" = yes; then
5966 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5967 else
5968 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5969 fi
5970
5971else
5972
5973 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x ; then
5975 eval "DEFAULT_$LINE"
5976 else
5977 no_cache=1
5978 fi
5979
5980 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5981
5982fi;
5983
5984 eval "$ac_cv_use_protocol_ftp"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5987 fi
5988
5989 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991echo "${ECHO_T}yes" >&6
5992 else
5993 echo "$as_me:$LINENO: result: no" >&5
5994echo "${ECHO_T}no" >&6
5995 fi
5996
5997
5998 enablestring=
5999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6000echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6001 no_cache=0
6002 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6003if test "${enable_protocol_file+set}" = set; then
6004 enableval="$enable_protocol_file"
6005
6006 if test "$enableval" = yes; then
6007 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6008 else
6009 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6010 fi
6011
6012else
6013
6014 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x ; then
6016 eval "DEFAULT_$LINE"
6017 else
6018 no_cache=1
6019 fi
6020
6021 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6022
6023fi;
6024
6025 eval "$ac_cv_use_protocol_file"
6026 if test "$no_cache" != 1; then
6027 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6028 fi
6029
6030 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6031 echo "$as_me:$LINENO: result: yes" >&5
6032echo "${ECHO_T}yes" >&6
6033 else
6034 echo "$as_me:$LINENO: result: no" >&5
6035echo "${ECHO_T}no" >&6
6036 fi
6037
6038
6039
6040
6041
6042 enablestring=
6043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6044echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6045 no_cache=0
6046 # Check whether --enable-threads or --disable-threads was given.
6047if test "${enable_threads+set}" = set; then
6048 enableval="$enable_threads"
6049
6050 if test "$enableval" = yes; then
6051 ac_cv_use_threads='wxUSE_THREADS=yes'
6052 else
6053 ac_cv_use_threads='wxUSE_THREADS=no'
6054 fi
6055
6056else
6057
6058 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6059 if test "x$LINE" != x ; then
6060 eval "DEFAULT_$LINE"
6061 else
6062 no_cache=1
6063 fi
6064
6065 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6066
6067fi;
6068
6069 eval "$ac_cv_use_threads"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test "$wxUSE_THREADS" = yes; then
6075 echo "$as_me:$LINENO: result: yes" >&5
6076echo "${ECHO_T}yes" >&6
6077 else
6078 echo "$as_me:$LINENO: result: no" >&5
6079echo "${ECHO_T}no" >&6
6080 fi
6081
6082
6083if test "$wxUSE_GUI" = "yes"; then
6084
6085
6086
6087 enablestring=
6088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6089echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6090 no_cache=0
6091 # Check whether --enable-docview or --disable-docview was given.
6092if test "${enable_docview+set}" = set; then
6093 enableval="$enable_docview"
6094
6095 if test "$enableval" = yes; then
6096 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6097 else
6098 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6099 fi
6100
6101else
6102
6103 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6104 if test "x$LINE" != x ; then
6105 eval "DEFAULT_$LINE"
6106 else
6107 no_cache=1
6108 fi
6109
6110 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6111
6112fi;
6113
6114 eval "$ac_cv_use_docview"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6117 fi
6118
6119 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6120 echo "$as_me:$LINENO: result: yes" >&5
6121echo "${ECHO_T}yes" >&6
6122 else
6123 echo "$as_me:$LINENO: result: no" >&5
6124echo "${ECHO_T}no" >&6
6125 fi
6126
6127
6128 enablestring=
6129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6130echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6131 no_cache=0
6132 # Check whether --enable-help or --disable-help was given.
6133if test "${enable_help+set}" = set; then
6134 enableval="$enable_help"
6135
6136 if test "$enableval" = yes; then
6137 ac_cv_use_help='wxUSE_HELP=yes'
6138 else
6139 ac_cv_use_help='wxUSE_HELP=no'
6140 fi
6141
6142else
6143
6144 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x ; then
6146 eval "DEFAULT_$LINE"
6147 else
6148 no_cache=1
6149 fi
6150
6151 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6152
6153fi;
6154
6155 eval "$ac_cv_use_help"
6156 if test "$no_cache" != 1; then
6157 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6158 fi
6159
6160 if test "$wxUSE_HELP" = yes; then
6161 echo "$as_me:$LINENO: result: yes" >&5
6162echo "${ECHO_T}yes" >&6
6163 else
6164 echo "$as_me:$LINENO: result: no" >&5
6165echo "${ECHO_T}no" >&6
6166 fi
6167
6168
6169 enablestring=
6170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6171echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6172 no_cache=0
6173 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6174if test "${enable_mshtmlhelp+set}" = set; then
6175 enableval="$enable_mshtmlhelp"
6176
6177 if test "$enableval" = yes; then
6178 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6179 else
6180 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6181 fi
6182
6183else
6184
6185 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6186 if test "x$LINE" != x ; then
6187 eval "DEFAULT_$LINE"
6188 else
6189 no_cache=1
6190 fi
6191
6192 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6193
6194fi;
6195
6196 eval "$ac_cv_use_mshtmlhelp"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6199 fi
6200
6201 if test "$wxUSE_MS_HTML_HELP" = yes; then
6202 echo "$as_me:$LINENO: result: yes" >&5
6203echo "${ECHO_T}yes" >&6
6204 else
6205 echo "$as_me:$LINENO: result: no" >&5
6206echo "${ECHO_T}no" >&6
6207 fi
6208
6209
6210 enablestring=
6211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6212echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6213 no_cache=0
6214 # Check whether --enable-html or --disable-html was given.
6215if test "${enable_html+set}" = set; then
6216 enableval="$enable_html"
6217
6218 if test "$enableval" = yes; then
6219 ac_cv_use_html='wxUSE_HTML=yes'
6220 else
6221 ac_cv_use_html='wxUSE_HTML=no'
6222 fi
6223
6224else
6225
6226 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6227 if test "x$LINE" != x ; then
6228 eval "DEFAULT_$LINE"
6229 else
6230 no_cache=1
6231 fi
6232
6233 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6234
6235fi;
6236
6237 eval "$ac_cv_use_html"
6238 if test "$no_cache" != 1; then
6239 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6240 fi
6241
6242 if test "$wxUSE_HTML" = yes; then
6243 echo "$as_me:$LINENO: result: yes" >&5
6244echo "${ECHO_T}yes" >&6
6245 else
6246 echo "$as_me:$LINENO: result: no" >&5
6247echo "${ECHO_T}no" >&6
6248 fi
6249
6250
6251 enablestring=
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6253echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6254 no_cache=0
6255 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6256if test "${enable_htmlhelp+set}" = set; then
6257 enableval="$enable_htmlhelp"
6258
6259 if test "$enableval" = yes; then
6260 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6261 else
6262 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6263 fi
6264
6265else
6266
6267 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x ; then
6269 eval "DEFAULT_$LINE"
6270 else
6271 no_cache=1
6272 fi
6273
6274 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6275
6276fi;
6277
6278 eval "$ac_cv_use_htmlhelp"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6281 fi
6282
6283 if test "$wxUSE_WXHTML_HELP" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285echo "${ECHO_T}yes" >&6
6286 else
6287 echo "$as_me:$LINENO: result: no" >&5
6288echo "${ECHO_T}no" >&6
6289 fi
6290
6291
6292 enablestring=
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6294echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6295 no_cache=0
6296 # Check whether --enable-constraints or --disable-constraints was given.
6297if test "${enable_constraints+set}" = set; then
6298 enableval="$enable_constraints"
6299
6300 if test "$enableval" = yes; then
6301 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6302 else
6303 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6304 fi
6305
6306else
6307
6308 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x ; then
6310 eval "DEFAULT_$LINE"
6311 else
6312 no_cache=1
6313 fi
6314
6315 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6316
6317fi;
6318
6319 eval "$ac_cv_use_constraints"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6322 fi
6323
6324 if test "$wxUSE_CONSTRAINTS" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326echo "${ECHO_T}yes" >&6
6327 else
6328 echo "$as_me:$LINENO: result: no" >&5
6329echo "${ECHO_T}no" >&6
6330 fi
6331
6332
6333 enablestring=
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6335echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6336 no_cache=0
6337 # Check whether --enable-printarch or --disable-printarch was given.
6338if test "${enable_printarch+set}" = set; then
6339 enableval="$enable_printarch"
6340
6341 if test "$enableval" = yes; then
6342 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6343 else
6344 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6345 fi
6346
6347else
6348
6349 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6352 else
6353 no_cache=1
6354 fi
6355
6356 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6357
6358fi;
6359
6360 eval "$ac_cv_use_printarch"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6363 fi
6364
6365 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367echo "${ECHO_T}yes" >&6
6368 else
6369 echo "$as_me:$LINENO: result: no" >&5
6370echo "${ECHO_T}no" >&6
6371 fi
6372
6373
6374 enablestring=
6375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6376echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6377 no_cache=0
6378 # Check whether --enable-mdi or --disable-mdi was given.
6379if test "${enable_mdi+set}" = set; then
6380 enableval="$enable_mdi"
6381
6382 if test "$enableval" = yes; then
6383 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6384 else
6385 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6386 fi
6387
6388else
6389
6390 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6391 if test "x$LINE" != x ; then
6392 eval "DEFAULT_$LINE"
6393 else
6394 no_cache=1
6395 fi
6396
6397 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6398
6399fi;
6400
6401 eval "$ac_cv_use_mdi"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6404 fi
6405
6406 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6407 echo "$as_me:$LINENO: result: yes" >&5
6408echo "${ECHO_T}yes" >&6
6409 else
6410 echo "$as_me:$LINENO: result: no" >&5
6411echo "${ECHO_T}no" >&6
6412 fi
6413
6414
6415 enablestring=
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6417echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6418 no_cache=0
6419 # Check whether --enable-loggui or --disable-loggui was given.
6420if test "${enable_loggui+set}" = set; then
6421 enableval="$enable_loggui"
6422
6423 if test "$enableval" = yes; then
6424 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6425 else
6426 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6427 fi
6428
6429else
6430
6431 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x ; then
6433 eval "DEFAULT_$LINE"
6434 else
6435 no_cache=1
6436 fi
6437
6438 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6439
6440fi;
6441
6442 eval "$ac_cv_use_loggui"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6445 fi
6446
6447 if test "$wxUSE_LOGGUI" = yes; then
6448 echo "$as_me:$LINENO: result: yes" >&5
6449echo "${ECHO_T}yes" >&6
6450 else
6451 echo "$as_me:$LINENO: result: no" >&5
6452echo "${ECHO_T}no" >&6
6453 fi
6454
6455
6456 enablestring=
6457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6458echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6459 no_cache=0
6460 # Check whether --enable-logwin or --disable-logwin was given.
6461if test "${enable_logwin+set}" = set; then
6462 enableval="$enable_logwin"
6463
6464 if test "$enableval" = yes; then
6465 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6466 else
6467 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6468 fi
6469
6470else
6471
6472 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x ; then
6474 eval "DEFAULT_$LINE"
6475 else
6476 no_cache=1
6477 fi
6478
6479 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6480
6481fi;
6482
6483 eval "$ac_cv_use_logwin"
6484 if test "$no_cache" != 1; then
6485 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6486 fi
6487
6488 if test "$wxUSE_LOGWINDOW" = yes; then
6489 echo "$as_me:$LINENO: result: yes" >&5
6490echo "${ECHO_T}yes" >&6
6491 else
6492 echo "$as_me:$LINENO: result: no" >&5
6493echo "${ECHO_T}no" >&6
6494 fi
6495
6496
6497 enablestring=
6498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6499echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6500 no_cache=0
6501 # Check whether --enable-logdialog or --disable-logdialog was given.
6502if test "${enable_logdialog+set}" = set; then
6503 enableval="$enable_logdialog"
6504
6505 if test "$enableval" = yes; then
6506 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6507 else
6508 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6509 fi
6510
6511else
6512
6513 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6516 else
6517 no_cache=1
6518 fi
6519
6520 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6521
6522fi;
6523
6524 eval "$ac_cv_use_logdialog"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6527 fi
6528
6529 if test "$wxUSE_LOGDIALOG" = yes; then
6530 echo "$as_me:$LINENO: result: yes" >&5
6531echo "${ECHO_T}yes" >&6
6532 else
6533 echo "$as_me:$LINENO: result: no" >&5
6534echo "${ECHO_T}no" >&6
6535 fi
6536
6537
6538
6539 enablestring=
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6541echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6542 no_cache=0
6543 # Check whether --enable-postscript or --disable-postscript was given.
6544if test "${enable_postscript+set}" = set; then
6545 enableval="$enable_postscript"
6546
6547 if test "$enableval" = yes; then
6548 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6549 else
6550 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6551 fi
6552
6553else
6554
6555 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 else
6559 no_cache=1
6560 fi
6561
6562 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6563
6564fi;
6565
6566 eval "$ac_cv_use_postscript"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test "$wxUSE_POSTSCRIPT" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573echo "${ECHO_T}yes" >&6
6574 else
6575 echo "$as_me:$LINENO: result: no" >&5
6576echo "${ECHO_T}no" >&6
6577 fi
6578
6579
6580
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6585echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-prologio or --disable-prologio was given.
6588if test "${enable_prologio+set}" = set; then
6589 enableval="$enable_prologio"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6593 else
6594 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6595 fi
6596
6597else
6598
6599 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6607
6608fi;
6609
6610 eval "$ac_cv_use_prologio"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_PROLOGIO" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624 enablestring=
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6626echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6627 no_cache=0
6628 # Check whether --enable-resources or --disable-resources was given.
6629if test "${enable_resources+set}" = set; then
6630 enableval="$enable_resources"
6631
6632 if test "$enableval" = yes; then
6633 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6634 else
6635 ac_cv_use_resources='wxUSE_RESOURCES=no'
6636 fi
6637
6638else
6639
6640 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6643 else
6644 no_cache=1
6645 fi
6646
6647 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6648
6649fi;
6650
6651 eval "$ac_cv_use_resources"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6654 fi
6655
6656 if test "$wxUSE_RESOURCES" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658echo "${ECHO_T}yes" >&6
6659 else
6660 echo "$as_me:$LINENO: result: no" >&5
6661echo "${ECHO_T}no" >&6
6662 fi
6663
6664
6665
6666
6667 enablestring=
6668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6669echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6670 no_cache=0
6671 # Check whether --enable-clipboard or --disable-clipboard was given.
6672if test "${enable_clipboard+set}" = set; then
6673 enableval="$enable_clipboard"
6674
6675 if test "$enableval" = yes; then
6676 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6677 else
6678 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6679 fi
6680
6681else
6682
6683 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6684 if test "x$LINE" != x ; then
6685 eval "DEFAULT_$LINE"
6686 else
6687 no_cache=1
6688 fi
6689
6690 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6691
6692fi;
6693
6694 eval "$ac_cv_use_clipboard"
6695 if test "$no_cache" != 1; then
6696 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6697 fi
6698
6699 if test "$wxUSE_CLIPBOARD" = yes; then
6700 echo "$as_me:$LINENO: result: yes" >&5
6701echo "${ECHO_T}yes" >&6
6702 else
6703 echo "$as_me:$LINENO: result: no" >&5
6704echo "${ECHO_T}no" >&6
6705 fi
6706
6707
6708 enablestring=
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6710echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6711 no_cache=0
6712 # Check whether --enable-dnd or --disable-dnd was given.
6713if test "${enable_dnd+set}" = set; then
6714 enableval="$enable_dnd"
6715
6716 if test "$enableval" = yes; then
6717 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6718 else
6719 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6720 fi
6721
6722else
6723
6724 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x ; then
6726 eval "DEFAULT_$LINE"
6727 else
6728 no_cache=1
6729 fi
6730
6731 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6732
6733fi;
6734
6735 eval "$ac_cv_use_dnd"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6738 fi
6739
6740 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742echo "${ECHO_T}yes" >&6
6743 else
6744 echo "$as_me:$LINENO: result: no" >&5
6745echo "${ECHO_T}no" >&6
6746 fi
6747
6748
6749 enablestring=
6750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6751echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6752 no_cache=0
6753 # Check whether --enable-metafile or --disable-metafile was given.
6754if test "${enable_metafile+set}" = set; then
6755 enableval="$enable_metafile"
6756
6757 if test "$enableval" = yes; then
6758 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6759 else
6760 ac_cv_use_metafile='wxUSE_METAFILE=no'
6761 fi
6762
6763else
6764
6765 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x ; then
6767 eval "DEFAULT_$LINE"
6768 else
6769 no_cache=1
6770 fi
6771
6772 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6773
6774fi;
6775
6776 eval "$ac_cv_use_metafile"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6779 fi
6780
6781 if test "$wxUSE_METAFILE" = yes; then
6782 echo "$as_me:$LINENO: result: yes" >&5
6783echo "${ECHO_T}yes" >&6
6784 else
6785 echo "$as_me:$LINENO: result: no" >&5
6786echo "${ECHO_T}no" >&6
6787 fi
6788
6789
6790
6791
6792
6793 enablestring=
6794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6795echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6796 no_cache=0
6797 # Check whether --enable-controls or --disable-controls was given.
6798if test "${enable_controls+set}" = set; then
6799 enableval="$enable_controls"
6800
6801 if test "$enableval" = yes; then
6802 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6803 else
6804 ac_cv_use_controls='wxUSE_CONTROLS=no'
6805 fi
6806
6807else
6808
6809 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x ; then
6811 eval "DEFAULT_$LINE"
6812 else
6813 no_cache=1
6814 fi
6815
6816 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6817
6818fi;
6819
6820 eval "$ac_cv_use_controls"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6823 fi
6824
6825 if test "$wxUSE_CONTROLS" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827echo "${ECHO_T}yes" >&6
6828 else
6829 echo "$as_me:$LINENO: result: no" >&5
6830echo "${ECHO_T}no" >&6
6831 fi
6832
6833
6834if test "$wxUSE_CONTROLS" = "yes"; then
6835 DEFAULT_wxUSE_ACCEL=yes
6836 DEFAULT_wxUSE_BMPBUTTON=yes
6837 DEFAULT_wxUSE_BUTTON=yes
6838 DEFAULT_wxUSE_CALCTRL=no
6839 DEFAULT_wxUSE_CARET=yes
6840 DEFAULT_wxUSE_COMBOBOX=yes
6841 DEFAULT_wxUSE_CHECKBOX=yes
6842 DEFAULT_wxUSE_CHECKLISTBOX=yes
6843 DEFAULT_wxUSE_CHOICE=yes
6844 DEFAULT_wxUSE_GAUGE=yes
6845 DEFAULT_wxUSE_GRID=yes
6846 DEFAULT_wxUSE_IMAGLIST=yes
6847 DEFAULT_wxUSE_LISTBOOK=yes
6848 DEFAULT_wxUSE_LISTBOX=yes
6849 DEFAULT_wxUSE_LISTCTRL=yes
6850 DEFAULT_wxUSE_NOTEBOOK=yes
6851 DEFAULT_wxUSE_RADIOBOX=yes
6852 DEFAULT_wxUSE_RADIOBTN=yes
6853 DEFAULT_wxUSE_SASH=yes
6854 DEFAULT_wxUSE_SCROLLBAR=yes
6855 DEFAULT_wxUSE_SLIDER=yes
6856 DEFAULT_wxUSE_SPINBTN=yes
6857 DEFAULT_wxUSE_SPINCTRL=yes
6858 DEFAULT_wxUSE_SPLITTER=yes
6859 DEFAULT_wxUSE_STATBMP=yes
6860 DEFAULT_wxUSE_STATBOX=yes
6861 DEFAULT_wxUSE_STATLINE=yes
6862 DEFAULT_wxUSE_STATUSBAR=yes
6863 DEFAULT_wxUSE_TAB_DIALOG=yes
6864 DEFAULT_wxUSE_TOGGLEBTN=yes
6865 DEFAULT_wxUSE_TOOLBAR=yes
6866 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6867 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6868 DEFAULT_wxUSE_TOOLTIPS=yes
6869 DEFAULT_wxUSE_TREECTRL=yes
6870 DEFAULT_wxUSE_POPUPWIN=yes
6871 DEFAULT_wxUSE_TIPWINDOW=yes
6872elif test "$wxUSE_CONTROLS" = "no"; then
6873 DEFAULT_wxUSE_ACCEL=no
6874 DEFAULT_wxUSE_BMPBUTTON=no
6875 DEFAULT_wxUSE_BUTTON=no
6876 DEFAULT_wxUSE_CALCTRL=no
6877 DEFAULT_wxUSE_CARET=no
6878 DEFAULT_wxUSE_COMBOBOX=no
6879 DEFAULT_wxUSE_CHECKBOX=no
6880 DEFAULT_wxUSE_CHECKLISTBOX=no
6881 DEFAULT_wxUSE_CHOICE=no
6882 DEFAULT_wxUSE_GAUGE=no
6883 DEFAULT_wxUSE_GRID=no
6884 DEFAULT_wxUSE_IMAGLIST=no
6885 DEFAULT_wxUSE_LISTBOOK=no
6886 DEFAULT_wxUSE_LISTBOX=no
6887 DEFAULT_wxUSE_LISTCTRL=no
6888 DEFAULT_wxUSE_NOTEBOOK=no
6889 DEFAULT_wxUSE_RADIOBOX=no
6890 DEFAULT_wxUSE_RADIOBTN=no
6891 DEFAULT_wxUSE_SASH=no
6892 DEFAULT_wxUSE_SCROLLBAR=no
6893 DEFAULT_wxUSE_SLIDER=no
6894 DEFAULT_wxUSE_SPINBTN=no
6895 DEFAULT_wxUSE_SPINCTRL=no
6896 DEFAULT_wxUSE_SPLITTER=no
6897 DEFAULT_wxUSE_STATBMP=no
6898 DEFAULT_wxUSE_STATBOX=no
6899 DEFAULT_wxUSE_STATLINE=no
6900 DEFAULT_wxUSE_STATUSBAR=no
6901 DEFAULT_wxUSE_TAB_DIALOG=no
6902 DEFAULT_wxUSE_TOGGLEBTN=no
6903 DEFAULT_wxUSE_TOOLBAR=no
6904 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6905 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6906 DEFAULT_wxUSE_TOOLTIPS=no
6907 DEFAULT_wxUSE_TREECTRL=no
6908 DEFAULT_wxUSE_POPUPWIN=no
6909 DEFAULT_wxUSE_TIPWINDOW=no
6910fi
6911
6912## FIXME: This is a blatant hack
6913if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6914 wxUSE_PRINTING_ARCHITECTURE=no
6915 wxUSE_DRAG_AND_DROP=no
6916 # Generic notebook requires tab dialog
6917 DEFAULT_wxUSE_TABDIALOG=yes
6918 DEFAULT_wxUSE_SCROLLBAR=no
6919 DEFAULT_wxUSE_TOOLTIPS=no
6920 DEFAULT_wxUSE_DRAGIMAGE=no
6921fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6926echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-accel or --disable-accel was given.
6929if test "${enable_accel+set}" = set; then
6930 enableval="$enable_accel"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_accel='wxUSE_ACCEL=yes'
6934 else
6935 ac_cv_use_accel='wxUSE_ACCEL=no'
6936 fi
6937
6938else
6939
6940 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6948
6949fi;
6950
6951 eval "$ac_cv_use_accel"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_ACCEL" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6967echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-button or --disable-button was given.
6970if test "${enable_button+set}" = set; then
6971 enableval="$enable_button"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_button='wxUSE_BUTTON=yes'
6975 else
6976 ac_cv_use_button='wxUSE_BUTTON=no'
6977 fi
6978
6979else
6980
6981 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6989
6990fi;
6991
6992 eval "$ac_cv_use_button"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_BUTTON" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7008echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7011if test "${enable_bmpbutton+set}" = set; then
7012 enableval="$enable_bmpbutton"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7016 else
7017 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7018 fi
7019
7020else
7021
7022 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7030
7031fi;
7032
7033 eval "$ac_cv_use_bmpbutton"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_BMPBUTTON" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7049echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-calendar or --disable-calendar was given.
7052if test "${enable_calendar+set}" = set; then
7053 enableval="$enable_calendar"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7057 else
7058 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7059 fi
7060
7061else
7062
7063 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7071
7072fi;
7073
7074 eval "$ac_cv_use_calendar"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_CALCTRL" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7090echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-caret or --disable-caret was given.
7093if test "${enable_caret+set}" = set; then
7094 enableval="$enable_caret"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_caret='wxUSE_CARET=yes'
7098 else
7099 ac_cv_use_caret='wxUSE_CARET=no'
7100 fi
7101
7102else
7103
7104 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7112
7113fi;
7114
7115 eval "$ac_cv_use_caret"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_CARET" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7131echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-checkbox or --disable-checkbox was given.
7134if test "${enable_checkbox+set}" = set; then
7135 enableval="$enable_checkbox"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7139 else
7140 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7141 fi
7142
7143else
7144
7145 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7153
7154fi;
7155
7156 eval "$ac_cv_use_checkbox"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_CHECKBOX" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7172echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-checklst or --disable-checklst was given.
7175if test "${enable_checklst+set}" = set; then
7176 enableval="$enable_checklst"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7180 else
7181 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7182 fi
7183
7184else
7185
7186 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7194
7195fi;
7196
7197 eval "$ac_cv_use_checklst"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_CHECKLST" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211 enablestring=
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7213echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7214 no_cache=0
7215 # Check whether --enable-choice or --disable-choice was given.
7216if test "${enable_choice+set}" = set; then
7217 enableval="$enable_choice"
7218
7219 if test "$enableval" = yes; then
7220 ac_cv_use_choice='wxUSE_CHOICE=yes'
7221 else
7222 ac_cv_use_choice='wxUSE_CHOICE=no'
7223 fi
7224
7225else
7226
7227 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7230 else
7231 no_cache=1
7232 fi
7233
7234 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7235
7236fi;
7237
7238 eval "$ac_cv_use_choice"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7241 fi
7242
7243 if test "$wxUSE_CHOICE" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245echo "${ECHO_T}yes" >&6
7246 else
7247 echo "$as_me:$LINENO: result: no" >&5
7248echo "${ECHO_T}no" >&6
7249 fi
7250
7251
7252 enablestring=
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7254echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7255 no_cache=0
7256 # Check whether --enable-combobox or --disable-combobox was given.
7257if test "${enable_combobox+set}" = set; then
7258 enableval="$enable_combobox"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7262 else
7263 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7264 fi
7265
7266else
7267
7268 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7276
7277fi;
7278
7279 eval "$ac_cv_use_combobox"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7282 fi
7283
7284 if test "$wxUSE_COMBOBOX" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286echo "${ECHO_T}yes" >&6
7287 else
7288 echo "$as_me:$LINENO: result: no" >&5
7289echo "${ECHO_T}no" >&6
7290 fi
7291
7292
7293 enablestring=
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7295echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7296 no_cache=0
7297 # Check whether --enable-display or --disable-display was given.
7298if test "${enable_display+set}" = set; then
7299 enableval="$enable_display"
7300
7301 if test "$enableval" = yes; then
7302 ac_cv_use_display='wxUSE_DISPLAY=yes'
7303 else
7304 ac_cv_use_display='wxUSE_DISPLAY=no'
7305 fi
7306
7307else
7308
7309 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7312 else
7313 no_cache=1
7314 fi
7315
7316 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7317
7318fi;
7319
7320 eval "$ac_cv_use_display"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test "$wxUSE_DISPLAY" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327echo "${ECHO_T}yes" >&6
7328 else
7329 echo "$as_me:$LINENO: result: no" >&5
7330echo "${ECHO_T}no" >&6
7331 fi
7332
7333
7334 enablestring=
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7336echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7337 no_cache=0
7338 # Check whether --enable-gauge or --disable-gauge was given.
7339if test "${enable_gauge+set}" = set; then
7340 enableval="$enable_gauge"
7341
7342 if test "$enableval" = yes; then
7343 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7344 else
7345 ac_cv_use_gauge='wxUSE_GAUGE=no'
7346 fi
7347
7348else
7349
7350 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 else
7354 no_cache=1
7355 fi
7356
7357 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7358
7359fi;
7360
7361 eval "$ac_cv_use_gauge"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test "$wxUSE_GAUGE" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368echo "${ECHO_T}yes" >&6
7369 else
7370 echo "$as_me:$LINENO: result: no" >&5
7371echo "${ECHO_T}no" >&6
7372 fi
7373
7374
7375 enablestring=
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7377echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7378 no_cache=0
7379 # Check whether --enable-grid or --disable-grid was given.
7380if test "${enable_grid+set}" = set; then
7381 enableval="$enable_grid"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_grid='wxUSE_GRID=yes'
7385 else
7386 ac_cv_use_grid='wxUSE_GRID=no'
7387 fi
7388
7389else
7390
7391 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7399
7400fi;
7401
7402 eval "$ac_cv_use_grid"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7405 fi
7406
7407 if test "$wxUSE_GRID" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409echo "${ECHO_T}yes" >&6
7410 else
7411 echo "$as_me:$LINENO: result: no" >&5
7412echo "${ECHO_T}no" >&6
7413 fi
7414
7415
7416 enablestring=
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7418echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7419 no_cache=0
7420 # Check whether --enable-imaglist or --disable-imaglist was given.
7421if test "${enable_imaglist+set}" = set; then
7422 enableval="$enable_imaglist"
7423
7424 if test "$enableval" = yes; then
7425 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7426 else
7427 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7428 fi
7429
7430else
7431
7432 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 else
7436 no_cache=1
7437 fi
7438
7439 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7440
7441fi;
7442
7443 eval "$ac_cv_use_imaglist"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_IMAGLIST" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450echo "${ECHO_T}yes" >&6
7451 else
7452 echo "$as_me:$LINENO: result: no" >&5
7453echo "${ECHO_T}no" >&6
7454 fi
7455
7456
7457 enablestring=
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7459echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7460 no_cache=0
7461 # Check whether --enable-listbook or --disable-listbook was given.
7462if test "${enable_listbook+set}" = set; then
7463 enableval="$enable_listbook"
7464
7465 if test "$enableval" = yes; then
7466 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7467 else
7468 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7469 fi
7470
7471else
7472
7473 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 else
7477 no_cache=1
7478 fi
7479
7480 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7481
7482fi;
7483
7484 eval "$ac_cv_use_listbook"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7487 fi
7488
7489 if test "$wxUSE_LISTBOOK" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491echo "${ECHO_T}yes" >&6
7492 else
7493 echo "$as_me:$LINENO: result: no" >&5
7494echo "${ECHO_T}no" >&6
7495 fi
7496
7497
7498 enablestring=
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7500echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7501 no_cache=0
7502 # Check whether --enable-listbox or --disable-listbox was given.
7503if test "${enable_listbox+set}" = set; then
7504 enableval="$enable_listbox"
7505
7506 if test "$enableval" = yes; then
7507 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7508 else
7509 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7510 fi
7511
7512else
7513
7514 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x ; then
7516 eval "DEFAULT_$LINE"
7517 else
7518 no_cache=1
7519 fi
7520
7521 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7522
7523fi;
7524
7525 eval "$ac_cv_use_listbox"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7528 fi
7529
7530 if test "$wxUSE_LISTBOX" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532echo "${ECHO_T}yes" >&6
7533 else
7534 echo "$as_me:$LINENO: result: no" >&5
7535echo "${ECHO_T}no" >&6
7536 fi
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7541echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-listctrl or --disable-listctrl was given.
7544if test "${enable_listctrl+set}" = set; then
7545 enableval="$enable_listctrl"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7549 else
7550 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7551 fi
7552
7553else
7554
7555 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7563
7564fi;
7565
7566 eval "$ac_cv_use_listctrl"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_LISTCTRL" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7582echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-notebook or --disable-notebook was given.
7585if test "${enable_notebook+set}" = set; then
7586 enableval="$enable_notebook"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7590 else
7591 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7592 fi
7593
7594else
7595
7596 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7604
7605fi;
7606
7607 eval "$ac_cv_use_notebook"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_NOTEBOOK" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7623echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-radiobox or --disable-radiobox was given.
7626if test "${enable_radiobox+set}" = set; then
7627 enableval="$enable_radiobox"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7631 else
7632 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7633 fi
7634
7635else
7636
7637 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7645
7646fi;
7647
7648 eval "$ac_cv_use_radiobox"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_RADIOBOX" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662 enablestring=
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7664echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7665 no_cache=0
7666 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7667if test "${enable_radiobtn+set}" = set; then
7668 enableval="$enable_radiobtn"
7669
7670 if test "$enableval" = yes; then
7671 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7672 else
7673 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7674 fi
7675
7676else
7677
7678 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x ; then
7680 eval "DEFAULT_$LINE"
7681 else
7682 no_cache=1
7683 fi
7684
7685 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7686
7687fi;
7688
7689 eval "$ac_cv_use_radiobtn"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7692 fi
7693
7694 if test "$wxUSE_RADIOBTN" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696echo "${ECHO_T}yes" >&6
7697 else
7698 echo "$as_me:$LINENO: result: no" >&5
7699echo "${ECHO_T}no" >&6
7700 fi
7701
7702
7703 enablestring=
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7705echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7706 no_cache=0
7707 # Check whether --enable-sash or --disable-sash was given.
7708if test "${enable_sash+set}" = set; then
7709 enableval="$enable_sash"
7710
7711 if test "$enableval" = yes; then
7712 ac_cv_use_sash='wxUSE_SASH=yes'
7713 else
7714 ac_cv_use_sash='wxUSE_SASH=no'
7715 fi
7716
7717else
7718
7719 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7722 else
7723 no_cache=1
7724 fi
7725
7726 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7727
7728fi;
7729
7730 eval "$ac_cv_use_sash"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7733 fi
7734
7735 if test "$wxUSE_SASH" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737echo "${ECHO_T}yes" >&6
7738 else
7739 echo "$as_me:$LINENO: result: no" >&5
7740echo "${ECHO_T}no" >&6
7741 fi
7742
7743
7744 enablestring=
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7746echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7747 no_cache=0
7748 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7749if test "${enable_scrollbar+set}" = set; then
7750 enableval="$enable_scrollbar"
7751
7752 if test "$enableval" = yes; then
7753 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7754 else
7755 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7756 fi
7757
7758else
7759
7760 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x ; then
7762 eval "DEFAULT_$LINE"
7763 else
7764 no_cache=1
7765 fi
7766
7767 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7768
7769fi;
7770
7771 eval "$ac_cv_use_scrollbar"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7774 fi
7775
7776 if test "$wxUSE_SCROLLBAR" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778echo "${ECHO_T}yes" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781echo "${ECHO_T}no" >&6
7782 fi
7783
7784
7785 enablestring=
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7787echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7788 no_cache=0
7789 # Check whether --enable-slider or --disable-slider was given.
7790if test "${enable_slider+set}" = set; then
7791 enableval="$enable_slider"
7792
7793 if test "$enableval" = yes; then
7794 ac_cv_use_slider='wxUSE_SLIDER=yes'
7795 else
7796 ac_cv_use_slider='wxUSE_SLIDER=no'
7797 fi
7798
7799else
7800
7801 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x ; then
7803 eval "DEFAULT_$LINE"
7804 else
7805 no_cache=1
7806 fi
7807
7808 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7809
7810fi;
7811
7812 eval "$ac_cv_use_slider"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7815 fi
7816
7817 if test "$wxUSE_SLIDER" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819echo "${ECHO_T}yes" >&6
7820 else
7821 echo "$as_me:$LINENO: result: no" >&5
7822echo "${ECHO_T}no" >&6
7823 fi
7824
7825
7826 enablestring=
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7828echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7829 no_cache=0
7830 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7831if test "${enable_spinbtn+set}" = set; then
7832 enableval="$enable_spinbtn"
7833
7834 if test "$enableval" = yes; then
7835 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7836 else
7837 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7838 fi
7839
7840else
7841
7842 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x ; then
7844 eval "DEFAULT_$LINE"
7845 else
7846 no_cache=1
7847 fi
7848
7849 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7850
7851fi;
7852
7853 eval "$ac_cv_use_spinbtn"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7856 fi
7857
7858 if test "$wxUSE_SPINBTN" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860echo "${ECHO_T}yes" >&6
7861 else
7862 echo "$as_me:$LINENO: result: no" >&5
7863echo "${ECHO_T}no" >&6
7864 fi
7865
7866
7867 enablestring=
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7869echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7870 no_cache=0
7871 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7872if test "${enable_spinctrl+set}" = set; then
7873 enableval="$enable_spinctrl"
7874
7875 if test "$enableval" = yes; then
7876 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7877 else
7878 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7879 fi
7880
7881else
7882
7883 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7886 else
7887 no_cache=1
7888 fi
7889
7890 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7891
7892fi;
7893
7894 eval "$ac_cv_use_spinctrl"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7897 fi
7898
7899 if test "$wxUSE_SPINCTRL" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901echo "${ECHO_T}yes" >&6
7902 else
7903 echo "$as_me:$LINENO: result: no" >&5
7904echo "${ECHO_T}no" >&6
7905 fi
7906
7907
7908 enablestring=
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7910echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7911 no_cache=0
7912 # Check whether --enable-splitter or --disable-splitter was given.
7913if test "${enable_splitter+set}" = set; then
7914 enableval="$enable_splitter"
7915
7916 if test "$enableval" = yes; then
7917 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7918 else
7919 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7920 fi
7921
7922else
7923
7924 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x ; then
7926 eval "DEFAULT_$LINE"
7927 else
7928 no_cache=1
7929 fi
7930
7931 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7932
7933fi;
7934
7935 eval "$ac_cv_use_splitter"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7938 fi
7939
7940 if test "$wxUSE_SPLITTER" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942echo "${ECHO_T}yes" >&6
7943 else
7944 echo "$as_me:$LINENO: result: no" >&5
7945echo "${ECHO_T}no" >&6
7946 fi
7947
7948
7949 enablestring=
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7951echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7952 no_cache=0
7953 # Check whether --enable-statbmp or --disable-statbmp was given.
7954if test "${enable_statbmp+set}" = set; then
7955 enableval="$enable_statbmp"
7956
7957 if test "$enableval" = yes; then
7958 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7959 else
7960 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7961 fi
7962
7963else
7964
7965 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x ; then
7967 eval "DEFAULT_$LINE"
7968 else
7969 no_cache=1
7970 fi
7971
7972 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7973
7974fi;
7975
7976 eval "$ac_cv_use_statbmp"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7979 fi
7980
7981 if test "$wxUSE_STATBMP" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983echo "${ECHO_T}yes" >&6
7984 else
7985 echo "$as_me:$LINENO: result: no" >&5
7986echo "${ECHO_T}no" >&6
7987 fi
7988
7989
7990 enablestring=
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7992echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7993 no_cache=0
7994 # Check whether --enable-statbox or --disable-statbox was given.
7995if test "${enable_statbox+set}" = set; then
7996 enableval="$enable_statbox"
7997
7998 if test "$enableval" = yes; then
7999 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8000 else
8001 ac_cv_use_statbox='wxUSE_STATBOX=no'
8002 fi
8003
8004else
8005
8006 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x ; then
8008 eval "DEFAULT_$LINE"
8009 else
8010 no_cache=1
8011 fi
8012
8013 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8014
8015fi;
8016
8017 eval "$ac_cv_use_statbox"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8020 fi
8021
8022 if test "$wxUSE_STATBOX" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024echo "${ECHO_T}yes" >&6
8025 else
8026 echo "$as_me:$LINENO: result: no" >&5
8027echo "${ECHO_T}no" >&6
8028 fi
8029
8030
8031 enablestring=
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8033echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8034 no_cache=0
8035 # Check whether --enable-statline or --disable-statline was given.
8036if test "${enable_statline+set}" = set; then
8037 enableval="$enable_statline"
8038
8039 if test "$enableval" = yes; then
8040 ac_cv_use_statline='wxUSE_STATLINE=yes'
8041 else
8042 ac_cv_use_statline='wxUSE_STATLINE=no'
8043 fi
8044
8045else
8046
8047 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x ; then
8049 eval "DEFAULT_$LINE"
8050 else
8051 no_cache=1
8052 fi
8053
8054 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8055
8056fi;
8057
8058 eval "$ac_cv_use_statline"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8061 fi
8062
8063 if test "$wxUSE_STATLINE" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065echo "${ECHO_T}yes" >&6
8066 else
8067 echo "$as_me:$LINENO: result: no" >&5
8068echo "${ECHO_T}no" >&6
8069 fi
8070
8071
8072 enablestring=
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8074echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8075 no_cache=0
8076 # Check whether --enable-stattext or --disable-stattext was given.
8077if test "${enable_stattext+set}" = set; then
8078 enableval="$enable_stattext"
8079
8080 if test "$enableval" = yes; then
8081 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8082 else
8083 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8084 fi
8085
8086else
8087
8088 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x ; then
8090 eval "DEFAULT_$LINE"
8091 else
8092 no_cache=1
8093 fi
8094
8095 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8096
8097fi;
8098
8099 eval "$ac_cv_use_stattext"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8102 fi
8103
8104 if test "$wxUSE_STATTEXT" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106echo "${ECHO_T}yes" >&6
8107 else
8108 echo "$as_me:$LINENO: result: no" >&5
8109echo "${ECHO_T}no" >&6
8110 fi
8111
8112
8113 enablestring=
8114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8115echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8116 no_cache=0
8117 # Check whether --enable-statusbar or --disable-statusbar was given.
8118if test "${enable_statusbar+set}" = set; then
8119 enableval="$enable_statusbar"
8120
8121 if test "$enableval" = yes; then
8122 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8123 else
8124 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8125 fi
8126
8127else
8128
8129 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x ; then
8131 eval "DEFAULT_$LINE"
8132 else
8133 no_cache=1
8134 fi
8135
8136 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8137
8138fi;
8139
8140 eval "$ac_cv_use_statusbar"
8141 if test "$no_cache" != 1; then
8142 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8143 fi
8144
8145 if test "$wxUSE_STATUSBAR" = yes; then
8146 echo "$as_me:$LINENO: result: yes" >&5
8147echo "${ECHO_T}yes" >&6
8148 else
8149 echo "$as_me:$LINENO: result: no" >&5
8150echo "${ECHO_T}no" >&6
8151 fi
8152
8153
8154 enablestring=
8155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8156echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8157 no_cache=0
8158 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8159if test "${enable_tabdialog+set}" = set; then
8160 enableval="$enable_tabdialog"
8161
8162 if test "$enableval" = yes; then
8163 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8164 else
8165 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8166 fi
8167
8168else
8169
8170 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8171 if test "x$LINE" != x ; then
8172 eval "DEFAULT_$LINE"
8173 else
8174 no_cache=1
8175 fi
8176
8177 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8178
8179fi;
8180
8181 eval "$ac_cv_use_tabdialog"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8184 fi
8185
8186 if test "$wxUSE_TABDIALOG" = yes; then
8187 echo "$as_me:$LINENO: result: yes" >&5
8188echo "${ECHO_T}yes" >&6
8189 else
8190 echo "$as_me:$LINENO: result: no" >&5
8191echo "${ECHO_T}no" >&6
8192 fi
8193
8194
8195 enablestring=
8196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8197echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8198 no_cache=0
8199 # Check whether --enable-textctrl or --disable-textctrl was given.
8200if test "${enable_textctrl+set}" = set; then
8201 enableval="$enable_textctrl"
8202
8203 if test "$enableval" = yes; then
8204 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8205 else
8206 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8207 fi
8208
8209else
8210
8211 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x ; then
8213 eval "DEFAULT_$LINE"
8214 else
8215 no_cache=1
8216 fi
8217
8218 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8219
8220fi;
8221
8222 eval "$ac_cv_use_textctrl"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8225 fi
8226
8227 if test "$wxUSE_TEXTCTRL" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229echo "${ECHO_T}yes" >&6
8230 else
8231 echo "$as_me:$LINENO: result: no" >&5
8232echo "${ECHO_T}no" >&6
8233 fi
8234
8235
8236 enablestring=
8237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8238echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8239 no_cache=0
8240 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8241if test "${enable_togglebtn+set}" = set; then
8242 enableval="$enable_togglebtn"
8243
8244 if test "$enableval" = yes; then
8245 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8246 else
8247 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8248 fi
8249
8250else
8251
8252 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x ; then
8254 eval "DEFAULT_$LINE"
8255 else
8256 no_cache=1
8257 fi
8258
8259 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8260
8261fi;
8262
8263 eval "$ac_cv_use_togglebtn"
8264 if test "$no_cache" != 1; then
8265 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8266 fi
8267
8268 if test "$wxUSE_TOGGLEBTN" = yes; then
8269 echo "$as_me:$LINENO: result: yes" >&5
8270echo "${ECHO_T}yes" >&6
8271 else
8272 echo "$as_me:$LINENO: result: no" >&5
8273echo "${ECHO_T}no" >&6
8274 fi
8275
8276
8277 enablestring=
8278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8279echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8280 no_cache=0
8281 # Check whether --enable-toolbar or --disable-toolbar was given.
8282if test "${enable_toolbar+set}" = set; then
8283 enableval="$enable_toolbar"
8284
8285 if test "$enableval" = yes; then
8286 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8287 else
8288 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8289 fi
8290
8291else
8292
8293 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8294 if test "x$LINE" != x ; then
8295 eval "DEFAULT_$LINE"
8296 else
8297 no_cache=1
8298 fi
8299
8300 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8301
8302fi;
8303
8304 eval "$ac_cv_use_toolbar"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8307 fi
8308
8309 if test "$wxUSE_TOOLBAR" = yes; then
8310 echo "$as_me:$LINENO: result: yes" >&5
8311echo "${ECHO_T}yes" >&6
8312 else
8313 echo "$as_me:$LINENO: result: no" >&5
8314echo "${ECHO_T}no" >&6
8315 fi
8316
8317
8318 enablestring=
8319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8320echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8321 no_cache=0
8322 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8323if test "${enable_tbarnative+set}" = set; then
8324 enableval="$enable_tbarnative"
8325
8326 if test "$enableval" = yes; then
8327 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8328 else
8329 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8330 fi
8331
8332else
8333
8334 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x ; then
8336 eval "DEFAULT_$LINE"
8337 else
8338 no_cache=1
8339 fi
8340
8341 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8342
8343fi;
8344
8345 eval "$ac_cv_use_tbarnative"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8348 fi
8349
8350 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352echo "${ECHO_T}yes" >&6
8353 else
8354 echo "$as_me:$LINENO: result: no" >&5
8355echo "${ECHO_T}no" >&6
8356 fi
8357
8358
8359 enablestring=
8360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8361echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8362 no_cache=0
8363 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8364if test "${enable_tbarsmpl+set}" = set; then
8365 enableval="$enable_tbarsmpl"
8366
8367 if test "$enableval" = yes; then
8368 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8369 else
8370 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8371 fi
8372
8373else
8374
8375 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x ; then
8377 eval "DEFAULT_$LINE"
8378 else
8379 no_cache=1
8380 fi
8381
8382 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8383
8384fi;
8385
8386 eval "$ac_cv_use_tbarsmpl"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8389 fi
8390
8391 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8392 echo "$as_me:$LINENO: result: yes" >&5
8393echo "${ECHO_T}yes" >&6
8394 else
8395 echo "$as_me:$LINENO: result: no" >&5
8396echo "${ECHO_T}no" >&6
8397 fi
8398
8399
8400 enablestring=
8401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8402echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8403 no_cache=0
8404 # Check whether --enable-treectrl or --disable-treectrl was given.
8405if test "${enable_treectrl+set}" = set; then
8406 enableval="$enable_treectrl"
8407
8408 if test "$enableval" = yes; then
8409 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8410 else
8411 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8412 fi
8413
8414else
8415
8416 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x ; then
8418 eval "DEFAULT_$LINE"
8419 else
8420 no_cache=1
8421 fi
8422
8423 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8424
8425fi;
8426
8427 eval "$ac_cv_use_treectrl"
8428 if test "$no_cache" != 1; then
8429 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8430 fi
8431
8432 if test "$wxUSE_TREECTRL" = yes; then
8433 echo "$as_me:$LINENO: result: yes" >&5
8434echo "${ECHO_T}yes" >&6
8435 else
8436 echo "$as_me:$LINENO: result: no" >&5
8437echo "${ECHO_T}no" >&6
8438 fi
8439
8440
8441 enablestring=
8442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8443echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8444 no_cache=0
8445 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8446if test "${enable_tipwindow+set}" = set; then
8447 enableval="$enable_tipwindow"
8448
8449 if test "$enableval" = yes; then
8450 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8451 else
8452 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8453 fi
8454
8455else
8456
8457 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8458 if test "x$LINE" != x ; then
8459 eval "DEFAULT_$LINE"
8460 else
8461 no_cache=1
8462 fi
8463
8464 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8465
8466fi;
8467
8468 eval "$ac_cv_use_tipwindow"
8469 if test "$no_cache" != 1; then
8470 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8471 fi
8472
8473 if test "$wxUSE_TIPWINDOW" = yes; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475echo "${ECHO_T}yes" >&6
8476 else
8477 echo "$as_me:$LINENO: result: no" >&5
8478echo "${ECHO_T}no" >&6
8479 fi
8480
8481
8482 enablestring=
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8484echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8485 no_cache=0
8486 # Check whether --enable-popupwin or --disable-popupwin was given.
8487if test "${enable_popupwin+set}" = set; then
8488 enableval="$enable_popupwin"
8489
8490 if test "$enableval" = yes; then
8491 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8492 else
8493 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8494 fi
8495
8496else
8497
8498 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x ; then
8500 eval "DEFAULT_$LINE"
8501 else
8502 no_cache=1
8503 fi
8504
8505 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8506
8507fi;
8508
8509 eval "$ac_cv_use_popupwin"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8512 fi
8513
8514 if test "$wxUSE_POPUPWIN" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516echo "${ECHO_T}yes" >&6
8517 else
8518 echo "$as_me:$LINENO: result: no" >&5
8519echo "${ECHO_T}no" >&6
8520 fi
8521
8522
8523
8524
8525 enablestring=
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8527echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8528 no_cache=0
8529 # Check whether --enable-commondlg or --disable-commondlg was given.
8530if test "${enable_commondlg+set}" = set; then
8531 enableval="$enable_commondlg"
8532
8533 if test "$enableval" = yes; then
8534 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8535 else
8536 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8537 fi
8538
8539else
8540
8541 LINE=`grep "wxUSE_COMMONDLGS" ${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_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8549
8550fi;
8551
8552 eval "$ac_cv_use_commondlg"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test "$wxUSE_COMMONDLGS" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559echo "${ECHO_T}yes" >&6
8560 else
8561 echo "$as_me:$LINENO: result: no" >&5
8562echo "${ECHO_T}no" >&6
8563 fi
8564
8565
8566 enablestring=
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8568echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8569 no_cache=0
8570 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8571if test "${enable_choicedlg+set}" = set; then
8572 enableval="$enable_choicedlg"
8573
8574 if test "$enableval" = yes; then
8575 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8576 else
8577 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8578 fi
8579
8580else
8581
8582 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x ; then
8584 eval "DEFAULT_$LINE"
8585 else
8586 no_cache=1
8587 fi
8588
8589 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8590
8591fi;
8592
8593 eval "$ac_cv_use_choicedlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8596 fi
8597
8598 if test "$wxUSE_CHOICEDLG" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600echo "${ECHO_T}yes" >&6
8601 else
8602 echo "$as_me:$LINENO: result: no" >&5
8603echo "${ECHO_T}no" >&6
8604 fi
8605
8606
8607 enablestring=
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8609echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8610 no_cache=0
8611 # Check whether --enable-coldlg or --disable-coldlg was given.
8612if test "${enable_coldlg+set}" = set; then
8613 enableval="$enable_coldlg"
8614
8615 if test "$enableval" = yes; then
8616 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8617 else
8618 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8619 fi
8620
8621else
8622
8623 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8626 else
8627 no_cache=1
8628 fi
8629
8630 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8631
8632fi;
8633
8634 eval "$ac_cv_use_coldlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8637 fi
8638
8639 if test "$wxUSE_COLOURDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641echo "${ECHO_T}yes" >&6
8642 else
8643 echo "$as_me:$LINENO: result: no" >&5
8644echo "${ECHO_T}no" >&6
8645 fi
8646
8647
8648 enablestring=
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8650echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8651 no_cache=0
8652 # Check whether --enable-filedlg or --disable-filedlg was given.
8653if test "${enable_filedlg+set}" = set; then
8654 enableval="$enable_filedlg"
8655
8656 if test "$enableval" = yes; then
8657 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8658 else
8659 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8660 fi
8661
8662else
8663
8664 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x ; then
8666 eval "DEFAULT_$LINE"
8667 else
8668 no_cache=1
8669 fi
8670
8671 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8672
8673fi;
8674
8675 eval "$ac_cv_use_filedlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8678 fi
8679
8680 if test "$wxUSE_FILEDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682echo "${ECHO_T}yes" >&6
8683 else
8684 echo "$as_me:$LINENO: result: no" >&5
8685echo "${ECHO_T}no" >&6
8686 fi
8687
8688
8689 enablestring=
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8691echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8692 no_cache=0
8693 # Check whether --enable-finddlg or --disable-finddlg was given.
8694if test "${enable_finddlg+set}" = set; then
8695 enableval="$enable_finddlg"
8696
8697 if test "$enableval" = yes; then
8698 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8699 else
8700 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8701 fi
8702
8703else
8704
8705 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8708 else
8709 no_cache=1
8710 fi
8711
8712 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8713
8714fi;
8715
8716 eval "$ac_cv_use_finddlg"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8719 fi
8720
8721 if test "$wxUSE_FINDREPLDLG" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723echo "${ECHO_T}yes" >&6
8724 else
8725 echo "$as_me:$LINENO: result: no" >&5
8726echo "${ECHO_T}no" >&6
8727 fi
8728
8729
8730 enablestring=
8731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8732echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8733 no_cache=0
8734 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8735if test "${enable_fontdlg+set}" = set; then
8736 enableval="$enable_fontdlg"
8737
8738 if test "$enableval" = yes; then
8739 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8740 else
8741 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8742 fi
8743
8744else
8745
8746 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8747 if test "x$LINE" != x ; then
8748 eval "DEFAULT_$LINE"
8749 else
8750 no_cache=1
8751 fi
8752
8753 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8754
8755fi;
8756
8757 eval "$ac_cv_use_fontdlg"
8758 if test "$no_cache" != 1; then
8759 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8760 fi
8761
8762 if test "$wxUSE_FONTDLG" = yes; then
8763 echo "$as_me:$LINENO: result: yes" >&5
8764echo "${ECHO_T}yes" >&6
8765 else
8766 echo "$as_me:$LINENO: result: no" >&5
8767echo "${ECHO_T}no" >&6
8768 fi
8769
8770
8771 enablestring=
8772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8773echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8774 no_cache=0
8775 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8776if test "${enable_dirdlg+set}" = set; then
8777 enableval="$enable_dirdlg"
8778
8779 if test "$enableval" = yes; then
8780 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8781 else
8782 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8783 fi
8784
8785else
8786
8787 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8788 if test "x$LINE" != x ; then
8789 eval "DEFAULT_$LINE"
8790 else
8791 no_cache=1
8792 fi
8793
8794 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8795
8796fi;
8797
8798 eval "$ac_cv_use_dirdlg"
8799 if test "$no_cache" != 1; then
8800 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8801 fi
8802
8803 if test "$wxUSE_DIRDLG" = yes; then
8804 echo "$as_me:$LINENO: result: yes" >&5
8805echo "${ECHO_T}yes" >&6
8806 else
8807 echo "$as_me:$LINENO: result: no" >&5
8808echo "${ECHO_T}no" >&6
8809 fi
8810
8811
8812 enablestring=
8813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8814echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8815 no_cache=0
8816 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8817if test "${enable_msgdlg+set}" = set; then
8818 enableval="$enable_msgdlg"
8819
8820 if test "$enableval" = yes; then
8821 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8822 else
8823 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8824 fi
8825
8826else
8827
8828 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x ; then
8830 eval "DEFAULT_$LINE"
8831 else
8832 no_cache=1
8833 fi
8834
8835 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8836
8837fi;
8838
8839 eval "$ac_cv_use_msgdlg"
8840 if test "$no_cache" != 1; then
8841 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8842 fi
8843
8844 if test "$wxUSE_MSGDLG" = yes; then
8845 echo "$as_me:$LINENO: result: yes" >&5
8846echo "${ECHO_T}yes" >&6
8847 else
8848 echo "$as_me:$LINENO: result: no" >&5
8849echo "${ECHO_T}no" >&6
8850 fi
8851
8852
8853 enablestring=
8854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8855echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8856 no_cache=0
8857 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8858if test "${enable_numberdlg+set}" = set; then
8859 enableval="$enable_numberdlg"
8860
8861 if test "$enableval" = yes; then
8862 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8863 else
8864 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8865 fi
8866
8867else
8868
8869 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8870 if test "x$LINE" != x ; then
8871 eval "DEFAULT_$LINE"
8872 else
8873 no_cache=1
8874 fi
8875
8876 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8877
8878fi;
8879
8880 eval "$ac_cv_use_numberdlg"
8881 if test "$no_cache" != 1; then
8882 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8883 fi
8884
8885 if test "$wxUSE_NUMBERDLG" = yes; then
8886 echo "$as_me:$LINENO: result: yes" >&5
8887echo "${ECHO_T}yes" >&6
8888 else
8889 echo "$as_me:$LINENO: result: no" >&5
8890echo "${ECHO_T}no" >&6
8891 fi
8892
8893
8894 enablestring=
8895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8896echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8897 no_cache=0
8898 # Check whether --enable-splash or --disable-splash was given.
8899if test "${enable_splash+set}" = set; then
8900 enableval="$enable_splash"
8901
8902 if test "$enableval" = yes; then
8903 ac_cv_use_splash='wxUSE_SPLASH=yes'
8904 else
8905 ac_cv_use_splash='wxUSE_SPLASH=no'
8906 fi
8907
8908else
8909
8910 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8911 if test "x$LINE" != x ; then
8912 eval "DEFAULT_$LINE"
8913 else
8914 no_cache=1
8915 fi
8916
8917 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8918
8919fi;
8920
8921 eval "$ac_cv_use_splash"
8922 if test "$no_cache" != 1; then
8923 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8924 fi
8925
8926 if test "$wxUSE_SPLASH" = yes; then
8927 echo "$as_me:$LINENO: result: yes" >&5
8928echo "${ECHO_T}yes" >&6
8929 else
8930 echo "$as_me:$LINENO: result: no" >&5
8931echo "${ECHO_T}no" >&6
8932 fi
8933
8934
8935 enablestring=
8936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8937echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8938 no_cache=0
8939 # Check whether --enable-textdlg or --disable-textdlg was given.
8940if test "${enable_textdlg+set}" = set; then
8941 enableval="$enable_textdlg"
8942
8943 if test "$enableval" = yes; then
8944 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8945 else
8946 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8947 fi
8948
8949else
8950
8951 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8952 if test "x$LINE" != x ; then
8953 eval "DEFAULT_$LINE"
8954 else
8955 no_cache=1
8956 fi
8957
8958 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8959
8960fi;
8961
8962 eval "$ac_cv_use_textdlg"
8963 if test "$no_cache" != 1; then
8964 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8965 fi
8966
8967 if test "$wxUSE_TEXTDLG" = yes; then
8968 echo "$as_me:$LINENO: result: yes" >&5
8969echo "${ECHO_T}yes" >&6
8970 else
8971 echo "$as_me:$LINENO: result: no" >&5
8972echo "${ECHO_T}no" >&6
8973 fi
8974
8975
8976 enablestring=
8977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8978echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8979 no_cache=0
8980 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8981if test "${enable_tipdlg+set}" = set; then
8982 enableval="$enable_tipdlg"
8983
8984 if test "$enableval" = yes; then
8985 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8986 else
8987 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8988 fi
8989
8990else
8991
8992 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8993 if test "x$LINE" != x ; then
8994 eval "DEFAULT_$LINE"
8995 else
8996 no_cache=1
8997 fi
8998
8999 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9000
9001fi;
9002
9003 eval "$ac_cv_use_tipdlg"
9004 if test "$no_cache" != 1; then
9005 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9006 fi
9007
9008 if test "$wxUSE_STARTUP_TIPS" = yes; then
9009 echo "$as_me:$LINENO: result: yes" >&5
9010echo "${ECHO_T}yes" >&6
9011 else
9012 echo "$as_me:$LINENO: result: no" >&5
9013echo "${ECHO_T}no" >&6
9014 fi
9015
9016
9017 enablestring=
9018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9019echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9020 no_cache=0
9021 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9022if test "${enable_progressdlg+set}" = set; then
9023 enableval="$enable_progressdlg"
9024
9025 if test "$enableval" = yes; then
9026 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9027 else
9028 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9029 fi
9030
9031else
9032
9033 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9034 if test "x$LINE" != x ; then
9035 eval "DEFAULT_$LINE"
9036 else
9037 no_cache=1
9038 fi
9039
9040 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9041
9042fi;
9043
9044 eval "$ac_cv_use_progressdlg"
9045 if test "$no_cache" != 1; then
9046 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9047 fi
9048
9049 if test "$wxUSE_PROGRESSDLG" = yes; then
9050 echo "$as_me:$LINENO: result: yes" >&5
9051echo "${ECHO_T}yes" >&6
9052 else
9053 echo "$as_me:$LINENO: result: no" >&5
9054echo "${ECHO_T}no" >&6
9055 fi
9056
9057
9058 enablestring=
9059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9060echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9061 no_cache=0
9062 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9063if test "${enable_wizarddlg+set}" = set; then
9064 enableval="$enable_wizarddlg"
9065
9066 if test "$enableval" = yes; then
9067 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9068 else
9069 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9070 fi
9071
9072else
9073
9074 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9075 if test "x$LINE" != x ; then
9076 eval "DEFAULT_$LINE"
9077 else
9078 no_cache=1
9079 fi
9080
9081 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9082
9083fi;
9084
9085 eval "$ac_cv_use_wizarddlg"
9086 if test "$no_cache" != 1; then
9087 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9088 fi
9089
9090 if test "$wxUSE_WIZARDDLG" = yes; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092echo "${ECHO_T}yes" >&6
9093 else
9094 echo "$as_me:$LINENO: result: no" >&5
9095echo "${ECHO_T}no" >&6
9096 fi
9097
9098
9099
9100
9101 enablestring=
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9103echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9104 no_cache=0
9105 # Check whether --enable-menus or --disable-menus was given.
9106if test "${enable_menus+set}" = set; then
9107 enableval="$enable_menus"
9108
9109 if test "$enableval" = yes; then
9110 ac_cv_use_menus='wxUSE_MENUS=yes'
9111 else
9112 ac_cv_use_menus='wxUSE_MENUS=no'
9113 fi
9114
9115else
9116
9117 LINE=`grep "wxUSE_MENUS" ${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_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9125
9126fi;
9127
9128 eval "$ac_cv_use_menus"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9131 fi
9132
9133 if test "$wxUSE_MENUS" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135echo "${ECHO_T}yes" >&6
9136 else
9137 echo "$as_me:$LINENO: result: no" >&5
9138echo "${ECHO_T}no" >&6
9139 fi
9140
9141
9142 enablestring=
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9144echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9145 no_cache=0
9146 # Check whether --enable-miniframe or --disable-miniframe was given.
9147if test "${enable_miniframe+set}" = set; then
9148 enableval="$enable_miniframe"
9149
9150 if test "$enableval" = yes; then
9151 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9152 else
9153 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9154 fi
9155
9156else
9157
9158 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x ; then
9160 eval "DEFAULT_$LINE"
9161 else
9162 no_cache=1
9163 fi
9164
9165 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9166
9167fi;
9168
9169 eval "$ac_cv_use_miniframe"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9172 fi
9173
9174 if test "$wxUSE_MINIFRAME" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176echo "${ECHO_T}yes" >&6
9177 else
9178 echo "$as_me:$LINENO: result: no" >&5
9179echo "${ECHO_T}no" >&6
9180 fi
9181
9182
9183 enablestring=
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9185echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9186 no_cache=0
9187 # Check whether --enable-tooltips or --disable-tooltips was given.
9188if test "${enable_tooltips+set}" = set; then
9189 enableval="$enable_tooltips"
9190
9191 if test "$enableval" = yes; then
9192 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9193 else
9194 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9195 fi
9196
9197else
9198
9199 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x ; then
9201 eval "DEFAULT_$LINE"
9202 else
9203 no_cache=1
9204 fi
9205
9206 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9207
9208fi;
9209
9210 eval "$ac_cv_use_tooltips"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9213 fi
9214
9215 if test "$wxUSE_TOOLTIPS" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217echo "${ECHO_T}yes" >&6
9218 else
9219 echo "$as_me:$LINENO: result: no" >&5
9220echo "${ECHO_T}no" >&6
9221 fi
9222
9223
9224 enablestring=
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9226echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9227 no_cache=0
9228 # Check whether --enable-splines or --disable-splines was given.
9229if test "${enable_splines+set}" = set; then
9230 enableval="$enable_splines"
9231
9232 if test "$enableval" = yes; then
9233 ac_cv_use_splines='wxUSE_SPLINES=yes'
9234 else
9235 ac_cv_use_splines='wxUSE_SPLINES=no'
9236 fi
9237
9238else
9239
9240 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x ; then
9242 eval "DEFAULT_$LINE"
9243 else
9244 no_cache=1
9245 fi
9246
9247 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9248
9249fi;
9250
9251 eval "$ac_cv_use_splines"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9254 fi
9255
9256 if test "$wxUSE_SPLINES" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258echo "${ECHO_T}yes" >&6
9259 else
9260 echo "$as_me:$LINENO: result: no" >&5
9261echo "${ECHO_T}no" >&6
9262 fi
9263
9264
9265 enablestring=
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9267echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9268 no_cache=0
9269 # Check whether --enable-validators or --disable-validators was given.
9270if test "${enable_validators+set}" = set; then
9271 enableval="$enable_validators"
9272
9273 if test "$enableval" = yes; then
9274 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9275 else
9276 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9277 fi
9278
9279else
9280
9281 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x ; then
9283 eval "DEFAULT_$LINE"
9284 else
9285 no_cache=1
9286 fi
9287
9288 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9289
9290fi;
9291
9292 eval "$ac_cv_use_validators"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9295 fi
9296
9297 if test "$wxUSE_VALIDATORS" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299echo "${ECHO_T}yes" >&6
9300 else
9301 echo "$as_me:$LINENO: result: no" >&5
9302echo "${ECHO_T}no" >&6
9303 fi
9304
9305
9306 enablestring=
9307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9308echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9309 no_cache=0
9310 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9311if test "${enable_busyinfo+set}" = set; then
9312 enableval="$enable_busyinfo"
9313
9314 if test "$enableval" = yes; then
9315 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9316 else
9317 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9318 fi
9319
9320else
9321
9322 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9323 if test "x$LINE" != x ; then
9324 eval "DEFAULT_$LINE"
9325 else
9326 no_cache=1
9327 fi
9328
9329 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9330
9331fi;
9332
9333 eval "$ac_cv_use_busyinfo"
9334 if test "$no_cache" != 1; then
9335 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9336 fi
9337
9338 if test "$wxUSE_BUSYINFO" = yes; then
9339 echo "$as_me:$LINENO: result: yes" >&5
9340echo "${ECHO_T}yes" >&6
9341 else
9342 echo "$as_me:$LINENO: result: no" >&5
9343echo "${ECHO_T}no" >&6
9344 fi
9345
9346
9347 enablestring=
9348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9349echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9350 no_cache=0
9351 # Check whether --enable-joystick or --disable-joystick was given.
9352if test "${enable_joystick+set}" = set; then
9353 enableval="$enable_joystick"
9354
9355 if test "$enableval" = yes; then
9356 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9357 else
9358 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9359 fi
9360
9361else
9362
9363 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9364 if test "x$LINE" != x ; then
9365 eval "DEFAULT_$LINE"
9366 else
9367 no_cache=1
9368 fi
9369
9370 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9371
9372fi;
9373
9374 eval "$ac_cv_use_joystick"
9375 if test "$no_cache" != 1; then
9376 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9377 fi
9378
9379 if test "$wxUSE_JOYSTICK" = yes; then
9380 echo "$as_me:$LINENO: result: yes" >&5
9381echo "${ECHO_T}yes" >&6
9382 else
9383 echo "$as_me:$LINENO: result: no" >&5
9384echo "${ECHO_T}no" >&6
9385 fi
9386
9387
9388 enablestring=
9389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9390echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9391 no_cache=0
9392 # Check whether --enable-metafile or --disable-metafile was given.
9393if test "${enable_metafile+set}" = set; then
9394 enableval="$enable_metafile"
9395
9396 if test "$enableval" = yes; then
9397 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9398 else
9399 ac_cv_use_metafile='wxUSE_METAFILE=no'
9400 fi
9401
9402else
9403
9404 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9405 if test "x$LINE" != x ; then
9406 eval "DEFAULT_$LINE"
9407 else
9408 no_cache=1
9409 fi
9410
9411 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9412
9413fi;
9414
9415 eval "$ac_cv_use_metafile"
9416 if test "$no_cache" != 1; then
9417 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9418 fi
9419
9420 if test "$wxUSE_METAFILE" = yes; then
9421 echo "$as_me:$LINENO: result: yes" >&5
9422echo "${ECHO_T}yes" >&6
9423 else
9424 echo "$as_me:$LINENO: result: no" >&5
9425echo "${ECHO_T}no" >&6
9426 fi
9427
9428
9429 enablestring=
9430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9431echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9432 no_cache=0
9433 # Check whether --enable-dragimage or --disable-dragimage was given.
9434if test "${enable_dragimage+set}" = set; then
9435 enableval="$enable_dragimage"
9436
9437 if test "$enableval" = yes; then
9438 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9439 else
9440 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9441 fi
9442
9443else
9444
9445 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9446 if test "x$LINE" != x ; then
9447 eval "DEFAULT_$LINE"
9448 else
9449 no_cache=1
9450 fi
9451
9452 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9453
9454fi;
9455
9456 eval "$ac_cv_use_dragimage"
9457 if test "$no_cache" != 1; then
9458 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9459 fi
9460
9461 if test "$wxUSE_DRAGIMAGE" = yes; then
9462 echo "$as_me:$LINENO: result: yes" >&5
9463echo "${ECHO_T}yes" >&6
9464 else
9465 echo "$as_me:$LINENO: result: no" >&5
9466echo "${ECHO_T}no" >&6
9467 fi
9468
9469
9470 enablestring=
9471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9472echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9473 no_cache=0
9474 # Check whether --enable-accessibility or --disable-accessibility was given.
9475if test "${enable_accessibility+set}" = set; then
9476 enableval="$enable_accessibility"
9477
9478 if test "$enableval" = yes; then
9479 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9480 else
9481 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9482 fi
9483
9484else
9485
9486 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9487 if test "x$LINE" != x ; then
9488 eval "DEFAULT_$LINE"
9489 else
9490 no_cache=1
9491 fi
9492
9493 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9494
9495fi;
9496
9497 eval "$ac_cv_use_accessibility"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9500 fi
9501
9502 if test "$wxUSE_ACCESSIBILITY" = yes; then
9503 echo "$as_me:$LINENO: result: yes" >&5
9504echo "${ECHO_T}yes" >&6
9505 else
9506 echo "$as_me:$LINENO: result: no" >&5
9507echo "${ECHO_T}no" >&6
9508 fi
9509
9510
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9515echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-palette or --disable-palette was given.
9518if test "${enable_palette+set}" = set; then
9519 enableval="$enable_palette"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_palette='wxUSE_PALETTE=yes'
9523 else
9524 ac_cv_use_palette='wxUSE_PALETTE=no'
9525 fi
9526
9527else
9528
9529 LINE=`grep "wxUSE_PALETTE" ${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_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9537
9538fi;
9539
9540 eval "$ac_cv_use_palette"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_PALETTE" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554 enablestring=
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9556echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9557 no_cache=0
9558 # Check whether --enable-image or --disable-image was given.
9559if test "${enable_image+set}" = set; then
9560 enableval="$enable_image"
9561
9562 if test "$enableval" = yes; then
9563 ac_cv_use_image='wxUSE_IMAGE=yes'
9564 else
9565 ac_cv_use_image='wxUSE_IMAGE=no'
9566 fi
9567
9568else
9569
9570 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 else
9574 no_cache=1
9575 fi
9576
9577 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9578
9579fi;
9580
9581 eval "$ac_cv_use_image"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9584 fi
9585
9586 if test "$wxUSE_IMAGE" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588echo "${ECHO_T}yes" >&6
9589 else
9590 echo "$as_me:$LINENO: result: no" >&5
9591echo "${ECHO_T}no" >&6
9592 fi
9593
9594
9595 enablestring=
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9597echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9598 no_cache=0
9599 # Check whether --enable-gif or --disable-gif was given.
9600if test "${enable_gif+set}" = set; then
9601 enableval="$enable_gif"
9602
9603 if test "$enableval" = yes; then
9604 ac_cv_use_gif='wxUSE_GIF=yes'
9605 else
9606 ac_cv_use_gif='wxUSE_GIF=no'
9607 fi
9608
9609else
9610
9611 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x ; then
9613 eval "DEFAULT_$LINE"
9614 else
9615 no_cache=1
9616 fi
9617
9618 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9619
9620fi;
9621
9622 eval "$ac_cv_use_gif"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9625 fi
9626
9627 if test "$wxUSE_GIF" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629echo "${ECHO_T}yes" >&6
9630 else
9631 echo "$as_me:$LINENO: result: no" >&5
9632echo "${ECHO_T}no" >&6
9633 fi
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9638echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-pcx or --disable-pcx was given.
9641if test "${enable_pcx+set}" = set; then
9642 enableval="$enable_pcx"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_pcx='wxUSE_PCX=yes'
9646 else
9647 ac_cv_use_pcx='wxUSE_PCX=no'
9648 fi
9649
9650else
9651
9652 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9660
9661fi;
9662
9663 eval "$ac_cv_use_pcx"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_PCX" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673echo "${ECHO_T}no" >&6
9674 fi
9675
9676
9677 enablestring=
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9679echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9680 no_cache=0
9681 # Check whether --enable-iff or --disable-iff was given.
9682if test "${enable_iff+set}" = set; then
9683 enableval="$enable_iff"
9684
9685 if test "$enableval" = yes; then
9686 ac_cv_use_iff='wxUSE_IFF=yes'
9687 else
9688 ac_cv_use_iff='wxUSE_IFF=no'
9689 fi
9690
9691else
9692
9693 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x ; then
9695 eval "DEFAULT_$LINE"
9696 else
9697 no_cache=1
9698 fi
9699
9700 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9701
9702fi;
9703
9704 eval "$ac_cv_use_iff"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9707 fi
9708
9709 if test "$wxUSE_IFF" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711echo "${ECHO_T}yes" >&6
9712 else
9713 echo "$as_me:$LINENO: result: no" >&5
9714echo "${ECHO_T}no" >&6
9715 fi
9716
9717
9718 enablestring=
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9720echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9721 no_cache=0
9722 # Check whether --enable-pnm or --disable-pnm was given.
9723if test "${enable_pnm+set}" = set; then
9724 enableval="$enable_pnm"
9725
9726 if test "$enableval" = yes; then
9727 ac_cv_use_pnm='wxUSE_PNM=yes'
9728 else
9729 ac_cv_use_pnm='wxUSE_PNM=no'
9730 fi
9731
9732else
9733
9734 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x ; then
9736 eval "DEFAULT_$LINE"
9737 else
9738 no_cache=1
9739 fi
9740
9741 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9742
9743fi;
9744
9745 eval "$ac_cv_use_pnm"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9748 fi
9749
9750 if test "$wxUSE_PNM" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752echo "${ECHO_T}yes" >&6
9753 else
9754 echo "$as_me:$LINENO: result: no" >&5
9755echo "${ECHO_T}no" >&6
9756 fi
9757
9758
9759 enablestring=
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9761echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9762 no_cache=0
9763 # Check whether --enable-xpm or --disable-xpm was given.
9764if test "${enable_xpm+set}" = set; then
9765 enableval="$enable_xpm"
9766
9767 if test "$enableval" = yes; then
9768 ac_cv_use_xpm='wxUSE_XPM=yes'
9769 else
9770 ac_cv_use_xpm='wxUSE_XPM=no'
9771 fi
9772
9773else
9774
9775 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x ; then
9777 eval "DEFAULT_$LINE"
9778 else
9779 no_cache=1
9780 fi
9781
9782 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9783
9784fi;
9785
9786 eval "$ac_cv_use_xpm"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9789 fi
9790
9791 if test "$wxUSE_XPM" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793echo "${ECHO_T}yes" >&6
9794 else
9795 echo "$as_me:$LINENO: result: no" >&5
9796echo "${ECHO_T}no" >&6
9797 fi
9798
9799
9800 enablestring=
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9802echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9803 no_cache=0
9804 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9805if test "${enable_ico_cur+set}" = set; then
9806 enableval="$enable_ico_cur"
9807
9808 if test "$enableval" = yes; then
9809 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9810 else
9811 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9812 fi
9813
9814else
9815
9816 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x ; then
9818 eval "DEFAULT_$LINE"
9819 else
9820 no_cache=1
9821 fi
9822
9823 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9824
9825fi;
9826
9827 eval "$ac_cv_use_ico_cur"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9830 fi
9831
9832 if test "$wxUSE_ICO_CUR" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834echo "${ECHO_T}yes" >&6
9835 else
9836 echo "$as_me:$LINENO: result: no" >&5
9837echo "${ECHO_T}no" >&6
9838 fi
9839
9840
9841fi
9842
9843
9844
9845 enablestring=
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9847echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9848 no_cache=0
9849 # Check whether --enable-official_build or --disable-official_build was given.
9850if test "${enable_official_build+set}" = set; then
9851 enableval="$enable_official_build"
9852
9853 if test "$enableval" = yes; then
9854 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9855 else
9856 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9857 fi
9858
9859else
9860
9861 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9869
9870fi;
9871
9872 eval "$ac_cv_use_official_build"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879echo "${ECHO_T}yes" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882echo "${ECHO_T}no" >&6
9883 fi
9884
9885# Check whether --enable-vendor or --disable-vendor was given.
9886if test "${enable_vendor+set}" = set; then
9887 enableval="$enable_vendor"
9888 VENDOR="$enableval"
9889fi;
9890if test "x$VENDOR" = "x"; then
9891 VENDOR="custom"
9892fi
9893
9894case "${host}" in
9895 *-pc-os2_emx | *-pc-os2-emx )
9896 PATH_IFS=';'
9897 if test "$wxUSE_OMF" = "yes"; then
9898 AR=emxomfar
9899 RANLIB=:
9900 LDFLAGS="-Zomf $LDFLAGS"
9901 CFLAGS="-Zomf $CFLAGS"
9902 CXXFLAGS="-Zomf $CXXFLAGS"
9903 fi
9904 ;;
9905 *)
9906 PATH_IFS=':'
9907 ;;
9908esac
9909
9910
9911
9912 echo "saving argument cache $wx_arg_cache_file"
9913 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9914
9915
9916
9917echo "$as_me:$LINENO: checking for toolkit" >&5
9918echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9919
9920# In Wine, we need to default to MSW, not GTK or MOTIF
9921if test "$wxUSE_WINE" = "yes"; then
9922 DEFAULT_DEFAULT_wxUSE_GTK=0
9923 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9924 DEFAULT_DEFAULT_wxUSE_MSW=1
9925 wxUSE_SHARED=no
9926fi
9927
9928if test "$wxUSE_GUI" = "yes"; then
9929
9930 if test "$USE_BEOS" = 1; then
9931 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9932echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9933 { (exit 1); exit 1; }; }
9934 fi
9935
9936 if test "$TOOLKIT_GIVEN" = 1; then
9937 for toolkit in `echo $ALL_TOOLKITS`; do
9938 var=wxUSE_$toolkit
9939 eval "value=\$${var}"
9940 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9941 done
9942 else
9943 for toolkit in `echo $ALL_TOOLKITS`; do
9944 if test "$has_toolkit_in_cache" != 1; then
9945 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9946 else
9947 var=DEFAULT_wxUSE_$toolkit
9948 fi
9949 eval "wxUSE_$toolkit=\$${var}"
9950 done
9951 fi
9952
9953 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9954 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9955 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9956
9957 case "${host}" in
9958 *-pc-os2_emx | *-pc-os2-emx )
9959 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9960 esac
9961
9962 case "$NUM_TOOLKITS" in
9963 1)
9964 ;;
9965 0)
9966 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9967echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9968 { (exit 1); exit 1; }; }
9969 ;;
9970 *)
9971 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9972echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9973 { (exit 1); exit 1; }; }
9974 esac
9975
9976 for toolkit in `echo $ALL_TOOLKITS`; do
9977 var=wxUSE_$toolkit
9978 eval "value=\$${var}"
9979 if test "x$value" != x; then
9980 cache_var=CACHE_$toolkit
9981 eval "cache=\$${cache_var}"
9982 if test "$cache" = 1; then
9983 echo "$var=$value" >> ${wx_arg_cache_file}
9984 fi
9985 if test "$value" = 1; then
9986 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9987 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9988echo "${ECHO_T}$toolkit_echo" >&6
9989 fi
9990 fi
9991 done
9992else
9993 if test "x$host_alias" != "x"; then
9994 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9995echo "${ECHO_T}base ($host_alias hosted) only" >&6
9996 else
9997 echo "$as_me:$LINENO: result: base only" >&5
9998echo "${ECHO_T}base only" >&6
9999 fi
10000fi
10001
10002wants_win32=0
10003doesnt_want_win32=0
10004case "${host}" in
10005 *-*-cygwin*)
10006 if test "$wxUSE_MSW" = 1 ; then
10007 wants_win32=1
10008 else
10009 doesnt_want_win32=1
10010 fi
10011 ;;
10012 *-*-mingw*)
10013 wants_win32=1
10014 ;;
10015esac
10016
10017if test "$wxUSE_WINE" = "yes"; then
10018 wants_win32=1
10019 CC=winegcc
10020 CXX=wineg++
10021 RESCOMP=wrc
10022 LDFLAGS_GUI="-mwindows"
10023fi
10024
10025if test "$wants_win32" = 1 ; then
10026 USE_UNIX=0
10027 USE_WIN32=1
10028 cat >>confdefs.h <<\_ACEOF
10029#define __WIN32__ 1
10030_ACEOF
10031
10032 cat >>confdefs.h <<\_ACEOF
10033#define __WIN95__ 1
10034_ACEOF
10035
10036 cat >>confdefs.h <<\_ACEOF
10037#define __WINDOWS__ 1
10038_ACEOF
10039
10040 cat >>confdefs.h <<\_ACEOF
10041#define __GNUWIN32__ 1
10042_ACEOF
10043
10044 cat >>confdefs.h <<\_ACEOF
10045#define STRICT 1
10046_ACEOF
10047
10048 cat >>confdefs.h <<\_ACEOF
10049#define WINVER 0x0400
10050_ACEOF
10051
10052fi
10053if test "$doesnt_want_win32" = 1 ; then
10054 USE_UNIX=1
10055 USE_WIN32=0
10056fi
10057
10058if test "$USE_UNIX" = 1 ; then
10059 wxUSE_UNIX=yes
10060 cat >>confdefs.h <<\_ACEOF
10061#define __UNIX__ 1
10062_ACEOF
10063
10064fi
10065
10066
10067cat >confcache <<\_ACEOF
10068# This file is a shell script that caches the results of configure
10069# tests run on this system so they can be shared between configure
10070# scripts and configure runs, see configure's option --config-cache.
10071# It is not useful on other systems. If it contains results you don't
10072# want to keep, you may remove or edit it.
10073#
10074# config.status only pays attention to the cache file if you give it
10075# the --recheck option to rerun configure.
10076#
10077# `ac_cv_env_foo' variables (set or unset) will be overridden when
10078# loading this file, other *unset* `ac_cv_foo' will be assigned the
10079# following values.
10080
10081_ACEOF
10082
10083# The following way of writing the cache mishandles newlines in values,
10084# but we know of no workaround that is simple, portable, and efficient.
10085# So, don't put newlines in cache variables' values.
10086# Ultrix sh set writes to stderr and can't be redirected directly,
10087# and sets the high bit in the cache file unless we assign to the vars.
10088{
10089 (set) 2>&1 |
10090 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10091 *ac_space=\ *)
10092 # `set' does not quote correctly, so add quotes (double-quote
10093 # substitution turns \\\\ into \\, and sed turns \\ into \).
10094 sed -n \
10095 "s/'/'\\\\''/g;
10096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10097 ;;
10098 *)
10099 # `set' quotes correctly as required by POSIX, so do not add quotes.
10100 sed -n \
10101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10102 ;;
10103 esac;
10104} |
10105 sed '
10106 t clear
10107 : clear
10108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10109 t end
10110 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10111 : end' >>confcache
10112if diff $cache_file confcache >/dev/null 2>&1; then :; else
10113 if test -w $cache_file; then
10114 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10115 cat confcache >$cache_file
10116 else
10117 echo "not updating unwritable cache $cache_file"
10118 fi
10119fi
10120rm -f confcache
10121
10122if test "$build" != "$host" ; then
10123 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10124 CC=$host_alias-gcc
10125 CXX=$host_alias-c++
10126 AR=$host_alias-ar
10127 RANLIB=$host_alias-ranlib
10128 DLLTOOL=$host_alias-dlltool
10129 RESCOMP=$host_alias-windres
10130 LD=$host_alias-ld
10131 NM=$host_alias-nm
10132 STRIP=$host_alias-strip
10133 else
10134 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10135echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10136 { (exit 1); exit 1; }; }
10137 fi
10138fi
10139
10140CFLAGS=${CFLAGS:=}
10141ac_ext=c
10142ac_cpp='$CPP $CPPFLAGS'
10143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10145ac_compiler_gnu=$ac_cv_c_compiler_gnu
10146if test -n "$ac_tool_prefix"; then
10147 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10148set dummy ${ac_tool_prefix}gcc; ac_word=$2
10149echo "$as_me:$LINENO: checking for $ac_word" >&5
10150echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10151if test "${ac_cv_prog_CC+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10153else
10154 if test -n "$CC"; then
10155 ac_cv_prog_CC="$CC" # Let the user override the test.
10156else
10157as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10158for as_dir in $PATH
10159do
10160 IFS=$as_save_IFS
10161 test -z "$as_dir" && as_dir=.
10162 for ac_exec_ext in '' $ac_executable_extensions; do
10163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10164 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 break 2
10167 fi
10168done
10169done
10170
10171fi
10172fi
10173CC=$ac_cv_prog_CC
10174if test -n "$CC"; then
10175 echo "$as_me:$LINENO: result: $CC" >&5
10176echo "${ECHO_T}$CC" >&6
10177else
10178 echo "$as_me:$LINENO: result: no" >&5
10179echo "${ECHO_T}no" >&6
10180fi
10181
10182fi
10183if test -z "$ac_cv_prog_CC"; then
10184 ac_ct_CC=$CC
10185 # Extract the first word of "gcc", so it can be a program name with args.
10186set dummy gcc; ac_word=$2
10187echo "$as_me:$LINENO: checking for $ac_word" >&5
10188echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10189if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10191else
10192 if test -n "$ac_ct_CC"; then
10193 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10194else
10195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10196for as_dir in $PATH
10197do
10198 IFS=$as_save_IFS
10199 test -z "$as_dir" && as_dir=.
10200 for ac_exec_ext in '' $ac_executable_extensions; do
10201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10202 ac_cv_prog_ac_ct_CC="gcc"
10203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 break 2
10205 fi
10206done
10207done
10208
10209fi
10210fi
10211ac_ct_CC=$ac_cv_prog_ac_ct_CC
10212if test -n "$ac_ct_CC"; then
10213 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10214echo "${ECHO_T}$ac_ct_CC" >&6
10215else
10216 echo "$as_me:$LINENO: result: no" >&5
10217echo "${ECHO_T}no" >&6
10218fi
10219
10220 CC=$ac_ct_CC
10221else
10222 CC="$ac_cv_prog_CC"
10223fi
10224
10225if test -z "$CC"; then
10226 if test -n "$ac_tool_prefix"; then
10227 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10228set dummy ${ac_tool_prefix}cc; ac_word=$2
10229echo "$as_me:$LINENO: checking for $ac_word" >&5
10230echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10231if test "${ac_cv_prog_CC+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233else
10234 if test -n "$CC"; then
10235 ac_cv_prog_CC="$CC" # Let the user override the test.
10236else
10237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10238for as_dir in $PATH
10239do
10240 IFS=$as_save_IFS
10241 test -z "$as_dir" && as_dir=.
10242 for ac_exec_ext in '' $ac_executable_extensions; do
10243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10244 ac_cv_prog_CC="${ac_tool_prefix}cc"
10245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10246 break 2
10247 fi
10248done
10249done
10250
10251fi
10252fi
10253CC=$ac_cv_prog_CC
10254if test -n "$CC"; then
10255 echo "$as_me:$LINENO: result: $CC" >&5
10256echo "${ECHO_T}$CC" >&6
10257else
10258 echo "$as_me:$LINENO: result: no" >&5
10259echo "${ECHO_T}no" >&6
10260fi
10261
10262fi
10263if test -z "$ac_cv_prog_CC"; then
10264 ac_ct_CC=$CC
10265 # Extract the first word of "cc", so it can be a program name with args.
10266set dummy cc; ac_word=$2
10267echo "$as_me:$LINENO: checking for $ac_word" >&5
10268echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10269if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10270 echo $ECHO_N "(cached) $ECHO_C" >&6
10271else
10272 if test -n "$ac_ct_CC"; then
10273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10274else
10275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10276for as_dir in $PATH
10277do
10278 IFS=$as_save_IFS
10279 test -z "$as_dir" && as_dir=.
10280 for ac_exec_ext in '' $ac_executable_extensions; do
10281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10282 ac_cv_prog_ac_ct_CC="cc"
10283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10284 break 2
10285 fi
10286done
10287done
10288
10289fi
10290fi
10291ac_ct_CC=$ac_cv_prog_ac_ct_CC
10292if test -n "$ac_ct_CC"; then
10293 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10294echo "${ECHO_T}$ac_ct_CC" >&6
10295else
10296 echo "$as_me:$LINENO: result: no" >&5
10297echo "${ECHO_T}no" >&6
10298fi
10299
10300 CC=$ac_ct_CC
10301else
10302 CC="$ac_cv_prog_CC"
10303fi
10304
10305fi
10306if test -z "$CC"; then
10307 # Extract the first word of "cc", so it can be a program name with args.
10308set dummy cc; ac_word=$2
10309echo "$as_me:$LINENO: checking for $ac_word" >&5
10310echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10311if test "${ac_cv_prog_CC+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10313else
10314 if test -n "$CC"; then
10315 ac_cv_prog_CC="$CC" # Let the user override the test.
10316else
10317 ac_prog_rejected=no
10318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10319for as_dir in $PATH
10320do
10321 IFS=$as_save_IFS
10322 test -z "$as_dir" && as_dir=.
10323 for ac_exec_ext in '' $ac_executable_extensions; do
10324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10325 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10326 ac_prog_rejected=yes
10327 continue
10328 fi
10329 ac_cv_prog_CC="cc"
10330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10331 break 2
10332 fi
10333done
10334done
10335
10336if test $ac_prog_rejected = yes; then
10337 # We found a bogon in the path, so make sure we never use it.
10338 set dummy $ac_cv_prog_CC
10339 shift
10340 if test $# != 0; then
10341 # We chose a different compiler from the bogus one.
10342 # However, it has the same basename, so the bogon will be chosen
10343 # first if we set CC to just the basename; use the full file name.
10344 shift
10345 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10346 fi
10347fi
10348fi
10349fi
10350CC=$ac_cv_prog_CC
10351if test -n "$CC"; then
10352 echo "$as_me:$LINENO: result: $CC" >&5
10353echo "${ECHO_T}$CC" >&6
10354else
10355 echo "$as_me:$LINENO: result: no" >&5
10356echo "${ECHO_T}no" >&6
10357fi
10358
10359fi
10360if test -z "$CC"; then
10361 if test -n "$ac_tool_prefix"; then
10362 for ac_prog in cl
10363 do
10364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10365set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10366echo "$as_me:$LINENO: checking for $ac_word" >&5
10367echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10368if test "${ac_cv_prog_CC+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10370else
10371 if test -n "$CC"; then
10372 ac_cv_prog_CC="$CC" # Let the user override the test.
10373else
10374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10375for as_dir in $PATH
10376do
10377 IFS=$as_save_IFS
10378 test -z "$as_dir" && as_dir=.
10379 for ac_exec_ext in '' $ac_executable_extensions; do
10380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10381 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10383 break 2
10384 fi
10385done
10386done
10387
10388fi
10389fi
10390CC=$ac_cv_prog_CC
10391if test -n "$CC"; then
10392 echo "$as_me:$LINENO: result: $CC" >&5
10393echo "${ECHO_T}$CC" >&6
10394else
10395 echo "$as_me:$LINENO: result: no" >&5
10396echo "${ECHO_T}no" >&6
10397fi
10398
10399 test -n "$CC" && break
10400 done
10401fi
10402if test -z "$CC"; then
10403 ac_ct_CC=$CC
10404 for ac_prog in cl
10405do
10406 # Extract the first word of "$ac_prog", so it can be a program name with args.
10407set dummy $ac_prog; ac_word=$2
10408echo "$as_me:$LINENO: checking for $ac_word" >&5
10409echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10410if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10411 echo $ECHO_N "(cached) $ECHO_C" >&6
10412else
10413 if test -n "$ac_ct_CC"; then
10414 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10415else
10416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10417for as_dir in $PATH
10418do
10419 IFS=$as_save_IFS
10420 test -z "$as_dir" && as_dir=.
10421 for ac_exec_ext in '' $ac_executable_extensions; do
10422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10423 ac_cv_prog_ac_ct_CC="$ac_prog"
10424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10425 break 2
10426 fi
10427done
10428done
10429
10430fi
10431fi
10432ac_ct_CC=$ac_cv_prog_ac_ct_CC
10433if test -n "$ac_ct_CC"; then
10434 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10435echo "${ECHO_T}$ac_ct_CC" >&6
10436else
10437 echo "$as_me:$LINENO: result: no" >&5
10438echo "${ECHO_T}no" >&6
10439fi
10440
10441 test -n "$ac_ct_CC" && break
10442done
10443
10444 CC=$ac_ct_CC
10445fi
10446
10447fi
10448
10449
10450test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10451See \`config.log' for more details." >&5
10452echo "$as_me: error: no acceptable C compiler found in \$PATH
10453See \`config.log' for more details." >&2;}
10454 { (exit 1); exit 1; }; }
10455
10456# Provide some information about the compiler.
10457echo "$as_me:$LINENO:" \
10458 "checking for C compiler version" >&5
10459ac_compiler=`set X $ac_compile; echo $2`
10460{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10461 (eval $ac_compiler --version </dev/null >&5) 2>&5
10462 ac_status=$?
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }
10465{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10466 (eval $ac_compiler -v </dev/null >&5) 2>&5
10467 ac_status=$?
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }
10470{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10471 (eval $ac_compiler -V </dev/null >&5) 2>&5
10472 ac_status=$?
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }
10475
10476cat >conftest.$ac_ext <<_ACEOF
10477/* confdefs.h. */
10478_ACEOF
10479cat confdefs.h >>conftest.$ac_ext
10480cat >>conftest.$ac_ext <<_ACEOF
10481/* end confdefs.h. */
10482
10483int
10484main ()
10485{
10486
10487 ;
10488 return 0;
10489}
10490_ACEOF
10491ac_clean_files_save=$ac_clean_files
10492ac_clean_files="$ac_clean_files a.out a.exe b.out"
10493# Try to create an executable without -o first, disregard a.out.
10494# It will help us diagnose broken compilers, and finding out an intuition
10495# of exeext.
10496echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10497echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10498ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10499if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10500 (eval $ac_link_default) 2>&5
10501 ac_status=$?
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; then
10504 # Find the output, starting from the most likely. This scheme is
10505# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10506# resort.
10507
10508# Be careful to initialize this variable, since it used to be cached.
10509# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10510ac_cv_exeext=
10511# b.out is created by i960 compilers.
10512for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10513do
10514 test -f "$ac_file" || continue
10515 case $ac_file in
10516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10517 ;;
10518 conftest.$ac_ext )
10519 # This is the source file.
10520 ;;
10521 [ab].out )
10522 # We found the default executable, but exeext='' is most
10523 # certainly right.
10524 break;;
10525 *.* )
10526 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10527 # FIXME: I believe we export ac_cv_exeext for Libtool,
10528 # but it would be cool to find out if it's true. Does anybody
10529 # maintain Libtool? --akim.
10530 export ac_cv_exeext
10531 break;;
10532 * )
10533 break;;
10534 esac
10535done
10536else
10537 echo "$as_me: failed program was:" >&5
10538sed 's/^/| /' conftest.$ac_ext >&5
10539
10540{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10541See \`config.log' for more details." >&5
10542echo "$as_me: error: C compiler cannot create executables
10543See \`config.log' for more details." >&2;}
10544 { (exit 77); exit 77; }; }
10545fi
10546
10547ac_exeext=$ac_cv_exeext
10548echo "$as_me:$LINENO: result: $ac_file" >&5
10549echo "${ECHO_T}$ac_file" >&6
10550
10551# Check the compiler produces executables we can run. If not, either
10552# the compiler is broken, or we cross compile.
10553echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10554echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10555# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10556# If not cross compiling, check that we can run a simple program.
10557if test "$cross_compiling" != yes; then
10558 if { ac_try='./$ac_file'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560 (eval $ac_try) 2>&5
10561 ac_status=$?
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); }; }; then
10564 cross_compiling=no
10565 else
10566 if test "$cross_compiling" = maybe; then
10567 cross_compiling=yes
10568 else
10569 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10570If you meant to cross compile, use \`--host'.
10571See \`config.log' for more details." >&5
10572echo "$as_me: error: cannot run C compiled programs.
10573If you meant to cross compile, use \`--host'.
10574See \`config.log' for more details." >&2;}
10575 { (exit 1); exit 1; }; }
10576 fi
10577 fi
10578fi
10579echo "$as_me:$LINENO: result: yes" >&5
10580echo "${ECHO_T}yes" >&6
10581
10582rm -f a.out a.exe conftest$ac_cv_exeext b.out
10583ac_clean_files=$ac_clean_files_save
10584# Check the compiler produces executables we can run. If not, either
10585# the compiler is broken, or we cross compile.
10586echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10587echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10588echo "$as_me:$LINENO: result: $cross_compiling" >&5
10589echo "${ECHO_T}$cross_compiling" >&6
10590
10591echo "$as_me:$LINENO: checking for suffix of executables" >&5
10592echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10594 (eval $ac_link) 2>&5
10595 ac_status=$?
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; then
10598 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10599# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10600# work properly (i.e., refer to `conftest.exe'), while it won't with
10601# `rm'.
10602for ac_file in conftest.exe conftest conftest.*; do
10603 test -f "$ac_file" || continue
10604 case $ac_file in
10605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10606 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10607 export ac_cv_exeext
10608 break;;
10609 * ) break;;
10610 esac
10611done
10612else
10613 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10614See \`config.log' for more details." >&5
10615echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10616See \`config.log' for more details." >&2;}
10617 { (exit 1); exit 1; }; }
10618fi
10619
10620rm -f conftest$ac_cv_exeext
10621echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10622echo "${ECHO_T}$ac_cv_exeext" >&6
10623
10624rm -f conftest.$ac_ext
10625EXEEXT=$ac_cv_exeext
10626ac_exeext=$EXEEXT
10627echo "$as_me:$LINENO: checking for suffix of object files" >&5
10628echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10629if test "${ac_cv_objext+set}" = set; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10631else
10632 cat >conftest.$ac_ext <<_ACEOF
10633/* confdefs.h. */
10634_ACEOF
10635cat confdefs.h >>conftest.$ac_ext
10636cat >>conftest.$ac_ext <<_ACEOF
10637/* end confdefs.h. */
10638
10639int
10640main ()
10641{
10642
10643 ;
10644 return 0;
10645}
10646_ACEOF
10647rm -f conftest.o conftest.obj
10648if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>&5
10650 ac_status=$?
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; then
10653 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10654 case $ac_file in
10655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10656 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10657 break;;
10658 esac
10659done
10660else
10661 echo "$as_me: failed program was:" >&5
10662sed 's/^/| /' conftest.$ac_ext >&5
10663
10664{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10665See \`config.log' for more details." >&5
10666echo "$as_me: error: cannot compute suffix of object files: cannot compile
10667See \`config.log' for more details." >&2;}
10668 { (exit 1); exit 1; }; }
10669fi
10670
10671rm -f conftest.$ac_cv_objext conftest.$ac_ext
10672fi
10673echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10674echo "${ECHO_T}$ac_cv_objext" >&6
10675OBJEXT=$ac_cv_objext
10676ac_objext=$OBJEXT
10677echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10678echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10679if test "${ac_cv_c_compiler_gnu+set}" = set; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10681else
10682 cat >conftest.$ac_ext <<_ACEOF
10683/* confdefs.h. */
10684_ACEOF
10685cat confdefs.h >>conftest.$ac_ext
10686cat >>conftest.$ac_ext <<_ACEOF
10687/* end confdefs.h. */
10688
10689int
10690main ()
10691{
10692#ifndef __GNUC__
10693 choke me
10694#endif
10695
10696 ;
10697 return 0;
10698}
10699_ACEOF
10700rm -f conftest.$ac_objext
10701if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10702 (eval $ac_compile) 2>conftest.er1
10703 ac_status=$?
10704 grep -v '^ *+' conftest.er1 >conftest.err
10705 rm -f conftest.er1
10706 cat conftest.err >&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
10709 { ac_try='test -z "$ac_c_werror_flag"
10710 || test ! -s conftest.err'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10713 ac_status=$?
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; } &&
10716 { ac_try='test -s conftest.$ac_objext'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10719 ac_status=$?
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_compiler_gnu=yes
10723else
10724 echo "$as_me: failed program was:" >&5
10725sed 's/^/| /' conftest.$ac_ext >&5
10726
10727ac_compiler_gnu=no
10728fi
10729rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10730ac_cv_c_compiler_gnu=$ac_compiler_gnu
10731
10732fi
10733echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10734echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10735GCC=`test $ac_compiler_gnu = yes && echo yes`
10736ac_test_CFLAGS=${CFLAGS+set}
10737ac_save_CFLAGS=$CFLAGS
10738CFLAGS="-g"
10739echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10740echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10741if test "${ac_cv_prog_cc_g+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743else
10744 cat >conftest.$ac_ext <<_ACEOF
10745/* confdefs.h. */
10746_ACEOF
10747cat confdefs.h >>conftest.$ac_ext
10748cat >>conftest.$ac_ext <<_ACEOF
10749/* end confdefs.h. */
10750
10751int
10752main ()
10753{
10754
10755 ;
10756 return 0;
10757}
10758_ACEOF
10759rm -f conftest.$ac_objext
10760if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10761 (eval $ac_compile) 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10772 ac_status=$?
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try='test -s conftest.$ac_objext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10778 ac_status=$?
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 ac_cv_prog_cc_g=yes
10782else
10783 echo "$as_me: failed program was:" >&5
10784sed 's/^/| /' conftest.$ac_ext >&5
10785
10786ac_cv_prog_cc_g=no
10787fi
10788rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10789fi
10790echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10791echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10792if test "$ac_test_CFLAGS" = set; then
10793 CFLAGS=$ac_save_CFLAGS
10794elif test $ac_cv_prog_cc_g = yes; then
10795 if test "$GCC" = yes; then
10796 CFLAGS="-g -O2"
10797 else
10798 CFLAGS="-g"
10799 fi
10800else
10801 if test "$GCC" = yes; then
10802 CFLAGS="-O2"
10803 else
10804 CFLAGS=
10805 fi
10806fi
10807echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10808echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10809if test "${ac_cv_prog_cc_stdc+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10811else
10812 ac_cv_prog_cc_stdc=no
10813ac_save_CC=$CC
10814cat >conftest.$ac_ext <<_ACEOF
10815/* confdefs.h. */
10816_ACEOF
10817cat confdefs.h >>conftest.$ac_ext
10818cat >>conftest.$ac_ext <<_ACEOF
10819/* end confdefs.h. */
10820#include <stdarg.h>
10821#include <stdio.h>
10822#include <sys/types.h>
10823#include <sys/stat.h>
10824/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10825struct buf { int x; };
10826FILE * (*rcsopen) (struct buf *, struct stat *, int);
10827static char *e (p, i)
10828 char **p;
10829 int i;
10830{
10831 return p[i];
10832}
10833static char *f (char * (*g) (char **, int), char **p, ...)
10834{
10835 char *s;
10836 va_list v;
10837 va_start (v,p);
10838 s = g (p, va_arg (v,int));
10839 va_end (v);
10840 return s;
10841}
10842
10843/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10844 function prototypes and stuff, but not '\xHH' hex character constants.
10845 These don't provoke an error unfortunately, instead are silently treated
10846 as 'x'. The following induces an error, until -std1 is added to get
10847 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10848 array size at least. It's necessary to write '\x00'==0 to get something
10849 that's true only with -std1. */
10850int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10851
10852int test (int i, double x);
10853struct s1 {int (*f) (int a);};
10854struct s2 {int (*f) (double a);};
10855int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10856int argc;
10857char **argv;
10858int
10859main ()
10860{
10861return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10862 ;
10863 return 0;
10864}
10865_ACEOF
10866# Don't try gcc -ansi; that turns off useful extensions and
10867# breaks some systems' header files.
10868# AIX -qlanglvl=ansi
10869# Ultrix and OSF/1 -std1
10870# HP-UX 10.20 and later -Ae
10871# HP-UX older versions -Aa -D_HPUX_SOURCE
10872# SVR4 -Xc -D__EXTENSIONS__
10873for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10874do
10875 CC="$ac_save_CC $ac_arg"
10876 rm -f conftest.$ac_objext
10877if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10878 (eval $ac_compile) 2>conftest.er1
10879 ac_status=$?
10880 grep -v '^ *+' conftest.er1 >conftest.err
10881 rm -f conftest.er1
10882 cat conftest.err >&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try='test -z "$ac_c_werror_flag"
10886 || test ! -s conftest.err'
10887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10888 (eval $ac_try) 2>&5
10889 ac_status=$?
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); }; } &&
10892 { ac_try='test -s conftest.$ac_objext'
10893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894 (eval $ac_try) 2>&5
10895 ac_status=$?
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); }; }; then
10898 ac_cv_prog_cc_stdc=$ac_arg
10899break
10900else
10901 echo "$as_me: failed program was:" >&5
10902sed 's/^/| /' conftest.$ac_ext >&5
10903
10904fi
10905rm -f conftest.err conftest.$ac_objext
10906done
10907rm -f conftest.$ac_ext conftest.$ac_objext
10908CC=$ac_save_CC
10909
10910fi
10911
10912case "x$ac_cv_prog_cc_stdc" in
10913 x|xno)
10914 echo "$as_me:$LINENO: result: none needed" >&5
10915echo "${ECHO_T}none needed" >&6 ;;
10916 *)
10917 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10918echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10919 CC="$CC $ac_cv_prog_cc_stdc" ;;
10920esac
10921
10922# Some people use a C++ compiler to compile C. Since we use `exit',
10923# in C++ we need to declare it. In case someone uses the same compiler
10924# for both compiling C and C++ we need to have the C++ compiler decide
10925# the declaration of exit, since it's the most demanding environment.
10926cat >conftest.$ac_ext <<_ACEOF
10927#ifndef __cplusplus
10928 choke me
10929#endif
10930_ACEOF
10931rm -f conftest.$ac_objext
10932if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10933 (eval $ac_compile) 2>conftest.er1
10934 ac_status=$?
10935 grep -v '^ *+' conftest.er1 >conftest.err
10936 rm -f conftest.er1
10937 cat conftest.err >&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } &&
10940 { ac_try='test -z "$ac_c_werror_flag"
10941 || test ! -s conftest.err'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; } &&
10947 { ac_try='test -s conftest.$ac_objext'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10950 ac_status=$?
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; }; then
10953 for ac_declaration in \
10954 '' \
10955 'extern "C" void std::exit (int) throw (); using std::exit;' \
10956 'extern "C" void std::exit (int); using std::exit;' \
10957 'extern "C" void exit (int) throw ();' \
10958 'extern "C" void exit (int);' \
10959 'void exit (int);'
10960do
10961 cat >conftest.$ac_ext <<_ACEOF
10962/* confdefs.h. */
10963_ACEOF
10964cat confdefs.h >>conftest.$ac_ext
10965cat >>conftest.$ac_ext <<_ACEOF
10966/* end confdefs.h. */
10967$ac_declaration
10968#include <stdlib.h>
10969int
10970main ()
10971{
10972exit (42);
10973 ;
10974 return 0;
10975}
10976_ACEOF
10977rm -f conftest.$ac_objext
10978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10979 (eval $ac_compile) 2>conftest.er1
10980 ac_status=$?
10981 grep -v '^ *+' conftest.er1 >conftest.err
10982 rm -f conftest.er1
10983 cat conftest.err >&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } &&
10986 { ac_try='test -z "$ac_c_werror_flag"
10987 || test ! -s conftest.err'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10990 ac_status=$?
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; } &&
10993 { ac_try='test -s conftest.$ac_objext'
10994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10995 (eval $ac_try) 2>&5
10996 ac_status=$?
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); }; }; then
10999 :
11000else
11001 echo "$as_me: failed program was:" >&5
11002sed 's/^/| /' conftest.$ac_ext >&5
11003
11004continue
11005fi
11006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11007 cat >conftest.$ac_ext <<_ACEOF
11008/* confdefs.h. */
11009_ACEOF
11010cat confdefs.h >>conftest.$ac_ext
11011cat >>conftest.$ac_ext <<_ACEOF
11012/* end confdefs.h. */
11013$ac_declaration
11014int
11015main ()
11016{
11017exit (42);
11018 ;
11019 return 0;
11020}
11021_ACEOF
11022rm -f conftest.$ac_objext
11023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11024 (eval $ac_compile) 2>conftest.er1
11025 ac_status=$?
11026 grep -v '^ *+' conftest.er1 >conftest.err
11027 rm -f conftest.er1
11028 cat conftest.err >&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } &&
11031 { ac_try='test -z "$ac_c_werror_flag"
11032 || test ! -s conftest.err'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11035 ac_status=$?
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; } &&
11038 { ac_try='test -s conftest.$ac_objext'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11041 ac_status=$?
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; }; then
11044 break
11045else
11046 echo "$as_me: failed program was:" >&5
11047sed 's/^/| /' conftest.$ac_ext >&5
11048
11049fi
11050rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11051done
11052rm -f conftest*
11053if test -n "$ac_declaration"; then
11054 echo '#ifdef __cplusplus' >>confdefs.h
11055 echo $ac_declaration >>confdefs.h
11056 echo '#endif' >>confdefs.h
11057fi
11058
11059else
11060 echo "$as_me: failed program was:" >&5
11061sed 's/^/| /' conftest.$ac_ext >&5
11062
11063fi
11064rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11065ac_ext=c
11066ac_cpp='$CPP $CPPFLAGS'
11067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11069ac_compiler_gnu=$ac_cv_c_compiler_gnu
11070
11071
11072
11073ac_ext=c
11074ac_cpp='$CPP $CPPFLAGS'
11075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11077ac_compiler_gnu=$ac_cv_c_compiler_gnu
11078echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11079echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11080# On Suns, sometimes $CPP names a directory.
11081if test -n "$CPP" && test -d "$CPP"; then
11082 CPP=
11083fi
11084if test -z "$CPP"; then
11085 if test "${ac_cv_prog_CPP+set}" = set; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11087else
11088 # Double quotes because CPP needs to be expanded
11089 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11090 do
11091 ac_preproc_ok=false
11092for ac_c_preproc_warn_flag in '' yes
11093do
11094 # Use a header file that comes with gcc, so configuring glibc
11095 # with a fresh cross-compiler works.
11096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11097 # <limits.h> exists even on freestanding compilers.
11098 # On the NeXT, cc -E runs the code through the compiler's parser,
11099 # not just through cpp. "Syntax error" is here to catch this case.
11100 cat >conftest.$ac_ext <<_ACEOF
11101/* confdefs.h. */
11102_ACEOF
11103cat confdefs.h >>conftest.$ac_ext
11104cat >>conftest.$ac_ext <<_ACEOF
11105/* end confdefs.h. */
11106#ifdef __STDC__
11107# include <limits.h>
11108#else
11109# include <assert.h>
11110#endif
11111 Syntax error
11112_ACEOF
11113if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11115 ac_status=$?
11116 grep -v '^ *+' conftest.er1 >conftest.err
11117 rm -f conftest.er1
11118 cat conftest.err >&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } >/dev/null; then
11121 if test -s conftest.err; then
11122 ac_cpp_err=$ac_c_preproc_warn_flag
11123 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11124 else
11125 ac_cpp_err=
11126 fi
11127else
11128 ac_cpp_err=yes
11129fi
11130if test -z "$ac_cpp_err"; then
11131 :
11132else
11133 echo "$as_me: failed program was:" >&5
11134sed 's/^/| /' conftest.$ac_ext >&5
11135
11136 # Broken: fails on valid input.
11137continue
11138fi
11139rm -f conftest.err conftest.$ac_ext
11140
11141 # OK, works on sane cases. Now check whether non-existent headers
11142 # can be detected and how.
11143 cat >conftest.$ac_ext <<_ACEOF
11144/* confdefs.h. */
11145_ACEOF
11146cat confdefs.h >>conftest.$ac_ext
11147cat >>conftest.$ac_ext <<_ACEOF
11148/* end confdefs.h. */
11149#include <ac_nonexistent.h>
11150_ACEOF
11151if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11153 ac_status=$?
11154 grep -v '^ *+' conftest.er1 >conftest.err
11155 rm -f conftest.er1
11156 cat conftest.err >&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } >/dev/null; then
11159 if test -s conftest.err; then
11160 ac_cpp_err=$ac_c_preproc_warn_flag
11161 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11162 else
11163 ac_cpp_err=
11164 fi
11165else
11166 ac_cpp_err=yes
11167fi
11168if test -z "$ac_cpp_err"; then
11169 # Broken: success on invalid input.
11170continue
11171else
11172 echo "$as_me: failed program was:" >&5
11173sed 's/^/| /' conftest.$ac_ext >&5
11174
11175 # Passes both tests.
11176ac_preproc_ok=:
11177break
11178fi
11179rm -f conftest.err conftest.$ac_ext
11180
11181done
11182# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11183rm -f conftest.err conftest.$ac_ext
11184if $ac_preproc_ok; then
11185 break
11186fi
11187
11188 done
11189 ac_cv_prog_CPP=$CPP
11190
11191fi
11192 CPP=$ac_cv_prog_CPP
11193else
11194 ac_cv_prog_CPP=$CPP
11195fi
11196echo "$as_me:$LINENO: result: $CPP" >&5
11197echo "${ECHO_T}$CPP" >&6
11198ac_preproc_ok=false
11199for ac_c_preproc_warn_flag in '' yes
11200do
11201 # Use a header file that comes with gcc, so configuring glibc
11202 # with a fresh cross-compiler works.
11203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 # <limits.h> exists even on freestanding compilers.
11205 # On the NeXT, cc -E runs the code through the compiler's parser,
11206 # not just through cpp. "Syntax error" is here to catch this case.
11207 cat >conftest.$ac_ext <<_ACEOF
11208/* confdefs.h. */
11209_ACEOF
11210cat confdefs.h >>conftest.$ac_ext
11211cat >>conftest.$ac_ext <<_ACEOF
11212/* end confdefs.h. */
11213#ifdef __STDC__
11214# include <limits.h>
11215#else
11216# include <assert.h>
11217#endif
11218 Syntax error
11219_ACEOF
11220if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11222 ac_status=$?
11223 grep -v '^ *+' conftest.er1 >conftest.err
11224 rm -f conftest.er1
11225 cat conftest.err >&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } >/dev/null; then
11228 if test -s conftest.err; then
11229 ac_cpp_err=$ac_c_preproc_warn_flag
11230 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11231 else
11232 ac_cpp_err=
11233 fi
11234else
11235 ac_cpp_err=yes
11236fi
11237if test -z "$ac_cpp_err"; then
11238 :
11239else
11240 echo "$as_me: failed program was:" >&5
11241sed 's/^/| /' conftest.$ac_ext >&5
11242
11243 # Broken: fails on valid input.
11244continue
11245fi
11246rm -f conftest.err conftest.$ac_ext
11247
11248 # OK, works on sane cases. Now check whether non-existent headers
11249 # can be detected and how.
11250 cat >conftest.$ac_ext <<_ACEOF
11251/* confdefs.h. */
11252_ACEOF
11253cat confdefs.h >>conftest.$ac_ext
11254cat >>conftest.$ac_ext <<_ACEOF
11255/* end confdefs.h. */
11256#include <ac_nonexistent.h>
11257_ACEOF
11258if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11260 ac_status=$?
11261 grep -v '^ *+' conftest.er1 >conftest.err
11262 rm -f conftest.er1
11263 cat conftest.err >&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } >/dev/null; then
11266 if test -s conftest.err; then
11267 ac_cpp_err=$ac_c_preproc_warn_flag
11268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11269 else
11270 ac_cpp_err=
11271 fi
11272else
11273 ac_cpp_err=yes
11274fi
11275if test -z "$ac_cpp_err"; then
11276 # Broken: success on invalid input.
11277continue
11278else
11279 echo "$as_me: failed program was:" >&5
11280sed 's/^/| /' conftest.$ac_ext >&5
11281
11282 # Passes both tests.
11283ac_preproc_ok=:
11284break
11285fi
11286rm -f conftest.err conftest.$ac_ext
11287
11288done
11289# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11290rm -f conftest.err conftest.$ac_ext
11291if $ac_preproc_ok; then
11292 :
11293else
11294 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11295See \`config.log' for more details." >&5
11296echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11297See \`config.log' for more details." >&2;}
11298 { (exit 1); exit 1; }; }
11299fi
11300
11301ac_ext=c
11302ac_cpp='$CPP $CPPFLAGS'
11303ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11304ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11305ac_compiler_gnu=$ac_cv_c_compiler_gnu
11306
11307
11308echo "$as_me:$LINENO: checking for egrep" >&5
11309echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11310if test "${ac_cv_prog_egrep+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11312else
11313 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11314 then ac_cv_prog_egrep='grep -E'
11315 else ac_cv_prog_egrep='egrep'
11316 fi
11317fi
11318echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11319echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11320 EGREP=$ac_cv_prog_egrep
11321
11322
11323if test $ac_cv_c_compiler_gnu = yes; then
11324 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11325echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11326if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11327 echo $ECHO_N "(cached) $ECHO_C" >&6
11328else
11329 ac_pattern="Autoconf.*'x'"
11330 cat >conftest.$ac_ext <<_ACEOF
11331/* confdefs.h. */
11332_ACEOF
11333cat confdefs.h >>conftest.$ac_ext
11334cat >>conftest.$ac_ext <<_ACEOF
11335/* end confdefs.h. */
11336#include <sgtty.h>
11337Autoconf TIOCGETP
11338_ACEOF
11339if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11340 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11341 ac_cv_prog_gcc_traditional=yes
11342else
11343 ac_cv_prog_gcc_traditional=no
11344fi
11345rm -f conftest*
11346
11347
11348 if test $ac_cv_prog_gcc_traditional = no; then
11349 cat >conftest.$ac_ext <<_ACEOF
11350/* confdefs.h. */
11351_ACEOF
11352cat confdefs.h >>conftest.$ac_ext
11353cat >>conftest.$ac_ext <<_ACEOF
11354/* end confdefs.h. */
11355#include <termio.h>
11356Autoconf TCGETA
11357_ACEOF
11358if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11359 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11360 ac_cv_prog_gcc_traditional=yes
11361fi
11362rm -f conftest*
11363
11364 fi
11365fi
11366echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11367echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11368 if test $ac_cv_prog_gcc_traditional = yes; then
11369 CC="$CC -traditional"
11370 fi
11371fi
11372
11373
11374
11375
11376ac_ext=cc
11377ac_cpp='$CXXCPP $CPPFLAGS'
11378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11381
11382
11383CXXFLAGS=${CXXFLAGS:=}
11384ac_ext=cc
11385ac_cpp='$CXXCPP $CPPFLAGS'
11386ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11387ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11388ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11389if test -n "$ac_tool_prefix"; then
11390 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11391 do
11392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11393set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11394echo "$as_me:$LINENO: checking for $ac_word" >&5
11395echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11396if test "${ac_cv_prog_CXX+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6
11398else
11399 if test -n "$CXX"; then
11400 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11401else
11402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11403for as_dir in $PATH
11404do
11405 IFS=$as_save_IFS
11406 test -z "$as_dir" && as_dir=.
11407 for ac_exec_ext in '' $ac_executable_extensions; do
11408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11409 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11411 break 2
11412 fi
11413done
11414done
11415
11416fi
11417fi
11418CXX=$ac_cv_prog_CXX
11419if test -n "$CXX"; then
11420 echo "$as_me:$LINENO: result: $CXX" >&5
11421echo "${ECHO_T}$CXX" >&6
11422else
11423 echo "$as_me:$LINENO: result: no" >&5
11424echo "${ECHO_T}no" >&6
11425fi
11426
11427 test -n "$CXX" && break
11428 done
11429fi
11430if test -z "$CXX"; then
11431 ac_ct_CXX=$CXX
11432 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11433do
11434 # Extract the first word of "$ac_prog", so it can be a program name with args.
11435set dummy $ac_prog; ac_word=$2
11436echo "$as_me:$LINENO: checking for $ac_word" >&5
11437echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11438if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11440else
11441 if test -n "$ac_ct_CXX"; then
11442 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11443else
11444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11445for as_dir in $PATH
11446do
11447 IFS=$as_save_IFS
11448 test -z "$as_dir" && as_dir=.
11449 for ac_exec_ext in '' $ac_executable_extensions; do
11450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11451 ac_cv_prog_ac_ct_CXX="$ac_prog"
11452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 break 2
11454 fi
11455done
11456done
11457
11458fi
11459fi
11460ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11461if test -n "$ac_ct_CXX"; then
11462 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11463echo "${ECHO_T}$ac_ct_CXX" >&6
11464else
11465 echo "$as_me:$LINENO: result: no" >&5
11466echo "${ECHO_T}no" >&6
11467fi
11468
11469 test -n "$ac_ct_CXX" && break
11470done
11471test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11472
11473 CXX=$ac_ct_CXX
11474fi
11475
11476
11477# Provide some information about the compiler.
11478echo "$as_me:$LINENO:" \
11479 "checking for C++ compiler version" >&5
11480ac_compiler=`set X $ac_compile; echo $2`
11481{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11482 (eval $ac_compiler --version </dev/null >&5) 2>&5
11483 ac_status=$?
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }
11486{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11487 (eval $ac_compiler -v </dev/null >&5) 2>&5
11488 ac_status=$?
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }
11491{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11492 (eval $ac_compiler -V </dev/null >&5) 2>&5
11493 ac_status=$?
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }
11496
11497echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11498echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11499if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11501else
11502 cat >conftest.$ac_ext <<_ACEOF
11503/* confdefs.h. */
11504_ACEOF
11505cat confdefs.h >>conftest.$ac_ext
11506cat >>conftest.$ac_ext <<_ACEOF
11507/* end confdefs.h. */
11508
11509int
11510main ()
11511{
11512#ifndef __GNUC__
11513 choke me
11514#endif
11515
11516 ;
11517 return 0;
11518}
11519_ACEOF
11520rm -f conftest.$ac_objext
11521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>conftest.er1
11523 ac_status=$?
11524 grep -v '^ *+' conftest.er1 >conftest.err
11525 rm -f conftest.er1
11526 cat conftest.err >&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } &&
11529 { ac_try='test -z "$ac_cxx_werror_flag"
11530 || test ! -s conftest.err'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11533 ac_status=$?
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; } &&
11536 { ac_try='test -s conftest.$ac_objext'
11537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11538 (eval $ac_try) 2>&5
11539 ac_status=$?
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); }; }; then
11542 ac_compiler_gnu=yes
11543else
11544 echo "$as_me: failed program was:" >&5
11545sed 's/^/| /' conftest.$ac_ext >&5
11546
11547ac_compiler_gnu=no
11548fi
11549rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11550ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11551
11552fi
11553echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11554echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11555GXX=`test $ac_compiler_gnu = yes && echo yes`
11556ac_test_CXXFLAGS=${CXXFLAGS+set}
11557ac_save_CXXFLAGS=$CXXFLAGS
11558CXXFLAGS="-g"
11559echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11560echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11561if test "${ac_cv_prog_cxx_g+set}" = set; then
11562 echo $ECHO_N "(cached) $ECHO_C" >&6
11563else
11564 cat >conftest.$ac_ext <<_ACEOF
11565/* confdefs.h. */
11566_ACEOF
11567cat confdefs.h >>conftest.$ac_ext
11568cat >>conftest.$ac_ext <<_ACEOF
11569/* end confdefs.h. */
11570
11571int
11572main ()
11573{
11574
11575 ;
11576 return 0;
11577}
11578_ACEOF
11579rm -f conftest.$ac_objext
11580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11581 (eval $ac_compile) 2>conftest.er1
11582 ac_status=$?
11583 grep -v '^ *+' conftest.er1 >conftest.err
11584 rm -f conftest.er1
11585 cat conftest.err >&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); } &&
11588 { ac_try='test -z "$ac_cxx_werror_flag"
11589 || test ! -s conftest.err'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11592 ac_status=$?
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; } &&
11595 { ac_try='test -s conftest.$ac_objext'
11596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597 (eval $ac_try) 2>&5
11598 ac_status=$?
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); }; }; then
11601 ac_cv_prog_cxx_g=yes
11602else
11603 echo "$as_me: failed program was:" >&5
11604sed 's/^/| /' conftest.$ac_ext >&5
11605
11606ac_cv_prog_cxx_g=no
11607fi
11608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11609fi
11610echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11611echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11612if test "$ac_test_CXXFLAGS" = set; then
11613 CXXFLAGS=$ac_save_CXXFLAGS
11614elif test $ac_cv_prog_cxx_g = yes; then
11615 if test "$GXX" = yes; then
11616 CXXFLAGS="-g -O2"
11617 else
11618 CXXFLAGS="-g"
11619 fi
11620else
11621 if test "$GXX" = yes; then
11622 CXXFLAGS="-O2"
11623 else
11624 CXXFLAGS=
11625 fi
11626fi
11627for ac_declaration in \
11628 '' \
11629 'extern "C" void std::exit (int) throw (); using std::exit;' \
11630 'extern "C" void std::exit (int); using std::exit;' \
11631 'extern "C" void exit (int) throw ();' \
11632 'extern "C" void exit (int);' \
11633 'void exit (int);'
11634do
11635 cat >conftest.$ac_ext <<_ACEOF
11636/* confdefs.h. */
11637_ACEOF
11638cat confdefs.h >>conftest.$ac_ext
11639cat >>conftest.$ac_ext <<_ACEOF
11640/* end confdefs.h. */
11641$ac_declaration
11642#include <stdlib.h>
11643int
11644main ()
11645{
11646exit (42);
11647 ;
11648 return 0;
11649}
11650_ACEOF
11651rm -f conftest.$ac_objext
11652if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11653 (eval $ac_compile) 2>conftest.er1
11654 ac_status=$?
11655 grep -v '^ *+' conftest.er1 >conftest.err
11656 rm -f conftest.er1
11657 cat conftest.err >&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try='test -z "$ac_cxx_werror_flag"
11661 || test ! -s conftest.err'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11664 ac_status=$?
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; } &&
11667 { ac_try='test -s conftest.$ac_objext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11670 ac_status=$?
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 :
11674else
11675 echo "$as_me: failed program was:" >&5
11676sed 's/^/| /' conftest.$ac_ext >&5
11677
11678continue
11679fi
11680rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11681 cat >conftest.$ac_ext <<_ACEOF
11682/* confdefs.h. */
11683_ACEOF
11684cat confdefs.h >>conftest.$ac_ext
11685cat >>conftest.$ac_ext <<_ACEOF
11686/* end confdefs.h. */
11687$ac_declaration
11688int
11689main ()
11690{
11691exit (42);
11692 ;
11693 return 0;
11694}
11695_ACEOF
11696rm -f conftest.$ac_objext
11697if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11699 ac_status=$?
11700 grep -v '^ *+' conftest.er1 >conftest.err
11701 rm -f conftest.er1
11702 cat conftest.err >&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try='test -z "$ac_cxx_werror_flag"
11706 || test ! -s conftest.err'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11709 ac_status=$?
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; } &&
11712 { ac_try='test -s conftest.$ac_objext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11715 ac_status=$?
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11718 break
11719else
11720 echo "$as_me: failed program was:" >&5
11721sed 's/^/| /' conftest.$ac_ext >&5
11722
11723fi
11724rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11725done
11726rm -f conftest*
11727if test -n "$ac_declaration"; then
11728 echo '#ifdef __cplusplus' >>confdefs.h
11729 echo $ac_declaration >>confdefs.h
11730 echo '#endif' >>confdefs.h
11731fi
11732
11733ac_ext=cc
11734ac_cpp='$CXXCPP $CPPFLAGS'
11735ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11738
11739
11740ac_ext=c
11741ac_cpp='$CPP $CPPFLAGS'
11742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11744ac_compiler_gnu=$ac_cv_c_compiler_gnu
11745
11746
11747echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11748echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11749GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11750if test "$GCC" = "yes" ; then
11751 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11752 sed -n '1,/End of search list\./p' | \
11753 grep '^ */usr/local/include$' 2>&1 /dev/null \
11754 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11755fi
11756echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11757echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11758
11759if test -n "$ac_tool_prefix"; then
11760 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11761set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11762echo "$as_me:$LINENO: checking for $ac_word" >&5
11763echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11764if test "${ac_cv_prog_RANLIB+set}" = set; then
11765 echo $ECHO_N "(cached) $ECHO_C" >&6
11766else
11767 if test -n "$RANLIB"; then
11768 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11769else
11770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11771for as_dir in $PATH
11772do
11773 IFS=$as_save_IFS
11774 test -z "$as_dir" && as_dir=.
11775 for ac_exec_ext in '' $ac_executable_extensions; do
11776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11777 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 break 2
11780 fi
11781done
11782done
11783
11784fi
11785fi
11786RANLIB=$ac_cv_prog_RANLIB
11787if test -n "$RANLIB"; then
11788 echo "$as_me:$LINENO: result: $RANLIB" >&5
11789echo "${ECHO_T}$RANLIB" >&6
11790else
11791 echo "$as_me:$LINENO: result: no" >&5
11792echo "${ECHO_T}no" >&6
11793fi
11794
11795fi
11796if test -z "$ac_cv_prog_RANLIB"; then
11797 ac_ct_RANLIB=$RANLIB
11798 # Extract the first word of "ranlib", so it can be a program name with args.
11799set dummy ranlib; ac_word=$2
11800echo "$as_me:$LINENO: checking for $ac_word" >&5
11801echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11802if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11804else
11805 if test -n "$ac_ct_RANLIB"; then
11806 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11807else
11808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11809for as_dir in $PATH
11810do
11811 IFS=$as_save_IFS
11812 test -z "$as_dir" && as_dir=.
11813 for ac_exec_ext in '' $ac_executable_extensions; do
11814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11815 ac_cv_prog_ac_ct_RANLIB="ranlib"
11816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11817 break 2
11818 fi
11819done
11820done
11821
11822 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11823fi
11824fi
11825ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11826if test -n "$ac_ct_RANLIB"; then
11827 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11828echo "${ECHO_T}$ac_ct_RANLIB" >&6
11829else
11830 echo "$as_me:$LINENO: result: no" >&5
11831echo "${ECHO_T}no" >&6
11832fi
11833
11834 RANLIB=$ac_ct_RANLIB
11835else
11836 RANLIB="$ac_cv_prog_RANLIB"
11837fi
11838
11839
11840# Extract the first word of "ar", so it can be a program name with args.
11841set dummy ar; ac_word=$2
11842echo "$as_me:$LINENO: checking for $ac_word" >&5
11843echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11844if test "${ac_cv_prog_AR+set}" = set; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6
11846else
11847 if test -n "$AR"; then
11848 ac_cv_prog_AR="$AR" # Let the user override the test.
11849else
11850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851for as_dir in $PATH
11852do
11853 IFS=$as_save_IFS
11854 test -z "$as_dir" && as_dir=.
11855 for ac_exec_ext in '' $ac_executable_extensions; do
11856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11857 ac_cv_prog_AR="ar"
11858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11859 break 2
11860 fi
11861done
11862done
11863
11864fi
11865fi
11866AR=$ac_cv_prog_AR
11867if test -n "$AR"; then
11868 echo "$as_me:$LINENO: result: $AR" >&5
11869echo "${ECHO_T}$AR" >&6
11870else
11871 echo "$as_me:$LINENO: result: no" >&5
11872echo "${ECHO_T}no" >&6
11873fi
11874
11875if test "x$AR" = "x" ; then
11876 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11877echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11878 { (exit 1); exit 1; }; }
11879fi
11880
11881# Find a good install program. We prefer a C program (faster),
11882# so one script is as good as another. But avoid the broken or
11883# incompatible versions:
11884# SysV /etc/install, /usr/sbin/install
11885# SunOS /usr/etc/install
11886# IRIX /sbin/install
11887# AIX /bin/install
11888# AmigaOS /C/install, which installs bootblocks on floppy discs
11889# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11890# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11891# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11892# OS/2's system install, which has a completely different semantic
11893# ./install, which can be erroneously created by make from ./install.sh.
11894echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11895echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11896if test -z "$INSTALL"; then
11897if test "${ac_cv_path_install+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11899else
11900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11901for as_dir in $PATH
11902do
11903 IFS=$as_save_IFS
11904 test -z "$as_dir" && as_dir=.
11905 # Account for people who put trailing slashes in PATH elements.
11906case $as_dir/ in
11907 ./ | .// | /cC/* | \
11908 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11909 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11910 /usr/ucb/* ) ;;
11911 *)
11912 # OSF1 and SCO ODT 3.0 have their own names for install.
11913 # Don't use installbsd from OSF since it installs stuff as root
11914 # by default.
11915 for ac_prog in ginstall scoinst install; do
11916 for ac_exec_ext in '' $ac_executable_extensions; do
11917 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11918 if test $ac_prog = install &&
11919 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11920 # AIX install. It has an incompatible calling convention.
11921 :
11922 elif test $ac_prog = install &&
11923 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11924 # program-specific install script used by HP pwplus--don't use.
11925 :
11926 else
11927 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11928 break 3
11929 fi
11930 fi
11931 done
11932 done
11933 ;;
11934esac
11935done
11936
11937
11938fi
11939 if test "${ac_cv_path_install+set}" = set; then
11940 INSTALL=$ac_cv_path_install
11941 else
11942 # As a last resort, use the slow shell script. We don't cache a
11943 # path for INSTALL within a source directory, because that will
11944 # break other packages using the cache if that directory is
11945 # removed, or if the path is relative.
11946 INSTALL=$ac_install_sh
11947 fi
11948fi
11949echo "$as_me:$LINENO: result: $INSTALL" >&5
11950echo "${ECHO_T}$INSTALL" >&6
11951
11952# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11953# It thinks the first close brace ends the variable substitution.
11954test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11955
11956test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11957
11958test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11959
11960
11961case ${INSTALL} in
11962 /* ) # Absolute
11963 ;;
11964 ?:* ) # Drive letter, considered as absolute.
11965 ;;
11966 *)
11967 INSTALL=`pwd`/${INSTALL} ;;
11968esac
11969
11970case ${host} in
11971 *-hp-hpux* )
11972 INSTALL_DIR="mkdir"
11973 ;;
11974
11975 *) INSTALL_DIR="$INSTALL -d"
11976 ;;
11977esac
11978
11979
11980case "${host}" in
11981
11982 powerpc-*-darwin* )
11983 INSTALL_PROGRAM="cp -fp"
11984 INSTALL_DATA="cp -fp"
11985 ;;
11986 *)
11987 ;;
11988esac
11989
11990# Extract the first word of "strip", so it can be a program name with args.
11991set dummy strip; ac_word=$2
11992echo "$as_me:$LINENO: checking for $ac_word" >&5
11993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11994if test "${ac_cv_prog_STRIP+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11996else
11997 if test -n "$STRIP"; then
11998 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11999else
12000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12001for as_dir in $PATH
12002do
12003 IFS=$as_save_IFS
12004 test -z "$as_dir" && as_dir=.
12005 for ac_exec_ext in '' $ac_executable_extensions; do
12006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12007 ac_cv_prog_STRIP="strip"
12008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 break 2
12010 fi
12011done
12012done
12013
12014 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12015fi
12016fi
12017STRIP=$ac_cv_prog_STRIP
12018if test -n "$STRIP"; then
12019 echo "$as_me:$LINENO: result: $STRIP" >&5
12020echo "${ECHO_T}$STRIP" >&6
12021else
12022 echo "$as_me:$LINENO: result: no" >&5
12023echo "${ECHO_T}no" >&6
12024fi
12025
12026
12027echo "$as_me:$LINENO: checking if make is GNU make" >&5
12028echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12029if test "${wx_cv_prog_makeisgnu+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12031else
12032
12033 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12034 egrep -s GNU > /dev/null); then
12035 wx_cv_prog_makeisgnu="yes"
12036 else
12037 wx_cv_prog_makeisgnu="no"
12038 fi
12039
12040fi
12041echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12042echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12043
12044if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12045 IF_GNU_MAKE=""
12046else
12047 IF_GNU_MAKE="#"
12048fi
12049
12050
12051
12052if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12053echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12054echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12055if test "${wx_cv_prog_makevpath+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12057else
12058
12059cat - << EOF > confMake
12060check : file
12061 cp \$? \$@
12062 cp \$? final_file
12063EOF
12064
12065if test ! -d sub ; then
12066 mkdir sub
12067fi
12068echo dummy > sub/file
12069${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12070RESULT=$?
12071rm -f sub/file check final_file confMake
12072rmdir sub
12073if test "$RESULT" = 0; then
12074 wx_cv_prog_makevpath="yes"
12075else
12076 wx_cv_prog_makevpath="no"
12077fi
12078
12079fi
12080echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12081echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12082
12083if test "x$wx_cv_prog_makevpath" != "xyes"; then
12084{ { echo "$as_me:$LINENO: error:
12085You need a make-utility that is able to use the variable
12086VPATH correctly.
12087If your version of make does not support VPATH correctly,
12088please install GNU-make (possibly as gmake), and start
12089configure with the following command:
12090export MAKE=gmake; ./configure for sh-type shells
12091setenv MAKE gmake; ./configure for csh-type shells
12092Also please do remember to use gmake in this case every time
12093you are trying to compile.
12094" >&5
12095echo "$as_me: error:
12096You need a make-utility that is able to use the variable
12097VPATH correctly.
12098If your version of make does not support VPATH correctly,
12099please install GNU-make (possibly as gmake), and start
12100configure with the following command:
12101export MAKE=gmake; ./configure for sh-type shells
12102setenv MAKE gmake; ./configure for csh-type shells
12103Also please do remember to use gmake in this case every time
12104you are trying to compile.
12105" >&2;}
12106 { (exit 1); exit 1; }; }
12107fi fi
12108echo "$as_me:$LINENO: checking whether ln -s works" >&5
12109echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12110LN_S=$as_ln_s
12111if test "$LN_S" = "ln -s"; then
12112 echo "$as_me:$LINENO: result: yes" >&5
12113echo "${ECHO_T}yes" >&6
12114else
12115 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12116echo "${ECHO_T}no, using $LN_S" >&6
12117fi
12118
12119
12120
12121case "${host}" in
12122 *-pc-os2_emx | *-pc-os2-emx )
12123 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12124 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12125echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12126if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12128else
12129 ac_check_lib_save_LIBS=$LIBS
12130LIBS="-lcExt $LIBS"
12131cat >conftest.$ac_ext <<_ACEOF
12132/* confdefs.h. */
12133_ACEOF
12134cat confdefs.h >>conftest.$ac_ext
12135cat >>conftest.$ac_ext <<_ACEOF
12136/* end confdefs.h. */
12137
12138/* Override any gcc2 internal prototype to avoid an error. */
12139#ifdef __cplusplus
12140extern "C"
12141#endif
12142/* We use char because int might match the return type of a gcc2
12143 builtin and then its argument prototype would still apply. */
12144char drand48 ();
12145int
12146main ()
12147{
12148drand48 ();
12149 ;
12150 return 0;
12151}
12152_ACEOF
12153rm -f conftest.$ac_objext conftest$ac_exeext
12154if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12155 (eval $ac_link) 2>conftest.er1
12156 ac_status=$?
12157 grep -v '^ *+' conftest.er1 >conftest.err
12158 rm -f conftest.er1
12159 cat conftest.err >&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } &&
12162 { ac_try='test -z "$ac_c_werror_flag"
12163 || test ! -s conftest.err'
12164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12165 (eval $ac_try) 2>&5
12166 ac_status=$?
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; } &&
12169 { ac_try='test -s conftest$ac_exeext'
12170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12171 (eval $ac_try) 2>&5
12172 ac_status=$?
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); }; }; then
12175 ac_cv_lib_cExt_drand48=yes
12176else
12177 echo "$as_me: failed program was:" >&5
12178sed 's/^/| /' conftest.$ac_ext >&5
12179
12180ac_cv_lib_cExt_drand48=no
12181fi
12182rm -f conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184LIBS=$ac_check_lib_save_LIBS
12185fi
12186echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12187echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12188if test $ac_cv_lib_cExt_drand48 = yes; then
12189 LIBS="$LIBS -lcExt"
12190fi
12191
12192 else
12193 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12194 fi
12195 echo "$as_me:$LINENO: checking for gcc version" >&5
12196echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12197if test "${wx_cv_gccversion+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12199else
12200
12201 cat >conftest.$ac_ext <<_ACEOF
12202/* confdefs.h. */
12203_ACEOF
12204cat confdefs.h >>conftest.$ac_ext
12205cat >>conftest.$ac_ext <<_ACEOF
12206/* end confdefs.h. */
12207
12208int
12209main ()
12210{
12211
12212 #if (__GNUC__ < 3)
12213 #error old gcc
12214 #endif
12215
12216 ;
12217 return 0;
12218}
12219_ACEOF
12220rm -f conftest.$ac_objext
12221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12222 (eval $ac_compile) 2>conftest.er1
12223 ac_status=$?
12224 grep -v '^ *+' conftest.er1 >conftest.err
12225 rm -f conftest.er1
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
12229 { ac_try='test -z "$ac_c_werror_flag"
12230 || test ! -s conftest.err'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12233 ac_status=$?
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try='test -s conftest.$ac_objext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12239 ac_status=$?
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12242
12243 cat >conftest.$ac_ext <<_ACEOF
12244/* confdefs.h. */
12245_ACEOF
12246cat confdefs.h >>conftest.$ac_ext
12247cat >>conftest.$ac_ext <<_ACEOF
12248/* end confdefs.h. */
12249
12250int
12251main ()
12252{
12253
12254 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12255 #error intermediate gcc
12256 #endif
12257
12258 ;
12259 return 0;
12260}
12261_ACEOF
12262rm -f conftest.$ac_objext
12263if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12264 (eval $ac_compile) 2>conftest.er1
12265 ac_status=$?
12266 grep -v '^ *+' conftest.er1 >conftest.err
12267 rm -f conftest.er1
12268 cat conftest.err >&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } &&
12271 { ac_try='test -z "$ac_c_werror_flag"
12272 || test ! -s conftest.err'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12275 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; } &&
12278 { ac_try='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12281 ac_status=$?
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284
12285 wx_cv_gccversion=Innotek
12286
12287else
12288 echo "$as_me: failed program was:" >&5
12289sed 's/^/| /' conftest.$ac_ext >&5
12290
12291
12292 wx_cv_gccversion=3
12293
12294
12295fi
12296rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12297
12298else
12299 echo "$as_me: failed program was:" >&5
12300sed 's/^/| /' conftest.$ac_ext >&5
12301
12302
12303 wx_cv_gccversion=2
12304
12305
12306fi
12307rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12308
12309fi
12310echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12311echo "${ECHO_T}$wx_cv_gccversion" >&6
12312 if test "$wx_cv_gccversion" = "2"; then
12313 LIBS="$LIBS -lstdcpp"
12314 LDFLAGS="$LDFLAGS -Zsysv-signals"
12315 else
12316 if test "$wx_cv_gccversion" = "3"; then
12317 LIBS="$LIBS -lstdcxx"
12318 LDFLAGS="$LDFLAGS -Zsysv-signals"
12319 else
12320 LIBS="$LIBS -lstdc++"
12321 fi
12322 fi
12323 if test "$wxUSE_OMF" = "yes"; then
12324 LDFLAGS="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12325 fi
12326 ;;
12327 *)
12328
12329
12330
12331 ac_ext=cc
12332ac_cpp='$CXXCPP $CPPFLAGS'
12333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12336
12337
12338
12339echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12340echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12341if test "${ac_cv_string_strcasecmp+set}" = set; then
12342 echo $ECHO_N "(cached) $ECHO_C" >&6
12343else
12344
12345 cat >conftest.$ac_ext <<_ACEOF
12346/* confdefs.h. */
12347_ACEOF
12348cat confdefs.h >>conftest.$ac_ext
12349cat >>conftest.$ac_ext <<_ACEOF
12350/* end confdefs.h. */
12351
12352 #include <string.h>
12353
12354int
12355main ()
12356{
12357
12358 strcasecmp("foo", "bar");
12359
12360 ;
12361 return 0;
12362}
12363_ACEOF
12364rm -f conftest.$ac_objext conftest$ac_exeext
12365if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12366 (eval $ac_link) 2>conftest.er1
12367 ac_status=$?
12368 grep -v '^ *+' conftest.er1 >conftest.err
12369 rm -f conftest.er1
12370 cat conftest.err >&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); } &&
12373 { ac_try='test -z "$ac_cxx_werror_flag"
12374 || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try='test -s conftest$ac_exeext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 ac_cv_string_strcasecmp=yes
12387else
12388 echo "$as_me: failed program was:" >&5
12389sed 's/^/| /' conftest.$ac_ext >&5
12390
12391ac_cv_string_strcasecmp=no
12392
12393fi
12394rm -f conftest.err conftest.$ac_objext \
12395 conftest$ac_exeext conftest.$ac_ext
12396
12397fi
12398echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12399echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12400
12401 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12402 cat >>confdefs.h <<\_ACEOF
12403#define HAVE_STRCASECMP_IN_STRING_H 1
12404_ACEOF
12405
12406 else
12407 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12408echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12409if test "${ac_cv_strings_strcasecmp+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12411else
12412
12413 cat >conftest.$ac_ext <<_ACEOF
12414/* confdefs.h. */
12415_ACEOF
12416cat confdefs.h >>conftest.$ac_ext
12417cat >>conftest.$ac_ext <<_ACEOF
12418/* end confdefs.h. */
12419
12420 #include <strings.h>
12421
12422int
12423main ()
12424{
12425
12426 strcasecmp("foo", "bar");
12427
12428 ;
12429 return 0;
12430}
12431_ACEOF
12432rm -f conftest.$ac_objext conftest$ac_exeext
12433if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12434 (eval $ac_link) 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try='test -z "$ac_cxx_werror_flag"
12442 || test ! -s conftest.err'
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12445 ac_status=$?
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; } &&
12448 { ac_try='test -s conftest$ac_exeext'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12451 ac_status=$?
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; }; then
12454 ac_cv_strings_strcasecmp=yes
12455else
12456 echo "$as_me: failed program was:" >&5
12457sed 's/^/| /' conftest.$ac_ext >&5
12458
12459ac_cv_strings_strcasecmp=no
12460
12461fi
12462rm -f conftest.err conftest.$ac_objext \
12463 conftest$ac_exeext conftest.$ac_ext
12464
12465fi
12466echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12467echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12468
12469 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12470 cat >>confdefs.h <<\_ACEOF
12471#define HAVE_STRCASECMP_IN_STRINGS_H 1
12472_ACEOF
12473
12474 else
12475 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12476echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12477 { (exit 1); exit 1; }; }
12478 fi
12479 fi
12480
12481 ac_ext=c
12482ac_cpp='$CPP $CPPFLAGS'
12483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485ac_compiler_gnu=$ac_cv_c_compiler_gnu
12486
12487 ;;
12488esac
12489
12490
12491echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12492echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12493if test "${ac_cv_header_stdc+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12495else
12496 cat >conftest.$ac_ext <<_ACEOF
12497/* confdefs.h. */
12498_ACEOF
12499cat confdefs.h >>conftest.$ac_ext
12500cat >>conftest.$ac_ext <<_ACEOF
12501/* end confdefs.h. */
12502#include <stdlib.h>
12503#include <stdarg.h>
12504#include <string.h>
12505#include <float.h>
12506
12507int
12508main ()
12509{
12510
12511 ;
12512 return 0;
12513}
12514_ACEOF
12515rm -f conftest.$ac_objext
12516if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12517 (eval $ac_compile) 2>conftest.er1
12518 ac_status=$?
12519 grep -v '^ *+' conftest.er1 >conftest.err
12520 rm -f conftest.er1
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try='test -z "$ac_c_werror_flag"
12525 || test ! -s conftest.err'
12526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527 (eval $ac_try) 2>&5
12528 ac_status=$?
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; } &&
12531 { ac_try='test -s conftest.$ac_objext'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12534 ac_status=$?
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; }; then
12537 ac_cv_header_stdc=yes
12538else
12539 echo "$as_me: failed program was:" >&5
12540sed 's/^/| /' conftest.$ac_ext >&5
12541
12542ac_cv_header_stdc=no
12543fi
12544rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12545
12546if test $ac_cv_header_stdc = yes; then
12547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12548 cat >conftest.$ac_ext <<_ACEOF
12549/* confdefs.h. */
12550_ACEOF
12551cat confdefs.h >>conftest.$ac_ext
12552cat >>conftest.$ac_ext <<_ACEOF
12553/* end confdefs.h. */
12554#include <string.h>
12555
12556_ACEOF
12557if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12558 $EGREP "memchr" >/dev/null 2>&1; then
12559 :
12560else
12561 ac_cv_header_stdc=no
12562fi
12563rm -f conftest*
12564
12565fi
12566
12567if test $ac_cv_header_stdc = yes; then
12568 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12569 cat >conftest.$ac_ext <<_ACEOF
12570/* confdefs.h. */
12571_ACEOF
12572cat confdefs.h >>conftest.$ac_ext
12573cat >>conftest.$ac_ext <<_ACEOF
12574/* end confdefs.h. */
12575#include <stdlib.h>
12576
12577_ACEOF
12578if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12579 $EGREP "free" >/dev/null 2>&1; then
12580 :
12581else
12582 ac_cv_header_stdc=no
12583fi
12584rm -f conftest*
12585
12586fi
12587
12588if test $ac_cv_header_stdc = yes; then
12589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12590 if test "$cross_compiling" = yes; then
12591 :
12592else
12593 cat >conftest.$ac_ext <<_ACEOF
12594/* confdefs.h. */
12595_ACEOF
12596cat confdefs.h >>conftest.$ac_ext
12597cat >>conftest.$ac_ext <<_ACEOF
12598/* end confdefs.h. */
12599#include <ctype.h>
12600#if ((' ' & 0x0FF) == 0x020)
12601# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12602# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12603#else
12604# define ISLOWER(c) \
12605 (('a' <= (c) && (c) <= 'i') \
12606 || ('j' <= (c) && (c) <= 'r') \
12607 || ('s' <= (c) && (c) <= 'z'))
12608# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12609#endif
12610
12611#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12612int
12613main ()
12614{
12615 int i;
12616 for (i = 0; i < 256; i++)
12617 if (XOR (islower (i), ISLOWER (i))
12618 || toupper (i) != TOUPPER (i))
12619 exit(2);
12620 exit (0);
12621}
12622_ACEOF
12623rm -f conftest$ac_exeext
12624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625 (eval $ac_link) 2>&5
12626 ac_status=$?
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; }; then
12634 :
12635else
12636 echo "$as_me: program exited with status $ac_status" >&5
12637echo "$as_me: failed program was:" >&5
12638sed 's/^/| /' conftest.$ac_ext >&5
12639
12640( exit $ac_status )
12641ac_cv_header_stdc=no
12642fi
12643rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12644fi
12645fi
12646fi
12647echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12648echo "${ECHO_T}$ac_cv_header_stdc" >&6
12649if test $ac_cv_header_stdc = yes; then
12650
12651cat >>confdefs.h <<\_ACEOF
12652#define STDC_HEADERS 1
12653_ACEOF
12654
12655fi
12656
12657# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12668 inttypes.h stdint.h unistd.h
12669do
12670as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12671echo "$as_me:$LINENO: checking for $ac_header" >&5
12672echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12673if eval "test \"\${$as_ac_Header+set}\" = set"; then
12674 echo $ECHO_N "(cached) $ECHO_C" >&6
12675else
12676 cat >conftest.$ac_ext <<_ACEOF
12677/* confdefs.h. */
12678_ACEOF
12679cat confdefs.h >>conftest.$ac_ext
12680cat >>conftest.$ac_ext <<_ACEOF
12681/* end confdefs.h. */
12682$ac_includes_default
12683
12684#include <$ac_header>
12685_ACEOF
12686rm -f conftest.$ac_objext
12687if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12688 (eval $ac_compile) 2>conftest.er1
12689 ac_status=$?
12690 grep -v '^ *+' conftest.er1 >conftest.err
12691 rm -f conftest.er1
12692 cat conftest.err >&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); } &&
12695 { ac_try='test -z "$ac_c_werror_flag"
12696 || test ! -s conftest.err'
12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12698 (eval $ac_try) 2>&5
12699 ac_status=$?
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); }; } &&
12702 { ac_try='test -s conftest.$ac_objext'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12705 ac_status=$?
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; }; then
12708 eval "$as_ac_Header=yes"
12709else
12710 echo "$as_me: failed program was:" >&5
12711sed 's/^/| /' conftest.$ac_ext >&5
12712
12713eval "$as_ac_Header=no"
12714fi
12715rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12716fi
12717echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12718echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12719if test `eval echo '${'$as_ac_Header'}'` = yes; then
12720 cat >>confdefs.h <<_ACEOF
12721#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12722_ACEOF
12723
12724fi
12725
12726done
12727
12728
12729
12730for ac_header in stdlib.h
12731do
12732as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12733if eval "test \"\${$as_ac_Header+set}\" = set"; then
12734 echo "$as_me:$LINENO: checking for $ac_header" >&5
12735echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12736if eval "test \"\${$as_ac_Header+set}\" = set"; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738fi
12739echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12740echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12741else
12742 # Is the header compilable?
12743echo "$as_me:$LINENO: checking $ac_header usability" >&5
12744echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12745cat >conftest.$ac_ext <<_ACEOF
12746/* confdefs.h. */
12747_ACEOF
12748cat confdefs.h >>conftest.$ac_ext
12749cat >>conftest.$ac_ext <<_ACEOF
12750/* end confdefs.h. */
12751$ac_includes_default
12752#include <$ac_header>
12753_ACEOF
12754rm -f conftest.$ac_objext
12755if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag"
12764 || test ! -s conftest.err'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12767 ac_status=$?
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; } &&
12770 { ac_try='test -s conftest.$ac_objext'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; }; then
12776 ac_header_compiler=yes
12777else
12778 echo "$as_me: failed program was:" >&5
12779sed 's/^/| /' conftest.$ac_ext >&5
12780
12781ac_header_compiler=no
12782fi
12783rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12784echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12785echo "${ECHO_T}$ac_header_compiler" >&6
12786
12787# Is the header present?
12788echo "$as_me:$LINENO: checking $ac_header presence" >&5
12789echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12790cat >conftest.$ac_ext <<_ACEOF
12791/* confdefs.h. */
12792_ACEOF
12793cat confdefs.h >>conftest.$ac_ext
12794cat >>conftest.$ac_ext <<_ACEOF
12795/* end confdefs.h. */
12796#include <$ac_header>
12797_ACEOF
12798if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12800 ac_status=$?
12801 grep -v '^ *+' conftest.er1 >conftest.err
12802 rm -f conftest.er1
12803 cat conftest.err >&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); } >/dev/null; then
12806 if test -s conftest.err; then
12807 ac_cpp_err=$ac_c_preproc_warn_flag
12808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12809 else
12810 ac_cpp_err=
12811 fi
12812else
12813 ac_cpp_err=yes
12814fi
12815if test -z "$ac_cpp_err"; then
12816 ac_header_preproc=yes
12817else
12818 echo "$as_me: failed program was:" >&5
12819sed 's/^/| /' conftest.$ac_ext >&5
12820
12821 ac_header_preproc=no
12822fi
12823rm -f conftest.err conftest.$ac_ext
12824echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12825echo "${ECHO_T}$ac_header_preproc" >&6
12826
12827# So? What about this header?
12828case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12829 yes:no: )
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12831echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12833echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12834 ac_header_preproc=yes
12835 ;;
12836 no:yes:* )
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12838echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12840echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12842echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12844echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12846echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12848echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12849 (
12850 cat <<\_ASBOX
12851## ----------------------------------------- ##
12852## Report this to wx-dev@lists.wxwindows.org ##
12853## ----------------------------------------- ##
12854_ASBOX
12855 ) |
12856 sed "s/^/$as_me: WARNING: /" >&2
12857 ;;
12858esac
12859echo "$as_me:$LINENO: checking for $ac_header" >&5
12860echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12861if eval "test \"\${$as_ac_Header+set}\" = set"; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12863else
12864 eval "$as_ac_Header=\$ac_header_preproc"
12865fi
12866echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12867echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12868
12869fi
12870if test `eval echo '${'$as_ac_Header'}'` = yes; then
12871 cat >>confdefs.h <<_ACEOF
12872#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12873_ACEOF
12874
12875fi
12876
12877done
12878
12879
12880for ac_header in malloc.h
12881do
12882as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12883if eval "test \"\${$as_ac_Header+set}\" = set"; then
12884 echo "$as_me:$LINENO: checking for $ac_header" >&5
12885echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12886if eval "test \"\${$as_ac_Header+set}\" = set"; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12888fi
12889echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12890echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12891else
12892 # Is the header compilable?
12893echo "$as_me:$LINENO: checking $ac_header usability" >&5
12894echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12895cat >conftest.$ac_ext <<_ACEOF
12896/* confdefs.h. */
12897_ACEOF
12898cat confdefs.h >>conftest.$ac_ext
12899cat >>conftest.$ac_ext <<_ACEOF
12900/* end confdefs.h. */
12901$ac_includes_default
12902#include <$ac_header>
12903_ACEOF
12904rm -f conftest.$ac_objext
12905if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906 (eval $ac_compile) 2>conftest.er1
12907 ac_status=$?
12908 grep -v '^ *+' conftest.er1 >conftest.err
12909 rm -f conftest.er1
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_c_werror_flag"
12914 || test ! -s conftest.err'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12917 ac_status=$?
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; } &&
12920 { ac_try='test -s conftest.$ac_objext'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12923 ac_status=$?
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; }; then
12926 ac_header_compiler=yes
12927else
12928 echo "$as_me: failed program was:" >&5
12929sed 's/^/| /' conftest.$ac_ext >&5
12930
12931ac_header_compiler=no
12932fi
12933rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12934echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12935echo "${ECHO_T}$ac_header_compiler" >&6
12936
12937# Is the header present?
12938echo "$as_me:$LINENO: checking $ac_header presence" >&5
12939echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12940cat >conftest.$ac_ext <<_ACEOF
12941/* confdefs.h. */
12942_ACEOF
12943cat confdefs.h >>conftest.$ac_ext
12944cat >>conftest.$ac_ext <<_ACEOF
12945/* end confdefs.h. */
12946#include <$ac_header>
12947_ACEOF
12948if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12950 ac_status=$?
12951 grep -v '^ *+' conftest.er1 >conftest.err
12952 rm -f conftest.er1
12953 cat conftest.err >&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } >/dev/null; then
12956 if test -s conftest.err; then
12957 ac_cpp_err=$ac_c_preproc_warn_flag
12958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12959 else
12960 ac_cpp_err=
12961 fi
12962else
12963 ac_cpp_err=yes
12964fi
12965if test -z "$ac_cpp_err"; then
12966 ac_header_preproc=yes
12967else
12968 echo "$as_me: failed program was:" >&5
12969sed 's/^/| /' conftest.$ac_ext >&5
12970
12971 ac_header_preproc=no
12972fi
12973rm -f conftest.err conftest.$ac_ext
12974echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12975echo "${ECHO_T}$ac_header_preproc" >&6
12976
12977# So? What about this header?
12978case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12979 yes:no: )
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12981echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12983echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12984 ac_header_preproc=yes
12985 ;;
12986 no:yes:* )
12987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12988echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12990echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12992echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12994echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12996echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12998echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12999 (
13000 cat <<\_ASBOX
13001## ----------------------------------------- ##
13002## Report this to wx-dev@lists.wxwindows.org ##
13003## ----------------------------------------- ##
13004_ASBOX
13005 ) |
13006 sed "s/^/$as_me: WARNING: /" >&2
13007 ;;
13008esac
13009echo "$as_me:$LINENO: checking for $ac_header" >&5
13010echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13011if eval "test \"\${$as_ac_Header+set}\" = set"; then
13012 echo $ECHO_N "(cached) $ECHO_C" >&6
13013else
13014 eval "$as_ac_Header=\$ac_header_preproc"
13015fi
13016echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13017echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13018
13019fi
13020if test `eval echo '${'$as_ac_Header'}'` = yes; then
13021 cat >>confdefs.h <<_ACEOF
13022#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13023_ACEOF
13024
13025fi
13026
13027done
13028
13029
13030for ac_header in unistd.h
13031do
13032as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13033if eval "test \"\${$as_ac_Header+set}\" = set"; then
13034 echo "$as_me:$LINENO: checking for $ac_header" >&5
13035echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13036if eval "test \"\${$as_ac_Header+set}\" = set"; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13038fi
13039echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13040echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13041else
13042 # Is the header compilable?
13043echo "$as_me:$LINENO: checking $ac_header usability" >&5
13044echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13045cat >conftest.$ac_ext <<_ACEOF
13046/* confdefs.h. */
13047_ACEOF
13048cat confdefs.h >>conftest.$ac_ext
13049cat >>conftest.$ac_ext <<_ACEOF
13050/* end confdefs.h. */
13051$ac_includes_default
13052#include <$ac_header>
13053_ACEOF
13054rm -f conftest.$ac_objext
13055if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>conftest.er1
13057 ac_status=$?
13058 grep -v '^ *+' conftest.er1 >conftest.err
13059 rm -f conftest.er1
13060 cat conftest.err >&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try='test -z "$ac_c_werror_flag"
13064 || test ! -s conftest.err'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13067 ac_status=$?
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } &&
13070 { ac_try='test -s conftest.$ac_objext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 ac_header_compiler=yes
13077else
13078 echo "$as_me: failed program was:" >&5
13079sed 's/^/| /' conftest.$ac_ext >&5
13080
13081ac_header_compiler=no
13082fi
13083rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13084echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13085echo "${ECHO_T}$ac_header_compiler" >&6
13086
13087# Is the header present?
13088echo "$as_me:$LINENO: checking $ac_header presence" >&5
13089echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13090cat >conftest.$ac_ext <<_ACEOF
13091/* confdefs.h. */
13092_ACEOF
13093cat confdefs.h >>conftest.$ac_ext
13094cat >>conftest.$ac_ext <<_ACEOF
13095/* end confdefs.h. */
13096#include <$ac_header>
13097_ACEOF
13098if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13100 ac_status=$?
13101 grep -v '^ *+' conftest.er1 >conftest.err
13102 rm -f conftest.er1
13103 cat conftest.err >&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } >/dev/null; then
13106 if test -s conftest.err; then
13107 ac_cpp_err=$ac_c_preproc_warn_flag
13108 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13109 else
13110 ac_cpp_err=
13111 fi
13112else
13113 ac_cpp_err=yes
13114fi
13115if test -z "$ac_cpp_err"; then
13116 ac_header_preproc=yes
13117else
13118 echo "$as_me: failed program was:" >&5
13119sed 's/^/| /' conftest.$ac_ext >&5
13120
13121 ac_header_preproc=no
13122fi
13123rm -f conftest.err conftest.$ac_ext
13124echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13125echo "${ECHO_T}$ac_header_preproc" >&6
13126
13127# So? What about this header?
13128case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13129 yes:no: )
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13131echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13133echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13134 ac_header_preproc=yes
13135 ;;
13136 no:yes:* )
13137 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13138echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13140echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13142echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13143 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13144echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13146echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13148echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13149 (
13150 cat <<\_ASBOX
13151## ----------------------------------------- ##
13152## Report this to wx-dev@lists.wxwindows.org ##
13153## ----------------------------------------- ##
13154_ASBOX
13155 ) |
13156 sed "s/^/$as_me: WARNING: /" >&2
13157 ;;
13158esac
13159echo "$as_me:$LINENO: checking for $ac_header" >&5
13160echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13161if eval "test \"\${$as_ac_Header+set}\" = set"; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13163else
13164 eval "$as_ac_Header=\$ac_header_preproc"
13165fi
13166echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13167echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13168
13169fi
13170if test `eval echo '${'$as_ac_Header'}'` = yes; then
13171 cat >>confdefs.h <<_ACEOF
13172#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13173_ACEOF
13174
13175fi
13176
13177done
13178
13179
13180for ac_header in wchar.h
13181do
13182as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13183if eval "test \"\${$as_ac_Header+set}\" = set"; then
13184 echo "$as_me:$LINENO: checking for $ac_header" >&5
13185echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13186if eval "test \"\${$as_ac_Header+set}\" = set"; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13188fi
13189echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13190echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13191else
13192 # Is the header compilable?
13193echo "$as_me:$LINENO: checking $ac_header usability" >&5
13194echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13195cat >conftest.$ac_ext <<_ACEOF
13196/* confdefs.h. */
13197_ACEOF
13198cat confdefs.h >>conftest.$ac_ext
13199cat >>conftest.$ac_ext <<_ACEOF
13200/* end confdefs.h. */
13201$ac_includes_default
13202#include <$ac_header>
13203_ACEOF
13204rm -f conftest.$ac_objext
13205if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13206 (eval $ac_compile) 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } &&
13213 { ac_try='test -z "$ac_c_werror_flag"
13214 || test ! -s conftest.err'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13217 ac_status=$?
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; } &&
13220 { ac_try='test -s conftest.$ac_objext'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13223 ac_status=$?
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; }; then
13226 ac_header_compiler=yes
13227else
13228 echo "$as_me: failed program was:" >&5
13229sed 's/^/| /' conftest.$ac_ext >&5
13230
13231ac_header_compiler=no
13232fi
13233rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13234echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13235echo "${ECHO_T}$ac_header_compiler" >&6
13236
13237# Is the header present?
13238echo "$as_me:$LINENO: checking $ac_header presence" >&5
13239echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13240cat >conftest.$ac_ext <<_ACEOF
13241/* confdefs.h. */
13242_ACEOF
13243cat confdefs.h >>conftest.$ac_ext
13244cat >>conftest.$ac_ext <<_ACEOF
13245/* end confdefs.h. */
13246#include <$ac_header>
13247_ACEOF
13248if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev/null; then
13256 if test -s conftest.err; then
13257 ac_cpp_err=$ac_c_preproc_warn_flag
13258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13259 else
13260 ac_cpp_err=
13261 fi
13262else
13263 ac_cpp_err=yes
13264fi
13265if test -z "$ac_cpp_err"; then
13266 ac_header_preproc=yes
13267else
13268 echo "$as_me: failed program was:" >&5
13269sed 's/^/| /' conftest.$ac_ext >&5
13270
13271 ac_header_preproc=no
13272fi
13273rm -f conftest.err conftest.$ac_ext
13274echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13275echo "${ECHO_T}$ac_header_preproc" >&6
13276
13277# So? What about this header?
13278case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13279 yes:no: )
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13281echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13283echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13284 ac_header_preproc=yes
13285 ;;
13286 no:yes:* )
13287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13288echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13290echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13292echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13294echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13296echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13298echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13299 (
13300 cat <<\_ASBOX
13301## ----------------------------------------- ##
13302## Report this to wx-dev@lists.wxwindows.org ##
13303## ----------------------------------------- ##
13304_ASBOX
13305 ) |
13306 sed "s/^/$as_me: WARNING: /" >&2
13307 ;;
13308esac
13309echo "$as_me:$LINENO: checking for $ac_header" >&5
13310echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13313else
13314 eval "$as_ac_Header=\$ac_header_preproc"
13315fi
13316echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13317echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13318
13319fi
13320if test `eval echo '${'$as_ac_Header'}'` = yes; then
13321 cat >>confdefs.h <<_ACEOF
13322#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13323_ACEOF
13324
13325fi
13326
13327done
13328
13329
13330if test "$ac_cv_header_wchar_h" != "yes"; then
13331
13332for ac_header in wcstr.h
13333do
13334as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13335if eval "test \"\${$as_ac_Header+set}\" = set"; then
13336 echo "$as_me:$LINENO: checking for $ac_header" >&5
13337echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13338if eval "test \"\${$as_ac_Header+set}\" = set"; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13340fi
13341echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13342echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13343else
13344 # Is the header compilable?
13345echo "$as_me:$LINENO: checking $ac_header usability" >&5
13346echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13347cat >conftest.$ac_ext <<_ACEOF
13348/* confdefs.h. */
13349_ACEOF
13350cat confdefs.h >>conftest.$ac_ext
13351cat >>conftest.$ac_ext <<_ACEOF
13352/* end confdefs.h. */
13353$ac_includes_default
13354#include <$ac_header>
13355_ACEOF
13356rm -f conftest.$ac_objext
13357if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13358 (eval $ac_compile) 2>conftest.er1
13359 ac_status=$?
13360 grep -v '^ *+' conftest.er1 >conftest.err
13361 rm -f conftest.er1
13362 cat conftest.err >&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try='test -z "$ac_c_werror_flag"
13366 || test ! -s conftest.err'
13367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5
13369 ac_status=$?
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; } &&
13372 { ac_try='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_header_compiler=yes
13379else
13380 echo "$as_me: failed program was:" >&5
13381sed 's/^/| /' conftest.$ac_ext >&5
13382
13383ac_header_compiler=no
13384fi
13385rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13386echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13387echo "${ECHO_T}$ac_header_compiler" >&6
13388
13389# Is the header present?
13390echo "$as_me:$LINENO: checking $ac_header presence" >&5
13391echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13392cat >conftest.$ac_ext <<_ACEOF
13393/* confdefs.h. */
13394_ACEOF
13395cat confdefs.h >>conftest.$ac_ext
13396cat >>conftest.$ac_ext <<_ACEOF
13397/* end confdefs.h. */
13398#include <$ac_header>
13399_ACEOF
13400if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13402 ac_status=$?
13403 grep -v '^ *+' conftest.er1 >conftest.err
13404 rm -f conftest.er1
13405 cat conftest.err >&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); } >/dev/null; then
13408 if test -s conftest.err; then
13409 ac_cpp_err=$ac_c_preproc_warn_flag
13410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13411 else
13412 ac_cpp_err=
13413 fi
13414else
13415 ac_cpp_err=yes
13416fi
13417if test -z "$ac_cpp_err"; then
13418 ac_header_preproc=yes
13419else
13420 echo "$as_me: failed program was:" >&5
13421sed 's/^/| /' conftest.$ac_ext >&5
13422
13423 ac_header_preproc=no
13424fi
13425rm -f conftest.err conftest.$ac_ext
13426echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13427echo "${ECHO_T}$ac_header_preproc" >&6
13428
13429# So? What about this header?
13430case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13431 yes:no: )
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13433echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13435echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13436 ac_header_preproc=yes
13437 ;;
13438 no:yes:* )
13439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13440echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13442echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13444echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13446echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13448echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13450echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13451 (
13452 cat <<\_ASBOX
13453## ----------------------------------------- ##
13454## Report this to wx-dev@lists.wxwindows.org ##
13455## ----------------------------------------- ##
13456_ASBOX
13457 ) |
13458 sed "s/^/$as_me: WARNING: /" >&2
13459 ;;
13460esac
13461echo "$as_me:$LINENO: checking for $ac_header" >&5
13462echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13463if eval "test \"\${$as_ac_Header+set}\" = set"; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13465else
13466 eval "$as_ac_Header=\$ac_header_preproc"
13467fi
13468echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13469echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13470
13471fi
13472if test `eval echo '${'$as_ac_Header'}'` = yes; then
13473 cat >>confdefs.h <<_ACEOF
13474#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13475_ACEOF
13476
13477fi
13478
13479done
13480
13481fi
13482
13483
13484for ac_header in fnmatch.h
13485do
13486as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13487if eval "test \"\${$as_ac_Header+set}\" = set"; then
13488 echo "$as_me:$LINENO: checking for $ac_header" >&5
13489echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13490if eval "test \"\${$as_ac_Header+set}\" = set"; then
13491 echo $ECHO_N "(cached) $ECHO_C" >&6
13492fi
13493echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13494echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13495else
13496 # Is the header compilable?
13497echo "$as_me:$LINENO: checking $ac_header usability" >&5
13498echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13499cat >conftest.$ac_ext <<_ACEOF
13500/* confdefs.h. */
13501_ACEOF
13502cat confdefs.h >>conftest.$ac_ext
13503cat >>conftest.$ac_ext <<_ACEOF
13504/* end confdefs.h. */
13505$ac_includes_default
13506#include <$ac_header>
13507_ACEOF
13508rm -f conftest.$ac_objext
13509if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13510 (eval $ac_compile) 2>conftest.er1
13511 ac_status=$?
13512 grep -v '^ *+' conftest.er1 >conftest.err
13513 rm -f conftest.er1
13514 cat conftest.err >&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -z "$ac_c_werror_flag"
13518 || test ! -s conftest.err'
13519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13520 (eval $ac_try) 2>&5
13521 ac_status=$?
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; } &&
13524 { ac_try='test -s conftest.$ac_objext'
13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 (eval $ac_try) 2>&5
13527 ac_status=$?
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; }; then
13530 ac_header_compiler=yes
13531else
13532 echo "$as_me: failed program was:" >&5
13533sed 's/^/| /' conftest.$ac_ext >&5
13534
13535ac_header_compiler=no
13536fi
13537rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13538echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13539echo "${ECHO_T}$ac_header_compiler" >&6
13540
13541# Is the header present?
13542echo "$as_me:$LINENO: checking $ac_header presence" >&5
13543echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13544cat >conftest.$ac_ext <<_ACEOF
13545/* confdefs.h. */
13546_ACEOF
13547cat confdefs.h >>conftest.$ac_ext
13548cat >>conftest.$ac_ext <<_ACEOF
13549/* end confdefs.h. */
13550#include <$ac_header>
13551_ACEOF
13552if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13553 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13554 ac_status=$?
13555 grep -v '^ *+' conftest.er1 >conftest.err
13556 rm -f conftest.er1
13557 cat conftest.err >&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } >/dev/null; then
13560 if test -s conftest.err; then
13561 ac_cpp_err=$ac_c_preproc_warn_flag
13562 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13563 else
13564 ac_cpp_err=
13565 fi
13566else
13567 ac_cpp_err=yes
13568fi
13569if test -z "$ac_cpp_err"; then
13570 ac_header_preproc=yes
13571else
13572 echo "$as_me: failed program was:" >&5
13573sed 's/^/| /' conftest.$ac_ext >&5
13574
13575 ac_header_preproc=no
13576fi
13577rm -f conftest.err conftest.$ac_ext
13578echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13579echo "${ECHO_T}$ac_header_preproc" >&6
13580
13581# So? What about this header?
13582case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13583 yes:no: )
13584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13585echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13587echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13588 ac_header_preproc=yes
13589 ;;
13590 no:yes:* )
13591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13592echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13594echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13596echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13598echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13600echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13602echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13603 (
13604 cat <<\_ASBOX
13605## ----------------------------------------- ##
13606## Report this to wx-dev@lists.wxwindows.org ##
13607## ----------------------------------------- ##
13608_ASBOX
13609 ) |
13610 sed "s/^/$as_me: WARNING: /" >&2
13611 ;;
13612esac
13613echo "$as_me:$LINENO: checking for $ac_header" >&5
13614echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13615if eval "test \"\${$as_ac_Header+set}\" = set"; then
13616 echo $ECHO_N "(cached) $ECHO_C" >&6
13617else
13618 eval "$as_ac_Header=\$ac_header_preproc"
13619fi
13620echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13621echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13622
13623fi
13624if test `eval echo '${'$as_ac_Header'}'` = yes; then
13625 cat >>confdefs.h <<_ACEOF
13626#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13627_ACEOF
13628
13629fi
13630
13631done
13632
13633
13634if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13635
13636for ac_func in fnmatch
13637do
13638as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13639echo "$as_me:$LINENO: checking for $ac_func" >&5
13640echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13641if eval "test \"\${$as_ac_var+set}\" = set"; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13643else
13644 cat >conftest.$ac_ext <<_ACEOF
13645/* confdefs.h. */
13646_ACEOF
13647cat confdefs.h >>conftest.$ac_ext
13648cat >>conftest.$ac_ext <<_ACEOF
13649/* end confdefs.h. */
13650/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13652#define $ac_func innocuous_$ac_func
13653
13654/* System header to define __stub macros and hopefully few prototypes,
13655 which can conflict with char $ac_func (); below.
13656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13657 <limits.h> exists even on freestanding compilers. */
13658
13659#ifdef __STDC__
13660# include <limits.h>
13661#else
13662# include <assert.h>
13663#endif
13664
13665#undef $ac_func
13666
13667/* Override any gcc2 internal prototype to avoid an error. */
13668#ifdef __cplusplus
13669extern "C"
13670{
13671#endif
13672/* We use char because int might match the return type of a gcc2
13673 builtin and then its argument prototype would still apply. */
13674char $ac_func ();
13675/* The GNU C library defines this for functions which it implements
13676 to always fail with ENOSYS. Some functions are actually named
13677 something starting with __ and the normal name is an alias. */
13678#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13679choke me
13680#else
13681char (*f) () = $ac_func;
13682#endif
13683#ifdef __cplusplus
13684}
13685#endif
13686
13687int
13688main ()
13689{
13690return f != $ac_func;
13691 ;
13692 return 0;
13693}
13694_ACEOF
13695rm -f conftest.$ac_objext conftest$ac_exeext
13696if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13697 (eval $ac_link) 2>conftest.er1
13698 ac_status=$?
13699 grep -v '^ *+' conftest.er1 >conftest.err
13700 rm -f conftest.er1
13701 cat conftest.err >&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } &&
13704 { ac_try='test -z "$ac_c_werror_flag"
13705 || test ! -s conftest.err'
13706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707 (eval $ac_try) 2>&5
13708 ac_status=$?
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); }; } &&
13711 { ac_try='test -s conftest$ac_exeext'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13714 ac_status=$?
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; }; then
13717 eval "$as_ac_var=yes"
13718else
13719 echo "$as_me: failed program was:" >&5
13720sed 's/^/| /' conftest.$ac_ext >&5
13721
13722eval "$as_ac_var=no"
13723fi
13724rm -f conftest.err conftest.$ac_objext \
13725 conftest$ac_exeext conftest.$ac_ext
13726fi
13727echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13728echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13729if test `eval echo '${'$as_ac_var'}'` = yes; then
13730 cat >>confdefs.h <<_ACEOF
13731#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13732_ACEOF
13733
13734fi
13735done
13736
13737fi
13738
13739
13740for ac_header in langinfo.h
13741do
13742as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13743if eval "test \"\${$as_ac_Header+set}\" = set"; then
13744 echo "$as_me:$LINENO: checking for $ac_header" >&5
13745echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13746if eval "test \"\${$as_ac_Header+set}\" = set"; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13748fi
13749echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13750echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13751else
13752 # Is the header compilable?
13753echo "$as_me:$LINENO: checking $ac_header usability" >&5
13754echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13755cat >conftest.$ac_ext <<_ACEOF
13756/* confdefs.h. */
13757_ACEOF
13758cat confdefs.h >>conftest.$ac_ext
13759cat >>conftest.$ac_ext <<_ACEOF
13760/* end confdefs.h. */
13761$ac_includes_default
13762#include <$ac_header>
13763_ACEOF
13764rm -f conftest.$ac_objext
13765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>conftest.er1
13767 ac_status=$?
13768 grep -v '^ *+' conftest.er1 >conftest.err
13769 rm -f conftest.er1
13770 cat conftest.err >&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try='test -z "$ac_c_werror_flag"
13774 || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13777 ac_status=$?
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try='test -s conftest.$ac_objext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13783 ac_status=$?
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13786 ac_header_compiler=yes
13787else
13788 echo "$as_me: failed program was:" >&5
13789sed 's/^/| /' conftest.$ac_ext >&5
13790
13791ac_header_compiler=no
13792fi
13793rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13794echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13795echo "${ECHO_T}$ac_header_compiler" >&6
13796
13797# Is the header present?
13798echo "$as_me:$LINENO: checking $ac_header presence" >&5
13799echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13800cat >conftest.$ac_ext <<_ACEOF
13801/* confdefs.h. */
13802_ACEOF
13803cat confdefs.h >>conftest.$ac_ext
13804cat >>conftest.$ac_ext <<_ACEOF
13805/* end confdefs.h. */
13806#include <$ac_header>
13807_ACEOF
13808if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13810 ac_status=$?
13811 grep -v '^ *+' conftest.er1 >conftest.err
13812 rm -f conftest.er1
13813 cat conftest.err >&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); } >/dev/null; then
13816 if test -s conftest.err; then
13817 ac_cpp_err=$ac_c_preproc_warn_flag
13818 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13819 else
13820 ac_cpp_err=
13821 fi
13822else
13823 ac_cpp_err=yes
13824fi
13825if test -z "$ac_cpp_err"; then
13826 ac_header_preproc=yes
13827else
13828 echo "$as_me: failed program was:" >&5
13829sed 's/^/| /' conftest.$ac_ext >&5
13830
13831 ac_header_preproc=no
13832fi
13833rm -f conftest.err conftest.$ac_ext
13834echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13835echo "${ECHO_T}$ac_header_preproc" >&6
13836
13837# So? What about this header?
13838case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13839 yes:no: )
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13841echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13843echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13844 ac_header_preproc=yes
13845 ;;
13846 no:yes:* )
13847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13848echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13850echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13851 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13852echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13854echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13856echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13858echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13859 (
13860 cat <<\_ASBOX
13861## ----------------------------------------- ##
13862## Report this to wx-dev@lists.wxwindows.org ##
13863## ----------------------------------------- ##
13864_ASBOX
13865 ) |
13866 sed "s/^/$as_me: WARNING: /" >&2
13867 ;;
13868esac
13869echo "$as_me:$LINENO: checking for $ac_header" >&5
13870echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13871if eval "test \"\${$as_ac_Header+set}\" = set"; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13873else
13874 eval "$as_ac_Header=\$ac_header_preproc"
13875fi
13876echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13877echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13878
13879fi
13880if test `eval echo '${'$as_ac_Header'}'` = yes; then
13881 cat >>confdefs.h <<_ACEOF
13882#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13883_ACEOF
13884
13885fi
13886
13887done
13888
13889
13890case "${host}" in
13891 *-pc-os2_emx | *-pc-os2-emx )
13892 if test $ac_cv_header_langinfo_h = "yes"; then
13893 LIBS="$LIBS -lintl"
13894 fi
13895 ;;
13896esac
13897
13898if test "$wxUSE_GUI" = "yes"; then
13899 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13900
13901for ac_header in X11/Xlib.h
13902do
13903as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13904if eval "test \"\${$as_ac_Header+set}\" = set"; then
13905 echo "$as_me:$LINENO: checking for $ac_header" >&5
13906echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13907if eval "test \"\${$as_ac_Header+set}\" = set"; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13909fi
13910echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13911echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13912else
13913 # Is the header compilable?
13914echo "$as_me:$LINENO: checking $ac_header usability" >&5
13915echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13916cat >conftest.$ac_ext <<_ACEOF
13917/* confdefs.h. */
13918_ACEOF
13919cat confdefs.h >>conftest.$ac_ext
13920cat >>conftest.$ac_ext <<_ACEOF
13921/* end confdefs.h. */
13922$ac_includes_default
13923#include <$ac_header>
13924_ACEOF
13925rm -f conftest.$ac_objext
13926if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13927 (eval $ac_compile) 2>conftest.er1
13928 ac_status=$?
13929 grep -v '^ *+' conftest.er1 >conftest.err
13930 rm -f conftest.er1
13931 cat conftest.err >&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); } &&
13934 { ac_try='test -z "$ac_c_werror_flag"
13935 || test ! -s conftest.err'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; } &&
13941 { ac_try='test -s conftest.$ac_objext'
13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943 (eval $ac_try) 2>&5
13944 ac_status=$?
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; }; then
13947 ac_header_compiler=yes
13948else
13949 echo "$as_me: failed program was:" >&5
13950sed 's/^/| /' conftest.$ac_ext >&5
13951
13952ac_header_compiler=no
13953fi
13954rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13955echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13956echo "${ECHO_T}$ac_header_compiler" >&6
13957
13958# Is the header present?
13959echo "$as_me:$LINENO: checking $ac_header presence" >&5
13960echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13961cat >conftest.$ac_ext <<_ACEOF
13962/* confdefs.h. */
13963_ACEOF
13964cat confdefs.h >>conftest.$ac_ext
13965cat >>conftest.$ac_ext <<_ACEOF
13966/* end confdefs.h. */
13967#include <$ac_header>
13968_ACEOF
13969if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13971 ac_status=$?
13972 grep -v '^ *+' conftest.er1 >conftest.err
13973 rm -f conftest.er1
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } >/dev/null; then
13977 if test -s conftest.err; then
13978 ac_cpp_err=$ac_c_preproc_warn_flag
13979 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13980 else
13981 ac_cpp_err=
13982 fi
13983else
13984 ac_cpp_err=yes
13985fi
13986if test -z "$ac_cpp_err"; then
13987 ac_header_preproc=yes
13988else
13989 echo "$as_me: failed program was:" >&5
13990sed 's/^/| /' conftest.$ac_ext >&5
13991
13992 ac_header_preproc=no
13993fi
13994rm -f conftest.err conftest.$ac_ext
13995echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13996echo "${ECHO_T}$ac_header_preproc" >&6
13997
13998# So? What about this header?
13999case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14000 yes:no: )
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14002echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14004echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14005 ac_header_preproc=yes
14006 ;;
14007 no:yes:* )
14008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14009echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14011echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14013echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14015echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14017echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14019echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14020 (
14021 cat <<\_ASBOX
14022## ----------------------------------------- ##
14023## Report this to wx-dev@lists.wxwindows.org ##
14024## ----------------------------------------- ##
14025_ASBOX
14026 ) |
14027 sed "s/^/$as_me: WARNING: /" >&2
14028 ;;
14029esac
14030echo "$as_me:$LINENO: checking for $ac_header" >&5
14031echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14032if eval "test \"\${$as_ac_Header+set}\" = set"; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034else
14035 eval "$as_ac_Header=\$ac_header_preproc"
14036fi
14037echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14038echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14039
14040fi
14041if test `eval echo '${'$as_ac_Header'}'` = yes; then
14042 cat >>confdefs.h <<_ACEOF
14043#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14044_ACEOF
14045
14046fi
14047
14048done
14049
14050
14051for ac_header in X11/XKBlib.h
14052do
14053as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14054echo "$as_me:$LINENO: checking for $ac_header" >&5
14055echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14056if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14058else
14059 cat >conftest.$ac_ext <<_ACEOF
14060/* confdefs.h. */
14061_ACEOF
14062cat confdefs.h >>conftest.$ac_ext
14063cat >>conftest.$ac_ext <<_ACEOF
14064/* end confdefs.h. */
14065
14066 #if HAVE_X11_XLIB_H
14067 #include <X11/Xlib.h>
14068 #endif
14069
14070
14071#include <$ac_header>
14072_ACEOF
14073rm -f conftest.$ac_objext
14074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14075 (eval $ac_compile) 2>conftest.er1
14076 ac_status=$?
14077 grep -v '^ *+' conftest.er1 >conftest.err
14078 rm -f conftest.er1
14079 cat conftest.err >&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } &&
14082 { ac_try='test -z "$ac_c_werror_flag"
14083 || test ! -s conftest.err'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; } &&
14089 { ac_try='test -s conftest.$ac_objext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14092 ac_status=$?
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 eval "$as_ac_Header=yes"
14096else
14097 echo "$as_me: failed program was:" >&5
14098sed 's/^/| /' conftest.$ac_ext >&5
14099
14100eval "$as_ac_Header=no"
14101fi
14102rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14103fi
14104echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14105echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14106if test `eval echo '${'$as_ac_Header'}'` = yes; then
14107 cat >>confdefs.h <<_ACEOF
14108#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14109_ACEOF
14110
14111fi
14112
14113done
14114
14115 fi
14116fi
14117
14118
14119echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14120echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14121if test "${ac_cv_c_const+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14123else
14124 cat >conftest.$ac_ext <<_ACEOF
14125/* confdefs.h. */
14126_ACEOF
14127cat confdefs.h >>conftest.$ac_ext
14128cat >>conftest.$ac_ext <<_ACEOF
14129/* end confdefs.h. */
14130
14131int
14132main ()
14133{
14134/* FIXME: Include the comments suggested by Paul. */
14135#ifndef __cplusplus
14136 /* Ultrix mips cc rejects this. */
14137 typedef int charset[2];
14138 const charset x;
14139 /* SunOS 4.1.1 cc rejects this. */
14140 char const *const *ccp;
14141 char **p;
14142 /* NEC SVR4.0.2 mips cc rejects this. */
14143 struct point {int x, y;};
14144 static struct point const zero = {0,0};
14145 /* AIX XL C 1.02.0.0 rejects this.
14146 It does not let you subtract one const X* pointer from another in
14147 an arm of an if-expression whose if-part is not a constant
14148 expression */
14149 const char *g = "string";
14150 ccp = &g + (g ? g-g : 0);
14151 /* HPUX 7.0 cc rejects these. */
14152 ++ccp;
14153 p = (char**) ccp;
14154 ccp = (char const *const *) p;
14155 { /* SCO 3.2v4 cc rejects this. */
14156 char *t;
14157 char const *s = 0 ? (char *) 0 : (char const *) 0;
14158
14159 *t++ = 0;
14160 }
14161 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14162 int x[] = {25, 17};
14163 const int *foo = &x[0];
14164 ++foo;
14165 }
14166 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14167 typedef const int *iptr;
14168 iptr p = 0;
14169 ++p;
14170 }
14171 { /* AIX XL C 1.02.0.0 rejects this saying
14172 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14173 struct s { int j; const int *ap[3]; };
14174 struct s *b; b->j = 5;
14175 }
14176 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14177 const int foo = 10;
14178 }
14179#endif
14180
14181 ;
14182 return 0;
14183}
14184_ACEOF
14185rm -f conftest.$ac_objext
14186if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14187 (eval $ac_compile) 2>conftest.er1
14188 ac_status=$?
14189 grep -v '^ *+' conftest.er1 >conftest.err
14190 rm -f conftest.er1
14191 cat conftest.err >&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); } &&
14194 { ac_try='test -z "$ac_c_werror_flag"
14195 || test ! -s conftest.err'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14198 ac_status=$?
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; } &&
14201 { ac_try='test -s conftest.$ac_objext'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14204 ac_status=$?
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; }; then
14207 ac_cv_c_const=yes
14208else
14209 echo "$as_me: failed program was:" >&5
14210sed 's/^/| /' conftest.$ac_ext >&5
14211
14212ac_cv_c_const=no
14213fi
14214rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14215fi
14216echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14217echo "${ECHO_T}$ac_cv_c_const" >&6
14218if test $ac_cv_c_const = no; then
14219
14220cat >>confdefs.h <<\_ACEOF
14221#define const
14222_ACEOF
14223
14224fi
14225
14226echo "$as_me:$LINENO: checking for inline" >&5
14227echo $ECHO_N "checking for inline... $ECHO_C" >&6
14228if test "${ac_cv_c_inline+set}" = set; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14230else
14231 ac_cv_c_inline=no
14232for ac_kw in inline __inline__ __inline; do
14233 cat >conftest.$ac_ext <<_ACEOF
14234/* confdefs.h. */
14235_ACEOF
14236cat confdefs.h >>conftest.$ac_ext
14237cat >>conftest.$ac_ext <<_ACEOF
14238/* end confdefs.h. */
14239#ifndef __cplusplus
14240typedef int foo_t;
14241static $ac_kw foo_t static_foo () {return 0; }
14242$ac_kw foo_t foo () {return 0; }
14243#endif
14244
14245_ACEOF
14246rm -f conftest.$ac_objext
14247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>conftest.er1
14249 ac_status=$?
14250 grep -v '^ *+' conftest.er1 >conftest.err
14251 rm -f conftest.er1
14252 cat conftest.err >&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try='test -z "$ac_c_werror_flag"
14256 || test ! -s conftest.err'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; } &&
14262 { ac_try='test -s conftest.$ac_objext'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14265 ac_status=$?
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; }; then
14268 ac_cv_c_inline=$ac_kw; break
14269else
14270 echo "$as_me: failed program was:" >&5
14271sed 's/^/| /' conftest.$ac_ext >&5
14272
14273fi
14274rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14275done
14276
14277fi
14278echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14279echo "${ECHO_T}$ac_cv_c_inline" >&6
14280
14281
14282case $ac_cv_c_inline in
14283 inline | yes) ;;
14284 *)
14285 case $ac_cv_c_inline in
14286 no) ac_val=;;
14287 *) ac_val=$ac_cv_c_inline;;
14288 esac
14289 cat >>confdefs.h <<_ACEOF
14290#ifndef __cplusplus
14291#define inline $ac_val
14292#endif
14293_ACEOF
14294 ;;
14295esac
14296
14297
14298echo "$as_me:$LINENO: checking for char" >&5
14299echo $ECHO_N "checking for char... $ECHO_C" >&6
14300if test "${ac_cv_type_char+set}" = set; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6
14302else
14303 cat >conftest.$ac_ext <<_ACEOF
14304/* confdefs.h. */
14305_ACEOF
14306cat confdefs.h >>conftest.$ac_ext
14307cat >>conftest.$ac_ext <<_ACEOF
14308/* end confdefs.h. */
14309$ac_includes_default
14310int
14311main ()
14312{
14313if ((char *) 0)
14314 return 0;
14315if (sizeof (char))
14316 return 0;
14317 ;
14318 return 0;
14319}
14320_ACEOF
14321rm -f conftest.$ac_objext
14322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14323 (eval $ac_compile) 2>conftest.er1
14324 ac_status=$?
14325 grep -v '^ *+' conftest.er1 >conftest.err
14326 rm -f conftest.er1
14327 cat conftest.err >&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); } &&
14330 { ac_try='test -z "$ac_c_werror_flag"
14331 || test ! -s conftest.err'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14334 ac_status=$?
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; } &&
14337 { ac_try='test -s conftest.$ac_objext'
14338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14339 (eval $ac_try) 2>&5
14340 ac_status=$?
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; }; then
14343 ac_cv_type_char=yes
14344else
14345 echo "$as_me: failed program was:" >&5
14346sed 's/^/| /' conftest.$ac_ext >&5
14347
14348ac_cv_type_char=no
14349fi
14350rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14351fi
14352echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14353echo "${ECHO_T}$ac_cv_type_char" >&6
14354
14355echo "$as_me:$LINENO: checking size of char" >&5
14356echo $ECHO_N "checking size of char... $ECHO_C" >&6
14357if test "${ac_cv_sizeof_char+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14359else
14360 if test "$ac_cv_type_char" = yes; then
14361 # The cast to unsigned long works around a bug in the HP C Compiler
14362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14364 # This bug is HP SR number 8606223364.
14365 if test "$cross_compiling" = yes; then
14366 # Depending upon the size, compute the lo and hi bounds.
14367cat >conftest.$ac_ext <<_ACEOF
14368/* confdefs.h. */
14369_ACEOF
14370cat confdefs.h >>conftest.$ac_ext
14371cat >>conftest.$ac_ext <<_ACEOF
14372/* end confdefs.h. */
14373$ac_includes_default
14374int
14375main ()
14376{
14377static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14378test_array [0] = 0
14379
14380 ;
14381 return 0;
14382}
14383_ACEOF
14384rm -f conftest.$ac_objext
14385if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14386 (eval $ac_compile) 2>conftest.er1
14387 ac_status=$?
14388 grep -v '^ *+' conftest.er1 >conftest.err
14389 rm -f conftest.er1
14390 cat conftest.err >&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try='test -z "$ac_c_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14397 ac_status=$?
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 ac_lo=0 ac_mid=0
14407 while :; do
14408 cat >conftest.$ac_ext <<_ACEOF
14409/* confdefs.h. */
14410_ACEOF
14411cat confdefs.h >>conftest.$ac_ext
14412cat >>conftest.$ac_ext <<_ACEOF
14413/* end confdefs.h. */
14414$ac_includes_default
14415int
14416main ()
14417{
14418static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14419test_array [0] = 0
14420
14421 ;
14422 return 0;
14423}
14424_ACEOF
14425rm -f conftest.$ac_objext
14426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14428 ac_status=$?
14429 grep -v '^ *+' conftest.er1 >conftest.err
14430 rm -f conftest.er1
14431 cat conftest.err >&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14438 ac_status=$?
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try='test -s conftest.$ac_objext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14444 ac_status=$?
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_hi=$ac_mid; break
14448else
14449 echo "$as_me: failed program was:" >&5
14450sed 's/^/| /' conftest.$ac_ext >&5
14451
14452ac_lo=`expr $ac_mid + 1`
14453 if test $ac_lo -le $ac_mid; then
14454 ac_lo= ac_hi=
14455 break
14456 fi
14457 ac_mid=`expr 2 '*' $ac_mid + 1`
14458fi
14459rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14460 done
14461else
14462 echo "$as_me: failed program was:" >&5
14463sed 's/^/| /' conftest.$ac_ext >&5
14464
14465cat >conftest.$ac_ext <<_ACEOF
14466/* confdefs.h. */
14467_ACEOF
14468cat confdefs.h >>conftest.$ac_ext
14469cat >>conftest.$ac_ext <<_ACEOF
14470/* end confdefs.h. */
14471$ac_includes_default
14472int
14473main ()
14474{
14475static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14476test_array [0] = 0
14477
14478 ;
14479 return 0;
14480}
14481_ACEOF
14482rm -f conftest.$ac_objext
14483if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14484 (eval $ac_compile) 2>conftest.er1
14485 ac_status=$?
14486 grep -v '^ *+' conftest.er1 >conftest.err
14487 rm -f conftest.er1
14488 cat conftest.err >&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try='test -z "$ac_c_werror_flag"
14492 || test ! -s conftest.err'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14495 ac_status=$?
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; } &&
14498 { ac_try='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14501 ac_status=$?
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14504 ac_hi=-1 ac_mid=-1
14505 while :; do
14506 cat >conftest.$ac_ext <<_ACEOF
14507/* confdefs.h. */
14508_ACEOF
14509cat confdefs.h >>conftest.$ac_ext
14510cat >>conftest.$ac_ext <<_ACEOF
14511/* end confdefs.h. */
14512$ac_includes_default
14513int
14514main ()
14515{
14516static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14517test_array [0] = 0
14518
14519 ;
14520 return 0;
14521}
14522_ACEOF
14523rm -f conftest.$ac_objext
14524if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14525 (eval $ac_compile) 2>conftest.er1
14526 ac_status=$?
14527 grep -v '^ *+' conftest.er1 >conftest.err
14528 rm -f conftest.er1
14529 cat conftest.err >&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try='test -z "$ac_c_werror_flag"
14533 || test ! -s conftest.err'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14536 ac_status=$?
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; } &&
14539 { ac_try='test -s conftest.$ac_objext'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14542 ac_status=$?
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14545 ac_lo=$ac_mid; break
14546else
14547 echo "$as_me: failed program was:" >&5
14548sed 's/^/| /' conftest.$ac_ext >&5
14549
14550ac_hi=`expr '(' $ac_mid ')' - 1`
14551 if test $ac_mid -le $ac_hi; then
14552 ac_lo= ac_hi=
14553 break
14554 fi
14555 ac_mid=`expr 2 '*' $ac_mid`
14556fi
14557rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14558 done
14559else
14560 echo "$as_me: failed program was:" >&5
14561sed 's/^/| /' conftest.$ac_ext >&5
14562
14563ac_lo= ac_hi=
14564fi
14565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14566fi
14567rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14568# Binary search between lo and hi bounds.
14569while test "x$ac_lo" != "x$ac_hi"; do
14570 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14571 cat >conftest.$ac_ext <<_ACEOF
14572/* confdefs.h. */
14573_ACEOF
14574cat confdefs.h >>conftest.$ac_ext
14575cat >>conftest.$ac_ext <<_ACEOF
14576/* end confdefs.h. */
14577$ac_includes_default
14578int
14579main ()
14580{
14581static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14582test_array [0] = 0
14583
14584 ;
14585 return 0;
14586}
14587_ACEOF
14588rm -f conftest.$ac_objext
14589if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>conftest.er1
14591 ac_status=$?
14592 grep -v '^ *+' conftest.er1 >conftest.err
14593 rm -f conftest.er1
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try='test -z "$ac_c_werror_flag"
14598 || test ! -s conftest.err'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14607 ac_status=$?
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14610 ac_hi=$ac_mid
14611else
14612 echo "$as_me: failed program was:" >&5
14613sed 's/^/| /' conftest.$ac_ext >&5
14614
14615ac_lo=`expr '(' $ac_mid ')' + 1`
14616fi
14617rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14618done
14619case $ac_lo in
14620?*) ac_cv_sizeof_char=$ac_lo;;
14621'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14622See \`config.log' for more details." >&5
14623echo "$as_me: error: cannot compute sizeof (char), 77
14624See \`config.log' for more details." >&2;}
14625 { (exit 1); exit 1; }; } ;;
14626esac
14627else
14628 if test "$cross_compiling" = yes; then
14629 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14630See \`config.log' for more details." >&5
14631echo "$as_me: error: cannot run test program while cross compiling
14632See \`config.log' for more details." >&2;}
14633 { (exit 1); exit 1; }; }
14634else
14635 cat >conftest.$ac_ext <<_ACEOF
14636/* confdefs.h. */
14637_ACEOF
14638cat confdefs.h >>conftest.$ac_ext
14639cat >>conftest.$ac_ext <<_ACEOF
14640/* end confdefs.h. */
14641$ac_includes_default
14642long longval () { return (long) (sizeof (char)); }
14643unsigned long ulongval () { return (long) (sizeof (char)); }
14644#include <stdio.h>
14645#include <stdlib.h>
14646int
14647main ()
14648{
14649
14650 FILE *f = fopen ("conftest.val", "w");
14651 if (! f)
14652 exit (1);
14653 if (((long) (sizeof (char))) < 0)
14654 {
14655 long i = longval ();
14656 if (i != ((long) (sizeof (char))))
14657 exit (1);
14658 fprintf (f, "%ld\n", i);
14659 }
14660 else
14661 {
14662 unsigned long i = ulongval ();
14663 if (i != ((long) (sizeof (char))))
14664 exit (1);
14665 fprintf (f, "%lu\n", i);
14666 }
14667 exit (ferror (f) || fclose (f) != 0);
14668
14669 ;
14670 return 0;
14671}
14672_ACEOF
14673rm -f conftest$ac_exeext
14674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14675 (eval $ac_link) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14680 (eval $ac_try) 2>&5
14681 ac_status=$?
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); }; }; then
14684 ac_cv_sizeof_char=`cat conftest.val`
14685else
14686 echo "$as_me: program exited with status $ac_status" >&5
14687echo "$as_me: failed program was:" >&5
14688sed 's/^/| /' conftest.$ac_ext >&5
14689
14690( exit $ac_status )
14691{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14692See \`config.log' for more details." >&5
14693echo "$as_me: error: cannot compute sizeof (char), 77
14694See \`config.log' for more details." >&2;}
14695 { (exit 1); exit 1; }; }
14696fi
14697rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14698fi
14699fi
14700rm -f conftest.val
14701else
14702 ac_cv_sizeof_char=0
14703fi
14704fi
14705echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14706echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14707cat >>confdefs.h <<_ACEOF
14708#define SIZEOF_CHAR $ac_cv_sizeof_char
14709_ACEOF
14710
14711
14712echo "$as_me:$LINENO: checking for short" >&5
14713echo $ECHO_N "checking for short... $ECHO_C" >&6
14714if test "${ac_cv_type_short+set}" = set; then
14715 echo $ECHO_N "(cached) $ECHO_C" >&6
14716else
14717 cat >conftest.$ac_ext <<_ACEOF
14718/* confdefs.h. */
14719_ACEOF
14720cat confdefs.h >>conftest.$ac_ext
14721cat >>conftest.$ac_ext <<_ACEOF
14722/* end confdefs.h. */
14723$ac_includes_default
14724int
14725main ()
14726{
14727if ((short *) 0)
14728 return 0;
14729if (sizeof (short))
14730 return 0;
14731 ;
14732 return 0;
14733}
14734_ACEOF
14735rm -f conftest.$ac_objext
14736if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14738 ac_status=$?
14739 grep -v '^ *+' conftest.er1 >conftest.err
14740 rm -f conftest.er1
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try='test -z "$ac_c_werror_flag"
14745 || test ! -s conftest.err'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; } &&
14751 { ac_try='test -s conftest.$ac_objext'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; }; then
14757 ac_cv_type_short=yes
14758else
14759 echo "$as_me: failed program was:" >&5
14760sed 's/^/| /' conftest.$ac_ext >&5
14761
14762ac_cv_type_short=no
14763fi
14764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14765fi
14766echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14767echo "${ECHO_T}$ac_cv_type_short" >&6
14768
14769echo "$as_me:$LINENO: checking size of short" >&5
14770echo $ECHO_N "checking size of short... $ECHO_C" >&6
14771if test "${ac_cv_sizeof_short+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14773else
14774 if test "$ac_cv_type_short" = yes; then
14775 # The cast to unsigned long works around a bug in the HP C Compiler
14776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14778 # This bug is HP SR number 8606223364.
14779 if test "$cross_compiling" = yes; then
14780 # Depending upon the size, compute the lo and hi bounds.
14781cat >conftest.$ac_ext <<_ACEOF
14782/* confdefs.h. */
14783_ACEOF
14784cat confdefs.h >>conftest.$ac_ext
14785cat >>conftest.$ac_ext <<_ACEOF
14786/* end confdefs.h. */
14787$ac_includes_default
14788int
14789main ()
14790{
14791static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14792test_array [0] = 0
14793
14794 ;
14795 return 0;
14796}
14797_ACEOF
14798rm -f conftest.$ac_objext
14799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 ac_lo=0 ac_mid=0
14821 while :; do
14822 cat >conftest.$ac_ext <<_ACEOF
14823/* confdefs.h. */
14824_ACEOF
14825cat confdefs.h >>conftest.$ac_ext
14826cat >>conftest.$ac_ext <<_ACEOF
14827/* end confdefs.h. */
14828$ac_includes_default
14829int
14830main ()
14831{
14832static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14833test_array [0] = 0
14834
14835 ;
14836 return 0;
14837}
14838_ACEOF
14839rm -f conftest.$ac_objext
14840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14841 (eval $ac_compile) 2>conftest.er1
14842 ac_status=$?
14843 grep -v '^ *+' conftest.er1 >conftest.err
14844 rm -f conftest.er1
14845 cat conftest.err >&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try='test -z "$ac_c_werror_flag"
14849 || test ! -s conftest.err'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14852 ac_status=$?
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; } &&
14855 { ac_try='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14858 ac_status=$?
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_hi=$ac_mid; break
14862else
14863 echo "$as_me: failed program was:" >&5
14864sed 's/^/| /' conftest.$ac_ext >&5
14865
14866ac_lo=`expr $ac_mid + 1`
14867 if test $ac_lo -le $ac_mid; then
14868 ac_lo= ac_hi=
14869 break
14870 fi
14871 ac_mid=`expr 2 '*' $ac_mid + 1`
14872fi
14873rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14874 done
14875else
14876 echo "$as_me: failed program was:" >&5
14877sed 's/^/| /' conftest.$ac_ext >&5
14878
14879cat >conftest.$ac_ext <<_ACEOF
14880/* confdefs.h. */
14881_ACEOF
14882cat confdefs.h >>conftest.$ac_ext
14883cat >>conftest.$ac_ext <<_ACEOF
14884/* end confdefs.h. */
14885$ac_includes_default
14886int
14887main ()
14888{
14889static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14890test_array [0] = 0
14891
14892 ;
14893 return 0;
14894}
14895_ACEOF
14896rm -f conftest.$ac_objext
14897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14898 (eval $ac_compile) 2>conftest.er1
14899 ac_status=$?
14900 grep -v '^ *+' conftest.er1 >conftest.err
14901 rm -f conftest.er1
14902 cat conftest.err >&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); } &&
14905 { ac_try='test -z "$ac_c_werror_flag"
14906 || test ! -s conftest.err'
14907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14908 (eval $ac_try) 2>&5
14909 ac_status=$?
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; } &&
14912 { ac_try='test -s conftest.$ac_objext'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14915 ac_status=$?
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; }; then
14918 ac_hi=-1 ac_mid=-1
14919 while :; do
14920 cat >conftest.$ac_ext <<_ACEOF
14921/* confdefs.h. */
14922_ACEOF
14923cat confdefs.h >>conftest.$ac_ext
14924cat >>conftest.$ac_ext <<_ACEOF
14925/* end confdefs.h. */
14926$ac_includes_default
14927int
14928main ()
14929{
14930static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14931test_array [0] = 0
14932
14933 ;
14934 return 0;
14935}
14936_ACEOF
14937rm -f conftest.$ac_objext
14938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>conftest.er1
14940 ac_status=$?
14941 grep -v '^ *+' conftest.er1 >conftest.err
14942 rm -f conftest.er1
14943 cat conftest.err >&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try='test -z "$ac_c_werror_flag"
14947 || test ! -s conftest.err'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14950 ac_status=$?
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; } &&
14953 { ac_try='test -s conftest.$ac_objext'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14956 ac_status=$?
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_lo=$ac_mid; break
14960else
14961 echo "$as_me: failed program was:" >&5
14962sed 's/^/| /' conftest.$ac_ext >&5
14963
14964ac_hi=`expr '(' $ac_mid ')' - 1`
14965 if test $ac_mid -le $ac_hi; then
14966 ac_lo= ac_hi=
14967 break
14968 fi
14969 ac_mid=`expr 2 '*' $ac_mid`
14970fi
14971rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14972 done
14973else
14974 echo "$as_me: failed program was:" >&5
14975sed 's/^/| /' conftest.$ac_ext >&5
14976
14977ac_lo= ac_hi=
14978fi
14979rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14980fi
14981rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14982# Binary search between lo and hi bounds.
14983while test "x$ac_lo" != "x$ac_hi"; do
14984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14985 cat >conftest.$ac_ext <<_ACEOF
14986/* confdefs.h. */
14987_ACEOF
14988cat confdefs.h >>conftest.$ac_ext
14989cat >>conftest.$ac_ext <<_ACEOF
14990/* end confdefs.h. */
14991$ac_includes_default
14992int
14993main ()
14994{
14995static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14996test_array [0] = 0
14997
14998 ;
14999 return 0;
15000}
15001_ACEOF
15002rm -f conftest.$ac_objext
15003if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>conftest.er1
15005 ac_status=$?
15006 grep -v '^ *+' conftest.er1 >conftest.err
15007 rm -f conftest.er1
15008 cat conftest.err >&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } &&
15011 { ac_try='test -z "$ac_c_werror_flag"
15012 || test ! -s conftest.err'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15015 ac_status=$?
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; } &&
15018 { ac_try='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_hi=$ac_mid
15025else
15026 echo "$as_me: failed program was:" >&5
15027sed 's/^/| /' conftest.$ac_ext >&5
15028
15029ac_lo=`expr '(' $ac_mid ')' + 1`
15030fi
15031rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15032done
15033case $ac_lo in
15034?*) ac_cv_sizeof_short=$ac_lo;;
15035'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15036See \`config.log' for more details." >&5
15037echo "$as_me: error: cannot compute sizeof (short), 77
15038See \`config.log' for more details." >&2;}
15039 { (exit 1); exit 1; }; } ;;
15040esac
15041else
15042 if test "$cross_compiling" = yes; then
15043 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15044See \`config.log' for more details." >&5
15045echo "$as_me: error: cannot run test program while cross compiling
15046See \`config.log' for more details." >&2;}
15047 { (exit 1); exit 1; }; }
15048else
15049 cat >conftest.$ac_ext <<_ACEOF
15050/* confdefs.h. */
15051_ACEOF
15052cat confdefs.h >>conftest.$ac_ext
15053cat >>conftest.$ac_ext <<_ACEOF
15054/* end confdefs.h. */
15055$ac_includes_default
15056long longval () { return (long) (sizeof (short)); }
15057unsigned long ulongval () { return (long) (sizeof (short)); }
15058#include <stdio.h>
15059#include <stdlib.h>
15060int
15061main ()
15062{
15063
15064 FILE *f = fopen ("conftest.val", "w");
15065 if (! f)
15066 exit (1);
15067 if (((long) (sizeof (short))) < 0)
15068 {
15069 long i = longval ();
15070 if (i != ((long) (sizeof (short))))
15071 exit (1);
15072 fprintf (f, "%ld\n", i);
15073 }
15074 else
15075 {
15076 unsigned long i = ulongval ();
15077 if (i != ((long) (sizeof (short))))
15078 exit (1);
15079 fprintf (f, "%lu\n", i);
15080 }
15081 exit (ferror (f) || fclose (f) != 0);
15082
15083 ;
15084 return 0;
15085}
15086_ACEOF
15087rm -f conftest$ac_exeext
15088if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15089 (eval $ac_link) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15095 ac_status=$?
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 ac_cv_sizeof_short=`cat conftest.val`
15099else
15100 echo "$as_me: program exited with status $ac_status" >&5
15101echo "$as_me: failed program was:" >&5
15102sed 's/^/| /' conftest.$ac_ext >&5
15103
15104( exit $ac_status )
15105{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15106See \`config.log' for more details." >&5
15107echo "$as_me: error: cannot compute sizeof (short), 77
15108See \`config.log' for more details." >&2;}
15109 { (exit 1); exit 1; }; }
15110fi
15111rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15112fi
15113fi
15114rm -f conftest.val
15115else
15116 ac_cv_sizeof_short=0
15117fi
15118fi
15119echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15120echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15121cat >>confdefs.h <<_ACEOF
15122#define SIZEOF_SHORT $ac_cv_sizeof_short
15123_ACEOF
15124
15125
15126echo "$as_me:$LINENO: checking for void *" >&5
15127echo $ECHO_N "checking for void *... $ECHO_C" >&6
15128if test "${ac_cv_type_void_p+set}" = set; then
15129 echo $ECHO_N "(cached) $ECHO_C" >&6
15130else
15131 cat >conftest.$ac_ext <<_ACEOF
15132/* confdefs.h. */
15133_ACEOF
15134cat confdefs.h >>conftest.$ac_ext
15135cat >>conftest.$ac_ext <<_ACEOF
15136/* end confdefs.h. */
15137$ac_includes_default
15138int
15139main ()
15140{
15141if ((void * *) 0)
15142 return 0;
15143if (sizeof (void *))
15144 return 0;
15145 ;
15146 return 0;
15147}
15148_ACEOF
15149rm -f conftest.$ac_objext
15150if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15151 (eval $ac_compile) 2>conftest.er1
15152 ac_status=$?
15153 grep -v '^ *+' conftest.er1 >conftest.err
15154 rm -f conftest.er1
15155 cat conftest.err >&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } &&
15158 { ac_try='test -z "$ac_c_werror_flag"
15159 || test ! -s conftest.err'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15162 ac_status=$?
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; } &&
15165 { ac_try='test -s conftest.$ac_objext'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15168 ac_status=$?
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; }; then
15171 ac_cv_type_void_p=yes
15172else
15173 echo "$as_me: failed program was:" >&5
15174sed 's/^/| /' conftest.$ac_ext >&5
15175
15176ac_cv_type_void_p=no
15177fi
15178rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15179fi
15180echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15181echo "${ECHO_T}$ac_cv_type_void_p" >&6
15182
15183echo "$as_me:$LINENO: checking size of void *" >&5
15184echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15185if test "${ac_cv_sizeof_void_p+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187else
15188 if test "$ac_cv_type_void_p" = yes; then
15189 # The cast to unsigned long works around a bug in the HP C Compiler
15190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15192 # This bug is HP SR number 8606223364.
15193 if test "$cross_compiling" = yes; then
15194 # Depending upon the size, compute the lo and hi bounds.
15195cat >conftest.$ac_ext <<_ACEOF
15196/* confdefs.h. */
15197_ACEOF
15198cat confdefs.h >>conftest.$ac_ext
15199cat >>conftest.$ac_ext <<_ACEOF
15200/* end confdefs.h. */
15201$ac_includes_default
15202int
15203main ()
15204{
15205static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15206test_array [0] = 0
15207
15208 ;
15209 return 0;
15210}
15211_ACEOF
15212rm -f conftest.$ac_objext
15213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15214 (eval $ac_compile) 2>conftest.er1
15215 ac_status=$?
15216 grep -v '^ *+' conftest.er1 >conftest.err
15217 rm -f conftest.er1
15218 cat conftest.err >&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } &&
15221 { ac_try='test -z "$ac_c_werror_flag"
15222 || test ! -s conftest.err'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15225 ac_status=$?
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; } &&
15228 { ac_try='test -s conftest.$ac_objext'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15231 ac_status=$?
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15234 ac_lo=0 ac_mid=0
15235 while :; do
15236 cat >conftest.$ac_ext <<_ACEOF
15237/* confdefs.h. */
15238_ACEOF
15239cat confdefs.h >>conftest.$ac_ext
15240cat >>conftest.$ac_ext <<_ACEOF
15241/* end confdefs.h. */
15242$ac_includes_default
15243int
15244main ()
15245{
15246static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15247test_array [0] = 0
15248
15249 ;
15250 return 0;
15251}
15252_ACEOF
15253rm -f conftest.$ac_objext
15254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>conftest.er1
15256 ac_status=$?
15257 grep -v '^ *+' conftest.er1 >conftest.err
15258 rm -f conftest.er1
15259 cat conftest.err >&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try='test -z "$ac_c_werror_flag"
15263 || test ! -s conftest.err'
15264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15265 (eval $ac_try) 2>&5
15266 ac_status=$?
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }; } &&
15269 { ac_try='test -s conftest.$ac_objext'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15272 ac_status=$?
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; }; then
15275 ac_hi=$ac_mid; break
15276else
15277 echo "$as_me: failed program was:" >&5
15278sed 's/^/| /' conftest.$ac_ext >&5
15279
15280ac_lo=`expr $ac_mid + 1`
15281 if test $ac_lo -le $ac_mid; then
15282 ac_lo= ac_hi=
15283 break
15284 fi
15285 ac_mid=`expr 2 '*' $ac_mid + 1`
15286fi
15287rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15288 done
15289else
15290 echo "$as_me: failed program was:" >&5
15291sed 's/^/| /' conftest.$ac_ext >&5
15292
15293cat >conftest.$ac_ext <<_ACEOF
15294/* confdefs.h. */
15295_ACEOF
15296cat confdefs.h >>conftest.$ac_ext
15297cat >>conftest.$ac_ext <<_ACEOF
15298/* end confdefs.h. */
15299$ac_includes_default
15300int
15301main ()
15302{
15303static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15304test_array [0] = 0
15305
15306 ;
15307 return 0;
15308}
15309_ACEOF
15310rm -f conftest.$ac_objext
15311if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15312 (eval $ac_compile) 2>conftest.er1
15313 ac_status=$?
15314 grep -v '^ *+' conftest.er1 >conftest.err
15315 rm -f conftest.er1
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } &&
15319 { ac_try='test -z "$ac_c_werror_flag"
15320 || test ! -s conftest.err'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15323 ac_status=$?
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; } &&
15326 { ac_try='test -s conftest.$ac_objext'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15329 ac_status=$?
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; }; then
15332 ac_hi=-1 ac_mid=-1
15333 while :; do
15334 cat >conftest.$ac_ext <<_ACEOF
15335/* confdefs.h. */
15336_ACEOF
15337cat confdefs.h >>conftest.$ac_ext
15338cat >>conftest.$ac_ext <<_ACEOF
15339/* end confdefs.h. */
15340$ac_includes_default
15341int
15342main ()
15343{
15344static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15345test_array [0] = 0
15346
15347 ;
15348 return 0;
15349}
15350_ACEOF
15351rm -f conftest.$ac_objext
15352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15353 (eval $ac_compile) 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try='test -z "$ac_c_werror_flag"
15361 || test ! -s conftest.err'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; } &&
15367 { ac_try='test -s conftest.$ac_objext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15370 ac_status=$?
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 ac_lo=$ac_mid; break
15374else
15375 echo "$as_me: failed program was:" >&5
15376sed 's/^/| /' conftest.$ac_ext >&5
15377
15378ac_hi=`expr '(' $ac_mid ')' - 1`
15379 if test $ac_mid -le $ac_hi; then
15380 ac_lo= ac_hi=
15381 break
15382 fi
15383 ac_mid=`expr 2 '*' $ac_mid`
15384fi
15385rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15386 done
15387else
15388 echo "$as_me: failed program was:" >&5
15389sed 's/^/| /' conftest.$ac_ext >&5
15390
15391ac_lo= ac_hi=
15392fi
15393rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15394fi
15395rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15396# Binary search between lo and hi bounds.
15397while test "x$ac_lo" != "x$ac_hi"; do
15398 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15399 cat >conftest.$ac_ext <<_ACEOF
15400/* confdefs.h. */
15401_ACEOF
15402cat confdefs.h >>conftest.$ac_ext
15403cat >>conftest.$ac_ext <<_ACEOF
15404/* end confdefs.h. */
15405$ac_includes_default
15406int
15407main ()
15408{
15409static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15410test_array [0] = 0
15411
15412 ;
15413 return 0;
15414}
15415_ACEOF
15416rm -f conftest.$ac_objext
15417if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>conftest.er1
15419 ac_status=$?
15420 grep -v '^ *+' conftest.er1 >conftest.err
15421 rm -f conftest.er1
15422 cat conftest.err >&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); } &&
15425 { ac_try='test -z "$ac_c_werror_flag"
15426 || test ! -s conftest.err'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15429 ac_status=$?
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; } &&
15432 { ac_try='test -s conftest.$ac_objext'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15435 ac_status=$?
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; }; then
15438 ac_hi=$ac_mid
15439else
15440 echo "$as_me: failed program was:" >&5
15441sed 's/^/| /' conftest.$ac_ext >&5
15442
15443ac_lo=`expr '(' $ac_mid ')' + 1`
15444fi
15445rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15446done
15447case $ac_lo in
15448?*) ac_cv_sizeof_void_p=$ac_lo;;
15449'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15450See \`config.log' for more details." >&5
15451echo "$as_me: error: cannot compute sizeof (void *), 77
15452See \`config.log' for more details." >&2;}
15453 { (exit 1); exit 1; }; } ;;
15454esac
15455else
15456 if test "$cross_compiling" = yes; then
15457 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15458See \`config.log' for more details." >&5
15459echo "$as_me: error: cannot run test program while cross compiling
15460See \`config.log' for more details." >&2;}
15461 { (exit 1); exit 1; }; }
15462else
15463 cat >conftest.$ac_ext <<_ACEOF
15464/* confdefs.h. */
15465_ACEOF
15466cat confdefs.h >>conftest.$ac_ext
15467cat >>conftest.$ac_ext <<_ACEOF
15468/* end confdefs.h. */
15469$ac_includes_default
15470long longval () { return (long) (sizeof (void *)); }
15471unsigned long ulongval () { return (long) (sizeof (void *)); }
15472#include <stdio.h>
15473#include <stdlib.h>
15474int
15475main ()
15476{
15477
15478 FILE *f = fopen ("conftest.val", "w");
15479 if (! f)
15480 exit (1);
15481 if (((long) (sizeof (void *))) < 0)
15482 {
15483 long i = longval ();
15484 if (i != ((long) (sizeof (void *))))
15485 exit (1);
15486 fprintf (f, "%ld\n", i);
15487 }
15488 else
15489 {
15490 unsigned long i = ulongval ();
15491 if (i != ((long) (sizeof (void *))))
15492 exit (1);
15493 fprintf (f, "%lu\n", i);
15494 }
15495 exit (ferror (f) || fclose (f) != 0);
15496
15497 ;
15498 return 0;
15499}
15500_ACEOF
15501rm -f conftest$ac_exeext
15502if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15503 (eval $ac_link) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15509 ac_status=$?
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; }; then
15512 ac_cv_sizeof_void_p=`cat conftest.val`
15513else
15514 echo "$as_me: program exited with status $ac_status" >&5
15515echo "$as_me: failed program was:" >&5
15516sed 's/^/| /' conftest.$ac_ext >&5
15517
15518( exit $ac_status )
15519{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15520See \`config.log' for more details." >&5
15521echo "$as_me: error: cannot compute sizeof (void *), 77
15522See \`config.log' for more details." >&2;}
15523 { (exit 1); exit 1; }; }
15524fi
15525rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15526fi
15527fi
15528rm -f conftest.val
15529else
15530 ac_cv_sizeof_void_p=0
15531fi
15532fi
15533echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15534echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15535cat >>confdefs.h <<_ACEOF
15536#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15537_ACEOF
15538
15539
15540echo "$as_me:$LINENO: checking for int" >&5
15541echo $ECHO_N "checking for int... $ECHO_C" >&6
15542if test "${ac_cv_type_int+set}" = set; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15544else
15545 cat >conftest.$ac_ext <<_ACEOF
15546/* confdefs.h. */
15547_ACEOF
15548cat confdefs.h >>conftest.$ac_ext
15549cat >>conftest.$ac_ext <<_ACEOF
15550/* end confdefs.h. */
15551$ac_includes_default
15552int
15553main ()
15554{
15555if ((int *) 0)
15556 return 0;
15557if (sizeof (int))
15558 return 0;
15559 ;
15560 return 0;
15561}
15562_ACEOF
15563rm -f conftest.$ac_objext
15564if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15565 (eval $ac_compile) 2>conftest.er1
15566 ac_status=$?
15567 grep -v '^ *+' conftest.er1 >conftest.err
15568 rm -f conftest.er1
15569 cat conftest.err >&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } &&
15572 { ac_try='test -z "$ac_c_werror_flag"
15573 || test ! -s conftest.err'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15576 ac_status=$?
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; } &&
15579 { ac_try='test -s conftest.$ac_objext'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; }; then
15585 ac_cv_type_int=yes
15586else
15587 echo "$as_me: failed program was:" >&5
15588sed 's/^/| /' conftest.$ac_ext >&5
15589
15590ac_cv_type_int=no
15591fi
15592rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15593fi
15594echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15595echo "${ECHO_T}$ac_cv_type_int" >&6
15596
15597echo "$as_me:$LINENO: checking size of int" >&5
15598echo $ECHO_N "checking size of int... $ECHO_C" >&6
15599if test "${ac_cv_sizeof_int+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601else
15602 if test "$ac_cv_type_int" = yes; then
15603 # The cast to unsigned long works around a bug in the HP C Compiler
15604 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15605 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15606 # This bug is HP SR number 8606223364.
15607 if test "$cross_compiling" = yes; then
15608 # Depending upon the size, compute the lo and hi bounds.
15609cat >conftest.$ac_ext <<_ACEOF
15610/* confdefs.h. */
15611_ACEOF
15612cat confdefs.h >>conftest.$ac_ext
15613cat >>conftest.$ac_ext <<_ACEOF
15614/* end confdefs.h. */
15615$ac_includes_default
15616int
15617main ()
15618{
15619static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15620test_array [0] = 0
15621
15622 ;
15623 return 0;
15624}
15625_ACEOF
15626rm -f conftest.$ac_objext
15627if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15628 (eval $ac_compile) 2>conftest.er1
15629 ac_status=$?
15630 grep -v '^ *+' conftest.er1 >conftest.err
15631 rm -f conftest.er1
15632 cat conftest.err >&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try='test -z "$ac_c_werror_flag"
15636 || test ! -s conftest.err'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; } &&
15642 { ac_try='test -s conftest.$ac_objext'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 ac_lo=0 ac_mid=0
15649 while :; do
15650 cat >conftest.$ac_ext <<_ACEOF
15651/* confdefs.h. */
15652_ACEOF
15653cat confdefs.h >>conftest.$ac_ext
15654cat >>conftest.$ac_ext <<_ACEOF
15655/* end confdefs.h. */
15656$ac_includes_default
15657int
15658main ()
15659{
15660static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15661test_array [0] = 0
15662
15663 ;
15664 return 0;
15665}
15666_ACEOF
15667rm -f conftest.$ac_objext
15668if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15669 (eval $ac_compile) 2>conftest.er1
15670 ac_status=$?
15671 grep -v '^ *+' conftest.er1 >conftest.err
15672 rm -f conftest.er1
15673 cat conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try='test -z "$ac_c_werror_flag"
15677 || test ! -s conftest.err'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15680 ac_status=$?
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; } &&
15683 { ac_try='test -s conftest.$ac_objext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15686 ac_status=$?
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_hi=$ac_mid; break
15690else
15691 echo "$as_me: failed program was:" >&5
15692sed 's/^/| /' conftest.$ac_ext >&5
15693
15694ac_lo=`expr $ac_mid + 1`
15695 if test $ac_lo -le $ac_mid; then
15696 ac_lo= ac_hi=
15697 break
15698 fi
15699 ac_mid=`expr 2 '*' $ac_mid + 1`
15700fi
15701rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15702 done
15703else
15704 echo "$as_me: failed program was:" >&5
15705sed 's/^/| /' conftest.$ac_ext >&5
15706
15707cat >conftest.$ac_ext <<_ACEOF
15708/* confdefs.h. */
15709_ACEOF
15710cat confdefs.h >>conftest.$ac_ext
15711cat >>conftest.$ac_ext <<_ACEOF
15712/* end confdefs.h. */
15713$ac_includes_default
15714int
15715main ()
15716{
15717static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15718test_array [0] = 0
15719
15720 ;
15721 return 0;
15722}
15723_ACEOF
15724rm -f conftest.$ac_objext
15725if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15726 (eval $ac_compile) 2>conftest.er1
15727 ac_status=$?
15728 grep -v '^ *+' conftest.er1 >conftest.err
15729 rm -f conftest.er1
15730 cat conftest.err >&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try='test -z "$ac_c_werror_flag"
15734 || test ! -s conftest.err'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15737 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; } &&
15740 { ac_try='test -s conftest.$ac_objext'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15743 ac_status=$?
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; }; then
15746 ac_hi=-1 ac_mid=-1
15747 while :; do
15748 cat >conftest.$ac_ext <<_ACEOF
15749/* confdefs.h. */
15750_ACEOF
15751cat confdefs.h >>conftest.$ac_ext
15752cat >>conftest.$ac_ext <<_ACEOF
15753/* end confdefs.h. */
15754$ac_includes_default
15755int
15756main ()
15757{
15758static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15759test_array [0] = 0
15760
15761 ;
15762 return 0;
15763}
15764_ACEOF
15765rm -f conftest.$ac_objext
15766if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15767 (eval $ac_compile) 2>conftest.er1
15768 ac_status=$?
15769 grep -v '^ *+' conftest.er1 >conftest.err
15770 rm -f conftest.er1
15771 cat conftest.err >&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); } &&
15774 { ac_try='test -z "$ac_c_werror_flag"
15775 || test ! -s conftest.err'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; } &&
15781 { ac_try='test -s conftest.$ac_objext'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15784 ac_status=$?
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; }; then
15787 ac_lo=$ac_mid; break
15788else
15789 echo "$as_me: failed program was:" >&5
15790sed 's/^/| /' conftest.$ac_ext >&5
15791
15792ac_hi=`expr '(' $ac_mid ')' - 1`
15793 if test $ac_mid -le $ac_hi; then
15794 ac_lo= ac_hi=
15795 break
15796 fi
15797 ac_mid=`expr 2 '*' $ac_mid`
15798fi
15799rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15800 done
15801else
15802 echo "$as_me: failed program was:" >&5
15803sed 's/^/| /' conftest.$ac_ext >&5
15804
15805ac_lo= ac_hi=
15806fi
15807rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15808fi
15809rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15810# Binary search between lo and hi bounds.
15811while test "x$ac_lo" != "x$ac_hi"; do
15812 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15813 cat >conftest.$ac_ext <<_ACEOF
15814/* confdefs.h. */
15815_ACEOF
15816cat confdefs.h >>conftest.$ac_ext
15817cat >>conftest.$ac_ext <<_ACEOF
15818/* end confdefs.h. */
15819$ac_includes_default
15820int
15821main ()
15822{
15823static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15824test_array [0] = 0
15825
15826 ;
15827 return 0;
15828}
15829_ACEOF
15830rm -f conftest.$ac_objext
15831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15832 (eval $ac_compile) 2>conftest.er1
15833 ac_status=$?
15834 grep -v '^ *+' conftest.er1 >conftest.err
15835 rm -f conftest.er1
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try='test -z "$ac_c_werror_flag"
15840 || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15849 ac_status=$?
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_hi=$ac_mid
15853else
15854 echo "$as_me: failed program was:" >&5
15855sed 's/^/| /' conftest.$ac_ext >&5
15856
15857ac_lo=`expr '(' $ac_mid ')' + 1`
15858fi
15859rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15860done
15861case $ac_lo in
15862?*) ac_cv_sizeof_int=$ac_lo;;
15863'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15864See \`config.log' for more details." >&5
15865echo "$as_me: error: cannot compute sizeof (int), 77
15866See \`config.log' for more details." >&2;}
15867 { (exit 1); exit 1; }; } ;;
15868esac
15869else
15870 if test "$cross_compiling" = yes; then
15871 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15872See \`config.log' for more details." >&5
15873echo "$as_me: error: cannot run test program while cross compiling
15874See \`config.log' for more details." >&2;}
15875 { (exit 1); exit 1; }; }
15876else
15877 cat >conftest.$ac_ext <<_ACEOF
15878/* confdefs.h. */
15879_ACEOF
15880cat confdefs.h >>conftest.$ac_ext
15881cat >>conftest.$ac_ext <<_ACEOF
15882/* end confdefs.h. */
15883$ac_includes_default
15884long longval () { return (long) (sizeof (int)); }
15885unsigned long ulongval () { return (long) (sizeof (int)); }
15886#include <stdio.h>
15887#include <stdlib.h>
15888int
15889main ()
15890{
15891
15892 FILE *f = fopen ("conftest.val", "w");
15893 if (! f)
15894 exit (1);
15895 if (((long) (sizeof (int))) < 0)
15896 {
15897 long i = longval ();
15898 if (i != ((long) (sizeof (int))))
15899 exit (1);
15900 fprintf (f, "%ld\n", i);
15901 }
15902 else
15903 {
15904 unsigned long i = ulongval ();
15905 if (i != ((long) (sizeof (int))))
15906 exit (1);
15907 fprintf (f, "%lu\n", i);
15908 }
15909 exit (ferror (f) || fclose (f) != 0);
15910
15911 ;
15912 return 0;
15913}
15914_ACEOF
15915rm -f conftest$ac_exeext
15916if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15917 (eval $ac_link) 2>&5
15918 ac_status=$?
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15923 ac_status=$?
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; }; then
15926 ac_cv_sizeof_int=`cat conftest.val`
15927else
15928 echo "$as_me: program exited with status $ac_status" >&5
15929echo "$as_me: failed program was:" >&5
15930sed 's/^/| /' conftest.$ac_ext >&5
15931
15932( exit $ac_status )
15933{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15934See \`config.log' for more details." >&5
15935echo "$as_me: error: cannot compute sizeof (int), 77
15936See \`config.log' for more details." >&2;}
15937 { (exit 1); exit 1; }; }
15938fi
15939rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15940fi
15941fi
15942rm -f conftest.val
15943else
15944 ac_cv_sizeof_int=0
15945fi
15946fi
15947echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15948echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15949cat >>confdefs.h <<_ACEOF
15950#define SIZEOF_INT $ac_cv_sizeof_int
15951_ACEOF
15952
15953
15954echo "$as_me:$LINENO: checking for long" >&5
15955echo $ECHO_N "checking for long... $ECHO_C" >&6
15956if test "${ac_cv_type_long+set}" = set; then
15957 echo $ECHO_N "(cached) $ECHO_C" >&6
15958else
15959 cat >conftest.$ac_ext <<_ACEOF
15960/* confdefs.h. */
15961_ACEOF
15962cat confdefs.h >>conftest.$ac_ext
15963cat >>conftest.$ac_ext <<_ACEOF
15964/* end confdefs.h. */
15965$ac_includes_default
15966int
15967main ()
15968{
15969if ((long *) 0)
15970 return 0;
15971if (sizeof (long))
15972 return 0;
15973 ;
15974 return 0;
15975}
15976_ACEOF
15977rm -f conftest.$ac_objext
15978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>conftest.er1
15980 ac_status=$?
15981 grep -v '^ *+' conftest.er1 >conftest.err
15982 rm -f conftest.er1
15983 cat conftest.err >&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -z "$ac_c_werror_flag"
15987 || test ! -s conftest.err'
15988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 (eval $ac_try) 2>&5
15990 ac_status=$?
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); }; } &&
15993 { ac_try='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_cv_type_long=yes
16000else
16001 echo "$as_me: failed program was:" >&5
16002sed 's/^/| /' conftest.$ac_ext >&5
16003
16004ac_cv_type_long=no
16005fi
16006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16007fi
16008echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16009echo "${ECHO_T}$ac_cv_type_long" >&6
16010
16011echo "$as_me:$LINENO: checking size of long" >&5
16012echo $ECHO_N "checking size of long... $ECHO_C" >&6
16013if test "${ac_cv_sizeof_long+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015else
16016 if test "$ac_cv_type_long" = yes; then
16017 # The cast to unsigned long works around a bug in the HP C Compiler
16018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16020 # This bug is HP SR number 8606223364.
16021 if test "$cross_compiling" = yes; then
16022 # Depending upon the size, compute the lo and hi bounds.
16023cat >conftest.$ac_ext <<_ACEOF
16024/* confdefs.h. */
16025_ACEOF
16026cat confdefs.h >>conftest.$ac_ext
16027cat >>conftest.$ac_ext <<_ACEOF
16028/* end confdefs.h. */
16029$ac_includes_default
16030int
16031main ()
16032{
16033static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16034test_array [0] = 0
16035
16036 ;
16037 return 0;
16038}
16039_ACEOF
16040rm -f conftest.$ac_objext
16041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>conftest.er1
16043 ac_status=$?
16044 grep -v '^ *+' conftest.er1 >conftest.err
16045 rm -f conftest.er1
16046 cat conftest.err >&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try='test -z "$ac_c_werror_flag"
16050 || test ! -s conftest.err'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16053 ac_status=$?
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; } &&
16056 { ac_try='test -s conftest.$ac_objext'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16059 ac_status=$?
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; }; then
16062 ac_lo=0 ac_mid=0
16063 while :; do
16064 cat >conftest.$ac_ext <<_ACEOF
16065/* confdefs.h. */
16066_ACEOF
16067cat confdefs.h >>conftest.$ac_ext
16068cat >>conftest.$ac_ext <<_ACEOF
16069/* end confdefs.h. */
16070$ac_includes_default
16071int
16072main ()
16073{
16074static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16075test_array [0] = 0
16076
16077 ;
16078 return 0;
16079}
16080_ACEOF
16081rm -f conftest.$ac_objext
16082if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>conftest.er1
16084 ac_status=$?
16085 grep -v '^ *+' conftest.er1 >conftest.err
16086 rm -f conftest.er1
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try='test -z "$ac_c_werror_flag"
16091 || test ! -s conftest.err'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; } &&
16097 { ac_try='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16100 ac_status=$?
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_hi=$ac_mid; break
16104else
16105 echo "$as_me: failed program was:" >&5
16106sed 's/^/| /' conftest.$ac_ext >&5
16107
16108ac_lo=`expr $ac_mid + 1`
16109 if test $ac_lo -le $ac_mid; then
16110 ac_lo= ac_hi=
16111 break
16112 fi
16113 ac_mid=`expr 2 '*' $ac_mid + 1`
16114fi
16115rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116 done
16117else
16118 echo "$as_me: failed program was:" >&5
16119sed 's/^/| /' conftest.$ac_ext >&5
16120
16121cat >conftest.$ac_ext <<_ACEOF
16122/* confdefs.h. */
16123_ACEOF
16124cat confdefs.h >>conftest.$ac_ext
16125cat >>conftest.$ac_ext <<_ACEOF
16126/* end confdefs.h. */
16127$ac_includes_default
16128int
16129main ()
16130{
16131static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16132test_array [0] = 0
16133
16134 ;
16135 return 0;
16136}
16137_ACEOF
16138rm -f conftest.$ac_objext
16139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16140 (eval $ac_compile) 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try='test -z "$ac_c_werror_flag"
16148 || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16151 ac_status=$?
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try='test -s conftest.$ac_objext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_hi=-1 ac_mid=-1
16161 while :; do
16162 cat >conftest.$ac_ext <<_ACEOF
16163/* confdefs.h. */
16164_ACEOF
16165cat confdefs.h >>conftest.$ac_ext
16166cat >>conftest.$ac_ext <<_ACEOF
16167/* end confdefs.h. */
16168$ac_includes_default
16169int
16170main ()
16171{
16172static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16173test_array [0] = 0
16174
16175 ;
16176 return 0;
16177}
16178_ACEOF
16179rm -f conftest.$ac_objext
16180if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16181 (eval $ac_compile) 2>conftest.er1
16182 ac_status=$?
16183 grep -v '^ *+' conftest.er1 >conftest.err
16184 rm -f conftest.er1
16185 cat conftest.err >&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } &&
16188 { ac_try='test -z "$ac_c_werror_flag"
16189 || test ! -s conftest.err'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16192 ac_status=$?
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; } &&
16195 { ac_try='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_lo=$ac_mid; break
16202else
16203 echo "$as_me: failed program was:" >&5
16204sed 's/^/| /' conftest.$ac_ext >&5
16205
16206ac_hi=`expr '(' $ac_mid ')' - 1`
16207 if test $ac_mid -le $ac_hi; then
16208 ac_lo= ac_hi=
16209 break
16210 fi
16211 ac_mid=`expr 2 '*' $ac_mid`
16212fi
16213rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16214 done
16215else
16216 echo "$as_me: failed program was:" >&5
16217sed 's/^/| /' conftest.$ac_ext >&5
16218
16219ac_lo= ac_hi=
16220fi
16221rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16222fi
16223rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16224# Binary search between lo and hi bounds.
16225while test "x$ac_lo" != "x$ac_hi"; do
16226 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16227 cat >conftest.$ac_ext <<_ACEOF
16228/* confdefs.h. */
16229_ACEOF
16230cat confdefs.h >>conftest.$ac_ext
16231cat >>conftest.$ac_ext <<_ACEOF
16232/* end confdefs.h. */
16233$ac_includes_default
16234int
16235main ()
16236{
16237static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16238test_array [0] = 0
16239
16240 ;
16241 return 0;
16242}
16243_ACEOF
16244rm -f conftest.$ac_objext
16245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_hi=$ac_mid
16267else
16268 echo "$as_me: failed program was:" >&5
16269sed 's/^/| /' conftest.$ac_ext >&5
16270
16271ac_lo=`expr '(' $ac_mid ')' + 1`
16272fi
16273rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16274done
16275case $ac_lo in
16276?*) ac_cv_sizeof_long=$ac_lo;;
16277'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16278See \`config.log' for more details." >&5
16279echo "$as_me: error: cannot compute sizeof (long), 77
16280See \`config.log' for more details." >&2;}
16281 { (exit 1); exit 1; }; } ;;
16282esac
16283else
16284 if test "$cross_compiling" = yes; then
16285 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16286See \`config.log' for more details." >&5
16287echo "$as_me: error: cannot run test program while cross compiling
16288See \`config.log' for more details." >&2;}
16289 { (exit 1); exit 1; }; }
16290else
16291 cat >conftest.$ac_ext <<_ACEOF
16292/* confdefs.h. */
16293_ACEOF
16294cat confdefs.h >>conftest.$ac_ext
16295cat >>conftest.$ac_ext <<_ACEOF
16296/* end confdefs.h. */
16297$ac_includes_default
16298long longval () { return (long) (sizeof (long)); }
16299unsigned long ulongval () { return (long) (sizeof (long)); }
16300#include <stdio.h>
16301#include <stdlib.h>
16302int
16303main ()
16304{
16305
16306 FILE *f = fopen ("conftest.val", "w");
16307 if (! f)
16308 exit (1);
16309 if (((long) (sizeof (long))) < 0)
16310 {
16311 long i = longval ();
16312 if (i != ((long) (sizeof (long))))
16313 exit (1);
16314 fprintf (f, "%ld\n", i);
16315 }
16316 else
16317 {
16318 unsigned long i = ulongval ();
16319 if (i != ((long) (sizeof (long))))
16320 exit (1);
16321 fprintf (f, "%lu\n", i);
16322 }
16323 exit (ferror (f) || fclose (f) != 0);
16324
16325 ;
16326 return 0;
16327}
16328_ACEOF
16329rm -f conftest$ac_exeext
16330if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16331 (eval $ac_link) 2>&5
16332 ac_status=$?
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16336 (eval $ac_try) 2>&5
16337 ac_status=$?
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }; }; then
16340 ac_cv_sizeof_long=`cat conftest.val`
16341else
16342 echo "$as_me: program exited with status $ac_status" >&5
16343echo "$as_me: failed program was:" >&5
16344sed 's/^/| /' conftest.$ac_ext >&5
16345
16346( exit $ac_status )
16347{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16348See \`config.log' for more details." >&5
16349echo "$as_me: error: cannot compute sizeof (long), 77
16350See \`config.log' for more details." >&2;}
16351 { (exit 1); exit 1; }; }
16352fi
16353rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16354fi
16355fi
16356rm -f conftest.val
16357else
16358 ac_cv_sizeof_long=0
16359fi
16360fi
16361echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16362echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16363cat >>confdefs.h <<_ACEOF
16364#define SIZEOF_LONG $ac_cv_sizeof_long
16365_ACEOF
16366
16367
16368echo "$as_me:$LINENO: checking for size_t" >&5
16369echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16370if test "${ac_cv_type_size_t+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372else
16373 cat >conftest.$ac_ext <<_ACEOF
16374/* confdefs.h. */
16375_ACEOF
16376cat confdefs.h >>conftest.$ac_ext
16377cat >>conftest.$ac_ext <<_ACEOF
16378/* end confdefs.h. */
16379$ac_includes_default
16380int
16381main ()
16382{
16383if ((size_t *) 0)
16384 return 0;
16385if (sizeof (size_t))
16386 return 0;
16387 ;
16388 return 0;
16389}
16390_ACEOF
16391rm -f conftest.$ac_objext
16392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16394 ac_status=$?
16395 grep -v '^ *+' conftest.er1 >conftest.err
16396 rm -f conftest.er1
16397 cat conftest.err >&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try='test -z "$ac_c_werror_flag"
16401 || test ! -s conftest.err'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5
16404 ac_status=$?
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; } &&
16407 { ac_try='test -s conftest.$ac_objext'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16410 ac_status=$?
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16413 ac_cv_type_size_t=yes
16414else
16415 echo "$as_me: failed program was:" >&5
16416sed 's/^/| /' conftest.$ac_ext >&5
16417
16418ac_cv_type_size_t=no
16419fi
16420rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16421fi
16422echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16423echo "${ECHO_T}$ac_cv_type_size_t" >&6
16424
16425echo "$as_me:$LINENO: checking size of size_t" >&5
16426echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16427if test "${ac_cv_sizeof_size_t+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16429else
16430 if test "$ac_cv_type_size_t" = yes; then
16431 # The cast to unsigned long works around a bug in the HP C Compiler
16432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16434 # This bug is HP SR number 8606223364.
16435 if test "$cross_compiling" = yes; then
16436 # Depending upon the size, compute the lo and hi bounds.
16437cat >conftest.$ac_ext <<_ACEOF
16438/* confdefs.h. */
16439_ACEOF
16440cat confdefs.h >>conftest.$ac_ext
16441cat >>conftest.$ac_ext <<_ACEOF
16442/* end confdefs.h. */
16443$ac_includes_default
16444int
16445main ()
16446{
16447static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16448test_array [0] = 0
16449
16450 ;
16451 return 0;
16452}
16453_ACEOF
16454rm -f conftest.$ac_objext
16455if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>conftest.er1
16457 ac_status=$?
16458 grep -v '^ *+' conftest.er1 >conftest.err
16459 rm -f conftest.er1
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try='test -z "$ac_c_werror_flag"
16464 || test ! -s conftest.err'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16467 ac_status=$?
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; } &&
16470 { ac_try='test -s conftest.$ac_objext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16473 ac_status=$?
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 ac_lo=0 ac_mid=0
16477 while :; do
16478 cat >conftest.$ac_ext <<_ACEOF
16479/* confdefs.h. */
16480_ACEOF
16481cat confdefs.h >>conftest.$ac_ext
16482cat >>conftest.$ac_ext <<_ACEOF
16483/* end confdefs.h. */
16484$ac_includes_default
16485int
16486main ()
16487{
16488static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16489test_array [0] = 0
16490
16491 ;
16492 return 0;
16493}
16494_ACEOF
16495rm -f conftest.$ac_objext
16496if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16497 (eval $ac_compile) 2>conftest.er1
16498 ac_status=$?
16499 grep -v '^ *+' conftest.er1 >conftest.err
16500 rm -f conftest.er1
16501 cat conftest.err >&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try='test -z "$ac_c_werror_flag"
16505 || test ! -s conftest.err'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16508 ac_status=$?
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; } &&
16511 { ac_try='test -s conftest.$ac_objext'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16514 ac_status=$?
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; }; then
16517 ac_hi=$ac_mid; break
16518else
16519 echo "$as_me: failed program was:" >&5
16520sed 's/^/| /' conftest.$ac_ext >&5
16521
16522ac_lo=`expr $ac_mid + 1`
16523 if test $ac_lo -le $ac_mid; then
16524 ac_lo= ac_hi=
16525 break
16526 fi
16527 ac_mid=`expr 2 '*' $ac_mid + 1`
16528fi
16529rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16530 done
16531else
16532 echo "$as_me: failed program was:" >&5
16533sed 's/^/| /' conftest.$ac_ext >&5
16534
16535cat >conftest.$ac_ext <<_ACEOF
16536/* confdefs.h. */
16537_ACEOF
16538cat confdefs.h >>conftest.$ac_ext
16539cat >>conftest.$ac_ext <<_ACEOF
16540/* end confdefs.h. */
16541$ac_includes_default
16542int
16543main ()
16544{
16545static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16546test_array [0] = 0
16547
16548 ;
16549 return 0;
16550}
16551_ACEOF
16552rm -f conftest.$ac_objext
16553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_c_werror_flag"
16562 || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_hi=-1 ac_mid=-1
16575 while :; do
16576 cat >conftest.$ac_ext <<_ACEOF
16577/* confdefs.h. */
16578_ACEOF
16579cat confdefs.h >>conftest.$ac_ext
16580cat >>conftest.$ac_ext <<_ACEOF
16581/* end confdefs.h. */
16582$ac_includes_default
16583int
16584main ()
16585{
16586static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16587test_array [0] = 0
16588
16589 ;
16590 return 0;
16591}
16592_ACEOF
16593rm -f conftest.$ac_objext
16594if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16595 (eval $ac_compile) 2>conftest.er1
16596 ac_status=$?
16597 grep -v '^ *+' conftest.er1 >conftest.err
16598 rm -f conftest.er1
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } &&
16602 { ac_try='test -z "$ac_c_werror_flag"
16603 || test ! -s conftest.err'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; } &&
16609 { ac_try='test -s conftest.$ac_objext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615 ac_lo=$ac_mid; break
16616else
16617 echo "$as_me: failed program was:" >&5
16618sed 's/^/| /' conftest.$ac_ext >&5
16619
16620ac_hi=`expr '(' $ac_mid ')' - 1`
16621 if test $ac_mid -le $ac_hi; then
16622 ac_lo= ac_hi=
16623 break
16624 fi
16625 ac_mid=`expr 2 '*' $ac_mid`
16626fi
16627rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16628 done
16629else
16630 echo "$as_me: failed program was:" >&5
16631sed 's/^/| /' conftest.$ac_ext >&5
16632
16633ac_lo= ac_hi=
16634fi
16635rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16636fi
16637rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16638# Binary search between lo and hi bounds.
16639while test "x$ac_lo" != "x$ac_hi"; do
16640 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16641 cat >conftest.$ac_ext <<_ACEOF
16642/* confdefs.h. */
16643_ACEOF
16644cat confdefs.h >>conftest.$ac_ext
16645cat >>conftest.$ac_ext <<_ACEOF
16646/* end confdefs.h. */
16647$ac_includes_default
16648int
16649main ()
16650{
16651static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16652test_array [0] = 0
16653
16654 ;
16655 return 0;
16656}
16657_ACEOF
16658rm -f conftest.$ac_objext
16659if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16660 (eval $ac_compile) 2>conftest.er1
16661 ac_status=$?
16662 grep -v '^ *+' conftest.er1 >conftest.err
16663 rm -f conftest.er1
16664 cat conftest.err >&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } &&
16667 { ac_try='test -z "$ac_c_werror_flag"
16668 || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_hi=$ac_mid
16681else
16682 echo "$as_me: failed program was:" >&5
16683sed 's/^/| /' conftest.$ac_ext >&5
16684
16685ac_lo=`expr '(' $ac_mid ')' + 1`
16686fi
16687rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16688done
16689case $ac_lo in
16690?*) ac_cv_sizeof_size_t=$ac_lo;;
16691'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16692See \`config.log' for more details." >&5
16693echo "$as_me: error: cannot compute sizeof (size_t), 77
16694See \`config.log' for more details." >&2;}
16695 { (exit 1); exit 1; }; } ;;
16696esac
16697else
16698 if test "$cross_compiling" = yes; then
16699 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16700See \`config.log' for more details." >&5
16701echo "$as_me: error: cannot run test program while cross compiling
16702See \`config.log' for more details." >&2;}
16703 { (exit 1); exit 1; }; }
16704else
16705 cat >conftest.$ac_ext <<_ACEOF
16706/* confdefs.h. */
16707_ACEOF
16708cat confdefs.h >>conftest.$ac_ext
16709cat >>conftest.$ac_ext <<_ACEOF
16710/* end confdefs.h. */
16711$ac_includes_default
16712long longval () { return (long) (sizeof (size_t)); }
16713unsigned long ulongval () { return (long) (sizeof (size_t)); }
16714#include <stdio.h>
16715#include <stdlib.h>
16716int
16717main ()
16718{
16719
16720 FILE *f = fopen ("conftest.val", "w");
16721 if (! f)
16722 exit (1);
16723 if (((long) (sizeof (size_t))) < 0)
16724 {
16725 long i = longval ();
16726 if (i != ((long) (sizeof (size_t))))
16727 exit (1);
16728 fprintf (f, "%ld\n", i);
16729 }
16730 else
16731 {
16732 unsigned long i = ulongval ();
16733 if (i != ((long) (sizeof (size_t))))
16734 exit (1);
16735 fprintf (f, "%lu\n", i);
16736 }
16737 exit (ferror (f) || fclose (f) != 0);
16738
16739 ;
16740 return 0;
16741}
16742_ACEOF
16743rm -f conftest$ac_exeext
16744if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16745 (eval $ac_link) 2>&5
16746 ac_status=$?
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16751 ac_status=$?
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 ac_cv_sizeof_size_t=`cat conftest.val`
16755else
16756 echo "$as_me: program exited with status $ac_status" >&5
16757echo "$as_me: failed program was:" >&5
16758sed 's/^/| /' conftest.$ac_ext >&5
16759
16760( exit $ac_status )
16761{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16762See \`config.log' for more details." >&5
16763echo "$as_me: error: cannot compute sizeof (size_t), 77
16764See \`config.log' for more details." >&2;}
16765 { (exit 1); exit 1; }; }
16766fi
16767rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16768fi
16769fi
16770rm -f conftest.val
16771else
16772 ac_cv_sizeof_size_t=0
16773fi
16774fi
16775echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16776echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16777cat >>confdefs.h <<_ACEOF
16778#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16779_ACEOF
16780
16781
16782
16783case "${host}" in
16784 arm-*-linux* )
16785 echo "$as_me:$LINENO: checking for long long" >&5
16786echo $ECHO_N "checking for long long... $ECHO_C" >&6
16787if test "${ac_cv_type_long_long+set}" = set; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789else
16790 cat >conftest.$ac_ext <<_ACEOF
16791/* confdefs.h. */
16792_ACEOF
16793cat confdefs.h >>conftest.$ac_ext
16794cat >>conftest.$ac_ext <<_ACEOF
16795/* end confdefs.h. */
16796$ac_includes_default
16797int
16798main ()
16799{
16800if ((long long *) 0)
16801 return 0;
16802if (sizeof (long long))
16803 return 0;
16804 ;
16805 return 0;
16806}
16807_ACEOF
16808rm -f conftest.$ac_objext
16809if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16810 (eval $ac_compile) 2>conftest.er1
16811 ac_status=$?
16812 grep -v '^ *+' conftest.er1 >conftest.err
16813 rm -f conftest.er1
16814 cat conftest.err >&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } &&
16817 { ac_try='test -z "$ac_c_werror_flag"
16818 || test ! -s conftest.err'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16821 ac_status=$?
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; } &&
16824 { ac_try='test -s conftest.$ac_objext'
16825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826 (eval $ac_try) 2>&5
16827 ac_status=$?
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; }; then
16830 ac_cv_type_long_long=yes
16831else
16832 echo "$as_me: failed program was:" >&5
16833sed 's/^/| /' conftest.$ac_ext >&5
16834
16835ac_cv_type_long_long=no
16836fi
16837rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16838fi
16839echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16840echo "${ECHO_T}$ac_cv_type_long_long" >&6
16841
16842echo "$as_me:$LINENO: checking size of long long" >&5
16843echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16844if test "${ac_cv_sizeof_long_long+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16846else
16847 if test "$ac_cv_type_long_long" = yes; then
16848 # The cast to unsigned long works around a bug in the HP C Compiler
16849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16851 # This bug is HP SR number 8606223364.
16852 if test "$cross_compiling" = yes; then
16853 # Depending upon the size, compute the lo and hi bounds.
16854cat >conftest.$ac_ext <<_ACEOF
16855/* confdefs.h. */
16856_ACEOF
16857cat confdefs.h >>conftest.$ac_ext
16858cat >>conftest.$ac_ext <<_ACEOF
16859/* end confdefs.h. */
16860$ac_includes_default
16861int
16862main ()
16863{
16864static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16865test_array [0] = 0
16866
16867 ;
16868 return 0;
16869}
16870_ACEOF
16871rm -f conftest.$ac_objext
16872if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16873 (eval $ac_compile) 2>conftest.er1
16874 ac_status=$?
16875 grep -v '^ *+' conftest.er1 >conftest.err
16876 rm -f conftest.er1
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } &&
16880 { ac_try='test -z "$ac_c_werror_flag"
16881 || test ! -s conftest.err'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16884 ac_status=$?
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; } &&
16887 { ac_try='test -s conftest.$ac_objext'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16890 ac_status=$?
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; }; then
16893 ac_lo=0 ac_mid=0
16894 while :; do
16895 cat >conftest.$ac_ext <<_ACEOF
16896/* confdefs.h. */
16897_ACEOF
16898cat confdefs.h >>conftest.$ac_ext
16899cat >>conftest.$ac_ext <<_ACEOF
16900/* end confdefs.h. */
16901$ac_includes_default
16902int
16903main ()
16904{
16905static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16906test_array [0] = 0
16907
16908 ;
16909 return 0;
16910}
16911_ACEOF
16912rm -f conftest.$ac_objext
16913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16914 (eval $ac_compile) 2>conftest.er1
16915 ac_status=$?
16916 grep -v '^ *+' conftest.er1 >conftest.err
16917 rm -f conftest.er1
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -z "$ac_c_werror_flag"
16922 || test ! -s conftest.err'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; } &&
16928 { ac_try='test -s conftest.$ac_objext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16931 ac_status=$?
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16934 ac_hi=$ac_mid; break
16935else
16936 echo "$as_me: failed program was:" >&5
16937sed 's/^/| /' conftest.$ac_ext >&5
16938
16939ac_lo=`expr $ac_mid + 1`
16940 if test $ac_lo -le $ac_mid; then
16941 ac_lo= ac_hi=
16942 break
16943 fi
16944 ac_mid=`expr 2 '*' $ac_mid + 1`
16945fi
16946rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16947 done
16948else
16949 echo "$as_me: failed program was:" >&5
16950sed 's/^/| /' conftest.$ac_ext >&5
16951
16952cat >conftest.$ac_ext <<_ACEOF
16953/* confdefs.h. */
16954_ACEOF
16955cat confdefs.h >>conftest.$ac_ext
16956cat >>conftest.$ac_ext <<_ACEOF
16957/* end confdefs.h. */
16958$ac_includes_default
16959int
16960main ()
16961{
16962static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16963test_array [0] = 0
16964
16965 ;
16966 return 0;
16967}
16968_ACEOF
16969rm -f conftest.$ac_objext
16970if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16971 (eval $ac_compile) 2>conftest.er1
16972 ac_status=$?
16973 grep -v '^ *+' conftest.er1 >conftest.err
16974 rm -f conftest.er1
16975 cat conftest.err >&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } &&
16978 { ac_try='test -z "$ac_c_werror_flag"
16979 || test ! -s conftest.err'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16982 ac_status=$?
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; } &&
16985 { ac_try='test -s conftest.$ac_objext'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16988 ac_status=$?
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16991 ac_hi=-1 ac_mid=-1
16992 while :; do
16993 cat >conftest.$ac_ext <<_ACEOF
16994/* confdefs.h. */
16995_ACEOF
16996cat confdefs.h >>conftest.$ac_ext
16997cat >>conftest.$ac_ext <<_ACEOF
16998/* end confdefs.h. */
16999$ac_includes_default
17000int
17001main ()
17002{
17003static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17004test_array [0] = 0
17005
17006 ;
17007 return 0;
17008}
17009_ACEOF
17010rm -f conftest.$ac_objext
17011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -z "$ac_c_werror_flag"
17020 || test ! -s conftest.err'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try='test -s conftest.$ac_objext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17029 ac_status=$?
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17032 ac_lo=$ac_mid; break
17033else
17034 echo "$as_me: failed program was:" >&5
17035sed 's/^/| /' conftest.$ac_ext >&5
17036
17037ac_hi=`expr '(' $ac_mid ')' - 1`
17038 if test $ac_mid -le $ac_hi; then
17039 ac_lo= ac_hi=
17040 break
17041 fi
17042 ac_mid=`expr 2 '*' $ac_mid`
17043fi
17044rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17045 done
17046else
17047 echo "$as_me: failed program was:" >&5
17048sed 's/^/| /' conftest.$ac_ext >&5
17049
17050ac_lo= ac_hi=
17051fi
17052rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17053fi
17054rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17055# Binary search between lo and hi bounds.
17056while test "x$ac_lo" != "x$ac_hi"; do
17057 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17058 cat >conftest.$ac_ext <<_ACEOF
17059/* confdefs.h. */
17060_ACEOF
17061cat confdefs.h >>conftest.$ac_ext
17062cat >>conftest.$ac_ext <<_ACEOF
17063/* end confdefs.h. */
17064$ac_includes_default
17065int
17066main ()
17067{
17068static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17069test_array [0] = 0
17070
17071 ;
17072 return 0;
17073}
17074_ACEOF
17075rm -f conftest.$ac_objext
17076if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_c_werror_flag"
17085 || test ! -s conftest.err'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17088 ac_status=$?
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; } &&
17091 { ac_try='test -s conftest.$ac_objext'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17094 ac_status=$?
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; }; then
17097 ac_hi=$ac_mid
17098else
17099 echo "$as_me: failed program was:" >&5
17100sed 's/^/| /' conftest.$ac_ext >&5
17101
17102ac_lo=`expr '(' $ac_mid ')' + 1`
17103fi
17104rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17105done
17106case $ac_lo in
17107?*) ac_cv_sizeof_long_long=$ac_lo;;
17108'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17109See \`config.log' for more details." >&5
17110echo "$as_me: error: cannot compute sizeof (long long), 77
17111See \`config.log' for more details." >&2;}
17112 { (exit 1); exit 1; }; } ;;
17113esac
17114else
17115 if test "$cross_compiling" = yes; then
17116 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17117See \`config.log' for more details." >&5
17118echo "$as_me: error: cannot run test program while cross compiling
17119See \`config.log' for more details." >&2;}
17120 { (exit 1); exit 1; }; }
17121else
17122 cat >conftest.$ac_ext <<_ACEOF
17123/* confdefs.h. */
17124_ACEOF
17125cat confdefs.h >>conftest.$ac_ext
17126cat >>conftest.$ac_ext <<_ACEOF
17127/* end confdefs.h. */
17128$ac_includes_default
17129long longval () { return (long) (sizeof (long long)); }
17130unsigned long ulongval () { return (long) (sizeof (long long)); }
17131#include <stdio.h>
17132#include <stdlib.h>
17133int
17134main ()
17135{
17136
17137 FILE *f = fopen ("conftest.val", "w");
17138 if (! f)
17139 exit (1);
17140 if (((long) (sizeof (long long))) < 0)
17141 {
17142 long i = longval ();
17143 if (i != ((long) (sizeof (long long))))
17144 exit (1);
17145 fprintf (f, "%ld\n", i);
17146 }
17147 else
17148 {
17149 unsigned long i = ulongval ();
17150 if (i != ((long) (sizeof (long long))))
17151 exit (1);
17152 fprintf (f, "%lu\n", i);
17153 }
17154 exit (ferror (f) || fclose (f) != 0);
17155
17156 ;
17157 return 0;
17158}
17159_ACEOF
17160rm -f conftest$ac_exeext
17161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17162 (eval $ac_link) 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17168 ac_status=$?
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_cv_sizeof_long_long=`cat conftest.val`
17172else
17173 echo "$as_me: program exited with status $ac_status" >&5
17174echo "$as_me: failed program was:" >&5
17175sed 's/^/| /' conftest.$ac_ext >&5
17176
17177( exit $ac_status )
17178{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17179See \`config.log' for more details." >&5
17180echo "$as_me: error: cannot compute sizeof (long long), 77
17181See \`config.log' for more details." >&2;}
17182 { (exit 1); exit 1; }; }
17183fi
17184rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17185fi
17186fi
17187rm -f conftest.val
17188else
17189 ac_cv_sizeof_long_long=0
17190fi
17191fi
17192echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17193echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17194cat >>confdefs.h <<_ACEOF
17195#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17196_ACEOF
17197
17198
17199 ;;
17200 *-hp-hpux* )
17201 echo "$as_me:$LINENO: checking for long long" >&5
17202echo $ECHO_N "checking for long long... $ECHO_C" >&6
17203if test "${ac_cv_type_long_long+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205else
17206 cat >conftest.$ac_ext <<_ACEOF
17207/* confdefs.h. */
17208_ACEOF
17209cat confdefs.h >>conftest.$ac_ext
17210cat >>conftest.$ac_ext <<_ACEOF
17211/* end confdefs.h. */
17212$ac_includes_default
17213int
17214main ()
17215{
17216if ((long long *) 0)
17217 return 0;
17218if (sizeof (long long))
17219 return 0;
17220 ;
17221 return 0;
17222}
17223_ACEOF
17224rm -f conftest.$ac_objext
17225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17227 ac_status=$?
17228 grep -v '^ *+' conftest.er1 >conftest.err
17229 rm -f conftest.er1
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try='test -z "$ac_c_werror_flag"
17234 || test ! -s conftest.err'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17237 ac_status=$?
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; } &&
17240 { ac_try='test -s conftest.$ac_objext'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17243 ac_status=$?
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17246 ac_cv_type_long_long=yes
17247else
17248 echo "$as_me: failed program was:" >&5
17249sed 's/^/| /' conftest.$ac_ext >&5
17250
17251ac_cv_type_long_long=no
17252fi
17253rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17254fi
17255echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17256echo "${ECHO_T}$ac_cv_type_long_long" >&6
17257
17258echo "$as_me:$LINENO: checking size of long long" >&5
17259echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17260if test "${ac_cv_sizeof_long_long+set}" = set; then
17261 echo $ECHO_N "(cached) $ECHO_C" >&6
17262else
17263 if test "$ac_cv_type_long_long" = yes; then
17264 # The cast to unsigned long works around a bug in the HP C Compiler
17265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17267 # This bug is HP SR number 8606223364.
17268 if test "$cross_compiling" = yes; then
17269 # Depending upon the size, compute the lo and hi bounds.
17270cat >conftest.$ac_ext <<_ACEOF
17271/* confdefs.h. */
17272_ACEOF
17273cat confdefs.h >>conftest.$ac_ext
17274cat >>conftest.$ac_ext <<_ACEOF
17275/* end confdefs.h. */
17276$ac_includes_default
17277int
17278main ()
17279{
17280static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17281test_array [0] = 0
17282
17283 ;
17284 return 0;
17285}
17286_ACEOF
17287rm -f conftest.$ac_objext
17288if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>conftest.er1
17290 ac_status=$?
17291 grep -v '^ *+' conftest.er1 >conftest.err
17292 rm -f conftest.er1
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -z "$ac_c_werror_flag"
17297 || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17300 ac_status=$?
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 ac_lo=0 ac_mid=0
17310 while :; do
17311 cat >conftest.$ac_ext <<_ACEOF
17312/* confdefs.h. */
17313_ACEOF
17314cat confdefs.h >>conftest.$ac_ext
17315cat >>conftest.$ac_ext <<_ACEOF
17316/* end confdefs.h. */
17317$ac_includes_default
17318int
17319main ()
17320{
17321static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17322test_array [0] = 0
17323
17324 ;
17325 return 0;
17326}
17327_ACEOF
17328rm -f conftest.$ac_objext
17329if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 ac_hi=$ac_mid; break
17351else
17352 echo "$as_me: failed program was:" >&5
17353sed 's/^/| /' conftest.$ac_ext >&5
17354
17355ac_lo=`expr $ac_mid + 1`
17356 if test $ac_lo -le $ac_mid; then
17357 ac_lo= ac_hi=
17358 break
17359 fi
17360 ac_mid=`expr 2 '*' $ac_mid + 1`
17361fi
17362rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17363 done
17364else
17365 echo "$as_me: failed program was:" >&5
17366sed 's/^/| /' conftest.$ac_ext >&5
17367
17368cat >conftest.$ac_ext <<_ACEOF
17369/* confdefs.h. */
17370_ACEOF
17371cat confdefs.h >>conftest.$ac_ext
17372cat >>conftest.$ac_ext <<_ACEOF
17373/* end confdefs.h. */
17374$ac_includes_default
17375int
17376main ()
17377{
17378static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17379test_array [0] = 0
17380
17381 ;
17382 return 0;
17383}
17384_ACEOF
17385rm -f conftest.$ac_objext
17386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_c_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17404 ac_status=$?
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 ac_hi=-1 ac_mid=-1
17408 while :; do
17409 cat >conftest.$ac_ext <<_ACEOF
17410/* confdefs.h. */
17411_ACEOF
17412cat confdefs.h >>conftest.$ac_ext
17413cat >>conftest.$ac_ext <<_ACEOF
17414/* end confdefs.h. */
17415$ac_includes_default
17416int
17417main ()
17418{
17419static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17420test_array [0] = 0
17421
17422 ;
17423 return 0;
17424}
17425_ACEOF
17426rm -f conftest.$ac_objext
17427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17429 ac_status=$?
17430 grep -v '^ *+' conftest.er1 >conftest.err
17431 rm -f conftest.er1
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17445 ac_status=$?
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_lo=$ac_mid; break
17449else
17450 echo "$as_me: failed program was:" >&5
17451sed 's/^/| /' conftest.$ac_ext >&5
17452
17453ac_hi=`expr '(' $ac_mid ')' - 1`
17454 if test $ac_mid -le $ac_hi; then
17455 ac_lo= ac_hi=
17456 break
17457 fi
17458 ac_mid=`expr 2 '*' $ac_mid`
17459fi
17460rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461 done
17462else
17463 echo "$as_me: failed program was:" >&5
17464sed 's/^/| /' conftest.$ac_ext >&5
17465
17466ac_lo= ac_hi=
17467fi
17468rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17469fi
17470rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471# Binary search between lo and hi bounds.
17472while test "x$ac_lo" != "x$ac_hi"; do
17473 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17474 cat >conftest.$ac_ext <<_ACEOF
17475/* confdefs.h. */
17476_ACEOF
17477cat confdefs.h >>conftest.$ac_ext
17478cat >>conftest.$ac_ext <<_ACEOF
17479/* end confdefs.h. */
17480$ac_includes_default
17481int
17482main ()
17483{
17484static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17485test_array [0] = 0
17486
17487 ;
17488 return 0;
17489}
17490_ACEOF
17491rm -f conftest.$ac_objext
17492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17494 ac_status=$?
17495 grep -v '^ *+' conftest.er1 >conftest.err
17496 rm -f conftest.er1
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17504 ac_status=$?
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_hi=$ac_mid
17514else
17515 echo "$as_me: failed program was:" >&5
17516sed 's/^/| /' conftest.$ac_ext >&5
17517
17518ac_lo=`expr '(' $ac_mid ')' + 1`
17519fi
17520rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521done
17522case $ac_lo in
17523?*) ac_cv_sizeof_long_long=$ac_lo;;
17524'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17525See \`config.log' for more details." >&5
17526echo "$as_me: error: cannot compute sizeof (long long), 77
17527See \`config.log' for more details." >&2;}
17528 { (exit 1); exit 1; }; } ;;
17529esac
17530else
17531 if test "$cross_compiling" = yes; then
17532 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17533See \`config.log' for more details." >&5
17534echo "$as_me: error: cannot run test program while cross compiling
17535See \`config.log' for more details." >&2;}
17536 { (exit 1); exit 1; }; }
17537else
17538 cat >conftest.$ac_ext <<_ACEOF
17539/* confdefs.h. */
17540_ACEOF
17541cat confdefs.h >>conftest.$ac_ext
17542cat >>conftest.$ac_ext <<_ACEOF
17543/* end confdefs.h. */
17544$ac_includes_default
17545long longval () { return (long) (sizeof (long long)); }
17546unsigned long ulongval () { return (long) (sizeof (long long)); }
17547#include <stdio.h>
17548#include <stdlib.h>
17549int
17550main ()
17551{
17552
17553 FILE *f = fopen ("conftest.val", "w");
17554 if (! f)
17555 exit (1);
17556 if (((long) (sizeof (long long))) < 0)
17557 {
17558 long i = longval ();
17559 if (i != ((long) (sizeof (long long))))
17560 exit (1);
17561 fprintf (f, "%ld\n", i);
17562 }
17563 else
17564 {
17565 unsigned long i = ulongval ();
17566 if (i != ((long) (sizeof (long long))))
17567 exit (1);
17568 fprintf (f, "%lu\n", i);
17569 }
17570 exit (ferror (f) || fclose (f) != 0);
17571
17572 ;
17573 return 0;
17574}
17575_ACEOF
17576rm -f conftest$ac_exeext
17577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17584 ac_status=$?
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_cv_sizeof_long_long=`cat conftest.val`
17588else
17589 echo "$as_me: program exited with status $ac_status" >&5
17590echo "$as_me: failed program was:" >&5
17591sed 's/^/| /' conftest.$ac_ext >&5
17592
17593( exit $ac_status )
17594{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17595See \`config.log' for more details." >&5
17596echo "$as_me: error: cannot compute sizeof (long long), 77
17597See \`config.log' for more details." >&2;}
17598 { (exit 1); exit 1; }; }
17599fi
17600rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17601fi
17602fi
17603rm -f conftest.val
17604else
17605 ac_cv_sizeof_long_long=0
17606fi
17607fi
17608echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17609echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17610cat >>confdefs.h <<_ACEOF
17611#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17612_ACEOF
17613
17614
17615 if test "$ac_cv_sizeof_long_long" != "0"; then
17616 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17617 fi
17618 ;;
17619 * )
17620 echo "$as_me:$LINENO: checking for long long" >&5
17621echo $ECHO_N "checking for long long... $ECHO_C" >&6
17622if test "${ac_cv_type_long_long+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624else
17625 cat >conftest.$ac_ext <<_ACEOF
17626/* confdefs.h. */
17627_ACEOF
17628cat confdefs.h >>conftest.$ac_ext
17629cat >>conftest.$ac_ext <<_ACEOF
17630/* end confdefs.h. */
17631$ac_includes_default
17632int
17633main ()
17634{
17635if ((long long *) 0)
17636 return 0;
17637if (sizeof (long long))
17638 return 0;
17639 ;
17640 return 0;
17641}
17642_ACEOF
17643rm -f conftest.$ac_objext
17644if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17646 ac_status=$?
17647 grep -v '^ *+' conftest.er1 >conftest.err
17648 rm -f conftest.er1
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try='test -z "$ac_c_werror_flag"
17653 || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17656 ac_status=$?
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17662 ac_status=$?
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 ac_cv_type_long_long=yes
17666else
17667 echo "$as_me: failed program was:" >&5
17668sed 's/^/| /' conftest.$ac_ext >&5
17669
17670ac_cv_type_long_long=no
17671fi
17672rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17673fi
17674echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17675echo "${ECHO_T}$ac_cv_type_long_long" >&6
17676
17677echo "$as_me:$LINENO: checking size of long long" >&5
17678echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17679if test "${ac_cv_sizeof_long_long+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17681else
17682 if test "$ac_cv_type_long_long" = yes; then
17683 # The cast to unsigned long works around a bug in the HP C Compiler
17684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17686 # This bug is HP SR number 8606223364.
17687 if test "$cross_compiling" = yes; then
17688 # Depending upon the size, compute the lo and hi bounds.
17689cat >conftest.$ac_ext <<_ACEOF
17690/* confdefs.h. */
17691_ACEOF
17692cat confdefs.h >>conftest.$ac_ext
17693cat >>conftest.$ac_ext <<_ACEOF
17694/* end confdefs.h. */
17695$ac_includes_default
17696int
17697main ()
17698{
17699static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17700test_array [0] = 0
17701
17702 ;
17703 return 0;
17704}
17705_ACEOF
17706rm -f conftest.$ac_objext
17707if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17708 (eval $ac_compile) 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try='test -z "$ac_c_werror_flag"
17716 || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17728 ac_lo=0 ac_mid=0
17729 while :; do
17730 cat >conftest.$ac_ext <<_ACEOF
17731/* confdefs.h. */
17732_ACEOF
17733cat confdefs.h >>conftest.$ac_ext
17734cat >>conftest.$ac_ext <<_ACEOF
17735/* end confdefs.h. */
17736$ac_includes_default
17737int
17738main ()
17739{
17740static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17741test_array [0] = 0
17742
17743 ;
17744 return 0;
17745}
17746_ACEOF
17747rm -f conftest.$ac_objext
17748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>conftest.er1
17750 ac_status=$?
17751 grep -v '^ *+' conftest.er1 >conftest.err
17752 rm -f conftest.er1
17753 cat conftest.err >&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try='test -z "$ac_c_werror_flag"
17757 || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 ac_hi=$ac_mid; break
17770else
17771 echo "$as_me: failed program was:" >&5
17772sed 's/^/| /' conftest.$ac_ext >&5
17773
17774ac_lo=`expr $ac_mid + 1`
17775 if test $ac_lo -le $ac_mid; then
17776 ac_lo= ac_hi=
17777 break
17778 fi
17779 ac_mid=`expr 2 '*' $ac_mid + 1`
17780fi
17781rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17782 done
17783else
17784 echo "$as_me: failed program was:" >&5
17785sed 's/^/| /' conftest.$ac_ext >&5
17786
17787cat >conftest.$ac_ext <<_ACEOF
17788/* confdefs.h. */
17789_ACEOF
17790cat confdefs.h >>conftest.$ac_ext
17791cat >>conftest.$ac_ext <<_ACEOF
17792/* end confdefs.h. */
17793$ac_includes_default
17794int
17795main ()
17796{
17797static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17798test_array [0] = 0
17799
17800 ;
17801 return 0;
17802}
17803_ACEOF
17804rm -f conftest.$ac_objext
17805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try='test -z "$ac_c_werror_flag"
17814 || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17817 ac_status=$?
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_hi=-1 ac_mid=-1
17827 while :; do
17828 cat >conftest.$ac_ext <<_ACEOF
17829/* confdefs.h. */
17830_ACEOF
17831cat confdefs.h >>conftest.$ac_ext
17832cat >>conftest.$ac_ext <<_ACEOF
17833/* end confdefs.h. */
17834$ac_includes_default
17835int
17836main ()
17837{
17838static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17839test_array [0] = 0
17840
17841 ;
17842 return 0;
17843}
17844_ACEOF
17845rm -f conftest.$ac_objext
17846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847 (eval $ac_compile) 2>conftest.er1
17848 ac_status=$?
17849 grep -v '^ *+' conftest.er1 >conftest.err
17850 rm -f conftest.er1
17851 cat conftest.err >&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); } &&
17854 { ac_try='test -z "$ac_c_werror_flag"
17855 || test ! -s conftest.err'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; } &&
17861 { ac_try='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17864 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 ac_lo=$ac_mid; break
17868else
17869 echo "$as_me: failed program was:" >&5
17870sed 's/^/| /' conftest.$ac_ext >&5
17871
17872ac_hi=`expr '(' $ac_mid ')' - 1`
17873 if test $ac_mid -le $ac_hi; then
17874 ac_lo= ac_hi=
17875 break
17876 fi
17877 ac_mid=`expr 2 '*' $ac_mid`
17878fi
17879rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17880 done
17881else
17882 echo "$as_me: failed program was:" >&5
17883sed 's/^/| /' conftest.$ac_ext >&5
17884
17885ac_lo= ac_hi=
17886fi
17887rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17888fi
17889rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17890# Binary search between lo and hi bounds.
17891while test "x$ac_lo" != "x$ac_hi"; do
17892 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17893 cat >conftest.$ac_ext <<_ACEOF
17894/* confdefs.h. */
17895_ACEOF
17896cat confdefs.h >>conftest.$ac_ext
17897cat >>conftest.$ac_ext <<_ACEOF
17898/* end confdefs.h. */
17899$ac_includes_default
17900int
17901main ()
17902{
17903static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17904test_array [0] = 0
17905
17906 ;
17907 return 0;
17908}
17909_ACEOF
17910rm -f conftest.$ac_objext
17911if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17913 ac_status=$?
17914 grep -v '^ *+' conftest.er1 >conftest.err
17915 rm -f conftest.er1
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 ac_hi=$ac_mid
17933else
17934 echo "$as_me: failed program was:" >&5
17935sed 's/^/| /' conftest.$ac_ext >&5
17936
17937ac_lo=`expr '(' $ac_mid ')' + 1`
17938fi
17939rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17940done
17941case $ac_lo in
17942?*) ac_cv_sizeof_long_long=$ac_lo;;
17943'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17944See \`config.log' for more details." >&5
17945echo "$as_me: error: cannot compute sizeof (long long), 77
17946See \`config.log' for more details." >&2;}
17947 { (exit 1); exit 1; }; } ;;
17948esac
17949else
17950 if test "$cross_compiling" = yes; then
17951 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17952See \`config.log' for more details." >&5
17953echo "$as_me: error: cannot run test program while cross compiling
17954See \`config.log' for more details." >&2;}
17955 { (exit 1); exit 1; }; }
17956else
17957 cat >conftest.$ac_ext <<_ACEOF
17958/* confdefs.h. */
17959_ACEOF
17960cat confdefs.h >>conftest.$ac_ext
17961cat >>conftest.$ac_ext <<_ACEOF
17962/* end confdefs.h. */
17963$ac_includes_default
17964long longval () { return (long) (sizeof (long long)); }
17965unsigned long ulongval () { return (long) (sizeof (long long)); }
17966#include <stdio.h>
17967#include <stdlib.h>
17968int
17969main ()
17970{
17971
17972 FILE *f = fopen ("conftest.val", "w");
17973 if (! f)
17974 exit (1);
17975 if (((long) (sizeof (long long))) < 0)
17976 {
17977 long i = longval ();
17978 if (i != ((long) (sizeof (long long))))
17979 exit (1);
17980 fprintf (f, "%ld\n", i);
17981 }
17982 else
17983 {
17984 unsigned long i = ulongval ();
17985 if (i != ((long) (sizeof (long long))))
17986 exit (1);
17987 fprintf (f, "%lu\n", i);
17988 }
17989 exit (ferror (f) || fclose (f) != 0);
17990
17991 ;
17992 return 0;
17993}
17994_ACEOF
17995rm -f conftest$ac_exeext
17996if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17997 (eval $ac_link) 2>&5
17998 ac_status=$?
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; }; then
18006 ac_cv_sizeof_long_long=`cat conftest.val`
18007else
18008 echo "$as_me: program exited with status $ac_status" >&5
18009echo "$as_me: failed program was:" >&5
18010sed 's/^/| /' conftest.$ac_ext >&5
18011
18012( exit $ac_status )
18013{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18014See \`config.log' for more details." >&5
18015echo "$as_me: error: cannot compute sizeof (long long), 77
18016See \`config.log' for more details." >&2;}
18017 { (exit 1); exit 1; }; }
18018fi
18019rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18020fi
18021fi
18022rm -f conftest.val
18023else
18024 ac_cv_sizeof_long_long=0
18025fi
18026fi
18027echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18028echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18029cat >>confdefs.h <<_ACEOF
18030#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18031_ACEOF
18032
18033
18034esac
18035
18036echo "$as_me:$LINENO: checking size of wchar_t" >&5
18037echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18038if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18039 echo $ECHO_N "(cached) $ECHO_C" >&6
18040else
18041
18042 if test "$cross_compiling" = yes; then
18043
18044 case "${host}" in
18045 *-pc-msdosdjgpp )
18046 wx_cv_sizeof_wchar_t=0
18047 ;;
18048 * )
18049 wx_cv_sizeof_wchar_t=4
18050 ;;
18051 esac
18052
18053
18054else
18055 cat >conftest.$ac_ext <<_ACEOF
18056/* confdefs.h. */
18057_ACEOF
18058cat confdefs.h >>conftest.$ac_ext
18059cat >>conftest.$ac_ext <<_ACEOF
18060/* end confdefs.h. */
18061
18062 /* DJGPP only has fake wchar_t: */
18063 #ifdef __DJGPP__
18064 # error "fake wchar_t"
18065 #endif
18066 #ifdef HAVE_WCHAR_H
18067 # ifdef __CYGWIN__
18068 # include <stddef.h>
18069 # endif
18070 # include <wchar.h>
18071 #endif
18072 #ifdef HAVE_STDLIB_H
18073 # include <stdlib.h>
18074 #endif
18075 #include <stdio.h>
18076 int main()
18077 {
18078 FILE *f=fopen("conftestval", "w");
18079 if (!f) exit(1);
18080 fprintf(f, "%i", sizeof(wchar_t));
18081 exit(0);
18082 }
18083
18084_ACEOF
18085rm -f conftest$ac_exeext
18086if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18087 (eval $ac_link) 2>&5
18088 ac_status=$?
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; }; then
18096 wx_cv_sizeof_wchar_t=`cat conftestval`
18097else
18098 echo "$as_me: program exited with status $ac_status" >&5
18099echo "$as_me: failed program was:" >&5
18100sed 's/^/| /' conftest.$ac_ext >&5
18101
18102( exit $ac_status )
18103wx_cv_sizeof_wchar_t=0
18104fi
18105rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18106fi
18107
18108fi
18109echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18110echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18111
18112cat >>confdefs.h <<_ACEOF
18113#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18114_ACEOF
18115
18116
18117# Check whether --enable-largefile or --disable-largefile was given.
18118if test "${enable_largefile+set}" = set; then
18119 enableval="$enable_largefile"
18120
18121fi;
18122if test "$enable_largefile" != no; then
18123 wx_largefile=no
18124
18125 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18126echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18127if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18128 echo $ECHO_N "(cached) $ECHO_C" >&6
18129else
18130
18131 cat >conftest.$ac_ext <<_ACEOF
18132/* confdefs.h. */
18133_ACEOF
18134cat confdefs.h >>conftest.$ac_ext
18135cat >>conftest.$ac_ext <<_ACEOF
18136/* end confdefs.h. */
18137#define _FILE_OFFSET_BITS 64
18138 #include <sys/types.h>
18139int
18140main ()
18141{
18142typedef struct {
18143 unsigned int field: sizeof(off_t) == 8;
18144} wxlf;
18145
18146 ;
18147 return 0;
18148}
18149_ACEOF
18150rm -f conftest.$ac_objext
18151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try='test -z "$ac_c_werror_flag"
18160 || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_cv_sys_file_offset_bits=64
18173else
18174 echo "$as_me: failed program was:" >&5
18175sed 's/^/| /' conftest.$ac_ext >&5
18176
18177ac_cv_sys_file_offset_bits=no
18178fi
18179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18180
18181
18182fi
18183echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18184echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18185
18186 if test "$ac_cv_sys_file_offset_bits" != no; then
18187 wx_largefile=yes
18188 cat >>confdefs.h <<_ACEOF
18189#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18190_ACEOF
18191
18192 fi
18193
18194 if test "x$wx_largefile" != "xyes"; then
18195
18196 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18197echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18198if test "${ac_cv_sys_large_files+set}" = set; then
18199 echo $ECHO_N "(cached) $ECHO_C" >&6
18200else
18201
18202 cat >conftest.$ac_ext <<_ACEOF
18203/* confdefs.h. */
18204_ACEOF
18205cat confdefs.h >>conftest.$ac_ext
18206cat >>conftest.$ac_ext <<_ACEOF
18207/* end confdefs.h. */
18208#define _LARGE_FILES 1
18209 #include <sys/types.h>
18210int
18211main ()
18212{
18213typedef struct {
18214 unsigned int field: sizeof(off_t) == 8;
18215} wxlf;
18216
18217 ;
18218 return 0;
18219}
18220_ACEOF
18221rm -f conftest.$ac_objext
18222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18223 (eval $ac_compile) 2>conftest.er1
18224 ac_status=$?
18225 grep -v '^ *+' conftest.er1 >conftest.err
18226 rm -f conftest.er1
18227 cat conftest.err >&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } &&
18230 { ac_try='test -z "$ac_c_werror_flag"
18231 || test ! -s conftest.err'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18234 ac_status=$?
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; } &&
18237 { ac_try='test -s conftest.$ac_objext'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18240 ac_status=$?
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; }; then
18243 ac_cv_sys_large_files=1
18244else
18245 echo "$as_me: failed program was:" >&5
18246sed 's/^/| /' conftest.$ac_ext >&5
18247
18248ac_cv_sys_large_files=no
18249fi
18250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18251
18252
18253fi
18254echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18255echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18256
18257 if test "$ac_cv_sys_large_files" != no; then
18258 wx_largefile=yes
18259 cat >>confdefs.h <<_ACEOF
18260#define _LARGE_FILES $ac_cv_sys_large_files
18261_ACEOF
18262
18263 fi
18264
18265 fi
18266
18267 echo "$as_me:$LINENO: checking if large file support is available" >&5
18268echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18269 if test "x$wx_largefile" = "xyes"; then
18270 cat >>confdefs.h <<\_ACEOF
18271#define HAVE_LARGEFILE_SUPPORT 1
18272_ACEOF
18273
18274 fi
18275 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18276echo "${ECHO_T}$wx_largefile" >&6
18277fi
18278
18279
18280if test "x$wx_largefile" = "xyes"; then
18281 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18282 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18283 else
18284 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18285 fi
18286 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18287fi
18288
18289echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18290echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18291if test "${ac_cv_c_bigendian+set}" = set; then
18292 echo $ECHO_N "(cached) $ECHO_C" >&6
18293else
18294 ac_cv_c_bigendian=unknown
18295# See if sys/param.h defines the BYTE_ORDER macro.
18296cat >conftest.$ac_ext <<_ACEOF
18297/* confdefs.h. */
18298_ACEOF
18299cat confdefs.h >>conftest.$ac_ext
18300cat >>conftest.$ac_ext <<_ACEOF
18301/* end confdefs.h. */
18302#include <sys/types.h>
18303#include <sys/param.h>
18304int
18305main ()
18306{
18307
18308#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18309 bogus endian macros
18310#endif
18311 ;
18312 return 0;
18313}
18314_ACEOF
18315rm -f conftest.$ac_objext
18316if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18317 (eval $ac_compile) 2>conftest.er1
18318 ac_status=$?
18319 grep -v '^ *+' conftest.er1 >conftest.err
18320 rm -f conftest.er1
18321 cat conftest.err >&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try='test -z "$ac_c_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try='test -s conftest.$ac_objext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18334 ac_status=$?
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 # It does; now see whether it defined to BIG_ENDIAN or not.
18338cat >conftest.$ac_ext <<_ACEOF
18339/* confdefs.h. */
18340_ACEOF
18341cat confdefs.h >>conftest.$ac_ext
18342cat >>conftest.$ac_ext <<_ACEOF
18343/* end confdefs.h. */
18344#include <sys/types.h>
18345#include <sys/param.h>
18346int
18347main ()
18348{
18349
18350#if BYTE_ORDER != BIG_ENDIAN
18351 not big endian
18352#endif
18353 ;
18354 return 0;
18355}
18356_ACEOF
18357rm -f conftest.$ac_objext
18358if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18359 (eval $ac_compile) 2>conftest.er1
18360 ac_status=$?
18361 grep -v '^ *+' conftest.er1 >conftest.err
18362 rm -f conftest.er1
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try='test -z "$ac_c_werror_flag"
18367 || test ! -s conftest.err'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; } &&
18373 { ac_try='test -s conftest.$ac_objext'
18374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18375 (eval $ac_try) 2>&5
18376 ac_status=$?
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; }; then
18379 ac_cv_c_bigendian=yes
18380else
18381 echo "$as_me: failed program was:" >&5
18382sed 's/^/| /' conftest.$ac_ext >&5
18383
18384ac_cv_c_bigendian=no
18385fi
18386rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18387else
18388 echo "$as_me: failed program was:" >&5
18389sed 's/^/| /' conftest.$ac_ext >&5
18390
18391fi
18392rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18393if test $ac_cv_c_bigendian = unknown; then
18394if test "$cross_compiling" = yes; then
18395 ac_cv_c_bigendian=unknown
18396else
18397 cat >conftest.$ac_ext <<_ACEOF
18398/* confdefs.h. */
18399_ACEOF
18400cat confdefs.h >>conftest.$ac_ext
18401cat >>conftest.$ac_ext <<_ACEOF
18402/* end confdefs.h. */
18403main () {
18404 /* Are we little or big endian? From Harbison&Steele. */
18405 union
18406 {
18407 long l;
18408 char c[sizeof (long)];
18409 } u;
18410 u.l = 1;
18411 exit (u.c[sizeof (long) - 1] == 1);
18412}
18413_ACEOF
18414rm -f conftest$ac_exeext
18415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18416 (eval $ac_link) 2>&5
18417 ac_status=$?
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18422 ac_status=$?
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; }; then
18425 ac_cv_c_bigendian=no
18426else
18427 echo "$as_me: program exited with status $ac_status" >&5
18428echo "$as_me: failed program was:" >&5
18429sed 's/^/| /' conftest.$ac_ext >&5
18430
18431( exit $ac_status )
18432ac_cv_c_bigendian=yes
18433fi
18434rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18435fi
18436fi
18437fi
18438echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18439echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18440if test $ac_cv_c_bigendian = unknown; then
18441 { 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
18442echo "$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;}
18443fi
18444if test $ac_cv_c_bigendian = yes; then
18445 cat >>confdefs.h <<\_ACEOF
18446#define WORDS_BIGENDIAN 1
18447_ACEOF
18448
18449fi
18450
18451
18452ac_ext=cc
18453ac_cpp='$CXXCPP $CPPFLAGS'
18454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18457echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18458echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18459if test -z "$CXXCPP"; then
18460 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18462else
18463 # Double quotes because CXXCPP needs to be expanded
18464 for CXXCPP in "$CXX -E" "/lib/cpp"
18465 do
18466 ac_preproc_ok=false
18467for ac_cxx_preproc_warn_flag in '' yes
18468do
18469 # Use a header file that comes with gcc, so configuring glibc
18470 # with a fresh cross-compiler works.
18471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18472 # <limits.h> exists even on freestanding compilers.
18473 # On the NeXT, cc -E runs the code through the compiler's parser,
18474 # not just through cpp. "Syntax error" is here to catch this case.
18475 cat >conftest.$ac_ext <<_ACEOF
18476/* confdefs.h. */
18477_ACEOF
18478cat confdefs.h >>conftest.$ac_ext
18479cat >>conftest.$ac_ext <<_ACEOF
18480/* end confdefs.h. */
18481#ifdef __STDC__
18482# include <limits.h>
18483#else
18484# include <assert.h>
18485#endif
18486 Syntax error
18487_ACEOF
18488if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18490 ac_status=$?
18491 grep -v '^ *+' conftest.er1 >conftest.err
18492 rm -f conftest.er1
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } >/dev/null; then
18496 if test -s conftest.err; then
18497 ac_cpp_err=$ac_cxx_preproc_warn_flag
18498 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18499 else
18500 ac_cpp_err=
18501 fi
18502else
18503 ac_cpp_err=yes
18504fi
18505if test -z "$ac_cpp_err"; then
18506 :
18507else
18508 echo "$as_me: failed program was:" >&5
18509sed 's/^/| /' conftest.$ac_ext >&5
18510
18511 # Broken: fails on valid input.
18512continue
18513fi
18514rm -f conftest.err conftest.$ac_ext
18515
18516 # OK, works on sane cases. Now check whether non-existent headers
18517 # can be detected and how.
18518 cat >conftest.$ac_ext <<_ACEOF
18519/* confdefs.h. */
18520_ACEOF
18521cat confdefs.h >>conftest.$ac_ext
18522cat >>conftest.$ac_ext <<_ACEOF
18523/* end confdefs.h. */
18524#include <ac_nonexistent.h>
18525_ACEOF
18526if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18527 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18528 ac_status=$?
18529 grep -v '^ *+' conftest.er1 >conftest.err
18530 rm -f conftest.er1
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } >/dev/null; then
18534 if test -s conftest.err; then
18535 ac_cpp_err=$ac_cxx_preproc_warn_flag
18536 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18537 else
18538 ac_cpp_err=
18539 fi
18540else
18541 ac_cpp_err=yes
18542fi
18543if test -z "$ac_cpp_err"; then
18544 # Broken: success on invalid input.
18545continue
18546else
18547 echo "$as_me: failed program was:" >&5
18548sed 's/^/| /' conftest.$ac_ext >&5
18549
18550 # Passes both tests.
18551ac_preproc_ok=:
18552break
18553fi
18554rm -f conftest.err conftest.$ac_ext
18555
18556done
18557# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18558rm -f conftest.err conftest.$ac_ext
18559if $ac_preproc_ok; then
18560 break
18561fi
18562
18563 done
18564 ac_cv_prog_CXXCPP=$CXXCPP
18565
18566fi
18567 CXXCPP=$ac_cv_prog_CXXCPP
18568else
18569 ac_cv_prog_CXXCPP=$CXXCPP
18570fi
18571echo "$as_me:$LINENO: result: $CXXCPP" >&5
18572echo "${ECHO_T}$CXXCPP" >&6
18573ac_preproc_ok=false
18574for ac_cxx_preproc_warn_flag in '' yes
18575do
18576 # Use a header file that comes with gcc, so configuring glibc
18577 # with a fresh cross-compiler works.
18578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18579 # <limits.h> exists even on freestanding compilers.
18580 # On the NeXT, cc -E runs the code through the compiler's parser,
18581 # not just through cpp. "Syntax error" is here to catch this case.
18582 cat >conftest.$ac_ext <<_ACEOF
18583/* confdefs.h. */
18584_ACEOF
18585cat confdefs.h >>conftest.$ac_ext
18586cat >>conftest.$ac_ext <<_ACEOF
18587/* end confdefs.h. */
18588#ifdef __STDC__
18589# include <limits.h>
18590#else
18591# include <assert.h>
18592#endif
18593 Syntax error
18594_ACEOF
18595if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18597 ac_status=$?
18598 grep -v '^ *+' conftest.er1 >conftest.err
18599 rm -f conftest.er1
18600 cat conftest.err >&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } >/dev/null; then
18603 if test -s conftest.err; then
18604 ac_cpp_err=$ac_cxx_preproc_warn_flag
18605 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18606 else
18607 ac_cpp_err=
18608 fi
18609else
18610 ac_cpp_err=yes
18611fi
18612if test -z "$ac_cpp_err"; then
18613 :
18614else
18615 echo "$as_me: failed program was:" >&5
18616sed 's/^/| /' conftest.$ac_ext >&5
18617
18618 # Broken: fails on valid input.
18619continue
18620fi
18621rm -f conftest.err conftest.$ac_ext
18622
18623 # OK, works on sane cases. Now check whether non-existent headers
18624 # can be detected and how.
18625 cat >conftest.$ac_ext <<_ACEOF
18626/* confdefs.h. */
18627_ACEOF
18628cat confdefs.h >>conftest.$ac_ext
18629cat >>conftest.$ac_ext <<_ACEOF
18630/* end confdefs.h. */
18631#include <ac_nonexistent.h>
18632_ACEOF
18633if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18635 ac_status=$?
18636 grep -v '^ *+' conftest.er1 >conftest.err
18637 rm -f conftest.er1
18638 cat conftest.err >&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); } >/dev/null; then
18641 if test -s conftest.err; then
18642 ac_cpp_err=$ac_cxx_preproc_warn_flag
18643 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18644 else
18645 ac_cpp_err=
18646 fi
18647else
18648 ac_cpp_err=yes
18649fi
18650if test -z "$ac_cpp_err"; then
18651 # Broken: success on invalid input.
18652continue
18653else
18654 echo "$as_me: failed program was:" >&5
18655sed 's/^/| /' conftest.$ac_ext >&5
18656
18657 # Passes both tests.
18658ac_preproc_ok=:
18659break
18660fi
18661rm -f conftest.err conftest.$ac_ext
18662
18663done
18664# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18665rm -f conftest.err conftest.$ac_ext
18666if $ac_preproc_ok; then
18667 :
18668else
18669 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18670See \`config.log' for more details." >&5
18671echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18672See \`config.log' for more details." >&2;}
18673 { (exit 1); exit 1; }; }
18674fi
18675
18676ac_ext=cc
18677ac_cpp='$CXXCPP $CPPFLAGS'
18678ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18681
18682
18683
18684
18685
18686 ac_ext=cc
18687ac_cpp='$CXXCPP $CPPFLAGS'
18688ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18689ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18690ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18691
18692
18693
18694for ac_header in iostream
18695do
18696as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18697if eval "test \"\${$as_ac_Header+set}\" = set"; then
18698 echo "$as_me:$LINENO: checking for $ac_header" >&5
18699echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18700if eval "test \"\${$as_ac_Header+set}\" = set"; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18702fi
18703echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18704echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18705else
18706 # Is the header compilable?
18707echo "$as_me:$LINENO: checking $ac_header usability" >&5
18708echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18709cat >conftest.$ac_ext <<_ACEOF
18710/* confdefs.h. */
18711_ACEOF
18712cat confdefs.h >>conftest.$ac_ext
18713cat >>conftest.$ac_ext <<_ACEOF
18714/* end confdefs.h. */
18715$ac_includes_default
18716#include <$ac_header>
18717_ACEOF
18718rm -f conftest.$ac_objext
18719if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18720 (eval $ac_compile) 2>conftest.er1
18721 ac_status=$?
18722 grep -v '^ *+' conftest.er1 >conftest.err
18723 rm -f conftest.er1
18724 cat conftest.err >&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try='test -z "$ac_cxx_werror_flag"
18728 || test ! -s conftest.err'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18731 ac_status=$?
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; } &&
18734 { ac_try='test -s conftest.$ac_objext'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18737 ac_status=$?
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; }; then
18740 ac_header_compiler=yes
18741else
18742 echo "$as_me: failed program was:" >&5
18743sed 's/^/| /' conftest.$ac_ext >&5
18744
18745ac_header_compiler=no
18746fi
18747rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18748echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18749echo "${ECHO_T}$ac_header_compiler" >&6
18750
18751# Is the header present?
18752echo "$as_me:$LINENO: checking $ac_header presence" >&5
18753echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18754cat >conftest.$ac_ext <<_ACEOF
18755/* confdefs.h. */
18756_ACEOF
18757cat confdefs.h >>conftest.$ac_ext
18758cat >>conftest.$ac_ext <<_ACEOF
18759/* end confdefs.h. */
18760#include <$ac_header>
18761_ACEOF
18762if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18764 ac_status=$?
18765 grep -v '^ *+' conftest.er1 >conftest.err
18766 rm -f conftest.er1
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } >/dev/null; then
18770 if test -s conftest.err; then
18771 ac_cpp_err=$ac_cxx_preproc_warn_flag
18772 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18773 else
18774 ac_cpp_err=
18775 fi
18776else
18777 ac_cpp_err=yes
18778fi
18779if test -z "$ac_cpp_err"; then
18780 ac_header_preproc=yes
18781else
18782 echo "$as_me: failed program was:" >&5
18783sed 's/^/| /' conftest.$ac_ext >&5
18784
18785 ac_header_preproc=no
18786fi
18787rm -f conftest.err conftest.$ac_ext
18788echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18789echo "${ECHO_T}$ac_header_preproc" >&6
18790
18791# So? What about this header?
18792case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18793 yes:no: )
18794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18795echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18797echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18798 ac_header_preproc=yes
18799 ;;
18800 no:yes:* )
18801 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18802echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18804echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18806echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18807 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18808echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18810echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18811 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18812echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18813 (
18814 cat <<\_ASBOX
18815## ----------------------------------------- ##
18816## Report this to wx-dev@lists.wxwindows.org ##
18817## ----------------------------------------- ##
18818_ASBOX
18819 ) |
18820 sed "s/^/$as_me: WARNING: /" >&2
18821 ;;
18822esac
18823echo "$as_me:$LINENO: checking for $ac_header" >&5
18824echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18825if eval "test \"\${$as_ac_Header+set}\" = set"; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18827else
18828 eval "$as_ac_Header=\$ac_header_preproc"
18829fi
18830echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18831echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18832
18833fi
18834if test `eval echo '${'$as_ac_Header'}'` = yes; then
18835 cat >>confdefs.h <<_ACEOF
18836#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18837_ACEOF
18838
18839fi
18840
18841done
18842
18843
18844 if test "$ac_cv_header_iostream" = "yes" ; then
18845 :
18846 else
18847 cat >>confdefs.h <<\_ACEOF
18848#define wxUSE_IOSTREAMH 1
18849_ACEOF
18850
18851 fi
18852
18853 ac_ext=c
18854ac_cpp='$CPP $CPPFLAGS'
18855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18857ac_compiler_gnu=$ac_cv_c_compiler_gnu
18858
18859
18860
18861
18862 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18863echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18864if test "${wx_cv_cpp_bool+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18866else
18867
18868
18869
18870 ac_ext=cc
18871ac_cpp='$CXXCPP $CPPFLAGS'
18872ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18875
18876
18877 cat >conftest.$ac_ext <<_ACEOF
18878/* confdefs.h. */
18879_ACEOF
18880cat confdefs.h >>conftest.$ac_ext
18881cat >>conftest.$ac_ext <<_ACEOF
18882/* end confdefs.h. */
18883
18884
18885int
18886main ()
18887{
18888
18889 bool b = true;
18890
18891 return 0;
18892
18893 ;
18894 return 0;
18895}
18896_ACEOF
18897rm -f conftest.$ac_objext
18898if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18900 ac_status=$?
18901 grep -v '^ *+' conftest.er1 >conftest.err
18902 rm -f conftest.er1
18903 cat conftest.err >&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try='test -z "$ac_cxx_werror_flag"
18907 || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18910 ac_status=$?
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try='test -s conftest.$ac_objext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18916 ac_status=$?
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18919
18920 wx_cv_cpp_bool=yes
18921
18922else
18923 echo "$as_me: failed program was:" >&5
18924sed 's/^/| /' conftest.$ac_ext >&5
18925
18926
18927 wx_cv_cpp_bool=no
18928
18929
18930fi
18931rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18932
18933 ac_ext=c
18934ac_cpp='$CPP $CPPFLAGS'
18935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937ac_compiler_gnu=$ac_cv_c_compiler_gnu
18938
18939
18940fi
18941echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18942echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18943
18944 if test "$wx_cv_cpp_bool" = "yes"; then
18945 cat >>confdefs.h <<\_ACEOF
18946#define HAVE_BOOL 1
18947_ACEOF
18948
18949 fi
18950
18951
18952
18953 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18954echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18955if test "${wx_cv_explicit+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957else
18958
18959
18960
18961 ac_ext=cc
18962ac_cpp='$CXXCPP $CPPFLAGS'
18963ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18964ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18965ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18966
18967
18968 cat >conftest.$ac_ext <<_ACEOF
18969/* confdefs.h. */
18970_ACEOF
18971cat confdefs.h >>conftest.$ac_ext
18972cat >>conftest.$ac_ext <<_ACEOF
18973/* end confdefs.h. */
18974
18975 class Foo { public: explicit Foo(int) {} };
18976
18977int
18978main ()
18979{
18980
18981 return 0;
18982
18983 ;
18984 return 0;
18985}
18986_ACEOF
18987rm -f conftest.$ac_objext
18988if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18989 (eval $ac_compile) 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try='test -z "$ac_cxx_werror_flag"
18997 || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009
19010 cat >conftest.$ac_ext <<_ACEOF
19011/* confdefs.h. */
19012_ACEOF
19013cat confdefs.h >>conftest.$ac_ext
19014cat >>conftest.$ac_ext <<_ACEOF
19015/* end confdefs.h. */
19016
19017 class Foo { public: explicit Foo(int) {} };
19018 static void TakeFoo(const Foo& foo) { }
19019
19020int
19021main ()
19022{
19023
19024 TakeFoo(17);
19025 return 0;
19026
19027 ;
19028 return 0;
19029}
19030_ACEOF
19031rm -f conftest.$ac_objext
19032if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19033 (eval $ac_compile) 2>conftest.er1
19034 ac_status=$?
19035 grep -v '^ *+' conftest.er1 >conftest.err
19036 rm -f conftest.er1
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } &&
19040 { ac_try='test -z "$ac_cxx_werror_flag"
19041 || test ! -s conftest.err'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19044 ac_status=$?
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; } &&
19047 { ac_try='test -s conftest.$ac_objext'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19050 ac_status=$?
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; }; then
19053 wx_cv_explicit=no
19054else
19055 echo "$as_me: failed program was:" >&5
19056sed 's/^/| /' conftest.$ac_ext >&5
19057
19058wx_cv_explicit=yes
19059
19060fi
19061rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19062
19063else
19064 echo "$as_me: failed program was:" >&5
19065sed 's/^/| /' conftest.$ac_ext >&5
19066
19067wx_cv_explicit=no
19068
19069fi
19070rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19071
19072 ac_ext=c
19073ac_cpp='$CPP $CPPFLAGS'
19074ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076ac_compiler_gnu=$ac_cv_c_compiler_gnu
19077
19078
19079fi
19080echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19081echo "${ECHO_T}$wx_cv_explicit" >&6
19082
19083 if test "$wx_cv_explicit" = "yes"; then
19084 cat >>confdefs.h <<\_ACEOF
19085#define HAVE_EXPLICIT 1
19086_ACEOF
19087
19088 fi
19089
19090
19091echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19092echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19093if test "${ac_cv_cxx_const_cast+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19095else
19096
19097
19098 ac_ext=cc
19099ac_cpp='$CXXCPP $CPPFLAGS'
19100ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19103
19104 cat >conftest.$ac_ext <<_ACEOF
19105/* confdefs.h. */
19106_ACEOF
19107cat confdefs.h >>conftest.$ac_ext
19108cat >>conftest.$ac_ext <<_ACEOF
19109/* end confdefs.h. */
19110
19111int
19112main ()
19113{
19114int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19115 ;
19116 return 0;
19117}
19118_ACEOF
19119rm -f conftest.$ac_objext
19120if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try='test -z "$ac_cxx_werror_flag"
19129 || test ! -s conftest.err'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19132 ac_status=$?
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; } &&
19135 { ac_try='test -s conftest.$ac_objext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19138 ac_status=$?
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19141 ac_cv_cxx_const_cast=yes
19142else
19143 echo "$as_me: failed program was:" >&5
19144sed 's/^/| /' conftest.$ac_ext >&5
19145
19146ac_cv_cxx_const_cast=no
19147fi
19148rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19149 ac_ext=c
19150ac_cpp='$CPP $CPPFLAGS'
19151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19153ac_compiler_gnu=$ac_cv_c_compiler_gnu
19154
19155
19156fi
19157echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19158echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19159if test "$ac_cv_cxx_const_cast" = yes; then
19160
19161cat >>confdefs.h <<\_ACEOF
19162#define HAVE_CONST_CAST
19163_ACEOF
19164
19165fi
19166
19167echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19168echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19169if test "${ac_cv_cxx_static_cast+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171else
19172
19173
19174 ac_ext=cc
19175ac_cpp='$CXXCPP $CPPFLAGS'
19176ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19177ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19178ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19179
19180 cat >conftest.$ac_ext <<_ACEOF
19181/* confdefs.h. */
19182_ACEOF
19183cat confdefs.h >>conftest.$ac_ext
19184cat >>conftest.$ac_ext <<_ACEOF
19185/* end confdefs.h. */
19186#include <typeinfo>
19187class Base { public : Base () {} virtual void f () = 0; };
19188class Derived : public Base { public : Derived () {} virtual void f () {} };
19189int g (Derived&) { return 0; }
19190int
19191main ()
19192{
19193
19194Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19195 ;
19196 return 0;
19197}
19198_ACEOF
19199rm -f conftest.$ac_objext
19200if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -z "$ac_cxx_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_cxx_static_cast=yes
19222else
19223 echo "$as_me: failed program was:" >&5
19224sed 's/^/| /' conftest.$ac_ext >&5
19225
19226ac_cv_cxx_static_cast=no
19227fi
19228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19229 ac_ext=c
19230ac_cpp='$CPP $CPPFLAGS'
19231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233ac_compiler_gnu=$ac_cv_c_compiler_gnu
19234
19235
19236fi
19237echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19238echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19239if test "$ac_cv_cxx_static_cast" = yes; then
19240
19241cat >>confdefs.h <<\_ACEOF
19242#define HAVE_STATIC_CAST
19243_ACEOF
19244
19245fi
19246
19247
19248if test "$wxUSE_STL" = "yes"; then
19249 ac_ext=cc
19250ac_cpp='$CXXCPP $CPPFLAGS'
19251ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19252ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19253ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19254
19255
19256 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19257echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19258 cat >conftest.$ac_ext <<_ACEOF
19259/* confdefs.h. */
19260_ACEOF
19261cat confdefs.h >>conftest.$ac_ext
19262cat >>conftest.$ac_ext <<_ACEOF
19263/* end confdefs.h. */
19264#include <string>
19265 #include <functional>
19266 #include <algorithm>
19267 #include <vector>
19268 #include <list>
19269int
19270main ()
19271{
19272std::vector<int> moo;
19273 std::list<int> foo;
19274 std::vector<int>::iterator it =
19275 std::find_if(moo.begin(), moo.end(),
19276 std::bind2nd(std::less<int>(), 3));
19277 ;
19278 return 0;
19279}
19280_ACEOF
19281rm -f conftest.$ac_objext
19282if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19283 (eval $ac_compile) 2>conftest.er1
19284 ac_status=$?
19285 grep -v '^ *+' conftest.er1 >conftest.err
19286 rm -f conftest.er1
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try='test -z "$ac_cxx_werror_flag"
19291 || test ! -s conftest.err'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; } &&
19297 { ac_try='test -s conftest.$ac_objext'
19298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19299 (eval $ac_try) 2>&5
19300 ac_status=$?
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); }; }; then
19303 echo "$as_me:$LINENO: result: yes" >&5
19304echo "${ECHO_T}yes" >&6
19305else
19306 echo "$as_me: failed program was:" >&5
19307sed 's/^/| /' conftest.$ac_ext >&5
19308
19309echo "$as_me:$LINENO: result: no" >&5
19310echo "${ECHO_T}no" >&6
19311 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19312echo "$as_me: error: Basic STL functionality missing" >&2;}
19313 { (exit 1); exit 1; }; }
19314fi
19315rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19316
19317 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19318echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19319 cat >conftest.$ac_ext <<_ACEOF
19320/* confdefs.h. */
19321_ACEOF
19322cat confdefs.h >>conftest.$ac_ext
19323cat >>conftest.$ac_ext <<_ACEOF
19324/* end confdefs.h. */
19325#include <string>
19326int
19327main ()
19328{
19329std::wstring foo;
19330 ;
19331 return 0;
19332}
19333_ACEOF
19334rm -f conftest.$ac_objext
19335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try='test -z "$ac_cxx_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19347 ac_status=$?
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 echo "$as_me:$LINENO: result: yes" >&5
19357echo "${ECHO_T}yes" >&6
19358 cat >>confdefs.h <<\_ACEOF
19359#define HAVE_STD_WSTRING 1
19360_ACEOF
19361
19362else
19363 echo "$as_me: failed program was:" >&5
19364sed 's/^/| /' conftest.$ac_ext >&5
19365
19366echo "$as_me:$LINENO: result: no" >&5
19367echo "${ECHO_T}no" >&6
19368fi
19369rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19370
19371 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19372echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19373 cat >conftest.$ac_ext <<_ACEOF
19374/* confdefs.h. */
19375_ACEOF
19376cat confdefs.h >>conftest.$ac_ext
19377cat >>conftest.$ac_ext <<_ACEOF
19378/* end confdefs.h. */
19379#include <string>
19380int
19381main ()
19382{
19383std::string foo, bar;
19384 foo.compare(bar);
19385 foo.compare(1, 1, bar);
19386 foo.compare(1, 1, bar, 1, 1);
19387 foo.compare("");
19388 foo.compare(1, 1, "");
19389 foo.compare(1, 1, "", 2);
19390 ;
19391 return 0;
19392}
19393_ACEOF
19394rm -f conftest.$ac_objext
19395if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_cxx_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19407 ac_status=$?
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19413 ac_status=$?
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 echo "$as_me:$LINENO: result: yes" >&5
19417echo "${ECHO_T}yes" >&6
19418 cat >>confdefs.h <<\_ACEOF
19419#define HAVE_STD_STRING_COMPARE 1
19420_ACEOF
19421
19422else
19423 echo "$as_me: failed program was:" >&5
19424sed 's/^/| /' conftest.$ac_ext >&5
19425
19426echo "$as_me:$LINENO: result: no" >&5
19427echo "${ECHO_T}no" >&6
19428fi
19429rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19430
19431 ac_ext=c
19432ac_cpp='$CPP $CPPFLAGS'
19433ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19434ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19435ac_compiler_gnu=$ac_cv_c_compiler_gnu
19436
19437fi
19438
19439
19440SEARCH_INCLUDE="\
19441 /usr/local/include \
19442 \
19443 /usr/Motif-2.1/include \
19444 /usr/Motif-1.2/include \
19445 /usr/include/Motif1.2 \
19446 /opt/xpm/include/X11 \
19447 /opt/GBxpm/include/ \
19448 /opt/GBxpm/X11/include/ \
19449 \
19450 /usr/dt/include \
19451 /usr/openwin/include \
19452 \
19453 /usr/include/Xm \
19454 \
19455 /usr/X11R6/include \
19456 /usr/X11R6.4/include \
19457 /usr/X11R5/include \
19458 /usr/X11R4/include \
19459 \
19460 /usr/include/X11R6 \
19461 /usr/include/X11R5 \
19462 /usr/include/X11R4 \
19463 \
19464 /usr/local/X11R6/include \
19465 /usr/local/X11R5/include \
19466 /usr/local/X11R4/include \
19467 \
19468 /usr/local/include/X11R6 \
19469 /usr/local/include/X11R5 \
19470 /usr/local/include/X11R4 \
19471 \
19472 /usr/X11/include \
19473 /usr/include/X11 \
19474 /usr/local/X11/include \
19475 /usr/local/include/X11 \
19476 \
19477 /usr/X386/include \
19478 /usr/x386/include \
19479 /usr/XFree86/include/X11 \
19480 \
19481 X:/XFree86/include \
19482 X:/XFree86/include/X11 \
19483 \
19484 /usr/include/gtk \
19485 /usr/local/include/gtk \
19486 /usr/include/glib \
19487 /usr/local/include/glib \
19488 \
19489 /usr/include/qt \
19490 /usr/local/include/qt \
19491 \
19492 /usr/local/arm/3.3.2/include \
19493 \
19494 /usr/include/windows \
19495 /usr/include/wine \
19496 /usr/local/include/wine \
19497 \
19498 /usr/unsupported/include \
19499 /usr/athena/include \
19500 /usr/local/x11r5/include \
19501 /usr/lpp/Xamples/include \
19502 \
19503 /usr/openwin/share/include"
19504
19505SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19506
19507
19508cat >confcache <<\_ACEOF
19509# This file is a shell script that caches the results of configure
19510# tests run on this system so they can be shared between configure
19511# scripts and configure runs, see configure's option --config-cache.
19512# It is not useful on other systems. If it contains results you don't
19513# want to keep, you may remove or edit it.
19514#
19515# config.status only pays attention to the cache file if you give it
19516# the --recheck option to rerun configure.
19517#
19518# `ac_cv_env_foo' variables (set or unset) will be overridden when
19519# loading this file, other *unset* `ac_cv_foo' will be assigned the
19520# following values.
19521
19522_ACEOF
19523
19524# The following way of writing the cache mishandles newlines in values,
19525# but we know of no workaround that is simple, portable, and efficient.
19526# So, don't put newlines in cache variables' values.
19527# Ultrix sh set writes to stderr and can't be redirected directly,
19528# and sets the high bit in the cache file unless we assign to the vars.
19529{
19530 (set) 2>&1 |
19531 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19532 *ac_space=\ *)
19533 # `set' does not quote correctly, so add quotes (double-quote
19534 # substitution turns \\\\ into \\, and sed turns \\ into \).
19535 sed -n \
19536 "s/'/'\\\\''/g;
19537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19538 ;;
19539 *)
19540 # `set' quotes correctly as required by POSIX, so do not add quotes.
19541 sed -n \
19542 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19543 ;;
19544 esac;
19545} |
19546 sed '
19547 t clear
19548 : clear
19549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19550 t end
19551 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19552 : end' >>confcache
19553if diff $cache_file confcache >/dev/null 2>&1; then :; else
19554 if test -w $cache_file; then
19555 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19556 cat confcache >$cache_file
19557 else
19558 echo "not updating unwritable cache $cache_file"
19559 fi
19560fi
19561rm -f confcache
19562
19563if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19564 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19565echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19566if test "${wx_cv_lib_glibc21+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19568else
19569
19570 cat >conftest.$ac_ext <<_ACEOF
19571/* confdefs.h. */
19572_ACEOF
19573cat confdefs.h >>conftest.$ac_ext
19574cat >>conftest.$ac_ext <<_ACEOF
19575/* end confdefs.h. */
19576#include <features.h>
19577int
19578main ()
19579{
19580
19581 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19582 #error not glibc2.1
19583 #endif
19584
19585 ;
19586 return 0;
19587}
19588_ACEOF
19589rm -f conftest.$ac_objext
19590if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>conftest.er1
19592 ac_status=$?
19593 grep -v '^ *+' conftest.er1 >conftest.err
19594 rm -f conftest.er1
19595 cat conftest.err >&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try='test -z "$ac_c_werror_flag"
19599 || test ! -s conftest.err'
19600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 (eval $ac_try) 2>&5
19602 ac_status=$?
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); }; } &&
19605 { ac_try='test -s conftest.$ac_objext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19611
19612 wx_cv_lib_glibc21=yes
19613
19614else
19615 echo "$as_me: failed program was:" >&5
19616sed 's/^/| /' conftest.$ac_ext >&5
19617
19618
19619 wx_cv_lib_glibc21=no
19620
19621
19622fi
19623rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19624
19625fi
19626echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19627echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19628 if test "$wx_cv_lib_glibc21" = "yes"; then
19629 cat >>confdefs.h <<\_ACEOF
19630#define wxHAVE_GLIBC2 1
19631_ACEOF
19632
19633 fi
19634fi
19635
19636if test "x$wx_cv_lib_glibc21" = "xyes"; then
19637 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19638 cat >>confdefs.h <<\_ACEOF
19639#define _GNU_SOURCE 1
19640_ACEOF
19641
19642 fi
19643fi
19644
19645
19646
19647if test "$wxUSE_REGEX" != "no"; then
19648 cat >>confdefs.h <<\_ACEOF
19649#define wxUSE_REGEX 1
19650_ACEOF
19651
19652
19653 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19654 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19655echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19656 wxUSE_REGEX=builtin
19657 fi
19658
19659 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19660 if test "${ac_cv_header_regex_h+set}" = set; then
19661 echo "$as_me:$LINENO: checking for regex.h" >&5
19662echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19663if test "${ac_cv_header_regex_h+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19665fi
19666echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19667echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19668else
19669 # Is the header compilable?
19670echo "$as_me:$LINENO: checking regex.h usability" >&5
19671echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19672cat >conftest.$ac_ext <<_ACEOF
19673/* confdefs.h. */
19674_ACEOF
19675cat confdefs.h >>conftest.$ac_ext
19676cat >>conftest.$ac_ext <<_ACEOF
19677/* end confdefs.h. */
19678$ac_includes_default
19679#include <regex.h>
19680_ACEOF
19681rm -f conftest.$ac_objext
19682if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19683 (eval $ac_compile) 2>conftest.er1
19684 ac_status=$?
19685 grep -v '^ *+' conftest.er1 >conftest.err
19686 rm -f conftest.er1
19687 cat conftest.err >&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } &&
19690 { ac_try='test -z "$ac_c_werror_flag"
19691 || test ! -s conftest.err'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19694 ac_status=$?
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try='test -s conftest.$ac_objext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19700 ac_status=$?
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_header_compiler=yes
19704else
19705 echo "$as_me: failed program was:" >&5
19706sed 's/^/| /' conftest.$ac_ext >&5
19707
19708ac_header_compiler=no
19709fi
19710rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19711echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19712echo "${ECHO_T}$ac_header_compiler" >&6
19713
19714# Is the header present?
19715echo "$as_me:$LINENO: checking regex.h presence" >&5
19716echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19717cat >conftest.$ac_ext <<_ACEOF
19718/* confdefs.h. */
19719_ACEOF
19720cat confdefs.h >>conftest.$ac_ext
19721cat >>conftest.$ac_ext <<_ACEOF
19722/* end confdefs.h. */
19723#include <regex.h>
19724_ACEOF
19725if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19727 ac_status=$?
19728 grep -v '^ *+' conftest.er1 >conftest.err
19729 rm -f conftest.er1
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } >/dev/null; then
19733 if test -s conftest.err; then
19734 ac_cpp_err=$ac_c_preproc_warn_flag
19735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19736 else
19737 ac_cpp_err=
19738 fi
19739else
19740 ac_cpp_err=yes
19741fi
19742if test -z "$ac_cpp_err"; then
19743 ac_header_preproc=yes
19744else
19745 echo "$as_me: failed program was:" >&5
19746sed 's/^/| /' conftest.$ac_ext >&5
19747
19748 ac_header_preproc=no
19749fi
19750rm -f conftest.err conftest.$ac_ext
19751echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19752echo "${ECHO_T}$ac_header_preproc" >&6
19753
19754# So? What about this header?
19755case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19756 yes:no: )
19757 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19758echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19759 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19760echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19761 ac_header_preproc=yes
19762 ;;
19763 no:yes:* )
19764 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19765echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19766 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19767echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19768 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19769echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19770 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19771echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19772 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19773echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19775echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19776 (
19777 cat <<\_ASBOX
19778## ----------------------------------------- ##
19779## Report this to wx-dev@lists.wxwindows.org ##
19780## ----------------------------------------- ##
19781_ASBOX
19782 ) |
19783 sed "s/^/$as_me: WARNING: /" >&2
19784 ;;
19785esac
19786echo "$as_me:$LINENO: checking for regex.h" >&5
19787echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19788if test "${ac_cv_header_regex_h+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19790else
19791 ac_cv_header_regex_h=$ac_header_preproc
19792fi
19793echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19794echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19795
19796fi
19797if test $ac_cv_header_regex_h = yes; then
19798
19799for ac_func in regcomp
19800do
19801as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19802echo "$as_me:$LINENO: checking for $ac_func" >&5
19803echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19804if eval "test \"\${$as_ac_var+set}\" = set"; then
19805 echo $ECHO_N "(cached) $ECHO_C" >&6
19806else
19807 cat >conftest.$ac_ext <<_ACEOF
19808/* confdefs.h. */
19809_ACEOF
19810cat confdefs.h >>conftest.$ac_ext
19811cat >>conftest.$ac_ext <<_ACEOF
19812/* end confdefs.h. */
19813/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19815#define $ac_func innocuous_$ac_func
19816
19817/* System header to define __stub macros and hopefully few prototypes,
19818 which can conflict with char $ac_func (); below.
19819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19820 <limits.h> exists even on freestanding compilers. */
19821
19822#ifdef __STDC__
19823# include <limits.h>
19824#else
19825# include <assert.h>
19826#endif
19827
19828#undef $ac_func
19829
19830/* Override any gcc2 internal prototype to avoid an error. */
19831#ifdef __cplusplus
19832extern "C"
19833{
19834#endif
19835/* We use char because int might match the return type of a gcc2
19836 builtin and then its argument prototype would still apply. */
19837char $ac_func ();
19838/* The GNU C library defines this for functions which it implements
19839 to always fail with ENOSYS. Some functions are actually named
19840 something starting with __ and the normal name is an alias. */
19841#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19842choke me
19843#else
19844char (*f) () = $ac_func;
19845#endif
19846#ifdef __cplusplus
19847}
19848#endif
19849
19850int
19851main ()
19852{
19853return f != $ac_func;
19854 ;
19855 return 0;
19856}
19857_ACEOF
19858rm -f conftest.$ac_objext conftest$ac_exeext
19859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19860 (eval $ac_link) 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try='test -z "$ac_c_werror_flag"
19868 || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19871 ac_status=$?
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest$ac_exeext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19877 ac_status=$?
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19880 eval "$as_ac_var=yes"
19881else
19882 echo "$as_me: failed program was:" >&5
19883sed 's/^/| /' conftest.$ac_ext >&5
19884
19885eval "$as_ac_var=no"
19886fi
19887rm -f conftest.err conftest.$ac_objext \
19888 conftest$ac_exeext conftest.$ac_ext
19889fi
19890echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19891echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19892if test `eval echo '${'$as_ac_var'}'` = yes; then
19893 cat >>confdefs.h <<_ACEOF
19894#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19895_ACEOF
19896
19897fi
19898done
19899
19900fi
19901
19902
19903
19904 if test "x$ac_cv_func_regcomp" != "xyes"; then
19905 if test "$wxUSE_REGEX" = "sys" ; then
19906 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19907echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19908 { (exit 1); exit 1; }; }
19909 else
19910 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19911echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19912 wxUSE_REGEX=builtin
19913 fi
19914 else
19915 wxUSE_REGEX=sys
19916 cat >>confdefs.h <<\_ACEOF
19917#define WX_NO_REGEX_ADVANCED 1
19918_ACEOF
19919
19920 fi
19921 fi
19922fi
19923
19924
19925ZLIB_LINK=
19926if test "$wxUSE_ZLIB" != "no" ; then
19927 cat >>confdefs.h <<\_ACEOF
19928#define wxUSE_ZLIB 1
19929_ACEOF
19930
19931
19932 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19933 if test "$USE_DARWIN" = 1; then
19934 system_zlib_h_ok="yes"
19935 else
19936 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19937echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19938if test "${ac_cv_header_zlib_h+set}" = set; then
19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19940else
19941 if test "$cross_compiling" = yes; then
19942 unset ac_cv_header_zlib_h
19943
19944else
19945 cat >conftest.$ac_ext <<_ACEOF
19946/* confdefs.h. */
19947_ACEOF
19948cat confdefs.h >>conftest.$ac_ext
19949cat >>conftest.$ac_ext <<_ACEOF
19950/* end confdefs.h. */
19951
19952 #include <zlib.h>
19953 #include <stdio.h>
19954
19955 int main()
19956 {
19957 FILE *f=fopen("conftestval", "w");
19958 if (!f) exit(1);
19959 fprintf(f, "%s",
19960 ZLIB_VERSION[0] == '1' &&
19961 (ZLIB_VERSION[2] > '1' ||
19962 (ZLIB_VERSION[2] == '1' &&
19963 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19964 exit(0);
19965 }
19966
19967_ACEOF
19968rm -f conftest$ac_exeext
19969if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19970 (eval $ac_link) 2>&5
19971 ac_status=$?
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_header_zlib_h=`cat conftestval`
19980else
19981 echo "$as_me: program exited with status $ac_status" >&5
19982echo "$as_me: failed program was:" >&5
19983sed 's/^/| /' conftest.$ac_ext >&5
19984
19985( exit $ac_status )
19986ac_cv_header_zlib_h=no
19987fi
19988rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19989fi
19990
19991fi
19992echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19993echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19994 if test "${ac_cv_header_zlib_h+set}" = set; then
19995 echo "$as_me:$LINENO: checking for zlib.h" >&5
19996echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19997if test "${ac_cv_header_zlib_h+set}" = set; then
19998 echo $ECHO_N "(cached) $ECHO_C" >&6
19999fi
20000echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20001echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20002else
20003 # Is the header compilable?
20004echo "$as_me:$LINENO: checking zlib.h usability" >&5
20005echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20006cat >conftest.$ac_ext <<_ACEOF
20007/* confdefs.h. */
20008_ACEOF
20009cat confdefs.h >>conftest.$ac_ext
20010cat >>conftest.$ac_ext <<_ACEOF
20011/* end confdefs.h. */
20012$ac_includes_default
20013#include <zlib.h>
20014_ACEOF
20015rm -f conftest.$ac_objext
20016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20017 (eval $ac_compile) 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } &&
20024 { ac_try='test -z "$ac_c_werror_flag"
20025 || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20034 ac_status=$?
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_header_compiler=yes
20038else
20039 echo "$as_me: failed program was:" >&5
20040sed 's/^/| /' conftest.$ac_ext >&5
20041
20042ac_header_compiler=no
20043fi
20044rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20045echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20046echo "${ECHO_T}$ac_header_compiler" >&6
20047
20048# Is the header present?
20049echo "$as_me:$LINENO: checking zlib.h presence" >&5
20050echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20051cat >conftest.$ac_ext <<_ACEOF
20052/* confdefs.h. */
20053_ACEOF
20054cat confdefs.h >>conftest.$ac_ext
20055cat >>conftest.$ac_ext <<_ACEOF
20056/* end confdefs.h. */
20057#include <zlib.h>
20058_ACEOF
20059if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20061 ac_status=$?
20062 grep -v '^ *+' conftest.er1 >conftest.err
20063 rm -f conftest.er1
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } >/dev/null; then
20067 if test -s conftest.err; then
20068 ac_cpp_err=$ac_c_preproc_warn_flag
20069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20070 else
20071 ac_cpp_err=
20072 fi
20073else
20074 ac_cpp_err=yes
20075fi
20076if test -z "$ac_cpp_err"; then
20077 ac_header_preproc=yes
20078else
20079 echo "$as_me: failed program was:" >&5
20080sed 's/^/| /' conftest.$ac_ext >&5
20081
20082 ac_header_preproc=no
20083fi
20084rm -f conftest.err conftest.$ac_ext
20085echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20086echo "${ECHO_T}$ac_header_preproc" >&6
20087
20088# So? What about this header?
20089case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20090 yes:no: )
20091 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20092echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20093 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20094echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20095 ac_header_preproc=yes
20096 ;;
20097 no:yes:* )
20098 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20099echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20100 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20101echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20102 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20103echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20104 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20105echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20106 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20107echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20108 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20109echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20110 (
20111 cat <<\_ASBOX
20112## ----------------------------------------- ##
20113## Report this to wx-dev@lists.wxwindows.org ##
20114## ----------------------------------------- ##
20115_ASBOX
20116 ) |
20117 sed "s/^/$as_me: WARNING: /" >&2
20118 ;;
20119esac
20120echo "$as_me:$LINENO: checking for zlib.h" >&5
20121echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20122if test "${ac_cv_header_zlib_h+set}" = set; then
20123 echo $ECHO_N "(cached) $ECHO_C" >&6
20124else
20125 ac_cv_header_zlib_h=$ac_header_preproc
20126fi
20127echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20128echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20129
20130fi
20131
20132
20133
20134 system_zlib_h_ok=$ac_cv_header_zlib_h
20135 fi
20136
20137 if test "$system_zlib_h_ok" = "yes"; then
20138 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20139echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20140if test "${ac_cv_lib_z_deflate+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142else
20143 ac_check_lib_save_LIBS=$LIBS
20144LIBS="-lz $LIBS"
20145cat >conftest.$ac_ext <<_ACEOF
20146/* confdefs.h. */
20147_ACEOF
20148cat confdefs.h >>conftest.$ac_ext
20149cat >>conftest.$ac_ext <<_ACEOF
20150/* end confdefs.h. */
20151
20152/* Override any gcc2 internal prototype to avoid an error. */
20153#ifdef __cplusplus
20154extern "C"
20155#endif
20156/* We use char because int might match the return type of a gcc2
20157 builtin and then its argument prototype would still apply. */
20158char deflate ();
20159int
20160main ()
20161{
20162deflate ();
20163 ;
20164 return 0;
20165}
20166_ACEOF
20167rm -f conftest.$ac_objext conftest$ac_exeext
20168if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20169 (eval $ac_link) 2>conftest.er1
20170 ac_status=$?
20171 grep -v '^ *+' conftest.er1 >conftest.err
20172 rm -f conftest.er1
20173 cat conftest.err >&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try='test -z "$ac_c_werror_flag"
20177 || test ! -s conftest.err'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20180 ac_status=$?
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; } &&
20183 { ac_try='test -s conftest$ac_exeext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20189 ac_cv_lib_z_deflate=yes
20190else
20191 echo "$as_me: failed program was:" >&5
20192sed 's/^/| /' conftest.$ac_ext >&5
20193
20194ac_cv_lib_z_deflate=no
20195fi
20196rm -f conftest.err conftest.$ac_objext \
20197 conftest$ac_exeext conftest.$ac_ext
20198LIBS=$ac_check_lib_save_LIBS
20199fi
20200echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20201echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20202if test $ac_cv_lib_z_deflate = yes; then
20203 ZLIB_LINK=" -lz"
20204fi
20205
20206 fi
20207
20208 if test "x$ZLIB_LINK" = "x" ; then
20209 if test "$wxUSE_ZLIB" = "sys" ; then
20210 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20211echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20212 { (exit 1); exit 1; }; }
20213 else
20214 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20215echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20216 wxUSE_ZLIB=builtin
20217 fi
20218 else
20219 wxUSE_ZLIB=sys
20220 fi
20221 fi
20222fi
20223
20224
20225PNG_LINK=
20226if test "$wxUSE_LIBPNG" != "no" ; then
20227 cat >>confdefs.h <<\_ACEOF
20228#define wxUSE_LIBPNG 1
20229_ACEOF
20230
20231
20232 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20233 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20234echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20235 wxUSE_LIBPNG=sys
20236 fi
20237
20238 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20239 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20240echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20241 wxUSE_LIBPNG=builtin
20242 fi
20243
20244 if test "$wxUSE_MGL" != 1 ; then
20245 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20246 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20247echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20248if test "${ac_cv_header_png_h+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20250else
20251 if test "$cross_compiling" = yes; then
20252 unset ac_cv_header_png_h
20253
20254else
20255 cat >conftest.$ac_ext <<_ACEOF
20256/* confdefs.h. */
20257_ACEOF
20258cat confdefs.h >>conftest.$ac_ext
20259cat >>conftest.$ac_ext <<_ACEOF
20260/* end confdefs.h. */
20261
20262 #include <png.h>
20263 #include <stdio.h>
20264
20265 int main()
20266 {
20267 FILE *f=fopen("conftestval", "w");
20268 if (!f) exit(1);
20269 fprintf(f, "%s",
20270 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20271 exit(0);
20272 }
20273
20274_ACEOF
20275rm -f conftest$ac_exeext
20276if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20277 (eval $ac_link) 2>&5
20278 ac_status=$?
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_header_png_h=`cat conftestval`
20287else
20288 echo "$as_me: program exited with status $ac_status" >&5
20289echo "$as_me: failed program was:" >&5
20290sed 's/^/| /' conftest.$ac_ext >&5
20291
20292( exit $ac_status )
20293ac_cv_header_png_h=no
20294fi
20295rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20296fi
20297
20298fi
20299echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20300echo "${ECHO_T}$ac_cv_header_png_h" >&6
20301 if test "${ac_cv_header_png_h+set}" = set; then
20302 echo "$as_me:$LINENO: checking for png.h" >&5
20303echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20304if test "${ac_cv_header_png_h+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20306fi
20307echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20308echo "${ECHO_T}$ac_cv_header_png_h" >&6
20309else
20310 # Is the header compilable?
20311echo "$as_me:$LINENO: checking png.h usability" >&5
20312echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20313cat >conftest.$ac_ext <<_ACEOF
20314/* confdefs.h. */
20315_ACEOF
20316cat confdefs.h >>conftest.$ac_ext
20317cat >>conftest.$ac_ext <<_ACEOF
20318/* end confdefs.h. */
20319$ac_includes_default
20320#include <png.h>
20321_ACEOF
20322rm -f conftest.$ac_objext
20323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20324 (eval $ac_compile) 2>conftest.er1
20325 ac_status=$?
20326 grep -v '^ *+' conftest.er1 >conftest.err
20327 rm -f conftest.er1
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } &&
20331 { ac_try='test -z "$ac_c_werror_flag"
20332 || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try='test -s conftest.$ac_objext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20341 ac_status=$?
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_header_compiler=yes
20345else
20346 echo "$as_me: failed program was:" >&5
20347sed 's/^/| /' conftest.$ac_ext >&5
20348
20349ac_header_compiler=no
20350fi
20351rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20352echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20353echo "${ECHO_T}$ac_header_compiler" >&6
20354
20355# Is the header present?
20356echo "$as_me:$LINENO: checking png.h presence" >&5
20357echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20358cat >conftest.$ac_ext <<_ACEOF
20359/* confdefs.h. */
20360_ACEOF
20361cat confdefs.h >>conftest.$ac_ext
20362cat >>conftest.$ac_ext <<_ACEOF
20363/* end confdefs.h. */
20364#include <png.h>
20365_ACEOF
20366if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20368 ac_status=$?
20369 grep -v '^ *+' conftest.er1 >conftest.err
20370 rm -f conftest.er1
20371 cat conftest.err >&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } >/dev/null; then
20374 if test -s conftest.err; then
20375 ac_cpp_err=$ac_c_preproc_warn_flag
20376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20377 else
20378 ac_cpp_err=
20379 fi
20380else
20381 ac_cpp_err=yes
20382fi
20383if test -z "$ac_cpp_err"; then
20384 ac_header_preproc=yes
20385else
20386 echo "$as_me: failed program was:" >&5
20387sed 's/^/| /' conftest.$ac_ext >&5
20388
20389 ac_header_preproc=no
20390fi
20391rm -f conftest.err conftest.$ac_ext
20392echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20393echo "${ECHO_T}$ac_header_preproc" >&6
20394
20395# So? What about this header?
20396case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20397 yes:no: )
20398 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20399echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20400 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20401echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20402 ac_header_preproc=yes
20403 ;;
20404 no:yes:* )
20405 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20406echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20407 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20408echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20409 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20410echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20411 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20412echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20413 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20414echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20415 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20416echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20417 (
20418 cat <<\_ASBOX
20419## ----------------------------------------- ##
20420## Report this to wx-dev@lists.wxwindows.org ##
20421## ----------------------------------------- ##
20422_ASBOX
20423 ) |
20424 sed "s/^/$as_me: WARNING: /" >&2
20425 ;;
20426esac
20427echo "$as_me:$LINENO: checking for png.h" >&5
20428echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20429if test "${ac_cv_header_png_h+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20431else
20432 ac_cv_header_png_h=$ac_header_preproc
20433fi
20434echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20435echo "${ECHO_T}$ac_cv_header_png_h" >&6
20436
20437fi
20438
20439
20440
20441 if test "$ac_cv_header_png_h" = "yes"; then
20442 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20443echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20444if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20446else
20447 ac_check_lib_save_LIBS=$LIBS
20448LIBS="-lpng -lz -lm $LIBS"
20449cat >conftest.$ac_ext <<_ACEOF
20450/* confdefs.h. */
20451_ACEOF
20452cat confdefs.h >>conftest.$ac_ext
20453cat >>conftest.$ac_ext <<_ACEOF
20454/* end confdefs.h. */
20455
20456/* Override any gcc2 internal prototype to avoid an error. */
20457#ifdef __cplusplus
20458extern "C"
20459#endif
20460/* We use char because int might match the return type of a gcc2
20461 builtin and then its argument prototype would still apply. */
20462char png_check_sig ();
20463int
20464main ()
20465{
20466png_check_sig ();
20467 ;
20468 return 0;
20469}
20470_ACEOF
20471rm -f conftest.$ac_objext conftest$ac_exeext
20472if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20473 (eval $ac_link) 2>conftest.er1
20474 ac_status=$?
20475 grep -v '^ *+' conftest.er1 >conftest.err
20476 rm -f conftest.er1
20477 cat conftest.err >&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try='test -z "$ac_c_werror_flag"
20481 || test ! -s conftest.err'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20484 ac_status=$?
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; } &&
20487 { ac_try='test -s conftest$ac_exeext'
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489 (eval $ac_try) 2>&5
20490 ac_status=$?
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; }; then
20493 ac_cv_lib_png_png_check_sig=yes
20494else
20495 echo "$as_me: failed program was:" >&5
20496sed 's/^/| /' conftest.$ac_ext >&5
20497
20498ac_cv_lib_png_png_check_sig=no
20499fi
20500rm -f conftest.err conftest.$ac_objext \
20501 conftest$ac_exeext conftest.$ac_ext
20502LIBS=$ac_check_lib_save_LIBS
20503fi
20504echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20505echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20506if test $ac_cv_lib_png_png_check_sig = yes; then
20507 PNG_LINK=" -lpng -lz"
20508fi
20509
20510 fi
20511
20512 if test "x$PNG_LINK" = "x" ; then
20513 if test "$wxUSE_LIBPNG" = "sys" ; then
20514 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20515echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20516 { (exit 1); exit 1; }; }
20517 else
20518 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20519echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20520 wxUSE_LIBPNG=builtin
20521 fi
20522 else
20523 wxUSE_LIBPNG=sys
20524 fi
20525 fi
20526 fi
20527
20528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20529fi
20530
20531
20532JPEG_LINK=
20533if test "$wxUSE_LIBJPEG" != "no" ; then
20534 cat >>confdefs.h <<\_ACEOF
20535#define wxUSE_LIBJPEG 1
20536_ACEOF
20537
20538
20539 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20540 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20541echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20542 wxUSE_LIBJPEG=sys
20543 fi
20544
20545 if test "$wxUSE_MGL" != 1 ; then
20546 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20547 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20548echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20549 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20550 echo $ECHO_N "(cached) $ECHO_C" >&6
20551else
20552 cat >conftest.$ac_ext <<_ACEOF
20553/* confdefs.h. */
20554_ACEOF
20555cat confdefs.h >>conftest.$ac_ext
20556cat >>conftest.$ac_ext <<_ACEOF
20557/* end confdefs.h. */
20558
20559 #undef HAVE_STDLIB_H
20560 #include <stdio.h>
20561 #include <jpeglib.h>
20562
20563int
20564main ()
20565{
20566
20567
20568 ;
20569 return 0;
20570}
20571_ACEOF
20572rm -f conftest.$ac_objext
20573if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20574 (eval $ac_compile) 2>conftest.er1
20575 ac_status=$?
20576 grep -v '^ *+' conftest.er1 >conftest.err
20577 rm -f conftest.er1
20578 cat conftest.err >&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try='test -z "$ac_c_werror_flag"
20582 || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20585 ac_status=$?
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try='test -s conftest.$ac_objext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_header_jpeglib_h=yes
20595else
20596 echo "$as_me: failed program was:" >&5
20597sed 's/^/| /' conftest.$ac_ext >&5
20598
20599ac_cv_header_jpeglib_h=no
20600
20601fi
20602rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20603
20604fi
20605
20606 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20607echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20608
20609 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20610 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20611echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20612if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20613 echo $ECHO_N "(cached) $ECHO_C" >&6
20614else
20615 ac_check_lib_save_LIBS=$LIBS
20616LIBS="-ljpeg $LIBS"
20617cat >conftest.$ac_ext <<_ACEOF
20618/* confdefs.h. */
20619_ACEOF
20620cat confdefs.h >>conftest.$ac_ext
20621cat >>conftest.$ac_ext <<_ACEOF
20622/* end confdefs.h. */
20623
20624/* Override any gcc2 internal prototype to avoid an error. */
20625#ifdef __cplusplus
20626extern "C"
20627#endif
20628/* We use char because int might match the return type of a gcc2
20629 builtin and then its argument prototype would still apply. */
20630char jpeg_read_header ();
20631int
20632main ()
20633{
20634jpeg_read_header ();
20635 ;
20636 return 0;
20637}
20638_ACEOF
20639rm -f conftest.$ac_objext conftest$ac_exeext
20640if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20641 (eval $ac_link) 2>conftest.er1
20642 ac_status=$?
20643 grep -v '^ *+' conftest.er1 >conftest.err
20644 rm -f conftest.er1
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } &&
20648 { ac_try='test -z "$ac_c_werror_flag"
20649 || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try='test -s conftest$ac_exeext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20658 ac_status=$?
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_cv_lib_jpeg_jpeg_read_header=yes
20662else
20663 echo "$as_me: failed program was:" >&5
20664sed 's/^/| /' conftest.$ac_ext >&5
20665
20666ac_cv_lib_jpeg_jpeg_read_header=no
20667fi
20668rm -f conftest.err conftest.$ac_objext \
20669 conftest$ac_exeext conftest.$ac_ext
20670LIBS=$ac_check_lib_save_LIBS
20671fi
20672echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20673echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20674if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20675 JPEG_LINK=" -ljpeg"
20676fi
20677
20678 fi
20679
20680 if test "x$JPEG_LINK" = "x" ; then
20681 if test "$wxUSE_LIBJPEG" = "sys" ; then
20682 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20683echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20684 { (exit 1); exit 1; }; }
20685 else
20686 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20687echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20688 wxUSE_LIBJPEG=builtin
20689 fi
20690 else
20691 wxUSE_LIBJPEG=sys
20692 fi
20693 fi
20694 fi
20695fi
20696
20697
20698TIFF_LINK=
20699TIFF_PREREQ_LINKS=-lm
20700if test "$wxUSE_LIBTIFF" != "no" ; then
20701 cat >>confdefs.h <<\_ACEOF
20702#define wxUSE_LIBTIFF 1
20703_ACEOF
20704
20705
20706 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20707 if test "$wxUSE_LIBJPEG" = "sys"; then
20708 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20709 fi
20710 if test "$wxUSE_ZLIB" = "sys"; then
20711 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20712 fi
20713 if test "${ac_cv_header_tiffio_h+set}" = set; then
20714 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20715echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20716if test "${ac_cv_header_tiffio_h+set}" = set; then
20717 echo $ECHO_N "(cached) $ECHO_C" >&6
20718fi
20719echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20720echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20721else
20722 # Is the header compilable?
20723echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20724echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20725cat >conftest.$ac_ext <<_ACEOF
20726/* confdefs.h. */
20727_ACEOF
20728cat confdefs.h >>conftest.$ac_ext
20729cat >>conftest.$ac_ext <<_ACEOF
20730/* end confdefs.h. */
20731$ac_includes_default
20732#include <tiffio.h>
20733_ACEOF
20734rm -f conftest.$ac_objext
20735if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20736 (eval $ac_compile) 2>conftest.er1
20737 ac_status=$?
20738 grep -v '^ *+' conftest.er1 >conftest.err
20739 rm -f conftest.er1
20740 cat conftest.err >&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } &&
20743 { ac_try='test -z "$ac_c_werror_flag"
20744 || test ! -s conftest.err'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20747 ac_status=$?
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; } &&
20750 { ac_try='test -s conftest.$ac_objext'
20751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20752 (eval $ac_try) 2>&5
20753 ac_status=$?
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; }; then
20756 ac_header_compiler=yes
20757else
20758 echo "$as_me: failed program was:" >&5
20759sed 's/^/| /' conftest.$ac_ext >&5
20760
20761ac_header_compiler=no
20762fi
20763rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20764echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20765echo "${ECHO_T}$ac_header_compiler" >&6
20766
20767# Is the header present?
20768echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20769echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20770cat >conftest.$ac_ext <<_ACEOF
20771/* confdefs.h. */
20772_ACEOF
20773cat confdefs.h >>conftest.$ac_ext
20774cat >>conftest.$ac_ext <<_ACEOF
20775/* end confdefs.h. */
20776#include <tiffio.h>
20777_ACEOF
20778if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } >/dev/null; then
20786 if test -s conftest.err; then
20787 ac_cpp_err=$ac_c_preproc_warn_flag
20788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20789 else
20790 ac_cpp_err=
20791 fi
20792else
20793 ac_cpp_err=yes
20794fi
20795if test -z "$ac_cpp_err"; then
20796 ac_header_preproc=yes
20797else
20798 echo "$as_me: failed program was:" >&5
20799sed 's/^/| /' conftest.$ac_ext >&5
20800
20801 ac_header_preproc=no
20802fi
20803rm -f conftest.err conftest.$ac_ext
20804echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20805echo "${ECHO_T}$ac_header_preproc" >&6
20806
20807# So? What about this header?
20808case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20809 yes:no: )
20810 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20811echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20812 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20813echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20814 ac_header_preproc=yes
20815 ;;
20816 no:yes:* )
20817 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20818echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20819 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20820echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20821 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20822echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20823 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20824echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20825 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20826echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20827 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20828echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20829 (
20830 cat <<\_ASBOX
20831## ----------------------------------------- ##
20832## Report this to wx-dev@lists.wxwindows.org ##
20833## ----------------------------------------- ##
20834_ASBOX
20835 ) |
20836 sed "s/^/$as_me: WARNING: /" >&2
20837 ;;
20838esac
20839echo "$as_me:$LINENO: checking for tiffio.h" >&5
20840echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20841if test "${ac_cv_header_tiffio_h+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20843else
20844 ac_cv_header_tiffio_h=$ac_header_preproc
20845fi
20846echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20847echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20848
20849fi
20850if test $ac_cv_header_tiffio_h = yes; then
20851
20852 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20853echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20854if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20856else
20857 ac_check_lib_save_LIBS=$LIBS
20858LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20859cat >conftest.$ac_ext <<_ACEOF
20860/* confdefs.h. */
20861_ACEOF
20862cat confdefs.h >>conftest.$ac_ext
20863cat >>conftest.$ac_ext <<_ACEOF
20864/* end confdefs.h. */
20865
20866/* Override any gcc2 internal prototype to avoid an error. */
20867#ifdef __cplusplus
20868extern "C"
20869#endif
20870/* We use char because int might match the return type of a gcc2
20871 builtin and then its argument prototype would still apply. */
20872char TIFFError ();
20873int
20874main ()
20875{
20876TIFFError ();
20877 ;
20878 return 0;
20879}
20880_ACEOF
20881rm -f conftest.$ac_objext conftest$ac_exeext
20882if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20883 (eval $ac_link) 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try='test -z "$ac_c_werror_flag"
20891 || test ! -s conftest.err'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; } &&
20897 { ac_try='test -s conftest$ac_exeext'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20900 ac_status=$?
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; }; then
20903 ac_cv_lib_tiff_TIFFError=yes
20904else
20905 echo "$as_me: failed program was:" >&5
20906sed 's/^/| /' conftest.$ac_ext >&5
20907
20908ac_cv_lib_tiff_TIFFError=no
20909fi
20910rm -f conftest.err conftest.$ac_objext \
20911 conftest$ac_exeext conftest.$ac_ext
20912LIBS=$ac_check_lib_save_LIBS
20913fi
20914echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20915echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20916if test $ac_cv_lib_tiff_TIFFError = yes; then
20917 TIFF_LINK=" -ltiff"
20918fi
20919
20920
20921
20922fi
20923
20924
20925
20926 if test "x$TIFF_LINK" = "x" ; then
20927 if test "$wxUSE_LIBTIFF" = "sys" ; then
20928 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20929echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20930 { (exit 1); exit 1; }; }
20931 else
20932 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20933echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20934 wxUSE_LIBTIFF=builtin
20935 fi
20936 else
20937 wxUSE_LIBTIFF=sys
20938 fi
20939 fi
20940fi
20941
20942
20943if test "$wxUSE_EXPAT" != "no"; then
20944 wxUSE_XML=yes
20945 cat >>confdefs.h <<\_ACEOF
20946#define wxUSE_EXPAT 1
20947_ACEOF
20948
20949 cat >>confdefs.h <<\_ACEOF
20950#define wxUSE_XML 1
20951_ACEOF
20952
20953
20954 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20955 if test "${ac_cv_header_expat_h+set}" = set; then
20956 echo "$as_me:$LINENO: checking for expat.h" >&5
20957echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20958if test "${ac_cv_header_expat_h+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960fi
20961echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20962echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20963else
20964 # Is the header compilable?
20965echo "$as_me:$LINENO: checking expat.h usability" >&5
20966echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20967cat >conftest.$ac_ext <<_ACEOF
20968/* confdefs.h. */
20969_ACEOF
20970cat confdefs.h >>conftest.$ac_ext
20971cat >>conftest.$ac_ext <<_ACEOF
20972/* end confdefs.h. */
20973$ac_includes_default
20974#include <expat.h>
20975_ACEOF
20976rm -f conftest.$ac_objext
20977if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20978 (eval $ac_compile) 2>conftest.er1
20979 ac_status=$?
20980 grep -v '^ *+' conftest.er1 >conftest.err
20981 rm -f conftest.er1
20982 cat conftest.err >&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try='test -z "$ac_c_werror_flag"
20986 || test ! -s conftest.err'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; } &&
20992 { ac_try='test -s conftest.$ac_objext'
20993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994 (eval $ac_try) 2>&5
20995 ac_status=$?
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); }; }; then
20998 ac_header_compiler=yes
20999else
21000 echo "$as_me: failed program was:" >&5
21001sed 's/^/| /' conftest.$ac_ext >&5
21002
21003ac_header_compiler=no
21004fi
21005rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21006echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21007echo "${ECHO_T}$ac_header_compiler" >&6
21008
21009# Is the header present?
21010echo "$as_me:$LINENO: checking expat.h presence" >&5
21011echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21012cat >conftest.$ac_ext <<_ACEOF
21013/* confdefs.h. */
21014_ACEOF
21015cat confdefs.h >>conftest.$ac_ext
21016cat >>conftest.$ac_ext <<_ACEOF
21017/* end confdefs.h. */
21018#include <expat.h>
21019_ACEOF
21020if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21022 ac_status=$?
21023 grep -v '^ *+' conftest.er1 >conftest.err
21024 rm -f conftest.er1
21025 cat conftest.err >&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } >/dev/null; then
21028 if test -s conftest.err; then
21029 ac_cpp_err=$ac_c_preproc_warn_flag
21030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21031 else
21032 ac_cpp_err=
21033 fi
21034else
21035 ac_cpp_err=yes
21036fi
21037if test -z "$ac_cpp_err"; then
21038 ac_header_preproc=yes
21039else
21040 echo "$as_me: failed program was:" >&5
21041sed 's/^/| /' conftest.$ac_ext >&5
21042
21043 ac_header_preproc=no
21044fi
21045rm -f conftest.err conftest.$ac_ext
21046echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21047echo "${ECHO_T}$ac_header_preproc" >&6
21048
21049# So? What about this header?
21050case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21051 yes:no: )
21052 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21053echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21054 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21055echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21056 ac_header_preproc=yes
21057 ;;
21058 no:yes:* )
21059 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21060echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21061 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21062echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21063 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21064echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21065 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21066echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21067 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21068echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21069 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21070echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21071 (
21072 cat <<\_ASBOX
21073## ----------------------------------------- ##
21074## Report this to wx-dev@lists.wxwindows.org ##
21075## ----------------------------------------- ##
21076_ASBOX
21077 ) |
21078 sed "s/^/$as_me: WARNING: /" >&2
21079 ;;
21080esac
21081echo "$as_me:$LINENO: checking for expat.h" >&5
21082echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21083if test "${ac_cv_header_expat_h+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21085else
21086 ac_cv_header_expat_h=$ac_header_preproc
21087fi
21088echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21089echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21090
21091fi
21092if test $ac_cv_header_expat_h = yes; then
21093 found_expat_h=1
21094fi
21095
21096
21097 if test "x$found_expat_h" = "x1"; then
21098 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21099echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21100if test "${wx_cv_expat_is_not_broken+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21102else
21103
21104
21105
21106 ac_ext=cc
21107ac_cpp='$CXXCPP $CPPFLAGS'
21108ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21111
21112 cat >conftest.$ac_ext <<_ACEOF
21113/* confdefs.h. */
21114_ACEOF
21115cat confdefs.h >>conftest.$ac_ext
21116cat >>conftest.$ac_ext <<_ACEOF
21117/* end confdefs.h. */
21118#include <expat.h>
21119int
21120main ()
21121{
21122
21123 ;
21124 return 0;
21125}
21126_ACEOF
21127rm -f conftest.$ac_objext
21128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21129 (eval $ac_compile) 2>conftest.er1
21130 ac_status=$?
21131 grep -v '^ *+' conftest.er1 >conftest.err
21132 rm -f conftest.er1
21133 cat conftest.err >&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } &&
21136 { ac_try='test -z "$ac_cxx_werror_flag"
21137 || test ! -s conftest.err'
21138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21139 (eval $ac_try) 2>&5
21140 ac_status=$?
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; } &&
21143 { ac_try='test -s conftest.$ac_objext'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; }; then
21149 wx_cv_expat_is_not_broken=yes
21150else
21151 echo "$as_me: failed program was:" >&5
21152sed 's/^/| /' conftest.$ac_ext >&5
21153
21154wx_cv_expat_is_not_broken=no
21155
21156fi
21157rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21158 ac_ext=c
21159ac_cpp='$CPP $CPPFLAGS'
21160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162ac_compiler_gnu=$ac_cv_c_compiler_gnu
21163
21164
21165
21166fi
21167echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21168echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21169 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21170 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21171echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21172if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174else
21175 ac_check_lib_save_LIBS=$LIBS
21176LIBS="-lexpat $LIBS"
21177cat >conftest.$ac_ext <<_ACEOF
21178/* confdefs.h. */
21179_ACEOF
21180cat confdefs.h >>conftest.$ac_ext
21181cat >>conftest.$ac_ext <<_ACEOF
21182/* end confdefs.h. */
21183
21184/* Override any gcc2 internal prototype to avoid an error. */
21185#ifdef __cplusplus
21186extern "C"
21187#endif
21188/* We use char because int might match the return type of a gcc2
21189 builtin and then its argument prototype would still apply. */
21190char XML_ParserCreate ();
21191int
21192main ()
21193{
21194XML_ParserCreate ();
21195 ;
21196 return 0;
21197}
21198_ACEOF
21199rm -f conftest.$ac_objext conftest$ac_exeext
21200if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21201 (eval $ac_link) 2>conftest.er1
21202 ac_status=$?
21203 grep -v '^ *+' conftest.er1 >conftest.err
21204 rm -f conftest.er1
21205 cat conftest.err >&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } &&
21208 { ac_try='test -z "$ac_c_werror_flag"
21209 || test ! -s conftest.err'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21212 ac_status=$?
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; } &&
21215 { ac_try='test -s conftest$ac_exeext'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21218 ac_status=$?
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; }; then
21221 ac_cv_lib_expat_XML_ParserCreate=yes
21222else
21223 echo "$as_me: failed program was:" >&5
21224sed 's/^/| /' conftest.$ac_ext >&5
21225
21226ac_cv_lib_expat_XML_ParserCreate=no
21227fi
21228rm -f conftest.err conftest.$ac_objext \
21229 conftest$ac_exeext conftest.$ac_ext
21230LIBS=$ac_check_lib_save_LIBS
21231fi
21232echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21233echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21234if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21235 EXPAT_LINK=" -lexpat"
21236fi
21237
21238 fi
21239 fi
21240 if test "x$EXPAT_LINK" = "x" ; then
21241 if test "$wxUSE_EXPAT" = "sys" ; then
21242 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21243echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21244 { (exit 1); exit 1; }; }
21245 else
21246 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21247echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21248 wxUSE_EXPAT=builtin
21249 fi
21250 else
21251 wxUSE_EXPAT=sys
21252 fi
21253 fi
21254 if test "$wxUSE_EXPAT" = "builtin" ; then
21255
21256
21257subdirs="$subdirs src/expat"
21258
21259 fi
21260fi
21261
21262
21263
21264if test "$wxUSE_LIBMSPACK" != "no"; then
21265
21266 if test "${ac_cv_header_mspack_h+set}" = set; then
21267 echo "$as_me:$LINENO: checking for mspack.h" >&5
21268echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21269if test "${ac_cv_header_mspack_h+set}" = set; then
21270 echo $ECHO_N "(cached) $ECHO_C" >&6
21271fi
21272echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21273echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21274else
21275 # Is the header compilable?
21276echo "$as_me:$LINENO: checking mspack.h usability" >&5
21277echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21278cat >conftest.$ac_ext <<_ACEOF
21279/* confdefs.h. */
21280_ACEOF
21281cat confdefs.h >>conftest.$ac_ext
21282cat >>conftest.$ac_ext <<_ACEOF
21283/* end confdefs.h. */
21284$ac_includes_default
21285#include <mspack.h>
21286_ACEOF
21287rm -f conftest.$ac_objext
21288if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try='test -z "$ac_c_werror_flag"
21297 || test ! -s conftest.err'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21300 ac_status=$?
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; } &&
21303 { ac_try='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21306 ac_status=$?
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_header_compiler=yes
21310else
21311 echo "$as_me: failed program was:" >&5
21312sed 's/^/| /' conftest.$ac_ext >&5
21313
21314ac_header_compiler=no
21315fi
21316rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21317echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21318echo "${ECHO_T}$ac_header_compiler" >&6
21319
21320# Is the header present?
21321echo "$as_me:$LINENO: checking mspack.h presence" >&5
21322echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21323cat >conftest.$ac_ext <<_ACEOF
21324/* confdefs.h. */
21325_ACEOF
21326cat confdefs.h >>conftest.$ac_ext
21327cat >>conftest.$ac_ext <<_ACEOF
21328/* end confdefs.h. */
21329#include <mspack.h>
21330_ACEOF
21331if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21333 ac_status=$?
21334 grep -v '^ *+' conftest.er1 >conftest.err
21335 rm -f conftest.er1
21336 cat conftest.err >&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } >/dev/null; then
21339 if test -s conftest.err; then
21340 ac_cpp_err=$ac_c_preproc_warn_flag
21341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21342 else
21343 ac_cpp_err=
21344 fi
21345else
21346 ac_cpp_err=yes
21347fi
21348if test -z "$ac_cpp_err"; then
21349 ac_header_preproc=yes
21350else
21351 echo "$as_me: failed program was:" >&5
21352sed 's/^/| /' conftest.$ac_ext >&5
21353
21354 ac_header_preproc=no
21355fi
21356rm -f conftest.err conftest.$ac_ext
21357echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21358echo "${ECHO_T}$ac_header_preproc" >&6
21359
21360# So? What about this header?
21361case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21362 yes:no: )
21363 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21364echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21365 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21366echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21367 ac_header_preproc=yes
21368 ;;
21369 no:yes:* )
21370 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21371echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21372 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21373echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21374 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21375echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21376 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21377echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21378 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21379echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21380 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21381echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21382 (
21383 cat <<\_ASBOX
21384## ----------------------------------------- ##
21385## Report this to wx-dev@lists.wxwindows.org ##
21386## ----------------------------------------- ##
21387_ASBOX
21388 ) |
21389 sed "s/^/$as_me: WARNING: /" >&2
21390 ;;
21391esac
21392echo "$as_me:$LINENO: checking for mspack.h" >&5
21393echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21394if test "${ac_cv_header_mspack_h+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21396else
21397 ac_cv_header_mspack_h=$ac_header_preproc
21398fi
21399echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21400echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21401
21402fi
21403if test $ac_cv_header_mspack_h = yes; then
21404 found_mspack_h=1
21405fi
21406
21407
21408 if test "x$found_mspack_h" = "x1"; then
21409 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21410echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21411if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21413else
21414 ac_check_lib_save_LIBS=$LIBS
21415LIBS="-lmspack $LIBS"
21416cat >conftest.$ac_ext <<_ACEOF
21417/* confdefs.h. */
21418_ACEOF
21419cat confdefs.h >>conftest.$ac_ext
21420cat >>conftest.$ac_ext <<_ACEOF
21421/* end confdefs.h. */
21422
21423/* Override any gcc2 internal prototype to avoid an error. */
21424#ifdef __cplusplus
21425extern "C"
21426#endif
21427/* We use char because int might match the return type of a gcc2
21428 builtin and then its argument prototype would still apply. */
21429char mspack_create_chm_decompressor ();
21430int
21431main ()
21432{
21433mspack_create_chm_decompressor ();
21434 ;
21435 return 0;
21436}
21437_ACEOF
21438rm -f conftest.$ac_objext conftest$ac_exeext
21439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21440 (eval $ac_link) 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try='test -z "$ac_c_werror_flag"
21448 || test ! -s conftest.err'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; } &&
21454 { ac_try='test -s conftest$ac_exeext'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21457 ac_status=$?
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; }; then
21460 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21461else
21462 echo "$as_me: failed program was:" >&5
21463sed 's/^/| /' conftest.$ac_ext >&5
21464
21465ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21466fi
21467rm -f conftest.err conftest.$ac_objext \
21468 conftest$ac_exeext conftest.$ac_ext
21469LIBS=$ac_check_lib_save_LIBS
21470fi
21471echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21472echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21473if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21474 MSPACK_LINK=" -lmspack"
21475fi
21476
21477 fi
21478 if test "x$MSPACK_LINK" = "x" ; then
21479 wxUSE_LIBMSPACK=no
21480 else
21481 cat >>confdefs.h <<\_ACEOF
21482#define wxUSE_LIBMSPACK 1
21483_ACEOF
21484
21485 fi
21486fi
21487
21488
21489
21490AFMINSTALL=
21491WIN32INSTALL=
21492
21493TOOLKIT=
21494TOOLKIT_INCLUDE=
21495WIDGET_SET=
21496
21497if test "$USE_WIN32" = 1 ; then
21498
21499for ac_header in w32api.h
21500do
21501as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21502if eval "test \"\${$as_ac_Header+set}\" = set"; then
21503 echo "$as_me:$LINENO: checking for $ac_header" >&5
21504echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21505if eval "test \"\${$as_ac_Header+set}\" = set"; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21507fi
21508echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21509echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21510else
21511 # Is the header compilable?
21512echo "$as_me:$LINENO: checking $ac_header usability" >&5
21513echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21514cat >conftest.$ac_ext <<_ACEOF
21515/* confdefs.h. */
21516_ACEOF
21517cat confdefs.h >>conftest.$ac_ext
21518cat >>conftest.$ac_ext <<_ACEOF
21519/* end confdefs.h. */
21520$ac_includes_default
21521#include <$ac_header>
21522_ACEOF
21523rm -f conftest.$ac_objext
21524if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21525 (eval $ac_compile) 2>conftest.er1
21526 ac_status=$?
21527 grep -v '^ *+' conftest.er1 >conftest.err
21528 rm -f conftest.er1
21529 cat conftest.err >&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } &&
21532 { ac_try='test -z "$ac_c_werror_flag"
21533 || test ! -s conftest.err'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21536 ac_status=$?
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; } &&
21539 { ac_try='test -s conftest.$ac_objext'
21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541 (eval $ac_try) 2>&5
21542 ac_status=$?
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; }; then
21545 ac_header_compiler=yes
21546else
21547 echo "$as_me: failed program was:" >&5
21548sed 's/^/| /' conftest.$ac_ext >&5
21549
21550ac_header_compiler=no
21551fi
21552rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21553echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21554echo "${ECHO_T}$ac_header_compiler" >&6
21555
21556# Is the header present?
21557echo "$as_me:$LINENO: checking $ac_header presence" >&5
21558echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21559cat >conftest.$ac_ext <<_ACEOF
21560/* confdefs.h. */
21561_ACEOF
21562cat confdefs.h >>conftest.$ac_ext
21563cat >>conftest.$ac_ext <<_ACEOF
21564/* end confdefs.h. */
21565#include <$ac_header>
21566_ACEOF
21567if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21569 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } >/dev/null; then
21575 if test -s conftest.err; then
21576 ac_cpp_err=$ac_c_preproc_warn_flag
21577 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21578 else
21579 ac_cpp_err=
21580 fi
21581else
21582 ac_cpp_err=yes
21583fi
21584if test -z "$ac_cpp_err"; then
21585 ac_header_preproc=yes
21586else
21587 echo "$as_me: failed program was:" >&5
21588sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 ac_header_preproc=no
21591fi
21592rm -f conftest.err conftest.$ac_ext
21593echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21594echo "${ECHO_T}$ac_header_preproc" >&6
21595
21596# So? What about this header?
21597case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21598 yes:no: )
21599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21600echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21602echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21603 ac_header_preproc=yes
21604 ;;
21605 no:yes:* )
21606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21607echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21609echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21611echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21613echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21615echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21617echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21618 (
21619 cat <<\_ASBOX
21620## ----------------------------------------- ##
21621## Report this to wx-dev@lists.wxwindows.org ##
21622## ----------------------------------------- ##
21623_ASBOX
21624 ) |
21625 sed "s/^/$as_me: WARNING: /" >&2
21626 ;;
21627esac
21628echo "$as_me:$LINENO: checking for $ac_header" >&5
21629echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21630if eval "test \"\${$as_ac_Header+set}\" = set"; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21632else
21633 eval "$as_ac_Header=\$ac_header_preproc"
21634fi
21635echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21636echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21637
21638fi
21639if test `eval echo '${'$as_ac_Header'}'` = yes; then
21640 cat >>confdefs.h <<_ACEOF
21641#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21642_ACEOF
21643
21644fi
21645
21646done
21647
21648 if test "${ac_cv_header_windows_h+set}" = set; then
21649 echo "$as_me:$LINENO: checking for windows.h" >&5
21650echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21651if test "${ac_cv_header_windows_h+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21653fi
21654echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21655echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21656else
21657 # Is the header compilable?
21658echo "$as_me:$LINENO: checking windows.h usability" >&5
21659echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21660cat >conftest.$ac_ext <<_ACEOF
21661/* confdefs.h. */
21662_ACEOF
21663cat confdefs.h >>conftest.$ac_ext
21664cat >>conftest.$ac_ext <<_ACEOF
21665/* end confdefs.h. */
21666$ac_includes_default
21667#include <windows.h>
21668_ACEOF
21669rm -f conftest.$ac_objext
21670if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21671 (eval $ac_compile) 2>conftest.er1
21672 ac_status=$?
21673 grep -v '^ *+' conftest.er1 >conftest.err
21674 rm -f conftest.er1
21675 cat conftest.err >&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } &&
21678 { ac_try='test -z "$ac_c_werror_flag"
21679 || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21682 ac_status=$?
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try='test -s conftest.$ac_objext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21688 ac_status=$?
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 ac_header_compiler=yes
21692else
21693 echo "$as_me: failed program was:" >&5
21694sed 's/^/| /' conftest.$ac_ext >&5
21695
21696ac_header_compiler=no
21697fi
21698rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21699echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21700echo "${ECHO_T}$ac_header_compiler" >&6
21701
21702# Is the header present?
21703echo "$as_me:$LINENO: checking windows.h presence" >&5
21704echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21705cat >conftest.$ac_ext <<_ACEOF
21706/* confdefs.h. */
21707_ACEOF
21708cat confdefs.h >>conftest.$ac_ext
21709cat >>conftest.$ac_ext <<_ACEOF
21710/* end confdefs.h. */
21711#include <windows.h>
21712_ACEOF
21713if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21715 ac_status=$?
21716 grep -v '^ *+' conftest.er1 >conftest.err
21717 rm -f conftest.er1
21718 cat conftest.err >&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); } >/dev/null; then
21721 if test -s conftest.err; then
21722 ac_cpp_err=$ac_c_preproc_warn_flag
21723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21724 else
21725 ac_cpp_err=
21726 fi
21727else
21728 ac_cpp_err=yes
21729fi
21730if test -z "$ac_cpp_err"; then
21731 ac_header_preproc=yes
21732else
21733 echo "$as_me: failed program was:" >&5
21734sed 's/^/| /' conftest.$ac_ext >&5
21735
21736 ac_header_preproc=no
21737fi
21738rm -f conftest.err conftest.$ac_ext
21739echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21740echo "${ECHO_T}$ac_header_preproc" >&6
21741
21742# So? What about this header?
21743case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21744 yes:no: )
21745 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21746echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21747 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21748echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21749 ac_header_preproc=yes
21750 ;;
21751 no:yes:* )
21752 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21753echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21754 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21755echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21756 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21757echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21758 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21759echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21760 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21761echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21762 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21763echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21764 (
21765 cat <<\_ASBOX
21766## ----------------------------------------- ##
21767## Report this to wx-dev@lists.wxwindows.org ##
21768## ----------------------------------------- ##
21769_ASBOX
21770 ) |
21771 sed "s/^/$as_me: WARNING: /" >&2
21772 ;;
21773esac
21774echo "$as_me:$LINENO: checking for windows.h" >&5
21775echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21776if test "${ac_cv_header_windows_h+set}" = set; then
21777 echo $ECHO_N "(cached) $ECHO_C" >&6
21778else
21779 ac_cv_header_windows_h=$ac_header_preproc
21780fi
21781echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21782echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21783
21784fi
21785if test $ac_cv_header_windows_h = yes; then
21786 :
21787else
21788
21789 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21790echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21791 { (exit 1); exit 1; }; }
21792
21793fi
21794
21795
21796
21797 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21798
21799 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21800 LIBS="$LIBS -loleacc"
21801 fi
21802
21803 case "${host}" in
21804 *-*-cygwin* )
21805 LIBS="$LIBS -lkernel32 -luser32"
21806 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21807 esac
21808
21809 if test "$wxUSE_ODBC" = "sys" ; then
21810 wxUSE_ODBC = "yes"
21811 fi
21812 if test "$wxUSE_ODBC" = "yes" ; then
21813 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21814 cat >>confdefs.h <<\_ACEOF
21815#define wxUSE_ODBC 1
21816_ACEOF
21817
21818 fi
21819
21820 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21821 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21822
21823 WIN32INSTALL=win32install
21824fi
21825
21826if test "$wxUSE_GUI" = "yes"; then
21827 USE_GUI=1
21828
21829 GUI_TK_LIBRARY=
21830
21831 WXGTK12=
21832 WXGTK127=
21833 WXGTK20=
21834 WXGPE=
21835
21836 if test "$wxUSE_MSW" = 1 ; then
21837 TOOLKIT=MSW
21838 GUIDIST=MSW_DIST
21839
21840 case "${host}" in
21841 *-*-mingw32* )
21842 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21843 esac
21844 fi
21845
21846 if test "$wxUSE_GTK" = 1; then
21847 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21848echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21849
21850 gtk_version_cached=1
21851 if test "${wx_cv_lib_gtk+set}" = set; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6
21853else
21854
21855 gtk_version_cached=0
21856 echo "$as_me:$LINENO: result: " >&5
21857echo "${ECHO_T}" >&6
21858
21859 GTK_MODULES=
21860 if test "$wxUSE_THREADS" = "yes"; then
21861 GTK_MODULES=gthread
21862 fi
21863
21864 wx_cv_lib_gtk=
21865 if test "x$wxUSE_GTK2" = "xyes"; then
21866 # Check whether --enable-gtktest or --disable-gtktest was given.
21867if test "${enable_gtktest+set}" = set; then
21868 enableval="$enable_gtktest"
21869
21870else
21871 enable_gtktest=yes
21872fi;
21873
21874 pkg_config_args=gtk+-2.0
21875 for module in . $GTK_MODULES
21876 do
21877 case "$module" in
21878 gthread)
21879 pkg_config_args="$pkg_config_args gthread-2.0"
21880 ;;
21881 esac
21882 done
21883
21884 no_gtk=""
21885
21886 # Extract the first word of "pkg-config", so it can be a program name with args.
21887set dummy pkg-config; ac_word=$2
21888echo "$as_me:$LINENO: checking for $ac_word" >&5
21889echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21890if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21892else
21893 case $PKG_CONFIG in
21894 [\\/]* | ?:[\\/]*)
21895 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21896 ;;
21897 *)
21898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21899for as_dir in $PATH
21900do
21901 IFS=$as_save_IFS
21902 test -z "$as_dir" && as_dir=.
21903 for ac_exec_ext in '' $ac_executable_extensions; do
21904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21905 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21907 break 2
21908 fi
21909done
21910done
21911
21912 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21913 ;;
21914esac
21915fi
21916PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21917
21918if test -n "$PKG_CONFIG"; then
21919 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21920echo "${ECHO_T}$PKG_CONFIG" >&6
21921else
21922 echo "$as_me:$LINENO: result: no" >&5
21923echo "${ECHO_T}no" >&6
21924fi
21925
21926
21927 if test x$PKG_CONFIG != xno ; then
21928 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21929 :
21930 else
21931 echo "*** pkg-config too old; version 0.7 or better required."
21932 no_gtk=yes
21933 PKG_CONFIG=no
21934 fi
21935 else
21936 no_gtk=yes
21937 fi
21938
21939 min_gtk_version=2.0.0
21940 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21941echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21942
21943 if test x$PKG_CONFIG != xno ; then
21944 ## don't try to run the test against uninstalled libtool libs
21945 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21946 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21947 enable_gtktest=no
21948 fi
21949
21950 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21951 :
21952 else
21953 no_gtk=yes
21954 fi
21955 fi
21956
21957 if test x"$no_gtk" = x ; then
21958 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21959 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21960 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21962 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21964 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21966 if test "x$enable_gtktest" = "xyes" ; then
21967 ac_save_CFLAGS="$CFLAGS"
21968 ac_save_LIBS="$LIBS"
21969 CFLAGS="$CFLAGS $GTK_CFLAGS"
21970 LIBS="$GTK_LIBS $LIBS"
21971 rm -f conf.gtktest
21972 if test "$cross_compiling" = yes; then
21973 echo $ac_n "cross compiling; assumed OK... $ac_c"
21974else
21975 cat >conftest.$ac_ext <<_ACEOF
21976/* confdefs.h. */
21977_ACEOF
21978cat confdefs.h >>conftest.$ac_ext
21979cat >>conftest.$ac_ext <<_ACEOF
21980/* end confdefs.h. */
21981
21982#include <gtk/gtk.h>
21983#include <stdio.h>
21984#include <stdlib.h>
21985
21986int
21987main ()
21988{
21989 int major, minor, micro;
21990 char *tmp_version;
21991
21992 system ("touch conf.gtktest");
21993
21994 /* HP/UX 9 (%@#!) writes to sscanf strings */
21995 tmp_version = g_strdup("$min_gtk_version");
21996 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21997 printf("%s, bad version string\n", "$min_gtk_version");
21998 exit(1);
21999 }
22000
22001 if ((gtk_major_version != $gtk_config_major_version) ||
22002 (gtk_minor_version != $gtk_config_minor_version) ||
22003 (gtk_micro_version != $gtk_config_micro_version))
22004 {
22005 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22006 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22007 gtk_major_version, gtk_minor_version, gtk_micro_version);
22008 printf ("*** was found! If pkg-config was correct, then it is best\n");
22009 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22010 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22011 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22012 printf("*** required on your system.\n");
22013 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22014 printf("*** to point to the correct configuration files\n");
22015 }
22016 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22017 (gtk_minor_version != GTK_MINOR_VERSION) ||
22018 (gtk_micro_version != GTK_MICRO_VERSION))
22019 {
22020 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22021 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22022 printf("*** library (version %d.%d.%d)\n",
22023 gtk_major_version, gtk_minor_version, gtk_micro_version);
22024 }
22025 else
22026 {
22027 if ((gtk_major_version > major) ||
22028 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22029 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22030 {
22031 return 0;
22032 }
22033 else
22034 {
22035 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22036 gtk_major_version, gtk_minor_version, gtk_micro_version);
22037 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22038 major, minor, micro);
22039 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22040 printf("***\n");
22041 printf("*** If you have already installed a sufficiently new version, this error\n");
22042 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22043 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22044 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22045 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22046 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22047 printf("*** so that the correct libraries are found at run-time))\n");
22048 }
22049 }
22050 return 1;
22051}
22052
22053_ACEOF
22054rm -f conftest$ac_exeext
22055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22056 (eval $ac_link) 2>&5
22057 ac_status=$?
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22065 :
22066else
22067 echo "$as_me: program exited with status $ac_status" >&5
22068echo "$as_me: failed program was:" >&5
22069sed 's/^/| /' conftest.$ac_ext >&5
22070
22071( exit $ac_status )
22072no_gtk=yes
22073fi
22074rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22075fi
22076 CFLAGS="$ac_save_CFLAGS"
22077 LIBS="$ac_save_LIBS"
22078 fi
22079 fi
22080 if test "x$no_gtk" = x ; then
22081 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22082echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22083 wx_cv_lib_gtk=2.0
22084 else
22085 echo "$as_me:$LINENO: result: no" >&5
22086echo "${ECHO_T}no" >&6
22087 if test "$PKG_CONFIG" = "no" ; then
22088 echo "*** A new enough version of pkg-config was not found."
22089 echo "*** See http://pkgconfig.sourceforge.net"
22090 else
22091 if test -f conf.gtktest ; then
22092 :
22093 else
22094 echo "*** Could not run GTK+ test program, checking why..."
22095 ac_save_CFLAGS="$CFLAGS"
22096 ac_save_LIBS="$LIBS"
22097 CFLAGS="$CFLAGS $GTK_CFLAGS"
22098 LIBS="$LIBS $GTK_LIBS"
22099 cat >conftest.$ac_ext <<_ACEOF
22100/* confdefs.h. */
22101_ACEOF
22102cat confdefs.h >>conftest.$ac_ext
22103cat >>conftest.$ac_ext <<_ACEOF
22104/* end confdefs.h. */
22105
22106#include <gtk/gtk.h>
22107#include <stdio.h>
22108
22109int
22110main ()
22111{
22112 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22113 ;
22114 return 0;
22115}
22116_ACEOF
22117rm -f conftest.$ac_objext conftest$ac_exeext
22118if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22119 (eval $ac_link) 2>conftest.er1
22120 ac_status=$?
22121 grep -v '^ *+' conftest.er1 >conftest.err
22122 rm -f conftest.er1
22123 cat conftest.err >&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } &&
22126 { ac_try='test -z "$ac_c_werror_flag"
22127 || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try='test -s conftest$ac_exeext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 echo "*** The test program compiled, but did not run. This usually means"
22140 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22141 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22142 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22143 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22144 echo "*** is required on your system"
22145 echo "***"
22146 echo "*** If you have an old version installed, it is best to remove it, although"
22147 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22148else
22149 echo "$as_me: failed program was:" >&5
22150sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 echo "*** The test program failed to compile or link. See the file config.log for the"
22153 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22154fi
22155rm -f conftest.err conftest.$ac_objext \
22156 conftest$ac_exeext conftest.$ac_ext
22157 CFLAGS="$ac_save_CFLAGS"
22158 LIBS="$ac_save_LIBS"
22159 fi
22160 fi
22161 GTK_CFLAGS=""
22162 GTK_LIBS=""
22163 :
22164 fi
22165
22166
22167 rm -f conf.gtktest
22168
22169 else
22170
22171# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22172if test "${with_gtk_prefix+set}" = set; then
22173 withval="$with_gtk_prefix"
22174 gtk_config_prefix="$withval"
22175else
22176 gtk_config_prefix=""
22177fi;
22178
22179# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22180if test "${with_gtk_exec_prefix+set}" = set; then
22181 withval="$with_gtk_exec_prefix"
22182 gtk_config_exec_prefix="$withval"
22183else
22184 gtk_config_exec_prefix=""
22185fi;
22186# Check whether --enable-gtktest or --disable-gtktest was given.
22187if test "${enable_gtktest+set}" = set; then
22188 enableval="$enable_gtktest"
22189
22190else
22191 enable_gtktest=yes
22192fi;
22193
22194 for module in . $GTK_MODULES
22195 do
22196 case "$module" in
22197 gthread)
22198 gtk_config_args="$gtk_config_args gthread"
22199 ;;
22200 esac
22201 done
22202
22203 if test x$gtk_config_exec_prefix != x ; then
22204 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22205 if test x${GTK_CONFIG+set} != xset ; then
22206 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22207 fi
22208 fi
22209 if test x$gtk_config_prefix != x ; then
22210 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22211 if test x${GTK_CONFIG+set} != xset ; then
22212 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22213 fi
22214 fi
22215
22216 # Extract the first word of "gtk-config", so it can be a program name with args.
22217set dummy gtk-config; ac_word=$2
22218echo "$as_me:$LINENO: checking for $ac_word" >&5
22219echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22220if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22222else
22223 case $GTK_CONFIG in
22224 [\\/]* | ?:[\\/]*)
22225 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22226 ;;
22227 *)
22228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22229for as_dir in $PATH
22230do
22231 IFS=$as_save_IFS
22232 test -z "$as_dir" && as_dir=.
22233 for ac_exec_ext in '' $ac_executable_extensions; do
22234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22235 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22237 break 2
22238 fi
22239done
22240done
22241
22242 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22243 ;;
22244esac
22245fi
22246GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22247
22248if test -n "$GTK_CONFIG"; then
22249 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22250echo "${ECHO_T}$GTK_CONFIG" >&6
22251else
22252 echo "$as_me:$LINENO: result: no" >&5
22253echo "${ECHO_T}no" >&6
22254fi
22255
22256 min_gtk_version=1.2.7
22257 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22258echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22259 no_gtk=""
22260 if test "$GTK_CONFIG" = "no" ; then
22261 no_gtk=yes
22262 else
22263 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22264 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22265 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22266 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22267 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22268 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22269 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22270 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22271 if test "x$enable_gtktest" = "xyes" ; then
22272 ac_save_CFLAGS="$CFLAGS"
22273 ac_save_LIBS="$LIBS"
22274 CFLAGS="$CFLAGS $GTK_CFLAGS"
22275 LIBS="$GTK_LIBS $LIBS"
22276 rm -f conf.gtktest
22277 if test "$cross_compiling" = yes; then
22278 echo $ac_n "cross compiling; assumed OK... $ac_c"
22279else
22280 cat >conftest.$ac_ext <<_ACEOF
22281/* confdefs.h. */
22282_ACEOF
22283cat confdefs.h >>conftest.$ac_ext
22284cat >>conftest.$ac_ext <<_ACEOF
22285/* end confdefs.h. */
22286
22287#include <gtk/gtk.h>
22288#include <stdio.h>
22289#include <stdlib.h>
22290
22291int
22292main ()
22293{
22294 int major, minor, micro;
22295 char *tmp_version;
22296
22297 system ("touch conf.gtktest");
22298
22299 /* HP/UX 9 (%@#!) writes to sscanf strings */
22300 tmp_version = g_strdup("$min_gtk_version");
22301 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22302 printf("%s, bad version string\n", "$min_gtk_version");
22303 exit(1);
22304 }
22305
22306 if ((gtk_major_version != $gtk_config_major_version) ||
22307 (gtk_minor_version != $gtk_config_minor_version) ||
22308 (gtk_micro_version != $gtk_config_micro_version))
22309 {
22310 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22311 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22312 gtk_major_version, gtk_minor_version, gtk_micro_version);
22313 printf ("*** was found! If gtk-config was correct, then it is best\n");
22314 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22315 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22316 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22317 printf("*** required on your system.\n");
22318 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22319 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22320 printf("*** before re-running configure\n");
22321 }
22322#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22323 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22324 (gtk_minor_version != GTK_MINOR_VERSION) ||
22325 (gtk_micro_version != GTK_MICRO_VERSION))
22326 {
22327 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22328 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22329 printf("*** library (version %d.%d.%d)\n",
22330 gtk_major_version, gtk_minor_version, gtk_micro_version);
22331 }
22332#endif /* defined (GTK_MAJOR_VERSION) ... */
22333 else
22334 {
22335 if ((gtk_major_version > major) ||
22336 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22337 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22338 {
22339 return 0;
22340 }
22341 else
22342 {
22343 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22344 gtk_major_version, gtk_minor_version, gtk_micro_version);
22345 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22346 major, minor, micro);
22347 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22348 printf("***\n");
22349 printf("*** If you have already installed a sufficiently new version, this error\n");
22350 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22351 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22352 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22353 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22354 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22355 printf("*** so that the correct libraries are found at run-time))\n");
22356 }
22357 }
22358 return 1;
22359}
22360
22361_ACEOF
22362rm -f conftest$ac_exeext
22363if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22364 (eval $ac_link) 2>&5
22365 ac_status=$?
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22369 (eval $ac_try) 2>&5
22370 ac_status=$?
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); }; }; then
22373 :
22374else
22375 echo "$as_me: program exited with status $ac_status" >&5
22376echo "$as_me: failed program was:" >&5
22377sed 's/^/| /' conftest.$ac_ext >&5
22378
22379( exit $ac_status )
22380no_gtk=yes
22381fi
22382rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22383fi
22384 CFLAGS="$ac_save_CFLAGS"
22385 LIBS="$ac_save_LIBS"
22386 fi
22387 fi
22388 if test "x$no_gtk" = x ; then
22389 echo "$as_me:$LINENO: result: yes" >&5
22390echo "${ECHO_T}yes" >&6
22391 wx_cv_lib_gtk=1.2.7
22392 else
22393 echo "$as_me:$LINENO: result: no" >&5
22394echo "${ECHO_T}no" >&6
22395 if test "$GTK_CONFIG" = "no" ; then
22396 echo "*** The gtk-config script installed by GTK could not be found"
22397 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22398 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22399 echo "*** full path to gtk-config."
22400 else
22401 if test -f conf.gtktest ; then
22402 :
22403 else
22404 echo "*** Could not run GTK test program, checking why..."
22405 CFLAGS="$CFLAGS $GTK_CFLAGS"
22406 LIBS="$LIBS $GTK_LIBS"
22407 cat >conftest.$ac_ext <<_ACEOF
22408/* confdefs.h. */
22409_ACEOF
22410cat confdefs.h >>conftest.$ac_ext
22411cat >>conftest.$ac_ext <<_ACEOF
22412/* end confdefs.h. */
22413
22414#include <gtk/gtk.h>
22415#include <stdio.h>
22416
22417int
22418main ()
22419{
22420 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22421 ;
22422 return 0;
22423}
22424_ACEOF
22425rm -f conftest.$ac_objext conftest$ac_exeext
22426if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22427 (eval $ac_link) 2>conftest.er1
22428 ac_status=$?
22429 grep -v '^ *+' conftest.er1 >conftest.err
22430 rm -f conftest.er1
22431 cat conftest.err >&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try='test -z "$ac_c_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest$ac_exeext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22444 ac_status=$?
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 echo "*** The test program compiled, but did not run. This usually means"
22448 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22449 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22450 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22451 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22452 echo "*** is required on your system"
22453 echo "***"
22454 echo "*** If you have an old version installed, it is best to remove it, although"
22455 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22456 echo "***"
22457 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22458 echo "*** came with the system with the command"
22459 echo "***"
22460 echo "*** rpm --erase --nodeps gtk gtk-devel"
22461else
22462 echo "$as_me: failed program was:" >&5
22463sed 's/^/| /' conftest.$ac_ext >&5
22464
22465 echo "*** The test program failed to compile or link. See the file config.log for the"
22466 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22467 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22468 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22469fi
22470rm -f conftest.err conftest.$ac_objext \
22471 conftest$ac_exeext conftest.$ac_ext
22472 CFLAGS="$ac_save_CFLAGS"
22473 LIBS="$ac_save_LIBS"
22474 fi
22475 fi
22476 GTK_CFLAGS=""
22477 GTK_LIBS=""
22478 :
22479 fi
22480
22481
22482 rm -f conf.gtktest
22483
22484
22485 if test -z "$wx_cv_lib_gtk"; then
22486
22487# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22488if test "${with_gtk_prefix+set}" = set; then
22489 withval="$with_gtk_prefix"
22490 gtk_config_prefix="$withval"
22491else
22492 gtk_config_prefix=""
22493fi;
22494
22495# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22496if test "${with_gtk_exec_prefix+set}" = set; then
22497 withval="$with_gtk_exec_prefix"
22498 gtk_config_exec_prefix="$withval"
22499else
22500 gtk_config_exec_prefix=""
22501fi;
22502# Check whether --enable-gtktest or --disable-gtktest was given.
22503if test "${enable_gtktest+set}" = set; then
22504 enableval="$enable_gtktest"
22505
22506else
22507 enable_gtktest=yes
22508fi;
22509
22510 for module in . $GTK_MODULES
22511 do
22512 case "$module" in
22513 gthread)
22514 gtk_config_args="$gtk_config_args gthread"
22515 ;;
22516 esac
22517 done
22518
22519 if test x$gtk_config_exec_prefix != x ; then
22520 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22521 if test x${GTK_CONFIG+set} != xset ; then
22522 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22523 fi
22524 fi
22525 if test x$gtk_config_prefix != x ; then
22526 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22527 if test x${GTK_CONFIG+set} != xset ; then
22528 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22529 fi
22530 fi
22531
22532 # Extract the first word of "gtk-config", so it can be a program name with args.
22533set dummy gtk-config; ac_word=$2
22534echo "$as_me:$LINENO: checking for $ac_word" >&5
22535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22536if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22538else
22539 case $GTK_CONFIG in
22540 [\\/]* | ?:[\\/]*)
22541 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22542 ;;
22543 *)
22544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22545for as_dir in $PATH
22546do
22547 IFS=$as_save_IFS
22548 test -z "$as_dir" && as_dir=.
22549 for ac_exec_ext in '' $ac_executable_extensions; do
22550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22551 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22553 break 2
22554 fi
22555done
22556done
22557
22558 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22559 ;;
22560esac
22561fi
22562GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22563
22564if test -n "$GTK_CONFIG"; then
22565 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22566echo "${ECHO_T}$GTK_CONFIG" >&6
22567else
22568 echo "$as_me:$LINENO: result: no" >&5
22569echo "${ECHO_T}no" >&6
22570fi
22571
22572 min_gtk_version=1.2.3
22573 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22574echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22575 no_gtk=""
22576 if test "$GTK_CONFIG" = "no" ; then
22577 no_gtk=yes
22578 else
22579 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22580 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22581 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22583 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22585 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22587 if test "x$enable_gtktest" = "xyes" ; then
22588 ac_save_CFLAGS="$CFLAGS"
22589 ac_save_LIBS="$LIBS"
22590 CFLAGS="$CFLAGS $GTK_CFLAGS"
22591 LIBS="$GTK_LIBS $LIBS"
22592 rm -f conf.gtktest
22593 if test "$cross_compiling" = yes; then
22594 echo $ac_n "cross compiling; assumed OK... $ac_c"
22595else
22596 cat >conftest.$ac_ext <<_ACEOF
22597/* confdefs.h. */
22598_ACEOF
22599cat confdefs.h >>conftest.$ac_ext
22600cat >>conftest.$ac_ext <<_ACEOF
22601/* end confdefs.h. */
22602
22603#include <gtk/gtk.h>
22604#include <stdio.h>
22605#include <stdlib.h>
22606
22607int
22608main ()
22609{
22610 int major, minor, micro;
22611 char *tmp_version;
22612
22613 system ("touch conf.gtktest");
22614
22615 /* HP/UX 9 (%@#!) writes to sscanf strings */
22616 tmp_version = g_strdup("$min_gtk_version");
22617 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22618 printf("%s, bad version string\n", "$min_gtk_version");
22619 exit(1);
22620 }
22621
22622 if ((gtk_major_version != $gtk_config_major_version) ||
22623 (gtk_minor_version != $gtk_config_minor_version) ||
22624 (gtk_micro_version != $gtk_config_micro_version))
22625 {
22626 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22627 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22628 gtk_major_version, gtk_minor_version, gtk_micro_version);
22629 printf ("*** was found! If gtk-config was correct, then it is best\n");
22630 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22631 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22632 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22633 printf("*** required on your system.\n");
22634 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22635 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22636 printf("*** before re-running configure\n");
22637 }
22638#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22639 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22640 (gtk_minor_version != GTK_MINOR_VERSION) ||
22641 (gtk_micro_version != GTK_MICRO_VERSION))
22642 {
22643 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22644 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22645 printf("*** library (version %d.%d.%d)\n",
22646 gtk_major_version, gtk_minor_version, gtk_micro_version);
22647 }
22648#endif /* defined (GTK_MAJOR_VERSION) ... */
22649 else
22650 {
22651 if ((gtk_major_version > major) ||
22652 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22653 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22654 {
22655 return 0;
22656 }
22657 else
22658 {
22659 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22660 gtk_major_version, gtk_minor_version, gtk_micro_version);
22661 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22662 major, minor, micro);
22663 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22664 printf("***\n");
22665 printf("*** If you have already installed a sufficiently new version, this error\n");
22666 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22667 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22668 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22669 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22670 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22671 printf("*** so that the correct libraries are found at run-time))\n");
22672 }
22673 }
22674 return 1;
22675}
22676
22677_ACEOF
22678rm -f conftest$ac_exeext
22679if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22680 (eval $ac_link) 2>&5
22681 ac_status=$?
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22685 (eval $ac_try) 2>&5
22686 ac_status=$?
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; }; then
22689 :
22690else
22691 echo "$as_me: program exited with status $ac_status" >&5
22692echo "$as_me: failed program was:" >&5
22693sed 's/^/| /' conftest.$ac_ext >&5
22694
22695( exit $ac_status )
22696no_gtk=yes
22697fi
22698rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22699fi
22700 CFLAGS="$ac_save_CFLAGS"
22701 LIBS="$ac_save_LIBS"
22702 fi
22703 fi
22704 if test "x$no_gtk" = x ; then
22705 echo "$as_me:$LINENO: result: yes" >&5
22706echo "${ECHO_T}yes" >&6
22707 wx_cv_lib_gtk=1.2.3
22708 else
22709 echo "$as_me:$LINENO: result: no" >&5
22710echo "${ECHO_T}no" >&6
22711 if test "$GTK_CONFIG" = "no" ; then
22712 echo "*** The gtk-config script installed by GTK could not be found"
22713 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22714 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22715 echo "*** full path to gtk-config."
22716 else
22717 if test -f conf.gtktest ; then
22718 :
22719 else
22720 echo "*** Could not run GTK test program, checking why..."
22721 CFLAGS="$CFLAGS $GTK_CFLAGS"
22722 LIBS="$LIBS $GTK_LIBS"
22723 cat >conftest.$ac_ext <<_ACEOF
22724/* confdefs.h. */
22725_ACEOF
22726cat confdefs.h >>conftest.$ac_ext
22727cat >>conftest.$ac_ext <<_ACEOF
22728/* end confdefs.h. */
22729
22730#include <gtk/gtk.h>
22731#include <stdio.h>
22732
22733int
22734main ()
22735{
22736 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22737 ;
22738 return 0;
22739}
22740_ACEOF
22741rm -f conftest.$ac_objext conftest$ac_exeext
22742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22743 (eval $ac_link) 2>conftest.er1
22744 ac_status=$?
22745 grep -v '^ *+' conftest.er1 >conftest.err
22746 rm -f conftest.er1
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try='test -z "$ac_c_werror_flag"
22751 || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 echo "*** The test program compiled, but did not run. This usually means"
22764 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22765 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22768 echo "*** is required on your system"
22769 echo "***"
22770 echo "*** If you have an old version installed, it is best to remove it, although"
22771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22772 echo "***"
22773 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22774 echo "*** came with the system with the command"
22775 echo "***"
22776 echo "*** rpm --erase --nodeps gtk gtk-devel"
22777else
22778 echo "$as_me: failed program was:" >&5
22779sed 's/^/| /' conftest.$ac_ext >&5
22780
22781 echo "*** The test program failed to compile or link. See the file config.log for the"
22782 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22783 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22784 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22785fi
22786rm -f conftest.err conftest.$ac_objext \
22787 conftest$ac_exeext conftest.$ac_ext
22788 CFLAGS="$ac_save_CFLAGS"
22789 LIBS="$ac_save_LIBS"
22790 fi
22791 fi
22792 GTK_CFLAGS=""
22793 GTK_LIBS=""
22794 :
22795 fi
22796
22797
22798 rm -f conf.gtktest
22799
22800 fi
22801 fi
22802
22803 if test -z "$wx_cv_lib_gtk"; then
22804 wx_cv_lib_gtk=none
22805 else
22806 wx_cv_cflags_gtk=$GTK_CFLAGS
22807 wx_cv_libs_gtk=$GTK_LIBS
22808 fi
22809
22810
22811fi
22812
22813
22814 if test "$gtk_version_cached" = 1; then
22815 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22816echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22817 fi
22818
22819 case "$wx_cv_lib_gtk" in
22820 2.0) WXGTK20=1
22821 TOOLKIT_VERSION=2
22822 ;;
22823 1.2.7) WXGTK127=1
22824 WXGTK12=1
22825 ;;
22826 1.2.3) WXGTK12=1
22827 ;;
22828 *) { { echo "$as_me:$LINENO: error:
22829Please check that gtk-config is in path, the directory
22830where GTK+ libraries are installed (returned by
22831'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22832equivalent variable and GTK+ is version 1.2.3 or above.
22833 " >&5
22834echo "$as_me: error:
22835Please check that gtk-config is in path, the directory
22836where GTK+ libraries are installed (returned by
22837'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22838equivalent variable and GTK+ is version 1.2.3 or above.
22839 " >&2;}
22840 { (exit 1); exit 1; }; }
22841 ;;
22842 esac
22843
22844 if test "$WXGTK20" = 1; then
22845 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22846
22847 succeeded=no
22848
22849 if test -z "$PKG_CONFIG"; then
22850 # Extract the first word of "pkg-config", so it can be a program name with args.
22851set dummy pkg-config; ac_word=$2
22852echo "$as_me:$LINENO: checking for $ac_word" >&5
22853echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22854if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22856else
22857 case $PKG_CONFIG in
22858 [\\/]* | ?:[\\/]*)
22859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22860 ;;
22861 *)
22862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22863for as_dir in $PATH
22864do
22865 IFS=$as_save_IFS
22866 test -z "$as_dir" && as_dir=.
22867 for ac_exec_ext in '' $ac_executable_extensions; do
22868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22871 break 2
22872 fi
22873done
22874done
22875
22876 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22877 ;;
22878esac
22879fi
22880PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22881
22882if test -n "$PKG_CONFIG"; then
22883 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22884echo "${ECHO_T}$PKG_CONFIG" >&6
22885else
22886 echo "$as_me:$LINENO: result: no" >&5
22887echo "${ECHO_T}no" >&6
22888fi
22889
22890 fi
22891
22892 if test "$PKG_CONFIG" = "no" ; then
22893 echo "*** The pkg-config script could not be found. Make sure it is"
22894 echo "*** in your path, or set the PKG_CONFIG environment variable"
22895 echo "*** to the full path to pkg-config."
22896 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22897 else
22898 PKG_CONFIG_MIN_VERSION=0.9.0
22899 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22900 echo "$as_me:$LINENO: checking for pangoft2" >&5
22901echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22902
22903 if $PKG_CONFIG --exists "pangoft2" ; then
22904 echo "$as_me:$LINENO: result: yes" >&5
22905echo "${ECHO_T}yes" >&6
22906 succeeded=yes
22907
22908 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22909echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22910 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22911 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22912echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22913
22914 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22915echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22916 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22917 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22918echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22919 else
22920 PANGOFT2_CFLAGS=""
22921 PANGOFT2_LIBS=""
22922 ## If we have a custom action on failure, don't print errors, but
22923 ## do set a variable so people can do so.
22924 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22925
22926 fi
22927
22928
22929
22930 else
22931 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22932 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22933 fi
22934 fi
22935
22936 if test $succeeded = yes; then
22937
22938 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22939 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22940
22941 else
22942
22943 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22944echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22945 wxUSE_PRINTING_ARCHITECTURE="no"
22946
22947
22948 fi
22949
22950 fi
22951 else
22952 if test "$wxUSE_UNICODE" = "yes"; then
22953 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22954echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22955 wxUSE_UNICODE=no
22956 fi
22957 fi
22958
22959 if test "$USE_DARWIN" != 1; then
22960
22961for ac_func in poll
22962do
22963as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22964echo "$as_me:$LINENO: checking for $ac_func" >&5
22965echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22966if eval "test \"\${$as_ac_var+set}\" = set"; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22968else
22969 cat >conftest.$ac_ext <<_ACEOF
22970/* confdefs.h. */
22971_ACEOF
22972cat confdefs.h >>conftest.$ac_ext
22973cat >>conftest.$ac_ext <<_ACEOF
22974/* end confdefs.h. */
22975/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22977#define $ac_func innocuous_$ac_func
22978
22979/* System header to define __stub macros and hopefully few prototypes,
22980 which can conflict with char $ac_func (); below.
22981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982 <limits.h> exists even on freestanding compilers. */
22983
22984#ifdef __STDC__
22985# include <limits.h>
22986#else
22987# include <assert.h>
22988#endif
22989
22990#undef $ac_func
22991
22992/* Override any gcc2 internal prototype to avoid an error. */
22993#ifdef __cplusplus
22994extern "C"
22995{
22996#endif
22997/* We use char because int might match the return type of a gcc2
22998 builtin and then its argument prototype would still apply. */
22999char $ac_func ();
23000/* The GNU C library defines this for functions which it implements
23001 to always fail with ENOSYS. Some functions are actually named
23002 something starting with __ and the normal name is an alias. */
23003#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23004choke me
23005#else
23006char (*f) () = $ac_func;
23007#endif
23008#ifdef __cplusplus
23009}
23010#endif
23011
23012int
23013main ()
23014{
23015return f != $ac_func;
23016 ;
23017 return 0;
23018}
23019_ACEOF
23020rm -f conftest.$ac_objext conftest$ac_exeext
23021if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23022 (eval $ac_link) 2>conftest.er1
23023 ac_status=$?
23024 grep -v '^ *+' conftest.er1 >conftest.err
23025 rm -f conftest.er1
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -z "$ac_c_werror_flag"
23030 || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23033 ac_status=$?
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try='test -s conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23039 ac_status=$?
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 eval "$as_ac_var=yes"
23043else
23044 echo "$as_me: failed program was:" >&5
23045sed 's/^/| /' conftest.$ac_ext >&5
23046
23047eval "$as_ac_var=no"
23048fi
23049rm -f conftest.err conftest.$ac_objext \
23050 conftest$ac_exeext conftest.$ac_ext
23051fi
23052echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23053echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23054if test `eval echo '${'$as_ac_var'}'` = yes; then
23055 cat >>confdefs.h <<_ACEOF
23056#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23057_ACEOF
23058
23059fi
23060done
23061
23062 fi
23063
23064 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23065 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23066
23067 AFMINSTALL=afminstall
23068 TOOLKIT=GTK
23069 GUIDIST=GTK_DIST
23070
23071 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23072echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23073if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23075else
23076 ac_check_lib_save_LIBS=$LIBS
23077LIBS="-lgdk $LIBS"
23078cat >conftest.$ac_ext <<_ACEOF
23079/* confdefs.h. */
23080_ACEOF
23081cat confdefs.h >>conftest.$ac_ext
23082cat >>conftest.$ac_ext <<_ACEOF
23083/* end confdefs.h. */
23084
23085/* Override any gcc2 internal prototype to avoid an error. */
23086#ifdef __cplusplus
23087extern "C"
23088#endif
23089/* We use char because int might match the return type of a gcc2
23090 builtin and then its argument prototype would still apply. */
23091char gdk_im_open ();
23092int
23093main ()
23094{
23095gdk_im_open ();
23096 ;
23097 return 0;
23098}
23099_ACEOF
23100rm -f conftest.$ac_objext conftest$ac_exeext
23101if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23102 (eval $ac_link) 2>conftest.er1
23103 ac_status=$?
23104 grep -v '^ *+' conftest.er1 >conftest.err
23105 rm -f conftest.er1
23106 cat conftest.err >&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); } &&
23109 { ac_try='test -z "$ac_c_werror_flag"
23110 || test ! -s conftest.err'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; } &&
23116 { ac_try='test -s conftest$ac_exeext'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23119 ac_status=$?
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122 ac_cv_lib_gdk_gdk_im_open=yes
23123else
23124 echo "$as_me: failed program was:" >&5
23125sed 's/^/| /' conftest.$ac_ext >&5
23126
23127ac_cv_lib_gdk_gdk_im_open=no
23128fi
23129rm -f conftest.err conftest.$ac_objext \
23130 conftest$ac_exeext conftest.$ac_ext
23131LIBS=$ac_check_lib_save_LIBS
23132fi
23133echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23134echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23135if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23136 cat >>confdefs.h <<\_ACEOF
23137#define HAVE_XIM 1
23138_ACEOF
23139
23140fi
23141
23142
23143
23144 if test "$wxUSE_GPE" = "yes"; then
23145 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23146echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23147
23148ac_find_libraries=
23149for ac_dir in $SEARCH_LIB /usr/lib;
23150 do
23151 for ac_extension in a so sl dylib; do
23152 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23153 ac_find_libraries=$ac_dir
23154 break 2
23155 fi
23156 done
23157 done
23158
23159 if test "$ac_find_libraries" != "" ; then
23160
23161 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23162 result=$?
23163 if test $result = 0; then
23164 ac_path_to_link=""
23165 else
23166 ac_path_to_link=" -L$ac_find_libraries"
23167 fi
23168
23169 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23170 WXGPE=1
23171 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23172echo "${ECHO_T}found at $ac_find_libraries" >&6
23173 else
23174 echo "$as_me:$LINENO: result: not found" >&5
23175echo "${ECHO_T}not found" >&6
23176 fi
23177
23178 fi
23179 fi
23180
23181 if test "$wxUSE_MGL" = 1; then
23182 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23183echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23184 if test "x$MGL_ROOT" = x ; then
23185 echo "$as_me:$LINENO: result: not found" >&5
23186echo "${ECHO_T}not found" >&6
23187 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23188echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23189 { (exit 1); exit 1; }; }
23190 else
23191 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23192echo "${ECHO_T}$MGL_ROOT" >&6
23193 fi
23194
23195 echo "$as_me:$LINENO: checking for libmgl location" >&5
23196echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23197 case "${host}" in
23198 *-*-linux* )
23199 if test "x$wxUSE_SHARED" = xyes ; then
23200 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23201 else
23202 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23203 fi
23204 ;;
23205 *-pc-msdosdjgpp )
23206 mgl_os_candidates="dos32/dj2"
23207 ;;
23208 *)
23209 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23210echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23211 { (exit 1); exit 1; }; }
23212 esac
23213
23214 mgl_lib_type=""
23215 mgl_os=""
23216
23217 for mgl_os_i in $mgl_os_candidates ; do
23218 if test "x$mgl_os" = x ; then
23219 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23220 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23221 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23222 mgl_lib_type=debug
23223 mgl_os=$mgl_os_i
23224 fi
23225 fi
23226 if test "x$mgl_lib_type" = x ; then
23227 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23228 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23229 mgl_lib_type=release
23230 mgl_os=$mgl_os_i
23231 fi
23232 fi
23233 fi
23234 done
23235
23236 if test "x$mgl_os" = x ; then
23237 echo "$as_me:$LINENO: result: not found" >&5
23238echo "${ECHO_T}not found" >&6
23239 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23240echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23241 { (exit 1); exit 1; }; }
23242 fi
23243 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23244echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23245
23246 wxUSE_UNIVERSAL="yes"
23247
23248 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23249 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23250
23251 AFMINSTALL=afminstall
23252 TOOLKIT=MGL
23253 GUIDIST=MGL_DIST
23254 fi
23255
23256 if test "$wxUSE_MICROWIN" = 1; then
23257 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23258echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23259 if test "x$MICROWINDOWS" = x ; then
23260 echo "$as_me:$LINENO: result: not found" >&5
23261echo "${ECHO_T}not found" >&6
23262 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23263echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23264 { (exit 1); exit 1; }; }
23265 else
23266 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23267echo "${ECHO_T}$MICROWINDOWS" >&6
23268 fi
23269
23270 if test -f $MICROWINDOWS/lib/libmwin.a; then
23271 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23272echo "${ECHO_T}MicroWindows' libraries found." >&6
23273 else
23274 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23275echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23276 { (exit 1); exit 1; }; }
23277 fi
23278
23279 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23280 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23281
23282 wxUSE_UNIVERSAL="yes"
23283
23284 AFMINSTALL=afminstall
23285 TOOLKIT=MICROWIN
23286 GUIDIST=MICROWIN_DIST
23287
23288 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23289 fi
23290
23291 if test "$wxUSE_X11" = 1; then
23292 echo "$as_me:$LINENO: checking for X" >&5
23293echo $ECHO_N "checking for X... $ECHO_C" >&6
23294
23295
23296# Check whether --with-x or --without-x was given.
23297if test "${with_x+set}" = set; then
23298 withval="$with_x"
23299
23300fi;
23301# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23302if test "x$with_x" = xno; then
23303 # The user explicitly disabled X.
23304 have_x=disabled
23305else
23306 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23307 # Both variables are already set.
23308 have_x=yes
23309 else
23310 if test "${ac_cv_have_x+set}" = set; then
23311 echo $ECHO_N "(cached) $ECHO_C" >&6
23312else
23313 # One or both of the vars are not set, and there is no cached value.
23314ac_x_includes=no ac_x_libraries=no
23315rm -fr conftest.dir
23316if mkdir conftest.dir; then
23317 cd conftest.dir
23318 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23319 cat >Imakefile <<'_ACEOF'
23320acfindx:
23321 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23322_ACEOF
23323 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23325 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23326 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23327 for ac_extension in a so sl; do
23328 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23329 test -f $ac_im_libdir/libX11.$ac_extension; then
23330 ac_im_usrlibdir=$ac_im_libdir; break
23331 fi
23332 done
23333 # Screen out bogus values from the imake configuration. They are
23334 # bogus both because they are the default anyway, and because
23335 # using them would break gcc on systems where it needs fixed includes.
23336 case $ac_im_incroot in
23337 /usr/include) ;;
23338 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23339 esac
23340 case $ac_im_usrlibdir in
23341 /usr/lib | /lib) ;;
23342 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23343 esac
23344 fi
23345 cd ..
23346 rm -fr conftest.dir
23347fi
23348
23349# Standard set of common directories for X headers.
23350# Check X11 before X11Rn because it is often a symlink to the current release.
23351ac_x_header_dirs='
23352/usr/X11/include
23353/usr/X11R6/include
23354/usr/X11R5/include
23355/usr/X11R4/include
23356
23357/usr/include/X11
23358/usr/include/X11R6
23359/usr/include/X11R5
23360/usr/include/X11R4
23361
23362/usr/local/X11/include
23363/usr/local/X11R6/include
23364/usr/local/X11R5/include
23365/usr/local/X11R4/include
23366
23367/usr/local/include/X11
23368/usr/local/include/X11R6
23369/usr/local/include/X11R5
23370/usr/local/include/X11R4
23371
23372/usr/X386/include
23373/usr/x386/include
23374/usr/XFree86/include/X11
23375
23376/usr/include
23377/usr/local/include
23378/usr/unsupported/include
23379/usr/athena/include
23380/usr/local/x11r5/include
23381/usr/lpp/Xamples/include
23382
23383/usr/openwin/include
23384/usr/openwin/share/include'
23385
23386if test "$ac_x_includes" = no; then
23387 # Guess where to find include files, by looking for Intrinsic.h.
23388 # First, try using that file with no special directory specified.
23389 cat >conftest.$ac_ext <<_ACEOF
23390/* confdefs.h. */
23391_ACEOF
23392cat confdefs.h >>conftest.$ac_ext
23393cat >>conftest.$ac_ext <<_ACEOF
23394/* end confdefs.h. */
23395#include <X11/Intrinsic.h>
23396_ACEOF
23397if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } >/dev/null; then
23405 if test -s conftest.err; then
23406 ac_cpp_err=$ac_c_preproc_warn_flag
23407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23408 else
23409 ac_cpp_err=
23410 fi
23411else
23412 ac_cpp_err=yes
23413fi
23414if test -z "$ac_cpp_err"; then
23415 # We can compile using X headers with no special include directory.
23416ac_x_includes=
23417else
23418 echo "$as_me: failed program was:" >&5
23419sed 's/^/| /' conftest.$ac_ext >&5
23420
23421 for ac_dir in $ac_x_header_dirs; do
23422 if test -r "$ac_dir/X11/Intrinsic.h"; then
23423 ac_x_includes=$ac_dir
23424 break
23425 fi
23426done
23427fi
23428rm -f conftest.err conftest.$ac_ext
23429fi # $ac_x_includes = no
23430
23431if test "$ac_x_libraries" = no; then
23432 # Check for the libraries.
23433 # See if we find them without any special options.
23434 # Don't add to $LIBS permanently.
23435 ac_save_LIBS=$LIBS
23436 LIBS="-lXt $LIBS"
23437 cat >conftest.$ac_ext <<_ACEOF
23438/* confdefs.h. */
23439_ACEOF
23440cat confdefs.h >>conftest.$ac_ext
23441cat >>conftest.$ac_ext <<_ACEOF
23442/* end confdefs.h. */
23443#include <X11/Intrinsic.h>
23444int
23445main ()
23446{
23447XtMalloc (0)
23448 ;
23449 return 0;
23450}
23451_ACEOF
23452rm -f conftest.$ac_objext conftest$ac_exeext
23453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23454 (eval $ac_link) 2>conftest.er1
23455 ac_status=$?
23456 grep -v '^ *+' conftest.er1 >conftest.err
23457 rm -f conftest.er1
23458 cat conftest.err >&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try='test -z "$ac_c_werror_flag"
23462 || test ! -s conftest.err'
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23465 ac_status=$?
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; } &&
23468 { ac_try='test -s conftest$ac_exeext'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23471 ac_status=$?
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; }; then
23474 LIBS=$ac_save_LIBS
23475# We can link X programs with no special library path.
23476ac_x_libraries=
23477else
23478 echo "$as_me: failed program was:" >&5
23479sed 's/^/| /' conftest.$ac_ext >&5
23480
23481LIBS=$ac_save_LIBS
23482for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23483do
23484 # Don't even attempt the hair of trying to link an X program!
23485 for ac_extension in a so sl; do
23486 if test -r $ac_dir/libXt.$ac_extension; then
23487 ac_x_libraries=$ac_dir
23488 break 2
23489 fi
23490 done
23491done
23492fi
23493rm -f conftest.err conftest.$ac_objext \
23494 conftest$ac_exeext conftest.$ac_ext
23495fi # $ac_x_libraries = no
23496
23497if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23498 # Didn't find X anywhere. Cache the known absence of X.
23499 ac_cv_have_x="have_x=no"
23500else
23501 # Record where we found X for the cache.
23502 ac_cv_have_x="have_x=yes \
23503 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23504fi
23505fi
23506
23507 fi
23508 eval "$ac_cv_have_x"
23509fi # $with_x != no
23510
23511if test "$have_x" != yes; then
23512 echo "$as_me:$LINENO: result: $have_x" >&5
23513echo "${ECHO_T}$have_x" >&6
23514 no_x=yes
23515else
23516 # If each of the values was on the command line, it overrides each guess.
23517 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23518 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23519 # Update the cache value to reflect the command line values.
23520 ac_cv_have_x="have_x=yes \
23521 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23522 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23523echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23524fi
23525
23526if test "$no_x" = yes; then
23527 # Not all programs may use this symbol, but it does not hurt to define it.
23528
23529cat >>confdefs.h <<\_ACEOF
23530#define X_DISPLAY_MISSING 1
23531_ACEOF
23532
23533 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23534else
23535 if test -n "$x_includes"; then
23536 X_CFLAGS="$X_CFLAGS -I$x_includes"
23537 fi
23538
23539 # It would also be nice to do this for all -L options, not just this one.
23540 if test -n "$x_libraries"; then
23541 X_LIBS="$X_LIBS -L$x_libraries"
23542 # For Solaris; some versions of Sun CC require a space after -R and
23543 # others require no space. Words are not sufficient . . . .
23544 case `(uname -sr) 2>/dev/null` in
23545 "SunOS 5"*)
23546 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23547echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23548 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23549 cat >conftest.$ac_ext <<_ACEOF
23550/* confdefs.h. */
23551_ACEOF
23552cat confdefs.h >>conftest.$ac_ext
23553cat >>conftest.$ac_ext <<_ACEOF
23554/* end confdefs.h. */
23555
23556int
23557main ()
23558{
23559
23560 ;
23561 return 0;
23562}
23563_ACEOF
23564rm -f conftest.$ac_objext conftest$ac_exeext
23565if { (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 ac_R_nospace=yes
23587else
23588 echo "$as_me: failed program was:" >&5
23589sed 's/^/| /' conftest.$ac_ext >&5
23590
23591ac_R_nospace=no
23592fi
23593rm -f conftest.err conftest.$ac_objext \
23594 conftest$ac_exeext conftest.$ac_ext
23595 if test $ac_R_nospace = yes; then
23596 echo "$as_me:$LINENO: result: no" >&5
23597echo "${ECHO_T}no" >&6
23598 X_LIBS="$X_LIBS -R$x_libraries"
23599 else
23600 LIBS="$ac_xsave_LIBS -R $x_libraries"
23601 cat >conftest.$ac_ext <<_ACEOF
23602/* confdefs.h. */
23603_ACEOF
23604cat confdefs.h >>conftest.$ac_ext
23605cat >>conftest.$ac_ext <<_ACEOF
23606/* end confdefs.h. */
23607
23608int
23609main ()
23610{
23611
23612 ;
23613 return 0;
23614}
23615_ACEOF
23616rm -f conftest.$ac_objext conftest$ac_exeext
23617if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23618 (eval $ac_link) 2>conftest.er1
23619 ac_status=$?
23620 grep -v '^ *+' conftest.er1 >conftest.err
23621 rm -f conftest.er1
23622 cat conftest.err >&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try='test -z "$ac_c_werror_flag"
23626 || test ! -s conftest.err'
23627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23628 (eval $ac_try) 2>&5
23629 ac_status=$?
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); }; } &&
23632 { ac_try='test -s conftest$ac_exeext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23635 ac_status=$?
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 ac_R_space=yes
23639else
23640 echo "$as_me: failed program was:" >&5
23641sed 's/^/| /' conftest.$ac_ext >&5
23642
23643ac_R_space=no
23644fi
23645rm -f conftest.err conftest.$ac_objext \
23646 conftest$ac_exeext conftest.$ac_ext
23647 if test $ac_R_space = yes; then
23648 echo "$as_me:$LINENO: result: yes" >&5
23649echo "${ECHO_T}yes" >&6
23650 X_LIBS="$X_LIBS -R $x_libraries"
23651 else
23652 echo "$as_me:$LINENO: result: neither works" >&5
23653echo "${ECHO_T}neither works" >&6
23654 fi
23655 fi
23656 LIBS=$ac_xsave_LIBS
23657 esac
23658 fi
23659
23660 # Check for system-dependent libraries X programs must link with.
23661 # Do this before checking for the system-independent R6 libraries
23662 # (-lICE), since we may need -lsocket or whatever for X linking.
23663
23664 if test "$ISC" = yes; then
23665 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23666 else
23667 # Martyn Johnson says this is needed for Ultrix, if the X
23668 # libraries were built with DECnet support. And Karl Berry says
23669 # the Alpha needs dnet_stub (dnet does not exist).
23670 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23671 cat >conftest.$ac_ext <<_ACEOF
23672/* confdefs.h. */
23673_ACEOF
23674cat confdefs.h >>conftest.$ac_ext
23675cat >>conftest.$ac_ext <<_ACEOF
23676/* end confdefs.h. */
23677
23678/* Override any gcc2 internal prototype to avoid an error. */
23679#ifdef __cplusplus
23680extern "C"
23681#endif
23682/* We use char because int might match the return type of a gcc2
23683 builtin and then its argument prototype would still apply. */
23684char XOpenDisplay ();
23685int
23686main ()
23687{
23688XOpenDisplay ();
23689 ;
23690 return 0;
23691}
23692_ACEOF
23693rm -f conftest.$ac_objext conftest$ac_exeext
23694if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23695 (eval $ac_link) 2>conftest.er1
23696 ac_status=$?
23697 grep -v '^ *+' conftest.er1 >conftest.err
23698 rm -f conftest.er1
23699 cat conftest.err >&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } &&
23702 { ac_try='test -z "$ac_c_werror_flag"
23703 || test ! -s conftest.err'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23706 ac_status=$?
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; } &&
23709 { ac_try='test -s conftest$ac_exeext'
23710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23711 (eval $ac_try) 2>&5
23712 ac_status=$?
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); }; }; then
23715 :
23716else
23717 echo "$as_me: failed program was:" >&5
23718sed 's/^/| /' conftest.$ac_ext >&5
23719
23720echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23721echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23722if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23724else
23725 ac_check_lib_save_LIBS=$LIBS
23726LIBS="-ldnet $LIBS"
23727cat >conftest.$ac_ext <<_ACEOF
23728/* confdefs.h. */
23729_ACEOF
23730cat confdefs.h >>conftest.$ac_ext
23731cat >>conftest.$ac_ext <<_ACEOF
23732/* end confdefs.h. */
23733
23734/* Override any gcc2 internal prototype to avoid an error. */
23735#ifdef __cplusplus
23736extern "C"
23737#endif
23738/* We use char because int might match the return type of a gcc2
23739 builtin and then its argument prototype would still apply. */
23740char dnet_ntoa ();
23741int
23742main ()
23743{
23744dnet_ntoa ();
23745 ;
23746 return 0;
23747}
23748_ACEOF
23749rm -f conftest.$ac_objext conftest$ac_exeext
23750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23751 (eval $ac_link) 2>conftest.er1
23752 ac_status=$?
23753 grep -v '^ *+' conftest.er1 >conftest.err
23754 rm -f conftest.er1
23755 cat conftest.err >&5
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); } &&
23758 { ac_try='test -z "$ac_c_werror_flag"
23759 || test ! -s conftest.err'
23760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23761 (eval $ac_try) 2>&5
23762 ac_status=$?
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; } &&
23765 { ac_try='test -s conftest$ac_exeext'
23766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23767 (eval $ac_try) 2>&5
23768 ac_status=$?
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); }; }; then
23771 ac_cv_lib_dnet_dnet_ntoa=yes
23772else
23773 echo "$as_me: failed program was:" >&5
23774sed 's/^/| /' conftest.$ac_ext >&5
23775
23776ac_cv_lib_dnet_dnet_ntoa=no
23777fi
23778rm -f conftest.err conftest.$ac_objext \
23779 conftest$ac_exeext conftest.$ac_ext
23780LIBS=$ac_check_lib_save_LIBS
23781fi
23782echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23783echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23784if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23785 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23786fi
23787
23788 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23789 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23790echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23791if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23793else
23794 ac_check_lib_save_LIBS=$LIBS
23795LIBS="-ldnet_stub $LIBS"
23796cat >conftest.$ac_ext <<_ACEOF
23797/* confdefs.h. */
23798_ACEOF
23799cat confdefs.h >>conftest.$ac_ext
23800cat >>conftest.$ac_ext <<_ACEOF
23801/* end confdefs.h. */
23802
23803/* Override any gcc2 internal prototype to avoid an error. */
23804#ifdef __cplusplus
23805extern "C"
23806#endif
23807/* We use char because int might match the return type of a gcc2
23808 builtin and then its argument prototype would still apply. */
23809char dnet_ntoa ();
23810int
23811main ()
23812{
23813dnet_ntoa ();
23814 ;
23815 return 0;
23816}
23817_ACEOF
23818rm -f conftest.$ac_objext conftest$ac_exeext
23819if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23820 (eval $ac_link) 2>conftest.er1
23821 ac_status=$?
23822 grep -v '^ *+' conftest.er1 >conftest.err
23823 rm -f conftest.er1
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } &&
23827 { ac_try='test -z "$ac_c_werror_flag"
23828 || test ! -s conftest.err'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23831 ac_status=$?
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; } &&
23834 { ac_try='test -s conftest$ac_exeext'
23835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23836 (eval $ac_try) 2>&5
23837 ac_status=$?
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); }; }; then
23840 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23841else
23842 echo "$as_me: failed program was:" >&5
23843sed 's/^/| /' conftest.$ac_ext >&5
23844
23845ac_cv_lib_dnet_stub_dnet_ntoa=no
23846fi
23847rm -f conftest.err conftest.$ac_objext \
23848 conftest$ac_exeext conftest.$ac_ext
23849LIBS=$ac_check_lib_save_LIBS
23850fi
23851echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23852echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23853if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23854 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23855fi
23856
23857 fi
23858fi
23859rm -f conftest.err conftest.$ac_objext \
23860 conftest$ac_exeext conftest.$ac_ext
23861 LIBS="$ac_xsave_LIBS"
23862
23863 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23864 # to get the SysV transport functions.
23865 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23866 # needs -lnsl.
23867 # The nsl library prevents programs from opening the X display
23868 # on Irix 5.2, according to T.E. Dickey.
23869 # The functions gethostbyname, getservbyname, and inet_addr are
23870 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23871 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23872echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23873if test "${ac_cv_func_gethostbyname+set}" = set; then
23874 echo $ECHO_N "(cached) $ECHO_C" >&6
23875else
23876 cat >conftest.$ac_ext <<_ACEOF
23877/* confdefs.h. */
23878_ACEOF
23879cat confdefs.h >>conftest.$ac_ext
23880cat >>conftest.$ac_ext <<_ACEOF
23881/* end confdefs.h. */
23882/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23884#define gethostbyname innocuous_gethostbyname
23885
23886/* System header to define __stub macros and hopefully few prototypes,
23887 which can conflict with char gethostbyname (); below.
23888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23889 <limits.h> exists even on freestanding compilers. */
23890
23891#ifdef __STDC__
23892# include <limits.h>
23893#else
23894# include <assert.h>
23895#endif
23896
23897#undef gethostbyname
23898
23899/* Override any gcc2 internal prototype to avoid an error. */
23900#ifdef __cplusplus
23901extern "C"
23902{
23903#endif
23904/* We use char because int might match the return type of a gcc2
23905 builtin and then its argument prototype would still apply. */
23906char gethostbyname ();
23907/* The GNU C library defines this for functions which it implements
23908 to always fail with ENOSYS. Some functions are actually named
23909 something starting with __ and the normal name is an alias. */
23910#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23911choke me
23912#else
23913char (*f) () = gethostbyname;
23914#endif
23915#ifdef __cplusplus
23916}
23917#endif
23918
23919int
23920main ()
23921{
23922return f != gethostbyname;
23923 ;
23924 return 0;
23925}
23926_ACEOF
23927rm -f conftest.$ac_objext conftest$ac_exeext
23928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23929 (eval $ac_link) 2>conftest.er1
23930 ac_status=$?
23931 grep -v '^ *+' conftest.er1 >conftest.err
23932 rm -f conftest.er1
23933 cat conftest.err >&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } &&
23936 { ac_try='test -z "$ac_c_werror_flag"
23937 || test ! -s conftest.err'
23938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23940 ac_status=$?
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); }; } &&
23943 { ac_try='test -s conftest$ac_exeext'
23944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23945 (eval $ac_try) 2>&5
23946 ac_status=$?
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); }; }; then
23949 ac_cv_func_gethostbyname=yes
23950else
23951 echo "$as_me: failed program was:" >&5
23952sed 's/^/| /' conftest.$ac_ext >&5
23953
23954ac_cv_func_gethostbyname=no
23955fi
23956rm -f conftest.err conftest.$ac_objext \
23957 conftest$ac_exeext conftest.$ac_ext
23958fi
23959echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23960echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23961
23962 if test $ac_cv_func_gethostbyname = no; then
23963 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23964echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23965if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23967else
23968 ac_check_lib_save_LIBS=$LIBS
23969LIBS="-lnsl $LIBS"
23970cat >conftest.$ac_ext <<_ACEOF
23971/* confdefs.h. */
23972_ACEOF
23973cat confdefs.h >>conftest.$ac_ext
23974cat >>conftest.$ac_ext <<_ACEOF
23975/* end confdefs.h. */
23976
23977/* Override any gcc2 internal prototype to avoid an error. */
23978#ifdef __cplusplus
23979extern "C"
23980#endif
23981/* We use char because int might match the return type of a gcc2
23982 builtin and then its argument prototype would still apply. */
23983char gethostbyname ();
23984int
23985main ()
23986{
23987gethostbyname ();
23988 ;
23989 return 0;
23990}
23991_ACEOF
23992rm -f conftest.$ac_objext conftest$ac_exeext
23993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23994 (eval $ac_link) 2>conftest.er1
23995 ac_status=$?
23996 grep -v '^ *+' conftest.er1 >conftest.err
23997 rm -f conftest.er1
23998 cat conftest.err >&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } &&
24001 { ac_try='test -z "$ac_c_werror_flag"
24002 || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try='test -s conftest$ac_exeext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 ac_cv_lib_nsl_gethostbyname=yes
24015else
24016 echo "$as_me: failed program was:" >&5
24017sed 's/^/| /' conftest.$ac_ext >&5
24018
24019ac_cv_lib_nsl_gethostbyname=no
24020fi
24021rm -f conftest.err conftest.$ac_objext \
24022 conftest$ac_exeext conftest.$ac_ext
24023LIBS=$ac_check_lib_save_LIBS
24024fi
24025echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24026echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24027if test $ac_cv_lib_nsl_gethostbyname = yes; then
24028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24029fi
24030
24031 if test $ac_cv_lib_nsl_gethostbyname = no; then
24032 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24033echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24034if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24036else
24037 ac_check_lib_save_LIBS=$LIBS
24038LIBS="-lbsd $LIBS"
24039cat >conftest.$ac_ext <<_ACEOF
24040/* confdefs.h. */
24041_ACEOF
24042cat confdefs.h >>conftest.$ac_ext
24043cat >>conftest.$ac_ext <<_ACEOF
24044/* end confdefs.h. */
24045
24046/* Override any gcc2 internal prototype to avoid an error. */
24047#ifdef __cplusplus
24048extern "C"
24049#endif
24050/* We use char because int might match the return type of a gcc2
24051 builtin and then its argument prototype would still apply. */
24052char gethostbyname ();
24053int
24054main ()
24055{
24056gethostbyname ();
24057 ;
24058 return 0;
24059}
24060_ACEOF
24061rm -f conftest.$ac_objext conftest$ac_exeext
24062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24063 (eval $ac_link) 2>conftest.er1
24064 ac_status=$?
24065 grep -v '^ *+' conftest.er1 >conftest.err
24066 rm -f conftest.er1
24067 cat conftest.err >&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); } &&
24070 { ac_try='test -z "$ac_c_werror_flag"
24071 || test ! -s conftest.err'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24074 ac_status=$?
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; } &&
24077 { ac_try='test -s conftest$ac_exeext'
24078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079 (eval $ac_try) 2>&5
24080 ac_status=$?
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); }; }; then
24083 ac_cv_lib_bsd_gethostbyname=yes
24084else
24085 echo "$as_me: failed program was:" >&5
24086sed 's/^/| /' conftest.$ac_ext >&5
24087
24088ac_cv_lib_bsd_gethostbyname=no
24089fi
24090rm -f conftest.err conftest.$ac_objext \
24091 conftest$ac_exeext conftest.$ac_ext
24092LIBS=$ac_check_lib_save_LIBS
24093fi
24094echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24095echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24096if test $ac_cv_lib_bsd_gethostbyname = yes; then
24097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24098fi
24099
24100 fi
24101 fi
24102
24103 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24104 # socket/setsockopt and other routines are undefined under SCO ODT
24105 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24106 # on later versions), says Simon Leinen: it contains gethostby*
24107 # variants that don't use the name server (or something). -lsocket
24108 # must be given before -lnsl if both are needed. We assume that
24109 # if connect needs -lnsl, so does gethostbyname.
24110 echo "$as_me:$LINENO: checking for connect" >&5
24111echo $ECHO_N "checking for connect... $ECHO_C" >&6
24112if test "${ac_cv_func_connect+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114else
24115 cat >conftest.$ac_ext <<_ACEOF
24116/* confdefs.h. */
24117_ACEOF
24118cat confdefs.h >>conftest.$ac_ext
24119cat >>conftest.$ac_ext <<_ACEOF
24120/* end confdefs.h. */
24121/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24123#define connect innocuous_connect
24124
24125/* System header to define __stub macros and hopefully few prototypes,
24126 which can conflict with char connect (); below.
24127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24128 <limits.h> exists even on freestanding compilers. */
24129
24130#ifdef __STDC__
24131# include <limits.h>
24132#else
24133# include <assert.h>
24134#endif
24135
24136#undef connect
24137
24138/* Override any gcc2 internal prototype to avoid an error. */
24139#ifdef __cplusplus
24140extern "C"
24141{
24142#endif
24143/* We use char because int might match the return type of a gcc2
24144 builtin and then its argument prototype would still apply. */
24145char connect ();
24146/* The GNU C library defines this for functions which it implements
24147 to always fail with ENOSYS. Some functions are actually named
24148 something starting with __ and the normal name is an alias. */
24149#if defined (__stub_connect) || defined (__stub___connect)
24150choke me
24151#else
24152char (*f) () = connect;
24153#endif
24154#ifdef __cplusplus
24155}
24156#endif
24157
24158int
24159main ()
24160{
24161return f != connect;
24162 ;
24163 return 0;
24164}
24165_ACEOF
24166rm -f conftest.$ac_objext conftest$ac_exeext
24167if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_c_werror_flag"
24176 || test ! -s conftest.err'
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); }; } &&
24182 { ac_try='test -s conftest$ac_exeext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 ac_cv_func_connect=yes
24189else
24190 echo "$as_me: failed program was:" >&5
24191sed 's/^/| /' conftest.$ac_ext >&5
24192
24193ac_cv_func_connect=no
24194fi
24195rm -f conftest.err conftest.$ac_objext \
24196 conftest$ac_exeext conftest.$ac_ext
24197fi
24198echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24199echo "${ECHO_T}$ac_cv_func_connect" >&6
24200
24201 if test $ac_cv_func_connect = no; then
24202 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24203echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24204if test "${ac_cv_lib_socket_connect+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24206else
24207 ac_check_lib_save_LIBS=$LIBS
24208LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24209cat >conftest.$ac_ext <<_ACEOF
24210/* confdefs.h. */
24211_ACEOF
24212cat confdefs.h >>conftest.$ac_ext
24213cat >>conftest.$ac_ext <<_ACEOF
24214/* end confdefs.h. */
24215
24216/* Override any gcc2 internal prototype to avoid an error. */
24217#ifdef __cplusplus
24218extern "C"
24219#endif
24220/* We use char because int might match the return type of a gcc2
24221 builtin and then its argument prototype would still apply. */
24222char connect ();
24223int
24224main ()
24225{
24226connect ();
24227 ;
24228 return 0;
24229}
24230_ACEOF
24231rm -f conftest.$ac_objext conftest$ac_exeext
24232if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24233 (eval $ac_link) 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try='test -z "$ac_c_werror_flag"
24241 || test ! -s conftest.err'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24244 ac_status=$?
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; } &&
24247 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
24253 ac_cv_lib_socket_connect=yes
24254else
24255 echo "$as_me: failed program was:" >&5
24256sed 's/^/| /' conftest.$ac_ext >&5
24257
24258ac_cv_lib_socket_connect=no
24259fi
24260rm -f conftest.err conftest.$ac_objext \
24261 conftest$ac_exeext conftest.$ac_ext
24262LIBS=$ac_check_lib_save_LIBS
24263fi
24264echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24265echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24266if test $ac_cv_lib_socket_connect = yes; then
24267 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24268fi
24269
24270 fi
24271
24272 # Guillermo Gomez says -lposix is necessary on A/UX.
24273 echo "$as_me:$LINENO: checking for remove" >&5
24274echo $ECHO_N "checking for remove... $ECHO_C" >&6
24275if test "${ac_cv_func_remove+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24277else
24278 cat >conftest.$ac_ext <<_ACEOF
24279/* confdefs.h. */
24280_ACEOF
24281cat confdefs.h >>conftest.$ac_ext
24282cat >>conftest.$ac_ext <<_ACEOF
24283/* end confdefs.h. */
24284/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24286#define remove innocuous_remove
24287
24288/* System header to define __stub macros and hopefully few prototypes,
24289 which can conflict with char remove (); below.
24290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24291 <limits.h> exists even on freestanding compilers. */
24292
24293#ifdef __STDC__
24294# include <limits.h>
24295#else
24296# include <assert.h>
24297#endif
24298
24299#undef remove
24300
24301/* Override any gcc2 internal prototype to avoid an error. */
24302#ifdef __cplusplus
24303extern "C"
24304{
24305#endif
24306/* We use char because int might match the return type of a gcc2
24307 builtin and then its argument prototype would still apply. */
24308char remove ();
24309/* The GNU C library defines this for functions which it implements
24310 to always fail with ENOSYS. Some functions are actually named
24311 something starting with __ and the normal name is an alias. */
24312#if defined (__stub_remove) || defined (__stub___remove)
24313choke me
24314#else
24315char (*f) () = remove;
24316#endif
24317#ifdef __cplusplus
24318}
24319#endif
24320
24321int
24322main ()
24323{
24324return f != remove;
24325 ;
24326 return 0;
24327}
24328_ACEOF
24329rm -f conftest.$ac_objext conftest$ac_exeext
24330if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24331 (eval $ac_link) 2>conftest.er1
24332 ac_status=$?
24333 grep -v '^ *+' conftest.er1 >conftest.err
24334 rm -f conftest.er1
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } &&
24338 { ac_try='test -z "$ac_c_werror_flag"
24339 || test ! -s conftest.err'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24342 ac_status=$?
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; } &&
24345 { ac_try='test -s conftest$ac_exeext'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24348 ac_status=$?
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24351 ac_cv_func_remove=yes
24352else
24353 echo "$as_me: failed program was:" >&5
24354sed 's/^/| /' conftest.$ac_ext >&5
24355
24356ac_cv_func_remove=no
24357fi
24358rm -f conftest.err conftest.$ac_objext \
24359 conftest$ac_exeext conftest.$ac_ext
24360fi
24361echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24362echo "${ECHO_T}$ac_cv_func_remove" >&6
24363
24364 if test $ac_cv_func_remove = no; then
24365 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24366echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24367if test "${ac_cv_lib_posix_remove+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24369else
24370 ac_check_lib_save_LIBS=$LIBS
24371LIBS="-lposix $LIBS"
24372cat >conftest.$ac_ext <<_ACEOF
24373/* confdefs.h. */
24374_ACEOF
24375cat confdefs.h >>conftest.$ac_ext
24376cat >>conftest.$ac_ext <<_ACEOF
24377/* end confdefs.h. */
24378
24379/* Override any gcc2 internal prototype to avoid an error. */
24380#ifdef __cplusplus
24381extern "C"
24382#endif
24383/* We use char because int might match the return type of a gcc2
24384 builtin and then its argument prototype would still apply. */
24385char remove ();
24386int
24387main ()
24388{
24389remove ();
24390 ;
24391 return 0;
24392}
24393_ACEOF
24394rm -f conftest.$ac_objext conftest$ac_exeext
24395if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24396 (eval $ac_link) 2>conftest.er1
24397 ac_status=$?
24398 grep -v '^ *+' conftest.er1 >conftest.err
24399 rm -f conftest.er1
24400 cat conftest.err >&5
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); } &&
24403 { ac_try='test -z "$ac_c_werror_flag"
24404 || test ! -s conftest.err'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24407 ac_status=$?
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; } &&
24410 { ac_try='test -s conftest$ac_exeext'
24411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 (eval $ac_try) 2>&5
24413 ac_status=$?
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); }; }; then
24416 ac_cv_lib_posix_remove=yes
24417else
24418 echo "$as_me: failed program was:" >&5
24419sed 's/^/| /' conftest.$ac_ext >&5
24420
24421ac_cv_lib_posix_remove=no
24422fi
24423rm -f conftest.err conftest.$ac_objext \
24424 conftest$ac_exeext conftest.$ac_ext
24425LIBS=$ac_check_lib_save_LIBS
24426fi
24427echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24428echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24429if test $ac_cv_lib_posix_remove = yes; then
24430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24431fi
24432
24433 fi
24434
24435 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24436 echo "$as_me:$LINENO: checking for shmat" >&5
24437echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24438if test "${ac_cv_func_shmat+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24440else
24441 cat >conftest.$ac_ext <<_ACEOF
24442/* confdefs.h. */
24443_ACEOF
24444cat confdefs.h >>conftest.$ac_ext
24445cat >>conftest.$ac_ext <<_ACEOF
24446/* end confdefs.h. */
24447/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24449#define shmat innocuous_shmat
24450
24451/* System header to define __stub macros and hopefully few prototypes,
24452 which can conflict with char shmat (); below.
24453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24454 <limits.h> exists even on freestanding compilers. */
24455
24456#ifdef __STDC__
24457# include <limits.h>
24458#else
24459# include <assert.h>
24460#endif
24461
24462#undef shmat
24463
24464/* Override any gcc2 internal prototype to avoid an error. */
24465#ifdef __cplusplus
24466extern "C"
24467{
24468#endif
24469/* We use char because int might match the return type of a gcc2
24470 builtin and then its argument prototype would still apply. */
24471char shmat ();
24472/* The GNU C library defines this for functions which it implements
24473 to always fail with ENOSYS. Some functions are actually named
24474 something starting with __ and the normal name is an alias. */
24475#if defined (__stub_shmat) || defined (__stub___shmat)
24476choke me
24477#else
24478char (*f) () = shmat;
24479#endif
24480#ifdef __cplusplus
24481}
24482#endif
24483
24484int
24485main ()
24486{
24487return f != shmat;
24488 ;
24489 return 0;
24490}
24491_ACEOF
24492rm -f conftest.$ac_objext conftest$ac_exeext
24493if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>conftest.er1
24495 ac_status=$?
24496 grep -v '^ *+' conftest.er1 >conftest.err
24497 rm -f conftest.er1
24498 cat conftest.err >&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); } &&
24501 { ac_try='test -z "$ac_c_werror_flag"
24502 || test ! -s conftest.err'
24503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504 (eval $ac_try) 2>&5
24505 ac_status=$?
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); }; } &&
24508 { ac_try='test -s conftest$ac_exeext'
24509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510 (eval $ac_try) 2>&5
24511 ac_status=$?
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); }; }; then
24514 ac_cv_func_shmat=yes
24515else
24516 echo "$as_me: failed program was:" >&5
24517sed 's/^/| /' conftest.$ac_ext >&5
24518
24519ac_cv_func_shmat=no
24520fi
24521rm -f conftest.err conftest.$ac_objext \
24522 conftest$ac_exeext conftest.$ac_ext
24523fi
24524echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24525echo "${ECHO_T}$ac_cv_func_shmat" >&6
24526
24527 if test $ac_cv_func_shmat = no; then
24528 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24529echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24530if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24531 echo $ECHO_N "(cached) $ECHO_C" >&6
24532else
24533 ac_check_lib_save_LIBS=$LIBS
24534LIBS="-lipc $LIBS"
24535cat >conftest.$ac_ext <<_ACEOF
24536/* confdefs.h. */
24537_ACEOF
24538cat confdefs.h >>conftest.$ac_ext
24539cat >>conftest.$ac_ext <<_ACEOF
24540/* end confdefs.h. */
24541
24542/* Override any gcc2 internal prototype to avoid an error. */
24543#ifdef __cplusplus
24544extern "C"
24545#endif
24546/* We use char because int might match the return type of a gcc2
24547 builtin and then its argument prototype would still apply. */
24548char shmat ();
24549int
24550main ()
24551{
24552shmat ();
24553 ;
24554 return 0;
24555}
24556_ACEOF
24557rm -f conftest.$ac_objext conftest$ac_exeext
24558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24559 (eval $ac_link) 2>conftest.er1
24560 ac_status=$?
24561 grep -v '^ *+' conftest.er1 >conftest.err
24562 rm -f conftest.er1
24563 cat conftest.err >&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); } &&
24566 { ac_try='test -z "$ac_c_werror_flag"
24567 || test ! -s conftest.err'
24568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24569 (eval $ac_try) 2>&5
24570 ac_status=$?
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); }; } &&
24573 { ac_try='test -s conftest$ac_exeext'
24574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24575 (eval $ac_try) 2>&5
24576 ac_status=$?
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); }; }; then
24579 ac_cv_lib_ipc_shmat=yes
24580else
24581 echo "$as_me: failed program was:" >&5
24582sed 's/^/| /' conftest.$ac_ext >&5
24583
24584ac_cv_lib_ipc_shmat=no
24585fi
24586rm -f conftest.err conftest.$ac_objext \
24587 conftest$ac_exeext conftest.$ac_ext
24588LIBS=$ac_check_lib_save_LIBS
24589fi
24590echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24591echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24592if test $ac_cv_lib_ipc_shmat = yes; then
24593 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24594fi
24595
24596 fi
24597 fi
24598
24599 # Check for libraries that X11R6 Xt/Xaw programs need.
24600 ac_save_LDFLAGS=$LDFLAGS
24601 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24602 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24603 # check for ICE first), but we must link in the order -lSM -lICE or
24604 # we get undefined symbols. So assume we have SM if we have ICE.
24605 # These have to be linked with before -lX11, unlike the other
24606 # libraries we check for below, so use a different variable.
24607 # John Interrante, Karl Berry
24608 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24609echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24610if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24611 echo $ECHO_N "(cached) $ECHO_C" >&6
24612else
24613 ac_check_lib_save_LIBS=$LIBS
24614LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24615cat >conftest.$ac_ext <<_ACEOF
24616/* confdefs.h. */
24617_ACEOF
24618cat confdefs.h >>conftest.$ac_ext
24619cat >>conftest.$ac_ext <<_ACEOF
24620/* end confdefs.h. */
24621
24622/* Override any gcc2 internal prototype to avoid an error. */
24623#ifdef __cplusplus
24624extern "C"
24625#endif
24626/* We use char because int might match the return type of a gcc2
24627 builtin and then its argument prototype would still apply. */
24628char IceConnectionNumber ();
24629int
24630main ()
24631{
24632IceConnectionNumber ();
24633 ;
24634 return 0;
24635}
24636_ACEOF
24637rm -f conftest.$ac_objext conftest$ac_exeext
24638if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24639 (eval $ac_link) 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try='test -z "$ac_c_werror_flag"
24647 || test ! -s conftest.err'
24648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24649 (eval $ac_try) 2>&5
24650 ac_status=$?
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); }; } &&
24653 { ac_try='test -s conftest$ac_exeext'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; }; then
24659 ac_cv_lib_ICE_IceConnectionNumber=yes
24660else
24661 echo "$as_me: failed program was:" >&5
24662sed 's/^/| /' conftest.$ac_ext >&5
24663
24664ac_cv_lib_ICE_IceConnectionNumber=no
24665fi
24666rm -f conftest.err conftest.$ac_objext \
24667 conftest$ac_exeext conftest.$ac_ext
24668LIBS=$ac_check_lib_save_LIBS
24669fi
24670echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24671echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24672if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24673 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24674fi
24675
24676 LDFLAGS=$ac_save_LDFLAGS
24677
24678fi
24679
24680
24681 if test "$no_x" = "yes"; then
24682 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24683echo "$as_me: error: X11 not found" >&2;}
24684 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24685 fi
24686
24687 GUI_TK_LIBRARY="$X_LIBS"
24688 TOOLKIT_INCLUDE="$X_CFLAGS"
24689 AFMINSTALL=afminstall
24690 COMPILED_X_PROGRAM=0
24691
24692 if test "$wxUSE_NANOX" = "yes"; then
24693 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24694echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24695 if test "x$MICROWIN" = x ; then
24696 echo "$as_me:$LINENO: result: not found" >&5
24697echo "${ECHO_T}not found" >&6
24698 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24699echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24700 { (exit 1); exit 1; }; }
24701 else
24702 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24703echo "${ECHO_T}$MICROWIN" >&6
24704 cat >>confdefs.h <<\_ACEOF
24705#define wxUSE_NANOX 1
24706_ACEOF
24707
24708 fi
24709 fi
24710
24711 if test "$wxUSE_UNICODE" = "yes"; then
24712
24713 succeeded=no
24714
24715 if test -z "$PKG_CONFIG"; then
24716 # Extract the first word of "pkg-config", so it can be a program name with args.
24717set dummy pkg-config; ac_word=$2
24718echo "$as_me:$LINENO: checking for $ac_word" >&5
24719echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24720if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24721 echo $ECHO_N "(cached) $ECHO_C" >&6
24722else
24723 case $PKG_CONFIG in
24724 [\\/]* | ?:[\\/]*)
24725 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24726 ;;
24727 *)
24728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24729for as_dir in $PATH
24730do
24731 IFS=$as_save_IFS
24732 test -z "$as_dir" && as_dir=.
24733 for ac_exec_ext in '' $ac_executable_extensions; do
24734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24735 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24737 break 2
24738 fi
24739done
24740done
24741
24742 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24743 ;;
24744esac
24745fi
24746PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24747
24748if test -n "$PKG_CONFIG"; then
24749 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24750echo "${ECHO_T}$PKG_CONFIG" >&6
24751else
24752 echo "$as_me:$LINENO: result: no" >&5
24753echo "${ECHO_T}no" >&6
24754fi
24755
24756 fi
24757
24758 if test "$PKG_CONFIG" = "no" ; then
24759 echo "*** The pkg-config script could not be found. Make sure it is"
24760 echo "*** in your path, or set the PKG_CONFIG environment variable"
24761 echo "*** to the full path to pkg-config."
24762 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24763 else
24764 PKG_CONFIG_MIN_VERSION=0.9.0
24765 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24766 echo "$as_me:$LINENO: checking for pangox" >&5
24767echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24768
24769 if $PKG_CONFIG --exists "pangox" ; then
24770 echo "$as_me:$LINENO: result: yes" >&5
24771echo "${ECHO_T}yes" >&6
24772 succeeded=yes
24773
24774 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24775echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24776 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24777 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24778echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24779
24780 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24781echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24782 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24783 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24784echo "${ECHO_T}$PANGOX_LIBS" >&6
24785 else
24786 PANGOX_CFLAGS=""
24787 PANGOX_LIBS=""
24788 ## If we have a custom action on failure, don't print errors, but
24789 ## do set a variable so people can do so.
24790 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24791
24792 fi
24793
24794
24795
24796 else
24797 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24798 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24799 fi
24800 fi
24801
24802 if test $succeeded = yes; then
24803
24804 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24805 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24806
24807 else
24808
24809 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24810echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24811 { (exit 1); exit 1; }; }
24812
24813
24814 fi
24815
24816
24817 succeeded=no
24818
24819 if test -z "$PKG_CONFIG"; then
24820 # Extract the first word of "pkg-config", so it can be a program name with args.
24821set dummy pkg-config; ac_word=$2
24822echo "$as_me:$LINENO: checking for $ac_word" >&5
24823echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24824if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24826else
24827 case $PKG_CONFIG in
24828 [\\/]* | ?:[\\/]*)
24829 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24830 ;;
24831 *)
24832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24833for as_dir in $PATH
24834do
24835 IFS=$as_save_IFS
24836 test -z "$as_dir" && as_dir=.
24837 for ac_exec_ext in '' $ac_executable_extensions; do
24838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24839 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24841 break 2
24842 fi
24843done
24844done
24845
24846 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24847 ;;
24848esac
24849fi
24850PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24851
24852if test -n "$PKG_CONFIG"; then
24853 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24854echo "${ECHO_T}$PKG_CONFIG" >&6
24855else
24856 echo "$as_me:$LINENO: result: no" >&5
24857echo "${ECHO_T}no" >&6
24858fi
24859
24860 fi
24861
24862 if test "$PKG_CONFIG" = "no" ; then
24863 echo "*** The pkg-config script could not be found. Make sure it is"
24864 echo "*** in your path, or set the PKG_CONFIG environment variable"
24865 echo "*** to the full path to pkg-config."
24866 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24867 else
24868 PKG_CONFIG_MIN_VERSION=0.9.0
24869 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24870 echo "$as_me:$LINENO: checking for pangoft2" >&5
24871echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24872
24873 if $PKG_CONFIG --exists "pangoft2" ; then
24874 echo "$as_me:$LINENO: result: yes" >&5
24875echo "${ECHO_T}yes" >&6
24876 succeeded=yes
24877
24878 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24879echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24880 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24881 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24882echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24883
24884 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24885echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24886 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24887 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24888echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24889 else
24890 PANGOFT2_CFLAGS=""
24891 PANGOFT2_LIBS=""
24892 ## If we have a custom action on failure, don't print errors, but
24893 ## do set a variable so people can do so.
24894 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24895
24896 fi
24897
24898
24899
24900 else
24901 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24902 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24903 fi
24904 fi
24905
24906 if test $succeeded = yes; then
24907
24908 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24910
24911 else
24912
24913 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24914echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24915 wxUSE_PRINTING_ARCHITECTURE="no"
24916
24917
24918 fi
24919
24920
24921 succeeded=no
24922
24923 if test -z "$PKG_CONFIG"; then
24924 # Extract the first word of "pkg-config", so it can be a program name with args.
24925set dummy pkg-config; ac_word=$2
24926echo "$as_me:$LINENO: checking for $ac_word" >&5
24927echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24928if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24929 echo $ECHO_N "(cached) $ECHO_C" >&6
24930else
24931 case $PKG_CONFIG in
24932 [\\/]* | ?:[\\/]*)
24933 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24934 ;;
24935 *)
24936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24937for as_dir in $PATH
24938do
24939 IFS=$as_save_IFS
24940 test -z "$as_dir" && as_dir=.
24941 for ac_exec_ext in '' $ac_executable_extensions; do
24942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24943 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24945 break 2
24946 fi
24947done
24948done
24949
24950 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24951 ;;
24952esac
24953fi
24954PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24955
24956if test -n "$PKG_CONFIG"; then
24957 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24958echo "${ECHO_T}$PKG_CONFIG" >&6
24959else
24960 echo "$as_me:$LINENO: result: no" >&5
24961echo "${ECHO_T}no" >&6
24962fi
24963
24964 fi
24965
24966 if test "$PKG_CONFIG" = "no" ; then
24967 echo "*** The pkg-config script could not be found. Make sure it is"
24968 echo "*** in your path, or set the PKG_CONFIG environment variable"
24969 echo "*** to the full path to pkg-config."
24970 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24971 else
24972 PKG_CONFIG_MIN_VERSION=0.9.0
24973 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24974 echo "$as_me:$LINENO: checking for pangoxft" >&5
24975echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24976
24977 if $PKG_CONFIG --exists "pangoxft" ; then
24978 echo "$as_me:$LINENO: result: yes" >&5
24979echo "${ECHO_T}yes" >&6
24980 succeeded=yes
24981
24982 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24983echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24984 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24985 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24986echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24987
24988 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24989echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24990 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24991 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24992echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24993 else
24994 PANGOXFT_CFLAGS=""
24995 PANGOXFT_LIBS=""
24996 ## If we have a custom action on failure, don't print errors, but
24997 ## do set a variable so people can do so.
24998 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24999
25000 fi
25001
25002
25003
25004 else
25005 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25006 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25007 fi
25008 fi
25009
25010 if test $succeeded = yes; then
25011
25012 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25013 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25014
25015 else
25016
25017 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25018echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25019
25020
25021 fi
25022
25023 fi
25024
25025 wxUSE_UNIVERSAL="yes"
25026
25027 if test "$wxUSE_NANOX" = "yes"; then
25028 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25029 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"
25030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25031 else
25032 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25033 fi
25034
25035 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
25036 TOOLKIT=X11
25037 GUIDIST=X11_DIST
25038 fi
25039
25040 if test "$wxUSE_MOTIF" = 1; then
25041 if test "$no_x" = yes; then
25042 # Not all programs may use this symbol, but it does not hurt to define it.
25043
25044cat >>confdefs.h <<\_ACEOF
25045#define X_DISPLAY_MISSING 1
25046_ACEOF
25047
25048 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25049else
25050 if test -n "$x_includes"; then
25051 X_CFLAGS="$X_CFLAGS -I$x_includes"
25052 fi
25053
25054 # It would also be nice to do this for all -L options, not just this one.
25055 if test -n "$x_libraries"; then
25056 X_LIBS="$X_LIBS -L$x_libraries"
25057 # For Solaris; some versions of Sun CC require a space after -R and
25058 # others require no space. Words are not sufficient . . . .
25059 case `(uname -sr) 2>/dev/null` in
25060 "SunOS 5"*)
25061 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25062echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25063 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25064 cat >conftest.$ac_ext <<_ACEOF
25065/* confdefs.h. */
25066_ACEOF
25067cat confdefs.h >>conftest.$ac_ext
25068cat >>conftest.$ac_ext <<_ACEOF
25069/* end confdefs.h. */
25070
25071int
25072main ()
25073{
25074
25075 ;
25076 return 0;
25077}
25078_ACEOF
25079rm -f conftest.$ac_objext conftest$ac_exeext
25080if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25081 (eval $ac_link) 2>conftest.er1
25082 ac_status=$?
25083 grep -v '^ *+' conftest.er1 >conftest.err
25084 rm -f conftest.er1
25085 cat conftest.err >&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } &&
25088 { ac_try='test -z "$ac_c_werror_flag"
25089 || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25092 ac_status=$?
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try='test -s conftest$ac_exeext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25098 ac_status=$?
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 ac_R_nospace=yes
25102else
25103 echo "$as_me: failed program was:" >&5
25104sed 's/^/| /' conftest.$ac_ext >&5
25105
25106ac_R_nospace=no
25107fi
25108rm -f conftest.err conftest.$ac_objext \
25109 conftest$ac_exeext conftest.$ac_ext
25110 if test $ac_R_nospace = yes; then
25111 echo "$as_me:$LINENO: result: no" >&5
25112echo "${ECHO_T}no" >&6
25113 X_LIBS="$X_LIBS -R$x_libraries"
25114 else
25115 LIBS="$ac_xsave_LIBS -R $x_libraries"
25116 cat >conftest.$ac_ext <<_ACEOF
25117/* confdefs.h. */
25118_ACEOF
25119cat confdefs.h >>conftest.$ac_ext
25120cat >>conftest.$ac_ext <<_ACEOF
25121/* end confdefs.h. */
25122
25123int
25124main ()
25125{
25126
25127 ;
25128 return 0;
25129}
25130_ACEOF
25131rm -f conftest.$ac_objext conftest$ac_exeext
25132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25133 (eval $ac_link) 2>conftest.er1
25134 ac_status=$?
25135 grep -v '^ *+' conftest.er1 >conftest.err
25136 rm -f conftest.er1
25137 cat conftest.err >&5
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); } &&
25140 { ac_try='test -z "$ac_c_werror_flag"
25141 || test ! -s conftest.err'
25142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25143 (eval $ac_try) 2>&5
25144 ac_status=$?
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); }; } &&
25147 { ac_try='test -s conftest$ac_exeext'
25148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25149 (eval $ac_try) 2>&5
25150 ac_status=$?
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); }; }; then
25153 ac_R_space=yes
25154else
25155 echo "$as_me: failed program was:" >&5
25156sed 's/^/| /' conftest.$ac_ext >&5
25157
25158ac_R_space=no
25159fi
25160rm -f conftest.err conftest.$ac_objext \
25161 conftest$ac_exeext conftest.$ac_ext
25162 if test $ac_R_space = yes; then
25163 echo "$as_me:$LINENO: result: yes" >&5
25164echo "${ECHO_T}yes" >&6
25165 X_LIBS="$X_LIBS -R $x_libraries"
25166 else
25167 echo "$as_me:$LINENO: result: neither works" >&5
25168echo "${ECHO_T}neither works" >&6
25169 fi
25170 fi
25171 LIBS=$ac_xsave_LIBS
25172 esac
25173 fi
25174
25175 # Check for system-dependent libraries X programs must link with.
25176 # Do this before checking for the system-independent R6 libraries
25177 # (-lICE), since we may need -lsocket or whatever for X linking.
25178
25179 if test "$ISC" = yes; then
25180 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25181 else
25182 # Martyn Johnson says this is needed for Ultrix, if the X
25183 # libraries were built with DECnet support. And Karl Berry says
25184 # the Alpha needs dnet_stub (dnet does not exist).
25185 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25186 cat >conftest.$ac_ext <<_ACEOF
25187/* confdefs.h. */
25188_ACEOF
25189cat confdefs.h >>conftest.$ac_ext
25190cat >>conftest.$ac_ext <<_ACEOF
25191/* end confdefs.h. */
25192
25193/* Override any gcc2 internal prototype to avoid an error. */
25194#ifdef __cplusplus
25195extern "C"
25196#endif
25197/* We use char because int might match the return type of a gcc2
25198 builtin and then its argument prototype would still apply. */
25199char XOpenDisplay ();
25200int
25201main ()
25202{
25203XOpenDisplay ();
25204 ;
25205 return 0;
25206}
25207_ACEOF
25208rm -f conftest.$ac_objext conftest$ac_exeext
25209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25210 (eval $ac_link) 2>conftest.er1
25211 ac_status=$?
25212 grep -v '^ *+' conftest.er1 >conftest.err
25213 rm -f conftest.er1
25214 cat conftest.err >&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); } &&
25217 { ac_try='test -z "$ac_c_werror_flag"
25218 || test ! -s conftest.err'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25221 ac_status=$?
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; } &&
25224 { ac_try='test -s conftest$ac_exeext'
25225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25226 (eval $ac_try) 2>&5
25227 ac_status=$?
25228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 (exit $ac_status); }; }; then
25230 :
25231else
25232 echo "$as_me: failed program was:" >&5
25233sed 's/^/| /' conftest.$ac_ext >&5
25234
25235echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25236echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25237if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239else
25240 ac_check_lib_save_LIBS=$LIBS
25241LIBS="-ldnet $LIBS"
25242cat >conftest.$ac_ext <<_ACEOF
25243/* confdefs.h. */
25244_ACEOF
25245cat confdefs.h >>conftest.$ac_ext
25246cat >>conftest.$ac_ext <<_ACEOF
25247/* end confdefs.h. */
25248
25249/* Override any gcc2 internal prototype to avoid an error. */
25250#ifdef __cplusplus
25251extern "C"
25252#endif
25253/* We use char because int might match the return type of a gcc2
25254 builtin and then its argument prototype would still apply. */
25255char dnet_ntoa ();
25256int
25257main ()
25258{
25259dnet_ntoa ();
25260 ;
25261 return 0;
25262}
25263_ACEOF
25264rm -f conftest.$ac_objext conftest$ac_exeext
25265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25266 (eval $ac_link) 2>conftest.er1
25267 ac_status=$?
25268 grep -v '^ *+' conftest.er1 >conftest.err
25269 rm -f conftest.er1
25270 cat conftest.err >&5
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); } &&
25273 { ac_try='test -z "$ac_c_werror_flag"
25274 || test ! -s conftest.err'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25277 ac_status=$?
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; } &&
25280 { ac_try='test -s conftest$ac_exeext'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25283 ac_status=$?
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; }; then
25286 ac_cv_lib_dnet_dnet_ntoa=yes
25287else
25288 echo "$as_me: failed program was:" >&5
25289sed 's/^/| /' conftest.$ac_ext >&5
25290
25291ac_cv_lib_dnet_dnet_ntoa=no
25292fi
25293rm -f conftest.err conftest.$ac_objext \
25294 conftest$ac_exeext conftest.$ac_ext
25295LIBS=$ac_check_lib_save_LIBS
25296fi
25297echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25298echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25299if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25300 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25301fi
25302
25303 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25304 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25305echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25306if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25308else
25309 ac_check_lib_save_LIBS=$LIBS
25310LIBS="-ldnet_stub $LIBS"
25311cat >conftest.$ac_ext <<_ACEOF
25312/* confdefs.h. */
25313_ACEOF
25314cat confdefs.h >>conftest.$ac_ext
25315cat >>conftest.$ac_ext <<_ACEOF
25316/* end confdefs.h. */
25317
25318/* Override any gcc2 internal prototype to avoid an error. */
25319#ifdef __cplusplus
25320extern "C"
25321#endif
25322/* We use char because int might match the return type of a gcc2
25323 builtin and then its argument prototype would still apply. */
25324char dnet_ntoa ();
25325int
25326main ()
25327{
25328dnet_ntoa ();
25329 ;
25330 return 0;
25331}
25332_ACEOF
25333rm -f conftest.$ac_objext conftest$ac_exeext
25334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25335 (eval $ac_link) 2>conftest.er1
25336 ac_status=$?
25337 grep -v '^ *+' conftest.er1 >conftest.err
25338 rm -f conftest.er1
25339 cat conftest.err >&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } &&
25342 { ac_try='test -z "$ac_c_werror_flag"
25343 || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25356else
25357 echo "$as_me: failed program was:" >&5
25358sed 's/^/| /' conftest.$ac_ext >&5
25359
25360ac_cv_lib_dnet_stub_dnet_ntoa=no
25361fi
25362rm -f conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25364LIBS=$ac_check_lib_save_LIBS
25365fi
25366echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25367echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25368if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25369 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25370fi
25371
25372 fi
25373fi
25374rm -f conftest.err conftest.$ac_objext \
25375 conftest$ac_exeext conftest.$ac_ext
25376 LIBS="$ac_xsave_LIBS"
25377
25378 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25379 # to get the SysV transport functions.
25380 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25381 # needs -lnsl.
25382 # The nsl library prevents programs from opening the X display
25383 # on Irix 5.2, according to T.E. Dickey.
25384 # The functions gethostbyname, getservbyname, and inet_addr are
25385 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25386 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25387echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25388if test "${ac_cv_func_gethostbyname+set}" = set; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25390else
25391 cat >conftest.$ac_ext <<_ACEOF
25392/* confdefs.h. */
25393_ACEOF
25394cat confdefs.h >>conftest.$ac_ext
25395cat >>conftest.$ac_ext <<_ACEOF
25396/* end confdefs.h. */
25397/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25399#define gethostbyname innocuous_gethostbyname
25400
25401/* System header to define __stub macros and hopefully few prototypes,
25402 which can conflict with char gethostbyname (); below.
25403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25404 <limits.h> exists even on freestanding compilers. */
25405
25406#ifdef __STDC__
25407# include <limits.h>
25408#else
25409# include <assert.h>
25410#endif
25411
25412#undef gethostbyname
25413
25414/* Override any gcc2 internal prototype to avoid an error. */
25415#ifdef __cplusplus
25416extern "C"
25417{
25418#endif
25419/* We use char because int might match the return type of a gcc2
25420 builtin and then its argument prototype would still apply. */
25421char gethostbyname ();
25422/* The GNU C library defines this for functions which it implements
25423 to always fail with ENOSYS. Some functions are actually named
25424 something starting with __ and the normal name is an alias. */
25425#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25426choke me
25427#else
25428char (*f) () = gethostbyname;
25429#endif
25430#ifdef __cplusplus
25431}
25432#endif
25433
25434int
25435main ()
25436{
25437return f != gethostbyname;
25438 ;
25439 return 0;
25440}
25441_ACEOF
25442rm -f conftest.$ac_objext conftest$ac_exeext
25443if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25444 (eval $ac_link) 2>conftest.er1
25445 ac_status=$?
25446 grep -v '^ *+' conftest.er1 >conftest.err
25447 rm -f conftest.er1
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } &&
25451 { ac_try='test -z "$ac_c_werror_flag"
25452 || test ! -s conftest.err'
25453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454 (eval $ac_try) 2>&5
25455 ac_status=$?
25456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457 (exit $ac_status); }; } &&
25458 { ac_try='test -s conftest$ac_exeext'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25461 ac_status=$?
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; }; then
25464 ac_cv_func_gethostbyname=yes
25465else
25466 echo "$as_me: failed program was:" >&5
25467sed 's/^/| /' conftest.$ac_ext >&5
25468
25469ac_cv_func_gethostbyname=no
25470fi
25471rm -f conftest.err conftest.$ac_objext \
25472 conftest$ac_exeext conftest.$ac_ext
25473fi
25474echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25475echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25476
25477 if test $ac_cv_func_gethostbyname = no; then
25478 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25479echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25480if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25482else
25483 ac_check_lib_save_LIBS=$LIBS
25484LIBS="-lnsl $LIBS"
25485cat >conftest.$ac_ext <<_ACEOF
25486/* confdefs.h. */
25487_ACEOF
25488cat confdefs.h >>conftest.$ac_ext
25489cat >>conftest.$ac_ext <<_ACEOF
25490/* end confdefs.h. */
25491
25492/* Override any gcc2 internal prototype to avoid an error. */
25493#ifdef __cplusplus
25494extern "C"
25495#endif
25496/* We use char because int might match the return type of a gcc2
25497 builtin and then its argument prototype would still apply. */
25498char gethostbyname ();
25499int
25500main ()
25501{
25502gethostbyname ();
25503 ;
25504 return 0;
25505}
25506_ACEOF
25507rm -f conftest.$ac_objext conftest$ac_exeext
25508if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25509 (eval $ac_link) 2>conftest.er1
25510 ac_status=$?
25511 grep -v '^ *+' conftest.er1 >conftest.err
25512 rm -f conftest.er1
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } &&
25516 { ac_try='test -z "$ac_c_werror_flag"
25517 || test ! -s conftest.err'
25518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25519 (eval $ac_try) 2>&5
25520 ac_status=$?
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); }; } &&
25523 { ac_try='test -s conftest$ac_exeext'
25524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25525 (eval $ac_try) 2>&5
25526 ac_status=$?
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); }; }; then
25529 ac_cv_lib_nsl_gethostbyname=yes
25530else
25531 echo "$as_me: failed program was:" >&5
25532sed 's/^/| /' conftest.$ac_ext >&5
25533
25534ac_cv_lib_nsl_gethostbyname=no
25535fi
25536rm -f conftest.err conftest.$ac_objext \
25537 conftest$ac_exeext conftest.$ac_ext
25538LIBS=$ac_check_lib_save_LIBS
25539fi
25540echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25541echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25542if test $ac_cv_lib_nsl_gethostbyname = yes; then
25543 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25544fi
25545
25546 if test $ac_cv_lib_nsl_gethostbyname = no; then
25547 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25548echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25549if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25550 echo $ECHO_N "(cached) $ECHO_C" >&6
25551else
25552 ac_check_lib_save_LIBS=$LIBS
25553LIBS="-lbsd $LIBS"
25554cat >conftest.$ac_ext <<_ACEOF
25555/* confdefs.h. */
25556_ACEOF
25557cat confdefs.h >>conftest.$ac_ext
25558cat >>conftest.$ac_ext <<_ACEOF
25559/* end confdefs.h. */
25560
25561/* Override any gcc2 internal prototype to avoid an error. */
25562#ifdef __cplusplus
25563extern "C"
25564#endif
25565/* We use char because int might match the return type of a gcc2
25566 builtin and then its argument prototype would still apply. */
25567char gethostbyname ();
25568int
25569main ()
25570{
25571gethostbyname ();
25572 ;
25573 return 0;
25574}
25575_ACEOF
25576rm -f conftest.$ac_objext conftest$ac_exeext
25577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25578 (eval $ac_link) 2>conftest.er1
25579 ac_status=$?
25580 grep -v '^ *+' conftest.er1 >conftest.err
25581 rm -f conftest.er1
25582 cat conftest.err >&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); } &&
25585 { ac_try='test -z "$ac_c_werror_flag"
25586 || test ! -s conftest.err'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; } &&
25592 { ac_try='test -s conftest$ac_exeext'
25593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25594 (eval $ac_try) 2>&5
25595 ac_status=$?
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); }; }; then
25598 ac_cv_lib_bsd_gethostbyname=yes
25599else
25600 echo "$as_me: failed program was:" >&5
25601sed 's/^/| /' conftest.$ac_ext >&5
25602
25603ac_cv_lib_bsd_gethostbyname=no
25604fi
25605rm -f conftest.err conftest.$ac_objext \
25606 conftest$ac_exeext conftest.$ac_ext
25607LIBS=$ac_check_lib_save_LIBS
25608fi
25609echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25610echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25611if test $ac_cv_lib_bsd_gethostbyname = yes; then
25612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25613fi
25614
25615 fi
25616 fi
25617
25618 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25619 # socket/setsockopt and other routines are undefined under SCO ODT
25620 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25621 # on later versions), says Simon Leinen: it contains gethostby*
25622 # variants that don't use the name server (or something). -lsocket
25623 # must be given before -lnsl if both are needed. We assume that
25624 # if connect needs -lnsl, so does gethostbyname.
25625 echo "$as_me:$LINENO: checking for connect" >&5
25626echo $ECHO_N "checking for connect... $ECHO_C" >&6
25627if test "${ac_cv_func_connect+set}" = set; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25629else
25630 cat >conftest.$ac_ext <<_ACEOF
25631/* confdefs.h. */
25632_ACEOF
25633cat confdefs.h >>conftest.$ac_ext
25634cat >>conftest.$ac_ext <<_ACEOF
25635/* end confdefs.h. */
25636/* Define connect to an innocuous variant, in case <limits.h> declares connect.
25637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25638#define connect innocuous_connect
25639
25640/* System header to define __stub macros and hopefully few prototypes,
25641 which can conflict with char connect (); below.
25642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25643 <limits.h> exists even on freestanding compilers. */
25644
25645#ifdef __STDC__
25646# include <limits.h>
25647#else
25648# include <assert.h>
25649#endif
25650
25651#undef connect
25652
25653/* Override any gcc2 internal prototype to avoid an error. */
25654#ifdef __cplusplus
25655extern "C"
25656{
25657#endif
25658/* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25660char connect ();
25661/* The GNU C library defines this for functions which it implements
25662 to always fail with ENOSYS. Some functions are actually named
25663 something starting with __ and the normal name is an alias. */
25664#if defined (__stub_connect) || defined (__stub___connect)
25665choke me
25666#else
25667char (*f) () = connect;
25668#endif
25669#ifdef __cplusplus
25670}
25671#endif
25672
25673int
25674main ()
25675{
25676return f != connect;
25677 ;
25678 return 0;
25679}
25680_ACEOF
25681rm -f conftest.$ac_objext conftest$ac_exeext
25682if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25683 (eval $ac_link) 2>conftest.er1
25684 ac_status=$?
25685 grep -v '^ *+' conftest.er1 >conftest.err
25686 rm -f conftest.er1
25687 cat conftest.err >&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); } &&
25690 { ac_try='test -z "$ac_c_werror_flag"
25691 || test ! -s conftest.err'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25694 ac_status=$?
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; } &&
25697 { ac_try='test -s conftest$ac_exeext'
25698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699 (eval $ac_try) 2>&5
25700 ac_status=$?
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); }; }; then
25703 ac_cv_func_connect=yes
25704else
25705 echo "$as_me: failed program was:" >&5
25706sed 's/^/| /' conftest.$ac_ext >&5
25707
25708ac_cv_func_connect=no
25709fi
25710rm -f conftest.err conftest.$ac_objext \
25711 conftest$ac_exeext conftest.$ac_ext
25712fi
25713echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25714echo "${ECHO_T}$ac_cv_func_connect" >&6
25715
25716 if test $ac_cv_func_connect = no; then
25717 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25718echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25719if test "${ac_cv_lib_socket_connect+set}" = set; then
25720 echo $ECHO_N "(cached) $ECHO_C" >&6
25721else
25722 ac_check_lib_save_LIBS=$LIBS
25723LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25724cat >conftest.$ac_ext <<_ACEOF
25725/* confdefs.h. */
25726_ACEOF
25727cat confdefs.h >>conftest.$ac_ext
25728cat >>conftest.$ac_ext <<_ACEOF
25729/* end confdefs.h. */
25730
25731/* Override any gcc2 internal prototype to avoid an error. */
25732#ifdef __cplusplus
25733extern "C"
25734#endif
25735/* We use char because int might match the return type of a gcc2
25736 builtin and then its argument prototype would still apply. */
25737char connect ();
25738int
25739main ()
25740{
25741connect ();
25742 ;
25743 return 0;
25744}
25745_ACEOF
25746rm -f conftest.$ac_objext conftest$ac_exeext
25747if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25748 (eval $ac_link) 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_exeext'
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 ac_cv_lib_socket_connect=yes
25769else
25770 echo "$as_me: failed program was:" >&5
25771sed 's/^/| /' conftest.$ac_ext >&5
25772
25773ac_cv_lib_socket_connect=no
25774fi
25775rm -f conftest.err conftest.$ac_objext \
25776 conftest$ac_exeext conftest.$ac_ext
25777LIBS=$ac_check_lib_save_LIBS
25778fi
25779echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25780echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25781if test $ac_cv_lib_socket_connect = yes; then
25782 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25783fi
25784
25785 fi
25786
25787 # Guillermo Gomez says -lposix is necessary on A/UX.
25788 echo "$as_me:$LINENO: checking for remove" >&5
25789echo $ECHO_N "checking for remove... $ECHO_C" >&6
25790if test "${ac_cv_func_remove+set}" = set; then
25791 echo $ECHO_N "(cached) $ECHO_C" >&6
25792else
25793 cat >conftest.$ac_ext <<_ACEOF
25794/* confdefs.h. */
25795_ACEOF
25796cat confdefs.h >>conftest.$ac_ext
25797cat >>conftest.$ac_ext <<_ACEOF
25798/* end confdefs.h. */
25799/* Define remove to an innocuous variant, in case <limits.h> declares remove.
25800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25801#define remove innocuous_remove
25802
25803/* System header to define __stub macros and hopefully few prototypes,
25804 which can conflict with char remove (); below.
25805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25806 <limits.h> exists even on freestanding compilers. */
25807
25808#ifdef __STDC__
25809# include <limits.h>
25810#else
25811# include <assert.h>
25812#endif
25813
25814#undef remove
25815
25816/* Override any gcc2 internal prototype to avoid an error. */
25817#ifdef __cplusplus
25818extern "C"
25819{
25820#endif
25821/* We use char because int might match the return type of a gcc2
25822 builtin and then its argument prototype would still apply. */
25823char remove ();
25824/* The GNU C library defines this for functions which it implements
25825 to always fail with ENOSYS. Some functions are actually named
25826 something starting with __ and the normal name is an alias. */
25827#if defined (__stub_remove) || defined (__stub___remove)
25828choke me
25829#else
25830char (*f) () = remove;
25831#endif
25832#ifdef __cplusplus
25833}
25834#endif
25835
25836int
25837main ()
25838{
25839return f != remove;
25840 ;
25841 return 0;
25842}
25843_ACEOF
25844rm -f conftest.$ac_objext conftest$ac_exeext
25845if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25846 (eval $ac_link) 2>conftest.er1
25847 ac_status=$?
25848 grep -v '^ *+' conftest.er1 >conftest.err
25849 rm -f conftest.er1
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -z "$ac_c_werror_flag"
25854 || test ! -s conftest.err'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25857 ac_status=$?
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; } &&
25860 { ac_try='test -s conftest$ac_exeext'
25861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25862 (eval $ac_try) 2>&5
25863 ac_status=$?
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); }; }; then
25866 ac_cv_func_remove=yes
25867else
25868 echo "$as_me: failed program was:" >&5
25869sed 's/^/| /' conftest.$ac_ext >&5
25870
25871ac_cv_func_remove=no
25872fi
25873rm -f conftest.err conftest.$ac_objext \
25874 conftest$ac_exeext conftest.$ac_ext
25875fi
25876echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25877echo "${ECHO_T}$ac_cv_func_remove" >&6
25878
25879 if test $ac_cv_func_remove = no; then
25880 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25881echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25882if test "${ac_cv_lib_posix_remove+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25884else
25885 ac_check_lib_save_LIBS=$LIBS
25886LIBS="-lposix $LIBS"
25887cat >conftest.$ac_ext <<_ACEOF
25888/* confdefs.h. */
25889_ACEOF
25890cat confdefs.h >>conftest.$ac_ext
25891cat >>conftest.$ac_ext <<_ACEOF
25892/* end confdefs.h. */
25893
25894/* Override any gcc2 internal prototype to avoid an error. */
25895#ifdef __cplusplus
25896extern "C"
25897#endif
25898/* We use char because int might match the return type of a gcc2
25899 builtin and then its argument prototype would still apply. */
25900char remove ();
25901int
25902main ()
25903{
25904remove ();
25905 ;
25906 return 0;
25907}
25908_ACEOF
25909rm -f conftest.$ac_objext conftest$ac_exeext
25910if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25911 (eval $ac_link) 2>conftest.er1
25912 ac_status=$?
25913 grep -v '^ *+' conftest.er1 >conftest.err
25914 rm -f conftest.er1
25915 cat conftest.err >&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } &&
25918 { ac_try='test -z "$ac_c_werror_flag"
25919 || test ! -s conftest.err'
25920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921 (eval $ac_try) 2>&5
25922 ac_status=$?
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); }; } &&
25925 { ac_try='test -s conftest$ac_exeext'
25926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927 (eval $ac_try) 2>&5
25928 ac_status=$?
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); }; }; then
25931 ac_cv_lib_posix_remove=yes
25932else
25933 echo "$as_me: failed program was:" >&5
25934sed 's/^/| /' conftest.$ac_ext >&5
25935
25936ac_cv_lib_posix_remove=no
25937fi
25938rm -f conftest.err conftest.$ac_objext \
25939 conftest$ac_exeext conftest.$ac_ext
25940LIBS=$ac_check_lib_save_LIBS
25941fi
25942echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25943echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25944if test $ac_cv_lib_posix_remove = yes; then
25945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25946fi
25947
25948 fi
25949
25950 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25951 echo "$as_me:$LINENO: checking for shmat" >&5
25952echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25953if test "${ac_cv_func_shmat+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25955else
25956 cat >conftest.$ac_ext <<_ACEOF
25957/* confdefs.h. */
25958_ACEOF
25959cat confdefs.h >>conftest.$ac_ext
25960cat >>conftest.$ac_ext <<_ACEOF
25961/* end confdefs.h. */
25962/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25964#define shmat innocuous_shmat
25965
25966/* System header to define __stub macros and hopefully few prototypes,
25967 which can conflict with char shmat (); below.
25968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25969 <limits.h> exists even on freestanding compilers. */
25970
25971#ifdef __STDC__
25972# include <limits.h>
25973#else
25974# include <assert.h>
25975#endif
25976
25977#undef shmat
25978
25979/* Override any gcc2 internal prototype to avoid an error. */
25980#ifdef __cplusplus
25981extern "C"
25982{
25983#endif
25984/* We use char because int might match the return type of a gcc2
25985 builtin and then its argument prototype would still apply. */
25986char shmat ();
25987/* The GNU C library defines this for functions which it implements
25988 to always fail with ENOSYS. Some functions are actually named
25989 something starting with __ and the normal name is an alias. */
25990#if defined (__stub_shmat) || defined (__stub___shmat)
25991choke me
25992#else
25993char (*f) () = shmat;
25994#endif
25995#ifdef __cplusplus
25996}
25997#endif
25998
25999int
26000main ()
26001{
26002return f != shmat;
26003 ;
26004 return 0;
26005}
26006_ACEOF
26007rm -f conftest.$ac_objext conftest$ac_exeext
26008if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26009 (eval $ac_link) 2>conftest.er1
26010 ac_status=$?
26011 grep -v '^ *+' conftest.er1 >conftest.err
26012 rm -f conftest.er1
26013 cat conftest.err >&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } &&
26016 { ac_try='test -z "$ac_c_werror_flag"
26017 || test ! -s conftest.err'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; } &&
26023 { ac_try='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26026 ac_status=$?
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 ac_cv_func_shmat=yes
26030else
26031 echo "$as_me: failed program was:" >&5
26032sed 's/^/| /' conftest.$ac_ext >&5
26033
26034ac_cv_func_shmat=no
26035fi
26036rm -f conftest.err conftest.$ac_objext \
26037 conftest$ac_exeext conftest.$ac_ext
26038fi
26039echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26040echo "${ECHO_T}$ac_cv_func_shmat" >&6
26041
26042 if test $ac_cv_func_shmat = no; then
26043 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26044echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26045if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26047else
26048 ac_check_lib_save_LIBS=$LIBS
26049LIBS="-lipc $LIBS"
26050cat >conftest.$ac_ext <<_ACEOF
26051/* confdefs.h. */
26052_ACEOF
26053cat confdefs.h >>conftest.$ac_ext
26054cat >>conftest.$ac_ext <<_ACEOF
26055/* end confdefs.h. */
26056
26057/* Override any gcc2 internal prototype to avoid an error. */
26058#ifdef __cplusplus
26059extern "C"
26060#endif
26061/* We use char because int might match the return type of a gcc2
26062 builtin and then its argument prototype would still apply. */
26063char shmat ();
26064int
26065main ()
26066{
26067shmat ();
26068 ;
26069 return 0;
26070}
26071_ACEOF
26072rm -f conftest.$ac_objext conftest$ac_exeext
26073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26074 (eval $ac_link) 2>conftest.er1
26075 ac_status=$?
26076 grep -v '^ *+' conftest.er1 >conftest.err
26077 rm -f conftest.er1
26078 cat conftest.err >&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try='test -z "$ac_c_werror_flag"
26082 || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try='test -s conftest$ac_exeext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26091 ac_status=$?
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 ac_cv_lib_ipc_shmat=yes
26095else
26096 echo "$as_me: failed program was:" >&5
26097sed 's/^/| /' conftest.$ac_ext >&5
26098
26099ac_cv_lib_ipc_shmat=no
26100fi
26101rm -f conftest.err conftest.$ac_objext \
26102 conftest$ac_exeext conftest.$ac_ext
26103LIBS=$ac_check_lib_save_LIBS
26104fi
26105echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26106echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26107if test $ac_cv_lib_ipc_shmat = yes; then
26108 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26109fi
26110
26111 fi
26112 fi
26113
26114 # Check for libraries that X11R6 Xt/Xaw programs need.
26115 ac_save_LDFLAGS=$LDFLAGS
26116 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26117 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26118 # check for ICE first), but we must link in the order -lSM -lICE or
26119 # we get undefined symbols. So assume we have SM if we have ICE.
26120 # These have to be linked with before -lX11, unlike the other
26121 # libraries we check for below, so use a different variable.
26122 # John Interrante, Karl Berry
26123 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26124echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26125if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26126 echo $ECHO_N "(cached) $ECHO_C" >&6
26127else
26128 ac_check_lib_save_LIBS=$LIBS
26129LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26130cat >conftest.$ac_ext <<_ACEOF
26131/* confdefs.h. */
26132_ACEOF
26133cat confdefs.h >>conftest.$ac_ext
26134cat >>conftest.$ac_ext <<_ACEOF
26135/* end confdefs.h. */
26136
26137/* Override any gcc2 internal prototype to avoid an error. */
26138#ifdef __cplusplus
26139extern "C"
26140#endif
26141/* We use char because int might match the return type of a gcc2
26142 builtin and then its argument prototype would still apply. */
26143char IceConnectionNumber ();
26144int
26145main ()
26146{
26147IceConnectionNumber ();
26148 ;
26149 return 0;
26150}
26151_ACEOF
26152rm -f conftest.$ac_objext conftest$ac_exeext
26153if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26154 (eval $ac_link) 2>conftest.er1
26155 ac_status=$?
26156 grep -v '^ *+' conftest.er1 >conftest.err
26157 rm -f conftest.er1
26158 cat conftest.err >&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } &&
26161 { ac_try='test -z "$ac_c_werror_flag"
26162 || test ! -s conftest.err'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26165 ac_status=$?
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; } &&
26168 { ac_try='test -s conftest$ac_exeext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 ac_cv_lib_ICE_IceConnectionNumber=yes
26175else
26176 echo "$as_me: failed program was:" >&5
26177sed 's/^/| /' conftest.$ac_ext >&5
26178
26179ac_cv_lib_ICE_IceConnectionNumber=no
26180fi
26181rm -f conftest.err conftest.$ac_objext \
26182 conftest$ac_exeext conftest.$ac_ext
26183LIBS=$ac_check_lib_save_LIBS
26184fi
26185echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26186echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26187if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26188 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26189fi
26190
26191 LDFLAGS=$ac_save_LDFLAGS
26192
26193fi
26194
26195
26196 if test "$no_x" = "yes"; then
26197 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26198echo "$as_me: error: X11 not found" >&2;}
26199 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26200 fi
26201
26202 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
26203 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26204 AFMINSTALL=afminstall
26205 COMPILED_X_PROGRAM=0
26206
26207 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26208echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26209
26210ac_find_includes=
26211for ac_dir in $SEARCH_INCLUDE /usr/include;
26212 do
26213 if test -f "$ac_dir/Xm/Xm.h"; then
26214 ac_find_includes=$ac_dir
26215 break
26216 fi
26217 done
26218
26219 if test "$ac_find_includes" != "" ; then
26220 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26221echo "${ECHO_T}found in $ac_find_includes" >&6
26222
26223 if test "x$ac_find_includes" = "x/usr/include"; then
26224 ac_path_to_include=""
26225 else
26226 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26227 result=$?
26228 if test $result = 0; then
26229 ac_path_to_include=""
26230 else
26231 ac_path_to_include=" -I$ac_find_includes"
26232 fi
26233 fi
26234
26235 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26236 else
26237 cat >conftest.$ac_ext <<_ACEOF
26238/* confdefs.h. */
26239_ACEOF
26240cat confdefs.h >>conftest.$ac_ext
26241cat >>conftest.$ac_ext <<_ACEOF
26242/* end confdefs.h. */
26243
26244 #include <Xm/Xm.h>
26245
26246int
26247main ()
26248{
26249
26250 int version;
26251 version = xmUseVersion;
26252
26253 ;
26254 return 0;
26255}
26256_ACEOF
26257rm -f conftest.$ac_objext
26258if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26259 (eval $ac_compile) 2>conftest.er1
26260 ac_status=$?
26261 grep -v '^ *+' conftest.er1 >conftest.err
26262 rm -f conftest.er1
26263 cat conftest.err >&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } &&
26266 { ac_try='test -z "$ac_c_werror_flag"
26267 || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try='test -s conftest.$ac_objext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279
26280 echo "$as_me:$LINENO: result: found in default search path" >&5
26281echo "${ECHO_T}found in default search path" >&6
26282 COMPILED_X_PROGRAM=1
26283
26284else
26285 echo "$as_me: failed program was:" >&5
26286sed 's/^/| /' conftest.$ac_ext >&5
26287
26288
26289 echo "$as_me:$LINENO: result: no" >&5
26290echo "${ECHO_T}no" >&6
26291 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26292echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26293 { (exit 1); exit 1; }; }
26294
26295
26296fi
26297rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26298 fi
26299
26300 if test "$COMPILED_X_PROGRAM" = 0; then
26301 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26302echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26303
26304ac_find_libraries=
26305for ac_dir in $SEARCH_LIB /usr/lib;
26306 do
26307 for ac_extension in a so sl dylib; do
26308 if test -f "$ac_dir/libXm.$ac_extension"; then
26309 ac_find_libraries=$ac_dir
26310 break 2
26311 fi
26312 done
26313 done
26314
26315 if test "$ac_find_libraries" != "" ; then
26316 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26317echo "${ECHO_T}found at $ac_find_libraries" >&6
26318
26319
26320 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26321 result=$?
26322 if test $result = 0; then
26323 ac_path_to_link=""
26324 else
26325 ac_path_to_link=" -L$ac_find_libraries"
26326 fi
26327
26328 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26329 else
26330 save_CFLAGS=$CFLAGS
26331 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26332
26333 cat >conftest.$ac_ext <<_ACEOF
26334/* confdefs.h. */
26335_ACEOF
26336cat confdefs.h >>conftest.$ac_ext
26337cat >>conftest.$ac_ext <<_ACEOF
26338/* end confdefs.h. */
26339
26340 #include <Xm/Xm.h>
26341
26342int
26343main ()
26344{
26345
26346 int version;
26347 version = xmUseVersion;
26348
26349 ;
26350 return 0;
26351}
26352_ACEOF
26353rm -f conftest.$ac_objext
26354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26355 (eval $ac_compile) 2>conftest.er1
26356 ac_status=$?
26357 grep -v '^ *+' conftest.er1 >conftest.err
26358 rm -f conftest.er1
26359 cat conftest.err >&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try='test -z "$ac_c_werror_flag"
26363 || test ! -s conftest.err'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26366 ac_status=$?
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; } &&
26369 { ac_try='test -s conftest.$ac_objext'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26372 ac_status=$?
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; }; then
26375
26376 echo "$as_me:$LINENO: result: found in default search path" >&5
26377echo "${ECHO_T}found in default search path" >&6
26378 COMPILED_X_PROGRAM=1
26379
26380else
26381 echo "$as_me: failed program was:" >&5
26382sed 's/^/| /' conftest.$ac_ext >&5
26383
26384
26385 echo "$as_me:$LINENO: result: no" >&5
26386echo "${ECHO_T}no" >&6
26387 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26388echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26389 { (exit 1); exit 1; }; }
26390
26391
26392fi
26393rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26394
26395 CFLAGS=$save_CFLAGS
26396 fi
26397 fi
26398
26399 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26400echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26401 libp_link=""
26402 libsm_ice_link=""
26403 libs_found=0
26404 for libp in "" " -lXp"; do
26405 if test "$libs_found" = "0"; then
26406 for libsm_ice in "" " -lSM -lICE"; do
26407 if test "$libs_found" = "0"; then
26408 save_LIBS="$LIBS"
26409 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26410 save_CFLAGS=$CFLAGS
26411 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26412
26413 cat >conftest.$ac_ext <<_ACEOF
26414/* confdefs.h. */
26415_ACEOF
26416cat confdefs.h >>conftest.$ac_ext
26417cat >>conftest.$ac_ext <<_ACEOF
26418/* end confdefs.h. */
26419
26420 #include <Xm/Xm.h>
26421 #include <Xm/List.h>
26422
26423int
26424main ()
26425{
26426
26427 XmString string = NULL;
26428 Widget w = NULL;
26429 int position = 0;
26430 XmListAddItem(w, string, position);
26431
26432 ;
26433 return 0;
26434}
26435_ACEOF
26436rm -f conftest.$ac_objext conftest$ac_exeext
26437if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26438 (eval $ac_link) 2>conftest.er1
26439 ac_status=$?
26440 grep -v '^ *+' conftest.er1 >conftest.err
26441 rm -f conftest.er1
26442 cat conftest.err >&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } &&
26445 { ac_try='test -z "$ac_c_werror_flag"
26446 || test ! -s conftest.err'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26449 ac_status=$?
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; } &&
26452 { ac_try='test -s conftest$ac_exeext'
26453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454 (eval $ac_try) 2>&5
26455 ac_status=$?
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); }; }; then
26458
26459 libp_link="$libp"
26460 libsm_ice_link="$libsm_ice"
26461 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26462echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26463 libs_found=1
26464
26465else
26466 echo "$as_me: failed program was:" >&5
26467sed 's/^/| /' conftest.$ac_ext >&5
26468
26469
26470
26471fi
26472rm -f conftest.err conftest.$ac_objext \
26473 conftest$ac_exeext conftest.$ac_ext
26474
26475 LIBS="$save_LIBS"
26476 CFLAGS=$save_CFLAGS
26477 fi
26478 done
26479 fi
26480 done
26481
26482 if test "$libs_found" = "0"; then
26483 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26484echo "${ECHO_T}can't find the right libraries" >&6
26485 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26486echo "$as_me: error: can't link a simple motif program" >&2;}
26487 { (exit 1); exit 1; }; }
26488 fi
26489
26490 save_CFLAGS=$CFLAGS
26491 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26492 echo "$as_me:$LINENO: checking for Motif 2" >&5
26493echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26494 cat >conftest.$ac_ext <<_ACEOF
26495/* confdefs.h. */
26496_ACEOF
26497cat confdefs.h >>conftest.$ac_ext
26498cat >>conftest.$ac_ext <<_ACEOF
26499/* end confdefs.h. */
26500
26501 #include <Xm/Xm.h>
26502
26503int
26504main ()
26505{
26506
26507 #if XmVersion < 2000
26508 #error "Not Motif 2"
26509 #endif
26510
26511 ;
26512 return 0;
26513}
26514_ACEOF
26515rm -f conftest.$ac_objext
26516if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26517 (eval $ac_compile) 2>conftest.er1
26518 ac_status=$?
26519 grep -v '^ *+' conftest.er1 >conftest.err
26520 rm -f conftest.er1
26521 cat conftest.err >&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try='test -z "$ac_c_werror_flag"
26525 || test ! -s conftest.err'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; } &&
26531 { ac_try='test -s conftest.$ac_objext'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26534 ac_status=$?
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; }; then
26537
26538 cat >>confdefs.h <<\_ACEOF
26539#define __WXMOTIF20__ 1
26540_ACEOF
26541
26542 echo "$as_me:$LINENO: result: found" >&5
26543echo "${ECHO_T}found" >&6
26544
26545else
26546 echo "$as_me: failed program was:" >&5
26547sed 's/^/| /' conftest.$ac_ext >&5
26548
26549
26550 cat >>confdefs.h <<\_ACEOF
26551#define __WXMOTIF20__ 0
26552_ACEOF
26553
26554 echo "$as_me:$LINENO: result: not found" >&5
26555echo "${ECHO_T}not found" >&6
26556
26557fi
26558rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26559 CFLAGS=$save_CFLAGS
26560
26561 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26562 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26563 TOOLKIT=MOTIF
26564 GUIDIST=MOTIF_DIST
26565 fi
26566
26567 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26568 if test "$wxUSE_LIBXPM" = "sys"; then
26569 echo "$as_me:$LINENO: checking for Xpm library" >&5
26570echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26571
26572ac_find_libraries=
26573for ac_dir in $SEARCH_LIB /usr/lib;
26574 do
26575 for ac_extension in a so sl dylib; do
26576 if test -f "$ac_dir/libXpm.$ac_extension"; then
26577 ac_find_libraries=$ac_dir
26578 break 2
26579 fi
26580 done
26581 done
26582
26583 if test "$ac_find_libraries" != "" ; then
26584
26585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26586 result=$?
26587 if test $result = 0; then
26588 ac_path_to_link=""
26589 else
26590 ac_path_to_link=" -L$ac_find_libraries"
26591 fi
26592
26593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26594 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26595echo "${ECHO_T}found at $ac_find_libraries" >&6
26596
26597 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26598echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26599if test "${wx_cv_x11_xpm_h+set}" = set; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26601else
26602
26603 save_CFLAGS=$CFLAGS
26604 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26605
26606 cat >conftest.$ac_ext <<_ACEOF
26607/* confdefs.h. */
26608_ACEOF
26609cat confdefs.h >>conftest.$ac_ext
26610cat >>conftest.$ac_ext <<_ACEOF
26611/* end confdefs.h. */
26612
26613 #include <X11/xpm.h>
26614
26615int
26616main ()
26617{
26618
26619 int version;
26620 version = XpmLibraryVersion();
26621
26622 ;
26623 return 0;
26624}
26625_ACEOF
26626rm -f conftest.$ac_objext
26627if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26628 (eval $ac_compile) 2>conftest.er1
26629 ac_status=$?
26630 grep -v '^ *+' conftest.er1 >conftest.err
26631 rm -f conftest.er1
26632 cat conftest.err >&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } &&
26635 { ac_try='test -z "$ac_c_werror_flag"
26636 || test ! -s conftest.err'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26639 ac_status=$?
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; } &&
26642 { ac_try='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 wx_cv_x11_xpm_h=yes
26649else
26650 echo "$as_me: failed program was:" >&5
26651sed 's/^/| /' conftest.$ac_ext >&5
26652
26653wx_cv_x11_xpm_h=no
26654
26655fi
26656rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26657
26658 CFLAGS=$save_CFLAGS
26659
26660
26661fi
26662echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26663echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26664
26665 if test $wx_cv_x11_xpm_h = "yes"; then
26666 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26667 cat >>confdefs.h <<\_ACEOF
26668#define wxHAVE_LIB_XPM 1
26669_ACEOF
26670
26671 else
26672 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26673echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26674 fi
26675 fi
26676
26677 fi
26678
26679 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26680echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26681if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26683else
26684 ac_check_lib_save_LIBS=$LIBS
26685LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26686cat >conftest.$ac_ext <<_ACEOF
26687/* confdefs.h. */
26688_ACEOF
26689cat confdefs.h >>conftest.$ac_ext
26690cat >>conftest.$ac_ext <<_ACEOF
26691/* end confdefs.h. */
26692
26693/* Override any gcc2 internal prototype to avoid an error. */
26694#ifdef __cplusplus
26695extern "C"
26696#endif
26697/* We use char because int might match the return type of a gcc2
26698 builtin and then its argument prototype would still apply. */
26699char XShapeQueryExtension ();
26700int
26701main ()
26702{
26703XShapeQueryExtension ();
26704 ;
26705 return 0;
26706}
26707_ACEOF
26708rm -f conftest.$ac_objext conftest$ac_exeext
26709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26710 (eval $ac_link) 2>conftest.er1
26711 ac_status=$?
26712 grep -v '^ *+' conftest.er1 >conftest.err
26713 rm -f conftest.er1
26714 cat conftest.err >&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } &&
26717 { ac_try='test -z "$ac_c_werror_flag"
26718 || test ! -s conftest.err'
26719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26720 (eval $ac_try) 2>&5
26721 ac_status=$?
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); }; } &&
26724 { ac_try='test -s conftest$ac_exeext'
26725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26726 (eval $ac_try) 2>&5
26727 ac_status=$?
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); }; }; then
26730 ac_cv_lib_Xext_XShapeQueryExtension=yes
26731else
26732 echo "$as_me: failed program was:" >&5
26733sed 's/^/| /' conftest.$ac_ext >&5
26734
26735ac_cv_lib_Xext_XShapeQueryExtension=no
26736fi
26737rm -f conftest.err conftest.$ac_objext \
26738 conftest$ac_exeext conftest.$ac_ext
26739LIBS=$ac_check_lib_save_LIBS
26740fi
26741echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26742echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26743if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26744
26745 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26746 wxHAVE_XEXT_LIB=1
26747
26748fi
26749
26750
26751 if test "$wxHAVE_XEXT_LIB" = 1; then
26752 save_CFLAGS="$CFLAGS"
26753 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26754
26755 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26756echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26757 cat >conftest.$ac_ext <<_ACEOF
26758/* confdefs.h. */
26759_ACEOF
26760cat confdefs.h >>conftest.$ac_ext
26761cat >>conftest.$ac_ext <<_ACEOF
26762/* end confdefs.h. */
26763
26764 #include <X11/Xlib.h>
26765 #include <X11/extensions/shape.h>
26766
26767int
26768main ()
26769{
26770
26771 int dummy1, dummy2;
26772 XShapeQueryExtension((Display*)NULL,
26773 (int*)NULL, (int*)NULL);
26774
26775 ;
26776 return 0;
26777}
26778_ACEOF
26779rm -f conftest.$ac_objext
26780if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26781 (eval $ac_compile) 2>conftest.er1
26782 ac_status=$?
26783 grep -v '^ *+' conftest.er1 >conftest.err
26784 rm -f conftest.er1
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26792 ac_status=$?
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try='test -s conftest.$ac_objext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26798 ac_status=$?
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26801
26802 cat >>confdefs.h <<\_ACEOF
26803#define HAVE_XSHAPE 1
26804_ACEOF
26805
26806 echo "$as_me:$LINENO: result: found" >&5
26807echo "${ECHO_T}found" >&6
26808
26809else
26810 echo "$as_me: failed program was:" >&5
26811sed 's/^/| /' conftest.$ac_ext >&5
26812
26813
26814 echo "$as_me:$LINENO: result: not found" >&5
26815echo "${ECHO_T}not found" >&6
26816
26817fi
26818rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26819 CFLAGS="$save_CFLAGS"
26820
26821 fi
26822 fi
26823
26824 if test "$wxUSE_MAC" = 1; then
26825 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26826echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26827 if test "$GCC" = yes; then
26828 echo "$as_me:$LINENO: result: gcc" >&5
26829echo "${ECHO_T}gcc" >&6
26830 CPPFLAGS_PASCAL="-fpascal-strings"
26831 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26832 echo "$as_me:$LINENO: result: xlc" >&5
26833echo "${ECHO_T}xlc" >&6
26834 CPPFLAGS_PASCAL="-qmacpstr"
26835 else
26836 echo "$as_me:$LINENO: result: none" >&5
26837echo "${ECHO_T}none" >&6
26838 fi
26839
26840 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26841
26842 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26843 TOOLKIT=MAC
26844 GUIDIST=MACX_DIST
26845 WXBASEPORT="_carbon"
26846 fi
26847
26848 if test "$wxUSE_COCOA" = 1; then
26849 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26850 TOOLKIT=COCOA
26851 GUIDIST=COCOA_DIST
26852 fi
26853
26854 if test "$wxUSE_PM" = 1; then
26855 TOOLKIT=PM
26856 GUIDIST=GTK_DIST
26857 fi
26858
26859 if test "$TOOLKIT" = "PM" ; then
26860 TOOLKIT_DIR="os2"
26861 else
26862 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26863 fi
26864
26865 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26866
26867 if test "$wxUSE_UNIVERSAL" = "yes"; then
26868 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26869
26870 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26871 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26872
26873 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26874 if test "$wxUSE_X11" = 1; then
26875 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26876 else
26877 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26878 fi
26879 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26880 WIDGET_SET=univ
26881 else
26882 ALL_OBJECTS="\$(GUIOBJS)"
26883 ALL_SOURCES="\$(ALL_SOURCES)"
26884 ALL_HEADERS="\$(ALL_HEADERS)"
26885 fi
26886
26887 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26888
26889 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26890 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26891 fi
26892
26893 if test "$wxUSE_HTML" = "yes"; then
26894 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26895 fi
26896
26897 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26898 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26899 fi
26900 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26901 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26902 fi
26903 if test "$wxUSE_LIBPNG" = "builtin" ; then
26904 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26905 fi
26906
26907 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26908 DISTDIR="wx\$(TOOLKIT)"
26909else
26910 USE_GUI=0
26911
26912 TOOLKIT_DIR="base"
26913
26914 if test "$USE_WIN32" = 1 ; then
26915 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26916 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26917
26918 TOOLKIT="MSW"
26919 else
26920 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26921 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26922 fi
26923
26924 ALL_SOURCES="\$(ALL_SOURCES)"
26925 ALL_HEADERS="\$(ALL_HEADERS)"
26926
26927 PORT_FILES="\${top_srcdir}/src/files.lst"
26928
26929 GUIDIST="BASE_DIST"
26930 DISTDIR="wxBase"
26931fi
26932
26933
26934
26935
26936IODBC_C_SRC=""
26937
26938
26939if test "$TOOLKIT" != "MSW" ; then
26940
26941 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26942
26943 if test "${ac_cv_header_sql_h+set}" = set; then
26944 echo "$as_me:$LINENO: checking for sql.h" >&5
26945echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26946if test "${ac_cv_header_sql_h+set}" = set; then
26947 echo $ECHO_N "(cached) $ECHO_C" >&6
26948fi
26949echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26950echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26951else
26952 # Is the header compilable?
26953echo "$as_me:$LINENO: checking sql.h usability" >&5
26954echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26955cat >conftest.$ac_ext <<_ACEOF
26956/* confdefs.h. */
26957_ACEOF
26958cat confdefs.h >>conftest.$ac_ext
26959cat >>conftest.$ac_ext <<_ACEOF
26960/* end confdefs.h. */
26961$ac_includes_default
26962#include <sql.h>
26963_ACEOF
26964rm -f conftest.$ac_objext
26965if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26966 (eval $ac_compile) 2>conftest.er1
26967 ac_status=$?
26968 grep -v '^ *+' conftest.er1 >conftest.err
26969 rm -f conftest.er1
26970 cat conftest.err >&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try='test -z "$ac_c_werror_flag"
26974 || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26977 ac_status=$?
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26983 ac_status=$?
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_header_compiler=yes
26987else
26988 echo "$as_me: failed program was:" >&5
26989sed 's/^/| /' conftest.$ac_ext >&5
26990
26991ac_header_compiler=no
26992fi
26993rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26994echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26995echo "${ECHO_T}$ac_header_compiler" >&6
26996
26997# Is the header present?
26998echo "$as_me:$LINENO: checking sql.h presence" >&5
26999echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27000cat >conftest.$ac_ext <<_ACEOF
27001/* confdefs.h. */
27002_ACEOF
27003cat confdefs.h >>conftest.$ac_ext
27004cat >>conftest.$ac_ext <<_ACEOF
27005/* end confdefs.h. */
27006#include <sql.h>
27007_ACEOF
27008if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27010 ac_status=$?
27011 grep -v '^ *+' conftest.er1 >conftest.err
27012 rm -f conftest.er1
27013 cat conftest.err >&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } >/dev/null; then
27016 if test -s conftest.err; then
27017 ac_cpp_err=$ac_c_preproc_warn_flag
27018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27019 else
27020 ac_cpp_err=
27021 fi
27022else
27023 ac_cpp_err=yes
27024fi
27025if test -z "$ac_cpp_err"; then
27026 ac_header_preproc=yes
27027else
27028 echo "$as_me: failed program was:" >&5
27029sed 's/^/| /' conftest.$ac_ext >&5
27030
27031 ac_header_preproc=no
27032fi
27033rm -f conftest.err conftest.$ac_ext
27034echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27035echo "${ECHO_T}$ac_header_preproc" >&6
27036
27037# So? What about this header?
27038case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27039 yes:no: )
27040 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27041echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27043echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27044 ac_header_preproc=yes
27045 ;;
27046 no:yes:* )
27047 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27048echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27050echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27051 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27052echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27053 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27054echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27055 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27056echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27058echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27059 (
27060 cat <<\_ASBOX
27061## ----------------------------------------- ##
27062## Report this to wx-dev@lists.wxwindows.org ##
27063## ----------------------------------------- ##
27064_ASBOX
27065 ) |
27066 sed "s/^/$as_me: WARNING: /" >&2
27067 ;;
27068esac
27069echo "$as_me:$LINENO: checking for sql.h" >&5
27070echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27071if test "${ac_cv_header_sql_h+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27073else
27074 ac_cv_header_sql_h=$ac_header_preproc
27075fi
27076echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27077echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27078
27079fi
27080if test $ac_cv_header_sql_h = yes; then
27081 found_sql_h=1
27082fi
27083
27084
27085 if test "x$found_sql_h" = "x1" ; then
27086 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27087echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27088if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27090else
27091 ac_check_lib_save_LIBS=$LIBS
27092LIBS="-liodbc $LIBS"
27093cat >conftest.$ac_ext <<_ACEOF
27094/* confdefs.h. */
27095_ACEOF
27096cat confdefs.h >>conftest.$ac_ext
27097cat >>conftest.$ac_ext <<_ACEOF
27098/* end confdefs.h. */
27099
27100/* Override any gcc2 internal prototype to avoid an error. */
27101#ifdef __cplusplus
27102extern "C"
27103#endif
27104/* We use char because int might match the return type of a gcc2
27105 builtin and then its argument prototype would still apply. */
27106char SQLAllocEnv ();
27107int
27108main ()
27109{
27110SQLAllocEnv ();
27111 ;
27112 return 0;
27113}
27114_ACEOF
27115rm -f conftest.$ac_objext conftest$ac_exeext
27116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27118 ac_status=$?
27119 grep -v '^ *+' conftest.er1 >conftest.err
27120 rm -f conftest.er1
27121 cat conftest.err >&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27128 ac_status=$?
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try='test -s conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 ac_cv_lib_iodbc_SQLAllocEnv=yes
27138else
27139 echo "$as_me: failed program was:" >&5
27140sed 's/^/| /' conftest.$ac_ext >&5
27141
27142ac_cv_lib_iodbc_SQLAllocEnv=no
27143fi
27144rm -f conftest.err conftest.$ac_objext \
27145 conftest$ac_exeext conftest.$ac_ext
27146LIBS=$ac_check_lib_save_LIBS
27147fi
27148echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27149echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27150if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27151 ODBC_LINK=" -liodbc"
27152else
27153
27154 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27155echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27156if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27158else
27159 ac_check_lib_save_LIBS=$LIBS
27160LIBS="-lunixodbc $LIBS"
27161cat >conftest.$ac_ext <<_ACEOF
27162/* confdefs.h. */
27163_ACEOF
27164cat confdefs.h >>conftest.$ac_ext
27165cat >>conftest.$ac_ext <<_ACEOF
27166/* end confdefs.h. */
27167
27168/* Override any gcc2 internal prototype to avoid an error. */
27169#ifdef __cplusplus
27170extern "C"
27171#endif
27172/* We use char because int might match the return type of a gcc2
27173 builtin and then its argument prototype would still apply. */
27174char SQLAllocEnv ();
27175int
27176main ()
27177{
27178SQLAllocEnv ();
27179 ;
27180 return 0;
27181}
27182_ACEOF
27183rm -f conftest.$ac_objext conftest$ac_exeext
27184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27185 (eval $ac_link) 2>conftest.er1
27186 ac_status=$?
27187 grep -v '^ *+' conftest.er1 >conftest.err
27188 rm -f conftest.er1
27189 cat conftest.err >&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); } &&
27192 { ac_try='test -z "$ac_c_werror_flag"
27193 || test ! -s conftest.err'
27194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195 (eval $ac_try) 2>&5
27196 ac_status=$?
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); }; } &&
27199 { ac_try='test -s conftest$ac_exeext'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27202 ac_status=$?
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; }; then
27205 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27206else
27207 echo "$as_me: failed program was:" >&5
27208sed 's/^/| /' conftest.$ac_ext >&5
27209
27210ac_cv_lib_unixodbc_SQLAllocEnv=no
27211fi
27212rm -f conftest.err conftest.$ac_objext \
27213 conftest$ac_exeext conftest.$ac_ext
27214LIBS=$ac_check_lib_save_LIBS
27215fi
27216echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27217echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27218if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27219 ODBC_LINK=" -lunixodbc"
27220else
27221
27222 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27223echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27224if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27226else
27227 ac_check_lib_save_LIBS=$LIBS
27228LIBS="-lodbc $LIBS"
27229cat >conftest.$ac_ext <<_ACEOF
27230/* confdefs.h. */
27231_ACEOF
27232cat confdefs.h >>conftest.$ac_ext
27233cat >>conftest.$ac_ext <<_ACEOF
27234/* end confdefs.h. */
27235
27236/* Override any gcc2 internal prototype to avoid an error. */
27237#ifdef __cplusplus
27238extern "C"
27239#endif
27240/* We use char because int might match the return type of a gcc2
27241 builtin and then its argument prototype would still apply. */
27242char SQLAllocEnv ();
27243int
27244main ()
27245{
27246SQLAllocEnv ();
27247 ;
27248 return 0;
27249}
27250_ACEOF
27251rm -f conftest.$ac_objext conftest$ac_exeext
27252if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27253 (eval $ac_link) 2>conftest.er1
27254 ac_status=$?
27255 grep -v '^ *+' conftest.er1 >conftest.err
27256 rm -f conftest.er1
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } &&
27260 { ac_try='test -z "$ac_c_werror_flag"
27261 || test ! -s conftest.err'
27262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27263 (eval $ac_try) 2>&5
27264 ac_status=$?
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); }; } &&
27267 { ac_try='test -s conftest$ac_exeext'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27270 ac_status=$?
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; }; then
27273 ac_cv_lib_odbc_SQLAllocEnv=yes
27274else
27275 echo "$as_me: failed program was:" >&5
27276sed 's/^/| /' conftest.$ac_ext >&5
27277
27278ac_cv_lib_odbc_SQLAllocEnv=no
27279fi
27280rm -f conftest.err conftest.$ac_objext \
27281 conftest$ac_exeext conftest.$ac_ext
27282LIBS=$ac_check_lib_save_LIBS
27283fi
27284echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27285echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27286if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27287 ODBC_LINK=" -lodbc"
27288fi
27289
27290
27291fi
27292
27293
27294fi
27295
27296 fi
27297 if test "x$ODBC_LINK" = "x" ; then
27298 if test "$wxUSE_ODBC" = "sys" ; then
27299 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27300echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27301 { (exit 1); exit 1; }; }
27302 else
27303 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27304echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27305 wxUSE_ODBC=builtin
27306 fi
27307 else
27308 wxUSE_ODBC=sys
27309 fi
27310 fi
27311 if test "$wxUSE_ODBC" != "no" ; then
27312 cat >>confdefs.h <<\_ACEOF
27313#define wxUSE_ODBC 1
27314_ACEOF
27315
27316 if test "$wxUSE_ODBC" = "builtin" ; then
27317 cat >>confdefs.h <<\_ACEOF
27318#define wxUSE_BUILTIN_IODBC 1
27319_ACEOF
27320
27321 fi
27322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27323
27324 WXODBCFLAG="-D_IODBC_"
27325 fi
27326fi
27327
27328if test "$wxUSE_REGEX" = "builtin" ; then
27329 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
27330fi
27331if test "$wxUSE_ZLIB" = "builtin" ; then
27332 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
27333fi
27334
27335if test "$wxUSE_DISPLAY" = "yes"; then
27336 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27337 echo "$as_me:$LINENO: checking for Xinerama" >&5
27338echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27339
27340ac_find_libraries=
27341for ac_dir in $SEARCH_LIB /usr/lib;
27342 do
27343 for ac_extension in a so sl dylib; do
27344 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27345 ac_find_libraries=$ac_dir
27346 break 2
27347 fi
27348 done
27349 done
27350
27351 if test "$ac_find_libraries" != "" ; then
27352
27353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27354 result=$?
27355 if test $result = 0; then
27356 ac_path_to_link=""
27357 else
27358 ac_path_to_link=" -L$ac_find_libraries"
27359 fi
27360
27361 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27362 LDFLAGS="$LDFLAGS $ac_path_to_link"
27363 fi
27364 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27365 echo "$as_me:$LINENO: result: yes" >&5
27366echo "${ECHO_T}yes" >&6
27367
27368 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27369echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27370
27371ac_find_libraries=
27372for ac_dir in $SEARCH_LIB /usr/lib;
27373 do
27374 for ac_extension in a so sl dylib; do
27375 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27376 ac_find_libraries=$ac_dir
27377 break 2
27378 fi
27379 done
27380 done
27381
27382 if test "$ac_find_libraries" != "" ; then
27383 echo "$as_me:$LINENO: result: yes" >&5
27384echo "${ECHO_T}yes" >&6
27385
27386for ac_header in X11/extensions/xf86vmode.h
27387do
27388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27389echo "$as_me:$LINENO: checking for $ac_header" >&5
27390echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27391if eval "test \"\${$as_ac_Header+set}\" = set"; then
27392 echo $ECHO_N "(cached) $ECHO_C" >&6
27393else
27394 cat >conftest.$ac_ext <<_ACEOF
27395/* confdefs.h. */
27396_ACEOF
27397cat confdefs.h >>conftest.$ac_ext
27398cat >>conftest.$ac_ext <<_ACEOF
27399/* end confdefs.h. */
27400
27401 #if HAVE_X11_XLIB_H
27402 #include <X11/Xlib.h>
27403 #endif
27404
27405
27406#include <$ac_header>
27407_ACEOF
27408rm -f conftest.$ac_objext
27409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27410 (eval $ac_compile) 2>conftest.er1
27411 ac_status=$?
27412 grep -v '^ *+' conftest.er1 >conftest.err
27413 rm -f conftest.er1
27414 cat conftest.err >&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } &&
27417 { ac_try='test -z "$ac_c_werror_flag"
27418 || test ! -s conftest.err'
27419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27420 (eval $ac_try) 2>&5
27421 ac_status=$?
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); }; } &&
27424 { ac_try='test -s conftest.$ac_objext'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; }; then
27430 eval "$as_ac_Header=yes"
27431else
27432 echo "$as_me: failed program was:" >&5
27433sed 's/^/| /' conftest.$ac_ext >&5
27434
27435eval "$as_ac_Header=no"
27436fi
27437rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27438fi
27439echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27440echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27441if test `eval echo '${'$as_ac_Header'}'` = yes; then
27442 cat >>confdefs.h <<_ACEOF
27443#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27444_ACEOF
27445
27446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27447
27448fi
27449
27450done
27451
27452 else
27453 echo "$as_me:$LINENO: result: no" >&5
27454echo "${ECHO_T}no" >&6
27455 fi
27456
27457 else
27458 echo "$as_me:$LINENO: result: no" >&5
27459echo "${ECHO_T}no" >&6
27460 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27461echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27462 wxUSE_DISPLAY="no"
27463 fi
27464 fi
27465fi
27466
27467
27468USE_OPENGL=0
27469if test "$wxUSE_OPENGL" = "yes"; then
27470 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27471 OPENGL_LIBS="-framework OpenGL -framework AGL"
27472 elif test "$wxUSE_MSW" = 1; then
27473 OPENGL_LIBS="-lopengl32 -lglu32"
27474 else
27475
27476
27477ac_find_includes=
27478for ac_dir in $SEARCH_INCLUDE /usr/include;
27479 do
27480 if test -f "$ac_dir/GL/gl.h"; then
27481 ac_find_includes=$ac_dir
27482 break
27483 fi
27484 done
27485
27486 if test "$ac_find_includes" != "" ; then
27487 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27488echo "${ECHO_T}found in $ac_find_includes" >&6
27489
27490 if test "x$ac_find_includes" = "x/usr/include"; then
27491 ac_path_to_include=""
27492 else
27493 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27494 result=$?
27495 if test $result = 0; then
27496 ac_path_to_include=""
27497 else
27498 ac_path_to_include=" -I$ac_find_includes"
27499 fi
27500 fi
27501
27502 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27503 fi
27504
27505 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27506 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27507echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27508if test "${ac_cv_header_GL_gl_h+set}" = set; then
27509 echo $ECHO_N "(cached) $ECHO_C" >&6
27510fi
27511echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27512echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27513else
27514 # Is the header compilable?
27515echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27516echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27517cat >conftest.$ac_ext <<_ACEOF
27518/* confdefs.h. */
27519_ACEOF
27520cat confdefs.h >>conftest.$ac_ext
27521cat >>conftest.$ac_ext <<_ACEOF
27522/* end confdefs.h. */
27523$ac_includes_default
27524#include <GL/gl.h>
27525_ACEOF
27526rm -f conftest.$ac_objext
27527if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27528 (eval $ac_compile) 2>conftest.er1
27529 ac_status=$?
27530 grep -v '^ *+' conftest.er1 >conftest.err
27531 rm -f conftest.er1
27532 cat conftest.err >&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } &&
27535 { ac_try='test -z "$ac_c_werror_flag"
27536 || test ! -s conftest.err'
27537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27538 (eval $ac_try) 2>&5
27539 ac_status=$?
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); }; } &&
27542 { ac_try='test -s conftest.$ac_objext'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27545 ac_status=$?
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; }; then
27548 ac_header_compiler=yes
27549else
27550 echo "$as_me: failed program was:" >&5
27551sed 's/^/| /' conftest.$ac_ext >&5
27552
27553ac_header_compiler=no
27554fi
27555rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27556echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27557echo "${ECHO_T}$ac_header_compiler" >&6
27558
27559# Is the header present?
27560echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27561echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27562cat >conftest.$ac_ext <<_ACEOF
27563/* confdefs.h. */
27564_ACEOF
27565cat confdefs.h >>conftest.$ac_ext
27566cat >>conftest.$ac_ext <<_ACEOF
27567/* end confdefs.h. */
27568#include <GL/gl.h>
27569_ACEOF
27570if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27572 ac_status=$?
27573 grep -v '^ *+' conftest.er1 >conftest.err
27574 rm -f conftest.er1
27575 cat conftest.err >&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } >/dev/null; then
27578 if test -s conftest.err; then
27579 ac_cpp_err=$ac_c_preproc_warn_flag
27580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27581 else
27582 ac_cpp_err=
27583 fi
27584else
27585 ac_cpp_err=yes
27586fi
27587if test -z "$ac_cpp_err"; then
27588 ac_header_preproc=yes
27589else
27590 echo "$as_me: failed program was:" >&5
27591sed 's/^/| /' conftest.$ac_ext >&5
27592
27593 ac_header_preproc=no
27594fi
27595rm -f conftest.err conftest.$ac_ext
27596echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27597echo "${ECHO_T}$ac_header_preproc" >&6
27598
27599# So? What about this header?
27600case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27601 yes:no: )
27602 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27603echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27604 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27605echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27606 ac_header_preproc=yes
27607 ;;
27608 no:yes:* )
27609 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27610echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27611 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27612echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27613 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27614echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27615 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27616echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27617 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27618echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27619 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27620echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27621 (
27622 cat <<\_ASBOX
27623## ----------------------------------------- ##
27624## Report this to wx-dev@lists.wxwindows.org ##
27625## ----------------------------------------- ##
27626_ASBOX
27627 ) |
27628 sed "s/^/$as_me: WARNING: /" >&2
27629 ;;
27630esac
27631echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27632echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27633if test "${ac_cv_header_GL_gl_h+set}" = set; then
27634 echo $ECHO_N "(cached) $ECHO_C" >&6
27635else
27636 ac_cv_header_GL_gl_h=$ac_header_preproc
27637fi
27638echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27639echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27640
27641fi
27642if test $ac_cv_header_GL_gl_h = yes; then
27643
27644 found_gl=0
27645
27646 echo "$as_me:$LINENO: checking for -lGL" >&5
27647echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27648
27649ac_find_libraries=
27650for ac_dir in $SEARCH_LIB /usr/lib;
27651 do
27652 for ac_extension in a so sl dylib; do
27653 if test -f "$ac_dir/libGL.$ac_extension"; then
27654 ac_find_libraries=$ac_dir
27655 break 2
27656 fi
27657 done
27658 done
27659
27660 if test "$ac_find_libraries" != "" ; then
27661
27662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27663 result=$?
27664 if test $result = 0; then
27665 ac_path_to_link=""
27666 else
27667 ac_path_to_link=" -L$ac_find_libraries"
27668 fi
27669
27670 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27671 LDFLAGS_GL="$ac_path_to_link"
27672 fi
27673
27674
27675ac_find_libraries=
27676for ac_dir in $SEARCH_LIB /usr/lib;
27677 do
27678 for ac_extension in a so sl dylib; do
27679 if test -f "$ac_dir/libGLU.$ac_extension"; then
27680 ac_find_libraries=$ac_dir
27681 break 2
27682 fi
27683 done
27684 done
27685
27686 if test "$ac_find_libraries" != "" ; then
27687
27688 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27689 result=$?
27690 if test $result = 0; then
27691 ac_path_to_link=""
27692 else
27693 ac_path_to_link=" -L$ac_find_libraries"
27694 fi
27695
27696 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27697 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27698 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27699 fi
27700
27701 found_gl=1
27702 OPENGL_LIBS="-lGL -lGLU"
27703 echo "$as_me:$LINENO: result: yes" >&5
27704echo "${ECHO_T}yes" >&6
27705 fi
27706 fi
27707
27708 if test "$found_gl" != 1; then
27709 echo "$as_me:$LINENO: result: no" >&5
27710echo "${ECHO_T}no" >&6
27711 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27712echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27713
27714ac_find_libraries=
27715for ac_dir in $SEARCH_LIB /usr/lib;
27716 do
27717 for ac_extension in a so sl dylib; do
27718 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27719 ac_find_libraries=$ac_dir
27720 break 2
27721 fi
27722 done
27723 done
27724
27725 if test "$ac_find_libraries" != "" ; then
27726
27727 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27728 result=$?
27729 if test $result = 0; then
27730 ac_path_to_link=""
27731 else
27732 ac_path_to_link=" -L$ac_find_libraries"
27733 fi
27734
27735 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27736 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27737 echo "$as_me:$LINENO: result: yes" >&5
27738echo "${ECHO_T}yes" >&6
27739 else
27740 echo "$as_me:$LINENO: result: no" >&5
27741echo "${ECHO_T}no" >&6
27742 fi
27743 fi
27744
27745fi
27746
27747
27748
27749 if test "x$OPENGL_LIBS" = "x"; then
27750 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27751echo "$as_me: error: OpenGL libraries not available" >&2;}
27752 { (exit 1); exit 1; }; }
27753 fi
27754 fi
27755
27756 if test "$wxUSE_OPENGL" = "yes"; then
27757 USE_OPENGL=1
27758 cat >>confdefs.h <<\_ACEOF
27759#define wxUSE_OPENGL 1
27760_ACEOF
27761
27762 cat >>confdefs.h <<\_ACEOF
27763#define wxUSE_GLCANVAS 1
27764_ACEOF
27765
27766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27767 fi
27768fi
27769
27770if test -z "$TOOLKIT_VPATH" ; then
27771 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27772fi
27773
27774if test -n "$TOOLKIT" ; then
27775 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27776fi
27777
27778UNICODE=0
27779lib_unicode_suffix=
27780if test "$wxUSE_UNICODE" = "yes"; then
27781 lib_unicode_suffix=u
27782 UNICODE=1
27783fi
27784
27785lib_debug_suffix=
27786DEBUG_FLAG=0
27787if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27788 lib_debug_suffix=d
27789 DEBUG_FLAG=1
27790fi
27791
27792DEBUG_INFO=0
27793if test "$wxUSE_DEBUG_INFO" = "yes"; then
27794 DEBUG_INFO=1
27795fi
27796
27797WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27798
27799TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27800TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27801
27802if test "$cross_compiling" = "yes"; then
27803 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27804 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27805 HOST_SUFFIX="-${host_alias}"
27806fi
27807
27808WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27809WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27810WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27811WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27812
27813WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27814WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27815
27816WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27817WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27818WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27819WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27820
27821case "${host}" in
27822 *-*-cygwin* | *-*-mingw32* )
27823 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27824 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27825 ;;
27826
27827 *-*-darwin* )
27828
27829 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27830 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27831
27832 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27833 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27834 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27835 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27836
27837 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27838 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27839 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27840 fi
27841 ;;
27842esac
27843
27844WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27845WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27846
27847WXCONFIG_LIBS="-l${WX_LIBRARY}"
27848WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27849
27850if test "$wxUSE_OPENGL" = "yes"; then
27851 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27852 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27853fi
27854
27855
27856
27857if test "$wxUSE_SHARED" = "yes"; then
27858 case "${host}" in
27859 *-pc-msdosdjgpp )
27860 wxUSE_SHARED=no
27861 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27862echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27863 ;;
27864 esac
27865fi
27866
27867SHARED=0
27868if test "$wxUSE_SHARED" = "yes"; then
27869 SHARED=1
27870
27871
27872 found_versioning=no
27873
27874
27875 if test $found_versioning = no ; then
27876 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27877echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27878if test "${wx_cv_version_script+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27880else
27881
27882 echo "VER_1 { *; };" >conftest.sym
27883 echo "int main() { return 0; }" >conftest.cpp
27884
27885 if { ac_try='
27886 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27887 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27890 ac_status=$?
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } ; then
27893 if test -s conftest.stderr ; then
27894 wx_cv_version_script=no
27895 else
27896 wx_cv_version_script=yes
27897 fi
27898 else
27899 wx_cv_version_script=no
27900 fi
27901 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27902
27903fi
27904echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27905echo "${ECHO_T}$wx_cv_version_script" >&6
27906 if test $wx_cv_version_script = yes ; then
27907 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27908 fi
27909 fi
27910
27911
27912 case "${host}" in
27913 *-*-linux* | *-*-gnu* )
27914 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27915 ;;
27916
27917 *-*-solaris2* )
27918 if test "$GCC" = yes ; then
27919 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27920
27921 saveLdflags="$LDFLAGS"
27922 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27923 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27924echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27925 cat >conftest.$ac_ext <<_ACEOF
27926/* confdefs.h. */
27927_ACEOF
27928cat confdefs.h >>conftest.$ac_ext
27929cat >>conftest.$ac_ext <<_ACEOF
27930/* end confdefs.h. */
27931
27932int
27933main ()
27934{
27935
27936 ;
27937 return 0;
27938}
27939_ACEOF
27940rm -f conftest.$ac_objext conftest$ac_exeext
27941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27942 (eval $ac_link) 2>conftest.er1
27943 ac_status=$?
27944 grep -v '^ *+' conftest.er1 >conftest.err
27945 rm -f conftest.er1
27946 cat conftest.err >&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try='test -z "$ac_c_werror_flag"
27950 || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27953 ac_status=$?
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try='test -s conftest$ac_exeext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27959 ac_status=$?
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27962
27963 echo "$as_me:$LINENO: result: yes" >&5
27964echo "${ECHO_T}yes" >&6
27965 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27966
27967else
27968 echo "$as_me: failed program was:" >&5
27969sed 's/^/| /' conftest.$ac_ext >&5
27970
27971
27972 echo "$as_me:$LINENO: result: no" >&5
27973echo "${ECHO_T}no" >&6
27974 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27975echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27976 LDFLAGS="$saveLdflags -Wl,-R,/"
27977 cat >conftest.$ac_ext <<_ACEOF
27978/* confdefs.h. */
27979_ACEOF
27980cat confdefs.h >>conftest.$ac_ext
27981cat >>conftest.$ac_ext <<_ACEOF
27982/* end confdefs.h. */
27983
27984int
27985main ()
27986{
27987
27988 ;
27989 return 0;
27990}
27991_ACEOF
27992rm -f conftest.$ac_objext conftest$ac_exeext
27993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27994 (eval $ac_link) 2>conftest.er1
27995 ac_status=$?
27996 grep -v '^ *+' conftest.er1 >conftest.err
27997 rm -f conftest.er1
27998 cat conftest.err >&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } &&
28001 { ac_try='test -z "$ac_c_werror_flag"
28002 || test ! -s conftest.err'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28005 ac_status=$?
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; } &&
28008 { ac_try='test -s conftest$ac_exeext'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28011 ac_status=$?
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; }; then
28014
28015 echo "$as_me:$LINENO: result: yes" >&5
28016echo "${ECHO_T}yes" >&6
28017 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28018else
28019 echo "$as_me: failed program was:" >&5
28020sed 's/^/| /' conftest.$ac_ext >&5
28021
28022
28023 echo "$as_me:$LINENO: result: no" >&5
28024echo "${ECHO_T}no" >&6
28025
28026fi
28027rm -f conftest.err conftest.$ac_objext \
28028 conftest$ac_exeext conftest.$ac_ext
28029
28030fi
28031rm -f conftest.err conftest.$ac_objext \
28032 conftest$ac_exeext conftest.$ac_ext
28033 LDFLAGS="$saveLdflags"
28034 else
28035 SHARED_LD="${CXX} -G -o"
28036 PIC_FLAG="-KPIC"
28037 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28038 fi
28039 ;;
28040
28041 powerpc-*-darwin* )
28042 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28043 cat <<EOF >change-install-names
28044#!/bin/sh
28045libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28046inst_cmd="install_name_tool "
28047for i in \${libnames} ; do
28048 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28049done
28050\${inst_cmd} \${3}
28051EOF
28052 chmod +x change-install-names
28053 ;;
28054
28055 *-*-cygwin* | *-*-mingw32* )
28056 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28057 ;;
28058
28059 esac
28060
28061 if test "x$WX_TARGET_LIBRARY" = "x"; then
28062 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
28063 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
28064 fi
28065
28066 WX_TARGET_LIBRARY_TYPE="so"
28067 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
28068fi
28069
28070if test "$wxUSE_SHARED" = "no"; then
28071
28072 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28073 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28074 fi
28075
28076 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28077 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28078 fi
28079
28080 if test "$wxUSE_OPENGL" = "yes"; then
28081 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
28082 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28083 else
28084 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28085 fi
28086
28087 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
28088 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
28089
28090 WX_TARGET_LIBRARY_TYPE="a"
28091 INSTALL_LIBRARY='$(INSTALL_DATA)'
28092
28093 STATIC_FLAG="yes"
28094else
28095 STATIC_FLAG="no"
28096fi
28097
28098if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28099 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28100 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
28101 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
28102
28103 # Extract the first word of "Rez", so it can be a program name with args.
28104set dummy Rez; ac_word=$2
28105echo "$as_me:$LINENO: checking for $ac_word" >&5
28106echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28107if test "${ac_cv_prog_RESCOMP+set}" = set; then
28108 echo $ECHO_N "(cached) $ECHO_C" >&6
28109else
28110 if test -n "$RESCOMP"; then
28111 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28112else
28113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28114for as_dir in $PATH
28115do
28116 IFS=$as_save_IFS
28117 test -z "$as_dir" && as_dir=.
28118 for ac_exec_ext in '' $ac_executable_extensions; do
28119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28120 ac_cv_prog_RESCOMP="Rez"
28121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28122 break 2
28123 fi
28124done
28125done
28126
28127 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28128fi
28129fi
28130RESCOMP=$ac_cv_prog_RESCOMP
28131if test -n "$RESCOMP"; then
28132 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28133echo "${ECHO_T}$RESCOMP" >&6
28134else
28135 echo "$as_me:$LINENO: result: no" >&5
28136echo "${ECHO_T}no" >&6
28137fi
28138
28139 # Extract the first word of "DeRez", so it can be a program name with args.
28140set dummy DeRez; ac_word=$2
28141echo "$as_me:$LINENO: checking for $ac_word" >&5
28142echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28143if test "${ac_cv_prog_DEREZ+set}" = set; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28145else
28146 if test -n "$DEREZ"; then
28147 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28148else
28149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28150for as_dir in $PATH
28151do
28152 IFS=$as_save_IFS
28153 test -z "$as_dir" && as_dir=.
28154 for ac_exec_ext in '' $ac_executable_extensions; do
28155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28156 ac_cv_prog_DEREZ="DeRez"
28157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28158 break 2
28159 fi
28160done
28161done
28162
28163 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28164fi
28165fi
28166DEREZ=$ac_cv_prog_DEREZ
28167if test -n "$DEREZ"; then
28168 echo "$as_me:$LINENO: result: $DEREZ" >&5
28169echo "${ECHO_T}$DEREZ" >&6
28170else
28171 echo "$as_me:$LINENO: result: no" >&5
28172echo "${ECHO_T}no" >&6
28173fi
28174
28175 # Extract the first word of "SetFile", so it can be a program name with args.
28176set dummy SetFile; ac_word=$2
28177echo "$as_me:$LINENO: checking for $ac_word" >&5
28178echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28179if test "${ac_cv_prog_SETFILE+set}" = set; then
28180 echo $ECHO_N "(cached) $ECHO_C" >&6
28181else
28182 if test -n "$SETFILE"; then
28183 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28184else
28185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28186for as_dir in $PATH
28187do
28188 IFS=$as_save_IFS
28189 test -z "$as_dir" && as_dir=.
28190 for ac_exec_ext in '' $ac_executable_extensions; do
28191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28192 ac_cv_prog_SETFILE="SetFile"
28193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28194 break 2
28195 fi
28196done
28197done
28198
28199 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28200fi
28201fi
28202SETFILE=$ac_cv_prog_SETFILE
28203if test -n "$SETFILE"; then
28204 echo "$as_me:$LINENO: result: $SETFILE" >&5
28205echo "${ECHO_T}$SETFILE" >&6
28206else
28207 echo "$as_me:$LINENO: result: no" >&5
28208echo "${ECHO_T}no" >&6
28209fi
28210
28211
28212 MACSETFILE="\$(SETFILE)"
28213
28214 if test "$wxUSE_MAC" = 1; then
28215 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28216
28217 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28218 else
28219 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28220 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28221 fi
28222else
28223 MACSETFILE="@#"
28224 MACRESWXCONFIG="#"
28225
28226 if test "$wxUSE_PM" = 1; then
28227 MACRESCOMP="emxbind -ep"
28228 else
28229 MACRESCOMP="@#"
28230 fi
28231fi
28232
28233
28234
28235echo "$as_me:$LINENO: checking for mode_t" >&5
28236echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28237if test "${ac_cv_type_mode_t+set}" = set; then
28238 echo $ECHO_N "(cached) $ECHO_C" >&6
28239else
28240 cat >conftest.$ac_ext <<_ACEOF
28241/* confdefs.h. */
28242_ACEOF
28243cat confdefs.h >>conftest.$ac_ext
28244cat >>conftest.$ac_ext <<_ACEOF
28245/* end confdefs.h. */
28246$ac_includes_default
28247int
28248main ()
28249{
28250if ((mode_t *) 0)
28251 return 0;
28252if (sizeof (mode_t))
28253 return 0;
28254 ;
28255 return 0;
28256}
28257_ACEOF
28258rm -f conftest.$ac_objext
28259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28260 (eval $ac_compile) 2>conftest.er1
28261 ac_status=$?
28262 grep -v '^ *+' conftest.er1 >conftest.err
28263 rm -f conftest.er1
28264 cat conftest.err >&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); } &&
28267 { ac_try='test -z "$ac_c_werror_flag"
28268 || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_type_mode_t=yes
28281else
28282 echo "$as_me: failed program was:" >&5
28283sed 's/^/| /' conftest.$ac_ext >&5
28284
28285ac_cv_type_mode_t=no
28286fi
28287rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28288fi
28289echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28290echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28291if test $ac_cv_type_mode_t = yes; then
28292 :
28293else
28294
28295cat >>confdefs.h <<_ACEOF
28296#define mode_t int
28297_ACEOF
28298
28299fi
28300
28301echo "$as_me:$LINENO: checking for off_t" >&5
28302echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28303if test "${ac_cv_type_off_t+set}" = set; then
28304 echo $ECHO_N "(cached) $ECHO_C" >&6
28305else
28306 cat >conftest.$ac_ext <<_ACEOF
28307/* confdefs.h. */
28308_ACEOF
28309cat confdefs.h >>conftest.$ac_ext
28310cat >>conftest.$ac_ext <<_ACEOF
28311/* end confdefs.h. */
28312$ac_includes_default
28313int
28314main ()
28315{
28316if ((off_t *) 0)
28317 return 0;
28318if (sizeof (off_t))
28319 return 0;
28320 ;
28321 return 0;
28322}
28323_ACEOF
28324rm -f conftest.$ac_objext
28325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28326 (eval $ac_compile) 2>conftest.er1
28327 ac_status=$?
28328 grep -v '^ *+' conftest.er1 >conftest.err
28329 rm -f conftest.er1
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try='test -z "$ac_c_werror_flag"
28334 || test ! -s conftest.err'
28335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28336 (eval $ac_try) 2>&5
28337 ac_status=$?
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; } &&
28340 { ac_try='test -s conftest.$ac_objext'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28343 ac_status=$?
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; }; then
28346 ac_cv_type_off_t=yes
28347else
28348 echo "$as_me: failed program was:" >&5
28349sed 's/^/| /' conftest.$ac_ext >&5
28350
28351ac_cv_type_off_t=no
28352fi
28353rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28354fi
28355echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28356echo "${ECHO_T}$ac_cv_type_off_t" >&6
28357if test $ac_cv_type_off_t = yes; then
28358 :
28359else
28360
28361cat >>confdefs.h <<_ACEOF
28362#define off_t long
28363_ACEOF
28364
28365fi
28366
28367echo "$as_me:$LINENO: checking for pid_t" >&5
28368echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28369if test "${ac_cv_type_pid_t+set}" = set; then
28370 echo $ECHO_N "(cached) $ECHO_C" >&6
28371else
28372 cat >conftest.$ac_ext <<_ACEOF
28373/* confdefs.h. */
28374_ACEOF
28375cat confdefs.h >>conftest.$ac_ext
28376cat >>conftest.$ac_ext <<_ACEOF
28377/* end confdefs.h. */
28378$ac_includes_default
28379int
28380main ()
28381{
28382if ((pid_t *) 0)
28383 return 0;
28384if (sizeof (pid_t))
28385 return 0;
28386 ;
28387 return 0;
28388}
28389_ACEOF
28390rm -f conftest.$ac_objext
28391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28392 (eval $ac_compile) 2>conftest.er1
28393 ac_status=$?
28394 grep -v '^ *+' conftest.er1 >conftest.err
28395 rm -f conftest.er1
28396 cat conftest.err >&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try='test -z "$ac_c_werror_flag"
28400 || test ! -s conftest.err'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; } &&
28406 { ac_try='test -s conftest.$ac_objext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 ac_cv_type_pid_t=yes
28413else
28414 echo "$as_me: failed program was:" >&5
28415sed 's/^/| /' conftest.$ac_ext >&5
28416
28417ac_cv_type_pid_t=no
28418fi
28419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28420fi
28421echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28422echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28423if test $ac_cv_type_pid_t = yes; then
28424 :
28425else
28426
28427cat >>confdefs.h <<_ACEOF
28428#define pid_t int
28429_ACEOF
28430
28431fi
28432
28433echo "$as_me:$LINENO: checking for size_t" >&5
28434echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28435if test "${ac_cv_type_size_t+set}" = set; then
28436 echo $ECHO_N "(cached) $ECHO_C" >&6
28437else
28438 cat >conftest.$ac_ext <<_ACEOF
28439/* confdefs.h. */
28440_ACEOF
28441cat confdefs.h >>conftest.$ac_ext
28442cat >>conftest.$ac_ext <<_ACEOF
28443/* end confdefs.h. */
28444$ac_includes_default
28445int
28446main ()
28447{
28448if ((size_t *) 0)
28449 return 0;
28450if (sizeof (size_t))
28451 return 0;
28452 ;
28453 return 0;
28454}
28455_ACEOF
28456rm -f conftest.$ac_objext
28457if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28458 (eval $ac_compile) 2>conftest.er1
28459 ac_status=$?
28460 grep -v '^ *+' conftest.er1 >conftest.err
28461 rm -f conftest.er1
28462 cat conftest.err >&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } &&
28465 { ac_try='test -z "$ac_c_werror_flag"
28466 || test ! -s conftest.err'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28469 ac_status=$?
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; } &&
28472 { ac_try='test -s conftest.$ac_objext'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28475 ac_status=$?
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; }; then
28478 ac_cv_type_size_t=yes
28479else
28480 echo "$as_me: failed program was:" >&5
28481sed 's/^/| /' conftest.$ac_ext >&5
28482
28483ac_cv_type_size_t=no
28484fi
28485rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28486fi
28487echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28488echo "${ECHO_T}$ac_cv_type_size_t" >&6
28489if test $ac_cv_type_size_t = yes; then
28490 :
28491else
28492
28493cat >>confdefs.h <<_ACEOF
28494#define size_t unsigned
28495_ACEOF
28496
28497fi
28498
28499echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28500echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28501if test "${ac_cv_type_uid_t+set}" = set; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28503else
28504 cat >conftest.$ac_ext <<_ACEOF
28505/* confdefs.h. */
28506_ACEOF
28507cat confdefs.h >>conftest.$ac_ext
28508cat >>conftest.$ac_ext <<_ACEOF
28509/* end confdefs.h. */
28510#include <sys/types.h>
28511
28512_ACEOF
28513if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28514 $EGREP "uid_t" >/dev/null 2>&1; then
28515 ac_cv_type_uid_t=yes
28516else
28517 ac_cv_type_uid_t=no
28518fi
28519rm -f conftest*
28520
28521fi
28522echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28523echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28524if test $ac_cv_type_uid_t = no; then
28525
28526cat >>confdefs.h <<\_ACEOF
28527#define uid_t int
28528_ACEOF
28529
28530
28531cat >>confdefs.h <<\_ACEOF
28532#define gid_t int
28533_ACEOF
28534
28535fi
28536
28537
28538
28539
28540ac_ext=cc
28541ac_cpp='$CXXCPP $CPPFLAGS'
28542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545
28546echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28547echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28548if test "${wx_cv_size_t_is_uint+set}" = set; then
28549 echo $ECHO_N "(cached) $ECHO_C" >&6
28550else
28551
28552 cat >conftest.$ac_ext <<_ACEOF
28553/* confdefs.h. */
28554_ACEOF
28555cat confdefs.h >>conftest.$ac_ext
28556cat >>conftest.$ac_ext <<_ACEOF
28557/* end confdefs.h. */
28558#include <stddef.h>
28559int
28560main ()
28561{
28562
28563 return 0; }
28564
28565 struct Foo { void foo(size_t); void foo(unsigned int); };
28566
28567 int bar() {
28568
28569 ;
28570 return 0;
28571}
28572_ACEOF
28573rm -f conftest.$ac_objext
28574if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28576 ac_status=$?
28577 grep -v '^ *+' conftest.er1 >conftest.err
28578 rm -f conftest.er1
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try='test -z "$ac_cxx_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try='test -s conftest.$ac_objext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 wx_cv_size_t_is_uint=no
28596else
28597 echo "$as_me: failed program was:" >&5
28598sed 's/^/| /' conftest.$ac_ext >&5
28599
28600wx_cv_size_t_is_uint=yes
28601
28602fi
28603rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28604
28605
28606fi
28607echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28608echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28609
28610if test "$wx_cv_size_t_is_uint" = "yes"; then
28611 cat >>confdefs.h <<\_ACEOF
28612#define wxSIZE_T_IS_UINT 1
28613_ACEOF
28614
28615else
28616 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28617echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28618if test "${wx_cv_size_t_is_ulong+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28620else
28621 cat >conftest.$ac_ext <<_ACEOF
28622/* confdefs.h. */
28623_ACEOF
28624cat confdefs.h >>conftest.$ac_ext
28625cat >>conftest.$ac_ext <<_ACEOF
28626/* end confdefs.h. */
28627#include <stddef.h>
28628int
28629main ()
28630{
28631
28632 return 0; }
28633
28634 struct Foo { void foo(size_t); void foo(unsigned long); };
28635
28636 int bar() {
28637
28638 ;
28639 return 0;
28640}
28641_ACEOF
28642rm -f conftest.$ac_objext
28643if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28644 (eval $ac_compile) 2>conftest.er1
28645 ac_status=$?
28646 grep -v '^ *+' conftest.er1 >conftest.err
28647 rm -f conftest.er1
28648 cat conftest.err >&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); } &&
28651 { ac_try='test -z "$ac_cxx_werror_flag"
28652 || test ! -s conftest.err'
28653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28654 (eval $ac_try) 2>&5
28655 ac_status=$?
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); }; } &&
28658 { ac_try='test -s conftest.$ac_objext'
28659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28660 (eval $ac_try) 2>&5
28661 ac_status=$?
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); }; }; then
28664 wx_cv_size_t_is_ulong=no
28665else
28666 echo "$as_me: failed program was:" >&5
28667sed 's/^/| /' conftest.$ac_ext >&5
28668
28669wx_cv_size_t_is_ulong=yes
28670
28671fi
28672rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28673
28674fi
28675echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28676echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28677
28678 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28679 cat >>confdefs.h <<\_ACEOF
28680#define wxSIZE_T_IS_ULONG 1
28681_ACEOF
28682
28683 fi
28684fi
28685
28686ac_ext=c
28687ac_cpp='$CPP $CPPFLAGS'
28688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28690ac_compiler_gnu=$ac_cv_c_compiler_gnu
28691
28692
28693
28694echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28695echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28696if test "${wx_cv_struct_pw_gecos+set}" = set; then
28697 echo $ECHO_N "(cached) $ECHO_C" >&6
28698else
28699
28700 cat >conftest.$ac_ext <<_ACEOF
28701/* confdefs.h. */
28702_ACEOF
28703cat confdefs.h >>conftest.$ac_ext
28704cat >>conftest.$ac_ext <<_ACEOF
28705/* end confdefs.h. */
28706#include <pwd.h>
28707int
28708main ()
28709{
28710
28711 char *p;
28712 struct passwd *pw;
28713 p = pw->pw_gecos;
28714
28715 ;
28716 return 0;
28717}
28718_ACEOF
28719rm -f conftest.$ac_objext
28720if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28721 (eval $ac_compile) 2>conftest.er1
28722 ac_status=$?
28723 grep -v '^ *+' conftest.er1 >conftest.err
28724 rm -f conftest.er1
28725 cat conftest.err >&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } &&
28728 { ac_try='test -z "$ac_c_werror_flag"
28729 || test ! -s conftest.err'
28730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28731 (eval $ac_try) 2>&5
28732 ac_status=$?
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); }; } &&
28735 { ac_try='test -s conftest.$ac_objext'
28736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28737 (eval $ac_try) 2>&5
28738 ac_status=$?
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); }; }; then
28741
28742 wx_cv_struct_pw_gecos=yes
28743
28744else
28745 echo "$as_me: failed program was:" >&5
28746sed 's/^/| /' conftest.$ac_ext >&5
28747
28748
28749 wx_cv_struct_pw_gecos=no
28750
28751
28752fi
28753rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28754
28755
28756fi
28757echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28758echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28759
28760if test "$wx_cv_struct_pw_gecos" = "yes"; then
28761 cat >>confdefs.h <<\_ACEOF
28762#define HAVE_PW_GECOS 1
28763_ACEOF
28764
28765fi
28766
28767
28768if test "$wx_cv_sizeof_wchar_t" != "0"; then
28769 cat >>confdefs.h <<\_ACEOF
28770#define wxUSE_WCHAR_T 1
28771_ACEOF
28772
28773
28774 WCSLEN_FOUND=0
28775 WCHAR_LINK=
28776
28777for ac_func in wcslen
28778do
28779as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28780echo "$as_me:$LINENO: checking for $ac_func" >&5
28781echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28782if eval "test \"\${$as_ac_var+set}\" = set"; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28784else
28785 cat >conftest.$ac_ext <<_ACEOF
28786/* confdefs.h. */
28787_ACEOF
28788cat confdefs.h >>conftest.$ac_ext
28789cat >>conftest.$ac_ext <<_ACEOF
28790/* end confdefs.h. */
28791/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28793#define $ac_func innocuous_$ac_func
28794
28795/* System header to define __stub macros and hopefully few prototypes,
28796 which can conflict with char $ac_func (); below.
28797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28798 <limits.h> exists even on freestanding compilers. */
28799
28800#ifdef __STDC__
28801# include <limits.h>
28802#else
28803# include <assert.h>
28804#endif
28805
28806#undef $ac_func
28807
28808/* Override any gcc2 internal prototype to avoid an error. */
28809#ifdef __cplusplus
28810extern "C"
28811{
28812#endif
28813/* We use char because int might match the return type of a gcc2
28814 builtin and then its argument prototype would still apply. */
28815char $ac_func ();
28816/* The GNU C library defines this for functions which it implements
28817 to always fail with ENOSYS. Some functions are actually named
28818 something starting with __ and the normal name is an alias. */
28819#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28820choke me
28821#else
28822char (*f) () = $ac_func;
28823#endif
28824#ifdef __cplusplus
28825}
28826#endif
28827
28828int
28829main ()
28830{
28831return f != $ac_func;
28832 ;
28833 return 0;
28834}
28835_ACEOF
28836rm -f conftest.$ac_objext conftest$ac_exeext
28837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28838 (eval $ac_link) 2>conftest.er1
28839 ac_status=$?
28840 grep -v '^ *+' conftest.er1 >conftest.err
28841 rm -f conftest.er1
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -z "$ac_c_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28849 ac_status=$?
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try='test -s conftest$ac_exeext'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28855 ac_status=$?
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; }; then
28858 eval "$as_ac_var=yes"
28859else
28860 echo "$as_me: failed program was:" >&5
28861sed 's/^/| /' conftest.$ac_ext >&5
28862
28863eval "$as_ac_var=no"
28864fi
28865rm -f conftest.err conftest.$ac_objext \
28866 conftest$ac_exeext conftest.$ac_ext
28867fi
28868echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28869echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28870if test `eval echo '${'$as_ac_var'}'` = yes; then
28871 cat >>confdefs.h <<_ACEOF
28872#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28873_ACEOF
28874 WCSLEN_FOUND=1
28875fi
28876done
28877
28878
28879 if test "$WCSLEN_FOUND" = 0; then
28880 if test "$TOOLKIT" = "MSW"; then
28881 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28882echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28883if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28885else
28886 ac_check_lib_save_LIBS=$LIBS
28887LIBS="-lmsvcrt $LIBS"
28888cat >conftest.$ac_ext <<_ACEOF
28889/* confdefs.h. */
28890_ACEOF
28891cat confdefs.h >>conftest.$ac_ext
28892cat >>conftest.$ac_ext <<_ACEOF
28893/* end confdefs.h. */
28894
28895/* Override any gcc2 internal prototype to avoid an error. */
28896#ifdef __cplusplus
28897extern "C"
28898#endif
28899/* We use char because int might match the return type of a gcc2
28900 builtin and then its argument prototype would still apply. */
28901char wcslen ();
28902int
28903main ()
28904{
28905wcslen ();
28906 ;
28907 return 0;
28908}
28909_ACEOF
28910rm -f conftest.$ac_objext conftest$ac_exeext
28911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28912 (eval $ac_link) 2>conftest.er1
28913 ac_status=$?
28914 grep -v '^ *+' conftest.er1 >conftest.err
28915 rm -f conftest.er1
28916 cat conftest.err >&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try='test -z "$ac_c_werror_flag"
28920 || test ! -s conftest.err'
28921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28922 (eval $ac_try) 2>&5
28923 ac_status=$?
28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925 (exit $ac_status); }; } &&
28926 { ac_try='test -s conftest$ac_exeext'
28927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28928 (eval $ac_try) 2>&5
28929 ac_status=$?
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); }; }; then
28932 ac_cv_lib_msvcrt_wcslen=yes
28933else
28934 echo "$as_me: failed program was:" >&5
28935sed 's/^/| /' conftest.$ac_ext >&5
28936
28937ac_cv_lib_msvcrt_wcslen=no
28938fi
28939rm -f conftest.err conftest.$ac_objext \
28940 conftest$ac_exeext conftest.$ac_ext
28941LIBS=$ac_check_lib_save_LIBS
28942fi
28943echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28944echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28945if test $ac_cv_lib_msvcrt_wcslen = yes; then
28946 WCHAR_OK=1
28947fi
28948
28949 else
28950 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28951echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28952if test "${ac_cv_lib_w_wcslen+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28954else
28955 ac_check_lib_save_LIBS=$LIBS
28956LIBS="-lw $LIBS"
28957cat >conftest.$ac_ext <<_ACEOF
28958/* confdefs.h. */
28959_ACEOF
28960cat confdefs.h >>conftest.$ac_ext
28961cat >>conftest.$ac_ext <<_ACEOF
28962/* end confdefs.h. */
28963
28964/* Override any gcc2 internal prototype to avoid an error. */
28965#ifdef __cplusplus
28966extern "C"
28967#endif
28968/* We use char because int might match the return type of a gcc2
28969 builtin and then its argument prototype would still apply. */
28970char wcslen ();
28971int
28972main ()
28973{
28974wcslen ();
28975 ;
28976 return 0;
28977}
28978_ACEOF
28979rm -f conftest.$ac_objext conftest$ac_exeext
28980if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28981 (eval $ac_link) 2>conftest.er1
28982 ac_status=$?
28983 grep -v '^ *+' conftest.er1 >conftest.err
28984 rm -f conftest.er1
28985 cat conftest.err >&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try='test -z "$ac_c_werror_flag"
28989 || test ! -s conftest.err'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28992 ac_status=$?
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; } &&
28995 { ac_try='test -s conftest$ac_exeext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28998 ac_status=$?
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 ac_cv_lib_w_wcslen=yes
29002else
29003 echo "$as_me: failed program was:" >&5
29004sed 's/^/| /' conftest.$ac_ext >&5
29005
29006ac_cv_lib_w_wcslen=no
29007fi
29008rm -f conftest.err conftest.$ac_objext \
29009 conftest$ac_exeext conftest.$ac_ext
29010LIBS=$ac_check_lib_save_LIBS
29011fi
29012echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29013echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29014if test $ac_cv_lib_w_wcslen = yes; then
29015
29016 WCHAR_LINK=" -lw"
29017 WCSLEN_FOUND=1
29018
29019fi
29020
29021 fi
29022 fi
29023
29024 if test "$WCSLEN_FOUND" = 1; then
29025 cat >>confdefs.h <<\_ACEOF
29026#define HAVE_WCSLEN 1
29027_ACEOF
29028
29029 fi
29030
29031
29032for ac_func in wcsrtombs
29033do
29034as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29035echo "$as_me:$LINENO: checking for $ac_func" >&5
29036echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29037if eval "test \"\${$as_ac_var+set}\" = set"; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29039else
29040 cat >conftest.$ac_ext <<_ACEOF
29041/* confdefs.h. */
29042_ACEOF
29043cat confdefs.h >>conftest.$ac_ext
29044cat >>conftest.$ac_ext <<_ACEOF
29045/* end confdefs.h. */
29046/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29048#define $ac_func innocuous_$ac_func
29049
29050/* System header to define __stub macros and hopefully few prototypes,
29051 which can conflict with char $ac_func (); below.
29052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053 <limits.h> exists even on freestanding compilers. */
29054
29055#ifdef __STDC__
29056# include <limits.h>
29057#else
29058# include <assert.h>
29059#endif
29060
29061#undef $ac_func
29062
29063/* Override any gcc2 internal prototype to avoid an error. */
29064#ifdef __cplusplus
29065extern "C"
29066{
29067#endif
29068/* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29070char $ac_func ();
29071/* The GNU C library defines this for functions which it implements
29072 to always fail with ENOSYS. Some functions are actually named
29073 something starting with __ and the normal name is an alias. */
29074#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29075choke me
29076#else
29077char (*f) () = $ac_func;
29078#endif
29079#ifdef __cplusplus
29080}
29081#endif
29082
29083int
29084main ()
29085{
29086return f != $ac_func;
29087 ;
29088 return 0;
29089}
29090_ACEOF
29091rm -f conftest.$ac_objext conftest$ac_exeext
29092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093 (eval $ac_link) 2>conftest.er1
29094 ac_status=$?
29095 grep -v '^ *+' conftest.er1 >conftest.err
29096 rm -f conftest.er1
29097 cat conftest.err >&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } &&
29100 { ac_try='test -z "$ac_c_werror_flag"
29101 || test ! -s conftest.err'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; } &&
29107 { ac_try='test -s conftest$ac_exeext'
29108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109 (eval $ac_try) 2>&5
29110 ac_status=$?
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113 eval "$as_ac_var=yes"
29114else
29115 echo "$as_me: failed program was:" >&5
29116sed 's/^/| /' conftest.$ac_ext >&5
29117
29118eval "$as_ac_var=no"
29119fi
29120rm -f conftest.err conftest.$ac_objext \
29121 conftest$ac_exeext conftest.$ac_ext
29122fi
29123echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29124echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29125if test `eval echo '${'$as_ac_var'}'` = yes; then
29126 cat >>confdefs.h <<_ACEOF
29127#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128_ACEOF
29129
29130fi
29131done
29132
29133else
29134 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29135echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29136fi
29137
29138
29139
29140ac_ext=cc
29141ac_cpp='$CXXCPP $CPPFLAGS'
29142ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29143ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29144ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29145
29146
29147
29148for ac_func in vsnprintf
29149do
29150as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29151echo "$as_me:$LINENO: checking for $ac_func" >&5
29152echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29153if eval "test \"\${$as_ac_var+set}\" = set"; then
29154 echo $ECHO_N "(cached) $ECHO_C" >&6
29155else
29156 cat >conftest.$ac_ext <<_ACEOF
29157/* confdefs.h. */
29158_ACEOF
29159cat confdefs.h >>conftest.$ac_ext
29160cat >>conftest.$ac_ext <<_ACEOF
29161/* end confdefs.h. */
29162/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29164#define $ac_func innocuous_$ac_func
29165
29166/* System header to define __stub macros and hopefully few prototypes,
29167 which can conflict with char $ac_func (); below.
29168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29169 <limits.h> exists even on freestanding compilers. */
29170
29171#ifdef __STDC__
29172# include <limits.h>
29173#else
29174# include <assert.h>
29175#endif
29176
29177#undef $ac_func
29178
29179/* Override any gcc2 internal prototype to avoid an error. */
29180#ifdef __cplusplus
29181extern "C"
29182{
29183#endif
29184/* We use char because int might match the return type of a gcc2
29185 builtin and then its argument prototype would still apply. */
29186char $ac_func ();
29187/* The GNU C library defines this for functions which it implements
29188 to always fail with ENOSYS. Some functions are actually named
29189 something starting with __ and the normal name is an alias. */
29190#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29191choke me
29192#else
29193char (*f) () = $ac_func;
29194#endif
29195#ifdef __cplusplus
29196}
29197#endif
29198
29199int
29200main ()
29201{
29202return f != $ac_func;
29203 ;
29204 return 0;
29205}
29206_ACEOF
29207rm -f conftest.$ac_objext conftest$ac_exeext
29208if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29210 ac_status=$?
29211 grep -v '^ *+' conftest.er1 >conftest.err
29212 rm -f conftest.er1
29213 cat conftest.err >&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try='test -z "$ac_cxx_werror_flag"
29217 || test ! -s conftest.err'
29218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219 (eval $ac_try) 2>&5
29220 ac_status=$?
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); }; } &&
29223 { ac_try='test -s conftest$ac_exeext'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29226 ac_status=$?
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; }; then
29229 eval "$as_ac_var=yes"
29230else
29231 echo "$as_me: failed program was:" >&5
29232sed 's/^/| /' conftest.$ac_ext >&5
29233
29234eval "$as_ac_var=no"
29235fi
29236rm -f conftest.err conftest.$ac_objext \
29237 conftest$ac_exeext conftest.$ac_ext
29238fi
29239echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29240echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29241if test `eval echo '${'$as_ac_var'}'` = yes; then
29242 cat >>confdefs.h <<_ACEOF
29243#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29244_ACEOF
29245
29246fi
29247done
29248
29249
29250if test "$ac_cv_func_vsnprintf" = "yes"; then
29251 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29252echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29253if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29255else
29256
29257 cat >conftest.$ac_ext <<_ACEOF
29258/* confdefs.h. */
29259_ACEOF
29260cat confdefs.h >>conftest.$ac_ext
29261cat >>conftest.$ac_ext <<_ACEOF
29262/* end confdefs.h. */
29263
29264 #include <stdio.h>
29265 #include <stdarg.h>
29266
29267int
29268main ()
29269{
29270
29271 char *buf;
29272 va_list ap;
29273 vsnprintf(buf, 10u, "%s", ap);
29274
29275 ;
29276 return 0;
29277}
29278_ACEOF
29279rm -f conftest.$ac_objext
29280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29281 (eval $ac_compile) 2>conftest.er1
29282 ac_status=$?
29283 grep -v '^ *+' conftest.er1 >conftest.err
29284 rm -f conftest.er1
29285 cat conftest.err >&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); } &&
29288 { ac_try='test -z "$ac_cxx_werror_flag"
29289 || test ! -s conftest.err'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; } &&
29295 { ac_try='test -s conftest.$ac_objext'
29296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297 (eval $ac_try) 2>&5
29298 ac_status=$?
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); }; }; then
29301 wx_cv_func_vsnprintf_decl=yes
29302else
29303 echo "$as_me: failed program was:" >&5
29304sed 's/^/| /' conftest.$ac_ext >&5
29305
29306wx_cv_func_vsnprintf_decl=no
29307
29308fi
29309rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29310
29311
29312fi
29313echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29314echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29315
29316 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29317 cat >>confdefs.h <<\_ACEOF
29318#define HAVE_VSNPRINTF_DECL 1
29319_ACEOF
29320
29321 fi
29322fi
29323
29324if test "$wxUSE_UNICODE" = yes; then
29325
29326
29327
29328for ac_func in fputwc wprintf vswprintf
29329do
29330as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29331echo "$as_me:$LINENO: checking for $ac_func" >&5
29332echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29333if eval "test \"\${$as_ac_var+set}\" = set"; then
29334 echo $ECHO_N "(cached) $ECHO_C" >&6
29335else
29336 cat >conftest.$ac_ext <<_ACEOF
29337/* confdefs.h. */
29338_ACEOF
29339cat confdefs.h >>conftest.$ac_ext
29340cat >>conftest.$ac_ext <<_ACEOF
29341/* end confdefs.h. */
29342/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29344#define $ac_func innocuous_$ac_func
29345
29346/* System header to define __stub macros and hopefully few prototypes,
29347 which can conflict with char $ac_func (); below.
29348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29349 <limits.h> exists even on freestanding compilers. */
29350
29351#ifdef __STDC__
29352# include <limits.h>
29353#else
29354# include <assert.h>
29355#endif
29356
29357#undef $ac_func
29358
29359/* Override any gcc2 internal prototype to avoid an error. */
29360#ifdef __cplusplus
29361extern "C"
29362{
29363#endif
29364/* We use char because int might match the return type of a gcc2
29365 builtin and then its argument prototype would still apply. */
29366char $ac_func ();
29367/* The GNU C library defines this for functions which it implements
29368 to always fail with ENOSYS. Some functions are actually named
29369 something starting with __ and the normal name is an alias. */
29370#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29371choke me
29372#else
29373char (*f) () = $ac_func;
29374#endif
29375#ifdef __cplusplus
29376}
29377#endif
29378
29379int
29380main ()
29381{
29382return f != $ac_func;
29383 ;
29384 return 0;
29385}
29386_ACEOF
29387rm -f conftest.$ac_objext conftest$ac_exeext
29388if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29389 (eval $ac_link) 2>conftest.er1
29390 ac_status=$?
29391 grep -v '^ *+' conftest.er1 >conftest.err
29392 rm -f conftest.er1
29393 cat conftest.err >&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); } &&
29396 { ac_try='test -z "$ac_cxx_werror_flag"
29397 || test ! -s conftest.err'
29398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29399 (eval $ac_try) 2>&5
29400 ac_status=$?
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; } &&
29403 { ac_try='test -s conftest$ac_exeext'
29404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29405 (eval $ac_try) 2>&5
29406 ac_status=$?
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); }; }; then
29409 eval "$as_ac_var=yes"
29410else
29411 echo "$as_me: failed program was:" >&5
29412sed 's/^/| /' conftest.$ac_ext >&5
29413
29414eval "$as_ac_var=no"
29415fi
29416rm -f conftest.err conftest.$ac_objext \
29417 conftest$ac_exeext conftest.$ac_ext
29418fi
29419echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29420echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29421if test `eval echo '${'$as_ac_var'}'` = yes; then
29422 cat >>confdefs.h <<_ACEOF
29423#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29424_ACEOF
29425
29426fi
29427done
29428
29429
29430 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29431echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29432 cat >conftest.$ac_ext <<_ACEOF
29433/* confdefs.h. */
29434_ACEOF
29435cat confdefs.h >>conftest.$ac_ext
29436cat >>conftest.$ac_ext <<_ACEOF
29437/* end confdefs.h. */
29438#include <wchar.h>
29439int
29440main ()
29441{
29442&_vsnwprintf;
29443 ;
29444 return 0;
29445}
29446_ACEOF
29447rm -f conftest.$ac_objext
29448if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29449 (eval $ac_compile) 2>conftest.er1
29450 ac_status=$?
29451 grep -v '^ *+' conftest.er1 >conftest.err
29452 rm -f conftest.er1
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } &&
29456 { ac_try='test -z "$ac_cxx_werror_flag"
29457 || test ! -s conftest.err'
29458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29459 (eval $ac_try) 2>&5
29460 ac_status=$?
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); }; } &&
29463 { ac_try='test -s conftest.$ac_objext'
29464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29465 (eval $ac_try) 2>&5
29466 ac_status=$?
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; }; then
29469 echo "$as_me:$LINENO: result: yes" >&5
29470echo "${ECHO_T}yes" >&6
29471 cat >>confdefs.h <<\_ACEOF
29472#define HAVE__VSNWPRINTF 1
29473_ACEOF
29474
29475else
29476 echo "$as_me: failed program was:" >&5
29477sed 's/^/| /' conftest.$ac_ext >&5
29478
29479echo "$as_me:$LINENO: result: no" >&5
29480echo "${ECHO_T}no" >&6
29481fi
29482rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29483fi
29484
29485ac_ext=c
29486ac_cpp='$CPP $CPPFLAGS'
29487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29489ac_compiler_gnu=$ac_cv_c_compiler_gnu
29490
29491
29492
29493
29494if test "$TOOLKIT" != "MSW"; then
29495
29496
29497
29498
29499ac_ext=cc
29500ac_cpp='$CXXCPP $CPPFLAGS'
29501ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29502ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29503ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29504
29505
29506
29507
29508# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29509if test "${with_libiconv_prefix+set}" = set; then
29510 withval="$with_libiconv_prefix"
29511
29512 for dir in `echo "$withval" | tr : ' '`; do
29513 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29514 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29515 done
29516
29517fi;
29518
29519 echo "$as_me:$LINENO: checking for iconv" >&5
29520echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29521if test "${am_cv_func_iconv+set}" = set; then
29522 echo $ECHO_N "(cached) $ECHO_C" >&6
29523else
29524
29525 am_cv_func_iconv="no, consider installing GNU libiconv"
29526 am_cv_lib_iconv=no
29527 cat >conftest.$ac_ext <<_ACEOF
29528/* confdefs.h. */
29529_ACEOF
29530cat confdefs.h >>conftest.$ac_ext
29531cat >>conftest.$ac_ext <<_ACEOF
29532/* end confdefs.h. */
29533#include <stdlib.h>
29534#include <iconv.h>
29535int
29536main ()
29537{
29538iconv_t cd = iconv_open("","");
29539 iconv(cd,NULL,NULL,NULL,NULL);
29540 iconv_close(cd);
29541 ;
29542 return 0;
29543}
29544_ACEOF
29545rm -f conftest.$ac_objext conftest$ac_exeext
29546if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 (eval $ac_link) 2>conftest.er1
29548 ac_status=$?
29549 grep -v '^ *+' conftest.er1 >conftest.err
29550 rm -f conftest.er1
29551 cat conftest.err >&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } &&
29554 { ac_try='test -z "$ac_cxx_werror_flag"
29555 || test ! -s conftest.err'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29558 ac_status=$?
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; } &&
29561 { ac_try='test -s conftest$ac_exeext'
29562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29563 (eval $ac_try) 2>&5
29564 ac_status=$?
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); }; }; then
29567 am_cv_func_iconv=yes
29568else
29569 echo "$as_me: failed program was:" >&5
29570sed 's/^/| /' conftest.$ac_ext >&5
29571
29572fi
29573rm -f conftest.err conftest.$ac_objext \
29574 conftest$ac_exeext conftest.$ac_ext
29575 if test "$am_cv_func_iconv" != yes; then
29576 am_save_LIBS="$LIBS"
29577 LIBS="$LIBS -liconv"
29578 cat >conftest.$ac_ext <<_ACEOF
29579/* confdefs.h. */
29580_ACEOF
29581cat confdefs.h >>conftest.$ac_ext
29582cat >>conftest.$ac_ext <<_ACEOF
29583/* end confdefs.h. */
29584#include <stdlib.h>
29585#include <iconv.h>
29586int
29587main ()
29588{
29589iconv_t cd = iconv_open("","");
29590 iconv(cd,NULL,NULL,NULL,NULL);
29591 iconv_close(cd);
29592 ;
29593 return 0;
29594}
29595_ACEOF
29596rm -f conftest.$ac_objext conftest$ac_exeext
29597if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29598 (eval $ac_link) 2>conftest.er1
29599 ac_status=$?
29600 grep -v '^ *+' conftest.er1 >conftest.err
29601 rm -f conftest.er1
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try='test -z "$ac_cxx_werror_flag"
29606 || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29609 ac_status=$?
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 am_cv_lib_iconv=yes
29619 am_cv_func_iconv=yes
29620else
29621 echo "$as_me: failed program was:" >&5
29622sed 's/^/| /' conftest.$ac_ext >&5
29623
29624fi
29625rm -f conftest.err conftest.$ac_objext \
29626 conftest$ac_exeext conftest.$ac_ext
29627 LIBS="$am_save_LIBS"
29628 fi
29629
29630fi
29631echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29632echo "${ECHO_T}$am_cv_func_iconv" >&6
29633 if test "$am_cv_func_iconv" = yes; then
29634
29635cat >>confdefs.h <<\_ACEOF
29636#define HAVE_ICONV 1
29637_ACEOF
29638
29639 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29640echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29641if test "${wx_cv_func_iconv_const+set}" = set; then
29642 echo $ECHO_N "(cached) $ECHO_C" >&6
29643else
29644 cat >conftest.$ac_ext <<_ACEOF
29645/* confdefs.h. */
29646_ACEOF
29647cat confdefs.h >>conftest.$ac_ext
29648cat >>conftest.$ac_ext <<_ACEOF
29649/* end confdefs.h. */
29650
29651#include <stdlib.h>
29652#include <iconv.h>
29653extern
29654#ifdef __cplusplus
29655"C"
29656#endif
29657#if defined(__STDC__) || defined(__cplusplus)
29658size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29659#else
29660size_t iconv();
29661#endif
29662
29663int
29664main ()
29665{
29666
29667 ;
29668 return 0;
29669}
29670_ACEOF
29671rm -f conftest.$ac_objext
29672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29673 (eval $ac_compile) 2>conftest.er1
29674 ac_status=$?
29675 grep -v '^ *+' conftest.er1 >conftest.err
29676 rm -f conftest.er1
29677 cat conftest.err >&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); } &&
29680 { ac_try='test -z "$ac_cxx_werror_flag"
29681 || test ! -s conftest.err'
29682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29683 (eval $ac_try) 2>&5
29684 ac_status=$?
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); }; } &&
29687 { ac_try='test -s conftest.$ac_objext'
29688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29689 (eval $ac_try) 2>&5
29690 ac_status=$?
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); }; }; then
29693 wx_cv_func_iconv_const="no"
29694else
29695 echo "$as_me: failed program was:" >&5
29696sed 's/^/| /' conftest.$ac_ext >&5
29697
29698wx_cv_func_iconv_const="yes"
29699
29700fi
29701rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29702
29703fi
29704echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29705echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29706
29707 iconv_const=
29708 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29709 iconv_const="const"
29710 fi
29711
29712
29713cat >>confdefs.h <<_ACEOF
29714#define ICONV_CONST $iconv_const
29715_ACEOF
29716
29717 fi
29718 LIBICONV=
29719 if test "$am_cv_lib_iconv" = yes; then
29720 LIBICONV="-liconv"
29721 fi
29722
29723
29724LIBS="$LIBICONV $LIBS"
29725ac_ext=c
29726ac_cpp='$CPP $CPPFLAGS'
29727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29729ac_compiler_gnu=$ac_cv_c_compiler_gnu
29730
29731
29732if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29733
29734for ac_func in sigaction
29735do
29736as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29737echo "$as_me:$LINENO: checking for $ac_func" >&5
29738echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29739if eval "test \"\${$as_ac_var+set}\" = set"; then
29740 echo $ECHO_N "(cached) $ECHO_C" >&6
29741else
29742 cat >conftest.$ac_ext <<_ACEOF
29743/* confdefs.h. */
29744_ACEOF
29745cat confdefs.h >>conftest.$ac_ext
29746cat >>conftest.$ac_ext <<_ACEOF
29747/* end confdefs.h. */
29748/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29750#define $ac_func innocuous_$ac_func
29751
29752/* System header to define __stub macros and hopefully few prototypes,
29753 which can conflict with char $ac_func (); below.
29754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29755 <limits.h> exists even on freestanding compilers. */
29756
29757#ifdef __STDC__
29758# include <limits.h>
29759#else
29760# include <assert.h>
29761#endif
29762
29763#undef $ac_func
29764
29765/* Override any gcc2 internal prototype to avoid an error. */
29766#ifdef __cplusplus
29767extern "C"
29768{
29769#endif
29770/* We use char because int might match the return type of a gcc2
29771 builtin and then its argument prototype would still apply. */
29772char $ac_func ();
29773/* The GNU C library defines this for functions which it implements
29774 to always fail with ENOSYS. Some functions are actually named
29775 something starting with __ and the normal name is an alias. */
29776#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29777choke me
29778#else
29779char (*f) () = $ac_func;
29780#endif
29781#ifdef __cplusplus
29782}
29783#endif
29784
29785int
29786main ()
29787{
29788return f != $ac_func;
29789 ;
29790 return 0;
29791}
29792_ACEOF
29793rm -f conftest.$ac_objext conftest$ac_exeext
29794if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29795 (eval $ac_link) 2>conftest.er1
29796 ac_status=$?
29797 grep -v '^ *+' conftest.er1 >conftest.err
29798 rm -f conftest.er1
29799 cat conftest.err >&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } &&
29802 { ac_try='test -z "$ac_c_werror_flag"
29803 || test ! -s conftest.err'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29806 ac_status=$?
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try='test -s conftest$ac_exeext'
29810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29811 (eval $ac_try) 2>&5
29812 ac_status=$?
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; }; then
29815 eval "$as_ac_var=yes"
29816else
29817 echo "$as_me: failed program was:" >&5
29818sed 's/^/| /' conftest.$ac_ext >&5
29819
29820eval "$as_ac_var=no"
29821fi
29822rm -f conftest.err conftest.$ac_objext \
29823 conftest$ac_exeext conftest.$ac_ext
29824fi
29825echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29826echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29827if test `eval echo '${'$as_ac_var'}'` = yes; then
29828 cat >>confdefs.h <<_ACEOF
29829#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29830_ACEOF
29831
29832fi
29833done
29834
29835
29836 if test "$ac_cv_func_sigaction" = "no"; then
29837 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29838echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29839 wxUSE_ON_FATAL_EXCEPTION=no
29840 fi
29841
29842 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29843
29844
29845 ac_ext=cc
29846ac_cpp='$CXXCPP $CPPFLAGS'
29847ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29850
29851
29852 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29853echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29854if test "${wx_cv_type_sa_handler+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29856else
29857
29858 cat >conftest.$ac_ext <<_ACEOF
29859/* confdefs.h. */
29860_ACEOF
29861cat confdefs.h >>conftest.$ac_ext
29862cat >>conftest.$ac_ext <<_ACEOF
29863/* end confdefs.h. */
29864#include <signal.h>
29865int
29866main ()
29867{
29868
29869 extern void testSigHandler(int);
29870
29871 struct sigaction sa;
29872 sa.sa_handler = testSigHandler;
29873
29874 ;
29875 return 0;
29876}
29877_ACEOF
29878rm -f conftest.$ac_objext
29879if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29880 (eval $ac_compile) 2>conftest.er1
29881 ac_status=$?
29882 grep -v '^ *+' conftest.er1 >conftest.err
29883 rm -f conftest.er1
29884 cat conftest.err >&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); } &&
29887 { ac_try='test -z "$ac_cxx_werror_flag"
29888 || test ! -s conftest.err'
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); }; } &&
29894 { ac_try='test -s conftest.$ac_objext'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29897 ac_status=$?
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; }; then
29900
29901 wx_cv_type_sa_handler=int
29902
29903else
29904 echo "$as_me: failed program was:" >&5
29905sed 's/^/| /' conftest.$ac_ext >&5
29906
29907
29908 wx_cv_type_sa_handler=void
29909
29910fi
29911rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29912
29913fi
29914echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29915echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29916
29917 ac_ext=c
29918ac_cpp='$CPP $CPPFLAGS'
29919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29921ac_compiler_gnu=$ac_cv_c_compiler_gnu
29922
29923
29924 cat >>confdefs.h <<_ACEOF
29925#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29926_ACEOF
29927
29928 fi
29929fi
29930
29931
29932
29933for ac_func in mkstemp mktemp
29934do
29935as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29936echo "$as_me:$LINENO: checking for $ac_func" >&5
29937echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29938if eval "test \"\${$as_ac_var+set}\" = set"; then
29939 echo $ECHO_N "(cached) $ECHO_C" >&6
29940else
29941 cat >conftest.$ac_ext <<_ACEOF
29942/* confdefs.h. */
29943_ACEOF
29944cat confdefs.h >>conftest.$ac_ext
29945cat >>conftest.$ac_ext <<_ACEOF
29946/* end confdefs.h. */
29947/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29949#define $ac_func innocuous_$ac_func
29950
29951/* System header to define __stub macros and hopefully few prototypes,
29952 which can conflict with char $ac_func (); below.
29953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29954 <limits.h> exists even on freestanding compilers. */
29955
29956#ifdef __STDC__
29957# include <limits.h>
29958#else
29959# include <assert.h>
29960#endif
29961
29962#undef $ac_func
29963
29964/* Override any gcc2 internal prototype to avoid an error. */
29965#ifdef __cplusplus
29966extern "C"
29967{
29968#endif
29969/* We use char because int might match the return type of a gcc2
29970 builtin and then its argument prototype would still apply. */
29971char $ac_func ();
29972/* The GNU C library defines this for functions which it implements
29973 to always fail with ENOSYS. Some functions are actually named
29974 something starting with __ and the normal name is an alias. */
29975#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29976choke me
29977#else
29978char (*f) () = $ac_func;
29979#endif
29980#ifdef __cplusplus
29981}
29982#endif
29983
29984int
29985main ()
29986{
29987return f != $ac_func;
29988 ;
29989 return 0;
29990}
29991_ACEOF
29992rm -f conftest.$ac_objext conftest$ac_exeext
29993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29994 (eval $ac_link) 2>conftest.er1
29995 ac_status=$?
29996 grep -v '^ *+' conftest.er1 >conftest.err
29997 rm -f conftest.er1
29998 cat conftest.err >&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); } &&
30001 { ac_try='test -z "$ac_c_werror_flag"
30002 || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30005 ac_status=$?
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30011 ac_status=$?
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30014 eval "$as_ac_var=yes"
30015else
30016 echo "$as_me: failed program was:" >&5
30017sed 's/^/| /' conftest.$ac_ext >&5
30018
30019eval "$as_ac_var=no"
30020fi
30021rm -f conftest.err conftest.$ac_objext \
30022 conftest$ac_exeext conftest.$ac_ext
30023fi
30024echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30025echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30026if test `eval echo '${'$as_ac_var'}'` = yes; then
30027 cat >>confdefs.h <<_ACEOF
30028#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30029_ACEOF
30030 break
30031fi
30032done
30033
30034
30035echo "$as_me:$LINENO: checking for statfs" >&5
30036echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30037if test "${wx_cv_func_statfs+set}" = set; then
30038 echo $ECHO_N "(cached) $ECHO_C" >&6
30039else
30040 cat >conftest.$ac_ext <<_ACEOF
30041/* confdefs.h. */
30042_ACEOF
30043cat confdefs.h >>conftest.$ac_ext
30044cat >>conftest.$ac_ext <<_ACEOF
30045/* end confdefs.h. */
30046
30047 #if defined(__BSD__)
30048 #include <sys/param.h>
30049 #include <sys/mount.h>
30050 #else
30051 #include <sys/vfs.h>
30052 #endif
30053
30054int
30055main ()
30056{
30057
30058 long l;
30059 struct statfs fs;
30060 statfs("/", &fs);
30061 l = fs.f_bsize;
30062 l += fs.f_blocks;
30063 l += fs.f_bavail;
30064
30065 ;
30066 return 0;
30067}
30068_ACEOF
30069rm -f conftest.$ac_objext
30070if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30071 (eval $ac_compile) 2>conftest.er1
30072 ac_status=$?
30073 grep -v '^ *+' conftest.er1 >conftest.err
30074 rm -f conftest.er1
30075 cat conftest.err >&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); } &&
30078 { ac_try='test -z "$ac_c_werror_flag"
30079 || test ! -s conftest.err'
30080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30081 (eval $ac_try) 2>&5
30082 ac_status=$?
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); }; } &&
30085 { ac_try='test -s conftest.$ac_objext'
30086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30087 (eval $ac_try) 2>&5
30088 ac_status=$?
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); }; }; then
30091
30092 wx_cv_func_statfs=yes
30093
30094else
30095 echo "$as_me: failed program was:" >&5
30096sed 's/^/| /' conftest.$ac_ext >&5
30097
30098
30099 wx_cv_func_statfs=no
30100
30101
30102fi
30103rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30104
30105fi
30106echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30107echo "${ECHO_T}$wx_cv_func_statfs" >&6
30108
30109if test "$wx_cv_func_statfs" = "yes"; then
30110 wx_cv_type_statvfs_t="struct statfs"
30111 cat >>confdefs.h <<\_ACEOF
30112#define HAVE_STATFS 1
30113_ACEOF
30114
30115else
30116 echo "$as_me:$LINENO: checking for statvfs" >&5
30117echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30118if test "${wx_cv_func_statvfs+set}" = set; then
30119 echo $ECHO_N "(cached) $ECHO_C" >&6
30120else
30121 cat >conftest.$ac_ext <<_ACEOF
30122/* confdefs.h. */
30123_ACEOF
30124cat confdefs.h >>conftest.$ac_ext
30125cat >>conftest.$ac_ext <<_ACEOF
30126/* end confdefs.h. */
30127
30128 #include <stddef.h>
30129 #include <sys/statvfs.h>
30130
30131int
30132main ()
30133{
30134
30135 statvfs("/", NULL);
30136
30137 ;
30138 return 0;
30139}
30140_ACEOF
30141rm -f conftest.$ac_objext
30142if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30143 (eval $ac_compile) 2>conftest.er1
30144 ac_status=$?
30145 grep -v '^ *+' conftest.er1 >conftest.err
30146 rm -f conftest.er1
30147 cat conftest.err >&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } &&
30150 { ac_try='test -z "$ac_c_werror_flag"
30151 || test ! -s conftest.err'
30152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30153 (eval $ac_try) 2>&5
30154 ac_status=$?
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); }; } &&
30157 { ac_try='test -s conftest.$ac_objext'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30160 ac_status=$?
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; }; then
30163 wx_cv_func_statvfs=yes
30164else
30165 echo "$as_me: failed program was:" >&5
30166sed 's/^/| /' conftest.$ac_ext >&5
30167
30168wx_cv_func_statvfs=no
30169
30170fi
30171rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30172
30173fi
30174echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30175echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30176
30177 if test "$wx_cv_func_statvfs" = "yes"; then
30178
30179
30180 ac_ext=cc
30181ac_cpp='$CXXCPP $CPPFLAGS'
30182ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30185
30186
30187 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30188echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30189if test "${wx_cv_type_statvfs_t+set}" = set; then
30190 echo $ECHO_N "(cached) $ECHO_C" >&6
30191else
30192 cat >conftest.$ac_ext <<_ACEOF
30193/* confdefs.h. */
30194_ACEOF
30195cat confdefs.h >>conftest.$ac_ext
30196cat >>conftest.$ac_ext <<_ACEOF
30197/* end confdefs.h. */
30198
30199 #include <sys/statvfs.h>
30200
30201int
30202main ()
30203{
30204
30205 long l;
30206 statvfs_t fs;
30207 statvfs("/", &fs);
30208 l = fs.f_bsize;
30209 l += fs.f_blocks;
30210 l += fs.f_bavail;
30211
30212 ;
30213 return 0;
30214}
30215_ACEOF
30216rm -f conftest.$ac_objext
30217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30218 (eval $ac_compile) 2>conftest.er1
30219 ac_status=$?
30220 grep -v '^ *+' conftest.er1 >conftest.err
30221 rm -f conftest.er1
30222 cat conftest.err >&5
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); } &&
30225 { ac_try='test -z "$ac_cxx_werror_flag"
30226 || test ! -s conftest.err'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30229 ac_status=$?
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; } &&
30232 { ac_try='test -s conftest.$ac_objext'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30235 ac_status=$?
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; }; then
30238 wx_cv_type_statvfs_t=statvfs_t
30239else
30240 echo "$as_me: failed program was:" >&5
30241sed 's/^/| /' conftest.$ac_ext >&5
30242
30243
30244 cat >conftest.$ac_ext <<_ACEOF
30245/* confdefs.h. */
30246_ACEOF
30247cat confdefs.h >>conftest.$ac_ext
30248cat >>conftest.$ac_ext <<_ACEOF
30249/* end confdefs.h. */
30250
30251 #include <sys/statvfs.h>
30252
30253int
30254main ()
30255{
30256
30257 long l;
30258 struct statvfs fs;
30259 statvfs("/", &fs);
30260 l = fs.f_bsize;
30261 l += fs.f_blocks;
30262 l += fs.f_bavail;
30263
30264 ;
30265 return 0;
30266}
30267_ACEOF
30268rm -f conftest.$ac_objext
30269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30270 (eval $ac_compile) 2>conftest.er1
30271 ac_status=$?
30272 grep -v '^ *+' conftest.er1 >conftest.err
30273 rm -f conftest.er1
30274 cat conftest.err >&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); } &&
30277 { ac_try='test -z "$ac_cxx_werror_flag"
30278 || test ! -s conftest.err'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30281 ac_status=$?
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; } &&
30284 { ac_try='test -s conftest.$ac_objext'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30287 ac_status=$?
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; }; then
30290 wx_cv_type_statvfs_t="struct statvfs"
30291else
30292 echo "$as_me: failed program was:" >&5
30293sed 's/^/| /' conftest.$ac_ext >&5
30294
30295wx_cv_type_statvfs_t="unknown"
30296
30297fi
30298rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30299
30300
30301fi
30302rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30303
30304fi
30305echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30306echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30307
30308 ac_ext=c
30309ac_cpp='$CPP $CPPFLAGS'
30310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312ac_compiler_gnu=$ac_cv_c_compiler_gnu
30313
30314
30315 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30316 cat >>confdefs.h <<\_ACEOF
30317#define HAVE_STATVFS 1
30318_ACEOF
30319
30320 fi
30321 else
30322 wx_cv_type_statvfs_t="unknown"
30323 fi
30324fi
30325
30326if test "$wx_cv_type_statvfs_t" != "unknown"; then
30327 cat >>confdefs.h <<_ACEOF
30328#define WX_STATFS_T $wx_cv_type_statvfs_t
30329_ACEOF
30330
30331else
30332 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30333echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30334fi
30335
30336if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30337
30338
30339for ac_func in fcntl flock
30340do
30341as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30342echo "$as_me:$LINENO: checking for $ac_func" >&5
30343echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30344if eval "test \"\${$as_ac_var+set}\" = set"; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30346else
30347 cat >conftest.$ac_ext <<_ACEOF
30348/* confdefs.h. */
30349_ACEOF
30350cat confdefs.h >>conftest.$ac_ext
30351cat >>conftest.$ac_ext <<_ACEOF
30352/* end confdefs.h. */
30353/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30355#define $ac_func innocuous_$ac_func
30356
30357/* System header to define __stub macros and hopefully few prototypes,
30358 which can conflict with char $ac_func (); below.
30359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30360 <limits.h> exists even on freestanding compilers. */
30361
30362#ifdef __STDC__
30363# include <limits.h>
30364#else
30365# include <assert.h>
30366#endif
30367
30368#undef $ac_func
30369
30370/* Override any gcc2 internal prototype to avoid an error. */
30371#ifdef __cplusplus
30372extern "C"
30373{
30374#endif
30375/* We use char because int might match the return type of a gcc2
30376 builtin and then its argument prototype would still apply. */
30377char $ac_func ();
30378/* The GNU C library defines this for functions which it implements
30379 to always fail with ENOSYS. Some functions are actually named
30380 something starting with __ and the normal name is an alias. */
30381#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30382choke me
30383#else
30384char (*f) () = $ac_func;
30385#endif
30386#ifdef __cplusplus
30387}
30388#endif
30389
30390int
30391main ()
30392{
30393return f != $ac_func;
30394 ;
30395 return 0;
30396}
30397_ACEOF
30398rm -f conftest.$ac_objext conftest$ac_exeext
30399if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30400 (eval $ac_link) 2>conftest.er1
30401 ac_status=$?
30402 grep -v '^ *+' conftest.er1 >conftest.err
30403 rm -f conftest.er1
30404 cat conftest.err >&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } &&
30407 { ac_try='test -z "$ac_c_werror_flag"
30408 || test ! -s conftest.err'
30409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410 (eval $ac_try) 2>&5
30411 ac_status=$?
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); }; } &&
30414 { ac_try='test -s conftest$ac_exeext'
30415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30416 (eval $ac_try) 2>&5
30417 ac_status=$?
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); }; }; then
30420 eval "$as_ac_var=yes"
30421else
30422 echo "$as_me: failed program was:" >&5
30423sed 's/^/| /' conftest.$ac_ext >&5
30424
30425eval "$as_ac_var=no"
30426fi
30427rm -f conftest.err conftest.$ac_objext \
30428 conftest$ac_exeext conftest.$ac_ext
30429fi
30430echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30431echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30432if test `eval echo '${'$as_ac_var'}'` = yes; then
30433 cat >>confdefs.h <<_ACEOF
30434#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30435_ACEOF
30436 break
30437fi
30438done
30439
30440
30441 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30442 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30443echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30444 wxUSE_SNGLINST_CHECKER=no
30445 fi
30446fi
30447
30448
30449for ac_func in timegm
30450do
30451as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30452echo "$as_me:$LINENO: checking for $ac_func" >&5
30453echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30454if eval "test \"\${$as_ac_var+set}\" = set"; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30456else
30457 cat >conftest.$ac_ext <<_ACEOF
30458/* confdefs.h. */
30459_ACEOF
30460cat confdefs.h >>conftest.$ac_ext
30461cat >>conftest.$ac_ext <<_ACEOF
30462/* end confdefs.h. */
30463/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30465#define $ac_func innocuous_$ac_func
30466
30467/* System header to define __stub macros and hopefully few prototypes,
30468 which can conflict with char $ac_func (); below.
30469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30470 <limits.h> exists even on freestanding compilers. */
30471
30472#ifdef __STDC__
30473# include <limits.h>
30474#else
30475# include <assert.h>
30476#endif
30477
30478#undef $ac_func
30479
30480/* Override any gcc2 internal prototype to avoid an error. */
30481#ifdef __cplusplus
30482extern "C"
30483{
30484#endif
30485/* We use char because int might match the return type of a gcc2
30486 builtin and then its argument prototype would still apply. */
30487char $ac_func ();
30488/* The GNU C library defines this for functions which it implements
30489 to always fail with ENOSYS. Some functions are actually named
30490 something starting with __ and the normal name is an alias. */
30491#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30492choke me
30493#else
30494char (*f) () = $ac_func;
30495#endif
30496#ifdef __cplusplus
30497}
30498#endif
30499
30500int
30501main ()
30502{
30503return f != $ac_func;
30504 ;
30505 return 0;
30506}
30507_ACEOF
30508rm -f conftest.$ac_objext conftest$ac_exeext
30509if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30510 (eval $ac_link) 2>conftest.er1
30511 ac_status=$?
30512 grep -v '^ *+' conftest.er1 >conftest.err
30513 rm -f conftest.er1
30514 cat conftest.err >&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); } &&
30517 { ac_try='test -z "$ac_c_werror_flag"
30518 || test ! -s conftest.err'
30519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30520 (eval $ac_try) 2>&5
30521 ac_status=$?
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); }; } &&
30524 { ac_try='test -s conftest$ac_exeext'
30525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30526 (eval $ac_try) 2>&5
30527 ac_status=$?
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); }; }; then
30530 eval "$as_ac_var=yes"
30531else
30532 echo "$as_me: failed program was:" >&5
30533sed 's/^/| /' conftest.$ac_ext >&5
30534
30535eval "$as_ac_var=no"
30536fi
30537rm -f conftest.err conftest.$ac_objext \
30538 conftest$ac_exeext conftest.$ac_ext
30539fi
30540echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30541echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30542if test `eval echo '${'$as_ac_var'}'` = yes; then
30543 cat >>confdefs.h <<_ACEOF
30544#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30545_ACEOF
30546
30547fi
30548done
30549
30550
30551
30552
30553for ac_func in putenv setenv
30554do
30555as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30556echo "$as_me:$LINENO: checking for $ac_func" >&5
30557echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30558if eval "test \"\${$as_ac_var+set}\" = set"; then
30559 echo $ECHO_N "(cached) $ECHO_C" >&6
30560else
30561 cat >conftest.$ac_ext <<_ACEOF
30562/* confdefs.h. */
30563_ACEOF
30564cat confdefs.h >>conftest.$ac_ext
30565cat >>conftest.$ac_ext <<_ACEOF
30566/* end confdefs.h. */
30567/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30569#define $ac_func innocuous_$ac_func
30570
30571/* System header to define __stub macros and hopefully few prototypes,
30572 which can conflict with char $ac_func (); below.
30573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30574 <limits.h> exists even on freestanding compilers. */
30575
30576#ifdef __STDC__
30577# include <limits.h>
30578#else
30579# include <assert.h>
30580#endif
30581
30582#undef $ac_func
30583
30584/* Override any gcc2 internal prototype to avoid an error. */
30585#ifdef __cplusplus
30586extern "C"
30587{
30588#endif
30589/* We use char because int might match the return type of a gcc2
30590 builtin and then its argument prototype would still apply. */
30591char $ac_func ();
30592/* The GNU C library defines this for functions which it implements
30593 to always fail with ENOSYS. Some functions are actually named
30594 something starting with __ and the normal name is an alias. */
30595#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30596choke me
30597#else
30598char (*f) () = $ac_func;
30599#endif
30600#ifdef __cplusplus
30601}
30602#endif
30603
30604int
30605main ()
30606{
30607return f != $ac_func;
30608 ;
30609 return 0;
30610}
30611_ACEOF
30612rm -f conftest.$ac_objext conftest$ac_exeext
30613if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30614 (eval $ac_link) 2>conftest.er1
30615 ac_status=$?
30616 grep -v '^ *+' conftest.er1 >conftest.err
30617 rm -f conftest.er1
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } &&
30621 { ac_try='test -z "$ac_c_werror_flag"
30622 || test ! -s conftest.err'
30623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30624 (eval $ac_try) 2>&5
30625 ac_status=$?
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); }; } &&
30628 { ac_try='test -s conftest$ac_exeext'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30631 ac_status=$?
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; }; then
30634 eval "$as_ac_var=yes"
30635else
30636 echo "$as_me: failed program was:" >&5
30637sed 's/^/| /' conftest.$ac_ext >&5
30638
30639eval "$as_ac_var=no"
30640fi
30641rm -f conftest.err conftest.$ac_objext \
30642 conftest$ac_exeext conftest.$ac_ext
30643fi
30644echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30645echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30646if test `eval echo '${'$as_ac_var'}'` = yes; then
30647 cat >>confdefs.h <<_ACEOF
30648#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30649_ACEOF
30650 break
30651fi
30652done
30653
30654
30655HAVE_SOME_SLEEP_FUNC=0
30656if test "$USE_BEOS" = 1; then
30657 cat >>confdefs.h <<\_ACEOF
30658#define HAVE_SLEEP 1
30659_ACEOF
30660
30661 HAVE_SOME_SLEEP_FUNC=1
30662fi
30663
30664if test "$USE_DARWIN" = 1; then
30665 cat >>confdefs.h <<\_ACEOF
30666#define HAVE_USLEEP 1
30667_ACEOF
30668
30669 HAVE_SOME_SLEEP_FUNC=1
30670fi
30671
30672if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30673 POSIX4_LINK=
30674
30675for ac_func in nanosleep
30676do
30677as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30678echo "$as_me:$LINENO: checking for $ac_func" >&5
30679echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30680if eval "test \"\${$as_ac_var+set}\" = set"; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30682else
30683 cat >conftest.$ac_ext <<_ACEOF
30684/* confdefs.h. */
30685_ACEOF
30686cat confdefs.h >>conftest.$ac_ext
30687cat >>conftest.$ac_ext <<_ACEOF
30688/* end confdefs.h. */
30689/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30691#define $ac_func innocuous_$ac_func
30692
30693/* System header to define __stub macros and hopefully few prototypes,
30694 which can conflict with char $ac_func (); below.
30695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30696 <limits.h> exists even on freestanding compilers. */
30697
30698#ifdef __STDC__
30699# include <limits.h>
30700#else
30701# include <assert.h>
30702#endif
30703
30704#undef $ac_func
30705
30706/* Override any gcc2 internal prototype to avoid an error. */
30707#ifdef __cplusplus
30708extern "C"
30709{
30710#endif
30711/* We use char because int might match the return type of a gcc2
30712 builtin and then its argument prototype would still apply. */
30713char $ac_func ();
30714/* The GNU C library defines this for functions which it implements
30715 to always fail with ENOSYS. Some functions are actually named
30716 something starting with __ and the normal name is an alias. */
30717#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30718choke me
30719#else
30720char (*f) () = $ac_func;
30721#endif
30722#ifdef __cplusplus
30723}
30724#endif
30725
30726int
30727main ()
30728{
30729return f != $ac_func;
30730 ;
30731 return 0;
30732}
30733_ACEOF
30734rm -f conftest.$ac_objext conftest$ac_exeext
30735if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30736 (eval $ac_link) 2>conftest.er1
30737 ac_status=$?
30738 grep -v '^ *+' conftest.er1 >conftest.err
30739 rm -f conftest.er1
30740 cat conftest.err >&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); } &&
30743 { ac_try='test -z "$ac_c_werror_flag"
30744 || test ! -s conftest.err'
30745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30746 (eval $ac_try) 2>&5
30747 ac_status=$?
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); }; } &&
30750 { ac_try='test -s conftest$ac_exeext'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30753 ac_status=$?
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; }; then
30756 eval "$as_ac_var=yes"
30757else
30758 echo "$as_me: failed program was:" >&5
30759sed 's/^/| /' conftest.$ac_ext >&5
30760
30761eval "$as_ac_var=no"
30762fi
30763rm -f conftest.err conftest.$ac_objext \
30764 conftest$ac_exeext conftest.$ac_ext
30765fi
30766echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30767echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30768if test `eval echo '${'$as_ac_var'}'` = yes; then
30769 cat >>confdefs.h <<_ACEOF
30770#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30771_ACEOF
30772 cat >>confdefs.h <<\_ACEOF
30773#define HAVE_NANOSLEEP 1
30774_ACEOF
30775
30776else
30777
30778 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30779echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30780if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30781 echo $ECHO_N "(cached) $ECHO_C" >&6
30782else
30783 ac_check_lib_save_LIBS=$LIBS
30784LIBS="-lposix4 $LIBS"
30785cat >conftest.$ac_ext <<_ACEOF
30786/* confdefs.h. */
30787_ACEOF
30788cat confdefs.h >>conftest.$ac_ext
30789cat >>conftest.$ac_ext <<_ACEOF
30790/* end confdefs.h. */
30791
30792/* Override any gcc2 internal prototype to avoid an error. */
30793#ifdef __cplusplus
30794extern "C"
30795#endif
30796/* We use char because int might match the return type of a gcc2
30797 builtin and then its argument prototype would still apply. */
30798char nanosleep ();
30799int
30800main ()
30801{
30802nanosleep ();
30803 ;
30804 return 0;
30805}
30806_ACEOF
30807rm -f conftest.$ac_objext conftest$ac_exeext
30808if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30809 (eval $ac_link) 2>conftest.er1
30810 ac_status=$?
30811 grep -v '^ *+' conftest.er1 >conftest.err
30812 rm -f conftest.er1
30813 cat conftest.err >&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); } &&
30816 { ac_try='test -z "$ac_c_werror_flag"
30817 || test ! -s conftest.err'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; } &&
30823 { ac_try='test -s conftest$ac_exeext'
30824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30825 (eval $ac_try) 2>&5
30826 ac_status=$?
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; }; then
30829 ac_cv_lib_posix4_nanosleep=yes
30830else
30831 echo "$as_me: failed program was:" >&5
30832sed 's/^/| /' conftest.$ac_ext >&5
30833
30834ac_cv_lib_posix4_nanosleep=no
30835fi
30836rm -f conftest.err conftest.$ac_objext \
30837 conftest$ac_exeext conftest.$ac_ext
30838LIBS=$ac_check_lib_save_LIBS
30839fi
30840echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30841echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30842if test $ac_cv_lib_posix4_nanosleep = yes; then
30843
30844 cat >>confdefs.h <<\_ACEOF
30845#define HAVE_NANOSLEEP 1
30846_ACEOF
30847
30848 POSIX4_LINK=" -lposix4"
30849
30850else
30851
30852
30853for ac_func in usleep
30854do
30855as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30856echo "$as_me:$LINENO: checking for $ac_func" >&5
30857echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30858if eval "test \"\${$as_ac_var+set}\" = set"; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30860else
30861 cat >conftest.$ac_ext <<_ACEOF
30862/* confdefs.h. */
30863_ACEOF
30864cat confdefs.h >>conftest.$ac_ext
30865cat >>conftest.$ac_ext <<_ACEOF
30866/* end confdefs.h. */
30867/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30869#define $ac_func innocuous_$ac_func
30870
30871/* System header to define __stub macros and hopefully few prototypes,
30872 which can conflict with char $ac_func (); below.
30873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30874 <limits.h> exists even on freestanding compilers. */
30875
30876#ifdef __STDC__
30877# include <limits.h>
30878#else
30879# include <assert.h>
30880#endif
30881
30882#undef $ac_func
30883
30884/* Override any gcc2 internal prototype to avoid an error. */
30885#ifdef __cplusplus
30886extern "C"
30887{
30888#endif
30889/* We use char because int might match the return type of a gcc2
30890 builtin and then its argument prototype would still apply. */
30891char $ac_func ();
30892/* The GNU C library defines this for functions which it implements
30893 to always fail with ENOSYS. Some functions are actually named
30894 something starting with __ and the normal name is an alias. */
30895#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30896choke me
30897#else
30898char (*f) () = $ac_func;
30899#endif
30900#ifdef __cplusplus
30901}
30902#endif
30903
30904int
30905main ()
30906{
30907return f != $ac_func;
30908 ;
30909 return 0;
30910}
30911_ACEOF
30912rm -f conftest.$ac_objext conftest$ac_exeext
30913if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30914 (eval $ac_link) 2>conftest.er1
30915 ac_status=$?
30916 grep -v '^ *+' conftest.er1 >conftest.err
30917 rm -f conftest.er1
30918 cat conftest.err >&5
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); } &&
30921 { ac_try='test -z "$ac_c_werror_flag"
30922 || test ! -s conftest.err'
30923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30924 (eval $ac_try) 2>&5
30925 ac_status=$?
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); }; } &&
30928 { ac_try='test -s conftest$ac_exeext'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; }; then
30934 eval "$as_ac_var=yes"
30935else
30936 echo "$as_me: failed program was:" >&5
30937sed 's/^/| /' conftest.$ac_ext >&5
30938
30939eval "$as_ac_var=no"
30940fi
30941rm -f conftest.err conftest.$ac_objext \
30942 conftest$ac_exeext conftest.$ac_ext
30943fi
30944echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30945echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30946if test `eval echo '${'$as_ac_var'}'` = yes; then
30947 cat >>confdefs.h <<_ACEOF
30948#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30949_ACEOF
30950 cat >>confdefs.h <<\_ACEOF
30951#define HAVE_USLEEP 1
30952_ACEOF
30953
30954else
30955 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30956echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30957
30958fi
30959done
30960
30961
30962
30963fi
30964
30965
30966
30967fi
30968done
30969
30970fi
30971
30972
30973
30974for ac_func in uname gethostname
30975do
30976as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30977echo "$as_me:$LINENO: checking for $ac_func" >&5
30978echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30979if eval "test \"\${$as_ac_var+set}\" = set"; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30981else
30982 cat >conftest.$ac_ext <<_ACEOF
30983/* confdefs.h. */
30984_ACEOF
30985cat confdefs.h >>conftest.$ac_ext
30986cat >>conftest.$ac_ext <<_ACEOF
30987/* end confdefs.h. */
30988/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30990#define $ac_func innocuous_$ac_func
30991
30992/* System header to define __stub macros and hopefully few prototypes,
30993 which can conflict with char $ac_func (); below.
30994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30995 <limits.h> exists even on freestanding compilers. */
30996
30997#ifdef __STDC__
30998# include <limits.h>
30999#else
31000# include <assert.h>
31001#endif
31002
31003#undef $ac_func
31004
31005/* Override any gcc2 internal prototype to avoid an error. */
31006#ifdef __cplusplus
31007extern "C"
31008{
31009#endif
31010/* We use char because int might match the return type of a gcc2
31011 builtin and then its argument prototype would still apply. */
31012char $ac_func ();
31013/* The GNU C library defines this for functions which it implements
31014 to always fail with ENOSYS. Some functions are actually named
31015 something starting with __ and the normal name is an alias. */
31016#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31017choke me
31018#else
31019char (*f) () = $ac_func;
31020#endif
31021#ifdef __cplusplus
31022}
31023#endif
31024
31025int
31026main ()
31027{
31028return f != $ac_func;
31029 ;
31030 return 0;
31031}
31032_ACEOF
31033rm -f conftest.$ac_objext conftest$ac_exeext
31034if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31035 (eval $ac_link) 2>conftest.er1
31036 ac_status=$?
31037 grep -v '^ *+' conftest.er1 >conftest.err
31038 rm -f conftest.er1
31039 cat conftest.err >&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } &&
31042 { ac_try='test -z "$ac_c_werror_flag"
31043 || test ! -s conftest.err'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; } &&
31049 { ac_try='test -s conftest$ac_exeext'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31052 ac_status=$?
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; }; then
31055 eval "$as_ac_var=yes"
31056else
31057 echo "$as_me: failed program was:" >&5
31058sed 's/^/| /' conftest.$ac_ext >&5
31059
31060eval "$as_ac_var=no"
31061fi
31062rm -f conftest.err conftest.$ac_objext \
31063 conftest$ac_exeext conftest.$ac_ext
31064fi
31065echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31066echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31067if test `eval echo '${'$as_ac_var'}'` = yes; then
31068 cat >>confdefs.h <<_ACEOF
31069#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31070_ACEOF
31071 break
31072fi
31073done
31074
31075
31076
31077
31078ac_ext=cc
31079ac_cpp='$CXXCPP $CPPFLAGS'
31080ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31083
31084
31085
31086for ac_func in strtok_r
31087do
31088as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31089echo "$as_me:$LINENO: checking for $ac_func" >&5
31090echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31091if eval "test \"\${$as_ac_var+set}\" = set"; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31093else
31094 cat >conftest.$ac_ext <<_ACEOF
31095/* confdefs.h. */
31096_ACEOF
31097cat confdefs.h >>conftest.$ac_ext
31098cat >>conftest.$ac_ext <<_ACEOF
31099/* end confdefs.h. */
31100/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31102#define $ac_func innocuous_$ac_func
31103
31104/* System header to define __stub macros and hopefully few prototypes,
31105 which can conflict with char $ac_func (); below.
31106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31107 <limits.h> exists even on freestanding compilers. */
31108
31109#ifdef __STDC__
31110# include <limits.h>
31111#else
31112# include <assert.h>
31113#endif
31114
31115#undef $ac_func
31116
31117/* Override any gcc2 internal prototype to avoid an error. */
31118#ifdef __cplusplus
31119extern "C"
31120{
31121#endif
31122/* We use char because int might match the return type of a gcc2
31123 builtin and then its argument prototype would still apply. */
31124char $ac_func ();
31125/* The GNU C library defines this for functions which it implements
31126 to always fail with ENOSYS. Some functions are actually named
31127 something starting with __ and the normal name is an alias. */
31128#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31129choke me
31130#else
31131char (*f) () = $ac_func;
31132#endif
31133#ifdef __cplusplus
31134}
31135#endif
31136
31137int
31138main ()
31139{
31140return f != $ac_func;
31141 ;
31142 return 0;
31143}
31144_ACEOF
31145rm -f conftest.$ac_objext conftest$ac_exeext
31146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>conftest.er1
31148 ac_status=$?
31149 grep -v '^ *+' conftest.er1 >conftest.err
31150 rm -f conftest.er1
31151 cat conftest.err >&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try='test -z "$ac_cxx_werror_flag"
31155 || test ! -s conftest.err'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31158 ac_status=$?
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; } &&
31161 { ac_try='test -s conftest$ac_exeext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31164 ac_status=$?
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 eval "$as_ac_var=yes"
31168else
31169 echo "$as_me: failed program was:" >&5
31170sed 's/^/| /' conftest.$ac_ext >&5
31171
31172eval "$as_ac_var=no"
31173fi
31174rm -f conftest.err conftest.$ac_objext \
31175 conftest$ac_exeext conftest.$ac_ext
31176fi
31177echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31178echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31179if test `eval echo '${'$as_ac_var'}'` = yes; then
31180 cat >>confdefs.h <<_ACEOF
31181#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31182_ACEOF
31183
31184fi
31185done
31186
31187
31188ac_ext=c
31189ac_cpp='$CPP $CPPFLAGS'
31190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31192ac_compiler_gnu=$ac_cv_c_compiler_gnu
31193
31194
31195INET_LINK=
31196
31197for ac_func in inet_addr
31198do
31199as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31200echo "$as_me:$LINENO: checking for $ac_func" >&5
31201echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31202if eval "test \"\${$as_ac_var+set}\" = set"; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31204else
31205 cat >conftest.$ac_ext <<_ACEOF
31206/* confdefs.h. */
31207_ACEOF
31208cat confdefs.h >>conftest.$ac_ext
31209cat >>conftest.$ac_ext <<_ACEOF
31210/* end confdefs.h. */
31211/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31213#define $ac_func innocuous_$ac_func
31214
31215/* System header to define __stub macros and hopefully few prototypes,
31216 which can conflict with char $ac_func (); below.
31217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31218 <limits.h> exists even on freestanding compilers. */
31219
31220#ifdef __STDC__
31221# include <limits.h>
31222#else
31223# include <assert.h>
31224#endif
31225
31226#undef $ac_func
31227
31228/* Override any gcc2 internal prototype to avoid an error. */
31229#ifdef __cplusplus
31230extern "C"
31231{
31232#endif
31233/* We use char because int might match the return type of a gcc2
31234 builtin and then its argument prototype would still apply. */
31235char $ac_func ();
31236/* The GNU C library defines this for functions which it implements
31237 to always fail with ENOSYS. Some functions are actually named
31238 something starting with __ and the normal name is an alias. */
31239#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31240choke me
31241#else
31242char (*f) () = $ac_func;
31243#endif
31244#ifdef __cplusplus
31245}
31246#endif
31247
31248int
31249main ()
31250{
31251return f != $ac_func;
31252 ;
31253 return 0;
31254}
31255_ACEOF
31256rm -f conftest.$ac_objext conftest$ac_exeext
31257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31258 (eval $ac_link) 2>conftest.er1
31259 ac_status=$?
31260 grep -v '^ *+' conftest.er1 >conftest.err
31261 rm -f conftest.er1
31262 cat conftest.err >&5
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); } &&
31265 { ac_try='test -z "$ac_c_werror_flag"
31266 || test ! -s conftest.err'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31269 ac_status=$?
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; } &&
31272 { ac_try='test -s conftest$ac_exeext'
31273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31274 (eval $ac_try) 2>&5
31275 ac_status=$?
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); }; }; then
31278 eval "$as_ac_var=yes"
31279else
31280 echo "$as_me: failed program was:" >&5
31281sed 's/^/| /' conftest.$ac_ext >&5
31282
31283eval "$as_ac_var=no"
31284fi
31285rm -f conftest.err conftest.$ac_objext \
31286 conftest$ac_exeext conftest.$ac_ext
31287fi
31288echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31289echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31290if test `eval echo '${'$as_ac_var'}'` = yes; then
31291 cat >>confdefs.h <<_ACEOF
31292#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31293_ACEOF
31294 cat >>confdefs.h <<\_ACEOF
31295#define HAVE_INET_ADDR 1
31296_ACEOF
31297
31298else
31299
31300 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31301echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31302if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31303 echo $ECHO_N "(cached) $ECHO_C" >&6
31304else
31305 ac_check_lib_save_LIBS=$LIBS
31306LIBS="-lnsl $LIBS"
31307cat >conftest.$ac_ext <<_ACEOF
31308/* confdefs.h. */
31309_ACEOF
31310cat confdefs.h >>conftest.$ac_ext
31311cat >>conftest.$ac_ext <<_ACEOF
31312/* end confdefs.h. */
31313
31314/* Override any gcc2 internal prototype to avoid an error. */
31315#ifdef __cplusplus
31316extern "C"
31317#endif
31318/* We use char because int might match the return type of a gcc2
31319 builtin and then its argument prototype would still apply. */
31320char inet_addr ();
31321int
31322main ()
31323{
31324inet_addr ();
31325 ;
31326 return 0;
31327}
31328_ACEOF
31329rm -f conftest.$ac_objext conftest$ac_exeext
31330if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31331 (eval $ac_link) 2>conftest.er1
31332 ac_status=$?
31333 grep -v '^ *+' conftest.er1 >conftest.err
31334 rm -f conftest.er1
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } &&
31338 { ac_try='test -z "$ac_c_werror_flag"
31339 || test ! -s conftest.err'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31342 ac_status=$?
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; } &&
31345 { ac_try='test -s conftest$ac_exeext'
31346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347 (eval $ac_try) 2>&5
31348 ac_status=$?
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; }; then
31351 ac_cv_lib_nsl_inet_addr=yes
31352else
31353 echo "$as_me: failed program was:" >&5
31354sed 's/^/| /' conftest.$ac_ext >&5
31355
31356ac_cv_lib_nsl_inet_addr=no
31357fi
31358rm -f conftest.err conftest.$ac_objext \
31359 conftest$ac_exeext conftest.$ac_ext
31360LIBS=$ac_check_lib_save_LIBS
31361fi
31362echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31363echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31364if test $ac_cv_lib_nsl_inet_addr = yes; then
31365 INET_LINK="nsl"
31366else
31367
31368 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31369echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31370if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31371 echo $ECHO_N "(cached) $ECHO_C" >&6
31372else
31373 ac_check_lib_save_LIBS=$LIBS
31374LIBS="-lresolv $LIBS"
31375cat >conftest.$ac_ext <<_ACEOF
31376/* confdefs.h. */
31377_ACEOF
31378cat confdefs.h >>conftest.$ac_ext
31379cat >>conftest.$ac_ext <<_ACEOF
31380/* end confdefs.h. */
31381
31382/* Override any gcc2 internal prototype to avoid an error. */
31383#ifdef __cplusplus
31384extern "C"
31385#endif
31386/* We use char because int might match the return type of a gcc2
31387 builtin and then its argument prototype would still apply. */
31388char inet_addr ();
31389int
31390main ()
31391{
31392inet_addr ();
31393 ;
31394 return 0;
31395}
31396_ACEOF
31397rm -f conftest.$ac_objext conftest$ac_exeext
31398if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31399 (eval $ac_link) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try='test -z "$ac_c_werror_flag"
31407 || test ! -s conftest.err'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31410 ac_status=$?
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; } &&
31413 { ac_try='test -s conftest$ac_exeext'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31416 ac_status=$?
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; }; then
31419 ac_cv_lib_resolv_inet_addr=yes
31420else
31421 echo "$as_me: failed program was:" >&5
31422sed 's/^/| /' conftest.$ac_ext >&5
31423
31424ac_cv_lib_resolv_inet_addr=no
31425fi
31426rm -f conftest.err conftest.$ac_objext \
31427 conftest$ac_exeext conftest.$ac_ext
31428LIBS=$ac_check_lib_save_LIBS
31429fi
31430echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31431echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31432if test $ac_cv_lib_resolv_inet_addr = yes; then
31433 INET_LINK="resolv"
31434else
31435
31436 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31437echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31438if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31439 echo $ECHO_N "(cached) $ECHO_C" >&6
31440else
31441 ac_check_lib_save_LIBS=$LIBS
31442LIBS="-lsocket $LIBS"
31443cat >conftest.$ac_ext <<_ACEOF
31444/* confdefs.h. */
31445_ACEOF
31446cat confdefs.h >>conftest.$ac_ext
31447cat >>conftest.$ac_ext <<_ACEOF
31448/* end confdefs.h. */
31449
31450/* Override any gcc2 internal prototype to avoid an error. */
31451#ifdef __cplusplus
31452extern "C"
31453#endif
31454/* We use char because int might match the return type of a gcc2
31455 builtin and then its argument prototype would still apply. */
31456char inet_addr ();
31457int
31458main ()
31459{
31460inet_addr ();
31461 ;
31462 return 0;
31463}
31464_ACEOF
31465rm -f conftest.$ac_objext conftest$ac_exeext
31466if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31467 (eval $ac_link) 2>conftest.er1
31468 ac_status=$?
31469 grep -v '^ *+' conftest.er1 >conftest.err
31470 rm -f conftest.er1
31471 cat conftest.err >&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try='test -z "$ac_c_werror_flag"
31475 || test ! -s conftest.err'
31476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31477 (eval $ac_try) 2>&5
31478 ac_status=$?
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); }; } &&
31481 { ac_try='test -s conftest$ac_exeext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31484 ac_status=$?
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 ac_cv_lib_socket_inet_addr=yes
31488else
31489 echo "$as_me: failed program was:" >&5
31490sed 's/^/| /' conftest.$ac_ext >&5
31491
31492ac_cv_lib_socket_inet_addr=no
31493fi
31494rm -f conftest.err conftest.$ac_objext \
31495 conftest$ac_exeext conftest.$ac_ext
31496LIBS=$ac_check_lib_save_LIBS
31497fi
31498echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31499echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31500if test $ac_cv_lib_socket_inet_addr = yes; then
31501 INET_LINK="socket"
31502
31503fi
31504
31505
31506
31507fi
31508
31509
31510
31511fi
31512
31513
31514
31515fi
31516done
31517
31518
31519
31520for ac_func in inet_aton
31521do
31522as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31523echo "$as_me:$LINENO: checking for $ac_func" >&5
31524echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31525if eval "test \"\${$as_ac_var+set}\" = set"; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31527else
31528 cat >conftest.$ac_ext <<_ACEOF
31529/* confdefs.h. */
31530_ACEOF
31531cat confdefs.h >>conftest.$ac_ext
31532cat >>conftest.$ac_ext <<_ACEOF
31533/* end confdefs.h. */
31534/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31536#define $ac_func innocuous_$ac_func
31537
31538/* System header to define __stub macros and hopefully few prototypes,
31539 which can conflict with char $ac_func (); below.
31540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31541 <limits.h> exists even on freestanding compilers. */
31542
31543#ifdef __STDC__
31544# include <limits.h>
31545#else
31546# include <assert.h>
31547#endif
31548
31549#undef $ac_func
31550
31551/* Override any gcc2 internal prototype to avoid an error. */
31552#ifdef __cplusplus
31553extern "C"
31554{
31555#endif
31556/* We use char because int might match the return type of a gcc2
31557 builtin and then its argument prototype would still apply. */
31558char $ac_func ();
31559/* The GNU C library defines this for functions which it implements
31560 to always fail with ENOSYS. Some functions are actually named
31561 something starting with __ and the normal name is an alias. */
31562#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31563choke me
31564#else
31565char (*f) () = $ac_func;
31566#endif
31567#ifdef __cplusplus
31568}
31569#endif
31570
31571int
31572main ()
31573{
31574return f != $ac_func;
31575 ;
31576 return 0;
31577}
31578_ACEOF
31579rm -f conftest.$ac_objext conftest$ac_exeext
31580if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31581 (eval $ac_link) 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } &&
31588 { ac_try='test -z "$ac_c_werror_flag"
31589 || test ! -s conftest.err'
31590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 (eval $ac_try) 2>&5
31592 ac_status=$?
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); }; } &&
31595 { ac_try='test -s conftest$ac_exeext'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31598 ac_status=$?
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; }; then
31601 eval "$as_ac_var=yes"
31602else
31603 echo "$as_me: failed program was:" >&5
31604sed 's/^/| /' conftest.$ac_ext >&5
31605
31606eval "$as_ac_var=no"
31607fi
31608rm -f conftest.err conftest.$ac_objext \
31609 conftest$ac_exeext conftest.$ac_ext
31610fi
31611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31612echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31613if test `eval echo '${'$as_ac_var'}'` = yes; then
31614 cat >>confdefs.h <<_ACEOF
31615#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31616_ACEOF
31617 cat >>confdefs.h <<\_ACEOF
31618#define HAVE_INET_ATON 1
31619_ACEOF
31620
31621else
31622
31623 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31624echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31625echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31626if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31627 echo $ECHO_N "(cached) $ECHO_C" >&6
31628else
31629 ac_check_lib_save_LIBS=$LIBS
31630LIBS="-l$INET_LINK $LIBS"
31631cat >conftest.$ac_ext <<_ACEOF
31632/* confdefs.h. */
31633_ACEOF
31634cat confdefs.h >>conftest.$ac_ext
31635cat >>conftest.$ac_ext <<_ACEOF
31636/* end confdefs.h. */
31637
31638/* Override any gcc2 internal prototype to avoid an error. */
31639#ifdef __cplusplus
31640extern "C"
31641#endif
31642/* We use char because int might match the return type of a gcc2
31643 builtin and then its argument prototype would still apply. */
31644char inet_aton ();
31645int
31646main ()
31647{
31648inet_aton ();
31649 ;
31650 return 0;
31651}
31652_ACEOF
31653rm -f conftest.$ac_objext conftest$ac_exeext
31654if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655 (eval $ac_link) 2>conftest.er1
31656 ac_status=$?
31657 grep -v '^ *+' conftest.er1 >conftest.err
31658 rm -f conftest.er1
31659 cat conftest.err >&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -z "$ac_c_werror_flag"
31663 || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31666 ac_status=$?
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try='test -s conftest$ac_exeext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31672 ac_status=$?
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 eval "$as_ac_Lib=yes"
31676else
31677 echo "$as_me: failed program was:" >&5
31678sed 's/^/| /' conftest.$ac_ext >&5
31679
31680eval "$as_ac_Lib=no"
31681fi
31682rm -f conftest.err conftest.$ac_objext \
31683 conftest$ac_exeext conftest.$ac_ext
31684LIBS=$ac_check_lib_save_LIBS
31685fi
31686echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31687echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31688if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31689 cat >>confdefs.h <<\_ACEOF
31690#define HAVE_INET_ATON 1
31691_ACEOF
31692
31693fi
31694
31695
31696fi
31697done
31698
31699
31700if test "x$INET_LINK" != "x"; then
31701 cat >>confdefs.h <<\_ACEOF
31702#define HAVE_INET_ADDR 1
31703_ACEOF
31704
31705 INET_LINK=" -l$INET_LINK"
31706fi
31707
31708fi
31709
31710
31711
31712EXTRALIBS_ESD=
31713echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31714echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31715if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31717else
31718 ac_check_lib_save_LIBS=$LIBS
31719LIBS="-lesd $LIBS"
31720cat >conftest.$ac_ext <<_ACEOF
31721/* confdefs.h. */
31722_ACEOF
31723cat confdefs.h >>conftest.$ac_ext
31724cat >>conftest.$ac_ext <<_ACEOF
31725/* end confdefs.h. */
31726
31727/* Override any gcc2 internal prototype to avoid an error. */
31728#ifdef __cplusplus
31729extern "C"
31730#endif
31731/* We use char because int might match the return type of a gcc2
31732 builtin and then its argument prototype would still apply. */
31733char esd_close ();
31734int
31735main ()
31736{
31737esd_close ();
31738 ;
31739 return 0;
31740}
31741_ACEOF
31742rm -f conftest.$ac_objext conftest$ac_exeext
31743if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31744 (eval $ac_link) 2>conftest.er1
31745 ac_status=$?
31746 grep -v '^ *+' conftest.er1 >conftest.err
31747 rm -f conftest.er1
31748 cat conftest.err >&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } &&
31751 { ac_try='test -z "$ac_c_werror_flag"
31752 || test ! -s conftest.err'
31753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31754 (eval $ac_try) 2>&5
31755 ac_status=$?
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); }; } &&
31758 { ac_try='test -s conftest$ac_exeext'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31761 ac_status=$?
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; }; then
31764 ac_cv_lib_esd_esd_close=yes
31765else
31766 echo "$as_me: failed program was:" >&5
31767sed 's/^/| /' conftest.$ac_ext >&5
31768
31769ac_cv_lib_esd_esd_close=no
31770fi
31771rm -f conftest.err conftest.$ac_objext \
31772 conftest$ac_exeext conftest.$ac_ext
31773LIBS=$ac_check_lib_save_LIBS
31774fi
31775echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31776echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31777if test $ac_cv_lib_esd_esd_close = yes; then
31778
31779
31780for ac_header in esd.h
31781do
31782as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31783if eval "test \"\${$as_ac_Header+set}\" = set"; then
31784 echo "$as_me:$LINENO: checking for $ac_header" >&5
31785echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31786if eval "test \"\${$as_ac_Header+set}\" = set"; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31788fi
31789echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31790echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31791else
31792 # Is the header compilable?
31793echo "$as_me:$LINENO: checking $ac_header usability" >&5
31794echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31795cat >conftest.$ac_ext <<_ACEOF
31796/* confdefs.h. */
31797_ACEOF
31798cat confdefs.h >>conftest.$ac_ext
31799cat >>conftest.$ac_ext <<_ACEOF
31800/* end confdefs.h. */
31801$ac_includes_default
31802#include <$ac_header>
31803_ACEOF
31804rm -f conftest.$ac_objext
31805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31806 (eval $ac_compile) 2>conftest.er1
31807 ac_status=$?
31808 grep -v '^ *+' conftest.er1 >conftest.err
31809 rm -f conftest.er1
31810 cat conftest.err >&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); } &&
31813 { ac_try='test -z "$ac_c_werror_flag"
31814 || test ! -s conftest.err'
31815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31816 (eval $ac_try) 2>&5
31817 ac_status=$?
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); }; } &&
31820 { ac_try='test -s conftest.$ac_objext'
31821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822 (eval $ac_try) 2>&5
31823 ac_status=$?
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); }; }; then
31826 ac_header_compiler=yes
31827else
31828 echo "$as_me: failed program was:" >&5
31829sed 's/^/| /' conftest.$ac_ext >&5
31830
31831ac_header_compiler=no
31832fi
31833rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31834echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31835echo "${ECHO_T}$ac_header_compiler" >&6
31836
31837# Is the header present?
31838echo "$as_me:$LINENO: checking $ac_header presence" >&5
31839echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31840cat >conftest.$ac_ext <<_ACEOF
31841/* confdefs.h. */
31842_ACEOF
31843cat confdefs.h >>conftest.$ac_ext
31844cat >>conftest.$ac_ext <<_ACEOF
31845/* end confdefs.h. */
31846#include <$ac_header>
31847_ACEOF
31848if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31850 ac_status=$?
31851 grep -v '^ *+' conftest.er1 >conftest.err
31852 rm -f conftest.er1
31853 cat conftest.err >&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); } >/dev/null; then
31856 if test -s conftest.err; then
31857 ac_cpp_err=$ac_c_preproc_warn_flag
31858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31859 else
31860 ac_cpp_err=
31861 fi
31862else
31863 ac_cpp_err=yes
31864fi
31865if test -z "$ac_cpp_err"; then
31866 ac_header_preproc=yes
31867else
31868 echo "$as_me: failed program was:" >&5
31869sed 's/^/| /' conftest.$ac_ext >&5
31870
31871 ac_header_preproc=no
31872fi
31873rm -f conftest.err conftest.$ac_ext
31874echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31875echo "${ECHO_T}$ac_header_preproc" >&6
31876
31877# So? What about this header?
31878case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31879 yes:no: )
31880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31881echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31883echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31884 ac_header_preproc=yes
31885 ;;
31886 no:yes:* )
31887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31888echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31890echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31892echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31894echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31896echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31898echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31899 (
31900 cat <<\_ASBOX
31901## ----------------------------------------- ##
31902## Report this to wx-dev@lists.wxwindows.org ##
31903## ----------------------------------------- ##
31904_ASBOX
31905 ) |
31906 sed "s/^/$as_me: WARNING: /" >&2
31907 ;;
31908esac
31909echo "$as_me:$LINENO: checking for $ac_header" >&5
31910echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31911if eval "test \"\${$as_ac_Header+set}\" = set"; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31913else
31914 eval "$as_ac_Header=\$ac_header_preproc"
31915fi
31916echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31917echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31918
31919fi
31920if test `eval echo '${'$as_ac_Header'}'` = yes; then
31921 cat >>confdefs.h <<_ACEOF
31922#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31923_ACEOF
31924
31925 EXTRALIBS_ESD="-lesd"
31926
31927fi
31928
31929done
31930
31931
31932fi
31933
31934
31935
31936echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31937echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31938cat >conftest.$ac_ext <<_ACEOF
31939/* confdefs.h. */
31940_ACEOF
31941cat confdefs.h >>conftest.$ac_ext
31942cat >>conftest.$ac_ext <<_ACEOF
31943/* end confdefs.h. */
31944#ifdef __linux__
31945 #include <linux/cdrom.h>
31946 #else
31947 /* For Solaris */
31948 #include <sys/cdio.h>
31949 #endif
31950
31951int
31952main ()
31953{
31954struct cdrom_tocentry entry, old_entry;
31955 ;
31956 return 0;
31957}
31958_ACEOF
31959rm -f conftest.$ac_objext
31960if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31961 (eval $ac_compile) 2>conftest.er1
31962 ac_status=$?
31963 grep -v '^ *+' conftest.er1 >conftest.err
31964 rm -f conftest.er1
31965 cat conftest.err >&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } &&
31968 { ac_try='test -z "$ac_c_werror_flag"
31969 || test ! -s conftest.err'
31970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31971 (eval $ac_try) 2>&5
31972 ac_status=$?
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); }; } &&
31975 { ac_try='test -s conftest.$ac_objext'
31976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31977 (eval $ac_try) 2>&5
31978 ac_status=$?
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); }; }; then
31981 echo "$as_me:$LINENO: result: yes" >&5
31982echo "${ECHO_T}yes" >&6
31983 cat >>confdefs.h <<\_ACEOF
31984#define HAVE_KNOWN_CDROM_INTERFACE 1
31985_ACEOF
31986
31987else
31988 echo "$as_me: failed program was:" >&5
31989sed 's/^/| /' conftest.$ac_ext >&5
31990
31991echo "$as_me:$LINENO: result: no" >&5
31992echo "${ECHO_T}no" >&6
31993fi
31994rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31995
31996
31997cat >confcache <<\_ACEOF
31998# This file is a shell script that caches the results of configure
31999# tests run on this system so they can be shared between configure
32000# scripts and configure runs, see configure's option --config-cache.
32001# It is not useful on other systems. If it contains results you don't
32002# want to keep, you may remove or edit it.
32003#
32004# config.status only pays attention to the cache file if you give it
32005# the --recheck option to rerun configure.
32006#
32007# `ac_cv_env_foo' variables (set or unset) will be overridden when
32008# loading this file, other *unset* `ac_cv_foo' will be assigned the
32009# following values.
32010
32011_ACEOF
32012
32013# The following way of writing the cache mishandles newlines in values,
32014# but we know of no workaround that is simple, portable, and efficient.
32015# So, don't put newlines in cache variables' values.
32016# Ultrix sh set writes to stderr and can't be redirected directly,
32017# and sets the high bit in the cache file unless we assign to the vars.
32018{
32019 (set) 2>&1 |
32020 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32021 *ac_space=\ *)
32022 # `set' does not quote correctly, so add quotes (double-quote
32023 # substitution turns \\\\ into \\, and sed turns \\ into \).
32024 sed -n \
32025 "s/'/'\\\\''/g;
32026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32027 ;;
32028 *)
32029 # `set' quotes correctly as required by POSIX, so do not add quotes.
32030 sed -n \
32031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32032 ;;
32033 esac;
32034} |
32035 sed '
32036 t clear
32037 : clear
32038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32039 t end
32040 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32041 : end' >>confcache
32042if diff $cache_file confcache >/dev/null 2>&1; then :; else
32043 if test -w $cache_file; then
32044 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32045 cat confcache >$cache_file
32046 else
32047 echo "not updating unwritable cache $cache_file"
32048 fi
32049fi
32050rm -f confcache
32051
32052
32053CPP_MT_FLAG=
32054if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32055
32056
32057 THREADS_LINK=
32058 THREADS_CFLAGS=
32059
32060 if test "$wxUSE_THREADS" = "yes" ; then
32061 if test "$USE_BEOS" = 1; then
32062 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32063echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32064 wxUSE_THREADS="no"
32065 fi
32066 fi
32067
32068 if test "$wxUSE_THREADS" = "yes" ; then
32069
32070
32071 THREAD_OPTS="-pthread"
32072 case "${host}" in
32073 *-*-solaris2* | *-*-sunos4* )
32074 if test "x$GCC" = "xyes"; then
32075 THREAD_OPTS="-pthreads $THREAD_OPTS"
32076 else
32077 THREAD_OPTS="-mt $THREAD_OPTS"
32078 fi
32079 ;;
32080 *-*-freebsd*)
32081 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32082 ;;
32083 *-*-darwin* | *-*-cygwin* )
32084 THREAD_OPTS=""
32085 ;;
32086 *-*-aix*)
32087 THREAD_OPTS="pthreads"
32088 ;;
32089 *-hp-hpux* )
32090 if test "x$GCC" != "xyes"; then
32091 THREAD_OPTS=""
32092 fi
32093 ;;
32094
32095 *-*-irix* )
32096 if test "x$GCC" = "xyes"; then
32097 THREAD_OPTS=""
32098 fi
32099 ;;
32100
32101 *-*-*UnixWare*)
32102 if test "x$GCC" != "xyes"; then
32103 THREAD_OPTS="-Ethread"
32104 fi
32105 ;;
32106 esac
32107
32108 THREAD_OPTS="$THREAD_OPTS pthread none"
32109
32110 THREADS_OK=no
32111 for flag in $THREAD_OPTS; do
32112 case $flag in
32113 none)
32114 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32115echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32116 ;;
32117
32118 -*)
32119 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32120echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32121 THREADS_CFLAGS="$flag"
32122 ;;
32123
32124 *)
32125 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32126echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32127 THREADS_LINK="-l$flag"
32128 ;;
32129 esac
32130
32131 save_LIBS="$LIBS"
32132 save_CFLAGS="$CFLAGS"
32133 LIBS="$THREADS_LINK $LIBS"
32134 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32135
32136 cat >conftest.$ac_ext <<_ACEOF
32137/* confdefs.h. */
32138_ACEOF
32139cat confdefs.h >>conftest.$ac_ext
32140cat >>conftest.$ac_ext <<_ACEOF
32141/* end confdefs.h. */
32142#include <pthread.h>
32143int
32144main ()
32145{
32146pthread_create(0,0,0,0);
32147 ;
32148 return 0;
32149}
32150_ACEOF
32151rm -f conftest.$ac_objext conftest$ac_exeext
32152if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32153 (eval $ac_link) 2>conftest.er1
32154 ac_status=$?
32155 grep -v '^ *+' conftest.er1 >conftest.err
32156 rm -f conftest.er1
32157 cat conftest.err >&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } &&
32160 { ac_try='test -z "$ac_c_werror_flag"
32161 || test ! -s conftest.err'
32162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32163 (eval $ac_try) 2>&5
32164 ac_status=$?
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); }; } &&
32167 { ac_try='test -s conftest$ac_exeext'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; }; then
32173 THREADS_OK=yes
32174else
32175 echo "$as_me: failed program was:" >&5
32176sed 's/^/| /' conftest.$ac_ext >&5
32177
32178fi
32179rm -f conftest.err conftest.$ac_objext \
32180 conftest$ac_exeext conftest.$ac_ext
32181
32182 LIBS="$save_LIBS"
32183 CFLAGS="$save_CFLAGS"
32184
32185 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32186echo "${ECHO_T}$THREADS_OK" >&6
32187 if test "x$THREADS_OK" = "xyes"; then
32188 break;
32189 fi
32190
32191 THREADS_LINK=""
32192 THREADS_CFLAGS=""
32193 done
32194
32195 if test "x$THREADS_OK" != "xyes"; then
32196 wxUSE_THREADS=no
32197 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32198echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32199 else
32200 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32201 LIBS="$THREADS_LINK $LIBS"
32202
32203 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32204echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32205 flag=no
32206 case "${host}" in
32207 *-aix*)
32208 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32209 flag="-D_THREAD_SAFE"
32210 ;;
32211 *-freebsd*)
32212 flag="-D_THREAD_SAFE"
32213 ;;
32214 *-hp-hpux* )
32215 flag="-D_REENTRANT"
32216 if test "x$GCC" != "xyes"; then
32217 flag="$flag -D_RWSTD_MULTI_THREAD"
32218 fi
32219 ;;
32220 *solaris* | alpha*-osf*)
32221 flag="-D_REENTRANT"
32222 ;;
32223 esac
32224 echo "$as_me:$LINENO: result: ${flag}" >&5
32225echo "${ECHO_T}${flag}" >&6
32226 if test "x$flag" != xno; then
32227 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32228 fi
32229
32230 if test "x$THREADS_CFLAGS" != "x"; then
32231 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32232 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32233 fi
32234 fi
32235 fi
32236
32237 if test "$wxUSE_THREADS" = "yes" ; then
32238
32239for ac_func in thr_setconcurrency
32240do
32241as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32242echo "$as_me:$LINENO: checking for $ac_func" >&5
32243echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32244if eval "test \"\${$as_ac_var+set}\" = set"; then
32245 echo $ECHO_N "(cached) $ECHO_C" >&6
32246else
32247 cat >conftest.$ac_ext <<_ACEOF
32248/* confdefs.h. */
32249_ACEOF
32250cat confdefs.h >>conftest.$ac_ext
32251cat >>conftest.$ac_ext <<_ACEOF
32252/* end confdefs.h. */
32253/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32255#define $ac_func innocuous_$ac_func
32256
32257/* System header to define __stub macros and hopefully few prototypes,
32258 which can conflict with char $ac_func (); below.
32259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32260 <limits.h> exists even on freestanding compilers. */
32261
32262#ifdef __STDC__
32263# include <limits.h>
32264#else
32265# include <assert.h>
32266#endif
32267
32268#undef $ac_func
32269
32270/* Override any gcc2 internal prototype to avoid an error. */
32271#ifdef __cplusplus
32272extern "C"
32273{
32274#endif
32275/* We use char because int might match the return type of a gcc2
32276 builtin and then its argument prototype would still apply. */
32277char $ac_func ();
32278/* The GNU C library defines this for functions which it implements
32279 to always fail with ENOSYS. Some functions are actually named
32280 something starting with __ and the normal name is an alias. */
32281#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32282choke me
32283#else
32284char (*f) () = $ac_func;
32285#endif
32286#ifdef __cplusplus
32287}
32288#endif
32289
32290int
32291main ()
32292{
32293return f != $ac_func;
32294 ;
32295 return 0;
32296}
32297_ACEOF
32298rm -f conftest.$ac_objext conftest$ac_exeext
32299if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32300 (eval $ac_link) 2>conftest.er1
32301 ac_status=$?
32302 grep -v '^ *+' conftest.er1 >conftest.err
32303 rm -f conftest.er1
32304 cat conftest.err >&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } &&
32307 { ac_try='test -z "$ac_c_werror_flag"
32308 || test ! -s conftest.err'
32309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32310 (eval $ac_try) 2>&5
32311 ac_status=$?
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); }; } &&
32314 { ac_try='test -s conftest$ac_exeext'
32315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 (eval $ac_try) 2>&5
32317 ac_status=$?
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; }; then
32320 eval "$as_ac_var=yes"
32321else
32322 echo "$as_me: failed program was:" >&5
32323sed 's/^/| /' conftest.$ac_ext >&5
32324
32325eval "$as_ac_var=no"
32326fi
32327rm -f conftest.err conftest.$ac_objext \
32328 conftest$ac_exeext conftest.$ac_ext
32329fi
32330echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32331echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32332if test `eval echo '${'$as_ac_var'}'` = yes; then
32333 cat >>confdefs.h <<_ACEOF
32334#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32335_ACEOF
32336
32337fi
32338done
32339
32340
32341
32342for ac_header in sched.h
32343do
32344as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32345if eval "test \"\${$as_ac_Header+set}\" = set"; then
32346 echo "$as_me:$LINENO: checking for $ac_header" >&5
32347echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32348if eval "test \"\${$as_ac_Header+set}\" = set"; then
32349 echo $ECHO_N "(cached) $ECHO_C" >&6
32350fi
32351echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32352echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32353else
32354 # Is the header compilable?
32355echo "$as_me:$LINENO: checking $ac_header usability" >&5
32356echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32357cat >conftest.$ac_ext <<_ACEOF
32358/* confdefs.h. */
32359_ACEOF
32360cat confdefs.h >>conftest.$ac_ext
32361cat >>conftest.$ac_ext <<_ACEOF
32362/* end confdefs.h. */
32363$ac_includes_default
32364#include <$ac_header>
32365_ACEOF
32366rm -f conftest.$ac_objext
32367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32368 (eval $ac_compile) 2>conftest.er1
32369 ac_status=$?
32370 grep -v '^ *+' conftest.er1 >conftest.err
32371 rm -f conftest.er1
32372 cat conftest.err >&5
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); } &&
32375 { ac_try='test -z "$ac_c_werror_flag"
32376 || test ! -s conftest.err'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32379 ac_status=$?
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; } &&
32382 { ac_try='test -s conftest.$ac_objext'
32383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32384 (eval $ac_try) 2>&5
32385 ac_status=$?
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; }; then
32388 ac_header_compiler=yes
32389else
32390 echo "$as_me: failed program was:" >&5
32391sed 's/^/| /' conftest.$ac_ext >&5
32392
32393ac_header_compiler=no
32394fi
32395rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32396echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32397echo "${ECHO_T}$ac_header_compiler" >&6
32398
32399# Is the header present?
32400echo "$as_me:$LINENO: checking $ac_header presence" >&5
32401echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32402cat >conftest.$ac_ext <<_ACEOF
32403/* confdefs.h. */
32404_ACEOF
32405cat confdefs.h >>conftest.$ac_ext
32406cat >>conftest.$ac_ext <<_ACEOF
32407/* end confdefs.h. */
32408#include <$ac_header>
32409_ACEOF
32410if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32412 ac_status=$?
32413 grep -v '^ *+' conftest.er1 >conftest.err
32414 rm -f conftest.er1
32415 cat conftest.err >&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); } >/dev/null; then
32418 if test -s conftest.err; then
32419 ac_cpp_err=$ac_c_preproc_warn_flag
32420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32421 else
32422 ac_cpp_err=
32423 fi
32424else
32425 ac_cpp_err=yes
32426fi
32427if test -z "$ac_cpp_err"; then
32428 ac_header_preproc=yes
32429else
32430 echo "$as_me: failed program was:" >&5
32431sed 's/^/| /' conftest.$ac_ext >&5
32432
32433 ac_header_preproc=no
32434fi
32435rm -f conftest.err conftest.$ac_ext
32436echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32437echo "${ECHO_T}$ac_header_preproc" >&6
32438
32439# So? What about this header?
32440case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32441 yes:no: )
32442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32443echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32445echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32446 ac_header_preproc=yes
32447 ;;
32448 no:yes:* )
32449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32450echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32452echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32454echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32456echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32458echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32460echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32461 (
32462 cat <<\_ASBOX
32463## ----------------------------------------- ##
32464## Report this to wx-dev@lists.wxwindows.org ##
32465## ----------------------------------------- ##
32466_ASBOX
32467 ) |
32468 sed "s/^/$as_me: WARNING: /" >&2
32469 ;;
32470esac
32471echo "$as_me:$LINENO: checking for $ac_header" >&5
32472echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32473if eval "test \"\${$as_ac_Header+set}\" = set"; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32475else
32476 eval "$as_ac_Header=\$ac_header_preproc"
32477fi
32478echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32479echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32480
32481fi
32482if test `eval echo '${'$as_ac_Header'}'` = yes; then
32483 cat >>confdefs.h <<_ACEOF
32484#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32485_ACEOF
32486
32487fi
32488
32489done
32490
32491 if test "$ac_cv_header_sched_h" = "yes"; then
32492 echo "$as_me:$LINENO: checking for sched_yield" >&5
32493echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32494if test "${ac_cv_func_sched_yield+set}" = set; then
32495 echo $ECHO_N "(cached) $ECHO_C" >&6
32496else
32497 cat >conftest.$ac_ext <<_ACEOF
32498/* confdefs.h. */
32499_ACEOF
32500cat confdefs.h >>conftest.$ac_ext
32501cat >>conftest.$ac_ext <<_ACEOF
32502/* end confdefs.h. */
32503/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32505#define sched_yield innocuous_sched_yield
32506
32507/* System header to define __stub macros and hopefully few prototypes,
32508 which can conflict with char sched_yield (); below.
32509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32510 <limits.h> exists even on freestanding compilers. */
32511
32512#ifdef __STDC__
32513# include <limits.h>
32514#else
32515# include <assert.h>
32516#endif
32517
32518#undef sched_yield
32519
32520/* Override any gcc2 internal prototype to avoid an error. */
32521#ifdef __cplusplus
32522extern "C"
32523{
32524#endif
32525/* We use char because int might match the return type of a gcc2
32526 builtin and then its argument prototype would still apply. */
32527char sched_yield ();
32528/* The GNU C library defines this for functions which it implements
32529 to always fail with ENOSYS. Some functions are actually named
32530 something starting with __ and the normal name is an alias. */
32531#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32532choke me
32533#else
32534char (*f) () = sched_yield;
32535#endif
32536#ifdef __cplusplus
32537}
32538#endif
32539
32540int
32541main ()
32542{
32543return f != sched_yield;
32544 ;
32545 return 0;
32546}
32547_ACEOF
32548rm -f conftest.$ac_objext conftest$ac_exeext
32549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32550 (eval $ac_link) 2>conftest.er1
32551 ac_status=$?
32552 grep -v '^ *+' conftest.er1 >conftest.err
32553 rm -f conftest.er1
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } &&
32557 { ac_try='test -z "$ac_c_werror_flag"
32558 || test ! -s conftest.err'
32559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560 (eval $ac_try) 2>&5
32561 ac_status=$?
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); }; } &&
32564 { ac_try='test -s conftest$ac_exeext'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32567 ac_status=$?
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; }; then
32570 ac_cv_func_sched_yield=yes
32571else
32572 echo "$as_me: failed program was:" >&5
32573sed 's/^/| /' conftest.$ac_ext >&5
32574
32575ac_cv_func_sched_yield=no
32576fi
32577rm -f conftest.err conftest.$ac_objext \
32578 conftest$ac_exeext conftest.$ac_ext
32579fi
32580echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32581echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32582if test $ac_cv_func_sched_yield = yes; then
32583 cat >>confdefs.h <<\_ACEOF
32584#define HAVE_SCHED_YIELD 1
32585_ACEOF
32586
32587else
32588
32589 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32590echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32591if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32592 echo $ECHO_N "(cached) $ECHO_C" >&6
32593else
32594 ac_check_lib_save_LIBS=$LIBS
32595LIBS="-lposix4 $LIBS"
32596cat >conftest.$ac_ext <<_ACEOF
32597/* confdefs.h. */
32598_ACEOF
32599cat confdefs.h >>conftest.$ac_ext
32600cat >>conftest.$ac_ext <<_ACEOF
32601/* end confdefs.h. */
32602
32603/* Override any gcc2 internal prototype to avoid an error. */
32604#ifdef __cplusplus
32605extern "C"
32606#endif
32607/* We use char because int might match the return type of a gcc2
32608 builtin and then its argument prototype would still apply. */
32609char sched_yield ();
32610int
32611main ()
32612{
32613sched_yield ();
32614 ;
32615 return 0;
32616}
32617_ACEOF
32618rm -f conftest.$ac_objext conftest$ac_exeext
32619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32620 (eval $ac_link) 2>conftest.er1
32621 ac_status=$?
32622 grep -v '^ *+' conftest.er1 >conftest.err
32623 rm -f conftest.er1
32624 cat conftest.err >&5
32625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626 (exit $ac_status); } &&
32627 { ac_try='test -z "$ac_c_werror_flag"
32628 || test ! -s conftest.err'
32629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630 (eval $ac_try) 2>&5
32631 ac_status=$?
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); }; } &&
32634 { ac_try='test -s conftest$ac_exeext'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; }; then
32640 ac_cv_lib_posix4_sched_yield=yes
32641else
32642 echo "$as_me: failed program was:" >&5
32643sed 's/^/| /' conftest.$ac_ext >&5
32644
32645ac_cv_lib_posix4_sched_yield=no
32646fi
32647rm -f conftest.err conftest.$ac_objext \
32648 conftest$ac_exeext conftest.$ac_ext
32649LIBS=$ac_check_lib_save_LIBS
32650fi
32651echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32652echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32653if test $ac_cv_lib_posix4_sched_yield = yes; then
32654 cat >>confdefs.h <<\_ACEOF
32655#define HAVE_SCHED_YIELD 1
32656_ACEOF
32657 POSIX4_LINK=" -lposix4"
32658else
32659 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32660echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32661
32662fi
32663
32664
32665
32666fi
32667
32668 fi
32669
32670 HAVE_PRIOR_FUNCS=0
32671 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32672echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32673if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32675else
32676 cat >conftest.$ac_ext <<_ACEOF
32677/* confdefs.h. */
32678_ACEOF
32679cat confdefs.h >>conftest.$ac_ext
32680cat >>conftest.$ac_ext <<_ACEOF
32681/* end confdefs.h. */
32682/* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32684#define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32685
32686/* System header to define __stub macros and hopefully few prototypes,
32687 which can conflict with char pthread_attr_getschedpolicy (); below.
32688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689 <limits.h> exists even on freestanding compilers. */
32690
32691#ifdef __STDC__
32692# include <limits.h>
32693#else
32694# include <assert.h>
32695#endif
32696
32697#undef pthread_attr_getschedpolicy
32698
32699/* Override any gcc2 internal prototype to avoid an error. */
32700#ifdef __cplusplus
32701extern "C"
32702{
32703#endif
32704/* We use char because int might match the return type of a gcc2
32705 builtin and then its argument prototype would still apply. */
32706char pthread_attr_getschedpolicy ();
32707/* The GNU C library defines this for functions which it implements
32708 to always fail with ENOSYS. Some functions are actually named
32709 something starting with __ and the normal name is an alias. */
32710#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32711choke me
32712#else
32713char (*f) () = pthread_attr_getschedpolicy;
32714#endif
32715#ifdef __cplusplus
32716}
32717#endif
32718
32719int
32720main ()
32721{
32722return f != pthread_attr_getschedpolicy;
32723 ;
32724 return 0;
32725}
32726_ACEOF
32727rm -f conftest.$ac_objext conftest$ac_exeext
32728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32729 (eval $ac_link) 2>conftest.er1
32730 ac_status=$?
32731 grep -v '^ *+' conftest.er1 >conftest.err
32732 rm -f conftest.er1
32733 cat conftest.err >&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); } &&
32736 { ac_try='test -z "$ac_c_werror_flag"
32737 || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32746 ac_status=$?
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 ac_cv_func_pthread_attr_getschedpolicy=yes
32750else
32751 echo "$as_me: failed program was:" >&5
32752sed 's/^/| /' conftest.$ac_ext >&5
32753
32754ac_cv_func_pthread_attr_getschedpolicy=no
32755fi
32756rm -f conftest.err conftest.$ac_objext \
32757 conftest$ac_exeext conftest.$ac_ext
32758fi
32759echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32760echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32761if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32762 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32763echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32764if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32765 echo $ECHO_N "(cached) $ECHO_C" >&6
32766else
32767 cat >conftest.$ac_ext <<_ACEOF
32768/* confdefs.h. */
32769_ACEOF
32770cat confdefs.h >>conftest.$ac_ext
32771cat >>conftest.$ac_ext <<_ACEOF
32772/* end confdefs.h. */
32773/* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32775#define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32776
32777/* System header to define __stub macros and hopefully few prototypes,
32778 which can conflict with char pthread_attr_setschedparam (); below.
32779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32780 <limits.h> exists even on freestanding compilers. */
32781
32782#ifdef __STDC__
32783# include <limits.h>
32784#else
32785# include <assert.h>
32786#endif
32787
32788#undef pthread_attr_setschedparam
32789
32790/* Override any gcc2 internal prototype to avoid an error. */
32791#ifdef __cplusplus
32792extern "C"
32793{
32794#endif
32795/* We use char because int might match the return type of a gcc2
32796 builtin and then its argument prototype would still apply. */
32797char pthread_attr_setschedparam ();
32798/* The GNU C library defines this for functions which it implements
32799 to always fail with ENOSYS. Some functions are actually named
32800 something starting with __ and the normal name is an alias. */
32801#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32802choke me
32803#else
32804char (*f) () = pthread_attr_setschedparam;
32805#endif
32806#ifdef __cplusplus
32807}
32808#endif
32809
32810int
32811main ()
32812{
32813return f != pthread_attr_setschedparam;
32814 ;
32815 return 0;
32816}
32817_ACEOF
32818rm -f conftest.$ac_objext conftest$ac_exeext
32819if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32820 (eval $ac_link) 2>conftest.er1
32821 ac_status=$?
32822 grep -v '^ *+' conftest.er1 >conftest.err
32823 rm -f conftest.er1
32824 cat conftest.err >&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } &&
32827 { ac_try='test -z "$ac_c_werror_flag"
32828 || test ! -s conftest.err'
32829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 (eval $ac_try) 2>&5
32831 ac_status=$?
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; } &&
32834 { ac_try='test -s conftest$ac_exeext'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32837 ac_status=$?
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; }; then
32840 ac_cv_func_pthread_attr_setschedparam=yes
32841else
32842 echo "$as_me: failed program was:" >&5
32843sed 's/^/| /' conftest.$ac_ext >&5
32844
32845ac_cv_func_pthread_attr_setschedparam=no
32846fi
32847rm -f conftest.err conftest.$ac_objext \
32848 conftest$ac_exeext conftest.$ac_ext
32849fi
32850echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32851echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32852if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32853 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32854echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32855if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32856 echo $ECHO_N "(cached) $ECHO_C" >&6
32857else
32858 cat >conftest.$ac_ext <<_ACEOF
32859/* confdefs.h. */
32860_ACEOF
32861cat confdefs.h >>conftest.$ac_ext
32862cat >>conftest.$ac_ext <<_ACEOF
32863/* end confdefs.h. */
32864/* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32866#define sched_get_priority_max innocuous_sched_get_priority_max
32867
32868/* System header to define __stub macros and hopefully few prototypes,
32869 which can conflict with char sched_get_priority_max (); below.
32870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32871 <limits.h> exists even on freestanding compilers. */
32872
32873#ifdef __STDC__
32874# include <limits.h>
32875#else
32876# include <assert.h>
32877#endif
32878
32879#undef sched_get_priority_max
32880
32881/* Override any gcc2 internal prototype to avoid an error. */
32882#ifdef __cplusplus
32883extern "C"
32884{
32885#endif
32886/* We use char because int might match the return type of a gcc2
32887 builtin and then its argument prototype would still apply. */
32888char sched_get_priority_max ();
32889/* The GNU C library defines this for functions which it implements
32890 to always fail with ENOSYS. Some functions are actually named
32891 something starting with __ and the normal name is an alias. */
32892#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32893choke me
32894#else
32895char (*f) () = sched_get_priority_max;
32896#endif
32897#ifdef __cplusplus
32898}
32899#endif
32900
32901int
32902main ()
32903{
32904return f != sched_get_priority_max;
32905 ;
32906 return 0;
32907}
32908_ACEOF
32909rm -f conftest.$ac_objext conftest$ac_exeext
32910if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32911 (eval $ac_link) 2>conftest.er1
32912 ac_status=$?
32913 grep -v '^ *+' conftest.er1 >conftest.err
32914 rm -f conftest.er1
32915 cat conftest.err >&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } &&
32918 { ac_try='test -z "$ac_c_werror_flag"
32919 || test ! -s conftest.err'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32922 ac_status=$?
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; } &&
32925 { ac_try='test -s conftest$ac_exeext'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32928 ac_status=$?
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; }; then
32931 ac_cv_func_sched_get_priority_max=yes
32932else
32933 echo "$as_me: failed program was:" >&5
32934sed 's/^/| /' conftest.$ac_ext >&5
32935
32936ac_cv_func_sched_get_priority_max=no
32937fi
32938rm -f conftest.err conftest.$ac_objext \
32939 conftest$ac_exeext conftest.$ac_ext
32940fi
32941echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32942echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32943if test $ac_cv_func_sched_get_priority_max = yes; then
32944 HAVE_PRIOR_FUNCS=1
32945else
32946 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32947echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32948if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32950else
32951 ac_check_lib_save_LIBS=$LIBS
32952LIBS="-lposix4 $LIBS"
32953cat >conftest.$ac_ext <<_ACEOF
32954/* confdefs.h. */
32955_ACEOF
32956cat confdefs.h >>conftest.$ac_ext
32957cat >>conftest.$ac_ext <<_ACEOF
32958/* end confdefs.h. */
32959
32960/* Override any gcc2 internal prototype to avoid an error. */
32961#ifdef __cplusplus
32962extern "C"
32963#endif
32964/* We use char because int might match the return type of a gcc2
32965 builtin and then its argument prototype would still apply. */
32966char sched_get_priority_max ();
32967int
32968main ()
32969{
32970sched_get_priority_max ();
32971 ;
32972 return 0;
32973}
32974_ACEOF
32975rm -f conftest.$ac_objext conftest$ac_exeext
32976if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32977 (eval $ac_link) 2>conftest.er1
32978 ac_status=$?
32979 grep -v '^ *+' conftest.er1 >conftest.err
32980 rm -f conftest.er1
32981 cat conftest.err >&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try='test -z "$ac_c_werror_flag"
32985 || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try='test -s conftest$ac_exeext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_lib_posix4_sched_get_priority_max=yes
32998else
32999 echo "$as_me: failed program was:" >&5
33000sed 's/^/| /' conftest.$ac_ext >&5
33001
33002ac_cv_lib_posix4_sched_get_priority_max=no
33003fi
33004rm -f conftest.err conftest.$ac_objext \
33005 conftest$ac_exeext conftest.$ac_ext
33006LIBS=$ac_check_lib_save_LIBS
33007fi
33008echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33009echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33010if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33011
33012 HAVE_PRIOR_FUNCS=1
33013 POSIX4_LINK=" -lposix4"
33014
33015fi
33016
33017
33018fi
33019
33020
33021fi
33022
33023
33024fi
33025
33026
33027 if test "$HAVE_PRIOR_FUNCS" = 1; then
33028 cat >>confdefs.h <<\_ACEOF
33029#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33030_ACEOF
33031
33032 else
33033 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33034echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33035 fi
33036
33037 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33038echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33039if test "${ac_cv_func_pthread_cancel+set}" = set; then
33040 echo $ECHO_N "(cached) $ECHO_C" >&6
33041else
33042 cat >conftest.$ac_ext <<_ACEOF
33043/* confdefs.h. */
33044_ACEOF
33045cat confdefs.h >>conftest.$ac_ext
33046cat >>conftest.$ac_ext <<_ACEOF
33047/* end confdefs.h. */
33048/* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33050#define pthread_cancel innocuous_pthread_cancel
33051
33052/* System header to define __stub macros and hopefully few prototypes,
33053 which can conflict with char pthread_cancel (); below.
33054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33055 <limits.h> exists even on freestanding compilers. */
33056
33057#ifdef __STDC__
33058# include <limits.h>
33059#else
33060# include <assert.h>
33061#endif
33062
33063#undef pthread_cancel
33064
33065/* Override any gcc2 internal prototype to avoid an error. */
33066#ifdef __cplusplus
33067extern "C"
33068{
33069#endif
33070/* We use char because int might match the return type of a gcc2
33071 builtin and then its argument prototype would still apply. */
33072char pthread_cancel ();
33073/* The GNU C library defines this for functions which it implements
33074 to always fail with ENOSYS. Some functions are actually named
33075 something starting with __ and the normal name is an alias. */
33076#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33077choke me
33078#else
33079char (*f) () = pthread_cancel;
33080#endif
33081#ifdef __cplusplus
33082}
33083#endif
33084
33085int
33086main ()
33087{
33088return f != pthread_cancel;
33089 ;
33090 return 0;
33091}
33092_ACEOF
33093rm -f conftest.$ac_objext conftest$ac_exeext
33094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33095 (eval $ac_link) 2>conftest.er1
33096 ac_status=$?
33097 grep -v '^ *+' conftest.er1 >conftest.err
33098 rm -f conftest.er1
33099 cat conftest.err >&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); } &&
33102 { ac_try='test -z "$ac_c_werror_flag"
33103 || test ! -s conftest.err'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33106 ac_status=$?
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; } &&
33109 { ac_try='test -s conftest$ac_exeext'
33110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33111 (eval $ac_try) 2>&5
33112 ac_status=$?
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); }; }; then
33115 ac_cv_func_pthread_cancel=yes
33116else
33117 echo "$as_me: failed program was:" >&5
33118sed 's/^/| /' conftest.$ac_ext >&5
33119
33120ac_cv_func_pthread_cancel=no
33121fi
33122rm -f conftest.err conftest.$ac_objext \
33123 conftest$ac_exeext conftest.$ac_ext
33124fi
33125echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33126echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33127if test $ac_cv_func_pthread_cancel = yes; then
33128 cat >>confdefs.h <<\_ACEOF
33129#define HAVE_PTHREAD_CANCEL 1
33130_ACEOF
33131
33132else
33133 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33134echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33135fi
33136
33137
33138
33139
33140 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33141echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33142if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33144else
33145
33146 cat >conftest.$ac_ext <<_ACEOF
33147/* confdefs.h. */
33148_ACEOF
33149cat confdefs.h >>conftest.$ac_ext
33150cat >>conftest.$ac_ext <<_ACEOF
33151/* end confdefs.h. */
33152#include <pthread.h>
33153int
33154main ()
33155{
33156
33157 pthread_mutexattr_t attr;
33158 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33159
33160 ;
33161 return 0;
33162}
33163_ACEOF
33164rm -f conftest.$ac_objext
33165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33166 (eval $ac_compile) 2>conftest.er1
33167 ac_status=$?
33168 grep -v '^ *+' conftest.er1 >conftest.err
33169 rm -f conftest.er1
33170 cat conftest.err >&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); } &&
33173 { ac_try='test -z "$ac_c_werror_flag"
33174 || test ! -s conftest.err'
33175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176 (eval $ac_try) 2>&5
33177 ac_status=$?
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); }; } &&
33180 { ac_try='test -s conftest.$ac_objext'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33183 ac_status=$?
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; }; then
33186
33187 wx_cv_type_pthread_mutexattr_t=yes
33188
33189else
33190 echo "$as_me: failed program was:" >&5
33191sed 's/^/| /' conftest.$ac_ext >&5
33192
33193
33194 wx_cv_type_pthread_mutexattr_t=no
33195
33196
33197fi
33198rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33199
33200fi
33201echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33202echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33203
33204 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33205 cat >>confdefs.h <<\_ACEOF
33206#define HAVE_PTHREAD_MUTEXATTR_T 1
33207_ACEOF
33208
33209 else
33210 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33211echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33212if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33213 echo $ECHO_N "(cached) $ECHO_C" >&6
33214else
33215
33216 cat >conftest.$ac_ext <<_ACEOF
33217/* confdefs.h. */
33218_ACEOF
33219cat confdefs.h >>conftest.$ac_ext
33220cat >>conftest.$ac_ext <<_ACEOF
33221/* end confdefs.h. */
33222#include <pthread.h>
33223int
33224main ()
33225{
33226
33227 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33228
33229 ;
33230 return 0;
33231}
33232_ACEOF
33233rm -f conftest.$ac_objext
33234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33235 (eval $ac_compile) 2>conftest.er1
33236 ac_status=$?
33237 grep -v '^ *+' conftest.er1 >conftest.err
33238 rm -f conftest.er1
33239 cat conftest.err >&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } &&
33242 { ac_try='test -z "$ac_c_werror_flag"
33243 || test ! -s conftest.err'
33244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245 (eval $ac_try) 2>&5
33246 ac_status=$?
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; } &&
33249 { ac_try='test -s conftest.$ac_objext'
33250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33251 (eval $ac_try) 2>&5
33252 ac_status=$?
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); }; }; then
33255
33256 wx_cv_type_pthread_rec_mutex_init=yes
33257
33258else
33259 echo "$as_me: failed program was:" >&5
33260sed 's/^/| /' conftest.$ac_ext >&5
33261
33262
33263 wx_cv_type_pthread_rec_mutex_init=no
33264
33265
33266fi
33267rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33268
33269fi
33270echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33271echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33272 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33273 cat >>confdefs.h <<\_ACEOF
33274#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33275_ACEOF
33276
33277 else
33278 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33279echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33280 fi
33281 fi
33282 fi
33283
33284else
33285 if test "$wxUSE_THREADS" = "yes" ; then
33286 case "${host}" in
33287 *-*-mingw32* )
33288 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33289echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33290if test "${wx_cv_cflags_mthread+set}" = set; then
33291 echo $ECHO_N "(cached) $ECHO_C" >&6
33292else
33293
33294 CFLAGS_OLD="$CFLAGS"
33295 CFLAGS="$CFLAGS -mthreads"
33296 cat >conftest.$ac_ext <<_ACEOF
33297/* confdefs.h. */
33298_ACEOF
33299cat confdefs.h >>conftest.$ac_ext
33300cat >>conftest.$ac_ext <<_ACEOF
33301/* end confdefs.h. */
33302
33303int
33304main ()
33305{
33306
33307 ;
33308 return 0;
33309}
33310_ACEOF
33311rm -f conftest.$ac_objext
33312if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33313 (eval $ac_compile) 2>conftest.er1
33314 ac_status=$?
33315 grep -v '^ *+' conftest.er1 >conftest.err
33316 rm -f conftest.er1
33317 cat conftest.err >&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } &&
33320 { ac_try='test -z "$ac_c_werror_flag"
33321 || test ! -s conftest.err'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33324 ac_status=$?
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; } &&
33327 { ac_try='test -s conftest.$ac_objext'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33330 ac_status=$?
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; }; then
33333 wx_cv_cflags_mthread=yes
33334else
33335 echo "$as_me: failed program was:" >&5
33336sed 's/^/| /' conftest.$ac_ext >&5
33337
33338wx_cv_cflags_mthread=no
33339
33340fi
33341rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33342
33343
33344fi
33345echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33346echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33347
33348 if test "$wx_cv_cflags_mthread" = "yes"; then
33349 CXXFLAGS="$CXXFLAGS -mthreads"
33350 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33351 LDFLAGS="$LDFLAGS -mthreads"
33352 else
33353 CFLAGS="$CFLAGS_OLD"
33354 fi
33355 ;;
33356 *-pc-os2*emx )
33357 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33358 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33359 LDFLAGS="$LDFLAGS -Zmt"
33360 ;;
33361 esac
33362 fi
33363fi
33364
33365if test "$wxUSE_THREADS" = "yes"; then
33366 cat >>confdefs.h <<\_ACEOF
33367#define wxUSE_THREADS 1
33368_ACEOF
33369
33370
33371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33372else
33373 if test "$ac_cv_func_strtok_r" = "yes"; then
33374 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33375echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33376 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33377 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33378 echo "$as_me:$LINENO: result: yes" >&5
33379echo "${ECHO_T}yes" >&6
33380 else
33381 echo "$as_me:$LINENO: result: no" >&5
33382echo "${ECHO_T}no" >&6
33383 fi
33384 fi
33385fi
33386
33387if test "$WXGTK20" = 1 ; then
33388 cat >>confdefs.h <<_ACEOF
33389#define __WXGTK20__ $WXGTK20
33390_ACEOF
33391
33392 WXGTK12=1
33393fi
33394
33395if test "$WXGTK12" = 1 ; then
33396 cat >>confdefs.h <<_ACEOF
33397#define __WXGTK12__ $WXGTK12
33398_ACEOF
33399
33400fi
33401
33402if test "$WXGTK127" = 1 ; then
33403 cat >>confdefs.h <<_ACEOF
33404#define __WXGTK127__ $WXGTK127
33405_ACEOF
33406
33407fi
33408
33409if test "$WXGPE" = 1 ; then
33410 cat >>confdefs.h <<_ACEOF
33411#define __WXGPE__ $WXGPE
33412_ACEOF
33413
33414fi
33415
33416WXDEBUG=
33417
33418if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33419 WXDEBUG="-g"
33420 wxUSE_OPTIMISE=no
33421fi
33422
33423if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33424 wxUSE_DEBUG_INFO=yes
33425 WXDEBUG="-ggdb"
33426fi
33427
33428if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33429 cat >>confdefs.h <<\_ACEOF
33430#define WXDEBUG 1
33431_ACEOF
33432
33433 WXDEBUG_DEFINE="-D__WXDEBUG__"
33434else
33435 if test "$wxUSE_GTK" = 1 ; then
33436 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33437 fi
33438fi
33439
33440if test "$wxUSE_MEM_TRACING" = "yes" ; then
33441 cat >>confdefs.h <<\_ACEOF
33442#define wxUSE_MEMORY_TRACING 1
33443_ACEOF
33444
33445 cat >>confdefs.h <<\_ACEOF
33446#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33447_ACEOF
33448
33449 cat >>confdefs.h <<\_ACEOF
33450#define wxUSE_DEBUG_NEW_ALWAYS 1
33451_ACEOF
33452
33453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33454fi
33455
33456if test "$wxUSE_DMALLOC" = "yes" ; then
33457 DMALLOC_LIBS="-ldmalloc"
33458fi
33459
33460PROFILE=
33461if test "$wxUSE_PROFILE" = "yes" ; then
33462 PROFILE=" -pg"
33463fi
33464
33465CODE_GEN_FLAGS=
33466CODE_GEN_FLAGS_CXX=
33467if test "$GCC" = "yes" ; then
33468 if test "$wxUSE_NO_RTTI" = "yes" ; then
33469 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33470 fi
33471 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33472 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33473 fi
33474 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33475 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33476 fi
33477
33478 case "${host}" in
33479 powerpc*-*-aix* )
33480 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33481 ;;
33482 *-hppa* )
33483 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33484 ;;
33485 esac
33486fi
33487
33488OPTIMISE=
33489if test "$wxUSE_OPTIMISE" = "no" ; then
33490 if test "$GCC" = yes ; then
33491 OPTIMISE="-O0"
33492 fi
33493else
33494 if test "$GCC" = yes ; then
33495 OPTIMISE="-O2"
33496
33497 case "${host}" in
33498 i586-*-*|i686-*-* )
33499 OPTIMISE="${OPTIMISE} "
33500 ;;
33501 esac
33502 else
33503 OPTIMISE="-O"
33504 fi
33505fi
33506
33507
33508if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33509 cat >>confdefs.h <<\_ACEOF
33510#define WXWIN_COMPATIBILITY_2_2 1
33511_ACEOF
33512
33513
33514 WXWIN_COMPATIBILITY_2_4="yes"
33515fi
33516
33517if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33518 cat >>confdefs.h <<\_ACEOF
33519#define WXWIN_COMPATIBILITY_2_4 1
33520_ACEOF
33521
33522fi
33523
33524
33525if test "$wxUSE_GUI" = "yes"; then
33526 cat >>confdefs.h <<\_ACEOF
33527#define wxUSE_GUI 1
33528_ACEOF
33529
33530
33531 else
33532 cat >>confdefs.h <<\_ACEOF
33533#define wxUSE_NOGUI 1
33534_ACEOF
33535
33536fi
33537
33538
33539if test "$wxUSE_UNIX" = "yes"; then
33540 cat >>confdefs.h <<\_ACEOF
33541#define wxUSE_UNIX 1
33542_ACEOF
33543
33544fi
33545
33546
33547if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33548
33549 HAVE_DL_FUNCS=0
33550 HAVE_SHL_FUNCS=0
33551 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33552 if test "$USE_DARWIN" = 1; then
33553 HAVE_DL_FUNCS=1
33554 else
33555
33556for ac_func in dlopen
33557do
33558as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33559echo "$as_me:$LINENO: checking for $ac_func" >&5
33560echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33561if eval "test \"\${$as_ac_var+set}\" = set"; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33563else
33564 cat >conftest.$ac_ext <<_ACEOF
33565/* confdefs.h. */
33566_ACEOF
33567cat confdefs.h >>conftest.$ac_ext
33568cat >>conftest.$ac_ext <<_ACEOF
33569/* end confdefs.h. */
33570/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33572#define $ac_func innocuous_$ac_func
33573
33574/* System header to define __stub macros and hopefully few prototypes,
33575 which can conflict with char $ac_func (); below.
33576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33577 <limits.h> exists even on freestanding compilers. */
33578
33579#ifdef __STDC__
33580# include <limits.h>
33581#else
33582# include <assert.h>
33583#endif
33584
33585#undef $ac_func
33586
33587/* Override any gcc2 internal prototype to avoid an error. */
33588#ifdef __cplusplus
33589extern "C"
33590{
33591#endif
33592/* We use char because int might match the return type of a gcc2
33593 builtin and then its argument prototype would still apply. */
33594char $ac_func ();
33595/* The GNU C library defines this for functions which it implements
33596 to always fail with ENOSYS. Some functions are actually named
33597 something starting with __ and the normal name is an alias. */
33598#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33599choke me
33600#else
33601char (*f) () = $ac_func;
33602#endif
33603#ifdef __cplusplus
33604}
33605#endif
33606
33607int
33608main ()
33609{
33610return f != $ac_func;
33611 ;
33612 return 0;
33613}
33614_ACEOF
33615rm -f conftest.$ac_objext conftest$ac_exeext
33616if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33617 (eval $ac_link) 2>conftest.er1
33618 ac_status=$?
33619 grep -v '^ *+' conftest.er1 >conftest.err
33620 rm -f conftest.er1
33621 cat conftest.err >&5
33622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 (exit $ac_status); } &&
33624 { ac_try='test -z "$ac_c_werror_flag"
33625 || test ! -s conftest.err'
33626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627 (eval $ac_try) 2>&5
33628 ac_status=$?
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); }; } &&
33631 { ac_try='test -s conftest$ac_exeext'
33632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633 (eval $ac_try) 2>&5
33634 ac_status=$?
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); }; }; then
33637 eval "$as_ac_var=yes"
33638else
33639 echo "$as_me: failed program was:" >&5
33640sed 's/^/| /' conftest.$ac_ext >&5
33641
33642eval "$as_ac_var=no"
33643fi
33644rm -f conftest.err conftest.$ac_objext \
33645 conftest$ac_exeext conftest.$ac_ext
33646fi
33647echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33648echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33649if test `eval echo '${'$as_ac_var'}'` = yes; then
33650 cat >>confdefs.h <<_ACEOF
33651#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33652_ACEOF
33653
33654 cat >>confdefs.h <<\_ACEOF
33655#define HAVE_DLOPEN 1
33656_ACEOF
33657
33658 HAVE_DL_FUNCS=1
33659
33660else
33661
33662 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33663echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33664if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33665 echo $ECHO_N "(cached) $ECHO_C" >&6
33666else
33667 ac_check_lib_save_LIBS=$LIBS
33668LIBS="-ldl $LIBS"
33669cat >conftest.$ac_ext <<_ACEOF
33670/* confdefs.h. */
33671_ACEOF
33672cat confdefs.h >>conftest.$ac_ext
33673cat >>conftest.$ac_ext <<_ACEOF
33674/* end confdefs.h. */
33675
33676/* Override any gcc2 internal prototype to avoid an error. */
33677#ifdef __cplusplus
33678extern "C"
33679#endif
33680/* We use char because int might match the return type of a gcc2
33681 builtin and then its argument prototype would still apply. */
33682char dlopen ();
33683int
33684main ()
33685{
33686dlopen ();
33687 ;
33688 return 0;
33689}
33690_ACEOF
33691rm -f conftest.$ac_objext conftest$ac_exeext
33692if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33693 (eval $ac_link) 2>conftest.er1
33694 ac_status=$?
33695 grep -v '^ *+' conftest.er1 >conftest.err
33696 rm -f conftest.er1
33697 cat conftest.err >&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try='test -z "$ac_c_werror_flag"
33701 || test ! -s conftest.err'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33704 ac_status=$?
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; } &&
33707 { ac_try='test -s conftest$ac_exeext'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33710 ac_status=$?
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; }; then
33713 ac_cv_lib_dl_dlopen=yes
33714else
33715 echo "$as_me: failed program was:" >&5
33716sed 's/^/| /' conftest.$ac_ext >&5
33717
33718ac_cv_lib_dl_dlopen=no
33719fi
33720rm -f conftest.err conftest.$ac_objext \
33721 conftest$ac_exeext conftest.$ac_ext
33722LIBS=$ac_check_lib_save_LIBS
33723fi
33724echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33725echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33726if test $ac_cv_lib_dl_dlopen = yes; then
33727
33728 cat >>confdefs.h <<\_ACEOF
33729#define HAVE_DLOPEN 1
33730_ACEOF
33731
33732 HAVE_DL_FUNCS=1
33733 DL_LINK=" -ldl$DL_LINK"
33734
33735else
33736
33737
33738for ac_func in shl_load
33739do
33740as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33741echo "$as_me:$LINENO: checking for $ac_func" >&5
33742echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33743if eval "test \"\${$as_ac_var+set}\" = set"; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33745else
33746 cat >conftest.$ac_ext <<_ACEOF
33747/* confdefs.h. */
33748_ACEOF
33749cat confdefs.h >>conftest.$ac_ext
33750cat >>conftest.$ac_ext <<_ACEOF
33751/* end confdefs.h. */
33752/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33754#define $ac_func innocuous_$ac_func
33755
33756/* System header to define __stub macros and hopefully few prototypes,
33757 which can conflict with char $ac_func (); below.
33758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33759 <limits.h> exists even on freestanding compilers. */
33760
33761#ifdef __STDC__
33762# include <limits.h>
33763#else
33764# include <assert.h>
33765#endif
33766
33767#undef $ac_func
33768
33769/* Override any gcc2 internal prototype to avoid an error. */
33770#ifdef __cplusplus
33771extern "C"
33772{
33773#endif
33774/* We use char because int might match the return type of a gcc2
33775 builtin and then its argument prototype would still apply. */
33776char $ac_func ();
33777/* The GNU C library defines this for functions which it implements
33778 to always fail with ENOSYS. Some functions are actually named
33779 something starting with __ and the normal name is an alias. */
33780#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33781choke me
33782#else
33783char (*f) () = $ac_func;
33784#endif
33785#ifdef __cplusplus
33786}
33787#endif
33788
33789int
33790main ()
33791{
33792return f != $ac_func;
33793 ;
33794 return 0;
33795}
33796_ACEOF
33797rm -f conftest.$ac_objext conftest$ac_exeext
33798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33799 (eval $ac_link) 2>conftest.er1
33800 ac_status=$?
33801 grep -v '^ *+' conftest.er1 >conftest.err
33802 rm -f conftest.er1
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } &&
33806 { ac_try='test -z "$ac_c_werror_flag"
33807 || test ! -s conftest.err'
33808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33809 (eval $ac_try) 2>&5
33810 ac_status=$?
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); }; } &&
33813 { ac_try='test -s conftest$ac_exeext'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33816 ac_status=$?
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; }; then
33819 eval "$as_ac_var=yes"
33820else
33821 echo "$as_me: failed program was:" >&5
33822sed 's/^/| /' conftest.$ac_ext >&5
33823
33824eval "$as_ac_var=no"
33825fi
33826rm -f conftest.err conftest.$ac_objext \
33827 conftest$ac_exeext conftest.$ac_ext
33828fi
33829echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33830echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33831if test `eval echo '${'$as_ac_var'}'` = yes; then
33832 cat >>confdefs.h <<_ACEOF
33833#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33834_ACEOF
33835
33836 cat >>confdefs.h <<\_ACEOF
33837#define HAVE_SHL_LOAD 1
33838_ACEOF
33839
33840 HAVE_SHL_FUNCS=1
33841
33842else
33843
33844 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33845echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33846if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33847 echo $ECHO_N "(cached) $ECHO_C" >&6
33848else
33849 ac_check_lib_save_LIBS=$LIBS
33850LIBS="-lshl_load $LIBS"
33851cat >conftest.$ac_ext <<_ACEOF
33852/* confdefs.h. */
33853_ACEOF
33854cat confdefs.h >>conftest.$ac_ext
33855cat >>conftest.$ac_ext <<_ACEOF
33856/* end confdefs.h. */
33857
33858/* Override any gcc2 internal prototype to avoid an error. */
33859#ifdef __cplusplus
33860extern "C"
33861#endif
33862/* We use char because int might match the return type of a gcc2
33863 builtin and then its argument prototype would still apply. */
33864char dld ();
33865int
33866main ()
33867{
33868dld ();
33869 ;
33870 return 0;
33871}
33872_ACEOF
33873rm -f conftest.$ac_objext conftest$ac_exeext
33874if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33875 (eval $ac_link) 2>conftest.er1
33876 ac_status=$?
33877 grep -v '^ *+' conftest.er1 >conftest.err
33878 rm -f conftest.er1
33879 cat conftest.err >&5
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); } &&
33882 { ac_try='test -z "$ac_c_werror_flag"
33883 || test ! -s conftest.err'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33886 ac_status=$?
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; } &&
33889 { ac_try='test -s conftest$ac_exeext'
33890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33891 (eval $ac_try) 2>&5
33892 ac_status=$?
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); }; }; then
33895 ac_cv_lib_shl_load_dld=yes
33896else
33897 echo "$as_me: failed program was:" >&5
33898sed 's/^/| /' conftest.$ac_ext >&5
33899
33900ac_cv_lib_shl_load_dld=no
33901fi
33902rm -f conftest.err conftest.$ac_objext \
33903 conftest$ac_exeext conftest.$ac_ext
33904LIBS=$ac_check_lib_save_LIBS
33905fi
33906echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33907echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33908if test $ac_cv_lib_shl_load_dld = yes; then
33909
33910 HAVE_SHL_FUNCS=1
33911 DL_LINK=" -ldld$DL_LINK"
33912
33913fi
33914
33915
33916fi
33917done
33918
33919
33920fi
33921
33922
33923fi
33924done
33925
33926
33927 if test "$HAVE_DL_FUNCS" = 1; then
33928
33929for ac_func in dlerror
33930do
33931as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33932echo "$as_me:$LINENO: checking for $ac_func" >&5
33933echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33934if eval "test \"\${$as_ac_var+set}\" = set"; then
33935 echo $ECHO_N "(cached) $ECHO_C" >&6
33936else
33937 cat >conftest.$ac_ext <<_ACEOF
33938/* confdefs.h. */
33939_ACEOF
33940cat confdefs.h >>conftest.$ac_ext
33941cat >>conftest.$ac_ext <<_ACEOF
33942/* end confdefs.h. */
33943/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33945#define $ac_func innocuous_$ac_func
33946
33947/* System header to define __stub macros and hopefully few prototypes,
33948 which can conflict with char $ac_func (); below.
33949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33950 <limits.h> exists even on freestanding compilers. */
33951
33952#ifdef __STDC__
33953# include <limits.h>
33954#else
33955# include <assert.h>
33956#endif
33957
33958#undef $ac_func
33959
33960/* Override any gcc2 internal prototype to avoid an error. */
33961#ifdef __cplusplus
33962extern "C"
33963{
33964#endif
33965/* We use char because int might match the return type of a gcc2
33966 builtin and then its argument prototype would still apply. */
33967char $ac_func ();
33968/* The GNU C library defines this for functions which it implements
33969 to always fail with ENOSYS. Some functions are actually named
33970 something starting with __ and the normal name is an alias. */
33971#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33972choke me
33973#else
33974char (*f) () = $ac_func;
33975#endif
33976#ifdef __cplusplus
33977}
33978#endif
33979
33980int
33981main ()
33982{
33983return f != $ac_func;
33984 ;
33985 return 0;
33986}
33987_ACEOF
33988rm -f conftest.$ac_objext conftest$ac_exeext
33989if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33990 (eval $ac_link) 2>conftest.er1
33991 ac_status=$?
33992 grep -v '^ *+' conftest.er1 >conftest.err
33993 rm -f conftest.er1
33994 cat conftest.err >&5
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); } &&
33997 { ac_try='test -z "$ac_c_werror_flag"
33998 || test ! -s conftest.err'
33999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34000 (eval $ac_try) 2>&5
34001 ac_status=$?
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); }; } &&
34004 { ac_try='test -s conftest$ac_exeext'
34005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34006 (eval $ac_try) 2>&5
34007 ac_status=$?
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); }; }; then
34010 eval "$as_ac_var=yes"
34011else
34012 echo "$as_me: failed program was:" >&5
34013sed 's/^/| /' conftest.$ac_ext >&5
34014
34015eval "$as_ac_var=no"
34016fi
34017rm -f conftest.err conftest.$ac_objext \
34018 conftest$ac_exeext conftest.$ac_ext
34019fi
34020echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34021echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34022if test `eval echo '${'$as_ac_var'}'` = yes; then
34023 cat >>confdefs.h <<_ACEOF
34024#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34025_ACEOF
34026 cat >>confdefs.h <<\_ACEOF
34027#define HAVE_DLERROR 1
34028_ACEOF
34029
34030else
34031
34032 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34033echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34034if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34035 echo $ECHO_N "(cached) $ECHO_C" >&6
34036else
34037 ac_check_lib_save_LIBS=$LIBS
34038LIBS="-ldl $LIBS"
34039cat >conftest.$ac_ext <<_ACEOF
34040/* confdefs.h. */
34041_ACEOF
34042cat confdefs.h >>conftest.$ac_ext
34043cat >>conftest.$ac_ext <<_ACEOF
34044/* end confdefs.h. */
34045
34046/* Override any gcc2 internal prototype to avoid an error. */
34047#ifdef __cplusplus
34048extern "C"
34049#endif
34050/* We use char because int might match the return type of a gcc2
34051 builtin and then its argument prototype would still apply. */
34052char dlerror ();
34053int
34054main ()
34055{
34056dlerror ();
34057 ;
34058 return 0;
34059}
34060_ACEOF
34061rm -f conftest.$ac_objext conftest$ac_exeext
34062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34063 (eval $ac_link) 2>conftest.er1
34064 ac_status=$?
34065 grep -v '^ *+' conftest.er1 >conftest.err
34066 rm -f conftest.er1
34067 cat conftest.err >&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } &&
34070 { ac_try='test -z "$ac_c_werror_flag"
34071 || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try='test -s conftest$ac_exeext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34080 ac_status=$?
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 ac_cv_lib_dl_dlerror=yes
34084else
34085 echo "$as_me: failed program was:" >&5
34086sed 's/^/| /' conftest.$ac_ext >&5
34087
34088ac_cv_lib_dl_dlerror=no
34089fi
34090rm -f conftest.err conftest.$ac_objext \
34091 conftest$ac_exeext conftest.$ac_ext
34092LIBS=$ac_check_lib_save_LIBS
34093fi
34094echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34095echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34096if test $ac_cv_lib_dl_dlerror = yes; then
34097 cat >>confdefs.h <<\_ACEOF
34098#define HAVE_DLERROR 1
34099_ACEOF
34100
34101fi
34102
34103
34104
34105fi
34106done
34107
34108 fi
34109 fi
34110
34111 if test "$HAVE_DL_FUNCS" = 0; then
34112 if test "$HAVE_SHL_FUNCS" = 0; then
34113 if test "$USE_UNIX" = 1; then
34114 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34115echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34116 wxUSE_DYNAMIC_LOADER=no
34117 wxUSE_DYNLIB_CLASS=no
34118 else
34119 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34120echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34121 fi
34122 fi
34123 fi
34124 fi
34125fi
34126
34127if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34128 cat >>confdefs.h <<\_ACEOF
34129#define wxUSE_DYNAMIC_LOADER 1
34130_ACEOF
34131
34132fi
34133if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34134 cat >>confdefs.h <<\_ACEOF
34135#define wxUSE_DYNLIB_CLASS 1
34136_ACEOF
34137
34138fi
34139
34140
34141
34142if test "$wxUSE_PLUGINS" = "yes" ; then
34143 if test "$wxUSE_SHARED" = "no" ; then
34144 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34145echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34146 wxUSE_PLUGINS=no
34147 fi
34148 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34149 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34150echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34151 wxUSE_PLUGINS=no
34152 fi
34153 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34154 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34155echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34156 wxUSE_PLUGINS=no
34157 fi
34158 if test "$wxUSE_PLUGINS" = "yes" ; then
34159 cat >>confdefs.h <<\_ACEOF
34160#define wxUSE_PLUGINS 1
34161_ACEOF
34162
34163 fi
34164fi
34165
34166
34167if test "$wxUSE_STL" = "yes"; then
34168 cat >>confdefs.h <<\_ACEOF
34169#define wxUSE_STL 1
34170_ACEOF
34171
34172fi
34173
34174if test "$wxUSE_APPLE_IEEE" = "yes"; then
34175 cat >>confdefs.h <<\_ACEOF
34176#define wxUSE_APPLE_IEEE 1
34177_ACEOF
34178
34179fi
34180
34181if test "$wxUSE_TIMER" = "yes"; then
34182 cat >>confdefs.h <<\_ACEOF
34183#define wxUSE_TIMER 1
34184_ACEOF
34185
34186fi
34187
34188WITH_PLUGIN_SDL=0
34189if test "$wxUSE_SOUND" = "yes"; then
34190 if test "$USE_UNIX" = "1" ; then
34191
34192for ac_header in sys/soundcard.h
34193do
34194as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34195if eval "test \"\${$as_ac_Header+set}\" = set"; then
34196 echo "$as_me:$LINENO: checking for $ac_header" >&5
34197echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34198if eval "test \"\${$as_ac_Header+set}\" = set"; then
34199 echo $ECHO_N "(cached) $ECHO_C" >&6
34200fi
34201echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34202echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34203else
34204 # Is the header compilable?
34205echo "$as_me:$LINENO: checking $ac_header usability" >&5
34206echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34207cat >conftest.$ac_ext <<_ACEOF
34208/* confdefs.h. */
34209_ACEOF
34210cat confdefs.h >>conftest.$ac_ext
34211cat >>conftest.$ac_ext <<_ACEOF
34212/* end confdefs.h. */
34213$ac_includes_default
34214#include <$ac_header>
34215_ACEOF
34216rm -f conftest.$ac_objext
34217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34218 (eval $ac_compile) 2>conftest.er1
34219 ac_status=$?
34220 grep -v '^ *+' conftest.er1 >conftest.err
34221 rm -f conftest.er1
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } &&
34225 { ac_try='test -z "$ac_c_werror_flag"
34226 || test ! -s conftest.err'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34229 ac_status=$?
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; } &&
34232 { ac_try='test -s conftest.$ac_objext'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; }; then
34238 ac_header_compiler=yes
34239else
34240 echo "$as_me: failed program was:" >&5
34241sed 's/^/| /' conftest.$ac_ext >&5
34242
34243ac_header_compiler=no
34244fi
34245rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34246echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34247echo "${ECHO_T}$ac_header_compiler" >&6
34248
34249# Is the header present?
34250echo "$as_me:$LINENO: checking $ac_header presence" >&5
34251echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34252cat >conftest.$ac_ext <<_ACEOF
34253/* confdefs.h. */
34254_ACEOF
34255cat confdefs.h >>conftest.$ac_ext
34256cat >>conftest.$ac_ext <<_ACEOF
34257/* end confdefs.h. */
34258#include <$ac_header>
34259_ACEOF
34260if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34262 ac_status=$?
34263 grep -v '^ *+' conftest.er1 >conftest.err
34264 rm -f conftest.er1
34265 cat conftest.err >&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } >/dev/null; then
34268 if test -s conftest.err; then
34269 ac_cpp_err=$ac_c_preproc_warn_flag
34270 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34271 else
34272 ac_cpp_err=
34273 fi
34274else
34275 ac_cpp_err=yes
34276fi
34277if test -z "$ac_cpp_err"; then
34278 ac_header_preproc=yes
34279else
34280 echo "$as_me: failed program was:" >&5
34281sed 's/^/| /' conftest.$ac_ext >&5
34282
34283 ac_header_preproc=no
34284fi
34285rm -f conftest.err conftest.$ac_ext
34286echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34287echo "${ECHO_T}$ac_header_preproc" >&6
34288
34289# So? What about this header?
34290case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34291 yes:no: )
34292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34293echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34295echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34296 ac_header_preproc=yes
34297 ;;
34298 no:yes:* )
34299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34300echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34302echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34304echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34306echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34308echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34310echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34311 (
34312 cat <<\_ASBOX
34313## ----------------------------------------- ##
34314## Report this to wx-dev@lists.wxwindows.org ##
34315## ----------------------------------------- ##
34316_ASBOX
34317 ) |
34318 sed "s/^/$as_me: WARNING: /" >&2
34319 ;;
34320esac
34321echo "$as_me:$LINENO: checking for $ac_header" >&5
34322echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34323if eval "test \"\${$as_ac_Header+set}\" = set"; then
34324 echo $ECHO_N "(cached) $ECHO_C" >&6
34325else
34326 eval "$as_ac_Header=\$ac_header_preproc"
34327fi
34328echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34329echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34330
34331fi
34332if test `eval echo '${'$as_ac_Header'}'` = yes; then
34333 cat >>confdefs.h <<_ACEOF
34334#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34335_ACEOF
34336
34337fi
34338
34339done
34340
34341
34342 if test "$wxUSE_LIBSDL" != "no"; then
34343
34344# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34345if test "${with_sdl_prefix+set}" = set; then
34346 withval="$with_sdl_prefix"
34347 sdl_prefix="$withval"
34348else
34349 sdl_prefix=""
34350fi;
34351
34352# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34353if test "${with_sdl_exec_prefix+set}" = set; then
34354 withval="$with_sdl_exec_prefix"
34355 sdl_exec_prefix="$withval"
34356else
34357 sdl_exec_prefix=""
34358fi;
34359# Check whether --enable-sdltest or --disable-sdltest was given.
34360if test "${enable_sdltest+set}" = set; then
34361 enableval="$enable_sdltest"
34362
34363else
34364 enable_sdltest=yes
34365fi;
34366
34367 if test x$sdl_exec_prefix != x ; then
34368 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34369 if test x${SDL_CONFIG+set} != xset ; then
34370 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34371 fi
34372 fi
34373 if test x$sdl_prefix != x ; then
34374 sdl_args="$sdl_args --prefix=$sdl_prefix"
34375 if test x${SDL_CONFIG+set} != xset ; then
34376 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34377 fi
34378 fi
34379
34380
34381 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34382 # Extract the first word of "sdl-config", so it can be a program name with args.
34383set dummy sdl-config; ac_word=$2
34384echo "$as_me:$LINENO: checking for $ac_word" >&5
34385echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34386if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34388else
34389 case $SDL_CONFIG in
34390 [\\/]* | ?:[\\/]*)
34391 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34392 ;;
34393 *)
34394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34395for as_dir in $PATH
34396do
34397 IFS=$as_save_IFS
34398 test -z "$as_dir" && as_dir=.
34399 for ac_exec_ext in '' $ac_executable_extensions; do
34400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34401 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34403 break 2
34404 fi
34405done
34406done
34407
34408 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34409 ;;
34410esac
34411fi
34412SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34413
34414if test -n "$SDL_CONFIG"; then
34415 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34416echo "${ECHO_T}$SDL_CONFIG" >&6
34417else
34418 echo "$as_me:$LINENO: result: no" >&5
34419echo "${ECHO_T}no" >&6
34420fi
34421
34422 min_sdl_version=1.2.0
34423 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34424echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34425 no_sdl=""
34426 if test "$SDL_CONFIG" = "no" ; then
34427 no_sdl=yes
34428 else
34429 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34430 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34431
34432 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34434 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34436 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34438 if test "x$enable_sdltest" = "xyes" ; then
34439 ac_save_CFLAGS="$CFLAGS"
34440 ac_save_LIBS="$LIBS"
34441 CFLAGS="$CFLAGS $SDL_CFLAGS"
34442 LIBS="$LIBS $SDL_LIBS"
34443 rm -f conf.sdltest
34444 if test "$cross_compiling" = yes; then
34445 echo $ac_n "cross compiling; assumed OK... $ac_c"
34446else
34447 cat >conftest.$ac_ext <<_ACEOF
34448/* confdefs.h. */
34449_ACEOF
34450cat confdefs.h >>conftest.$ac_ext
34451cat >>conftest.$ac_ext <<_ACEOF
34452/* end confdefs.h. */
34453
34454#include <stdio.h>
34455#include <stdlib.h>
34456#include <string.h>
34457#include "SDL.h"
34458
34459char*
34460my_strdup (char *str)
34461{
34462 char *new_str;
34463
34464 if (str)
34465 {
34466 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34467 strcpy (new_str, str);
34468 }
34469 else
34470 new_str = NULL;
34471
34472 return new_str;
34473}
34474
34475int main (int argc, char *argv[])
34476{
34477 int major, minor, micro;
34478 char *tmp_version;
34479
34480 /* This hangs on some systems (?)
34481 system ("touch conf.sdltest");
34482 */
34483 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34484
34485 /* HP/UX 9 (%@#!) writes to sscanf strings */
34486 tmp_version = my_strdup("$min_sdl_version");
34487 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34488 printf("%s, bad version string\n", "$min_sdl_version");
34489 exit(1);
34490 }
34491
34492 if (($sdl_major_version > major) ||
34493 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34494 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34495 {
34496 return 0;
34497 }
34498 else
34499 {
34500 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34501 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34502 printf("*** best to upgrade to the required version.\n");
34503 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34504 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34505 printf("*** config.cache before re-running configure\n");
34506 return 1;
34507 }
34508}
34509
34510
34511_ACEOF
34512rm -f conftest$ac_exeext
34513if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34514 (eval $ac_link) 2>&5
34515 ac_status=$?
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34519 (eval $ac_try) 2>&5
34520 ac_status=$?
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); }; }; then
34523 :
34524else
34525 echo "$as_me: program exited with status $ac_status" >&5
34526echo "$as_me: failed program was:" >&5
34527sed 's/^/| /' conftest.$ac_ext >&5
34528
34529( exit $ac_status )
34530no_sdl=yes
34531fi
34532rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34533fi
34534 CFLAGS="$ac_save_CFLAGS"
34535 LIBS="$ac_save_LIBS"
34536 fi
34537 fi
34538 if test "x$no_sdl" = x ; then
34539 echo "$as_me:$LINENO: result: yes" >&5
34540echo "${ECHO_T}yes" >&6
34541
34542 EXTRALIBS_SDL="$SDL_LIBS"
34543 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34544 cat >>confdefs.h <<\_ACEOF
34545#define wxUSE_LIBSDL 1
34546_ACEOF
34547
34548
34549 else
34550 echo "$as_me:$LINENO: result: no" >&5
34551echo "${ECHO_T}no" >&6
34552 if test "$SDL_CONFIG" = "no" ; then
34553 echo "*** The sdl-config script installed by SDL could not be found"
34554 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34555 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34556 echo "*** full path to sdl-config."
34557 else
34558 if test -f conf.sdltest ; then
34559 :
34560 else
34561 echo "*** Could not run SDL test program, checking why..."
34562 CFLAGS="$CFLAGS $SDL_CFLAGS"
34563 LIBS="$LIBS $SDL_LIBS"
34564 cat >conftest.$ac_ext <<_ACEOF
34565/* confdefs.h. */
34566_ACEOF
34567cat confdefs.h >>conftest.$ac_ext
34568cat >>conftest.$ac_ext <<_ACEOF
34569/* end confdefs.h. */
34570
34571#include <stdio.h>
34572#include "SDL.h"
34573
34574int main(int argc, char *argv[])
34575{ return 0; }
34576#undef main
34577#define main K_and_R_C_main
34578
34579int
34580main ()
34581{
34582 return 0;
34583 ;
34584 return 0;
34585}
34586_ACEOF
34587rm -f conftest.$ac_objext conftest$ac_exeext
34588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34589 (eval $ac_link) 2>conftest.er1
34590 ac_status=$?
34591 grep -v '^ *+' conftest.er1 >conftest.err
34592 rm -f conftest.er1
34593 cat conftest.err >&5
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); } &&
34596 { ac_try='test -z "$ac_c_werror_flag"
34597 || test ! -s conftest.err'
34598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34599 (eval $ac_try) 2>&5
34600 ac_status=$?
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); }; } &&
34603 { ac_try='test -s conftest$ac_exeext'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34606 ac_status=$?
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; }; then
34609 echo "*** The test program compiled, but did not run. This usually means"
34610 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34611 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34612 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34613 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34614 echo "*** is required on your system"
34615 echo "***"
34616 echo "*** If you have an old version installed, it is best to remove it, although"
34617 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34618else
34619 echo "$as_me: failed program was:" >&5
34620sed 's/^/| /' conftest.$ac_ext >&5
34621
34622 echo "*** The test program failed to compile or link. See the file config.log for the"
34623 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34624 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34625 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34626fi
34627rm -f conftest.err conftest.$ac_objext \
34628 conftest$ac_exeext conftest.$ac_ext
34629 CFLAGS="$ac_save_CFLAGS"
34630 LIBS="$ac_save_LIBS"
34631 fi
34632 fi
34633 SDL_CFLAGS=""
34634 SDL_LIBS=""
34635 wxUSE_LIBSDL="no"
34636 fi
34637
34638
34639 rm -f conf.sdltest
34640
34641 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34642 WITH_PLUGIN_SDL=1
34643 fi
34644 fi
34645 fi
34646
34647 cat >>confdefs.h <<\_ACEOF
34648#define wxUSE_SOUND 1
34649_ACEOF
34650
34651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34652fi
34653
34654if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34655 cat >>confdefs.h <<\_ACEOF
34656#define wxUSE_CMDLINE_PARSER 1
34657_ACEOF
34658
34659fi
34660
34661if test "$wxUSE_STOPWATCH" = "yes"; then
34662 cat >>confdefs.h <<\_ACEOF
34663#define wxUSE_STOPWATCH 1
34664_ACEOF
34665
34666fi
34667
34668if test "$wxUSE_DATETIME" = "yes"; then
34669 cat >>confdefs.h <<\_ACEOF
34670#define wxUSE_DATETIME 1
34671_ACEOF
34672
34673fi
34674
34675if test "$wxUSE_FILE" = "yes"; then
34676 cat >>confdefs.h <<\_ACEOF
34677#define wxUSE_FILE 1
34678_ACEOF
34679
34680fi
34681
34682if test "$wxUSE_FFILE" = "yes"; then
34683 cat >>confdefs.h <<\_ACEOF
34684#define wxUSE_FFILE 1
34685_ACEOF
34686
34687fi
34688
34689if test "$wxUSE_FILESYSTEM" = "yes"; then
34690 cat >>confdefs.h <<\_ACEOF
34691#define wxUSE_FILESYSTEM 1
34692_ACEOF
34693
34694fi
34695
34696if test "$wxUSE_FS_ZIP" = "yes"; then
34697 cat >>confdefs.h <<\_ACEOF
34698#define wxUSE_FS_ZIP 1
34699_ACEOF
34700
34701fi
34702
34703if test "$wxUSE_ZIPSTREAM" = "yes"; then
34704 cat >>confdefs.h <<\_ACEOF
34705#define wxUSE_ZIPSTREAM 1
34706_ACEOF
34707
34708fi
34709
34710if test "$wxUSE_GZSTREAM" = "yes"; then
34711 cat >>confdefs.h <<\_ACEOF
34712#define wxUSE_GZSTREAM 1
34713_ACEOF
34714
34715fi
34716
34717if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34718 cat >>confdefs.h <<\_ACEOF
34719#define wxUSE_ON_FATAL_EXCEPTION 1
34720_ACEOF
34721
34722fi
34723
34724if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34725 cat >>confdefs.h <<\_ACEOF
34726#define wxUSE_SNGLINST_CHECKER 1
34727_ACEOF
34728
34729fi
34730
34731if test "$wxUSE_BUSYINFO" = "yes"; then
34732 cat >>confdefs.h <<\_ACEOF
34733#define wxUSE_BUSYINFO 1
34734_ACEOF
34735
34736fi
34737
34738if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34739 cat >>confdefs.h <<\_ACEOF
34740#define wxUSE_STD_IOSTREAM 1
34741_ACEOF
34742
34743fi
34744
34745if test "$wxUSE_TEXTBUFFER" = "yes"; then
34746 cat >>confdefs.h <<\_ACEOF
34747#define wxUSE_TEXTBUFFER 1
34748_ACEOF
34749
34750fi
34751
34752if test "$wxUSE_TEXTFILE" = "yes"; then
34753 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34754 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34755echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34756 else
34757 cat >>confdefs.h <<\_ACEOF
34758#define wxUSE_TEXTFILE 1
34759_ACEOF
34760
34761 fi
34762fi
34763
34764if test "$wxUSE_CONFIG" = "yes" ; then
34765 if test "$wxUSE_TEXTFILE" != "yes"; then
34766 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34767echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34768 else
34769 cat >>confdefs.h <<\_ACEOF
34770#define wxUSE_CONFIG 1
34771_ACEOF
34772
34773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34774 fi
34775fi
34776
34777if test "$wxUSE_INTL" = "yes" ; then
34778 if test "$wxUSE_FILE" != "yes"; then
34779 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34780echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34781 else
34782 cat >>confdefs.h <<\_ACEOF
34783#define wxUSE_INTL 1
34784_ACEOF
34785
34786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34787 GUIDIST="$GUIDIST INTL_DIST"
34788 fi
34789fi
34790
34791if test "$wxUSE_LOG" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793#define wxUSE_LOG 1
34794_ACEOF
34795
34796
34797 if test "$wxUSE_LOGGUI" = "yes"; then
34798 cat >>confdefs.h <<\_ACEOF
34799#define wxUSE_LOGGUI 1
34800_ACEOF
34801
34802 fi
34803
34804 if test "$wxUSE_LOGWINDOW" = "yes"; then
34805 cat >>confdefs.h <<\_ACEOF
34806#define wxUSE_LOGWINDOW 1
34807_ACEOF
34808
34809 fi
34810
34811 if test "$wxUSE_LOGDIALOG" = "yes"; then
34812 cat >>confdefs.h <<\_ACEOF
34813#define wxUSE_LOG_DIALOG 1
34814_ACEOF
34815
34816 fi
34817fi
34818
34819if test "$wxUSE_LONGLONG" = "yes"; then
34820 cat >>confdefs.h <<\_ACEOF
34821#define wxUSE_LONGLONG 1
34822_ACEOF
34823
34824fi
34825
34826if test "$wxUSE_GEOMETRY" = "yes"; then
34827 cat >>confdefs.h <<\_ACEOF
34828#define wxUSE_GEOMETRY 1
34829_ACEOF
34830
34831fi
34832
34833if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34834 cat >>confdefs.h <<\_ACEOF
34835#define wxUSE_DIALUP_MANAGER 1
34836_ACEOF
34837
34838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34839fi
34840
34841if test "$wxUSE_STREAMS" = "yes" ; then
34842 cat >>confdefs.h <<\_ACEOF
34843#define wxUSE_STREAMS 1
34844_ACEOF
34845
34846fi
34847
34848
34849if test "$wxUSE_DATETIME" = "yes"; then
34850
34851for ac_func in strptime
34852do
34853as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34854echo "$as_me:$LINENO: checking for $ac_func" >&5
34855echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34856if eval "test \"\${$as_ac_var+set}\" = set"; then
34857 echo $ECHO_N "(cached) $ECHO_C" >&6
34858else
34859 cat >conftest.$ac_ext <<_ACEOF
34860/* confdefs.h. */
34861_ACEOF
34862cat confdefs.h >>conftest.$ac_ext
34863cat >>conftest.$ac_ext <<_ACEOF
34864/* end confdefs.h. */
34865/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34867#define $ac_func innocuous_$ac_func
34868
34869/* System header to define __stub macros and hopefully few prototypes,
34870 which can conflict with char $ac_func (); below.
34871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34872 <limits.h> exists even on freestanding compilers. */
34873
34874#ifdef __STDC__
34875# include <limits.h>
34876#else
34877# include <assert.h>
34878#endif
34879
34880#undef $ac_func
34881
34882/* Override any gcc2 internal prototype to avoid an error. */
34883#ifdef __cplusplus
34884extern "C"
34885{
34886#endif
34887/* We use char because int might match the return type of a gcc2
34888 builtin and then its argument prototype would still apply. */
34889char $ac_func ();
34890/* The GNU C library defines this for functions which it implements
34891 to always fail with ENOSYS. Some functions are actually named
34892 something starting with __ and the normal name is an alias. */
34893#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34894choke me
34895#else
34896char (*f) () = $ac_func;
34897#endif
34898#ifdef __cplusplus
34899}
34900#endif
34901
34902int
34903main ()
34904{
34905return f != $ac_func;
34906 ;
34907 return 0;
34908}
34909_ACEOF
34910rm -f conftest.$ac_objext conftest$ac_exeext
34911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34912 (eval $ac_link) 2>conftest.er1
34913 ac_status=$?
34914 grep -v '^ *+' conftest.er1 >conftest.err
34915 rm -f conftest.er1
34916 cat conftest.err >&5
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); } &&
34919 { ac_try='test -z "$ac_c_werror_flag"
34920 || test ! -s conftest.err'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34923 ac_status=$?
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; } &&
34926 { ac_try='test -s conftest$ac_exeext'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34929 ac_status=$?
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; }; then
34932 eval "$as_ac_var=yes"
34933else
34934 echo "$as_me: failed program was:" >&5
34935sed 's/^/| /' conftest.$ac_ext >&5
34936
34937eval "$as_ac_var=no"
34938fi
34939rm -f conftest.err conftest.$ac_objext \
34940 conftest$ac_exeext conftest.$ac_ext
34941fi
34942echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34943echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34944if test `eval echo '${'$as_ac_var'}'` = yes; then
34945 cat >>confdefs.h <<_ACEOF
34946#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34947_ACEOF
34948
34949fi
34950done
34951
34952
34953 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34954echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34955if test "${wx_cv_var_timezone+set}" = set; then
34956 echo $ECHO_N "(cached) $ECHO_C" >&6
34957else
34958
34959 cat >conftest.$ac_ext <<_ACEOF
34960/* confdefs.h. */
34961_ACEOF
34962cat confdefs.h >>conftest.$ac_ext
34963cat >>conftest.$ac_ext <<_ACEOF
34964/* end confdefs.h. */
34965
34966 #include <time.h>
34967
34968int
34969main ()
34970{
34971
34972 int tz;
34973 tz = timezone;
34974
34975 ;
34976 return 0;
34977}
34978_ACEOF
34979rm -f conftest.$ac_objext
34980if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34981 (eval $ac_compile) 2>conftest.er1
34982 ac_status=$?
34983 grep -v '^ *+' conftest.er1 >conftest.err
34984 rm -f conftest.er1
34985 cat conftest.err >&5
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); } &&
34988 { ac_try='test -z "$ac_c_werror_flag"
34989 || test ! -s conftest.err'
34990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34991 (eval $ac_try) 2>&5
34992 ac_status=$?
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); }; } &&
34995 { ac_try='test -s conftest.$ac_objext'
34996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34997 (eval $ac_try) 2>&5
34998 ac_status=$?
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); }; }; then
35001
35002 wx_cv_var_timezone=timezone
35003
35004else
35005 echo "$as_me: failed program was:" >&5
35006sed 's/^/| /' conftest.$ac_ext >&5
35007
35008
35009 cat >conftest.$ac_ext <<_ACEOF
35010/* confdefs.h. */
35011_ACEOF
35012cat confdefs.h >>conftest.$ac_ext
35013cat >>conftest.$ac_ext <<_ACEOF
35014/* end confdefs.h. */
35015
35016 #include <time.h>
35017
35018int
35019main ()
35020{
35021
35022 int tz;
35023 tz = _timezone;
35024
35025 ;
35026 return 0;
35027}
35028_ACEOF
35029rm -f conftest.$ac_objext
35030if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35031 (eval $ac_compile) 2>conftest.er1
35032 ac_status=$?
35033 grep -v '^ *+' conftest.er1 >conftest.err
35034 rm -f conftest.er1
35035 cat conftest.err >&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } &&
35038 { ac_try='test -z "$ac_c_werror_flag"
35039 || test ! -s conftest.err'
35040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35041 (eval $ac_try) 2>&5
35042 ac_status=$?
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); }; } &&
35045 { ac_try='test -s conftest.$ac_objext'
35046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35047 (eval $ac_try) 2>&5
35048 ac_status=$?
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); }; }; then
35051
35052 wx_cv_var_timezone=_timezone
35053
35054else
35055 echo "$as_me: failed program was:" >&5
35056sed 's/^/| /' conftest.$ac_ext >&5
35057
35058
35059 cat >conftest.$ac_ext <<_ACEOF
35060/* confdefs.h. */
35061_ACEOF
35062cat confdefs.h >>conftest.$ac_ext
35063cat >>conftest.$ac_ext <<_ACEOF
35064/* end confdefs.h. */
35065
35066 #include <time.h>
35067
35068int
35069main ()
35070{
35071
35072 int tz;
35073 tz = __timezone;
35074
35075 ;
35076 return 0;
35077}
35078_ACEOF
35079rm -f conftest.$ac_objext
35080if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35081 (eval $ac_compile) 2>conftest.er1
35082 ac_status=$?
35083 grep -v '^ *+' conftest.er1 >conftest.err
35084 rm -f conftest.er1
35085 cat conftest.err >&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } &&
35088 { ac_try='test -z "$ac_c_werror_flag"
35089 || test ! -s conftest.err'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; } &&
35095 { ac_try='test -s conftest.$ac_objext'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35098 ac_status=$?
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; }; then
35101
35102 wx_cv_var_timezone=__timezone
35103
35104else
35105 echo "$as_me: failed program was:" >&5
35106sed 's/^/| /' conftest.$ac_ext >&5
35107
35108
35109 if test "$USE_DOS" = 0 ; then
35110 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35111echo "$as_me: WARNING: no timezone variable" >&2;}
35112 fi
35113
35114
35115fi
35116rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35117
35118
35119fi
35120rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35121
35122
35123fi
35124rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35125
35126
35127fi
35128echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35129echo "${ECHO_T}$wx_cv_var_timezone" >&6
35130
35131 if test "x$wx_cv_var_timezone" != x ; then
35132 cat >>confdefs.h <<_ACEOF
35133#define WX_TIMEZONE $wx_cv_var_timezone
35134_ACEOF
35135
35136 fi
35137
35138
35139for ac_func in localtime
35140do
35141as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35142echo "$as_me:$LINENO: checking for $ac_func" >&5
35143echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35144if eval "test \"\${$as_ac_var+set}\" = set"; then
35145 echo $ECHO_N "(cached) $ECHO_C" >&6
35146else
35147 cat >conftest.$ac_ext <<_ACEOF
35148/* confdefs.h. */
35149_ACEOF
35150cat confdefs.h >>conftest.$ac_ext
35151cat >>conftest.$ac_ext <<_ACEOF
35152/* end confdefs.h. */
35153/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35155#define $ac_func innocuous_$ac_func
35156
35157/* System header to define __stub macros and hopefully few prototypes,
35158 which can conflict with char $ac_func (); below.
35159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35160 <limits.h> exists even on freestanding compilers. */
35161
35162#ifdef __STDC__
35163# include <limits.h>
35164#else
35165# include <assert.h>
35166#endif
35167
35168#undef $ac_func
35169
35170/* Override any gcc2 internal prototype to avoid an error. */
35171#ifdef __cplusplus
35172extern "C"
35173{
35174#endif
35175/* We use char because int might match the return type of a gcc2
35176 builtin and then its argument prototype would still apply. */
35177char $ac_func ();
35178/* The GNU C library defines this for functions which it implements
35179 to always fail with ENOSYS. Some functions are actually named
35180 something starting with __ and the normal name is an alias. */
35181#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35182choke me
35183#else
35184char (*f) () = $ac_func;
35185#endif
35186#ifdef __cplusplus
35187}
35188#endif
35189
35190int
35191main ()
35192{
35193return f != $ac_func;
35194 ;
35195 return 0;
35196}
35197_ACEOF
35198rm -f conftest.$ac_objext conftest$ac_exeext
35199if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35200 (eval $ac_link) 2>conftest.er1
35201 ac_status=$?
35202 grep -v '^ *+' conftest.er1 >conftest.err
35203 rm -f conftest.er1
35204 cat conftest.err >&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } &&
35207 { ac_try='test -z "$ac_c_werror_flag"
35208 || test ! -s conftest.err'
35209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35210 (eval $ac_try) 2>&5
35211 ac_status=$?
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; } &&
35214 { ac_try='test -s conftest$ac_exeext'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35217 ac_status=$?
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; }; then
35220 eval "$as_ac_var=yes"
35221else
35222 echo "$as_me: failed program was:" >&5
35223sed 's/^/| /' conftest.$ac_ext >&5
35224
35225eval "$as_ac_var=no"
35226fi
35227rm -f conftest.err conftest.$ac_objext \
35228 conftest$ac_exeext conftest.$ac_ext
35229fi
35230echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35231echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35232if test `eval echo '${'$as_ac_var'}'` = yes; then
35233 cat >>confdefs.h <<_ACEOF
35234#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35235_ACEOF
35236
35237fi
35238done
35239
35240
35241 if test "$ac_cv_func_localtime" = "yes"; then
35242 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35243echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35244if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35245 echo $ECHO_N "(cached) $ECHO_C" >&6
35246else
35247
35248 cat >conftest.$ac_ext <<_ACEOF
35249/* confdefs.h. */
35250_ACEOF
35251cat confdefs.h >>conftest.$ac_ext
35252cat >>conftest.$ac_ext <<_ACEOF
35253/* end confdefs.h. */
35254
35255 #include <time.h>
35256
35257int
35258main ()
35259{
35260
35261 struct tm tm;
35262 tm.tm_gmtoff++;
35263
35264 ;
35265 return 0;
35266}
35267_ACEOF
35268rm -f conftest.$ac_objext
35269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35270 (eval $ac_compile) 2>conftest.er1
35271 ac_status=$?
35272 grep -v '^ *+' conftest.er1 >conftest.err
35273 rm -f conftest.er1
35274 cat conftest.err >&5
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); } &&
35277 { ac_try='test -z "$ac_c_werror_flag"
35278 || test ! -s conftest.err'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35281 ac_status=$?
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; } &&
35284 { ac_try='test -s conftest.$ac_objext'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35287 ac_status=$?
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; }; then
35290
35291 wx_cv_struct_tm_has_gmtoff=yes
35292
35293else
35294 echo "$as_me: failed program was:" >&5
35295sed 's/^/| /' conftest.$ac_ext >&5
35296
35297wx_cv_struct_tm_has_gmtoff=no
35298
35299fi
35300rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35301
35302fi
35303echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35304echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35305 fi
35306
35307 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35308 cat >>confdefs.h <<\_ACEOF
35309#define WX_GMTOFF_IN_TM 1
35310_ACEOF
35311
35312 fi
35313
35314
35315
35316for ac_func in gettimeofday ftime
35317do
35318as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35319echo "$as_me:$LINENO: checking for $ac_func" >&5
35320echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35321if eval "test \"\${$as_ac_var+set}\" = set"; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323else
35324 cat >conftest.$ac_ext <<_ACEOF
35325/* confdefs.h. */
35326_ACEOF
35327cat confdefs.h >>conftest.$ac_ext
35328cat >>conftest.$ac_ext <<_ACEOF
35329/* end confdefs.h. */
35330/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35332#define $ac_func innocuous_$ac_func
35333
35334/* System header to define __stub macros and hopefully few prototypes,
35335 which can conflict with char $ac_func (); below.
35336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35337 <limits.h> exists even on freestanding compilers. */
35338
35339#ifdef __STDC__
35340# include <limits.h>
35341#else
35342# include <assert.h>
35343#endif
35344
35345#undef $ac_func
35346
35347/* Override any gcc2 internal prototype to avoid an error. */
35348#ifdef __cplusplus
35349extern "C"
35350{
35351#endif
35352/* We use char because int might match the return type of a gcc2
35353 builtin and then its argument prototype would still apply. */
35354char $ac_func ();
35355/* The GNU C library defines this for functions which it implements
35356 to always fail with ENOSYS. Some functions are actually named
35357 something starting with __ and the normal name is an alias. */
35358#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35359choke me
35360#else
35361char (*f) () = $ac_func;
35362#endif
35363#ifdef __cplusplus
35364}
35365#endif
35366
35367int
35368main ()
35369{
35370return f != $ac_func;
35371 ;
35372 return 0;
35373}
35374_ACEOF
35375rm -f conftest.$ac_objext conftest$ac_exeext
35376if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35377 (eval $ac_link) 2>conftest.er1
35378 ac_status=$?
35379 grep -v '^ *+' conftest.er1 >conftest.err
35380 rm -f conftest.er1
35381 cat conftest.err >&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
35384 { ac_try='test -z "$ac_c_werror_flag"
35385 || test ! -s conftest.err'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35388 ac_status=$?
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; } &&
35391 { ac_try='test -s conftest$ac_exeext'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35394 ac_status=$?
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; }; then
35397 eval "$as_ac_var=yes"
35398else
35399 echo "$as_me: failed program was:" >&5
35400sed 's/^/| /' conftest.$ac_ext >&5
35401
35402eval "$as_ac_var=no"
35403fi
35404rm -f conftest.err conftest.$ac_objext \
35405 conftest$ac_exeext conftest.$ac_ext
35406fi
35407echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35408echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35409if test `eval echo '${'$as_ac_var'}'` = yes; then
35410 cat >>confdefs.h <<_ACEOF
35411#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35412_ACEOF
35413 break
35414fi
35415done
35416
35417
35418 if test "$ac_cv_func_gettimeofday" = "yes"; then
35419 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35420echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35421if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35422 echo $ECHO_N "(cached) $ECHO_C" >&6
35423else
35424
35425
35426
35427 ac_ext=cc
35428ac_cpp='$CXXCPP $CPPFLAGS'
35429ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432
35433
35434 cat >conftest.$ac_ext <<_ACEOF
35435/* confdefs.h. */
35436_ACEOF
35437cat confdefs.h >>conftest.$ac_ext
35438cat >>conftest.$ac_ext <<_ACEOF
35439/* end confdefs.h. */
35440
35441 #include <sys/time.h>
35442 #include <unistd.h>
35443
35444int
35445main ()
35446{
35447
35448 struct timeval tv;
35449 gettimeofday(&tv, NULL);
35450
35451 ;
35452 return 0;
35453}
35454_ACEOF
35455rm -f conftest.$ac_objext
35456if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35457 (eval $ac_compile) 2>conftest.er1
35458 ac_status=$?
35459 grep -v '^ *+' conftest.er1 >conftest.err
35460 rm -f conftest.er1
35461 cat conftest.err >&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } &&
35464 { ac_try='test -z "$ac_cxx_werror_flag"
35465 || test ! -s conftest.err'
35466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35467 (eval $ac_try) 2>&5
35468 ac_status=$?
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); }; } &&
35471 { ac_try='test -s conftest.$ac_objext'
35472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35473 (eval $ac_try) 2>&5
35474 ac_status=$?
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); }; }; then
35477 wx_cv_func_gettimeofday_has_2_args=yes
35478else
35479 echo "$as_me: failed program was:" >&5
35480sed 's/^/| /' conftest.$ac_ext >&5
35481
35482cat >conftest.$ac_ext <<_ACEOF
35483/* confdefs.h. */
35484_ACEOF
35485cat confdefs.h >>conftest.$ac_ext
35486cat >>conftest.$ac_ext <<_ACEOF
35487/* end confdefs.h. */
35488
35489 #include <sys/time.h>
35490 #include <unistd.h>
35491
35492int
35493main ()
35494{
35495
35496 struct timeval tv;
35497 gettimeofday(&tv);
35498
35499 ;
35500 return 0;
35501}
35502_ACEOF
35503rm -f conftest.$ac_objext
35504if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35505 (eval $ac_compile) 2>conftest.er1
35506 ac_status=$?
35507 grep -v '^ *+' conftest.er1 >conftest.err
35508 rm -f conftest.er1
35509 cat conftest.err >&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); } &&
35512 { ac_try='test -z "$ac_cxx_werror_flag"
35513 || test ! -s conftest.err'
35514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515 (eval $ac_try) 2>&5
35516 ac_status=$?
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); }; } &&
35519 { ac_try='test -s conftest.$ac_objext'
35520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35521 (eval $ac_try) 2>&5
35522 ac_status=$?
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); }; }; then
35525 wx_cv_func_gettimeofday_has_2_args=no
35526else
35527 echo "$as_me: failed program was:" >&5
35528sed 's/^/| /' conftest.$ac_ext >&5
35529
35530
35531 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35532echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35533 wx_cv_func_gettimeofday_has_2_args=unknown
35534
35535
35536fi
35537rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35538
35539fi
35540rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35541 ac_ext=c
35542ac_cpp='$CPP $CPPFLAGS'
35543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35545ac_compiler_gnu=$ac_cv_c_compiler_gnu
35546
35547
35548fi
35549echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35550echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35551
35552 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35553 cat >>confdefs.h <<\_ACEOF
35554#define WX_GETTIMEOFDAY_NO_TZ 1
35555_ACEOF
35556
35557 fi
35558 fi
35559
35560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35561fi
35562
35563
35564if test "$wxUSE_SOCKETS" = "yes"; then
35565 if test "$wxUSE_MGL" = "1"; then
35566 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35567echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35568 wxUSE_SOCKETS="no"
35569 fi
35570fi
35571
35572if test "$wxUSE_SOCKETS" = "yes"; then
35573 if test "$TOOLKIT" != "MSW"; then
35574 echo "$as_me:$LINENO: checking for socket" >&5
35575echo $ECHO_N "checking for socket... $ECHO_C" >&6
35576if test "${ac_cv_func_socket+set}" = set; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35578else
35579 cat >conftest.$ac_ext <<_ACEOF
35580/* confdefs.h. */
35581_ACEOF
35582cat confdefs.h >>conftest.$ac_ext
35583cat >>conftest.$ac_ext <<_ACEOF
35584/* end confdefs.h. */
35585/* Define socket to an innocuous variant, in case <limits.h> declares socket.
35586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35587#define socket innocuous_socket
35588
35589/* System header to define __stub macros and hopefully few prototypes,
35590 which can conflict with char socket (); below.
35591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35592 <limits.h> exists even on freestanding compilers. */
35593
35594#ifdef __STDC__
35595# include <limits.h>
35596#else
35597# include <assert.h>
35598#endif
35599
35600#undef socket
35601
35602/* Override any gcc2 internal prototype to avoid an error. */
35603#ifdef __cplusplus
35604extern "C"
35605{
35606#endif
35607/* We use char because int might match the return type of a gcc2
35608 builtin and then its argument prototype would still apply. */
35609char socket ();
35610/* The GNU C library defines this for functions which it implements
35611 to always fail with ENOSYS. Some functions are actually named
35612 something starting with __ and the normal name is an alias. */
35613#if defined (__stub_socket) || defined (__stub___socket)
35614choke me
35615#else
35616char (*f) () = socket;
35617#endif
35618#ifdef __cplusplus
35619}
35620#endif
35621
35622int
35623main ()
35624{
35625return f != socket;
35626 ;
35627 return 0;
35628}
35629_ACEOF
35630rm -f conftest.$ac_objext conftest$ac_exeext
35631if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35632 (eval $ac_link) 2>conftest.er1
35633 ac_status=$?
35634 grep -v '^ *+' conftest.er1 >conftest.err
35635 rm -f conftest.er1
35636 cat conftest.err >&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); } &&
35639 { ac_try='test -z "$ac_c_werror_flag"
35640 || test ! -s conftest.err'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35643 ac_status=$?
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; } &&
35646 { ac_try='test -s conftest$ac_exeext'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35649 ac_status=$?
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; }; then
35652 ac_cv_func_socket=yes
35653else
35654 echo "$as_me: failed program was:" >&5
35655sed 's/^/| /' conftest.$ac_ext >&5
35656
35657ac_cv_func_socket=no
35658fi
35659rm -f conftest.err conftest.$ac_objext \
35660 conftest$ac_exeext conftest.$ac_ext
35661fi
35662echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35663echo "${ECHO_T}$ac_cv_func_socket" >&6
35664if test $ac_cv_func_socket = yes; then
35665 :
35666else
35667
35668 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35669echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35670if test "${ac_cv_lib_socket_socket+set}" = set; then
35671 echo $ECHO_N "(cached) $ECHO_C" >&6
35672else
35673 ac_check_lib_save_LIBS=$LIBS
35674LIBS="-lsocket $LIBS"
35675cat >conftest.$ac_ext <<_ACEOF
35676/* confdefs.h. */
35677_ACEOF
35678cat confdefs.h >>conftest.$ac_ext
35679cat >>conftest.$ac_ext <<_ACEOF
35680/* end confdefs.h. */
35681
35682/* Override any gcc2 internal prototype to avoid an error. */
35683#ifdef __cplusplus
35684extern "C"
35685#endif
35686/* We use char because int might match the return type of a gcc2
35687 builtin and then its argument prototype would still apply. */
35688char socket ();
35689int
35690main ()
35691{
35692socket ();
35693 ;
35694 return 0;
35695}
35696_ACEOF
35697rm -f conftest.$ac_objext conftest$ac_exeext
35698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35699 (eval $ac_link) 2>conftest.er1
35700 ac_status=$?
35701 grep -v '^ *+' conftest.er1 >conftest.err
35702 rm -f conftest.er1
35703 cat conftest.err >&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try='test -z "$ac_c_werror_flag"
35707 || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try='test -s conftest$ac_exeext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 ac_cv_lib_socket_socket=yes
35720else
35721 echo "$as_me: failed program was:" >&5
35722sed 's/^/| /' conftest.$ac_ext >&5
35723
35724ac_cv_lib_socket_socket=no
35725fi
35726rm -f conftest.err conftest.$ac_objext \
35727 conftest$ac_exeext conftest.$ac_ext
35728LIBS=$ac_check_lib_save_LIBS
35729fi
35730echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35731echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35732if test $ac_cv_lib_socket_socket = yes; then
35733 if test "$INET_LINK" != " -lsocket"; then
35734 INET_LINK="$INET_LINK -lsocket"
35735 fi
35736else
35737
35738 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35739echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35740 wxUSE_SOCKETS=no
35741
35742
35743fi
35744
35745
35746
35747fi
35748
35749 fi
35750fi
35751
35752if test "$wxUSE_SOCKETS" = "yes" ; then
35753 if test "$TOOLKIT" != "MSW"; then
35754 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35755echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35756if test "${wx_cv_type_getsockname3+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35758else
35759
35760 cat >conftest.$ac_ext <<_ACEOF
35761/* confdefs.h. */
35762_ACEOF
35763cat confdefs.h >>conftest.$ac_ext
35764cat >>conftest.$ac_ext <<_ACEOF
35765/* end confdefs.h. */
35766
35767 #include <sys/types.h>
35768 #include <sys/socket.h>
35769
35770int
35771main ()
35772{
35773
35774 socklen_t len;
35775 getsockname(0, 0, &len);
35776
35777 ;
35778 return 0;
35779}
35780_ACEOF
35781rm -f conftest.$ac_objext
35782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35783 (eval $ac_compile) 2>conftest.er1
35784 ac_status=$?
35785 grep -v '^ *+' conftest.er1 >conftest.err
35786 rm -f conftest.er1
35787 cat conftest.err >&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } &&
35790 { ac_try='test -z "$ac_c_werror_flag"
35791 || test ! -s conftest.err'
35792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35793 (eval $ac_try) 2>&5
35794 ac_status=$?
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); }; } &&
35797 { ac_try='test -s conftest.$ac_objext'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35800 ac_status=$?
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; }; then
35803 wx_cv_type_getsockname3=socklen_t
35804else
35805 echo "$as_me: failed program was:" >&5
35806sed 's/^/| /' conftest.$ac_ext >&5
35807
35808
35809 CFLAGS_OLD="$CFLAGS"
35810 if test "$GCC" = yes ; then
35811 CFLAGS="$CFLAGS -Werror"
35812 fi
35813
35814 cat >conftest.$ac_ext <<_ACEOF
35815/* confdefs.h. */
35816_ACEOF
35817cat confdefs.h >>conftest.$ac_ext
35818cat >>conftest.$ac_ext <<_ACEOF
35819/* end confdefs.h. */
35820
35821 #include <sys/types.h>
35822 #include <sys/socket.h>
35823
35824int
35825main ()
35826{
35827
35828 size_t len;
35829 getsockname(0, 0, &len);
35830
35831 ;
35832 return 0;
35833}
35834_ACEOF
35835rm -f conftest.$ac_objext
35836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35837 (eval $ac_compile) 2>conftest.er1
35838 ac_status=$?
35839 grep -v '^ *+' conftest.er1 >conftest.err
35840 rm -f conftest.er1
35841 cat conftest.err >&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } &&
35844 { ac_try='test -z "$ac_c_werror_flag"
35845 || test ! -s conftest.err'
35846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35847 (eval $ac_try) 2>&5
35848 ac_status=$?
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); }; } &&
35851 { ac_try='test -s conftest.$ac_objext'
35852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35853 (eval $ac_try) 2>&5
35854 ac_status=$?
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); }; }; then
35857 wx_cv_type_getsockname3=size_t
35858else
35859 echo "$as_me: failed program was:" >&5
35860sed 's/^/| /' conftest.$ac_ext >&5
35861
35862cat >conftest.$ac_ext <<_ACEOF
35863/* confdefs.h. */
35864_ACEOF
35865cat confdefs.h >>conftest.$ac_ext
35866cat >>conftest.$ac_ext <<_ACEOF
35867/* end confdefs.h. */
35868
35869 #include <sys/types.h>
35870 #include <sys/socket.h>
35871
35872int
35873main ()
35874{
35875
35876 int len;
35877 getsockname(0, 0, &len);
35878
35879 ;
35880 return 0;
35881}
35882_ACEOF
35883rm -f conftest.$ac_objext
35884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35885 (eval $ac_compile) 2>conftest.er1
35886 ac_status=$?
35887 grep -v '^ *+' conftest.er1 >conftest.err
35888 rm -f conftest.er1
35889 cat conftest.err >&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } &&
35892 { ac_try='test -z "$ac_c_werror_flag"
35893 || test ! -s conftest.err'
35894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35895 (eval $ac_try) 2>&5
35896 ac_status=$?
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); }; } &&
35899 { ac_try='test -s conftest.$ac_objext'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35902 ac_status=$?
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; }; then
35905 wx_cv_type_getsockname3=int
35906else
35907 echo "$as_me: failed program was:" >&5
35908sed 's/^/| /' conftest.$ac_ext >&5
35909
35910wx_cv_type_getsockname3=unknown
35911
35912fi
35913rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35914
35915fi
35916rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35917
35918 CFLAGS="$CFLAGS_OLD"
35919
35920
35921fi
35922rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35923
35924fi
35925echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35926echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35927
35928 if test "$wx_cv_type_getsockname3" = "unknown"; then
35929 wxUSE_SOCKETS=no
35930 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35931echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35932 else
35933 cat >>confdefs.h <<_ACEOF
35934#define SOCKLEN_T $wx_cv_type_getsockname3
35935_ACEOF
35936
35937 fi
35938 fi
35939fi
35940
35941if test "$wxUSE_SOCKETS" = "yes" ; then
35942 cat >>confdefs.h <<\_ACEOF
35943#define wxUSE_SOCKETS 1
35944_ACEOF
35945
35946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35947fi
35948
35949if test "$wxUSE_PROTOCOL" = "yes"; then
35950 if test "$wxUSE_SOCKETS" != "yes"; then
35951 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35952echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35953 wxUSE_PROTOCOL=no
35954 fi
35955fi
35956
35957if test "$wxUSE_PROTOCOL" = "yes"; then
35958 cat >>confdefs.h <<\_ACEOF
35959#define wxUSE_PROTOCOL 1
35960_ACEOF
35961
35962
35963 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35964 cat >>confdefs.h <<\_ACEOF
35965#define wxUSE_PROTOCOL_HTTP 1
35966_ACEOF
35967
35968 fi
35969 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35970 cat >>confdefs.h <<\_ACEOF
35971#define wxUSE_PROTOCOL_FTP 1
35972_ACEOF
35973
35974 fi
35975 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35976 cat >>confdefs.h <<\_ACEOF
35977#define wxUSE_PROTOCOL_FILE 1
35978_ACEOF
35979
35980 fi
35981else
35982 if test "$wxUSE_FS_INET" = "yes"; then
35983 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35984echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35985 wxUSE_FS_INET="no"
35986 fi
35987fi
35988
35989if test "$wxUSE_URL" = "yes"; then
35990 if test "$wxUSE_PROTOCOL" != "yes"; then
35991 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35992echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35993 wxUSE_URL=no
35994 fi
35995 if test "$wxUSE_URL" = "yes"; then
35996 cat >>confdefs.h <<\_ACEOF
35997#define wxUSE_URL 1
35998_ACEOF
35999
36000 fi
36001fi
36002
36003if test "$wxUSE_FS_INET" = "yes"; then
36004 cat >>confdefs.h <<\_ACEOF
36005#define wxUSE_FS_INET 1
36006_ACEOF
36007
36008fi
36009
36010
36011if test "$wxUSE_GUI" = "yes"; then
36012
36013 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36014 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36015echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36016 wxUSE_JOYSTICK=no
36017 fi
36018
36019 if test "$TOOLKIT" != "MSW"; then
36020 if test "$wxUSE_JOYSTICK" = "yes"; then
36021
36022for ac_header in linux/joystick.h
36023do
36024as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36025if eval "test \"\${$as_ac_Header+set}\" = set"; then
36026 echo "$as_me:$LINENO: checking for $ac_header" >&5
36027echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36028if eval "test \"\${$as_ac_Header+set}\" = set"; then
36029 echo $ECHO_N "(cached) $ECHO_C" >&6
36030fi
36031echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36032echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36033else
36034 # Is the header compilable?
36035echo "$as_me:$LINENO: checking $ac_header usability" >&5
36036echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36037cat >conftest.$ac_ext <<_ACEOF
36038/* confdefs.h. */
36039_ACEOF
36040cat confdefs.h >>conftest.$ac_ext
36041cat >>conftest.$ac_ext <<_ACEOF
36042/* end confdefs.h. */
36043$ac_includes_default
36044#include <$ac_header>
36045_ACEOF
36046rm -f conftest.$ac_objext
36047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36048 (eval $ac_compile) 2>conftest.er1
36049 ac_status=$?
36050 grep -v '^ *+' conftest.er1 >conftest.err
36051 rm -f conftest.er1
36052 cat conftest.err >&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); } &&
36055 { ac_try='test -z "$ac_c_werror_flag"
36056 || test ! -s conftest.err'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; } &&
36062 { ac_try='test -s conftest.$ac_objext'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36065 ac_status=$?
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; }; then
36068 ac_header_compiler=yes
36069else
36070 echo "$as_me: failed program was:" >&5
36071sed 's/^/| /' conftest.$ac_ext >&5
36072
36073ac_header_compiler=no
36074fi
36075rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36076echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36077echo "${ECHO_T}$ac_header_compiler" >&6
36078
36079# Is the header present?
36080echo "$as_me:$LINENO: checking $ac_header presence" >&5
36081echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36082cat >conftest.$ac_ext <<_ACEOF
36083/* confdefs.h. */
36084_ACEOF
36085cat confdefs.h >>conftest.$ac_ext
36086cat >>conftest.$ac_ext <<_ACEOF
36087/* end confdefs.h. */
36088#include <$ac_header>
36089_ACEOF
36090if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36092 ac_status=$?
36093 grep -v '^ *+' conftest.er1 >conftest.err
36094 rm -f conftest.er1
36095 cat conftest.err >&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); } >/dev/null; then
36098 if test -s conftest.err; then
36099 ac_cpp_err=$ac_c_preproc_warn_flag
36100 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36101 else
36102 ac_cpp_err=
36103 fi
36104else
36105 ac_cpp_err=yes
36106fi
36107if test -z "$ac_cpp_err"; then
36108 ac_header_preproc=yes
36109else
36110 echo "$as_me: failed program was:" >&5
36111sed 's/^/| /' conftest.$ac_ext >&5
36112
36113 ac_header_preproc=no
36114fi
36115rm -f conftest.err conftest.$ac_ext
36116echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36117echo "${ECHO_T}$ac_header_preproc" >&6
36118
36119# So? What about this header?
36120case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36121 yes:no: )
36122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36123echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36125echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36126 ac_header_preproc=yes
36127 ;;
36128 no:yes:* )
36129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36130echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36132echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36134echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36136echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36138echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36140echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36141 (
36142 cat <<\_ASBOX
36143## ----------------------------------------- ##
36144## Report this to wx-dev@lists.wxwindows.org ##
36145## ----------------------------------------- ##
36146_ASBOX
36147 ) |
36148 sed "s/^/$as_me: WARNING: /" >&2
36149 ;;
36150esac
36151echo "$as_me:$LINENO: checking for $ac_header" >&5
36152echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36153if eval "test \"\${$as_ac_Header+set}\" = set"; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36155else
36156 eval "$as_ac_Header=\$ac_header_preproc"
36157fi
36158echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36159echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36160
36161fi
36162if test `eval echo '${'$as_ac_Header'}'` = yes; then
36163 cat >>confdefs.h <<_ACEOF
36164#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36165_ACEOF
36166
36167fi
36168
36169done
36170
36171 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36172 wxUSE_JOYSTICK=no
36173 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36174echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36175 fi
36176 fi
36177 fi
36178
36179 if test "$wxUSE_JOYSTICK" = "yes"; then
36180 cat >>confdefs.h <<\_ACEOF
36181#define wxUSE_JOYSTICK 1
36182_ACEOF
36183
36184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36185 fi
36186fi
36187
36188
36189
36190if test "$wxUSE_FONTMAP" = "yes" ; then
36191 cat >>confdefs.h <<\_ACEOF
36192#define wxUSE_FONTMAP 1
36193_ACEOF
36194
36195fi
36196
36197if test "$wxUSE_UNICODE" = "yes" ; then
36198 cat >>confdefs.h <<\_ACEOF
36199#define wxUSE_UNICODE 1
36200_ACEOF
36201
36202
36203 if test "$USE_WIN32" != 1; then
36204 wxUSE_UNICODE_MSLU=no
36205 fi
36206
36207 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36208 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36209echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36210if test "${ac_cv_lib_unicows_main+set}" = set; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36212else
36213 ac_check_lib_save_LIBS=$LIBS
36214LIBS="-lunicows $LIBS"
36215cat >conftest.$ac_ext <<_ACEOF
36216/* confdefs.h. */
36217_ACEOF
36218cat confdefs.h >>conftest.$ac_ext
36219cat >>conftest.$ac_ext <<_ACEOF
36220/* end confdefs.h. */
36221
36222
36223int
36224main ()
36225{
36226main ();
36227 ;
36228 return 0;
36229}
36230_ACEOF
36231rm -f conftest.$ac_objext conftest$ac_exeext
36232if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36233 (eval $ac_link) 2>conftest.er1
36234 ac_status=$?
36235 grep -v '^ *+' conftest.er1 >conftest.err
36236 rm -f conftest.er1
36237 cat conftest.err >&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try='test -z "$ac_c_werror_flag"
36241 || test ! -s conftest.err'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36244 ac_status=$?
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; } &&
36247 { ac_try='test -s conftest$ac_exeext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36250 ac_status=$?
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 ac_cv_lib_unicows_main=yes
36254else
36255 echo "$as_me: failed program was:" >&5
36256sed 's/^/| /' conftest.$ac_ext >&5
36257
36258ac_cv_lib_unicows_main=no
36259fi
36260rm -f conftest.err conftest.$ac_objext \
36261 conftest$ac_exeext conftest.$ac_ext
36262LIBS=$ac_check_lib_save_LIBS
36263fi
36264echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36265echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36266if test $ac_cv_lib_unicows_main = yes; then
36267
36268 cat >>confdefs.h <<\_ACEOF
36269#define wxUSE_UNICODE_MSLU 1
36270_ACEOF
36271
36272
36273else
36274
36275 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36276 Applications will only run on Windows NT/2000/XP!" >&5
36277echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36278 Applications will only run on Windows NT/2000/XP!" >&2;}
36279 wxUSE_UNICODE_MSLU=no
36280
36281fi
36282
36283 fi
36284fi
36285
36286if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36287 cat >>confdefs.h <<\_ACEOF
36288#define wxUSE_EXPERIMENTAL_PRINTF 1
36289_ACEOF
36290
36291fi
36292
36293
36294if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36295 cat >>confdefs.h <<\_ACEOF
36296#define wxUSE_POSTSCRIPT 1
36297_ACEOF
36298
36299fi
36300
36301cat >>confdefs.h <<\_ACEOF
36302#define wxUSE_AFM_FOR_POSTSCRIPT 1
36303_ACEOF
36304
36305
36306cat >>confdefs.h <<\_ACEOF
36307#define wxUSE_NORMALIZED_PS_FONTS 1
36308_ACEOF
36309
36310
36311
36312if test "$wxUSE_CONSTRAINTS" = "yes"; then
36313 cat >>confdefs.h <<\_ACEOF
36314#define wxUSE_CONSTRAINTS 1
36315_ACEOF
36316
36317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36318fi
36319
36320if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36321 cat >>confdefs.h <<\_ACEOF
36322#define wxUSE_MDI_ARCHITECTURE 1
36323_ACEOF
36324
36325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36326fi
36327
36328if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36329 cat >>confdefs.h <<\_ACEOF
36330#define wxUSE_DOC_VIEW_ARCHITECTURE 1
36331_ACEOF
36332
36333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36334 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36336 fi
36337fi
36338
36339if test "$wxUSE_HELP" = "yes"; then
36340 cat >>confdefs.h <<\_ACEOF
36341#define wxUSE_HELP 1
36342_ACEOF
36343
36344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36345
36346 if test "$wxUSE_MSW" = 1; then
36347 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36348 cat >>confdefs.h <<\_ACEOF
36349#define wxUSE_MS_HTML_HELP 1
36350_ACEOF
36351
36352 fi
36353 fi
36354
36355 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36356 if test "$wxUSE_HTML" = "yes"; then
36357 cat >>confdefs.h <<\_ACEOF
36358#define wxUSE_WXHTML_HELP 1
36359_ACEOF
36360
36361 else
36362 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36363echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36364 wxUSE_WXHTML_HELP=no
36365 fi
36366 fi
36367fi
36368
36369if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36370 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36371 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36372echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36373 else
36374 cat >>confdefs.h <<\_ACEOF
36375#define wxUSE_PRINTING_ARCHITECTURE 1
36376_ACEOF
36377
36378 fi
36379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36380fi
36381
36382if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36383 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36384echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36385 { (exit 1); exit 1; }; }
36386fi
36387
36388
36389if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36390 -o "$wxUSE_CLIPBOARD" = "yes" \
36391 -o "$wxUSE_OLE" = "yes" \
36392 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36393
36394for ac_header in ole2.h
36395do
36396as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36397if eval "test \"\${$as_ac_Header+set}\" = set"; then
36398 echo "$as_me:$LINENO: checking for $ac_header" >&5
36399echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36400if eval "test \"\${$as_ac_Header+set}\" = set"; then
36401 echo $ECHO_N "(cached) $ECHO_C" >&6
36402fi
36403echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36404echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36405else
36406 # Is the header compilable?
36407echo "$as_me:$LINENO: checking $ac_header usability" >&5
36408echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36409cat >conftest.$ac_ext <<_ACEOF
36410/* confdefs.h. */
36411_ACEOF
36412cat confdefs.h >>conftest.$ac_ext
36413cat >>conftest.$ac_ext <<_ACEOF
36414/* end confdefs.h. */
36415$ac_includes_default
36416#include <$ac_header>
36417_ACEOF
36418rm -f conftest.$ac_objext
36419if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36420 (eval $ac_compile) 2>conftest.er1
36421 ac_status=$?
36422 grep -v '^ *+' conftest.er1 >conftest.err
36423 rm -f conftest.er1
36424 cat conftest.err >&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } &&
36427 { ac_try='test -z "$ac_c_werror_flag"
36428 || test ! -s conftest.err'
36429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36430 (eval $ac_try) 2>&5
36431 ac_status=$?
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); }; } &&
36434 { ac_try='test -s conftest.$ac_objext'
36435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36436 (eval $ac_try) 2>&5
36437 ac_status=$?
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); }; }; then
36440 ac_header_compiler=yes
36441else
36442 echo "$as_me: failed program was:" >&5
36443sed 's/^/| /' conftest.$ac_ext >&5
36444
36445ac_header_compiler=no
36446fi
36447rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36448echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36449echo "${ECHO_T}$ac_header_compiler" >&6
36450
36451# Is the header present?
36452echo "$as_me:$LINENO: checking $ac_header presence" >&5
36453echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36454cat >conftest.$ac_ext <<_ACEOF
36455/* confdefs.h. */
36456_ACEOF
36457cat confdefs.h >>conftest.$ac_ext
36458cat >>conftest.$ac_ext <<_ACEOF
36459/* end confdefs.h. */
36460#include <$ac_header>
36461_ACEOF
36462if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36464 ac_status=$?
36465 grep -v '^ *+' conftest.er1 >conftest.err
36466 rm -f conftest.er1
36467 cat conftest.err >&5
36468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36469 (exit $ac_status); } >/dev/null; then
36470 if test -s conftest.err; then
36471 ac_cpp_err=$ac_c_preproc_warn_flag
36472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36473 else
36474 ac_cpp_err=
36475 fi
36476else
36477 ac_cpp_err=yes
36478fi
36479if test -z "$ac_cpp_err"; then
36480 ac_header_preproc=yes
36481else
36482 echo "$as_me: failed program was:" >&5
36483sed 's/^/| /' conftest.$ac_ext >&5
36484
36485 ac_header_preproc=no
36486fi
36487rm -f conftest.err conftest.$ac_ext
36488echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36489echo "${ECHO_T}$ac_header_preproc" >&6
36490
36491# So? What about this header?
36492case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36493 yes:no: )
36494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36495echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36497echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36498 ac_header_preproc=yes
36499 ;;
36500 no:yes:* )
36501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36502echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36504echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36506echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36508echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36510echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36512echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36513 (
36514 cat <<\_ASBOX
36515## ----------------------------------------- ##
36516## Report this to wx-dev@lists.wxwindows.org ##
36517## ----------------------------------------- ##
36518_ASBOX
36519 ) |
36520 sed "s/^/$as_me: WARNING: /" >&2
36521 ;;
36522esac
36523echo "$as_me:$LINENO: checking for $ac_header" >&5
36524echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36525if eval "test \"\${$as_ac_Header+set}\" = set"; then
36526 echo $ECHO_N "(cached) $ECHO_C" >&6
36527else
36528 eval "$as_ac_Header=\$ac_header_preproc"
36529fi
36530echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36531echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36532
36533fi
36534if test `eval echo '${'$as_ac_Header'}'` = yes; then
36535 cat >>confdefs.h <<_ACEOF
36536#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36537_ACEOF
36538
36539fi
36540
36541done
36542
36543
36544 if test "$ac_cv_header_ole2_h" = "yes" ; then
36545 if test "$GCC" = yes ; then
36546
36547
36548 ac_ext=cc
36549ac_cpp='$CXXCPP $CPPFLAGS'
36550ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553
36554
36555 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36556echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36557 cat >conftest.$ac_ext <<_ACEOF
36558/* confdefs.h. */
36559_ACEOF
36560cat confdefs.h >>conftest.$ac_ext
36561cat >>conftest.$ac_ext <<_ACEOF
36562/* end confdefs.h. */
36563#include <windows.h>
36564 #include <ole2.h>
36565int
36566main ()
36567{
36568
36569 ;
36570 return 0;
36571}
36572_ACEOF
36573rm -f conftest.$ac_objext
36574if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36575 (eval $ac_compile) 2>conftest.er1
36576 ac_status=$?
36577 grep -v '^ *+' conftest.er1 >conftest.err
36578 rm -f conftest.er1
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } &&
36582 { ac_try='test -z "$ac_cxx_werror_flag"
36583 || test ! -s conftest.err'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36586 ac_status=$?
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; } &&
36589 { ac_try='test -s conftest.$ac_objext'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36592 ac_status=$?
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; }; then
36595 echo "$as_me:$LINENO: result: no" >&5
36596echo "${ECHO_T}no" >&6
36597else
36598 echo "$as_me: failed program was:" >&5
36599sed 's/^/| /' conftest.$ac_ext >&5
36600
36601echo "$as_me:$LINENO: result: yes" >&5
36602echo "${ECHO_T}yes" >&6
36603 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36604fi
36605rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36606 ac_ext=c
36607ac_cpp='$CPP $CPPFLAGS'
36608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611
36612 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36613 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36614 if test "$wxUSE_OLE" = "yes" ; then
36615 cat >>confdefs.h <<\_ACEOF
36616#define wxUSE_OLE 1
36617_ACEOF
36618
36619 fi
36620 fi
36621
36622 if test "$wxUSE_DATAOBJ" = "yes" ; then
36623 cat >>confdefs.h <<\_ACEOF
36624#define wxUSE_DATAOBJ 1
36625_ACEOF
36626
36627 fi
36628 else
36629 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36630echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36631
36632 wxUSE_CLIPBOARD=no
36633 wxUSE_DRAG_AND_DROP=no
36634 wxUSE_DATAOBJ=no
36635 wxUSE_OLE=no
36636 fi
36637
36638 if test "$wxUSE_METAFILE" = "yes"; then
36639 cat >>confdefs.h <<\_ACEOF
36640#define wxUSE_METAFILE 1
36641_ACEOF
36642
36643
36644 cat >>confdefs.h <<\_ACEOF
36645#define wxUSE_ENH_METAFILE 1
36646_ACEOF
36647
36648 fi
36649fi
36650
36651if test "$wxUSE_IPC" = "yes"; then
36652 if test "$wxUSE_SOCKETS" != "yes"; then
36653 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36654echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36655 fi
36656
36657 cat >>confdefs.h <<\_ACEOF
36658#define wxUSE_IPC 1
36659_ACEOF
36660
36661fi
36662
36663if test "$wxUSE_CLIPBOARD" = "yes"; then
36664 if test "$wxUSE_MGL" = 1; then
36665 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36666echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36667 wxUSE_CLIPBOARD=no
36668 fi
36669
36670 if test "$wxUSE_CLIPBOARD" = "yes"; then
36671 cat >>confdefs.h <<\_ACEOF
36672#define wxUSE_CLIPBOARD 1
36673_ACEOF
36674
36675
36676 cat >>confdefs.h <<\_ACEOF
36677#define wxUSE_DATAOBJ 1
36678_ACEOF
36679
36680 fi
36681fi
36682
36683if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36684 if test "$wxUSE_GTK" = 1; then
36685 if test "$WXGTK12" != 1; then
36686 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36687echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36688 wxUSE_DRAG_AND_DROP=no
36689 fi
36690 fi
36691
36692 if test "$wxUSE_MOTIF" = 1; then
36693 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36694echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36695 wxUSE_DRAG_AND_DROP=no
36696 fi
36697
36698 if test "$wxUSE_X11" = 1; then
36699 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36700echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36701 wxUSE_DRAG_AND_DROP=no
36702 fi
36703
36704 if test "$wxUSE_MGL" = 1; then
36705 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36706echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36707 wxUSE_DRAG_AND_DROP=no
36708 fi
36709
36710 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36711 cat >>confdefs.h <<\_ACEOF
36712#define wxUSE_DRAG_AND_DROP 1
36713_ACEOF
36714
36715 fi
36716
36717fi
36718
36719if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36721fi
36722
36723if test "$wxUSE_SPLINES" = "yes" ; then
36724 cat >>confdefs.h <<\_ACEOF
36725#define wxUSE_SPLINES 1
36726_ACEOF
36727
36728fi
36729
36730
36731USES_CONTROLS=0
36732if test "$wxUSE_CONTROLS" = "yes"; then
36733 USES_CONTROLS=1
36734fi
36735
36736if test "$wxUSE_ACCEL" = "yes"; then
36737 cat >>confdefs.h <<\_ACEOF
36738#define wxUSE_ACCEL 1
36739_ACEOF
36740
36741 USES_CONTROLS=1
36742fi
36743
36744if test "$wxUSE_BUTTON" = "yes"; then
36745 cat >>confdefs.h <<\_ACEOF
36746#define wxUSE_BUTTON 1
36747_ACEOF
36748
36749 USES_CONTROLS=1
36750fi
36751
36752if test "$wxUSE_BMPBUTTON" = "yes"; then
36753 cat >>confdefs.h <<\_ACEOF
36754#define wxUSE_BMPBUTTON 1
36755_ACEOF
36756
36757 USES_CONTROLS=1
36758fi
36759
36760if test "$wxUSE_CALCTRL" = "yes"; then
36761 cat >>confdefs.h <<\_ACEOF
36762#define wxUSE_CALENDARCTRL 1
36763_ACEOF
36764
36765 USES_CONTROLS=1
36766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36767fi
36768
36769if test "$wxUSE_CARET" = "yes"; then
36770 cat >>confdefs.h <<\_ACEOF
36771#define wxUSE_CARET 1
36772_ACEOF
36773
36774 USES_CONTROLS=1
36775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36776fi
36777
36778if test "$wxUSE_COMBOBOX" = "yes"; then
36779 cat >>confdefs.h <<\_ACEOF
36780#define wxUSE_COMBOBOX 1
36781_ACEOF
36782
36783 USES_CONTROLS=1
36784fi
36785
36786if test "$wxUSE_CHOICE" = "yes"; then
36787 cat >>confdefs.h <<\_ACEOF
36788#define wxUSE_CHOICE 1
36789_ACEOF
36790
36791 USES_CONTROLS=1
36792fi
36793
36794if test "$wxUSE_CHECKBOX" = "yes"; then
36795 cat >>confdefs.h <<\_ACEOF
36796#define wxUSE_CHECKBOX 1
36797_ACEOF
36798
36799 USES_CONTROLS=1
36800fi
36801
36802if test "$wxUSE_CHECKLST" = "yes"; then
36803 cat >>confdefs.h <<\_ACEOF
36804#define wxUSE_CHECKLISTBOX 1
36805_ACEOF
36806
36807 USES_CONTROLS=1
36808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36809fi
36810
36811if test "$wxUSE_DISPLAY" = "yes"; then
36812 cat >>confdefs.h <<\_ACEOF
36813#define wxUSE_DISPLAY 1
36814_ACEOF
36815
36816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36817fi
36818
36819if test "$wxUSE_GAUGE" = "yes"; then
36820 cat >>confdefs.h <<\_ACEOF
36821#define wxUSE_GAUGE 1
36822_ACEOF
36823
36824 USES_CONTROLS=1
36825fi
36826
36827if test "$wxUSE_GRID" = "yes"; then
36828 cat >>confdefs.h <<\_ACEOF
36829#define wxUSE_GRID 1
36830_ACEOF
36831
36832 USES_CONTROLS=1
36833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36834fi
36835
36836if test "$wxUSE_IMAGLIST" = "yes"; then
36837 cat >>confdefs.h <<\_ACEOF
36838#define wxUSE_IMAGLIST 1
36839_ACEOF
36840
36841fi
36842
36843if test "$wxUSE_LISTBOOK" = "yes"; then
36844 cat >>confdefs.h <<\_ACEOF
36845#define wxUSE_LISTBOOK 1
36846_ACEOF
36847
36848 USES_CONTROLS=1
36849fi
36850
36851if test "$wxUSE_LISTBOX" = "yes"; then
36852 cat >>confdefs.h <<\_ACEOF
36853#define wxUSE_LISTBOX 1
36854_ACEOF
36855
36856 USES_CONTROLS=1
36857fi
36858
36859if test "$wxUSE_LISTCTRL" = "yes"; then
36860 if test "$wxUSE_IMAGLIST" = "yes"; then
36861 cat >>confdefs.h <<\_ACEOF
36862#define wxUSE_LISTCTRL 1
36863_ACEOF
36864
36865 USES_CONTROLS=1
36866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36867 else
36868 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36869echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36870 fi
36871fi
36872
36873if test "$wxUSE_NOTEBOOK" = "yes"; then
36874 cat >>confdefs.h <<\_ACEOF
36875#define wxUSE_NOTEBOOK 1
36876_ACEOF
36877
36878 USES_CONTROLS=1
36879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36880fi
36881
36882
36883if test "$wxUSE_RADIOBOX" = "yes"; then
36884 cat >>confdefs.h <<\_ACEOF
36885#define wxUSE_RADIOBOX 1
36886_ACEOF
36887
36888 USES_CONTROLS=1
36889fi
36890
36891if test "$wxUSE_RADIOBTN" = "yes"; then
36892 cat >>confdefs.h <<\_ACEOF
36893#define wxUSE_RADIOBTN 1
36894_ACEOF
36895
36896 USES_CONTROLS=1
36897fi
36898
36899if test "$wxUSE_SASH" = "yes"; then
36900 cat >>confdefs.h <<\_ACEOF
36901#define wxUSE_SASH 1
36902_ACEOF
36903
36904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36905fi
36906
36907if test "$wxUSE_SCROLLBAR" = "yes"; then
36908 cat >>confdefs.h <<\_ACEOF
36909#define wxUSE_SCROLLBAR 1
36910_ACEOF
36911
36912 USES_CONTROLS=1
36913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36914fi
36915
36916if test "$wxUSE_SLIDER" = "yes"; then
36917 cat >>confdefs.h <<\_ACEOF
36918#define wxUSE_SLIDER 1
36919_ACEOF
36920
36921 USES_CONTROLS=1
36922fi
36923
36924if test "$wxUSE_SPINBTN" = "yes"; then
36925 cat >>confdefs.h <<\_ACEOF
36926#define wxUSE_SPINBTN 1
36927_ACEOF
36928
36929 USES_CONTROLS=1
36930fi
36931
36932if test "$wxUSE_SPINCTRL" = "yes"; then
36933 cat >>confdefs.h <<\_ACEOF
36934#define wxUSE_SPINCTRL 1
36935_ACEOF
36936
36937 USES_CONTROLS=1
36938fi
36939
36940if test "$wxUSE_SPLITTER" = "yes"; then
36941 cat >>confdefs.h <<\_ACEOF
36942#define wxUSE_SPLITTER 1
36943_ACEOF
36944
36945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36946fi
36947
36948if test "$wxUSE_STATBMP" = "yes"; then
36949 cat >>confdefs.h <<\_ACEOF
36950#define wxUSE_STATBMP 1
36951_ACEOF
36952
36953 USES_CONTROLS=1
36954fi
36955
36956if test "$wxUSE_STATBOX" = "yes"; then
36957 cat >>confdefs.h <<\_ACEOF
36958#define wxUSE_STATBOX 1
36959_ACEOF
36960
36961 USES_CONTROLS=1
36962fi
36963
36964if test "$wxUSE_STATTEXT" = "yes"; then
36965 cat >>confdefs.h <<\_ACEOF
36966#define wxUSE_STATTEXT 1
36967_ACEOF
36968
36969 USES_CONTROLS=1
36970fi
36971
36972if test "$wxUSE_STATLINE" = "yes"; then
36973 cat >>confdefs.h <<\_ACEOF
36974#define wxUSE_STATLINE 1
36975_ACEOF
36976
36977 USES_CONTROLS=1
36978fi
36979
36980if test "$wxUSE_STATUSBAR" = "yes"; then
36981 cat >>confdefs.h <<\_ACEOF
36982#define wxUSE_STATUSBAR 1
36983_ACEOF
36984
36985 USES_CONTROLS=1
36986
36987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36988fi
36989
36990if test "$wxUSE_TABDIALOG" = "yes"; then
36991 cat >>confdefs.h <<\_ACEOF
36992#define wxUSE_TAB_DIALOG 1
36993_ACEOF
36994
36995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36996fi
36997
36998if test "$wxUSE_TEXTCTRL" = "yes"; then
36999 cat >>confdefs.h <<\_ACEOF
37000#define wxUSE_TEXTCTRL 1
37001_ACEOF
37002
37003 USES_CONTROLS=1
37004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37005fi
37006
37007if test "$wxUSE_TOGGLEBTN" = "yes"; then
37008 if test "$wxUSE_COCOA" = 1 ; then
37009 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37010echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37011 wxUSE_TOGGLEBTN=no
37012 fi
37013 if test "$wxUSE_UNIVERSAL" = "yes"; then
37014 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37015echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37016 wxUSE_TOGGLEBTN=no
37017 fi
37018
37019 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37020 cat >>confdefs.h <<\_ACEOF
37021#define wxUSE_TOGGLEBTN 1
37022_ACEOF
37023
37024 USES_CONTROLS=1
37025 fi
37026fi
37027
37028if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37029 cat >>confdefs.h <<\_ACEOF
37030#define wxUSE_TOOLBAR_SIMPLE 1
37031_ACEOF
37032
37033 wxUSE_TOOLBAR="yes"
37034 USES_CONTROLS=1
37035fi
37036
37037if test "$wxUSE_TOOLBAR" = "yes"; then
37038 cat >>confdefs.h <<\_ACEOF
37039#define wxUSE_TOOLBAR 1
37040_ACEOF
37041
37042 USES_CONTROLS=1
37043
37044 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37045 wxUSE_TOOLBAR_NATIVE="yes"
37046 fi
37047
37048 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37049 cat >>confdefs.h <<\_ACEOF
37050#define wxUSE_TOOLBAR_NATIVE 1
37051_ACEOF
37052
37053 USES_CONTROLS=1
37054 fi
37055
37056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37057fi
37058
37059if test "$wxUSE_TOOLTIPS" = "yes"; then
37060 if test "$wxUSE_MOTIF" = 1; then
37061 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37062echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37063 else
37064 if test "$wxUSE_UNIVERSAL" = "yes"; then
37065 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37066echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37067 else
37068 cat >>confdefs.h <<\_ACEOF
37069#define wxUSE_TOOLTIPS 1
37070_ACEOF
37071
37072 fi
37073 fi
37074fi
37075
37076if test "$wxUSE_TREECTRL" = "yes"; then
37077 if test "$wxUSE_IMAGLIST" = "yes"; then
37078 cat >>confdefs.h <<\_ACEOF
37079#define wxUSE_TREECTRL 1
37080_ACEOF
37081
37082 USES_CONTROLS=1
37083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37084 else
37085 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37086echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37087 fi
37088fi
37089
37090if test "$wxUSE_POPUPWIN" = "yes"; then
37091 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37092 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37093echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37094 else
37095 if test "$wxUSE_PM" = 1; then
37096 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37097echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37098 else
37099 cat >>confdefs.h <<\_ACEOF
37100#define wxUSE_POPUPWIN 1
37101_ACEOF
37102
37103
37104 USES_CONTROLS=1
37105 fi
37106 fi
37107fi
37108
37109if test "$wxUSE_TIPWINDOW" = "yes"; then
37110 if test "$wxUSE_PM" = 1; then
37111 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37112echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37113 else
37114 cat >>confdefs.h <<\_ACEOF
37115#define wxUSE_TIPWINDOW 1
37116_ACEOF
37117
37118 fi
37119fi
37120
37121if test "$USES_CONTROLS" = 1; then
37122 cat >>confdefs.h <<\_ACEOF
37123#define wxUSE_CONTROLS 1
37124_ACEOF
37125
37126fi
37127
37128
37129if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37130 cat >>confdefs.h <<\_ACEOF
37131#define wxUSE_ACCESSIBILITY 1
37132_ACEOF
37133
37134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37135fi
37136
37137if test "$wxUSE_DRAGIMAGE" = "yes"; then
37138 cat >>confdefs.h <<\_ACEOF
37139#define wxUSE_DRAGIMAGE 1
37140_ACEOF
37141
37142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37143fi
37144
37145if test "$wxUSE_EXCEPTIONS" = "yes"; then
37146 cat >>confdefs.h <<\_ACEOF
37147#define wxUSE_EXCEPTIONS 1
37148_ACEOF
37149
37150fi
37151
37152USE_HTML=0
37153if test "$wxUSE_HTML" = "yes"; then
37154 cat >>confdefs.h <<\_ACEOF
37155#define wxUSE_HTML 1
37156_ACEOF
37157
37158 USE_HTML=1
37159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37160fi
37161
37162if test "$wxUSE_MENUS" = "yes"; then
37163 cat >>confdefs.h <<\_ACEOF
37164#define wxUSE_MENUS 1
37165_ACEOF
37166
37167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37168fi
37169
37170if test "$wxUSE_METAFILE" = "yes"; then
37171 cat >>confdefs.h <<\_ACEOF
37172#define wxUSE_METAFILE 1
37173_ACEOF
37174
37175fi
37176
37177if test "$wxUSE_MIMETYPE" = "yes"; then
37178 cat >>confdefs.h <<\_ACEOF
37179#define wxUSE_MIMETYPE 1
37180_ACEOF
37181
37182fi
37183
37184if test "$wxUSE_MINIFRAME" = "yes"; then
37185 cat >>confdefs.h <<\_ACEOF
37186#define wxUSE_MINIFRAME 1
37187_ACEOF
37188
37189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37190fi
37191
37192if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37193 cat >>confdefs.h <<\_ACEOF
37194#define wxUSE_SYSTEM_OPTIONS 1
37195_ACEOF
37196
37197 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37198 "$TOOLKIT" = "MOTIF"; then
37199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37200 fi
37201fi
37202
37203
37204if test "$wxUSE_VALIDATORS" = "yes"; then
37205 cat >>confdefs.h <<\_ACEOF
37206#define wxUSE_VALIDATORS 1
37207_ACEOF
37208
37209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37210fi
37211
37212if test "$wxUSE_PALETTE" = "yes" ; then
37213 cat >>confdefs.h <<\_ACEOF
37214#define wxUSE_PALETTE 1
37215_ACEOF
37216
37217fi
37218
37219if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37220 LIBS=" -lunicows $LIBS"
37221fi
37222
37223
37224if test "$wxUSE_IMAGE" = "yes" ; then
37225 cat >>confdefs.h <<\_ACEOF
37226#define wxUSE_IMAGE 1
37227_ACEOF
37228
37229
37230 if test "$wxUSE_GIF" = "yes" ; then
37231 cat >>confdefs.h <<\_ACEOF
37232#define wxUSE_GIF 1
37233_ACEOF
37234
37235 fi
37236
37237 if test "$wxUSE_PCX" = "yes" ; then
37238 cat >>confdefs.h <<\_ACEOF
37239#define wxUSE_PCX 1
37240_ACEOF
37241
37242 fi
37243
37244 if test "$wxUSE_IFF" = "yes" ; then
37245 cat >>confdefs.h <<\_ACEOF
37246#define wxUSE_IFF 1
37247_ACEOF
37248
37249 fi
37250
37251 if test "$wxUSE_PNM" = "yes" ; then
37252 cat >>confdefs.h <<\_ACEOF
37253#define wxUSE_PNM 1
37254_ACEOF
37255
37256 fi
37257
37258 if test "$wxUSE_XPM" = "yes" ; then
37259 cat >>confdefs.h <<\_ACEOF
37260#define wxUSE_XPM 1
37261_ACEOF
37262
37263 fi
37264
37265 if test "$wxUSE_ICO_CUR" = "yes" ; then
37266 cat >>confdefs.h <<\_ACEOF
37267#define wxUSE_ICO_CUR 1
37268_ACEOF
37269
37270 fi
37271fi
37272
37273
37274if test "$wxUSE_CHOICEDLG" = "yes"; then
37275 cat >>confdefs.h <<\_ACEOF
37276#define wxUSE_CHOICEDLG 1
37277_ACEOF
37278
37279fi
37280
37281if test "$wxUSE_COLOURDLG" = "yes"; then
37282 cat >>confdefs.h <<\_ACEOF
37283#define wxUSE_COLOURDLG 1
37284_ACEOF
37285
37286fi
37287
37288if test "$wxUSE_FILEDLG" = "yes"; then
37289 cat >>confdefs.h <<\_ACEOF
37290#define wxUSE_FILEDLG 1
37291_ACEOF
37292
37293fi
37294
37295if test "$wxUSE_FINDREPLDLG" = "yes"; then
37296 cat >>confdefs.h <<\_ACEOF
37297#define wxUSE_FINDREPLDLG 1
37298_ACEOF
37299
37300fi
37301
37302if test "$wxUSE_FONTDLG" = "yes"; then
37303 cat >>confdefs.h <<\_ACEOF
37304#define wxUSE_FONTDLG 1
37305_ACEOF
37306
37307fi
37308
37309if test "$wxUSE_DIRDLG" = "yes"; then
37310 if test "$wxUSE_TREECTRL" != "yes"; then
37311 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37312echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37313 else
37314 cat >>confdefs.h <<\_ACEOF
37315#define wxUSE_DIRDLG 1
37316_ACEOF
37317
37318 fi
37319fi
37320
37321if test "$wxUSE_MSGDLG" = "yes"; then
37322 cat >>confdefs.h <<\_ACEOF
37323#define wxUSE_MSGDLG 1
37324_ACEOF
37325
37326fi
37327
37328if test "$wxUSE_NUMBERDLG" = "yes"; then
37329 cat >>confdefs.h <<\_ACEOF
37330#define wxUSE_NUMBERDLG 1
37331_ACEOF
37332
37333fi
37334
37335if test "$wxUSE_PROGRESSDLG" = "yes"; then
37336 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37337 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37338echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37339 else
37340 cat >>confdefs.h <<\_ACEOF
37341#define wxUSE_PROGRESSDLG 1
37342_ACEOF
37343
37344 fi
37345fi
37346
37347if test "$wxUSE_SPLASH" = "yes"; then
37348 cat >>confdefs.h <<\_ACEOF
37349#define wxUSE_SPLASH 1
37350_ACEOF
37351
37352fi
37353
37354if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37355 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37356 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37357echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37358 else
37359 cat >>confdefs.h <<\_ACEOF
37360#define wxUSE_STARTUP_TIPS 1
37361_ACEOF
37362
37363 fi
37364fi
37365
37366if test "$wxUSE_TEXTDLG" = "yes"; then
37367 cat >>confdefs.h <<\_ACEOF
37368#define wxUSE_TEXTDLG 1
37369_ACEOF
37370
37371fi
37372
37373if test "$wxUSE_WIZARDDLG" = "yes"; then
37374 cat >>confdefs.h <<\_ACEOF
37375#define wxUSE_WIZARDDLG 1
37376_ACEOF
37377
37378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37379fi
37380
37381
37382if test "$cross_compiling" = "yes"; then
37383 OSINFO="\"$host\""
37384else
37385 OSINFO=`uname -s -r -m`
37386 OSINFO="\"$OSINFO\""
37387fi
37388
37389cat >>confdefs.h <<_ACEOF
37390#define WXWIN_OS_DESCRIPTION $OSINFO
37391_ACEOF
37392
37393
37394
37395if test "x$prefix" != "xNONE"; then
37396 wxPREFIX=$prefix
37397else
37398 wxPREFIX=$ac_default_prefix
37399fi
37400
37401cat >>confdefs.h <<_ACEOF
37402#define wxINSTALL_PREFIX "$wxPREFIX"
37403_ACEOF
37404
37405
37406top_builddir_wxconfig=`pwd`
37407
37408
37409
37410CORE_BASE_LIBS="net base"
37411CORE_GUI_LIBS="adv core"
37412
37413if test "$wxUSE_XML" = "yes" ; then
37414 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37415fi
37416if test "$wxUSE_ODBC" != "no" ; then
37417 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37418 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37419fi
37420if test "$wxUSE_HTML" = "yes" ; then
37421 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37422fi
37423
37424if test "$wxUSE_GUI" != "yes"; then
37425 CORE_GUI_LIBS=""
37426fi
37427
37428
37429
37430
37431
37432
37433
37434
37435if test "$wxUSE_MAC" = 1 ; then
37436 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
37437fi
37438if test "$wxUSE_COCOA" = 1 ; then
37439 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37440fi
37441
37442
37443LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37444
37445have_cos=0
37446have_floor=0
37447
37448for ac_func in cos
37449do
37450as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37451echo "$as_me:$LINENO: checking for $ac_func" >&5
37452echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37453if eval "test \"\${$as_ac_var+set}\" = set"; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37455else
37456 cat >conftest.$ac_ext <<_ACEOF
37457/* confdefs.h. */
37458_ACEOF
37459cat confdefs.h >>conftest.$ac_ext
37460cat >>conftest.$ac_ext <<_ACEOF
37461/* end confdefs.h. */
37462/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37464#define $ac_func innocuous_$ac_func
37465
37466/* System header to define __stub macros and hopefully few prototypes,
37467 which can conflict with char $ac_func (); below.
37468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37469 <limits.h> exists even on freestanding compilers. */
37470
37471#ifdef __STDC__
37472# include <limits.h>
37473#else
37474# include <assert.h>
37475#endif
37476
37477#undef $ac_func
37478
37479/* Override any gcc2 internal prototype to avoid an error. */
37480#ifdef __cplusplus
37481extern "C"
37482{
37483#endif
37484/* We use char because int might match the return type of a gcc2
37485 builtin and then its argument prototype would still apply. */
37486char $ac_func ();
37487/* The GNU C library defines this for functions which it implements
37488 to always fail with ENOSYS. Some functions are actually named
37489 something starting with __ and the normal name is an alias. */
37490#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37491choke me
37492#else
37493char (*f) () = $ac_func;
37494#endif
37495#ifdef __cplusplus
37496}
37497#endif
37498
37499int
37500main ()
37501{
37502return f != $ac_func;
37503 ;
37504 return 0;
37505}
37506_ACEOF
37507rm -f conftest.$ac_objext conftest$ac_exeext
37508if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37509 (eval $ac_link) 2>conftest.er1
37510 ac_status=$?
37511 grep -v '^ *+' conftest.er1 >conftest.err
37512 rm -f conftest.er1
37513 cat conftest.err >&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); } &&
37516 { ac_try='test -z "$ac_c_werror_flag"
37517 || test ! -s conftest.err'
37518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37519 (eval $ac_try) 2>&5
37520 ac_status=$?
37521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37522 (exit $ac_status); }; } &&
37523 { ac_try='test -s conftest$ac_exeext'
37524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37525 (eval $ac_try) 2>&5
37526 ac_status=$?
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); }; }; then
37529 eval "$as_ac_var=yes"
37530else
37531 echo "$as_me: failed program was:" >&5
37532sed 's/^/| /' conftest.$ac_ext >&5
37533
37534eval "$as_ac_var=no"
37535fi
37536rm -f conftest.err conftest.$ac_objext \
37537 conftest$ac_exeext conftest.$ac_ext
37538fi
37539echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37540echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37541if test `eval echo '${'$as_ac_var'}'` = yes; then
37542 cat >>confdefs.h <<_ACEOF
37543#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37544_ACEOF
37545 have_cos=1
37546fi
37547done
37548
37549
37550for ac_func in floor
37551do
37552as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37553echo "$as_me:$LINENO: checking for $ac_func" >&5
37554echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37555if eval "test \"\${$as_ac_var+set}\" = set"; then
37556 echo $ECHO_N "(cached) $ECHO_C" >&6
37557else
37558 cat >conftest.$ac_ext <<_ACEOF
37559/* confdefs.h. */
37560_ACEOF
37561cat confdefs.h >>conftest.$ac_ext
37562cat >>conftest.$ac_ext <<_ACEOF
37563/* end confdefs.h. */
37564/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37566#define $ac_func innocuous_$ac_func
37567
37568/* System header to define __stub macros and hopefully few prototypes,
37569 which can conflict with char $ac_func (); below.
37570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37571 <limits.h> exists even on freestanding compilers. */
37572
37573#ifdef __STDC__
37574# include <limits.h>
37575#else
37576# include <assert.h>
37577#endif
37578
37579#undef $ac_func
37580
37581/* Override any gcc2 internal prototype to avoid an error. */
37582#ifdef __cplusplus
37583extern "C"
37584{
37585#endif
37586/* We use char because int might match the return type of a gcc2
37587 builtin and then its argument prototype would still apply. */
37588char $ac_func ();
37589/* The GNU C library defines this for functions which it implements
37590 to always fail with ENOSYS. Some functions are actually named
37591 something starting with __ and the normal name is an alias. */
37592#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37593choke me
37594#else
37595char (*f) () = $ac_func;
37596#endif
37597#ifdef __cplusplus
37598}
37599#endif
37600
37601int
37602main ()
37603{
37604return f != $ac_func;
37605 ;
37606 return 0;
37607}
37608_ACEOF
37609rm -f conftest.$ac_objext conftest$ac_exeext
37610if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37611 (eval $ac_link) 2>conftest.er1
37612 ac_status=$?
37613 grep -v '^ *+' conftest.er1 >conftest.err
37614 rm -f conftest.er1
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } &&
37618 { ac_try='test -z "$ac_c_werror_flag"
37619 || test ! -s conftest.err'
37620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621 (eval $ac_try) 2>&5
37622 ac_status=$?
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); }; } &&
37625 { ac_try='test -s conftest$ac_exeext'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37628 ac_status=$?
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; }; then
37631 eval "$as_ac_var=yes"
37632else
37633 echo "$as_me: failed program was:" >&5
37634sed 's/^/| /' conftest.$ac_ext >&5
37635
37636eval "$as_ac_var=no"
37637fi
37638rm -f conftest.err conftest.$ac_objext \
37639 conftest$ac_exeext conftest.$ac_ext
37640fi
37641echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37642echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37643if test `eval echo '${'$as_ac_var'}'` = yes; then
37644 cat >>confdefs.h <<_ACEOF
37645#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37646_ACEOF
37647 have_floor=1
37648fi
37649done
37650
37651echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37652echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37653if test "$have_cos" = 1 -a "$have_floor" = 1; then
37654 echo "$as_me:$LINENO: result: yes" >&5
37655echo "${ECHO_T}yes" >&6
37656else
37657 echo "$as_me:$LINENO: result: no" >&5
37658echo "${ECHO_T}no" >&6
37659 LIBS="$LIBS -lm"
37660 # use different functions to avoid configure caching
37661 have_sin=0
37662 have_ceil=0
37663
37664for ac_func in sin
37665do
37666as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37667echo "$as_me:$LINENO: checking for $ac_func" >&5
37668echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37669if eval "test \"\${$as_ac_var+set}\" = set"; then
37670 echo $ECHO_N "(cached) $ECHO_C" >&6
37671else
37672 cat >conftest.$ac_ext <<_ACEOF
37673/* confdefs.h. */
37674_ACEOF
37675cat confdefs.h >>conftest.$ac_ext
37676cat >>conftest.$ac_ext <<_ACEOF
37677/* end confdefs.h. */
37678/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37680#define $ac_func innocuous_$ac_func
37681
37682/* System header to define __stub macros and hopefully few prototypes,
37683 which can conflict with char $ac_func (); below.
37684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37685 <limits.h> exists even on freestanding compilers. */
37686
37687#ifdef __STDC__
37688# include <limits.h>
37689#else
37690# include <assert.h>
37691#endif
37692
37693#undef $ac_func
37694
37695/* Override any gcc2 internal prototype to avoid an error. */
37696#ifdef __cplusplus
37697extern "C"
37698{
37699#endif
37700/* We use char because int might match the return type of a gcc2
37701 builtin and then its argument prototype would still apply. */
37702char $ac_func ();
37703/* The GNU C library defines this for functions which it implements
37704 to always fail with ENOSYS. Some functions are actually named
37705 something starting with __ and the normal name is an alias. */
37706#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37707choke me
37708#else
37709char (*f) () = $ac_func;
37710#endif
37711#ifdef __cplusplus
37712}
37713#endif
37714
37715int
37716main ()
37717{
37718return f != $ac_func;
37719 ;
37720 return 0;
37721}
37722_ACEOF
37723rm -f conftest.$ac_objext conftest$ac_exeext
37724if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37725 (eval $ac_link) 2>conftest.er1
37726 ac_status=$?
37727 grep -v '^ *+' conftest.er1 >conftest.err
37728 rm -f conftest.er1
37729 cat conftest.err >&5
37730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37731 (exit $ac_status); } &&
37732 { ac_try='test -z "$ac_c_werror_flag"
37733 || test ! -s conftest.err'
37734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37735 (eval $ac_try) 2>&5
37736 ac_status=$?
37737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37738 (exit $ac_status); }; } &&
37739 { ac_try='test -s conftest$ac_exeext'
37740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37741 (eval $ac_try) 2>&5
37742 ac_status=$?
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); }; }; then
37745 eval "$as_ac_var=yes"
37746else
37747 echo "$as_me: failed program was:" >&5
37748sed 's/^/| /' conftest.$ac_ext >&5
37749
37750eval "$as_ac_var=no"
37751fi
37752rm -f conftest.err conftest.$ac_objext \
37753 conftest$ac_exeext conftest.$ac_ext
37754fi
37755echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37756echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37757if test `eval echo '${'$as_ac_var'}'` = yes; then
37758 cat >>confdefs.h <<_ACEOF
37759#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37760_ACEOF
37761 have_sin=1
37762fi
37763done
37764
37765
37766for ac_func in ceil
37767do
37768as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37769echo "$as_me:$LINENO: checking for $ac_func" >&5
37770echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37771if eval "test \"\${$as_ac_var+set}\" = set"; then
37772 echo $ECHO_N "(cached) $ECHO_C" >&6
37773else
37774 cat >conftest.$ac_ext <<_ACEOF
37775/* confdefs.h. */
37776_ACEOF
37777cat confdefs.h >>conftest.$ac_ext
37778cat >>conftest.$ac_ext <<_ACEOF
37779/* end confdefs.h. */
37780/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37782#define $ac_func innocuous_$ac_func
37783
37784/* System header to define __stub macros and hopefully few prototypes,
37785 which can conflict with char $ac_func (); below.
37786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37787 <limits.h> exists even on freestanding compilers. */
37788
37789#ifdef __STDC__
37790# include <limits.h>
37791#else
37792# include <assert.h>
37793#endif
37794
37795#undef $ac_func
37796
37797/* Override any gcc2 internal prototype to avoid an error. */
37798#ifdef __cplusplus
37799extern "C"
37800{
37801#endif
37802/* We use char because int might match the return type of a gcc2
37803 builtin and then its argument prototype would still apply. */
37804char $ac_func ();
37805/* The GNU C library defines this for functions which it implements
37806 to always fail with ENOSYS. Some functions are actually named
37807 something starting with __ and the normal name is an alias. */
37808#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37809choke me
37810#else
37811char (*f) () = $ac_func;
37812#endif
37813#ifdef __cplusplus
37814}
37815#endif
37816
37817int
37818main ()
37819{
37820return f != $ac_func;
37821 ;
37822 return 0;
37823}
37824_ACEOF
37825rm -f conftest.$ac_objext conftest$ac_exeext
37826if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37827 (eval $ac_link) 2>conftest.er1
37828 ac_status=$?
37829 grep -v '^ *+' conftest.er1 >conftest.err
37830 rm -f conftest.er1
37831 cat conftest.err >&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } &&
37834 { ac_try='test -z "$ac_c_werror_flag"
37835 || test ! -s conftest.err'
37836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37837 (eval $ac_try) 2>&5
37838 ac_status=$?
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); }; } &&
37841 { ac_try='test -s conftest$ac_exeext'
37842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37843 (eval $ac_try) 2>&5
37844 ac_status=$?
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); }; }; then
37847 eval "$as_ac_var=yes"
37848else
37849 echo "$as_me: failed program was:" >&5
37850sed 's/^/| /' conftest.$ac_ext >&5
37851
37852eval "$as_ac_var=no"
37853fi
37854rm -f conftest.err conftest.$ac_objext \
37855 conftest$ac_exeext conftest.$ac_ext
37856fi
37857echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37858echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37859if test `eval echo '${'$as_ac_var'}'` = yes; then
37860 cat >>confdefs.h <<_ACEOF
37861#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37862_ACEOF
37863 have_ceil=1
37864fi
37865done
37866
37867 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37868echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37869 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37870 echo "$as_me:$LINENO: result: yes" >&5
37871echo "${ECHO_T}yes" >&6
37872 else
37873 echo "$as_me:$LINENO: result: no" >&5
37874echo "${ECHO_T}no" >&6
37875 # not sure we should warn the user, crash, etc.
37876 fi
37877fi
37878
37879if test "$wxUSE_GUI" = "yes"; then
37880
37881
37882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37883 drawing dynamic erase event exec font image \
37884 minimal propsize rotate shaped widgets render"
37885
37886 if test "$wxUSE_MONOLITHIC" != "yes"; then
37887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37888 fi
37889else
37890 SAMPLES_SUBDIRS="console"
37891fi
37892
37893
37894INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37895-I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37896
37897if test "$GXX" = yes ; then
37898 CXXWARNINGS="-Wall"
37899 fi
37900
37901EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37902
37903CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37904CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37905CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37906
37907
37908LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37909EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37910EXTRALIBS_XML="$EXPAT_LINK"
37911EXTRALIBS_HTML="$MSPACK_LINK"
37912EXTRALIBS_ODBC="$ODBC_LINK"
37913if test "$wxUSE_GUI" = "yes"; then
37914 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37915fi
37916if test "$wxUSE_OPENGL" = "yes"; then
37917 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37918fi
37919
37920LDFLAGS="$LDFLAGS $PROFILE"
37921
37922if test "$wxUSE_GTK" = 1; then
37923 WXCONFIG_INCLUDE=
37924else
37925 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37926fi
37927
37928WXCONFIG_EXTRALIBS="$LIBS"
37929
37930if test "$wxUSE_REGEX" = "builtin" ; then
37931 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37932fi
37933if test "$wxUSE_EXPAT" = "builtin" ; then
37934 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37935fi
37936if test "$wxUSE_ODBC" = "builtin" ; then
37937 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37938fi
37939if test "$wxUSE_LIBTIFF" = "builtin" ; then
37940 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37941fi
37942if test "$wxUSE_LIBJPEG" = "builtin" ; then
37943 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37944fi
37945if test "$wxUSE_LIBPNG" = "builtin" ; then
37946 wxconfig_3rdparty="$wxconfig_3rdparty png"
37947fi
37948if test "$wxUSE_ZLIB" = "builtin" ; then
37949 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37950fi
37951if test "$wxUSE_ODBC" = "builtin" ; then
37952 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37953fi
37954
37955for i in $wxconfig_3rdparty ; do
37956 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37957done
37958
37959
37960if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37961 WXUNIV=1
37962else
37963 WXUNIV=0
37964fi
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974if test $wxUSE_MONOLITHIC = "yes" ; then
37975 MONOLITHIC=1
37976else
37977 MONOLITHIC=0
37978fi
37979
37980if test $wxUSE_PLUGINS = "yes" ; then
37981 USE_PLUGINS=1
37982else
37983 USE_PLUGINS=0
37984fi
37985
37986if test $wxUSE_ODBC != "no" ; then
37987 USE_ODBC=1
37988else
37989 USE_ODBC=0
37990fi
37991
37992if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37993 OFFICIAL_BUILD=1
37994else
37995 OFFICIAL_BUILD=0
37996fi
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028 if test "x$BAKEFILE_HOST" = "x"; then
38029 BAKEFILE_HOST="${host}"
38030 fi
38031
38032 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38033
38034 if test -n "$ac_tool_prefix"; then
38035 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38036set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38037echo "$as_me:$LINENO: checking for $ac_word" >&5
38038echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38039if test "${ac_cv_prog_RANLIB+set}" = set; then
38040 echo $ECHO_N "(cached) $ECHO_C" >&6
38041else
38042 if test -n "$RANLIB"; then
38043 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38044else
38045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38046for as_dir in $PATH
38047do
38048 IFS=$as_save_IFS
38049 test -z "$as_dir" && as_dir=.
38050 for ac_exec_ext in '' $ac_executable_extensions; do
38051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38052 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38054 break 2
38055 fi
38056done
38057done
38058
38059fi
38060fi
38061RANLIB=$ac_cv_prog_RANLIB
38062if test -n "$RANLIB"; then
38063 echo "$as_me:$LINENO: result: $RANLIB" >&5
38064echo "${ECHO_T}$RANLIB" >&6
38065else
38066 echo "$as_me:$LINENO: result: no" >&5
38067echo "${ECHO_T}no" >&6
38068fi
38069
38070fi
38071if test -z "$ac_cv_prog_RANLIB"; then
38072 ac_ct_RANLIB=$RANLIB
38073 # Extract the first word of "ranlib", so it can be a program name with args.
38074set dummy ranlib; ac_word=$2
38075echo "$as_me:$LINENO: checking for $ac_word" >&5
38076echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38077if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38079else
38080 if test -n "$ac_ct_RANLIB"; then
38081 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38082else
38083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38084for as_dir in $PATH
38085do
38086 IFS=$as_save_IFS
38087 test -z "$as_dir" && as_dir=.
38088 for ac_exec_ext in '' $ac_executable_extensions; do
38089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38090 ac_cv_prog_ac_ct_RANLIB="ranlib"
38091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38092 break 2
38093 fi
38094done
38095done
38096
38097 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38098fi
38099fi
38100ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38101if test -n "$ac_ct_RANLIB"; then
38102 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38103echo "${ECHO_T}$ac_ct_RANLIB" >&6
38104else
38105 echo "$as_me:$LINENO: result: no" >&5
38106echo "${ECHO_T}no" >&6
38107fi
38108
38109 RANLIB=$ac_ct_RANLIB
38110else
38111 RANLIB="$ac_cv_prog_RANLIB"
38112fi
38113
38114 # Find a good install program. We prefer a C program (faster),
38115# so one script is as good as another. But avoid the broken or
38116# incompatible versions:
38117# SysV /etc/install, /usr/sbin/install
38118# SunOS /usr/etc/install
38119# IRIX /sbin/install
38120# AIX /bin/install
38121# AmigaOS /C/install, which installs bootblocks on floppy discs
38122# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38123# AFS /usr/afsws/bin/install, which mishandles nonexistent args
38124# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38125# OS/2's system install, which has a completely different semantic
38126# ./install, which can be erroneously created by make from ./install.sh.
38127echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38128echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38129if test -z "$INSTALL"; then
38130if test "${ac_cv_path_install+set}" = set; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38132else
38133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38134for as_dir in $PATH
38135do
38136 IFS=$as_save_IFS
38137 test -z "$as_dir" && as_dir=.
38138 # Account for people who put trailing slashes in PATH elements.
38139case $as_dir/ in
38140 ./ | .// | /cC/* | \
38141 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38142 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38143 /usr/ucb/* ) ;;
38144 *)
38145 # OSF1 and SCO ODT 3.0 have their own names for install.
38146 # Don't use installbsd from OSF since it installs stuff as root
38147 # by default.
38148 for ac_prog in ginstall scoinst install; do
38149 for ac_exec_ext in '' $ac_executable_extensions; do
38150 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38151 if test $ac_prog = install &&
38152 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38153 # AIX install. It has an incompatible calling convention.
38154 :
38155 elif test $ac_prog = install &&
38156 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38157 # program-specific install script used by HP pwplus--don't use.
38158 :
38159 else
38160 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38161 break 3
38162 fi
38163 fi
38164 done
38165 done
38166 ;;
38167esac
38168done
38169
38170
38171fi
38172 if test "${ac_cv_path_install+set}" = set; then
38173 INSTALL=$ac_cv_path_install
38174 else
38175 # As a last resort, use the slow shell script. We don't cache a
38176 # path for INSTALL within a source directory, because that will
38177 # break other packages using the cache if that directory is
38178 # removed, or if the path is relative.
38179 INSTALL=$ac_install_sh
38180 fi
38181fi
38182echo "$as_me:$LINENO: result: $INSTALL" >&5
38183echo "${ECHO_T}$INSTALL" >&6
38184
38185# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38186# It thinks the first close brace ends the variable substitution.
38187test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38188
38189test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38190
38191test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38192
38193 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38194echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38195LN_S=$as_ln_s
38196if test "$LN_S" = "ln -s"; then
38197 echo "$as_me:$LINENO: result: yes" >&5
38198echo "${ECHO_T}yes" >&6
38199else
38200 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38201echo "${ECHO_T}no, using $LN_S" >&6
38202fi
38203
38204
38205 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38206echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38207set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38208if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38210else
38211 cat >conftest.make <<\_ACEOF
38212all:
38213 @echo 'ac_maketemp="$(MAKE)"'
38214_ACEOF
38215# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38216eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38217if test -n "$ac_maketemp"; then
38218 eval ac_cv_prog_make_${ac_make}_set=yes
38219else
38220 eval ac_cv_prog_make_${ac_make}_set=no
38221fi
38222rm -f conftest.make
38223fi
38224if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38225 echo "$as_me:$LINENO: result: yes" >&5
38226echo "${ECHO_T}yes" >&6
38227 SET_MAKE=
38228else
38229 echo "$as_me:$LINENO: result: no" >&5
38230echo "${ECHO_T}no" >&6
38231 SET_MAKE="MAKE=${MAKE-make}"
38232fi
38233
38234
38235
38236 if test -n "$ac_tool_prefix"; then
38237 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38238set dummy ${ac_tool_prefix}ar; ac_word=$2
38239echo "$as_me:$LINENO: checking for $ac_word" >&5
38240echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38241if test "${ac_cv_prog_AR+set}" = set; then
38242 echo $ECHO_N "(cached) $ECHO_C" >&6
38243else
38244 if test -n "$AR"; then
38245 ac_cv_prog_AR="$AR" # Let the user override the test.
38246else
38247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38248for as_dir in $PATH
38249do
38250 IFS=$as_save_IFS
38251 test -z "$as_dir" && as_dir=.
38252 for ac_exec_ext in '' $ac_executable_extensions; do
38253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38254 ac_cv_prog_AR="${ac_tool_prefix}ar"
38255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38256 break 2
38257 fi
38258done
38259done
38260
38261fi
38262fi
38263AR=$ac_cv_prog_AR
38264if test -n "$AR"; then
38265 echo "$as_me:$LINENO: result: $AR" >&5
38266echo "${ECHO_T}$AR" >&6
38267else
38268 echo "$as_me:$LINENO: result: no" >&5
38269echo "${ECHO_T}no" >&6
38270fi
38271
38272fi
38273if test -z "$ac_cv_prog_AR"; then
38274 ac_ct_AR=$AR
38275 # Extract the first word of "ar", so it can be a program name with args.
38276set dummy ar; ac_word=$2
38277echo "$as_me:$LINENO: checking for $ac_word" >&5
38278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38279if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38281else
38282 if test -n "$ac_ct_AR"; then
38283 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38284else
38285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38286for as_dir in $PATH
38287do
38288 IFS=$as_save_IFS
38289 test -z "$as_dir" && as_dir=.
38290 for ac_exec_ext in '' $ac_executable_extensions; do
38291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38292 ac_cv_prog_ac_ct_AR="ar"
38293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38294 break 2
38295 fi
38296done
38297done
38298
38299 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38300fi
38301fi
38302ac_ct_AR=$ac_cv_prog_ac_ct_AR
38303if test -n "$ac_ct_AR"; then
38304 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38305echo "${ECHO_T}$ac_ct_AR" >&6
38306else
38307 echo "$as_me:$LINENO: result: no" >&5
38308echo "${ECHO_T}no" >&6
38309fi
38310
38311 AR=$ac_ct_AR
38312else
38313 AR="$ac_cv_prog_AR"
38314fi
38315
38316 if test -n "$ac_tool_prefix"; then
38317 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38318set dummy ${ac_tool_prefix}strip; ac_word=$2
38319echo "$as_me:$LINENO: checking for $ac_word" >&5
38320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38321if test "${ac_cv_prog_STRIP+set}" = set; then
38322 echo $ECHO_N "(cached) $ECHO_C" >&6
38323else
38324 if test -n "$STRIP"; then
38325 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38326else
38327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38328for as_dir in $PATH
38329do
38330 IFS=$as_save_IFS
38331 test -z "$as_dir" && as_dir=.
38332 for ac_exec_ext in '' $ac_executable_extensions; do
38333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38334 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38336 break 2
38337 fi
38338done
38339done
38340
38341fi
38342fi
38343STRIP=$ac_cv_prog_STRIP
38344if test -n "$STRIP"; then
38345 echo "$as_me:$LINENO: result: $STRIP" >&5
38346echo "${ECHO_T}$STRIP" >&6
38347else
38348 echo "$as_me:$LINENO: result: no" >&5
38349echo "${ECHO_T}no" >&6
38350fi
38351
38352fi
38353if test -z "$ac_cv_prog_STRIP"; then
38354 ac_ct_STRIP=$STRIP
38355 # Extract the first word of "strip", so it can be a program name with args.
38356set dummy strip; ac_word=$2
38357echo "$as_me:$LINENO: checking for $ac_word" >&5
38358echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38359if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38360 echo $ECHO_N "(cached) $ECHO_C" >&6
38361else
38362 if test -n "$ac_ct_STRIP"; then
38363 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38364else
38365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38366for as_dir in $PATH
38367do
38368 IFS=$as_save_IFS
38369 test -z "$as_dir" && as_dir=.
38370 for ac_exec_ext in '' $ac_executable_extensions; do
38371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38372 ac_cv_prog_ac_ct_STRIP="strip"
38373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38374 break 2
38375 fi
38376done
38377done
38378
38379 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38380fi
38381fi
38382ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38383if test -n "$ac_ct_STRIP"; then
38384 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38385echo "${ECHO_T}$ac_ct_STRIP" >&6
38386else
38387 echo "$as_me:$LINENO: result: no" >&5
38388echo "${ECHO_T}no" >&6
38389fi
38390
38391 STRIP=$ac_ct_STRIP
38392else
38393 STRIP="$ac_cv_prog_STRIP"
38394fi
38395
38396 if test -n "$ac_tool_prefix"; then
38397 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38398set dummy ${ac_tool_prefix}nm; ac_word=$2
38399echo "$as_me:$LINENO: checking for $ac_word" >&5
38400echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38401if test "${ac_cv_prog_NM+set}" = set; then
38402 echo $ECHO_N "(cached) $ECHO_C" >&6
38403else
38404 if test -n "$NM"; then
38405 ac_cv_prog_NM="$NM" # Let the user override the test.
38406else
38407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38408for as_dir in $PATH
38409do
38410 IFS=$as_save_IFS
38411 test -z "$as_dir" && as_dir=.
38412 for ac_exec_ext in '' $ac_executable_extensions; do
38413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38414 ac_cv_prog_NM="${ac_tool_prefix}nm"
38415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38416 break 2
38417 fi
38418done
38419done
38420
38421fi
38422fi
38423NM=$ac_cv_prog_NM
38424if test -n "$NM"; then
38425 echo "$as_me:$LINENO: result: $NM" >&5
38426echo "${ECHO_T}$NM" >&6
38427else
38428 echo "$as_me:$LINENO: result: no" >&5
38429echo "${ECHO_T}no" >&6
38430fi
38431
38432fi
38433if test -z "$ac_cv_prog_NM"; then
38434 ac_ct_NM=$NM
38435 # Extract the first word of "nm", so it can be a program name with args.
38436set dummy nm; ac_word=$2
38437echo "$as_me:$LINENO: checking for $ac_word" >&5
38438echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38439if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38440 echo $ECHO_N "(cached) $ECHO_C" >&6
38441else
38442 if test -n "$ac_ct_NM"; then
38443 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38444else
38445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38446for as_dir in $PATH
38447do
38448 IFS=$as_save_IFS
38449 test -z "$as_dir" && as_dir=.
38450 for ac_exec_ext in '' $ac_executable_extensions; do
38451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38452 ac_cv_prog_ac_ct_NM="nm"
38453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38454 break 2
38455 fi
38456done
38457done
38458
38459 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38460fi
38461fi
38462ac_ct_NM=$ac_cv_prog_ac_ct_NM
38463if test -n "$ac_ct_NM"; then
38464 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38465echo "${ECHO_T}$ac_ct_NM" >&6
38466else
38467 echo "$as_me:$LINENO: result: no" >&5
38468echo "${ECHO_T}no" >&6
38469fi
38470
38471 NM=$ac_ct_NM
38472else
38473 NM="$ac_cv_prog_NM"
38474fi
38475
38476
38477 case ${BAKEFILE_HOST} in
38478 *-hp-hpux* )
38479 INSTALL_DIR="mkdir"
38480 ;;
38481 *) INSTALL_DIR="$INSTALL -d"
38482 ;;
38483 esac
38484
38485
38486 LDFLAGS_GUI=
38487 case ${BAKEFILE_HOST} in
38488 *-*-cygwin* | *-*-mingw32* )
38489 LDFLAGS_GUI="-mwindows"
38490 esac
38491
38492
38493 fi
38494
38495 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38496echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38497if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38499else
38500
38501 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38502 egrep -s GNU > /dev/null); then
38503 bakefile_cv_prog_makeisgnu="yes"
38504 else
38505 bakefile_cv_prog_makeisgnu="no"
38506 fi
38507
38508fi
38509echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38510echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38511
38512 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38513 IF_GNU_MAKE=""
38514 else
38515 IF_GNU_MAKE="#"
38516 fi
38517
38518
38519
38520 PLATFORM_UNIX=0
38521 PLATFORM_WIN32=0
38522 PLATFORM_MSDOS=0
38523 PLATFORM_MAC=0
38524 PLATFORM_MACOSX=0
38525 PLATFORM_OS2=0
38526
38527 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38528 case "${BAKEFILE_HOST}" in
38529 *-*-cygwin* | *-*-mingw32* )
38530 PLATFORM_WIN32=1
38531 ;;
38532 *-pc-msdosdjgpp )
38533 PLATFORM_MSDOS=1
38534 ;;
38535 *-pc-os2_emx | *-pc-os2-emx )
38536 PLATFORM_OS2=1
38537 ;;
38538 powerpc-*-darwin* )
38539 PLATFORM_MAC=1
38540 PLATFORM_MACOSX=1
38541 ;;
38542 * )
38543 PLATFORM_UNIX=1
38544 ;;
38545 esac
38546 else
38547 case "$BAKEFILE_FORCE_PLATFORM" in
38548 win32 )
38549 PLATFORM_WIN32=1
38550 ;;
38551 msdos )
38552 PLATFORM_MSDOS=1
38553 ;;
38554 os2 )
38555 PLATFORM_OS2=1
38556 ;;
38557 darwin )
38558 PLATFORM_MAC=1
38559 PLATFORM_MACOSX=1
38560 ;;
38561 unix )
38562 PLATFORM_UNIX=1
38563 ;;
38564 * )
38565 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38566echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38567 { (exit 1); exit 1; }; }
38568 ;;
38569 esac
38570 fi
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580 # Check whether --enable-omf or --disable-omf was given.
38581if test "${enable_omf+set}" = set; then
38582 enableval="$enable_omf"
38583 bk_os2_use_omf="$enableval"
38584fi;
38585
38586 case "${BAKEFILE_HOST}" in
38587 *-*-darwin* )
38588 CFLAGS="$CFLAGS -fno-common"
38589 CXXFLAGS="$CXXFLAGS -fno-common"
38590 ;;
38591
38592 *-pc-os2_emx | *-pc-os2-emx )
38593 if test "x$bk_os2_use_omf" = "xyes" ; then
38594 AR=emxomfar
38595 RANLIB=:
38596 LDFLAGS="-Zomf $LDFLAGS"
38597 CFLAGS="-Zomf $CFLAGS"
38598 CXXFLAGS="-Zomf $CXXFLAGS"
38599 OS2_LIBEXT="lib"
38600 else
38601 OS2_LIBEXT="a"
38602 fi
38603 ;;
38604 esac
38605
38606
38607 SO_SUFFIX="so"
38608 SO_SUFFIX_MODULE="so"
38609 EXEEXT=""
38610 LIBPREFIX="lib"
38611 LIBEXT=".a"
38612 DLLPREFIX="lib"
38613 DLLPREFIX_MODULE=""
38614 DLLIMP_SUFFIX=""
38615
38616 case "${BAKEFILE_HOST}" in
38617 *-hp-hpux* )
38618 SO_SUFFIX="sl"
38619 SO_SUFFIX_MODULE="sl"
38620 ;;
38621 *-*-aix* )
38622 SO_SUFFIX="a"
38623 SO_SUFFIX_MODULE="a"
38624 ;;
38625 *-*-cygwin* | *-*-mingw32* )
38626 SO_SUFFIX="dll"
38627 SO_SUFFIX_MODULE="dll"
38628 DLLIMP_SUFFIX="dll.a"
38629 EXEEXT=".exe"
38630 DLLPREFIX=""
38631 ;;
38632 *-pc-msdosdjgpp )
38633 EXEEXT=".exe"
38634 DLLPREFIX=""
38635 ;;
38636 *-pc-os2_emx | *-pc-os2-emx )
38637 SO_SUFFIX="dll"
38638 SO_SUFFIX_MODULE="dll"
38639 DLLIMP_SUFFIX=$OS2_LIBEXT
38640 EXEEXT=".exe"
38641 DLLPREFIX=""
38642 LIBPREFIX=""
38643 LIBEXT=".$OS2_LIBEXT"
38644 ;;
38645 powerpc-*-darwin* )
38646 SO_SUFFIX="dylib"
38647 SO_SUFFIX_MODULE="bundle"
38648 ;;
38649 esac
38650
38651 if test "x$DLLIMP_SUFFIX" = "x" ; then
38652 DLLIMP_SUFFIX="$SO_SUFFIX"
38653 fi
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665 SHARED_LD_CC="\$(CC) -shared -o"
38666 SHARED_LD_CXX="\$(CXX) -shared -o"
38667
38668 if test "x$GCC" = "xyes"; then
38669 PIC_FLAG="-fPIC"
38670 fi
38671
38672 case "${BAKEFILE_HOST}" in
38673 *-hp-hpux* )
38674 if test "x$GCC" = "xyes"; then
38675 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38676 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38677 else
38678 LDFLAGS="$LDFLAGS -L/usr/lib"
38679
38680 SHARED_LD_CC="${CC} -b -o"
38681 SHARED_LD_CXX="${CXX} -b -o"
38682 PIC_FLAG="+Z"
38683 fi
38684 ;;
38685
38686 *-*-linux* )
38687 if test "x$GCC" != "xyes"; then
38688 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38689echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38690if test "${bakefile_cv_prog_icc+set}" = set; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38692else
38693
38694 cat >conftest.$ac_ext <<_ACEOF
38695/* confdefs.h. */
38696_ACEOF
38697cat confdefs.h >>conftest.$ac_ext
38698cat >>conftest.$ac_ext <<_ACEOF
38699/* end confdefs.h. */
38700
38701int
38702main ()
38703{
38704
38705 #ifndef __INTEL_COMPILER
38706 #error Not icc
38707 #endif
38708
38709 ;
38710 return 0;
38711}
38712_ACEOF
38713rm -f conftest.$ac_objext
38714if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38715 (eval $ac_compile) 2>conftest.er1
38716 ac_status=$?
38717 grep -v '^ *+' conftest.er1 >conftest.err
38718 rm -f conftest.er1
38719 cat conftest.err >&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } &&
38722 { ac_try='test -z "$ac_c_werror_flag"
38723 || test ! -s conftest.err'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38726 ac_status=$?
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; } &&
38729 { ac_try='test -s conftest.$ac_objext'
38730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731 (eval $ac_try) 2>&5
38732 ac_status=$?
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); }; }; then
38735 bakefile_cv_prog_icc=yes
38736else
38737 echo "$as_me: failed program was:" >&5
38738sed 's/^/| /' conftest.$ac_ext >&5
38739
38740bakefile_cv_prog_icc=no
38741
38742fi
38743rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38744
38745fi
38746echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38747echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38748 if test "$bakefile_cv_prog_icc" = "yes"; then
38749 PIC_FLAG="-KPIC"
38750 fi
38751 fi
38752 ;;
38753
38754 *-*-solaris2* )
38755 if test "x$GCC" != xyes ; then
38756 SHARED_LD_CC="${CC} -G -o"
38757 SHARED_LD_CXX="${CXX} -G -o"
38758 PIC_FLAG="-KPIC"
38759 fi
38760 ;;
38761
38762 *-*-darwin* )
38763
38764 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38765echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38766if test "${wx_cv_gcc31+set}" = set; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38768else
38769
38770 cat >conftest.$ac_ext <<_ACEOF
38771/* confdefs.h. */
38772_ACEOF
38773cat confdefs.h >>conftest.$ac_ext
38774cat >>conftest.$ac_ext <<_ACEOF
38775/* end confdefs.h. */
38776
38777int
38778main ()
38779{
38780
38781 #if (__GNUC__ < 3) || \
38782 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38783 #error old gcc
38784 #endif
38785
38786 ;
38787 return 0;
38788}
38789_ACEOF
38790rm -f conftest.$ac_objext
38791if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38792 (eval $ac_compile) 2>conftest.er1
38793 ac_status=$?
38794 grep -v '^ *+' conftest.er1 >conftest.err
38795 rm -f conftest.er1
38796 cat conftest.err >&5
38797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798 (exit $ac_status); } &&
38799 { ac_try='test -z "$ac_c_werror_flag"
38800 || test ! -s conftest.err'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38803 ac_status=$?
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; } &&
38806 { ac_try='test -s conftest.$ac_objext'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38809 ac_status=$?
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; }; then
38812
38813 wx_cv_gcc31=yes
38814
38815else
38816 echo "$as_me: failed program was:" >&5
38817sed 's/^/| /' conftest.$ac_ext >&5
38818
38819
38820 wx_cv_gcc31=no
38821
38822
38823fi
38824rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38825
38826fi
38827echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38828echo "${ECHO_T}$wx_cv_gcc31" >&6
38829 if test "$wx_cv_gcc31" = "no"; then
38830 cat <<EOF >shared-ld-sh
38831#!/bin/sh
38832#-----------------------------------------------------------------------------
38833#-- Name: distrib/mac/shared-ld-sh
38834#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38835#-- Author: Gilles Depeyrot
38836#-- Copyright: (c) 2002 Gilles Depeyrot
38837#-- Licence: any use permitted
38838#-----------------------------------------------------------------------------
38839
38840verbose=0
38841args=""
38842objects=""
38843linking_flag="-dynamiclib"
38844
38845while test \${#} -gt 0; do
38846 case \${1} in
38847
38848 -v)
38849 verbose=1
38850 ;;
38851
38852 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38853 # collect these options and values
38854 args="\${args} \${1} \${2}"
38855 shift
38856 ;;
38857
38858 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38859 # collect these options
38860 args="\${args} \${1}"
38861 ;;
38862
38863 -dynamiclib|-bundle)
38864 linking_flag="\${1}"
38865 ;;
38866
38867 -*)
38868 echo "shared-ld: unhandled option '\${1}'"
38869 exit 1
38870 ;;
38871
38872 *.o | *.a | *.dylib)
38873 # collect object files
38874 objects="\${objects} \${1}"
38875 ;;
38876
38877 *)
38878 echo "shared-ld: unhandled argument '\${1}'"
38879 exit 1
38880 ;;
38881
38882 esac
38883 shift
38884done
38885
38886#
38887# Link one module containing all the others
38888#
38889if test \${verbose} = 1; then
38890 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38891fi
38892c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38893status=\$?
38894if test \${status} != 0; then
38895 exit \${status}
38896fi
38897
38898#
38899# Link the shared library from the single module created
38900#
38901if test \${verbose} = 1; then
38902 echo "cc \${linking_flag} master.\$\$.o \${args}"
38903fi
38904c++ \${linking_flag} master.\$\$.o \${args}
38905status=\$?
38906if test \${status} != 0; then
38907 exit \${status}
38908fi
38909
38910#
38911# Remove intermediate module
38912#
38913rm -f master.\$\$.o
38914
38915exit 0
38916EOF
38917 chmod +x shared-ld-sh
38918
38919 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38920 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38921 SHARED_LD_CXX="$SHARED_LD_CC"
38922 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38923 else
38924 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38925 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38926 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38927 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38928 fi
38929
38930 PIC_FLAG="-dynamic -fPIC"
38931 ;;
38932
38933 *-*-aix* )
38934 if test "x$GCC" != "xyes"; then
38935 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38936set dummy makeC++SharedLib; ac_word=$2
38937echo "$as_me:$LINENO: checking for $ac_word" >&5
38938echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38939if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38940 echo $ECHO_N "(cached) $ECHO_C" >&6
38941else
38942 if test -n "$AIX_CXX_LD"; then
38943 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38944else
38945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38946for as_dir in $PATH
38947do
38948 IFS=$as_save_IFS
38949 test -z "$as_dir" && as_dir=.
38950 for ac_exec_ext in '' $ac_executable_extensions; do
38951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38952 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38954 break 2
38955 fi
38956done
38957done
38958
38959 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38960fi
38961fi
38962AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38963if test -n "$AIX_CXX_LD"; then
38964 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38965echo "${ECHO_T}$AIX_CXX_LD" >&6
38966else
38967 echo "$as_me:$LINENO: result: no" >&5
38968echo "${ECHO_T}no" >&6
38969fi
38970
38971 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38972 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38973 fi
38974 ;;
38975
38976 *-*-beos* )
38977 SHARED_LD_CC="${LD} -shared -o"
38978 SHARED_LD_CXX="${LD} -shared -o"
38979 ;;
38980
38981 *-*-irix* )
38982 if test "x$GCC" != "xyes"; then
38983 PIC_FLAG="-KPIC"
38984 fi
38985 ;;
38986
38987 *-*-cygwin* | *-*-mingw32* )
38988 PIC_FLAG=""
38989 ;;
38990
38991 *-pc-os2_emx | *-pc-os2-emx )
38992 SHARED_LD_CC="dllar.sh -o"
38993 SHARED_LD_CXX="dllar.sh -o"
38994 PIC_FLAG=""
38995 ;;
38996
38997 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38998 *-*-sunos4* | \
38999 *-*-osf* | \
39000 *-*-dgux5* | \
39001 *-*-sysv5* )
39002 ;;
39003
39004 *)
39005 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39006echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39007 { (exit 1); exit 1; }; }
39008 esac
39009
39010 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39011 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39012 fi
39013 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39014 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39015 fi
39016
39017
39018
39019
39020
39021
39022
39023
39024 USE_SOVERSION=0
39025 USE_SOVERLINUX=0
39026 USE_SOVERSOLARIS=0
39027 USE_SOSYMLINKS=0
39028 USE_MACVERSION=0
39029 SONAME_FLAG=
39030
39031 case "${BAKEFILE_HOST}" in
39032 *-*-linux* )
39033 SONAME_FLAG="-Wl,-soname,"
39034 USE_SOVERSION=1
39035 USE_SOVERLINUX=1
39036 USE_SOSYMLINKS=1
39037 ;;
39038
39039 *-*-solaris2* )
39040 SONAME_FLAG="-h "
39041 USE_SOVERSION=1
39042 USE_SOVERSOLARIS=1
39043 USE_SOSYMLINKS=1
39044 ;;
39045
39046 *-*-darwin* )
39047 USE_MACVERSION=1
39048 USE_SOVERSION=1
39049 USE_SOSYMLINKS=1
39050 ;;
39051 esac
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39062echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39063 DEPS_TRACKING=0
39064
39065 if test "x$GCC" = "xyes"; then
39066 DEPSMODE=gcc
39067 DEPS_TRACKING=1
39068 case "${BAKEFILE_HOST}" in
39069 powerpc-*-darwin* )
39070 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39071 ;;
39072 * )
39073 DEPSFLAG_GCC="-MMD"
39074 ;;
39075 esac
39076 echo "$as_me:$LINENO: result: gcc" >&5
39077echo "${ECHO_T}gcc" >&6
39078 else
39079 echo "$as_me:$LINENO: result: none" >&5
39080echo "${ECHO_T}none" >&6
39081 fi
39082
39083 if test $DEPS_TRACKING = 1 ; then
39084 cat <<EOF >bk-deps
39085#!/bin/sh
39086
39087# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39088# script. It is used to track C/C++ files dependencies in portable way.
39089#
39090# Permission is given to use this file in any way.
39091
39092DEPSMODE=$DEPSMODE
39093DEPSDIR=.deps
39094DEPSFLAG_GCC="$DEPSFLAG_GCC"
39095
39096mkdir -p \$DEPSDIR
39097
39098if test \$DEPSMODE = gcc ; then
39099 \${*} \${DEPSFLAG_GCC}
39100 status=\${?}
39101 if test \${status} != 0 ; then
39102 exit \${status}
39103 fi
39104 # move created file to the location we want it in:
39105 while test \${#} -gt 0; do
39106 case "\${1}" in
39107 -o )
39108 shift
39109 objfile=\${1}
39110 ;;
39111 -* )
39112 ;;
39113 * )
39114 srcfile=\${1}
39115 ;;
39116 esac
39117 shift
39118 done
39119 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
39120 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
39121 if test -f \$depfile ; then
39122 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39123 rm -f \$depfile
39124 else
39125 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
39126 if test -f \$depfile ; then
39127 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39128 rm -f \$depfile
39129 fi
39130 fi
39131 exit 0
39132else
39133 \${*}
39134 exit \${?}
39135fi
39136EOF
39137 chmod +x bk-deps
39138 fi
39139
39140
39141
39142
39143 RESCOMP=
39144 SETFILE=
39145
39146 case ${BAKEFILE_HOST} in
39147 *-*-cygwin* | *-*-mingw32* )
39148 if test "$build" != "$host" ; then
39149 RESCOMP=$host_alias-windres
39150 else
39151 # Extract the first word of "windres", so it can be a program name with args.
39152set dummy windres; ac_word=$2
39153echo "$as_me:$LINENO: checking for $ac_word" >&5
39154echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39155if test "${ac_cv_prog_RESCOMP+set}" = set; then
39156 echo $ECHO_N "(cached) $ECHO_C" >&6
39157else
39158 if test -n "$RESCOMP"; then
39159 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39160else
39161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39162for as_dir in $PATH
39163do
39164 IFS=$as_save_IFS
39165 test -z "$as_dir" && as_dir=.
39166 for ac_exec_ext in '' $ac_executable_extensions; do
39167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39168 ac_cv_prog_RESCOMP="windres"
39169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39170 break 2
39171 fi
39172done
39173done
39174
39175 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39176fi
39177fi
39178RESCOMP=$ac_cv_prog_RESCOMP
39179if test -n "$RESCOMP"; then
39180 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39181echo "${ECHO_T}$RESCOMP" >&6
39182else
39183 echo "$as_me:$LINENO: result: no" >&5
39184echo "${ECHO_T}no" >&6
39185fi
39186
39187 fi
39188 ;;
39189
39190 *-*-darwin* )
39191 # Extract the first word of "Rez", so it can be a program name with args.
39192set dummy Rez; ac_word=$2
39193echo "$as_me:$LINENO: checking for $ac_word" >&5
39194echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39195if test "${ac_cv_prog_RESCOMP+set}" = set; then
39196 echo $ECHO_N "(cached) $ECHO_C" >&6
39197else
39198 if test -n "$RESCOMP"; then
39199 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39200else
39201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39202for as_dir in $PATH
39203do
39204 IFS=$as_save_IFS
39205 test -z "$as_dir" && as_dir=.
39206 for ac_exec_ext in '' $ac_executable_extensions; do
39207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39208 ac_cv_prog_RESCOMP="Rez"
39209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39210 break 2
39211 fi
39212done
39213done
39214
39215 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39216fi
39217fi
39218RESCOMP=$ac_cv_prog_RESCOMP
39219if test -n "$RESCOMP"; then
39220 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39221echo "${ECHO_T}$RESCOMP" >&6
39222else
39223 echo "$as_me:$LINENO: result: no" >&5
39224echo "${ECHO_T}no" >&6
39225fi
39226
39227 # Extract the first word of "SetFile", so it can be a program name with args.
39228set dummy SetFile; ac_word=$2
39229echo "$as_me:$LINENO: checking for $ac_word" >&5
39230echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39231if test "${ac_cv_prog_SETFILE+set}" = set; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39233else
39234 if test -n "$SETFILE"; then
39235 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39236else
39237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39238for as_dir in $PATH
39239do
39240 IFS=$as_save_IFS
39241 test -z "$as_dir" && as_dir=.
39242 for ac_exec_ext in '' $ac_executable_extensions; do
39243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39244 ac_cv_prog_SETFILE="SetFile"
39245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39246 break 2
39247 fi
39248done
39249done
39250
39251 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39252fi
39253fi
39254SETFILE=$ac_cv_prog_SETFILE
39255if test -n "$SETFILE"; then
39256 echo "$as_me:$LINENO: result: $SETFILE" >&5
39257echo "${ECHO_T}$SETFILE" >&6
39258else
39259 echo "$as_me:$LINENO: result: no" >&5
39260echo "${ECHO_T}no" >&6
39261fi
39262
39263 ;;
39264 esac
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39276if test "${enable_precomp_headers+set}" = set; then
39277 enableval="$enable_precomp_headers"
39278 bk_use_pch="$enableval"
39279fi;
39280
39281 GCC_PCH=0
39282
39283 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39284 if test "x$GCC" = "xyes"; then
39285 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39286echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39287 cat >conftest.$ac_ext <<_ACEOF
39288/* confdefs.h. */
39289_ACEOF
39290cat confdefs.h >>conftest.$ac_ext
39291cat >>conftest.$ac_ext <<_ACEOF
39292/* end confdefs.h. */
39293
39294int
39295main ()
39296{
39297
39298 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39299 #error "no pch support"
39300 #endif
39301 #if (__GNUC__ < 3)
39302 #error "no pch support"
39303 #endif
39304 #if (__GNUC__ == 3) && \
39305 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39306 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39307 #error "no pch support"
39308 #endif
39309
39310 ;
39311 return 0;
39312}
39313_ACEOF
39314rm -f conftest.$ac_objext
39315if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39316 (eval $ac_compile) 2>conftest.er1
39317 ac_status=$?
39318 grep -v '^ *+' conftest.er1 >conftest.err
39319 rm -f conftest.er1
39320 cat conftest.err >&5
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); } &&
39323 { ac_try='test -z "$ac_c_werror_flag"
39324 || test ! -s conftest.err'
39325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39326 (eval $ac_try) 2>&5
39327 ac_status=$?
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); }; } &&
39330 { ac_try='test -s conftest.$ac_objext'
39331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332 (eval $ac_try) 2>&5
39333 ac_status=$?
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); }; }; then
39336
39337 echo "$as_me:$LINENO: result: yes" >&5
39338echo "${ECHO_T}yes" >&6
39339 CPPFLAGS="-fpch-deps $CPPFLAGS"
39340 GCC_PCH=1
39341
39342else
39343 echo "$as_me: failed program was:" >&5
39344sed 's/^/| /' conftest.$ac_ext >&5
39345
39346
39347 echo "$as_me:$LINENO: result: no" >&5
39348echo "${ECHO_T}no" >&6
39349
39350fi
39351rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39352 if test $GCC_PCH = 1 ; then
39353 cat <<EOF >bk-make-pch
39354#!/bin/sh
39355
39356# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39357# script. It is used to generated precompiled headers.
39358#
39359# Permission is given to use this file in any way.
39360
39361outfile="\${1}"
39362header="\${2}"
39363shift
39364shift
39365
39366compiler=
39367headerfile=
39368while test \${#} -gt 0; do
39369 case "\${1}" in
39370 -I* )
39371 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39372 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39373 headerfile="\${incdir}/\${header}"
39374 fi
39375 ;;
39376 esac
39377 compiler="\${compiler} \${1}"
39378 shift
39379done
39380
39381if test "x\${headerfile}" = "x" ; then
39382 echo "error: can't find header \${header} in include paths" >2
39383else
39384 if test -f \${outfile} ; then
39385 rm -f \${outfile}
39386 else
39387 mkdir -p \`dirname \${outfile}\`
39388 fi
39389 depsfile=".deps/\`basename \${outfile}\`.d"
39390 mkdir -p .deps
39391 # can do this because gcc is >= 3.4:
39392 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39393 exit \${?}
39394fi
39395EOF
39396 chmod +x bk-make-pch
39397 fi
39398 fi
39399 fi
39400
39401
39402
39403
39404
39405 COND_BUILD_DEBUG="#"
39406 if test "x$BUILD" = "xdebug" ; then
39407 COND_BUILD_DEBUG=""
39408 fi
39409
39410 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39411 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39412 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39413 fi
39414
39415 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39416 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39417 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39418 fi
39419
39420 COND_BUILD_DEBUG_UNICODE_0="#"
39421 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39422 COND_BUILD_DEBUG_UNICODE_0=""
39423 fi
39424
39425 COND_BUILD_DEBUG_UNICODE_1="#"
39426 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39427 COND_BUILD_DEBUG_UNICODE_1=""
39428 fi
39429
39430 COND_BUILD_RELEASE="#"
39431 if test "x$BUILD" = "xrelease" ; then
39432 COND_BUILD_RELEASE=""
39433 fi
39434
39435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39436 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39437 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39438 fi
39439
39440 COND_BUILD_RELEASE_UNICODE_0="#"
39441 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39442 COND_BUILD_RELEASE_UNICODE_0=""
39443 fi
39444
39445 COND_BUILD_RELEASE_UNICODE_1="#"
39446 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39447 COND_BUILD_RELEASE_UNICODE_1=""
39448 fi
39449
39450 COND_DEBUG_FLAG_1="#"
39451 if test "x$DEBUG_FLAG" = "x1" ; then
39452 COND_DEBUG_FLAG_1=""
39453 fi
39454
39455 COND_DEBUG_INFO_0="#"
39456 if test "x$DEBUG_INFO" = "x0" ; then
39457 COND_DEBUG_INFO_0=""
39458 fi
39459
39460 COND_DEBUG_INFO_1="#"
39461 if test "x$DEBUG_INFO" = "x1" ; then
39462 COND_DEBUG_INFO_1=""
39463 fi
39464
39465 COND_DEPS_TRACKING_0="#"
39466 if test "x$DEPS_TRACKING" = "x0" ; then
39467 COND_DEPS_TRACKING_0=""
39468 fi
39469
39470 COND_DEPS_TRACKING_1="#"
39471 if test "x$DEPS_TRACKING" = "x1" ; then
39472 COND_DEPS_TRACKING_1=""
39473 fi
39474
39475 COND_GCC_PCH_1="#"
39476 if test "x$GCC_PCH" = "x1" ; then
39477 COND_GCC_PCH_1=""
39478 fi
39479
39480 COND_MONOLITHIC_0="#"
39481 if test "x$MONOLITHIC" = "x0" ; then
39482 COND_MONOLITHIC_0=""
39483 fi
39484
39485 COND_MONOLITHIC_0_SHARED_0="#"
39486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39487 COND_MONOLITHIC_0_SHARED_0=""
39488 fi
39489
39490 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39492 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39493 fi
39494
39495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39498 fi
39499
39500 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39502 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39503 fi
39504
39505 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39507 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39508 fi
39509
39510 COND_MONOLITHIC_0_SHARED_1="#"
39511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39512 COND_MONOLITHIC_0_SHARED_1=""
39513 fi
39514
39515 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39517 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39518 fi
39519
39520 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39522 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39523 fi
39524
39525 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39527 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39528 fi
39529
39530 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39532 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39533 fi
39534
39535 COND_MONOLITHIC_0_USE_ODBC_1="#"
39536 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39537 COND_MONOLITHIC_0_USE_ODBC_1=""
39538 fi
39539
39540 COND_MONOLITHIC_1="#"
39541 if test "x$MONOLITHIC" = "x1" ; then
39542 COND_MONOLITHIC_1=""
39543 fi
39544
39545 COND_MONOLITHIC_1_SHARED_0="#"
39546 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39547 COND_MONOLITHIC_1_SHARED_0=""
39548 fi
39549
39550 COND_MONOLITHIC_1_SHARED_1="#"
39551 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39552 COND_MONOLITHIC_1_SHARED_1=""
39553 fi
39554
39555 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39556 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39557 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39558 fi
39559
39560 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39561 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39562 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39563 fi
39564
39565 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39566 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39567 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39568 fi
39569
39570 COND_PLATFORM_MACOSX_1="#"
39571 if test "x$PLATFORM_MACOSX" = "x1" ; then
39572 COND_PLATFORM_MACOSX_1=""
39573 fi
39574
39575 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
39576 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39577 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
39578 fi
39579
39580 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
39581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39582 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
39583 fi
39584
39585 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
39586 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39587 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
39588 fi
39589
39590 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39591 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39592 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39593 fi
39594
39595 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39596 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39597 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39598 fi
39599
39600 COND_PLATFORM_MAC_1="#"
39601 if test "x$PLATFORM_MAC" = "x1" ; then
39602 COND_PLATFORM_MAC_1=""
39603 fi
39604
39605 COND_PLATFORM_OS2_1="#"
39606 if test "x$PLATFORM_OS2" = "x1" ; then
39607 COND_PLATFORM_OS2_1=""
39608 fi
39609
39610 COND_PLATFORM_UNIX_0="#"
39611 if test "x$PLATFORM_UNIX" = "x0" ; then
39612 COND_PLATFORM_UNIX_0=""
39613 fi
39614
39615 COND_PLATFORM_UNIX_1="#"
39616 if test "x$PLATFORM_UNIX" = "x1" ; then
39617 COND_PLATFORM_UNIX_1=""
39618 fi
39619
39620 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39621 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39622 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39623 fi
39624
39625 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39626 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39627 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39628 fi
39629
39630 COND_PLATFORM_WIN32_0="#"
39631 if test "x$PLATFORM_WIN32" = "x0" ; then
39632 COND_PLATFORM_WIN32_0=""
39633 fi
39634
39635 COND_PLATFORM_WIN32_1="#"
39636 if test "x$PLATFORM_WIN32" = "x1" ; then
39637 COND_PLATFORM_WIN32_1=""
39638 fi
39639
39640 COND_SHARED_0="#"
39641 if test "x$SHARED" = "x0" ; then
39642 COND_SHARED_0=""
39643 fi
39644
39645 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39646 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39647 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39648 fi
39649
39650 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39651 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39652 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39653 fi
39654
39655 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39656 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39657 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39658 fi
39659
39660 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39661 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39662 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39663 fi
39664
39665 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
39666 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39667 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
39668 fi
39669
39670 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
39671 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39672 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
39673 fi
39674
39675 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
39676 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39677 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
39678 fi
39679
39680 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
39681 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39682 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
39683 fi
39684
39685 COND_SHARED_1="#"
39686 if test "x$SHARED" = "x1" ; then
39687 COND_SHARED_1=""
39688 fi
39689
39690 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39691 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39692 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39693 fi
39694
39695 COND_TOOLKIT_COCOA="#"
39696 if test "x$TOOLKIT" = "xCOCOA" ; then
39697 COND_TOOLKIT_COCOA=""
39698 fi
39699
39700 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39701 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39702 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39703 fi
39704
39705 COND_TOOLKIT_GTK="#"
39706 if test "x$TOOLKIT" = "xGTK" ; then
39707 COND_TOOLKIT_GTK=""
39708 fi
39709
39710 COND_TOOLKIT_GTK_USE_GUI_1="#"
39711 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39712 COND_TOOLKIT_GTK_USE_GUI_1=""
39713 fi
39714
39715 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
39716 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39717 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
39718 fi
39719
39720 COND_TOOLKIT_MAC="#"
39721 if test "x$TOOLKIT" = "xMAC" ; then
39722 COND_TOOLKIT_MAC=""
39723 fi
39724
39725 COND_TOOLKIT_MAC_USE_GUI_1="#"
39726 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39727 COND_TOOLKIT_MAC_USE_GUI_1=""
39728 fi
39729
39730 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
39731 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39732 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
39733 fi
39734
39735 COND_TOOLKIT_MGL="#"
39736 if test "x$TOOLKIT" = "xMGL" ; then
39737 COND_TOOLKIT_MGL=""
39738 fi
39739
39740 COND_TOOLKIT_MGL_USE_GUI_1="#"
39741 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39742 COND_TOOLKIT_MGL_USE_GUI_1=""
39743 fi
39744
39745 COND_TOOLKIT_MOTIF="#"
39746 if test "x$TOOLKIT" = "xMOTIF" ; then
39747 COND_TOOLKIT_MOTIF=""
39748 fi
39749
39750 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39751 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39752 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39753 fi
39754
39755 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39756 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39757 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39758 fi
39759
39760 COND_TOOLKIT_MSW="#"
39761 if test "x$TOOLKIT" = "xMSW" ; then
39762 COND_TOOLKIT_MSW=""
39763 fi
39764
39765 COND_TOOLKIT_MSW_USE_GUI_1="#"
39766 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39767 COND_TOOLKIT_MSW_USE_GUI_1=""
39768 fi
39769
39770 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39771 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39772 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39773 fi
39774
39775 COND_TOOLKIT_PM="#"
39776 if test "x$TOOLKIT" = "xPM" ; then
39777 COND_TOOLKIT_PM=""
39778 fi
39779
39780 COND_TOOLKIT_PM_USE_GUI_1="#"
39781 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39782 COND_TOOLKIT_PM_USE_GUI_1=""
39783 fi
39784
39785 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
39786 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39787 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
39788 fi
39789
39790 COND_TOOLKIT_X11="#"
39791 if test "x$TOOLKIT" = "xX11" ; then
39792 COND_TOOLKIT_X11=""
39793 fi
39794
39795 COND_TOOLKIT_X11_USE_GUI_1="#"
39796 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39797 COND_TOOLKIT_X11_USE_GUI_1=""
39798 fi
39799
39800 COND_UNICODE_1="#"
39801 if test "x$UNICODE" = "x1" ; then
39802 COND_UNICODE_1=""
39803 fi
39804
39805 COND_USE_EXCEPTIONS_0="#"
39806 if test "x$USE_EXCEPTIONS" = "x0" ; then
39807 COND_USE_EXCEPTIONS_0=""
39808 fi
39809
39810 COND_USE_EXCEPTIONS_1="#"
39811 if test "x$USE_EXCEPTIONS" = "x1" ; then
39812 COND_USE_EXCEPTIONS_1=""
39813 fi
39814
39815 COND_USE_GUI_0="#"
39816 if test "x$USE_GUI" = "x0" ; then
39817 COND_USE_GUI_0=""
39818 fi
39819
39820 COND_USE_GUI_1="#"
39821 if test "x$USE_GUI" = "x1" ; then
39822 COND_USE_GUI_1=""
39823 fi
39824
39825 COND_USE_GUI_1_WXUNIV_0="#"
39826 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39827 COND_USE_GUI_1_WXUNIV_0=""
39828 fi
39829
39830 COND_USE_GUI_1_WXUNIV_1="#"
39831 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39832 COND_USE_GUI_1_WXUNIV_1=""
39833 fi
39834
39835 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39836 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39837 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39838 fi
39839
39840 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39841 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39842 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39843 fi
39844
39845 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39846 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39847 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39848 fi
39849
39850 COND_USE_ODBC_1="#"
39851 if test "x$USE_ODBC" = "x1" ; then
39852 COND_USE_ODBC_1=""
39853 fi
39854
39855 COND_USE_PLUGINS_0="#"
39856 if test "x$USE_PLUGINS" = "x0" ; then
39857 COND_USE_PLUGINS_0=""
39858 fi
39859
39860 COND_USE_SOSYMLINKS_1="#"
39861 if test "x$USE_SOSYMLINKS" = "x1" ; then
39862 COND_USE_SOSYMLINKS_1=""
39863 fi
39864
39865 COND_USE_SOVERLINUX_1="#"
39866 if test "x$USE_SOVERLINUX" = "x1" ; then
39867 COND_USE_SOVERLINUX_1=""
39868 fi
39869
39870 COND_USE_SOVERSION_0="#"
39871 if test "x$USE_SOVERSION" = "x0" ; then
39872 COND_USE_SOVERSION_0=""
39873 fi
39874
39875 COND_USE_SOVERSOLARIS_1="#"
39876 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39877 COND_USE_SOVERSOLARIS_1=""
39878 fi
39879
39880 COND_WITH_PLUGIN_SDL_1="#"
39881 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39882 COND_WITH_PLUGIN_SDL_1=""
39883 fi
39884
39885 COND_WITH_SDL_1="#"
39886 if test "x$WITH_SDL" = "x1" ; then
39887 COND_WITH_SDL_1=""
39888 fi
39889
39890 COND_WXUNIV_1="#"
39891 if test "x$WXUNIV" = "x1" ; then
39892 COND_WXUNIV_1=""
39893 fi
39894
39895 COND_WXUSE_EXPAT_BUILTIN="#"
39896 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39897 COND_WXUSE_EXPAT_BUILTIN=""
39898 fi
39899
39900 COND_WXUSE_LIBJPEG_BUILTIN="#"
39901 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39902 COND_WXUSE_LIBJPEG_BUILTIN=""
39903 fi
39904
39905 COND_WXUSE_LIBPNG_BUILTIN="#"
39906 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39907 COND_WXUSE_LIBPNG_BUILTIN=""
39908 fi
39909
39910 COND_WXUSE_LIBTIFF_BUILTIN="#"
39911 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39912 COND_WXUSE_LIBTIFF_BUILTIN=""
39913 fi
39914
39915 COND_WXUSE_ODBC_BUILTIN="#"
39916 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39917 COND_WXUSE_ODBC_BUILTIN=""
39918 fi
39919
39920 COND_WXUSE_REGEX_BUILTIN="#"
39921 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39922 COND_WXUSE_REGEX_BUILTIN=""
39923 fi
39924
39925 COND_WXUSE_ZLIB_BUILTIN="#"
39926 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39927 COND_WXUSE_ZLIB_BUILTIN=""
39928 fi
39929
39930
39931
39932
39933
39934if test $GCC_PCH = 1 ; then
39935 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39936 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39937else
39938 case "${host}" in
39939 powerpc-*-darwin* )
39940 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39941 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
39942 ;;
39943 esac
39944fi
39945
39946
39947SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40049echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40050set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40051if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40052 echo $ECHO_N "(cached) $ECHO_C" >&6
40053else
40054 cat >conftest.make <<\_ACEOF
40055all:
40056 @echo 'ac_maketemp="$(MAKE)"'
40057_ACEOF
40058# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40059eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40060if test -n "$ac_maketemp"; then
40061 eval ac_cv_prog_make_${ac_make}_set=yes
40062else
40063 eval ac_cv_prog_make_${ac_make}_set=no
40064fi
40065rm -f conftest.make
40066fi
40067if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40068 echo "$as_me:$LINENO: result: yes" >&5
40069echo "${ECHO_T}yes" >&6
40070 SET_MAKE=
40071else
40072 echo "$as_me:$LINENO: result: no" >&5
40073echo "${ECHO_T}no" >&6
40074 SET_MAKE="MAKE=${MAKE-make}"
40075fi
40076
40077
40078if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
40079 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
40080fi
40081
40082 ac_config_headers="$ac_config_headers setup.h"
40083
40084
40085 ac_config_files="$ac_config_files wx-config version-script Makefile"
40086
40087
40088 ac_config_commands="$ac_config_commands default"
40089
40090
40091
40092if test "$wxUSE_GUI" = "yes"; then
40093 SUBDIRS="samples demos utils contrib"
40094else SUBDIRS="samples utils"
40095fi
40096
40097
40098
40099# Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40100if test "${with_cppunit_prefix+set}" = set; then
40101 withval="$with_cppunit_prefix"
40102 cppunit_config_prefix="$withval"
40103else
40104 cppunit_config_prefix=""
40105fi;
40106
40107# Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40108if test "${with_cppunit_exec_prefix+set}" = set; then
40109 withval="$with_cppunit_exec_prefix"
40110 cppunit_config_exec_prefix="$withval"
40111else
40112 cppunit_config_exec_prefix=""
40113fi;
40114
40115 if test x$cppunit_config_exec_prefix != x ; then
40116 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40117 if test x${CPPUNIT_CONFIG+set} != xset ; then
40118 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40119 fi
40120 fi
40121 if test x$cppunit_config_prefix != x ; then
40122 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40123 if test x${CPPUNIT_CONFIG+set} != xset ; then
40124 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40125 fi
40126 fi
40127
40128 # Extract the first word of "cppunit-config", so it can be a program name with args.
40129set dummy cppunit-config; ac_word=$2
40130echo "$as_me:$LINENO: checking for $ac_word" >&5
40131echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40132if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40134else
40135 case $CPPUNIT_CONFIG in
40136 [\\/]* | ?:[\\/]*)
40137 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40138 ;;
40139 *)
40140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40141for as_dir in $PATH
40142do
40143 IFS=$as_save_IFS
40144 test -z "$as_dir" && as_dir=.
40145 for ac_exec_ext in '' $ac_executable_extensions; do
40146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40147 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40149 break 2
40150 fi
40151done
40152done
40153
40154 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40155 ;;
40156esac
40157fi
40158CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40159
40160if test -n "$CPPUNIT_CONFIG"; then
40161 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40162echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40163else
40164 echo "$as_me:$LINENO: result: no" >&5
40165echo "${ECHO_T}no" >&6
40166fi
40167
40168 cppunit_version_min=1.8.0
40169
40170 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40171echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40172 no_cppunit=""
40173 if test "$CPPUNIT_CONFIG" = "no" ; then
40174 no_cppunit=yes
40175 else
40176 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40177 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40178 cppunit_version=`$CPPUNIT_CONFIG --version`
40179
40180 cppunit_major_version=`echo $cppunit_version | \
40181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40182 cppunit_minor_version=`echo $cppunit_version | \
40183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40184 cppunit_micro_version=`echo $cppunit_version | \
40185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40186
40187 cppunit_major_min=`echo $cppunit_version_min | \
40188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40189 cppunit_minor_min=`echo $cppunit_version_min | \
40190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40191 cppunit_micro_min=`echo $cppunit_version_min | \
40192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40193
40194 cppunit_version_proper=`expr \
40195 $cppunit_major_version \> $cppunit_major_min \| \
40196 $cppunit_major_version \= $cppunit_major_min \& \
40197 $cppunit_minor_version \> $cppunit_minor_min \| \
40198 $cppunit_major_version \= $cppunit_major_min \& \
40199 $cppunit_minor_version \= $cppunit_minor_min \& \
40200 $cppunit_micro_version \>= $cppunit_micro_min `
40201
40202 if test "$cppunit_version_proper" = "1" ; then
40203 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40204echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40205 else
40206 echo "$as_me:$LINENO: result: no" >&5
40207echo "${ECHO_T}no" >&6
40208 no_cppunit=yes
40209 fi
40210 fi
40211
40212 if test "x$no_cppunit" = x ; then
40213 SUBDIRS="$SUBDIRS tests"
40214 else
40215 CPPUNIT_CFLAGS=""
40216 CPPUNIT_LIBS=""
40217 :
40218 fi
40219
40220
40221
40222
40223
40224for subdir in `echo $SUBDIRS`; do
40225 if test -d ${srcdir}/${subdir} ; then
40226 if test "$wxUSE_GUI" = "yes"; then
40227 if test ${subdir} = "samples"; then
40228 makefiles="samples/Makefile.in $makefiles"
40229 for sample in `echo $SAMPLES_SUBDIRS`; do
40230 if test -d $srcdir/samples/$sample; then
40231 makefiles="samples/$sample/Makefile.in $makefiles"
40232 fi
40233 done
40234 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40235 fi
40236 else if test ${subdir} = "samples"; then
40237 makefiles="samples/Makefile.in samples/console/Makefile.in"
40238 elif test ${subdir} = "utils"; then
40239 makefiles="utils/HelpGen/Makefile.in \
40240 utils/HelpGen/src/Makefile.in \
40241 utils/tex2rtf/Makefile.in \
40242 utils/tex2rtf/src/Makefile.in"
40243 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40244 fi
40245 fi
40246
40247 for mkin in $makefiles ; do
40248 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40249 ac_config_files="$ac_config_files $mk"
40250
40251 done
40252 fi
40253done
40254
40255
40256cat >confcache <<\_ACEOF
40257# This file is a shell script that caches the results of configure
40258# tests run on this system so they can be shared between configure
40259# scripts and configure runs, see configure's option --config-cache.
40260# It is not useful on other systems. If it contains results you don't
40261# want to keep, you may remove or edit it.
40262#
40263# config.status only pays attention to the cache file if you give it
40264# the --recheck option to rerun configure.
40265#
40266# `ac_cv_env_foo' variables (set or unset) will be overridden when
40267# loading this file, other *unset* `ac_cv_foo' will be assigned the
40268# following values.
40269
40270_ACEOF
40271
40272# The following way of writing the cache mishandles newlines in values,
40273# but we know of no workaround that is simple, portable, and efficient.
40274# So, don't put newlines in cache variables' values.
40275# Ultrix sh set writes to stderr and can't be redirected directly,
40276# and sets the high bit in the cache file unless we assign to the vars.
40277{
40278 (set) 2>&1 |
40279 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40280 *ac_space=\ *)
40281 # `set' does not quote correctly, so add quotes (double-quote
40282 # substitution turns \\\\ into \\, and sed turns \\ into \).
40283 sed -n \
40284 "s/'/'\\\\''/g;
40285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40286 ;;
40287 *)
40288 # `set' quotes correctly as required by POSIX, so do not add quotes.
40289 sed -n \
40290 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40291 ;;
40292 esac;
40293} |
40294 sed '
40295 t clear
40296 : clear
40297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40298 t end
40299 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40300 : end' >>confcache
40301if diff $cache_file confcache >/dev/null 2>&1; then :; else
40302 if test -w $cache_file; then
40303 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40304 cat confcache >$cache_file
40305 else
40306 echo "not updating unwritable cache $cache_file"
40307 fi
40308fi
40309rm -f confcache
40310
40311test "x$prefix" = xNONE && prefix=$ac_default_prefix
40312# Let make expand exec_prefix.
40313test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
40314
40315# VPATH may cause trouble with some makes, so we remove $(srcdir),
40316# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40317# trailing colons and then remove the whole line if VPATH becomes empty
40318# (actually we leave an empty line to preserve line numbers).
40319if test "x$srcdir" = x.; then
40320 ac_vpsub='/^[ ]*VPATH[ ]*=/{
40321s/:*\$(srcdir):*/:/;
40322s/:*\${srcdir}:*/:/;
40323s/:*@srcdir@:*/:/;
40324s/^\([^=]*=[ ]*\):*/\1/;
40325s/:*$//;
40326s/^[^=]*=[ ]*$//;
40327}'
40328fi
40329
40330DEFS=-DHAVE_CONFIG_H
40331
40332ac_libobjs=
40333ac_ltlibobjs=
40334for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40335 # 1. Remove the extension, and $U if already installed.
40336 ac_i=`echo "$ac_i" |
40337 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40338 # 2. Add them.
40339 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
40340 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
40341done
40342LIBOBJS=$ac_libobjs
40343
40344LTLIBOBJS=$ac_ltlibobjs
40345
40346
40347
40348: ${CONFIG_STATUS=./config.status}
40349ac_clean_files_save=$ac_clean_files
40350ac_clean_files="$ac_clean_files $CONFIG_STATUS"
40351{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40352echo "$as_me: creating $CONFIG_STATUS" >&6;}
40353cat >$CONFIG_STATUS <<_ACEOF
40354#! $SHELL
40355# Generated by $as_me.
40356# Run this file to recreate the current configuration.
40357# Compiler output produced by configure, useful for debugging
40358# configure, is in config.log if it exists.
40359
40360debug=false
40361ac_cs_recheck=false
40362ac_cs_silent=false
40363SHELL=\${CONFIG_SHELL-$SHELL}
40364_ACEOF
40365
40366cat >>$CONFIG_STATUS <<\_ACEOF
40367## --------------------- ##
40368## M4sh Initialization. ##
40369## --------------------- ##
40370
40371# Be Bourne compatible
40372if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40373 emulate sh
40374 NULLCMD=:
40375 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40376 # is contrary to our usage. Disable this feature.
40377 alias -g '${1+"$@"}'='"$@"'
40378elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40379 set -o posix
40380fi
40381DUALCASE=1; export DUALCASE # for MKS sh
40382
40383# Support unset when possible.
40384if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40385 as_unset=unset
40386else
40387 as_unset=false
40388fi
40389
40390
40391# Work around bugs in pre-3.0 UWIN ksh.
40392$as_unset ENV MAIL MAILPATH
40393PS1='$ '
40394PS2='> '
40395PS4='+ '
40396
40397# NLS nuisances.
40398for as_var in \
40399 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40400 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40401 LC_TELEPHONE LC_TIME
40402do
40403 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40404 eval $as_var=C; export $as_var
40405 else
40406 $as_unset $as_var
40407 fi
40408done
40409
40410# Required to use basename.
40411if expr a : '\(a\)' >/dev/null 2>&1; then
40412 as_expr=expr
40413else
40414 as_expr=false
40415fi
40416
40417if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40418 as_basename=basename
40419else
40420 as_basename=false
40421fi
40422
40423
40424# Name of the executable.
40425as_me=`$as_basename "$0" ||
40426$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40427 X"$0" : 'X\(//\)$' \| \
40428 X"$0" : 'X\(/\)$' \| \
40429 . : '\(.\)' 2>/dev/null ||
40430echo X/"$0" |
40431 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40432 /^X\/\(\/\/\)$/{ s//\1/; q; }
40433 /^X\/\(\/\).*/{ s//\1/; q; }
40434 s/.*/./; q'`
40435
40436
40437# PATH needs CR, and LINENO needs CR and PATH.
40438# Avoid depending upon Character Ranges.
40439as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40440as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40441as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40442as_cr_digits='0123456789'
40443as_cr_alnum=$as_cr_Letters$as_cr_digits
40444
40445# The user is always right.
40446if test "${PATH_SEPARATOR+set}" != set; then
40447 echo "#! /bin/sh" >conf$$.sh
40448 echo "exit 0" >>conf$$.sh
40449 chmod +x conf$$.sh
40450 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40451 PATH_SEPARATOR=';'
40452 else
40453 PATH_SEPARATOR=:
40454 fi
40455 rm -f conf$$.sh
40456fi
40457
40458
40459 as_lineno_1=$LINENO
40460 as_lineno_2=$LINENO
40461 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40462 test "x$as_lineno_1" != "x$as_lineno_2" &&
40463 test "x$as_lineno_3" = "x$as_lineno_2" || {
40464 # Find who we are. Look in the path if we contain no path at all
40465 # relative or not.
40466 case $0 in
40467 *[\\/]* ) as_myself=$0 ;;
40468 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40469for as_dir in $PATH
40470do
40471 IFS=$as_save_IFS
40472 test -z "$as_dir" && as_dir=.
40473 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40474done
40475
40476 ;;
40477 esac
40478 # We did not find ourselves, most probably we were run as `sh COMMAND'
40479 # in which case we are not to be found in the path.
40480 if test "x$as_myself" = x; then
40481 as_myself=$0
40482 fi
40483 if test ! -f "$as_myself"; then
40484 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40485echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40486 { (exit 1); exit 1; }; }
40487 fi
40488 case $CONFIG_SHELL in
40489 '')
40490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40491for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
40492do
40493 IFS=$as_save_IFS
40494 test -z "$as_dir" && as_dir=.
40495 for as_base in sh bash ksh sh5; do
40496 case $as_dir in
40497 /*)
40498 if ("$as_dir/$as_base" -c '
40499 as_lineno_1=$LINENO
40500 as_lineno_2=$LINENO
40501 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40502 test "x$as_lineno_1" != "x$as_lineno_2" &&
40503 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
40504 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40505 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40506 CONFIG_SHELL=$as_dir/$as_base
40507 export CONFIG_SHELL
40508 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40509 fi;;
40510 esac
40511 done
40512done
40513;;
40514 esac
40515
40516 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40517 # uniformly replaced by the line number. The first 'sed' inserts a
40518 # line-number line before each line; the second 'sed' does the real
40519 # work. The second script uses 'N' to pair each line-number line
40520 # with the numbered line, and appends trailing '-' during
40521 # substitution so that $LINENO is not a special case at line end.
40522 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40523 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40524 sed '=' <$as_myself |
40525 sed '
40526 N
40527 s,$,-,
40528 : loop
40529 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40530 t loop
40531 s,-$,,
40532 s,^['$as_cr_digits']*\n,,
40533 ' >$as_me.lineno &&
40534 chmod +x $as_me.lineno ||
40535 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40536echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40537 { (exit 1); exit 1; }; }
40538
40539 # Don't try to exec as it changes $[0], causing all sort of problems
40540 # (the dirname of $[0] is not the place where we might find the
40541 # original and so on. Autoconf is especially sensible to this).
40542 . ./$as_me.lineno
40543 # Exit status is that of the last command.
40544 exit
40545}
40546
40547
40548case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40549 *c*,-n*) ECHO_N= ECHO_C='
40550' ECHO_T=' ' ;;
40551 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
40552 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
40553esac
40554
40555if expr a : '\(a\)' >/dev/null 2>&1; then
40556 as_expr=expr
40557else
40558 as_expr=false
40559fi
40560
40561rm -f conf$$ conf$$.exe conf$$.file
40562echo >conf$$.file
40563if ln -s conf$$.file conf$$ 2>/dev/null; then
40564 # We could just check for DJGPP; but this test a) works b) is more generic
40565 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40566 if test -f conf$$.exe; then
40567 # Don't use ln at all; we don't have any links
40568 as_ln_s='cp -p'
40569 else
40570 as_ln_s='ln -s'
40571 fi
40572elif ln conf$$.file conf$$ 2>/dev/null; then
40573 as_ln_s=ln
40574else
40575 as_ln_s='cp -p'
40576fi
40577rm -f conf$$ conf$$.exe conf$$.file
40578
40579if mkdir -p . 2>/dev/null; then
40580 as_mkdir_p=:
40581else
40582 test -d ./-p && rmdir ./-p
40583 as_mkdir_p=false
40584fi
40585
40586as_executable_p="test -f"
40587
40588# Sed expression to map a string onto a valid CPP name.
40589as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40590
40591# Sed expression to map a string onto a valid variable name.
40592as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40593
40594
40595# IFS
40596# We need space, tab and new line, in precisely that order.
40597as_nl='
40598'
40599IFS=" $as_nl"
40600
40601# CDPATH.
40602$as_unset CDPATH
40603
40604exec 6>&1
40605
40606# Open the log real soon, to keep \$[0] and so on meaningful, and to
40607# report actual input values of CONFIG_FILES etc. instead of their
40608# values after options handling. Logging --version etc. is OK.
40609exec 5>>config.log
40610{
40611 echo
40612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40613## Running $as_me. ##
40614_ASBOX
40615} >&5
40616cat >&5 <<_CSEOF
40617
40618This file was extended by wxWindows $as_me 2.5.1, which was
40619generated by GNU Autoconf 2.59. Invocation command line was
40620
40621 CONFIG_FILES = $CONFIG_FILES
40622 CONFIG_HEADERS = $CONFIG_HEADERS
40623 CONFIG_LINKS = $CONFIG_LINKS
40624 CONFIG_COMMANDS = $CONFIG_COMMANDS
40625 $ $0 $@
40626
40627_CSEOF
40628echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40629echo >&5
40630_ACEOF
40631
40632# Files that config.status was made for.
40633if test -n "$ac_config_files"; then
40634 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40635fi
40636
40637if test -n "$ac_config_headers"; then
40638 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40639fi
40640
40641if test -n "$ac_config_links"; then
40642 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40643fi
40644
40645if test -n "$ac_config_commands"; then
40646 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40647fi
40648
40649cat >>$CONFIG_STATUS <<\_ACEOF
40650
40651ac_cs_usage="\
40652\`$as_me' instantiates files from templates according to the
40653current configuration.
40654
40655Usage: $0 [OPTIONS] [FILE]...
40656
40657 -h, --help print this help, then exit
40658 -V, --version print version number, then exit
40659 -q, --quiet do not print progress messages
40660 -d, --debug don't remove temporary files
40661 --recheck update $as_me by reconfiguring in the same conditions
40662 --file=FILE[:TEMPLATE]
40663 instantiate the configuration file FILE
40664 --header=FILE[:TEMPLATE]
40665 instantiate the configuration header FILE
40666
40667Configuration files:
40668$config_files
40669
40670Configuration headers:
40671$config_headers
40672
40673Configuration commands:
40674$config_commands
40675
40676Report bugs to <bug-autoconf@gnu.org>."
40677_ACEOF
40678
40679cat >>$CONFIG_STATUS <<_ACEOF
40680ac_cs_version="\\
40681wxWindows config.status 2.5.1
40682configured by $0, generated by GNU Autoconf 2.59,
40683 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40684
40685Copyright (C) 2003 Free Software Foundation, Inc.
40686This config.status script is free software; the Free Software Foundation
40687gives unlimited permission to copy, distribute and modify it."
40688srcdir=$srcdir
40689INSTALL="$INSTALL"
40690_ACEOF
40691
40692cat >>$CONFIG_STATUS <<\_ACEOF
40693# If no file are specified by the user, then we need to provide default
40694# value. By we need to know if files were specified by the user.
40695ac_need_defaults=:
40696while test $# != 0
40697do
40698 case $1 in
40699 --*=*)
40700 ac_option=`expr "x$1" : 'x\([^=]*\)='`
40701 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
40702 ac_shift=:
40703 ;;
40704 -*)
40705 ac_option=$1
40706 ac_optarg=$2
40707 ac_shift=shift
40708 ;;
40709 *) # This is not an option, so the user has probably given explicit
40710 # arguments.
40711 ac_option=$1
40712 ac_need_defaults=false;;
40713 esac
40714
40715 case $ac_option in
40716 # Handling of the options.
40717_ACEOF
40718cat >>$CONFIG_STATUS <<\_ACEOF
40719 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40720 ac_cs_recheck=: ;;
40721 --version | --vers* | -V )
40722 echo "$ac_cs_version"; exit 0 ;;
40723 --he | --h)
40724 # Conflict between --help and --header
40725 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40726Try \`$0 --help' for more information." >&5
40727echo "$as_me: error: ambiguous option: $1
40728Try \`$0 --help' for more information." >&2;}
40729 { (exit 1); exit 1; }; };;
40730 --help | --hel | -h )
40731 echo "$ac_cs_usage"; exit 0 ;;
40732 --debug | --d* | -d )
40733 debug=: ;;
40734 --file | --fil | --fi | --f )
40735 $ac_shift
40736 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
40737 ac_need_defaults=false;;
40738 --header | --heade | --head | --hea )
40739 $ac_shift
40740 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
40741 ac_need_defaults=false;;
40742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40743 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40744 ac_cs_silent=: ;;
40745
40746 # This is an error.
40747 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40748Try \`$0 --help' for more information." >&5
40749echo "$as_me: error: unrecognized option: $1
40750Try \`$0 --help' for more information." >&2;}
40751 { (exit 1); exit 1; }; } ;;
40752
40753 *) ac_config_targets="$ac_config_targets $1" ;;
40754
40755 esac
40756 shift
40757done
40758
40759ac_configure_extra_args=
40760
40761if $ac_cs_silent; then
40762 exec 6>/dev/null
40763 ac_configure_extra_args="$ac_configure_extra_args --silent"
40764fi
40765
40766_ACEOF
40767cat >>$CONFIG_STATUS <<_ACEOF
40768if \$ac_cs_recheck; then
40769 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40770 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40771fi
40772
40773_ACEOF
40774
40775cat >>$CONFIG_STATUS <<_ACEOF
40776#
40777# INIT-COMMANDS section.
40778#
40779
40780
40781 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40782 LN_S="${LN_S}"
40783
40784
40785
40786_ACEOF
40787
40788
40789
40790cat >>$CONFIG_STATUS <<\_ACEOF
40791for ac_config_target in $ac_config_targets
40792do
40793 case "$ac_config_target" in
40794 # Handling of arguments.
40795 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
40796 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
40797 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
40798 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
40799 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
40800 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
40801 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40802echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40803 { (exit 1); exit 1; }; };;
40804 esac
40805done
40806
40807# If the user did not use the arguments to specify the items to instantiate,
40808# then the envvar interface is used. Set only those that are not.
40809# We use the long form for the default assignment because of an extremely
40810# bizarre bug on SunOS 4.1.3.
40811if $ac_need_defaults; then
40812 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
40813 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
40814 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
40815fi
40816
40817# Have a temporary directory for convenience. Make it in the build tree
40818# simply because there is no reason to put it here, and in addition,
40819# creating and moving files from /tmp can sometimes cause problems.
40820# Create a temporary directory, and hook for its removal unless debugging.
40821$debug ||
40822{
40823 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40824 trap '{ (exit 1); exit 1; }' 1 2 13 15
40825}
40826
40827# Create a (secure) tmp directory for tmp files.
40828
40829{
40830 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40831 test -n "$tmp" && test -d "$tmp"
40832} ||
40833{
40834 tmp=./confstat$$-$RANDOM
40835 (umask 077 && mkdir $tmp)
40836} ||
40837{
40838 echo "$me: cannot create a temporary directory in ." >&2
40839 { (exit 1); exit 1; }
40840}
40841
40842_ACEOF
40843
40844cat >>$CONFIG_STATUS <<_ACEOF
40845
40846#
40847# CONFIG_FILES section.
40848#
40849
40850# No need to generate the scripts if there are no CONFIG_FILES.
40851# This happens for instance when ./config.status config.h
40852if test -n "\$CONFIG_FILES"; then
40853 # Protect against being on the right side of a sed subst in config.status.
40854 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40855 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40856s,@SHELL@,$SHELL,;t t
40857s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40858s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40859s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40860s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40861s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40862s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40863s,@exec_prefix@,$exec_prefix,;t t
40864s,@prefix@,$prefix,;t t
40865s,@program_transform_name@,$program_transform_name,;t t
40866s,@bindir@,$bindir,;t t
40867s,@sbindir@,$sbindir,;t t
40868s,@libexecdir@,$libexecdir,;t t
40869s,@datadir@,$datadir,;t t
40870s,@sysconfdir@,$sysconfdir,;t t
40871s,@sharedstatedir@,$sharedstatedir,;t t
40872s,@localstatedir@,$localstatedir,;t t
40873s,@libdir@,$libdir,;t t
40874s,@includedir@,$includedir,;t t
40875s,@oldincludedir@,$oldincludedir,;t t
40876s,@infodir@,$infodir,;t t
40877s,@mandir@,$mandir,;t t
40878s,@build_alias@,$build_alias,;t t
40879s,@host_alias@,$host_alias,;t t
40880s,@target_alias@,$target_alias,;t t
40881s,@DEFS@,$DEFS,;t t
40882s,@ECHO_C@,$ECHO_C,;t t
40883s,@ECHO_N@,$ECHO_N,;t t
40884s,@ECHO_T@,$ECHO_T,;t t
40885s,@LIBS@,$LIBS,;t t
40886s,@build@,$build,;t t
40887s,@build_cpu@,$build_cpu,;t t
40888s,@build_vendor@,$build_vendor,;t t
40889s,@build_os@,$build_os,;t t
40890s,@host@,$host,;t t
40891s,@host_cpu@,$host_cpu,;t t
40892s,@host_vendor@,$host_vendor,;t t
40893s,@host_os@,$host_os,;t t
40894s,@target@,$target,;t t
40895s,@target_cpu@,$target_cpu,;t t
40896s,@target_vendor@,$target_vendor,;t t
40897s,@target_os@,$target_os,;t t
40898s,@CC@,$CC,;t t
40899s,@CFLAGS@,$CFLAGS,;t t
40900s,@LDFLAGS@,$LDFLAGS,;t t
40901s,@CPPFLAGS@,$CPPFLAGS,;t t
40902s,@ac_ct_CC@,$ac_ct_CC,;t t
40903s,@EXEEXT@,$EXEEXT,;t t
40904s,@OBJEXT@,$OBJEXT,;t t
40905s,@CPP@,$CPP,;t t
40906s,@EGREP@,$EGREP,;t t
40907s,@CXX@,$CXX,;t t
40908s,@CXXFLAGS@,$CXXFLAGS,;t t
40909s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40910s,@RANLIB@,$RANLIB,;t t
40911s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40912s,@AR@,$AR,;t t
40913s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40914s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40915s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40916s,@STRIP@,$STRIP,;t t
40917s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40918s,@LN_S@,$LN_S,;t t
40919s,@CXXCPP@,$CXXCPP,;t t
40920s,@subdirs@,$subdirs,;t t
40921s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40922s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40923s,@GTK_LIBS@,$GTK_LIBS,;t t
40924s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40925s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40926s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40927s,@X_CFLAGS@,$X_CFLAGS,;t t
40928s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40929s,@X_LIBS@,$X_LIBS,;t t
40930s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40931s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40932s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40933s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40934s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40935s,@RESCOMP@,$RESCOMP,;t t
40936s,@DEREZ@,$DEREZ,;t t
40937s,@SETFILE@,$SETFILE,;t t
40938s,@LIBICONV@,$LIBICONV,;t t
40939s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40940s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40941s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40942s,@SDL_LIBS@,$SDL_LIBS,;t t
40943s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40944s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40945s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40946s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40947s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40948s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40949s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40950s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40951s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40952s,@VENDOR@,$VENDOR,;t t
40953s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40954s,@WXUNIV@,$WXUNIV,;t t
40955s,@MONOLITHIC@,$MONOLITHIC,;t t
40956s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40957s,@EXTRALIBS@,$EXTRALIBS,;t t
40958s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40959s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40960s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40961s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40962s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40963s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40964s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40965s,@UNICODE@,$UNICODE,;t t
40966s,@BUILD@,$BUILD,;t t
40967s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40968s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40969s,@SHARED@,$SHARED,;t t
40970s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40971s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40972s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40973s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40974s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40975s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40976s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40977s,@SET_MAKE@,$SET_MAKE,;t t
40978s,@MAKE_SET@,$MAKE_SET,;t t
40979s,@ac_ct_AR@,$ac_ct_AR,;t t
40980s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40981s,@NM@,$NM,;t t
40982s,@ac_ct_NM@,$ac_ct_NM,;t t
40983s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40984s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40985s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40986s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40987s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40988s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40989s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40990s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40991s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40992s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40993s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
40994s,@LIBPREFIX@,$LIBPREFIX,;t t
40995s,@LIBEXT@,$LIBEXT,;t t
40996s,@DLLPREFIX@,$DLLPREFIX,;t t
40997s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40998s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40999s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41000s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41001s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41002s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41003s,@PIC_FLAG@,$PIC_FLAG,;t t
41004s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41005s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41006s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41007s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41008s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41009s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41010s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41011s,@GCC_PCH@,$GCC_PCH,;t t
41012s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41013s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41014s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41015s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41016s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41017s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41018s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41019s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41020s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41021s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41022s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41023s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41024s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41025s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41026s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41027s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41028s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41029s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41030s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
41031s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41032s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41033s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41034s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41035s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
41036s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41037s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41038s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41039s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41040s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41041s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41042s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41043s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41044s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41045s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41046s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41047s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41048s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41049s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41050s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41051s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41052s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41053s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41054s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41055s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41056s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41057s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41058s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41059s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41060s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41061s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41062s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41063s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41064s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41065s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41066s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41067s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41068s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41069s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41070s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41071s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41072s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41073s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41074s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41075s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41076s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41077s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41078s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41079s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41080s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41081s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41082s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41083s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41084s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41085s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41086s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41087s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41088s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41089s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41090s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41091s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41092s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41093s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41094s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41095s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41096s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41097s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41098s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41099s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41100s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41101s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41102s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41103s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41104s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41105s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41106s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41107s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41108s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41109s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41110s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41111s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41112s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41113s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41114s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41115s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41116s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41117s,@PATH_IFS@,$PATH_IFS,;t t
41118s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41119s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41120s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41121s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41122s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41123s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41124s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41125s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41126s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41127s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41128s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41129s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41130s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41131s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41132s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41133s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41134s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41135s,@WX_ALL@,$WX_ALL,;t t
41136s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41137s,@SHARED_LD@,$SHARED_LD,;t t
41138s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41139s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41140s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41141s,@USE_GUI@,$USE_GUI,;t t
41142s,@AFMINSTALL@,$AFMINSTALL,;t t
41143s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41144s,@TOOLKIT@,$TOOLKIT,;t t
41145s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41146s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41147s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41148s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41149s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41150s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41151s,@cross_compiling@,$cross_compiling,;t t
41152s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41153s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41154s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41155s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41156s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41157s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41158s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41159s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41160s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41161s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41162s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41163s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41164s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41165s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41166s,@GUIDIST@,$GUIDIST,;t t
41167s,@PORT_FILES@,$PORT_FILES,;t t
41168s,@DISTDIR@,$DISTDIR,;t t
41169s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41170s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41171s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41172s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41173s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41174s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41175s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41176s,@RESFLAGS@,$RESFLAGS,;t t
41177s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41178s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41179s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41180s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41181s,@MACRESCOMP@,$MACRESCOMP,;t t
41182s,@MACSETFILE@,$MACSETFILE,;t t
41183s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41184s,@GCC@,$GCC,;t t
41185s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
41186s,@DLLTOOL@,$DLLTOOL,;t t
41187s,@AS@,$AS,;t t
41188s,@LD@,$LD,;t t
41189s,@MAKEINFO@,$MAKEINFO,;t t
41190s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41191s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41192s,@LIBOBJS@,$LIBOBJS,;t t
41193s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41194CEOF
41195
41196_ACEOF
41197
41198 cat >>$CONFIG_STATUS <<\_ACEOF
41199 # Split the substitutions into bite-sized pieces for seds with
41200 # small command number limits, like on Digital OSF/1 and HP-UX.
41201 ac_max_sed_lines=48
41202 ac_sed_frag=1 # Number of current file.
41203 ac_beg=1 # First line for current file.
41204 ac_end=$ac_max_sed_lines # Line after last line for current file.
41205 ac_more_lines=:
41206 ac_sed_cmds=
41207 while $ac_more_lines; do
41208 if test $ac_beg -gt 1; then
41209 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
41210 else
41211 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
41212 fi
41213 if test ! -s $tmp/subs.frag; then
41214 ac_more_lines=false
41215 else
41216 # The purpose of the label and of the branching condition is to
41217 # speed up the sed processing (if there are no `@' at all, there
41218 # is no need to browse any of the substitutions).
41219 # These are the two extra sed commands mentioned above.
41220 (echo ':t
41221 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
41222 if test -z "$ac_sed_cmds"; then
41223 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
41224 else
41225 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
41226 fi
41227 ac_sed_frag=`expr $ac_sed_frag + 1`
41228 ac_beg=$ac_end
41229 ac_end=`expr $ac_end + $ac_max_sed_lines`
41230 fi
41231 done
41232 if test -z "$ac_sed_cmds"; then
41233 ac_sed_cmds=cat
41234 fi
41235fi # test -n "$CONFIG_FILES"
41236
41237_ACEOF
41238cat >>$CONFIG_STATUS <<\_ACEOF
41239for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
41240 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41241 case $ac_file in
41242 - | *:- | *:-:* ) # input from stdin
41243 cat >$tmp/stdin
41244 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41245 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41246 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41247 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41248 * ) ac_file_in=$ac_file.in ;;
41249 esac
41250
41251 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41252 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41253$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41254 X"$ac_file" : 'X\(//\)[^/]' \| \
41255 X"$ac_file" : 'X\(//\)$' \| \
41256 X"$ac_file" : 'X\(/\)' \| \
41257 . : '\(.\)' 2>/dev/null ||
41258echo X"$ac_file" |
41259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41261 /^X\(\/\/\)$/{ s//\1/; q; }
41262 /^X\(\/\).*/{ s//\1/; q; }
41263 s/.*/./; q'`
41264 { if $as_mkdir_p; then
41265 mkdir -p "$ac_dir"
41266 else
41267 as_dir="$ac_dir"
41268 as_dirs=
41269 while test ! -d "$as_dir"; do
41270 as_dirs="$as_dir $as_dirs"
41271 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41272$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41273 X"$as_dir" : 'X\(//\)[^/]' \| \
41274 X"$as_dir" : 'X\(//\)$' \| \
41275 X"$as_dir" : 'X\(/\)' \| \
41276 . : '\(.\)' 2>/dev/null ||
41277echo X"$as_dir" |
41278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41279 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41280 /^X\(\/\/\)$/{ s//\1/; q; }
41281 /^X\(\/\).*/{ s//\1/; q; }
41282 s/.*/./; q'`
41283 done
41284 test ! -n "$as_dirs" || mkdir $as_dirs
41285 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41286echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41287 { (exit 1); exit 1; }; }; }
41288
41289 ac_builddir=.
41290
41291if test "$ac_dir" != .; then
41292 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41293 # A "../" for each directory in $ac_dir_suffix.
41294 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41295else
41296 ac_dir_suffix= ac_top_builddir=
41297fi
41298
41299case $srcdir in
41300 .) # No --srcdir option. We are building in place.
41301 ac_srcdir=.
41302 if test -z "$ac_top_builddir"; then
41303 ac_top_srcdir=.
41304 else
41305 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41306 fi ;;
41307 [\\/]* | ?:[\\/]* ) # Absolute path.
41308 ac_srcdir=$srcdir$ac_dir_suffix;
41309 ac_top_srcdir=$srcdir ;;
41310 *) # Relative path.
41311 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41312 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41313esac
41314
41315# Do not use `cd foo && pwd` to compute absolute paths, because
41316# the directories may not exist.
41317case `pwd` in
41318.) ac_abs_builddir="$ac_dir";;
41319*)
41320 case "$ac_dir" in
41321 .) ac_abs_builddir=`pwd`;;
41322 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41323 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41324 esac;;
41325esac
41326case $ac_abs_builddir in
41327.) ac_abs_top_builddir=${ac_top_builddir}.;;
41328*)
41329 case ${ac_top_builddir}. in
41330 .) ac_abs_top_builddir=$ac_abs_builddir;;
41331 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41332 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41333 esac;;
41334esac
41335case $ac_abs_builddir in
41336.) ac_abs_srcdir=$ac_srcdir;;
41337*)
41338 case $ac_srcdir in
41339 .) ac_abs_srcdir=$ac_abs_builddir;;
41340 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41341 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41342 esac;;
41343esac
41344case $ac_abs_builddir in
41345.) ac_abs_top_srcdir=$ac_top_srcdir;;
41346*)
41347 case $ac_top_srcdir in
41348 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41349 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41350 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41351 esac;;
41352esac
41353
41354
41355 case $INSTALL in
41356 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41357 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
41358 esac
41359
41360 if test x"$ac_file" != x-; then
41361 { echo "$as_me:$LINENO: creating $ac_file" >&5
41362echo "$as_me: creating $ac_file" >&6;}
41363 rm -f "$ac_file"
41364 fi
41365 # Let's still pretend it is `configure' which instantiates (i.e., don't
41366 # use $as_me), people would be surprised to read:
41367 # /* config.h. Generated by config.status. */
41368 if test x"$ac_file" = x-; then
41369 configure_input=
41370 else
41371 configure_input="$ac_file. "
41372 fi
41373 configure_input=$configure_input"Generated from `echo $ac_file_in |
41374 sed 's,.*/,,'` by configure."
41375
41376 # First look for the input files in the build tree, otherwise in the
41377 # src tree.
41378 ac_file_inputs=`IFS=:
41379 for f in $ac_file_in; do
41380 case $f in
41381 -) echo $tmp/stdin ;;
41382 [\\/$]*)
41383 # Absolute (can't be DOS-style, as IFS=:)
41384 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41385echo "$as_me: error: cannot find input file: $f" >&2;}
41386 { (exit 1); exit 1; }; }
41387 echo "$f";;
41388 *) # Relative
41389 if test -f "$f"; then
41390 # Build tree
41391 echo "$f"
41392 elif test -f "$srcdir/$f"; then
41393 # Source tree
41394 echo "$srcdir/$f"
41395 else
41396 # /dev/null tree
41397 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41398echo "$as_me: error: cannot find input file: $f" >&2;}
41399 { (exit 1); exit 1; }; }
41400 fi;;
41401 esac
41402 done` || { (exit 1); exit 1; }
41403_ACEOF
41404cat >>$CONFIG_STATUS <<_ACEOF
41405 sed "$ac_vpsub
41406$extrasub
41407_ACEOF
41408cat >>$CONFIG_STATUS <<\_ACEOF
41409:t
41410/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41411s,@configure_input@,$configure_input,;t t
41412s,@srcdir@,$ac_srcdir,;t t
41413s,@abs_srcdir@,$ac_abs_srcdir,;t t
41414s,@top_srcdir@,$ac_top_srcdir,;t t
41415s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
41416s,@builddir@,$ac_builddir,;t t
41417s,@abs_builddir@,$ac_abs_builddir,;t t
41418s,@top_builddir@,$ac_top_builddir,;t t
41419s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
41420s,@INSTALL@,$ac_INSTALL,;t t
41421" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41422 rm -f $tmp/stdin
41423 if test x"$ac_file" != x-; then
41424 mv $tmp/out $ac_file
41425 else
41426 cat $tmp/out
41427 rm -f $tmp/out
41428 fi
41429
41430done
41431_ACEOF
41432cat >>$CONFIG_STATUS <<\_ACEOF
41433
41434#
41435# CONFIG_HEADER section.
41436#
41437
41438# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
41439# NAME is the cpp macro being defined and VALUE is the value it is being given.
41440#
41441# ac_d sets the value in "#define NAME VALUE" lines.
41442ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41443ac_dB='[ ].*$,\1#\2'
41444ac_dC=' '
41445ac_dD=',;t'
41446# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41447ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41448ac_uB='$,\1#\2define\3'
41449ac_uC=' '
41450ac_uD=',;t'
41451
41452for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
41453 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41454 case $ac_file in
41455 - | *:- | *:-:* ) # input from stdin
41456 cat >$tmp/stdin
41457 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41458 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41459 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41460 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41461 * ) ac_file_in=$ac_file.in ;;
41462 esac
41463
41464 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41465echo "$as_me: creating $ac_file" >&6;}
41466
41467 # First look for the input files in the build tree, otherwise in the
41468 # src tree.
41469 ac_file_inputs=`IFS=:
41470 for f in $ac_file_in; do
41471 case $f in
41472 -) echo $tmp/stdin ;;
41473 [\\/$]*)
41474 # Absolute (can't be DOS-style, as IFS=:)
41475 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41476echo "$as_me: error: cannot find input file: $f" >&2;}
41477 { (exit 1); exit 1; }; }
41478 # Do quote $f, to prevent DOS paths from being IFS'd.
41479 echo "$f";;
41480 *) # Relative
41481 if test -f "$f"; then
41482 # Build tree
41483 echo "$f"
41484 elif test -f "$srcdir/$f"; then
41485 # Source tree
41486 echo "$srcdir/$f"
41487 else
41488 # /dev/null tree
41489 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41490echo "$as_me: error: cannot find input file: $f" >&2;}
41491 { (exit 1); exit 1; }; }
41492 fi;;
41493 esac
41494 done` || { (exit 1); exit 1; }
41495 # Remove the trailing spaces.
41496 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41497
41498_ACEOF
41499
41500# Transform confdefs.h into two sed scripts, `conftest.defines' and
41501# `conftest.undefs', that substitutes the proper values into
41502# config.h.in to produce config.h. The first handles `#define'
41503# templates, and the second `#undef' templates.
41504# And first: Protect against being on the right side of a sed subst in
41505# config.status. Protect against being in an unquoted here document
41506# in config.status.
41507rm -f conftest.defines conftest.undefs
41508# Using a here document instead of a string reduces the quoting nightmare.
41509# Putting comments in sed scripts is not portable.
41510#
41511# `end' is used to avoid that the second main sed command (meant for
41512# 0-ary CPP macros) applies to n-ary macro definitions.
41513# See the Autoconf documentation for `clear'.
41514cat >confdef2sed.sed <<\_ACEOF
41515s/[\\&,]/\\&/g
41516s,[\\$`],\\&,g
41517t clear
41518: clear
41519s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41520t end
41521s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41522: end
41523_ACEOF
41524# If some macros were called several times there might be several times
41525# the same #defines, which is useless. Nevertheless, we may not want to
41526# sort them, since we want the *last* AC-DEFINE to be honored.
41527uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41528sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41529rm -f confdef2sed.sed
41530
41531# This sed command replaces #undef with comments. This is necessary, for
41532# example, in the case of _POSIX_SOURCE, which is predefined and required
41533# on some systems where configure will not decide to define it.
41534cat >>conftest.undefs <<\_ACEOF
41535s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41536_ACEOF
41537
41538# Break up conftest.defines because some shells have a limit on the size
41539# of here documents, and old seds have small limits too (100 cmds).
41540echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41541echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41542echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41543echo ' :' >>$CONFIG_STATUS
41544rm -f conftest.tail
41545while grep . conftest.defines >/dev/null
41546do
41547 # Write a limited-size here document to $tmp/defines.sed.
41548 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41549 # Speed up: don't consider the non `#define' lines.
41550 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41551 # Work around the forget-to-reset-the-flag bug.
41552 echo 't clr' >>$CONFIG_STATUS
41553 echo ': clr' >>$CONFIG_STATUS
41554 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
41555 echo 'CEOF
41556 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41557 rm -f $tmp/in
41558 mv $tmp/out $tmp/in
41559' >>$CONFIG_STATUS
41560 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
41561 rm -f conftest.defines
41562 mv conftest.tail conftest.defines
41563done
41564rm -f conftest.defines
41565echo ' fi # grep' >>$CONFIG_STATUS
41566echo >>$CONFIG_STATUS
41567
41568# Break up conftest.undefs because some shells have a limit on the size
41569# of here documents, and old seds have small limits too (100 cmds).
41570echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41571rm -f conftest.tail
41572while grep . conftest.undefs >/dev/null
41573do
41574 # Write a limited-size here document to $tmp/undefs.sed.
41575 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41576 # Speed up: don't consider the non `#undef'
41577 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41578 # Work around the forget-to-reset-the-flag bug.
41579 echo 't clr' >>$CONFIG_STATUS
41580 echo ': clr' >>$CONFIG_STATUS
41581 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41582 echo 'CEOF
41583 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41584 rm -f $tmp/in
41585 mv $tmp/out $tmp/in
41586' >>$CONFIG_STATUS
41587 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41588 rm -f conftest.undefs
41589 mv conftest.tail conftest.undefs
41590done
41591rm -f conftest.undefs
41592
41593cat >>$CONFIG_STATUS <<\_ACEOF
41594 # Let's still pretend it is `configure' which instantiates (i.e., don't
41595 # use $as_me), people would be surprised to read:
41596 # /* config.h. Generated by config.status. */
41597 if test x"$ac_file" = x-; then
41598 echo "/* Generated by configure. */" >$tmp/config.h
41599 else
41600 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41601 fi
41602 cat $tmp/in >>$tmp/config.h
41603 rm -f $tmp/in
41604 if test x"$ac_file" != x-; then
41605 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
41606 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41607echo "$as_me: $ac_file is unchanged" >&6;}
41608 else
41609 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41610$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41611 X"$ac_file" : 'X\(//\)[^/]' \| \
41612 X"$ac_file" : 'X\(//\)$' \| \
41613 X"$ac_file" : 'X\(/\)' \| \
41614 . : '\(.\)' 2>/dev/null ||
41615echo X"$ac_file" |
41616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41617 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41618 /^X\(\/\/\)$/{ s//\1/; q; }
41619 /^X\(\/\).*/{ s//\1/; q; }
41620 s/.*/./; q'`
41621 { if $as_mkdir_p; then
41622 mkdir -p "$ac_dir"
41623 else
41624 as_dir="$ac_dir"
41625 as_dirs=
41626 while test ! -d "$as_dir"; do
41627 as_dirs="$as_dir $as_dirs"
41628 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41629$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41630 X"$as_dir" : 'X\(//\)[^/]' \| \
41631 X"$as_dir" : 'X\(//\)$' \| \
41632 X"$as_dir" : 'X\(/\)' \| \
41633 . : '\(.\)' 2>/dev/null ||
41634echo X"$as_dir" |
41635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41636 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41637 /^X\(\/\/\)$/{ s//\1/; q; }
41638 /^X\(\/\).*/{ s//\1/; q; }
41639 s/.*/./; q'`
41640 done
41641 test ! -n "$as_dirs" || mkdir $as_dirs
41642 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41643echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41644 { (exit 1); exit 1; }; }; }
41645
41646 rm -f $ac_file
41647 mv $tmp/config.h $ac_file
41648 fi
41649 else
41650 cat $tmp/config.h
41651 rm -f $tmp/config.h
41652 fi
41653done
41654_ACEOF
41655cat >>$CONFIG_STATUS <<\_ACEOF
41656
41657#
41658# CONFIG_COMMANDS section.
41659#
41660for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
41661 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
41662 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
41663 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
41664$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41665 X"$ac_dest" : 'X\(//\)[^/]' \| \
41666 X"$ac_dest" : 'X\(//\)$' \| \
41667 X"$ac_dest" : 'X\(/\)' \| \
41668 . : '\(.\)' 2>/dev/null ||
41669echo X"$ac_dest" |
41670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41671 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41672 /^X\(\/\/\)$/{ s//\1/; q; }
41673 /^X\(\/\).*/{ s//\1/; q; }
41674 s/.*/./; q'`
41675 { if $as_mkdir_p; then
41676 mkdir -p "$ac_dir"
41677 else
41678 as_dir="$ac_dir"
41679 as_dirs=
41680 while test ! -d "$as_dir"; do
41681 as_dirs="$as_dir $as_dirs"
41682 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41683$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41684 X"$as_dir" : 'X\(//\)[^/]' \| \
41685 X"$as_dir" : 'X\(//\)$' \| \
41686 X"$as_dir" : 'X\(/\)' \| \
41687 . : '\(.\)' 2>/dev/null ||
41688echo X"$as_dir" |
41689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41690 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41691 /^X\(\/\/\)$/{ s//\1/; q; }
41692 /^X\(\/\).*/{ s//\1/; q; }
41693 s/.*/./; q'`
41694 done
41695 test ! -n "$as_dirs" || mkdir $as_dirs
41696 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41697echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41698 { (exit 1); exit 1; }; }; }
41699
41700 ac_builddir=.
41701
41702if test "$ac_dir" != .; then
41703 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41704 # A "../" for each directory in $ac_dir_suffix.
41705 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41706else
41707 ac_dir_suffix= ac_top_builddir=
41708fi
41709
41710case $srcdir in
41711 .) # No --srcdir option. We are building in place.
41712 ac_srcdir=.
41713 if test -z "$ac_top_builddir"; then
41714 ac_top_srcdir=.
41715 else
41716 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41717 fi ;;
41718 [\\/]* | ?:[\\/]* ) # Absolute path.
41719 ac_srcdir=$srcdir$ac_dir_suffix;
41720 ac_top_srcdir=$srcdir ;;
41721 *) # Relative path.
41722 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41723 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41724esac
41725
41726# Do not use `cd foo && pwd` to compute absolute paths, because
41727# the directories may not exist.
41728case `pwd` in
41729.) ac_abs_builddir="$ac_dir";;
41730*)
41731 case "$ac_dir" in
41732 .) ac_abs_builddir=`pwd`;;
41733 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41734 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41735 esac;;
41736esac
41737case $ac_abs_builddir in
41738.) ac_abs_top_builddir=${ac_top_builddir}.;;
41739*)
41740 case ${ac_top_builddir}. in
41741 .) ac_abs_top_builddir=$ac_abs_builddir;;
41742 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41743 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41744 esac;;
41745esac
41746case $ac_abs_builddir in
41747.) ac_abs_srcdir=$ac_srcdir;;
41748*)
41749 case $ac_srcdir in
41750 .) ac_abs_srcdir=$ac_abs_builddir;;
41751 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41752 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41753 esac;;
41754esac
41755case $ac_abs_builddir in
41756.) ac_abs_top_srcdir=$ac_top_srcdir;;
41757*)
41758 case $ac_top_srcdir in
41759 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41760 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41761 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41762 esac;;
41763esac
41764
41765
41766 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41767echo "$as_me: executing $ac_dest commands" >&6;}
41768 case $ac_dest in
41769 default )
41770 if test ! -h wx-config; then
41771 chmod +x wx-config
41772 mv wx-config wx${TOOLCHAIN_NAME}-config
41773 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
41774 fi
41775
41776 if test ! -d lib; then
41777 mkdir lib
41778 fi
41779 if test ! -d lib/wx; then
41780 mkdir lib/wx
41781 fi
41782 if test ! -d lib/wx/include; then
41783 mkdir lib/wx/include
41784 fi
41785 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
41786 mkdir lib/wx/include/${TOOLCHAIN_NAME}
41787 fi
41788 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
41789 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
41790 fi
41791 if test -f setup.h; then
41792 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
41793 fi
41794 ;;
41795 esac
41796done
41797_ACEOF
41798
41799cat >>$CONFIG_STATUS <<\_ACEOF
41800
41801{ (exit 0); exit 0; }
41802_ACEOF
41803chmod +x $CONFIG_STATUS
41804ac_clean_files=$ac_clean_files_save
41805
41806
41807# configure is writing to config.log, and then calls config.status.
41808# config.status does its own redirection, appending to config.log.
41809# Unfortunately, on DOS this fails, as config.log is still kept open
41810# by configure, so config.status won't be able to write to it; its
41811# output is simply discarded. So we exec the FD to /dev/null,
41812# effectively closing config.log, so it can be properly (re)opened and
41813# appended to by config.status. When coming back to configure, we
41814# need to make the FD available again.
41815if test "$no_create" != yes; then
41816 ac_cs_success=:
41817 ac_config_status_args=
41818 test "$silent" = yes &&
41819 ac_config_status_args="$ac_config_status_args --quiet"
41820 exec 5>/dev/null
41821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
41822 exec 5>>config.log
41823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41824 # would make configure fail if this is the last instruction.
41825 $ac_cs_success || { (exit 1); exit 1; }
41826fi
41827
41828#
41829# CONFIG_SUBDIRS section.
41830#
41831if test "$no_recursion" != yes; then
41832
41833 # Remove --cache-file and --srcdir arguments so they do not pile up.
41834 ac_sub_configure_args=
41835 ac_prev=
41836 for ac_arg in $ac_configure_args; do
41837 if test -n "$ac_prev"; then
41838 ac_prev=
41839 continue
41840 fi
41841 case $ac_arg in
41842 -cache-file | --cache-file | --cache-fil | --cache-fi \
41843 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41844 ac_prev=cache_file ;;
41845 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41846 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41847 | --c=*)
41848 ;;
41849 --config-cache | -C)
41850 ;;
41851 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41852 ac_prev=srcdir ;;
41853 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41854 ;;
41855 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41856 ac_prev=prefix ;;
41857 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41858 ;;
41859 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
41860 esac
41861 done
41862
41863 # Always prepend --prefix to ensure using the same prefix
41864 # in subdir configurations.
41865 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
41866
41867 ac_popdir=`pwd`
41868 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
41869
41870 # Do not complain, so a configure script can configure whichever
41871 # parts of a large source tree are present.
41872 test -d $srcdir/$ac_dir || continue
41873
41874 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41875echo "$as_me: configuring in $ac_dir" >&6;}
41876 { if $as_mkdir_p; then
41877 mkdir -p "$ac_dir"
41878 else
41879 as_dir="$ac_dir"
41880 as_dirs=
41881 while test ! -d "$as_dir"; do
41882 as_dirs="$as_dir $as_dirs"
41883 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41884$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41885 X"$as_dir" : 'X\(//\)[^/]' \| \
41886 X"$as_dir" : 'X\(//\)$' \| \
41887 X"$as_dir" : 'X\(/\)' \| \
41888 . : '\(.\)' 2>/dev/null ||
41889echo X"$as_dir" |
41890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41892 /^X\(\/\/\)$/{ s//\1/; q; }
41893 /^X\(\/\).*/{ s//\1/; q; }
41894 s/.*/./; q'`
41895 done
41896 test ! -n "$as_dirs" || mkdir $as_dirs
41897 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41898echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41899 { (exit 1); exit 1; }; }; }
41900
41901 ac_builddir=.
41902
41903if test "$ac_dir" != .; then
41904 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41905 # A "../" for each directory in $ac_dir_suffix.
41906 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41907else
41908 ac_dir_suffix= ac_top_builddir=
41909fi
41910
41911case $srcdir in
41912 .) # No --srcdir option. We are building in place.
41913 ac_srcdir=.
41914 if test -z "$ac_top_builddir"; then
41915 ac_top_srcdir=.
41916 else
41917 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41918 fi ;;
41919 [\\/]* | ?:[\\/]* ) # Absolute path.
41920 ac_srcdir=$srcdir$ac_dir_suffix;
41921 ac_top_srcdir=$srcdir ;;
41922 *) # Relative path.
41923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41924 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41925esac
41926
41927# Do not use `cd foo && pwd` to compute absolute paths, because
41928# the directories may not exist.
41929case `pwd` in
41930.) ac_abs_builddir="$ac_dir";;
41931*)
41932 case "$ac_dir" in
41933 .) ac_abs_builddir=`pwd`;;
41934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41935 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41936 esac;;
41937esac
41938case $ac_abs_builddir in
41939.) ac_abs_top_builddir=${ac_top_builddir}.;;
41940*)
41941 case ${ac_top_builddir}. in
41942 .) ac_abs_top_builddir=$ac_abs_builddir;;
41943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41945 esac;;
41946esac
41947case $ac_abs_builddir in
41948.) ac_abs_srcdir=$ac_srcdir;;
41949*)
41950 case $ac_srcdir in
41951 .) ac_abs_srcdir=$ac_abs_builddir;;
41952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41954 esac;;
41955esac
41956case $ac_abs_builddir in
41957.) ac_abs_top_srcdir=$ac_top_srcdir;;
41958*)
41959 case $ac_top_srcdir in
41960 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41963 esac;;
41964esac
41965
41966
41967 cd $ac_dir
41968
41969 # Check for guested configure; otherwise get Cygnus style configure.
41970 if test -f $ac_srcdir/configure.gnu; then
41971 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
41972 elif test -f $ac_srcdir/configure; then
41973 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
41974 elif test -f $ac_srcdir/configure.in; then
41975 ac_sub_configure=$ac_configure
41976 else
41977 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41978echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41979 ac_sub_configure=
41980 fi
41981
41982 # The recursion is here.
41983 if test -n "$ac_sub_configure"; then
41984 # Make the cache file name correct relative to the subdirectory.
41985 case $cache_file in
41986 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
41987 *) # Relative path.
41988 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
41989 esac
41990
41991 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41992echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41993 # The eval makes quoting arguments work.
41994 eval $ac_sub_configure $ac_sub_configure_args \
41995 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41996 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41997echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41998 { (exit 1); exit 1; }; }
41999 fi
42000
42001 cd $ac_popdir
42002 done
42003fi
42004
42005
42006echo
42007echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
42008echo ""
42009echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
42010echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42011
42012echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42013echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
42014echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42015
42016echo " What level of wxWindows compatibility should be enabled?"
42017echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42018echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42019
42020echo " Which libraries should wxWindows use?"
42021echo " jpeg ${wxUSE_LIBJPEG-none}"
42022echo " png ${wxUSE_LIBPNG-none}"
42023echo " regex ${wxUSE_REGEX}"
42024echo " tiff ${wxUSE_LIBTIFF-none}"
42025if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42026echo " xpm ${wxUSE_LIBXPM-none}"
42027fi
42028echo " zlib ${wxUSE_ZLIB}"
42029echo " odbc ${wxUSE_ODBC}"
42030echo " expat ${wxUSE_EXPAT}"
42031echo " libmspack ${wxUSE_LIBMSPACK}"
42032echo " sdl ${wxUSE_LIBSDL}"
42033
42034echo ""
42035