]> git.saurik.com Git - wxWidgets.git/blame - configure
Moved some OS X only files into MAC_OSX_SRC from MAC_SRC.
[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.
7714864e 4# Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
a848cd7e 5#
77ffb593 6# Report bugs to <wx-dev@lists.wxwidgets.org>.
a848cd7e 7#
ac1cb8d3 8# Copyright (C) 2003 Free Software Foundation, Inc.
a848cd7e
SC
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
ac1cb8d3 25DUALCASE=1; export DUALCASE # for MKS sh
a848cd7e
SC
26
27# Support unset when possible.
ac1cb8d3 28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
a848cd7e
SC
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
ac1cb8d3 47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a848cd7e
SC
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
ac1cb8d3 224 test -d ./-p && rmdir ./-p
a848cd7e
SC
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.
ac1cb8d3 231as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
232
233# Sed expression to map a string onto a valid variable name.
ac1cb8d3 234as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
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.
77ffb593
JS
271PACKAGE_NAME='wxWidgets'
272PACKAGE_TARNAME='wxwidgets'
7714864e
RL
273PACKAGE_VERSION='2.5.3'
274PACKAGE_STRING='wxWidgets 2.5.3'
77ffb593 275PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
a848cd7e
SC
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"
fc480dc1 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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_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_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_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 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
a848cd7e
SC
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 \
ac1cb8d3 675 localstatedir libdir includedir oldincludedir infodir mandir
a848cd7e
SC
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\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
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
7714864e 797\`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
a848cd7e
SC
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
ac1cb8d3 822 [$ac_default_prefix]
a848cd7e 823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
ac1cb8d3 824 [PREFIX]
a848cd7e
SC
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
7714864e 863 short | recursive ) echo "Configuration of wxWidgets 2.5.3:";;
a848cd7e
SC
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
77ffb593
JS
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
a848cd7e 874 --enable-nanox use NanoX
9f45f08e 875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
a848cd7e
SC
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
77ffb593
JS
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
ffa0583f 894 --disable-rpath disable use of rpath for uninstalled builds
a848cd7e
SC
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
3b57de8b 934 --enable-mediactrl use wxMediaCtrl class
77ffb593 935 --enable-wxprintfv use wxWidgets implementation of vprintf()
a848cd7e 936 --enable-zipstream use wxZipInputStream
a848cd7e
SC
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
9a8f0513 948 --enable-xrc use XRC resources sub-library
a848cd7e
SC
949 --enable-constraints use layout-constraints system
950 --enable-printarch use printing architecture
951 --enable-mdi use multiple document interface architecture
8a7b1113 952 --enable-mdidoc use docview architecture with MDI
a848cd7e
SC
953 --enable-loggui use standard GUI logger
954 --enable-logwin use wxLogWindow
955 --enable-logdialog use wxLogDialog
646b6ec1 956 --enable-webkit use wxWebKitCtrl (Mac)
a848cd7e
SC
957 --enable-postscript use wxPostscriptDC device context (default for gtk+)
958 --enable-prologio not available; see contrib
959 --enable-resources not available; see contrib
960 --enable-clipboard use wxClipboard class
961 --enable-dnd use Drag'n'Drop classes
962 --enable-metafile use win32 metafiles
963 --enable-controls use all usual controls
964 --enable-accel use accelerators
965 --enable-button use wxButton class
966 --enable-bmpbutton use wxBitmapButton class
967 --enable-calendar use wxCalendarCtrl class
968 --enable-caret use wxCaret class
969 --enable-checkbox use wxCheckBox class
970 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
971 --enable-choice use wxChoice class
92bbdbcd 972 --enable-choicebook use wxChoicebook class
a848cd7e
SC
973 --enable-combobox use wxComboBox class
974 --enable-display use wxDisplay class
975 --enable-gauge use wxGauge class
976 --enable-grid use wxGrid class
977 --enable-imaglist use wxImageList class
978 --enable-listbook use wxListbook class
979 --enable-listbox use wxListBox class
980 --enable-listctrl use wxListCtrl class
981 --enable-notebook use wxNotebook class
982 --enable-radiobox use wxRadioBox class
983 --enable-radiobtn use wxRadioButton class
984 --enable-sash use wxSashWindow class
985 --enable-scrollbar use wxScrollBar class and scrollable windows
986 --enable-slider use wxSlider class
987 --enable-spinbtn use wxSpinButton class
988 --enable-spinctrl use wxSpinCtrl class
989 --enable-splitter use wxSplitterWindow class
990 --enable-statbmp use wxStaticBitmap class
991 --enable-statbox use wxStaticBox class
992 --enable-statline use wxStaticLine class
993 --enable-stattext use wxStaticText class
994 --enable-statusbar use wxStatusBar class
995 --enable-tabdialog use wxTabControl class
996 --enable-textctrl use wxTextCtrl class
997 --enable-togglebtn use wxToggleButton class
998 --enable-toolbar use wxToolBar class
999 --enable-tbarnative use native wxToolBar class
1000 --enable-tbarsmpl use wxToolBarSimple class
1001 --enable-treectrl use wxTreeCtrl class
1002 --enable-tipwindow use wxTipWindow class
1003 --enable-popupwin use wxPopUpWindow class
1004 --enable-commondlg use all common dialogs
1005 --enable-choicedlg use wxChoiceDialog
1006 --enable-coldlg use wxColourDialog
1007 --enable-filedlg use wxFileDialog
1008 --enable-finddlg use wxFindReplaceDialog
1009 --enable-fontdlg use wxFontDialog
1010 --enable-dirdlg use wxDirDialog
1011 --enable-msgdlg use wxMessageDialog
1012 --enable-numberdlg use wxNumberEntryDialog
1013 --enable-splash use wxSplashScreen
1014 --enable-textdlg use wxTextDialog
1015 --enable-tipdlg use startup tips
1016 --enable-progressdlg use wxProgressDialog
1017 --enable-wizarddlg use wxWizard
1018 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1019 --enable-miniframe use wxMiniFrame class
1020 --enable-tooltips use wxToolTip class
1021 --enable-splines use spline drawing code
1022 --enable-validators use wxValidator and derived classes
1023 --enable-busyinfo use wxBusyInfo
1024 --enable-joystick use wxJoystick (Linux only)
1025 --enable-metafiles use wxMetaFile (Windows only)
1026 --enable-dragimage use wxDragImage
1027 --enable-accessibility enable accessibility support
1028 --enable-palette use wxPalette class
1029 --enable-image use wxImage class
1030 --enable-gif use gif images (GIF file format)
1031 --enable-pcx use pcx images (PCX file format)
1032 --enable-iff use iff images (IFF file format)
1033 --enable-pnm use pnm images (PNM file format)
1034 --enable-xpm use xpm images (XPM file format)
1035 --enable-icocur use Windows ICO and CUR formats
77ffb593 1036 --enable-official_build official build of wxWidgets (win32 DLL only)
a848cd7e
SC
1037 --enable-vendor=VENDOR vendor name (win32 DLL only)
1038 --disable-largefile omit support for large files
1039 --disable-gtktest do not try to compile and run a test GTK+ program
1040 --disable-gtktest Do not try to compile and run a test GTK program
1041 --disable-sdltest Do not try to compile and run a test SDL program
1042 --enable-omf use OMF object format (OS/2)
ebee3cd0
VS
1043 --disable-precomp-headers
1044 don't use precompiled headers even if compiler can
a848cd7e
SC
1045
1046Optional Packages:
1047 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1048 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1049 --with-gtk use GTK+
1050 --with-motif use Motif/Lesstif
1051 --with-mac use Mac OS X
1052 --with-cocoa use Cocoa
1053 --with-wine use Wine
1054 --with-msw use MS-Windows
1055 --with-pm use OS/2 Presentation Manager
1056 --with-mgl use SciTech MGL
1057 --with-microwin use MicroWindows
1058 --with-x11 use X11
1059 --with-libpng use libpng (PNG image format)
1060 --with-libjpeg use libjpeg (JPEG file format)
1061 --with-libtiff use libtiff (TIFF file format)
1062 --with-libxpm use libxpm (XPM file format)
1063 --with-libmspack use libmspack (CHM help files loading)
1064 --with-sdl use SDL for audio on Unix
d51253e8 1065 --with-gnomeprint use GNOME print for printing under Unix
a848cd7e
SC
1066 --with-opengl use OpenGL (or Mesa)
1067 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1068 --with-regex enable support for wxRegEx class
1069 --with-zlib use zlib for LZW compression
1070 --with-odbc use the IODBC and wxODBC classes
1071 --with-expat enable XML support using expat parser
ceec2216 1072 --with-flavour=NAME specify a name to identify this build
a848cd7e
SC
1073 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1074 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1075 --with-x use the X Window System
1076 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1077 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1078 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1079 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1080 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1081
1082Some influential environment variables:
dcc1b6ad
VS
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1089 CPP C preprocessor
1090 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags
1092 CXXCPP C++ preprocessor
a848cd7e
SC
1093
1094Use these variables to override the choices made by `configure' or to help
1095it to find libraries and programs with nonstandard names/locations.
1096
77ffb593 1097Report bugs to <wx-dev@lists.wxwidgets.org>.
a848cd7e
SC
1098_ACEOF
1099fi
1100
1101if test "$ac_init_help" = "recursive"; then
1102 # If there are subdirs, report their specific --help.
1103 ac_popdir=`pwd`
1104 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1105 test -d $ac_dir || continue
1106 ac_builddir=.
1107
1108if test "$ac_dir" != .; then
1109 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1110 # A "../" for each directory in $ac_dir_suffix.
1111 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1112else
1113 ac_dir_suffix= ac_top_builddir=
1114fi
1115
1116case $srcdir in
1117 .) # No --srcdir option. We are building in place.
1118 ac_srcdir=.
1119 if test -z "$ac_top_builddir"; then
1120 ac_top_srcdir=.
1121 else
1122 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1123 fi ;;
1124 [\\/]* | ?:[\\/]* ) # Absolute path.
1125 ac_srcdir=$srcdir$ac_dir_suffix;
1126 ac_top_srcdir=$srcdir ;;
1127 *) # Relative path.
1128 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1129 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1130esac
ac1cb8d3
VS
1131
1132# Do not use `cd foo && pwd` to compute absolute paths, because
1133# the directories may not exist.
1134case `pwd` in
1135.) ac_abs_builddir="$ac_dir";;
1136*)
1137 case "$ac_dir" in
1138 .) ac_abs_builddir=`pwd`;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1140 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1141 esac;;
1142esac
1143case $ac_abs_builddir in
1144.) ac_abs_top_builddir=${ac_top_builddir}.;;
1145*)
1146 case ${ac_top_builddir}. in
1147 .) ac_abs_top_builddir=$ac_abs_builddir;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1149 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1150 esac;;
1151esac
1152case $ac_abs_builddir in
1153.) ac_abs_srcdir=$ac_srcdir;;
1154*)
1155 case $ac_srcdir in
1156 .) ac_abs_srcdir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1158 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1159 esac;;
1160esac
1161case $ac_abs_builddir in
1162.) ac_abs_top_srcdir=$ac_top_srcdir;;
1163*)
1164 case $ac_top_srcdir in
1165 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1167 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1168 esac;;
1169esac
a848cd7e
SC
1170
1171 cd $ac_dir
1172 # Check for guested configure; otherwise get Cygnus style configure.
1173 if test -f $ac_srcdir/configure.gnu; then
1174 echo
1175 $SHELL $ac_srcdir/configure.gnu --help=recursive
1176 elif test -f $ac_srcdir/configure; then
1177 echo
1178 $SHELL $ac_srcdir/configure --help=recursive
1179 elif test -f $ac_srcdir/configure.ac ||
ac1cb8d3 1180 test -f $ac_srcdir/configure.in; then
a848cd7e
SC
1181 echo
1182 $ac_configure --help
1183 else
1184 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1185 fi
fc480dc1 1186 cd $ac_popdir
a848cd7e
SC
1187 done
1188fi
1189
1190test -n "$ac_init_help" && exit 0
1191if $ac_init_version; then
1192 cat <<\_ACEOF
7714864e 1193wxWidgets configure 2.5.3
ac1cb8d3 1194generated by GNU Autoconf 2.59
a848cd7e 1195
ac1cb8d3 1196Copyright (C) 2003 Free Software Foundation, Inc.
a848cd7e
SC
1197This configure script is free software; the Free Software Foundation
1198gives unlimited permission to copy, distribute and modify it.
1199_ACEOF
1200 exit 0
1201fi
1202exec 5>config.log
1203cat >&5 <<_ACEOF
1204This file contains any messages produced by compilers while
1205running configure, to aid debugging if configure makes a mistake.
1206
7714864e 1207It was created by wxWidgets $as_me 2.5.3, which was
ac1cb8d3 1208generated by GNU Autoconf 2.59. Invocation command line was
a848cd7e
SC
1209
1210 $ $0 $@
1211
1212_ACEOF
1213{
1214cat <<_ASUNAME
1215## --------- ##
1216## Platform. ##
1217## --------- ##
1218
1219hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1220uname -m = `(uname -m) 2>/dev/null || echo unknown`
1221uname -r = `(uname -r) 2>/dev/null || echo unknown`
1222uname -s = `(uname -s) 2>/dev/null || echo unknown`
1223uname -v = `(uname -v) 2>/dev/null || echo unknown`
1224
1225/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1226/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1227
1228/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1229/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1230/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1231hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1232/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1233/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1234/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1235
1236_ASUNAME
1237
1238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1239for as_dir in $PATH
1240do
1241 IFS=$as_save_IFS
1242 test -z "$as_dir" && as_dir=.
1243 echo "PATH: $as_dir"
1244done
1245
1246} >&5
1247
1248cat >&5 <<_ACEOF
1249
1250
1251## ----------- ##
1252## Core tests. ##
1253## ----------- ##
1254
1255_ACEOF
1256
1257
1258# Keep a trace of the command line.
1259# Strip out --no-create and --no-recursion so they do not pile up.
1260# Strip out --silent because we don't want to record it for future runs.
1261# Also quote any args containing shell meta-characters.
1262# Make two passes to allow for proper duplicate-argument suppression.
1263ac_configure_args=
1264ac_configure_args0=
1265ac_configure_args1=
1266ac_sep=
1267ac_must_keep_next=false
1268for ac_pass in 1 2
1269do
1270 for ac_arg
1271 do
1272 case $ac_arg in
1273 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1275 | -silent | --silent | --silen | --sile | --sil)
1276 continue ;;
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 esac
1280 case $ac_pass in
1281 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1282 2)
1283 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1284 if test $ac_must_keep_next = true; then
ac1cb8d3 1285 ac_must_keep_next=false # Got value, back to normal.
a848cd7e 1286 else
ac1cb8d3
VS
1287 case $ac_arg in
1288 *=* | --config-cache | -C | -disable-* | --disable-* \
1289 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1290 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1291 | -with-* | --with-* | -without-* | --without-* | --x)
1292 case "$ac_configure_args0 " in
1293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1294 esac
1295 ;;
1296 -* ) ac_must_keep_next=true ;;
1297 esac
a848cd7e
SC
1298 fi
1299 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1300 # Get rid of the leading space.
1301 ac_sep=" "
1302 ;;
1303 esac
1304 done
1305done
1306$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1307$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1308
1309# When interrupted or exit'd, cleanup temporary files, and complete
1310# config.log. We remove comments because anyway the quotes in there
1311# would cause problems or look ugly.
1312# WARNING: Be sure not to use single quotes in there, as some shells,
1313# such as our DU 5.0 friend, will then `close' the trap.
1314trap 'exit_status=$?
1315 # Save into config.log some information that might help in debugging.
1316 {
1317 echo
1318
1319 cat <<\_ASBOX
1320## ---------------- ##
1321## Cache variables. ##
1322## ---------------- ##
1323_ASBOX
1324 echo
1325 # The following way of writing the cache mishandles newlines in values,
1326{
1327 (set) 2>&1 |
1328 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1329 *ac_space=\ *)
1330 sed -n \
ac1cb8d3
VS
1331 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
a848cd7e
SC
1333 ;;
1334 *)
1335 sed -n \
ac1cb8d3 1336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
1337 ;;
1338 esac;
1339}
1340 echo
1341
1342 cat <<\_ASBOX
1343## ----------------- ##
1344## Output variables. ##
1345## ----------------- ##
1346_ASBOX
1347 echo
1348 for ac_var in $ac_subst_vars
1349 do
1350 eval ac_val=$`echo $ac_var`
1351 echo "$ac_var='"'"'$ac_val'"'"'"
1352 done | sort
1353 echo
1354
1355 if test -n "$ac_subst_files"; then
1356 cat <<\_ASBOX
1357## ------------- ##
1358## Output files. ##
1359## ------------- ##
1360_ASBOX
1361 echo
1362 for ac_var in $ac_subst_files
1363 do
1364 eval ac_val=$`echo $ac_var`
ac1cb8d3 1365 echo "$ac_var='"'"'$ac_val'"'"'"
a848cd7e
SC
1366 done | sort
1367 echo
1368 fi
1369
1370 if test -s confdefs.h; then
1371 cat <<\_ASBOX
1372## ----------- ##
1373## confdefs.h. ##
1374## ----------- ##
1375_ASBOX
1376 echo
1377 sed "/^$/d" confdefs.h | sort
1378 echo
1379 fi
1380 test "$ac_signal" != 0 &&
1381 echo "$as_me: caught signal $ac_signal"
1382 echo "$as_me: exit $exit_status"
1383 } >&5
ac1cb8d3 1384 rm -f core *.core &&
a848cd7e
SC
1385 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1386 exit $exit_status
1387 ' 0
1388for ac_signal in 1 2 13 15; do
1389 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1390done
1391ac_signal=0
1392
1393# confdefs.h avoids OS command line length limits that DEFS can exceed.
1394rm -rf conftest* confdefs.h
1395# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1396echo >confdefs.h
1397
1398# Predefined preprocessor variables.
1399
1400cat >>confdefs.h <<_ACEOF
1401#define PACKAGE_NAME "$PACKAGE_NAME"
1402_ACEOF
1403
1404
1405cat >>confdefs.h <<_ACEOF
1406#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1407_ACEOF
1408
1409
1410cat >>confdefs.h <<_ACEOF
1411#define PACKAGE_VERSION "$PACKAGE_VERSION"
1412_ACEOF
1413
1414
1415cat >>confdefs.h <<_ACEOF
1416#define PACKAGE_STRING "$PACKAGE_STRING"
1417_ACEOF
1418
1419
1420cat >>confdefs.h <<_ACEOF
1421#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1422_ACEOF
1423
1424
1425# Let the site file select an alternate cache file if it wants to.
1426# Prefer explicitly selected file to automatically selected ones.
1427if test -z "$CONFIG_SITE"; then
1428 if test "x$prefix" != xNONE; then
1429 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1430 else
1431 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 fi
1433fi
1434for ac_site_file in $CONFIG_SITE; do
1435 if test -r "$ac_site_file"; then
1436 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1437echo "$as_me: loading site script $ac_site_file" >&6;}
1438 sed 's/^/| /' "$ac_site_file" >&5
1439 . "$ac_site_file"
1440 fi
1441done
1442
1443if test -r "$cache_file"; then
1444 # Some versions of bash will fail to source /dev/null (special
1445 # files actually), so we avoid doing that.
1446 if test -f "$cache_file"; then
1447 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1448echo "$as_me: loading cache $cache_file" >&6;}
1449 case $cache_file in
1450 [\\/]* | ?:[\\/]* ) . $cache_file;;
1451 *) . ./$cache_file;;
1452 esac
1453 fi
1454else
1455 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1456echo "$as_me: creating cache $cache_file" >&6;}
1457 >$cache_file
1458fi
1459
1460# Check that the precious variables saved in the cache have kept the same
1461# value.
1462ac_cache_corrupted=false
1463for ac_var in `(set) 2>&1 |
ac1cb8d3 1464 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
a848cd7e
SC
1465 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1466 eval ac_new_set=\$ac_env_${ac_var}_set
1467 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1468 eval ac_new_val="\$ac_env_${ac_var}_value"
1469 case $ac_old_set,$ac_new_set in
1470 set,)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,set)
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1476echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1477 ac_cache_corrupted=: ;;
1478 ,);;
1479 *)
1480 if test "x$ac_old_val" != "x$ac_new_val"; then
ac1cb8d3 1481 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
a848cd7e 1482echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
ac1cb8d3 1483 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
a848cd7e 1484echo "$as_me: former value: $ac_old_val" >&2;}
ac1cb8d3 1485 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
a848cd7e 1486echo "$as_me: current value: $ac_new_val" >&2;}
ac1cb8d3 1487 ac_cache_corrupted=:
a848cd7e
SC
1488 fi;;
1489 esac
1490 # Pass precious variables to config.status.
1491 if test "$ac_new_set" = set; then
1492 case $ac_new_val in
1493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1494 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1495 *) ac_arg=$ac_var=$ac_new_val ;;
1496 esac
1497 case " $ac_configure_args " in
1498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1499 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1500 esac
1501 fi
1502done
1503if $ac_cache_corrupted; then
1504 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1505echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1506 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1507echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1508 { (exit 1); exit 1; }; }
1509fi
1510
1511ac_ext=c
1512ac_cpp='$CPP $CPPFLAGS'
1513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546ac_aux_dir=
1547for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1548 if test -f $ac_dir/install-sh; then
1549 ac_aux_dir=$ac_dir
1550 ac_install_sh="$ac_aux_dir/install-sh -c"
1551 break
1552 elif test -f $ac_dir/install.sh; then
1553 ac_aux_dir=$ac_dir
1554 ac_install_sh="$ac_aux_dir/install.sh -c"
1555 break
1556 elif test -f $ac_dir/shtool; then
1557 ac_aux_dir=$ac_dir
1558 ac_install_sh="$ac_aux_dir/shtool install -c"
1559 break
1560 fi
1561done
1562if test -z "$ac_aux_dir"; then
1563 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1564echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1565 { (exit 1); exit 1; }; }
1566fi
1567ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1568ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1569ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1570
1571# Make sure we can run config.sub.
1572$ac_config_sub sun4 >/dev/null 2>&1 ||
1573 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1574echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1575 { (exit 1); exit 1; }; }
1576
1577echo "$as_me:$LINENO: checking build system type" >&5
1578echo $ECHO_N "checking build system type... $ECHO_C" >&6
1579if test "${ac_cv_build+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1581else
1582 ac_cv_build_alias=$build_alias
1583test -z "$ac_cv_build_alias" &&
1584 ac_cv_build_alias=`$ac_config_guess`
1585test -z "$ac_cv_build_alias" &&
1586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1587echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1588 { (exit 1); exit 1; }; }
1589ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1591echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1593
1594fi
1595echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1596echo "${ECHO_T}$ac_cv_build" >&6
1597build=$ac_cv_build
1598build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601
1602
1603echo "$as_me:$LINENO: checking host system type" >&5
1604echo $ECHO_N "checking host system type... $ECHO_C" >&6
1605if test "${ac_cv_host+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1607else
1608 ac_cv_host_alias=$host_alias
1609test -z "$ac_cv_host_alias" &&
1610 ac_cv_host_alias=$ac_cv_build_alias
1611ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1613echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1615
1616fi
1617echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1618echo "${ECHO_T}$ac_cv_host" >&6
1619host=$ac_cv_host
1620host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623
1624
1625echo "$as_me:$LINENO: checking target system type" >&5
1626echo $ECHO_N "checking target system type... $ECHO_C" >&6
1627if test "${ac_cv_target+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1629else
1630 ac_cv_target_alias=$target_alias
1631test "x$ac_cv_target_alias" = "x" &&
1632 ac_cv_target_alias=$ac_cv_host_alias
1633ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1635echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1637
1638fi
1639echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1640echo "${ECHO_T}$ac_cv_target" >&6
1641target=$ac_cv_target
1642target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645
1646
1647# The aliases save the names the user supplied, while $host etc.
1648# will get canonicalized.
1649test -n "$target_alias" &&
1650 test "$program_prefix$program_suffix$program_transform_name" = \
1651 NONENONEs,x,x, &&
1652 program_prefix=${target_alias}-
1653
1654
1655
ceec2216
RL
1656wx_major_version_number=2
1657wx_minor_version_number=5
7714864e 1658wx_release_number=3
0210f373 1659wx_subrelease_number=3
a848cd7e 1660
ceec2216
RL
1661WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1662WX_VERSION=$WX_RELEASE.$wx_release_number
1663WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
a848cd7e 1664
ceec2216 1665WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
a848cd7e 1666
e653e181 1667WX_CURRENT=3
a848cd7e 1668WX_REVISION=0
0210f373 1669WX_AGE=3
a848cd7e
SC
1670
1671
1672
1673USE_UNIX=1
1674USE_OS2=0
1675USE_WIN32=0
1676USE_DOS=0
1677USE_BEOS=0
1678USE_MAC=0
1679
1680USE_AIX=
1681USE_BSD= USE_DARWIN= USE_FREEBSD=
1682USE_GNU= USE_HPUX=
1683USE_LINUX=
1684USE_NETBSD=
1685USE_OPENBSD=
1686USE_OSF= USE_SGI=
1687USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1688USE_ULTRIX=
1689USE_UNIXWARE=
1690
1691USE_ALPHA=
1692
1693NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1694
1695ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1696
1697DEFAULT_wxUSE_COCOA=0
1698DEFAULT_wxUSE_GTK=0
1699DEFAULT_wxUSE_MAC=0
1700DEFAULT_wxUSE_MGL=0
1701DEFAULT_wxUSE_MICROWIN=0
1702DEFAULT_wxUSE_MOTIF=0
1703DEFAULT_wxUSE_MSW=0
1704DEFAULT_wxUSE_PM=0
1705DEFAULT_wxUSE_X11=0
1706
1707DEFAULT_DEFAULT_wxUSE_COCOA=0
1708DEFAULT_DEFAULT_wxUSE_GTK=0
1709DEFAULT_DEFAULT_wxUSE_MAC=0
1710DEFAULT_DEFAULT_wxUSE_MGL=0
1711DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1712DEFAULT_DEFAULT_wxUSE_MOTIF=0
1713DEFAULT_DEFAULT_wxUSE_MSW=0
1714DEFAULT_DEFAULT_wxUSE_PM=0
1715DEFAULT_DEFAULT_wxUSE_X11=0
1716
1717PROGRAM_EXT=
1718SO_SUFFIX=so
1719SAMPLES_RPATH_FLAG=
1720SAMPLES_RPATH_POSTLINK=
1721
1722case "${host}" in
1723 *-hp-hpux* )
1724 USE_HPUX=1
1725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1727 SO_SUFFIX=sl
1728 cat >>confdefs.h <<\_ACEOF
1729#define __HPUX__ 1
1730_ACEOF
1731
1732 ;;
1733 *-*-linux* )
1734 USE_LINUX=1
1735 cat >>confdefs.h <<\_ACEOF
1736#define __LINUX__ 1
1737_ACEOF
1738
1739 TMP=`uname -m`
1740 if test "x$TMP" = "xalpha"; then
1741 USE_ALPHA=1
1742 cat >>confdefs.h <<\_ACEOF
1743#define __ALPHA__ 1
1744_ACEOF
1745
1746 fi
1747 DEFAULT_DEFAULT_wxUSE_GTK=1
1748 ;;
1749 *-*-gnu* | *-*-k*bsd*-gnu )
1750 USE_GNU=1
1751 TMP=`uname -m`
1752 if test "x$TMP" = "xalpha"; then
1753 USE_ALPHA=1
1754 cat >>confdefs.h <<\_ACEOF
1755#define __ALPHA__ 1
1756_ACEOF
1757
1758 fi
1759 DEFAULT_DEFAULT_wxUSE_GTK=1
1760 ;;
1761 *-*-irix5* | *-*-irix6* )
1762 USE_SGI=1
1763 USE_SVR4=1
1764 cat >>confdefs.h <<\_ACEOF
1765#define __SGI__ 1
1766_ACEOF
1767
1768 cat >>confdefs.h <<\_ACEOF
1769#define __SVR4__ 1
1770_ACEOF
1771
1772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1773 ;;
1774 *-*-solaris2* )
1775 USE_SUN=1
1776 USE_SOLARIS=1
1777 USE_SVR4=1
1778 cat >>confdefs.h <<\_ACEOF
1779#define __SUN__ 1
1780_ACEOF
1781
1782 cat >>confdefs.h <<\_ACEOF
1783#define __SOLARIS__ 1
1784_ACEOF
1785
1786 cat >>confdefs.h <<\_ACEOF
1787#define __SVR4__ 1
1788_ACEOF
1789
1790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1791 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1792 ;;
1793 *-*-sunos4* )
1794 USE_SUN=1
1795 USE_SUNOS=1
1796 USE_BSD=1
1797 cat >>confdefs.h <<\_ACEOF
1798#define __SUN__ 1
1799_ACEOF
1800
1801 cat >>confdefs.h <<\_ACEOF
1802#define __SUNOS__ 1
1803_ACEOF
1804
1805 cat >>confdefs.h <<\_ACEOF
1806#define __BSD__ 1
1807_ACEOF
1808
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 ;;
1811 *-*-freebsd*)
1812 USE_BSD=1
1813 USE_FREEBSD=1
1814 cat >>confdefs.h <<\_ACEOF
1815#define __FREEBSD__ 1
1816_ACEOF
1817
1818 cat >>confdefs.h <<\_ACEOF
1819#define __BSD__ 1
1820_ACEOF
1821
1822 DEFAULT_DEFAULT_wxUSE_GTK=1
1823 ;;
1824 *-*-openbsd*)
1825 USE_BSD=1
1826 USE_OPENBSD=1
1827 cat >>confdefs.h <<\_ACEOF
1828#define __OPENBSD__ 1
1829_ACEOF
1830
1831 cat >>confdefs.h <<\_ACEOF
1832#define __BSD__ 1
1833_ACEOF
1834
1835 DEFAULT_DEFAULT_wxUSE_GTK=1
1836 ;;
1837 *-*-netbsd*)
1838 USE_BSD=1
1839 USE_NETBSD=1
1840 cat >>confdefs.h <<\_ACEOF
1841#define __NETBSD__ 1
1842_ACEOF
1843
1844 cat >>confdefs.h <<\_ACEOF
1845#define __BSD__ 1
1846_ACEOF
1847
1848 DEFAULT_DEFAULT_wxUSE_GTK=1
1849 ;;
1850 *-*-osf* )
1851 USE_ALPHA=1
1852 USE_OSF=1
1853 cat >>confdefs.h <<\_ACEOF
1854#define __ALPHA__ 1
1855_ACEOF
1856
1857 cat >>confdefs.h <<\_ACEOF
1858#define __OSF__ 1
1859_ACEOF
1860
1861 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1863 ;;
1864 *-*-dgux5* )
1865 USE_ALPHA=1
1866 USE_SVR4=1
1867 cat >>confdefs.h <<\_ACEOF
1868#define __ALPHA__ 1
1869_ACEOF
1870
1871 cat >>confdefs.h <<\_ACEOF
1872#define __SVR4__ 1
1873_ACEOF
1874
1875 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1876 ;;
1877 *-*-sysv5* )
1878 USE_SYSV=1
1879 USE_SVR4=1
1880 cat >>confdefs.h <<\_ACEOF
1881#define __SYSV__ 1
1882_ACEOF
1883
1884 cat >>confdefs.h <<\_ACEOF
1885#define __SVR4__ 1
1886_ACEOF
1887
1888 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1889 ;;
1890 *-*-aix* )
1891 USE_AIX=1
1892 USE_SYSV=1
1893 USE_SVR4=1
1894 SO_SUFFIX=a
1895 cat >>confdefs.h <<\_ACEOF
1896#define __AIX__ 1
1897_ACEOF
1898
1899 cat >>confdefs.h <<\_ACEOF
1900#define __SYSV__ 1
1901_ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904#define __SVR4__ 1
1905_ACEOF
1906
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1908 ;;
1909
1910 *-*-*UnixWare*)
1911 USE_SYSV=1
1912 USE_SVR4=1
1913 USE_UNIXWARE=1
1914 cat >>confdefs.h <<\_ACEOF
1915#define __UNIXWARE__ 1
1916_ACEOF
1917
1918 ;;
1919
1920 *-*-cygwin* | *-*-mingw32* )
1921 SO_SUFFIX=dll
1922 PROGRAM_EXT=".exe"
1923 RESCOMP=windres
1924 DEFAULT_DEFAULT_wxUSE_MSW=1
1925 ;;
1926
1927 *-pc-msdosdjgpp )
1928 USE_UNIX=0
1929 USE_DOS=1
1930 cat >>confdefs.h <<\_ACEOF
1931#define __DOS__ 1
1932_ACEOF
1933
1934 PROGRAM_EXT=".exe"
1935 DEFAULT_DEFAULT_wxUSE_MGL=1
1936 LIBS="$LIBS -lstdc++"
1937 ;;
1938
1939 *-pc-os2_emx | *-pc-os2-emx )
1940 cat >>confdefs.h <<\_ACEOF
1941#define __EMX__ 1
1942_ACEOF
1943
1944 USE_OS2=1
1945 cat >>confdefs.h <<\_ACEOF
1946#define __OS2__ 1
1947_ACEOF
1948
1949 PROGRAM_EXT=".exe"
1950 DEFAULT_DEFAULT_wxUSE_PM=1
1951 CXX=gcc
1952 LDFLAGS="$LDFLAGS -Zcrtdll"
1953 ac_executable_extensions=".exe"
1954 export ac_executable_extensions
1955 ac_save_IFS="$IFS"
1956 IFS='\\'
1957 ac_TEMP_PATH=
1958 for ac_dir in $PATH; do
1959 IFS=$ac_save_IFS
1960 if test -z "$ac_TEMP_PATH"; then
1961 ac_TEMP_PATH="$ac_dir"
1962 else
1963 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1964 fi
1965 done
1966 export PATH="$ac_TEMP_PATH"
1967 unset ac_TEMP_PATH
1968 ;;
1969
1970 powerpc-*-darwin* )
1971 USE_BSD=1
1972 USE_DARWIN=1
1973 SO_SUFFIX=dylib
1974 cat >>confdefs.h <<\_ACEOF
1975#define __BSD__ 1
1976_ACEOF
1977
1978 cat >>confdefs.h <<\_ACEOF
1979#define __DARWIN__ 1
1980_ACEOF
1981
1982 cat >>confdefs.h <<\_ACEOF
1983#define __POWERPC__ 1
1984_ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987#define TARGET_CARBON 1
1988_ACEOF
1989
1990 DEFAULT_DEFAULT_wxUSE_MAC=1
1991 ;;
1992
1993 *-*-beos* )
1994 USE_BEOS=1
1995 cat >>confdefs.h <<\_ACEOF
1996#define __BEOS__ 1
1997_ACEOF
1998
1999 ;;
2000
2001 *)
2002 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2003echo "$as_me: error: unknown system type ${host}." >&2;}
2004 { (exit 1); exit 1; }; }
2005esac
2006
2007
2008
2009
2010 wx_arg_cache_file="configarg.cache"
2011 echo "loading argument cache $wx_arg_cache_file"
2012 rm -f ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}.tmp
2014 touch ${wx_arg_cache_file}
2015
2016
2017DEBUG_CONFIGURE=0
2018if test $DEBUG_CONFIGURE = 1; then
2019 DEFAULT_wxUSE_UNIVERSAL=no
2020 DEFAULT_wxUSE_STL=no
2021
2022 DEFAULT_wxUSE_NANOX=no
2023
2024 DEFAULT_wxUSE_THREADS=yes
2025
2026 DEFAULT_wxUSE_SHARED=yes
2027 DEFAULT_wxUSE_OPTIMISE=no
2028 DEFAULT_wxUSE_PROFILE=no
2029 DEFAULT_wxUSE_NO_DEPS=no
2030 DEFAULT_wxUSE_NO_RTTI=no
2031 DEFAULT_wxUSE_NO_EXCEPTIONS=no
ffa0583f 2032 DEFAULT_wxUSE_RPATH=yes
a848cd7e
SC
2033 DEFAULT_wxUSE_PERMISSIVE=no
2034 DEFAULT_wxUSE_DEBUG_FLAG=yes
2035 DEFAULT_wxUSE_DEBUG_INFO=yes
2036 DEFAULT_wxUSE_DEBUG_GDB=yes
2037 DEFAULT_wxUSE_MEM_TRACING=no
2038 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2039 DEFAULT_wxUSE_DMALLOC=no
2040 DEFAULT_wxUSE_APPLE_IEEE=no
2041
2042 DEFAULT_wxUSE_EXCEPTIONS=no
2043 DEFAULT_wxUSE_LOG=yes
2044 DEFAULT_wxUSE_LOGWINDOW=no
2045 DEFAULT_wxUSE_LOGGUI=no
2046 DEFAULT_wxUSE_LOGDIALOG=no
2047
2048 DEFAULT_wxUSE_GUI=yes
2049 DEFAULT_wxUSE_CONTROLS=no
2050
2051 DEFAULT_wxUSE_REGEX=no
2052 DEFAULT_wxUSE_XML=no
2053 DEFAULT_wxUSE_EXPAT=no
2054 DEFAULT_wxUSE_ZLIB=no
2055 DEFAULT_wxUSE_LIBPNG=no
2056 DEFAULT_wxUSE_LIBJPEG=no
2057 DEFAULT_wxUSE_LIBTIFF=no
2058 DEFAULT_wxUSE_LIBXPM=no
2059 DEFAULT_wxUSE_LIBMSPACK=no
2060 DEFAULT_wxUSE_LIBSDL=no
d1c38808 2061 DEFAULT_wxUSE_LIBGNOMEPRINT=no
a848cd7e
SC
2062 DEFAULT_wxUSE_ODBC=no
2063 DEFAULT_wxUSE_OPENGL=no
2064
2065 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2066 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2067 DEFAULT_wxUSE_STD_IOSTREAM=no
2068 DEFAULT_wxUSE_CMDLINE_PARSER=no
2069 DEFAULT_wxUSE_DATETIME=no
2070 DEFAULT_wxUSE_TIMER=no
2071 DEFAULT_wxUSE_STOPWATCH=no
2072 DEFAULT_wxUSE_FILE=no
2073 DEFAULT_wxUSE_FFILE=no
2074 DEFAULT_wxUSE_TEXTBUFFER=no
2075 DEFAULT_wxUSE_TEXTFILE=no
2076 DEFAULT_wxUSE_SOUND=no
3b57de8b
RL
2077 DEFAULT_wxUSE_MEDIACTRL=no
2078 DEFAULT_wxUSE_DIRECTSHOW=no
a848cd7e
SC
2079 DEFAULT_wxUSE_INTL=no
2080 DEFAULT_wxUSE_CONFIG=no
2081 DEFAULT_wxUSE_FONTMAP=no
2082 DEFAULT_wxUSE_STREAMS=no
2083 DEFAULT_wxUSE_SOCKETS=no
2084 DEFAULT_wxUSE_OLE=no
2085 DEFAULT_wxUSE_DATAOBJ=no
2086 DEFAULT_wxUSE_DIALUP_MANAGER=no
2087 DEFAULT_wxUSE_JOYSTICK=no
2088 DEFAULT_wxUSE_DYNLIB_CLASS=no
2089 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2090 DEFAULT_wxUSE_LONGLONG=no
2091 DEFAULT_wxUSE_GEOMETRY=no
2092
2093 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2094 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2095 DEFAULT_wxUSE_POSTSCRIPT=no
2096
2097 DEFAULT_wxUSE_CLIPBOARD=no
2098 DEFAULT_wxUSE_TOOLTIPS=no
2099 DEFAULT_wxUSE_DRAG_AND_DROP=no
2100 DEFAULT_wxUSE_DRAGIMAGE=no
2101 DEFAULT_wxUSE_SPLINES=no
2102
8a7b1113 2103 DEFAULT_wxUSE_MDI=no
a848cd7e
SC
2104 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2105 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2106 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2107
2108 DEFAULT_wxUSE_RESOURCES=no
2109 DEFAULT_wxUSE_CONSTRAINTS=no
2110 DEFAULT_wxUSE_IPC=no
2111 DEFAULT_wxUSE_HELP=no
2112 DEFAULT_wxUSE_MS_HTML_HELP=no
2113 DEFAULT_wxUSE_WXHTML_HELP=no
2114 DEFAULT_wxUSE_TREELAYOUT=no
2115 DEFAULT_wxUSE_METAFILE=no
2116 DEFAULT_wxUSE_MIMETYPE=no
2117 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2118 DEFAULT_wxUSE_PROTOCOL=no
2119 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2120 DEFAULT_wxUSE_PROTOCOL_FTP=no
2121 DEFAULT_wxUSE_PROTOCOL_FILE=no
2122 DEFAULT_wxUSE_URL=no
2123
2124 DEFAULT_wxUSE_COMMONDLGS=no
2125 DEFAULT_wxUSE_CHOICEDLG=no
2126 DEFAULT_wxUSE_COLOURDLG=no
2127 DEFAULT_wxUSE_DIRDLG=no
2128 DEFAULT_wxUSE_FILEDLG=no
2129 DEFAULT_wxUSE_FINDREPLDLG=no
2130 DEFAULT_wxUSE_FONTDLG=no
2131 DEFAULT_wxUSE_MSGDLG=no
2132 DEFAULT_wxUSE_NUMBERDLG=no
2133 DEFAULT_wxUSE_TEXTDLG=no
2134 DEFAULT_wxUSE_SPLASH=no
2135 DEFAULT_wxUSE_STARTUP_TIPS=no
2136 DEFAULT_wxUSE_PROGRESSDLG=no
2137 DEFAULT_wxUSE_WIZARDDLG=no
2138
2139 DEFAULT_wxUSE_MENUS=no
2140 DEFAULT_wxUSE_MINIFRAME=no
2141 DEFAULT_wxUSE_HTML=no
9a8f0513 2142 DEFAULT_wxUSE_XRC=no
646b6ec1 2143 DEFAULT_wxUSE_WEBKIT=no
a848cd7e
SC
2144 DEFAULT_wxUSE_FILESYSTEM=no
2145 DEFAULT_wxUSE_FS_INET=no
2146 DEFAULT_wxUSE_FS_ZIP=no
2147 DEFAULT_wxUSE_BUSYINFO=no
2148 DEFAULT_wxUSE_ZIPSTREAM=no
a848cd7e
SC
2149 DEFAULT_wxUSE_VALIDATORS=no
2150
2151 DEFAULT_wxUSE_ACCEL=no
2152 DEFAULT_wxUSE_BUTTON=no
2153 DEFAULT_wxUSE_BMPBUTTON=no
2154 DEFAULT_wxUSE_CALCTRL=no
2155 DEFAULT_wxUSE_CARET=no
2156 DEFAULT_wxUSE_CHECKBOX=no
2157 DEFAULT_wxUSE_CHECKLST=no
2158 DEFAULT_wxUSE_CHOICE=no
92bbdbcd 2159 DEFAULT_wxUSE_CHOICEBOOK=no
a848cd7e
SC
2160 DEFAULT_wxUSE_COMBOBOX=no
2161 DEFAULT_wxUSE_DISPLAY=no
2162 DEFAULT_wxUSE_GAUGE=no
2163 DEFAULT_wxUSE_GRID=no
2164 DEFAULT_wxUSE_IMAGLIST=no
2165 DEFAULT_wxUSE_LISTBOOK=no
2166 DEFAULT_wxUSE_LISTBOX=no
2167 DEFAULT_wxUSE_LISTCTRL=no
2168 DEFAULT_wxUSE_NOTEBOOK=no
2169 DEFAULT_wxUSE_RADIOBOX=no
2170 DEFAULT_wxUSE_RADIOBTN=no
2171 DEFAULT_wxUSE_SASH=no
2172 DEFAULT_wxUSE_SCROLLBAR=no
2173 DEFAULT_wxUSE_SLIDER=no
2174 DEFAULT_wxUSE_SPINBTN=no
2175 DEFAULT_wxUSE_SPINCTRL=no
2176 DEFAULT_wxUSE_SPLITTER=no
2177 DEFAULT_wxUSE_STATBMP=no
2178 DEFAULT_wxUSE_STATBOX=no
2179 DEFAULT_wxUSE_STATLINE=no
2180 DEFAULT_wxUSE_STATTEXT=no
2181 DEFAULT_wxUSE_STATUSBAR=yes
2182 DEFAULT_wxUSE_TABDIALOG=no
2183 DEFAULT_wxUSE_TEXTCTRL=no
2184 DEFAULT_wxUSE_TOGGLEBTN=no
2185 DEFAULT_wxUSE_TOOLBAR=no
2186 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2187 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2188 DEFAULT_wxUSE_TREECTRL=no
2189 DEFAULT_wxUSE_POPUPWIN=no
2190 DEFAULT_wxUSE_TIPWINDOW=no
2191
2192 DEFAULT_wxUSE_UNICODE=no
2193 DEFAULT_wxUSE_UNICODE_MSLU=no
2194 DEFAULT_wxUSE_WCSRTOMBS=no
2195
2196 DEFAULT_wxUSE_PALETTE=no
2197 DEFAULT_wxUSE_IMAGE=no
2198 DEFAULT_wxUSE_GIF=no
2199 DEFAULT_wxUSE_PCX=no
2200 DEFAULT_wxUSE_PNM=no
2201 DEFAULT_wxUSE_IFF=no
2202 DEFAULT_wxUSE_XPM=no
2203 DEFAULT_wxUSE_ICO_CUR=no
2204 DEFAULT_wxUSE_ACCESSIBILITY=no
2205
2206 DEFAULT_wxUSE_MONOLITHIC=no
2207 DEFAULT_wxUSE_PLUGINS=no
2208 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2209else
2210 DEFAULT_wxUSE_UNIVERSAL=no
2211 DEFAULT_wxUSE_STL=no
2212
2213 DEFAULT_wxUSE_NANOX=no
2214
2215 DEFAULT_wxUSE_THREADS=yes
2216
2217 DEFAULT_wxUSE_SHARED=yes
2218 DEFAULT_wxUSE_OPTIMISE=yes
2219 DEFAULT_wxUSE_PROFILE=no
2220 DEFAULT_wxUSE_NO_DEPS=no
2221 DEFAULT_wxUSE_NO_RTTI=no
2222 DEFAULT_wxUSE_NO_EXCEPTIONS=no
ffa0583f 2223 DEFAULT_wxUSE_RPATH=yes
a848cd7e
SC
2224 DEFAULT_wxUSE_PERMISSIVE=no
2225 DEFAULT_wxUSE_DEBUG_FLAG=no
2226 DEFAULT_wxUSE_DEBUG_INFO=no
2227 DEFAULT_wxUSE_DEBUG_GDB=no
2228 DEFAULT_wxUSE_MEM_TRACING=no
2229 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2230 DEFAULT_wxUSE_DMALLOC=no
2231 DEFAULT_wxUSE_APPLE_IEEE=yes
2232
2233 DEFAULT_wxUSE_EXCEPTIONS=yes
2234 DEFAULT_wxUSE_LOG=yes
2235 DEFAULT_wxUSE_LOGWINDOW=yes
2236 DEFAULT_wxUSE_LOGGUI=yes
2237 DEFAULT_wxUSE_LOGDIALOG=yes
2238
2239 DEFAULT_wxUSE_GUI=yes
2240
2241 DEFAULT_wxUSE_REGEX=yes
2242 DEFAULT_wxUSE_XML=yes
2243 DEFAULT_wxUSE_EXPAT=yes
2244 DEFAULT_wxUSE_ZLIB=yes
2245 DEFAULT_wxUSE_LIBPNG=yes
2246 DEFAULT_wxUSE_LIBJPEG=yes
2247 DEFAULT_wxUSE_LIBTIFF=yes
2248 DEFAULT_wxUSE_LIBXPM=yes
2249 DEFAULT_wxUSE_LIBMSPACK=yes
2250 DEFAULT_wxUSE_LIBSDL=no
d1c38808 2251 DEFAULT_wxUSE_LIBGNOMEPRINT=no
a848cd7e
SC
2252 DEFAULT_wxUSE_ODBC=no
2253 DEFAULT_wxUSE_OPENGL=no
2254
2255 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2256 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2257 DEFAULT_wxUSE_STD_IOSTREAM=no
2258 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2259 DEFAULT_wxUSE_DATETIME=yes
2260 DEFAULT_wxUSE_TIMER=yes
2261 DEFAULT_wxUSE_STOPWATCH=yes
2262 DEFAULT_wxUSE_FILE=yes
2263 DEFAULT_wxUSE_FFILE=yes
2264 DEFAULT_wxUSE_TEXTBUFFER=yes
2265 DEFAULT_wxUSE_TEXTFILE=yes
2266 DEFAULT_wxUSE_SOUND=yes
3b57de8b
RL
2267 DEFAULT_wxUSE_MEDIACTRL=no
2268 DEFAULT_wxUSE_DIRECTSHOW=no
a848cd7e
SC
2269 DEFAULT_wxUSE_INTL=yes
2270 DEFAULT_wxUSE_CONFIG=yes
2271 DEFAULT_wxUSE_FONTMAP=yes
2272 DEFAULT_wxUSE_STREAMS=yes
2273 DEFAULT_wxUSE_SOCKETS=yes
2274 DEFAULT_wxUSE_OLE=yes
2275 DEFAULT_wxUSE_DATAOBJ=yes
2276 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2277 DEFAULT_wxUSE_JOYSTICK=yes
2278 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2279 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2280 DEFAULT_wxUSE_LONGLONG=yes
2281 DEFAULT_wxUSE_GEOMETRY=yes
2282
2283 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2284 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2285 DEFAULT_wxUSE_POSTSCRIPT=yes
2286
2287 DEFAULT_wxUSE_CLIPBOARD=yes
2288 DEFAULT_wxUSE_TOOLTIPS=yes
2289 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2290 DEFAULT_wxUSE_DRAGIMAGE=yes
2291 DEFAULT_wxUSE_SPLINES=yes
2292
8a7b1113 2293 DEFAULT_wxUSE_MDI=yes
a848cd7e
SC
2294 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2295 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2296 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2297
2298 DEFAULT_wxUSE_RESOURCES=no
2299 DEFAULT_wxUSE_CONSTRAINTS=yes
2300 DEFAULT_wxUSE_IPC=yes
2301 DEFAULT_wxUSE_HELP=yes
2302 DEFAULT_wxUSE_MS_HTML_HELP=yes
2303 DEFAULT_wxUSE_WXHTML_HELP=yes
2304 DEFAULT_wxUSE_TREELAYOUT=yes
2305 DEFAULT_wxUSE_METAFILE=yes
2306 DEFAULT_wxUSE_MIMETYPE=yes
2307 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2308 DEFAULT_wxUSE_PROTOCOL=yes
2309 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2310 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2311 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2312 DEFAULT_wxUSE_URL=yes
2313
2314 DEFAULT_wxUSE_COMMONDLGS=yes
2315 DEFAULT_wxUSE_CHOICEDLG=yes
2316 DEFAULT_wxUSE_COLOURDLG=yes
2317 DEFAULT_wxUSE_DIRDLG=yes
2318 DEFAULT_wxUSE_FILEDLG=yes
2319 DEFAULT_wxUSE_FINDREPLDLG=yes
2320 DEFAULT_wxUSE_FONTDLG=yes
2321 DEFAULT_wxUSE_MSGDLG=yes
2322 DEFAULT_wxUSE_NUMBERDLG=yes
2323 DEFAULT_wxUSE_TEXTDLG=yes
2324 DEFAULT_wxUSE_SPLASH=yes
2325 DEFAULT_wxUSE_STARTUP_TIPS=yes
2326 DEFAULT_wxUSE_PROGRESSDLG=yes
2327 DEFAULT_wxUSE_WIZARDDLG=yes
2328
2329 DEFAULT_wxUSE_MENUS=yes
2330 DEFAULT_wxUSE_MINIFRAME=yes
2331 DEFAULT_wxUSE_HTML=yes
9a8f0513 2332 DEFAULT_wxUSE_XRC=yes
646b6ec1 2333 DEFAULT_wxUSE_WEBKIT=yes
a848cd7e
SC
2334 DEFAULT_wxUSE_FILESYSTEM=yes
2335 DEFAULT_wxUSE_FS_INET=yes
2336 DEFAULT_wxUSE_FS_ZIP=yes
2337 DEFAULT_wxUSE_BUSYINFO=yes
2338 DEFAULT_wxUSE_ZIPSTREAM=yes
a848cd7e
SC
2339 DEFAULT_wxUSE_VALIDATORS=yes
2340
2341 DEFAULT_wxUSE_ACCEL=yes
2342 DEFAULT_wxUSE_BUTTON=yes
2343 DEFAULT_wxUSE_BMPBUTTON=yes
2344 DEFAULT_wxUSE_CALCTRL=yes
2345 DEFAULT_wxUSE_CARET=yes
2346 DEFAULT_wxUSE_CHECKBOX=yes
2347 DEFAULT_wxUSE_CHECKLST=yes
2348 DEFAULT_wxUSE_CHOICE=yes
92bbdbcd 2349 DEFAULT_wxUSE_CHOICEBOOK=yes
a848cd7e
SC
2350 DEFAULT_wxUSE_COMBOBOX=yes
2351 DEFAULT_wxUSE_DISPLAY=yes
2352 DEFAULT_wxUSE_GAUGE=yes
2353 DEFAULT_wxUSE_GRID=yes
2354 DEFAULT_wxUSE_IMAGLIST=yes
2355 DEFAULT_wxUSE_LISTBOOK=yes
2356 DEFAULT_wxUSE_LISTBOX=yes
2357 DEFAULT_wxUSE_LISTCTRL=yes
2358 DEFAULT_wxUSE_NOTEBOOK=yes
2359 DEFAULT_wxUSE_RADIOBOX=yes
2360 DEFAULT_wxUSE_RADIOBTN=yes
2361 DEFAULT_wxUSE_SASH=yes
2362 DEFAULT_wxUSE_SCROLLBAR=yes
2363 DEFAULT_wxUSE_SLIDER=yes
2364 DEFAULT_wxUSE_SPINBTN=yes
2365 DEFAULT_wxUSE_SPINCTRL=yes
2366 DEFAULT_wxUSE_SPLITTER=yes
2367 DEFAULT_wxUSE_STATBMP=yes
2368 DEFAULT_wxUSE_STATBOX=yes
2369 DEFAULT_wxUSE_STATLINE=yes
2370 DEFAULT_wxUSE_STATTEXT=yes
2371 DEFAULT_wxUSE_STATUSBAR=yes
2372 DEFAULT_wxUSE_TABDIALOG=no
2373 DEFAULT_wxUSE_TEXTCTRL=yes
2374 DEFAULT_wxUSE_TOGGLEBTN=yes
2375 DEFAULT_wxUSE_TOOLBAR=yes
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2377 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2378 DEFAULT_wxUSE_TREECTRL=yes
2379 DEFAULT_wxUSE_POPUPWIN=yes
2380 DEFAULT_wxUSE_TIPWINDOW=yes
2381
2382 DEFAULT_wxUSE_UNICODE=no
2383 DEFAULT_wxUSE_UNICODE_MSLU=yes
2384 DEFAULT_wxUSE_WCSRTOMBS=no
2385
2386 DEFAULT_wxUSE_PALETTE=yes
2387 DEFAULT_wxUSE_IMAGE=yes
2388 DEFAULT_wxUSE_GIF=yes
2389 DEFAULT_wxUSE_PCX=yes
2390 DEFAULT_wxUSE_IFF=no
2391 DEFAULT_wxUSE_PNM=yes
2392 DEFAULT_wxUSE_XPM=yes
2393 DEFAULT_wxUSE_ICO_CUR=yes
2394 DEFAULT_wxUSE_ACCESSIBILITY=no
2395
2396 DEFAULT_wxUSE_MONOLITHIC=no
2397 DEFAULT_wxUSE_PLUGINS=no
2398 DEFAULT_wxUSE_OFFICIAL_BUILD=no
9f45f08e
VS
2399
2400 DEFAULT_wxUSE_GTK2=yes
a848cd7e
SC
2401fi
2402
2403
2404
2405for toolkit in `echo $ALL_TOOLKITS`; do
2406 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2407 if test "x$LINE" != "x" ; then
2408 has_toolkit_in_cache=1
2409 eval "DEFAULT_$LINE"
2410 eval "CACHE_$toolkit=1"
2411 fi
2412done
2413
2414
2415
2416 enablestring=
2417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2418echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2419 no_cache=0
2420 # Check whether --enable-gui or --disable-gui was given.
2421if test "${enable_gui+set}" = set; then
2422 enableval="$enable_gui"
2423
2424 if test "$enableval" = yes; then
2425 ac_cv_use_gui='wxUSE_GUI=yes'
2426 else
2427 ac_cv_use_gui='wxUSE_GUI=no'
2428 fi
2429
2430else
2431
2432 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2435 else
2436 no_cache=1
2437 fi
2438
2439 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2440
2441fi;
2442
2443 eval "$ac_cv_use_gui"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2446 fi
2447
2448 if test "$wxUSE_GUI" = yes; then
2449 echo "$as_me:$LINENO: result: yes" >&5
2450echo "${ECHO_T}yes" >&6
2451 else
2452 echo "$as_me:$LINENO: result: no" >&5
2453echo "${ECHO_T}no" >&6
2454 fi
2455
2456
2457 enablestring=
2458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2459echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2460 no_cache=0
2461 # Check whether --enable-monolithic or --disable-monolithic was given.
2462if test "${enable_monolithic+set}" = set; then
2463 enableval="$enable_monolithic"
2464
2465 if test "$enableval" = yes; then
2466 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2467 else
2468 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2469 fi
2470
2471else
2472
2473 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x ; then
2475 eval "DEFAULT_$LINE"
2476 else
2477 no_cache=1
2478 fi
2479
2480 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2481
2482fi;
2483
2484 eval "$ac_cv_use_monolithic"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2487 fi
2488
2489 if test "$wxUSE_MONOLITHIC" = yes; then
2490 echo "$as_me:$LINENO: result: yes" >&5
2491echo "${ECHO_T}yes" >&6
2492 else
2493 echo "$as_me:$LINENO: result: no" >&5
2494echo "${ECHO_T}no" >&6
2495 fi
2496
2497
2498 enablestring=
2499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2500echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2501 no_cache=0
2502 # Check whether --enable-plugins or --disable-plugins was given.
2503if test "${enable_plugins+set}" = set; then
2504 enableval="$enable_plugins"
2505
2506 if test "$enableval" = yes; then
2507 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2508 else
2509 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2510 fi
2511
2512else
2513
2514 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x ; then
2516 eval "DEFAULT_$LINE"
2517 else
2518 no_cache=1
2519 fi
2520
2521 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2522
2523fi;
2524
2525 eval "$ac_cv_use_plugins"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2528 fi
2529
2530 if test "$wxUSE_PLUGINS" = yes; then
2531 echo "$as_me:$LINENO: result: yes" >&5
2532echo "${ECHO_T}yes" >&6
2533 else
2534 echo "$as_me:$LINENO: result: no" >&5
2535echo "${ECHO_T}no" >&6
2536 fi
2537
2538
2539if test "$wxUSE_GUI" = "yes"; then
2540
2541
2542 enablestring=
2543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2544echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2545 no_cache=0
2546 # Check whether --enable-universal or --disable-universal was given.
2547if test "${enable_universal+set}" = set; then
2548 enableval="$enable_universal"
2549
2550 if test "$enableval" = yes; then
2551 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2552 else
2553 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2554 fi
2555
2556else
2557
2558 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x ; then
2560 eval "DEFAULT_$LINE"
2561 else
2562 no_cache=1
2563 fi
2564
2565 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2566
2567fi;
2568
2569 eval "$ac_cv_use_universal"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2572 fi
2573
2574 if test "$wxUSE_UNIVERSAL" = yes; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576echo "${ECHO_T}yes" >&6
2577 else
2578 echo "$as_me:$LINENO: result: no" >&5
2579echo "${ECHO_T}no" >&6
2580 fi
2581
2582
2583# Check whether --with-gtk or --without-gtk was given.
2584if test "${with_gtk+set}" = set; then
2585 withval="$with_gtk"
2586 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2587fi;
2588
2589# Check whether --with-motif or --without-motif was given.
2590if test "${with_motif+set}" = set; then
2591 withval="$with_motif"
2592 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2593fi;
2594
2595# Check whether --with-mac or --without-mac was given.
2596if test "${with_mac+set}" = set; then
2597 withval="$with_mac"
c228d3a4 2598 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
a848cd7e
SC
2599fi;
2600
2601# Check whether --with-cocoa or --without-cocoa was given.
2602if test "${with_cocoa+set}" = set; then
2603 withval="$with_cocoa"
c228d3a4 2604 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
a848cd7e
SC
2605fi;
2606
2607# Check whether --with-wine or --without-wine was given.
2608if test "${with_wine+set}" = set; then
2609 withval="$with_wine"
2610 wxUSE_WINE="$withval" CACHE_WINE=1
2611fi;
2612
2613# Check whether --with-msw or --without-msw was given.
2614if test "${with_msw+set}" = set; then
2615 withval="$with_msw"
2616 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2617fi;
2618
2619# Check whether --with-pm or --without-pm was given.
2620if test "${with_pm+set}" = set; then
2621 withval="$with_pm"
2622 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2623fi;
2624
2625# Check whether --with-mgl or --without-mgl was given.
2626if test "${with_mgl+set}" = set; then
2627 withval="$with_mgl"
2628 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2629fi;
2630
2631# Check whether --with-microwin or --without-microwin was given.
2632if test "${with_microwin+set}" = set; then
2633 withval="$with_microwin"
2634 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2635fi;
2636
2637# Check whether --with-x11 or --without-x11 was given.
2638if test "${with_x11+set}" = set; then
2639 withval="$with_x11"
2640 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2641fi;
2642
2643 enablestring=
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2645echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2646 no_cache=0
2647 # Check whether --enable-nanox or --disable-nanox was given.
2648if test "${enable_nanox+set}" = set; then
2649 enableval="$enable_nanox"
2650
2651 if test "$enableval" = yes; then
2652 ac_cv_use_nanox='wxUSE_NANOX=yes'
2653 else
2654 ac_cv_use_nanox='wxUSE_NANOX=no'
2655 fi
2656
2657else
2658
2659 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x ; then
2661 eval "DEFAULT_$LINE"
2662 else
2663 no_cache=1
2664 fi
2665
2666 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2667
2668fi;
2669
2670 eval "$ac_cv_use_nanox"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2673 fi
2674
2675 if test "$wxUSE_NANOX" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677echo "${ECHO_T}yes" >&6
2678 else
2679 echo "$as_me:$LINENO: result: no" >&5
2680echo "${ECHO_T}no" >&6
2681 fi
2682
2683
2684
2685 enablestring=
2686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2687echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2688 no_cache=0
2689 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2690if test "${enable_gtk2+set}" = set; then
2691 enableval="$enable_gtk2"
2692
2693 if test "$enableval" = yes; then
2694 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2695 else
2696 ac_cv_use_gtk2='wxUSE_GTK2=no'
2697 fi
2698
2699else
2700
2701 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2702 if test "x$LINE" != x ; then
2703 eval "DEFAULT_$LINE"
2704 else
2705 no_cache=1
2706 fi
2707
2708 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2709
2710fi;
2711
2712 eval "$ac_cv_use_gtk2"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2715 fi
2716
2717 if test "$wxUSE_GTK2" = yes; then
2718 echo "$as_me:$LINENO: result: yes" >&5
2719echo "${ECHO_T}yes" >&6
2720 else
2721 echo "$as_me:$LINENO: result: no" >&5
2722echo "${ECHO_T}no" >&6
2723 fi
2724
2725
2726 enablestring=
2727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2728echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2729 no_cache=0
2730 # Check whether --enable-gpe or --disable-gpe was given.
2731if test "${enable_gpe+set}" = set; then
2732 enableval="$enable_gpe"
2733
2734 if test "$enableval" = yes; then
2735 ac_cv_use_gpe='wxUSE_GPE=yes'
2736 else
2737 ac_cv_use_gpe='wxUSE_GPE=no'
2738 fi
2739
2740else
2741
2742 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2743 if test "x$LINE" != x ; then
2744 eval "DEFAULT_$LINE"
2745 else
2746 no_cache=1
2747 fi
2748
2749 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2750
2751fi;
2752
2753 eval "$ac_cv_use_gpe"
2754 if test "$no_cache" != 1; then
2755 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2756 fi
2757
2758 if test "$wxUSE_GPE" = yes; then
2759 echo "$as_me:$LINENO: result: yes" >&5
2760echo "${ECHO_T}yes" >&6
2761 else
2762 echo "$as_me:$LINENO: result: no" >&5
2763echo "${ECHO_T}no" >&6
2764 fi
2765
2766
2767
2768 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2769echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2770 no_cache=0
2771
2772# Check whether --with-libpng or --without-libpng was given.
2773if test "${with_libpng+set}" = set; then
2774 withval="$with_libpng"
2775
2776 if test "$withval" = yes; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2778 elif test "$withval" = no; then
2779 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2780 elif test "$withval" = sys; then
2781 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2782 elif test "$withval" = builtin; then
2783 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2784 else
2785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2786echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2787 { (exit 1); exit 1; }; }
2788 fi
2789
2790else
2791
2792 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2793 if test "x$LINE" != x ; then
2794 eval "DEFAULT_$LINE"
2795 else
2796 no_cache=1
2797 fi
2798
2799 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2800
2801fi;
2802
2803 eval "$ac_cv_use_libpng"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2806 fi
2807
2808 if test "$wxUSE_LIBPNG" = yes; then
2809 echo "$as_me:$LINENO: result: yes" >&5
2810echo "${ECHO_T}yes" >&6
2811 elif test "$wxUSE_LIBPNG" = no; then
2812 echo "$as_me:$LINENO: result: no" >&5
2813echo "${ECHO_T}no" >&6
2814 elif test "$wxUSE_LIBPNG" = sys; then
2815 echo "$as_me:$LINENO: result: system version" >&5
2816echo "${ECHO_T}system version" >&6
2817 elif test "$wxUSE_LIBPNG" = builtin; then
2818 echo "$as_me:$LINENO: result: builtin version" >&5
2819echo "${ECHO_T}builtin version" >&6
2820 else
2821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2822echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2823 { (exit 1); exit 1; }; }
2824 fi
2825
2826
2827 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2828echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2829 no_cache=0
2830
2831# Check whether --with-libjpeg or --without-libjpeg was given.
2832if test "${with_libjpeg+set}" = set; then
2833 withval="$with_libjpeg"
2834
2835 if test "$withval" = yes; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2837 elif test "$withval" = no; then
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2839 elif test "$withval" = sys; then
2840 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2841 elif test "$withval" = builtin; then
2842 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2843 else
2844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2845echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2846 { (exit 1); exit 1; }; }
2847 fi
2848
2849else
2850
2851 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2852 if test "x$LINE" != x ; then
2853 eval "DEFAULT_$LINE"
2854 else
2855 no_cache=1
2856 fi
2857
2858 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2859
2860fi;
2861
2862 eval "$ac_cv_use_libjpeg"
2863 if test "$no_cache" != 1; then
2864 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2865 fi
2866
2867 if test "$wxUSE_LIBJPEG" = yes; then
2868 echo "$as_me:$LINENO: result: yes" >&5
2869echo "${ECHO_T}yes" >&6
2870 elif test "$wxUSE_LIBJPEG" = no; then
2871 echo "$as_me:$LINENO: result: no" >&5
2872echo "${ECHO_T}no" >&6
2873 elif test "$wxUSE_LIBJPEG" = sys; then
2874 echo "$as_me:$LINENO: result: system version" >&5
2875echo "${ECHO_T}system version" >&6
2876 elif test "$wxUSE_LIBJPEG" = builtin; then
2877 echo "$as_me:$LINENO: result: builtin version" >&5
2878echo "${ECHO_T}builtin version" >&6
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2881echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885
2886 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2887echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2888 no_cache=0
2889
2890# Check whether --with-libtiff or --without-libtiff was given.
2891if test "${with_libtiff+set}" = set; then
2892 withval="$with_libtiff"
2893
2894 if test "$withval" = yes; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2896 elif test "$withval" = no; then
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2898 elif test "$withval" = sys; then
2899 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2900 elif test "$withval" = builtin; then
2901 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2902 else
2903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2904echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2905 { (exit 1); exit 1; }; }
2906 fi
2907
2908else
2909
2910 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2913 else
2914 no_cache=1
2915 fi
2916
2917 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2918
2919fi;
2920
2921 eval "$ac_cv_use_libtiff"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2924 fi
2925
2926 if test "$wxUSE_LIBTIFF" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928echo "${ECHO_T}yes" >&6
2929 elif test "$wxUSE_LIBTIFF" = no; then
2930 echo "$as_me:$LINENO: result: no" >&5
2931echo "${ECHO_T}no" >&6
2932 elif test "$wxUSE_LIBTIFF" = sys; then
2933 echo "$as_me:$LINENO: result: system version" >&5
2934echo "${ECHO_T}system version" >&6
2935 elif test "$wxUSE_LIBTIFF" = builtin; then
2936 echo "$as_me:$LINENO: result: builtin version" >&5
2937echo "${ECHO_T}builtin version" >&6
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2940echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944
2945 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2946echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2947 no_cache=0
2948
2949# Check whether --with-libxpm or --without-libxpm was given.
2950if test "${with_libxpm+set}" = set; then
2951 withval="$with_libxpm"
2952
2953 if test "$withval" = yes; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2955 elif test "$withval" = no; then
2956 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2957 elif test "$withval" = sys; then
2958 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2959 elif test "$withval" = builtin; then
2960 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2961 else
2962 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2963echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2964 { (exit 1); exit 1; }; }
2965 fi
2966
2967else
2968
2969 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2970 if test "x$LINE" != x ; then
2971 eval "DEFAULT_$LINE"
2972 else
2973 no_cache=1
2974 fi
2975
2976 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2977
2978fi;
2979
2980 eval "$ac_cv_use_libxpm"
2981 if test "$no_cache" != 1; then
2982 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2983 fi
2984
2985 if test "$wxUSE_LIBXPM" = yes; then
2986 echo "$as_me:$LINENO: result: yes" >&5
2987echo "${ECHO_T}yes" >&6
2988 elif test "$wxUSE_LIBXPM" = no; then
2989 echo "$as_me:$LINENO: result: no" >&5
2990echo "${ECHO_T}no" >&6
2991 elif test "$wxUSE_LIBXPM" = sys; then
2992 echo "$as_me:$LINENO: result: system version" >&5
2993echo "${ECHO_T}system version" >&6
2994 elif test "$wxUSE_LIBXPM" = builtin; then
2995 echo "$as_me:$LINENO: result: builtin version" >&5
2996echo "${ECHO_T}builtin version" >&6
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2999echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003
3004 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3005echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3006 no_cache=0
3007
3008# Check whether --with-libmspack or --without-libmspack was given.
3009if test "${with_libmspack+set}" = set; then
3010 withval="$with_libmspack"
3011
3012 if test "$withval" = yes; then
3013 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3014 else
3015 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3016 fi
3017
3018else
3019
3020 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x ; then
3022 eval "DEFAULT_$LINE"
3023 else
3024 no_cache=1
3025 fi
3026
3027 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3028
3029fi;
3030
3031 eval "$ac_cv_use_libmspack"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3034 fi
3035
3036 if test "$wxUSE_LIBMSPACK" = yes; then
3037 echo "$as_me:$LINENO: result: yes" >&5
3038echo "${ECHO_T}yes" >&6
3039 else
3040 echo "$as_me:$LINENO: result: no" >&5
3041echo "${ECHO_T}no" >&6
3042 fi
3043
3044
3045 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3046echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3047 no_cache=0
3048
3049# Check whether --with-sdl or --without-sdl was given.
3050if test "${with_sdl+set}" = set; then
3051 withval="$with_sdl"
3052
3053 if test "$withval" = yes; then
3054 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3055 else
3056 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3057 fi
3058
3059else
3060
3061 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x ; then
3063 eval "DEFAULT_$LINE"
3064 else
3065 no_cache=1
3066 fi
3067
3068 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3069
3070fi;
3071
3072 eval "$ac_cv_use_sdl"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3075 fi
3076
3077 if test "$wxUSE_LIBSDL" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079echo "${ECHO_T}yes" >&6
3080 else
3081 echo "$as_me:$LINENO: result: no" >&5
3082echo "${ECHO_T}no" >&6
3083 fi
3084
3085
d1c38808
VZ
3086 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3087echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3088 no_cache=0
3089
3090# Check whether --with-gnomeprint or --without-gnomeprint was given.
3091if test "${with_gnomeprint+set}" = set; then
3092 withval="$with_gnomeprint"
3093
3094 if test "$withval" = yes; then
3095 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3096 else
3097 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3098 fi
3099
3100else
3101
3102 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3103 if test "x$LINE" != x ; then
3104 eval "DEFAULT_$LINE"
3105 else
3106 no_cache=1
3107 fi
3108
3109 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3110
3111fi;
3112
3113 eval "$ac_cv_use_gnomeprint"
3114 if test "$no_cache" != 1; then
3115 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3116 fi
3117
3118 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3119 echo "$as_me:$LINENO: result: yes" >&5
3120echo "${ECHO_T}yes" >&6
3121 else
3122 echo "$as_me:$LINENO: result: no" >&5
3123echo "${ECHO_T}no" >&6
3124 fi
3125
3126
a848cd7e
SC
3127 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3128echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3129 no_cache=0
3130
3131# Check whether --with-opengl or --without-opengl was given.
3132if test "${with_opengl+set}" = set; then
3133 withval="$with_opengl"
3134
3135 if test "$withval" = yes; then
3136 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3137 else
3138 ac_cv_use_opengl='wxUSE_OPENGL=no'
3139 fi
3140
3141else
3142
3143 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x ; then
3145 eval "DEFAULT_$LINE"
3146 else
3147 no_cache=1
3148 fi
3149
3150 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3151
3152fi;
3153
3154 eval "$ac_cv_use_opengl"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3157 fi
3158
3159 if test "$wxUSE_OPENGL" = yes; then
3160 echo "$as_me:$LINENO: result: yes" >&5
3161echo "${ECHO_T}yes" >&6
3162 else
3163 echo "$as_me:$LINENO: result: no" >&5
3164echo "${ECHO_T}no" >&6
3165 fi
3166
3167
3168fi
3169
3170
3171 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3172echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3173 no_cache=0
3174
3175# Check whether --with-dmalloc or --without-dmalloc was given.
3176if test "${with_dmalloc+set}" = set; then
3177 withval="$with_dmalloc"
3178
3179 if test "$withval" = yes; then
3180 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3181 else
3182 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3183 fi
3184
3185else
3186
3187 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x ; then
3189 eval "DEFAULT_$LINE"
3190 else
3191 no_cache=1
3192 fi
3193
3194 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3195
3196fi;
3197
3198 eval "$ac_cv_use_dmalloc"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3201 fi
3202
3203 if test "$wxUSE_DMALLOC" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205echo "${ECHO_T}yes" >&6
3206 else
3207 echo "$as_me:$LINENO: result: no" >&5
3208echo "${ECHO_T}no" >&6
3209 fi
3210
3211
3212 echo "$as_me:$LINENO: checking for --with-regex" >&5
3213echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3214 no_cache=0
3215
3216# Check whether --with-regex or --without-regex was given.
3217if test "${with_regex+set}" = set; then
3218 withval="$with_regex"
3219
3220 if test "$withval" = yes; then
3221 ac_cv_use_regex='wxUSE_REGEX=yes'
3222 elif test "$withval" = no; then
3223 ac_cv_use_regex='wxUSE_REGEX=no'
3224 elif test "$withval" = sys; then
3225 ac_cv_use_regex='wxUSE_REGEX=sys'
3226 elif test "$withval" = builtin; then
3227 ac_cv_use_regex='wxUSE_REGEX=builtin'
3228 else
3229 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3230echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3231 { (exit 1); exit 1; }; }
3232 fi
3233
3234else
3235
3236 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x ; then
3238 eval "DEFAULT_$LINE"
3239 else
3240 no_cache=1
3241 fi
3242
3243 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3244
3245fi;
3246
3247 eval "$ac_cv_use_regex"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3250 fi
3251
3252 if test "$wxUSE_REGEX" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254echo "${ECHO_T}yes" >&6
3255 elif test "$wxUSE_REGEX" = no; then
3256 echo "$as_me:$LINENO: result: no" >&5
3257echo "${ECHO_T}no" >&6
3258 elif test "$wxUSE_REGEX" = sys; then
3259 echo "$as_me:$LINENO: result: system version" >&5
3260echo "${ECHO_T}system version" >&6
3261 elif test "$wxUSE_REGEX" = builtin; then
3262 echo "$as_me:$LINENO: result: builtin version" >&5
3263echo "${ECHO_T}builtin version" >&6
3264 else
3265 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3266echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3267 { (exit 1); exit 1; }; }
3268 fi
3269
3270
3271 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3272echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3273 no_cache=0
3274
3275# Check whether --with-zlib or --without-zlib was given.
3276if test "${with_zlib+set}" = set; then
3277 withval="$with_zlib"
3278
3279 if test "$withval" = yes; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3281 elif test "$withval" = no; then
3282 ac_cv_use_zlib='wxUSE_ZLIB=no'
3283 elif test "$withval" = sys; then
3284 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3285 elif test "$withval" = builtin; then
3286 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3287 else
3288 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3289echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3290 { (exit 1); exit 1; }; }
3291 fi
3292
3293else
3294
3295 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3296 if test "x$LINE" != x ; then
3297 eval "DEFAULT_$LINE"
3298 else
3299 no_cache=1
3300 fi
3301
3302 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3303
3304fi;
3305
3306 eval "$ac_cv_use_zlib"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3309 fi
3310
3311 if test "$wxUSE_ZLIB" = yes; then
3312 echo "$as_me:$LINENO: result: yes" >&5
3313echo "${ECHO_T}yes" >&6
3314 elif test "$wxUSE_ZLIB" = no; then
3315 echo "$as_me:$LINENO: result: no" >&5
3316echo "${ECHO_T}no" >&6
3317 elif test "$wxUSE_ZLIB" = sys; then
3318 echo "$as_me:$LINENO: result: system version" >&5
3319echo "${ECHO_T}system version" >&6
3320 elif test "$wxUSE_ZLIB" = builtin; then
3321 echo "$as_me:$LINENO: result: builtin version" >&5
3322echo "${ECHO_T}builtin version" >&6
3323 else
3324 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3325echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3326 { (exit 1); exit 1; }; }
3327 fi
3328
3329
3330 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3331echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3332 no_cache=0
3333
3334# Check whether --with-odbc or --without-odbc was given.
3335if test "${with_odbc+set}" = set; then
3336 withval="$with_odbc"
3337
3338 if test "$withval" = yes; then
3339 ac_cv_use_odbc='wxUSE_ODBC=yes'
3340 elif test "$withval" = no; then
3341 ac_cv_use_odbc='wxUSE_ODBC=no'
3342 elif test "$withval" = sys; then
3343 ac_cv_use_odbc='wxUSE_ODBC=sys'
3344 elif test "$withval" = builtin; then
3345 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3346 else
3347 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3348echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3349 { (exit 1); exit 1; }; }
3350 fi
3351
3352else
3353
3354 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 else
3358 no_cache=1
3359 fi
3360
3361 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3362
3363fi;
3364
3365 eval "$ac_cv_use_odbc"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3368 fi
3369
3370 if test "$wxUSE_ODBC" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372echo "${ECHO_T}yes" >&6
3373 elif test "$wxUSE_ODBC" = no; then
3374 echo "$as_me:$LINENO: result: no" >&5
3375echo "${ECHO_T}no" >&6
3376 elif test "$wxUSE_ODBC" = sys; then
3377 echo "$as_me:$LINENO: result: system version" >&5
3378echo "${ECHO_T}system version" >&6
3379 elif test "$wxUSE_ODBC" = builtin; then
3380 echo "$as_me:$LINENO: result: builtin version" >&5
3381echo "${ECHO_T}builtin version" >&6
3382 else
3383 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3384echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3385 { (exit 1); exit 1; }; }
3386 fi
3387
3388
3389 echo "$as_me:$LINENO: checking for --with-expat" >&5
3390echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3391 no_cache=0
3392
3393# Check whether --with-expat or --without-expat was given.
3394if test "${with_expat+set}" = set; then
3395 withval="$with_expat"
3396
3397 if test "$withval" = yes; then
3398 ac_cv_use_expat='wxUSE_EXPAT=yes'
3399 elif test "$withval" = no; then
3400 ac_cv_use_expat='wxUSE_EXPAT=no'
3401 elif test "$withval" = sys; then
3402 ac_cv_use_expat='wxUSE_EXPAT=sys'
3403 elif test "$withval" = builtin; then
3404 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3405 else
3406 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3407echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3408 { (exit 1); exit 1; }; }
3409 fi
3410
3411else
3412
3413 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x ; then
3415 eval "DEFAULT_$LINE"
3416 else
3417 no_cache=1
3418 fi
3419
3420 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3421
3422fi;
3423
3424 eval "$ac_cv_use_expat"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3427 fi
3428
3429 if test "$wxUSE_EXPAT" = yes; then
3430 echo "$as_me:$LINENO: result: yes" >&5
3431echo "${ECHO_T}yes" >&6
3432 elif test "$wxUSE_EXPAT" = no; then
3433 echo "$as_me:$LINENO: result: no" >&5
3434echo "${ECHO_T}no" >&6
3435 elif test "$wxUSE_EXPAT" = sys; then
3436 echo "$as_me:$LINENO: result: system version" >&5
3437echo "${ECHO_T}system version" >&6
3438 elif test "$wxUSE_EXPAT" = builtin; then
3439 echo "$as_me:$LINENO: result: builtin version" >&5
3440echo "${ECHO_T}builtin version" >&6
3441 else
3442 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3443echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3444 { (exit 1); exit 1; }; }
3445 fi
3446
3447
3448
3449
3450 enablestring=
3451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3452echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3453 no_cache=0
3454 # Check whether --enable-shared or --disable-shared was given.
3455if test "${enable_shared+set}" = set; then
3456 enableval="$enable_shared"
3457
3458 if test "$enableval" = yes; then
3459 ac_cv_use_shared='wxUSE_SHARED=yes'
3460 else
3461 ac_cv_use_shared='wxUSE_SHARED=no'
3462 fi
3463
3464else
3465
3466 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3467 if test "x$LINE" != x ; then
3468 eval "DEFAULT_$LINE"
3469 else
3470 no_cache=1
3471 fi
3472
3473 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3474
3475fi;
3476
3477 eval "$ac_cv_use_shared"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3480 fi
3481
3482 if test "$wxUSE_SHARED" = yes; then
3483 echo "$as_me:$LINENO: result: yes" >&5
3484echo "${ECHO_T}yes" >&6
3485 else
3486 echo "$as_me:$LINENO: result: no" >&5
3487echo "${ECHO_T}no" >&6
3488 fi
3489
3490
3491 enablestring=
3492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3493echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3494 no_cache=0
3495 # Check whether --enable-optimise or --disable-optimise was given.
3496if test "${enable_optimise+set}" = set; then
3497 enableval="$enable_optimise"
3498
3499 if test "$enableval" = yes; then
3500 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3501 else
3502 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3503 fi
3504
3505else
3506
3507 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3510 else
3511 no_cache=1
3512 fi
3513
3514 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3515
3516fi;
3517
3518 eval "$ac_cv_use_optimise"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3521 fi
3522
3523 if test "$wxUSE_OPTIMISE" = yes; then
3524 echo "$as_me:$LINENO: result: yes" >&5
3525echo "${ECHO_T}yes" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528echo "${ECHO_T}no" >&6
3529 fi
3530
3531
3532 enablestring=
3533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3534echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3535 no_cache=0
3536 # Check whether --enable-debug or --disable-debug was given.
3537if test "${enable_debug+set}" = set; then
3538 enableval="$enable_debug"
3539
3540 if test "$enableval" = yes; then
3541 ac_cv_use_debug='wxUSE_DEBUG=yes'
3542 else
3543 ac_cv_use_debug='wxUSE_DEBUG=no'
3544 fi
3545
3546else
3547
3548 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3551 else
3552 no_cache=1
3553 fi
3554
3555 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3556
3557fi;
3558
3559 eval "$ac_cv_use_debug"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3562 fi
3563
3564 if test "$wxUSE_DEBUG" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566echo "${ECHO_T}yes" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569echo "${ECHO_T}no" >&6
3570 fi
3571
3572
3573 enablestring=
3574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3575echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3576 no_cache=0
3577 # Check whether --enable-stl or --disable-stl was given.
3578if test "${enable_stl+set}" = set; then
3579 enableval="$enable_stl"
3580
3581 if test "$enableval" = yes; then
3582 ac_cv_use_stl='wxUSE_STL=yes'
3583 else
3584 ac_cv_use_stl='wxUSE_STL=no'
3585 fi
3586
3587else
3588
3589 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x ; then
3591 eval "DEFAULT_$LINE"
3592 else
3593 no_cache=1
3594 fi
3595
3596 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3597
3598fi;
3599
3600 eval "$ac_cv_use_stl"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3603 fi
3604
3605 if test "$wxUSE_STL" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607echo "${ECHO_T}yes" >&6
3608 else
3609 echo "$as_me:$LINENO: result: no" >&5
3610echo "${ECHO_T}no" >&6
3611 fi
3612
3613if test "$USE_OS2" = "1"; then
3614
3615 enablestring=
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3617echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3618 no_cache=0
3619 # Check whether --enable-omf or --disable-omf was given.
3620if test "${enable_omf+set}" = set; then
3621 enableval="$enable_omf"
3622
3623 if test "$enableval" = yes; then
3624 ac_cv_use_omf='wxUSE_OMF=yes'
3625 else
3626 ac_cv_use_omf='wxUSE_OMF=no'
3627 fi
3628
3629else
3630
3631 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3634 else
3635 no_cache=1
3636 fi
3637
3638 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3639
3640fi;
3641
3642 eval "$ac_cv_use_omf"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3645 fi
3646
3647 if test "$wxUSE_OMF" = yes; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649echo "${ECHO_T}yes" >&6
3650 else
3651 echo "$as_me:$LINENO: result: no" >&5
3652echo "${ECHO_T}no" >&6
3653 fi
3654
3655fi
3656
3657if test "$wxUSE_DEBUG" = "yes"; then
3658 DEFAULT_wxUSE_DEBUG_FLAG=yes
3659 DEFAULT_wxUSE_DEBUG_INFO=yes
3660 BUILD=debug
3661elif test "$wxUSE_DEBUG" = "no"; then
3662 DEFAULT_wxUSE_DEBUG_FLAG=no
3663 DEFAULT_wxUSE_DEBUG_INFO=no
3664 BUILD=release
3665fi
3666
3667
3668 enablestring=
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3670echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3671 no_cache=0
3672 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3673if test "${enable_debug_flag+set}" = set; then
3674 enableval="$enable_debug_flag"
3675
3676 if test "$enableval" = yes; then
3677 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3678 else
3679 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3680 fi
3681
3682else
3683
3684 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3687 else
3688 no_cache=1
3689 fi
3690
3691 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3692
3693fi;
3694
3695 eval "$ac_cv_use_debug_flag"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3698 fi
3699
3700 if test "$wxUSE_DEBUG_FLAG" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702echo "${ECHO_T}yes" >&6
3703 else
3704 echo "$as_me:$LINENO: result: no" >&5
3705echo "${ECHO_T}no" >&6
3706 fi
3707
3708
3709 enablestring=
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3711echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3712 no_cache=0
3713 # Check whether --enable-debug_info or --disable-debug_info was given.
3714if test "${enable_debug_info+set}" = set; then
3715 enableval="$enable_debug_info"
3716
3717 if test "$enableval" = yes; then
3718 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3719 else
3720 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3721 fi
3722
3723else
3724
3725 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3728 else
3729 no_cache=1
3730 fi
3731
3732 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3733
3734fi;
3735
3736 eval "$ac_cv_use_debug_info"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_DEBUG_INFO" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743echo "${ECHO_T}yes" >&6
3744 else
3745 echo "$as_me:$LINENO: result: no" >&5
3746echo "${ECHO_T}no" >&6
3747 fi
3748
3749
3750 enablestring=
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3752echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3753 no_cache=0
3754 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3755if test "${enable_debug_gdb+set}" = set; then
3756 enableval="$enable_debug_gdb"
3757
3758 if test "$enableval" = yes; then
3759 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3760 else
3761 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3762 fi
3763
3764else
3765
3766 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x ; then
3768 eval "DEFAULT_$LINE"
3769 else
3770 no_cache=1
3771 fi
3772
3773 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3774
3775fi;
3776
3777 eval "$ac_cv_use_debug_gdb"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3780 fi
3781
3782 if test "$wxUSE_DEBUG_GDB" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784echo "${ECHO_T}yes" >&6
3785 else
3786 echo "$as_me:$LINENO: result: no" >&5
3787echo "${ECHO_T}no" >&6
3788 fi
3789
3790
3791 enablestring=
3792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3793echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3794 no_cache=0
3795 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3796if test "${enable_debug_cntxt+set}" = set; then
3797 enableval="$enable_debug_cntxt"
3798
3799 if test "$enableval" = yes; then
3800 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3801 else
3802 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3803 fi
3804
3805else
3806
3807 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x ; then
3809 eval "DEFAULT_$LINE"
3810 else
3811 no_cache=1
3812 fi
3813
3814 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3815
3816fi;
3817
3818 eval "$ac_cv_use_debug_cntxt"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3821 fi
3822
3823 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3824 echo "$as_me:$LINENO: result: yes" >&5
3825echo "${ECHO_T}yes" >&6
3826 else
3827 echo "$as_me:$LINENO: result: no" >&5
3828echo "${ECHO_T}no" >&6
3829 fi
3830
3831
3832 enablestring=
3833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3834echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3835 no_cache=0
3836 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3837if test "${enable_mem_tracing+set}" = set; then
3838 enableval="$enable_mem_tracing"
3839
3840 if test "$enableval" = yes; then
3841 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3842 else
3843 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3844 fi
3845
3846else
3847
3848 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x ; then
3850 eval "DEFAULT_$LINE"
3851 else
3852 no_cache=1
3853 fi
3854
3855 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3856
3857fi;
3858
3859 eval "$ac_cv_use_mem_tracing"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3862 fi
3863
3864 if test "$wxUSE_MEM_TRACING" = yes; then
3865 echo "$as_me:$LINENO: result: yes" >&5
3866echo "${ECHO_T}yes" >&6
3867 else
3868 echo "$as_me:$LINENO: result: no" >&5
3869echo "${ECHO_T}no" >&6
3870 fi
3871
3872
3873 enablestring=
3874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3875echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3876 no_cache=0
3877 # Check whether --enable-profile or --disable-profile was given.
3878if test "${enable_profile+set}" = set; then
3879 enableval="$enable_profile"
3880
3881 if test "$enableval" = yes; then
3882 ac_cv_use_profile='wxUSE_PROFILE=yes'
3883 else
3884 ac_cv_use_profile='wxUSE_PROFILE=no'
3885 fi
3886
3887else
3888
3889 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3892 else
3893 no_cache=1
3894 fi
3895
3896 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3897
3898fi;
3899
3900 eval "$ac_cv_use_profile"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3903 fi
3904
3905 if test "$wxUSE_PROFILE" = yes; then
3906 echo "$as_me:$LINENO: result: yes" >&5
3907echo "${ECHO_T}yes" >&6
3908 else
3909 echo "$as_me:$LINENO: result: no" >&5
3910echo "${ECHO_T}no" >&6
3911 fi
3912
3913
3914 enablestring=
3915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3916echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3917 no_cache=0
3918 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3919if test "${enable_no_rtti+set}" = set; then
3920 enableval="$enable_no_rtti"
3921
3922 if test "$enableval" = yes; then
3923 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3924 else
3925 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3926 fi
3927
3928else
3929
3930 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x ; then
3932 eval "DEFAULT_$LINE"
3933 else
3934 no_cache=1
3935 fi
3936
3937 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3938
3939fi;
3940
3941 eval "$ac_cv_use_no_rtti"
3942 if test "$no_cache" != 1; then
3943 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3944 fi
3945
3946 if test "$wxUSE_NO_RTTI" = yes; then
3947 echo "$as_me:$LINENO: result: yes" >&5
3948echo "${ECHO_T}yes" >&6
3949 else
3950 echo "$as_me:$LINENO: result: no" >&5
3951echo "${ECHO_T}no" >&6
3952 fi
3953
3954
3955 enablestring=
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3957echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3958 no_cache=0
3959 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3960if test "${enable_no_exceptions+set}" = set; then
3961 enableval="$enable_no_exceptions"
3962
3963 if test "$enableval" = yes; then
3964 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3965 else
3966 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3967 fi
3968
3969else
3970
3971 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x ; then
3973 eval "DEFAULT_$LINE"
3974 else
3975 no_cache=1
3976 fi
3977
3978 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3979
3980fi;
3981
3982 eval "$ac_cv_use_no_exceptions"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3985 fi
3986
3987 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989echo "${ECHO_T}yes" >&6
3990 else
3991 echo "$as_me:$LINENO: result: no" >&5
3992echo "${ECHO_T}no" >&6
3993 fi
3994
3995
3996 enablestring=
3997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3998echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3999 no_cache=0
4000 # Check whether --enable-permissive or --disable-permissive was given.
4001if test "${enable_permissive+set}" = set; then
4002 enableval="$enable_permissive"
4003
4004 if test "$enableval" = yes; then
4005 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4006 else
4007 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4008 fi
4009
4010else
4011
4012 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x ; then
4014 eval "DEFAULT_$LINE"
4015 else
4016 no_cache=1
4017 fi
4018
4019 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4020
4021fi;
4022
4023 eval "$ac_cv_use_permissive"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4026 fi
4027
4028 if test "$wxUSE_PERMISSIVE" = yes; then
4029 echo "$as_me:$LINENO: result: yes" >&5
4030echo "${ECHO_T}yes" >&6
4031 else
4032 echo "$as_me:$LINENO: result: no" >&5
4033echo "${ECHO_T}no" >&6
4034 fi
4035
4036
4037 enablestring=
4038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4039echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4040 no_cache=0
4041 # Check whether --enable-no_deps or --disable-no_deps was given.
4042if test "${enable_no_deps+set}" = set; then
4043 enableval="$enable_no_deps"
4044
4045 if test "$enableval" = yes; then
4046 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4047 else
4048 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4049 fi
4050
4051else
4052
4053 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x ; then
4055 eval "DEFAULT_$LINE"
4056 else
4057 no_cache=1
4058 fi
4059
4060 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4061
4062fi;
4063
4064 eval "$ac_cv_use_no_deps"
4065 if test "$no_cache" != 1; then
4066 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4067 fi
4068
4069 if test "$wxUSE_NO_DEPS" = yes; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071echo "${ECHO_T}yes" >&6
4072 else
4073 echo "$as_me:$LINENO: result: no" >&5
4074echo "${ECHO_T}no" >&6
4075 fi
4076
4077
4078
4079 enablestring=
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4081echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4082 no_cache=0
4083 # Check whether --enable-compat22 or --disable-compat22 was given.
4084if test "${enable_compat22+set}" = set; then
4085 enableval="$enable_compat22"
4086
4087 if test "$enableval" = yes; then
4088 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4089 else
4090 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4091 fi
4092
4093else
4094
4095 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4098 else
4099 no_cache=1
4100 fi
4101
4102 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4103
4104fi;
4105
4106 eval "$ac_cv_use_compat22"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4109 fi
4110
4111 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113echo "${ECHO_T}yes" >&6
4114 else
4115 echo "$as_me:$LINENO: result: no" >&5
4116echo "${ECHO_T}no" >&6
4117 fi
4118
4119
4120 enablestring=disable
4121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4122echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4123 no_cache=0
4124 # Check whether --enable-compat24 or --disable-compat24 was given.
4125if test "${enable_compat24+set}" = set; then
4126 enableval="$enable_compat24"
4127
4128 if test "$enableval" = yes; then
4129 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4130 else
4131 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4132 fi
4133
4134else
4135
4136 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x ; then
4138 eval "DEFAULT_$LINE"
4139 else
4140 no_cache=1
4141 fi
4142
4143 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4144
4145fi;
4146
4147 eval "$ac_cv_use_compat24"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4150 fi
4151
4152 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4153 echo "$as_me:$LINENO: result: yes" >&5
4154echo "${ECHO_T}yes" >&6
4155 else
4156 echo "$as_me:$LINENO: result: no" >&5
4157echo "${ECHO_T}no" >&6
4158 fi
4159
4160
ffa0583f
RL
4161
4162 enablestring=
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4164echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4165 no_cache=0
4166 # Check whether --enable-rpath or --disable-rpath was given.
a848cd7e
SC
4167if test "${enable_rpath+set}" = set; then
4168 enableval="$enable_rpath"
ffa0583f
RL
4169
4170 if test "$enableval" = yes; then
4171 ac_cv_use_rpath='wxUSE_RPATH=yes'
4172 else
4173 ac_cv_use_rpath='wxUSE_RPATH=no'
4174 fi
4175
4176else
4177
4178 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4181 else
4182 no_cache=1
4183 fi
4184
4185 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4186
a848cd7e
SC
4187fi;
4188
ffa0583f
RL
4189 eval "$ac_cv_use_rpath"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4192 fi
4193
4194 if test "$wxUSE_RPATH" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196echo "${ECHO_T}yes" >&6
4197 else
4198 echo "$as_me:$LINENO: result: no" >&5
4199echo "${ECHO_T}no" >&6
4200 fi
4201
a848cd7e
SC
4202
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4208echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-intl or --disable-intl was given.
4211if test "${enable_intl+set}" = set; then
4212 enableval="$enable_intl"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_intl='wxUSE_INTL=yes'
4216 else
4217 ac_cv_use_intl='wxUSE_INTL=no'
4218 fi
4219
4220else
4221
4222 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4225 else
4226 no_cache=1
4227 fi
4228
4229 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4230
4231fi;
4232
4233 eval "$ac_cv_use_intl"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_INTL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240echo "${ECHO_T}yes" >&6
4241 else
4242 echo "$as_me:$LINENO: result: no" >&5
4243echo "${ECHO_T}no" >&6
4244 fi
4245
4246
4247 enablestring=
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4249echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4250 no_cache=0
4251 # Check whether --enable-config or --disable-config was given.
4252if test "${enable_config+set}" = set; then
4253 enableval="$enable_config"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_config='wxUSE_CONFIG=yes'
4257 else
4258 ac_cv_use_config='wxUSE_CONFIG=no'
4259 fi
4260
4261else
4262
4263 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4266 else
4267 no_cache=1
4268 fi
4269
4270 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4271
4272fi;
4273
4274 eval "$ac_cv_use_config"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4277 fi
4278
4279 if test "$wxUSE_CONFIG" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281echo "${ECHO_T}yes" >&6
4282 else
4283 echo "$as_me:$LINENO: result: no" >&5
4284echo "${ECHO_T}no" >&6
4285 fi
4286
4287
4288
4289 enablestring=
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4291echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4292 no_cache=0
4293 # Check whether --enable-protocols or --disable-protocols was given.
4294if test "${enable_protocols+set}" = set; then
4295 enableval="$enable_protocols"
4296
4297 if test "$enableval" = yes; then
4298 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4299 else
4300 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4301 fi
4302
4303else
4304
4305 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4308 else
4309 no_cache=1
4310 fi
4311
4312 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4313
4314fi;
4315
4316 eval "$ac_cv_use_protocols"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4319 fi
4320
4321 if test "$wxUSE_PROTOCOL" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323echo "${ECHO_T}yes" >&6
4324 else
4325 echo "$as_me:$LINENO: result: no" >&5
4326echo "${ECHO_T}no" >&6
4327 fi
4328
4329
4330 enablestring=
4331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4332echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4333 no_cache=0
4334 # Check whether --enable-ftp or --disable-ftp was given.
4335if test "${enable_ftp+set}" = set; then
4336 enableval="$enable_ftp"
4337
4338 if test "$enableval" = yes; then
4339 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4340 else
4341 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4342 fi
4343
4344else
4345
4346 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x ; then
4348 eval "DEFAULT_$LINE"
4349 else
4350 no_cache=1
4351 fi
4352
4353 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4354
4355fi;
4356
4357 eval "$ac_cv_use_ftp"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4360 fi
4361
4362 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4363 echo "$as_me:$LINENO: result: yes" >&5
4364echo "${ECHO_T}yes" >&6
4365 else
4366 echo "$as_me:$LINENO: result: no" >&5
4367echo "${ECHO_T}no" >&6
4368 fi
4369
4370
4371 enablestring=
4372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4373echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4374 no_cache=0
4375 # Check whether --enable-http or --disable-http was given.
4376if test "${enable_http+set}" = set; then
4377 enableval="$enable_http"
4378
4379 if test "$enableval" = yes; then
4380 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4381 else
4382 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4383 fi
4384
4385else
4386
4387 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x ; then
4389 eval "DEFAULT_$LINE"
4390 else
4391 no_cache=1
4392 fi
4393
4394 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4395
4396fi;
4397
4398 eval "$ac_cv_use_http"
4399 if test "$no_cache" != 1; then
4400 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4401 fi
4402
4403 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4404 echo "$as_me:$LINENO: result: yes" >&5
4405echo "${ECHO_T}yes" >&6
4406 else
4407 echo "$as_me:$LINENO: result: no" >&5
4408echo "${ECHO_T}no" >&6
4409 fi
4410
4411
4412 enablestring=
4413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4414echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4415 no_cache=0
4416 # Check whether --enable-fileproto or --disable-fileproto was given.
4417if test "${enable_fileproto+set}" = set; then
4418 enableval="$enable_fileproto"
4419
4420 if test "$enableval" = yes; then
4421 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4422 else
4423 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4424 fi
4425
4426else
4427
4428 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x ; then
4430 eval "DEFAULT_$LINE"
4431 else
4432 no_cache=1
4433 fi
4434
4435 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4436
4437fi;
4438
4439 eval "$ac_cv_use_fileproto"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4442 fi
4443
4444 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4445 echo "$as_me:$LINENO: result: yes" >&5
4446echo "${ECHO_T}yes" >&6
4447 else
4448 echo "$as_me:$LINENO: result: no" >&5
4449echo "${ECHO_T}no" >&6
4450 fi
4451
4452
4453 enablestring=
4454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4455echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4456 no_cache=0
4457 # Check whether --enable-sockets or --disable-sockets was given.
4458if test "${enable_sockets+set}" = set; then
4459 enableval="$enable_sockets"
4460
4461 if test "$enableval" = yes; then
4462 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4463 else
4464 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4465 fi
4466
4467else
4468
4469 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x ; then
4471 eval "DEFAULT_$LINE"
4472 else
4473 no_cache=1
4474 fi
4475
4476 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4477
4478fi;
4479
4480 eval "$ac_cv_use_sockets"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4483 fi
4484
4485 if test "$wxUSE_SOCKETS" = yes; then
4486 echo "$as_me:$LINENO: result: yes" >&5
4487echo "${ECHO_T}yes" >&6
4488 else
4489 echo "$as_me:$LINENO: result: no" >&5
4490echo "${ECHO_T}no" >&6
4491 fi
4492
4493
4494 enablestring=
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4496echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4497 no_cache=0
4498 # Check whether --enable-ole or --disable-ole was given.
4499if test "${enable_ole+set}" = set; then
4500 enableval="$enable_ole"
4501
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ole='wxUSE_OLE=yes'
4504 else
4505 ac_cv_use_ole='wxUSE_OLE=no'
4506 fi
4507
4508else
4509
4510 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4513 else
4514 no_cache=1
4515 fi
4516
4517 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4518
4519fi;
4520
4521 eval "$ac_cv_use_ole"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4524 fi
4525
4526 if test "$wxUSE_OLE" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528echo "${ECHO_T}yes" >&6
4529 else
4530 echo "$as_me:$LINENO: result: no" >&5
4531echo "${ECHO_T}no" >&6
4532 fi
4533
4534
4535 enablestring=
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4537echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4538 no_cache=0
4539 # Check whether --enable-dataobj or --disable-dataobj was given.
4540if test "${enable_dataobj+set}" = set; then
4541 enableval="$enable_dataobj"
4542
4543 if test "$enableval" = yes; then
4544 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4545 else
4546 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4547 fi
4548
4549else
4550
4551 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x ; then
4553 eval "DEFAULT_$LINE"
4554 else
4555 no_cache=1
4556 fi
4557
4558 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4559
4560fi;
4561
4562 eval "$ac_cv_use_dataobj"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4565 fi
4566
4567 if test "$wxUSE_DATAOBJ" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569echo "${ECHO_T}yes" >&6
4570 else
4571 echo "$as_me:$LINENO: result: no" >&5
4572echo "${ECHO_T}no" >&6
4573 fi
4574
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4579echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-ipc or --disable-ipc was given.
4582if test "${enable_ipc+set}" = set; then
4583 enableval="$enable_ipc"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_ipc='wxUSE_IPC=yes'
4587 else
4588 ac_cv_use_ipc='wxUSE_IPC=no'
4589 fi
4590
4591else
4592
4593 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4601
4602fi;
4603
4604 eval "$ac_cv_use_ipc"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_IPC" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618
4619 enablestring=
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4621echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4622 no_cache=0
4623 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4624if test "${enable_apple_ieee+set}" = set; then
4625 enableval="$enable_apple_ieee"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4629 else
4630 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4631 fi
4632
4633else
4634
4635 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4643
4644fi;
4645
4646 eval "$ac_cv_use_apple_ieee"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4649 fi
4650
4651 if test "$wxUSE_APPLE_IEEE" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653echo "${ECHO_T}yes" >&6
4654 else
4655 echo "$as_me:$LINENO: result: no" >&5
4656echo "${ECHO_T}no" >&6
4657 fi
4658
4659
4660 enablestring=
4661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4662echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4663 no_cache=0
4664 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4665if test "${enable_catch_segvs+set}" = set; then
4666 enableval="$enable_catch_segvs"
4667
4668 if test "$enableval" = yes; then
4669 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4670 else
4671 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4672 fi
4673
4674else
4675
4676 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x ; then
4678 eval "DEFAULT_$LINE"
4679 else
4680 no_cache=1
4681 fi
4682
4683 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4684
4685fi;
4686
4687 eval "$ac_cv_use_catch_segvs"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4690 fi
4691
4692 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694echo "${ECHO_T}yes" >&6
4695 else
4696 echo "$as_me:$LINENO: result: no" >&5
4697echo "${ECHO_T}no" >&6
4698 fi
4699
4700
4701 enablestring=
4702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4703echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4704 no_cache=0
4705 # Check whether --enable-cmdline or --disable-cmdline was given.
4706if test "${enable_cmdline+set}" = set; then
4707 enableval="$enable_cmdline"
4708
4709 if test "$enableval" = yes; then
4710 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4711 else
4712 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4713 fi
4714
4715else
4716
4717 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x ; then
4719 eval "DEFAULT_$LINE"
4720 else
4721 no_cache=1
4722 fi
4723
4724 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4725
4726fi;
4727
4728 eval "$ac_cv_use_cmdline"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4731 fi
4732
4733 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4734 echo "$as_me:$LINENO: result: yes" >&5
4735echo "${ECHO_T}yes" >&6
4736 else
4737 echo "$as_me:$LINENO: result: no" >&5
4738echo "${ECHO_T}no" >&6
4739 fi
4740
4741
4742 enablestring=
4743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4744echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4745 no_cache=0
4746 # Check whether --enable-datetime or --disable-datetime was given.
4747if test "${enable_datetime+set}" = set; then
4748 enableval="$enable_datetime"
4749
4750 if test "$enableval" = yes; then
4751 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4752 else
4753 ac_cv_use_datetime='wxUSE_DATETIME=no'
4754 fi
4755
4756else
4757
4758 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x ; then
4760 eval "DEFAULT_$LINE"
4761 else
4762 no_cache=1
4763 fi
4764
4765 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4766
4767fi;
4768
4769 eval "$ac_cv_use_datetime"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4772 fi
4773
4774 if test "$wxUSE_DATETIME" = yes; then
4775 echo "$as_me:$LINENO: result: yes" >&5
4776echo "${ECHO_T}yes" >&6
4777 else
4778 echo "$as_me:$LINENO: result: no" >&5
4779echo "${ECHO_T}no" >&6
4780 fi
4781
4782
4783 enablestring=
4784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4785echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4786 no_cache=0
4787 # Check whether --enable-dialupman or --disable-dialupman was given.
4788if test "${enable_dialupman+set}" = set; then
4789 enableval="$enable_dialupman"
4790
4791 if test "$enableval" = yes; then
4792 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4793 else
4794 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4795 fi
4796
4797else
4798
4799 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x ; then
4801 eval "DEFAULT_$LINE"
4802 else
4803 no_cache=1
4804 fi
4805
4806 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4807
4808fi;
4809
4810 eval "$ac_cv_use_dialupman"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4813 fi
4814
4815 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4816 echo "$as_me:$LINENO: result: yes" >&5
4817echo "${ECHO_T}yes" >&6
4818 else
4819 echo "$as_me:$LINENO: result: no" >&5
4820echo "${ECHO_T}no" >&6
4821 fi
4822
4823
4824 enablestring=
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4826echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4827 no_cache=0
4828 # Check whether --enable-dynlib or --disable-dynlib was given.
4829if test "${enable_dynlib+set}" = set; then
4830 enableval="$enable_dynlib"
4831
4832 if test "$enableval" = yes; then
4833 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4834 else
4835 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4836 fi
4837
4838else
4839
4840 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x ; then
4842 eval "DEFAULT_$LINE"
4843 else
4844 no_cache=1
4845 fi
4846
4847 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4848
4849fi;
4850
4851 eval "$ac_cv_use_dynlib"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4854 fi
4855
4856 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858echo "${ECHO_T}yes" >&6
4859 else
4860 echo "$as_me:$LINENO: result: no" >&5
4861echo "${ECHO_T}no" >&6
4862 fi
4863
4864
4865 enablestring=
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4867echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4868 no_cache=0
4869 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4870if test "${enable_dynamicloader+set}" = set; then
4871 enableval="$enable_dynamicloader"
4872
4873 if test "$enableval" = yes; then
4874 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4875 else
4876 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4877 fi
4878
4879else
4880
4881 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x ; then
4883 eval "DEFAULT_$LINE"
4884 else
4885 no_cache=1
4886 fi
4887
4888 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4889
4890fi;
4891
4892 eval "$ac_cv_use_dynamicloader"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4895 fi
4896
4897 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899echo "${ECHO_T}yes" >&6
4900 else
4901 echo "$as_me:$LINENO: result: no" >&5
4902echo "${ECHO_T}no" >&6
4903 fi
4904
4905
4906 enablestring=
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4908echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4909 no_cache=0
4910 # Check whether --enable-exceptions or --disable-exceptions was given.
4911if test "${enable_exceptions+set}" = set; then
4912 enableval="$enable_exceptions"
4913
4914 if test "$enableval" = yes; then
4915 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4916 else
4917 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4918 fi
4919
4920else
4921
4922 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x ; then
4924 eval "DEFAULT_$LINE"
4925 else
4926 no_cache=1
4927 fi
4928
4929 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4930
4931fi;
4932
4933 eval "$ac_cv_use_exceptions"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4936 fi
4937
4938 if test "$wxUSE_EXCEPTIONS" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940echo "${ECHO_T}yes" >&6
4941 else
4942 echo "$as_me:$LINENO: result: no" >&5
4943echo "${ECHO_T}no" >&6
4944 fi
4945
4946
4947 enablestring=
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4949echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4950 no_cache=0
4951 # Check whether --enable-ffile or --disable-ffile was given.
4952if test "${enable_ffile+set}" = set; then
4953 enableval="$enable_ffile"
4954
4955 if test "$enableval" = yes; then
4956 ac_cv_use_ffile='wxUSE_FFILE=yes'
4957 else
4958 ac_cv_use_ffile='wxUSE_FFILE=no'
4959 fi
4960
4961else
4962
4963 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 else
4967 no_cache=1
4968 fi
4969
4970 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4971
4972fi;
4973
4974 eval "$ac_cv_use_ffile"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4977 fi
4978
4979 if test "$wxUSE_FFILE" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981echo "${ECHO_T}yes" >&6
4982 else
4983 echo "$as_me:$LINENO: result: no" >&5
4984echo "${ECHO_T}no" >&6
4985 fi
4986
4987
4988 enablestring=
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4990echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4991 no_cache=0
4992 # Check whether --enable-file or --disable-file was given.
4993if test "${enable_file+set}" = set; then
4994 enableval="$enable_file"
4995
4996 if test "$enableval" = yes; then
4997 ac_cv_use_file='wxUSE_FILE=yes'
4998 else
4999 ac_cv_use_file='wxUSE_FILE=no'
5000 fi
5001
5002else
5003
5004 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x ; then
5006 eval "DEFAULT_$LINE"
5007 else
5008 no_cache=1
5009 fi
5010
5011 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5012
5013fi;
5014
5015 eval "$ac_cv_use_file"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5018 fi
5019
5020 if test "$wxUSE_FILE" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022echo "${ECHO_T}yes" >&6
5023 else
5024 echo "$as_me:$LINENO: result: no" >&5
5025echo "${ECHO_T}no" >&6
5026 fi
5027
5028
5029 enablestring=
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5031echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5032 no_cache=0
5033 # Check whether --enable-filesystem or --disable-filesystem was given.
5034if test "${enable_filesystem+set}" = set; then
5035 enableval="$enable_filesystem"
5036
5037 if test "$enableval" = yes; then
5038 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5039 else
5040 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5041 fi
5042
5043else
5044
5045 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x ; then
5047 eval "DEFAULT_$LINE"
5048 else
5049 no_cache=1
5050 fi
5051
5052 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5053
5054fi;
5055
5056 eval "$ac_cv_use_filesystem"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5059 fi
5060
5061 if test "$wxUSE_FILESYSTEM" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063echo "${ECHO_T}yes" >&6
5064 else
5065 echo "$as_me:$LINENO: result: no" >&5
5066echo "${ECHO_T}no" >&6
5067 fi
5068
5069
5070 enablestring=
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5072echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5073 no_cache=0
5074 # Check whether --enable-fontmap or --disable-fontmap was given.
5075if test "${enable_fontmap+set}" = set; then
5076 enableval="$enable_fontmap"
5077
5078 if test "$enableval" = yes; then
5079 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5080 else
5081 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5082 fi
5083
5084else
5085
5086 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x ; then
5088 eval "DEFAULT_$LINE"
5089 else
5090 no_cache=1
5091 fi
5092
5093 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5094
5095fi;
5096
5097 eval "$ac_cv_use_fontmap"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5100 fi
5101
5102 if test "$wxUSE_FONTMAP" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104echo "${ECHO_T}yes" >&6
5105 else
5106 echo "$as_me:$LINENO: result: no" >&5
5107echo "${ECHO_T}no" >&6
5108 fi
5109
5110
5111 enablestring=
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5113echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5114 no_cache=0
5115 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5116if test "${enable_fs_inet+set}" = set; then
5117 enableval="$enable_fs_inet"
5118
5119 if test "$enableval" = yes; then
5120 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5121 else
5122 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5123 fi
5124
5125else
5126
5127 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x ; then
5129 eval "DEFAULT_$LINE"
5130 else
5131 no_cache=1
5132 fi
5133
5134 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5135
5136fi;
5137
5138 eval "$ac_cv_use_fs_inet"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5141 fi
5142
5143 if test "$wxUSE_FS_INET" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145echo "${ECHO_T}yes" >&6
5146 else
5147 echo "$as_me:$LINENO: result: no" >&5
5148echo "${ECHO_T}no" >&6
5149 fi
5150
5151
5152 enablestring=
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5154echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5155 no_cache=0
5156 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5157if test "${enable_fs_zip+set}" = set; then
5158 enableval="$enable_fs_zip"
5159
5160 if test "$enableval" = yes; then
5161 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5162 else
5163 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5164 fi
5165
5166else
5167
5168 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x ; then
5170 eval "DEFAULT_$LINE"
5171 else
5172 no_cache=1
5173 fi
5174
5175 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5176
5177fi;
5178
5179 eval "$ac_cv_use_fs_zip"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5182 fi
5183
5184 if test "$wxUSE_FS_ZIP" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186echo "${ECHO_T}yes" >&6
5187 else
5188 echo "$as_me:$LINENO: result: no" >&5
5189echo "${ECHO_T}no" >&6
5190 fi
5191
5192
5193 enablestring=
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5195echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5196 no_cache=0
5197 # Check whether --enable-geometry or --disable-geometry was given.
5198if test "${enable_geometry+set}" = set; then
5199 enableval="$enable_geometry"
5200
5201 if test "$enableval" = yes; then
5202 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5203 else
5204 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5205 fi
5206
5207else
5208
5209 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x ; then
5211 eval "DEFAULT_$LINE"
5212 else
5213 no_cache=1
5214 fi
5215
5216 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5217
5218fi;
5219
5220 eval "$ac_cv_use_geometry"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5223 fi
5224
5225 if test "$wxUSE_GEOMETRY" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227echo "${ECHO_T}yes" >&6
5228 else
5229 echo "$as_me:$LINENO: result: no" >&5
5230echo "${ECHO_T}no" >&6
5231 fi
5232
5233
5234 enablestring=
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5236echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5237 no_cache=0
5238 # Check whether --enable-log or --disable-log was given.
5239if test "${enable_log+set}" = set; then
5240 enableval="$enable_log"
5241
5242 if test "$enableval" = yes; then
5243 ac_cv_use_log='wxUSE_LOG=yes'
5244 else
5245 ac_cv_use_log='wxUSE_LOG=no'
5246 fi
5247
5248else
5249
5250 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5258
5259fi;
5260
5261 eval "$ac_cv_use_log"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5264 fi
5265
5266 if test "$wxUSE_LOG" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268echo "${ECHO_T}yes" >&6
5269 else
5270 echo "$as_me:$LINENO: result: no" >&5
5271echo "${ECHO_T}no" >&6
5272 fi
5273
5274
5275 enablestring=
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5277echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5278 no_cache=0
5279 # Check whether --enable-longlong or --disable-longlong was given.
5280if test "${enable_longlong+set}" = set; then
5281 enableval="$enable_longlong"
5282
5283 if test "$enableval" = yes; then
5284 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5285 else
5286 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5287 fi
5288
5289else
5290
5291 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x ; then
5293 eval "DEFAULT_$LINE"
5294 else
5295 no_cache=1
5296 fi
5297
5298 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5299
5300fi;
5301
5302 eval "$ac_cv_use_longlong"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5305 fi
5306
5307 if test "$wxUSE_LONGLONG" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309echo "${ECHO_T}yes" >&6
5310 else
5311 echo "$as_me:$LINENO: result: no" >&5
5312echo "${ECHO_T}no" >&6
5313 fi
5314
5315
5316 enablestring=
5317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5318echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5319 no_cache=0
5320 # Check whether --enable-mimetype or --disable-mimetype was given.
5321if test "${enable_mimetype+set}" = set; then
5322 enableval="$enable_mimetype"
5323
5324 if test "$enableval" = yes; then
5325 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5326 else
5327 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5328 fi
5329
5330else
5331
5332 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x ; then
5334 eval "DEFAULT_$LINE"
5335 else
5336 no_cache=1
5337 fi
5338
5339 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5340
5341fi;
5342
5343 eval "$ac_cv_use_mimetype"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5346 fi
5347
5348 if test "$wxUSE_MIMETYPE" = yes; then
5349 echo "$as_me:$LINENO: result: yes" >&5
5350echo "${ECHO_T}yes" >&6
5351 else
5352 echo "$as_me:$LINENO: result: no" >&5
5353echo "${ECHO_T}no" >&6
5354 fi
5355
5356
5357 enablestring=
5358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5359echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5360 no_cache=0
5361 # Check whether --enable-mslu or --disable-mslu was given.
5362if test "${enable_mslu+set}" = set; then
5363 enableval="$enable_mslu"
5364
5365 if test "$enableval" = yes; then
5366 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5367 else
5368 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5369 fi
5370
5371else
5372
5373 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5376 else
5377 no_cache=1
5378 fi
5379
5380 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5381
5382fi;
5383
5384 eval "$ac_cv_use_mslu"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5387 fi
5388
5389 if test "$wxUSE_UNICODE_MSLU" = yes; then
5390 echo "$as_me:$LINENO: result: yes" >&5
5391echo "${ECHO_T}yes" >&6
5392 else
5393 echo "$as_me:$LINENO: result: no" >&5
5394echo "${ECHO_T}no" >&6
5395 fi
5396
5397
5398 enablestring=
5399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5400echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5401 no_cache=0
5402 # Check whether --enable-snglinst or --disable-snglinst was given.
5403if test "${enable_snglinst+set}" = set; then
5404 enableval="$enable_snglinst"
5405
5406 if test "$enableval" = yes; then
5407 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5408 else
5409 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5410 fi
5411
5412else
5413
5414 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 else
5418 no_cache=1
5419 fi
5420
5421 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5422
5423fi;
5424
5425 eval "$ac_cv_use_snglinst"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5428 fi
5429
5430 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5431 echo "$as_me:$LINENO: result: yes" >&5
5432echo "${ECHO_T}yes" >&6
5433 else
5434 echo "$as_me:$LINENO: result: no" >&5
5435echo "${ECHO_T}no" >&6
5436 fi
5437
5438
5439 enablestring=
5440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5441echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5442 no_cache=0
5443 # Check whether --enable-streams or --disable-streams was given.
5444if test "${enable_streams+set}" = set; then
5445 enableval="$enable_streams"
5446
5447 if test "$enableval" = yes; then
5448 ac_cv_use_streams='wxUSE_STREAMS=yes'
5449 else
5450 ac_cv_use_streams='wxUSE_STREAMS=no'
5451 fi
5452
5453else
5454
5455 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 else
5459 no_cache=1
5460 fi
5461
5462 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5463
5464fi;
5465
5466 eval "$ac_cv_use_streams"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5469 fi
5470
5471 if test "$wxUSE_STREAMS" = yes; then
5472 echo "$as_me:$LINENO: result: yes" >&5
5473echo "${ECHO_T}yes" >&6
5474 else
5475 echo "$as_me:$LINENO: result: no" >&5
5476echo "${ECHO_T}no" >&6
5477 fi
5478
5479
5480 enablestring=
5481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5482echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5483 no_cache=0
5484 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5485if test "${enable_std_iostreams+set}" = set; then
5486 enableval="$enable_std_iostreams"
5487
5488 if test "$enableval" = yes; then
5489 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5490 else
5491 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5492 fi
5493
5494else
5495
5496 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5497 if test "x$LINE" != x ; then
5498 eval "DEFAULT_$LINE"
5499 else
5500 no_cache=1
5501 fi
5502
5503 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5504
5505fi;
5506
5507 eval "$ac_cv_use_std_iostreams"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5510 fi
5511
5512 if test "$wxUSE_STD_IOSTREAM" = yes; then
5513 echo "$as_me:$LINENO: result: yes" >&5
5514echo "${ECHO_T}yes" >&6
5515 else
5516 echo "$as_me:$LINENO: result: no" >&5
5517echo "${ECHO_T}no" >&6
5518 fi
5519
5520
5521 enablestring=
5522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5523echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5524 no_cache=0
5525 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5526if test "${enable_stopwatch+set}" = set; then
5527 enableval="$enable_stopwatch"
5528
5529 if test "$enableval" = yes; then
5530 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5531 else
5532 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5533 fi
5534
5535else
5536
5537 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x ; then
5539 eval "DEFAULT_$LINE"
5540 else
5541 no_cache=1
5542 fi
5543
5544 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5545
5546fi;
5547
5548 eval "$ac_cv_use_stopwatch"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5551 fi
5552
5553 if test "$wxUSE_STOPWATCH" = yes; then
5554 echo "$as_me:$LINENO: result: yes" >&5
5555echo "${ECHO_T}yes" >&6
5556 else
5557 echo "$as_me:$LINENO: result: no" >&5
5558echo "${ECHO_T}no" >&6
5559 fi
5560
5561
5562 enablestring=
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5564echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5565 no_cache=0
5566 # Check whether --enable-system_options or --disable-system_options was given.
5567if test "${enable_system_options+set}" = set; then
5568 enableval="$enable_system_options"
5569
5570 if test "$enableval" = yes; then
5571 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5572 else
5573 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5574 fi
5575
5576else
5577
5578 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x ; then
5580 eval "DEFAULT_$LINE"
5581 else
5582 no_cache=1
5583 fi
5584
5585 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5586
5587fi;
5588
5589 eval "$ac_cv_use_system_options"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5592 fi
5593
5594 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596echo "${ECHO_T}yes" >&6
5597 else
5598 echo "$as_me:$LINENO: result: no" >&5
5599echo "${ECHO_T}no" >&6
5600 fi
5601
5602
5603 enablestring=
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5605echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5606 no_cache=0
5607 # Check whether --enable-textbuf or --disable-textbuf was given.
5608if test "${enable_textbuf+set}" = set; then
5609 enableval="$enable_textbuf"
5610
5611 if test "$enableval" = yes; then
5612 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5613 else
5614 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5615 fi
5616
5617else
5618
5619 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x ; then
5621 eval "DEFAULT_$LINE"
5622 else
5623 no_cache=1
5624 fi
5625
5626 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5627
5628fi;
5629
5630 eval "$ac_cv_use_textbuf"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5633 fi
5634
5635 if test "$wxUSE_TEXTBUFFER" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637echo "${ECHO_T}yes" >&6
5638 else
5639 echo "$as_me:$LINENO: result: no" >&5
5640echo "${ECHO_T}no" >&6
5641 fi
5642
5643
5644 enablestring=
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5646echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5647 no_cache=0
5648 # Check whether --enable-textfile or --disable-textfile was given.
5649if test "${enable_textfile+set}" = set; then
5650 enableval="$enable_textfile"
5651
5652 if test "$enableval" = yes; then
5653 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5654 else
5655 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5656 fi
5657
5658else
5659
5660 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x ; then
5662 eval "DEFAULT_$LINE"
5663 else
5664 no_cache=1
5665 fi
5666
5667 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5668
5669fi;
5670
5671 eval "$ac_cv_use_textfile"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5674 fi
5675
5676 if test "$wxUSE_TEXTFILE" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678echo "${ECHO_T}yes" >&6
5679 else
5680 echo "$as_me:$LINENO: result: no" >&5
5681echo "${ECHO_T}no" >&6
5682 fi
5683
5684
5685 enablestring=
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5687echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5688 no_cache=0
5689 # Check whether --enable-timer or --disable-timer was given.
5690if test "${enable_timer+set}" = set; then
5691 enableval="$enable_timer"
5692
5693 if test "$enableval" = yes; then
5694 ac_cv_use_timer='wxUSE_TIMER=yes'
5695 else
5696 ac_cv_use_timer='wxUSE_TIMER=no'
5697 fi
5698
5699else
5700
5701 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x ; then
5703 eval "DEFAULT_$LINE"
5704 else
5705 no_cache=1
5706 fi
5707
5708 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5709
5710fi;
5711
5712 eval "$ac_cv_use_timer"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5715 fi
5716
5717 if test "$wxUSE_TIMER" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719echo "${ECHO_T}yes" >&6
5720 else
5721 echo "$as_me:$LINENO: result: no" >&5
5722echo "${ECHO_T}no" >&6
5723 fi
5724
5725
5726 enablestring=
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5728echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5729 no_cache=0
5730 # Check whether --enable-unicode or --disable-unicode was given.
5731if test "${enable_unicode+set}" = set; then
5732 enableval="$enable_unicode"
5733
5734 if test "$enableval" = yes; then
5735 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5736 else
5737 ac_cv_use_unicode='wxUSE_UNICODE=no'
5738 fi
5739
5740else
5741
5742 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x ; then
5744 eval "DEFAULT_$LINE"
5745 else
5746 no_cache=1
5747 fi
5748
5749 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5750
5751fi;
5752
5753 eval "$ac_cv_use_unicode"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5756 fi
5757
5758 if test "$wxUSE_UNICODE" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760echo "${ECHO_T}yes" >&6
5761 else
5762 echo "$as_me:$LINENO: result: no" >&5
5763echo "${ECHO_T}no" >&6
5764 fi
5765
5766
5767 enablestring=
5768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5769echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5770 no_cache=0
5771 # Check whether --enable-sound or --disable-sound was given.
5772if test "${enable_sound+set}" = set; then
5773 enableval="$enable_sound"
5774
5775 if test "$enableval" = yes; then
5776 ac_cv_use_sound='wxUSE_SOUND=yes'
5777 else
5778 ac_cv_use_sound='wxUSE_SOUND=no'
5779 fi
5780
5781else
5782
5783 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x ; then
5785 eval "DEFAULT_$LINE"
5786 else
5787 no_cache=1
5788 fi
5789
5790 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5791
5792fi;
5793
5794 eval "$ac_cv_use_sound"
5795 if test "$no_cache" != 1; then
5796 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5797 fi
5798
5799 if test "$wxUSE_SOUND" = yes; then
5800 echo "$as_me:$LINENO: result: yes" >&5
5801echo "${ECHO_T}yes" >&6
5802 else
5803 echo "$as_me:$LINENO: result: no" >&5
5804echo "${ECHO_T}no" >&6
5805 fi
5806
5807
3b57de8b
RL
5808 enablestring=
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5810echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5811 no_cache=0
5812 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5813if test "${enable_mediactrl+set}" = set; then
5814 enableval="$enable_mediactrl"
5815
5816 if test "$enableval" = yes; then
5817 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5818 else
5819 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5820 fi
5821
5822else
5823
5824 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x ; then
5826 eval "DEFAULT_$LINE"
5827 else
5828 no_cache=1
5829 fi
5830
5831 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5832
5833fi;
5834
5835 eval "$ac_cv_use_mediactrl"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5838 fi
5839
5840 if test "$wxUSE_MEDIACTRL" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842echo "${ECHO_T}yes" >&6
5843 else
5844 echo "$as_me:$LINENO: result: no" >&5
5845echo "${ECHO_T}no" >&6
5846 fi
5847
5848
a848cd7e
SC
5849 enablestring=
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5851echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5852 no_cache=0
5853 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5854if test "${enable_wxprintfv+set}" = set; then
5855 enableval="$enable_wxprintfv"
5856
5857 if test "$enableval" = yes; then
5858 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5859 else
5860 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5861 fi
5862
5863else
5864
5865 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x ; then
5867 eval "DEFAULT_$LINE"
5868 else
5869 no_cache=1
5870 fi
5871
5872 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5873
5874fi;
5875
5876 eval "$ac_cv_use_wxprintfv"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5879 fi
5880
5881 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883echo "${ECHO_T}yes" >&6
5884 else
5885 echo "$as_me:$LINENO: result: no" >&5
5886echo "${ECHO_T}no" >&6
5887 fi
5888
5889
5890 enablestring=
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5892echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5893 no_cache=0
5894 # Check whether --enable-zipstream or --disable-zipstream was given.
5895if test "${enable_zipstream+set}" = set; then
5896 enableval="$enable_zipstream"
5897
5898 if test "$enableval" = yes; then
5899 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5900 else
5901 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5902 fi
5903
5904else
5905
5906 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x ; then
5908 eval "DEFAULT_$LINE"
5909 else
5910 no_cache=1
5911 fi
5912
5913 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5914
5915fi;
5916
5917 eval "$ac_cv_use_zipstream"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test "$wxUSE_ZIPSTREAM" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924echo "${ECHO_T}yes" >&6
5925 else
5926 echo "$as_me:$LINENO: result: no" >&5
5927echo "${ECHO_T}no" >&6
5928 fi
5929
5930
a848cd7e
SC
5931
5932 enablestring=
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5934echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5935 no_cache=0
5936 # Check whether --enable-url or --disable-url was given.
5937if test "${enable_url+set}" = set; then
5938 enableval="$enable_url"
5939
5940 if test "$enableval" = yes; then
5941 ac_cv_use_url='wxUSE_URL=yes'
5942 else
5943 ac_cv_use_url='wxUSE_URL=no'
5944 fi
5945
5946else
5947
5948 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5956
5957fi;
5958
5959 eval "$ac_cv_use_url"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5962 fi
5963
5964 if test "$wxUSE_URL" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966echo "${ECHO_T}yes" >&6
5967 else
5968 echo "$as_me:$LINENO: result: no" >&5
5969echo "${ECHO_T}no" >&6
5970 fi
5971
5972
5973 enablestring=
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5975echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5976 no_cache=0
5977 # Check whether --enable-protocol or --disable-protocol was given.
5978if test "${enable_protocol+set}" = set; then
5979 enableval="$enable_protocol"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5983 else
5984 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5985 fi
5986
5987else
5988
5989 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5997
5998fi;
5999
6000 eval "$ac_cv_use_protocol"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6003 fi
6004
6005 if test "$wxUSE_PROTOCOL" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007echo "${ECHO_T}yes" >&6
6008 else
6009 echo "$as_me:$LINENO: result: no" >&5
6010echo "${ECHO_T}no" >&6
6011 fi
6012
6013
6014 enablestring=
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6016echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6017 no_cache=0
6018 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6019if test "${enable_protocol_http+set}" = set; then
6020 enableval="$enable_protocol_http"
6021
6022 if test "$enableval" = yes; then
6023 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6024 else
6025 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6026 fi
6027
6028else
6029
6030 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6033 else
6034 no_cache=1
6035 fi
6036
6037 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6038
6039fi;
6040
6041 eval "$ac_cv_use_protocol_http"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048echo "${ECHO_T}yes" >&6
6049 else
6050 echo "$as_me:$LINENO: result: no" >&5
6051echo "${ECHO_T}no" >&6
6052 fi
6053
6054
6055 enablestring=
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6057echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6058 no_cache=0
6059 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6060if test "${enable_protocol_ftp+set}" = set; then
6061 enableval="$enable_protocol_ftp"
6062
6063 if test "$enableval" = yes; then
6064 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6065 else
6066 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6067 fi
6068
6069else
6070
6071 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6079
6080fi;
6081
6082 eval "$ac_cv_use_protocol_ftp"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089echo "${ECHO_T}yes" >&6
6090 else
6091 echo "$as_me:$LINENO: result: no" >&5
6092echo "${ECHO_T}no" >&6
6093 fi
6094
6095
6096 enablestring=
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6098echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6099 no_cache=0
6100 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6101if test "${enable_protocol_file+set}" = set; then
6102 enableval="$enable_protocol_file"
6103
6104 if test "$enableval" = yes; then
6105 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6106 else
6107 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6108 fi
6109
6110else
6111
6112 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6120
6121fi;
6122
6123 eval "$ac_cv_use_protocol_file"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6126 fi
6127
6128 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130echo "${ECHO_T}yes" >&6
6131 else
6132 echo "$as_me:$LINENO: result: no" >&5
6133echo "${ECHO_T}no" >&6
6134 fi
6135
6136
6137
6138
6139
6140 enablestring=
6141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6142echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6143 no_cache=0
6144 # Check whether --enable-threads or --disable-threads was given.
6145if test "${enable_threads+set}" = set; then
6146 enableval="$enable_threads"
6147
6148 if test "$enableval" = yes; then
6149 ac_cv_use_threads='wxUSE_THREADS=yes'
6150 else
6151 ac_cv_use_threads='wxUSE_THREADS=no'
6152 fi
6153
6154else
6155
6156 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6157 if test "x$LINE" != x ; then
6158 eval "DEFAULT_$LINE"
6159 else
6160 no_cache=1
6161 fi
6162
6163 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6164
6165fi;
6166
6167 eval "$ac_cv_use_threads"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6170 fi
6171
6172 if test "$wxUSE_THREADS" = yes; then
6173 echo "$as_me:$LINENO: result: yes" >&5
6174echo "${ECHO_T}yes" >&6
6175 else
6176 echo "$as_me:$LINENO: result: no" >&5
6177echo "${ECHO_T}no" >&6
6178 fi
6179
6180
6181if test "$wxUSE_GUI" = "yes"; then
6182
6183
6184
6185 enablestring=
6186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6187echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6188 no_cache=0
6189 # Check whether --enable-docview or --disable-docview was given.
6190if test "${enable_docview+set}" = set; then
6191 enableval="$enable_docview"
6192
6193 if test "$enableval" = yes; then
6194 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6195 else
6196 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6197 fi
6198
6199else
6200
6201 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x ; then
6203 eval "DEFAULT_$LINE"
6204 else
6205 no_cache=1
6206 fi
6207
6208 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6209
6210fi;
6211
6212 eval "$ac_cv_use_docview"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6215 fi
6216
6217 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6218 echo "$as_me:$LINENO: result: yes" >&5
6219echo "${ECHO_T}yes" >&6
6220 else
6221 echo "$as_me:$LINENO: result: no" >&5
6222echo "${ECHO_T}no" >&6
6223 fi
6224
6225
6226 enablestring=
6227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6228echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6229 no_cache=0
6230 # Check whether --enable-help or --disable-help was given.
6231if test "${enable_help+set}" = set; then
6232 enableval="$enable_help"
6233
6234 if test "$enableval" = yes; then
6235 ac_cv_use_help='wxUSE_HELP=yes'
6236 else
6237 ac_cv_use_help='wxUSE_HELP=no'
6238 fi
6239
6240else
6241
6242 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6243 if test "x$LINE" != x ; then
6244 eval "DEFAULT_$LINE"
6245 else
6246 no_cache=1
6247 fi
6248
6249 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6250
6251fi;
6252
6253 eval "$ac_cv_use_help"
6254 if test "$no_cache" != 1; then
6255 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6256 fi
6257
6258 if test "$wxUSE_HELP" = yes; then
6259 echo "$as_me:$LINENO: result: yes" >&5
6260echo "${ECHO_T}yes" >&6
6261 else
6262 echo "$as_me:$LINENO: result: no" >&5
6263echo "${ECHO_T}no" >&6
6264 fi
6265
6266
6267 enablestring=
6268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6269echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6270 no_cache=0
6271 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6272if test "${enable_mshtmlhelp+set}" = set; then
6273 enableval="$enable_mshtmlhelp"
6274
6275 if test "$enableval" = yes; then
6276 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6277 else
6278 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6279 fi
6280
6281else
6282
6283 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6286 else
6287 no_cache=1
6288 fi
6289
6290 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6291
6292fi;
6293
6294 eval "$ac_cv_use_mshtmlhelp"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6297 fi
6298
6299 if test "$wxUSE_MS_HTML_HELP" = yes; then
6300 echo "$as_me:$LINENO: result: yes" >&5
6301echo "${ECHO_T}yes" >&6
6302 else
6303 echo "$as_me:$LINENO: result: no" >&5
6304echo "${ECHO_T}no" >&6
6305 fi
6306
6307
6308 enablestring=
6309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6310echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6311 no_cache=0
6312 # Check whether --enable-html or --disable-html was given.
6313if test "${enable_html+set}" = set; then
6314 enableval="$enable_html"
6315
6316 if test "$enableval" = yes; then
6317 ac_cv_use_html='wxUSE_HTML=yes'
6318 else
6319 ac_cv_use_html='wxUSE_HTML=no'
6320 fi
6321
6322else
6323
6324 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6325 if test "x$LINE" != x ; then
6326 eval "DEFAULT_$LINE"
6327 else
6328 no_cache=1
6329 fi
6330
6331 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6332
6333fi;
6334
6335 eval "$ac_cv_use_html"
6336 if test "$no_cache" != 1; then
6337 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6338 fi
6339
6340 if test "$wxUSE_HTML" = yes; then
6341 echo "$as_me:$LINENO: result: yes" >&5
6342echo "${ECHO_T}yes" >&6
6343 else
6344 echo "$as_me:$LINENO: result: no" >&5
6345echo "${ECHO_T}no" >&6
6346 fi
6347
6348
6349 enablestring=
6350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6351echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6352 no_cache=0
6353 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6354if test "${enable_htmlhelp+set}" = set; then
6355 enableval="$enable_htmlhelp"
6356
6357 if test "$enableval" = yes; then
6358 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6359 else
6360 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6361 fi
6362
6363else
6364
6365 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6366 if test "x$LINE" != x ; then
6367 eval "DEFAULT_$LINE"
6368 else
6369 no_cache=1
6370 fi
6371
6372 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6373
6374fi;
6375
6376 eval "$ac_cv_use_htmlhelp"
6377 if test "$no_cache" != 1; then
6378 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6379 fi
6380
6381 if test "$wxUSE_WXHTML_HELP" = yes; then
6382 echo "$as_me:$LINENO: result: yes" >&5
6383echo "${ECHO_T}yes" >&6
6384 else
6385 echo "$as_me:$LINENO: result: no" >&5
6386echo "${ECHO_T}no" >&6
6387 fi
6388
6389
9a8f0513
VS
6390 enablestring=
6391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6392echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6393 no_cache=0
6394 # Check whether --enable-xrc or --disable-xrc was given.
6395if test "${enable_xrc+set}" = set; then
6396 enableval="$enable_xrc"
6397
6398 if test "$enableval" = yes; then
6399 ac_cv_use_xrc='wxUSE_XRC=yes'
6400 else
6401 ac_cv_use_xrc='wxUSE_XRC=no'
6402 fi
6403
6404else
6405
6406 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x ; then
6408 eval "DEFAULT_$LINE"
6409 else
6410 no_cache=1
6411 fi
6412
6413 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6414
6415fi;
6416
6417 eval "$ac_cv_use_xrc"
6418 if test "$no_cache" != 1; then
6419 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6420 fi
6421
6422 if test "$wxUSE_XRC" = yes; then
6423 echo "$as_me:$LINENO: result: yes" >&5
6424echo "${ECHO_T}yes" >&6
6425 else
6426 echo "$as_me:$LINENO: result: no" >&5
6427echo "${ECHO_T}no" >&6
6428 fi
6429
6430
a848cd7e
SC
6431 enablestring=
6432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6433echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6434 no_cache=0
6435 # Check whether --enable-constraints or --disable-constraints was given.
6436if test "${enable_constraints+set}" = set; then
6437 enableval="$enable_constraints"
6438
6439 if test "$enableval" = yes; then
6440 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6441 else
6442 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6443 fi
6444
6445else
6446
6447 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6450 else
6451 no_cache=1
6452 fi
6453
6454 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6455
6456fi;
6457
6458 eval "$ac_cv_use_constraints"
6459 if test "$no_cache" != 1; then
6460 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6461 fi
6462
6463 if test "$wxUSE_CONSTRAINTS" = yes; then
6464 echo "$as_me:$LINENO: result: yes" >&5
6465echo "${ECHO_T}yes" >&6
6466 else
6467 echo "$as_me:$LINENO: result: no" >&5
6468echo "${ECHO_T}no" >&6
6469 fi
6470
6471
6472 enablestring=
6473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6474echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6475 no_cache=0
6476 # Check whether --enable-printarch or --disable-printarch was given.
6477if test "${enable_printarch+set}" = set; then
6478 enableval="$enable_printarch"
6479
6480 if test "$enableval" = yes; then
6481 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6482 else
6483 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6484 fi
6485
6486else
6487
6488 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6489 if test "x$LINE" != x ; then
6490 eval "DEFAULT_$LINE"
6491 else
6492 no_cache=1
6493 fi
6494
6495 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6496
6497fi;
6498
6499 eval "$ac_cv_use_printarch"
6500 if test "$no_cache" != 1; then
6501 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6502 fi
6503
6504 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6505 echo "$as_me:$LINENO: result: yes" >&5
6506echo "${ECHO_T}yes" >&6
6507 else
6508 echo "$as_me:$LINENO: result: no" >&5
6509echo "${ECHO_T}no" >&6
6510 fi
6511
6512
6513 enablestring=
6514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6515echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6516 no_cache=0
6517 # Check whether --enable-mdi or --disable-mdi was given.
6518if test "${enable_mdi+set}" = set; then
6519 enableval="$enable_mdi"
6520
6521 if test "$enableval" = yes; then
8a7b1113 6522 ac_cv_use_mdi='wxUSE_MDI=yes'
a848cd7e 6523 else
8a7b1113 6524 ac_cv_use_mdi='wxUSE_MDI=no'
a848cd7e
SC
6525 fi
6526
6527else
6528
8a7b1113 6529 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
a848cd7e
SC
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6532 else
6533 no_cache=1
6534 fi
6535
8a7b1113 6536 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
a848cd7e
SC
6537
6538fi;
6539
6540 eval "$ac_cv_use_mdi"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6543 fi
6544
8a7b1113
VZ
6545 if test "$wxUSE_MDI" = yes; then
6546 echo "$as_me:$LINENO: result: yes" >&5
6547echo "${ECHO_T}yes" >&6
6548 else
6549 echo "$as_me:$LINENO: result: no" >&5
6550echo "${ECHO_T}no" >&6
6551 fi
6552
6553
6554 enablestring=
6555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6556echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6557 no_cache=0
6558 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6559if test "${enable_mdidoc+set}" = set; then
6560 enableval="$enable_mdidoc"
6561
6562 if test "$enableval" = yes; then
6563 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6564 else
6565 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6566 fi
6567
6568else
6569
6570 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x ; then
6572 eval "DEFAULT_$LINE"
6573 else
6574 no_cache=1
6575 fi
6576
6577 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6578
6579fi;
6580
6581 eval "$ac_cv_use_mdidoc"
6582 if test "$no_cache" != 1; then
6583 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6584 fi
6585
a848cd7e
SC
6586 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6587 echo "$as_me:$LINENO: result: yes" >&5
6588echo "${ECHO_T}yes" >&6
6589 else
6590 echo "$as_me:$LINENO: result: no" >&5
6591echo "${ECHO_T}no" >&6
6592 fi
6593
6594
6595 enablestring=
6596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6597echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6598 no_cache=0
6599 # Check whether --enable-loggui or --disable-loggui was given.
6600if test "${enable_loggui+set}" = set; then
6601 enableval="$enable_loggui"
6602
6603 if test "$enableval" = yes; then
6604 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6605 else
6606 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6607 fi
6608
6609else
6610
6611 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x ; then
6613 eval "DEFAULT_$LINE"
6614 else
6615 no_cache=1
6616 fi
6617
6618 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6619
6620fi;
6621
6622 eval "$ac_cv_use_loggui"
6623 if test "$no_cache" != 1; then
6624 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6625 fi
6626
6627 if test "$wxUSE_LOGGUI" = yes; then
6628 echo "$as_me:$LINENO: result: yes" >&5
6629echo "${ECHO_T}yes" >&6
6630 else
6631 echo "$as_me:$LINENO: result: no" >&5
6632echo "${ECHO_T}no" >&6
6633 fi
6634
6635
6636 enablestring=
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6638echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6639 no_cache=0
6640 # Check whether --enable-logwin or --disable-logwin was given.
6641if test "${enable_logwin+set}" = set; then
6642 enableval="$enable_logwin"
6643
6644 if test "$enableval" = yes; then
6645 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6646 else
6647 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6648 fi
6649
6650else
6651
6652 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x ; then
6654 eval "DEFAULT_$LINE"
6655 else
6656 no_cache=1
6657 fi
6658
6659 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6660
6661fi;
6662
6663 eval "$ac_cv_use_logwin"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6666 fi
6667
6668 if test "$wxUSE_LOGWINDOW" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670echo "${ECHO_T}yes" >&6
6671 else
6672 echo "$as_me:$LINENO: result: no" >&5
6673echo "${ECHO_T}no" >&6
6674 fi
6675
6676
6677 enablestring=
6678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6679echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6680 no_cache=0
6681 # Check whether --enable-logdialog or --disable-logdialog was given.
6682if test "${enable_logdialog+set}" = set; then
6683 enableval="$enable_logdialog"
6684
6685 if test "$enableval" = yes; then
6686 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6687 else
6688 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6689 fi
6690
6691else
6692
6693 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x ; then
6695 eval "DEFAULT_$LINE"
6696 else
6697 no_cache=1
6698 fi
6699
6700 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6701
6702fi;
6703
6704 eval "$ac_cv_use_logdialog"
6705 if test "$no_cache" != 1; then
6706 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6707 fi
6708
6709 if test "$wxUSE_LOGDIALOG" = yes; then
6710 echo "$as_me:$LINENO: result: yes" >&5
6711echo "${ECHO_T}yes" >&6
6712 else
6713 echo "$as_me:$LINENO: result: no" >&5
6714echo "${ECHO_T}no" >&6
6715 fi
6716
6717
646b6ec1
VS
6718 enablestring=
6719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6720echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6721 no_cache=0
6722 # Check whether --enable-webkit or --disable-webkit was given.
6723if test "${enable_webkit+set}" = set; then
6724 enableval="$enable_webkit"
6725
6726 if test "$enableval" = yes; then
6727 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6728 else
6729 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6730 fi
6731
6732else
6733
6734 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x ; then
6736 eval "DEFAULT_$LINE"
6737 else
6738 no_cache=1
6739 fi
6740
6741 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6742
6743fi;
6744
6745 eval "$ac_cv_use_webkit"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6748 fi
6749
6750 if test "$wxUSE_WEBKIT" = yes; then
6751 echo "$as_me:$LINENO: result: yes" >&5
6752echo "${ECHO_T}yes" >&6
6753 else
6754 echo "$as_me:$LINENO: result: no" >&5
6755echo "${ECHO_T}no" >&6
6756 fi
6757
6758
a848cd7e
SC
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6762echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-postscript or --disable-postscript was given.
6765if test "${enable_postscript+set}" = set; then
6766 enableval="$enable_postscript"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6770 else
6771 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6772 fi
6773
6774else
6775
6776 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6784
6785fi;
6786
6787 eval "$ac_cv_use_postscript"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_POSTSCRIPT" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801
6802
6803
6804 enablestring=
6805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6806echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6807 no_cache=0
6808 # Check whether --enable-prologio or --disable-prologio was given.
6809if test "${enable_prologio+set}" = set; then
6810 enableval="$enable_prologio"
6811
6812 if test "$enableval" = yes; then
6813 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6814 else
6815 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6816 fi
6817
6818else
6819
6820 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x ; then
6822 eval "DEFAULT_$LINE"
6823 else
6824 no_cache=1
6825 fi
6826
6827 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6828
6829fi;
6830
6831 eval "$ac_cv_use_prologio"
6832 if test "$no_cache" != 1; then
6833 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6834 fi
6835
6836 if test "$wxUSE_PROLOGIO" = yes; then
6837 echo "$as_me:$LINENO: result: yes" >&5
6838echo "${ECHO_T}yes" >&6
6839 else
6840 echo "$as_me:$LINENO: result: no" >&5
6841echo "${ECHO_T}no" >&6
6842 fi
6843
6844
6845 enablestring=
6846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6847echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6848 no_cache=0
6849 # Check whether --enable-resources or --disable-resources was given.
6850if test "${enable_resources+set}" = set; then
6851 enableval="$enable_resources"
6852
6853 if test "$enableval" = yes; then
6854 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6855 else
6856 ac_cv_use_resources='wxUSE_RESOURCES=no'
6857 fi
6858
6859else
6860
6861 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6862 if test "x$LINE" != x ; then
6863 eval "DEFAULT_$LINE"
6864 else
6865 no_cache=1
6866 fi
6867
6868 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6869
6870fi;
6871
6872 eval "$ac_cv_use_resources"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6875 fi
6876
6877 if test "$wxUSE_RESOURCES" = yes; then
6878 echo "$as_me:$LINENO: result: yes" >&5
6879echo "${ECHO_T}yes" >&6
6880 else
6881 echo "$as_me:$LINENO: result: no" >&5
6882echo "${ECHO_T}no" >&6
6883 fi
6884
6885
6886
6887
6888 enablestring=
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6890echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6891 no_cache=0
6892 # Check whether --enable-clipboard or --disable-clipboard was given.
6893if test "${enable_clipboard+set}" = set; then
6894 enableval="$enable_clipboard"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6898 else
6899 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6900 fi
6901
6902else
6903
6904 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6912
6913fi;
6914
6915 eval "$ac_cv_use_clipboard"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6918 fi
6919
6920 if test "$wxUSE_CLIPBOARD" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922echo "${ECHO_T}yes" >&6
6923 else
6924 echo "$as_me:$LINENO: result: no" >&5
6925echo "${ECHO_T}no" >&6
6926 fi
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6931echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-dnd or --disable-dnd was given.
6934if test "${enable_dnd+set}" = set; then
6935 enableval="$enable_dnd"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6939 else
6940 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6941 fi
6942
6943else
6944
6945 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6953
6954fi;
6955
6956 eval "$ac_cv_use_dnd"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6972echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-metafile or --disable-metafile was given.
6975if test "${enable_metafile+set}" = set; then
6976 enableval="$enable_metafile"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6980 else
6981 ac_cv_use_metafile='wxUSE_METAFILE=no'
6982 fi
6983
6984else
6985
6986 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6994
6995fi;
6996
6997 eval "$ac_cv_use_metafile"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_METAFILE" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011
7012
7013
7014 enablestring=
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7016echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7017 no_cache=0
7018 # Check whether --enable-controls or --disable-controls was given.
7019if test "${enable_controls+set}" = set; then
7020 enableval="$enable_controls"
7021
7022 if test "$enableval" = yes; then
7023 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7024 else
7025 ac_cv_use_controls='wxUSE_CONTROLS=no'
7026 fi
7027
7028else
7029
7030 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7033 else
7034 no_cache=1
7035 fi
7036
7037 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7038
7039fi;
7040
7041 eval "$ac_cv_use_controls"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_CONTROLS" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048echo "${ECHO_T}yes" >&6
7049 else
7050 echo "$as_me:$LINENO: result: no" >&5
7051echo "${ECHO_T}no" >&6
7052 fi
7053
7054
7055if test "$wxUSE_CONTROLS" = "yes"; then
7056 DEFAULT_wxUSE_ACCEL=yes
7057 DEFAULT_wxUSE_BMPBUTTON=yes
7058 DEFAULT_wxUSE_BUTTON=yes
7059 DEFAULT_wxUSE_CALCTRL=no
7060 DEFAULT_wxUSE_CARET=yes
7061 DEFAULT_wxUSE_COMBOBOX=yes
7062 DEFAULT_wxUSE_CHECKBOX=yes
7063 DEFAULT_wxUSE_CHECKLISTBOX=yes
7064 DEFAULT_wxUSE_CHOICE=yes
92bbdbcd 7065 DEFAULT_wxUSE_CHOICEBOOK=yes
a848cd7e
SC
7066 DEFAULT_wxUSE_GAUGE=yes
7067 DEFAULT_wxUSE_GRID=yes
7068 DEFAULT_wxUSE_IMAGLIST=yes
7069 DEFAULT_wxUSE_LISTBOOK=yes
7070 DEFAULT_wxUSE_LISTBOX=yes
7071 DEFAULT_wxUSE_LISTCTRL=yes
7072 DEFAULT_wxUSE_NOTEBOOK=yes
7073 DEFAULT_wxUSE_RADIOBOX=yes
7074 DEFAULT_wxUSE_RADIOBTN=yes
7075 DEFAULT_wxUSE_SASH=yes
7076 DEFAULT_wxUSE_SCROLLBAR=yes
7077 DEFAULT_wxUSE_SLIDER=yes
7078 DEFAULT_wxUSE_SPINBTN=yes
7079 DEFAULT_wxUSE_SPINCTRL=yes
7080 DEFAULT_wxUSE_SPLITTER=yes
7081 DEFAULT_wxUSE_STATBMP=yes
7082 DEFAULT_wxUSE_STATBOX=yes
7083 DEFAULT_wxUSE_STATLINE=yes
7084 DEFAULT_wxUSE_STATUSBAR=yes
7085 DEFAULT_wxUSE_TAB_DIALOG=yes
7086 DEFAULT_wxUSE_TOGGLEBTN=yes
7087 DEFAULT_wxUSE_TOOLBAR=yes
7088 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7089 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7090 DEFAULT_wxUSE_TOOLTIPS=yes
7091 DEFAULT_wxUSE_TREECTRL=yes
7092 DEFAULT_wxUSE_POPUPWIN=yes
7093 DEFAULT_wxUSE_TIPWINDOW=yes
7094elif test "$wxUSE_CONTROLS" = "no"; then
7095 DEFAULT_wxUSE_ACCEL=no
7096 DEFAULT_wxUSE_BMPBUTTON=no
7097 DEFAULT_wxUSE_BUTTON=no
7098 DEFAULT_wxUSE_CALCTRL=no
7099 DEFAULT_wxUSE_CARET=no
7100 DEFAULT_wxUSE_COMBOBOX=no
7101 DEFAULT_wxUSE_CHECKBOX=no
7102 DEFAULT_wxUSE_CHECKLISTBOX=no
7103 DEFAULT_wxUSE_CHOICE=no
92bbdbcd 7104 DEFAULT_wxUSE_CHOICEBOOK=no
a848cd7e
SC
7105 DEFAULT_wxUSE_GAUGE=no
7106 DEFAULT_wxUSE_GRID=no
7107 DEFAULT_wxUSE_IMAGLIST=no
7108 DEFAULT_wxUSE_LISTBOOK=no
7109 DEFAULT_wxUSE_LISTBOX=no
7110 DEFAULT_wxUSE_LISTCTRL=no
7111 DEFAULT_wxUSE_NOTEBOOK=no
7112 DEFAULT_wxUSE_RADIOBOX=no
7113 DEFAULT_wxUSE_RADIOBTN=no
7114 DEFAULT_wxUSE_SASH=no
7115 DEFAULT_wxUSE_SCROLLBAR=no
7116 DEFAULT_wxUSE_SLIDER=no
7117 DEFAULT_wxUSE_SPINBTN=no
7118 DEFAULT_wxUSE_SPINCTRL=no
7119 DEFAULT_wxUSE_SPLITTER=no
7120 DEFAULT_wxUSE_STATBMP=no
7121 DEFAULT_wxUSE_STATBOX=no
7122 DEFAULT_wxUSE_STATLINE=no
7123 DEFAULT_wxUSE_STATUSBAR=no
7124 DEFAULT_wxUSE_TAB_DIALOG=no
7125 DEFAULT_wxUSE_TOGGLEBTN=no
7126 DEFAULT_wxUSE_TOOLBAR=no
7127 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7128 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7129 DEFAULT_wxUSE_TOOLTIPS=no
7130 DEFAULT_wxUSE_TREECTRL=no
7131 DEFAULT_wxUSE_POPUPWIN=no
7132 DEFAULT_wxUSE_TIPWINDOW=no
7133fi
7134
a848cd7e
SC
7135
7136 enablestring=
7137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7138echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7139 no_cache=0
7140 # Check whether --enable-accel or --disable-accel was given.
7141if test "${enable_accel+set}" = set; then
7142 enableval="$enable_accel"
7143
7144 if test "$enableval" = yes; then
7145 ac_cv_use_accel='wxUSE_ACCEL=yes'
7146 else
7147 ac_cv_use_accel='wxUSE_ACCEL=no'
7148 fi
7149
7150else
7151
7152 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x ; then
7154 eval "DEFAULT_$LINE"
7155 else
7156 no_cache=1
7157 fi
7158
7159 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7160
7161fi;
7162
7163 eval "$ac_cv_use_accel"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7166 fi
7167
7168 if test "$wxUSE_ACCEL" = yes; then
7169 echo "$as_me:$LINENO: result: yes" >&5
7170echo "${ECHO_T}yes" >&6
7171 else
7172 echo "$as_me:$LINENO: result: no" >&5
7173echo "${ECHO_T}no" >&6
7174 fi
7175
7176
7177 enablestring=
7178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7179echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7180 no_cache=0
7181 # Check whether --enable-button or --disable-button was given.
7182if test "${enable_button+set}" = set; then
7183 enableval="$enable_button"
7184
7185 if test "$enableval" = yes; then
7186 ac_cv_use_button='wxUSE_BUTTON=yes'
7187 else
7188 ac_cv_use_button='wxUSE_BUTTON=no'
7189 fi
7190
7191else
7192
7193 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x ; then
7195 eval "DEFAULT_$LINE"
7196 else
7197 no_cache=1
7198 fi
7199
7200 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7201
7202fi;
7203
7204 eval "$ac_cv_use_button"
7205 if test "$no_cache" != 1; then
7206 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7207 fi
7208
7209 if test "$wxUSE_BUTTON" = yes; then
7210 echo "$as_me:$LINENO: result: yes" >&5
7211echo "${ECHO_T}yes" >&6
7212 else
7213 echo "$as_me:$LINENO: result: no" >&5
7214echo "${ECHO_T}no" >&6
7215 fi
7216
7217
7218 enablestring=
7219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7220echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7221 no_cache=0
7222 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7223if test "${enable_bmpbutton+set}" = set; then
7224 enableval="$enable_bmpbutton"
7225
7226 if test "$enableval" = yes; then
7227 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7228 else
7229 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7230 fi
7231
7232else
7233
7234 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x ; then
7236 eval "DEFAULT_$LINE"
7237 else
7238 no_cache=1
7239 fi
7240
7241 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7242
7243fi;
7244
7245 eval "$ac_cv_use_bmpbutton"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7248 fi
7249
7250 if test "$wxUSE_BMPBUTTON" = yes; then
7251 echo "$as_me:$LINENO: result: yes" >&5
7252echo "${ECHO_T}yes" >&6
7253 else
7254 echo "$as_me:$LINENO: result: no" >&5
7255echo "${ECHO_T}no" >&6
7256 fi
7257
7258
7259 enablestring=
7260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7261echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7262 no_cache=0
7263 # Check whether --enable-calendar or --disable-calendar was given.
7264if test "${enable_calendar+set}" = set; then
7265 enableval="$enable_calendar"
7266
7267 if test "$enableval" = yes; then
7268 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7269 else
7270 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7271 fi
7272
7273else
7274
7275 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x ; then
7277 eval "DEFAULT_$LINE"
7278 else
7279 no_cache=1
7280 fi
7281
7282 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7283
7284fi;
7285
7286 eval "$ac_cv_use_calendar"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7289 fi
7290
7291 if test "$wxUSE_CALCTRL" = yes; then
7292 echo "$as_me:$LINENO: result: yes" >&5
7293echo "${ECHO_T}yes" >&6
7294 else
7295 echo "$as_me:$LINENO: result: no" >&5
7296echo "${ECHO_T}no" >&6
7297 fi
7298
7299
7300 enablestring=
7301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7302echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7303 no_cache=0
7304 # Check whether --enable-caret or --disable-caret was given.
7305if test "${enable_caret+set}" = set; then
7306 enableval="$enable_caret"
7307
7308 if test "$enableval" = yes; then
7309 ac_cv_use_caret='wxUSE_CARET=yes'
7310 else
7311 ac_cv_use_caret='wxUSE_CARET=no'
7312 fi
7313
7314else
7315
7316 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x ; then
7318 eval "DEFAULT_$LINE"
7319 else
7320 no_cache=1
7321 fi
7322
7323 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7324
7325fi;
7326
7327 eval "$ac_cv_use_caret"
7328 if test "$no_cache" != 1; then
7329 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7330 fi
7331
7332 if test "$wxUSE_CARET" = yes; then
7333 echo "$as_me:$LINENO: result: yes" >&5
7334echo "${ECHO_T}yes" >&6
7335 else
7336 echo "$as_me:$LINENO: result: no" >&5
7337echo "${ECHO_T}no" >&6
7338 fi
7339
7340
7341 enablestring=
7342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7343echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7344 no_cache=0
7345 # Check whether --enable-checkbox or --disable-checkbox was given.
7346if test "${enable_checkbox+set}" = set; then
7347 enableval="$enable_checkbox"
7348
7349 if test "$enableval" = yes; then
7350 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7351 else
7352 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7353 fi
7354
7355else
7356
7357 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7358 if test "x$LINE" != x ; then
7359 eval "DEFAULT_$LINE"
7360 else
7361 no_cache=1
7362 fi
7363
7364 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7365
7366fi;
7367
7368 eval "$ac_cv_use_checkbox"
7369 if test "$no_cache" != 1; then
7370 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7371 fi
7372
7373 if test "$wxUSE_CHECKBOX" = yes; then
7374 echo "$as_me:$LINENO: result: yes" >&5
7375echo "${ECHO_T}yes" >&6
7376 else
7377 echo "$as_me:$LINENO: result: no" >&5
7378echo "${ECHO_T}no" >&6
7379 fi
7380
7381
7382 enablestring=
7383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7384echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7385 no_cache=0
7386 # Check whether --enable-checklst or --disable-checklst was given.
7387if test "${enable_checklst+set}" = set; then
7388 enableval="$enable_checklst"
7389
7390 if test "$enableval" = yes; then
7391 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7392 else
7393 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7394 fi
7395
7396else
7397
7398 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7399 if test "x$LINE" != x ; then
7400 eval "DEFAULT_$LINE"
7401 else
7402 no_cache=1
7403 fi
7404
7405 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7406
7407fi;
7408
7409 eval "$ac_cv_use_checklst"
7410 if test "$no_cache" != 1; then
7411 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7412 fi
7413
7414 if test "$wxUSE_CHECKLST" = yes; then
7415 echo "$as_me:$LINENO: result: yes" >&5
7416echo "${ECHO_T}yes" >&6
7417 else
7418 echo "$as_me:$LINENO: result: no" >&5
7419echo "${ECHO_T}no" >&6
7420 fi
7421
7422
7423 enablestring=
7424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7425echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7426 no_cache=0
7427 # Check whether --enable-choice or --disable-choice was given.
7428if test "${enable_choice+set}" = set; then
7429 enableval="$enable_choice"
7430
7431 if test "$enableval" = yes; then
7432 ac_cv_use_choice='wxUSE_CHOICE=yes'
7433 else
7434 ac_cv_use_choice='wxUSE_CHOICE=no'
7435 fi
7436
7437else
7438
7439 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7440 if test "x$LINE" != x ; then
7441 eval "DEFAULT_$LINE"
7442 else
7443 no_cache=1
7444 fi
7445
7446 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7447
7448fi;
7449
7450 eval "$ac_cv_use_choice"
7451 if test "$no_cache" != 1; then
7452 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7453 fi
7454
7455 if test "$wxUSE_CHOICE" = yes; then
7456 echo "$as_me:$LINENO: result: yes" >&5
7457echo "${ECHO_T}yes" >&6
7458 else
7459 echo "$as_me:$LINENO: result: no" >&5
7460echo "${ECHO_T}no" >&6
7461 fi
7462
7463
92bbdbcd
WS
7464 enablestring=
7465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7466echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7467 no_cache=0
7468 # Check whether --enable-choicebook or --disable-choicebook was given.
7469if test "${enable_choicebook+set}" = set; then
7470 enableval="$enable_choicebook"
7471
7472 if test "$enableval" = yes; then
7473 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7474 else
7475 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7476 fi
7477
7478else
7479
7480 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7481 if test "x$LINE" != x ; then
7482 eval "DEFAULT_$LINE"
7483 else
7484 no_cache=1
7485 fi
7486
7487 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7488
7489fi;
7490
7491 eval "$ac_cv_use_choicebook"
7492 if test "$no_cache" != 1; then
7493 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7494 fi
7495
7496 if test "$wxUSE_CHOICEBOOK" = yes; then
7497 echo "$as_me:$LINENO: result: yes" >&5
7498echo "${ECHO_T}yes" >&6
7499 else
7500 echo "$as_me:$LINENO: result: no" >&5
7501echo "${ECHO_T}no" >&6
7502 fi
7503
7504
a848cd7e
SC
7505 enablestring=
7506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7507echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7508 no_cache=0
7509 # Check whether --enable-combobox or --disable-combobox was given.
7510if test "${enable_combobox+set}" = set; then
7511 enableval="$enable_combobox"
7512
7513 if test "$enableval" = yes; then
7514 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7515 else
7516 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7517 fi
7518
7519else
7520
7521 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x ; then
7523 eval "DEFAULT_$LINE"
7524 else
7525 no_cache=1
7526 fi
7527
7528 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7529
7530fi;
7531
7532 eval "$ac_cv_use_combobox"
7533 if test "$no_cache" != 1; then
7534 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7535 fi
7536
7537 if test "$wxUSE_COMBOBOX" = yes; then
7538 echo "$as_me:$LINENO: result: yes" >&5
7539echo "${ECHO_T}yes" >&6
7540 else
7541 echo "$as_me:$LINENO: result: no" >&5
7542echo "${ECHO_T}no" >&6
7543 fi
7544
7545
7546 enablestring=
7547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7548echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7549 no_cache=0
7550 # Check whether --enable-display or --disable-display was given.
7551if test "${enable_display+set}" = set; then
7552 enableval="$enable_display"
7553
7554 if test "$enableval" = yes; then
7555 ac_cv_use_display='wxUSE_DISPLAY=yes'
7556 else
7557 ac_cv_use_display='wxUSE_DISPLAY=no'
7558 fi
7559
7560else
7561
7562 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x ; then
7564 eval "DEFAULT_$LINE"
7565 else
7566 no_cache=1
7567 fi
7568
7569 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7570
7571fi;
7572
7573 eval "$ac_cv_use_display"
7574 if test "$no_cache" != 1; then
7575 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7576 fi
7577
7578 if test "$wxUSE_DISPLAY" = yes; then
7579 echo "$as_me:$LINENO: result: yes" >&5
7580echo "${ECHO_T}yes" >&6
7581 else
7582 echo "$as_me:$LINENO: result: no" >&5
7583echo "${ECHO_T}no" >&6
7584 fi
7585
7586
7587 enablestring=
7588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7589echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7590 no_cache=0
7591 # Check whether --enable-gauge or --disable-gauge was given.
7592if test "${enable_gauge+set}" = set; then
7593 enableval="$enable_gauge"
7594
7595 if test "$enableval" = yes; then
7596 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7597 else
7598 ac_cv_use_gauge='wxUSE_GAUGE=no'
7599 fi
7600
7601else
7602
7603 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x ; then
7605 eval "DEFAULT_$LINE"
7606 else
7607 no_cache=1
7608 fi
7609
7610 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7611
7612fi;
7613
7614 eval "$ac_cv_use_gauge"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7617 fi
7618
7619 if test "$wxUSE_GAUGE" = yes; then
7620 echo "$as_me:$LINENO: result: yes" >&5
7621echo "${ECHO_T}yes" >&6
7622 else
7623 echo "$as_me:$LINENO: result: no" >&5
7624echo "${ECHO_T}no" >&6
7625 fi
7626
7627
7628 enablestring=
7629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7630echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7631 no_cache=0
7632 # Check whether --enable-grid or --disable-grid was given.
7633if test "${enable_grid+set}" = set; then
7634 enableval="$enable_grid"
7635
7636 if test "$enableval" = yes; then
7637 ac_cv_use_grid='wxUSE_GRID=yes'
7638 else
7639 ac_cv_use_grid='wxUSE_GRID=no'
7640 fi
7641
7642else
7643
7644 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7645 if test "x$LINE" != x ; then
7646 eval "DEFAULT_$LINE"
7647 else
7648 no_cache=1
7649 fi
7650
7651 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7652
7653fi;
7654
7655 eval "$ac_cv_use_grid"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7658 fi
7659
7660 if test "$wxUSE_GRID" = yes; then
7661 echo "$as_me:$LINENO: result: yes" >&5
7662echo "${ECHO_T}yes" >&6
7663 else
7664 echo "$as_me:$LINENO: result: no" >&5
7665echo "${ECHO_T}no" >&6
7666 fi
7667
7668
7669 enablestring=
7670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7671echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7672 no_cache=0
7673 # Check whether --enable-imaglist or --disable-imaglist was given.
7674if test "${enable_imaglist+set}" = set; then
7675 enableval="$enable_imaglist"
7676
7677 if test "$enableval" = yes; then
7678 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7679 else
7680 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7681 fi
7682
7683else
7684
7685 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x ; then
7687 eval "DEFAULT_$LINE"
7688 else
7689 no_cache=1
7690 fi
7691
7692 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7693
7694fi;
7695
7696 eval "$ac_cv_use_imaglist"
7697 if test "$no_cache" != 1; then
7698 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7699 fi
7700
7701 if test "$wxUSE_IMAGLIST" = yes; then
7702 echo "$as_me:$LINENO: result: yes" >&5
7703echo "${ECHO_T}yes" >&6
7704 else
7705 echo "$as_me:$LINENO: result: no" >&5
7706echo "${ECHO_T}no" >&6
7707 fi
7708
7709
7710 enablestring=
7711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7712echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7713 no_cache=0
7714 # Check whether --enable-listbook or --disable-listbook was given.
7715if test "${enable_listbook+set}" = set; then
7716 enableval="$enable_listbook"
7717
7718 if test "$enableval" = yes; then
7719 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7720 else
7721 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7722 fi
7723
7724else
7725
7726 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7727 if test "x$LINE" != x ; then
7728 eval "DEFAULT_$LINE"
7729 else
7730 no_cache=1
7731 fi
7732
7733 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7734
7735fi;
7736
7737 eval "$ac_cv_use_listbook"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7740 fi
7741
7742 if test "$wxUSE_LISTBOOK" = yes; then
7743 echo "$as_me:$LINENO: result: yes" >&5
7744echo "${ECHO_T}yes" >&6
7745 else
7746 echo "$as_me:$LINENO: result: no" >&5
7747echo "${ECHO_T}no" >&6
7748 fi
7749
7750
7751 enablestring=
7752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7753echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7754 no_cache=0
7755 # Check whether --enable-listbox or --disable-listbox was given.
7756if test "${enable_listbox+set}" = set; then
7757 enableval="$enable_listbox"
7758
7759 if test "$enableval" = yes; then
7760 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7761 else
7762 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7763 fi
7764
7765else
7766
7767 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7768 if test "x$LINE" != x ; then
7769 eval "DEFAULT_$LINE"
7770 else
7771 no_cache=1
7772 fi
7773
7774 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7775
7776fi;
7777
7778 eval "$ac_cv_use_listbox"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7781 fi
7782
7783 if test "$wxUSE_LISTBOX" = yes; then
7784 echo "$as_me:$LINENO: result: yes" >&5
7785echo "${ECHO_T}yes" >&6
7786 else
7787 echo "$as_me:$LINENO: result: no" >&5
7788echo "${ECHO_T}no" >&6
7789 fi
7790
7791
7792 enablestring=
7793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7794echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7795 no_cache=0
7796 # Check whether --enable-listctrl or --disable-listctrl was given.
7797if test "${enable_listctrl+set}" = set; then
7798 enableval="$enable_listctrl"
7799
7800 if test "$enableval" = yes; then
7801 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7802 else
7803 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7804 fi
7805
7806else
7807
7808 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7809 if test "x$LINE" != x ; then
7810 eval "DEFAULT_$LINE"
7811 else
7812 no_cache=1
7813 fi
7814
7815 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7816
7817fi;
7818
7819 eval "$ac_cv_use_listctrl"
7820 if test "$no_cache" != 1; then
7821 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7822 fi
7823
7824 if test "$wxUSE_LISTCTRL" = yes; then
7825 echo "$as_me:$LINENO: result: yes" >&5
7826echo "${ECHO_T}yes" >&6
7827 else
7828 echo "$as_me:$LINENO: result: no" >&5
7829echo "${ECHO_T}no" >&6
7830 fi
7831
7832
7833 enablestring=
7834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7835echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7836 no_cache=0
7837 # Check whether --enable-notebook or --disable-notebook was given.
7838if test "${enable_notebook+set}" = set; then
7839 enableval="$enable_notebook"
7840
7841 if test "$enableval" = yes; then
7842 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7843 else
7844 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7845 fi
7846
7847else
7848
7849 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7850 if test "x$LINE" != x ; then
7851 eval "DEFAULT_$LINE"
7852 else
7853 no_cache=1
7854 fi
7855
7856 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7857
7858fi;
7859
7860 eval "$ac_cv_use_notebook"
7861 if test "$no_cache" != 1; then
7862 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7863 fi
7864
7865 if test "$wxUSE_NOTEBOOK" = yes; then
7866 echo "$as_me:$LINENO: result: yes" >&5
7867echo "${ECHO_T}yes" >&6
7868 else
7869 echo "$as_me:$LINENO: result: no" >&5
7870echo "${ECHO_T}no" >&6
7871 fi
7872
7873
7874 enablestring=
7875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7876echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7877 no_cache=0
7878 # Check whether --enable-radiobox or --disable-radiobox was given.
7879if test "${enable_radiobox+set}" = set; then
7880 enableval="$enable_radiobox"
7881
7882 if test "$enableval" = yes; then
7883 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7884 else
7885 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7886 fi
7887
7888else
7889
7890 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x ; then
7892 eval "DEFAULT_$LINE"
7893 else
7894 no_cache=1
7895 fi
7896
7897 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7898
7899fi;
7900
7901 eval "$ac_cv_use_radiobox"
7902 if test "$no_cache" != 1; then
7903 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7904 fi
7905
7906 if test "$wxUSE_RADIOBOX" = yes; then
7907 echo "$as_me:$LINENO: result: yes" >&5
7908echo "${ECHO_T}yes" >&6
7909 else
7910 echo "$as_me:$LINENO: result: no" >&5
7911echo "${ECHO_T}no" >&6
7912 fi
7913
7914
7915 enablestring=
7916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7917echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7918 no_cache=0
7919 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7920if test "${enable_radiobtn+set}" = set; then
7921 enableval="$enable_radiobtn"
7922
7923 if test "$enableval" = yes; then
7924 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7925 else
7926 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7927 fi
7928
7929else
7930
7931 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7934 else
7935 no_cache=1
7936 fi
7937
7938 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7939
7940fi;
7941
7942 eval "$ac_cv_use_radiobtn"
7943 if test "$no_cache" != 1; then
7944 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7945 fi
7946
7947 if test "$wxUSE_RADIOBTN" = yes; then
7948 echo "$as_me:$LINENO: result: yes" >&5
7949echo "${ECHO_T}yes" >&6
7950 else
7951 echo "$as_me:$LINENO: result: no" >&5
7952echo "${ECHO_T}no" >&6
7953 fi
7954
7955
7956 enablestring=
7957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7958echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7959 no_cache=0
7960 # Check whether --enable-sash or --disable-sash was given.
7961if test "${enable_sash+set}" = set; then
7962 enableval="$enable_sash"
7963
7964 if test "$enableval" = yes; then
7965 ac_cv_use_sash='wxUSE_SASH=yes'
7966 else
7967 ac_cv_use_sash='wxUSE_SASH=no'
7968 fi
7969
7970else
7971
7972 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x ; then
7974 eval "DEFAULT_$LINE"
7975 else
7976 no_cache=1
7977 fi
7978
7979 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7980
7981fi;
7982
7983 eval "$ac_cv_use_sash"
7984 if test "$no_cache" != 1; then
7985 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7986 fi
7987
7988 if test "$wxUSE_SASH" = yes; then
7989 echo "$as_me:$LINENO: result: yes" >&5
7990echo "${ECHO_T}yes" >&6
7991 else
7992 echo "$as_me:$LINENO: result: no" >&5
7993echo "${ECHO_T}no" >&6
7994 fi
7995
7996
7997 enablestring=
7998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7999echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8000 no_cache=0
8001 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8002if test "${enable_scrollbar+set}" = set; then
8003 enableval="$enable_scrollbar"
8004
8005 if test "$enableval" = yes; then
8006 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8007 else
8008 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8009 fi
8010
8011else
8012
8013 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8014 if test "x$LINE" != x ; then
8015 eval "DEFAULT_$LINE"
8016 else
8017 no_cache=1
8018 fi
8019
8020 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8021
8022fi;
8023
8024 eval "$ac_cv_use_scrollbar"
8025 if test "$no_cache" != 1; then
8026 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8027 fi
8028
8029 if test "$wxUSE_SCROLLBAR" = yes; then
8030 echo "$as_me:$LINENO: result: yes" >&5
8031echo "${ECHO_T}yes" >&6
8032 else
8033 echo "$as_me:$LINENO: result: no" >&5
8034echo "${ECHO_T}no" >&6
8035 fi
8036
8037
8038 enablestring=
8039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8040echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8041 no_cache=0
8042 # Check whether --enable-slider or --disable-slider was given.
8043if test "${enable_slider+set}" = set; then
8044 enableval="$enable_slider"
8045
8046 if test "$enableval" = yes; then
8047 ac_cv_use_slider='wxUSE_SLIDER=yes'
8048 else
8049 ac_cv_use_slider='wxUSE_SLIDER=no'
8050 fi
8051
8052else
8053
8054 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8055 if test "x$LINE" != x ; then
8056 eval "DEFAULT_$LINE"
8057 else
8058 no_cache=1
8059 fi
8060
8061 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8062
8063fi;
8064
8065 eval "$ac_cv_use_slider"
8066 if test "$no_cache" != 1; then
8067 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8068 fi
8069
8070 if test "$wxUSE_SLIDER" = yes; then
8071 echo "$as_me:$LINENO: result: yes" >&5
8072echo "${ECHO_T}yes" >&6
8073 else
8074 echo "$as_me:$LINENO: result: no" >&5
8075echo "${ECHO_T}no" >&6
8076 fi
8077
8078
8079 enablestring=
8080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8081echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8082 no_cache=0
8083 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8084if test "${enable_spinbtn+set}" = set; then
8085 enableval="$enable_spinbtn"
8086
8087 if test "$enableval" = yes; then
8088 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8089 else
8090 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8091 fi
8092
8093else
8094
8095 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8096 if test "x$LINE" != x ; then
8097 eval "DEFAULT_$LINE"
8098 else
8099 no_cache=1
8100 fi
8101
8102 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8103
8104fi;
8105
8106 eval "$ac_cv_use_spinbtn"
8107 if test "$no_cache" != 1; then
8108 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8109 fi
8110
8111 if test "$wxUSE_SPINBTN" = yes; then
8112 echo "$as_me:$LINENO: result: yes" >&5
8113echo "${ECHO_T}yes" >&6
8114 else
8115 echo "$as_me:$LINENO: result: no" >&5
8116echo "${ECHO_T}no" >&6
8117 fi
8118
8119
8120 enablestring=
8121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8122echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8123 no_cache=0
8124 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8125if test "${enable_spinctrl+set}" = set; then
8126 enableval="$enable_spinctrl"
8127
8128 if test "$enableval" = yes; then
8129 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8130 else
8131 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8132 fi
8133
8134else
8135
8136 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x ; then
8138 eval "DEFAULT_$LINE"
8139 else
8140 no_cache=1
8141 fi
8142
8143 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8144
8145fi;
8146
8147 eval "$ac_cv_use_spinctrl"
8148 if test "$no_cache" != 1; then
8149 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8150 fi
8151
8152 if test "$wxUSE_SPINCTRL" = yes; then
8153 echo "$as_me:$LINENO: result: yes" >&5
8154echo "${ECHO_T}yes" >&6
8155 else
8156 echo "$as_me:$LINENO: result: no" >&5
8157echo "${ECHO_T}no" >&6
8158 fi
8159
8160
8161 enablestring=
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8163echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8164 no_cache=0
8165 # Check whether --enable-splitter or --disable-splitter was given.
8166if test "${enable_splitter+set}" = set; then
8167 enableval="$enable_splitter"
8168
8169 if test "$enableval" = yes; then
8170 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8171 else
8172 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8173 fi
8174
8175else
8176
8177 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8180 else
8181 no_cache=1
8182 fi
8183
8184 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8185
8186fi;
8187
8188 eval "$ac_cv_use_splitter"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8191 fi
8192
8193 if test "$wxUSE_SPLITTER" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195echo "${ECHO_T}yes" >&6
8196 else
8197 echo "$as_me:$LINENO: result: no" >&5
8198echo "${ECHO_T}no" >&6
8199 fi
8200
8201
8202 enablestring=
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8204echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8205 no_cache=0
8206 # Check whether --enable-statbmp or --disable-statbmp was given.
8207if test "${enable_statbmp+set}" = set; then
8208 enableval="$enable_statbmp"
8209
8210 if test "$enableval" = yes; then
8211 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8212 else
8213 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8214 fi
8215
8216else
8217
8218 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8221 else
8222 no_cache=1
8223 fi
8224
8225 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8226
8227fi;
8228
8229 eval "$ac_cv_use_statbmp"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8232 fi
8233
8234 if test "$wxUSE_STATBMP" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236echo "${ECHO_T}yes" >&6
8237 else
8238 echo "$as_me:$LINENO: result: no" >&5
8239echo "${ECHO_T}no" >&6
8240 fi
8241
8242
8243 enablestring=
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8245echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8246 no_cache=0
8247 # Check whether --enable-statbox or --disable-statbox was given.
8248if test "${enable_statbox+set}" = set; then
8249 enableval="$enable_statbox"
8250
8251 if test "$enableval" = yes; then
8252 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8253 else
8254 ac_cv_use_statbox='wxUSE_STATBOX=no'
8255 fi
8256
8257else
8258
8259 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 else
8263 no_cache=1
8264 fi
8265
8266 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8267
8268fi;
8269
8270 eval "$ac_cv_use_statbox"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8273 fi
8274
8275 if test "$wxUSE_STATBOX" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277echo "${ECHO_T}yes" >&6
8278 else
8279 echo "$as_me:$LINENO: result: no" >&5
8280echo "${ECHO_T}no" >&6
8281 fi
8282
8283
8284 enablestring=
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8286echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8287 no_cache=0
8288 # Check whether --enable-statline or --disable-statline was given.
8289if test "${enable_statline+set}" = set; then
8290 enableval="$enable_statline"
8291
8292 if test "$enableval" = yes; then
8293 ac_cv_use_statline='wxUSE_STATLINE=yes'
8294 else
8295 ac_cv_use_statline='wxUSE_STATLINE=no'
8296 fi
8297
8298else
8299
8300 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8303 else
8304 no_cache=1
8305 fi
8306
8307 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8308
8309fi;
8310
8311 eval "$ac_cv_use_statline"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8314 fi
8315
8316 if test "$wxUSE_STATLINE" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318echo "${ECHO_T}yes" >&6
8319 else
8320 echo "$as_me:$LINENO: result: no" >&5
8321echo "${ECHO_T}no" >&6
8322 fi
8323
8324
8325 enablestring=
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8327echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8328 no_cache=0
8329 # Check whether --enable-stattext or --disable-stattext was given.
8330if test "${enable_stattext+set}" = set; then
8331 enableval="$enable_stattext"
8332
8333 if test "$enableval" = yes; then
8334 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8335 else
8336 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8337 fi
8338
8339else
8340
8341 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8344 else
8345 no_cache=1
8346 fi
8347
8348 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8349
8350fi;
8351
8352 eval "$ac_cv_use_stattext"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8355 fi
8356
8357 if test "$wxUSE_STATTEXT" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359echo "${ECHO_T}yes" >&6
8360 else
8361 echo "$as_me:$LINENO: result: no" >&5
8362echo "${ECHO_T}no" >&6
8363 fi
8364
8365
8366 enablestring=
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8368echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8369 no_cache=0
8370 # Check whether --enable-statusbar or --disable-statusbar was given.
8371if test "${enable_statusbar+set}" = set; then
8372 enableval="$enable_statusbar"
8373
8374 if test "$enableval" = yes; then
8375 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8376 else
8377 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8378 fi
8379
8380else
8381
8382 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8385 else
8386 no_cache=1
8387 fi
8388
8389 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8390
8391fi;
8392
8393 eval "$ac_cv_use_statusbar"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test "$wxUSE_STATUSBAR" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400echo "${ECHO_T}yes" >&6
8401 else
8402 echo "$as_me:$LINENO: result: no" >&5
8403echo "${ECHO_T}no" >&6
8404 fi
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8409echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8412if test "${enable_tabdialog+set}" = set; then
8413 enableval="$enable_tabdialog"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8417 else
8418 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8419 fi
8420
8421else
8422
8423 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8431
8432fi;
8433
8434 eval "$ac_cv_use_tabdialog"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_TABDIALOG" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8450echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-textctrl or --disable-textctrl was given.
8453if test "${enable_textctrl+set}" = set; then
8454 enableval="$enable_textctrl"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8458 else
8459 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8460 fi
8461
8462else
8463
8464 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8472
8473fi;
8474
8475 eval "$ac_cv_use_textctrl"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_TEXTCTRL" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8491echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8494if test "${enable_togglebtn+set}" = set; then
8495 enableval="$enable_togglebtn"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8499 else
8500 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8501 fi
8502
8503else
8504
8505 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8513
8514fi;
8515
8516 eval "$ac_cv_use_togglebtn"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_TOGGLEBTN" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8532echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-toolbar or --disable-toolbar was given.
8535if test "${enable_toolbar+set}" = set; then
8536 enableval="$enable_toolbar"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8540 else
8541 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8542 fi
8543
8544else
8545
8546 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8554
8555fi;
8556
8557 eval "$ac_cv_use_toolbar"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_TOOLBAR" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8573echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8576if test "${enable_tbarnative+set}" = set; then
8577 enableval="$enable_tbarnative"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8581 else
8582 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8583 fi
8584
8585else
8586
8587 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8595
8596fi;
8597
8598 eval "$ac_cv_use_tbarnative"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8614echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8617if test "${enable_tbarsmpl+set}" = set; then
8618 enableval="$enable_tbarsmpl"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8622 else
8623 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8624 fi
8625
8626else
8627
8628 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8636
8637fi;
8638
8639 eval "$ac_cv_use_tbarsmpl"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8655echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-treectrl or --disable-treectrl was given.
8658if test "${enable_treectrl+set}" = set; then
8659 enableval="$enable_treectrl"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8663 else
8664 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8665 fi
8666
8667else
8668
8669 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8677
8678fi;
8679
8680 eval "$ac_cv_use_treectrl"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_TREECTRL" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8696echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8699if test "${enable_tipwindow+set}" = set; then
8700 enableval="$enable_tipwindow"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8704 else
8705 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8706 fi
8707
8708else
8709
8710 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8718
8719fi;
8720
8721 eval "$ac_cv_use_tipwindow"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_TIPWINDOW" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735 enablestring=
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8737echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8738 no_cache=0
8739 # Check whether --enable-popupwin or --disable-popupwin was given.
8740if test "${enable_popupwin+set}" = set; then
8741 enableval="$enable_popupwin"
8742
8743 if test "$enableval" = yes; then
8744 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8745 else
8746 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8747 fi
8748
8749else
8750
8751 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x ; then
8753 eval "DEFAULT_$LINE"
8754 else
8755 no_cache=1
8756 fi
8757
8758 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8759
8760fi;
8761
8762 eval "$ac_cv_use_popupwin"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8765 fi
8766
8767 if test "$wxUSE_POPUPWIN" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769echo "${ECHO_T}yes" >&6
8770 else
8771 echo "$as_me:$LINENO: result: no" >&5
8772echo "${ECHO_T}no" >&6
8773 fi
8774
8775
8776
8777
8778 enablestring=
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8780echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8781 no_cache=0
8782 # Check whether --enable-commondlg or --disable-commondlg was given.
8783if test "${enable_commondlg+set}" = set; then
8784 enableval="$enable_commondlg"
8785
8786 if test "$enableval" = yes; then
8787 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8788 else
8789 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8790 fi
8791
8792else
8793
8794 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8797 else
8798 no_cache=1
8799 fi
8800
8801 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8802
8803fi;
8804
8805 eval "$ac_cv_use_commondlg"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8808 fi
8809
8810 if test "$wxUSE_COMMONDLGS" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812echo "${ECHO_T}yes" >&6
8813 else
8814 echo "$as_me:$LINENO: result: no" >&5
8815echo "${ECHO_T}no" >&6
8816 fi
8817
8818
8819 enablestring=
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8821echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8822 no_cache=0
8823 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8824if test "${enable_choicedlg+set}" = set; then
8825 enableval="$enable_choicedlg"
8826
8827 if test "$enableval" = yes; then
8828 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8829 else
8830 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8831 fi
8832
8833else
8834
8835 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 else
8839 no_cache=1
8840 fi
8841
8842 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8843
8844fi;
8845
8846 eval "$ac_cv_use_choicedlg"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test "$wxUSE_CHOICEDLG" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853echo "${ECHO_T}yes" >&6
8854 else
8855 echo "$as_me:$LINENO: result: no" >&5
8856echo "${ECHO_T}no" >&6
8857 fi
8858
8859
8860 enablestring=
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8862echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8863 no_cache=0
8864 # Check whether --enable-coldlg or --disable-coldlg was given.
8865if test "${enable_coldlg+set}" = set; then
8866 enableval="$enable_coldlg"
8867
8868 if test "$enableval" = yes; then
8869 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8870 else
8871 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8872 fi
8873
8874else
8875
8876 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8879 else
8880 no_cache=1
8881 fi
8882
8883 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8884
8885fi;
8886
8887 eval "$ac_cv_use_coldlg"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8890 fi
8891
8892 if test "$wxUSE_COLOURDLG" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894echo "${ECHO_T}yes" >&6
8895 else
8896 echo "$as_me:$LINENO: result: no" >&5
8897echo "${ECHO_T}no" >&6
8898 fi
8899
8900
8901 enablestring=
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8903echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8904 no_cache=0
8905 # Check whether --enable-filedlg or --disable-filedlg was given.
8906if test "${enable_filedlg+set}" = set; then
8907 enableval="$enable_filedlg"
8908
8909 if test "$enableval" = yes; then
8910 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8911 else
8912 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8913 fi
8914
8915else
8916
8917 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8920 else
8921 no_cache=1
8922 fi
8923
8924 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8925
8926fi;
8927
8928 eval "$ac_cv_use_filedlg"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8931 fi
8932
8933 if test "$wxUSE_FILEDLG" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935echo "${ECHO_T}yes" >&6
8936 else
8937 echo "$as_me:$LINENO: result: no" >&5
8938echo "${ECHO_T}no" >&6
8939 fi
8940
8941
8942 enablestring=
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8944echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8945 no_cache=0
8946 # Check whether --enable-finddlg or --disable-finddlg was given.
8947if test "${enable_finddlg+set}" = set; then
8948 enableval="$enable_finddlg"
8949
8950 if test "$enableval" = yes; then
8951 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8952 else
8953 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8954 fi
8955
8956else
8957
8958 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 else
8962 no_cache=1
8963 fi
8964
8965 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8966
8967fi;
8968
8969 eval "$ac_cv_use_finddlg"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8972 fi
8973
8974 if test "$wxUSE_FINDREPLDLG" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976echo "${ECHO_T}yes" >&6
8977 else
8978 echo "$as_me:$LINENO: result: no" >&5
8979echo "${ECHO_T}no" >&6
8980 fi
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8985echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8988if test "${enable_fontdlg+set}" = set; then
8989 enableval="$enable_fontdlg"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8993 else
8994 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8995 fi
8996
8997else
8998
8999 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9007
9008fi;
9009
9010 eval "$ac_cv_use_fontdlg"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_FONTDLG" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9026echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9029if test "${enable_dirdlg+set}" = set; then
9030 enableval="$enable_dirdlg"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9034 else
9035 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9036 fi
9037
9038else
9039
9040 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9048
9049fi;
9050
9051 eval "$ac_cv_use_dirdlg"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_DIRDLG" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9067echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9070if test "${enable_msgdlg+set}" = set; then
9071 enableval="$enable_msgdlg"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9075 else
9076 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9077 fi
9078
9079else
9080
9081 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9089
9090fi;
9091
9092 eval "$ac_cv_use_msgdlg"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_MSGDLG" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9108echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9111if test "${enable_numberdlg+set}" = set; then
9112 enableval="$enable_numberdlg"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9116 else
9117 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9118 fi
9119
9120else
9121
9122 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9130
9131fi;
9132
9133 eval "$ac_cv_use_numberdlg"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_NUMBERDLG" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147 enablestring=
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9149echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9150 no_cache=0
9151 # Check whether --enable-splash or --disable-splash was given.
9152if test "${enable_splash+set}" = set; then
9153 enableval="$enable_splash"
9154
9155 if test "$enableval" = yes; then
9156 ac_cv_use_splash='wxUSE_SPLASH=yes'
9157 else
9158 ac_cv_use_splash='wxUSE_SPLASH=no'
9159 fi
9160
9161else
9162
9163 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9166 else
9167 no_cache=1
9168 fi
9169
9170 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9171
9172fi;
9173
9174 eval "$ac_cv_use_splash"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test "$wxUSE_SPLASH" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181echo "${ECHO_T}yes" >&6
9182 else
9183 echo "$as_me:$LINENO: result: no" >&5
9184echo "${ECHO_T}no" >&6
9185 fi
9186
9187
9188 enablestring=
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9190echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9191 no_cache=0
9192 # Check whether --enable-textdlg or --disable-textdlg was given.
9193if test "${enable_textdlg+set}" = set; then
9194 enableval="$enable_textdlg"
9195
9196 if test "$enableval" = yes; then
9197 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9198 else
9199 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9200 fi
9201
9202else
9203
9204 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9207 else
9208 no_cache=1
9209 fi
9210
9211 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9212
9213fi;
9214
9215 eval "$ac_cv_use_textdlg"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9218 fi
9219
9220 if test "$wxUSE_TEXTDLG" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222echo "${ECHO_T}yes" >&6
9223 else
9224 echo "$as_me:$LINENO: result: no" >&5
9225echo "${ECHO_T}no" >&6
9226 fi
9227
9228
9229 enablestring=
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9231echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9234if test "${enable_tipdlg+set}" = set; then
9235 enableval="$enable_tipdlg"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9239 else
9240 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9241 fi
9242
9243else
9244
9245 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9253
9254fi;
9255
9256 eval "$ac_cv_use_tipdlg"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test "$wxUSE_STARTUP_TIPS" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263echo "${ECHO_T}yes" >&6
9264 else
9265 echo "$as_me:$LINENO: result: no" >&5
9266echo "${ECHO_T}no" >&6
9267 fi
9268
9269
9270 enablestring=
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9272echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9273 no_cache=0
9274 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9275if test "${enable_progressdlg+set}" = set; then
9276 enableval="$enable_progressdlg"
9277
9278 if test "$enableval" = yes; then
9279 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9280 else
9281 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9282 fi
9283
9284else
9285
9286 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 else
9290 no_cache=1
9291 fi
9292
9293 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9294
9295fi;
9296
9297 eval "$ac_cv_use_progressdlg"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test "$wxUSE_PROGRESSDLG" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304echo "${ECHO_T}yes" >&6
9305 else
9306 echo "$as_me:$LINENO: result: no" >&5
9307echo "${ECHO_T}no" >&6
9308 fi
9309
9310
9311 enablestring=
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9313echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9314 no_cache=0
9315 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9316if test "${enable_wizarddlg+set}" = set; then
9317 enableval="$enable_wizarddlg"
9318
9319 if test "$enableval" = yes; then
9320 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9321 else
9322 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9323 fi
9324
9325else
9326
9327 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9335
9336fi;
9337
9338 eval "$ac_cv_use_wizarddlg"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test "$wxUSE_WIZARDDLG" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345echo "${ECHO_T}yes" >&6
9346 else
9347 echo "$as_me:$LINENO: result: no" >&5
9348echo "${ECHO_T}no" >&6
9349 fi
9350
9351
9352
9353
9354 enablestring=
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9356echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9357 no_cache=0
9358 # Check whether --enable-menus or --disable-menus was given.
9359if test "${enable_menus+set}" = set; then
9360 enableval="$enable_menus"
9361
9362 if test "$enableval" = yes; then
9363 ac_cv_use_menus='wxUSE_MENUS=yes'
9364 else
9365 ac_cv_use_menus='wxUSE_MENUS=no'
9366 fi
9367
9368else
9369
9370 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9373 else
9374 no_cache=1
9375 fi
9376
9377 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9378
9379fi;
9380
9381 eval "$ac_cv_use_menus"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9384 fi
9385
9386 if test "$wxUSE_MENUS" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388echo "${ECHO_T}yes" >&6
9389 else
9390 echo "$as_me:$LINENO: result: no" >&5
9391echo "${ECHO_T}no" >&6
9392 fi
9393
9394
9395 enablestring=
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9397echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9398 no_cache=0
9399 # Check whether --enable-miniframe or --disable-miniframe was given.
9400if test "${enable_miniframe+set}" = set; then
9401 enableval="$enable_miniframe"
9402
9403 if test "$enableval" = yes; then
9404 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9405 else
9406 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9407 fi
9408
9409else
9410
9411 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9414 else
9415 no_cache=1
9416 fi
9417
9418 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9419
9420fi;
9421
9422 eval "$ac_cv_use_miniframe"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9425 fi
9426
9427 if test "$wxUSE_MINIFRAME" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429echo "${ECHO_T}yes" >&6
9430 else
9431 echo "$as_me:$LINENO: result: no" >&5
9432echo "${ECHO_T}no" >&6
9433 fi
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9438echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-tooltips or --disable-tooltips was given.
9441if test "${enable_tooltips+set}" = set; then
9442 enableval="$enable_tooltips"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9446 else
9447 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9448 fi
9449
9450else
9451
9452 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9460
9461fi;
9462
9463 eval "$ac_cv_use_tooltips"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_TOOLTIPS" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477 enablestring=
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9479echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9480 no_cache=0
9481 # Check whether --enable-splines or --disable-splines was given.
9482if test "${enable_splines+set}" = set; then
9483 enableval="$enable_splines"
9484
9485 if test "$enableval" = yes; then
9486 ac_cv_use_splines='wxUSE_SPLINES=yes'
9487 else
9488 ac_cv_use_splines='wxUSE_SPLINES=no'
9489 fi
9490
9491else
9492
9493 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9496 else
9497 no_cache=1
9498 fi
9499
9500 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9501
9502fi;
9503
9504 eval "$ac_cv_use_splines"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test "$wxUSE_SPLINES" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511echo "${ECHO_T}yes" >&6
9512 else
9513 echo "$as_me:$LINENO: result: no" >&5
9514echo "${ECHO_T}no" >&6
9515 fi
9516
9517
9518 enablestring=
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9520echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9521 no_cache=0
9522 # Check whether --enable-validators or --disable-validators was given.
9523if test "${enable_validators+set}" = set; then
9524 enableval="$enable_validators"
9525
9526 if test "$enableval" = yes; then
9527 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9528 else
9529 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9530 fi
9531
9532else
9533
9534 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x ; then
9536 eval "DEFAULT_$LINE"
9537 else
9538 no_cache=1
9539 fi
9540
9541 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9542
9543fi;
9544
9545 eval "$ac_cv_use_validators"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9548 fi
9549
9550 if test "$wxUSE_VALIDATORS" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552echo "${ECHO_T}yes" >&6
9553 else
9554 echo "$as_me:$LINENO: result: no" >&5
9555echo "${ECHO_T}no" >&6
9556 fi
9557
9558
9559 enablestring=
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9561echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9562 no_cache=0
9563 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9564if test "${enable_busyinfo+set}" = set; then
9565 enableval="$enable_busyinfo"
9566
9567 if test "$enableval" = yes; then
9568 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9569 else
9570 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9571 fi
9572
9573else
9574
9575 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x ; then
9577 eval "DEFAULT_$LINE"
9578 else
9579 no_cache=1
9580 fi
9581
9582 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9583
9584fi;
9585
9586 eval "$ac_cv_use_busyinfo"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test "$wxUSE_BUSYINFO" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593echo "${ECHO_T}yes" >&6
9594 else
9595 echo "$as_me:$LINENO: result: no" >&5
9596echo "${ECHO_T}no" >&6
9597 fi
9598
9599
9600 enablestring=
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9602echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9603 no_cache=0
9604 # Check whether --enable-joystick or --disable-joystick was given.
9605if test "${enable_joystick+set}" = set; then
9606 enableval="$enable_joystick"
9607
9608 if test "$enableval" = yes; then
9609 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9610 else
9611 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9612 fi
9613
9614else
9615
9616 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 else
9620 no_cache=1
9621 fi
9622
9623 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9624
9625fi;
9626
9627 eval "$ac_cv_use_joystick"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9630 fi
9631
9632 if test "$wxUSE_JOYSTICK" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634echo "${ECHO_T}yes" >&6
9635 else
9636 echo "$as_me:$LINENO: result: no" >&5
9637echo "${ECHO_T}no" >&6
9638 fi
9639
9640
9641 enablestring=
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9643echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9644 no_cache=0
9645 # Check whether --enable-metafile or --disable-metafile was given.
9646if test "${enable_metafile+set}" = set; then
9647 enableval="$enable_metafile"
9648
9649 if test "$enableval" = yes; then
9650 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9651 else
9652 ac_cv_use_metafile='wxUSE_METAFILE=no'
9653 fi
9654
9655else
9656
9657 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x ; then
9659 eval "DEFAULT_$LINE"
9660 else
9661 no_cache=1
9662 fi
9663
9664 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9665
9666fi;
9667
9668 eval "$ac_cv_use_metafile"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test "$wxUSE_METAFILE" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675echo "${ECHO_T}yes" >&6
9676 else
9677 echo "$as_me:$LINENO: result: no" >&5
9678echo "${ECHO_T}no" >&6
9679 fi
9680
9681
9682 enablestring=
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9684echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9685 no_cache=0
9686 # Check whether --enable-dragimage or --disable-dragimage was given.
9687if test "${enable_dragimage+set}" = set; then
9688 enableval="$enable_dragimage"
9689
9690 if test "$enableval" = yes; then
9691 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9692 else
9693 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9694 fi
9695
9696else
9697
9698 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x ; then
9700 eval "DEFAULT_$LINE"
9701 else
9702 no_cache=1
9703 fi
9704
9705 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9706
9707fi;
9708
9709 eval "$ac_cv_use_dragimage"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test "$wxUSE_DRAGIMAGE" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716echo "${ECHO_T}yes" >&6
9717 else
9718 echo "$as_me:$LINENO: result: no" >&5
9719echo "${ECHO_T}no" >&6
9720 fi
9721
9722
9723 enablestring=
9724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9725echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9726 no_cache=0
9727 # Check whether --enable-accessibility or --disable-accessibility was given.
9728if test "${enable_accessibility+set}" = set; then
9729 enableval="$enable_accessibility"
9730
9731 if test "$enableval" = yes; then
9732 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9733 else
9734 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9735 fi
9736
9737else
9738
9739 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9742 else
9743 no_cache=1
9744 fi
9745
9746 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9747
9748fi;
9749
9750 eval "$ac_cv_use_accessibility"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9753 fi
9754
9755 if test "$wxUSE_ACCESSIBILITY" = yes; then
9756 echo "$as_me:$LINENO: result: yes" >&5
9757echo "${ECHO_T}yes" >&6
9758 else
9759 echo "$as_me:$LINENO: result: no" >&5
9760echo "${ECHO_T}no" >&6
9761 fi
9762
9763
9764
9765
9766 enablestring=
9767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9768echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9769 no_cache=0
9770 # Check whether --enable-palette or --disable-palette was given.
9771if test "${enable_palette+set}" = set; then
9772 enableval="$enable_palette"
9773
9774 if test "$enableval" = yes; then
9775 ac_cv_use_palette='wxUSE_PALETTE=yes'
9776 else
9777 ac_cv_use_palette='wxUSE_PALETTE=no'
9778 fi
9779
9780else
9781
9782 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x ; then
9784 eval "DEFAULT_$LINE"
9785 else
9786 no_cache=1
9787 fi
9788
9789 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9790
9791fi;
9792
9793 eval "$ac_cv_use_palette"
9794 if test "$no_cache" != 1; then
9795 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9796 fi
9797
9798 if test "$wxUSE_PALETTE" = yes; then
9799 echo "$as_me:$LINENO: result: yes" >&5
9800echo "${ECHO_T}yes" >&6
9801 else
9802 echo "$as_me:$LINENO: result: no" >&5
9803echo "${ECHO_T}no" >&6
9804 fi
9805
9806
9807 enablestring=
9808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9809echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9810 no_cache=0
9811 # Check whether --enable-image or --disable-image was given.
9812if test "${enable_image+set}" = set; then
9813 enableval="$enable_image"
9814
9815 if test "$enableval" = yes; then
9816 ac_cv_use_image='wxUSE_IMAGE=yes'
9817 else
9818 ac_cv_use_image='wxUSE_IMAGE=no'
9819 fi
9820
9821else
9822
9823 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x ; then
9825 eval "DEFAULT_$LINE"
9826 else
9827 no_cache=1
9828 fi
9829
9830 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9831
9832fi;
9833
9834 eval "$ac_cv_use_image"
9835 if test "$no_cache" != 1; then
9836 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9837 fi
9838
9839 if test "$wxUSE_IMAGE" = yes; then
9840 echo "$as_me:$LINENO: result: yes" >&5
9841echo "${ECHO_T}yes" >&6
9842 else
9843 echo "$as_me:$LINENO: result: no" >&5
9844echo "${ECHO_T}no" >&6
9845 fi
9846
9847
9848 enablestring=
9849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9850echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9851 no_cache=0
9852 # Check whether --enable-gif or --disable-gif was given.
9853if test "${enable_gif+set}" = set; then
9854 enableval="$enable_gif"
9855
9856 if test "$enableval" = yes; then
9857 ac_cv_use_gif='wxUSE_GIF=yes'
9858 else
9859 ac_cv_use_gif='wxUSE_GIF=no'
9860 fi
9861
9862else
9863
9864 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x ; then
9866 eval "DEFAULT_$LINE"
9867 else
9868 no_cache=1
9869 fi
9870
9871 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9872
9873fi;
9874
9875 eval "$ac_cv_use_gif"
9876 if test "$no_cache" != 1; then
9877 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9878 fi
9879
9880 if test "$wxUSE_GIF" = yes; then
9881 echo "$as_me:$LINENO: result: yes" >&5
9882echo "${ECHO_T}yes" >&6
9883 else
9884 echo "$as_me:$LINENO: result: no" >&5
9885echo "${ECHO_T}no" >&6
9886 fi
9887
9888
9889 enablestring=
9890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9891echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9892 no_cache=0
9893 # Check whether --enable-pcx or --disable-pcx was given.
9894if test "${enable_pcx+set}" = set; then
9895 enableval="$enable_pcx"
9896
9897 if test "$enableval" = yes; then
9898 ac_cv_use_pcx='wxUSE_PCX=yes'
9899 else
9900 ac_cv_use_pcx='wxUSE_PCX=no'
9901 fi
9902
9903else
9904
9905 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x ; then
9907 eval "DEFAULT_$LINE"
9908 else
9909 no_cache=1
9910 fi
9911
9912 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9913
9914fi;
9915
9916 eval "$ac_cv_use_pcx"
9917 if test "$no_cache" != 1; then
9918 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9919 fi
9920
9921 if test "$wxUSE_PCX" = yes; then
9922 echo "$as_me:$LINENO: result: yes" >&5
9923echo "${ECHO_T}yes" >&6
9924 else
9925 echo "$as_me:$LINENO: result: no" >&5
9926echo "${ECHO_T}no" >&6
9927 fi
9928
9929
9930 enablestring=
9931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9932echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9933 no_cache=0
9934 # Check whether --enable-iff or --disable-iff was given.
9935if test "${enable_iff+set}" = set; then
9936 enableval="$enable_iff"
9937
9938 if test "$enableval" = yes; then
9939 ac_cv_use_iff='wxUSE_IFF=yes'
9940 else
9941 ac_cv_use_iff='wxUSE_IFF=no'
9942 fi
9943
9944else
9945
9946 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x ; then
9948 eval "DEFAULT_$LINE"
9949 else
9950 no_cache=1
9951 fi
9952
9953 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9954
9955fi;
9956
9957 eval "$ac_cv_use_iff"
9958 if test "$no_cache" != 1; then
9959 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9960 fi
9961
9962 if test "$wxUSE_IFF" = yes; then
9963 echo "$as_me:$LINENO: result: yes" >&5
9964echo "${ECHO_T}yes" >&6
9965 else
9966 echo "$as_me:$LINENO: result: no" >&5
9967echo "${ECHO_T}no" >&6
9968 fi
9969
9970
9971 enablestring=
9972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9973echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9974 no_cache=0
9975 # Check whether --enable-pnm or --disable-pnm was given.
9976if test "${enable_pnm+set}" = set; then
9977 enableval="$enable_pnm"
9978
9979 if test "$enableval" = yes; then
9980 ac_cv_use_pnm='wxUSE_PNM=yes'
9981 else
9982 ac_cv_use_pnm='wxUSE_PNM=no'
9983 fi
9984
9985else
9986
9987 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x ; then
9989 eval "DEFAULT_$LINE"
9990 else
9991 no_cache=1
9992 fi
9993
9994 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9995
9996fi;
9997
9998 eval "$ac_cv_use_pnm"
9999 if test "$no_cache" != 1; then
10000 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10001 fi
10002
10003 if test "$wxUSE_PNM" = yes; then
10004 echo "$as_me:$LINENO: result: yes" >&5
10005echo "${ECHO_T}yes" >&6
10006 else
10007 echo "$as_me:$LINENO: result: no" >&5
10008echo "${ECHO_T}no" >&6
10009 fi
10010
10011
10012 enablestring=
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10014echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10015 no_cache=0
10016 # Check whether --enable-xpm or --disable-xpm was given.
10017if test "${enable_xpm+set}" = set; then
10018 enableval="$enable_xpm"
10019
10020 if test "$enableval" = yes; then
10021 ac_cv_use_xpm='wxUSE_XPM=yes'
10022 else
10023 ac_cv_use_xpm='wxUSE_XPM=no'
10024 fi
10025
10026else
10027
10028 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10031 else
10032 no_cache=1
10033 fi
10034
10035 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10036
10037fi;
10038
10039 eval "$ac_cv_use_xpm"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10042 fi
10043
10044 if test "$wxUSE_XPM" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046echo "${ECHO_T}yes" >&6
10047 else
10048 echo "$as_me:$LINENO: result: no" >&5
10049echo "${ECHO_T}no" >&6
10050 fi
10051
10052
10053 enablestring=
10054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10055echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10056 no_cache=0
10057 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10058if test "${enable_ico_cur+set}" = set; then
10059 enableval="$enable_ico_cur"
10060
10061 if test "$enableval" = yes; then
10062 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10063 else
10064 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10065 fi
10066
10067else
10068
10069 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10072 else
10073 no_cache=1
10074 fi
10075
10076 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10077
10078fi;
10079
10080 eval "$ac_cv_use_ico_cur"
10081 if test "$no_cache" != 1; then
10082 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10083 fi
10084
10085 if test "$wxUSE_ICO_CUR" = yes; then
10086 echo "$as_me:$LINENO: result: yes" >&5
10087echo "${ECHO_T}yes" >&6
10088 else
10089 echo "$as_me:$LINENO: result: no" >&5
10090echo "${ECHO_T}no" >&6
10091 fi
10092
10093
10094fi
10095
10096
10097
ceec2216
RL
10098# Check whether --with-flavour or --without-flavour was given.
10099if test "${with_flavour+set}" = set; then
10100 withval="$with_flavour"
10101 WX_FLAVOUR="$withval"
10102fi;
10103
10104
10105
a848cd7e
SC
10106 enablestring=
10107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10108echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10109 no_cache=0
10110 # Check whether --enable-official_build or --disable-official_build was given.
10111if test "${enable_official_build+set}" = set; then
10112 enableval="$enable_official_build"
10113
10114 if test "$enableval" = yes; then
10115 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10116 else
10117 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10118 fi
10119
10120else
10121
10122 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10123 if test "x$LINE" != x ; then
10124 eval "DEFAULT_$LINE"
10125 else
10126 no_cache=1
10127 fi
10128
10129 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10130
10131fi;
10132
10133 eval "$ac_cv_use_official_build"
10134 if test "$no_cache" != 1; then
10135 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10136 fi
10137
10138 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10139 echo "$as_me:$LINENO: result: yes" >&5
10140echo "${ECHO_T}yes" >&6
10141 else
10142 echo "$as_me:$LINENO: result: no" >&5
10143echo "${ECHO_T}no" >&6
10144 fi
10145
10146# Check whether --enable-vendor or --disable-vendor was given.
10147if test "${enable_vendor+set}" = set; then
10148 enableval="$enable_vendor"
10149 VENDOR="$enableval"
10150fi;
10151if test "x$VENDOR" = "x"; then
10152 VENDOR="custom"
10153fi
10154
a848cd7e
SC
10155
10156
10157
10158 echo "saving argument cache $wx_arg_cache_file"
10159 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10160
10161
10162
10163echo "$as_me:$LINENO: checking for toolkit" >&5
10164echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10165
10166# In Wine, we need to default to MSW, not GTK or MOTIF
10167if test "$wxUSE_WINE" = "yes"; then
10168 DEFAULT_DEFAULT_wxUSE_GTK=0
10169 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10170 DEFAULT_DEFAULT_wxUSE_MSW=1
10171 wxUSE_SHARED=no
10172fi
10173
10174if test "$wxUSE_GUI" = "yes"; then
10175
10176 if test "$USE_BEOS" = 1; then
10177 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10178echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10179 { (exit 1); exit 1; }; }
10180 fi
10181
10182 if test "$TOOLKIT_GIVEN" = 1; then
10183 for toolkit in `echo $ALL_TOOLKITS`; do
10184 var=wxUSE_$toolkit
10185 eval "value=\$${var}"
10186 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10187 done
10188 else
10189 for toolkit in `echo $ALL_TOOLKITS`; do
10190 if test "$has_toolkit_in_cache" != 1; then
10191 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10192 else
10193 var=DEFAULT_wxUSE_$toolkit
10194 fi
10195 eval "wxUSE_$toolkit=\$${var}"
10196 done
10197 fi
10198
10199 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10200 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10201 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10202
10203 case "${host}" in
10204 *-pc-os2_emx | *-pc-os2-emx )
10205 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10206 esac
10207
10208 case "$NUM_TOOLKITS" in
10209 1)
10210 ;;
10211 0)
10212 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10213echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10214 { (exit 1); exit 1; }; }
10215 ;;
10216 *)
10217 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10218echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10219 { (exit 1); exit 1; }; }
10220 esac
10221
10222 for toolkit in `echo $ALL_TOOLKITS`; do
10223 var=wxUSE_$toolkit
10224 eval "value=\$${var}"
10225 if test "x$value" != x; then
10226 cache_var=CACHE_$toolkit
10227 eval "cache=\$${cache_var}"
10228 if test "$cache" = 1; then
10229 echo "$var=$value" >> ${wx_arg_cache_file}
10230 fi
10231 if test "$value" = 1; then
10232 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10233 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10234echo "${ECHO_T}$toolkit_echo" >&6
10235 fi
10236 fi
10237 done
10238else
10239 if test "x$host_alias" != "x"; then
10240 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10241echo "${ECHO_T}base ($host_alias hosted) only" >&6
10242 else
10243 echo "$as_me:$LINENO: result: base only" >&5
10244echo "${ECHO_T}base only" >&6
10245 fi
10246fi
10247
10248wants_win32=0
10249doesnt_want_win32=0
10250case "${host}" in
10251 *-*-cygwin*)
10252 if test "$wxUSE_MSW" = 1 ; then
10253 wants_win32=1
10254 else
10255 doesnt_want_win32=1
10256 fi
10257 ;;
10258 *-*-mingw*)
10259 wants_win32=1
10260 ;;
10261esac
10262
10263if test "$wxUSE_WINE" = "yes"; then
10264 wants_win32=1
10265 CC=winegcc
10266 CXX=wineg++
10267 RESCOMP=wrc
10268 LDFLAGS_GUI="-mwindows"
10269fi
10270
10271if test "$wants_win32" = 1 ; then
10272 USE_UNIX=0
10273 USE_WIN32=1
10274 cat >>confdefs.h <<\_ACEOF
10275#define __WIN32__ 1
10276_ACEOF
10277
10278 cat >>confdefs.h <<\_ACEOF
10279#define __WIN95__ 1
10280_ACEOF
10281
10282 cat >>confdefs.h <<\_ACEOF
10283#define __WINDOWS__ 1
10284_ACEOF
10285
10286 cat >>confdefs.h <<\_ACEOF
10287#define __GNUWIN32__ 1
10288_ACEOF
10289
10290 cat >>confdefs.h <<\_ACEOF
10291#define STRICT 1
10292_ACEOF
10293
10294 cat >>confdefs.h <<\_ACEOF
10295#define WINVER 0x0400
10296_ACEOF
10297
10298fi
10299if test "$doesnt_want_win32" = 1 ; then
10300 USE_UNIX=1
10301 USE_WIN32=0
10302fi
10303
10304if test "$USE_UNIX" = 1 ; then
10305 wxUSE_UNIX=yes
10306 cat >>confdefs.h <<\_ACEOF
10307#define __UNIX__ 1
10308_ACEOF
10309
10310fi
10311
10312
10313cat >confcache <<\_ACEOF
10314# This file is a shell script that caches the results of configure
10315# tests run on this system so they can be shared between configure
10316# scripts and configure runs, see configure's option --config-cache.
10317# It is not useful on other systems. If it contains results you don't
10318# want to keep, you may remove or edit it.
10319#
10320# config.status only pays attention to the cache file if you give it
10321# the --recheck option to rerun configure.
10322#
10323# `ac_cv_env_foo' variables (set or unset) will be overridden when
10324# loading this file, other *unset* `ac_cv_foo' will be assigned the
10325# following values.
10326
10327_ACEOF
10328
10329# The following way of writing the cache mishandles newlines in values,
10330# but we know of no workaround that is simple, portable, and efficient.
10331# So, don't put newlines in cache variables' values.
10332# Ultrix sh set writes to stderr and can't be redirected directly,
10333# and sets the high bit in the cache file unless we assign to the vars.
10334{
10335 (set) 2>&1 |
10336 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10337 *ac_space=\ *)
10338 # `set' does not quote correctly, so add quotes (double-quote
10339 # substitution turns \\\\ into \\, and sed turns \\ into \).
10340 sed -n \
ac1cb8d3
VS
10341 "s/'/'\\\\''/g;
10342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
10343 ;;
10344 *)
10345 # `set' quotes correctly as required by POSIX, so do not add quotes.
10346 sed -n \
ac1cb8d3 10347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
10348 ;;
10349 esac;
10350} |
10351 sed '
10352 t clear
10353 : clear
10354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10355 t end
10356 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10357 : end' >>confcache
10358if diff $cache_file confcache >/dev/null 2>&1; then :; else
10359 if test -w $cache_file; then
10360 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10361 cat confcache >$cache_file
10362 else
10363 echo "not updating unwritable cache $cache_file"
10364 fi
10365fi
10366rm -f confcache
10367
10368if test "$build" != "$host" ; then
10369 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10370 CC=$host_alias-gcc
10371 CXX=$host_alias-c++
10372 AR=$host_alias-ar
10373 RANLIB=$host_alias-ranlib
10374 DLLTOOL=$host_alias-dlltool
10375 RESCOMP=$host_alias-windres
a848cd7e
SC
10376 STRIP=$host_alias-strip
10377 else
10378 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10379echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10380 { (exit 1); exit 1; }; }
10381 fi
10382fi
10383
10384CFLAGS=${CFLAGS:=}
10385ac_ext=c
10386ac_cpp='$CPP $CPPFLAGS'
10387ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10388ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10389ac_compiler_gnu=$ac_cv_c_compiler_gnu
10390if test -n "$ac_tool_prefix"; then
10391 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10392set dummy ${ac_tool_prefix}gcc; ac_word=$2
10393echo "$as_me:$LINENO: checking for $ac_word" >&5
10394echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10395if test "${ac_cv_prog_CC+set}" = set; then
10396 echo $ECHO_N "(cached) $ECHO_C" >&6
10397else
10398 if test -n "$CC"; then
10399 ac_cv_prog_CC="$CC" # Let the user override the test.
10400else
10401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10402for as_dir in $PATH
10403do
10404 IFS=$as_save_IFS
10405 test -z "$as_dir" && as_dir=.
10406 for ac_exec_ext in '' $ac_executable_extensions; do
10407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10408 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10410 break 2
10411 fi
10412done
10413done
10414
10415fi
10416fi
10417CC=$ac_cv_prog_CC
10418if test -n "$CC"; then
10419 echo "$as_me:$LINENO: result: $CC" >&5
10420echo "${ECHO_T}$CC" >&6
10421else
10422 echo "$as_me:$LINENO: result: no" >&5
10423echo "${ECHO_T}no" >&6
10424fi
10425
10426fi
10427if test -z "$ac_cv_prog_CC"; then
10428 ac_ct_CC=$CC
10429 # Extract the first word of "gcc", so it can be a program name with args.
10430set dummy gcc; ac_word=$2
10431echo "$as_me:$LINENO: checking for $ac_word" >&5
10432echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10433if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10435else
10436 if test -n "$ac_ct_CC"; then
10437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10438else
10439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440for as_dir in $PATH
10441do
10442 IFS=$as_save_IFS
10443 test -z "$as_dir" && as_dir=.
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_ac_ct_CC="gcc"
10447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10448 break 2
10449 fi
10450done
10451done
10452
10453fi
10454fi
10455ac_ct_CC=$ac_cv_prog_ac_ct_CC
10456if test -n "$ac_ct_CC"; then
10457 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10458echo "${ECHO_T}$ac_ct_CC" >&6
10459else
10460 echo "$as_me:$LINENO: result: no" >&5
10461echo "${ECHO_T}no" >&6
10462fi
10463
10464 CC=$ac_ct_CC
10465else
10466 CC="$ac_cv_prog_CC"
10467fi
10468
10469if test -z "$CC"; then
10470 if test -n "$ac_tool_prefix"; then
10471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10472set dummy ${ac_tool_prefix}cc; ac_word=$2
10473echo "$as_me:$LINENO: checking for $ac_word" >&5
10474echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10475if test "${ac_cv_prog_CC+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10477else
10478 if test -n "$CC"; then
10479 ac_cv_prog_CC="$CC" # Let the user override the test.
10480else
10481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10482for as_dir in $PATH
10483do
10484 IFS=$as_save_IFS
10485 test -z "$as_dir" && as_dir=.
10486 for ac_exec_ext in '' $ac_executable_extensions; do
10487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10488 ac_cv_prog_CC="${ac_tool_prefix}cc"
10489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10490 break 2
10491 fi
10492done
10493done
10494
10495fi
10496fi
10497CC=$ac_cv_prog_CC
10498if test -n "$CC"; then
10499 echo "$as_me:$LINENO: result: $CC" >&5
10500echo "${ECHO_T}$CC" >&6
10501else
10502 echo "$as_me:$LINENO: result: no" >&5
10503echo "${ECHO_T}no" >&6
10504fi
10505
10506fi
10507if test -z "$ac_cv_prog_CC"; then
10508 ac_ct_CC=$CC
10509 # Extract the first word of "cc", so it can be a program name with args.
10510set dummy cc; ac_word=$2
10511echo "$as_me:$LINENO: checking for $ac_word" >&5
10512echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10513if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10515else
10516 if test -n "$ac_ct_CC"; then
10517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10518else
10519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10520for as_dir in $PATH
10521do
10522 IFS=$as_save_IFS
10523 test -z "$as_dir" && as_dir=.
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10526 ac_cv_prog_ac_ct_CC="cc"
10527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10528 break 2
10529 fi
10530done
10531done
10532
10533fi
10534fi
10535ac_ct_CC=$ac_cv_prog_ac_ct_CC
10536if test -n "$ac_ct_CC"; then
10537 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10538echo "${ECHO_T}$ac_ct_CC" >&6
10539else
10540 echo "$as_me:$LINENO: result: no" >&5
10541echo "${ECHO_T}no" >&6
10542fi
10543
10544 CC=$ac_ct_CC
10545else
10546 CC="$ac_cv_prog_CC"
10547fi
10548
10549fi
10550if test -z "$CC"; then
10551 # Extract the first word of "cc", so it can be a program name with args.
10552set dummy cc; ac_word=$2
10553echo "$as_me:$LINENO: checking for $ac_word" >&5
10554echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10555if test "${ac_cv_prog_CC+set}" = set; then
10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10557else
10558 if test -n "$CC"; then
10559 ac_cv_prog_CC="$CC" # Let the user override the test.
10560else
10561 ac_prog_rejected=no
10562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10563for as_dir in $PATH
10564do
10565 IFS=$as_save_IFS
10566 test -z "$as_dir" && as_dir=.
10567 for ac_exec_ext in '' $ac_executable_extensions; do
10568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10569 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10570 ac_prog_rejected=yes
10571 continue
10572 fi
10573 ac_cv_prog_CC="cc"
10574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10575 break 2
10576 fi
10577done
10578done
10579
10580if test $ac_prog_rejected = yes; then
10581 # We found a bogon in the path, so make sure we never use it.
10582 set dummy $ac_cv_prog_CC
10583 shift
10584 if test $# != 0; then
10585 # We chose a different compiler from the bogus one.
10586 # However, it has the same basename, so the bogon will be chosen
10587 # first if we set CC to just the basename; use the full file name.
10588 shift
10589 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10590 fi
10591fi
10592fi
10593fi
10594CC=$ac_cv_prog_CC
10595if test -n "$CC"; then
10596 echo "$as_me:$LINENO: result: $CC" >&5
10597echo "${ECHO_T}$CC" >&6
10598else
10599 echo "$as_me:$LINENO: result: no" >&5
10600echo "${ECHO_T}no" >&6
10601fi
10602
10603fi
10604if test -z "$CC"; then
10605 if test -n "$ac_tool_prefix"; then
10606 for ac_prog in cl
10607 do
10608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10609set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10610echo "$as_me:$LINENO: checking for $ac_word" >&5
10611echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10612if test "${ac_cv_prog_CC+set}" = set; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10614else
10615 if test -n "$CC"; then
10616 ac_cv_prog_CC="$CC" # Let the user override the test.
10617else
10618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10619for as_dir in $PATH
10620do
10621 IFS=$as_save_IFS
10622 test -z "$as_dir" && as_dir=.
10623 for ac_exec_ext in '' $ac_executable_extensions; do
10624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10625 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10627 break 2
10628 fi
10629done
10630done
10631
10632fi
10633fi
10634CC=$ac_cv_prog_CC
10635if test -n "$CC"; then
10636 echo "$as_me:$LINENO: result: $CC" >&5
10637echo "${ECHO_T}$CC" >&6
10638else
10639 echo "$as_me:$LINENO: result: no" >&5
10640echo "${ECHO_T}no" >&6
10641fi
10642
10643 test -n "$CC" && break
10644 done
10645fi
10646if test -z "$CC"; then
10647 ac_ct_CC=$CC
10648 for ac_prog in cl
10649do
10650 # Extract the first word of "$ac_prog", so it can be a program name with args.
10651set dummy $ac_prog; ac_word=$2
10652echo "$as_me:$LINENO: checking for $ac_word" >&5
10653echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10654if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10656else
10657 if test -n "$ac_ct_CC"; then
10658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10659else
10660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10661for as_dir in $PATH
10662do
10663 IFS=$as_save_IFS
10664 test -z "$as_dir" && as_dir=.
10665 for ac_exec_ext in '' $ac_executable_extensions; do
10666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10667 ac_cv_prog_ac_ct_CC="$ac_prog"
10668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10669 break 2
10670 fi
10671done
10672done
10673
10674fi
10675fi
10676ac_ct_CC=$ac_cv_prog_ac_ct_CC
10677if test -n "$ac_ct_CC"; then
10678 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10679echo "${ECHO_T}$ac_ct_CC" >&6
10680else
10681 echo "$as_me:$LINENO: result: no" >&5
10682echo "${ECHO_T}no" >&6
10683fi
10684
10685 test -n "$ac_ct_CC" && break
10686done
10687
10688 CC=$ac_ct_CC
10689fi
10690
10691fi
10692
10693
10694test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10695See \`config.log' for more details." >&5
10696echo "$as_me: error: no acceptable C compiler found in \$PATH
10697See \`config.log' for more details." >&2;}
10698 { (exit 1); exit 1; }; }
10699
10700# Provide some information about the compiler.
10701echo "$as_me:$LINENO:" \
10702 "checking for C compiler version" >&5
10703ac_compiler=`set X $ac_compile; echo $2`
10704{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10705 (eval $ac_compiler --version </dev/null >&5) 2>&5
10706 ac_status=$?
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }
10709{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10710 (eval $ac_compiler -v </dev/null >&5) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }
10714{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10715 (eval $ac_compiler -V </dev/null >&5) 2>&5
10716 ac_status=$?
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }
10719
10720cat >conftest.$ac_ext <<_ACEOF
10721/* confdefs.h. */
10722_ACEOF
10723cat confdefs.h >>conftest.$ac_ext
10724cat >>conftest.$ac_ext <<_ACEOF
10725/* end confdefs.h. */
10726
10727int
10728main ()
10729{
10730
10731 ;
10732 return 0;
10733}
10734_ACEOF
10735ac_clean_files_save=$ac_clean_files
10736ac_clean_files="$ac_clean_files a.out a.exe b.out"
10737# Try to create an executable without -o first, disregard a.out.
10738# It will help us diagnose broken compilers, and finding out an intuition
10739# of exeext.
ac1cb8d3
VS
10740echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10741echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
a848cd7e
SC
10742ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10743if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10744 (eval $ac_link_default) 2>&5
10745 ac_status=$?
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; then
10748 # Find the output, starting from the most likely. This scheme is
10749# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10750# resort.
10751
10752# Be careful to initialize this variable, since it used to be cached.
10753# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10754ac_cv_exeext=
10755# b.out is created by i960 compilers.
10756for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10757do
10758 test -f "$ac_file" || continue
10759 case $ac_file in
10760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
ac1cb8d3 10761 ;;
a848cd7e 10762 conftest.$ac_ext )
ac1cb8d3
VS
10763 # This is the source file.
10764 ;;
a848cd7e 10765 [ab].out )
ac1cb8d3
VS
10766 # We found the default executable, but exeext='' is most
10767 # certainly right.
10768 break;;
a848cd7e 10769 *.* )
ac1cb8d3
VS
10770 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10771 # FIXME: I believe we export ac_cv_exeext for Libtool,
10772 # but it would be cool to find out if it's true. Does anybody
10773 # maintain Libtool? --akim.
10774 export ac_cv_exeext
10775 break;;
a848cd7e 10776 * )
ac1cb8d3 10777 break;;
a848cd7e
SC
10778 esac
10779done
10780else
10781 echo "$as_me: failed program was:" >&5
10782sed 's/^/| /' conftest.$ac_ext >&5
10783
10784{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10785See \`config.log' for more details." >&5
10786echo "$as_me: error: C compiler cannot create executables
10787See \`config.log' for more details." >&2;}
10788 { (exit 77); exit 77; }; }
10789fi
10790
10791ac_exeext=$ac_cv_exeext
10792echo "$as_me:$LINENO: result: $ac_file" >&5
10793echo "${ECHO_T}$ac_file" >&6
10794
10795# Check the compiler produces executables we can run. If not, either
10796# the compiler is broken, or we cross compile.
10797echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10798echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10799# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10800# If not cross compiling, check that we can run a simple program.
10801if test "$cross_compiling" != yes; then
10802 if { ac_try='./$ac_file'
10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10804 (eval $ac_try) 2>&5
10805 ac_status=$?
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; }; then
10808 cross_compiling=no
10809 else
10810 if test "$cross_compiling" = maybe; then
10811 cross_compiling=yes
10812 else
10813 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10814If you meant to cross compile, use \`--host'.
10815See \`config.log' for more details." >&5
10816echo "$as_me: error: cannot run C compiled programs.
10817If you meant to cross compile, use \`--host'.
10818See \`config.log' for more details." >&2;}
10819 { (exit 1); exit 1; }; }
10820 fi
10821 fi
10822fi
10823echo "$as_me:$LINENO: result: yes" >&5
10824echo "${ECHO_T}yes" >&6
10825
10826rm -f a.out a.exe conftest$ac_cv_exeext b.out
10827ac_clean_files=$ac_clean_files_save
10828# Check the compiler produces executables we can run. If not, either
10829# the compiler is broken, or we cross compile.
10830echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10831echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10832echo "$as_me:$LINENO: result: $cross_compiling" >&5
10833echo "${ECHO_T}$cross_compiling" >&6
10834
10835echo "$as_me:$LINENO: checking for suffix of executables" >&5
10836echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10838 (eval $ac_link) 2>&5
10839 ac_status=$?
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; then
10842 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10843# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10844# work properly (i.e., refer to `conftest.exe'), while it won't with
10845# `rm'.
10846for ac_file in conftest.exe conftest conftest.*; do
10847 test -f "$ac_file" || continue
10848 case $ac_file in
10849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10850 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
ac1cb8d3
VS
10851 export ac_cv_exeext
10852 break;;
a848cd7e
SC
10853 * ) break;;
10854 esac
10855done
10856else
10857 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10858See \`config.log' for more details." >&5
10859echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10860See \`config.log' for more details." >&2;}
10861 { (exit 1); exit 1; }; }
10862fi
10863
10864rm -f conftest$ac_cv_exeext
10865echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10866echo "${ECHO_T}$ac_cv_exeext" >&6
10867
10868rm -f conftest.$ac_ext
10869EXEEXT=$ac_cv_exeext
10870ac_exeext=$EXEEXT
10871echo "$as_me:$LINENO: checking for suffix of object files" >&5
10872echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10873if test "${ac_cv_objext+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10875else
10876 cat >conftest.$ac_ext <<_ACEOF
10877/* confdefs.h. */
10878_ACEOF
10879cat confdefs.h >>conftest.$ac_ext
10880cat >>conftest.$ac_ext <<_ACEOF
10881/* end confdefs.h. */
10882
10883int
10884main ()
10885{
10886
10887 ;
10888 return 0;
10889}
10890_ACEOF
10891rm -f conftest.o conftest.obj
10892if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10893 (eval $ac_compile) 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; then
10897 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10898 case $ac_file in
10899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10900 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10901 break;;
10902 esac
10903done
10904else
10905 echo "$as_me: failed program was:" >&5
10906sed 's/^/| /' conftest.$ac_ext >&5
10907
10908{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10909See \`config.log' for more details." >&5
10910echo "$as_me: error: cannot compute suffix of object files: cannot compile
10911See \`config.log' for more details." >&2;}
10912 { (exit 1); exit 1; }; }
10913fi
10914
10915rm -f conftest.$ac_cv_objext conftest.$ac_ext
10916fi
10917echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10918echo "${ECHO_T}$ac_cv_objext" >&6
10919OBJEXT=$ac_cv_objext
10920ac_objext=$OBJEXT
10921echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10922echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10923if test "${ac_cv_c_compiler_gnu+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10925else
10926 cat >conftest.$ac_ext <<_ACEOF
10927/* confdefs.h. */
10928_ACEOF
10929cat confdefs.h >>conftest.$ac_ext
10930cat >>conftest.$ac_ext <<_ACEOF
10931/* end confdefs.h. */
10932
10933int
10934main ()
10935{
10936#ifndef __GNUC__
10937 choke me
10938#endif
10939
10940 ;
10941 return 0;
10942}
10943_ACEOF
10944rm -f conftest.$ac_objext
10945if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 10946 (eval $ac_compile) 2>conftest.er1
a848cd7e 10947 ac_status=$?
ac1cb8d3
VS
10948 grep -v '^ *+' conftest.er1 >conftest.err
10949 rm -f conftest.er1
10950 cat conftest.err >&5
a848cd7e
SC
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } &&
fc480dc1
DE
10953 { ac_try='test -z "$ac_c_werror_flag"
10954 || test ! -s conftest.err'
ac1cb8d3
VS
10955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10956 (eval $ac_try) 2>&5
10957 ac_status=$?
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); }; } &&
10960 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10963 ac_status=$?
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 ac_compiler_gnu=yes
10967else
10968 echo "$as_me: failed program was:" >&5
10969sed 's/^/| /' conftest.$ac_ext >&5
10970
10971ac_compiler_gnu=no
10972fi
ac1cb8d3 10973rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
10974ac_cv_c_compiler_gnu=$ac_compiler_gnu
10975
10976fi
10977echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10978echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10979GCC=`test $ac_compiler_gnu = yes && echo yes`
10980ac_test_CFLAGS=${CFLAGS+set}
10981ac_save_CFLAGS=$CFLAGS
10982CFLAGS="-g"
10983echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10984echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10985if test "${ac_cv_prog_cc_g+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10987else
10988 cat >conftest.$ac_ext <<_ACEOF
10989/* confdefs.h. */
10990_ACEOF
10991cat confdefs.h >>conftest.$ac_ext
10992cat >>conftest.$ac_ext <<_ACEOF
10993/* end confdefs.h. */
10994
10995int
10996main ()
10997{
10998
10999 ;
11000 return 0;
11001}
11002_ACEOF
11003rm -f conftest.$ac_objext
11004if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11005 (eval $ac_compile) 2>conftest.er1
a848cd7e 11006 ac_status=$?
ac1cb8d3
VS
11007 grep -v '^ *+' conftest.er1 >conftest.err
11008 rm -f conftest.er1
11009 cat conftest.err >&5
a848cd7e
SC
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
fc480dc1
DE
11012 { ac_try='test -z "$ac_c_werror_flag"
11013 || test ! -s conftest.err'
ac1cb8d3
VS
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_prog_cc_g=yes
11026else
11027 echo "$as_me: failed program was:" >&5
11028sed 's/^/| /' conftest.$ac_ext >&5
11029
11030ac_cv_prog_cc_g=no
11031fi
ac1cb8d3 11032rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11033fi
11034echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11035echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11036if test "$ac_test_CFLAGS" = set; then
11037 CFLAGS=$ac_save_CFLAGS
11038elif test $ac_cv_prog_cc_g = yes; then
11039 if test "$GCC" = yes; then
11040 CFLAGS="-g -O2"
11041 else
11042 CFLAGS="-g"
11043 fi
11044else
11045 if test "$GCC" = yes; then
11046 CFLAGS="-O2"
11047 else
11048 CFLAGS=
11049 fi
11050fi
11051echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11052echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11053if test "${ac_cv_prog_cc_stdc+set}" = set; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11055else
11056 ac_cv_prog_cc_stdc=no
11057ac_save_CC=$CC
11058cat >conftest.$ac_ext <<_ACEOF
11059/* confdefs.h. */
11060_ACEOF
11061cat confdefs.h >>conftest.$ac_ext
11062cat >>conftest.$ac_ext <<_ACEOF
11063/* end confdefs.h. */
11064#include <stdarg.h>
11065#include <stdio.h>
11066#include <sys/types.h>
11067#include <sys/stat.h>
11068/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11069struct buf { int x; };
11070FILE * (*rcsopen) (struct buf *, struct stat *, int);
11071static char *e (p, i)
11072 char **p;
11073 int i;
11074{
11075 return p[i];
11076}
11077static char *f (char * (*g) (char **, int), char **p, ...)
11078{
11079 char *s;
11080 va_list v;
11081 va_start (v,p);
11082 s = g (p, va_arg (v,int));
11083 va_end (v);
11084 return s;
11085}
ac1cb8d3
VS
11086
11087/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11088 function prototypes and stuff, but not '\xHH' hex character constants.
11089 These don't provoke an error unfortunately, instead are silently treated
11090 as 'x'. The following induces an error, until -std1 is added to get
11091 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11092 array size at least. It's necessary to write '\x00'==0 to get something
11093 that's true only with -std1. */
11094int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11095
a848cd7e
SC
11096int test (int i, double x);
11097struct s1 {int (*f) (int a);};
11098struct s2 {int (*f) (double a);};
11099int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11100int argc;
11101char **argv;
11102int
11103main ()
11104{
11105return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11106 ;
11107 return 0;
11108}
11109_ACEOF
11110# Don't try gcc -ansi; that turns off useful extensions and
11111# breaks some systems' header files.
11112# AIX -qlanglvl=ansi
11113# Ultrix and OSF/1 -std1
11114# HP-UX 10.20 and later -Ae
11115# HP-UX older versions -Aa -D_HPUX_SOURCE
11116# SVR4 -Xc -D__EXTENSIONS__
11117for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11118do
11119 CC="$ac_save_CC $ac_arg"
11120 rm -f conftest.$ac_objext
11121if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11122 (eval $ac_compile) 2>conftest.er1
a848cd7e 11123 ac_status=$?
ac1cb8d3
VS
11124 grep -v '^ *+' conftest.er1 >conftest.err
11125 rm -f conftest.er1
11126 cat conftest.err >&5
a848cd7e
SC
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); } &&
fc480dc1
DE
11129 { ac_try='test -z "$ac_c_werror_flag"
11130 || test ! -s conftest.err'
ac1cb8d3
VS
11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11132 (eval $ac_try) 2>&5
11133 ac_status=$?
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); }; } &&
11136 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11139 ac_status=$?
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 ac_cv_prog_cc_stdc=$ac_arg
11143break
11144else
11145 echo "$as_me: failed program was:" >&5
11146sed 's/^/| /' conftest.$ac_ext >&5
11147
11148fi
ac1cb8d3 11149rm -f conftest.err conftest.$ac_objext
a848cd7e
SC
11150done
11151rm -f conftest.$ac_ext conftest.$ac_objext
11152CC=$ac_save_CC
11153
11154fi
11155
11156case "x$ac_cv_prog_cc_stdc" in
11157 x|xno)
11158 echo "$as_me:$LINENO: result: none needed" >&5
11159echo "${ECHO_T}none needed" >&6 ;;
11160 *)
11161 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11162echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11163 CC="$CC $ac_cv_prog_cc_stdc" ;;
11164esac
11165
11166# Some people use a C++ compiler to compile C. Since we use `exit',
11167# in C++ we need to declare it. In case someone uses the same compiler
11168# for both compiling C and C++ we need to have the C++ compiler decide
11169# the declaration of exit, since it's the most demanding environment.
11170cat >conftest.$ac_ext <<_ACEOF
11171#ifndef __cplusplus
11172 choke me
11173#endif
11174_ACEOF
11175rm -f conftest.$ac_objext
11176if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11177 (eval $ac_compile) 2>conftest.er1
a848cd7e 11178 ac_status=$?
ac1cb8d3
VS
11179 grep -v '^ *+' conftest.er1 >conftest.err
11180 rm -f conftest.er1
11181 cat conftest.err >&5
a848cd7e
SC
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } &&
fc480dc1
DE
11184 { ac_try='test -z "$ac_c_werror_flag"
11185 || test ! -s conftest.err'
ac1cb8d3
VS
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11188 ac_status=$?
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; } &&
11191 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5
11194 ac_status=$?
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); }; }; then
11197 for ac_declaration in \
ac1cb8d3 11198 '' \
a848cd7e
SC
11199 'extern "C" void std::exit (int) throw (); using std::exit;' \
11200 'extern "C" void std::exit (int); using std::exit;' \
11201 'extern "C" void exit (int) throw ();' \
11202 'extern "C" void exit (int);' \
11203 'void exit (int);'
11204do
11205 cat >conftest.$ac_ext <<_ACEOF
11206/* confdefs.h. */
11207_ACEOF
11208cat confdefs.h >>conftest.$ac_ext
11209cat >>conftest.$ac_ext <<_ACEOF
11210/* end confdefs.h. */
de59c161 11211$ac_declaration
ac1cb8d3 11212#include <stdlib.h>
a848cd7e
SC
11213int
11214main ()
11215{
11216exit (42);
11217 ;
11218 return 0;
11219}
11220_ACEOF
11221rm -f conftest.$ac_objext
11222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11223 (eval $ac_compile) 2>conftest.er1
a848cd7e 11224 ac_status=$?
ac1cb8d3
VS
11225 grep -v '^ *+' conftest.er1 >conftest.err
11226 rm -f conftest.er1
11227 cat conftest.err >&5
a848cd7e
SC
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } &&
fc480dc1
DE
11230 { ac_try='test -z "$ac_c_werror_flag"
11231 || test ! -s conftest.err'
ac1cb8d3
VS
11232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11233 (eval $ac_try) 2>&5
11234 ac_status=$?
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; } &&
11237 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11240 ac_status=$?
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11243 :
11244else
11245 echo "$as_me: failed program was:" >&5
11246sed 's/^/| /' conftest.$ac_ext >&5
11247
11248continue
11249fi
ac1cb8d3 11250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11251 cat >conftest.$ac_ext <<_ACEOF
11252/* confdefs.h. */
11253_ACEOF
11254cat confdefs.h >>conftest.$ac_ext
11255cat >>conftest.$ac_ext <<_ACEOF
11256/* end confdefs.h. */
11257$ac_declaration
11258int
11259main ()
11260{
11261exit (42);
11262 ;
11263 return 0;
11264}
11265_ACEOF
11266rm -f conftest.$ac_objext
11267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11268 (eval $ac_compile) 2>conftest.er1
a848cd7e 11269 ac_status=$?
ac1cb8d3
VS
11270 grep -v '^ *+' conftest.er1 >conftest.err
11271 rm -f conftest.er1
11272 cat conftest.err >&5
a848cd7e
SC
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } &&
fc480dc1
DE
11275 { ac_try='test -z "$ac_c_werror_flag"
11276 || test ! -s conftest.err'
ac1cb8d3
VS
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11279 ac_status=$?
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; } &&
11282 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284 (eval $ac_try) 2>&5
11285 ac_status=$?
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); }; }; then
11288 break
11289else
11290 echo "$as_me: failed program was:" >&5
11291sed 's/^/| /' conftest.$ac_ext >&5
11292
11293fi
ac1cb8d3 11294rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11295done
11296rm -f conftest*
11297if test -n "$ac_declaration"; then
11298 echo '#ifdef __cplusplus' >>confdefs.h
11299 echo $ac_declaration >>confdefs.h
11300 echo '#endif' >>confdefs.h
11301fi
11302
11303else
11304 echo "$as_me: failed program was:" >&5
11305sed 's/^/| /' conftest.$ac_ext >&5
11306
11307fi
ac1cb8d3 11308rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11309ac_ext=c
11310ac_cpp='$CPP $CPPFLAGS'
11311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11313ac_compiler_gnu=$ac_cv_c_compiler_gnu
11314
11315
11316
11317ac_ext=c
11318ac_cpp='$CPP $CPPFLAGS'
11319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11321ac_compiler_gnu=$ac_cv_c_compiler_gnu
11322echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11323echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11324# On Suns, sometimes $CPP names a directory.
11325if test -n "$CPP" && test -d "$CPP"; then
11326 CPP=
11327fi
11328if test -z "$CPP"; then
11329 if test "${ac_cv_prog_CPP+set}" = set; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11331else
11332 # Double quotes because CPP needs to be expanded
11333 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11334 do
11335 ac_preproc_ok=false
11336for ac_c_preproc_warn_flag in '' yes
11337do
11338 # Use a header file that comes with gcc, so configuring glibc
11339 # with a fresh cross-compiler works.
11340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11341 # <limits.h> exists even on freestanding compilers.
11342 # On the NeXT, cc -E runs the code through the compiler's parser,
11343 # not just through cpp. "Syntax error" is here to catch this case.
11344 cat >conftest.$ac_ext <<_ACEOF
11345/* confdefs.h. */
11346_ACEOF
11347cat confdefs.h >>conftest.$ac_ext
11348cat >>conftest.$ac_ext <<_ACEOF
11349/* end confdefs.h. */
11350#ifdef __STDC__
11351# include <limits.h>
11352#else
11353# include <assert.h>
11354#endif
ac1cb8d3 11355 Syntax error
a848cd7e
SC
11356_ACEOF
11357if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11359 ac_status=$?
11360 grep -v '^ *+' conftest.er1 >conftest.err
11361 rm -f conftest.er1
11362 cat conftest.err >&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } >/dev/null; then
11365 if test -s conftest.err; then
11366 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11368 else
11369 ac_cpp_err=
11370 fi
11371else
11372 ac_cpp_err=yes
11373fi
11374if test -z "$ac_cpp_err"; then
11375 :
11376else
11377 echo "$as_me: failed program was:" >&5
11378sed 's/^/| /' conftest.$ac_ext >&5
11379
11380 # Broken: fails on valid input.
11381continue
11382fi
11383rm -f conftest.err conftest.$ac_ext
11384
11385 # OK, works on sane cases. Now check whether non-existent headers
11386 # can be detected and how.
11387 cat >conftest.$ac_ext <<_ACEOF
11388/* confdefs.h. */
11389_ACEOF
11390cat confdefs.h >>conftest.$ac_ext
11391cat >>conftest.$ac_ext <<_ACEOF
11392/* end confdefs.h. */
11393#include <ac_nonexistent.h>
11394_ACEOF
11395if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11397 ac_status=$?
11398 grep -v '^ *+' conftest.er1 >conftest.err
11399 rm -f conftest.er1
11400 cat conftest.err >&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); } >/dev/null; then
11403 if test -s conftest.err; then
11404 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11406 else
11407 ac_cpp_err=
11408 fi
11409else
11410 ac_cpp_err=yes
11411fi
11412if test -z "$ac_cpp_err"; then
11413 # Broken: success on invalid input.
11414continue
11415else
11416 echo "$as_me: failed program was:" >&5
11417sed 's/^/| /' conftest.$ac_ext >&5
11418
11419 # Passes both tests.
11420ac_preproc_ok=:
11421break
11422fi
11423rm -f conftest.err conftest.$ac_ext
11424
11425done
11426# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11427rm -f conftest.err conftest.$ac_ext
11428if $ac_preproc_ok; then
11429 break
11430fi
11431
11432 done
11433 ac_cv_prog_CPP=$CPP
11434
11435fi
11436 CPP=$ac_cv_prog_CPP
11437else
11438 ac_cv_prog_CPP=$CPP
11439fi
11440echo "$as_me:$LINENO: result: $CPP" >&5
11441echo "${ECHO_T}$CPP" >&6
11442ac_preproc_ok=false
11443for ac_c_preproc_warn_flag in '' yes
11444do
11445 # Use a header file that comes with gcc, so configuring glibc
11446 # with a fresh cross-compiler works.
11447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11448 # <limits.h> exists even on freestanding compilers.
11449 # On the NeXT, cc -E runs the code through the compiler's parser,
11450 # not just through cpp. "Syntax error" is here to catch this case.
11451 cat >conftest.$ac_ext <<_ACEOF
11452/* confdefs.h. */
11453_ACEOF
11454cat confdefs.h >>conftest.$ac_ext
11455cat >>conftest.$ac_ext <<_ACEOF
11456/* end confdefs.h. */
11457#ifdef __STDC__
11458# include <limits.h>
11459#else
11460# include <assert.h>
11461#endif
ac1cb8d3 11462 Syntax error
a848cd7e
SC
11463_ACEOF
11464if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11466 ac_status=$?
11467 grep -v '^ *+' conftest.er1 >conftest.err
11468 rm -f conftest.er1
11469 cat conftest.err >&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } >/dev/null; then
11472 if test -s conftest.err; then
11473 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11475 else
11476 ac_cpp_err=
11477 fi
11478else
11479 ac_cpp_err=yes
11480fi
11481if test -z "$ac_cpp_err"; then
11482 :
11483else
11484 echo "$as_me: failed program was:" >&5
11485sed 's/^/| /' conftest.$ac_ext >&5
11486
11487 # Broken: fails on valid input.
11488continue
11489fi
11490rm -f conftest.err conftest.$ac_ext
11491
11492 # OK, works on sane cases. Now check whether non-existent headers
11493 # can be detected and how.
11494 cat >conftest.$ac_ext <<_ACEOF
11495/* confdefs.h. */
11496_ACEOF
11497cat confdefs.h >>conftest.$ac_ext
11498cat >>conftest.$ac_ext <<_ACEOF
11499/* end confdefs.h. */
11500#include <ac_nonexistent.h>
11501_ACEOF
11502if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11504 ac_status=$?
11505 grep -v '^ *+' conftest.er1 >conftest.err
11506 rm -f conftest.er1
11507 cat conftest.err >&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); } >/dev/null; then
11510 if test -s conftest.err; then
11511 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11513 else
11514 ac_cpp_err=
11515 fi
11516else
11517 ac_cpp_err=yes
11518fi
11519if test -z "$ac_cpp_err"; then
11520 # Broken: success on invalid input.
11521continue
11522else
11523 echo "$as_me: failed program was:" >&5
11524sed 's/^/| /' conftest.$ac_ext >&5
11525
11526 # Passes both tests.
11527ac_preproc_ok=:
11528break
11529fi
11530rm -f conftest.err conftest.$ac_ext
11531
11532done
11533# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11534rm -f conftest.err conftest.$ac_ext
11535if $ac_preproc_ok; then
11536 :
11537else
11538 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11539See \`config.log' for more details." >&5
11540echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11541See \`config.log' for more details." >&2;}
11542 { (exit 1); exit 1; }; }
11543fi
11544
11545ac_ext=c
11546ac_cpp='$CPP $CPPFLAGS'
11547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11549ac_compiler_gnu=$ac_cv_c_compiler_gnu
11550
11551
11552echo "$as_me:$LINENO: checking for egrep" >&5
11553echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11554if test "${ac_cv_prog_egrep+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11556else
11557 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11558 then ac_cv_prog_egrep='grep -E'
11559 else ac_cv_prog_egrep='egrep'
11560 fi
11561fi
11562echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11563echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11564 EGREP=$ac_cv_prog_egrep
11565
11566
11567if test $ac_cv_c_compiler_gnu = yes; then
11568 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11569echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11570if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11572else
11573 ac_pattern="Autoconf.*'x'"
11574 cat >conftest.$ac_ext <<_ACEOF
11575/* confdefs.h. */
11576_ACEOF
11577cat confdefs.h >>conftest.$ac_ext
11578cat >>conftest.$ac_ext <<_ACEOF
11579/* end confdefs.h. */
11580#include <sgtty.h>
11581Autoconf TIOCGETP
11582_ACEOF
11583if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11584 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11585 ac_cv_prog_gcc_traditional=yes
11586else
11587 ac_cv_prog_gcc_traditional=no
11588fi
11589rm -f conftest*
11590
11591
11592 if test $ac_cv_prog_gcc_traditional = no; then
11593 cat >conftest.$ac_ext <<_ACEOF
11594/* confdefs.h. */
11595_ACEOF
11596cat confdefs.h >>conftest.$ac_ext
11597cat >>conftest.$ac_ext <<_ACEOF
11598/* end confdefs.h. */
11599#include <termio.h>
11600Autoconf TCGETA
11601_ACEOF
11602if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11603 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11604 ac_cv_prog_gcc_traditional=yes
11605fi
11606rm -f conftest*
11607
11608 fi
11609fi
11610echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11611echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11612 if test $ac_cv_prog_gcc_traditional = yes; then
11613 CC="$CC -traditional"
11614 fi
11615fi
11616
11617
11618
11619
11620ac_ext=cc
11621ac_cpp='$CXXCPP $CPPFLAGS'
11622ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11625
11626
11627CXXFLAGS=${CXXFLAGS:=}
11628ac_ext=cc
11629ac_cpp='$CXXCPP $CPPFLAGS'
11630ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11631ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11632ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11633if test -n "$ac_tool_prefix"; then
11634 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11635 do
11636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11637set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11638echo "$as_me:$LINENO: checking for $ac_word" >&5
11639echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11640if test "${ac_cv_prog_CXX+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11642else
11643 if test -n "$CXX"; then
11644 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11645else
11646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11647for as_dir in $PATH
11648do
11649 IFS=$as_save_IFS
11650 test -z "$as_dir" && as_dir=.
11651 for ac_exec_ext in '' $ac_executable_extensions; do
11652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11653 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11655 break 2
11656 fi
11657done
11658done
11659
11660fi
11661fi
11662CXX=$ac_cv_prog_CXX
11663if test -n "$CXX"; then
11664 echo "$as_me:$LINENO: result: $CXX" >&5
11665echo "${ECHO_T}$CXX" >&6
11666else
11667 echo "$as_me:$LINENO: result: no" >&5
11668echo "${ECHO_T}no" >&6
11669fi
11670
11671 test -n "$CXX" && break
11672 done
11673fi
11674if test -z "$CXX"; then
11675 ac_ct_CXX=$CXX
11676 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11677do
11678 # Extract the first word of "$ac_prog", so it can be a program name with args.
11679set dummy $ac_prog; ac_word=$2
11680echo "$as_me:$LINENO: checking for $ac_word" >&5
11681echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11682if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11684else
11685 if test -n "$ac_ct_CXX"; then
11686 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11687else
11688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11689for as_dir in $PATH
11690do
11691 IFS=$as_save_IFS
11692 test -z "$as_dir" && as_dir=.
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11695 ac_cv_prog_ac_ct_CXX="$ac_prog"
11696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11697 break 2
11698 fi
11699done
11700done
11701
11702fi
11703fi
11704ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11705if test -n "$ac_ct_CXX"; then
11706 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11707echo "${ECHO_T}$ac_ct_CXX" >&6
11708else
11709 echo "$as_me:$LINENO: result: no" >&5
11710echo "${ECHO_T}no" >&6
11711fi
11712
11713 test -n "$ac_ct_CXX" && break
11714done
11715test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11716
11717 CXX=$ac_ct_CXX
11718fi
11719
11720
11721# Provide some information about the compiler.
11722echo "$as_me:$LINENO:" \
11723 "checking for C++ compiler version" >&5
11724ac_compiler=`set X $ac_compile; echo $2`
11725{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11726 (eval $ac_compiler --version </dev/null >&5) 2>&5
11727 ac_status=$?
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }
11730{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11731 (eval $ac_compiler -v </dev/null >&5) 2>&5
11732 ac_status=$?
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }
11735{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11736 (eval $ac_compiler -V </dev/null >&5) 2>&5
11737 ac_status=$?
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }
11740
11741echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11742echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11743if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11745else
11746 cat >conftest.$ac_ext <<_ACEOF
11747/* confdefs.h. */
11748_ACEOF
11749cat confdefs.h >>conftest.$ac_ext
11750cat >>conftest.$ac_ext <<_ACEOF
11751/* end confdefs.h. */
11752
11753int
11754main ()
11755{
11756#ifndef __GNUC__
11757 choke me
11758#endif
11759
11760 ;
11761 return 0;
11762}
11763_ACEOF
11764rm -f conftest.$ac_objext
11765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11766 (eval $ac_compile) 2>conftest.er1
a848cd7e 11767 ac_status=$?
ac1cb8d3
VS
11768 grep -v '^ *+' conftest.er1 >conftest.err
11769 rm -f conftest.er1
11770 cat conftest.err >&5
a848cd7e
SC
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
fc480dc1
DE
11773 { ac_try='test -z "$ac_cxx_werror_flag"
11774 || test ! -s conftest.err'
ac1cb8d3
VS
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11777 ac_status=$?
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; } &&
11780 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11783 ac_status=$?
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_compiler_gnu=yes
11787else
11788 echo "$as_me: failed program was:" >&5
11789sed 's/^/| /' conftest.$ac_ext >&5
11790
11791ac_compiler_gnu=no
11792fi
ac1cb8d3 11793rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11794ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11795
11796fi
11797echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11798echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11799GXX=`test $ac_compiler_gnu = yes && echo yes`
11800ac_test_CXXFLAGS=${CXXFLAGS+set}
11801ac_save_CXXFLAGS=$CXXFLAGS
11802CXXFLAGS="-g"
11803echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11804echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11805if test "${ac_cv_prog_cxx_g+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11807else
11808 cat >conftest.$ac_ext <<_ACEOF
11809/* confdefs.h. */
11810_ACEOF
11811cat confdefs.h >>conftest.$ac_ext
11812cat >>conftest.$ac_ext <<_ACEOF
11813/* end confdefs.h. */
11814
11815int
11816main ()
11817{
11818
11819 ;
11820 return 0;
11821}
11822_ACEOF
11823rm -f conftest.$ac_objext
11824if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11825 (eval $ac_compile) 2>conftest.er1
a848cd7e 11826 ac_status=$?
ac1cb8d3
VS
11827 grep -v '^ *+' conftest.er1 >conftest.err
11828 rm -f conftest.er1
11829 cat conftest.err >&5
a848cd7e
SC
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
fc480dc1
DE
11832 { ac_try='test -z "$ac_cxx_werror_flag"
11833 || test ! -s conftest.err'
ac1cb8d3
VS
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11836 ac_status=$?
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11842 ac_status=$?
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 ac_cv_prog_cxx_g=yes
11846else
11847 echo "$as_me: failed program was:" >&5
11848sed 's/^/| /' conftest.$ac_ext >&5
11849
11850ac_cv_prog_cxx_g=no
11851fi
ac1cb8d3 11852rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11853fi
11854echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11855echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11856if test "$ac_test_CXXFLAGS" = set; then
11857 CXXFLAGS=$ac_save_CXXFLAGS
11858elif test $ac_cv_prog_cxx_g = yes; then
11859 if test "$GXX" = yes; then
11860 CXXFLAGS="-g -O2"
11861 else
11862 CXXFLAGS="-g"
11863 fi
11864else
11865 if test "$GXX" = yes; then
11866 CXXFLAGS="-O2"
11867 else
11868 CXXFLAGS=
11869 fi
11870fi
11871for ac_declaration in \
ac1cb8d3 11872 '' \
a848cd7e
SC
11873 'extern "C" void std::exit (int) throw (); using std::exit;' \
11874 'extern "C" void std::exit (int); using std::exit;' \
11875 'extern "C" void exit (int) throw ();' \
11876 'extern "C" void exit (int);' \
11877 'void exit (int);'
11878do
11879 cat >conftest.$ac_ext <<_ACEOF
11880/* confdefs.h. */
11881_ACEOF
11882cat confdefs.h >>conftest.$ac_ext
11883cat >>conftest.$ac_ext <<_ACEOF
11884/* end confdefs.h. */
de59c161 11885$ac_declaration
ac1cb8d3 11886#include <stdlib.h>
a848cd7e
SC
11887int
11888main ()
11889{
11890exit (42);
11891 ;
11892 return 0;
11893}
11894_ACEOF
11895rm -f conftest.$ac_objext
11896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11897 (eval $ac_compile) 2>conftest.er1
a848cd7e 11898 ac_status=$?
ac1cb8d3
VS
11899 grep -v '^ *+' conftest.er1 >conftest.err
11900 rm -f conftest.er1
11901 cat conftest.err >&5
a848cd7e
SC
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } &&
fc480dc1
DE
11904 { ac_try='test -z "$ac_cxx_werror_flag"
11905 || test ! -s conftest.err'
ac1cb8d3
VS
11906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11907 (eval $ac_try) 2>&5
11908 ac_status=$?
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }; } &&
11911 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11913 (eval $ac_try) 2>&5
11914 ac_status=$?
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); }; }; then
11917 :
11918else
11919 echo "$as_me: failed program was:" >&5
11920sed 's/^/| /' conftest.$ac_ext >&5
11921
11922continue
11923fi
ac1cb8d3 11924rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11925 cat >conftest.$ac_ext <<_ACEOF
11926/* confdefs.h. */
11927_ACEOF
11928cat confdefs.h >>conftest.$ac_ext
11929cat >>conftest.$ac_ext <<_ACEOF
11930/* end confdefs.h. */
11931$ac_declaration
11932int
11933main ()
11934{
11935exit (42);
11936 ;
11937 return 0;
11938}
11939_ACEOF
11940rm -f conftest.$ac_objext
11941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11942 (eval $ac_compile) 2>conftest.er1
a848cd7e 11943 ac_status=$?
ac1cb8d3
VS
11944 grep -v '^ *+' conftest.er1 >conftest.err
11945 rm -f conftest.er1
11946 cat conftest.err >&5
a848cd7e
SC
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
fc480dc1
DE
11949 { ac_try='test -z "$ac_cxx_werror_flag"
11950 || test ! -s conftest.err'
ac1cb8d3
VS
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11953 ac_status=$?
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; } &&
11956 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11958 (eval $ac_try) 2>&5
11959 ac_status=$?
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); }; }; then
11962 break
11963else
11964 echo "$as_me: failed program was:" >&5
11965sed 's/^/| /' conftest.$ac_ext >&5
11966
11967fi
ac1cb8d3 11968rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11969done
11970rm -f conftest*
11971if test -n "$ac_declaration"; then
11972 echo '#ifdef __cplusplus' >>confdefs.h
11973 echo $ac_declaration >>confdefs.h
11974 echo '#endif' >>confdefs.h
11975fi
11976
11977ac_ext=cc
11978ac_cpp='$CXXCPP $CPPFLAGS'
11979ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11980ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11981ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11982
11983
11984ac_ext=c
11985ac_cpp='$CPP $CPPFLAGS'
11986ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11987ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11988ac_compiler_gnu=$ac_cv_c_compiler_gnu
11989
11990
a848cd7e
SC
11991if test -n "$ac_tool_prefix"; then
11992 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11993set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11994echo "$as_me:$LINENO: checking for $ac_word" >&5
11995echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11996if test "${ac_cv_prog_RANLIB+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11998else
11999 if test -n "$RANLIB"; then
12000 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12001else
12002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12003for as_dir in $PATH
12004do
12005 IFS=$as_save_IFS
12006 test -z "$as_dir" && as_dir=.
12007 for ac_exec_ext in '' $ac_executable_extensions; do
12008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12009 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 break 2
12012 fi
12013done
12014done
12015
12016fi
12017fi
12018RANLIB=$ac_cv_prog_RANLIB
12019if test -n "$RANLIB"; then
12020 echo "$as_me:$LINENO: result: $RANLIB" >&5
12021echo "${ECHO_T}$RANLIB" >&6
12022else
12023 echo "$as_me:$LINENO: result: no" >&5
12024echo "${ECHO_T}no" >&6
12025fi
12026
12027fi
12028if test -z "$ac_cv_prog_RANLIB"; then
12029 ac_ct_RANLIB=$RANLIB
12030 # Extract the first word of "ranlib", so it can be a program name with args.
12031set dummy ranlib; ac_word=$2
12032echo "$as_me:$LINENO: checking for $ac_word" >&5
12033echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12034if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12036else
12037 if test -n "$ac_ct_RANLIB"; then
12038 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12039else
12040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041for as_dir in $PATH
12042do
12043 IFS=$as_save_IFS
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12047 ac_cv_prog_ac_ct_RANLIB="ranlib"
12048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12049 break 2
12050 fi
12051done
12052done
12053
12054 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12055fi
12056fi
12057ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12058if test -n "$ac_ct_RANLIB"; then
12059 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12060echo "${ECHO_T}$ac_ct_RANLIB" >&6
12061else
12062 echo "$as_me:$LINENO: result: no" >&5
12063echo "${ECHO_T}no" >&6
12064fi
12065
12066 RANLIB=$ac_ct_RANLIB
12067else
12068 RANLIB="$ac_cv_prog_RANLIB"
12069fi
12070
12071
12072# Extract the first word of "ar", so it can be a program name with args.
12073set dummy ar; ac_word=$2
12074echo "$as_me:$LINENO: checking for $ac_word" >&5
12075echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12076if test "${ac_cv_prog_AR+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12078else
12079 if test -n "$AR"; then
12080 ac_cv_prog_AR="$AR" # Let the user override the test.
12081else
12082as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12083for as_dir in $PATH
12084do
12085 IFS=$as_save_IFS
12086 test -z "$as_dir" && as_dir=.
12087 for ac_exec_ext in '' $ac_executable_extensions; do
12088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12089 ac_cv_prog_AR="ar"
12090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 break 2
12092 fi
12093done
12094done
12095
12096fi
12097fi
12098AR=$ac_cv_prog_AR
12099if test -n "$AR"; then
12100 echo "$as_me:$LINENO: result: $AR" >&5
12101echo "${ECHO_T}$AR" >&6
12102else
12103 echo "$as_me:$LINENO: result: no" >&5
12104echo "${ECHO_T}no" >&6
12105fi
12106
12107if test "x$AR" = "x" ; then
77ffb593
JS
12108 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12109echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
a848cd7e
SC
12110 { (exit 1); exit 1; }; }
12111fi
12112
12113# Find a good install program. We prefer a C program (faster),
12114# so one script is as good as another. But avoid the broken or
12115# incompatible versions:
12116# SysV /etc/install, /usr/sbin/install
12117# SunOS /usr/etc/install
12118# IRIX /sbin/install
12119# AIX /bin/install
12120# AmigaOS /C/install, which installs bootblocks on floppy discs
12121# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12122# AFS /usr/afsws/bin/install, which mishandles nonexistent args
12123# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
ac1cb8d3 12124# OS/2's system install, which has a completely different semantic
a848cd7e
SC
12125# ./install, which can be erroneously created by make from ./install.sh.
12126echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12127echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12128if test -z "$INSTALL"; then
12129if test "${ac_cv_path_install+set}" = set; then
12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12131else
12132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12133for as_dir in $PATH
12134do
12135 IFS=$as_save_IFS
12136 test -z "$as_dir" && as_dir=.
12137 # Account for people who put trailing slashes in PATH elements.
12138case $as_dir/ in
12139 ./ | .// | /cC/* | \
12140 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
ac1cb8d3 12141 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
a848cd7e
SC
12142 /usr/ucb/* ) ;;
12143 *)
12144 # OSF1 and SCO ODT 3.0 have their own names for install.
12145 # Don't use installbsd from OSF since it installs stuff as root
12146 # by default.
12147 for ac_prog in ginstall scoinst install; do
12148 for ac_exec_ext in '' $ac_executable_extensions; do
ac1cb8d3
VS
12149 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12150 if test $ac_prog = install &&
12151 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12152 # AIX install. It has an incompatible calling convention.
12153 :
12154 elif test $ac_prog = install &&
12155 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12156 # program-specific install script used by HP pwplus--don't use.
12157 :
12158 else
12159 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12160 break 3
12161 fi
12162 fi
a848cd7e
SC
12163 done
12164 done
12165 ;;
12166esac
12167done
12168
12169
12170fi
12171 if test "${ac_cv_path_install+set}" = set; then
12172 INSTALL=$ac_cv_path_install
12173 else
12174 # As a last resort, use the slow shell script. We don't cache a
12175 # path for INSTALL within a source directory, because that will
12176 # break other packages using the cache if that directory is
12177 # removed, or if the path is relative.
12178 INSTALL=$ac_install_sh
12179 fi
12180fi
12181echo "$as_me:$LINENO: result: $INSTALL" >&5
12182echo "${ECHO_T}$INSTALL" >&6
12183
12184# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12185# It thinks the first close brace ends the variable substitution.
12186test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12187
12188test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12189
12190test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12191
12192
12193case ${INSTALL} in
12194 /* ) # Absolute
12195 ;;
12196 ?:* ) # Drive letter, considered as absolute.
12197 ;;
12198 *)
12199 INSTALL=`pwd`/${INSTALL} ;;
12200esac
12201
a848cd7e
SC
12202
12203case "${host}" in
12204
12205 powerpc-*-darwin* )
12206 INSTALL_PROGRAM="cp -fp"
12207 INSTALL_DATA="cp -fp"
12208 ;;
12209 *)
12210 ;;
12211esac
12212
12213# Extract the first word of "strip", so it can be a program name with args.
12214set dummy strip; ac_word=$2
12215echo "$as_me:$LINENO: checking for $ac_word" >&5
12216echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12217if test "${ac_cv_prog_STRIP+set}" = set; then
12218 echo $ECHO_N "(cached) $ECHO_C" >&6
12219else
12220 if test -n "$STRIP"; then
12221 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12222else
12223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12224for as_dir in $PATH
12225do
12226 IFS=$as_save_IFS
12227 test -z "$as_dir" && as_dir=.
12228 for ac_exec_ext in '' $ac_executable_extensions; do
12229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12230 ac_cv_prog_STRIP="strip"
12231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12232 break 2
12233 fi
12234done
12235done
12236
12237 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12238fi
12239fi
12240STRIP=$ac_cv_prog_STRIP
12241if test -n "$STRIP"; then
12242 echo "$as_me:$LINENO: result: $STRIP" >&5
12243echo "${ECHO_T}$STRIP" >&6
12244else
12245 echo "$as_me:$LINENO: result: no" >&5
12246echo "${ECHO_T}no" >&6
12247fi
12248
12249
12250echo "$as_me:$LINENO: checking if make is GNU make" >&5
12251echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12252if test "${wx_cv_prog_makeisgnu+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12254else
12255
12256 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12257 egrep -s GNU > /dev/null); then
12258 wx_cv_prog_makeisgnu="yes"
12259 else
12260 wx_cv_prog_makeisgnu="no"
12261 fi
12262
12263fi
12264echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12265echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12266
12267if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12268 IF_GNU_MAKE=""
12269else
12270 IF_GNU_MAKE="#"
12271fi
12272
12273
12274
12275if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12276echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12277echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12278if test "${wx_cv_prog_makevpath+set}" = set; then
12279 echo $ECHO_N "(cached) $ECHO_C" >&6
12280else
12281
12282cat - << EOF > confMake
12283check : file
12284 cp \$? \$@
12285 cp \$? final_file
12286EOF
12287
12288if test ! -d sub ; then
12289 mkdir sub
12290fi
12291echo dummy > sub/file
12292${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12293RESULT=$?
12294rm -f sub/file check final_file confMake
12295rmdir sub
12296if test "$RESULT" = 0; then
12297 wx_cv_prog_makevpath="yes"
12298else
12299 wx_cv_prog_makevpath="no"
12300fi
12301
12302fi
12303echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12304echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12305
12306if test "x$wx_cv_prog_makevpath" != "xyes"; then
12307{ { echo "$as_me:$LINENO: error:
12308You need a make-utility that is able to use the variable
12309VPATH correctly.
12310If your version of make does not support VPATH correctly,
12311please install GNU-make (possibly as gmake), and start
12312configure with the following command:
12313export MAKE=gmake; ./configure for sh-type shells
12314setenv MAKE gmake; ./configure for csh-type shells
12315Also please do remember to use gmake in this case every time
12316you are trying to compile.
12317" >&5
12318echo "$as_me: error:
12319You need a make-utility that is able to use the variable
12320VPATH correctly.
12321If your version of make does not support VPATH correctly,
12322please install GNU-make (possibly as gmake), and start
12323configure with the following command:
12324export MAKE=gmake; ./configure for sh-type shells
12325setenv MAKE gmake; ./configure for csh-type shells
12326Also please do remember to use gmake in this case every time
12327you are trying to compile.
12328" >&2;}
12329 { (exit 1); exit 1; }; }
12330fi fi
12331echo "$as_me:$LINENO: checking whether ln -s works" >&5
12332echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12333LN_S=$as_ln_s
12334if test "$LN_S" = "ln -s"; then
12335 echo "$as_me:$LINENO: result: yes" >&5
12336echo "${ECHO_T}yes" >&6
12337else
12338 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12339echo "${ECHO_T}no, using $LN_S" >&6
12340fi
12341
12342
12343
12344case "${host}" in
12345 *-pc-os2_emx | *-pc-os2-emx )
12346 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12347 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12348echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12349if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351else
12352 ac_check_lib_save_LIBS=$LIBS
12353LIBS="-lcExt $LIBS"
12354cat >conftest.$ac_ext <<_ACEOF
12355/* confdefs.h. */
12356_ACEOF
12357cat confdefs.h >>conftest.$ac_ext
12358cat >>conftest.$ac_ext <<_ACEOF
12359/* end confdefs.h. */
12360
12361/* Override any gcc2 internal prototype to avoid an error. */
12362#ifdef __cplusplus
12363extern "C"
12364#endif
12365/* We use char because int might match the return type of a gcc2
12366 builtin and then its argument prototype would still apply. */
12367char drand48 ();
12368int
12369main ()
12370{
12371drand48 ();
12372 ;
12373 return 0;
12374}
12375_ACEOF
12376rm -f conftest.$ac_objext conftest$ac_exeext
12377if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 12378 (eval $ac_link) 2>conftest.er1
a848cd7e 12379 ac_status=$?
ac1cb8d3
VS
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
a848cd7e
SC
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
fc480dc1
DE
12385 { ac_try='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
ac1cb8d3
VS
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12395 ac_status=$?
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 ac_cv_lib_cExt_drand48=yes
12399else
12400 echo "$as_me: failed program was:" >&5
12401sed 's/^/| /' conftest.$ac_ext >&5
12402
12403ac_cv_lib_cExt_drand48=no
12404fi
ac1cb8d3
VS
12405rm -f conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
12407LIBS=$ac_check_lib_save_LIBS
12408fi
12409echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12410echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12411if test $ac_cv_lib_cExt_drand48 = yes; then
12412 LIBS="$LIBS -lcExt"
12413fi
12414
12415 else
12416 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12417 fi
12418 echo "$as_me:$LINENO: checking for gcc version" >&5
12419echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12420if test "${wx_cv_gccversion+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12422else
12423
12424 cat >conftest.$ac_ext <<_ACEOF
12425/* confdefs.h. */
12426_ACEOF
12427cat confdefs.h >>conftest.$ac_ext
12428cat >>conftest.$ac_ext <<_ACEOF
12429/* end confdefs.h. */
12430
12431int
12432main ()
12433{
12434
12435 #if (__GNUC__ < 3)
12436 #error old gcc
12437 #endif
12438
12439 ;
12440 return 0;
12441}
12442_ACEOF
12443rm -f conftest.$ac_objext
12444if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12445 (eval $ac_compile) 2>conftest.er1
a848cd7e 12446 ac_status=$?
ac1cb8d3
VS
12447 grep -v '^ *+' conftest.er1 >conftest.err
12448 rm -f conftest.er1
12449 cat conftest.err >&5
a848cd7e
SC
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
fc480dc1
DE
12452 { ac_try='test -z "$ac_c_werror_flag"
12453 || test ! -s conftest.err'
ac1cb8d3
VS
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12456 ac_status=$?
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12462 ac_status=$?
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; }; then
12465
12466 cat >conftest.$ac_ext <<_ACEOF
12467/* confdefs.h. */
12468_ACEOF
12469cat confdefs.h >>conftest.$ac_ext
12470cat >>conftest.$ac_ext <<_ACEOF
12471/* end confdefs.h. */
12472
12473int
12474main ()
12475{
12476
12477 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12478 #error intermediate gcc
12479 #endif
12480
12481 ;
12482 return 0;
12483}
12484_ACEOF
12485rm -f conftest.$ac_objext
12486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12487 (eval $ac_compile) 2>conftest.er1
a848cd7e 12488 ac_status=$?
ac1cb8d3
VS
12489 grep -v '^ *+' conftest.er1 >conftest.err
12490 rm -f conftest.er1
12491 cat conftest.err >&5
a848cd7e
SC
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); } &&
fc480dc1
DE
12494 { ac_try='test -z "$ac_c_werror_flag"
12495 || test ! -s conftest.err'
ac1cb8d3
VS
12496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497 (eval $ac_try) 2>&5
12498 ac_status=$?
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }; } &&
12501 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 (eval $ac_try) 2>&5
12504 ac_status=$?
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; }; then
12507
12508 wx_cv_gccversion=Innotek
12509
12510else
12511 echo "$as_me: failed program was:" >&5
12512sed 's/^/| /' conftest.$ac_ext >&5
12513
12514
12515 wx_cv_gccversion=3
12516
12517
12518fi
ac1cb8d3 12519rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12520
12521else
12522 echo "$as_me: failed program was:" >&5
12523sed 's/^/| /' conftest.$ac_ext >&5
12524
12525
12526 wx_cv_gccversion=2
12527
12528
12529fi
ac1cb8d3 12530rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12531
12532fi
12533echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12534echo "${ECHO_T}$wx_cv_gccversion" >&6
12535 if test "$wx_cv_gccversion" = "2"; then
12536 LIBS="$LIBS -lstdcpp"
12537 LDFLAGS="$LDFLAGS -Zsysv-signals"
12538 else
12539 if test "$wx_cv_gccversion" = "3"; then
12540 LIBS="$LIBS -lstdcxx"
12541 LDFLAGS="$LDFLAGS -Zsysv-signals"
12542 else
12543 LIBS="$LIBS -lstdc++"
12544 fi
12545 fi
12546 if test "$wxUSE_OMF" = "yes"; then
de59c161 12547 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
a848cd7e
SC
12548 fi
12549 ;;
12550 *)
12551
12552
12553
12554 ac_ext=cc
12555ac_cpp='$CXXCPP $CPPFLAGS'
12556ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12559
12560
12561
12562echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12563echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12564if test "${ac_cv_string_strcasecmp+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12566else
12567
12568 cat >conftest.$ac_ext <<_ACEOF
12569/* confdefs.h. */
12570_ACEOF
12571cat confdefs.h >>conftest.$ac_ext
12572cat >>conftest.$ac_ext <<_ACEOF
12573/* end confdefs.h. */
12574
12575 #include <string.h>
12576
12577int
12578main ()
12579{
12580
12581 strcasecmp("foo", "bar");
12582
12583 ;
12584 return 0;
12585}
12586_ACEOF
12587rm -f conftest.$ac_objext conftest$ac_exeext
12588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 12589 (eval $ac_link) 2>conftest.er1
a848cd7e 12590 ac_status=$?
ac1cb8d3
VS
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
a848cd7e
SC
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } &&
fc480dc1
DE
12596 { ac_try='test -z "$ac_cxx_werror_flag"
12597 || test ! -s conftest.err'
ac1cb8d3
VS
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12600 ac_status=$?
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12606 ac_status=$?
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 ac_cv_string_strcasecmp=yes
12610else
12611 echo "$as_me: failed program was:" >&5
12612sed 's/^/| /' conftest.$ac_ext >&5
12613
12614ac_cv_string_strcasecmp=no
12615
12616fi
ac1cb8d3
VS
12617rm -f conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
12619
12620fi
12621echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12622echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12623
12624 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12625 cat >>confdefs.h <<\_ACEOF
12626#define HAVE_STRCASECMP_IN_STRING_H 1
12627_ACEOF
12628
12629 else
12630 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12631echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12632if test "${ac_cv_strings_strcasecmp+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12634else
12635
12636 cat >conftest.$ac_ext <<_ACEOF
12637/* confdefs.h. */
12638_ACEOF
12639cat confdefs.h >>conftest.$ac_ext
12640cat >>conftest.$ac_ext <<_ACEOF
12641/* end confdefs.h. */
12642
12643 #include <strings.h>
12644
12645int
12646main ()
12647{
12648
12649 strcasecmp("foo", "bar");
12650
12651 ;
12652 return 0;
12653}
12654_ACEOF
12655rm -f conftest.$ac_objext conftest$ac_exeext
12656if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 12657 (eval $ac_link) 2>conftest.er1
a848cd7e 12658 ac_status=$?
ac1cb8d3
VS
12659 grep -v '^ *+' conftest.er1 >conftest.err
12660 rm -f conftest.er1
12661 cat conftest.err >&5
a848cd7e
SC
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
fc480dc1
DE
12664 { ac_try='test -z "$ac_cxx_werror_flag"
12665 || test ! -s conftest.err'
ac1cb8d3
VS
12666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667 (eval $ac_try) 2>&5
12668 ac_status=$?
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; } &&
12671 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12674 ac_status=$?
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; }; then
12677 ac_cv_strings_strcasecmp=yes
12678else
12679 echo "$as_me: failed program was:" >&5
12680sed 's/^/| /' conftest.$ac_ext >&5
12681
12682ac_cv_strings_strcasecmp=no
12683
12684fi
ac1cb8d3
VS
12685rm -f conftest.err conftest.$ac_objext \
12686 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
12687
12688fi
12689echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12690echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12691
0c3c69fc 12692 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
a848cd7e
SC
12693 cat >>confdefs.h <<\_ACEOF
12694#define HAVE_STRCASECMP_IN_STRINGS_H 1
12695_ACEOF
12696
12697 else
12698 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12699echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12700 { (exit 1); exit 1; }; }
12701 fi
12702 fi
12703
12704 ac_ext=c
12705ac_cpp='$CPP $CPPFLAGS'
12706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12708ac_compiler_gnu=$ac_cv_c_compiler_gnu
12709
12710 ;;
12711esac
12712
12713
12714echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12715echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12716if test "${ac_cv_header_stdc+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12718else
12719 cat >conftest.$ac_ext <<_ACEOF
12720/* confdefs.h. */
12721_ACEOF
12722cat confdefs.h >>conftest.$ac_ext
12723cat >>conftest.$ac_ext <<_ACEOF
12724/* end confdefs.h. */
12725#include <stdlib.h>
12726#include <stdarg.h>
12727#include <string.h>
12728#include <float.h>
12729
12730int
12731main ()
12732{
12733
12734 ;
12735 return 0;
12736}
12737_ACEOF
12738rm -f conftest.$ac_objext
12739if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12740 (eval $ac_compile) 2>conftest.er1
a848cd7e 12741 ac_status=$?
ac1cb8d3
VS
12742 grep -v '^ *+' conftest.er1 >conftest.err
12743 rm -f conftest.er1
12744 cat conftest.err >&5
a848cd7e
SC
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
fc480dc1
DE
12747 { ac_try='test -z "$ac_c_werror_flag"
12748 || test ! -s conftest.err'
ac1cb8d3
VS
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12751 ac_status=$?
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12757 ac_status=$?
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_cv_header_stdc=yes
12761else
12762 echo "$as_me: failed program was:" >&5
12763sed 's/^/| /' conftest.$ac_ext >&5
12764
12765ac_cv_header_stdc=no
12766fi
ac1cb8d3 12767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12768
12769if test $ac_cv_header_stdc = yes; then
12770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12771 cat >conftest.$ac_ext <<_ACEOF
12772/* confdefs.h. */
12773_ACEOF
12774cat confdefs.h >>conftest.$ac_ext
12775cat >>conftest.$ac_ext <<_ACEOF
12776/* end confdefs.h. */
12777#include <string.h>
12778
12779_ACEOF
12780if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12781 $EGREP "memchr" >/dev/null 2>&1; then
12782 :
12783else
12784 ac_cv_header_stdc=no
12785fi
12786rm -f conftest*
12787
12788fi
12789
12790if test $ac_cv_header_stdc = yes; then
12791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12792 cat >conftest.$ac_ext <<_ACEOF
12793/* confdefs.h. */
12794_ACEOF
12795cat confdefs.h >>conftest.$ac_ext
12796cat >>conftest.$ac_ext <<_ACEOF
12797/* end confdefs.h. */
12798#include <stdlib.h>
12799
12800_ACEOF
12801if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12802 $EGREP "free" >/dev/null 2>&1; then
12803 :
12804else
12805 ac_cv_header_stdc=no
12806fi
12807rm -f conftest*
12808
12809fi
12810
12811if test $ac_cv_header_stdc = yes; then
12812 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12813 if test "$cross_compiling" = yes; then
12814 :
12815else
12816 cat >conftest.$ac_ext <<_ACEOF
12817/* confdefs.h. */
12818_ACEOF
12819cat confdefs.h >>conftest.$ac_ext
12820cat >>conftest.$ac_ext <<_ACEOF
12821/* end confdefs.h. */
12822#include <ctype.h>
12823#if ((' ' & 0x0FF) == 0x020)
12824# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12825# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12826#else
12827# define ISLOWER(c) \
ac1cb8d3
VS
12828 (('a' <= (c) && (c) <= 'i') \
12829 || ('j' <= (c) && (c) <= 'r') \
12830 || ('s' <= (c) && (c) <= 'z'))
a848cd7e
SC
12831# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12832#endif
12833
12834#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12835int
12836main ()
12837{
12838 int i;
12839 for (i = 0; i < 256; i++)
12840 if (XOR (islower (i), ISLOWER (i))
ac1cb8d3 12841 || toupper (i) != TOUPPER (i))
a848cd7e
SC
12842 exit(2);
12843 exit (0);
12844}
12845_ACEOF
12846rm -f conftest$ac_exeext
12847if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12848 (eval $ac_link) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12854 ac_status=$?
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; }; then
12857 :
12858else
12859 echo "$as_me: program exited with status $ac_status" >&5
12860echo "$as_me: failed program was:" >&5
12861sed 's/^/| /' conftest.$ac_ext >&5
12862
12863( exit $ac_status )
12864ac_cv_header_stdc=no
12865fi
ac1cb8d3 12866rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12867fi
12868fi
12869fi
12870echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12871echo "${ECHO_T}$ac_cv_header_stdc" >&6
12872if test $ac_cv_header_stdc = yes; then
12873
12874cat >>confdefs.h <<\_ACEOF
12875#define STDC_HEADERS 1
12876_ACEOF
12877
12878fi
12879
12880# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
ac1cb8d3 12891 inttypes.h stdint.h unistd.h
a848cd7e
SC
12892do
12893as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12894echo "$as_me:$LINENO: checking for $ac_header" >&5
12895echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12896if eval "test \"\${$as_ac_Header+set}\" = set"; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898else
12899 cat >conftest.$ac_ext <<_ACEOF
12900/* confdefs.h. */
12901_ACEOF
12902cat confdefs.h >>conftest.$ac_ext
12903cat >>conftest.$ac_ext <<_ACEOF
12904/* end confdefs.h. */
12905$ac_includes_default
12906
12907#include <$ac_header>
12908_ACEOF
12909rm -f conftest.$ac_objext
12910if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12911 (eval $ac_compile) 2>conftest.er1
a848cd7e 12912 ac_status=$?
ac1cb8d3
VS
12913 grep -v '^ *+' conftest.er1 >conftest.err
12914 rm -f conftest.er1
12915 cat conftest.err >&5
a848cd7e
SC
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); } &&
fc480dc1
DE
12918 { ac_try='test -z "$ac_c_werror_flag"
12919 || test ! -s conftest.err'
ac1cb8d3
VS
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12922 ac_status=$?
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; } &&
12925 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12928 ac_status=$?
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; }; then
12931 eval "$as_ac_Header=yes"
12932else
12933 echo "$as_me: failed program was:" >&5
12934sed 's/^/| /' conftest.$ac_ext >&5
12935
12936eval "$as_ac_Header=no"
12937fi
ac1cb8d3 12938rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12939fi
12940echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12941echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12942if test `eval echo '${'$as_ac_Header'}'` = yes; then
12943 cat >>confdefs.h <<_ACEOF
12944#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12945_ACEOF
12946
12947fi
12948
12949done
12950
12951
12952
12953for ac_header in stdlib.h
12954do
12955as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12956if eval "test \"\${$as_ac_Header+set}\" = set"; then
12957 echo "$as_me:$LINENO: checking for $ac_header" >&5
12958echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12959if eval "test \"\${$as_ac_Header+set}\" = set"; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12961fi
12962echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12963echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12964else
12965 # Is the header compilable?
12966echo "$as_me:$LINENO: checking $ac_header usability" >&5
12967echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12968cat >conftest.$ac_ext <<_ACEOF
12969/* confdefs.h. */
12970_ACEOF
12971cat confdefs.h >>conftest.$ac_ext
12972cat >>conftest.$ac_ext <<_ACEOF
12973/* end confdefs.h. */
12974$ac_includes_default
12975#include <$ac_header>
12976_ACEOF
12977rm -f conftest.$ac_objext
12978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12979 (eval $ac_compile) 2>conftest.er1
a848cd7e 12980 ac_status=$?
ac1cb8d3
VS
12981 grep -v '^ *+' conftest.er1 >conftest.err
12982 rm -f conftest.er1
12983 cat conftest.err >&5
a848cd7e
SC
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } &&
fc480dc1
DE
12986 { ac_try='test -z "$ac_c_werror_flag"
12987 || test ! -s conftest.err'
ac1cb8d3
VS
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 ac_header_compiler=yes
13000else
13001 echo "$as_me: failed program was:" >&5
13002sed 's/^/| /' conftest.$ac_ext >&5
13003
13004ac_header_compiler=no
13005fi
ac1cb8d3 13006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13007echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13008echo "${ECHO_T}$ac_header_compiler" >&6
13009
13010# Is the header present?
13011echo "$as_me:$LINENO: checking $ac_header presence" >&5
13012echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13013cat >conftest.$ac_ext <<_ACEOF
13014/* confdefs.h. */
13015_ACEOF
13016cat confdefs.h >>conftest.$ac_ext
13017cat >>conftest.$ac_ext <<_ACEOF
13018/* end confdefs.h. */
13019#include <$ac_header>
13020_ACEOF
13021if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13023 ac_status=$?
13024 grep -v '^ *+' conftest.er1 >conftest.err
13025 rm -f conftest.er1
13026 cat conftest.err >&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); } >/dev/null; then
13029 if test -s conftest.err; then
13030 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13032 else
13033 ac_cpp_err=
13034 fi
13035else
13036 ac_cpp_err=yes
13037fi
13038if test -z "$ac_cpp_err"; then
13039 ac_header_preproc=yes
13040else
13041 echo "$as_me: failed program was:" >&5
13042sed 's/^/| /' conftest.$ac_ext >&5
13043
13044 ac_header_preproc=no
13045fi
13046rm -f conftest.err conftest.$ac_ext
13047echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13048echo "${ECHO_T}$ac_header_preproc" >&6
13049
13050# So? What about this header?
ac1cb8d3
VS
13051case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13052 yes:no: )
a848cd7e
SC
13053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13054echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13056echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13057 ac_header_preproc=yes
a848cd7e 13058 ;;
ac1cb8d3 13059 no:yes:* )
a848cd7e
SC
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13061echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13063echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13065echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13067echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13069echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13071echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13072 (
13073 cat <<\_ASBOX
ac1cb8d3
VS
13074## ----------------------------------------- ##
13075## Report this to wx-dev@lists.wxwidgets.org ##
13076## ----------------------------------------- ##
a848cd7e
SC
13077_ASBOX
13078 ) |
13079 sed "s/^/$as_me: WARNING: /" >&2
13080 ;;
13081esac
13082echo "$as_me:$LINENO: checking for $ac_header" >&5
13083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13084if eval "test \"\${$as_ac_Header+set}\" = set"; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13086else
ac1cb8d3 13087 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13088fi
13089echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13090echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13091
13092fi
13093if test `eval echo '${'$as_ac_Header'}'` = yes; then
13094 cat >>confdefs.h <<_ACEOF
13095#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13096_ACEOF
13097
13098fi
13099
13100done
13101
13102
13103for ac_header in malloc.h
13104do
13105as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13106if eval "test \"\${$as_ac_Header+set}\" = set"; then
13107 echo "$as_me:$LINENO: checking for $ac_header" >&5
13108echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13109if eval "test \"\${$as_ac_Header+set}\" = set"; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6
13111fi
13112echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13113echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13114else
13115 # Is the header compilable?
13116echo "$as_me:$LINENO: checking $ac_header usability" >&5
13117echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13118cat >conftest.$ac_ext <<_ACEOF
13119/* confdefs.h. */
13120_ACEOF
13121cat confdefs.h >>conftest.$ac_ext
13122cat >>conftest.$ac_ext <<_ACEOF
13123/* end confdefs.h. */
13124$ac_includes_default
13125#include <$ac_header>
13126_ACEOF
13127rm -f conftest.$ac_objext
13128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13129 (eval $ac_compile) 2>conftest.er1
a848cd7e 13130 ac_status=$?
ac1cb8d3
VS
13131 grep -v '^ *+' conftest.er1 >conftest.err
13132 rm -f conftest.er1
13133 cat conftest.err >&5
a848cd7e
SC
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
fc480dc1
DE
13136 { ac_try='test -z "$ac_c_werror_flag"
13137 || test ! -s conftest.err'
ac1cb8d3
VS
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13140 ac_status=$?
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; } &&
13143 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13146 ac_status=$?
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; }; then
13149 ac_header_compiler=yes
13150else
13151 echo "$as_me: failed program was:" >&5
13152sed 's/^/| /' conftest.$ac_ext >&5
13153
13154ac_header_compiler=no
13155fi
ac1cb8d3 13156rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13157echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13158echo "${ECHO_T}$ac_header_compiler" >&6
13159
13160# Is the header present?
13161echo "$as_me:$LINENO: checking $ac_header presence" >&5
13162echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13163cat >conftest.$ac_ext <<_ACEOF
13164/* confdefs.h. */
13165_ACEOF
13166cat confdefs.h >>conftest.$ac_ext
13167cat >>conftest.$ac_ext <<_ACEOF
13168/* end confdefs.h. */
13169#include <$ac_header>
13170_ACEOF
13171if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13173 ac_status=$?
13174 grep -v '^ *+' conftest.er1 >conftest.err
13175 rm -f conftest.er1
13176 cat conftest.err >&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } >/dev/null; then
13179 if test -s conftest.err; then
13180 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13181 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13182 else
13183 ac_cpp_err=
13184 fi
13185else
13186 ac_cpp_err=yes
13187fi
13188if test -z "$ac_cpp_err"; then
13189 ac_header_preproc=yes
13190else
13191 echo "$as_me: failed program was:" >&5
13192sed 's/^/| /' conftest.$ac_ext >&5
13193
13194 ac_header_preproc=no
13195fi
13196rm -f conftest.err conftest.$ac_ext
13197echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13198echo "${ECHO_T}$ac_header_preproc" >&6
13199
13200# So? What about this header?
ac1cb8d3
VS
13201case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13202 yes:no: )
a848cd7e
SC
13203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13204echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13206echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13207 ac_header_preproc=yes
a848cd7e 13208 ;;
ac1cb8d3 13209 no:yes:* )
a848cd7e
SC
13210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13211echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13213echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13215echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13217echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13219echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13221echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13222 (
13223 cat <<\_ASBOX
ac1cb8d3
VS
13224## ----------------------------------------- ##
13225## Report this to wx-dev@lists.wxwidgets.org ##
13226## ----------------------------------------- ##
a848cd7e
SC
13227_ASBOX
13228 ) |
13229 sed "s/^/$as_me: WARNING: /" >&2
13230 ;;
13231esac
13232echo "$as_me:$LINENO: checking for $ac_header" >&5
13233echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13234if eval "test \"\${$as_ac_Header+set}\" = set"; then
13235 echo $ECHO_N "(cached) $ECHO_C" >&6
13236else
ac1cb8d3 13237 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13238fi
13239echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13241
13242fi
13243if test `eval echo '${'$as_ac_Header'}'` = yes; then
13244 cat >>confdefs.h <<_ACEOF
13245#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13246_ACEOF
13247
13248fi
13249
13250done
13251
13252
13253for ac_header in unistd.h
13254do
13255as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13256if eval "test \"\${$as_ac_Header+set}\" = set"; then
13257 echo "$as_me:$LINENO: checking for $ac_header" >&5
13258echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13259if eval "test \"\${$as_ac_Header+set}\" = set"; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13261fi
13262echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13263echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13264else
13265 # Is the header compilable?
13266echo "$as_me:$LINENO: checking $ac_header usability" >&5
13267echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13268cat >conftest.$ac_ext <<_ACEOF
13269/* confdefs.h. */
13270_ACEOF
13271cat confdefs.h >>conftest.$ac_ext
13272cat >>conftest.$ac_ext <<_ACEOF
13273/* end confdefs.h. */
13274$ac_includes_default
13275#include <$ac_header>
13276_ACEOF
13277rm -f conftest.$ac_objext
13278if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13279 (eval $ac_compile) 2>conftest.er1
a848cd7e 13280 ac_status=$?
ac1cb8d3
VS
13281 grep -v '^ *+' conftest.er1 >conftest.err
13282 rm -f conftest.er1
13283 cat conftest.err >&5
a848cd7e
SC
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } &&
fc480dc1
DE
13286 { ac_try='test -z "$ac_c_werror_flag"
13287 || test ! -s conftest.err'
ac1cb8d3
VS
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13290 ac_status=$?
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; } &&
13293 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; }; then
13299 ac_header_compiler=yes
13300else
13301 echo "$as_me: failed program was:" >&5
13302sed 's/^/| /' conftest.$ac_ext >&5
13303
13304ac_header_compiler=no
13305fi
ac1cb8d3 13306rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13307echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13308echo "${ECHO_T}$ac_header_compiler" >&6
13309
13310# Is the header present?
13311echo "$as_me:$LINENO: checking $ac_header presence" >&5
13312echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13313cat >conftest.$ac_ext <<_ACEOF
13314/* confdefs.h. */
13315_ACEOF
13316cat confdefs.h >>conftest.$ac_ext
13317cat >>conftest.$ac_ext <<_ACEOF
13318/* end confdefs.h. */
13319#include <$ac_header>
13320_ACEOF
13321if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13323 ac_status=$?
13324 grep -v '^ *+' conftest.er1 >conftest.err
13325 rm -f conftest.er1
13326 cat conftest.err >&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } >/dev/null; then
13329 if test -s conftest.err; then
13330 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13332 else
13333 ac_cpp_err=
13334 fi
13335else
13336 ac_cpp_err=yes
13337fi
13338if test -z "$ac_cpp_err"; then
13339 ac_header_preproc=yes
13340else
13341 echo "$as_me: failed program was:" >&5
13342sed 's/^/| /' conftest.$ac_ext >&5
13343
13344 ac_header_preproc=no
13345fi
13346rm -f conftest.err conftest.$ac_ext
13347echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13348echo "${ECHO_T}$ac_header_preproc" >&6
13349
13350# So? What about this header?
ac1cb8d3
VS
13351case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13352 yes:no: )
a848cd7e
SC
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13354echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13356echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13357 ac_header_preproc=yes
a848cd7e 13358 ;;
ac1cb8d3 13359 no:yes:* )
a848cd7e
SC
13360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13361echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13363echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13365echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13367echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13369echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13371echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13372 (
13373 cat <<\_ASBOX
ac1cb8d3
VS
13374## ----------------------------------------- ##
13375## Report this to wx-dev@lists.wxwidgets.org ##
13376## ----------------------------------------- ##
a848cd7e
SC
13377_ASBOX
13378 ) |
13379 sed "s/^/$as_me: WARNING: /" >&2
13380 ;;
13381esac
13382echo "$as_me:$LINENO: checking for $ac_header" >&5
13383echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13384if eval "test \"\${$as_ac_Header+set}\" = set"; then
13385 echo $ECHO_N "(cached) $ECHO_C" >&6
13386else
ac1cb8d3 13387 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13388fi
13389echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13390echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13391
13392fi
13393if test `eval echo '${'$as_ac_Header'}'` = yes; then
13394 cat >>confdefs.h <<_ACEOF
13395#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13396_ACEOF
13397
13398fi
13399
13400done
13401
13402
13403for ac_header in wchar.h
13404do
13405as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13406if eval "test \"\${$as_ac_Header+set}\" = set"; then
13407 echo "$as_me:$LINENO: checking for $ac_header" >&5
13408echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13409if eval "test \"\${$as_ac_Header+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13411fi
13412echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13413echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13414else
13415 # Is the header compilable?
13416echo "$as_me:$LINENO: checking $ac_header usability" >&5
13417echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13418cat >conftest.$ac_ext <<_ACEOF
13419/* confdefs.h. */
13420_ACEOF
13421cat confdefs.h >>conftest.$ac_ext
13422cat >>conftest.$ac_ext <<_ACEOF
13423/* end confdefs.h. */
13424$ac_includes_default
13425#include <$ac_header>
13426_ACEOF
13427rm -f conftest.$ac_objext
13428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13429 (eval $ac_compile) 2>conftest.er1
a848cd7e 13430 ac_status=$?
ac1cb8d3
VS
13431 grep -v '^ *+' conftest.er1 >conftest.err
13432 rm -f conftest.er1
13433 cat conftest.err >&5
a848cd7e
SC
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
fc480dc1
DE
13436 { ac_try='test -z "$ac_c_werror_flag"
13437 || test ! -s conftest.err'
ac1cb8d3
VS
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13440 ac_status=$?
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; } &&
13443 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13446 ac_status=$?
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13449 ac_header_compiler=yes
13450else
13451 echo "$as_me: failed program was:" >&5
13452sed 's/^/| /' conftest.$ac_ext >&5
13453
13454ac_header_compiler=no
13455fi
ac1cb8d3 13456rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13457echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13458echo "${ECHO_T}$ac_header_compiler" >&6
13459
13460# Is the header present?
13461echo "$as_me:$LINENO: checking $ac_header presence" >&5
13462echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13463cat >conftest.$ac_ext <<_ACEOF
13464/* confdefs.h. */
13465_ACEOF
13466cat confdefs.h >>conftest.$ac_ext
13467cat >>conftest.$ac_ext <<_ACEOF
13468/* end confdefs.h. */
13469#include <$ac_header>
13470_ACEOF
13471if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13473 ac_status=$?
13474 grep -v '^ *+' conftest.er1 >conftest.err
13475 rm -f conftest.er1
13476 cat conftest.err >&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); } >/dev/null; then
13479 if test -s conftest.err; then
13480 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13482 else
13483 ac_cpp_err=
13484 fi
13485else
13486 ac_cpp_err=yes
13487fi
13488if test -z "$ac_cpp_err"; then
13489 ac_header_preproc=yes
13490else
13491 echo "$as_me: failed program was:" >&5
13492sed 's/^/| /' conftest.$ac_ext >&5
13493
13494 ac_header_preproc=no
13495fi
13496rm -f conftest.err conftest.$ac_ext
13497echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13498echo "${ECHO_T}$ac_header_preproc" >&6
13499
13500# So? What about this header?
ac1cb8d3
VS
13501case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13502 yes:no: )
a848cd7e
SC
13503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13504echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13506echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13507 ac_header_preproc=yes
a848cd7e 13508 ;;
ac1cb8d3 13509 no:yes:* )
a848cd7e
SC
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13511echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13513echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13515echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13517echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13519echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13521echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13522 (
13523 cat <<\_ASBOX
ac1cb8d3
VS
13524## ----------------------------------------- ##
13525## Report this to wx-dev@lists.wxwidgets.org ##
13526## ----------------------------------------- ##
a848cd7e
SC
13527_ASBOX
13528 ) |
13529 sed "s/^/$as_me: WARNING: /" >&2
13530 ;;
13531esac
13532echo "$as_me:$LINENO: checking for $ac_header" >&5
13533echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13534if eval "test \"\${$as_ac_Header+set}\" = set"; then
13535 echo $ECHO_N "(cached) $ECHO_C" >&6
13536else
ac1cb8d3 13537 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13538fi
13539echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13540echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13541
13542fi
13543if test `eval echo '${'$as_ac_Header'}'` = yes; then
13544 cat >>confdefs.h <<_ACEOF
13545#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13546_ACEOF
13547
13548fi
13549
13550done
13551
13552
13553if test "$ac_cv_header_wchar_h" != "yes"; then
13554
13555for ac_header in wcstr.h
13556do
13557as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13558if eval "test \"\${$as_ac_Header+set}\" = set"; then
13559 echo "$as_me:$LINENO: checking for $ac_header" >&5
13560echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13561if eval "test \"\${$as_ac_Header+set}\" = set"; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13563fi
13564echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13565echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13566else
13567 # Is the header compilable?
13568echo "$as_me:$LINENO: checking $ac_header usability" >&5
13569echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13570cat >conftest.$ac_ext <<_ACEOF
13571/* confdefs.h. */
13572_ACEOF
13573cat confdefs.h >>conftest.$ac_ext
13574cat >>conftest.$ac_ext <<_ACEOF
13575/* end confdefs.h. */
13576$ac_includes_default
13577#include <$ac_header>
13578_ACEOF
13579rm -f conftest.$ac_objext
13580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13581 (eval $ac_compile) 2>conftest.er1
a848cd7e 13582 ac_status=$?
ac1cb8d3
VS
13583 grep -v '^ *+' conftest.er1 >conftest.err
13584 rm -f conftest.er1
13585 cat conftest.err >&5
a848cd7e
SC
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); } &&
fc480dc1
DE
13588 { ac_try='test -z "$ac_c_werror_flag"
13589 || test ! -s conftest.err'
ac1cb8d3
VS
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13592 ac_status=$?
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; } &&
13595 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13597 (eval $ac_try) 2>&5
13598 ac_status=$?
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); }; }; then
13601 ac_header_compiler=yes
13602else
13603 echo "$as_me: failed program was:" >&5
13604sed 's/^/| /' conftest.$ac_ext >&5
13605
13606ac_header_compiler=no
13607fi
ac1cb8d3 13608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13609echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13610echo "${ECHO_T}$ac_header_compiler" >&6
13611
13612# Is the header present?
13613echo "$as_me:$LINENO: checking $ac_header presence" >&5
13614echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13615cat >conftest.$ac_ext <<_ACEOF
13616/* confdefs.h. */
13617_ACEOF
13618cat confdefs.h >>conftest.$ac_ext
13619cat >>conftest.$ac_ext <<_ACEOF
13620/* end confdefs.h. */
13621#include <$ac_header>
13622_ACEOF
13623if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13625 ac_status=$?
13626 grep -v '^ *+' conftest.er1 >conftest.err
13627 rm -f conftest.er1
13628 cat conftest.err >&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); } >/dev/null; then
13631 if test -s conftest.err; then
13632 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13634 else
13635 ac_cpp_err=
13636 fi
13637else
13638 ac_cpp_err=yes
13639fi
13640if test -z "$ac_cpp_err"; then
13641 ac_header_preproc=yes
13642else
13643 echo "$as_me: failed program was:" >&5
13644sed 's/^/| /' conftest.$ac_ext >&5
13645
13646 ac_header_preproc=no
13647fi
13648rm -f conftest.err conftest.$ac_ext
13649echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13650echo "${ECHO_T}$ac_header_preproc" >&6
13651
13652# So? What about this header?
ac1cb8d3
VS
13653case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13654 yes:no: )
a848cd7e
SC
13655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13656echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13658echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13659 ac_header_preproc=yes
a848cd7e 13660 ;;
ac1cb8d3 13661 no:yes:* )
a848cd7e
SC
13662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13663echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13665echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13667echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13669echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13671echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13673echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13674 (
13675 cat <<\_ASBOX
ac1cb8d3
VS
13676## ----------------------------------------- ##
13677## Report this to wx-dev@lists.wxwidgets.org ##
13678## ----------------------------------------- ##
a848cd7e
SC
13679_ASBOX
13680 ) |
13681 sed "s/^/$as_me: WARNING: /" >&2
13682 ;;
13683esac
13684echo "$as_me:$LINENO: checking for $ac_header" >&5
13685echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13686if eval "test \"\${$as_ac_Header+set}\" = set"; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13688else
ac1cb8d3 13689 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13690fi
13691echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13692echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13693
13694fi
13695if test `eval echo '${'$as_ac_Header'}'` = yes; then
13696 cat >>confdefs.h <<_ACEOF
13697#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13698_ACEOF
13699
13700fi
13701
13702done
13703
13704fi
13705
13706
13707for ac_header in fnmatch.h
13708do
13709as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13710if eval "test \"\${$as_ac_Header+set}\" = set"; then
13711 echo "$as_me:$LINENO: checking for $ac_header" >&5
13712echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13713if eval "test \"\${$as_ac_Header+set}\" = set"; then
13714 echo $ECHO_N "(cached) $ECHO_C" >&6
13715fi
13716echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13717echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13718else
13719 # Is the header compilable?
13720echo "$as_me:$LINENO: checking $ac_header usability" >&5
13721echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13722cat >conftest.$ac_ext <<_ACEOF
13723/* confdefs.h. */
13724_ACEOF
13725cat confdefs.h >>conftest.$ac_ext
13726cat >>conftest.$ac_ext <<_ACEOF
13727/* end confdefs.h. */
13728$ac_includes_default
13729#include <$ac_header>
13730_ACEOF
13731rm -f conftest.$ac_objext
13732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13733 (eval $ac_compile) 2>conftest.er1
a848cd7e 13734 ac_status=$?
ac1cb8d3
VS
13735 grep -v '^ *+' conftest.er1 >conftest.err
13736 rm -f conftest.er1
13737 cat conftest.err >&5
a848cd7e
SC
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
fc480dc1
DE
13740 { ac_try='test -z "$ac_c_werror_flag"
13741 || test ! -s conftest.err'
ac1cb8d3
VS
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13744 ac_status=$?
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13750 ac_status=$?
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13753 ac_header_compiler=yes
13754else
13755 echo "$as_me: failed program was:" >&5
13756sed 's/^/| /' conftest.$ac_ext >&5
13757
13758ac_header_compiler=no
13759fi
ac1cb8d3 13760rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13761echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13762echo "${ECHO_T}$ac_header_compiler" >&6
13763
13764# Is the header present?
13765echo "$as_me:$LINENO: checking $ac_header presence" >&5
13766echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13767cat >conftest.$ac_ext <<_ACEOF
13768/* confdefs.h. */
13769_ACEOF
13770cat confdefs.h >>conftest.$ac_ext
13771cat >>conftest.$ac_ext <<_ACEOF
13772/* end confdefs.h. */
13773#include <$ac_header>
13774_ACEOF
13775if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13777 ac_status=$?
13778 grep -v '^ *+' conftest.er1 >conftest.err
13779 rm -f conftest.er1
13780 cat conftest.err >&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } >/dev/null; then
13783 if test -s conftest.err; then
13784 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13785 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13786 else
13787 ac_cpp_err=
13788 fi
13789else
13790 ac_cpp_err=yes
13791fi
13792if test -z "$ac_cpp_err"; then
13793 ac_header_preproc=yes
13794else
13795 echo "$as_me: failed program was:" >&5
13796sed 's/^/| /' conftest.$ac_ext >&5
13797
13798 ac_header_preproc=no
13799fi
13800rm -f conftest.err conftest.$ac_ext
13801echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13802echo "${ECHO_T}$ac_header_preproc" >&6
13803
13804# So? What about this header?
ac1cb8d3
VS
13805case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13806 yes:no: )
a848cd7e
SC
13807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13808echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13810echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13811 ac_header_preproc=yes
a848cd7e 13812 ;;
ac1cb8d3 13813 no:yes:* )
a848cd7e
SC
13814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13815echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13817echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13819echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13821echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13823echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13825echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13826 (
13827 cat <<\_ASBOX
ac1cb8d3
VS
13828## ----------------------------------------- ##
13829## Report this to wx-dev@lists.wxwidgets.org ##
13830## ----------------------------------------- ##
a848cd7e
SC
13831_ASBOX
13832 ) |
13833 sed "s/^/$as_me: WARNING: /" >&2
13834 ;;
13835esac
13836echo "$as_me:$LINENO: checking for $ac_header" >&5
13837echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13838if eval "test \"\${$as_ac_Header+set}\" = set"; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13840else
ac1cb8d3 13841 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13842fi
13843echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13844echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13845
13846fi
13847if test `eval echo '${'$as_ac_Header'}'` = yes; then
13848 cat >>confdefs.h <<_ACEOF
13849#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13850_ACEOF
13851
13852fi
13853
13854done
13855
13856
13857if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13858
13859for ac_func in fnmatch
13860do
13861as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13862echo "$as_me:$LINENO: checking for $ac_func" >&5
13863echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13864if eval "test \"\${$as_ac_var+set}\" = set"; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13866else
13867 cat >conftest.$ac_ext <<_ACEOF
13868/* confdefs.h. */
13869_ACEOF
13870cat confdefs.h >>conftest.$ac_ext
13871cat >>conftest.$ac_ext <<_ACEOF
13872/* end confdefs.h. */
ac1cb8d3
VS
13873/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13875#define $ac_func innocuous_$ac_func
13876
a848cd7e
SC
13877/* System header to define __stub macros and hopefully few prototypes,
13878 which can conflict with char $ac_func (); below.
13879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13880 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 13881
a848cd7e
SC
13882#ifdef __STDC__
13883# include <limits.h>
13884#else
13885# include <assert.h>
13886#endif
ac1cb8d3
VS
13887
13888#undef $ac_func
13889
a848cd7e
SC
13890/* Override any gcc2 internal prototype to avoid an error. */
13891#ifdef __cplusplus
13892extern "C"
13893{
13894#endif
13895/* We use char because int might match the return type of a gcc2
13896 builtin and then its argument prototype would still apply. */
13897char $ac_func ();
13898/* The GNU C library defines this for functions which it implements
13899 to always fail with ENOSYS. Some functions are actually named
13900 something starting with __ and the normal name is an alias. */
13901#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13902choke me
13903#else
13904char (*f) () = $ac_func;
13905#endif
13906#ifdef __cplusplus
13907}
13908#endif
13909
13910int
13911main ()
13912{
13913return f != $ac_func;
13914 ;
13915 return 0;
13916}
13917_ACEOF
13918rm -f conftest.$ac_objext conftest$ac_exeext
13919if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 13920 (eval $ac_link) 2>conftest.er1
a848cd7e 13921 ac_status=$?
ac1cb8d3
VS
13922 grep -v '^ *+' conftest.er1 >conftest.err
13923 rm -f conftest.er1
13924 cat conftest.err >&5
a848cd7e
SC
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
fc480dc1
DE
13927 { ac_try='test -z "$ac_c_werror_flag"
13928 || test ! -s conftest.err'
ac1cb8d3
VS
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13931 ac_status=$?
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13937 ac_status=$?
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13940 eval "$as_ac_var=yes"
13941else
13942 echo "$as_me: failed program was:" >&5
13943sed 's/^/| /' conftest.$ac_ext >&5
13944
13945eval "$as_ac_var=no"
13946fi
ac1cb8d3
VS
13947rm -f conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
13949fi
13950echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13951echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13952if test `eval echo '${'$as_ac_var'}'` = yes; then
13953 cat >>confdefs.h <<_ACEOF
13954#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13955_ACEOF
13956
13957fi
13958done
13959
13960fi
13961
13962
13963for ac_header in langinfo.h
13964do
13965as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13966if eval "test \"\${$as_ac_Header+set}\" = set"; then
13967 echo "$as_me:$LINENO: checking for $ac_header" >&5
13968echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13969if eval "test \"\${$as_ac_Header+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971fi
13972echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13973echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13974else
13975 # Is the header compilable?
13976echo "$as_me:$LINENO: checking $ac_header usability" >&5
13977echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13978cat >conftest.$ac_ext <<_ACEOF
13979/* confdefs.h. */
13980_ACEOF
13981cat confdefs.h >>conftest.$ac_ext
13982cat >>conftest.$ac_ext <<_ACEOF
13983/* end confdefs.h. */
13984$ac_includes_default
13985#include <$ac_header>
13986_ACEOF
13987rm -f conftest.$ac_objext
13988if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13989 (eval $ac_compile) 2>conftest.er1
a848cd7e 13990 ac_status=$?
ac1cb8d3
VS
13991 grep -v '^ *+' conftest.er1 >conftest.err
13992 rm -f conftest.er1
13993 cat conftest.err >&5
a848cd7e
SC
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); } &&
fc480dc1
DE
13996 { ac_try='test -z "$ac_c_werror_flag"
13997 || test ! -s conftest.err'
ac1cb8d3
VS
13998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13999 (eval $ac_try) 2>&5
14000 ac_status=$?
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; } &&
14003 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14006 ac_status=$?
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; }; then
14009 ac_header_compiler=yes
14010else
14011 echo "$as_me: failed program was:" >&5
14012sed 's/^/| /' conftest.$ac_ext >&5
14013
14014ac_header_compiler=no
14015fi
ac1cb8d3 14016rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14017echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14018echo "${ECHO_T}$ac_header_compiler" >&6
14019
14020# Is the header present?
14021echo "$as_me:$LINENO: checking $ac_header presence" >&5
14022echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14023cat >conftest.$ac_ext <<_ACEOF
14024/* confdefs.h. */
14025_ACEOF
14026cat confdefs.h >>conftest.$ac_ext
14027cat >>conftest.$ac_ext <<_ACEOF
14028/* end confdefs.h. */
14029#include <$ac_header>
14030_ACEOF
14031if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14033 ac_status=$?
14034 grep -v '^ *+' conftest.er1 >conftest.err
14035 rm -f conftest.er1
14036 cat conftest.err >&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } >/dev/null; then
14039 if test -s conftest.err; then
14040 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 14041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
14042 else
14043 ac_cpp_err=
14044 fi
14045else
14046 ac_cpp_err=yes
14047fi
14048if test -z "$ac_cpp_err"; then
14049 ac_header_preproc=yes
14050else
14051 echo "$as_me: failed program was:" >&5
14052sed 's/^/| /' conftest.$ac_ext >&5
14053
14054 ac_header_preproc=no
14055fi
14056rm -f conftest.err conftest.$ac_ext
14057echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14058echo "${ECHO_T}$ac_header_preproc" >&6
14059
14060# So? What about this header?
ac1cb8d3
VS
14061case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14062 yes:no: )
a848cd7e
SC
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14064echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
14065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14066echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14067 ac_header_preproc=yes
a848cd7e 14068 ;;
ac1cb8d3 14069 no:yes:* )
a848cd7e
SC
14070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14071echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
14072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14073echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14075echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14077echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14079echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
14080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14081echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
14082 (
14083 cat <<\_ASBOX
ac1cb8d3
VS
14084## ----------------------------------------- ##
14085## Report this to wx-dev@lists.wxwidgets.org ##
14086## ----------------------------------------- ##
a848cd7e
SC
14087_ASBOX
14088 ) |
14089 sed "s/^/$as_me: WARNING: /" >&2
14090 ;;
14091esac
14092echo "$as_me:$LINENO: checking for $ac_header" >&5
14093echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14094if eval "test \"\${$as_ac_Header+set}\" = set"; then
14095 echo $ECHO_N "(cached) $ECHO_C" >&6
14096else
ac1cb8d3 14097 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
14098fi
14099echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14100echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14101
14102fi
14103if test `eval echo '${'$as_ac_Header'}'` = yes; then
14104 cat >>confdefs.h <<_ACEOF
14105#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14106_ACEOF
14107
14108fi
14109
14110done
14111
14112
14113case "${host}" in
14114 *-pc-os2_emx | *-pc-os2-emx )
14115 if test $ac_cv_header_langinfo_h = "yes"; then
14116 LIBS="$LIBS -lintl"
14117 fi
14118 ;;
14119esac
14120
14121if test "$wxUSE_GUI" = "yes"; then
14122 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14123
14124for ac_header in X11/Xlib.h
14125do
14126as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14127if eval "test \"\${$as_ac_Header+set}\" = set"; then
14128 echo "$as_me:$LINENO: checking for $ac_header" >&5
14129echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14130if eval "test \"\${$as_ac_Header+set}\" = set"; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14132fi
14133echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14134echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14135else
14136 # Is the header compilable?
14137echo "$as_me:$LINENO: checking $ac_header usability" >&5
14138echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14139cat >conftest.$ac_ext <<_ACEOF
14140/* confdefs.h. */
14141_ACEOF
14142cat confdefs.h >>conftest.$ac_ext
14143cat >>conftest.$ac_ext <<_ACEOF
14144/* end confdefs.h. */
14145$ac_includes_default
14146#include <$ac_header>
14147_ACEOF
14148rm -f conftest.$ac_objext
14149if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14150 (eval $ac_compile) 2>conftest.er1
a848cd7e 14151 ac_status=$?
ac1cb8d3
VS
14152 grep -v '^ *+' conftest.er1 >conftest.err
14153 rm -f conftest.er1
14154 cat conftest.err >&5
a848cd7e
SC
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } &&
fc480dc1
DE
14157 { ac_try='test -z "$ac_c_werror_flag"
14158 || test ! -s conftest.err'
ac1cb8d3
VS
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14161 ac_status=$?
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; } &&
14164 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14167 ac_status=$?
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; }; then
14170 ac_header_compiler=yes
14171else
14172 echo "$as_me: failed program was:" >&5
14173sed 's/^/| /' conftest.$ac_ext >&5
14174
14175ac_header_compiler=no
14176fi
ac1cb8d3 14177rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14178echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14179echo "${ECHO_T}$ac_header_compiler" >&6
14180
14181# Is the header present?
14182echo "$as_me:$LINENO: checking $ac_header presence" >&5
14183echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14184cat >conftest.$ac_ext <<_ACEOF
14185/* confdefs.h. */
14186_ACEOF
14187cat confdefs.h >>conftest.$ac_ext
14188cat >>conftest.$ac_ext <<_ACEOF
14189/* end confdefs.h. */
14190#include <$ac_header>
14191_ACEOF
14192if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14194 ac_status=$?
14195 grep -v '^ *+' conftest.er1 >conftest.err
14196 rm -f conftest.er1
14197 cat conftest.err >&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } >/dev/null; then
14200 if test -s conftest.err; then
14201 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 14202 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
14203 else
14204 ac_cpp_err=
14205 fi
14206else
14207 ac_cpp_err=yes
14208fi
14209if test -z "$ac_cpp_err"; then
14210 ac_header_preproc=yes
14211else
14212 echo "$as_me: failed program was:" >&5
14213sed 's/^/| /' conftest.$ac_ext >&5
14214
14215 ac_header_preproc=no
14216fi
14217rm -f conftest.err conftest.$ac_ext
14218echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14219echo "${ECHO_T}$ac_header_preproc" >&6
14220
14221# So? What about this header?
ac1cb8d3
VS
14222case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14223 yes:no: )
a848cd7e
SC
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14225echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14227echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14228 ac_header_preproc=yes
a848cd7e 14229 ;;
ac1cb8d3 14230 no:yes:* )
a848cd7e
SC
14231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14232echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
14233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14234echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14236echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14238echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
14239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14240echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14242echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
14243 (
14244 cat <<\_ASBOX
ac1cb8d3
VS
14245## ----------------------------------------- ##
14246## Report this to wx-dev@lists.wxwidgets.org ##
14247## ----------------------------------------- ##
a848cd7e
SC
14248_ASBOX
14249 ) |
14250 sed "s/^/$as_me: WARNING: /" >&2
14251 ;;
14252esac
14253echo "$as_me:$LINENO: checking for $ac_header" >&5
14254echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14255if eval "test \"\${$as_ac_Header+set}\" = set"; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14257else
ac1cb8d3 14258 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
14259fi
14260echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14261echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14262
14263fi
14264if test `eval echo '${'$as_ac_Header'}'` = yes; then
14265 cat >>confdefs.h <<_ACEOF
14266#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14267_ACEOF
14268
14269fi
14270
14271done
14272
14273
14274for ac_header in X11/XKBlib.h
14275do
14276as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14277echo "$as_me:$LINENO: checking for $ac_header" >&5
14278echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14279if eval "test \"\${$as_ac_Header+set}\" = set"; then
14280 echo $ECHO_N "(cached) $ECHO_C" >&6
14281else
14282 cat >conftest.$ac_ext <<_ACEOF
14283/* confdefs.h. */
14284_ACEOF
14285cat confdefs.h >>conftest.$ac_ext
14286cat >>conftest.$ac_ext <<_ACEOF
14287/* end confdefs.h. */
14288
14289 #if HAVE_X11_XLIB_H
14290 #include <X11/Xlib.h>
14291 #endif
14292
14293
14294#include <$ac_header>
14295_ACEOF
14296rm -f conftest.$ac_objext
14297if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14298 (eval $ac_compile) 2>conftest.er1
a848cd7e 14299 ac_status=$?
ac1cb8d3
VS
14300 grep -v '^ *+' conftest.er1 >conftest.err
14301 rm -f conftest.er1
14302 cat conftest.err >&5
a848cd7e
SC
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
fc480dc1
DE
14305 { ac_try='test -z "$ac_c_werror_flag"
14306 || test ! -s conftest.err'
ac1cb8d3
VS
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; } &&
14312 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 eval "$as_ac_Header=yes"
14319else
14320 echo "$as_me: failed program was:" >&5
14321sed 's/^/| /' conftest.$ac_ext >&5
14322
14323eval "$as_ac_Header=no"
14324fi
ac1cb8d3 14325rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14326fi
14327echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14328echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14329if test `eval echo '${'$as_ac_Header'}'` = yes; then
14330 cat >>confdefs.h <<_ACEOF
14331#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14332_ACEOF
14333
14334fi
14335
14336done
14337
14338 fi
14339fi
14340
14341
14342echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14343echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14344if test "${ac_cv_c_const+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14346else
14347 cat >conftest.$ac_ext <<_ACEOF
14348/* confdefs.h. */
14349_ACEOF
14350cat confdefs.h >>conftest.$ac_ext
14351cat >>conftest.$ac_ext <<_ACEOF
14352/* end confdefs.h. */
14353
14354int
14355main ()
14356{
14357/* FIXME: Include the comments suggested by Paul. */
14358#ifndef __cplusplus
14359 /* Ultrix mips cc rejects this. */
14360 typedef int charset[2];
14361 const charset x;
14362 /* SunOS 4.1.1 cc rejects this. */
14363 char const *const *ccp;
14364 char **p;
14365 /* NEC SVR4.0.2 mips cc rejects this. */
14366 struct point {int x, y;};
14367 static struct point const zero = {0,0};
14368 /* AIX XL C 1.02.0.0 rejects this.
14369 It does not let you subtract one const X* pointer from another in
14370 an arm of an if-expression whose if-part is not a constant
14371 expression */
14372 const char *g = "string";
14373 ccp = &g + (g ? g-g : 0);
14374 /* HPUX 7.0 cc rejects these. */
14375 ++ccp;
14376 p = (char**) ccp;
14377 ccp = (char const *const *) p;
14378 { /* SCO 3.2v4 cc rejects this. */
14379 char *t;
14380 char const *s = 0 ? (char *) 0 : (char const *) 0;
14381
14382 *t++ = 0;
14383 }
14384 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14385 int x[] = {25, 17};
14386 const int *foo = &x[0];
14387 ++foo;
14388 }
14389 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14390 typedef const int *iptr;
14391 iptr p = 0;
14392 ++p;
14393 }
14394 { /* AIX XL C 1.02.0.0 rejects this saying
14395 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14396 struct s { int j; const int *ap[3]; };
14397 struct s *b; b->j = 5;
14398 }
14399 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14400 const int foo = 10;
14401 }
14402#endif
14403
14404 ;
14405 return 0;
14406}
14407_ACEOF
14408rm -f conftest.$ac_objext
14409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14410 (eval $ac_compile) 2>conftest.er1
a848cd7e 14411 ac_status=$?
ac1cb8d3
VS
14412 grep -v '^ *+' conftest.er1 >conftest.err
14413 rm -f conftest.er1
14414 cat conftest.err >&5
a848cd7e
SC
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
fc480dc1
DE
14417 { ac_try='test -z "$ac_c_werror_flag"
14418 || test ! -s conftest.err'
ac1cb8d3
VS
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14421 ac_status=$?
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_cv_c_const=yes
14431else
14432 echo "$as_me: failed program was:" >&5
14433sed 's/^/| /' conftest.$ac_ext >&5
14434
14435ac_cv_c_const=no
14436fi
ac1cb8d3 14437rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14438fi
14439echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14440echo "${ECHO_T}$ac_cv_c_const" >&6
14441if test $ac_cv_c_const = no; then
14442
14443cat >>confdefs.h <<\_ACEOF
14444#define const
14445_ACEOF
14446
14447fi
14448
14449echo "$as_me:$LINENO: checking for inline" >&5
14450echo $ECHO_N "checking for inline... $ECHO_C" >&6
14451if test "${ac_cv_c_inline+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14453else
14454 ac_cv_c_inline=no
14455for ac_kw in inline __inline__ __inline; do
14456 cat >conftest.$ac_ext <<_ACEOF
14457/* confdefs.h. */
14458_ACEOF
14459cat confdefs.h >>conftest.$ac_ext
14460cat >>conftest.$ac_ext <<_ACEOF
14461/* end confdefs.h. */
14462#ifndef __cplusplus
14463typedef int foo_t;
14464static $ac_kw foo_t static_foo () {return 0; }
14465$ac_kw foo_t foo () {return 0; }
14466#endif
14467
14468_ACEOF
14469rm -f conftest.$ac_objext
14470if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14471 (eval $ac_compile) 2>conftest.er1
a848cd7e 14472 ac_status=$?
ac1cb8d3
VS
14473 grep -v '^ *+' conftest.er1 >conftest.err
14474 rm -f conftest.er1
14475 cat conftest.err >&5
a848cd7e
SC
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
fc480dc1
DE
14478 { ac_try='test -z "$ac_c_werror_flag"
14479 || test ! -s conftest.err'
ac1cb8d3
VS
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14482 ac_status=$?
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; } &&
14485 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 ac_cv_c_inline=$ac_kw; break
14492else
14493 echo "$as_me: failed program was:" >&5
14494sed 's/^/| /' conftest.$ac_ext >&5
14495
14496fi
ac1cb8d3 14497rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14498done
14499
14500fi
14501echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14502echo "${ECHO_T}$ac_cv_c_inline" >&6
ac1cb8d3
VS
14503
14504
a848cd7e
SC
14505case $ac_cv_c_inline in
14506 inline | yes) ;;
ac1cb8d3
VS
14507 *)
14508 case $ac_cv_c_inline in
14509 no) ac_val=;;
14510 *) ac_val=$ac_cv_c_inline;;
14511 esac
14512 cat >>confdefs.h <<_ACEOF
14513#ifndef __cplusplus
14514#define inline $ac_val
14515#endif
de59c161 14516_ACEOF
ac1cb8d3 14517 ;;
a848cd7e
SC
14518esac
14519
14520
14521echo "$as_me:$LINENO: checking for char" >&5
14522echo $ECHO_N "checking for char... $ECHO_C" >&6
14523if test "${ac_cv_type_char+set}" = set; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14525else
14526 cat >conftest.$ac_ext <<_ACEOF
14527/* confdefs.h. */
14528_ACEOF
14529cat confdefs.h >>conftest.$ac_ext
14530cat >>conftest.$ac_ext <<_ACEOF
14531/* end confdefs.h. */
14532$ac_includes_default
14533int
14534main ()
14535{
14536if ((char *) 0)
14537 return 0;
14538if (sizeof (char))
14539 return 0;
14540 ;
14541 return 0;
14542}
14543_ACEOF
14544rm -f conftest.$ac_objext
14545if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14546 (eval $ac_compile) 2>conftest.er1
a848cd7e 14547 ac_status=$?
ac1cb8d3
VS
14548 grep -v '^ *+' conftest.er1 >conftest.err
14549 rm -f conftest.er1
14550 cat conftest.err >&5
a848cd7e
SC
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
fc480dc1
DE
14553 { ac_try='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
ac1cb8d3
VS
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14557 ac_status=$?
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; } &&
14560 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14563 ac_status=$?
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 ac_cv_type_char=yes
14567else
14568 echo "$as_me: failed program was:" >&5
14569sed 's/^/| /' conftest.$ac_ext >&5
14570
14571ac_cv_type_char=no
14572fi
ac1cb8d3 14573rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14574fi
14575echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14576echo "${ECHO_T}$ac_cv_type_char" >&6
14577
14578echo "$as_me:$LINENO: checking size of char" >&5
14579echo $ECHO_N "checking size of char... $ECHO_C" >&6
14580if test "${ac_cv_sizeof_char+set}" = set; then
14581 echo $ECHO_N "(cached) $ECHO_C" >&6
14582else
14583 if test "$ac_cv_type_char" = yes; then
14584 # The cast to unsigned long works around a bug in the HP C Compiler
14585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14587 # This bug is HP SR number 8606223364.
14588 if test "$cross_compiling" = yes; then
14589 # Depending upon the size, compute the lo and hi bounds.
14590cat >conftest.$ac_ext <<_ACEOF
14591/* confdefs.h. */
14592_ACEOF
14593cat confdefs.h >>conftest.$ac_ext
14594cat >>conftest.$ac_ext <<_ACEOF
14595/* end confdefs.h. */
14596$ac_includes_default
14597int
14598main ()
14599{
14600static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14601test_array [0] = 0
14602
14603 ;
14604 return 0;
14605}
14606_ACEOF
14607rm -f conftest.$ac_objext
14608if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14609 (eval $ac_compile) 2>conftest.er1
a848cd7e 14610 ac_status=$?
ac1cb8d3
VS
14611 grep -v '^ *+' conftest.er1 >conftest.err
14612 rm -f conftest.er1
14613 cat conftest.err >&5
a848cd7e
SC
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } &&
fc480dc1
DE
14616 { ac_try='test -z "$ac_c_werror_flag"
14617 || test ! -s conftest.err'
ac1cb8d3
VS
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14620 ac_status=$?
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; } &&
14623 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14626 ac_status=$?
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14629 ac_lo=0 ac_mid=0
14630 while :; do
14631 cat >conftest.$ac_ext <<_ACEOF
14632/* confdefs.h. */
14633_ACEOF
14634cat confdefs.h >>conftest.$ac_ext
14635cat >>conftest.$ac_ext <<_ACEOF
14636/* end confdefs.h. */
14637$ac_includes_default
14638int
14639main ()
14640{
14641static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14642test_array [0] = 0
14643
14644 ;
14645 return 0;
14646}
14647_ACEOF
14648rm -f conftest.$ac_objext
14649if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14650 (eval $ac_compile) 2>conftest.er1
a848cd7e 14651 ac_status=$?
ac1cb8d3
VS
14652 grep -v '^ *+' conftest.er1 >conftest.err
14653 rm -f conftest.er1
14654 cat conftest.err >&5
a848cd7e
SC
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } &&
fc480dc1
DE
14657 { ac_try='test -z "$ac_c_werror_flag"
14658 || test ! -s conftest.err'
ac1cb8d3
VS
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 ac_hi=$ac_mid; break
14671else
14672 echo "$as_me: failed program was:" >&5
14673sed 's/^/| /' conftest.$ac_ext >&5
14674
14675ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
14676 if test $ac_lo -le $ac_mid; then
14677 ac_lo= ac_hi=
14678 break
14679 fi
14680 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 14681fi
ac1cb8d3 14682rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14683 done
14684else
14685 echo "$as_me: failed program was:" >&5
14686sed 's/^/| /' conftest.$ac_ext >&5
14687
14688cat >conftest.$ac_ext <<_ACEOF
14689/* confdefs.h. */
14690_ACEOF
14691cat confdefs.h >>conftest.$ac_ext
14692cat >>conftest.$ac_ext <<_ACEOF
14693/* end confdefs.h. */
14694$ac_includes_default
14695int
14696main ()
14697{
14698static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14699test_array [0] = 0
14700
14701 ;
14702 return 0;
14703}
14704_ACEOF
14705rm -f conftest.$ac_objext
14706if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14707 (eval $ac_compile) 2>conftest.er1
a848cd7e 14708 ac_status=$?
ac1cb8d3
VS
14709 grep -v '^ *+' conftest.er1 >conftest.err
14710 rm -f conftest.er1
14711 cat conftest.err >&5
a848cd7e
SC
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
fc480dc1
DE
14714 { ac_try='test -z "$ac_c_werror_flag"
14715 || test ! -s conftest.err'
ac1cb8d3
VS
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14718 ac_status=$?
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14724 ac_status=$?
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14727 ac_hi=-1 ac_mid=-1
14728 while :; do
14729 cat >conftest.$ac_ext <<_ACEOF
14730/* confdefs.h. */
14731_ACEOF
14732cat confdefs.h >>conftest.$ac_ext
14733cat >>conftest.$ac_ext <<_ACEOF
14734/* end confdefs.h. */
14735$ac_includes_default
14736int
14737main ()
14738{
14739static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14740test_array [0] = 0
14741
14742 ;
14743 return 0;
14744}
14745_ACEOF
14746rm -f conftest.$ac_objext
14747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14748 (eval $ac_compile) 2>conftest.er1
a848cd7e 14749 ac_status=$?
ac1cb8d3
VS
14750 grep -v '^ *+' conftest.er1 >conftest.err
14751 rm -f conftest.er1
14752 cat conftest.err >&5
a848cd7e
SC
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); } &&
fc480dc1
DE
14755 { ac_try='test -z "$ac_c_werror_flag"
14756 || test ! -s conftest.err'
ac1cb8d3
VS
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14759 ac_status=$?
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; } &&
14762 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 ac_lo=$ac_mid; break
14769else
14770 echo "$as_me: failed program was:" >&5
14771sed 's/^/| /' conftest.$ac_ext >&5
14772
14773ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
14774 if test $ac_mid -le $ac_hi; then
14775 ac_lo= ac_hi=
14776 break
14777 fi
14778 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 14779fi
ac1cb8d3 14780rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14781 done
14782else
14783 echo "$as_me: failed program was:" >&5
14784sed 's/^/| /' conftest.$ac_ext >&5
14785
14786ac_lo= ac_hi=
14787fi
ac1cb8d3 14788rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 14789fi
ac1cb8d3 14790rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14791# Binary search between lo and hi bounds.
14792while test "x$ac_lo" != "x$ac_hi"; do
14793 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14794 cat >conftest.$ac_ext <<_ACEOF
14795/* confdefs.h. */
14796_ACEOF
14797cat confdefs.h >>conftest.$ac_ext
14798cat >>conftest.$ac_ext <<_ACEOF
14799/* end confdefs.h. */
14800$ac_includes_default
14801int
14802main ()
14803{
14804static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14805test_array [0] = 0
14806
14807 ;
14808 return 0;
14809}
14810_ACEOF
14811rm -f conftest.$ac_objext
14812if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14813 (eval $ac_compile) 2>conftest.er1
a848cd7e 14814 ac_status=$?
ac1cb8d3
VS
14815 grep -v '^ *+' conftest.er1 >conftest.err
14816 rm -f conftest.er1
14817 cat conftest.err >&5
a848cd7e
SC
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } &&
fc480dc1
DE
14820 { ac_try='test -z "$ac_c_werror_flag"
14821 || test ! -s conftest.err'
ac1cb8d3
VS
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14824 ac_status=$?
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; } &&
14827 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14830 ac_status=$?
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; }; then
14833 ac_hi=$ac_mid
14834else
14835 echo "$as_me: failed program was:" >&5
14836sed 's/^/| /' conftest.$ac_ext >&5
14837
14838ac_lo=`expr '(' $ac_mid ')' + 1`
14839fi
ac1cb8d3 14840rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14841done
14842case $ac_lo in
14843?*) ac_cv_sizeof_char=$ac_lo;;
14844'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14845See \`config.log' for more details." >&5
14846echo "$as_me: error: cannot compute sizeof (char), 77
14847See \`config.log' for more details." >&2;}
14848 { (exit 1); exit 1; }; } ;;
14849esac
14850else
14851 if test "$cross_compiling" = yes; then
fc480dc1
DE
14852 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14853See \`config.log' for more details." >&5
14854echo "$as_me: error: cannot run test program while cross compiling
14855See \`config.log' for more details." >&2;}
a848cd7e
SC
14856 { (exit 1); exit 1; }; }
14857else
14858 cat >conftest.$ac_ext <<_ACEOF
14859/* confdefs.h. */
14860_ACEOF
14861cat confdefs.h >>conftest.$ac_ext
14862cat >>conftest.$ac_ext <<_ACEOF
14863/* end confdefs.h. */
14864$ac_includes_default
14865long longval () { return (long) (sizeof (char)); }
14866unsigned long ulongval () { return (long) (sizeof (char)); }
14867#include <stdio.h>
14868#include <stdlib.h>
14869int
14870main ()
14871{
14872
14873 FILE *f = fopen ("conftest.val", "w");
14874 if (! f)
14875 exit (1);
14876 if (((long) (sizeof (char))) < 0)
14877 {
14878 long i = longval ();
14879 if (i != ((long) (sizeof (char))))
14880 exit (1);
14881 fprintf (f, "%ld\n", i);
14882 }
14883 else
14884 {
14885 unsigned long i = ulongval ();
14886 if (i != ((long) (sizeof (char))))
14887 exit (1);
14888 fprintf (f, "%lu\n", i);
14889 }
14890 exit (ferror (f) || fclose (f) != 0);
14891
14892 ;
14893 return 0;
14894}
14895_ACEOF
14896rm -f conftest$ac_exeext
14897if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14898 (eval $ac_link) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_cv_sizeof_char=`cat conftest.val`
14908else
14909 echo "$as_me: program exited with status $ac_status" >&5
14910echo "$as_me: failed program was:" >&5
14911sed 's/^/| /' conftest.$ac_ext >&5
14912
14913( exit $ac_status )
14914{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14915See \`config.log' for more details." >&5
14916echo "$as_me: error: cannot compute sizeof (char), 77
14917See \`config.log' for more details." >&2;}
14918 { (exit 1); exit 1; }; }
14919fi
ac1cb8d3 14920rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14921fi
14922fi
14923rm -f conftest.val
14924else
14925 ac_cv_sizeof_char=0
14926fi
14927fi
14928echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14929echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14930cat >>confdefs.h <<_ACEOF
14931#define SIZEOF_CHAR $ac_cv_sizeof_char
14932_ACEOF
14933
14934
14935echo "$as_me:$LINENO: checking for short" >&5
14936echo $ECHO_N "checking for short... $ECHO_C" >&6
14937if test "${ac_cv_type_short+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14939else
14940 cat >conftest.$ac_ext <<_ACEOF
14941/* confdefs.h. */
14942_ACEOF
14943cat confdefs.h >>conftest.$ac_ext
14944cat >>conftest.$ac_ext <<_ACEOF
14945/* end confdefs.h. */
14946$ac_includes_default
14947int
14948main ()
14949{
14950if ((short *) 0)
14951 return 0;
14952if (sizeof (short))
14953 return 0;
14954 ;
14955 return 0;
14956}
14957_ACEOF
14958rm -f conftest.$ac_objext
14959if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14960 (eval $ac_compile) 2>conftest.er1
a848cd7e 14961 ac_status=$?
ac1cb8d3
VS
14962 grep -v '^ *+' conftest.er1 >conftest.err
14963 rm -f conftest.er1
14964 cat conftest.err >&5
a848cd7e
SC
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
fc480dc1
DE
14967 { ac_try='test -z "$ac_c_werror_flag"
14968 || test ! -s conftest.err'
ac1cb8d3
VS
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_cv_type_short=yes
14981else
14982 echo "$as_me: failed program was:" >&5
14983sed 's/^/| /' conftest.$ac_ext >&5
14984
14985ac_cv_type_short=no
14986fi
ac1cb8d3 14987rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14988fi
14989echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14990echo "${ECHO_T}$ac_cv_type_short" >&6
14991
14992echo "$as_me:$LINENO: checking size of short" >&5
14993echo $ECHO_N "checking size of short... $ECHO_C" >&6
14994if test "${ac_cv_sizeof_short+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996else
14997 if test "$ac_cv_type_short" = yes; then
14998 # The cast to unsigned long works around a bug in the HP C Compiler
14999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15000 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15001 # This bug is HP SR number 8606223364.
15002 if test "$cross_compiling" = yes; then
15003 # Depending upon the size, compute the lo and hi bounds.
15004cat >conftest.$ac_ext <<_ACEOF
15005/* confdefs.h. */
15006_ACEOF
15007cat confdefs.h >>conftest.$ac_ext
15008cat >>conftest.$ac_ext <<_ACEOF
15009/* end confdefs.h. */
15010$ac_includes_default
15011int
15012main ()
15013{
15014static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15015test_array [0] = 0
15016
15017 ;
15018 return 0;
15019}
15020_ACEOF
15021rm -f conftest.$ac_objext
15022if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15023 (eval $ac_compile) 2>conftest.er1
a848cd7e 15024 ac_status=$?
ac1cb8d3
VS
15025 grep -v '^ *+' conftest.er1 >conftest.err
15026 rm -f conftest.er1
15027 cat conftest.err >&5
a848cd7e
SC
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } &&
fc480dc1
DE
15030 { ac_try='test -z "$ac_c_werror_flag"
15031 || test ! -s conftest.err'
ac1cb8d3
VS
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; } &&
15037 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15040 ac_status=$?
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15043 ac_lo=0 ac_mid=0
15044 while :; do
15045 cat >conftest.$ac_ext <<_ACEOF
15046/* confdefs.h. */
15047_ACEOF
15048cat confdefs.h >>conftest.$ac_ext
15049cat >>conftest.$ac_ext <<_ACEOF
15050/* end confdefs.h. */
15051$ac_includes_default
15052int
15053main ()
15054{
15055static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15056test_array [0] = 0
15057
15058 ;
15059 return 0;
15060}
15061_ACEOF
15062rm -f conftest.$ac_objext
15063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15064 (eval $ac_compile) 2>conftest.er1
a848cd7e 15065 ac_status=$?
ac1cb8d3
VS
15066 grep -v '^ *+' conftest.er1 >conftest.err
15067 rm -f conftest.er1
15068 cat conftest.err >&5
a848cd7e
SC
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } &&
fc480dc1
DE
15071 { ac_try='test -z "$ac_c_werror_flag"
15072 || test ! -s conftest.err'
ac1cb8d3
VS
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15075 ac_status=$?
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; } &&
15078 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15080 (eval $ac_try) 2>&5
15081 ac_status=$?
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); }; }; then
15084 ac_hi=$ac_mid; break
15085else
15086 echo "$as_me: failed program was:" >&5
15087sed 's/^/| /' conftest.$ac_ext >&5
15088
15089ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
15090 if test $ac_lo -le $ac_mid; then
15091 ac_lo= ac_hi=
15092 break
15093 fi
15094 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 15095fi
ac1cb8d3 15096rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15097 done
15098else
15099 echo "$as_me: failed program was:" >&5
15100sed 's/^/| /' conftest.$ac_ext >&5
15101
15102cat >conftest.$ac_ext <<_ACEOF
15103/* confdefs.h. */
15104_ACEOF
15105cat confdefs.h >>conftest.$ac_ext
15106cat >>conftest.$ac_ext <<_ACEOF
15107/* end confdefs.h. */
15108$ac_includes_default
15109int
15110main ()
15111{
15112static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15113test_array [0] = 0
15114
15115 ;
15116 return 0;
15117}
15118_ACEOF
15119rm -f conftest.$ac_objext
15120if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15121 (eval $ac_compile) 2>conftest.er1
a848cd7e 15122 ac_status=$?
ac1cb8d3
VS
15123 grep -v '^ *+' conftest.er1 >conftest.err
15124 rm -f conftest.er1
15125 cat conftest.err >&5
a848cd7e
SC
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
fc480dc1
DE
15128 { ac_try='test -z "$ac_c_werror_flag"
15129 || test ! -s conftest.err'
ac1cb8d3
VS
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15132 ac_status=$?
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; } &&
15135 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15138 ac_status=$?
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; }; then
15141 ac_hi=-1 ac_mid=-1
15142 while :; do
15143 cat >conftest.$ac_ext <<_ACEOF
15144/* confdefs.h. */
15145_ACEOF
15146cat confdefs.h >>conftest.$ac_ext
15147cat >>conftest.$ac_ext <<_ACEOF
15148/* end confdefs.h. */
15149$ac_includes_default
15150int
15151main ()
15152{
15153static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15154test_array [0] = 0
15155
15156 ;
15157 return 0;
15158}
15159_ACEOF
15160rm -f conftest.$ac_objext
15161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15162 (eval $ac_compile) 2>conftest.er1
a848cd7e 15163 ac_status=$?
ac1cb8d3
VS
15164 grep -v '^ *+' conftest.er1 >conftest.err
15165 rm -f conftest.er1
15166 cat conftest.err >&5
a848cd7e
SC
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); } &&
fc480dc1
DE
15169 { ac_try='test -z "$ac_c_werror_flag"
15170 || test ! -s conftest.err'
ac1cb8d3
VS
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15173 ac_status=$?
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; } &&
15176 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15182 ac_lo=$ac_mid; break
15183else
15184 echo "$as_me: failed program was:" >&5
15185sed 's/^/| /' conftest.$ac_ext >&5
15186
15187ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
15188 if test $ac_mid -le $ac_hi; then
15189 ac_lo= ac_hi=
15190 break
15191 fi
15192 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 15193fi
ac1cb8d3 15194rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15195 done
15196else
15197 echo "$as_me: failed program was:" >&5
15198sed 's/^/| /' conftest.$ac_ext >&5
15199
15200ac_lo= ac_hi=
15201fi
ac1cb8d3 15202rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 15203fi
ac1cb8d3 15204rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15205# Binary search between lo and hi bounds.
15206while test "x$ac_lo" != "x$ac_hi"; do
15207 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15208 cat >conftest.$ac_ext <<_ACEOF
15209/* confdefs.h. */
15210_ACEOF
15211cat confdefs.h >>conftest.$ac_ext
15212cat >>conftest.$ac_ext <<_ACEOF
15213/* end confdefs.h. */
15214$ac_includes_default
15215int
15216main ()
15217{
15218static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15219test_array [0] = 0
15220
15221 ;
15222 return 0;
15223}
15224_ACEOF
15225rm -f conftest.$ac_objext
15226if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15227 (eval $ac_compile) 2>conftest.er1
a848cd7e 15228 ac_status=$?
ac1cb8d3
VS
15229 grep -v '^ *+' conftest.er1 >conftest.err
15230 rm -f conftest.er1
15231 cat conftest.err >&5
a848cd7e
SC
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
fc480dc1
DE
15234 { ac_try='test -z "$ac_c_werror_flag"
15235 || test ! -s conftest.err'
ac1cb8d3
VS
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; } &&
15241 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243 (eval $ac_try) 2>&5
15244 ac_status=$?
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); }; }; then
15247 ac_hi=$ac_mid
15248else
15249 echo "$as_me: failed program was:" >&5
15250sed 's/^/| /' conftest.$ac_ext >&5
15251
15252ac_lo=`expr '(' $ac_mid ')' + 1`
15253fi
ac1cb8d3 15254rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15255done
15256case $ac_lo in
15257?*) ac_cv_sizeof_short=$ac_lo;;
15258'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15259See \`config.log' for more details." >&5
15260echo "$as_me: error: cannot compute sizeof (short), 77
15261See \`config.log' for more details." >&2;}
15262 { (exit 1); exit 1; }; } ;;
15263esac
15264else
15265 if test "$cross_compiling" = yes; then
fc480dc1
DE
15266 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15267See \`config.log' for more details." >&5
15268echo "$as_me: error: cannot run test program while cross compiling
15269See \`config.log' for more details." >&2;}
a848cd7e
SC
15270 { (exit 1); exit 1; }; }
15271else
15272 cat >conftest.$ac_ext <<_ACEOF
15273/* confdefs.h. */
15274_ACEOF
15275cat confdefs.h >>conftest.$ac_ext
15276cat >>conftest.$ac_ext <<_ACEOF
15277/* end confdefs.h. */
15278$ac_includes_default
15279long longval () { return (long) (sizeof (short)); }
15280unsigned long ulongval () { return (long) (sizeof (short)); }
15281#include <stdio.h>
15282#include <stdlib.h>
15283int
15284main ()
15285{
15286
15287 FILE *f = fopen ("conftest.val", "w");
15288 if (! f)
15289 exit (1);
15290 if (((long) (sizeof (short))) < 0)
15291 {
15292 long i = longval ();
15293 if (i != ((long) (sizeof (short))))
15294 exit (1);
15295 fprintf (f, "%ld\n", i);
15296 }
15297 else
15298 {
15299 unsigned long i = ulongval ();
15300 if (i != ((long) (sizeof (short))))
15301 exit (1);
15302 fprintf (f, "%lu\n", i);
15303 }
15304 exit (ferror (f) || fclose (f) != 0);
15305
15306 ;
15307 return 0;
15308}
15309_ACEOF
15310rm -f conftest$ac_exeext
15311if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15312 (eval $ac_link) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 ac_cv_sizeof_short=`cat conftest.val`
15322else
15323 echo "$as_me: program exited with status $ac_status" >&5
15324echo "$as_me: failed program was:" >&5
15325sed 's/^/| /' conftest.$ac_ext >&5
15326
15327( exit $ac_status )
15328{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15329See \`config.log' for more details." >&5
15330echo "$as_me: error: cannot compute sizeof (short), 77
15331See \`config.log' for more details." >&2;}
15332 { (exit 1); exit 1; }; }
15333fi
ac1cb8d3 15334rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15335fi
15336fi
15337rm -f conftest.val
15338else
15339 ac_cv_sizeof_short=0
15340fi
15341fi
15342echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15343echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15344cat >>confdefs.h <<_ACEOF
15345#define SIZEOF_SHORT $ac_cv_sizeof_short
15346_ACEOF
15347
15348
15349echo "$as_me:$LINENO: checking for void *" >&5
15350echo $ECHO_N "checking for void *... $ECHO_C" >&6
15351if test "${ac_cv_type_void_p+set}" = set; then
15352 echo $ECHO_N "(cached) $ECHO_C" >&6
15353else
15354 cat >conftest.$ac_ext <<_ACEOF
15355/* confdefs.h. */
15356_ACEOF
15357cat confdefs.h >>conftest.$ac_ext
15358cat >>conftest.$ac_ext <<_ACEOF
15359/* end confdefs.h. */
15360$ac_includes_default
15361int
15362main ()
15363{
15364if ((void * *) 0)
15365 return 0;
15366if (sizeof (void *))
15367 return 0;
15368 ;
15369 return 0;
15370}
15371_ACEOF
15372rm -f conftest.$ac_objext
15373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15374 (eval $ac_compile) 2>conftest.er1
a848cd7e 15375 ac_status=$?
ac1cb8d3
VS
15376 grep -v '^ *+' conftest.er1 >conftest.err
15377 rm -f conftest.er1
15378 cat conftest.err >&5
a848cd7e
SC
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
fc480dc1
DE
15381 { ac_try='test -z "$ac_c_werror_flag"
15382 || test ! -s conftest.err'
ac1cb8d3
VS
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15385 ac_status=$?
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; } &&
15388 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15394 ac_cv_type_void_p=yes
15395else
15396 echo "$as_me: failed program was:" >&5
15397sed 's/^/| /' conftest.$ac_ext >&5
15398
15399ac_cv_type_void_p=no
15400fi
ac1cb8d3 15401rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15402fi
15403echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15404echo "${ECHO_T}$ac_cv_type_void_p" >&6
15405
15406echo "$as_me:$LINENO: checking size of void *" >&5
15407echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15408if test "${ac_cv_sizeof_void_p+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15410else
15411 if test "$ac_cv_type_void_p" = yes; then
15412 # The cast to unsigned long works around a bug in the HP C Compiler
15413 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15414 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15415 # This bug is HP SR number 8606223364.
15416 if test "$cross_compiling" = yes; then
15417 # Depending upon the size, compute the lo and hi bounds.
15418cat >conftest.$ac_ext <<_ACEOF
15419/* confdefs.h. */
15420_ACEOF
15421cat confdefs.h >>conftest.$ac_ext
15422cat >>conftest.$ac_ext <<_ACEOF
15423/* end confdefs.h. */
15424$ac_includes_default
15425int
15426main ()
15427{
15428static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15429test_array [0] = 0
15430
15431 ;
15432 return 0;
15433}
15434_ACEOF
15435rm -f conftest.$ac_objext
15436if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15437 (eval $ac_compile) 2>conftest.er1
a848cd7e 15438 ac_status=$?
ac1cb8d3
VS
15439 grep -v '^ *+' conftest.er1 >conftest.err
15440 rm -f conftest.er1
15441 cat conftest.err >&5
a848cd7e
SC
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
fc480dc1
DE
15444 { ac_try='test -z "$ac_c_werror_flag"
15445 || test ! -s conftest.err'
ac1cb8d3
VS
15446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447 (eval $ac_try) 2>&5
15448 ac_status=$?
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; } &&
15451 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15454 ac_status=$?
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; }; then
15457 ac_lo=0 ac_mid=0
15458 while :; do
15459 cat >conftest.$ac_ext <<_ACEOF
15460/* confdefs.h. */
15461_ACEOF
15462cat confdefs.h >>conftest.$ac_ext
15463cat >>conftest.$ac_ext <<_ACEOF
15464/* end confdefs.h. */
15465$ac_includes_default
15466int
15467main ()
15468{
15469static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15470test_array [0] = 0
15471
15472 ;
15473 return 0;
15474}
15475_ACEOF
15476rm -f conftest.$ac_objext
15477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15478 (eval $ac_compile) 2>conftest.er1
a848cd7e 15479 ac_status=$?
ac1cb8d3
VS
15480 grep -v '^ *+' conftest.er1 >conftest.err
15481 rm -f conftest.er1
15482 cat conftest.err >&5
a848cd7e
SC
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } &&
fc480dc1
DE
15485 { ac_try='test -z "$ac_c_werror_flag"
15486 || test ! -s conftest.err'
ac1cb8d3
VS
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; } &&
15492 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_hi=$ac_mid; break
15499else
15500 echo "$as_me: failed program was:" >&5
15501sed 's/^/| /' conftest.$ac_ext >&5
15502
15503ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
15504 if test $ac_lo -le $ac_mid; then
15505 ac_lo= ac_hi=
15506 break
15507 fi
15508 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 15509fi
ac1cb8d3 15510rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15511 done
15512else
15513 echo "$as_me: failed program was:" >&5
15514sed 's/^/| /' conftest.$ac_ext >&5
15515
15516cat >conftest.$ac_ext <<_ACEOF
15517/* confdefs.h. */
15518_ACEOF
15519cat confdefs.h >>conftest.$ac_ext
15520cat >>conftest.$ac_ext <<_ACEOF
15521/* end confdefs.h. */
15522$ac_includes_default
15523int
15524main ()
15525{
15526static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15527test_array [0] = 0
15528
15529 ;
15530 return 0;
15531}
15532_ACEOF
15533rm -f conftest.$ac_objext
15534if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15535 (eval $ac_compile) 2>conftest.er1
a848cd7e 15536 ac_status=$?
ac1cb8d3
VS
15537 grep -v '^ *+' conftest.er1 >conftest.err
15538 rm -f conftest.er1
15539 cat conftest.err >&5
a848cd7e
SC
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } &&
fc480dc1
DE
15542 { ac_try='test -z "$ac_c_werror_flag"
15543 || test ! -s conftest.err'
ac1cb8d3
VS
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15546 ac_status=$?
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15552 ac_status=$?
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; }; then
15555 ac_hi=-1 ac_mid=-1
15556 while :; do
15557 cat >conftest.$ac_ext <<_ACEOF
15558/* confdefs.h. */
15559_ACEOF
15560cat confdefs.h >>conftest.$ac_ext
15561cat >>conftest.$ac_ext <<_ACEOF
15562/* end confdefs.h. */
15563$ac_includes_default
15564int
15565main ()
15566{
15567static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15568test_array [0] = 0
15569
15570 ;
15571 return 0;
15572}
15573_ACEOF
15574rm -f conftest.$ac_objext
15575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15576 (eval $ac_compile) 2>conftest.er1
a848cd7e 15577 ac_status=$?
ac1cb8d3
VS
15578 grep -v '^ *+' conftest.er1 >conftest.err
15579 rm -f conftest.er1
15580 cat conftest.err >&5
a848cd7e
SC
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } &&
fc480dc1
DE
15583 { ac_try='test -z "$ac_c_werror_flag"
15584 || test ! -s conftest.err'
ac1cb8d3
VS
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; } &&
15590 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15593 ac_status=$?
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 ac_lo=$ac_mid; break
15597else
15598 echo "$as_me: failed program was:" >&5
15599sed 's/^/| /' conftest.$ac_ext >&5
15600
15601ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
15602 if test $ac_mid -le $ac_hi; then
15603 ac_lo= ac_hi=
15604 break
15605 fi
15606 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 15607fi
ac1cb8d3 15608rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15609 done
15610else
15611 echo "$as_me: failed program was:" >&5
15612sed 's/^/| /' conftest.$ac_ext >&5
15613
15614ac_lo= ac_hi=
15615fi
ac1cb8d3 15616rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 15617fi
ac1cb8d3 15618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15619# Binary search between lo and hi bounds.
15620while test "x$ac_lo" != "x$ac_hi"; do
15621 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15622 cat >conftest.$ac_ext <<_ACEOF
15623/* confdefs.h. */
15624_ACEOF
15625cat confdefs.h >>conftest.$ac_ext
15626cat >>conftest.$ac_ext <<_ACEOF
15627/* end confdefs.h. */
15628$ac_includes_default
15629int
15630main ()
15631{
15632static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15633test_array [0] = 0
15634
15635 ;
15636 return 0;
15637}
15638_ACEOF
15639rm -f conftest.$ac_objext
15640if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15641 (eval $ac_compile) 2>conftest.er1
a848cd7e 15642 ac_status=$?
ac1cb8d3
VS
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
a848cd7e
SC
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
fc480dc1
DE
15648 { ac_try='test -z "$ac_c_werror_flag"
15649 || test ! -s conftest.err'
ac1cb8d3
VS
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15652 ac_status=$?
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; } &&
15655 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; }; then
15661 ac_hi=$ac_mid
15662else
15663 echo "$as_me: failed program was:" >&5
15664sed 's/^/| /' conftest.$ac_ext >&5
15665
15666ac_lo=`expr '(' $ac_mid ')' + 1`
15667fi
ac1cb8d3 15668rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15669done
15670case $ac_lo in
15671?*) ac_cv_sizeof_void_p=$ac_lo;;
15672'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15673See \`config.log' for more details." >&5
15674echo "$as_me: error: cannot compute sizeof (void *), 77
15675See \`config.log' for more details." >&2;}
15676 { (exit 1); exit 1; }; } ;;
15677esac
15678else
15679 if test "$cross_compiling" = yes; then
fc480dc1
DE
15680 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15681See \`config.log' for more details." >&5
15682echo "$as_me: error: cannot run test program while cross compiling
15683See \`config.log' for more details." >&2;}
a848cd7e
SC
15684 { (exit 1); exit 1; }; }
15685else
15686 cat >conftest.$ac_ext <<_ACEOF
15687/* confdefs.h. */
15688_ACEOF
15689cat confdefs.h >>conftest.$ac_ext
15690cat >>conftest.$ac_ext <<_ACEOF
15691/* end confdefs.h. */
15692$ac_includes_default
15693long longval () { return (long) (sizeof (void *)); }
15694unsigned long ulongval () { return (long) (sizeof (void *)); }
15695#include <stdio.h>
15696#include <stdlib.h>
15697int
15698main ()
15699{
15700
15701 FILE *f = fopen ("conftest.val", "w");
15702 if (! f)
15703 exit (1);
15704 if (((long) (sizeof (void *))) < 0)
15705 {
15706 long i = longval ();
15707 if (i != ((long) (sizeof (void *))))
15708 exit (1);
15709 fprintf (f, "%ld\n", i);
15710 }
15711 else
15712 {
15713 unsigned long i = ulongval ();
15714 if (i != ((long) (sizeof (void *))))
15715 exit (1);
15716 fprintf (f, "%lu\n", i);
15717 }
15718 exit (ferror (f) || fclose (f) != 0);
15719
15720 ;
15721 return 0;
15722}
15723_ACEOF
15724rm -f conftest$ac_exeext
15725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15726 (eval $ac_link) 2>&5
15727 ac_status=$?
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15731 (eval $ac_try) 2>&5
15732 ac_status=$?
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); }; }; then
15735 ac_cv_sizeof_void_p=`cat conftest.val`
15736else
15737 echo "$as_me: program exited with status $ac_status" >&5
15738echo "$as_me: failed program was:" >&5
15739sed 's/^/| /' conftest.$ac_ext >&5
15740
15741( exit $ac_status )
15742{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15743See \`config.log' for more details." >&5
15744echo "$as_me: error: cannot compute sizeof (void *), 77
15745See \`config.log' for more details." >&2;}
15746 { (exit 1); exit 1; }; }
15747fi
ac1cb8d3 15748rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15749fi
15750fi
15751rm -f conftest.val
15752else
15753 ac_cv_sizeof_void_p=0
15754fi
15755fi
15756echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15757echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15758cat >>confdefs.h <<_ACEOF
15759#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15760_ACEOF
15761
15762
15763echo "$as_me:$LINENO: checking for int" >&5
15764echo $ECHO_N "checking for int... $ECHO_C" >&6
15765if test "${ac_cv_type_int+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15767else
15768 cat >conftest.$ac_ext <<_ACEOF
15769/* confdefs.h. */
15770_ACEOF
15771cat confdefs.h >>conftest.$ac_ext
15772cat >>conftest.$ac_ext <<_ACEOF
15773/* end confdefs.h. */
15774$ac_includes_default
15775int
15776main ()
15777{
15778if ((int *) 0)
15779 return 0;
15780if (sizeof (int))
15781 return 0;
15782 ;
15783 return 0;
15784}
15785_ACEOF
15786rm -f conftest.$ac_objext
15787if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15788 (eval $ac_compile) 2>conftest.er1
a848cd7e 15789 ac_status=$?
ac1cb8d3
VS
15790 grep -v '^ *+' conftest.er1 >conftest.err
15791 rm -f conftest.er1
15792 cat conftest.err >&5
a848cd7e
SC
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } &&
fc480dc1
DE
15795 { ac_try='test -z "$ac_c_werror_flag"
15796 || test ! -s conftest.err'
ac1cb8d3
VS
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15805 ac_status=$?
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_cv_type_int=yes
15809else
15810 echo "$as_me: failed program was:" >&5
15811sed 's/^/| /' conftest.$ac_ext >&5
15812
15813ac_cv_type_int=no
15814fi
ac1cb8d3 15815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15816fi
15817echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15818echo "${ECHO_T}$ac_cv_type_int" >&6
15819
15820echo "$as_me:$LINENO: checking size of int" >&5
15821echo $ECHO_N "checking size of int... $ECHO_C" >&6
15822if test "${ac_cv_sizeof_int+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15824else
15825 if test "$ac_cv_type_int" = yes; then
15826 # The cast to unsigned long works around a bug in the HP C Compiler
15827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15829 # This bug is HP SR number 8606223364.
15830 if test "$cross_compiling" = yes; then
15831 # Depending upon the size, compute the lo and hi bounds.
15832cat >conftest.$ac_ext <<_ACEOF
15833/* confdefs.h. */
15834_ACEOF
15835cat confdefs.h >>conftest.$ac_ext
15836cat >>conftest.$ac_ext <<_ACEOF
15837/* end confdefs.h. */
15838$ac_includes_default
15839int
15840main ()
15841{
15842static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15843test_array [0] = 0
15844
15845 ;
15846 return 0;
15847}
15848_ACEOF
15849rm -f conftest.$ac_objext
15850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15851 (eval $ac_compile) 2>conftest.er1
a848cd7e 15852 ac_status=$?
ac1cb8d3
VS
15853 grep -v '^ *+' conftest.er1 >conftest.err
15854 rm -f conftest.er1
15855 cat conftest.err >&5
a848cd7e
SC
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
fc480dc1
DE
15858 { ac_try='test -z "$ac_c_werror_flag"
15859 || test ! -s conftest.err'
ac1cb8d3
VS
15860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15861 (eval $ac_try) 2>&5
15862 ac_status=$?
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; } &&
15865 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15868 ac_status=$?
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; }; then
15871 ac_lo=0 ac_mid=0
15872 while :; do
15873 cat >conftest.$ac_ext <<_ACEOF
15874/* confdefs.h. */
15875_ACEOF
15876cat confdefs.h >>conftest.$ac_ext
15877cat >>conftest.$ac_ext <<_ACEOF
15878/* end confdefs.h. */
15879$ac_includes_default
15880int
15881main ()
15882{
15883static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15884test_array [0] = 0
15885
15886 ;
15887 return 0;
15888}
15889_ACEOF
15890rm -f conftest.$ac_objext
15891if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15892 (eval $ac_compile) 2>conftest.er1
a848cd7e 15893 ac_status=$?
ac1cb8d3
VS
15894 grep -v '^ *+' conftest.er1 >conftest.err
15895 rm -f conftest.er1
15896 cat conftest.err >&5
a848cd7e
SC
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } &&
fc480dc1
DE
15899 { ac_try='test -z "$ac_c_werror_flag"
15900 || test ! -s conftest.err'
ac1cb8d3
VS
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; } &&
15906 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 ac_hi=$ac_mid; break
15913else
15914 echo "$as_me: failed program was:" >&5
15915sed 's/^/| /' conftest.$ac_ext >&5
15916
15917ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
15918 if test $ac_lo -le $ac_mid; then
15919 ac_lo= ac_hi=
15920 break
15921 fi
15922 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 15923fi
ac1cb8d3 15924rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15925 done
15926else
15927 echo "$as_me: failed program was:" >&5
15928sed 's/^/| /' conftest.$ac_ext >&5
15929
15930cat >conftest.$ac_ext <<_ACEOF
15931/* confdefs.h. */
15932_ACEOF
15933cat confdefs.h >>conftest.$ac_ext
15934cat >>conftest.$ac_ext <<_ACEOF
15935/* end confdefs.h. */
15936$ac_includes_default
15937int
15938main ()
15939{
15940static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15941test_array [0] = 0
15942
15943 ;
15944 return 0;
15945}
15946_ACEOF
15947rm -f conftest.$ac_objext
15948if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15949 (eval $ac_compile) 2>conftest.er1
a848cd7e 15950 ac_status=$?
ac1cb8d3
VS
15951 grep -v '^ *+' conftest.er1 >conftest.err
15952 rm -f conftest.er1
15953 cat conftest.err >&5
a848cd7e
SC
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } &&
fc480dc1
DE
15956 { ac_try='test -z "$ac_c_werror_flag"
15957 || test ! -s conftest.err'
ac1cb8d3
VS
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; } &&
15963 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 ac_hi=-1 ac_mid=-1
15970 while :; do
15971 cat >conftest.$ac_ext <<_ACEOF
15972/* confdefs.h. */
15973_ACEOF
15974cat confdefs.h >>conftest.$ac_ext
15975cat >>conftest.$ac_ext <<_ACEOF
15976/* end confdefs.h. */
15977$ac_includes_default
15978int
15979main ()
15980{
15981static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15982test_array [0] = 0
15983
15984 ;
15985 return 0;
15986}
15987_ACEOF
15988rm -f conftest.$ac_objext
15989if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15990 (eval $ac_compile) 2>conftest.er1
a848cd7e 15991 ac_status=$?
ac1cb8d3
VS
15992 grep -v '^ *+' conftest.er1 >conftest.err
15993 rm -f conftest.er1
15994 cat conftest.err >&5
a848cd7e
SC
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); } &&
fc480dc1
DE
15997 { ac_try='test -z "$ac_c_werror_flag"
15998 || test ! -s conftest.err'
ac1cb8d3
VS
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16001 ac_status=$?
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16007 ac_status=$?
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16010 ac_lo=$ac_mid; break
16011else
16012 echo "$as_me: failed program was:" >&5
16013sed 's/^/| /' conftest.$ac_ext >&5
16014
16015ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
16016 if test $ac_mid -le $ac_hi; then
16017 ac_lo= ac_hi=
16018 break
16019 fi
16020 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 16021fi
ac1cb8d3 16022rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16023 done
16024else
16025 echo "$as_me: failed program was:" >&5
16026sed 's/^/| /' conftest.$ac_ext >&5
16027
16028ac_lo= ac_hi=
16029fi
ac1cb8d3 16030rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 16031fi
ac1cb8d3 16032rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16033# Binary search between lo and hi bounds.
16034while test "x$ac_lo" != "x$ac_hi"; do
16035 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16036 cat >conftest.$ac_ext <<_ACEOF
16037/* confdefs.h. */
16038_ACEOF
16039cat confdefs.h >>conftest.$ac_ext
16040cat >>conftest.$ac_ext <<_ACEOF
16041/* end confdefs.h. */
16042$ac_includes_default
16043int
16044main ()
16045{
16046static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16047test_array [0] = 0
16048
16049 ;
16050 return 0;
16051}
16052_ACEOF
16053rm -f conftest.$ac_objext
16054if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16055 (eval $ac_compile) 2>conftest.er1
a848cd7e 16056 ac_status=$?
ac1cb8d3
VS
16057 grep -v '^ *+' conftest.er1 >conftest.err
16058 rm -f conftest.er1
16059 cat conftest.err >&5
a848cd7e
SC
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
fc480dc1
DE
16062 { ac_try='test -z "$ac_c_werror_flag"
16063 || test ! -s conftest.err'
ac1cb8d3
VS
16064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 (eval $ac_try) 2>&5
16066 ac_status=$?
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); }; } &&
16069 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16072 ac_status=$?
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; }; then
16075 ac_hi=$ac_mid
16076else
16077 echo "$as_me: failed program was:" >&5
16078sed 's/^/| /' conftest.$ac_ext >&5
16079
16080ac_lo=`expr '(' $ac_mid ')' + 1`
16081fi
ac1cb8d3 16082rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16083done
16084case $ac_lo in
16085?*) ac_cv_sizeof_int=$ac_lo;;
16086'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16087See \`config.log' for more details." >&5
16088echo "$as_me: error: cannot compute sizeof (int), 77
16089See \`config.log' for more details." >&2;}
16090 { (exit 1); exit 1; }; } ;;
16091esac
16092else
16093 if test "$cross_compiling" = yes; then
fc480dc1
DE
16094 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16095See \`config.log' for more details." >&5
16096echo "$as_me: error: cannot run test program while cross compiling
16097See \`config.log' for more details." >&2;}
a848cd7e
SC
16098 { (exit 1); exit 1; }; }
16099else
16100 cat >conftest.$ac_ext <<_ACEOF
16101/* confdefs.h. */
16102_ACEOF
16103cat confdefs.h >>conftest.$ac_ext
16104cat >>conftest.$ac_ext <<_ACEOF
16105/* end confdefs.h. */
16106$ac_includes_default
16107long longval () { return (long) (sizeof (int)); }
16108unsigned long ulongval () { return (long) (sizeof (int)); }
16109#include <stdio.h>
16110#include <stdlib.h>
16111int
16112main ()
16113{
16114
16115 FILE *f = fopen ("conftest.val", "w");
16116 if (! f)
16117 exit (1);
16118 if (((long) (sizeof (int))) < 0)
16119 {
16120 long i = longval ();
16121 if (i != ((long) (sizeof (int))))
16122 exit (1);
16123 fprintf (f, "%ld\n", i);
16124 }
16125 else
16126 {
16127 unsigned long i = ulongval ();
16128 if (i != ((long) (sizeof (int))))
16129 exit (1);
16130 fprintf (f, "%lu\n", i);
16131 }
16132 exit (ferror (f) || fclose (f) != 0);
16133
16134 ;
16135 return 0;
16136}
16137_ACEOF
16138rm -f conftest$ac_exeext
16139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16140 (eval $ac_link) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145 (eval $ac_try) 2>&5
16146 ac_status=$?
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); }; }; then
16149 ac_cv_sizeof_int=`cat conftest.val`
16150else
16151 echo "$as_me: program exited with status $ac_status" >&5
16152echo "$as_me: failed program was:" >&5
16153sed 's/^/| /' conftest.$ac_ext >&5
16154
16155( exit $ac_status )
16156{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16157See \`config.log' for more details." >&5
16158echo "$as_me: error: cannot compute sizeof (int), 77
16159See \`config.log' for more details." >&2;}
16160 { (exit 1); exit 1; }; }
16161fi
ac1cb8d3 16162rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16163fi
16164fi
16165rm -f conftest.val
16166else
16167 ac_cv_sizeof_int=0
16168fi
16169fi
16170echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16171echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16172cat >>confdefs.h <<_ACEOF
16173#define SIZEOF_INT $ac_cv_sizeof_int
16174_ACEOF
16175
16176
16177echo "$as_me:$LINENO: checking for long" >&5
16178echo $ECHO_N "checking for long... $ECHO_C" >&6
16179if test "${ac_cv_type_long+set}" = set; then
16180 echo $ECHO_N "(cached) $ECHO_C" >&6
16181else
16182 cat >conftest.$ac_ext <<_ACEOF
16183/* confdefs.h. */
16184_ACEOF
16185cat confdefs.h >>conftest.$ac_ext
16186cat >>conftest.$ac_ext <<_ACEOF
16187/* end confdefs.h. */
16188$ac_includes_default
16189int
16190main ()
16191{
16192if ((long *) 0)
16193 return 0;
16194if (sizeof (long))
16195 return 0;
16196 ;
16197 return 0;
16198}
16199_ACEOF
16200rm -f conftest.$ac_objext
16201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16202 (eval $ac_compile) 2>conftest.er1
a848cd7e 16203 ac_status=$?
ac1cb8d3
VS
16204 grep -v '^ *+' conftest.er1 >conftest.err
16205 rm -f conftest.er1
16206 cat conftest.err >&5
a848cd7e
SC
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
fc480dc1
DE
16209 { ac_try='test -z "$ac_c_werror_flag"
16210 || test ! -s conftest.err'
ac1cb8d3
VS
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; } &&
16216 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 ac_cv_type_long=yes
16223else
16224 echo "$as_me: failed program was:" >&5
16225sed 's/^/| /' conftest.$ac_ext >&5
16226
16227ac_cv_type_long=no
16228fi
ac1cb8d3 16229rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16230fi
16231echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16232echo "${ECHO_T}$ac_cv_type_long" >&6
16233
16234echo "$as_me:$LINENO: checking size of long" >&5
16235echo $ECHO_N "checking size of long... $ECHO_C" >&6
16236if test "${ac_cv_sizeof_long+set}" = set; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16238else
16239 if test "$ac_cv_type_long" = yes; then
16240 # The cast to unsigned long works around a bug in the HP C Compiler
16241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16243 # This bug is HP SR number 8606223364.
16244 if test "$cross_compiling" = yes; then
16245 # Depending upon the size, compute the lo and hi bounds.
16246cat >conftest.$ac_ext <<_ACEOF
16247/* confdefs.h. */
16248_ACEOF
16249cat confdefs.h >>conftest.$ac_ext
16250cat >>conftest.$ac_ext <<_ACEOF
16251/* end confdefs.h. */
16252$ac_includes_default
16253int
16254main ()
16255{
16256static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16257test_array [0] = 0
16258
16259 ;
16260 return 0;
16261}
16262_ACEOF
16263rm -f conftest.$ac_objext
16264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16265 (eval $ac_compile) 2>conftest.er1
a848cd7e 16266 ac_status=$?
ac1cb8d3
VS
16267 grep -v '^ *+' conftest.er1 >conftest.err
16268 rm -f conftest.er1
16269 cat conftest.err >&5
a848cd7e
SC
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); } &&
fc480dc1
DE
16272 { ac_try='test -z "$ac_c_werror_flag"
16273 || test ! -s conftest.err'
ac1cb8d3
VS
16274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16275 (eval $ac_try) 2>&5
16276 ac_status=$?
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; } &&
16279 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16282 ac_status=$?
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16285 ac_lo=0 ac_mid=0
16286 while :; do
16287 cat >conftest.$ac_ext <<_ACEOF
16288/* confdefs.h. */
16289_ACEOF
16290cat confdefs.h >>conftest.$ac_ext
16291cat >>conftest.$ac_ext <<_ACEOF
16292/* end confdefs.h. */
16293$ac_includes_default
16294int
16295main ()
16296{
16297static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16298test_array [0] = 0
16299
16300 ;
16301 return 0;
16302}
16303_ACEOF
16304rm -f conftest.$ac_objext
16305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16306 (eval $ac_compile) 2>conftest.er1
a848cd7e 16307 ac_status=$?
ac1cb8d3
VS
16308 grep -v '^ *+' conftest.er1 >conftest.err
16309 rm -f conftest.er1
16310 cat conftest.err >&5
a848cd7e
SC
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } &&
fc480dc1
DE
16313 { ac_try='test -z "$ac_c_werror_flag"
16314 || test ! -s conftest.err'
ac1cb8d3
VS
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; } &&
16320 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_hi=$ac_mid; break
16327else
16328 echo "$as_me: failed program was:" >&5
16329sed 's/^/| /' conftest.$ac_ext >&5
16330
16331ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
16332 if test $ac_lo -le $ac_mid; then
16333 ac_lo= ac_hi=
16334 break
16335 fi
16336 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 16337fi
ac1cb8d3 16338rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16339 done
16340else
16341 echo "$as_me: failed program was:" >&5
16342sed 's/^/| /' conftest.$ac_ext >&5
16343
16344cat >conftest.$ac_ext <<_ACEOF
16345/* confdefs.h. */
16346_ACEOF
16347cat confdefs.h >>conftest.$ac_ext
16348cat >>conftest.$ac_ext <<_ACEOF
16349/* end confdefs.h. */
16350$ac_includes_default
16351int
16352main ()
16353{
16354static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16355test_array [0] = 0
16356
16357 ;
16358 return 0;
16359}
16360_ACEOF
16361rm -f conftest.$ac_objext
16362if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16363 (eval $ac_compile) 2>conftest.er1
a848cd7e 16364 ac_status=$?
ac1cb8d3
VS
16365 grep -v '^ *+' conftest.er1 >conftest.err
16366 rm -f conftest.er1
16367 cat conftest.err >&5
a848cd7e
SC
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
fc480dc1
DE
16370 { ac_try='test -z "$ac_c_werror_flag"
16371 || test ! -s conftest.err'
ac1cb8d3
VS
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16374 ac_status=$?
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; } &&
16377 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16380 ac_status=$?
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16383 ac_hi=-1 ac_mid=-1
16384 while :; do
16385 cat >conftest.$ac_ext <<_ACEOF
16386/* confdefs.h. */
16387_ACEOF
16388cat confdefs.h >>conftest.$ac_ext
16389cat >>conftest.$ac_ext <<_ACEOF
16390/* end confdefs.h. */
16391$ac_includes_default
16392int
16393main ()
16394{
16395static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16396test_array [0] = 0
16397
16398 ;
16399 return 0;
16400}
16401_ACEOF
16402rm -f conftest.$ac_objext
16403if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16404 (eval $ac_compile) 2>conftest.er1
a848cd7e 16405 ac_status=$?
ac1cb8d3
VS
16406 grep -v '^ *+' conftest.er1 >conftest.err
16407 rm -f conftest.er1
16408 cat conftest.err >&5
a848cd7e
SC
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
fc480dc1
DE
16411 { ac_try='test -z "$ac_c_werror_flag"
16412 || test ! -s conftest.err'
ac1cb8d3
VS
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16421 ac_status=$?
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; }; then
16424 ac_lo=$ac_mid; break
16425else
16426 echo "$as_me: failed program was:" >&5
16427sed 's/^/| /' conftest.$ac_ext >&5
16428
16429ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
16430 if test $ac_mid -le $ac_hi; then
16431 ac_lo= ac_hi=
16432 break
16433 fi
16434 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 16435fi
ac1cb8d3 16436rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16437 done
16438else
16439 echo "$as_me: failed program was:" >&5
16440sed 's/^/| /' conftest.$ac_ext >&5
16441
16442ac_lo= ac_hi=
16443fi
ac1cb8d3 16444rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 16445fi
ac1cb8d3 16446rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16447# Binary search between lo and hi bounds.
16448while test "x$ac_lo" != "x$ac_hi"; do
16449 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16450 cat >conftest.$ac_ext <<_ACEOF
16451/* confdefs.h. */
16452_ACEOF
16453cat confdefs.h >>conftest.$ac_ext
16454cat >>conftest.$ac_ext <<_ACEOF
16455/* end confdefs.h. */
16456$ac_includes_default
16457int
16458main ()
16459{
16460static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16461test_array [0] = 0
16462
16463 ;
16464 return 0;
16465}
16466_ACEOF
16467rm -f conftest.$ac_objext
16468if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16469 (eval $ac_compile) 2>conftest.er1
a848cd7e 16470 ac_status=$?
ac1cb8d3
VS
16471 grep -v '^ *+' conftest.er1 >conftest.err
16472 rm -f conftest.er1
16473 cat conftest.err >&5
a848cd7e
SC
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } &&
fc480dc1
DE
16476 { ac_try='test -z "$ac_c_werror_flag"
16477 || test ! -s conftest.err'
ac1cb8d3
VS
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16480 ac_status=$?
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; } &&
16483 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16486 ac_status=$?
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; }; then
16489 ac_hi=$ac_mid
16490else
16491 echo "$as_me: failed program was:" >&5
16492sed 's/^/| /' conftest.$ac_ext >&5
16493
16494ac_lo=`expr '(' $ac_mid ')' + 1`
16495fi
ac1cb8d3 16496rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16497done
16498case $ac_lo in
16499?*) ac_cv_sizeof_long=$ac_lo;;
16500'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16501See \`config.log' for more details." >&5
16502echo "$as_me: error: cannot compute sizeof (long), 77
16503See \`config.log' for more details." >&2;}
16504 { (exit 1); exit 1; }; } ;;
16505esac
16506else
16507 if test "$cross_compiling" = yes; then
fc480dc1
DE
16508 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16509See \`config.log' for more details." >&5
16510echo "$as_me: error: cannot run test program while cross compiling
16511See \`config.log' for more details." >&2;}
a848cd7e
SC
16512 { (exit 1); exit 1; }; }
16513else
16514 cat >conftest.$ac_ext <<_ACEOF
16515/* confdefs.h. */
16516_ACEOF
16517cat confdefs.h >>conftest.$ac_ext
16518cat >>conftest.$ac_ext <<_ACEOF
16519/* end confdefs.h. */
16520$ac_includes_default
16521long longval () { return (long) (sizeof (long)); }
16522unsigned long ulongval () { return (long) (sizeof (long)); }
16523#include <stdio.h>
16524#include <stdlib.h>
16525int
16526main ()
16527{
16528
16529 FILE *f = fopen ("conftest.val", "w");
16530 if (! f)
16531 exit (1);
16532 if (((long) (sizeof (long))) < 0)
16533 {
16534 long i = longval ();
16535 if (i != ((long) (sizeof (long))))
16536 exit (1);
16537 fprintf (f, "%ld\n", i);
16538 }
16539 else
16540 {
16541 unsigned long i = ulongval ();
16542 if (i != ((long) (sizeof (long))))
16543 exit (1);
16544 fprintf (f, "%lu\n", i);
16545 }
16546 exit (ferror (f) || fclose (f) != 0);
16547
16548 ;
16549 return 0;
16550}
16551_ACEOF
16552rm -f conftest$ac_exeext
16553if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554 (eval $ac_link) 2>&5
16555 ac_status=$?
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 ac_cv_sizeof_long=`cat conftest.val`
16564else
16565 echo "$as_me: program exited with status $ac_status" >&5
16566echo "$as_me: failed program was:" >&5
16567sed 's/^/| /' conftest.$ac_ext >&5
16568
16569( exit $ac_status )
16570{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16571See \`config.log' for more details." >&5
16572echo "$as_me: error: cannot compute sizeof (long), 77
16573See \`config.log' for more details." >&2;}
16574 { (exit 1); exit 1; }; }
16575fi
ac1cb8d3 16576rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16577fi
16578fi
16579rm -f conftest.val
16580else
16581 ac_cv_sizeof_long=0
16582fi
16583fi
16584echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16585echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16586cat >>confdefs.h <<_ACEOF
16587#define SIZEOF_LONG $ac_cv_sizeof_long
16588_ACEOF
16589
16590
16591echo "$as_me:$LINENO: checking for size_t" >&5
16592echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16593if test "${ac_cv_type_size_t+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16595else
16596 cat >conftest.$ac_ext <<_ACEOF
16597/* confdefs.h. */
16598_ACEOF
16599cat confdefs.h >>conftest.$ac_ext
16600cat >>conftest.$ac_ext <<_ACEOF
16601/* end confdefs.h. */
16602$ac_includes_default
16603int
16604main ()
16605{
16606if ((size_t *) 0)
16607 return 0;
16608if (sizeof (size_t))
16609 return 0;
16610 ;
16611 return 0;
16612}
16613_ACEOF
16614rm -f conftest.$ac_objext
16615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16616 (eval $ac_compile) 2>conftest.er1
a848cd7e 16617 ac_status=$?
ac1cb8d3
VS
16618 grep -v '^ *+' conftest.er1 >conftest.err
16619 rm -f conftest.er1
16620 cat conftest.err >&5
a848cd7e
SC
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } &&
fc480dc1
DE
16623 { ac_try='test -z "$ac_c_werror_flag"
16624 || test ! -s conftest.err'
ac1cb8d3
VS
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16633 ac_status=$?
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_cv_type_size_t=yes
16637else
16638 echo "$as_me: failed program was:" >&5
16639sed 's/^/| /' conftest.$ac_ext >&5
16640
16641ac_cv_type_size_t=no
16642fi
ac1cb8d3 16643rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16644fi
16645echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16646echo "${ECHO_T}$ac_cv_type_size_t" >&6
16647
16648echo "$as_me:$LINENO: checking size of size_t" >&5
16649echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16650if test "${ac_cv_sizeof_size_t+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16652else
16653 if test "$ac_cv_type_size_t" = yes; then
16654 # The cast to unsigned long works around a bug in the HP C Compiler
16655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16657 # This bug is HP SR number 8606223364.
16658 if test "$cross_compiling" = yes; then
16659 # Depending upon the size, compute the lo and hi bounds.
16660cat >conftest.$ac_ext <<_ACEOF
16661/* confdefs.h. */
16662_ACEOF
16663cat confdefs.h >>conftest.$ac_ext
16664cat >>conftest.$ac_ext <<_ACEOF
16665/* end confdefs.h. */
16666$ac_includes_default
16667int
16668main ()
16669{
16670static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16671test_array [0] = 0
16672
16673 ;
16674 return 0;
16675}
16676_ACEOF
16677rm -f conftest.$ac_objext
16678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16679 (eval $ac_compile) 2>conftest.er1
a848cd7e 16680 ac_status=$?
ac1cb8d3
VS
16681 grep -v '^ *+' conftest.er1 >conftest.err
16682 rm -f conftest.er1
16683 cat conftest.err >&5
a848cd7e
SC
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
fc480dc1
DE
16686 { ac_try='test -z "$ac_c_werror_flag"
16687 || test ! -s conftest.err'
ac1cb8d3
VS
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16690 ac_status=$?
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16696 ac_status=$?
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16699 ac_lo=0 ac_mid=0
16700 while :; do
16701 cat >conftest.$ac_ext <<_ACEOF
16702/* confdefs.h. */
16703_ACEOF
16704cat confdefs.h >>conftest.$ac_ext
16705cat >>conftest.$ac_ext <<_ACEOF
16706/* end confdefs.h. */
16707$ac_includes_default
16708int
16709main ()
16710{
16711static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16712test_array [0] = 0
16713
16714 ;
16715 return 0;
16716}
16717_ACEOF
16718rm -f conftest.$ac_objext
16719if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16720 (eval $ac_compile) 2>conftest.er1
a848cd7e 16721 ac_status=$?
ac1cb8d3
VS
16722 grep -v '^ *+' conftest.er1 >conftest.err
16723 rm -f conftest.er1
16724 cat conftest.err >&5
a848cd7e
SC
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } &&
fc480dc1
DE
16727 { ac_try='test -z "$ac_c_werror_flag"
16728 || test ! -s conftest.err'
ac1cb8d3
VS
16729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16731 ac_status=$?
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); }; } &&
16734 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16737 ac_status=$?
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; }; then
16740 ac_hi=$ac_mid; break
16741else
16742 echo "$as_me: failed program was:" >&5
16743sed 's/^/| /' conftest.$ac_ext >&5
16744
16745ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
16746 if test $ac_lo -le $ac_mid; then
16747 ac_lo= ac_hi=
16748 break
16749 fi
16750 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 16751fi
ac1cb8d3 16752rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16753 done
16754else
16755 echo "$as_me: failed program was:" >&5
16756sed 's/^/| /' conftest.$ac_ext >&5
16757
16758cat >conftest.$ac_ext <<_ACEOF
16759/* confdefs.h. */
16760_ACEOF
16761cat confdefs.h >>conftest.$ac_ext
16762cat >>conftest.$ac_ext <<_ACEOF
16763/* end confdefs.h. */
16764$ac_includes_default
16765int
16766main ()
16767{
16768static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16769test_array [0] = 0
16770
16771 ;
16772 return 0;
16773}
16774_ACEOF
16775rm -f conftest.$ac_objext
16776if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16777 (eval $ac_compile) 2>conftest.er1
a848cd7e 16778 ac_status=$?
ac1cb8d3
VS
16779 grep -v '^ *+' conftest.er1 >conftest.err
16780 rm -f conftest.er1
16781 cat conftest.err >&5
a848cd7e
SC
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
fc480dc1
DE
16784 { ac_try='test -z "$ac_c_werror_flag"
16785 || test ! -s conftest.err'
ac1cb8d3
VS
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16788 ac_status=$?
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; } &&
16791 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16794 ac_status=$?
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16797 ac_hi=-1 ac_mid=-1
16798 while :; do
16799 cat >conftest.$ac_ext <<_ACEOF
16800/* confdefs.h. */
16801_ACEOF
16802cat confdefs.h >>conftest.$ac_ext
16803cat >>conftest.$ac_ext <<_ACEOF
16804/* end confdefs.h. */
16805$ac_includes_default
16806int
16807main ()
16808{
16809static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16810test_array [0] = 0
16811
16812 ;
16813 return 0;
16814}
16815_ACEOF
16816rm -f conftest.$ac_objext
16817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16818 (eval $ac_compile) 2>conftest.er1
a848cd7e 16819 ac_status=$?
ac1cb8d3
VS
16820 grep -v '^ *+' conftest.er1 >conftest.err
16821 rm -f conftest.er1
16822 cat conftest.err >&5
a848cd7e
SC
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
fc480dc1
DE
16825 { ac_try='test -z "$ac_c_werror_flag"
16826 || test ! -s conftest.err'
ac1cb8d3
VS
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16829 ac_status=$?
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } &&
16832 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16835 ac_status=$?
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; }; then
16838 ac_lo=$ac_mid; break
16839else
16840 echo "$as_me: failed program was:" >&5
16841sed 's/^/| /' conftest.$ac_ext >&5
16842
16843ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
16844 if test $ac_mid -le $ac_hi; then
16845 ac_lo= ac_hi=
16846 break
16847 fi
16848 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 16849fi
ac1cb8d3 16850rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16851 done
16852else
16853 echo "$as_me: failed program was:" >&5
16854sed 's/^/| /' conftest.$ac_ext >&5
16855
16856ac_lo= ac_hi=
16857fi
ac1cb8d3 16858rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 16859fi
ac1cb8d3 16860rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16861# Binary search between lo and hi bounds.
16862while test "x$ac_lo" != "x$ac_hi"; do
16863 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16864 cat >conftest.$ac_ext <<_ACEOF
16865/* confdefs.h. */
16866_ACEOF
16867cat confdefs.h >>conftest.$ac_ext
16868cat >>conftest.$ac_ext <<_ACEOF
16869/* end confdefs.h. */
16870$ac_includes_default
16871int
16872main ()
16873{
16874static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16875test_array [0] = 0
16876
16877 ;
16878 return 0;
16879}
16880_ACEOF
16881rm -f conftest.$ac_objext
16882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16883 (eval $ac_compile) 2>conftest.er1
a848cd7e 16884 ac_status=$?
ac1cb8d3
VS
16885 grep -v '^ *+' conftest.er1 >conftest.err
16886 rm -f conftest.er1
16887 cat conftest.err >&5
a848cd7e
SC
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } &&
fc480dc1
DE
16890 { ac_try='test -z "$ac_c_werror_flag"
16891 || test ! -s conftest.err'
ac1cb8d3
VS
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16894 ac_status=$?
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_hi=$ac_mid
16904else
16905 echo "$as_me: failed program was:" >&5
16906sed 's/^/| /' conftest.$ac_ext >&5
16907
16908ac_lo=`expr '(' $ac_mid ')' + 1`
16909fi
ac1cb8d3 16910rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16911done
16912case $ac_lo in
16913?*) ac_cv_sizeof_size_t=$ac_lo;;
16914'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16915See \`config.log' for more details." >&5
16916echo "$as_me: error: cannot compute sizeof (size_t), 77
16917See \`config.log' for more details." >&2;}
16918 { (exit 1); exit 1; }; } ;;
16919esac
16920else
16921 if test "$cross_compiling" = yes; then
fc480dc1
DE
16922 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16923See \`config.log' for more details." >&5
16924echo "$as_me: error: cannot run test program while cross compiling
16925See \`config.log' for more details." >&2;}
a848cd7e
SC
16926 { (exit 1); exit 1; }; }
16927else
16928 cat >conftest.$ac_ext <<_ACEOF
16929/* confdefs.h. */
16930_ACEOF
16931cat confdefs.h >>conftest.$ac_ext
16932cat >>conftest.$ac_ext <<_ACEOF
16933/* end confdefs.h. */
16934$ac_includes_default
16935long longval () { return (long) (sizeof (size_t)); }
16936unsigned long ulongval () { return (long) (sizeof (size_t)); }
16937#include <stdio.h>
16938#include <stdlib.h>
16939int
16940main ()
16941{
16942
16943 FILE *f = fopen ("conftest.val", "w");
16944 if (! f)
16945 exit (1);
16946 if (((long) (sizeof (size_t))) < 0)
16947 {
16948 long i = longval ();
16949 if (i != ((long) (sizeof (size_t))))
16950 exit (1);
16951 fprintf (f, "%ld\n", i);
16952 }
16953 else
16954 {
16955 unsigned long i = ulongval ();
16956 if (i != ((long) (sizeof (size_t))))
16957 exit (1);
16958 fprintf (f, "%lu\n", i);
16959 }
16960 exit (ferror (f) || fclose (f) != 0);
16961
16962 ;
16963 return 0;
16964}
16965_ACEOF
16966rm -f conftest$ac_exeext
16967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16968 (eval $ac_link) 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16974 ac_status=$?
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; }; then
16977 ac_cv_sizeof_size_t=`cat conftest.val`
16978else
16979 echo "$as_me: program exited with status $ac_status" >&5
16980echo "$as_me: failed program was:" >&5
16981sed 's/^/| /' conftest.$ac_ext >&5
16982
16983( exit $ac_status )
16984{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16985See \`config.log' for more details." >&5
16986echo "$as_me: error: cannot compute sizeof (size_t), 77
16987See \`config.log' for more details." >&2;}
16988 { (exit 1); exit 1; }; }
16989fi
ac1cb8d3 16990rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16991fi
16992fi
16993rm -f conftest.val
16994else
16995 ac_cv_sizeof_size_t=0
16996fi
16997fi
16998echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16999echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17000cat >>confdefs.h <<_ACEOF
17001#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17002_ACEOF
17003
17004
17005
17006case "${host}" in
17007 arm-*-linux* )
17008 echo "$as_me:$LINENO: checking for long long" >&5
17009echo $ECHO_N "checking for long long... $ECHO_C" >&6
17010if test "${ac_cv_type_long_long+set}" = set; then
17011 echo $ECHO_N "(cached) $ECHO_C" >&6
17012else
17013 cat >conftest.$ac_ext <<_ACEOF
17014/* confdefs.h. */
17015_ACEOF
17016cat confdefs.h >>conftest.$ac_ext
17017cat >>conftest.$ac_ext <<_ACEOF
17018/* end confdefs.h. */
17019$ac_includes_default
17020int
17021main ()
17022{
17023if ((long long *) 0)
17024 return 0;
17025if (sizeof (long long))
17026 return 0;
17027 ;
17028 return 0;
17029}
17030_ACEOF
17031rm -f conftest.$ac_objext
17032if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17033 (eval $ac_compile) 2>conftest.er1
a848cd7e 17034 ac_status=$?
ac1cb8d3
VS
17035 grep -v '^ *+' conftest.er1 >conftest.err
17036 rm -f conftest.er1
17037 cat conftest.err >&5
a848cd7e
SC
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } &&
fc480dc1
DE
17040 { ac_try='test -z "$ac_c_werror_flag"
17041 || test ! -s conftest.err'
ac1cb8d3
VS
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 (eval $ac_try) 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; } &&
17047 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_cv_type_long_long=yes
17054else
17055 echo "$as_me: failed program was:" >&5
17056sed 's/^/| /' conftest.$ac_ext >&5
17057
17058ac_cv_type_long_long=no
17059fi
ac1cb8d3 17060rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17061fi
17062echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17063echo "${ECHO_T}$ac_cv_type_long_long" >&6
17064
17065echo "$as_me:$LINENO: checking size of long long" >&5
17066echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17067if test "${ac_cv_sizeof_long_long+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17069else
17070 if test "$ac_cv_type_long_long" = yes; then
17071 # The cast to unsigned long works around a bug in the HP C Compiler
17072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17074 # This bug is HP SR number 8606223364.
17075 if test "$cross_compiling" = yes; then
17076 # Depending upon the size, compute the lo and hi bounds.
17077cat >conftest.$ac_ext <<_ACEOF
17078/* confdefs.h. */
17079_ACEOF
17080cat confdefs.h >>conftest.$ac_ext
17081cat >>conftest.$ac_ext <<_ACEOF
17082/* end confdefs.h. */
17083$ac_includes_default
17084int
17085main ()
17086{
17087static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17088test_array [0] = 0
17089
17090 ;
17091 return 0;
17092}
17093_ACEOF
17094rm -f conftest.$ac_objext
17095if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17096 (eval $ac_compile) 2>conftest.er1
a848cd7e 17097 ac_status=$?
ac1cb8d3
VS
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
a848cd7e
SC
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } &&
fc480dc1
DE
17103 { ac_try='test -z "$ac_c_werror_flag"
17104 || test ! -s conftest.err'
ac1cb8d3
VS
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17107 ac_status=$?
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; } &&
17110 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; }; then
17116 ac_lo=0 ac_mid=0
17117 while :; do
17118 cat >conftest.$ac_ext <<_ACEOF
17119/* confdefs.h. */
17120_ACEOF
17121cat confdefs.h >>conftest.$ac_ext
17122cat >>conftest.$ac_ext <<_ACEOF
17123/* end confdefs.h. */
17124$ac_includes_default
17125int
17126main ()
17127{
17128static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17129test_array [0] = 0
17130
17131 ;
17132 return 0;
17133}
17134_ACEOF
17135rm -f conftest.$ac_objext
17136if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17137 (eval $ac_compile) 2>conftest.er1
a848cd7e 17138 ac_status=$?
ac1cb8d3
VS
17139 grep -v '^ *+' conftest.er1 >conftest.err
17140 rm -f conftest.er1
17141 cat conftest.err >&5
a848cd7e
SC
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } &&
fc480dc1
DE
17144 { ac_try='test -z "$ac_c_werror_flag"
17145 || test ! -s conftest.err'
ac1cb8d3
VS
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17148 ac_status=$?
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; } &&
17151 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17154 ac_status=$?
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; }; then
17157 ac_hi=$ac_mid; break
17158else
17159 echo "$as_me: failed program was:" >&5
17160sed 's/^/| /' conftest.$ac_ext >&5
17161
17162ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
17163 if test $ac_lo -le $ac_mid; then
17164 ac_lo= ac_hi=
17165 break
17166 fi
17167 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 17168fi
ac1cb8d3 17169rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17170 done
17171else
17172 echo "$as_me: failed program was:" >&5
17173sed 's/^/| /' conftest.$ac_ext >&5
17174
17175cat >conftest.$ac_ext <<_ACEOF
17176/* confdefs.h. */
17177_ACEOF
17178cat confdefs.h >>conftest.$ac_ext
17179cat >>conftest.$ac_ext <<_ACEOF
17180/* end confdefs.h. */
17181$ac_includes_default
17182int
17183main ()
17184{
17185static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17186test_array [0] = 0
17187
17188 ;
17189 return 0;
17190}
17191_ACEOF
17192rm -f conftest.$ac_objext
17193if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17194 (eval $ac_compile) 2>conftest.er1
a848cd7e 17195 ac_status=$?
ac1cb8d3
VS
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
a848cd7e
SC
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
fc480dc1
DE
17201 { ac_try='test -z "$ac_c_werror_flag"
17202 || test ! -s conftest.err'
ac1cb8d3
VS
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17205 ac_status=$?
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; } &&
17208 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17211 ac_status=$?
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_hi=-1 ac_mid=-1
17215 while :; do
17216 cat >conftest.$ac_ext <<_ACEOF
17217/* confdefs.h. */
17218_ACEOF
17219cat confdefs.h >>conftest.$ac_ext
17220cat >>conftest.$ac_ext <<_ACEOF
17221/* end confdefs.h. */
17222$ac_includes_default
17223int
17224main ()
17225{
17226static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17227test_array [0] = 0
17228
17229 ;
17230 return 0;
17231}
17232_ACEOF
17233rm -f conftest.$ac_objext
17234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17235 (eval $ac_compile) 2>conftest.er1
a848cd7e 17236 ac_status=$?
ac1cb8d3
VS
17237 grep -v '^ *+' conftest.er1 >conftest.err
17238 rm -f conftest.er1
17239 cat conftest.err >&5
a848cd7e
SC
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } &&
fc480dc1
DE
17242 { ac_try='test -z "$ac_c_werror_flag"
17243 || test ! -s conftest.err'
ac1cb8d3
VS
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17246 ac_status=$?
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; } &&
17249 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17252 ac_status=$?
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; }; then
17255 ac_lo=$ac_mid; break
17256else
17257 echo "$as_me: failed program was:" >&5
17258sed 's/^/| /' conftest.$ac_ext >&5
17259
17260ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
17261 if test $ac_mid -le $ac_hi; then
17262 ac_lo= ac_hi=
17263 break
17264 fi
17265 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 17266fi
ac1cb8d3 17267rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17268 done
17269else
17270 echo "$as_me: failed program was:" >&5
17271sed 's/^/| /' conftest.$ac_ext >&5
17272
17273ac_lo= ac_hi=
17274fi
ac1cb8d3 17275rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 17276fi
ac1cb8d3 17277rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17278# Binary search between lo and hi bounds.
17279while test "x$ac_lo" != "x$ac_hi"; do
17280 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17281 cat >conftest.$ac_ext <<_ACEOF
17282/* confdefs.h. */
17283_ACEOF
17284cat confdefs.h >>conftest.$ac_ext
17285cat >>conftest.$ac_ext <<_ACEOF
17286/* end confdefs.h. */
17287$ac_includes_default
17288int
17289main ()
17290{
17291static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17292test_array [0] = 0
17293
17294 ;
17295 return 0;
17296}
17297_ACEOF
17298rm -f conftest.$ac_objext
17299if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17300 (eval $ac_compile) 2>conftest.er1
a848cd7e 17301 ac_status=$?
ac1cb8d3
VS
17302 grep -v '^ *+' conftest.er1 >conftest.err
17303 rm -f conftest.er1
17304 cat conftest.err >&5
a848cd7e
SC
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
fc480dc1
DE
17307 { ac_try='test -z "$ac_c_werror_flag"
17308 || test ! -s conftest.err'
ac1cb8d3
VS
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17311 ac_status=$?
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17317 ac_status=$?
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17320 ac_hi=$ac_mid
17321else
17322 echo "$as_me: failed program was:" >&5
17323sed 's/^/| /' conftest.$ac_ext >&5
17324
17325ac_lo=`expr '(' $ac_mid ')' + 1`
17326fi
ac1cb8d3 17327rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17328done
17329case $ac_lo in
17330?*) ac_cv_sizeof_long_long=$ac_lo;;
17331'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17332See \`config.log' for more details." >&5
17333echo "$as_me: error: cannot compute sizeof (long long), 77
17334See \`config.log' for more details." >&2;}
17335 { (exit 1); exit 1; }; } ;;
17336esac
17337else
17338 if test "$cross_compiling" = yes; then
fc480dc1
DE
17339 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17340See \`config.log' for more details." >&5
17341echo "$as_me: error: cannot run test program while cross compiling
17342See \`config.log' for more details." >&2;}
a848cd7e
SC
17343 { (exit 1); exit 1; }; }
17344else
17345 cat >conftest.$ac_ext <<_ACEOF
17346/* confdefs.h. */
17347_ACEOF
17348cat confdefs.h >>conftest.$ac_ext
17349cat >>conftest.$ac_ext <<_ACEOF
17350/* end confdefs.h. */
17351$ac_includes_default
17352long longval () { return (long) (sizeof (long long)); }
17353unsigned long ulongval () { return (long) (sizeof (long long)); }
17354#include <stdio.h>
17355#include <stdlib.h>
17356int
17357main ()
17358{
17359
17360 FILE *f = fopen ("conftest.val", "w");
17361 if (! f)
17362 exit (1);
17363 if (((long) (sizeof (long long))) < 0)
17364 {
17365 long i = longval ();
17366 if (i != ((long) (sizeof (long long))))
17367 exit (1);
17368 fprintf (f, "%ld\n", i);
17369 }
17370 else
17371 {
17372 unsigned long i = ulongval ();
17373 if (i != ((long) (sizeof (long long))))
17374 exit (1);
17375 fprintf (f, "%lu\n", i);
17376 }
17377 exit (ferror (f) || fclose (f) != 0);
17378
17379 ;
17380 return 0;
17381}
17382_ACEOF
17383rm -f conftest$ac_exeext
17384if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17385 (eval $ac_link) 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17394 ac_cv_sizeof_long_long=`cat conftest.val`
17395else
17396 echo "$as_me: program exited with status $ac_status" >&5
17397echo "$as_me: failed program was:" >&5
17398sed 's/^/| /' conftest.$ac_ext >&5
17399
17400( exit $ac_status )
17401{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17402See \`config.log' for more details." >&5
17403echo "$as_me: error: cannot compute sizeof (long long), 77
17404See \`config.log' for more details." >&2;}
17405 { (exit 1); exit 1; }; }
17406fi
ac1cb8d3 17407rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17408fi
17409fi
17410rm -f conftest.val
17411else
17412 ac_cv_sizeof_long_long=0
17413fi
17414fi
17415echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17416echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17417cat >>confdefs.h <<_ACEOF
17418#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17419_ACEOF
17420
17421
17422 ;;
17423 *-hp-hpux* )
17424 echo "$as_me:$LINENO: checking for long long" >&5
17425echo $ECHO_N "checking for long long... $ECHO_C" >&6
17426if test "${ac_cv_type_long_long+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17428else
17429 cat >conftest.$ac_ext <<_ACEOF
17430/* confdefs.h. */
17431_ACEOF
17432cat confdefs.h >>conftest.$ac_ext
17433cat >>conftest.$ac_ext <<_ACEOF
17434/* end confdefs.h. */
17435$ac_includes_default
17436int
17437main ()
17438{
17439if ((long long *) 0)
17440 return 0;
17441if (sizeof (long long))
17442 return 0;
17443 ;
17444 return 0;
17445}
17446_ACEOF
17447rm -f conftest.$ac_objext
17448if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17449 (eval $ac_compile) 2>conftest.er1
a848cd7e 17450 ac_status=$?
ac1cb8d3
VS
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
a848cd7e
SC
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
fc480dc1
DE
17456 { ac_try='test -z "$ac_c_werror_flag"
17457 || test ! -s conftest.err'
ac1cb8d3
VS
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_cv_type_long_long=yes
17470else
17471 echo "$as_me: failed program was:" >&5
17472sed 's/^/| /' conftest.$ac_ext >&5
17473
17474ac_cv_type_long_long=no
17475fi
ac1cb8d3 17476rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17477fi
17478echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17479echo "${ECHO_T}$ac_cv_type_long_long" >&6
17480
17481echo "$as_me:$LINENO: checking size of long long" >&5
17482echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17483if test "${ac_cv_sizeof_long_long+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17485else
17486 if test "$ac_cv_type_long_long" = yes; then
17487 # The cast to unsigned long works around a bug in the HP C Compiler
17488 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17489 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17490 # This bug is HP SR number 8606223364.
17491 if test "$cross_compiling" = yes; then
17492 # Depending upon the size, compute the lo and hi bounds.
17493cat >conftest.$ac_ext <<_ACEOF
17494/* confdefs.h. */
17495_ACEOF
17496cat confdefs.h >>conftest.$ac_ext
17497cat >>conftest.$ac_ext <<_ACEOF
17498/* end confdefs.h. */
17499$ac_includes_default
17500int
17501main ()
17502{
17503static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17504test_array [0] = 0
17505
17506 ;
17507 return 0;
17508}
17509_ACEOF
17510rm -f conftest.$ac_objext
17511if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17512 (eval $ac_compile) 2>conftest.er1
a848cd7e 17513 ac_status=$?
ac1cb8d3
VS
17514 grep -v '^ *+' conftest.er1 >conftest.err
17515 rm -f conftest.er1
17516 cat conftest.err >&5
a848cd7e
SC
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
fc480dc1
DE
17519 { ac_try='test -z "$ac_c_werror_flag"
17520 || test ! -s conftest.err'
ac1cb8d3
VS
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 ac_lo=0 ac_mid=0
17533 while :; do
17534 cat >conftest.$ac_ext <<_ACEOF
17535/* confdefs.h. */
17536_ACEOF
17537cat confdefs.h >>conftest.$ac_ext
17538cat >>conftest.$ac_ext <<_ACEOF
17539/* end confdefs.h. */
17540$ac_includes_default
17541int
17542main ()
17543{
17544static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17545test_array [0] = 0
17546
17547 ;
17548 return 0;
17549}
17550_ACEOF
17551rm -f conftest.$ac_objext
17552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17553 (eval $ac_compile) 2>conftest.er1
a848cd7e 17554 ac_status=$?
ac1cb8d3
VS
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
a848cd7e
SC
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } &&
fc480dc1
DE
17560 { ac_try='test -z "$ac_c_werror_flag"
17561 || test ! -s conftest.err'
ac1cb8d3
VS
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17564 ac_status=$?
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 ac_hi=$ac_mid; break
17574else
17575 echo "$as_me: failed program was:" >&5
17576sed 's/^/| /' conftest.$ac_ext >&5
17577
17578ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
17579 if test $ac_lo -le $ac_mid; then
17580 ac_lo= ac_hi=
17581 break
17582 fi
17583 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 17584fi
ac1cb8d3 17585rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17586 done
17587else
17588 echo "$as_me: failed program was:" >&5
17589sed 's/^/| /' conftest.$ac_ext >&5
17590
17591cat >conftest.$ac_ext <<_ACEOF
17592/* confdefs.h. */
17593_ACEOF
17594cat confdefs.h >>conftest.$ac_ext
17595cat >>conftest.$ac_ext <<_ACEOF
17596/* end confdefs.h. */
17597$ac_includes_default
17598int
17599main ()
17600{
17601static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17602test_array [0] = 0
17603
17604 ;
17605 return 0;
17606}
17607_ACEOF
17608rm -f conftest.$ac_objext
17609if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17610 (eval $ac_compile) 2>conftest.er1
a848cd7e 17611 ac_status=$?
ac1cb8d3
VS
17612 grep -v '^ *+' conftest.er1 >conftest.err
17613 rm -f conftest.er1
17614 cat conftest.err >&5
a848cd7e
SC
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } &&
fc480dc1
DE
17617 { ac_try='test -z "$ac_c_werror_flag"
17618 || test ! -s conftest.err'
ac1cb8d3
VS
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; } &&
17624 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17630 ac_hi=-1 ac_mid=-1
17631 while :; do
17632 cat >conftest.$ac_ext <<_ACEOF
17633/* confdefs.h. */
17634_ACEOF
17635cat confdefs.h >>conftest.$ac_ext
17636cat >>conftest.$ac_ext <<_ACEOF
17637/* end confdefs.h. */
17638$ac_includes_default
17639int
17640main ()
17641{
17642static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17643test_array [0] = 0
17644
17645 ;
17646 return 0;
17647}
17648_ACEOF
17649rm -f conftest.$ac_objext
17650if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17651 (eval $ac_compile) 2>conftest.er1
a848cd7e 17652 ac_status=$?
ac1cb8d3
VS
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
a848cd7e
SC
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
fc480dc1
DE
17658 { ac_try='test -z "$ac_c_werror_flag"
17659 || test ! -s conftest.err'
ac1cb8d3
VS
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); }; } &&
17665 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17668 ac_status=$?
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 ac_lo=$ac_mid; break
17672else
17673 echo "$as_me: failed program was:" >&5
17674sed 's/^/| /' conftest.$ac_ext >&5
17675
17676ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
17677 if test $ac_mid -le $ac_hi; then
17678 ac_lo= ac_hi=
17679 break
17680 fi
17681 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 17682fi
ac1cb8d3 17683rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17684 done
17685else
17686 echo "$as_me: failed program was:" >&5
17687sed 's/^/| /' conftest.$ac_ext >&5
17688
17689ac_lo= ac_hi=
17690fi
ac1cb8d3 17691rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 17692fi
ac1cb8d3 17693rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17694# Binary search between lo and hi bounds.
17695while test "x$ac_lo" != "x$ac_hi"; do
17696 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17697 cat >conftest.$ac_ext <<_ACEOF
17698/* confdefs.h. */
17699_ACEOF
17700cat confdefs.h >>conftest.$ac_ext
17701cat >>conftest.$ac_ext <<_ACEOF
17702/* end confdefs.h. */
17703$ac_includes_default
17704int
17705main ()
17706{
17707static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17708test_array [0] = 0
17709
17710 ;
17711 return 0;
17712}
17713_ACEOF
17714rm -f conftest.$ac_objext
17715if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17716 (eval $ac_compile) 2>conftest.er1
a848cd7e 17717 ac_status=$?
ac1cb8d3
VS
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
a848cd7e
SC
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } &&
fc480dc1
DE
17723 { ac_try='test -z "$ac_c_werror_flag"
17724 || test ! -s conftest.err'
ac1cb8d3
VS
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17727 ac_status=$?
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; } &&
17730 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; }; then
17736 ac_hi=$ac_mid
17737else
17738 echo "$as_me: failed program was:" >&5
17739sed 's/^/| /' conftest.$ac_ext >&5
17740
17741ac_lo=`expr '(' $ac_mid ')' + 1`
17742fi
ac1cb8d3 17743rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17744done
17745case $ac_lo in
17746?*) ac_cv_sizeof_long_long=$ac_lo;;
17747'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17748See \`config.log' for more details." >&5
17749echo "$as_me: error: cannot compute sizeof (long long), 77
17750See \`config.log' for more details." >&2;}
17751 { (exit 1); exit 1; }; } ;;
17752esac
17753else
17754 if test "$cross_compiling" = yes; then
fc480dc1
DE
17755 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17756See \`config.log' for more details." >&5
17757echo "$as_me: error: cannot run test program while cross compiling
17758See \`config.log' for more details." >&2;}
a848cd7e
SC
17759 { (exit 1); exit 1; }; }
17760else
17761 cat >conftest.$ac_ext <<_ACEOF
17762/* confdefs.h. */
17763_ACEOF
17764cat confdefs.h >>conftest.$ac_ext
17765cat >>conftest.$ac_ext <<_ACEOF
17766/* end confdefs.h. */
17767$ac_includes_default
17768long longval () { return (long) (sizeof (long long)); }
17769unsigned long ulongval () { return (long) (sizeof (long long)); }
17770#include <stdio.h>
17771#include <stdlib.h>
17772int
17773main ()
17774{
17775
17776 FILE *f = fopen ("conftest.val", "w");
17777 if (! f)
17778 exit (1);
17779 if (((long) (sizeof (long long))) < 0)
17780 {
17781 long i = longval ();
17782 if (i != ((long) (sizeof (long long))))
17783 exit (1);
17784 fprintf (f, "%ld\n", i);
17785 }
17786 else
17787 {
17788 unsigned long i = ulongval ();
17789 if (i != ((long) (sizeof (long long))))
17790 exit (1);
17791 fprintf (f, "%lu\n", i);
17792 }
17793 exit (ferror (f) || fclose (f) != 0);
17794
17795 ;
17796 return 0;
17797}
17798_ACEOF
17799rm -f conftest$ac_exeext
17800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17801 (eval $ac_link) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 ac_cv_sizeof_long_long=`cat conftest.val`
17811else
17812 echo "$as_me: program exited with status $ac_status" >&5
17813echo "$as_me: failed program was:" >&5
17814sed 's/^/| /' conftest.$ac_ext >&5
17815
17816( exit $ac_status )
17817{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17818See \`config.log' for more details." >&5
17819echo "$as_me: error: cannot compute sizeof (long long), 77
17820See \`config.log' for more details." >&2;}
17821 { (exit 1); exit 1; }; }
17822fi
ac1cb8d3 17823rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17824fi
17825fi
17826rm -f conftest.val
17827else
17828 ac_cv_sizeof_long_long=0
17829fi
17830fi
17831echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17832echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17833cat >>confdefs.h <<_ACEOF
17834#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17835_ACEOF
17836
17837
17838 if test "$ac_cv_sizeof_long_long" != "0"; then
17839 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17840 fi
17841 ;;
17842 * )
17843 echo "$as_me:$LINENO: checking for long long" >&5
17844echo $ECHO_N "checking for long long... $ECHO_C" >&6
17845if test "${ac_cv_type_long_long+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17847else
17848 cat >conftest.$ac_ext <<_ACEOF
17849/* confdefs.h. */
17850_ACEOF
17851cat confdefs.h >>conftest.$ac_ext
17852cat >>conftest.$ac_ext <<_ACEOF
17853/* end confdefs.h. */
17854$ac_includes_default
17855int
17856main ()
17857{
17858if ((long long *) 0)
17859 return 0;
17860if (sizeof (long long))
17861 return 0;
17862 ;
17863 return 0;
17864}
17865_ACEOF
17866rm -f conftest.$ac_objext
17867if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17868 (eval $ac_compile) 2>conftest.er1
a848cd7e 17869 ac_status=$?
ac1cb8d3
VS
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
a848cd7e
SC
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
fc480dc1
DE
17875 { ac_try='test -z "$ac_c_werror_flag"
17876 || test ! -s conftest.err'
ac1cb8d3
VS
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17879 ac_status=$?
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; } &&
17882 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17885 ac_status=$?
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; }; then
17888 ac_cv_type_long_long=yes
17889else
17890 echo "$as_me: failed program was:" >&5
17891sed 's/^/| /' conftest.$ac_ext >&5
17892
17893ac_cv_type_long_long=no
17894fi
ac1cb8d3 17895rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17896fi
17897echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17898echo "${ECHO_T}$ac_cv_type_long_long" >&6
17899
17900echo "$as_me:$LINENO: checking size of long long" >&5
17901echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17902if test "${ac_cv_sizeof_long_long+set}" = set; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904else
17905 if test "$ac_cv_type_long_long" = yes; then
17906 # The cast to unsigned long works around a bug in the HP C Compiler
17907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17909 # This bug is HP SR number 8606223364.
17910 if test "$cross_compiling" = yes; then
17911 # Depending upon the size, compute the lo and hi bounds.
17912cat >conftest.$ac_ext <<_ACEOF
17913/* confdefs.h. */
17914_ACEOF
17915cat confdefs.h >>conftest.$ac_ext
17916cat >>conftest.$ac_ext <<_ACEOF
17917/* end confdefs.h. */
17918$ac_includes_default
17919int
17920main ()
17921{
17922static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17923test_array [0] = 0
17924
17925 ;
17926 return 0;
17927}
17928_ACEOF
17929rm -f conftest.$ac_objext
17930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17931 (eval $ac_compile) 2>conftest.er1
a848cd7e 17932 ac_status=$?
ac1cb8d3
VS
17933 grep -v '^ *+' conftest.er1 >conftest.err
17934 rm -f conftest.er1
17935 cat conftest.err >&5
a848cd7e
SC
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } &&
fc480dc1
DE
17938 { ac_try='test -z "$ac_c_werror_flag"
17939 || test ! -s conftest.err'
ac1cb8d3
VS
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17942 ac_status=$?
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; } &&
17945 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; }; then
17951 ac_lo=0 ac_mid=0
17952 while :; do
17953 cat >conftest.$ac_ext <<_ACEOF
17954/* confdefs.h. */
17955_ACEOF
17956cat confdefs.h >>conftest.$ac_ext
17957cat >>conftest.$ac_ext <<_ACEOF
17958/* end confdefs.h. */
17959$ac_includes_default
17960int
17961main ()
17962{
17963static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17964test_array [0] = 0
17965
17966 ;
17967 return 0;
17968}
17969_ACEOF
17970rm -f conftest.$ac_objext
17971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17972 (eval $ac_compile) 2>conftest.er1
a848cd7e 17973 ac_status=$?
ac1cb8d3
VS
17974 grep -v '^ *+' conftest.er1 >conftest.err
17975 rm -f conftest.er1
17976 cat conftest.err >&5
a848cd7e
SC
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } &&
fc480dc1
DE
17979 { ac_try='test -z "$ac_c_werror_flag"
17980 || test ! -s conftest.err'
ac1cb8d3
VS
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17989 ac_status=$?
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 ac_hi=$ac_mid; break
17993else
17994 echo "$as_me: failed program was:" >&5
17995sed 's/^/| /' conftest.$ac_ext >&5
17996
17997ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
17998 if test $ac_lo -le $ac_mid; then
17999 ac_lo= ac_hi=
18000 break
18001 fi
18002 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 18003fi
ac1cb8d3 18004rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18005 done
18006else
18007 echo "$as_me: failed program was:" >&5
18008sed 's/^/| /' conftest.$ac_ext >&5
18009
18010cat >conftest.$ac_ext <<_ACEOF
18011/* confdefs.h. */
18012_ACEOF
18013cat confdefs.h >>conftest.$ac_ext
18014cat >>conftest.$ac_ext <<_ACEOF
18015/* end confdefs.h. */
18016$ac_includes_default
18017int
18018main ()
18019{
18020static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18021test_array [0] = 0
18022
18023 ;
18024 return 0;
18025}
18026_ACEOF
18027rm -f conftest.$ac_objext
18028if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18029 (eval $ac_compile) 2>conftest.er1
a848cd7e 18030 ac_status=$?
ac1cb8d3
VS
18031 grep -v '^ *+' conftest.er1 >conftest.err
18032 rm -f conftest.er1
18033 cat conftest.err >&5
a848cd7e
SC
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } &&
fc480dc1
DE
18036 { ac_try='test -z "$ac_c_werror_flag"
18037 || test ! -s conftest.err'
ac1cb8d3
VS
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18040 ac_status=$?
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; } &&
18043 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; }; then
18049 ac_hi=-1 ac_mid=-1
18050 while :; do
18051 cat >conftest.$ac_ext <<_ACEOF
18052/* confdefs.h. */
18053_ACEOF
18054cat confdefs.h >>conftest.$ac_ext
18055cat >>conftest.$ac_ext <<_ACEOF
18056/* end confdefs.h. */
18057$ac_includes_default
18058int
18059main ()
18060{
18061static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18062test_array [0] = 0
18063
18064 ;
18065 return 0;
18066}
18067_ACEOF
18068rm -f conftest.$ac_objext
18069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18070 (eval $ac_compile) 2>conftest.er1
a848cd7e 18071 ac_status=$?
ac1cb8d3
VS
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
a848cd7e
SC
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } &&
fc480dc1
DE
18077 { ac_try='test -z "$ac_c_werror_flag"
18078 || test ! -s conftest.err'
ac1cb8d3
VS
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18081 ac_status=$?
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; } &&
18084 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18087 ac_status=$?
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_lo=$ac_mid; break
18091else
18092 echo "$as_me: failed program was:" >&5
18093sed 's/^/| /' conftest.$ac_ext >&5
18094
18095ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
18096 if test $ac_mid -le $ac_hi; then
18097 ac_lo= ac_hi=
18098 break
18099 fi
18100 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 18101fi
ac1cb8d3 18102rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18103 done
18104else
18105 echo "$as_me: failed program was:" >&5
18106sed 's/^/| /' conftest.$ac_ext >&5
18107
18108ac_lo= ac_hi=
18109fi
ac1cb8d3 18110rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 18111fi
ac1cb8d3 18112rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18113# Binary search between lo and hi bounds.
18114while test "x$ac_lo" != "x$ac_hi"; do
18115 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18116 cat >conftest.$ac_ext <<_ACEOF
18117/* confdefs.h. */
18118_ACEOF
18119cat confdefs.h >>conftest.$ac_ext
18120cat >>conftest.$ac_ext <<_ACEOF
18121/* end confdefs.h. */
18122$ac_includes_default
18123int
18124main ()
18125{
18126static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18127test_array [0] = 0
18128
18129 ;
18130 return 0;
18131}
18132_ACEOF
18133rm -f conftest.$ac_objext
18134if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18135 (eval $ac_compile) 2>conftest.er1
a848cd7e 18136 ac_status=$?
ac1cb8d3
VS
18137 grep -v '^ *+' conftest.er1 >conftest.err
18138 rm -f conftest.er1
18139 cat conftest.err >&5
a848cd7e
SC
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } &&
fc480dc1
DE
18142 { ac_try='test -z "$ac_c_werror_flag"
18143 || test ! -s conftest.err'
ac1cb8d3
VS
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18146 ac_status=$?
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; } &&
18149 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18152 ac_status=$?
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; }; then
18155 ac_hi=$ac_mid
18156else
18157 echo "$as_me: failed program was:" >&5
18158sed 's/^/| /' conftest.$ac_ext >&5
18159
18160ac_lo=`expr '(' $ac_mid ')' + 1`
18161fi
ac1cb8d3 18162rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18163done
18164case $ac_lo in
18165?*) ac_cv_sizeof_long_long=$ac_lo;;
18166'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18167See \`config.log' for more details." >&5
18168echo "$as_me: error: cannot compute sizeof (long long), 77
18169See \`config.log' for more details." >&2;}
18170 { (exit 1); exit 1; }; } ;;
18171esac
18172else
18173 if test "$cross_compiling" = yes; then
fc480dc1
DE
18174 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18175See \`config.log' for more details." >&5
18176echo "$as_me: error: cannot run test program while cross compiling
18177See \`config.log' for more details." >&2;}
a848cd7e
SC
18178 { (exit 1); exit 1; }; }
18179else
18180 cat >conftest.$ac_ext <<_ACEOF
18181/* confdefs.h. */
18182_ACEOF
18183cat confdefs.h >>conftest.$ac_ext
18184cat >>conftest.$ac_ext <<_ACEOF
18185/* end confdefs.h. */
18186$ac_includes_default
18187long longval () { return (long) (sizeof (long long)); }
18188unsigned long ulongval () { return (long) (sizeof (long long)); }
18189#include <stdio.h>
18190#include <stdlib.h>
18191int
18192main ()
18193{
18194
18195 FILE *f = fopen ("conftest.val", "w");
18196 if (! f)
18197 exit (1);
18198 if (((long) (sizeof (long long))) < 0)
18199 {
18200 long i = longval ();
18201 if (i != ((long) (sizeof (long long))))
18202 exit (1);
18203 fprintf (f, "%ld\n", i);
18204 }
18205 else
18206 {
18207 unsigned long i = ulongval ();
18208 if (i != ((long) (sizeof (long long))))
18209 exit (1);
18210 fprintf (f, "%lu\n", i);
18211 }
18212 exit (ferror (f) || fclose (f) != 0);
18213
18214 ;
18215 return 0;
18216}
18217_ACEOF
18218rm -f conftest$ac_exeext
18219if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18220 (eval $ac_link) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 ac_cv_sizeof_long_long=`cat conftest.val`
18230else
18231 echo "$as_me: program exited with status $ac_status" >&5
18232echo "$as_me: failed program was:" >&5
18233sed 's/^/| /' conftest.$ac_ext >&5
18234
18235( exit $ac_status )
18236{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18237See \`config.log' for more details." >&5
18238echo "$as_me: error: cannot compute sizeof (long long), 77
18239See \`config.log' for more details." >&2;}
18240 { (exit 1); exit 1; }; }
18241fi
ac1cb8d3 18242rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18243fi
18244fi
18245rm -f conftest.val
18246else
18247 ac_cv_sizeof_long_long=0
18248fi
18249fi
18250echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18251echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18252cat >>confdefs.h <<_ACEOF
18253#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18254_ACEOF
18255
18256
18257esac
18258
18259echo "$as_me:$LINENO: checking size of wchar_t" >&5
18260echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18261if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18263else
18264
18265 if test "$cross_compiling" = yes; then
18266
18267 case "${host}" in
18268 *-pc-msdosdjgpp )
18269 wx_cv_sizeof_wchar_t=0
18270 ;;
18271 * )
18272 wx_cv_sizeof_wchar_t=4
18273 ;;
18274 esac
18275
18276
18277else
18278 cat >conftest.$ac_ext <<_ACEOF
18279/* confdefs.h. */
18280_ACEOF
18281cat confdefs.h >>conftest.$ac_ext
18282cat >>conftest.$ac_ext <<_ACEOF
18283/* end confdefs.h. */
18284
18285 /* DJGPP only has fake wchar_t: */
18286 #ifdef __DJGPP__
18287 # error "fake wchar_t"
18288 #endif
18289 #ifdef HAVE_WCHAR_H
18290 # ifdef __CYGWIN__
18291 # include <stddef.h>
18292 # endif
18293 # include <wchar.h>
18294 #endif
18295 #ifdef HAVE_STDLIB_H
18296 # include <stdlib.h>
18297 #endif
18298 #include <stdio.h>
18299 int main()
18300 {
18301 FILE *f=fopen("conftestval", "w");
18302 if (!f) exit(1);
18303 fprintf(f, "%i", sizeof(wchar_t));
18304 exit(0);
18305 }
18306
18307_ACEOF
18308rm -f conftest$ac_exeext
18309if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18310 (eval $ac_link) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 wx_cv_sizeof_wchar_t=`cat conftestval`
18320else
18321 echo "$as_me: program exited with status $ac_status" >&5
18322echo "$as_me: failed program was:" >&5
18323sed 's/^/| /' conftest.$ac_ext >&5
18324
18325( exit $ac_status )
18326wx_cv_sizeof_wchar_t=0
18327fi
ac1cb8d3 18328rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18329fi
18330
18331fi
18332echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18333echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18334
18335cat >>confdefs.h <<_ACEOF
18336#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18337_ACEOF
18338
18339
ba3d13e1
VZ
18340echo "$as_me:$LINENO: checking for va_copy" >&5
18341echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18342if test "${wx_cv_func_va_copy+set}" = set; then
18343 echo $ECHO_N "(cached) $ECHO_C" >&6
18344else
18345
18346 cat >conftest.$ac_ext <<_ACEOF
18347
18348 #include <stdarg.h>
18349 void foo(char *f, ...)
18350 {
18351 va_list ap1, ap2;
18352 va_start(ap1, f);
18353 va_copy(ap2, ap1);
18354 va_end(ap2);
18355 va_end(ap1);
18356 }
18357_ACEOF
18358rm -f conftest.$ac_objext conftest$ac_exeext
18359if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18360 (eval $ac_link) 2>conftest.er1
18361 ac_status=$?
18362 grep -v '^ *+' conftest.er1 >conftest.err
18363 rm -f conftest.er1
18364 cat conftest.err >&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } &&
fc480dc1
DE
18367 { ac_try='test -z "$ac_c_werror_flag"
18368 || test ! -s conftest.err'
ba3d13e1
VZ
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18371 ac_status=$?
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; } &&
18374 { ac_try='test -s conftest$ac_exeext'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18377 ac_status=$?
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 wx_cv_func_va_copy=yes
18381else
18382 echo "$as_me: failed program was:" >&5
18383sed 's/^/| /' conftest.$ac_ext >&5
18384
18385wx_cv_func_va_copy=no
18386
18387fi
18388rm -f conftest.err conftest.$ac_objext \
18389 conftest$ac_exeext conftest.$ac_ext
18390
18391
18392fi
18393echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18394echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18395
18396if test $wx_cv_func_va_copy = "yes"; then
18397 cat >>confdefs.h <<\_ACEOF
18398#define HAVE_VA_COPY 1
18399_ACEOF
18400
18401else
18402 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18403echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18404if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18406else
18407
18408 if test "$cross_compiling" = yes; then
18409 wx_cv_type_va_list_lvalue=yes
18410
18411else
18412 cat >conftest.$ac_ext <<_ACEOF
18413
18414 #include <stdarg.h>
18415 int foo(char *f, ...)
18416 {
18417 va_list ap1, ap2;
18418 va_start(ap1, f);
18419 ap2 = ap1;
18420 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18421 return 1;
18422 va_end(ap2);
18423 va_end(ap1);
18424 return 0;
18425 }
18426 int main()
18427 {
18428 return foo("hi", 17);
18429 }
18430_ACEOF
18431rm -f conftest$ac_exeext
18432if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18433 (eval $ac_link) 2>&5
18434 ac_status=$?
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18439 ac_status=$?
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 wx_cv_type_va_list_lvalue=yes
18443else
18444 echo "$as_me: program exited with status $ac_status" >&5
18445echo "$as_me: failed program was:" >&5
18446sed 's/^/| /' conftest.$ac_ext >&5
18447
18448( exit $ac_status )
18449wx_cv_type_va_list_lvalue=no
18450fi
18451rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18452fi
18453
18454
18455fi
18456echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18457echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18458
18459 if test $wx_cv_type_va_list_lvalue != "yes"; then
18460 cat >>confdefs.h <<\_ACEOF
18461#define VA_LIST_IS_ARRAY 1
18462_ACEOF
18463
18464 fi
18465fi
18466
a848cd7e
SC
18467# Check whether --enable-largefile or --disable-largefile was given.
18468if test "${enable_largefile+set}" = set; then
18469 enableval="$enable_largefile"
18470
18471fi;
18472if test "$enable_largefile" != no; then
18473 wx_largefile=no
18474
18475 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18476echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18477if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18479else
18480
18481 cat >conftest.$ac_ext <<_ACEOF
18482/* confdefs.h. */
18483_ACEOF
18484cat confdefs.h >>conftest.$ac_ext
18485cat >>conftest.$ac_ext <<_ACEOF
18486/* end confdefs.h. */
18487#define _FILE_OFFSET_BITS 64
18488 #include <sys/types.h>
18489int
18490main ()
18491{
18492typedef struct {
18493 unsigned int field: sizeof(off_t) == 8;
18494} wxlf;
18495
18496 ;
18497 return 0;
18498}
18499_ACEOF
18500rm -f conftest.$ac_objext
18501if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18502 (eval $ac_compile) 2>conftest.er1
a848cd7e 18503 ac_status=$?
ac1cb8d3
VS
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
a848cd7e
SC
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
fc480dc1
DE
18509 { ac_try='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
ac1cb8d3
VS
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18513 ac_status=$?
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18519 ac_status=$?
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_cv_sys_file_offset_bits=64
18523else
18524 echo "$as_me: failed program was:" >&5
18525sed 's/^/| /' conftest.$ac_ext >&5
18526
18527ac_cv_sys_file_offset_bits=no
18528fi
ac1cb8d3 18529rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18530
18531
18532fi
18533echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18534echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18535
18536 if test "$ac_cv_sys_file_offset_bits" != no; then
18537 wx_largefile=yes
18538 cat >>confdefs.h <<_ACEOF
18539#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18540_ACEOF
18541
18542 fi
18543
18544 if test "x$wx_largefile" != "xyes"; then
18545
18546 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18547echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18548if test "${ac_cv_sys_large_files+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550else
18551
18552 cat >conftest.$ac_ext <<_ACEOF
18553/* confdefs.h. */
18554_ACEOF
18555cat confdefs.h >>conftest.$ac_ext
18556cat >>conftest.$ac_ext <<_ACEOF
18557/* end confdefs.h. */
18558#define _LARGE_FILES 1
18559 #include <sys/types.h>
18560int
18561main ()
18562{
18563typedef struct {
18564 unsigned int field: sizeof(off_t) == 8;
18565} wxlf;
18566
18567 ;
18568 return 0;
18569}
18570_ACEOF
18571rm -f conftest.$ac_objext
18572if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18573 (eval $ac_compile) 2>conftest.er1
a848cd7e 18574 ac_status=$?
ac1cb8d3
VS
18575 grep -v '^ *+' conftest.er1 >conftest.err
18576 rm -f conftest.er1
18577 cat conftest.err >&5
a848cd7e
SC
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); } &&
fc480dc1
DE
18580 { ac_try='test -z "$ac_c_werror_flag"
18581 || test ! -s conftest.err'
ac1cb8d3
VS
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18584 ac_status=$?
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; } &&
18587 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_sys_large_files=1
18594else
18595 echo "$as_me: failed program was:" >&5
18596sed 's/^/| /' conftest.$ac_ext >&5
18597
18598ac_cv_sys_large_files=no
18599fi
ac1cb8d3 18600rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18601
18602
18603fi
18604echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18605echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18606
18607 if test "$ac_cv_sys_large_files" != no; then
18608 wx_largefile=yes
18609 cat >>confdefs.h <<_ACEOF
18610#define _LARGE_FILES $ac_cv_sys_large_files
18611_ACEOF
18612
18613 fi
18614
18615 fi
18616
18617 echo "$as_me:$LINENO: checking if large file support is available" >&5
18618echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18619 if test "x$wx_largefile" = "xyes"; then
18620 cat >>confdefs.h <<\_ACEOF
18621#define HAVE_LARGEFILE_SUPPORT 1
18622_ACEOF
18623
18624 fi
18625 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18626echo "${ECHO_T}$wx_largefile" >&6
18627fi
18628
18629
18630if test "x$wx_largefile" = "xyes"; then
18631 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18632 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18633 else
18634 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18635 fi
18636 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18637fi
18638
18639echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18640echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18641if test "${ac_cv_c_bigendian+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18643else
18644 ac_cv_c_bigendian=unknown
18645# See if sys/param.h defines the BYTE_ORDER macro.
18646cat >conftest.$ac_ext <<_ACEOF
18647/* confdefs.h. */
18648_ACEOF
18649cat confdefs.h >>conftest.$ac_ext
18650cat >>conftest.$ac_ext <<_ACEOF
18651/* end confdefs.h. */
18652#include <sys/types.h>
18653#include <sys/param.h>
18654int
18655main ()
18656{
18657
18658#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18659 bogus endian macros
18660#endif
18661 ;
18662 return 0;
18663}
18664_ACEOF
18665rm -f conftest.$ac_objext
18666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18667 (eval $ac_compile) 2>conftest.er1
a848cd7e 18668 ac_status=$?
ac1cb8d3
VS
18669 grep -v '^ *+' conftest.er1 >conftest.err
18670 rm -f conftest.er1
18671 cat conftest.err >&5
a848cd7e
SC
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); } &&
fc480dc1
DE
18674 { ac_try='test -z "$ac_c_werror_flag"
18675 || test ! -s conftest.err'
ac1cb8d3
VS
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18678 ac_status=$?
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; } &&
18681 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; }; then
18687 # It does; now see whether it defined to BIG_ENDIAN or not.
18688cat >conftest.$ac_ext <<_ACEOF
18689/* confdefs.h. */
18690_ACEOF
18691cat confdefs.h >>conftest.$ac_ext
18692cat >>conftest.$ac_ext <<_ACEOF
18693/* end confdefs.h. */
18694#include <sys/types.h>
18695#include <sys/param.h>
18696int
18697main ()
18698{
18699
18700#if BYTE_ORDER != BIG_ENDIAN
18701 not big endian
18702#endif
18703 ;
18704 return 0;
18705}
18706_ACEOF
18707rm -f conftest.$ac_objext
18708if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18709 (eval $ac_compile) 2>conftest.er1
a848cd7e 18710 ac_status=$?
ac1cb8d3
VS
18711 grep -v '^ *+' conftest.er1 >conftest.err
18712 rm -f conftest.er1
18713 cat conftest.err >&5
a848cd7e
SC
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } &&
fc480dc1
DE
18716 { ac_try='test -z "$ac_c_werror_flag"
18717 || test ! -s conftest.err'
ac1cb8d3
VS
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18720 ac_status=$?
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; } &&
18723 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18726 ac_status=$?
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_cv_c_bigendian=yes
18730else
18731 echo "$as_me: failed program was:" >&5
18732sed 's/^/| /' conftest.$ac_ext >&5
18733
18734ac_cv_c_bigendian=no
18735fi
ac1cb8d3 18736rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18737else
18738 echo "$as_me: failed program was:" >&5
18739sed 's/^/| /' conftest.$ac_ext >&5
18740
18741fi
ac1cb8d3 18742rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18743if test $ac_cv_c_bigendian = unknown; then
18744if test "$cross_compiling" = yes; then
18745 ac_cv_c_bigendian=unknown
18746else
18747 cat >conftest.$ac_ext <<_ACEOF
18748/* confdefs.h. */
18749_ACEOF
18750cat confdefs.h >>conftest.$ac_ext
18751cat >>conftest.$ac_ext <<_ACEOF
18752/* end confdefs.h. */
18753main () {
18754 /* Are we little or big endian? From Harbison&Steele. */
18755 union
18756 {
18757 long l;
18758 char c[sizeof (long)];
18759 } u;
18760 u.l = 1;
18761 exit (u.c[sizeof (long) - 1] == 1);
18762}
18763_ACEOF
18764rm -f conftest$ac_exeext
18765if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18766 (eval $ac_link) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18772 ac_status=$?
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_c_bigendian=no
18776else
18777 echo "$as_me: program exited with status $ac_status" >&5
18778echo "$as_me: failed program was:" >&5
18779sed 's/^/| /' conftest.$ac_ext >&5
18780
18781( exit $ac_status )
18782ac_cv_c_bigendian=yes
18783fi
ac1cb8d3 18784rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18785fi
18786fi
18787fi
18788echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18789echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18790if test $ac_cv_c_bigendian = unknown; then
18791 { 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
18792echo "$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;}
18793fi
18794if test $ac_cv_c_bigendian = yes; then
18795 cat >>confdefs.h <<\_ACEOF
18796#define WORDS_BIGENDIAN 1
18797_ACEOF
18798
18799fi
18800
18801
18802ac_ext=cc
18803ac_cpp='$CXXCPP $CPPFLAGS'
18804ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18805ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18806ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18807echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18808echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18809if test -z "$CXXCPP"; then
18810 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18812else
18813 # Double quotes because CXXCPP needs to be expanded
18814 for CXXCPP in "$CXX -E" "/lib/cpp"
18815 do
18816 ac_preproc_ok=false
18817for ac_cxx_preproc_warn_flag in '' yes
18818do
18819 # Use a header file that comes with gcc, so configuring glibc
18820 # with a fresh cross-compiler works.
18821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18822 # <limits.h> exists even on freestanding compilers.
18823 # On the NeXT, cc -E runs the code through the compiler's parser,
18824 # not just through cpp. "Syntax error" is here to catch this case.
18825 cat >conftest.$ac_ext <<_ACEOF
18826/* confdefs.h. */
18827_ACEOF
18828cat confdefs.h >>conftest.$ac_ext
18829cat >>conftest.$ac_ext <<_ACEOF
18830/* end confdefs.h. */
18831#ifdef __STDC__
18832# include <limits.h>
18833#else
18834# include <assert.h>
18835#endif
ac1cb8d3 18836 Syntax error
a848cd7e
SC
18837_ACEOF
18838if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18840 ac_status=$?
18841 grep -v '^ *+' conftest.er1 >conftest.err
18842 rm -f conftest.er1
18843 cat conftest.err >&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } >/dev/null; then
18846 if test -s conftest.err; then
18847 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18848 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18849 else
18850 ac_cpp_err=
18851 fi
18852else
18853 ac_cpp_err=yes
18854fi
18855if test -z "$ac_cpp_err"; then
18856 :
18857else
18858 echo "$as_me: failed program was:" >&5
18859sed 's/^/| /' conftest.$ac_ext >&5
18860
18861 # Broken: fails on valid input.
18862continue
18863fi
18864rm -f conftest.err conftest.$ac_ext
18865
18866 # OK, works on sane cases. Now check whether non-existent headers
18867 # can be detected and how.
18868 cat >conftest.$ac_ext <<_ACEOF
18869/* confdefs.h. */
18870_ACEOF
18871cat confdefs.h >>conftest.$ac_ext
18872cat >>conftest.$ac_ext <<_ACEOF
18873/* end confdefs.h. */
18874#include <ac_nonexistent.h>
18875_ACEOF
18876if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18878 ac_status=$?
18879 grep -v '^ *+' conftest.er1 >conftest.err
18880 rm -f conftest.er1
18881 cat conftest.err >&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } >/dev/null; then
18884 if test -s conftest.err; then
18885 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18886 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18887 else
18888 ac_cpp_err=
18889 fi
18890else
18891 ac_cpp_err=yes
18892fi
18893if test -z "$ac_cpp_err"; then
18894 # Broken: success on invalid input.
18895continue
18896else
18897 echo "$as_me: failed program was:" >&5
18898sed 's/^/| /' conftest.$ac_ext >&5
18899
18900 # Passes both tests.
18901ac_preproc_ok=:
18902break
18903fi
18904rm -f conftest.err conftest.$ac_ext
18905
18906done
18907# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18908rm -f conftest.err conftest.$ac_ext
18909if $ac_preproc_ok; then
18910 break
18911fi
18912
18913 done
18914 ac_cv_prog_CXXCPP=$CXXCPP
18915
18916fi
18917 CXXCPP=$ac_cv_prog_CXXCPP
18918else
18919 ac_cv_prog_CXXCPP=$CXXCPP
18920fi
18921echo "$as_me:$LINENO: result: $CXXCPP" >&5
18922echo "${ECHO_T}$CXXCPP" >&6
18923ac_preproc_ok=false
18924for ac_cxx_preproc_warn_flag in '' yes
18925do
18926 # Use a header file that comes with gcc, so configuring glibc
18927 # with a fresh cross-compiler works.
18928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18929 # <limits.h> exists even on freestanding compilers.
18930 # On the NeXT, cc -E runs the code through the compiler's parser,
18931 # not just through cpp. "Syntax error" is here to catch this case.
18932 cat >conftest.$ac_ext <<_ACEOF
18933/* confdefs.h. */
18934_ACEOF
18935cat confdefs.h >>conftest.$ac_ext
18936cat >>conftest.$ac_ext <<_ACEOF
18937/* end confdefs.h. */
18938#ifdef __STDC__
18939# include <limits.h>
18940#else
18941# include <assert.h>
18942#endif
ac1cb8d3 18943 Syntax error
a848cd7e
SC
18944_ACEOF
18945if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } >/dev/null; then
18953 if test -s conftest.err; then
18954 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18955 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18956 else
18957 ac_cpp_err=
18958 fi
18959else
18960 ac_cpp_err=yes
18961fi
18962if test -z "$ac_cpp_err"; then
18963 :
18964else
18965 echo "$as_me: failed program was:" >&5
18966sed 's/^/| /' conftest.$ac_ext >&5
18967
18968 # Broken: fails on valid input.
18969continue
18970fi
18971rm -f conftest.err conftest.$ac_ext
18972
18973 # OK, works on sane cases. Now check whether non-existent headers
18974 # can be detected and how.
18975 cat >conftest.$ac_ext <<_ACEOF
18976/* confdefs.h. */
18977_ACEOF
18978cat confdefs.h >>conftest.$ac_ext
18979cat >>conftest.$ac_ext <<_ACEOF
18980/* end confdefs.h. */
18981#include <ac_nonexistent.h>
18982_ACEOF
18983if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } >/dev/null; then
18991 if test -s conftest.err; then
18992 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18993 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18994 else
18995 ac_cpp_err=
18996 fi
18997else
18998 ac_cpp_err=yes
18999fi
19000if test -z "$ac_cpp_err"; then
19001 # Broken: success on invalid input.
19002continue
19003else
19004 echo "$as_me: failed program was:" >&5
19005sed 's/^/| /' conftest.$ac_ext >&5
19006
19007 # Passes both tests.
19008ac_preproc_ok=:
19009break
19010fi
19011rm -f conftest.err conftest.$ac_ext
19012
19013done
19014# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19015rm -f conftest.err conftest.$ac_ext
19016if $ac_preproc_ok; then
19017 :
19018else
19019 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19020See \`config.log' for more details." >&5
19021echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19022See \`config.log' for more details." >&2;}
19023 { (exit 1); exit 1; }; }
19024fi
19025
19026ac_ext=cc
19027ac_cpp='$CXXCPP $CPPFLAGS'
19028ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19031
19032
19033
19034
19035
19036 ac_ext=cc
19037ac_cpp='$CXXCPP $CPPFLAGS'
19038ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19039ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19040ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19041
19042
19043
19044for ac_header in iostream
19045do
19046as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19047if eval "test \"\${$as_ac_Header+set}\" = set"; then
19048 echo "$as_me:$LINENO: checking for $ac_header" >&5
19049echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19050if eval "test \"\${$as_ac_Header+set}\" = set"; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19052fi
19053echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19054echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19055else
19056 # Is the header compilable?
19057echo "$as_me:$LINENO: checking $ac_header usability" >&5
19058echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19059cat >conftest.$ac_ext <<_ACEOF
19060/* confdefs.h. */
19061_ACEOF
19062cat confdefs.h >>conftest.$ac_ext
19063cat >>conftest.$ac_ext <<_ACEOF
19064/* end confdefs.h. */
19065$ac_includes_default
19066#include <$ac_header>
19067_ACEOF
19068rm -f conftest.$ac_objext
19069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19070 (eval $ac_compile) 2>conftest.er1
a848cd7e 19071 ac_status=$?
ac1cb8d3
VS
19072 grep -v '^ *+' conftest.er1 >conftest.err
19073 rm -f conftest.er1
19074 cat conftest.err >&5
a848cd7e
SC
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
fc480dc1
DE
19077 { ac_try='test -z "$ac_cxx_werror_flag"
19078 || test ! -s conftest.err'
ac1cb8d3
VS
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19081 ac_status=$?
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19087 ac_status=$?
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 ac_header_compiler=yes
19091else
19092 echo "$as_me: failed program was:" >&5
19093sed 's/^/| /' conftest.$ac_ext >&5
19094
19095ac_header_compiler=no
19096fi
ac1cb8d3 19097rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19098echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19099echo "${ECHO_T}$ac_header_compiler" >&6
19100
19101# Is the header present?
19102echo "$as_me:$LINENO: checking $ac_header presence" >&5
19103echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19104cat >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#include <$ac_header>
19111_ACEOF
19112if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19114 ac_status=$?
19115 grep -v '^ *+' conftest.er1 >conftest.err
19116 rm -f conftest.er1
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } >/dev/null; then
19120 if test -s conftest.err; then
19121 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 19122 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
19123 else
19124 ac_cpp_err=
19125 fi
19126else
19127 ac_cpp_err=yes
19128fi
19129if test -z "$ac_cpp_err"; then
19130 ac_header_preproc=yes
19131else
19132 echo "$as_me: failed program was:" >&5
19133sed 's/^/| /' conftest.$ac_ext >&5
19134
19135 ac_header_preproc=no
19136fi
19137rm -f conftest.err conftest.$ac_ext
19138echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19139echo "${ECHO_T}$ac_header_preproc" >&6
19140
19141# So? What about this header?
ac1cb8d3
VS
19142case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19143 yes:no: )
a848cd7e
SC
19144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19145echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
19146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19147echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19148 ac_header_preproc=yes
a848cd7e 19149 ;;
ac1cb8d3 19150 no:yes:* )
a848cd7e
SC
19151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19152echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
19153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19154echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19156echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19158echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
19159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19160echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
19161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19162echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
19163 (
19164 cat <<\_ASBOX
ac1cb8d3
VS
19165## ----------------------------------------- ##
19166## Report this to wx-dev@lists.wxwidgets.org ##
19167## ----------------------------------------- ##
a848cd7e
SC
19168_ASBOX
19169 ) |
19170 sed "s/^/$as_me: WARNING: /" >&2
19171 ;;
19172esac
19173echo "$as_me:$LINENO: checking for $ac_header" >&5
19174echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19175if eval "test \"\${$as_ac_Header+set}\" = set"; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19177else
ac1cb8d3 19178 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
19179fi
19180echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19181echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19182
19183fi
19184if test `eval echo '${'$as_ac_Header'}'` = yes; then
19185 cat >>confdefs.h <<_ACEOF
19186#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19187_ACEOF
19188
19189fi
19190
19191done
19192
19193
19194 if test "$ac_cv_header_iostream" = "yes" ; then
19195 :
19196 else
19197 cat >>confdefs.h <<\_ACEOF
19198#define wxUSE_IOSTREAMH 1
19199_ACEOF
19200
19201 fi
19202
19203 ac_ext=c
19204ac_cpp='$CPP $CPPFLAGS'
19205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207ac_compiler_gnu=$ac_cv_c_compiler_gnu
19208
19209
19210
19211
19212 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19213echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19214if test "${wx_cv_cpp_bool+set}" = set; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19216else
19217
19218
19219
19220 ac_ext=cc
19221ac_cpp='$CXXCPP $CPPFLAGS'
19222ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19225
19226
19227 cat >conftest.$ac_ext <<_ACEOF
19228/* confdefs.h. */
19229_ACEOF
19230cat confdefs.h >>conftest.$ac_ext
19231cat >>conftest.$ac_ext <<_ACEOF
19232/* end confdefs.h. */
19233
19234
19235int
19236main ()
19237{
19238
19239 bool b = true;
19240
19241 return 0;
19242
19243 ;
19244 return 0;
19245}
19246_ACEOF
19247rm -f conftest.$ac_objext
19248if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19249 (eval $ac_compile) 2>conftest.er1
a848cd7e 19250 ac_status=$?
ac1cb8d3
VS
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
a848cd7e
SC
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
fc480dc1
DE
19256 { ac_try='test -z "$ac_cxx_werror_flag"
19257 || test ! -s conftest.err'
ac1cb8d3
VS
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19260 ac_status=$?
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269
19270 wx_cv_cpp_bool=yes
19271
19272else
19273 echo "$as_me: failed program was:" >&5
19274sed 's/^/| /' conftest.$ac_ext >&5
19275
19276
19277 wx_cv_cpp_bool=no
19278
19279
19280fi
ac1cb8d3 19281rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19282
19283 ac_ext=c
19284ac_cpp='$CPP $CPPFLAGS'
19285ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287ac_compiler_gnu=$ac_cv_c_compiler_gnu
19288
19289
19290fi
19291echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19292echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19293
19294 if test "$wx_cv_cpp_bool" = "yes"; then
19295 cat >>confdefs.h <<\_ACEOF
19296#define HAVE_BOOL 1
19297_ACEOF
19298
19299 fi
19300
19301
19302
19303 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19304echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19305if test "${wx_cv_explicit+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307else
19308
19309
19310
19311 ac_ext=cc
19312ac_cpp='$CXXCPP $CPPFLAGS'
19313ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19314ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19315ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19316
19317
19318 cat >conftest.$ac_ext <<_ACEOF
19319/* confdefs.h. */
19320_ACEOF
19321cat confdefs.h >>conftest.$ac_ext
19322cat >>conftest.$ac_ext <<_ACEOF
19323/* end confdefs.h. */
19324
19325 class Foo { public: explicit Foo(int) {} };
19326
19327int
19328main ()
19329{
19330
19331 return 0;
19332
19333 ;
19334 return 0;
19335}
19336_ACEOF
19337rm -f conftest.$ac_objext
19338if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19339 (eval $ac_compile) 2>conftest.er1
a848cd7e 19340 ac_status=$?
ac1cb8d3
VS
19341 grep -v '^ *+' conftest.er1 >conftest.err
19342 rm -f conftest.er1
19343 cat conftest.err >&5
a848cd7e
SC
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } &&
fc480dc1
DE
19346 { ac_try='test -z "$ac_cxx_werror_flag"
19347 || test ! -s conftest.err'
ac1cb8d3
VS
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19350 ac_status=$?
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; } &&
19353 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19356 ac_status=$?
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; }; then
19359
19360 cat >conftest.$ac_ext <<_ACEOF
19361/* confdefs.h. */
19362_ACEOF
19363cat confdefs.h >>conftest.$ac_ext
19364cat >>conftest.$ac_ext <<_ACEOF
19365/* end confdefs.h. */
19366
19367 class Foo { public: explicit Foo(int) {} };
19368 static void TakeFoo(const Foo& foo) { }
19369
19370int
19371main ()
19372{
19373
19374 TakeFoo(17);
19375 return 0;
19376
19377 ;
19378 return 0;
19379}
19380_ACEOF
19381rm -f conftest.$ac_objext
19382if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19383 (eval $ac_compile) 2>conftest.er1
a848cd7e 19384 ac_status=$?
ac1cb8d3
VS
19385 grep -v '^ *+' conftest.er1 >conftest.err
19386 rm -f conftest.er1
19387 cat conftest.err >&5
a848cd7e
SC
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } &&
fc480dc1
DE
19390 { ac_try='test -z "$ac_cxx_werror_flag"
19391 || test ! -s conftest.err'
ac1cb8d3
VS
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19394 ac_status=$?
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; } &&
19397 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 wx_cv_explicit=no
19404else
19405 echo "$as_me: failed program was:" >&5
19406sed 's/^/| /' conftest.$ac_ext >&5
19407
19408wx_cv_explicit=yes
19409
19410fi
ac1cb8d3 19411rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19412
19413else
19414 echo "$as_me: failed program was:" >&5
19415sed 's/^/| /' conftest.$ac_ext >&5
19416
19417wx_cv_explicit=no
19418
19419fi
ac1cb8d3 19420rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19421
19422 ac_ext=c
19423ac_cpp='$CPP $CPPFLAGS'
19424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19426ac_compiler_gnu=$ac_cv_c_compiler_gnu
19427
19428
19429fi
19430echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19431echo "${ECHO_T}$wx_cv_explicit" >&6
19432
19433 if test "$wx_cv_explicit" = "yes"; then
19434 cat >>confdefs.h <<\_ACEOF
19435#define HAVE_EXPLICIT 1
19436_ACEOF
19437
19438 fi
19439
19440
19441echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19442echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19443if test "${ac_cv_cxx_const_cast+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19445else
19446
19447
19448 ac_ext=cc
19449ac_cpp='$CXXCPP $CPPFLAGS'
19450ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19453
19454 cat >conftest.$ac_ext <<_ACEOF
19455/* confdefs.h. */
19456_ACEOF
19457cat confdefs.h >>conftest.$ac_ext
19458cat >>conftest.$ac_ext <<_ACEOF
19459/* end confdefs.h. */
19460
19461int
19462main ()
19463{
19464int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19465 ;
19466 return 0;
19467}
19468_ACEOF
19469rm -f conftest.$ac_objext
19470if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19471 (eval $ac_compile) 2>conftest.er1
a848cd7e 19472 ac_status=$?
ac1cb8d3
VS
19473 grep -v '^ *+' conftest.er1 >conftest.err
19474 rm -f conftest.er1
19475 cat conftest.err >&5
a848cd7e
SC
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } &&
fc480dc1
DE
19478 { ac_try='test -z "$ac_cxx_werror_flag"
19479 || test ! -s conftest.err'
ac1cb8d3
VS
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; } &&
19485 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19487 (eval $ac_try) 2>&5
19488 ac_status=$?
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; }; then
19491 ac_cv_cxx_const_cast=yes
19492else
19493 echo "$as_me: failed program was:" >&5
19494sed 's/^/| /' conftest.$ac_ext >&5
19495
19496ac_cv_cxx_const_cast=no
19497fi
ac1cb8d3 19498rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19499 ac_ext=c
19500ac_cpp='$CPP $CPPFLAGS'
19501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19503ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504
19505
19506fi
19507echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19508echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19509if test "$ac_cv_cxx_const_cast" = yes; then
19510
19511cat >>confdefs.h <<\_ACEOF
19512#define HAVE_CONST_CAST
19513_ACEOF
19514
19515fi
19516
7714864e
RL
19517echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19518echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19519if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19520 echo $ECHO_N "(cached) $ECHO_C" >&6
19521else
19522
19523
19524 ac_ext=cc
19525ac_cpp='$CXXCPP $CPPFLAGS'
19526ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19529
19530 cat >conftest.$ac_ext <<_ACEOF
19531/* confdefs.h. */
19532_ACEOF
19533cat confdefs.h >>conftest.$ac_ext
19534cat >>conftest.$ac_ext <<_ACEOF
19535/* end confdefs.h. */
19536#include <typeinfo>
19537class Base { public : Base () {} virtual void f () = 0;};
19538class Derived : public Base { public : Derived () {} virtual void f () {} };
19539class Unrelated { public : Unrelated () {} };
19540int g (Unrelated&) { return 0; }
19541int
19542main ()
19543{
19544
19545Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19546 ;
19547 return 0;
19548}
19549_ACEOF
19550rm -f conftest.$ac_objext
19551if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19552 (eval $ac_compile) 2>conftest.er1
19553 ac_status=$?
19554 grep -v '^ *+' conftest.er1 >conftest.err
19555 rm -f conftest.er1
19556 cat conftest.err >&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } &&
fc480dc1
DE
19559 { ac_try='test -z "$ac_cxx_werror_flag"
19560 || test ! -s conftest.err'
7714864e
RL
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19563 ac_status=$?
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try='test -s conftest.$ac_objext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19569 ac_status=$?
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_cxx_reinterpret_cast=yes
19573else
19574 echo "$as_me: failed program was:" >&5
19575sed 's/^/| /' conftest.$ac_ext >&5
19576
19577ac_cv_cxx_reinterpret_cast=no
19578fi
19579rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19580 ac_ext=c
19581ac_cpp='$CPP $CPPFLAGS'
19582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19584ac_compiler_gnu=$ac_cv_c_compiler_gnu
19585
19586
19587fi
19588echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19589echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19590if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19591
19592cat >>confdefs.h <<\_ACEOF
19593#define HAVE_REINTERPRET_CAST
19594_ACEOF
19595
19596fi
19597
a848cd7e
SC
19598echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19599echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19600if test "${ac_cv_cxx_static_cast+set}" = set; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19602else
19603
19604
19605 ac_ext=cc
19606ac_cpp='$CXXCPP $CPPFLAGS'
19607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19610
19611 cat >conftest.$ac_ext <<_ACEOF
19612/* confdefs.h. */
19613_ACEOF
19614cat confdefs.h >>conftest.$ac_ext
19615cat >>conftest.$ac_ext <<_ACEOF
19616/* end confdefs.h. */
19617#include <typeinfo>
19618class Base { public : Base () {} virtual void f () = 0; };
19619class Derived : public Base { public : Derived () {} virtual void f () {} };
19620int g (Derived&) { return 0; }
19621int
19622main ()
19623{
19624
19625Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19626 ;
19627 return 0;
19628}
19629_ACEOF
19630rm -f conftest.$ac_objext
19631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19632 (eval $ac_compile) 2>conftest.er1
a848cd7e 19633 ac_status=$?
ac1cb8d3
VS
19634 grep -v '^ *+' conftest.er1 >conftest.err
19635 rm -f conftest.er1
19636 cat conftest.err >&5
a848cd7e
SC
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
fc480dc1
DE
19639 { ac_try='test -z "$ac_cxx_werror_flag"
19640 || test ! -s conftest.err'
ac1cb8d3
VS
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19643 ac_status=$?
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19649 ac_status=$?
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 ac_cv_cxx_static_cast=yes
19653else
19654 echo "$as_me: failed program was:" >&5
19655sed 's/^/| /' conftest.$ac_ext >&5
19656
19657ac_cv_cxx_static_cast=no
19658fi
ac1cb8d3 19659rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19660 ac_ext=c
19661ac_cpp='$CPP $CPPFLAGS'
19662ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19663ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19664ac_compiler_gnu=$ac_cv_c_compiler_gnu
19665
19666
19667fi
19668echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19669echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19670if test "$ac_cv_cxx_static_cast" = yes; then
19671
19672cat >>confdefs.h <<\_ACEOF
19673#define HAVE_STATIC_CAST
19674_ACEOF
19675
19676fi
19677
19678
19679if test "$wxUSE_STL" = "yes"; then
19680 ac_ext=cc
19681ac_cpp='$CXXCPP $CPPFLAGS'
19682ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19683ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19684ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19685
19686
19687 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19688echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19689 cat >conftest.$ac_ext <<_ACEOF
19690/* confdefs.h. */
19691_ACEOF
19692cat confdefs.h >>conftest.$ac_ext
19693cat >>conftest.$ac_ext <<_ACEOF
19694/* end confdefs.h. */
19695#include <string>
19696 #include <functional>
19697 #include <algorithm>
19698 #include <vector>
19699 #include <list>
19700int
19701main ()
19702{
19703std::vector<int> moo;
19704 std::list<int> foo;
19705 std::vector<int>::iterator it =
19706 std::find_if(moo.begin(), moo.end(),
19707 std::bind2nd(std::less<int>(), 3));
19708 ;
19709 return 0;
19710}
19711_ACEOF
19712rm -f conftest.$ac_objext
19713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19714 (eval $ac_compile) 2>conftest.er1
a848cd7e 19715 ac_status=$?
ac1cb8d3
VS
19716 grep -v '^ *+' conftest.er1 >conftest.err
19717 rm -f conftest.er1
19718 cat conftest.err >&5
a848cd7e
SC
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
fc480dc1
DE
19721 { ac_try='test -z "$ac_cxx_werror_flag"
19722 || test ! -s conftest.err'
ac1cb8d3
VS
19723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724 (eval $ac_try) 2>&5
19725 ac_status=$?
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; } &&
19728 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19731 ac_status=$?
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; }; then
19734 echo "$as_me:$LINENO: result: yes" >&5
19735echo "${ECHO_T}yes" >&6
19736else
19737 echo "$as_me: failed program was:" >&5
19738sed 's/^/| /' conftest.$ac_ext >&5
19739
19740echo "$as_me:$LINENO: result: no" >&5
19741echo "${ECHO_T}no" >&6
19742 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19743echo "$as_me: error: Basic STL functionality missing" >&2;}
19744 { (exit 1); exit 1; }; }
19745fi
ac1cb8d3 19746rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19747
19748 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19749echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19750 cat >conftest.$ac_ext <<_ACEOF
19751/* confdefs.h. */
19752_ACEOF
19753cat confdefs.h >>conftest.$ac_ext
19754cat >>conftest.$ac_ext <<_ACEOF
19755/* end confdefs.h. */
19756#include <string>
19757int
19758main ()
19759{
19760std::wstring foo;
19761 ;
19762 return 0;
19763}
19764_ACEOF
19765rm -f conftest.$ac_objext
19766if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19767 (eval $ac_compile) 2>conftest.er1
a848cd7e 19768 ac_status=$?
ac1cb8d3
VS
19769 grep -v '^ *+' conftest.er1 >conftest.err
19770 rm -f conftest.er1
19771 cat conftest.err >&5
a848cd7e
SC
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); } &&
fc480dc1
DE
19774 { ac_try='test -z "$ac_cxx_werror_flag"
19775 || test ! -s conftest.err'
ac1cb8d3
VS
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19778 ac_status=$?
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; } &&
19781 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19784 ac_status=$?
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; }; then
19787 echo "$as_me:$LINENO: result: yes" >&5
19788echo "${ECHO_T}yes" >&6
19789 cat >>confdefs.h <<\_ACEOF
19790#define HAVE_STD_WSTRING 1
19791_ACEOF
19792
19793else
19794 echo "$as_me: failed program was:" >&5
19795sed 's/^/| /' conftest.$ac_ext >&5
19796
19797echo "$as_me:$LINENO: result: no" >&5
19798echo "${ECHO_T}no" >&6
19799fi
ac1cb8d3 19800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19801
19802 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19803echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19804 cat >conftest.$ac_ext <<_ACEOF
19805/* confdefs.h. */
19806_ACEOF
19807cat confdefs.h >>conftest.$ac_ext
19808cat >>conftest.$ac_ext <<_ACEOF
19809/* end confdefs.h. */
19810#include <string>
19811int
19812main ()
19813{
19814std::string foo, bar;
19815 foo.compare(bar);
19816 foo.compare(1, 1, bar);
19817 foo.compare(1, 1, bar, 1, 1);
19818 foo.compare("");
19819 foo.compare(1, 1, "");
19820 foo.compare(1, 1, "", 2);
19821 ;
19822 return 0;
19823}
19824_ACEOF
19825rm -f conftest.$ac_objext
19826if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19827 (eval $ac_compile) 2>conftest.er1
a848cd7e 19828 ac_status=$?
ac1cb8d3
VS
19829 grep -v '^ *+' conftest.er1 >conftest.err
19830 rm -f conftest.er1
19831 cat conftest.err >&5
a848cd7e
SC
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
fc480dc1
DE
19834 { ac_try='test -z "$ac_cxx_werror_flag"
19835 || test ! -s conftest.err'
ac1cb8d3
VS
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 echo "$as_me:$LINENO: result: yes" >&5
19848echo "${ECHO_T}yes" >&6
19849 cat >>confdefs.h <<\_ACEOF
19850#define HAVE_STD_STRING_COMPARE 1
19851_ACEOF
19852
19853else
19854 echo "$as_me: failed program was:" >&5
19855sed 's/^/| /' conftest.$ac_ext >&5
19856
19857echo "$as_me:$LINENO: result: no" >&5
19858echo "${ECHO_T}no" >&6
19859fi
ac1cb8d3 19860rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
19861
19862 if test "${ac_cv_header_hash_map+set}" = set; then
19863 echo "$as_me:$LINENO: checking for hash_map" >&5
19864echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19865if test "${ac_cv_header_hash_map+set}" = set; then
19866 echo $ECHO_N "(cached) $ECHO_C" >&6
19867fi
19868echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19869echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19870else
19871 # Is the header compilable?
19872echo "$as_me:$LINENO: checking hash_map usability" >&5
19873echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19874cat >conftest.$ac_ext <<_ACEOF
19875/* confdefs.h. */
19876_ACEOF
19877cat confdefs.h >>conftest.$ac_ext
19878cat >>conftest.$ac_ext <<_ACEOF
19879/* end confdefs.h. */
19880$ac_includes_default
19881#include <hash_map>
19882_ACEOF
19883rm -f conftest.$ac_objext
19884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19885 (eval $ac_compile) 2>conftest.er1
bdcade0a 19886 ac_status=$?
ac1cb8d3
VS
19887 grep -v '^ *+' conftest.er1 >conftest.err
19888 rm -f conftest.er1
19889 cat conftest.err >&5
bdcade0a
MB
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } &&
fc480dc1
DE
19892 { ac_try='test -z "$ac_cxx_werror_flag"
19893 || test ! -s conftest.err'
ac1cb8d3
VS
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; } &&
19899 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19902 ac_status=$?
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; }; then
19905 ac_header_compiler=yes
19906else
19907 echo "$as_me: failed program was:" >&5
19908sed 's/^/| /' conftest.$ac_ext >&5
19909
19910ac_header_compiler=no
19911fi
ac1cb8d3 19912rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
19913echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19914echo "${ECHO_T}$ac_header_compiler" >&6
19915
19916# Is the header present?
19917echo "$as_me:$LINENO: checking hash_map presence" >&5
19918echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19919cat >conftest.$ac_ext <<_ACEOF
19920/* confdefs.h. */
19921_ACEOF
19922cat confdefs.h >>conftest.$ac_ext
19923cat >>conftest.$ac_ext <<_ACEOF
19924/* end confdefs.h. */
19925#include <hash_map>
19926_ACEOF
19927if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19929 ac_status=$?
19930 grep -v '^ *+' conftest.er1 >conftest.err
19931 rm -f conftest.er1
19932 cat conftest.err >&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } >/dev/null; then
19935 if test -s conftest.err; then
19936 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 19937 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
bdcade0a
MB
19938 else
19939 ac_cpp_err=
19940 fi
19941else
19942 ac_cpp_err=yes
19943fi
19944if test -z "$ac_cpp_err"; then
19945 ac_header_preproc=yes
19946else
19947 echo "$as_me: failed program was:" >&5
19948sed 's/^/| /' conftest.$ac_ext >&5
19949
19950 ac_header_preproc=no
19951fi
19952rm -f conftest.err conftest.$ac_ext
19953echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19954echo "${ECHO_T}$ac_header_preproc" >&6
19955
19956# So? What about this header?
ac1cb8d3
VS
19957case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19958 yes:no: )
bdcade0a
MB
19959 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19960echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
19961 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19962echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19963 ac_header_preproc=yes
bdcade0a 19964 ;;
ac1cb8d3 19965 no:yes:* )
bdcade0a
MB
19966 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19967echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
ac1cb8d3
VS
19968 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19969echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19970 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19971echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19972 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19973echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
bdcade0a
MB
19974 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19975echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
19976 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19977echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
bdcade0a
MB
19978 (
19979 cat <<\_ASBOX
ac1cb8d3
VS
19980## ----------------------------------------- ##
19981## Report this to wx-dev@lists.wxwidgets.org ##
19982## ----------------------------------------- ##
bdcade0a
MB
19983_ASBOX
19984 ) |
19985 sed "s/^/$as_me: WARNING: /" >&2
19986 ;;
19987esac
19988echo "$as_me:$LINENO: checking for hash_map" >&5
19989echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19990if test "${ac_cv_header_hash_map+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19992else
19993 ac_cv_header_hash_map=$ac_header_preproc
19994fi
19995echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19996echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19997
19998fi
19999if test $ac_cv_header_hash_map = yes; then
20000 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20001echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20002 cat >conftest.$ac_ext <<_ACEOF
20003/* confdefs.h. */
20004_ACEOF
20005cat confdefs.h >>conftest.$ac_ext
20006cat >>conftest.$ac_ext <<_ACEOF
20007/* end confdefs.h. */
20008#include <hash_map>
20009 #include <hash_set>
20010int
20011main ()
20012{
20013std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20014 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20015 ;
20016 return 0;
20017}
20018_ACEOF
20019rm -f conftest.$ac_objext
20020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20021 (eval $ac_compile) 2>conftest.er1
bdcade0a 20022 ac_status=$?
ac1cb8d3
VS
20023 grep -v '^ *+' conftest.er1 >conftest.err
20024 rm -f conftest.er1
20025 cat conftest.err >&5
bdcade0a
MB
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
fc480dc1
DE
20028 { ac_try='test -z "$ac_cxx_werror_flag"
20029 || test ! -s conftest.err'
ac1cb8d3
VS
20030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031 (eval $ac_try) 2>&5
20032 ac_status=$?
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); }; } &&
20035 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
20036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20037 (eval $ac_try) 2>&5
20038 ac_status=$?
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); }; }; then
20041 echo "$as_me:$LINENO: result: yes" >&5
20042echo "${ECHO_T}yes" >&6
20043 cat >>confdefs.h <<\_ACEOF
20044#define HAVE_HASH_MAP 1
20045_ACEOF
20046
20047 cat >>confdefs.h <<\_ACEOF
20048#define HAVE_STD_HASH_MAP 1
20049_ACEOF
20050
20051else
20052 echo "$as_me: failed program was:" >&5
20053sed 's/^/| /' conftest.$ac_ext >&5
20054
20055echo "$as_me:$LINENO: result: no" >&5
20056echo "${ECHO_T}no" >&6
20057fi
ac1cb8d3 20058rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
20059
20060fi
20061
20062
20063
20064 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20065 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20066echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20067if test "${ac_cv_header_ext_hash_map+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20069fi
20070echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20071echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20072else
20073 # Is the header compilable?
20074echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20075echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20076cat >conftest.$ac_ext <<_ACEOF
20077/* confdefs.h. */
20078_ACEOF
20079cat confdefs.h >>conftest.$ac_ext
20080cat >>conftest.$ac_ext <<_ACEOF
20081/* end confdefs.h. */
20082$ac_includes_default
20083#include <ext/hash_map>
20084_ACEOF
20085rm -f conftest.$ac_objext
20086if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20087 (eval $ac_compile) 2>conftest.er1
bdcade0a 20088 ac_status=$?
ac1cb8d3
VS
20089 grep -v '^ *+' conftest.er1 >conftest.err
20090 rm -f conftest.er1
20091 cat conftest.err >&5
bdcade0a
MB
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } &&
fc480dc1
DE
20094 { ac_try='test -z "$ac_cxx_werror_flag"
20095 || test ! -s conftest.err'
ac1cb8d3
VS
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20098 ac_status=$?
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20104 ac_status=$?
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20107 ac_header_compiler=yes
20108else
20109 echo "$as_me: failed program was:" >&5
20110sed 's/^/| /' conftest.$ac_ext >&5
20111
20112ac_header_compiler=no
20113fi
ac1cb8d3 20114rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
20115echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20116echo "${ECHO_T}$ac_header_compiler" >&6
20117
20118# Is the header present?
20119echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20120echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20121cat >conftest.$ac_ext <<_ACEOF
20122/* confdefs.h. */
20123_ACEOF
20124cat confdefs.h >>conftest.$ac_ext
20125cat >>conftest.$ac_ext <<_ACEOF
20126/* end confdefs.h. */
20127#include <ext/hash_map>
20128_ACEOF
20129if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20131 ac_status=$?
20132 grep -v '^ *+' conftest.er1 >conftest.err
20133 rm -f conftest.er1
20134 cat conftest.err >&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } >/dev/null; then
20137 if test -s conftest.err; then
20138 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 20139 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
bdcade0a
MB
20140 else
20141 ac_cpp_err=
20142 fi
20143else
20144 ac_cpp_err=yes
20145fi
20146if test -z "$ac_cpp_err"; then
20147 ac_header_preproc=yes
20148else
20149 echo "$as_me: failed program was:" >&5
20150sed 's/^/| /' conftest.$ac_ext >&5
20151
20152 ac_header_preproc=no
20153fi
20154rm -f conftest.err conftest.$ac_ext
20155echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20156echo "${ECHO_T}$ac_header_preproc" >&6
20157
20158# So? What about this header?
ac1cb8d3
VS
20159case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20160 yes:no: )
bdcade0a
MB
20161 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20162echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
20163 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20164echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20165 ac_header_preproc=yes
bdcade0a 20166 ;;
ac1cb8d3 20167 no:yes:* )
bdcade0a
MB
20168 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20169echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
ac1cb8d3
VS
20170 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20171echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20172 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20173echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20174 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20175echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
bdcade0a
MB
20176 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20177echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
20178 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20179echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
bdcade0a
MB
20180 (
20181 cat <<\_ASBOX
ac1cb8d3
VS
20182## ----------------------------------------- ##
20183## Report this to wx-dev@lists.wxwidgets.org ##
20184## ----------------------------------------- ##
bdcade0a
MB
20185_ASBOX
20186 ) |
20187 sed "s/^/$as_me: WARNING: /" >&2
20188 ;;
20189esac
20190echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20191echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20192if test "${ac_cv_header_ext_hash_map+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194else
20195 ac_cv_header_ext_hash_map=$ac_header_preproc
20196fi
20197echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20198echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20199
20200fi
20201if test $ac_cv_header_ext_hash_map = yes; then
20202 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20203echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20204 cat >conftest.$ac_ext <<_ACEOF
20205/* confdefs.h. */
20206_ACEOF
20207cat confdefs.h >>conftest.$ac_ext
20208cat >>conftest.$ac_ext <<_ACEOF
20209/* end confdefs.h. */
20210#include <ext/hash_map>
20211 #include <ext/hash_set>
20212int
20213main ()
20214{
20215__gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20216 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20217 ;
20218 return 0;
20219}
20220_ACEOF
20221rm -f conftest.$ac_objext
20222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20223 (eval $ac_compile) 2>conftest.er1
bdcade0a 20224 ac_status=$?
ac1cb8d3
VS
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
bdcade0a
MB
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
fc480dc1
DE
20230 { ac_try='test -z "$ac_cxx_werror_flag"
20231 || test ! -s conftest.err'
ac1cb8d3
VS
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20234 ac_status=$?
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; } &&
20237 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20240 ac_status=$?
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; }; then
20243 echo "$as_me:$LINENO: result: yes" >&5
20244echo "${ECHO_T}yes" >&6
20245 cat >>confdefs.h <<\_ACEOF
20246#define HAVE_EXT_HASH_MAP 1
20247_ACEOF
20248
20249 cat >>confdefs.h <<\_ACEOF
20250#define HAVE_GNU_CXX_HASH_MAP 1
20251_ACEOF
20252
20253else
20254 echo "$as_me: failed program was:" >&5
20255sed 's/^/| /' conftest.$ac_ext >&5
20256
20257echo "$as_me:$LINENO: result: no" >&5
20258echo "${ECHO_T}no" >&6
20259fi
ac1cb8d3 20260rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
20261
20262fi
20263
20264
a848cd7e
SC
20265
20266 ac_ext=c
20267ac_cpp='$CPP $CPPFLAGS'
20268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20270ac_compiler_gnu=$ac_cv_c_compiler_gnu
20271
20272fi
20273
20274
20275SEARCH_INCLUDE="\
20276 /usr/local/include \
20277 \
20278 /usr/Motif-2.1/include \
20279 /usr/Motif-1.2/include \
20280 /usr/include/Motif1.2 \
20281 /opt/xpm/include/X11 \
20282 /opt/GBxpm/include/ \
20283 /opt/GBxpm/X11/include/ \
20284 \
20285 /usr/dt/include \
20286 /usr/openwin/include \
20287 \
20288 /usr/include/Xm \
20289 \
20290 /usr/X11R6/include \
20291 /usr/X11R6.4/include \
20292 /usr/X11R5/include \
20293 /usr/X11R4/include \
20294 \
20295 /usr/include/X11R6 \
20296 /usr/include/X11R5 \
20297 /usr/include/X11R4 \
20298 \
20299 /usr/local/X11R6/include \
20300 /usr/local/X11R5/include \
20301 /usr/local/X11R4/include \
20302 \
20303 /usr/local/include/X11R6 \
20304 /usr/local/include/X11R5 \
20305 /usr/local/include/X11R4 \
20306 \
20307 /usr/X11/include \
20308 /usr/include/X11 \
20309 /usr/local/X11/include \
20310 /usr/local/include/X11 \
20311 \
20312 /usr/X386/include \
20313 /usr/x386/include \
20314 /usr/XFree86/include/X11 \
20315 \
20316 X:/XFree86/include \
20317 X:/XFree86/include/X11 \
20318 \
20319 /usr/include/gtk \
20320 /usr/local/include/gtk \
20321 /usr/include/glib \
20322 /usr/local/include/glib \
20323 \
20324 /usr/include/qt \
20325 /usr/local/include/qt \
20326 \
20327 /usr/local/arm/3.3.2/include \
20328 \
20329 /usr/include/windows \
20330 /usr/include/wine \
20331 /usr/local/include/wine \
20332 \
20333 /usr/unsupported/include \
20334 /usr/athena/include \
20335 /usr/local/x11r5/include \
20336 /usr/lpp/Xamples/include \
20337 \
20338 /usr/openwin/share/include"
20339
20340SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20341
20342
20343cat >confcache <<\_ACEOF
20344# This file is a shell script that caches the results of configure
20345# tests run on this system so they can be shared between configure
20346# scripts and configure runs, see configure's option --config-cache.
20347# It is not useful on other systems. If it contains results you don't
20348# want to keep, you may remove or edit it.
20349#
20350# config.status only pays attention to the cache file if you give it
20351# the --recheck option to rerun configure.
20352#
20353# `ac_cv_env_foo' variables (set or unset) will be overridden when
20354# loading this file, other *unset* `ac_cv_foo' will be assigned the
20355# following values.
20356
20357_ACEOF
20358
20359# The following way of writing the cache mishandles newlines in values,
20360# but we know of no workaround that is simple, portable, and efficient.
20361# So, don't put newlines in cache variables' values.
20362# Ultrix sh set writes to stderr and can't be redirected directly,
20363# and sets the high bit in the cache file unless we assign to the vars.
20364{
20365 (set) 2>&1 |
20366 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20367 *ac_space=\ *)
20368 # `set' does not quote correctly, so add quotes (double-quote
20369 # substitution turns \\\\ into \\, and sed turns \\ into \).
20370 sed -n \
ac1cb8d3
VS
20371 "s/'/'\\\\''/g;
20372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
20373 ;;
20374 *)
20375 # `set' quotes correctly as required by POSIX, so do not add quotes.
20376 sed -n \
ac1cb8d3 20377 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
20378 ;;
20379 esac;
20380} |
20381 sed '
20382 t clear
20383 : clear
20384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20385 t end
20386 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20387 : end' >>confcache
20388if diff $cache_file confcache >/dev/null 2>&1; then :; else
20389 if test -w $cache_file; then
20390 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20391 cat confcache >$cache_file
20392 else
20393 echo "not updating unwritable cache $cache_file"
20394 fi
20395fi
20396rm -f confcache
20397
20398if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20399 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20400echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20401if test "${wx_cv_lib_glibc21+set}" = set; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20403else
20404
20405 cat >conftest.$ac_ext <<_ACEOF
20406/* confdefs.h. */
20407_ACEOF
20408cat confdefs.h >>conftest.$ac_ext
20409cat >>conftest.$ac_ext <<_ACEOF
20410/* end confdefs.h. */
20411#include <features.h>
20412int
20413main ()
20414{
20415
20416 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20417 #error not glibc2.1
20418 #endif
20419
20420 ;
20421 return 0;
20422}
20423_ACEOF
20424rm -f conftest.$ac_objext
20425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20426 (eval $ac_compile) 2>conftest.er1
a848cd7e 20427 ac_status=$?
ac1cb8d3
VS
20428 grep -v '^ *+' conftest.er1 >conftest.err
20429 rm -f conftest.er1
20430 cat conftest.err >&5
a848cd7e
SC
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
fc480dc1
DE
20433 { ac_try='test -z "$ac_c_werror_flag"
20434 || test ! -s conftest.err'
ac1cb8d3
VS
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20437 ac_status=$?
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; } &&
20440 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20443 ac_status=$?
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; }; then
20446
20447 wx_cv_lib_glibc21=yes
20448
20449else
20450 echo "$as_me: failed program was:" >&5
20451sed 's/^/| /' conftest.$ac_ext >&5
20452
20453
20454 wx_cv_lib_glibc21=no
20455
20456
20457fi
ac1cb8d3 20458rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20459
20460fi
20461echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20462echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20463 if test "$wx_cv_lib_glibc21" = "yes"; then
20464 cat >>confdefs.h <<\_ACEOF
20465#define wxHAVE_GLIBC2 1
20466_ACEOF
20467
20468 fi
20469fi
20470
20471if test "x$wx_cv_lib_glibc21" = "xyes"; then
20472 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20473 cat >>confdefs.h <<\_ACEOF
20474#define _GNU_SOURCE 1
20475_ACEOF
20476
20477 fi
20478fi
20479
20480
20481
20482if test "$wxUSE_REGEX" != "no"; then
20483 cat >>confdefs.h <<\_ACEOF
20484#define wxUSE_REGEX 1
20485_ACEOF
20486
20487
20488 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20489 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20490echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20491 wxUSE_REGEX=builtin
20492 fi
20493
20494 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20495 if test "${ac_cv_header_regex_h+set}" = set; then
20496 echo "$as_me:$LINENO: checking for regex.h" >&5
20497echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20498if test "${ac_cv_header_regex_h+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20500fi
20501echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20502echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20503else
20504 # Is the header compilable?
20505echo "$as_me:$LINENO: checking regex.h usability" >&5
20506echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20507cat >conftest.$ac_ext <<_ACEOF
20508/* confdefs.h. */
20509_ACEOF
20510cat confdefs.h >>conftest.$ac_ext
20511cat >>conftest.$ac_ext <<_ACEOF
20512/* end confdefs.h. */
20513$ac_includes_default
20514#include <regex.h>
20515_ACEOF
20516rm -f conftest.$ac_objext
20517if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20518 (eval $ac_compile) 2>conftest.er1
a848cd7e 20519 ac_status=$?
ac1cb8d3
VS
20520 grep -v '^ *+' conftest.er1 >conftest.err
20521 rm -f conftest.er1
20522 cat conftest.err >&5
a848cd7e
SC
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } &&
fc480dc1
DE
20525 { ac_try='test -z "$ac_c_werror_flag"
20526 || test ! -s conftest.err'
ac1cb8d3
VS
20527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528 (eval $ac_try) 2>&5
20529 ac_status=$?
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; } &&
20532 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20535 ac_status=$?
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; }; then
20538 ac_header_compiler=yes
20539else
20540 echo "$as_me: failed program was:" >&5
20541sed 's/^/| /' conftest.$ac_ext >&5
20542
20543ac_header_compiler=no
20544fi
ac1cb8d3 20545rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20546echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20547echo "${ECHO_T}$ac_header_compiler" >&6
20548
20549# Is the header present?
20550echo "$as_me:$LINENO: checking regex.h presence" >&5
20551echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20552cat >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#include <regex.h>
20559_ACEOF
20560if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20562 ac_status=$?
20563 grep -v '^ *+' conftest.er1 >conftest.err
20564 rm -f conftest.er1
20565 cat conftest.err >&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } >/dev/null; then
20568 if test -s conftest.err; then
20569 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 20570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
20571 else
20572 ac_cpp_err=
20573 fi
20574else
20575 ac_cpp_err=yes
20576fi
20577if test -z "$ac_cpp_err"; then
20578 ac_header_preproc=yes
20579else
20580 echo "$as_me: failed program was:" >&5
20581sed 's/^/| /' conftest.$ac_ext >&5
20582
20583 ac_header_preproc=no
20584fi
20585rm -f conftest.err conftest.$ac_ext
20586echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20587echo "${ECHO_T}$ac_header_preproc" >&6
20588
20589# So? What about this header?
ac1cb8d3
VS
20590case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20591 yes:no: )
a848cd7e
SC
20592 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20593echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
20594 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20595echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20596 ac_header_preproc=yes
a848cd7e 20597 ;;
ac1cb8d3 20598 no:yes:* )
a848cd7e
SC
20599 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20600echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
20601 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20602echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20604echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20605 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20606echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
20607 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20608echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
20609 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20610echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
20611 (
20612 cat <<\_ASBOX
ac1cb8d3
VS
20613## ----------------------------------------- ##
20614## Report this to wx-dev@lists.wxwidgets.org ##
20615## ----------------------------------------- ##
a848cd7e
SC
20616_ASBOX
20617 ) |
20618 sed "s/^/$as_me: WARNING: /" >&2
20619 ;;
20620esac
20621echo "$as_me:$LINENO: checking for regex.h" >&5
20622echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20623if test "${ac_cv_header_regex_h+set}" = set; then
20624 echo $ECHO_N "(cached) $ECHO_C" >&6
20625else
20626 ac_cv_header_regex_h=$ac_header_preproc
20627fi
20628echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20629echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20630
20631fi
20632if test $ac_cv_header_regex_h = yes; then
20633
20634for ac_func in regcomp
20635do
20636as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20637echo "$as_me:$LINENO: checking for $ac_func" >&5
20638echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20639if eval "test \"\${$as_ac_var+set}\" = set"; then
20640 echo $ECHO_N "(cached) $ECHO_C" >&6
20641else
20642 cat >conftest.$ac_ext <<_ACEOF
20643/* confdefs.h. */
20644_ACEOF
20645cat confdefs.h >>conftest.$ac_ext
20646cat >>conftest.$ac_ext <<_ACEOF
20647/* end confdefs.h. */
ac1cb8d3
VS
20648/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20650#define $ac_func innocuous_$ac_func
20651
a848cd7e
SC
20652/* System header to define __stub macros and hopefully few prototypes,
20653 which can conflict with char $ac_func (); below.
20654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20655 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 20656
a848cd7e
SC
20657#ifdef __STDC__
20658# include <limits.h>
20659#else
20660# include <assert.h>
20661#endif
ac1cb8d3
VS
20662
20663#undef $ac_func
20664
a848cd7e
SC
20665/* Override any gcc2 internal prototype to avoid an error. */
20666#ifdef __cplusplus
20667extern "C"
20668{
20669#endif
20670/* We use char because int might match the return type of a gcc2
20671 builtin and then its argument prototype would still apply. */
20672char $ac_func ();
20673/* The GNU C library defines this for functions which it implements
20674 to always fail with ENOSYS. Some functions are actually named
20675 something starting with __ and the normal name is an alias. */
20676#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20677choke me
20678#else
20679char (*f) () = $ac_func;
20680#endif
20681#ifdef __cplusplus
20682}
20683#endif
20684
20685int
20686main ()
20687{
20688return f != $ac_func;
20689 ;
20690 return 0;
20691}
20692_ACEOF
20693rm -f conftest.$ac_objext conftest$ac_exeext
20694if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 20695 (eval $ac_link) 2>conftest.er1
a848cd7e 20696 ac_status=$?
ac1cb8d3
VS
20697 grep -v '^ *+' conftest.er1 >conftest.err
20698 rm -f conftest.er1
20699 cat conftest.err >&5
a848cd7e
SC
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } &&
fc480dc1
DE
20702 { ac_try='test -z "$ac_c_werror_flag"
20703 || test ! -s conftest.err'
ac1cb8d3
VS
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20712 ac_status=$?
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20715 eval "$as_ac_var=yes"
20716else
20717 echo "$as_me: failed program was:" >&5
20718sed 's/^/| /' conftest.$ac_ext >&5
20719
20720eval "$as_ac_var=no"
20721fi
ac1cb8d3
VS
20722rm -f conftest.err conftest.$ac_objext \
20723 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
20724fi
20725echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20726echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20727if test `eval echo '${'$as_ac_var'}'` = yes; then
20728 cat >>confdefs.h <<_ACEOF
20729#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20730_ACEOF
20731
20732fi
20733done
20734
20735fi
20736
20737
20738
20739 if test "x$ac_cv_func_regcomp" != "xyes"; then
20740 if test "$wxUSE_REGEX" = "sys" ; then
20741 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20742echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20743 { (exit 1); exit 1; }; }
20744 else
20745 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20746echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20747 wxUSE_REGEX=builtin
20748 fi
20749 else
20750 wxUSE_REGEX=sys
20751 cat >>confdefs.h <<\_ACEOF
20752#define WX_NO_REGEX_ADVANCED 1
20753_ACEOF
20754
20755 fi
20756 fi
20757fi
20758
20759
20760ZLIB_LINK=
20761if test "$wxUSE_ZLIB" != "no" ; then
20762 cat >>confdefs.h <<\_ACEOF
20763#define wxUSE_ZLIB 1
20764_ACEOF
20765
20766
20767 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20768 if test "$USE_DARWIN" = 1; then
20769 system_zlib_h_ok="yes"
20770 else
20771 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20772echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20773if test "${ac_cv_header_zlib_h+set}" = set; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20775else
20776 if test "$cross_compiling" = yes; then
20777 unset ac_cv_header_zlib_h
20778
20779else
20780 cat >conftest.$ac_ext <<_ACEOF
20781/* confdefs.h. */
20782_ACEOF
20783cat confdefs.h >>conftest.$ac_ext
20784cat >>conftest.$ac_ext <<_ACEOF
20785/* end confdefs.h. */
20786
20787 #include <zlib.h>
20788 #include <stdio.h>
20789
20790 int main()
20791 {
20792 FILE *f=fopen("conftestval", "w");
20793 if (!f) exit(1);
20794 fprintf(f, "%s",
20795 ZLIB_VERSION[0] == '1' &&
20796 (ZLIB_VERSION[2] > '1' ||
20797 (ZLIB_VERSION[2] == '1' &&
20798 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20799 exit(0);
20800 }
20801
20802_ACEOF
20803rm -f conftest$ac_exeext
20804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20805 (eval $ac_link) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20811 ac_status=$?
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20814 ac_cv_header_zlib_h=`cat conftestval`
20815else
20816 echo "$as_me: program exited with status $ac_status" >&5
20817echo "$as_me: failed program was:" >&5
20818sed 's/^/| /' conftest.$ac_ext >&5
20819
20820( exit $ac_status )
20821ac_cv_header_zlib_h=no
20822fi
ac1cb8d3 20823rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20824fi
20825
20826fi
20827echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20828echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20829 if test "${ac_cv_header_zlib_h+set}" = set; then
20830 echo "$as_me:$LINENO: checking for zlib.h" >&5
20831echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20832if test "${ac_cv_header_zlib_h+set}" = set; then
20833 echo $ECHO_N "(cached) $ECHO_C" >&6
20834fi
20835echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20836echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20837else
20838 # Is the header compilable?
20839echo "$as_me:$LINENO: checking zlib.h usability" >&5
20840echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20841cat >conftest.$ac_ext <<_ACEOF
20842/* confdefs.h. */
20843_ACEOF
20844cat confdefs.h >>conftest.$ac_ext
20845cat >>conftest.$ac_ext <<_ACEOF
20846/* end confdefs.h. */
20847$ac_includes_default
20848#include <zlib.h>
20849_ACEOF
20850rm -f conftest.$ac_objext
20851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20852 (eval $ac_compile) 2>conftest.er1
a848cd7e 20853 ac_status=$?
ac1cb8d3
VS
20854 grep -v '^ *+' conftest.er1 >conftest.err
20855 rm -f conftest.er1
20856 cat conftest.err >&5
a848cd7e
SC
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } &&
fc480dc1
DE
20859 { ac_try='test -z "$ac_c_werror_flag"
20860 || test ! -s conftest.err'
ac1cb8d3
VS
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20863 ac_status=$?
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; } &&
20866 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20869 ac_status=$?
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872 ac_header_compiler=yes
20873else
20874 echo "$as_me: failed program was:" >&5
20875sed 's/^/| /' conftest.$ac_ext >&5
20876
20877ac_header_compiler=no
20878fi
ac1cb8d3 20879rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20880echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20881echo "${ECHO_T}$ac_header_compiler" >&6
20882
20883# Is the header present?
20884echo "$as_me:$LINENO: checking zlib.h presence" >&5
20885echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20886cat >conftest.$ac_ext <<_ACEOF
20887/* confdefs.h. */
20888_ACEOF
20889cat confdefs.h >>conftest.$ac_ext
20890cat >>conftest.$ac_ext <<_ACEOF
20891/* end confdefs.h. */
20892#include <zlib.h>
20893_ACEOF
20894if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20896 ac_status=$?
20897 grep -v '^ *+' conftest.er1 >conftest.err
20898 rm -f conftest.er1
20899 cat conftest.err >&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } >/dev/null; then
20902 if test -s conftest.err; then
20903 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 20904 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
20905 else
20906 ac_cpp_err=
20907 fi
20908else
20909 ac_cpp_err=yes
20910fi
20911if test -z "$ac_cpp_err"; then
20912 ac_header_preproc=yes
20913else
20914 echo "$as_me: failed program was:" >&5
20915sed 's/^/| /' conftest.$ac_ext >&5
20916
20917 ac_header_preproc=no
20918fi
20919rm -f conftest.err conftest.$ac_ext
20920echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20921echo "${ECHO_T}$ac_header_preproc" >&6
20922
20923# So? What about this header?
ac1cb8d3
VS
20924case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20925 yes:no: )
a848cd7e
SC
20926 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20927echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
20928 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20929echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20930 ac_header_preproc=yes
a848cd7e 20931 ;;
ac1cb8d3 20932 no:yes:* )
a848cd7e
SC
20933 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20934echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
20935 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20936echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20937 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20938echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20939 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20940echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
20941 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20942echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
20943 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20944echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
20945 (
20946 cat <<\_ASBOX
ac1cb8d3
VS
20947## ----------------------------------------- ##
20948## Report this to wx-dev@lists.wxwidgets.org ##
20949## ----------------------------------------- ##
a848cd7e
SC
20950_ASBOX
20951 ) |
20952 sed "s/^/$as_me: WARNING: /" >&2
20953 ;;
20954esac
20955echo "$as_me:$LINENO: checking for zlib.h" >&5
20956echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20957if test "${ac_cv_header_zlib_h+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20959else
20960 ac_cv_header_zlib_h=$ac_header_preproc
20961fi
20962echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20963echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20964
20965fi
20966
20967
20968
20969 system_zlib_h_ok=$ac_cv_header_zlib_h
20970 fi
20971
20972 if test "$system_zlib_h_ok" = "yes"; then
20973 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20974echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20975if test "${ac_cv_lib_z_deflate+set}" = set; then
20976 echo $ECHO_N "(cached) $ECHO_C" >&6
20977else
20978 ac_check_lib_save_LIBS=$LIBS
20979LIBS="-lz $LIBS"
20980cat >conftest.$ac_ext <<_ACEOF
20981/* confdefs.h. */
20982_ACEOF
20983cat confdefs.h >>conftest.$ac_ext
20984cat >>conftest.$ac_ext <<_ACEOF
20985/* end confdefs.h. */
20986
20987/* Override any gcc2 internal prototype to avoid an error. */
20988#ifdef __cplusplus
20989extern "C"
20990#endif
20991/* We use char because int might match the return type of a gcc2
20992 builtin and then its argument prototype would still apply. */
20993char deflate ();
20994int
20995main ()
20996{
20997deflate ();
20998 ;
20999 return 0;
21000}
21001_ACEOF
21002rm -f conftest.$ac_objext conftest$ac_exeext
21003if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21004 (eval $ac_link) 2>conftest.er1
a848cd7e 21005 ac_status=$?
ac1cb8d3
VS
21006 grep -v '^ *+' conftest.er1 >conftest.err
21007 rm -f conftest.er1
21008 cat conftest.err >&5
a848cd7e
SC
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } &&
fc480dc1
DE
21011 { ac_try='test -z "$ac_c_werror_flag"
21012 || test ! -s conftest.err'
ac1cb8d3
VS
21013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21014 (eval $ac_try) 2>&5
21015 ac_status=$?
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; } &&
21018 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21021 ac_status=$?
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; }; then
21024 ac_cv_lib_z_deflate=yes
21025else
21026 echo "$as_me: failed program was:" >&5
21027sed 's/^/| /' conftest.$ac_ext >&5
21028
21029ac_cv_lib_z_deflate=no
21030fi
ac1cb8d3
VS
21031rm -f conftest.err conftest.$ac_objext \
21032 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21033LIBS=$ac_check_lib_save_LIBS
21034fi
21035echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21036echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21037if test $ac_cv_lib_z_deflate = yes; then
21038 ZLIB_LINK=" -lz"
21039fi
21040
21041 fi
21042
21043 if test "x$ZLIB_LINK" = "x" ; then
21044 if test "$wxUSE_ZLIB" = "sys" ; then
21045 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21046echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21047 { (exit 1); exit 1; }; }
21048 else
21049 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21050echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21051 wxUSE_ZLIB=builtin
21052 fi
21053 else
21054 wxUSE_ZLIB=sys
21055 fi
21056 fi
21057fi
21058
21059
21060PNG_LINK=
21061if test "$wxUSE_LIBPNG" != "no" ; then
21062 cat >>confdefs.h <<\_ACEOF
21063#define wxUSE_LIBPNG 1
21064_ACEOF
21065
21066
21067 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21068 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21069echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21070 wxUSE_LIBPNG=sys
21071 fi
21072
21073 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21074 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21075echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21076 wxUSE_LIBPNG=builtin
21077 fi
21078
21079 if test "$wxUSE_MGL" != 1 ; then
21080 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21081 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21082echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21083if test "${ac_cv_header_png_h+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21085else
21086 if test "$cross_compiling" = yes; then
21087 unset ac_cv_header_png_h
21088
21089else
21090 cat >conftest.$ac_ext <<_ACEOF
21091/* confdefs.h. */
21092_ACEOF
21093cat confdefs.h >>conftest.$ac_ext
21094cat >>conftest.$ac_ext <<_ACEOF
21095/* end confdefs.h. */
21096
21097 #include <png.h>
21098 #include <stdio.h>
21099
21100 int main()
21101 {
21102 FILE *f=fopen("conftestval", "w");
21103 if (!f) exit(1);
21104 fprintf(f, "%s",
21105 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21106 exit(0);
21107 }
21108
21109_ACEOF
21110rm -f conftest$ac_exeext
21111if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21112 (eval $ac_link) 2>&5
21113 ac_status=$?
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117 (eval $ac_try) 2>&5
21118 ac_status=$?
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 ac_cv_header_png_h=`cat conftestval`
21122else
21123 echo "$as_me: program exited with status $ac_status" >&5
21124echo "$as_me: failed program was:" >&5
21125sed 's/^/| /' conftest.$ac_ext >&5
21126
21127( exit $ac_status )
21128ac_cv_header_png_h=no
21129fi
ac1cb8d3 21130rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21131fi
21132
21133fi
21134echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21135echo "${ECHO_T}$ac_cv_header_png_h" >&6
21136 if test "${ac_cv_header_png_h+set}" = set; then
21137 echo "$as_me:$LINENO: checking for png.h" >&5
21138echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21139if test "${ac_cv_header_png_h+set}" = set; then
21140 echo $ECHO_N "(cached) $ECHO_C" >&6
21141fi
21142echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21143echo "${ECHO_T}$ac_cv_header_png_h" >&6
21144else
21145 # Is the header compilable?
21146echo "$as_me:$LINENO: checking png.h usability" >&5
21147echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21148cat >conftest.$ac_ext <<_ACEOF
21149/* confdefs.h. */
21150_ACEOF
21151cat confdefs.h >>conftest.$ac_ext
21152cat >>conftest.$ac_ext <<_ACEOF
21153/* end confdefs.h. */
21154$ac_includes_default
21155#include <png.h>
21156_ACEOF
21157rm -f conftest.$ac_objext
21158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21159 (eval $ac_compile) 2>conftest.er1
a848cd7e 21160 ac_status=$?
ac1cb8d3
VS
21161 grep -v '^ *+' conftest.er1 >conftest.err
21162 rm -f conftest.er1
21163 cat conftest.err >&5
a848cd7e
SC
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } &&
fc480dc1
DE
21166 { ac_try='test -z "$ac_c_werror_flag"
21167 || test ! -s conftest.err'
ac1cb8d3
VS
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21170 ac_status=$?
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21176 ac_status=$?
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_header_compiler=yes
21180else
21181 echo "$as_me: failed program was:" >&5
21182sed 's/^/| /' conftest.$ac_ext >&5
21183
21184ac_header_compiler=no
21185fi
ac1cb8d3 21186rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21187echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21188echo "${ECHO_T}$ac_header_compiler" >&6
21189
21190# Is the header present?
21191echo "$as_me:$LINENO: checking png.h presence" >&5
21192echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21193cat >conftest.$ac_ext <<_ACEOF
21194/* confdefs.h. */
21195_ACEOF
21196cat confdefs.h >>conftest.$ac_ext
21197cat >>conftest.$ac_ext <<_ACEOF
21198/* end confdefs.h. */
21199#include <png.h>
21200_ACEOF
21201if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21203 ac_status=$?
21204 grep -v '^ *+' conftest.er1 >conftest.err
21205 rm -f conftest.er1
21206 cat conftest.err >&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } >/dev/null; then
21209 if test -s conftest.err; then
21210 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 21211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
21212 else
21213 ac_cpp_err=
21214 fi
21215else
21216 ac_cpp_err=yes
21217fi
21218if test -z "$ac_cpp_err"; then
21219 ac_header_preproc=yes
21220else
21221 echo "$as_me: failed program was:" >&5
21222sed 's/^/| /' conftest.$ac_ext >&5
21223
21224 ac_header_preproc=no
21225fi
21226rm -f conftest.err conftest.$ac_ext
21227echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21228echo "${ECHO_T}$ac_header_preproc" >&6
21229
21230# So? What about this header?
ac1cb8d3
VS
21231case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21232 yes:no: )
a848cd7e
SC
21233 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21234echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
21235 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21236echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21237 ac_header_preproc=yes
a848cd7e 21238 ;;
ac1cb8d3 21239 no:yes:* )
a848cd7e
SC
21240 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21241echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
21242 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21243echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21244 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21245echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21246 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21247echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
21248 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21249echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
21250 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21251echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
21252 (
21253 cat <<\_ASBOX
ac1cb8d3
VS
21254## ----------------------------------------- ##
21255## Report this to wx-dev@lists.wxwidgets.org ##
21256## ----------------------------------------- ##
a848cd7e
SC
21257_ASBOX
21258 ) |
21259 sed "s/^/$as_me: WARNING: /" >&2
21260 ;;
21261esac
21262echo "$as_me:$LINENO: checking for png.h" >&5
21263echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21264if test "${ac_cv_header_png_h+set}" = set; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21266else
21267 ac_cv_header_png_h=$ac_header_preproc
21268fi
21269echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21270echo "${ECHO_T}$ac_cv_header_png_h" >&6
21271
21272fi
21273
21274
21275
21276 if test "$ac_cv_header_png_h" = "yes"; then
21277 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21278echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21279if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21281else
21282 ac_check_lib_save_LIBS=$LIBS
21283LIBS="-lpng -lz -lm $LIBS"
21284cat >conftest.$ac_ext <<_ACEOF
21285/* confdefs.h. */
21286_ACEOF
21287cat confdefs.h >>conftest.$ac_ext
21288cat >>conftest.$ac_ext <<_ACEOF
21289/* end confdefs.h. */
21290
21291/* Override any gcc2 internal prototype to avoid an error. */
21292#ifdef __cplusplus
21293extern "C"
21294#endif
21295/* We use char because int might match the return type of a gcc2
21296 builtin and then its argument prototype would still apply. */
21297char png_check_sig ();
21298int
21299main ()
21300{
21301png_check_sig ();
21302 ;
21303 return 0;
21304}
21305_ACEOF
21306rm -f conftest.$ac_objext conftest$ac_exeext
21307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21308 (eval $ac_link) 2>conftest.er1
a848cd7e 21309 ac_status=$?
ac1cb8d3
VS
21310 grep -v '^ *+' conftest.er1 >conftest.err
21311 rm -f conftest.er1
21312 cat conftest.err >&5
a848cd7e
SC
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); } &&
fc480dc1
DE
21315 { ac_try='test -z "$ac_c_werror_flag"
21316 || test ! -s conftest.err'
ac1cb8d3
VS
21317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21318 (eval $ac_try) 2>&5
21319 ac_status=$?
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); }; } &&
21322 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21325 ac_status=$?
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; }; then
21328 ac_cv_lib_png_png_check_sig=yes
21329else
21330 echo "$as_me: failed program was:" >&5
21331sed 's/^/| /' conftest.$ac_ext >&5
21332
21333ac_cv_lib_png_png_check_sig=no
21334fi
ac1cb8d3
VS
21335rm -f conftest.err conftest.$ac_objext \
21336 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21337LIBS=$ac_check_lib_save_LIBS
21338fi
21339echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21340echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21341if test $ac_cv_lib_png_png_check_sig = yes; then
21342 PNG_LINK=" -lpng -lz"
21343fi
21344
21345 fi
21346
21347 if test "x$PNG_LINK" = "x" ; then
21348 if test "$wxUSE_LIBPNG" = "sys" ; then
21349 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21350echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21351 { (exit 1); exit 1; }; }
21352 else
21353 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21354echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21355 wxUSE_LIBPNG=builtin
21356 fi
21357 else
21358 wxUSE_LIBPNG=sys
21359 fi
21360 fi
21361 fi
21362
21363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21364fi
21365
21366
21367JPEG_LINK=
21368if test "$wxUSE_LIBJPEG" != "no" ; then
21369 cat >>confdefs.h <<\_ACEOF
21370#define wxUSE_LIBJPEG 1
21371_ACEOF
21372
21373
21374 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21375 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21376echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21377 wxUSE_LIBJPEG=sys
21378 fi
21379
21380 if test "$wxUSE_MGL" != 1 ; then
21381 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21382 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21383echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21384 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21386else
21387 cat >conftest.$ac_ext <<_ACEOF
21388/* confdefs.h. */
21389_ACEOF
21390cat confdefs.h >>conftest.$ac_ext
21391cat >>conftest.$ac_ext <<_ACEOF
21392/* end confdefs.h. */
21393
21394 #undef HAVE_STDLIB_H
21395 #include <stdio.h>
21396 #include <jpeglib.h>
21397
21398int
21399main ()
21400{
21401
21402
21403 ;
21404 return 0;
21405}
21406_ACEOF
21407rm -f conftest.$ac_objext
21408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21409 (eval $ac_compile) 2>conftest.er1
a848cd7e 21410 ac_status=$?
ac1cb8d3
VS
21411 grep -v '^ *+' conftest.er1 >conftest.err
21412 rm -f conftest.er1
21413 cat conftest.err >&5
a848cd7e
SC
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } &&
fc480dc1
DE
21416 { ac_try='test -z "$ac_c_werror_flag"
21417 || test ! -s conftest.err'
ac1cb8d3
VS
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21420 ac_status=$?
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; } &&
21423 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_cv_header_jpeglib_h=yes
21430else
21431 echo "$as_me: failed program was:" >&5
21432sed 's/^/| /' conftest.$ac_ext >&5
21433
21434ac_cv_header_jpeglib_h=no
21435
21436fi
ac1cb8d3 21437rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21438
21439fi
21440
21441 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21442echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21443
21444 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21445 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21446echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21447if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21449else
21450 ac_check_lib_save_LIBS=$LIBS
21451LIBS="-ljpeg $LIBS"
21452cat >conftest.$ac_ext <<_ACEOF
21453/* confdefs.h. */
21454_ACEOF
21455cat confdefs.h >>conftest.$ac_ext
21456cat >>conftest.$ac_ext <<_ACEOF
21457/* end confdefs.h. */
21458
21459/* Override any gcc2 internal prototype to avoid an error. */
21460#ifdef __cplusplus
21461extern "C"
21462#endif
21463/* We use char because int might match the return type of a gcc2
21464 builtin and then its argument prototype would still apply. */
21465char jpeg_read_header ();
21466int
21467main ()
21468{
21469jpeg_read_header ();
21470 ;
21471 return 0;
21472}
21473_ACEOF
21474rm -f conftest.$ac_objext conftest$ac_exeext
21475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21476 (eval $ac_link) 2>conftest.er1
a848cd7e 21477 ac_status=$?
ac1cb8d3
VS
21478 grep -v '^ *+' conftest.er1 >conftest.err
21479 rm -f conftest.er1
21480 cat conftest.err >&5
a848cd7e
SC
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } &&
fc480dc1
DE
21483 { ac_try='test -z "$ac_c_werror_flag"
21484 || test ! -s conftest.err'
ac1cb8d3
VS
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21493 ac_status=$?
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_cv_lib_jpeg_jpeg_read_header=yes
21497else
21498 echo "$as_me: failed program was:" >&5
21499sed 's/^/| /' conftest.$ac_ext >&5
21500
21501ac_cv_lib_jpeg_jpeg_read_header=no
21502fi
ac1cb8d3
VS
21503rm -f conftest.err conftest.$ac_objext \
21504 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21505LIBS=$ac_check_lib_save_LIBS
21506fi
21507echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21508echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21509if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21510 JPEG_LINK=" -ljpeg"
21511fi
21512
21513 fi
21514
21515 if test "x$JPEG_LINK" = "x" ; then
21516 if test "$wxUSE_LIBJPEG" = "sys" ; then
21517 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21518echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21519 { (exit 1); exit 1; }; }
21520 else
21521 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21522echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21523 wxUSE_LIBJPEG=builtin
21524 fi
21525 else
21526 wxUSE_LIBJPEG=sys
21527 fi
21528 fi
21529 fi
21530fi
21531
21532
21533TIFF_LINK=
21534TIFF_PREREQ_LINKS=-lm
21535if test "$wxUSE_LIBTIFF" != "no" ; then
21536 cat >>confdefs.h <<\_ACEOF
21537#define wxUSE_LIBTIFF 1
21538_ACEOF
21539
21540
21541 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21542 if test "$wxUSE_LIBJPEG" = "sys"; then
21543 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21544 fi
21545 if test "$wxUSE_ZLIB" = "sys"; then
21546 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21547 fi
21548 if test "${ac_cv_header_tiffio_h+set}" = set; then
21549 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21550echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21551if test "${ac_cv_header_tiffio_h+set}" = set; then
21552 echo $ECHO_N "(cached) $ECHO_C" >&6
21553fi
21554echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21555echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21556else
21557 # Is the header compilable?
21558echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21559echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21560cat >conftest.$ac_ext <<_ACEOF
21561/* confdefs.h. */
21562_ACEOF
21563cat confdefs.h >>conftest.$ac_ext
21564cat >>conftest.$ac_ext <<_ACEOF
21565/* end confdefs.h. */
21566$ac_includes_default
21567#include <tiffio.h>
21568_ACEOF
21569rm -f conftest.$ac_objext
21570if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21571 (eval $ac_compile) 2>conftest.er1
a848cd7e 21572 ac_status=$?
ac1cb8d3
VS
21573 grep -v '^ *+' conftest.er1 >conftest.err
21574 rm -f conftest.er1
21575 cat conftest.err >&5
a848cd7e
SC
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } &&
fc480dc1
DE
21578 { ac_try='test -z "$ac_c_werror_flag"
21579 || test ! -s conftest.err'
ac1cb8d3
VS
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21582 ac_status=$?
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; } &&
21585 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587 (eval $ac_try) 2>&5
21588 ac_status=$?
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); }; }; then
21591 ac_header_compiler=yes
21592else
21593 echo "$as_me: failed program was:" >&5
21594sed 's/^/| /' conftest.$ac_ext >&5
21595
21596ac_header_compiler=no
21597fi
ac1cb8d3 21598rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21599echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21600echo "${ECHO_T}$ac_header_compiler" >&6
21601
21602# Is the header present?
21603echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21604echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21605cat >conftest.$ac_ext <<_ACEOF
21606/* confdefs.h. */
21607_ACEOF
21608cat confdefs.h >>conftest.$ac_ext
21609cat >>conftest.$ac_ext <<_ACEOF
21610/* end confdefs.h. */
21611#include <tiffio.h>
21612_ACEOF
21613if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21614 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21615 ac_status=$?
21616 grep -v '^ *+' conftest.er1 >conftest.err
21617 rm -f conftest.er1
21618 cat conftest.err >&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } >/dev/null; then
21621 if test -s conftest.err; then
21622 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 21623 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
21624 else
21625 ac_cpp_err=
21626 fi
21627else
21628 ac_cpp_err=yes
21629fi
21630if test -z "$ac_cpp_err"; then
21631 ac_header_preproc=yes
21632else
21633 echo "$as_me: failed program was:" >&5
21634sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 ac_header_preproc=no
21637fi
21638rm -f conftest.err conftest.$ac_ext
21639echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21640echo "${ECHO_T}$ac_header_preproc" >&6
21641
21642# So? What about this header?
ac1cb8d3
VS
21643case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21644 yes:no: )
a848cd7e
SC
21645 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21646echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
21647 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21648echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21649 ac_header_preproc=yes
a848cd7e 21650 ;;
ac1cb8d3 21651 no:yes:* )
a848cd7e
SC
21652 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21653echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
21654 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21655echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21656 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21657echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21658 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21659echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
21660 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21661echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
21662 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21663echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
21664 (
21665 cat <<\_ASBOX
ac1cb8d3
VS
21666## ----------------------------------------- ##
21667## Report this to wx-dev@lists.wxwidgets.org ##
21668## ----------------------------------------- ##
a848cd7e
SC
21669_ASBOX
21670 ) |
21671 sed "s/^/$as_me: WARNING: /" >&2
21672 ;;
21673esac
21674echo "$as_me:$LINENO: checking for tiffio.h" >&5
21675echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21676if test "${ac_cv_header_tiffio_h+set}" = set; then
21677 echo $ECHO_N "(cached) $ECHO_C" >&6
21678else
21679 ac_cv_header_tiffio_h=$ac_header_preproc
21680fi
21681echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21682echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21683
21684fi
21685if test $ac_cv_header_tiffio_h = yes; then
21686
21687 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21688echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21689if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21691else
21692 ac_check_lib_save_LIBS=$LIBS
21693LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21694cat >conftest.$ac_ext <<_ACEOF
21695/* confdefs.h. */
21696_ACEOF
21697cat confdefs.h >>conftest.$ac_ext
21698cat >>conftest.$ac_ext <<_ACEOF
21699/* end confdefs.h. */
21700
21701/* Override any gcc2 internal prototype to avoid an error. */
21702#ifdef __cplusplus
21703extern "C"
21704#endif
21705/* We use char because int might match the return type of a gcc2
21706 builtin and then its argument prototype would still apply. */
21707char TIFFError ();
21708int
21709main ()
21710{
21711TIFFError ();
21712 ;
21713 return 0;
21714}
21715_ACEOF
21716rm -f conftest.$ac_objext conftest$ac_exeext
21717if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21718 (eval $ac_link) 2>conftest.er1
a848cd7e 21719 ac_status=$?
ac1cb8d3
VS
21720 grep -v '^ *+' conftest.er1 >conftest.err
21721 rm -f conftest.er1
21722 cat conftest.err >&5
a848cd7e
SC
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
fc480dc1
DE
21725 { ac_try='test -z "$ac_c_werror_flag"
21726 || test ! -s conftest.err'
ac1cb8d3
VS
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21729 ac_status=$?
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; } &&
21732 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21735 ac_status=$?
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 ac_cv_lib_tiff_TIFFError=yes
21739else
21740 echo "$as_me: failed program was:" >&5
21741sed 's/^/| /' conftest.$ac_ext >&5
21742
21743ac_cv_lib_tiff_TIFFError=no
21744fi
ac1cb8d3
VS
21745rm -f conftest.err conftest.$ac_objext \
21746 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21747LIBS=$ac_check_lib_save_LIBS
21748fi
21749echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21750echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21751if test $ac_cv_lib_tiff_TIFFError = yes; then
21752 TIFF_LINK=" -ltiff"
21753fi
21754
21755
21756
21757fi
21758
21759
21760
21761 if test "x$TIFF_LINK" = "x" ; then
21762 if test "$wxUSE_LIBTIFF" = "sys" ; then
21763 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21764echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21765 { (exit 1); exit 1; }; }
21766 else
21767 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21768echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21769 wxUSE_LIBTIFF=builtin
21770 fi
21771 else
21772 wxUSE_LIBTIFF=sys
21773 fi
21774 fi
21775fi
21776
21777
21778if test "$wxUSE_EXPAT" != "no"; then
21779 wxUSE_XML=yes
21780 cat >>confdefs.h <<\_ACEOF
21781#define wxUSE_EXPAT 1
21782_ACEOF
21783
21784 cat >>confdefs.h <<\_ACEOF
21785#define wxUSE_XML 1
21786_ACEOF
21787
21788
21789 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21790 if test "${ac_cv_header_expat_h+set}" = set; then
21791 echo "$as_me:$LINENO: checking for expat.h" >&5
21792echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21793if test "${ac_cv_header_expat_h+set}" = set; then
21794 echo $ECHO_N "(cached) $ECHO_C" >&6
21795fi
21796echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21797echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21798else
21799 # Is the header compilable?
21800echo "$as_me:$LINENO: checking expat.h usability" >&5
21801echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21802cat >conftest.$ac_ext <<_ACEOF
21803/* confdefs.h. */
21804_ACEOF
21805cat confdefs.h >>conftest.$ac_ext
21806cat >>conftest.$ac_ext <<_ACEOF
21807/* end confdefs.h. */
21808$ac_includes_default
21809#include <expat.h>
21810_ACEOF
21811rm -f conftest.$ac_objext
21812if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21813 (eval $ac_compile) 2>conftest.er1
a848cd7e 21814 ac_status=$?
ac1cb8d3
VS
21815 grep -v '^ *+' conftest.er1 >conftest.err
21816 rm -f conftest.er1
21817 cat conftest.err >&5
a848cd7e
SC
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
fc480dc1
DE
21820 { ac_try='test -z "$ac_c_werror_flag"
21821 || test ! -s conftest.err'
ac1cb8d3
VS
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21824 ac_status=$?
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21830 ac_status=$?
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 ac_header_compiler=yes
21834else
21835 echo "$as_me: failed program was:" >&5
21836sed 's/^/| /' conftest.$ac_ext >&5
21837
21838ac_header_compiler=no
21839fi
ac1cb8d3 21840rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21841echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21842echo "${ECHO_T}$ac_header_compiler" >&6
21843
21844# Is the header present?
21845echo "$as_me:$LINENO: checking expat.h presence" >&5
21846echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21847cat >conftest.$ac_ext <<_ACEOF
21848/* confdefs.h. */
21849_ACEOF
21850cat confdefs.h >>conftest.$ac_ext
21851cat >>conftest.$ac_ext <<_ACEOF
21852/* end confdefs.h. */
21853#include <expat.h>
21854_ACEOF
21855if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21857 ac_status=$?
21858 grep -v '^ *+' conftest.er1 >conftest.err
21859 rm -f conftest.er1
21860 cat conftest.err >&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } >/dev/null; then
21863 if test -s conftest.err; then
21864 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 21865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
21866 else
21867 ac_cpp_err=
21868 fi
21869else
21870 ac_cpp_err=yes
21871fi
21872if test -z "$ac_cpp_err"; then
21873 ac_header_preproc=yes
21874else
21875 echo "$as_me: failed program was:" >&5
21876sed 's/^/| /' conftest.$ac_ext >&5
21877
21878 ac_header_preproc=no
21879fi
21880rm -f conftest.err conftest.$ac_ext
21881echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21882echo "${ECHO_T}$ac_header_preproc" >&6
21883
21884# So? What about this header?
ac1cb8d3
VS
21885case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21886 yes:no: )
a848cd7e
SC
21887 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21888echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
21889 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21890echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21891 ac_header_preproc=yes
a848cd7e 21892 ;;
ac1cb8d3 21893 no:yes:* )
a848cd7e
SC
21894 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21895echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
21896 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21897echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21898 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21899echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21901echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
21902 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21903echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
21904 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21905echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
21906 (
21907 cat <<\_ASBOX
ac1cb8d3
VS
21908## ----------------------------------------- ##
21909## Report this to wx-dev@lists.wxwidgets.org ##
21910## ----------------------------------------- ##
a848cd7e
SC
21911_ASBOX
21912 ) |
21913 sed "s/^/$as_me: WARNING: /" >&2
21914 ;;
21915esac
21916echo "$as_me:$LINENO: checking for expat.h" >&5
21917echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21918if test "${ac_cv_header_expat_h+set}" = set; then
21919 echo $ECHO_N "(cached) $ECHO_C" >&6
21920else
21921 ac_cv_header_expat_h=$ac_header_preproc
21922fi
21923echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21924echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21925
21926fi
21927if test $ac_cv_header_expat_h = yes; then
21928 found_expat_h=1
21929fi
21930
21931
21932 if test "x$found_expat_h" = "x1"; then
21933 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21934echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21935if test "${wx_cv_expat_is_not_broken+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21937else
21938
21939
21940
21941 ac_ext=cc
21942ac_cpp='$CXXCPP $CPPFLAGS'
21943ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21946
21947 cat >conftest.$ac_ext <<_ACEOF
21948/* confdefs.h. */
21949_ACEOF
21950cat confdefs.h >>conftest.$ac_ext
21951cat >>conftest.$ac_ext <<_ACEOF
21952/* end confdefs.h. */
21953#include <expat.h>
21954int
21955main ()
21956{
21957
21958 ;
21959 return 0;
21960}
21961_ACEOF
21962rm -f conftest.$ac_objext
21963if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21964 (eval $ac_compile) 2>conftest.er1
a848cd7e 21965 ac_status=$?
ac1cb8d3
VS
21966 grep -v '^ *+' conftest.er1 >conftest.err
21967 rm -f conftest.er1
21968 cat conftest.err >&5
a848cd7e
SC
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } &&
fc480dc1
DE
21971 { ac_try='test -z "$ac_cxx_werror_flag"
21972 || test ! -s conftest.err'
ac1cb8d3
VS
21973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974 (eval $ac_try) 2>&5
21975 ac_status=$?
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); }; } &&
21978 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21981 ac_status=$?
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 wx_cv_expat_is_not_broken=yes
21985else
21986 echo "$as_me: failed program was:" >&5
21987sed 's/^/| /' conftest.$ac_ext >&5
21988
21989wx_cv_expat_is_not_broken=no
21990
21991fi
ac1cb8d3 21992rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21993 ac_ext=c
21994ac_cpp='$CPP $CPPFLAGS'
21995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21997ac_compiler_gnu=$ac_cv_c_compiler_gnu
21998
21999
22000
22001fi
22002echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22003echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22004 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22005 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22006echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22007if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22008 echo $ECHO_N "(cached) $ECHO_C" >&6
22009else
22010 ac_check_lib_save_LIBS=$LIBS
22011LIBS="-lexpat $LIBS"
22012cat >conftest.$ac_ext <<_ACEOF
22013/* confdefs.h. */
22014_ACEOF
22015cat confdefs.h >>conftest.$ac_ext
22016cat >>conftest.$ac_ext <<_ACEOF
22017/* end confdefs.h. */
22018
22019/* Override any gcc2 internal prototype to avoid an error. */
22020#ifdef __cplusplus
22021extern "C"
22022#endif
22023/* We use char because int might match the return type of a gcc2
22024 builtin and then its argument prototype would still apply. */
22025char XML_ParserCreate ();
22026int
22027main ()
22028{
22029XML_ParserCreate ();
22030 ;
22031 return 0;
22032}
22033_ACEOF
22034rm -f conftest.$ac_objext conftest$ac_exeext
22035if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 22036 (eval $ac_link) 2>conftest.er1
a848cd7e 22037 ac_status=$?
ac1cb8d3
VS
22038 grep -v '^ *+' conftest.er1 >conftest.err
22039 rm -f conftest.er1
22040 cat conftest.err >&5
a848cd7e
SC
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } &&
fc480dc1
DE
22043 { ac_try='test -z "$ac_c_werror_flag"
22044 || test ! -s conftest.err'
ac1cb8d3
VS
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; } &&
22050 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22053 ac_status=$?
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; }; then
22056 ac_cv_lib_expat_XML_ParserCreate=yes
22057else
22058 echo "$as_me: failed program was:" >&5
22059sed 's/^/| /' conftest.$ac_ext >&5
22060
22061ac_cv_lib_expat_XML_ParserCreate=no
22062fi
ac1cb8d3
VS
22063rm -f conftest.err conftest.$ac_objext \
22064 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
22065LIBS=$ac_check_lib_save_LIBS
22066fi
22067echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22068echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22069if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22070 EXPAT_LINK=" -lexpat"
22071fi
22072
22073 fi
22074 fi
22075 if test "x$EXPAT_LINK" = "x" ; then
22076 if test "$wxUSE_EXPAT" = "sys" ; then
22077 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22078echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22079 { (exit 1); exit 1; }; }
22080 else
22081 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22082echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22083 wxUSE_EXPAT=builtin
22084 fi
22085 else
22086 wxUSE_EXPAT=sys
22087 fi
22088 fi
22089 if test "$wxUSE_EXPAT" = "builtin" ; then
22090
22091
22092subdirs="$subdirs src/expat"
22093
22094 fi
22095fi
22096
22097
22098
22099if test "$wxUSE_LIBMSPACK" != "no"; then
22100
22101 if test "${ac_cv_header_mspack_h+set}" = set; then
22102 echo "$as_me:$LINENO: checking for mspack.h" >&5
22103echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22104if test "${ac_cv_header_mspack_h+set}" = set; then
22105 echo $ECHO_N "(cached) $ECHO_C" >&6
22106fi
22107echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22108echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22109else
22110 # Is the header compilable?
22111echo "$as_me:$LINENO: checking mspack.h usability" >&5
22112echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22113cat >conftest.$ac_ext <<_ACEOF
22114/* confdefs.h. */
22115_ACEOF
22116cat confdefs.h >>conftest.$ac_ext
22117cat >>conftest.$ac_ext <<_ACEOF
22118/* end confdefs.h. */
22119$ac_includes_default
22120#include <mspack.h>
22121_ACEOF
22122rm -f conftest.$ac_objext
22123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 22124 (eval $ac_compile) 2>conftest.er1
a848cd7e 22125 ac_status=$?
ac1cb8d3
VS
22126 grep -v '^ *+' conftest.er1 >conftest.err
22127 rm -f conftest.er1
22128 cat conftest.err >&5
a848cd7e
SC
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } &&
fc480dc1
DE
22131 { ac_try='test -z "$ac_c_werror_flag"
22132 || test ! -s conftest.err'
ac1cb8d3
VS
22133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134 (eval $ac_try) 2>&5
22135 ac_status=$?
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; } &&
22138 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
22139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22140 (eval $ac_try) 2>&5
22141 ac_status=$?
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; }; then
22144 ac_header_compiler=yes
22145else
22146 echo "$as_me: failed program was:" >&5
22147sed 's/^/| /' conftest.$ac_ext >&5
22148
22149ac_header_compiler=no
22150fi
ac1cb8d3 22151rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
22152echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22153echo "${ECHO_T}$ac_header_compiler" >&6
22154
22155# Is the header present?
22156echo "$as_me:$LINENO: checking mspack.h presence" >&5
22157echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22158cat >conftest.$ac_ext <<_ACEOF
22159/* confdefs.h. */
22160_ACEOF
22161cat confdefs.h >>conftest.$ac_ext
22162cat >>conftest.$ac_ext <<_ACEOF
22163/* end confdefs.h. */
22164#include <mspack.h>
22165_ACEOF
22166if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22168 ac_status=$?
22169 grep -v '^ *+' conftest.er1 >conftest.err
22170 rm -f conftest.er1
22171 cat conftest.err >&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } >/dev/null; then
22174 if test -s conftest.err; then
22175 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 22176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
22177 else
22178 ac_cpp_err=
22179 fi
22180else
22181 ac_cpp_err=yes
22182fi
22183if test -z "$ac_cpp_err"; then
22184 ac_header_preproc=yes
22185else
22186 echo "$as_me: failed program was:" >&5
22187sed 's/^/| /' conftest.$ac_ext >&5
22188
22189 ac_header_preproc=no
22190fi
22191rm -f conftest.err conftest.$ac_ext
22192echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22193echo "${ECHO_T}$ac_header_preproc" >&6
22194
22195# So? What about this header?
ac1cb8d3
VS
22196case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22197 yes:no: )
a848cd7e
SC
22198 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22199echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
22200 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22201echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22202 ac_header_preproc=yes
a848cd7e 22203 ;;
ac1cb8d3 22204 no:yes:* )
a848cd7e
SC
22205 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22206echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
22207 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22208echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22209 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22210echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22211 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22212echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
22213 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22214echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
22215 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22216echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
22217 (
22218 cat <<\_ASBOX
ac1cb8d3
VS
22219## ----------------------------------------- ##
22220## Report this to wx-dev@lists.wxwidgets.org ##
22221## ----------------------------------------- ##
a848cd7e
SC
22222_ASBOX
22223 ) |
22224 sed "s/^/$as_me: WARNING: /" >&2
22225 ;;
22226esac
22227echo "$as_me:$LINENO: checking for mspack.h" >&5
22228echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22229if test "${ac_cv_header_mspack_h+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22231else
22232 ac_cv_header_mspack_h=$ac_header_preproc
22233fi
22234echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22235echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22236
22237fi
22238if test $ac_cv_header_mspack_h = yes; then
22239 found_mspack_h=1
22240fi
22241
22242
22243 if test "x$found_mspack_h" = "x1"; then
22244 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22245echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22246if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22248else
22249 ac_check_lib_save_LIBS=$LIBS
22250LIBS="-lmspack $LIBS"
22251cat >conftest.$ac_ext <<_ACEOF
22252/* confdefs.h. */
22253_ACEOF
22254cat confdefs.h >>conftest.$ac_ext
22255cat >>conftest.$ac_ext <<_ACEOF
22256/* end confdefs.h. */
22257
22258/* Override any gcc2 internal prototype to avoid an error. */
22259#ifdef __cplusplus
22260extern "C"
22261#endif
22262/* We use char because int might match the return type of a gcc2
22263 builtin and then its argument prototype would still apply. */
22264char mspack_create_chm_decompressor ();
22265int
22266main ()
22267{
22268mspack_create_chm_decompressor ();
22269 ;
22270 return 0;
22271}
22272_ACEOF
22273rm -f conftest.$ac_objext conftest$ac_exeext
22274if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 22275 (eval $ac_link) 2>conftest.er1
a848cd7e 22276 ac_status=$?
ac1cb8d3
VS
22277 grep -v '^ *+' conftest.er1 >conftest.err
22278 rm -f conftest.er1
22279 cat conftest.err >&5
a848cd7e
SC
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } &&
fc480dc1
DE
22282 { ac_try='test -z "$ac_c_werror_flag"
22283 || test ! -s conftest.err'
ac1cb8d3
VS
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22286 ac_status=$?
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; } &&
22289 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22295 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22296else
22297 echo "$as_me: failed program was:" >&5
22298sed 's/^/| /' conftest.$ac_ext >&5
22299
22300ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22301fi
ac1cb8d3
VS
22302rm -f conftest.err conftest.$ac_objext \
22303 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
22304LIBS=$ac_check_lib_save_LIBS
22305fi
22306echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22307echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22308if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22309 MSPACK_LINK=" -lmspack"
22310fi
22311
22312 fi
22313 if test "x$MSPACK_LINK" = "x" ; then
22314 wxUSE_LIBMSPACK=no
22315 else
22316 cat >>confdefs.h <<\_ACEOF
22317#define wxUSE_LIBMSPACK 1
22318_ACEOF
22319
22320 fi
22321fi
22322
22323
22324
22325AFMINSTALL=
22326WIN32INSTALL=
22327
22328TOOLKIT=
22329TOOLKIT_INCLUDE=
22330WIDGET_SET=
22331
22332if test "$USE_WIN32" = 1 ; then
22333
22334for ac_header in w32api.h
22335do
22336as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22337if eval "test \"\${$as_ac_Header+set}\" = set"; then
22338 echo "$as_me:$LINENO: checking for $ac_header" >&5
22339echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22340if eval "test \"\${$as_ac_Header+set}\" = set"; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22342fi
22343echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22344echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22345else
22346 # Is the header compilable?
22347echo "$as_me:$LINENO: checking $ac_header usability" >&5
22348echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22349cat >conftest.$ac_ext <<_ACEOF
22350/* confdefs.h. */
22351_ACEOF
22352cat confdefs.h >>conftest.$ac_ext
22353cat >>conftest.$ac_ext <<_ACEOF
22354/* end confdefs.h. */
22355$ac_includes_default
22356#include <$ac_header>
22357_ACEOF
22358rm -f conftest.$ac_objext
22359if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 22360 (eval $ac_compile) 2>conftest.er1
a848cd7e 22361 ac_status=$?
ac1cb8d3
VS
22362 grep -v '^ *+' conftest.er1 >conftest.err
22363 rm -f conftest.er1
22364 cat conftest.err >&5
a848cd7e
SC
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } &&
fc480dc1
DE
22367 { ac_try='test -z "$ac_c_werror_flag"
22368 || test ! -s conftest.err'
ac1cb8d3
VS
22369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22370 (eval $ac_try) 2>&5
22371 ac_status=$?
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); }; } &&
22374 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
22375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376 (eval $ac_try) 2>&5
22377 ac_status=$?
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); }; }; then
22380 ac_header_compiler=yes
22381else
22382 echo "$as_me: failed program was:" >&5
22383sed 's/^/| /' conftest.$ac_ext >&5
22384
22385ac_header_compiler=no
22386fi
ac1cb8d3 22387rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
22388echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22389echo "${ECHO_T}$ac_header_compiler" >&6
22390
22391# Is the header present?
22392echo "$as_me:$LINENO: checking $ac_header presence" >&5
22393echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22394cat >conftest.$ac_ext <<_ACEOF
22395/* confdefs.h. */
22396_ACEOF
22397cat confdefs.h >>conftest.$ac_ext
22398cat >>conftest.$ac_ext <<_ACEOF
22399/* end confdefs.h. */
22400#include <$ac_header>
22401_ACEOF
22402if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } >/dev/null; then
22410 if test -s conftest.err; then
22411 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 22412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
22413 else
22414 ac_cpp_err=
22415 fi
22416else
22417 ac_cpp_err=yes
22418fi
22419if test -z "$ac_cpp_err"; then
22420 ac_header_preproc=yes
22421else
22422 echo "$as_me: failed program was:" >&5
22423sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ac_header_preproc=no
22426fi
22427rm -f conftest.err conftest.$ac_ext
22428echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22429echo "${ECHO_T}$ac_header_preproc" >&6
22430
22431# So? What about this header?
ac1cb8d3
VS
22432case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22433 yes:no: )
a848cd7e
SC
22434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22435echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
22436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22437echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22438 ac_header_preproc=yes
a848cd7e 22439 ;;
ac1cb8d3 22440 no:yes:* )
a848cd7e
SC
22441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22442echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
22443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22444echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22446echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22448echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
22449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22450echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
22451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22452echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
22453 (
22454 cat <<\_ASBOX
ac1cb8d3
VS
22455## ----------------------------------------- ##
22456## Report this to wx-dev@lists.wxwidgets.org ##
22457## ----------------------------------------- ##
a848cd7e
SC
22458_ASBOX
22459 ) |
22460 sed "s/^/$as_me: WARNING: /" >&2
22461 ;;
22462esac
22463echo "$as_me:$LINENO: checking for $ac_header" >&5
22464echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22465if eval "test \"\${$as_ac_Header+set}\" = set"; then
22466 echo $ECHO_N "(cached) $ECHO_C" >&6
22467else
ac1cb8d3 22468 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
22469fi
22470echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22471echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22472
22473fi
22474if test `eval echo '${'$as_ac_Header'}'` = yes; then
22475 cat >>confdefs.h <<_ACEOF
22476#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22477_ACEOF
22478
22479fi
22480
22481done
22482
22483 if test "${ac_cv_header_windows_h+set}" = set; then
22484 echo "$as_me:$LINENO: checking for windows.h" >&5
22485echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22486if test "${ac_cv_header_windows_h+set}" = set; then
22487 echo $ECHO_N "(cached) $ECHO_C" >&6
22488fi
22489echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22490echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22491else
22492 # Is the header compilable?
22493echo "$as_me:$LINENO: checking windows.h usability" >&5
22494echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22495cat >conftest.$ac_ext <<_ACEOF
22496/* confdefs.h. */
22497_ACEOF
22498cat confdefs.h >>conftest.$ac_ext
22499cat >>conftest.$ac_ext <<_ACEOF
22500/* end confdefs.h. */
22501$ac_includes_default
22502#include <windows.h>
22503_ACEOF
22504rm -f conftest.$ac_objext
22505if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 22506 (eval $ac_compile) 2>conftest.er1
a848cd7e 22507 ac_status=$?
ac1cb8d3
VS
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
a848cd7e
SC
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
fc480dc1
DE
22513 { ac_try='test -z "$ac_c_werror_flag"
22514 || test ! -s conftest.err'
ac1cb8d3
VS
22515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22517 ac_status=$?
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); }; } &&
22520 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
22521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 (eval $ac_try) 2>&5
22523 ac_status=$?
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; }; then
22526 ac_header_compiler=yes
22527else
22528 echo "$as_me: failed program was:" >&5
22529sed 's/^/| /' conftest.$ac_ext >&5
22530
22531ac_header_compiler=no
22532fi
ac1cb8d3 22533rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
22534echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22535echo "${ECHO_T}$ac_header_compiler" >&6
22536
22537# Is the header present?
22538echo "$as_me:$LINENO: checking windows.h presence" >&5
22539echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22540cat >conftest.$ac_ext <<_ACEOF
22541/* confdefs.h. */
22542_ACEOF
22543cat confdefs.h >>conftest.$ac_ext
22544cat >>conftest.$ac_ext <<_ACEOF
22545/* end confdefs.h. */
22546#include <windows.h>
22547_ACEOF
22548if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22550 ac_status=$?
22551 grep -v '^ *+' conftest.er1 >conftest.err
22552 rm -f conftest.er1
22553 cat conftest.err >&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } >/dev/null; then
22556 if test -s conftest.err; then
22557 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 22558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
22559 else
22560 ac_cpp_err=
22561 fi
22562else
22563 ac_cpp_err=yes
22564fi
22565if test -z "$ac_cpp_err"; then
22566 ac_header_preproc=yes
22567else
22568 echo "$as_me: failed program was:" >&5
22569sed 's/^/| /' conftest.$ac_ext >&5
22570
22571 ac_header_preproc=no
22572fi
22573rm -f conftest.err conftest.$ac_ext
22574echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22575echo "${ECHO_T}$ac_header_preproc" >&6
22576
22577# So? What about this header?
ac1cb8d3
VS
22578case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22579 yes:no: )
a848cd7e
SC
22580 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22581echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
22582 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22583echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22584 ac_header_preproc=yes
a848cd7e 22585 ;;
ac1cb8d3 22586 no:yes:* )
a848cd7e
SC
22587 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22588echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
22589 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22590echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22591 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22592echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22593 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22594echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
22595 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22596echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
22597 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22598echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
22599 (
22600 cat <<\_ASBOX
ac1cb8d3
VS
22601## ----------------------------------------- ##
22602## Report this to wx-dev@lists.wxwidgets.org ##
22603## ----------------------------------------- ##
a848cd7e
SC
22604_ASBOX
22605 ) |
22606 sed "s/^/$as_me: WARNING: /" >&2
22607 ;;
22608esac
22609echo "$as_me:$LINENO: checking for windows.h" >&5
22610echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22611if test "${ac_cv_header_windows_h+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22613else
22614 ac_cv_header_windows_h=$ac_header_preproc
22615fi
22616echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22617echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22618
22619fi
22620if test $ac_cv_header_windows_h = yes; then
22621 :
22622else
22623
22624 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22625echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22626 { (exit 1); exit 1; }; }
22627
22628fi
22629
22630
22631
22632 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22633
22634 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22635 LIBS="$LIBS -loleacc"
22636 fi
22637
22638 case "${host}" in
22639 *-*-cygwin* )
22640 LIBS="$LIBS -lkernel32 -luser32"
22641 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22642 esac
22643
22644 if test "$wxUSE_ODBC" = "sys" ; then
22645 wxUSE_ODBC = "yes"
22646 fi
22647 if test "$wxUSE_ODBC" = "yes" ; then
22648 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22649 cat >>confdefs.h <<\_ACEOF
22650#define wxUSE_ODBC 1
22651_ACEOF
22652
22653 fi
22654
22655 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22656 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22657
22658 WIN32INSTALL=win32install
22659fi
22660
22661if test "$wxUSE_GUI" = "yes"; then
22662 USE_GUI=1
22663
22664 GUI_TK_LIBRARY=
22665
22666 WXGTK12=
22667 WXGTK127=
22668 WXGTK20=
22669 WXGPE=
22670
207bc66c
RN
22671 if test "$wxUSE_COCOA" = 1 ; then
22672 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22673 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22674echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22675 wxUSE_PRINTING_ARCHITECTURE=no
22676 fi
22677 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22678 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22679echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22680 wxUSE_DRAG_AND_DROP=no
22681 fi
22682 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22683 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22684echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22685 wxUSE_DRAGIMAGE=no
22686 fi
22687 fi
22688
a848cd7e
SC
22689 if test "$wxUSE_MSW" = 1 ; then
22690 TOOLKIT=MSW
22691 GUIDIST=MSW_DIST
22692
ceec2216 22693 case "${host}" in
a848cd7e
SC
22694 *-*-mingw32* )
22695 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22696 esac
22697 fi
22698
22699 if test "$wxUSE_GTK" = 1; then
22700 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22701echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22702
22703 gtk_version_cached=1
22704 if test "${wx_cv_lib_gtk+set}" = set; then
22705 echo $ECHO_N "(cached) $ECHO_C" >&6
22706else
22707
22708 gtk_version_cached=0
22709 echo "$as_me:$LINENO: result: " >&5
22710echo "${ECHO_T}" >&6
22711
22712 GTK_MODULES=
22713 if test "$wxUSE_THREADS" = "yes"; then
22714 GTK_MODULES=gthread
22715 fi
22716
22717 wx_cv_lib_gtk=
22718 if test "x$wxUSE_GTK2" = "xyes"; then
22719 # Check whether --enable-gtktest or --disable-gtktest was given.
22720if test "${enable_gtktest+set}" = set; then
22721 enableval="$enable_gtktest"
22722
22723else
22724 enable_gtktest=yes
22725fi;
22726
22727 pkg_config_args=gtk+-2.0
22728 for module in . $GTK_MODULES
22729 do
22730 case "$module" in
22731 gthread)
22732 pkg_config_args="$pkg_config_args gthread-2.0"
22733 ;;
22734 esac
22735 done
22736
22737 no_gtk=""
22738
22739 # Extract the first word of "pkg-config", so it can be a program name with args.
22740set dummy pkg-config; ac_word=$2
22741echo "$as_me:$LINENO: checking for $ac_word" >&5
22742echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22743if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22745else
22746 case $PKG_CONFIG in
22747 [\\/]* | ?:[\\/]*)
22748 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22749 ;;
22750 *)
22751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22752for as_dir in $PATH
22753do
22754 IFS=$as_save_IFS
22755 test -z "$as_dir" && as_dir=.
22756 for ac_exec_ext in '' $ac_executable_extensions; do
22757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22758 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22760 break 2
22761 fi
22762done
22763done
22764
22765 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22766 ;;
22767esac
22768fi
22769PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22770
22771if test -n "$PKG_CONFIG"; then
22772 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22773echo "${ECHO_T}$PKG_CONFIG" >&6
22774else
22775 echo "$as_me:$LINENO: result: no" >&5
22776echo "${ECHO_T}no" >&6
22777fi
22778
22779
22780 if test x$PKG_CONFIG != xno ; then
22781 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22782 :
22783 else
c2218763 22784 echo "*** pkg-config too old; version 0.7 or better required."
a848cd7e
SC
22785 no_gtk=yes
22786 PKG_CONFIG=no
22787 fi
22788 else
22789 no_gtk=yes
22790 fi
22791
22792 min_gtk_version=2.0.0
22793 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22794echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22795
22796 if test x$PKG_CONFIG != xno ; then
22797 ## don't try to run the test against uninstalled libtool libs
22798 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22799 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22800 enable_gtktest=no
22801 fi
22802
22803 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22804 :
22805 else
22806 no_gtk=yes
22807 fi
22808 fi
22809
22810 if test x"$no_gtk" = x ; then
22811 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22812 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22813 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22815 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22817 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22819 if test "x$enable_gtktest" = "xyes" ; then
22820 ac_save_CFLAGS="$CFLAGS"
22821 ac_save_LIBS="$LIBS"
22822 CFLAGS="$CFLAGS $GTK_CFLAGS"
22823 LIBS="$GTK_LIBS $LIBS"
22824 rm -f conf.gtktest
22825 if test "$cross_compiling" = yes; then
22826 echo $ac_n "cross compiling; assumed OK... $ac_c"
22827else
22828 cat >conftest.$ac_ext <<_ACEOF
22829/* confdefs.h. */
22830_ACEOF
22831cat confdefs.h >>conftest.$ac_ext
22832cat >>conftest.$ac_ext <<_ACEOF
22833/* end confdefs.h. */
22834
22835#include <gtk/gtk.h>
22836#include <stdio.h>
22837#include <stdlib.h>
22838
22839int
22840main ()
22841{
22842 int major, minor, micro;
22843 char *tmp_version;
22844
22845 system ("touch conf.gtktest");
22846
22847 /* HP/UX 9 (%@#!) writes to sscanf strings */
22848 tmp_version = g_strdup("$min_gtk_version");
22849 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22850 printf("%s, bad version string\n", "$min_gtk_version");
22851 exit(1);
22852 }
22853
22854 if ((gtk_major_version != $gtk_config_major_version) ||
22855 (gtk_minor_version != $gtk_config_minor_version) ||
22856 (gtk_micro_version != $gtk_config_micro_version))
22857 {
22858 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22859 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22860 gtk_major_version, gtk_minor_version, gtk_micro_version);
22861 printf ("*** was found! If pkg-config was correct, then it is best\n");
22862 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22863 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22864 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22865 printf("*** required on your system.\n");
22866 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22867 printf("*** to point to the correct configuration files\n");
22868 }
22869 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22870 (gtk_minor_version != GTK_MINOR_VERSION) ||
22871 (gtk_micro_version != GTK_MICRO_VERSION))
22872 {
22873 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22874 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22875 printf("*** library (version %d.%d.%d)\n",
22876 gtk_major_version, gtk_minor_version, gtk_micro_version);
22877 }
22878 else
22879 {
22880 if ((gtk_major_version > major) ||
22881 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22882 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22883 {
22884 return 0;
22885 }
22886 else
22887 {
22888 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22889 gtk_major_version, gtk_minor_version, gtk_micro_version);
22890 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22891 major, minor, micro);
22892 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22893 printf("***\n");
22894 printf("*** If you have already installed a sufficiently new version, this error\n");
22895 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22896 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22897 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22898 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22899 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22900 printf("*** so that the correct libraries are found at run-time))\n");
22901 }
22902 }
22903 return 1;
22904}
22905
22906_ACEOF
22907rm -f conftest$ac_exeext
22908if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22909 (eval $ac_link) 2>&5
22910 ac_status=$?
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22915 ac_status=$?
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 :
22919else
22920 echo "$as_me: program exited with status $ac_status" >&5
22921echo "$as_me: failed program was:" >&5
22922sed 's/^/| /' conftest.$ac_ext >&5
22923
22924( exit $ac_status )
22925no_gtk=yes
22926fi
ac1cb8d3 22927rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
22928fi
22929 CFLAGS="$ac_save_CFLAGS"
22930 LIBS="$ac_save_LIBS"
22931 fi
22932 fi
22933 if test "x$no_gtk" = x ; then
22934 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22935echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22936 wx_cv_lib_gtk=2.0
22937 else
22938 echo "$as_me:$LINENO: result: no" >&5
22939echo "${ECHO_T}no" >&6
22940 if test "$PKG_CONFIG" = "no" ; then
22941 echo "*** A new enough version of pkg-config was not found."
22942 echo "*** See http://pkgconfig.sourceforge.net"
22943 else
22944 if test -f conf.gtktest ; then
22945 :
22946 else
22947 echo "*** Could not run GTK+ test program, checking why..."
22948 ac_save_CFLAGS="$CFLAGS"
22949 ac_save_LIBS="$LIBS"
22950 CFLAGS="$CFLAGS $GTK_CFLAGS"
22951 LIBS="$LIBS $GTK_LIBS"
22952 cat >conftest.$ac_ext <<_ACEOF
22953/* confdefs.h. */
22954_ACEOF
22955cat confdefs.h >>conftest.$ac_ext
22956cat >>conftest.$ac_ext <<_ACEOF
22957/* end confdefs.h. */
22958
22959#include <gtk/gtk.h>
22960#include <stdio.h>
22961
22962int
22963main ()
22964{
22965 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22966 ;
22967 return 0;
22968}
22969_ACEOF
22970rm -f conftest.$ac_objext conftest$ac_exeext
22971if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 22972 (eval $ac_link) 2>conftest.er1
a848cd7e 22973 ac_status=$?
ac1cb8d3
VS
22974 grep -v '^ *+' conftest.er1 >conftest.err
22975 rm -f conftest.er1
22976 cat conftest.err >&5
a848cd7e
SC
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } &&
fc480dc1
DE
22979 { ac_try='test -z "$ac_c_werror_flag"
22980 || test ! -s conftest.err'
ac1cb8d3
VS
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; } &&
22986 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 echo "*** The test program compiled, but did not run. This usually means"
22993 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22994 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22995 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22996 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22997 echo "*** is required on your system"
22998 echo "***"
22999 echo "*** If you have an old version installed, it is best to remove it, although"
23000 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23001else
23002 echo "$as_me: failed program was:" >&5
23003sed 's/^/| /' conftest.$ac_ext >&5
23004
23005 echo "*** The test program failed to compile or link. See the file config.log for the"
23006 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23007fi
ac1cb8d3
VS
23008rm -f conftest.err conftest.$ac_objext \
23009 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23010 CFLAGS="$ac_save_CFLAGS"
23011 LIBS="$ac_save_LIBS"
23012 fi
23013 fi
23014 GTK_CFLAGS=""
23015 GTK_LIBS=""
23016 :
23017 fi
23018
23019
23020 rm -f conf.gtktest
23021
23022 else
23023
23024# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23025if test "${with_gtk_prefix+set}" = set; then
23026 withval="$with_gtk_prefix"
23027 gtk_config_prefix="$withval"
23028else
23029 gtk_config_prefix=""
23030fi;
23031
23032# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23033if test "${with_gtk_exec_prefix+set}" = set; then
23034 withval="$with_gtk_exec_prefix"
23035 gtk_config_exec_prefix="$withval"
23036else
23037 gtk_config_exec_prefix=""
23038fi;
23039# Check whether --enable-gtktest or --disable-gtktest was given.
23040if test "${enable_gtktest+set}" = set; then
23041 enableval="$enable_gtktest"
23042
23043else
23044 enable_gtktest=yes
23045fi;
23046
23047 for module in . $GTK_MODULES
23048 do
23049 case "$module" in
23050 gthread)
23051 gtk_config_args="$gtk_config_args gthread"
23052 ;;
23053 esac
23054 done
23055
23056 if test x$gtk_config_exec_prefix != x ; then
23057 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23058 if test x${GTK_CONFIG+set} != xset ; then
23059 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23060 fi
23061 fi
23062 if test x$gtk_config_prefix != x ; then
23063 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23064 if test x${GTK_CONFIG+set} != xset ; then
23065 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23066 fi
23067 fi
23068
23069 # Extract the first word of "gtk-config", so it can be a program name with args.
23070set dummy gtk-config; ac_word=$2
23071echo "$as_me:$LINENO: checking for $ac_word" >&5
23072echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23073if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23075else
23076 case $GTK_CONFIG in
23077 [\\/]* | ?:[\\/]*)
23078 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23079 ;;
23080 *)
23081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23082for as_dir in $PATH
23083do
23084 IFS=$as_save_IFS
23085 test -z "$as_dir" && as_dir=.
23086 for ac_exec_ext in '' $ac_executable_extensions; do
23087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23088 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23090 break 2
23091 fi
23092done
23093done
23094
23095 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23096 ;;
23097esac
23098fi
23099GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23100
23101if test -n "$GTK_CONFIG"; then
23102 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23103echo "${ECHO_T}$GTK_CONFIG" >&6
23104else
23105 echo "$as_me:$LINENO: result: no" >&5
23106echo "${ECHO_T}no" >&6
23107fi
23108
23109 min_gtk_version=1.2.7
23110 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23111echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23112 no_gtk=""
23113 if test "$GTK_CONFIG" = "no" ; then
23114 no_gtk=yes
23115 else
23116 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23117 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23118 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23120 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23122 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23124 if test "x$enable_gtktest" = "xyes" ; then
23125 ac_save_CFLAGS="$CFLAGS"
23126 ac_save_LIBS="$LIBS"
23127 CFLAGS="$CFLAGS $GTK_CFLAGS"
23128 LIBS="$GTK_LIBS $LIBS"
23129 rm -f conf.gtktest
23130 if test "$cross_compiling" = yes; then
23131 echo $ac_n "cross compiling; assumed OK... $ac_c"
23132else
23133 cat >conftest.$ac_ext <<_ACEOF
23134/* confdefs.h. */
23135_ACEOF
23136cat confdefs.h >>conftest.$ac_ext
23137cat >>conftest.$ac_ext <<_ACEOF
23138/* end confdefs.h. */
23139
23140#include <gtk/gtk.h>
23141#include <stdio.h>
23142#include <stdlib.h>
23143
23144int
23145main ()
23146{
23147 int major, minor, micro;
23148 char *tmp_version;
23149
23150 system ("touch conf.gtktest");
23151
23152 /* HP/UX 9 (%@#!) writes to sscanf strings */
23153 tmp_version = g_strdup("$min_gtk_version");
23154 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23155 printf("%s, bad version string\n", "$min_gtk_version");
23156 exit(1);
23157 }
23158
23159 if ((gtk_major_version != $gtk_config_major_version) ||
23160 (gtk_minor_version != $gtk_config_minor_version) ||
23161 (gtk_micro_version != $gtk_config_micro_version))
23162 {
23163 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23164 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23165 gtk_major_version, gtk_minor_version, gtk_micro_version);
23166 printf ("*** was found! If gtk-config was correct, then it is best\n");
23167 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23168 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23169 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23170 printf("*** required on your system.\n");
23171 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23172 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23173 printf("*** before re-running configure\n");
23174 }
23175#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23176 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23177 (gtk_minor_version != GTK_MINOR_VERSION) ||
23178 (gtk_micro_version != GTK_MICRO_VERSION))
23179 {
23180 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23181 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23182 printf("*** library (version %d.%d.%d)\n",
23183 gtk_major_version, gtk_minor_version, gtk_micro_version);
23184 }
23185#endif /* defined (GTK_MAJOR_VERSION) ... */
23186 else
23187 {
23188 if ((gtk_major_version > major) ||
23189 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23190 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23191 {
23192 return 0;
23193 }
23194 else
23195 {
23196 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23197 gtk_major_version, gtk_minor_version, gtk_micro_version);
23198 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23199 major, minor, micro);
23200 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23201 printf("***\n");
23202 printf("*** If you have already installed a sufficiently new version, this error\n");
23203 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23204 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23205 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23206 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23207 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23208 printf("*** so that the correct libraries are found at run-time))\n");
23209 }
23210 }
23211 return 1;
23212}
23213
23214_ACEOF
23215rm -f conftest$ac_exeext
23216if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>&5
23218 ac_status=$?
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23223 ac_status=$?
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; }; then
23226 :
23227else
23228 echo "$as_me: program exited with status $ac_status" >&5
23229echo "$as_me: failed program was:" >&5
23230sed 's/^/| /' conftest.$ac_ext >&5
23231
23232( exit $ac_status )
23233no_gtk=yes
23234fi
ac1cb8d3 23235rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
23236fi
23237 CFLAGS="$ac_save_CFLAGS"
23238 LIBS="$ac_save_LIBS"
23239 fi
23240 fi
23241 if test "x$no_gtk" = x ; then
23242 echo "$as_me:$LINENO: result: yes" >&5
23243echo "${ECHO_T}yes" >&6
23244 wx_cv_lib_gtk=1.2.7
23245 else
23246 echo "$as_me:$LINENO: result: no" >&5
23247echo "${ECHO_T}no" >&6
23248 if test "$GTK_CONFIG" = "no" ; then
23249 echo "*** The gtk-config script installed by GTK could not be found"
23250 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23251 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23252 echo "*** full path to gtk-config."
23253 else
23254 if test -f conf.gtktest ; then
23255 :
23256 else
23257 echo "*** Could not run GTK test program, checking why..."
23258 CFLAGS="$CFLAGS $GTK_CFLAGS"
23259 LIBS="$LIBS $GTK_LIBS"
23260 cat >conftest.$ac_ext <<_ACEOF
23261/* confdefs.h. */
23262_ACEOF
23263cat confdefs.h >>conftest.$ac_ext
23264cat >>conftest.$ac_ext <<_ACEOF
23265/* end confdefs.h. */
23266
23267#include <gtk/gtk.h>
23268#include <stdio.h>
23269
23270int
23271main ()
23272{
23273 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23274 ;
23275 return 0;
23276}
23277_ACEOF
23278rm -f conftest.$ac_objext conftest$ac_exeext
23279if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23280 (eval $ac_link) 2>conftest.er1
a848cd7e 23281 ac_status=$?
ac1cb8d3
VS
23282 grep -v '^ *+' conftest.er1 >conftest.err
23283 rm -f conftest.er1
23284 cat conftest.err >&5
a848cd7e
SC
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } &&
fc480dc1
DE
23287 { ac_try='test -z "$ac_c_werror_flag"
23288 || test ! -s conftest.err'
ac1cb8d3
VS
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23291 ac_status=$?
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; } &&
23294 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23297 ac_status=$?
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 echo "*** The test program compiled, but did not run. This usually means"
23301 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23302 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23305 echo "*** is required on your system"
23306 echo "***"
23307 echo "*** If you have an old version installed, it is best to remove it, although"
23308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23309 echo "***"
23310 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23311 echo "*** came with the system with the command"
23312 echo "***"
23313 echo "*** rpm --erase --nodeps gtk gtk-devel"
23314else
23315 echo "$as_me: failed program was:" >&5
23316sed 's/^/| /' conftest.$ac_ext >&5
23317
23318 echo "*** The test program failed to compile or link. See the file config.log for the"
23319 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23320 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23321 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23322fi
ac1cb8d3
VS
23323rm -f conftest.err conftest.$ac_objext \
23324 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23325 CFLAGS="$ac_save_CFLAGS"
23326 LIBS="$ac_save_LIBS"
23327 fi
23328 fi
23329 GTK_CFLAGS=""
23330 GTK_LIBS=""
23331 :
23332 fi
23333
23334
23335 rm -f conf.gtktest
23336
23337
23338 if test -z "$wx_cv_lib_gtk"; then
23339
23340# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23341if test "${with_gtk_prefix+set}" = set; then
23342 withval="$with_gtk_prefix"
23343 gtk_config_prefix="$withval"
23344else
23345 gtk_config_prefix=""
23346fi;
23347
23348# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23349if test "${with_gtk_exec_prefix+set}" = set; then
23350 withval="$with_gtk_exec_prefix"
23351 gtk_config_exec_prefix="$withval"
23352else
23353 gtk_config_exec_prefix=""
23354fi;
23355# Check whether --enable-gtktest or --disable-gtktest was given.
23356if test "${enable_gtktest+set}" = set; then
23357 enableval="$enable_gtktest"
23358
23359else
23360 enable_gtktest=yes
23361fi;
23362
23363 for module in . $GTK_MODULES
23364 do
23365 case "$module" in
23366 gthread)
23367 gtk_config_args="$gtk_config_args gthread"
23368 ;;
23369 esac
23370 done
23371
23372 if test x$gtk_config_exec_prefix != x ; then
23373 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23374 if test x${GTK_CONFIG+set} != xset ; then
23375 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23376 fi
23377 fi
23378 if test x$gtk_config_prefix != x ; then
23379 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23380 if test x${GTK_CONFIG+set} != xset ; then
23381 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23382 fi
23383 fi
23384
23385 # Extract the first word of "gtk-config", so it can be a program name with args.
23386set dummy gtk-config; ac_word=$2
23387echo "$as_me:$LINENO: checking for $ac_word" >&5
23388echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23389if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23391else
23392 case $GTK_CONFIG in
23393 [\\/]* | ?:[\\/]*)
23394 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23395 ;;
23396 *)
23397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23398for as_dir in $PATH
23399do
23400 IFS=$as_save_IFS
23401 test -z "$as_dir" && as_dir=.
23402 for ac_exec_ext in '' $ac_executable_extensions; do
23403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23404 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23406 break 2
23407 fi
23408done
23409done
23410
23411 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23412 ;;
23413esac
23414fi
23415GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23416
23417if test -n "$GTK_CONFIG"; then
23418 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23419echo "${ECHO_T}$GTK_CONFIG" >&6
23420else
23421 echo "$as_me:$LINENO: result: no" >&5
23422echo "${ECHO_T}no" >&6
23423fi
23424
23425 min_gtk_version=1.2.3
23426 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23427echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23428 no_gtk=""
23429 if test "$GTK_CONFIG" = "no" ; then
23430 no_gtk=yes
23431 else
23432 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23433 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23434 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23436 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23438 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23440 if test "x$enable_gtktest" = "xyes" ; then
23441 ac_save_CFLAGS="$CFLAGS"
23442 ac_save_LIBS="$LIBS"
23443 CFLAGS="$CFLAGS $GTK_CFLAGS"
23444 LIBS="$GTK_LIBS $LIBS"
23445 rm -f conf.gtktest
23446 if test "$cross_compiling" = yes; then
23447 echo $ac_n "cross compiling; assumed OK... $ac_c"
23448else
23449 cat >conftest.$ac_ext <<_ACEOF
23450/* confdefs.h. */
23451_ACEOF
23452cat confdefs.h >>conftest.$ac_ext
23453cat >>conftest.$ac_ext <<_ACEOF
23454/* end confdefs.h. */
23455
23456#include <gtk/gtk.h>
23457#include <stdio.h>
23458#include <stdlib.h>
23459
23460int
23461main ()
23462{
23463 int major, minor, micro;
23464 char *tmp_version;
23465
23466 system ("touch conf.gtktest");
23467
23468 /* HP/UX 9 (%@#!) writes to sscanf strings */
23469 tmp_version = g_strdup("$min_gtk_version");
23470 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23471 printf("%s, bad version string\n", "$min_gtk_version");
23472 exit(1);
23473 }
23474
23475 if ((gtk_major_version != $gtk_config_major_version) ||
23476 (gtk_minor_version != $gtk_config_minor_version) ||
23477 (gtk_micro_version != $gtk_config_micro_version))
23478 {
23479 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23480 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23481 gtk_major_version, gtk_minor_version, gtk_micro_version);
23482 printf ("*** was found! If gtk-config was correct, then it is best\n");
23483 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23484 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23485 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23486 printf("*** required on your system.\n");
23487 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23488 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23489 printf("*** before re-running configure\n");
23490 }
23491#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23493 (gtk_minor_version != GTK_MINOR_VERSION) ||
23494 (gtk_micro_version != GTK_MICRO_VERSION))
23495 {
23496 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23498 printf("*** library (version %d.%d.%d)\n",
23499 gtk_major_version, gtk_minor_version, gtk_micro_version);
23500 }
23501#endif /* defined (GTK_MAJOR_VERSION) ... */
23502 else
23503 {
23504 if ((gtk_major_version > major) ||
23505 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23506 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23507 {
23508 return 0;
23509 }
23510 else
23511 {
23512 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23513 gtk_major_version, gtk_minor_version, gtk_micro_version);
23514 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23515 major, minor, micro);
23516 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23517 printf("***\n");
23518 printf("*** If you have already installed a sufficiently new version, this error\n");
23519 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23520 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23521 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23522 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23523 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23524 printf("*** so that the correct libraries are found at run-time))\n");
23525 }
23526 }
23527 return 1;
23528}
23529
23530_ACEOF
23531rm -f conftest$ac_exeext
23532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23533 (eval $ac_link) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23538 (eval $ac_try) 2>&5
23539 ac_status=$?
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); }; }; then
23542 :
23543else
23544 echo "$as_me: program exited with status $ac_status" >&5
23545echo "$as_me: failed program was:" >&5
23546sed 's/^/| /' conftest.$ac_ext >&5
23547
23548( exit $ac_status )
23549no_gtk=yes
23550fi
ac1cb8d3 23551rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
23552fi
23553 CFLAGS="$ac_save_CFLAGS"
23554 LIBS="$ac_save_LIBS"
23555 fi
23556 fi
23557 if test "x$no_gtk" = x ; then
23558 echo "$as_me:$LINENO: result: yes" >&5
23559echo "${ECHO_T}yes" >&6
23560 wx_cv_lib_gtk=1.2.3
23561 else
23562 echo "$as_me:$LINENO: result: no" >&5
23563echo "${ECHO_T}no" >&6
23564 if test "$GTK_CONFIG" = "no" ; then
23565 echo "*** The gtk-config script installed by GTK could not be found"
23566 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23567 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23568 echo "*** full path to gtk-config."
23569 else
23570 if test -f conf.gtktest ; then
23571 :
23572 else
23573 echo "*** Could not run GTK test program, checking why..."
23574 CFLAGS="$CFLAGS $GTK_CFLAGS"
23575 LIBS="$LIBS $GTK_LIBS"
23576 cat >conftest.$ac_ext <<_ACEOF
23577/* confdefs.h. */
23578_ACEOF
23579cat confdefs.h >>conftest.$ac_ext
23580cat >>conftest.$ac_ext <<_ACEOF
23581/* end confdefs.h. */
23582
23583#include <gtk/gtk.h>
23584#include <stdio.h>
23585
23586int
23587main ()
23588{
23589 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23590 ;
23591 return 0;
23592}
23593_ACEOF
23594rm -f conftest.$ac_objext conftest$ac_exeext
23595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23596 (eval $ac_link) 2>conftest.er1
a848cd7e 23597 ac_status=$?
ac1cb8d3
VS
23598 grep -v '^ *+' conftest.er1 >conftest.err
23599 rm -f conftest.er1
23600 cat conftest.err >&5
a848cd7e
SC
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } &&
fc480dc1
DE
23603 { ac_try='test -z "$ac_c_werror_flag"
23604 || test ! -s conftest.err'
ac1cb8d3
VS
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23613 ac_status=$?
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 echo "*** The test program compiled, but did not run. This usually means"
23617 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23618 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23619 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23620 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23621 echo "*** is required on your system"
23622 echo "***"
23623 echo "*** If you have an old version installed, it is best to remove it, although"
23624 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23625 echo "***"
23626 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23627 echo "*** came with the system with the command"
23628 echo "***"
23629 echo "*** rpm --erase --nodeps gtk gtk-devel"
23630else
23631 echo "$as_me: failed program was:" >&5
23632sed 's/^/| /' conftest.$ac_ext >&5
23633
23634 echo "*** The test program failed to compile or link. See the file config.log for the"
23635 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23636 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23637 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23638fi
ac1cb8d3
VS
23639rm -f conftest.err conftest.$ac_objext \
23640 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23641 CFLAGS="$ac_save_CFLAGS"
23642 LIBS="$ac_save_LIBS"
23643 fi
23644 fi
23645 GTK_CFLAGS=""
23646 GTK_LIBS=""
23647 :
23648 fi
23649
23650
23651 rm -f conf.gtktest
23652
23653 fi
23654 fi
23655
23656 if test -z "$wx_cv_lib_gtk"; then
23657 wx_cv_lib_gtk=none
23658 else
23659 wx_cv_cflags_gtk=$GTK_CFLAGS
23660 wx_cv_libs_gtk=$GTK_LIBS
23661 fi
23662
23663
23664fi
23665
23666
23667 if test "$gtk_version_cached" = 1; then
23668 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23669echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23670 fi
23671
23672 case "$wx_cv_lib_gtk" in
23673 2.0) WXGTK20=1
23674 TOOLKIT_VERSION=2
23675 ;;
23676 1.2.7) WXGTK127=1
23677 WXGTK12=1
23678 ;;
23679 1.2.3) WXGTK12=1
23680 ;;
23681 *) { { echo "$as_me:$LINENO: error:
23682Please check that gtk-config is in path, the directory
23683where GTK+ libraries are installed (returned by
23684'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23685equivalent variable and GTK+ is version 1.2.3 or above.
23686 " >&5
23687echo "$as_me: error:
23688Please check that gtk-config is in path, the directory
23689where GTK+ libraries are installed (returned by
23690'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23691equivalent variable and GTK+ is version 1.2.3 or above.
23692 " >&2;}
23693 { (exit 1); exit 1; }; }
23694 ;;
23695 esac
23696
23697 if test "$WXGTK20" = 1; then
304205f1
VS
23698 save_CFLAGS="$CFLAGS"
23699 save_LIBS="$LIBS"
23700 CFLAGS="$CFLAGS $GTK_CFLAGS"
23701 LIBS="$LIBS $GTK_LIBS"
23702
23703for ac_func in pango_font_family_is_monospace
23704do
23705as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23706echo "$as_me:$LINENO: checking for $ac_func" >&5
23707echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23708if eval "test \"\${$as_ac_var+set}\" = set"; then
23709 echo $ECHO_N "(cached) $ECHO_C" >&6
23710else
23711 cat >conftest.$ac_ext <<_ACEOF
23712/* confdefs.h. */
23713_ACEOF
23714cat confdefs.h >>conftest.$ac_ext
23715cat >>conftest.$ac_ext <<_ACEOF
23716/* end confdefs.h. */
23717/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23719#define $ac_func innocuous_$ac_func
23720
23721/* System header to define __stub macros and hopefully few prototypes,
23722 which can conflict with char $ac_func (); below.
23723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23724 <limits.h> exists even on freestanding compilers. */
23725
23726#ifdef __STDC__
23727# include <limits.h>
23728#else
23729# include <assert.h>
23730#endif
23731
23732#undef $ac_func
23733
23734/* Override any gcc2 internal prototype to avoid an error. */
23735#ifdef __cplusplus
23736extern "C"
23737{
23738#endif
23739/* We use char because int might match the return type of a gcc2
23740 builtin and then its argument prototype would still apply. */
23741char $ac_func ();
23742/* The GNU C library defines this for functions which it implements
23743 to always fail with ENOSYS. Some functions are actually named
23744 something starting with __ and the normal name is an alias. */
23745#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23746choke me
23747#else
23748char (*f) () = $ac_func;
23749#endif
23750#ifdef __cplusplus
23751}
23752#endif
23753
23754int
23755main ()
23756{
23757return f != $ac_func;
23758 ;
23759 return 0;
23760}
23761_ACEOF
23762rm -f conftest.$ac_objext conftest$ac_exeext
23763if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23764 (eval $ac_link) 2>conftest.er1
23765 ac_status=$?
23766 grep -v '^ *+' conftest.er1 >conftest.err
23767 rm -f conftest.er1
23768 cat conftest.err >&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
fc480dc1
DE
23771 { ac_try='test -z "$ac_c_werror_flag"
23772 || test ! -s conftest.err'
304205f1
VS
23773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23774 (eval $ac_try) 2>&5
23775 ac_status=$?
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); }; } &&
23778 { ac_try='test -s conftest$ac_exeext'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23781 ac_status=$?
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; }; then
23784 eval "$as_ac_var=yes"
23785else
23786 echo "$as_me: failed program was:" >&5
23787sed 's/^/| /' conftest.$ac_ext >&5
23788
23789eval "$as_ac_var=no"
23790fi
23791rm -f conftest.err conftest.$ac_objext \
23792 conftest$ac_exeext conftest.$ac_ext
23793fi
23794echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23795echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23796if test `eval echo '${'$as_ac_var'}'` = yes; then
23797 cat >>confdefs.h <<_ACEOF
23798#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23799_ACEOF
23800
23801fi
23802done
23803
23804 CFLAGS="$save_CFLAGS"
23805 LIBS="$save_LIBS"
a848cd7e
SC
23806 else
23807 if test "$wxUSE_UNICODE" = "yes"; then
23808 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23809echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23810 wxUSE_UNICODE=no
23811 fi
23812 fi
23813
23814 if test "$USE_DARWIN" != 1; then
23815
23816for ac_func in poll
23817do
23818as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23819echo "$as_me:$LINENO: checking for $ac_func" >&5
23820echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23821if eval "test \"\${$as_ac_var+set}\" = set"; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23823else
23824 cat >conftest.$ac_ext <<_ACEOF
23825/* confdefs.h. */
23826_ACEOF
23827cat confdefs.h >>conftest.$ac_ext
23828cat >>conftest.$ac_ext <<_ACEOF
23829/* end confdefs.h. */
ac1cb8d3
VS
23830/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23832#define $ac_func innocuous_$ac_func
23833
a848cd7e
SC
23834/* System header to define __stub macros and hopefully few prototypes,
23835 which can conflict with char $ac_func (); below.
23836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23837 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 23838
a848cd7e
SC
23839#ifdef __STDC__
23840# include <limits.h>
23841#else
23842# include <assert.h>
23843#endif
ac1cb8d3
VS
23844
23845#undef $ac_func
23846
a848cd7e
SC
23847/* Override any gcc2 internal prototype to avoid an error. */
23848#ifdef __cplusplus
23849extern "C"
23850{
23851#endif
23852/* We use char because int might match the return type of a gcc2
23853 builtin and then its argument prototype would still apply. */
23854char $ac_func ();
23855/* The GNU C library defines this for functions which it implements
23856 to always fail with ENOSYS. Some functions are actually named
23857 something starting with __ and the normal name is an alias. */
23858#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23859choke me
23860#else
23861char (*f) () = $ac_func;
23862#endif
23863#ifdef __cplusplus
23864}
23865#endif
23866
23867int
23868main ()
23869{
23870return f != $ac_func;
23871 ;
23872 return 0;
23873}
23874_ACEOF
23875rm -f conftest.$ac_objext conftest$ac_exeext
23876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23877 (eval $ac_link) 2>conftest.er1
a848cd7e 23878 ac_status=$?
ac1cb8d3
VS
23879 grep -v '^ *+' conftest.er1 >conftest.err
23880 rm -f conftest.er1
23881 cat conftest.err >&5
a848cd7e
SC
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } &&
fc480dc1
DE
23884 { ac_try='test -z "$ac_c_werror_flag"
23885 || test ! -s conftest.err'
ac1cb8d3
VS
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; } &&
23891 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23894 ac_status=$?
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23897 eval "$as_ac_var=yes"
23898else
23899 echo "$as_me: failed program was:" >&5
23900sed 's/^/| /' conftest.$ac_ext >&5
23901
23902eval "$as_ac_var=no"
23903fi
ac1cb8d3
VS
23904rm -f conftest.err conftest.$ac_objext \
23905 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23906fi
23907echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23908echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23909if test `eval echo '${'$as_ac_var'}'` = yes; then
23910 cat >>confdefs.h <<_ACEOF
23911#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23912_ACEOF
23913
23914fi
23915done
23916
23917 fi
23918
23919 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23920 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23921
23922 AFMINSTALL=afminstall
23923 TOOLKIT=GTK
23924 GUIDIST=GTK_DIST
23925
23926 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23927echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23928if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23929 echo $ECHO_N "(cached) $ECHO_C" >&6
23930else
23931 ac_check_lib_save_LIBS=$LIBS
23932LIBS="-lgdk $LIBS"
23933cat >conftest.$ac_ext <<_ACEOF
23934/* confdefs.h. */
23935_ACEOF
23936cat confdefs.h >>conftest.$ac_ext
23937cat >>conftest.$ac_ext <<_ACEOF
23938/* end confdefs.h. */
23939
23940/* Override any gcc2 internal prototype to avoid an error. */
23941#ifdef __cplusplus
23942extern "C"
23943#endif
23944/* We use char because int might match the return type of a gcc2
23945 builtin and then its argument prototype would still apply. */
23946char gdk_im_open ();
23947int
23948main ()
23949{
23950gdk_im_open ();
23951 ;
23952 return 0;
23953}
23954_ACEOF
23955rm -f conftest.$ac_objext conftest$ac_exeext
23956if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23957 (eval $ac_link) 2>conftest.er1
a848cd7e 23958 ac_status=$?
ac1cb8d3
VS
23959 grep -v '^ *+' conftest.er1 >conftest.err
23960 rm -f conftest.er1
23961 cat conftest.err >&5
a848cd7e
SC
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); } &&
fc480dc1
DE
23964 { ac_try='test -z "$ac_c_werror_flag"
23965 || test ! -s conftest.err'
ac1cb8d3
VS
23966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967 (eval $ac_try) 2>&5
23968 ac_status=$?
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; } &&
23971 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23974 ac_status=$?
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; }; then
23977 ac_cv_lib_gdk_gdk_im_open=yes
23978else
23979 echo "$as_me: failed program was:" >&5
23980sed 's/^/| /' conftest.$ac_ext >&5
23981
23982ac_cv_lib_gdk_gdk_im_open=no
23983fi
ac1cb8d3
VS
23984rm -f conftest.err conftest.$ac_objext \
23985 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23986LIBS=$ac_check_lib_save_LIBS
23987fi
23988echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23989echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23990if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23991 cat >>confdefs.h <<\_ACEOF
23992#define HAVE_XIM 1
23993_ACEOF
23994
23995fi
23996
23997
23998
23999 if test "$wxUSE_GPE" = "yes"; then
24000 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24001echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24002
24003ac_find_libraries=
24004for ac_dir in $SEARCH_LIB /usr/lib;
24005 do
24006 for ac_extension in a so sl dylib; do
24007 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24008 ac_find_libraries=$ac_dir
24009 break 2
24010 fi
24011 done
24012 done
24013
24014 if test "$ac_find_libraries" != "" ; then
24015
24016 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24017 result=$?
24018 if test $result = 0; then
24019 ac_path_to_link=""
24020 else
24021 ac_path_to_link=" -L$ac_find_libraries"
24022 fi
24023
24024 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24025 WXGPE=1
24026 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24027echo "${ECHO_T}found at $ac_find_libraries" >&6
24028 else
24029 echo "$as_me:$LINENO: result: not found" >&5
24030echo "${ECHO_T}not found" >&6
24031 fi
24032
24033 fi
24034 fi
24035
24036 if test "$wxUSE_MGL" = 1; then
24037 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24038echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24039 if test "x$MGL_ROOT" = x ; then
24040 echo "$as_me:$LINENO: result: not found" >&5
24041echo "${ECHO_T}not found" >&6
24042 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24043echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24044 { (exit 1); exit 1; }; }
24045 else
24046 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24047echo "${ECHO_T}$MGL_ROOT" >&6
24048 fi
24049
24050 echo "$as_me:$LINENO: checking for libmgl location" >&5
24051echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24052 case "${host}" in
24053 *-*-linux* )
24054 if test "x$wxUSE_SHARED" = xyes ; then
24055 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24056 else
24057 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24058 fi
24059 ;;
24060 *-pc-msdosdjgpp )
24061 mgl_os_candidates="dos32/dj2"
24062 ;;
24063 *)
24064 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24065echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24066 { (exit 1); exit 1; }; }
24067 esac
24068
24069 mgl_lib_type=""
24070 mgl_os=""
24071
24072 for mgl_os_i in $mgl_os_candidates ; do
24073 if test "x$mgl_os" = x ; then
24074 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24075 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24076 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24077 mgl_lib_type=debug
24078 mgl_os=$mgl_os_i
24079 fi
24080 fi
24081 if test "x$mgl_lib_type" = x ; then
24082 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24083 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24084 mgl_lib_type=release
24085 mgl_os=$mgl_os_i
24086 fi
24087 fi
24088 fi
24089 done
24090
24091 if test "x$mgl_os" = x ; then
24092 echo "$as_me:$LINENO: result: not found" >&5
24093echo "${ECHO_T}not found" >&6
24094 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24095echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24096 { (exit 1); exit 1; }; }
24097 fi
24098 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24099echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24100
24101 wxUSE_UNIVERSAL="yes"
24102
24103 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24104 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24105
24106 AFMINSTALL=afminstall
24107 TOOLKIT=MGL
24108 GUIDIST=MGL_DIST
24109 fi
24110
24111 if test "$wxUSE_MICROWIN" = 1; then
24112 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24113echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24114 if test "x$MICROWINDOWS" = x ; then
24115 echo "$as_me:$LINENO: result: not found" >&5
24116echo "${ECHO_T}not found" >&6
24117 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24118echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24119 { (exit 1); exit 1; }; }
24120 else
24121 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24122echo "${ECHO_T}$MICROWINDOWS" >&6
24123 fi
24124
24125 if test -f $MICROWINDOWS/lib/libmwin.a; then
24126 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24127echo "${ECHO_T}MicroWindows' libraries found." >&6
24128 else
24129 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24130echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24131 { (exit 1); exit 1; }; }
24132 fi
24133
24134 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24135 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24136
24137 wxUSE_UNIVERSAL="yes"
24138
24139 AFMINSTALL=afminstall
24140 TOOLKIT=MICROWIN
24141 GUIDIST=MICROWIN_DIST
24142
24143 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24144 fi
24145
74b84332 24146 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
fc480dc1 24147 echo "$as_me:$LINENO: checking for X" >&5
a848cd7e
SC
24148echo $ECHO_N "checking for X... $ECHO_C" >&6
24149
24150
24151# Check whether --with-x or --without-x was given.
24152if test "${with_x+set}" = set; then
24153 withval="$with_x"
24154
24155fi;
24156# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24157if test "x$with_x" = xno; then
24158 # The user explicitly disabled X.
24159 have_x=disabled
24160else
24161 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24162 # Both variables are already set.
24163 have_x=yes
24164 else
24165 if test "${ac_cv_have_x+set}" = set; then
24166 echo $ECHO_N "(cached) $ECHO_C" >&6
24167else
24168 # One or both of the vars are not set, and there is no cached value.
24169ac_x_includes=no ac_x_libraries=no
24170rm -fr conftest.dir
24171if mkdir conftest.dir; then
24172 cd conftest.dir
24173 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24174 cat >Imakefile <<'_ACEOF'
24175acfindx:
24176 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24177_ACEOF
24178 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24180 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24181 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24182 for ac_extension in a so sl; do
24183 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
ac1cb8d3
VS
24184 test -f $ac_im_libdir/libX11.$ac_extension; then
24185 ac_im_usrlibdir=$ac_im_libdir; break
a848cd7e
SC
24186 fi
24187 done
24188 # Screen out bogus values from the imake configuration. They are
24189 # bogus both because they are the default anyway, and because
24190 # using them would break gcc on systems where it needs fixed includes.
24191 case $ac_im_incroot in
24192 /usr/include) ;;
24193 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24194 esac
24195 case $ac_im_usrlibdir in
24196 /usr/lib | /lib) ;;
24197 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24198 esac
24199 fi
24200 cd ..
24201 rm -fr conftest.dir
24202fi
24203
24204# Standard set of common directories for X headers.
24205# Check X11 before X11Rn because it is often a symlink to the current release.
24206ac_x_header_dirs='
24207/usr/X11/include
24208/usr/X11R6/include
24209/usr/X11R5/include
24210/usr/X11R4/include
24211
24212/usr/include/X11
24213/usr/include/X11R6
24214/usr/include/X11R5
24215/usr/include/X11R4
24216
24217/usr/local/X11/include
24218/usr/local/X11R6/include
24219/usr/local/X11R5/include
24220/usr/local/X11R4/include
24221
24222/usr/local/include/X11
24223/usr/local/include/X11R6
24224/usr/local/include/X11R5
24225/usr/local/include/X11R4
24226
24227/usr/X386/include
24228/usr/x386/include
24229/usr/XFree86/include/X11
24230
24231/usr/include
24232/usr/local/include
24233/usr/unsupported/include
24234/usr/athena/include
24235/usr/local/x11r5/include
24236/usr/lpp/Xamples/include
24237
24238/usr/openwin/include
24239/usr/openwin/share/include'
24240
24241if test "$ac_x_includes" = no; then
fc480dc1 24242 # Guess where to find include files, by looking for Intrinsic.h.
a848cd7e
SC
24243 # First, try using that file with no special directory specified.
24244 cat >conftest.$ac_ext <<_ACEOF
24245/* confdefs.h. */
24246_ACEOF
24247cat confdefs.h >>conftest.$ac_ext
24248cat >>conftest.$ac_ext <<_ACEOF
24249/* end confdefs.h. */
24250#include <X11/Intrinsic.h>
24251_ACEOF
24252if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24254 ac_status=$?
24255 grep -v '^ *+' conftest.er1 >conftest.err
24256 rm -f conftest.er1
24257 cat conftest.err >&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } >/dev/null; then
24260 if test -s conftest.err; then
24261 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 24262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
24263 else
24264 ac_cpp_err=
24265 fi
24266else
24267 ac_cpp_err=yes
24268fi
24269if test -z "$ac_cpp_err"; then
24270 # We can compile using X headers with no special include directory.
24271ac_x_includes=
24272else
24273 echo "$as_me: failed program was:" >&5
24274sed 's/^/| /' conftest.$ac_ext >&5
24275
24276 for ac_dir in $ac_x_header_dirs; do
24277 if test -r "$ac_dir/X11/Intrinsic.h"; then
24278 ac_x_includes=$ac_dir
24279 break
24280 fi
24281done
24282fi
24283rm -f conftest.err conftest.$ac_ext
24284fi # $ac_x_includes = no
24285
24286if test "$ac_x_libraries" = no; then
24287 # Check for the libraries.
24288 # See if we find them without any special options.
24289 # Don't add to $LIBS permanently.
24290 ac_save_LIBS=$LIBS
24291 LIBS="-lXt $LIBS"
24292 cat >conftest.$ac_ext <<_ACEOF
24293/* confdefs.h. */
24294_ACEOF
24295cat confdefs.h >>conftest.$ac_ext
24296cat >>conftest.$ac_ext <<_ACEOF
24297/* end confdefs.h. */
24298#include <X11/Intrinsic.h>
24299int
24300main ()
24301{
24302XtMalloc (0)
24303 ;
24304 return 0;
24305}
24306_ACEOF
24307rm -f conftest.$ac_objext conftest$ac_exeext
24308if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24309 (eval $ac_link) 2>conftest.er1
a848cd7e 24310 ac_status=$?
ac1cb8d3
VS
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
a848cd7e
SC
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
fc480dc1
DE
24316 { ac_try='test -z "$ac_c_werror_flag"
24317 || test ! -s conftest.err'
ac1cb8d3
VS
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24320 ac_status=$?
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; } &&
24323 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24326 ac_status=$?
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24329 LIBS=$ac_save_LIBS
24330# We can link X programs with no special library path.
24331ac_x_libraries=
24332else
24333 echo "$as_me: failed program was:" >&5
24334sed 's/^/| /' conftest.$ac_ext >&5
24335
24336LIBS=$ac_save_LIBS
24337for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24338do
24339 # Don't even attempt the hair of trying to link an X program!
24340 for ac_extension in a so sl; do
24341 if test -r $ac_dir/libXt.$ac_extension; then
24342 ac_x_libraries=$ac_dir
24343 break 2
24344 fi
24345 done
24346done
24347fi
ac1cb8d3
VS
24348rm -f conftest.err conftest.$ac_objext \
24349 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24350fi # $ac_x_libraries = no
24351
24352if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24353 # Didn't find X anywhere. Cache the known absence of X.
24354 ac_cv_have_x="have_x=no"
24355else
24356 # Record where we found X for the cache.
24357 ac_cv_have_x="have_x=yes \
ac1cb8d3 24358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
a848cd7e
SC
24359fi
24360fi
24361
24362 fi
24363 eval "$ac_cv_have_x"
24364fi # $with_x != no
24365
24366if test "$have_x" != yes; then
24367 echo "$as_me:$LINENO: result: $have_x" >&5
24368echo "${ECHO_T}$have_x" >&6
24369 no_x=yes
24370else
24371 # If each of the values was on the command line, it overrides each guess.
24372 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24373 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24374 # Update the cache value to reflect the command line values.
24375 ac_cv_have_x="have_x=yes \
24376 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
fc480dc1
DE
24377 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24378echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
a848cd7e
SC
24379fi
24380
24381if test "$no_x" = yes; then
24382 # Not all programs may use this symbol, but it does not hurt to define it.
24383
24384cat >>confdefs.h <<\_ACEOF
24385#define X_DISPLAY_MISSING 1
24386_ACEOF
24387
24388 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24389else
24390 if test -n "$x_includes"; then
24391 X_CFLAGS="$X_CFLAGS -I$x_includes"
24392 fi
24393
24394 # It would also be nice to do this for all -L options, not just this one.
24395 if test -n "$x_libraries"; then
24396 X_LIBS="$X_LIBS -L$x_libraries"
24397 # For Solaris; some versions of Sun CC require a space after -R and
24398 # others require no space. Words are not sufficient . . . .
24399 case `(uname -sr) 2>/dev/null` in
24400 "SunOS 5"*)
24401 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24402echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24403 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24404 cat >conftest.$ac_ext <<_ACEOF
24405/* confdefs.h. */
24406_ACEOF
24407cat confdefs.h >>conftest.$ac_ext
24408cat >>conftest.$ac_ext <<_ACEOF
24409/* end confdefs.h. */
24410
24411int
24412main ()
24413{
24414
24415 ;
24416 return 0;
24417}
24418_ACEOF
24419rm -f conftest.$ac_objext conftest$ac_exeext
24420if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24421 (eval $ac_link) 2>conftest.er1
a848cd7e 24422 ac_status=$?
ac1cb8d3
VS
24423 grep -v '^ *+' conftest.er1 >conftest.err
24424 rm -f conftest.er1
24425 cat conftest.err >&5
a848cd7e
SC
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } &&
fc480dc1
DE
24428 { ac_try='test -z "$ac_c_werror_flag"
24429 || test ! -s conftest.err'
ac1cb8d3
VS
24430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24431 (eval $ac_try) 2>&5
24432 ac_status=$?
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); }; } &&
24435 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24438 ac_status=$?
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; }; then
24441 ac_R_nospace=yes
24442else
24443 echo "$as_me: failed program was:" >&5
24444sed 's/^/| /' conftest.$ac_ext >&5
24445
24446ac_R_nospace=no
24447fi
ac1cb8d3
VS
24448rm -f conftest.err conftest.$ac_objext \
24449 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24450 if test $ac_R_nospace = yes; then
24451 echo "$as_me:$LINENO: result: no" >&5
24452echo "${ECHO_T}no" >&6
24453 X_LIBS="$X_LIBS -R$x_libraries"
24454 else
24455 LIBS="$ac_xsave_LIBS -R $x_libraries"
24456 cat >conftest.$ac_ext <<_ACEOF
24457/* confdefs.h. */
24458_ACEOF
24459cat confdefs.h >>conftest.$ac_ext
24460cat >>conftest.$ac_ext <<_ACEOF
24461/* end confdefs.h. */
24462
24463int
24464main ()
24465{
24466
24467 ;
24468 return 0;
24469}
24470_ACEOF
24471rm -f conftest.$ac_objext conftest$ac_exeext
24472if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24473 (eval $ac_link) 2>conftest.er1
a848cd7e 24474 ac_status=$?
ac1cb8d3
VS
24475 grep -v '^ *+' conftest.er1 >conftest.err
24476 rm -f conftest.er1
24477 cat conftest.err >&5
a848cd7e
SC
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
fc480dc1
DE
24480 { ac_try='test -z "$ac_c_werror_flag"
24481 || test ! -s conftest.err'
ac1cb8d3
VS
24482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24483 (eval $ac_try) 2>&5
24484 ac_status=$?
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); }; } &&
24487 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489 (eval $ac_try) 2>&5
24490 ac_status=$?
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); }; }; then
24493 ac_R_space=yes
24494else
24495 echo "$as_me: failed program was:" >&5
24496sed 's/^/| /' conftest.$ac_ext >&5
24497
24498ac_R_space=no
24499fi
ac1cb8d3
VS
24500rm -f conftest.err conftest.$ac_objext \
24501 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24502 if test $ac_R_space = yes; then
24503 echo "$as_me:$LINENO: result: yes" >&5
24504echo "${ECHO_T}yes" >&6
24505 X_LIBS="$X_LIBS -R $x_libraries"
24506 else
24507 echo "$as_me:$LINENO: result: neither works" >&5
24508echo "${ECHO_T}neither works" >&6
24509 fi
24510 fi
24511 LIBS=$ac_xsave_LIBS
24512 esac
24513 fi
24514
24515 # Check for system-dependent libraries X programs must link with.
24516 # Do this before checking for the system-independent R6 libraries
24517 # (-lICE), since we may need -lsocket or whatever for X linking.
24518
24519 if test "$ISC" = yes; then
24520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24521 else
24522 # Martyn Johnson says this is needed for Ultrix, if the X
24523 # libraries were built with DECnet support. And Karl Berry says
24524 # the Alpha needs dnet_stub (dnet does not exist).
24525 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24526 cat >conftest.$ac_ext <<_ACEOF
24527/* confdefs.h. */
24528_ACEOF
24529cat confdefs.h >>conftest.$ac_ext
24530cat >>conftest.$ac_ext <<_ACEOF
24531/* end confdefs.h. */
24532
24533/* Override any gcc2 internal prototype to avoid an error. */
24534#ifdef __cplusplus
24535extern "C"
24536#endif
24537/* We use char because int might match the return type of a gcc2
24538 builtin and then its argument prototype would still apply. */
24539char XOpenDisplay ();
24540int
24541main ()
24542{
24543XOpenDisplay ();
24544 ;
24545 return 0;
24546}
24547_ACEOF
24548rm -f conftest.$ac_objext conftest$ac_exeext
24549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24550 (eval $ac_link) 2>conftest.er1
a848cd7e 24551 ac_status=$?
ac1cb8d3
VS
24552 grep -v '^ *+' conftest.er1 >conftest.err
24553 rm -f conftest.er1
24554 cat conftest.err >&5
a848cd7e
SC
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
fc480dc1
DE
24557 { ac_try='test -z "$ac_c_werror_flag"
24558 || test ! -s conftest.err'
ac1cb8d3
VS
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24561 ac_status=$?
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; } &&
24564 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24567 ac_status=$?
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; }; then
24570 :
24571else
24572 echo "$as_me: failed program was:" >&5
24573sed 's/^/| /' conftest.$ac_ext >&5
24574
24575echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24576echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24577if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24578 echo $ECHO_N "(cached) $ECHO_C" >&6
24579else
24580 ac_check_lib_save_LIBS=$LIBS
24581LIBS="-ldnet $LIBS"
24582cat >conftest.$ac_ext <<_ACEOF
24583/* confdefs.h. */
24584_ACEOF
24585cat confdefs.h >>conftest.$ac_ext
24586cat >>conftest.$ac_ext <<_ACEOF
24587/* end confdefs.h. */
24588
24589/* Override any gcc2 internal prototype to avoid an error. */
24590#ifdef __cplusplus
24591extern "C"
24592#endif
24593/* We use char because int might match the return type of a gcc2
24594 builtin and then its argument prototype would still apply. */
24595char dnet_ntoa ();
24596int
24597main ()
24598{
24599dnet_ntoa ();
24600 ;
24601 return 0;
24602}
24603_ACEOF
24604rm -f conftest.$ac_objext conftest$ac_exeext
24605if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24606 (eval $ac_link) 2>conftest.er1
a848cd7e 24607 ac_status=$?
ac1cb8d3
VS
24608 grep -v '^ *+' conftest.er1 >conftest.err
24609 rm -f conftest.er1
24610 cat conftest.err >&5
a848cd7e
SC
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); } &&
fc480dc1
DE
24613 { ac_try='test -z "$ac_c_werror_flag"
24614 || test ! -s conftest.err'
ac1cb8d3
VS
24615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616 (eval $ac_try) 2>&5
24617 ac_status=$?
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); }; } &&
24620 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622 (eval $ac_try) 2>&5
24623 ac_status=$?
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); }; }; then
24626 ac_cv_lib_dnet_dnet_ntoa=yes
24627else
24628 echo "$as_me: failed program was:" >&5
24629sed 's/^/| /' conftest.$ac_ext >&5
24630
24631ac_cv_lib_dnet_dnet_ntoa=no
24632fi
ac1cb8d3
VS
24633rm -f conftest.err conftest.$ac_objext \
24634 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24635LIBS=$ac_check_lib_save_LIBS
24636fi
24637echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24638echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24639if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24640 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24641fi
24642
24643 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24644 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24645echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24646if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24647 echo $ECHO_N "(cached) $ECHO_C" >&6
24648else
24649 ac_check_lib_save_LIBS=$LIBS
24650LIBS="-ldnet_stub $LIBS"
24651cat >conftest.$ac_ext <<_ACEOF
24652/* confdefs.h. */
24653_ACEOF
24654cat confdefs.h >>conftest.$ac_ext
24655cat >>conftest.$ac_ext <<_ACEOF
24656/* end confdefs.h. */
24657
24658/* Override any gcc2 internal prototype to avoid an error. */
24659#ifdef __cplusplus
24660extern "C"
24661#endif
24662/* We use char because int might match the return type of a gcc2
24663 builtin and then its argument prototype would still apply. */
24664char dnet_ntoa ();
24665int
24666main ()
24667{
24668dnet_ntoa ();
24669 ;
24670 return 0;
24671}
24672_ACEOF
24673rm -f conftest.$ac_objext conftest$ac_exeext
24674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24675 (eval $ac_link) 2>conftest.er1
a848cd7e 24676 ac_status=$?
ac1cb8d3
VS
24677 grep -v '^ *+' conftest.er1 >conftest.err
24678 rm -f conftest.er1
24679 cat conftest.err >&5
a848cd7e
SC
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } &&
fc480dc1
DE
24682 { ac_try='test -z "$ac_c_werror_flag"
24683 || test ! -s conftest.err'
ac1cb8d3
VS
24684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24685 (eval $ac_try) 2>&5
24686 ac_status=$?
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); }; } &&
24689 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24691 (eval $ac_try) 2>&5
24692 ac_status=$?
24693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694 (exit $ac_status); }; }; then
24695 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24696else
24697 echo "$as_me: failed program was:" >&5
24698sed 's/^/| /' conftest.$ac_ext >&5
24699
24700ac_cv_lib_dnet_stub_dnet_ntoa=no
24701fi
ac1cb8d3
VS
24702rm -f conftest.err conftest.$ac_objext \
24703 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24704LIBS=$ac_check_lib_save_LIBS
24705fi
24706echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24707echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24708if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24709 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24710fi
24711
24712 fi
24713fi
ac1cb8d3
VS
24714rm -f conftest.err conftest.$ac_objext \
24715 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24716 LIBS="$ac_xsave_LIBS"
24717
24718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24719 # to get the SysV transport functions.
24720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24721 # needs -lnsl.
24722 # The nsl library prevents programs from opening the X display
24723 # on Irix 5.2, according to T.E. Dickey.
24724 # The functions gethostbyname, getservbyname, and inet_addr are
24725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24726 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24727echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24728if test "${ac_cv_func_gethostbyname+set}" = set; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24730else
24731 cat >conftest.$ac_ext <<_ACEOF
24732/* confdefs.h. */
24733_ACEOF
24734cat confdefs.h >>conftest.$ac_ext
24735cat >>conftest.$ac_ext <<_ACEOF
24736/* end confdefs.h. */
ac1cb8d3
VS
24737/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24739#define gethostbyname innocuous_gethostbyname
24740
a848cd7e
SC
24741/* System header to define __stub macros and hopefully few prototypes,
24742 which can conflict with char gethostbyname (); below.
24743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24744 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 24745
a848cd7e
SC
24746#ifdef __STDC__
24747# include <limits.h>
24748#else
24749# include <assert.h>
24750#endif
ac1cb8d3
VS
24751
24752#undef gethostbyname
24753
a848cd7e
SC
24754/* Override any gcc2 internal prototype to avoid an error. */
24755#ifdef __cplusplus
24756extern "C"
24757{
24758#endif
24759/* We use char because int might match the return type of a gcc2
24760 builtin and then its argument prototype would still apply. */
24761char gethostbyname ();
24762/* The GNU C library defines this for functions which it implements
24763 to always fail with ENOSYS. Some functions are actually named
24764 something starting with __ and the normal name is an alias. */
24765#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24766choke me
24767#else
24768char (*f) () = gethostbyname;
24769#endif
24770#ifdef __cplusplus
24771}
24772#endif
24773
24774int
24775main ()
24776{
24777return f != gethostbyname;
24778 ;
24779 return 0;
24780}
24781_ACEOF
24782rm -f conftest.$ac_objext conftest$ac_exeext
24783if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24784 (eval $ac_link) 2>conftest.er1
a848cd7e 24785 ac_status=$?
ac1cb8d3
VS
24786 grep -v '^ *+' conftest.er1 >conftest.err
24787 rm -f conftest.er1
24788 cat conftest.err >&5
a848cd7e
SC
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); } &&
fc480dc1
DE
24791 { ac_try='test -z "$ac_c_werror_flag"
24792 || test ! -s conftest.err'
ac1cb8d3
VS
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; } &&
24798 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24801 ac_status=$?
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_cv_func_gethostbyname=yes
24805else
24806 echo "$as_me: failed program was:" >&5
24807sed 's/^/| /' conftest.$ac_ext >&5
24808
24809ac_cv_func_gethostbyname=no
24810fi
ac1cb8d3
VS
24811rm -f conftest.err conftest.$ac_objext \
24812 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24813fi
24814echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24815echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24816
24817 if test $ac_cv_func_gethostbyname = no; then
24818 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24819echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24820if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24821 echo $ECHO_N "(cached) $ECHO_C" >&6
24822else
24823 ac_check_lib_save_LIBS=$LIBS
24824LIBS="-lnsl $LIBS"
24825cat >conftest.$ac_ext <<_ACEOF
24826/* confdefs.h. */
24827_ACEOF
24828cat confdefs.h >>conftest.$ac_ext
24829cat >>conftest.$ac_ext <<_ACEOF
24830/* end confdefs.h. */
24831
24832/* Override any gcc2 internal prototype to avoid an error. */
24833#ifdef __cplusplus
24834extern "C"
24835#endif
24836/* We use char because int might match the return type of a gcc2
24837 builtin and then its argument prototype would still apply. */
24838char gethostbyname ();
24839int
24840main ()
24841{
24842gethostbyname ();
24843 ;
24844 return 0;
24845}
24846_ACEOF
24847rm -f conftest.$ac_objext conftest$ac_exeext
24848if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3
VS
24849 (eval $ac_link) 2>conftest.er1
24850 ac_status=$?
24851 grep -v '^ *+' conftest.er1 >conftest.err
24852 rm -f conftest.er1
24853 cat conftest.err >&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } &&
fc480dc1
DE
24856 { ac_try='test -z "$ac_c_werror_flag"
24857 || test ! -s conftest.err'
ac1cb8d3
VS
24858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24859 (eval $ac_try) 2>&5
24860 ac_status=$?
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); }; } &&
24863 { ac_try='test -s conftest$ac_exeext'
24864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865 (eval $ac_try) 2>&5
24866 ac_status=$?
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); }; }; then
24869 ac_cv_lib_nsl_gethostbyname=yes
24870else
24871 echo "$as_me: failed program was:" >&5
24872sed 's/^/| /' conftest.$ac_ext >&5
24873
24874ac_cv_lib_nsl_gethostbyname=no
24875fi
24876rm -f conftest.err conftest.$ac_objext \
24877 conftest$ac_exeext conftest.$ac_ext
24878LIBS=$ac_check_lib_save_LIBS
24879fi
24880echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24881echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24882if test $ac_cv_lib_nsl_gethostbyname = yes; then
24883 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24884fi
24885
24886 if test $ac_cv_lib_nsl_gethostbyname = no; then
24887 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24888echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24889if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24890 echo $ECHO_N "(cached) $ECHO_C" >&6
24891else
24892 ac_check_lib_save_LIBS=$LIBS
24893LIBS="-lbsd $LIBS"
24894cat >conftest.$ac_ext <<_ACEOF
24895/* confdefs.h. */
24896_ACEOF
24897cat confdefs.h >>conftest.$ac_ext
24898cat >>conftest.$ac_ext <<_ACEOF
24899/* end confdefs.h. */
24900
24901/* Override any gcc2 internal prototype to avoid an error. */
24902#ifdef __cplusplus
24903extern "C"
24904#endif
24905/* We use char because int might match the return type of a gcc2
24906 builtin and then its argument prototype would still apply. */
24907char gethostbyname ();
24908int
24909main ()
24910{
24911gethostbyname ();
24912 ;
24913 return 0;
24914}
24915_ACEOF
24916rm -f conftest.$ac_objext conftest$ac_exeext
24917if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24918 (eval $ac_link) 2>conftest.er1
a848cd7e 24919 ac_status=$?
ac1cb8d3
VS
24920 grep -v '^ *+' conftest.er1 >conftest.err
24921 rm -f conftest.er1
24922 cat conftest.err >&5
a848cd7e
SC
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } &&
fc480dc1
DE
24925 { ac_try='test -z "$ac_c_werror_flag"
24926 || test ! -s conftest.err'
a848cd7e
SC
24927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928 (eval $ac_try) 2>&5
24929 ac_status=$?
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
ac1cb8d3
VS
24931 (exit $ac_status); }; } &&
24932 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 ac_cv_lib_bsd_gethostbyname=yes
24939else
24940 echo "$as_me: failed program was:" >&5
24941sed 's/^/| /' conftest.$ac_ext >&5
24942
24943ac_cv_lib_bsd_gethostbyname=no
24944fi
ac1cb8d3
VS
24945rm -f conftest.err conftest.$ac_objext \
24946 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24947LIBS=$ac_check_lib_save_LIBS
24948fi
24949echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24950echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24951if test $ac_cv_lib_bsd_gethostbyname = yes; then
24952 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24953fi
24954
24955 fi
24956 fi
24957
24958 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24959 # socket/setsockopt and other routines are undefined under SCO ODT
24960 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24961 # on later versions), says Simon Leinen: it contains gethostby*
24962 # variants that don't use the name server (or something). -lsocket
24963 # must be given before -lnsl if both are needed. We assume that
24964 # if connect needs -lnsl, so does gethostbyname.
24965 echo "$as_me:$LINENO: checking for connect" >&5
24966echo $ECHO_N "checking for connect... $ECHO_C" >&6
24967if test "${ac_cv_func_connect+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24969else
24970 cat >conftest.$ac_ext <<_ACEOF
24971/* confdefs.h. */
24972_ACEOF
24973cat confdefs.h >>conftest.$ac_ext
24974cat >>conftest.$ac_ext <<_ACEOF
24975/* end confdefs.h. */
ac1cb8d3
VS
24976/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24978#define connect innocuous_connect
24979
a848cd7e
SC
24980/* System header to define __stub macros and hopefully few prototypes,
24981 which can conflict with char connect (); below.
24982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24983 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 24984
a848cd7e
SC
24985#ifdef __STDC__
24986# include <limits.h>
24987#else
24988# include <assert.h>
24989#endif
ac1cb8d3
VS
24990
24991#undef connect
24992
a848cd7e
SC
24993/* Override any gcc2 internal prototype to avoid an error. */
24994#ifdef __cplusplus
24995extern "C"
24996{
24997#endif
24998/* We use char because int might match the return type of a gcc2
24999 builtin and then its argument prototype would still apply. */
25000char connect ();
25001/* The GNU C library defines this for functions which it implements
25002 to always fail with ENOSYS. Some functions are actually named
25003 something starting with __ and the normal name is an alias. */
25004#if defined (__stub_connect) || defined (__stub___connect)
25005choke me
25006#else
25007char (*f) () = connect;
25008#endif
25009#ifdef __cplusplus
25010}
25011#endif
25012
25013int
25014main ()
25015{
25016return f != connect;
25017 ;
25018 return 0;
25019}
25020_ACEOF
25021rm -f conftest.$ac_objext conftest$ac_exeext
25022if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25023 (eval $ac_link) 2>conftest.er1
a848cd7e 25024 ac_status=$?
ac1cb8d3
VS
25025 grep -v '^ *+' conftest.er1 >conftest.err
25026 rm -f conftest.er1
25027 cat conftest.err >&5
a848cd7e
SC
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); } &&
fc480dc1
DE
25030 { ac_try='test -z "$ac_c_werror_flag"
25031 || test ! -s conftest.err'
ac1cb8d3
VS
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25034 ac_status=$?
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; } &&
25037 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25039 (eval $ac_try) 2>&5
25040 ac_status=$?
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; }; then
25043 ac_cv_func_connect=yes
25044else
25045 echo "$as_me: failed program was:" >&5
25046sed 's/^/| /' conftest.$ac_ext >&5
25047
25048ac_cv_func_connect=no
25049fi
ac1cb8d3
VS
25050rm -f conftest.err conftest.$ac_objext \
25051 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25052fi
25053echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25054echo "${ECHO_T}$ac_cv_func_connect" >&6
25055
25056 if test $ac_cv_func_connect = no; then
25057 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25058echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25059if test "${ac_cv_lib_socket_connect+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25061else
25062 ac_check_lib_save_LIBS=$LIBS
25063LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25064cat >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
25071/* Override any gcc2 internal prototype to avoid an error. */
25072#ifdef __cplusplus
25073extern "C"
25074#endif
25075/* We use char because int might match the return type of a gcc2
25076 builtin and then its argument prototype would still apply. */
25077char connect ();
25078int
25079main ()
25080{
25081connect ();
25082 ;
25083 return 0;
25084}
25085_ACEOF
25086rm -f conftest.$ac_objext conftest$ac_exeext
25087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25088 (eval $ac_link) 2>conftest.er1
a848cd7e 25089 ac_status=$?
ac1cb8d3
VS
25090 grep -v '^ *+' conftest.er1 >conftest.err
25091 rm -f conftest.er1
25092 cat conftest.err >&5
a848cd7e
SC
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); } &&
fc480dc1
DE
25095 { ac_try='test -z "$ac_c_werror_flag"
25096 || test ! -s conftest.err'
ac1cb8d3
VS
25097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25098 (eval $ac_try) 2>&5
25099 ac_status=$?
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; } &&
25102 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25104 (eval $ac_try) 2>&5
25105 ac_status=$?
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); }; }; then
25108 ac_cv_lib_socket_connect=yes
25109else
25110 echo "$as_me: failed program was:" >&5
25111sed 's/^/| /' conftest.$ac_ext >&5
25112
25113ac_cv_lib_socket_connect=no
25114fi
ac1cb8d3
VS
25115rm -f conftest.err conftest.$ac_objext \
25116 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25117LIBS=$ac_check_lib_save_LIBS
25118fi
25119echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25120echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25121if test $ac_cv_lib_socket_connect = yes; then
25122 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25123fi
25124
25125 fi
25126
25127 # Guillermo Gomez says -lposix is necessary on A/UX.
25128 echo "$as_me:$LINENO: checking for remove" >&5
25129echo $ECHO_N "checking for remove... $ECHO_C" >&6
25130if test "${ac_cv_func_remove+set}" = set; then
25131 echo $ECHO_N "(cached) $ECHO_C" >&6
25132else
25133 cat >conftest.$ac_ext <<_ACEOF
25134/* confdefs.h. */
25135_ACEOF
25136cat confdefs.h >>conftest.$ac_ext
25137cat >>conftest.$ac_ext <<_ACEOF
25138/* end confdefs.h. */
ac1cb8d3
VS
25139/* Define remove to an innocuous variant, in case <limits.h> declares remove.
25140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25141#define remove innocuous_remove
25142
a848cd7e
SC
25143/* System header to define __stub macros and hopefully few prototypes,
25144 which can conflict with char remove (); below.
25145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25146 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 25147
a848cd7e
SC
25148#ifdef __STDC__
25149# include <limits.h>
25150#else
25151# include <assert.h>
25152#endif
ac1cb8d3
VS
25153
25154#undef remove
25155
a848cd7e
SC
25156/* Override any gcc2 internal prototype to avoid an error. */
25157#ifdef __cplusplus
25158extern "C"
25159{
25160#endif
25161/* We use char because int might match the return type of a gcc2
25162 builtin and then its argument prototype would still apply. */
25163char remove ();
25164/* The GNU C library defines this for functions which it implements
25165 to always fail with ENOSYS. Some functions are actually named
25166 something starting with __ and the normal name is an alias. */
25167#if defined (__stub_remove) || defined (__stub___remove)
25168choke me
25169#else
25170char (*f) () = remove;
25171#endif
25172#ifdef __cplusplus
25173}
25174#endif
25175
25176int
25177main ()
25178{
25179return f != remove;
25180 ;
25181 return 0;
25182}
25183_ACEOF
25184rm -f conftest.$ac_objext conftest$ac_exeext
25185if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25186 (eval $ac_link) 2>conftest.er1
a848cd7e 25187 ac_status=$?
ac1cb8d3
VS
25188 grep -v '^ *+' conftest.er1 >conftest.err
25189 rm -f conftest.er1
25190 cat conftest.err >&5
a848cd7e
SC
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); } &&
fc480dc1
DE
25193 { ac_try='test -z "$ac_c_werror_flag"
25194 || test ! -s conftest.err'
ac1cb8d3
VS
25195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25196 (eval $ac_try) 2>&5
25197 ac_status=$?
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; } &&
25200 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25203 ac_status=$?
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 ac_cv_func_remove=yes
25207else
25208 echo "$as_me: failed program was:" >&5
25209sed 's/^/| /' conftest.$ac_ext >&5
25210
25211ac_cv_func_remove=no
25212fi
ac1cb8d3
VS
25213rm -f conftest.err conftest.$ac_objext \
25214 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25215fi
25216echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25217echo "${ECHO_T}$ac_cv_func_remove" >&6
25218
25219 if test $ac_cv_func_remove = no; then
25220 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25221echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25222if test "${ac_cv_lib_posix_remove+set}" = set; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25224else
25225 ac_check_lib_save_LIBS=$LIBS
25226LIBS="-lposix $LIBS"
25227cat >conftest.$ac_ext <<_ACEOF
25228/* confdefs.h. */
25229_ACEOF
25230cat confdefs.h >>conftest.$ac_ext
25231cat >>conftest.$ac_ext <<_ACEOF
25232/* end confdefs.h. */
25233
25234/* Override any gcc2 internal prototype to avoid an error. */
25235#ifdef __cplusplus
25236extern "C"
25237#endif
25238/* We use char because int might match the return type of a gcc2
25239 builtin and then its argument prototype would still apply. */
25240char remove ();
25241int
25242main ()
25243{
25244remove ();
25245 ;
25246 return 0;
25247}
25248_ACEOF
25249rm -f conftest.$ac_objext conftest$ac_exeext
25250if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25251 (eval $ac_link) 2>conftest.er1
a848cd7e 25252 ac_status=$?
ac1cb8d3
VS
25253 grep -v '^ *+' conftest.er1 >conftest.err
25254 rm -f conftest.er1
25255 cat conftest.err >&5
a848cd7e
SC
25256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25257 (exit $ac_status); } &&
fc480dc1
DE
25258 { ac_try='test -z "$ac_c_werror_flag"
25259 || test ! -s conftest.err'
ac1cb8d3
VS
25260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25261 (eval $ac_try) 2>&5
25262 ac_status=$?
25263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264 (exit $ac_status); }; } &&
25265 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25267 (eval $ac_try) 2>&5
25268 ac_status=$?
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); }; }; then
25271 ac_cv_lib_posix_remove=yes
25272else
25273 echo "$as_me: failed program was:" >&5
25274sed 's/^/| /' conftest.$ac_ext >&5
25275
25276ac_cv_lib_posix_remove=no
25277fi
ac1cb8d3
VS
25278rm -f conftest.err conftest.$ac_objext \
25279 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25280LIBS=$ac_check_lib_save_LIBS
25281fi
25282echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25283echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25284if test $ac_cv_lib_posix_remove = yes; then
25285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25286fi
25287
25288 fi
25289
25290 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25291 echo "$as_me:$LINENO: checking for shmat" >&5
25292echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25293if test "${ac_cv_func_shmat+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25295else
25296 cat >conftest.$ac_ext <<_ACEOF
25297/* confdefs.h. */
25298_ACEOF
25299cat confdefs.h >>conftest.$ac_ext
25300cat >>conftest.$ac_ext <<_ACEOF
25301/* end confdefs.h. */
ac1cb8d3
VS
25302/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25304#define shmat innocuous_shmat
25305
a848cd7e
SC
25306/* System header to define __stub macros and hopefully few prototypes,
25307 which can conflict with char shmat (); below.
25308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25309 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 25310
a848cd7e
SC
25311#ifdef __STDC__
25312# include <limits.h>
25313#else
25314# include <assert.h>
25315#endif
ac1cb8d3
VS
25316
25317#undef shmat
25318
a848cd7e
SC
25319/* Override any gcc2 internal prototype to avoid an error. */
25320#ifdef __cplusplus
25321extern "C"
25322{
25323#endif
25324/* We use char because int might match the return type of a gcc2
25325 builtin and then its argument prototype would still apply. */
25326char shmat ();
25327/* The GNU C library defines this for functions which it implements
25328 to always fail with ENOSYS. Some functions are actually named
25329 something starting with __ and the normal name is an alias. */
25330#if defined (__stub_shmat) || defined (__stub___shmat)
25331choke me
25332#else
25333char (*f) () = shmat;
25334#endif
25335#ifdef __cplusplus
25336}
25337#endif
25338
25339int
25340main ()
25341{
25342return f != shmat;
25343 ;
25344 return 0;
25345}
25346_ACEOF
25347rm -f conftest.$ac_objext conftest$ac_exeext
25348if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25349 (eval $ac_link) 2>conftest.er1
a848cd7e 25350 ac_status=$?
ac1cb8d3
VS
25351 grep -v '^ *+' conftest.er1 >conftest.err
25352 rm -f conftest.er1
25353 cat conftest.err >&5
a848cd7e
SC
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); } &&
fc480dc1
DE
25356 { ac_try='test -z "$ac_c_werror_flag"
25357 || test ! -s conftest.err'
ac1cb8d3
VS
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25360 ac_status=$?
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; } &&
25363 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25366 ac_status=$?
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; }; then
25369 ac_cv_func_shmat=yes
25370else
25371 echo "$as_me: failed program was:" >&5
25372sed 's/^/| /' conftest.$ac_ext >&5
25373
25374ac_cv_func_shmat=no
25375fi
ac1cb8d3
VS
25376rm -f conftest.err conftest.$ac_objext \
25377 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25378fi
25379echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25380echo "${ECHO_T}$ac_cv_func_shmat" >&6
25381
25382 if test $ac_cv_func_shmat = no; then
25383 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25384echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25385if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25386 echo $ECHO_N "(cached) $ECHO_C" >&6
25387else
25388 ac_check_lib_save_LIBS=$LIBS
25389LIBS="-lipc $LIBS"
25390cat >conftest.$ac_ext <<_ACEOF
25391/* confdefs.h. */
25392_ACEOF
25393cat confdefs.h >>conftest.$ac_ext
25394cat >>conftest.$ac_ext <<_ACEOF
25395/* end confdefs.h. */
25396
25397/* Override any gcc2 internal prototype to avoid an error. */
25398#ifdef __cplusplus
25399extern "C"
25400#endif
25401/* We use char because int might match the return type of a gcc2
25402 builtin and then its argument prototype would still apply. */
25403char shmat ();
25404int
25405main ()
25406{
25407shmat ();
25408 ;
25409 return 0;
25410}
25411_ACEOF
25412rm -f conftest.$ac_objext conftest$ac_exeext
25413if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25414 (eval $ac_link) 2>conftest.er1
a848cd7e 25415 ac_status=$?
ac1cb8d3
VS
25416 grep -v '^ *+' conftest.er1 >conftest.err
25417 rm -f conftest.er1
25418 cat conftest.err >&5
a848cd7e
SC
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); } &&
fc480dc1
DE
25421 { ac_try='test -z "$ac_c_werror_flag"
25422 || test ! -s conftest.err'
ac1cb8d3
VS
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; } &&
25428 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25431 ac_status=$?
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; }; then
25434 ac_cv_lib_ipc_shmat=yes
25435else
25436 echo "$as_me: failed program was:" >&5
25437sed 's/^/| /' conftest.$ac_ext >&5
25438
25439ac_cv_lib_ipc_shmat=no
25440fi
ac1cb8d3
VS
25441rm -f conftest.err conftest.$ac_objext \
25442 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25443LIBS=$ac_check_lib_save_LIBS
25444fi
25445echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25446echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25447if test $ac_cv_lib_ipc_shmat = yes; then
25448 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25449fi
25450
25451 fi
25452 fi
25453
25454 # Check for libraries that X11R6 Xt/Xaw programs need.
25455 ac_save_LDFLAGS=$LDFLAGS
25456 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25457 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25458 # check for ICE first), but we must link in the order -lSM -lICE or
25459 # we get undefined symbols. So assume we have SM if we have ICE.
25460 # These have to be linked with before -lX11, unlike the other
25461 # libraries we check for below, so use a different variable.
25462 # John Interrante, Karl Berry
25463 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25464echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25465if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25467else
25468 ac_check_lib_save_LIBS=$LIBS
25469LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25470cat >conftest.$ac_ext <<_ACEOF
25471/* confdefs.h. */
25472_ACEOF
25473cat confdefs.h >>conftest.$ac_ext
25474cat >>conftest.$ac_ext <<_ACEOF
25475/* end confdefs.h. */
25476
25477/* Override any gcc2 internal prototype to avoid an error. */
25478#ifdef __cplusplus
25479extern "C"
25480#endif
25481/* We use char because int might match the return type of a gcc2
25482 builtin and then its argument prototype would still apply. */
25483char IceConnectionNumber ();
25484int
25485main ()
25486{
25487IceConnectionNumber ();
25488 ;
25489 return 0;
25490}
25491_ACEOF
25492rm -f conftest.$ac_objext conftest$ac_exeext
25493if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25494 (eval $ac_link) 2>conftest.er1
a848cd7e 25495 ac_status=$?
ac1cb8d3
VS
25496 grep -v '^ *+' conftest.er1 >conftest.err
25497 rm -f conftest.er1
25498 cat conftest.err >&5
a848cd7e
SC
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); } &&
fc480dc1
DE
25501 { ac_try='test -z "$ac_c_werror_flag"
25502 || test ! -s conftest.err'
ac1cb8d3
VS
25503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25504 (eval $ac_try) 2>&5
25505 ac_status=$?
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); }; } &&
25508 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510 (eval $ac_try) 2>&5
25511 ac_status=$?
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); }; }; then
25514 ac_cv_lib_ICE_IceConnectionNumber=yes
25515else
25516 echo "$as_me: failed program was:" >&5
25517sed 's/^/| /' conftest.$ac_ext >&5
25518
25519ac_cv_lib_ICE_IceConnectionNumber=no
25520fi
ac1cb8d3
VS
25521rm -f conftest.err conftest.$ac_objext \
25522 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25523LIBS=$ac_check_lib_save_LIBS
25524fi
25525echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25526echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25527if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25528 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25529fi
25530
25531 LDFLAGS=$ac_save_LDFLAGS
25532
25533fi
25534
25535
25536 if test "$no_x" = "yes"; then
25537 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25538echo "$as_me: error: X11 not found" >&2;}
25539 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25540 fi
25541
74b84332
VS
25542 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25543 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
a848cd7e
SC
25544 AFMINSTALL=afminstall
25545 COMPILED_X_PROGRAM=0
25546
74b84332
VS
25547 fi
25548
25549 if test "$wxUSE_X11" = 1; then
a848cd7e
SC
25550 if test "$wxUSE_NANOX" = "yes"; then
25551 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25552echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25553 if test "x$MICROWIN" = x ; then
25554 echo "$as_me:$LINENO: result: not found" >&5
25555echo "${ECHO_T}not found" >&6
25556 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25557echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25558 { (exit 1); exit 1; }; }
25559 else
25560 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25561echo "${ECHO_T}$MICROWIN" >&6
25562 cat >>confdefs.h <<\_ACEOF
25563#define wxUSE_NANOX 1
25564_ACEOF
25565
25566 fi
25567 fi
25568
25569 if test "$wxUSE_UNICODE" = "yes"; then
25570
25571 succeeded=no
25572
25573 if test -z "$PKG_CONFIG"; then
25574 # Extract the first word of "pkg-config", so it can be a program name with args.
25575set dummy pkg-config; ac_word=$2
25576echo "$as_me:$LINENO: checking for $ac_word" >&5
25577echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25578if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25580else
25581 case $PKG_CONFIG in
25582 [\\/]* | ?:[\\/]*)
25583 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25584 ;;
25585 *)
25586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25587for as_dir in $PATH
25588do
25589 IFS=$as_save_IFS
25590 test -z "$as_dir" && as_dir=.
25591 for ac_exec_ext in '' $ac_executable_extensions; do
25592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25593 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25595 break 2
25596 fi
25597done
25598done
25599
25600 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25601 ;;
25602esac
25603fi
25604PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25605
25606if test -n "$PKG_CONFIG"; then
25607 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25608echo "${ECHO_T}$PKG_CONFIG" >&6
25609else
25610 echo "$as_me:$LINENO: result: no" >&5
25611echo "${ECHO_T}no" >&6
25612fi
25613
25614 fi
25615
25616 if test "$PKG_CONFIG" = "no" ; then
25617 echo "*** The pkg-config script could not be found. Make sure it is"
25618 echo "*** in your path, or set the PKG_CONFIG environment variable"
25619 echo "*** to the full path to pkg-config."
25620 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25621 else
25622 PKG_CONFIG_MIN_VERSION=0.9.0
25623 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25624 echo "$as_me:$LINENO: checking for pangox" >&5
25625echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25626
25627 if $PKG_CONFIG --exists "pangox" ; then
25628 echo "$as_me:$LINENO: result: yes" >&5
25629echo "${ECHO_T}yes" >&6
25630 succeeded=yes
25631
25632 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25633echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25634 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25635 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25636echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25637
25638 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25639echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25640 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25641 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25642echo "${ECHO_T}$PANGOX_LIBS" >&6
25643 else
25644 PANGOX_CFLAGS=""
25645 PANGOX_LIBS=""
25646 ## If we have a custom action on failure, don't print errors, but
25647 ## do set a variable so people can do so.
25648 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25649
25650 fi
25651
25652
25653
25654 else
25655 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25656 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25657 fi
25658 fi
25659
25660 if test $succeeded = yes; then
25661
25662 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25664
25665 else
25666
25667 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25668echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25669 { (exit 1); exit 1; }; }
25670
25671
25672 fi
25673
25674
25675 succeeded=no
25676
25677 if test -z "$PKG_CONFIG"; then
25678 # Extract the first word of "pkg-config", so it can be a program name with args.
25679set dummy pkg-config; ac_word=$2
25680echo "$as_me:$LINENO: checking for $ac_word" >&5
25681echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25682if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25684else
25685 case $PKG_CONFIG in
25686 [\\/]* | ?:[\\/]*)
25687 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25688 ;;
25689 *)
25690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25691for as_dir in $PATH
25692do
25693 IFS=$as_save_IFS
25694 test -z "$as_dir" && as_dir=.
25695 for ac_exec_ext in '' $ac_executable_extensions; do
25696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25697 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25699 break 2
25700 fi
25701done
25702done
25703
25704 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25705 ;;
25706esac
25707fi
25708PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25709
25710if test -n "$PKG_CONFIG"; then
25711 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25712echo "${ECHO_T}$PKG_CONFIG" >&6
25713else
25714 echo "$as_me:$LINENO: result: no" >&5
25715echo "${ECHO_T}no" >&6
25716fi
25717
25718 fi
25719
25720 if test "$PKG_CONFIG" = "no" ; then
25721 echo "*** The pkg-config script could not be found. Make sure it is"
25722 echo "*** in your path, or set the PKG_CONFIG environment variable"
25723 echo "*** to the full path to pkg-config."
25724 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25725 else
25726 PKG_CONFIG_MIN_VERSION=0.9.0
25727 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25728 echo "$as_me:$LINENO: checking for pangoft2" >&5
25729echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25730
25731 if $PKG_CONFIG --exists "pangoft2" ; then
25732 echo "$as_me:$LINENO: result: yes" >&5
25733echo "${ECHO_T}yes" >&6
25734 succeeded=yes
25735
25736 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25737echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25738 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25739 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25740echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25741
25742 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25743echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25744 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25745 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25746echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25747 else
25748 PANGOFT2_CFLAGS=""
25749 PANGOFT2_LIBS=""
25750 ## If we have a custom action on failure, don't print errors, but
25751 ## do set a variable so people can do so.
25752 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25753
25754 fi
25755
25756
25757
25758 else
25759 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25760 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25761 fi
25762 fi
25763
25764 if test $succeeded = yes; then
25765
25766 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25767 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25768
25769 else
25770
25771 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25772echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25773 wxUSE_PRINTING_ARCHITECTURE="no"
25774
25775
25776 fi
25777
25778
25779 succeeded=no
25780
25781 if test -z "$PKG_CONFIG"; then
25782 # Extract the first word of "pkg-config", so it can be a program name with args.
25783set dummy pkg-config; ac_word=$2
25784echo "$as_me:$LINENO: checking for $ac_word" >&5
25785echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25786if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25788else
25789 case $PKG_CONFIG in
25790 [\\/]* | ?:[\\/]*)
25791 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25792 ;;
25793 *)
25794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25795for as_dir in $PATH
25796do
25797 IFS=$as_save_IFS
25798 test -z "$as_dir" && as_dir=.
25799 for ac_exec_ext in '' $ac_executable_extensions; do
25800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25801 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25803 break 2
25804 fi
25805done
25806done
25807
25808 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25809 ;;
25810esac
25811fi
25812PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25813
25814if test -n "$PKG_CONFIG"; then
25815 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25816echo "${ECHO_T}$PKG_CONFIG" >&6
25817else
25818 echo "$as_me:$LINENO: result: no" >&5
25819echo "${ECHO_T}no" >&6
25820fi
25821
25822 fi
25823
25824 if test "$PKG_CONFIG" = "no" ; then
25825 echo "*** The pkg-config script could not be found. Make sure it is"
25826 echo "*** in your path, or set the PKG_CONFIG environment variable"
25827 echo "*** to the full path to pkg-config."
25828 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25829 else
25830 PKG_CONFIG_MIN_VERSION=0.9.0
25831 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25832 echo "$as_me:$LINENO: checking for pangoxft" >&5
25833echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25834
25835 if $PKG_CONFIG --exists "pangoxft" ; then
25836 echo "$as_me:$LINENO: result: yes" >&5
25837echo "${ECHO_T}yes" >&6
25838 succeeded=yes
25839
25840 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25841echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25842 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25843 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25844echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25845
25846 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25847echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25848 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25849 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25850echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25851 else
25852 PANGOXFT_CFLAGS=""
25853 PANGOXFT_LIBS=""
25854 ## If we have a custom action on failure, don't print errors, but
25855 ## do set a variable so people can do so.
25856 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25857
25858 fi
25859
25860
25861
25862 else
25863 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25864 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25865 fi
25866 fi
25867
25868 if test $succeeded = yes; then
25869
25870 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25871 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25872
25873 else
25874
25875 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25876echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25877
25878
25879 fi
25880
304205f1
VS
25881 save_CFLAGS="$CFLAGS"
25882 save_LIBS="$LIBS"
25883 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25884 LIBS="$LIBS $PANGOX_LIBS"
25885
25886for ac_func in pango_font_family_is_monospace
25887do
25888as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25889echo "$as_me:$LINENO: checking for $ac_func" >&5
25890echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25891if eval "test \"\${$as_ac_var+set}\" = set"; then
25892 echo $ECHO_N "(cached) $ECHO_C" >&6
25893else
25894 cat >conftest.$ac_ext <<_ACEOF
25895/* confdefs.h. */
25896_ACEOF
25897cat confdefs.h >>conftest.$ac_ext
25898cat >>conftest.$ac_ext <<_ACEOF
25899/* end confdefs.h. */
25900/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25902#define $ac_func innocuous_$ac_func
25903
25904/* System header to define __stub macros and hopefully few prototypes,
25905 which can conflict with char $ac_func (); below.
25906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25907 <limits.h> exists even on freestanding compilers. */
25908
25909#ifdef __STDC__
25910# include <limits.h>
25911#else
25912# include <assert.h>
25913#endif
25914
25915#undef $ac_func
25916
25917/* Override any gcc2 internal prototype to avoid an error. */
25918#ifdef __cplusplus
25919extern "C"
25920{
25921#endif
25922/* We use char because int might match the return type of a gcc2
25923 builtin and then its argument prototype would still apply. */
25924char $ac_func ();
25925/* The GNU C library defines this for functions which it implements
25926 to always fail with ENOSYS. Some functions are actually named
25927 something starting with __ and the normal name is an alias. */
25928#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25929choke me
25930#else
25931char (*f) () = $ac_func;
25932#endif
25933#ifdef __cplusplus
25934}
25935#endif
25936
25937int
25938main ()
25939{
25940return f != $ac_func;
25941 ;
25942 return 0;
25943}
25944_ACEOF
25945rm -f conftest.$ac_objext conftest$ac_exeext
25946if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25947 (eval $ac_link) 2>conftest.er1
25948 ac_status=$?
25949 grep -v '^ *+' conftest.er1 >conftest.err
25950 rm -f conftest.er1
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } &&
fc480dc1
DE
25954 { ac_try='test -z "$ac_c_werror_flag"
25955 || test ! -s conftest.err'
304205f1
VS
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25958 ac_status=$?
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; } &&
25961 { ac_try='test -s conftest$ac_exeext'
25962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25963 (eval $ac_try) 2>&5
25964 ac_status=$?
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); }; }; then
25967 eval "$as_ac_var=yes"
25968else
25969 echo "$as_me: failed program was:" >&5
25970sed 's/^/| /' conftest.$ac_ext >&5
25971
25972eval "$as_ac_var=no"
25973fi
25974rm -f conftest.err conftest.$ac_objext \
25975 conftest$ac_exeext conftest.$ac_ext
25976fi
25977echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25978echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25979if test `eval echo '${'$as_ac_var'}'` = yes; then
25980 cat >>confdefs.h <<_ACEOF
25981#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25982_ACEOF
25983
25984fi
25985done
25986
25987 CFLAGS="$save_CFLAGS"
25988 LIBS="$save_LIBS"
a848cd7e
SC
25989 fi
25990
25991 wxUSE_UNIVERSAL="yes"
25992
25993 if test "$wxUSE_NANOX" = "yes"; then
25994 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25995 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"
25996 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25997 else
25998 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25999 fi
26000
a848cd7e
SC
26001 TOOLKIT=X11
26002 GUIDIST=X11_DIST
26003 fi
26004
26005 if test "$wxUSE_MOTIF" = 1; then
74b84332
VS
26006 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26007echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
a848cd7e 26008
74b84332
VS
26009ac_find_includes=
26010for ac_dir in $SEARCH_INCLUDE /usr/include;
26011 do
26012 if test -f "$ac_dir/Xm/Xm.h"; then
26013 ac_find_includes=$ac_dir
26014 break
26015 fi
26016 done
a848cd7e 26017
74b84332
VS
26018 if test "$ac_find_includes" != "" ; then
26019 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26020echo "${ECHO_T}found in $ac_find_includes" >&6
26021
26022 if test "x$ac_find_includes" = "x/usr/include"; then
26023 ac_path_to_include=""
26024 else
26025 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26026 result=$?
26027 if test $result = 0; then
26028 ac_path_to_include=""
26029 else
26030 ac_path_to_include=" -I$ac_find_includes"
26031 fi
a848cd7e
SC
26032 fi
26033
74b84332
VS
26034 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26035 else
26036 cat >conftest.$ac_ext <<_ACEOF
a848cd7e
SC
26037/* confdefs.h. */
26038_ACEOF
26039cat confdefs.h >>conftest.$ac_ext
26040cat >>conftest.$ac_ext <<_ACEOF
26041/* end confdefs.h. */
26042
74b84332
VS
26043 #include <Xm/Xm.h>
26044
a848cd7e
SC
26045int
26046main ()
26047{
26048
74b84332
VS
26049 int version;
26050 version = xmUseVersion;
26051
a848cd7e
SC
26052 ;
26053 return 0;
26054}
26055_ACEOF
74b84332
VS
26056rm -f conftest.$ac_objext
26057if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26058 (eval $ac_compile) 2>conftest.er1
a848cd7e 26059 ac_status=$?
ac1cb8d3
VS
26060 grep -v '^ *+' conftest.er1 >conftest.err
26061 rm -f conftest.er1
26062 cat conftest.err >&5
a848cd7e
SC
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } &&
fc480dc1
DE
26065 { ac_try='test -z "$ac_c_werror_flag"
26066 || test ! -s conftest.err'
ac1cb8d3
VS
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26069 ac_status=$?
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; } &&
74b84332 26072 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26075 ac_status=$?
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; }; then
74b84332
VS
26078
26079 echo "$as_me:$LINENO: result: found in default search path" >&5
26080echo "${ECHO_T}found in default search path" >&6
26081 COMPILED_X_PROGRAM=1
26082
a848cd7e
SC
26083else
26084 echo "$as_me: failed program was:" >&5
26085sed 's/^/| /' conftest.$ac_ext >&5
26086
a848cd7e 26087
74b84332
VS
26088 echo "$as_me:$LINENO: result: no" >&5
26089echo "${ECHO_T}no" >&6
26090 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26091echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26092 { (exit 1); exit 1; }; }
a848cd7e 26093
a848cd7e 26094
a848cd7e 26095fi
74b84332
VS
26096rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26097 fi
26098
26099 if test "$COMPILED_X_PROGRAM" = 0; then
26100 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26101echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26102
26103ac_find_libraries=
26104for ac_dir in $SEARCH_LIB /usr/lib;
26105 do
26106 for ac_extension in a so sl dylib; do
26107 if test -f "$ac_dir/libXm.$ac_extension"; then
26108 ac_find_libraries=$ac_dir
26109 break 2
a848cd7e 26110 fi
74b84332
VS
26111 done
26112 done
a848cd7e 26113
74b84332
VS
26114 if test "$ac_find_libraries" != "" ; then
26115 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26116echo "${ECHO_T}found at $ac_find_libraries" >&6
a848cd7e 26117
74b84332
VS
26118
26119 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26120 result=$?
26121 if test $result = 0; then
26122 ac_path_to_link=""
a848cd7e 26123 else
74b84332
VS
26124 ac_path_to_link=" -L$ac_find_libraries"
26125 fi
26126
26127 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26128 else
26129 save_CFLAGS=$CFLAGS
26130 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26131
26132 cat >conftest.$ac_ext <<_ACEOF
a848cd7e
SC
26133/* confdefs.h. */
26134_ACEOF
26135cat confdefs.h >>conftest.$ac_ext
26136cat >>conftest.$ac_ext <<_ACEOF
26137/* end confdefs.h. */
26138
74b84332
VS
26139 #include <Xm/Xm.h>
26140
a848cd7e
SC
26141int
26142main ()
26143{
74b84332
VS
26144
26145 int version;
26146 version = xmUseVersion;
26147
a848cd7e
SC
26148 ;
26149 return 0;
26150}
26151_ACEOF
74b84332
VS
26152rm -f conftest.$ac_objext
26153if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26154 (eval $ac_compile) 2>conftest.er1
a848cd7e 26155 ac_status=$?
ac1cb8d3
VS
26156 grep -v '^ *+' conftest.er1 >conftest.err
26157 rm -f conftest.er1
26158 cat conftest.err >&5
a848cd7e
SC
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } &&
fc480dc1
DE
26161 { ac_try='test -z "$ac_c_werror_flag"
26162 || test ! -s conftest.err'
ac1cb8d3
VS
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); }; } &&
74b84332 26168 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
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
74b84332
VS
26174
26175 echo "$as_me:$LINENO: result: found in default search path" >&5
26176echo "${ECHO_T}found in default search path" >&6
26177 COMPILED_X_PROGRAM=1
26178
a848cd7e
SC
26179else
26180 echo "$as_me: failed program was:" >&5
26181sed 's/^/| /' conftest.$ac_ext >&5
26182
74b84332
VS
26183
26184 echo "$as_me:$LINENO: result: no" >&5
26185echo "${ECHO_T}no" >&6
26186 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26187echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26188 { (exit 1); exit 1; }; }
26189
26190
26191fi
26192rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26193
26194 CFLAGS=$save_CFLAGS
26195 fi
26196 fi
26197
26198 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26199echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26200 libp_link=""
26201 libsm_ice_link=""
26202 libs_found=0
26203 for libp in "" " -lXp"; do
26204 if test "$libs_found" = "0"; then
26205 for libsm_ice in "" " -lSM -lICE"; do
26206 if test "$libs_found" = "0"; then
26207 save_LIBS="$LIBS"
26208 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26209 save_CFLAGS=$CFLAGS
26210 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26211
26212 cat >conftest.$ac_ext <<_ACEOF
a848cd7e
SC
26213/* confdefs.h. */
26214_ACEOF
26215cat confdefs.h >>conftest.$ac_ext
26216cat >>conftest.$ac_ext <<_ACEOF
26217/* end confdefs.h. */
26218
74b84332
VS
26219 #include <Xm/Xm.h>
26220 #include <Xm/List.h>
26221
a848cd7e
SC
26222int
26223main ()
26224{
74b84332
VS
26225
26226 XmString string = NULL;
26227 Widget w = NULL;
26228 int position = 0;
26229 XmListAddItem(w, string, position);
26230
a848cd7e
SC
26231 ;
26232 return 0;
26233}
26234_ACEOF
26235rm -f conftest.$ac_objext conftest$ac_exeext
26236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26237 (eval $ac_link) 2>conftest.er1
a848cd7e 26238 ac_status=$?
ac1cb8d3
VS
26239 grep -v '^ *+' conftest.er1 >conftest.err
26240 rm -f conftest.er1
26241 cat conftest.err >&5
a848cd7e
SC
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); } &&
fc480dc1
DE
26244 { ac_try='test -z "$ac_c_werror_flag"
26245 || test ! -s conftest.err'
ac1cb8d3
VS
26246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26247 (eval $ac_try) 2>&5
26248 ac_status=$?
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); }; } &&
26251 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26253 (eval $ac_try) 2>&5
26254 ac_status=$?
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); }; }; then
26257
26258 libp_link="$libp"
26259 libsm_ice_link="$libsm_ice"
26260 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26261echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26262 libs_found=1
26263
26264else
26265 echo "$as_me: failed program was:" >&5
26266sed 's/^/| /' conftest.$ac_ext >&5
26267
26268
26269
26270fi
ac1cb8d3
VS
26271rm -f conftest.err conftest.$ac_objext \
26272 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26273
26274 LIBS="$save_LIBS"
26275 CFLAGS=$save_CFLAGS
26276 fi
26277 done
26278 fi
26279 done
26280
26281 if test "$libs_found" = "0"; then
26282 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26283echo "${ECHO_T}can't find the right libraries" >&6
26284 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26285echo "$as_me: error: can't link a simple motif program" >&2;}
26286 { (exit 1); exit 1; }; }
26287 fi
26288
26289 save_CFLAGS=$CFLAGS
26290 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26291 echo "$as_me:$LINENO: checking for Motif 2" >&5
26292echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26293 cat >conftest.$ac_ext <<_ACEOF
26294/* confdefs.h. */
26295_ACEOF
26296cat confdefs.h >>conftest.$ac_ext
26297cat >>conftest.$ac_ext <<_ACEOF
26298/* end confdefs.h. */
26299
26300 #include <Xm/Xm.h>
26301
26302int
26303main ()
26304{
26305
26306 #if XmVersion < 2000
26307 #error "Not Motif 2"
26308 #endif
26309
26310 ;
26311 return 0;
26312}
26313_ACEOF
26314rm -f conftest.$ac_objext
26315if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26316 (eval $ac_compile) 2>conftest.er1
a848cd7e 26317 ac_status=$?
ac1cb8d3
VS
26318 grep -v '^ *+' conftest.er1 >conftest.err
26319 rm -f conftest.er1
26320 cat conftest.err >&5
a848cd7e
SC
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); } &&
fc480dc1
DE
26323 { ac_try='test -z "$ac_c_werror_flag"
26324 || test ! -s conftest.err'
ac1cb8d3
VS
26325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26326 (eval $ac_try) 2>&5
26327 ac_status=$?
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); }; } &&
26330 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26332 (eval $ac_try) 2>&5
26333 ac_status=$?
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); }; }; then
26336
26337 cat >>confdefs.h <<\_ACEOF
26338#define __WXMOTIF20__ 1
26339_ACEOF
26340
26341 echo "$as_me:$LINENO: result: found" >&5
26342echo "${ECHO_T}found" >&6
26343
26344else
26345 echo "$as_me: failed program was:" >&5
26346sed 's/^/| /' conftest.$ac_ext >&5
26347
26348
26349 cat >>confdefs.h <<\_ACEOF
26350#define __WXMOTIF20__ 0
26351_ACEOF
26352
26353 echo "$as_me:$LINENO: result: not found" >&5
26354echo "${ECHO_T}not found" >&6
26355
26356fi
ac1cb8d3 26357rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26358 CFLAGS=$save_CFLAGS
26359
26360 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
a848cd7e
SC
26361 TOOLKIT=MOTIF
26362 GUIDIST=MOTIF_DIST
26363 fi
26364
74b84332 26365 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
a848cd7e
SC
26366 if test "$wxUSE_LIBXPM" = "sys"; then
26367 echo "$as_me:$LINENO: checking for Xpm library" >&5
26368echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26369
26370ac_find_libraries=
26371for ac_dir in $SEARCH_LIB /usr/lib;
26372 do
26373 for ac_extension in a so sl dylib; do
26374 if test -f "$ac_dir/libXpm.$ac_extension"; then
26375 ac_find_libraries=$ac_dir
26376 break 2
26377 fi
26378 done
26379 done
26380
26381 if test "$ac_find_libraries" != "" ; then
26382
26383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26384 result=$?
26385 if test $result = 0; then
26386 ac_path_to_link=""
26387 else
26388 ac_path_to_link=" -L$ac_find_libraries"
26389 fi
26390
26391 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26392 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26393echo "${ECHO_T}found at $ac_find_libraries" >&6
26394
26395 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26396echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26397if test "${wx_cv_x11_xpm_h+set}" = set; then
26398 echo $ECHO_N "(cached) $ECHO_C" >&6
26399else
26400
26401 save_CFLAGS=$CFLAGS
26402 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26403
26404 cat >conftest.$ac_ext <<_ACEOF
26405/* confdefs.h. */
26406_ACEOF
26407cat confdefs.h >>conftest.$ac_ext
26408cat >>conftest.$ac_ext <<_ACEOF
26409/* end confdefs.h. */
26410
26411 #include <X11/xpm.h>
26412
26413int
26414main ()
26415{
26416
26417 int version;
26418 version = XpmLibraryVersion();
26419
26420 ;
26421 return 0;
26422}
26423_ACEOF
26424rm -f conftest.$ac_objext
26425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26426 (eval $ac_compile) 2>conftest.er1
a848cd7e 26427 ac_status=$?
ac1cb8d3
VS
26428 grep -v '^ *+' conftest.er1 >conftest.err
26429 rm -f conftest.er1
26430 cat conftest.err >&5
a848cd7e
SC
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); } &&
fc480dc1
DE
26433 { ac_try='test -z "$ac_c_werror_flag"
26434 || test ! -s conftest.err'
ac1cb8d3
VS
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; } &&
26440 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26443 ac_status=$?
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; }; then
26446 wx_cv_x11_xpm_h=yes
26447else
26448 echo "$as_me: failed program was:" >&5
26449sed 's/^/| /' conftest.$ac_ext >&5
26450
26451wx_cv_x11_xpm_h=no
26452
26453fi
ac1cb8d3 26454rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26455
26456 CFLAGS=$save_CFLAGS
26457
26458
26459fi
26460echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26461echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26462
26463 if test $wx_cv_x11_xpm_h = "yes"; then
26464 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26465 cat >>confdefs.h <<\_ACEOF
26466#define wxHAVE_LIB_XPM 1
26467_ACEOF
26468
26469 else
26470 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26471echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26472 fi
26473 fi
26474
26475 fi
26476
26477 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26478echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26479if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26480 echo $ECHO_N "(cached) $ECHO_C" >&6
26481else
26482 ac_check_lib_save_LIBS=$LIBS
26483LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26484cat >conftest.$ac_ext <<_ACEOF
26485/* confdefs.h. */
26486_ACEOF
26487cat confdefs.h >>conftest.$ac_ext
26488cat >>conftest.$ac_ext <<_ACEOF
26489/* end confdefs.h. */
26490
26491/* Override any gcc2 internal prototype to avoid an error. */
26492#ifdef __cplusplus
26493extern "C"
26494#endif
26495/* We use char because int might match the return type of a gcc2
26496 builtin and then its argument prototype would still apply. */
26497char XShapeQueryExtension ();
26498int
26499main ()
26500{
26501XShapeQueryExtension ();
26502 ;
26503 return 0;
26504}
26505_ACEOF
26506rm -f conftest.$ac_objext conftest$ac_exeext
26507if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26508 (eval $ac_link) 2>conftest.er1
a848cd7e 26509 ac_status=$?
ac1cb8d3
VS
26510 grep -v '^ *+' conftest.er1 >conftest.err
26511 rm -f conftest.er1
26512 cat conftest.err >&5
a848cd7e
SC
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } &&
fc480dc1
DE
26515 { ac_try='test -z "$ac_c_werror_flag"
26516 || test ! -s conftest.err'
ac1cb8d3
VS
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26519 ac_status=$?
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; } &&
26522 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524 (eval $ac_try) 2>&5
26525 ac_status=$?
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; }; then
26528 ac_cv_lib_Xext_XShapeQueryExtension=yes
26529else
26530 echo "$as_me: failed program was:" >&5
26531sed 's/^/| /' conftest.$ac_ext >&5
26532
26533ac_cv_lib_Xext_XShapeQueryExtension=no
26534fi
ac1cb8d3
VS
26535rm -f conftest.err conftest.$ac_objext \
26536 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26537LIBS=$ac_check_lib_save_LIBS
26538fi
26539echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26540echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26541if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26542
26543 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26544 wxHAVE_XEXT_LIB=1
26545
26546fi
26547
26548
26549 if test "$wxHAVE_XEXT_LIB" = 1; then
26550 save_CFLAGS="$CFLAGS"
26551 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26552
26553 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26554echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26555 cat >conftest.$ac_ext <<_ACEOF
26556/* confdefs.h. */
26557_ACEOF
26558cat confdefs.h >>conftest.$ac_ext
26559cat >>conftest.$ac_ext <<_ACEOF
26560/* end confdefs.h. */
26561
26562 #include <X11/Xlib.h>
26563 #include <X11/extensions/shape.h>
26564
26565int
26566main ()
26567{
26568
26569 int dummy1, dummy2;
26570 XShapeQueryExtension((Display*)NULL,
26571 (int*)NULL, (int*)NULL);
26572
26573 ;
26574 return 0;
26575}
26576_ACEOF
26577rm -f conftest.$ac_objext
26578if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26579 (eval $ac_compile) 2>conftest.er1
a848cd7e 26580 ac_status=$?
ac1cb8d3
VS
26581 grep -v '^ *+' conftest.er1 >conftest.err
26582 rm -f conftest.er1
26583 cat conftest.err >&5
a848cd7e
SC
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } &&
fc480dc1
DE
26586 { ac_try='test -z "$ac_c_werror_flag"
26587 || test ! -s conftest.err'
ac1cb8d3
VS
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26590 ac_status=$?
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; } &&
26593 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 (eval $ac_try) 2>&5
26596 ac_status=$?
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); }; }; then
26599
26600 cat >>confdefs.h <<\_ACEOF
26601#define HAVE_XSHAPE 1
26602_ACEOF
26603
26604 echo "$as_me:$LINENO: result: found" >&5
26605echo "${ECHO_T}found" >&6
26606
26607else
26608 echo "$as_me: failed program was:" >&5
26609sed 's/^/| /' conftest.$ac_ext >&5
26610
26611
26612 echo "$as_me:$LINENO: result: not found" >&5
26613echo "${ECHO_T}not found" >&6
26614
26615fi
ac1cb8d3 26616rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26617 CFLAGS="$save_CFLAGS"
26618
26619 fi
26620 fi
26621
26622 if test "$wxUSE_MAC" = 1; then
26623 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26624echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26625 if test "$GCC" = yes; then
26626 echo "$as_me:$LINENO: result: gcc" >&5
26627echo "${ECHO_T}gcc" >&6
26628 CPPFLAGS_PASCAL="-fpascal-strings"
26629 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26630 echo "$as_me:$LINENO: result: xlc" >&5
26631echo "${ECHO_T}xlc" >&6
26632 CPPFLAGS_PASCAL="-qmacpstr"
26633 else
26634 echo "$as_me:$LINENO: result: none" >&5
26635echo "${ECHO_T}none" >&6
26636 fi
26637
26638 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26639
a848cd7e
SC
26640 TOOLKIT=MAC
26641 GUIDIST=MACX_DIST
dd21ced8 26642 WXBASEPORT="_carbon"
a848cd7e
SC
26643 fi
26644
26645 if test "$wxUSE_COCOA" = 1; then
a848cd7e
SC
26646 TOOLKIT=COCOA
26647 GUIDIST=COCOA_DIST
26648 fi
26649
26650 if test "$wxUSE_PM" = 1; then
26651 TOOLKIT=PM
de59c161
RD
26652 GUIDIST=PM_DIST
26653 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26654echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26655if test "${wx_cv_spbcdata+set}" = set; then
26656 echo $ECHO_N "(cached) $ECHO_C" >&6
26657else
26658
26659 cat >conftest.$ac_ext <<_ACEOF
de59c161
RD
26660/* confdefs.h. */
26661_ACEOF
26662cat confdefs.h >>conftest.$ac_ext
26663cat >>conftest.$ac_ext <<_ACEOF
26664/* end confdefs.h. */
26665
26666 #define INCL_PM
26667 #include <os2.h>
26668
26669int
26670main ()
26671{
26672
26673 SPBCDATA test;
26674
26675 ;
26676 return 0;
26677}
26678_ACEOF
26679rm -f conftest.$ac_objext
26680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26681 (eval $ac_compile) 2>conftest.er1
de59c161 26682 ac_status=$?
ac1cb8d3
VS
26683 grep -v '^ *+' conftest.er1 >conftest.err
26684 rm -f conftest.er1
26685 cat conftest.err >&5
de59c161
RD
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
fc480dc1
DE
26688 { ac_try='test -z "$ac_c_werror_flag"
26689 || test ! -s conftest.err'
ac1cb8d3
VS
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26692 ac_status=$?
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; } &&
26695 { ac_try='test -s conftest.$ac_objext'
de59c161
RD
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26698 ac_status=$?
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; }; then
26701 wx_cv_spbcdata=yes
26702else
26703 echo "$as_me: failed program was:" >&5
26704sed 's/^/| /' conftest.$ac_ext >&5
26705
26706wx_cv_spbcdata=no
26707
26708fi
ac1cb8d3 26709rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
de59c161
RD
26710
26711
26712fi
26713echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26714echo "${ECHO_T}$wx_cv_spbcdata" >&6
26715
26716 if test $wx_cv_spbcdata = "yes"; then
26717 cat >>confdefs.h <<\_ACEOF
26718#define HAVE_SPBCDATA 1
26719_ACEOF
26720
26721 fi
a848cd7e
SC
26722 fi
26723
26724 if test "$TOOLKIT" = "PM" ; then
26725 TOOLKIT_DIR="os2"
26726 else
26727 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26728 fi
26729
a848cd7e 26730 if test "$wxUSE_UNIVERSAL" = "yes"; then
a848cd7e
SC
26731 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26732 WIDGET_SET=univ
a848cd7e
SC
26733 fi
26734
26735 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26736 DISTDIR="wx\$(TOOLKIT)"
26737else
26738 USE_GUI=0
26739
26740 TOOLKIT_DIR="base"
26741
26742 if test "$USE_WIN32" = 1 ; then
a848cd7e 26743 TOOLKIT="MSW"
a848cd7e
SC
26744 fi
26745
a848cd7e
SC
26746 GUIDIST="BASE_DIST"
26747 DISTDIR="wxBase"
26748fi
26749
26750
26751
26752
26753IODBC_C_SRC=""
26754
26755
26756if test "$TOOLKIT" != "MSW" ; then
26757
26758 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26759
26760 if test "${ac_cv_header_sql_h+set}" = set; then
26761 echo "$as_me:$LINENO: checking for sql.h" >&5
26762echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26763if test "${ac_cv_header_sql_h+set}" = set; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26765fi
26766echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26767echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26768else
26769 # Is the header compilable?
26770echo "$as_me:$LINENO: checking sql.h usability" >&5
26771echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26772cat >conftest.$ac_ext <<_ACEOF
26773/* confdefs.h. */
26774_ACEOF
26775cat confdefs.h >>conftest.$ac_ext
26776cat >>conftest.$ac_ext <<_ACEOF
26777/* end confdefs.h. */
26778$ac_includes_default
26779#include <sql.h>
26780_ACEOF
26781rm -f conftest.$ac_objext
26782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26783 (eval $ac_compile) 2>conftest.er1
a848cd7e 26784 ac_status=$?
ac1cb8d3
VS
26785 grep -v '^ *+' conftest.er1 >conftest.err
26786 rm -f conftest.er1
26787 cat conftest.err >&5
a848cd7e
SC
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } &&
fc480dc1
DE
26790 { ac_try='test -z "$ac_c_werror_flag"
26791 || test ! -s conftest.err'
ac1cb8d3
VS
26792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26793 (eval $ac_try) 2>&5
26794 ac_status=$?
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); }; } &&
26797 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26800 ac_status=$?
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; }; then
26803 ac_header_compiler=yes
26804else
26805 echo "$as_me: failed program was:" >&5
26806sed 's/^/| /' conftest.$ac_ext >&5
26807
26808ac_header_compiler=no
26809fi
ac1cb8d3 26810rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26811echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26812echo "${ECHO_T}$ac_header_compiler" >&6
26813
26814# Is the header present?
26815echo "$as_me:$LINENO: checking sql.h presence" >&5
26816echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26817cat >conftest.$ac_ext <<_ACEOF
26818/* confdefs.h. */
26819_ACEOF
26820cat confdefs.h >>conftest.$ac_ext
26821cat >>conftest.$ac_ext <<_ACEOF
26822/* end confdefs.h. */
26823#include <sql.h>
26824_ACEOF
26825if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26827 ac_status=$?
26828 grep -v '^ *+' conftest.er1 >conftest.err
26829 rm -f conftest.er1
26830 cat conftest.err >&5
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); } >/dev/null; then
26833 if test -s conftest.err; then
26834 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 26835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
26836 else
26837 ac_cpp_err=
26838 fi
26839else
26840 ac_cpp_err=yes
26841fi
26842if test -z "$ac_cpp_err"; then
26843 ac_header_preproc=yes
26844else
26845 echo "$as_me: failed program was:" >&5
26846sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_header_preproc=no
26849fi
26850rm -f conftest.err conftest.$ac_ext
26851echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26852echo "${ECHO_T}$ac_header_preproc" >&6
26853
26854# So? What about this header?
ac1cb8d3
VS
26855case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26856 yes:no: )
a848cd7e
SC
26857 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26858echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
26859 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26860echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26861 ac_header_preproc=yes
a848cd7e 26862 ;;
ac1cb8d3 26863 no:yes:* )
a848cd7e
SC
26864 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26865echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
26866 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26867echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26868 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26869echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26870 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26871echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
26872 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26873echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
26874 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26875echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
26876 (
26877 cat <<\_ASBOX
ac1cb8d3
VS
26878## ----------------------------------------- ##
26879## Report this to wx-dev@lists.wxwidgets.org ##
26880## ----------------------------------------- ##
a848cd7e
SC
26881_ASBOX
26882 ) |
26883 sed "s/^/$as_me: WARNING: /" >&2
26884 ;;
26885esac
26886echo "$as_me:$LINENO: checking for sql.h" >&5
26887echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26888if test "${ac_cv_header_sql_h+set}" = set; then
26889 echo $ECHO_N "(cached) $ECHO_C" >&6
26890else
26891 ac_cv_header_sql_h=$ac_header_preproc
26892fi
26893echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26894echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26895
26896fi
26897if test $ac_cv_header_sql_h = yes; then
26898 found_sql_h=1
26899fi
26900
26901
26902 if test "x$found_sql_h" = "x1" ; then
26903 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26904echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26905if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26907else
26908 ac_check_lib_save_LIBS=$LIBS
26909LIBS="-liodbc $LIBS"
26910cat >conftest.$ac_ext <<_ACEOF
26911/* confdefs.h. */
26912_ACEOF
26913cat confdefs.h >>conftest.$ac_ext
26914cat >>conftest.$ac_ext <<_ACEOF
26915/* end confdefs.h. */
26916
26917/* Override any gcc2 internal prototype to avoid an error. */
26918#ifdef __cplusplus
26919extern "C"
26920#endif
26921/* We use char because int might match the return type of a gcc2
26922 builtin and then its argument prototype would still apply. */
26923char SQLAllocEnv ();
26924int
26925main ()
26926{
26927SQLAllocEnv ();
26928 ;
26929 return 0;
26930}
26931_ACEOF
26932rm -f conftest.$ac_objext conftest$ac_exeext
26933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26934 (eval $ac_link) 2>conftest.er1
a848cd7e 26935 ac_status=$?
ac1cb8d3
VS
26936 grep -v '^ *+' conftest.er1 >conftest.err
26937 rm -f conftest.er1
26938 cat conftest.err >&5
a848cd7e
SC
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
fc480dc1
DE
26941 { ac_try='test -z "$ac_c_werror_flag"
26942 || test ! -s conftest.err'
ac1cb8d3
VS
26943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944 (eval $ac_try) 2>&5
26945 ac_status=$?
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); }; } &&
26948 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26950 (eval $ac_try) 2>&5
26951 ac_status=$?
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); }; }; then
26954 ac_cv_lib_iodbc_SQLAllocEnv=yes
26955else
26956 echo "$as_me: failed program was:" >&5
26957sed 's/^/| /' conftest.$ac_ext >&5
26958
26959ac_cv_lib_iodbc_SQLAllocEnv=no
26960fi
ac1cb8d3
VS
26961rm -f conftest.err conftest.$ac_objext \
26962 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26963LIBS=$ac_check_lib_save_LIBS
26964fi
26965echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26966echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26967if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26968 ODBC_LINK=" -liodbc"
26969else
26970
26971 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26972echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26973if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26974 echo $ECHO_N "(cached) $ECHO_C" >&6
26975else
26976 ac_check_lib_save_LIBS=$LIBS
26977LIBS="-lunixodbc $LIBS"
26978cat >conftest.$ac_ext <<_ACEOF
26979/* confdefs.h. */
26980_ACEOF
26981cat confdefs.h >>conftest.$ac_ext
26982cat >>conftest.$ac_ext <<_ACEOF
26983/* end confdefs.h. */
26984
26985/* Override any gcc2 internal prototype to avoid an error. */
26986#ifdef __cplusplus
26987extern "C"
26988#endif
26989/* We use char because int might match the return type of a gcc2
26990 builtin and then its argument prototype would still apply. */
26991char SQLAllocEnv ();
26992int
26993main ()
26994{
26995SQLAllocEnv ();
26996 ;
26997 return 0;
26998}
26999_ACEOF
27000rm -f conftest.$ac_objext conftest$ac_exeext
27001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 27002 (eval $ac_link) 2>conftest.er1
a848cd7e 27003 ac_status=$?
ac1cb8d3
VS
27004 grep -v '^ *+' conftest.er1 >conftest.err
27005 rm -f conftest.er1
27006 cat conftest.err >&5
a848cd7e
SC
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); } &&
fc480dc1
DE
27009 { ac_try='test -z "$ac_c_werror_flag"
27010 || test ! -s conftest.err'
ac1cb8d3
VS
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27013 ac_status=$?
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; } &&
27016 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
27017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27018 (eval $ac_try) 2>&5
27019 ac_status=$?
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); }; }; then
27022 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27023else
27024 echo "$as_me: failed program was:" >&5
27025sed 's/^/| /' conftest.$ac_ext >&5
27026
27027ac_cv_lib_unixodbc_SQLAllocEnv=no
27028fi
ac1cb8d3
VS
27029rm -f conftest.err conftest.$ac_objext \
27030 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
27031LIBS=$ac_check_lib_save_LIBS
27032fi
27033echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27034echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27035if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27036 ODBC_LINK=" -lunixodbc"
27037else
27038
27039 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27040echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27041if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27042 echo $ECHO_N "(cached) $ECHO_C" >&6
27043else
27044 ac_check_lib_save_LIBS=$LIBS
27045LIBS="-lodbc $LIBS"
27046cat >conftest.$ac_ext <<_ACEOF
27047/* confdefs.h. */
27048_ACEOF
27049cat confdefs.h >>conftest.$ac_ext
27050cat >>conftest.$ac_ext <<_ACEOF
27051/* end confdefs.h. */
27052
27053/* Override any gcc2 internal prototype to avoid an error. */
27054#ifdef __cplusplus
27055extern "C"
27056#endif
27057/* We use char because int might match the return type of a gcc2
27058 builtin and then its argument prototype would still apply. */
27059char SQLAllocEnv ();
27060int
27061main ()
27062{
27063SQLAllocEnv ();
27064 ;
27065 return 0;
27066}
27067_ACEOF
27068rm -f conftest.$ac_objext conftest$ac_exeext
27069if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 27070 (eval $ac_link) 2>conftest.er1
a848cd7e 27071 ac_status=$?
ac1cb8d3
VS
27072 grep -v '^ *+' conftest.er1 >conftest.err
27073 rm -f conftest.er1
27074 cat conftest.err >&5
a848cd7e
SC
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } &&
fc480dc1
DE
27077 { ac_try='test -z "$ac_c_werror_flag"
27078 || test ! -s conftest.err'
ac1cb8d3
VS
27079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080 (eval $ac_try) 2>&5
27081 ac_status=$?
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; } &&
27084 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27087 ac_status=$?
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 ac_cv_lib_odbc_SQLAllocEnv=yes
27091else
27092 echo "$as_me: failed program was:" >&5
27093sed 's/^/| /' conftest.$ac_ext >&5
27094
27095ac_cv_lib_odbc_SQLAllocEnv=no
27096fi
ac1cb8d3
VS
27097rm -f conftest.err conftest.$ac_objext \
27098 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
27099LIBS=$ac_check_lib_save_LIBS
27100fi
27101echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27102echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27103if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27104 ODBC_LINK=" -lodbc"
27105fi
27106
27107
27108fi
27109
27110
27111fi
27112
27113 fi
27114 if test "x$ODBC_LINK" = "x" ; then
27115 if test "$wxUSE_ODBC" = "sys" ; then
27116 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27117echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27118 { (exit 1); exit 1; }; }
27119 else
27120 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27121echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27122 wxUSE_ODBC=builtin
27123 fi
27124 else
27125 wxUSE_ODBC=sys
27126 fi
27127 fi
27128 if test "$wxUSE_ODBC" != "no" ; then
27129 cat >>confdefs.h <<\_ACEOF
27130#define wxUSE_ODBC 1
27131_ACEOF
27132
27133 if test "$wxUSE_ODBC" = "builtin" ; then
27134 cat >>confdefs.h <<\_ACEOF
27135#define wxUSE_BUILTIN_IODBC 1
27136_ACEOF
27137
27138 fi
27139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27140
27141 WXODBCFLAG="-D_IODBC_"
27142 fi
27143fi
27144
a848cd7e 27145
01cb68df 27146
a848cd7e 27147if test "$wxUSE_DISPLAY" = "yes"; then
2a5d7a98 27148 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
a848cd7e
SC
27149 echo "$as_me:$LINENO: checking for Xinerama" >&5
27150echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27151
27152ac_find_libraries=
27153for ac_dir in $SEARCH_LIB /usr/lib;
27154 do
27155 for ac_extension in a so sl dylib; do
27156 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27157 ac_find_libraries=$ac_dir
27158 break 2
27159 fi
27160 done
27161 done
27162
27163 if test "$ac_find_libraries" != "" ; then
27164
27165 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27166 result=$?
27167 if test $result = 0; then
27168 ac_path_to_link=""
27169 else
27170 ac_path_to_link=" -L$ac_find_libraries"
27171 fi
27172
27173 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27174 LDFLAGS="$LDFLAGS $ac_path_to_link"
27175 fi
27176 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27177 echo "$as_me:$LINENO: result: yes" >&5
27178echo "${ECHO_T}yes" >&6
27179
27180 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27181echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27182
27183ac_find_libraries=
27184for ac_dir in $SEARCH_LIB /usr/lib;
27185 do
27186 for ac_extension in a so sl dylib; do
27187 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27188 ac_find_libraries=$ac_dir
27189 break 2
27190 fi
27191 done
27192 done
27193
27194 if test "$ac_find_libraries" != "" ; then
27195 echo "$as_me:$LINENO: result: yes" >&5
27196echo "${ECHO_T}yes" >&6
27197
27198for ac_header in X11/extensions/xf86vmode.h
27199do
27200as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27201echo "$as_me:$LINENO: checking for $ac_header" >&5
27202echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27203if eval "test \"\${$as_ac_Header+set}\" = set"; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27205else
27206 cat >conftest.$ac_ext <<_ACEOF
27207/* confdefs.h. */
27208_ACEOF
27209cat confdefs.h >>conftest.$ac_ext
27210cat >>conftest.$ac_ext <<_ACEOF
27211/* end confdefs.h. */
27212
27213 #if HAVE_X11_XLIB_H
27214 #include <X11/Xlib.h>
27215 #endif
27216
27217
27218#include <$ac_header>
27219_ACEOF
27220rm -f conftest.$ac_objext
27221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 27222 (eval $ac_compile) 2>conftest.er1
a848cd7e 27223 ac_status=$?
ac1cb8d3
VS
27224 grep -v '^ *+' conftest.er1 >conftest.err
27225 rm -f conftest.er1
27226 cat conftest.err >&5
a848cd7e
SC
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); } &&
fc480dc1
DE
27229 { ac_try='test -z "$ac_c_werror_flag"
27230 || test ! -s conftest.err'
ac1cb8d3
VS
27231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232 (eval $ac_try) 2>&5
27233 ac_status=$?
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); }; } &&
27236 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
27237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27238 (eval $ac_try) 2>&5
27239 ac_status=$?
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); }; }; then
27242 eval "$as_ac_Header=yes"
27243else
27244 echo "$as_me: failed program was:" >&5
27245sed 's/^/| /' conftest.$ac_ext >&5
27246
27247eval "$as_ac_Header=no"
27248fi
ac1cb8d3 27249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
27250fi
27251echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27252echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27253if test `eval echo '${'$as_ac_Header'}'` = yes; then
27254 cat >>confdefs.h <<_ACEOF
27255#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27256_ACEOF
27257
27258 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27259
27260fi
27261
27262done
27263
27264 else
27265 echo "$as_me:$LINENO: result: no" >&5
27266echo "${ECHO_T}no" >&6
27267 fi
27268
27269 else
27270 echo "$as_me:$LINENO: result: no" >&5
27271echo "${ECHO_T}no" >&6
dcc1b6ad
VS
27272 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27273echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
a848cd7e
SC
27274 wxUSE_DISPLAY="no"
27275 fi
01cb68df
RG
27276 elif test "$wxUSE_MSW" = 1; then
27277
27278
27279for ac_header in multimon.h ddraw.h
27280do
27281as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27282if eval "test \"\${$as_ac_Header+set}\" = set"; then
27283 echo "$as_me:$LINENO: checking for $ac_header" >&5
27284echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27285if eval "test \"\${$as_ac_Header+set}\" = set"; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27287fi
27288echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27289echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27290else
27291 # Is the header compilable?
27292echo "$as_me:$LINENO: checking $ac_header usability" >&5
27293echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27294cat >conftest.$ac_ext <<_ACEOF
27295/* confdefs.h. */
27296_ACEOF
27297cat confdefs.h >>conftest.$ac_ext
27298cat >>conftest.$ac_ext <<_ACEOF
27299/* end confdefs.h. */
27300$ac_includes_default
27301#include <$ac_header>
27302_ACEOF
27303rm -f conftest.$ac_objext
27304if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 27305 (eval $ac_compile) 2>conftest.er1
01cb68df 27306 ac_status=$?
ac1cb8d3
VS
27307 grep -v '^ *+' conftest.er1 >conftest.err
27308 rm -f conftest.er1
27309 cat conftest.err >&5
01cb68df
RG
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } &&
fc480dc1
DE
27312 { ac_try='test -z "$ac_c_werror_flag"
27313 || test ! -s conftest.err'
ac1cb8d3
VS
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27316 ac_status=$?
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; } &&
27319 { ac_try='test -s conftest.$ac_objext'
01cb68df
RG
27320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27321 (eval $ac_try) 2>&5
27322 ac_status=$?
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); }; }; then
27325 ac_header_compiler=yes
27326else
27327 echo "$as_me: failed program was:" >&5
27328sed 's/^/| /' conftest.$ac_ext >&5
27329
27330ac_header_compiler=no
27331fi
ac1cb8d3 27332rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
01cb68df
RG
27333echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27334echo "${ECHO_T}$ac_header_compiler" >&6
27335
27336# Is the header present?
27337echo "$as_me:$LINENO: checking $ac_header presence" >&5
27338echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27339cat >conftest.$ac_ext <<_ACEOF
27340/* confdefs.h. */
27341_ACEOF
27342cat confdefs.h >>conftest.$ac_ext
27343cat >>conftest.$ac_ext <<_ACEOF
27344/* end confdefs.h. */
27345#include <$ac_header>
27346_ACEOF
27347if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27349 ac_status=$?
27350 grep -v '^ *+' conftest.er1 >conftest.err
27351 rm -f conftest.er1
27352 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } >/dev/null; then
27355 if test -s conftest.err; then
27356 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 27357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
01cb68df
RG
27358 else
27359 ac_cpp_err=
27360 fi
27361else
27362 ac_cpp_err=yes
27363fi
27364if test -z "$ac_cpp_err"; then
27365 ac_header_preproc=yes
27366else
27367 echo "$as_me: failed program was:" >&5
27368sed 's/^/| /' conftest.$ac_ext >&5
27369
27370 ac_header_preproc=no
27371fi
27372rm -f conftest.err conftest.$ac_ext
27373echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27374echo "${ECHO_T}$ac_header_preproc" >&6
27375
27376# So? What about this header?
ac1cb8d3
VS
27377case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27378 yes:no: )
01cb68df
RG
27379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27380echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
27381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27382echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27383 ac_header_preproc=yes
01cb68df 27384 ;;
ac1cb8d3 27385 no:yes:* )
01cb68df
RG
27386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27387echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
27388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27389echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27391echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27393echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
01cb68df
RG
27394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27395echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
27396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27397echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
01cb68df
RG
27398 (
27399 cat <<\_ASBOX
ac1cb8d3
VS
27400## ----------------------------------------- ##
27401## Report this to wx-dev@lists.wxwidgets.org ##
27402## ----------------------------------------- ##
01cb68df
RG
27403_ASBOX
27404 ) |
27405 sed "s/^/$as_me: WARNING: /" >&2
27406 ;;
27407esac
27408echo "$as_me:$LINENO: checking for $ac_header" >&5
27409echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27410if eval "test \"\${$as_ac_Header+set}\" = set"; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27412else
ac1cb8d3 27413 eval "$as_ac_Header=\$ac_header_preproc"
01cb68df
RG
27414fi
27415echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27416echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27417
27418fi
27419if test `eval echo '${'$as_ac_Header'}'` = yes; then
27420 cat >>confdefs.h <<_ACEOF
27421#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27422_ACEOF
27423
27424else
27425
27426 wxUSE_DISPLAY="no"
dcc1b6ad
VS
27427 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27428echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
01cb68df
RG
27429
27430fi
27431
27432done
27433
a848cd7e
SC
27434 fi
27435fi
27436
27437
3b57de8b
RL
27438if test "$wxUSE_MEDIACTRL" = "yes"; then
27439 if test "$wxUSE_MSW" = 1; then
27440 wxUSE_DIRECTSHOW="yes"
27441
27442for ac_header in dshow.h
27443do
27444as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27445if eval "test \"\${$as_ac_Header+set}\" = set"; then
27446 echo "$as_me:$LINENO: checking for $ac_header" >&5
27447echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27448if eval "test \"\${$as_ac_Header+set}\" = set"; then
27449 echo $ECHO_N "(cached) $ECHO_C" >&6
27450fi
27451echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27452echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27453else
27454 # Is the header compilable?
27455echo "$as_me:$LINENO: checking $ac_header usability" >&5
27456echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27457cat >conftest.$ac_ext <<_ACEOF
27458/* confdefs.h. */
27459_ACEOF
27460cat confdefs.h >>conftest.$ac_ext
27461cat >>conftest.$ac_ext <<_ACEOF
27462/* end confdefs.h. */
27463$ac_includes_default
27464#include <$ac_header>
27465_ACEOF
27466rm -f conftest.$ac_objext
27467if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27468 (eval $ac_compile) 2>conftest.er1
27469 ac_status=$?
27470 grep -v '^ *+' conftest.er1 >conftest.err
27471 rm -f conftest.er1
27472 cat conftest.err >&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); } &&
fc480dc1
DE
27475 { ac_try='test -z "$ac_c_werror_flag"
27476 || test ! -s conftest.err'
3b57de8b
RL
27477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27478 (eval $ac_try) 2>&5
27479 ac_status=$?
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); }; } &&
27482 { ac_try='test -s conftest.$ac_objext'
27483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27484 (eval $ac_try) 2>&5
27485 ac_status=$?
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; }; then
27488 ac_header_compiler=yes
27489else
27490 echo "$as_me: failed program was:" >&5
27491sed 's/^/| /' conftest.$ac_ext >&5
27492
27493ac_header_compiler=no
27494fi
27495rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27496echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27497echo "${ECHO_T}$ac_header_compiler" >&6
27498
27499# Is the header present?
27500echo "$as_me:$LINENO: checking $ac_header presence" >&5
27501echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27502cat >conftest.$ac_ext <<_ACEOF
27503/* confdefs.h. */
27504_ACEOF
27505cat confdefs.h >>conftest.$ac_ext
27506cat >>conftest.$ac_ext <<_ACEOF
27507/* end confdefs.h. */
27508#include <$ac_header>
27509_ACEOF
27510if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27512 ac_status=$?
27513 grep -v '^ *+' conftest.er1 >conftest.err
27514 rm -f conftest.er1
27515 cat conftest.err >&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); } >/dev/null; then
27518 if test -s conftest.err; then
27519 ac_cpp_err=$ac_c_preproc_warn_flag
27520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27521 else
27522 ac_cpp_err=
27523 fi
27524else
27525 ac_cpp_err=yes
27526fi
27527if test -z "$ac_cpp_err"; then
27528 ac_header_preproc=yes
27529else
27530 echo "$as_me: failed program was:" >&5
27531sed 's/^/| /' conftest.$ac_ext >&5
27532
27533 ac_header_preproc=no
27534fi
27535rm -f conftest.err conftest.$ac_ext
27536echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27537echo "${ECHO_T}$ac_header_preproc" >&6
27538
27539# So? What about this header?
27540case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27541 yes:no: )
27542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27543echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27545echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27546 ac_header_preproc=yes
27547 ;;
27548 no:yes:* )
27549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27550echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27552echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27554echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27556echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27558echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27560echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27561 (
27562 cat <<\_ASBOX
27563## ----------------------------------------- ##
27564## Report this to wx-dev@lists.wxwidgets.org ##
27565## ----------------------------------------- ##
27566_ASBOX
27567 ) |
27568 sed "s/^/$as_me: WARNING: /" >&2
27569 ;;
27570esac
27571echo "$as_me:$LINENO: checking for $ac_header" >&5
27572echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27573if eval "test \"\${$as_ac_Header+set}\" = set"; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27575else
27576 eval "$as_ac_Header=\$ac_header_preproc"
27577fi
27578echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27579echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27580
27581fi
27582if test `eval echo '${'$as_ac_Header'}'` = yes; then
27583 cat >>confdefs.h <<_ACEOF
27584#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27585_ACEOF
27586
27587else
27588
27589 wxUSE_DIRECTSHOW="no"
27590 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27591echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27592
27593fi
27594
27595done
27596
27597
27598 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27599 cat >>confdefs.h <<\_ACEOF
27600#define wxUSE_DIRECTSHOW 1
27601_ACEOF
27602
27603 LIBS="$LIBS -lstrmiids"
a98bf0c0 27604 fi
3b57de8b 27605 fi
7e4a1c28
RN
27606
27607 cat >>confdefs.h <<\_ACEOF
27608#define wxUSE_MEDIACTRL 1
27609_ACEOF
27610
3b57de8b
RL
27611fi
27612
27613
a848cd7e
SC
27614USE_OPENGL=0
27615if test "$wxUSE_OPENGL" = "yes"; then
27616 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27617 OPENGL_LIBS="-framework OpenGL -framework AGL"
27618 elif test "$wxUSE_MSW" = 1; then
27619 OPENGL_LIBS="-lopengl32 -lglu32"
27620 else
27621
27622
27623ac_find_includes=
27624for ac_dir in $SEARCH_INCLUDE /usr/include;
27625 do
27626 if test -f "$ac_dir/GL/gl.h"; then
27627 ac_find_includes=$ac_dir
27628 break
27629 fi
27630 done
27631
27632 if test "$ac_find_includes" != "" ; then
27633 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27634echo "${ECHO_T}found in $ac_find_includes" >&6
27635
27636 if test "x$ac_find_includes" = "x/usr/include"; then
27637 ac_path_to_include=""
27638 else
27639 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27640 result=$?
27641 if test $result = 0; then
27642 ac_path_to_include=""
27643 else
27644 ac_path_to_include=" -I$ac_find_includes"
27645 fi
27646 fi
27647
27648 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27649 fi
27650
27651 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27652 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27653echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27654if test "${ac_cv_header_GL_gl_h+set}" = set; then
27655 echo $ECHO_N "(cached) $ECHO_C" >&6
27656fi
27657echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27658echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27659else
27660 # Is the header compilable?
27661echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27662echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27663cat >conftest.$ac_ext <<_ACEOF
27664/* confdefs.h. */
27665_ACEOF
27666cat confdefs.h >>conftest.$ac_ext
27667cat >>conftest.$ac_ext <<_ACEOF
27668/* end confdefs.h. */
27669$ac_includes_default
27670#include <GL/gl.h>
27671_ACEOF
27672rm -f conftest.$ac_objext
27673if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 27674 (eval $ac_compile) 2>conftest.er1
a848cd7e 27675 ac_status=$?
ac1cb8d3
VS
27676 grep -v '^ *+' conftest.er1 >conftest.err
27677 rm -f conftest.er1
27678 cat conftest.err >&5
a848cd7e
SC
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); } &&
fc480dc1
DE
27681 { ac_try='test -z "$ac_c_werror_flag"
27682 || test ! -s conftest.err'
ac1cb8d3
VS
27683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27684 (eval $ac_try) 2>&5
27685 ac_status=$?
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); }; } &&
27688 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
27689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27690 (eval $ac_try) 2>&5
27691 ac_status=$?
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); }; }; then
27694 ac_header_compiler=yes
27695else
27696 echo "$as_me: failed program was:" >&5
27697sed 's/^/| /' conftest.$ac_ext >&5
27698
27699ac_header_compiler=no
27700fi
ac1cb8d3 27701rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
27702echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27703echo "${ECHO_T}$ac_header_compiler" >&6
27704
27705# Is the header present?
27706echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27707echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27708cat >conftest.$ac_ext <<_ACEOF
27709/* confdefs.h. */
27710_ACEOF
27711cat confdefs.h >>conftest.$ac_ext
27712cat >>conftest.$ac_ext <<_ACEOF
27713/* end confdefs.h. */
27714#include <GL/gl.h>
27715_ACEOF
27716if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } >/dev/null; then
27724 if test -s conftest.err; then
27725 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 27726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
27727 else
27728 ac_cpp_err=
27729 fi
27730else
27731 ac_cpp_err=yes
27732fi
27733if test -z "$ac_cpp_err"; then
27734 ac_header_preproc=yes
27735else
27736 echo "$as_me: failed program was:" >&5
27737sed 's/^/| /' conftest.$ac_ext >&5
27738
27739 ac_header_preproc=no
27740fi
27741rm -f conftest.err conftest.$ac_ext
27742echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27743echo "${ECHO_T}$ac_header_preproc" >&6
27744
27745# So? What about this header?
ac1cb8d3
VS
27746case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27747 yes:no: )
a848cd7e
SC
27748 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27749echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
27750 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27751echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27752 ac_header_preproc=yes
a848cd7e 27753 ;;
ac1cb8d3 27754 no:yes:* )
a848cd7e
SC
27755 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27756echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
27757 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27758echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27759 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27760echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27761 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27762echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
27763 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27764echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
27765 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27766echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
27767 (
27768 cat <<\_ASBOX
ac1cb8d3
VS
27769## ----------------------------------------- ##
27770## Report this to wx-dev@lists.wxwidgets.org ##
27771## ----------------------------------------- ##
a848cd7e
SC
27772_ASBOX
27773 ) |
27774 sed "s/^/$as_me: WARNING: /" >&2
27775 ;;
27776esac
27777echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27778echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27779if test "${ac_cv_header_GL_gl_h+set}" = set; then
27780 echo $ECHO_N "(cached) $ECHO_C" >&6
27781else
27782 ac_cv_header_GL_gl_h=$ac_header_preproc
27783fi
27784echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27785echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27786
27787fi
27788if test $ac_cv_header_GL_gl_h = yes; then
27789
27790 found_gl=0
27791
27792 echo "$as_me:$LINENO: checking for -lGL" >&5
27793echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27794
27795ac_find_libraries=
27796for ac_dir in $SEARCH_LIB /usr/lib;
27797 do
27798 for ac_extension in a so sl dylib; do
27799 if test -f "$ac_dir/libGL.$ac_extension"; then
27800 ac_find_libraries=$ac_dir
27801 break 2
27802 fi
27803 done
27804 done
27805
27806 if test "$ac_find_libraries" != "" ; then
27807
27808 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27809 result=$?
27810 if test $result = 0; then
27811 ac_path_to_link=""
27812 else
27813 ac_path_to_link=" -L$ac_find_libraries"
27814 fi
27815
27816 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27817 LDFLAGS_GL="$ac_path_to_link"
27818 fi
27819
27820
27821ac_find_libraries=
27822for ac_dir in $SEARCH_LIB /usr/lib;
27823 do
27824 for ac_extension in a so sl dylib; do
27825 if test -f "$ac_dir/libGLU.$ac_extension"; then
27826 ac_find_libraries=$ac_dir
27827 break 2
27828 fi
27829 done
27830 done
27831
27832 if test "$ac_find_libraries" != "" ; then
27833
27834 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27835 result=$?
27836 if test $result = 0; then
27837 ac_path_to_link=""
27838 else
27839 ac_path_to_link=" -L$ac_find_libraries"
27840 fi
27841
27842 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27843 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27844 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27845 fi
27846
27847 found_gl=1
27848 OPENGL_LIBS="-lGL -lGLU"
27849 echo "$as_me:$LINENO: result: yes" >&5
27850echo "${ECHO_T}yes" >&6
27851 fi
27852 fi
27853
27854 if test "$found_gl" != 1; then
27855 echo "$as_me:$LINENO: result: no" >&5
27856echo "${ECHO_T}no" >&6
27857 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27858echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27859
27860ac_find_libraries=
27861for ac_dir in $SEARCH_LIB /usr/lib;
27862 do
27863 for ac_extension in a so sl dylib; do
27864 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27865 ac_find_libraries=$ac_dir
27866 break 2
27867 fi
27868 done
27869 done
27870
27871 if test "$ac_find_libraries" != "" ; then
27872
27873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27874 result=$?
27875 if test $result = 0; then
27876 ac_path_to_link=""
27877 else
27878 ac_path_to_link=" -L$ac_find_libraries"
27879 fi
27880
27881 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27882 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27883 echo "$as_me:$LINENO: result: yes" >&5
27884echo "${ECHO_T}yes" >&6
27885 else
27886 echo "$as_me:$LINENO: result: no" >&5
27887echo "${ECHO_T}no" >&6
27888 fi
27889 fi
27890
27891fi
27892
27893
27894
27895 if test "x$OPENGL_LIBS" = "x"; then
27896 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27897echo "$as_me: error: OpenGL libraries not available" >&2;}
27898 { (exit 1); exit 1; }; }
27899 fi
27900 fi
27901
27902 if test "$wxUSE_OPENGL" = "yes"; then
27903 USE_OPENGL=1
27904 cat >>confdefs.h <<\_ACEOF
27905#define wxUSE_OPENGL 1
27906_ACEOF
27907
27908 cat >>confdefs.h <<\_ACEOF
27909#define wxUSE_GLCANVAS 1
27910_ACEOF
27911
27912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27913 fi
27914fi
27915
a848cd7e
SC
27916
27917if test -n "$TOOLKIT" ; then
27918 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27919fi
27920
a848cd7e
SC
27921
27922
27923if test "$wxUSE_SHARED" = "yes"; then
27924 case "${host}" in
27925 *-pc-msdosdjgpp )
27926 wxUSE_SHARED=no
27927 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27928echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27929 ;;
27930 esac
27931fi
27932
a848cd7e 27933if test "$wxUSE_SHARED" = "yes"; then
a848cd7e
SC
27934
27935
27936 found_versioning=no
27937
27938
27939 if test $found_versioning = no ; then
27940 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27941echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27942if test "${wx_cv_version_script+set}" = set; then
27943 echo $ECHO_N "(cached) $ECHO_C" >&6
27944else
27945
27946 echo "VER_1 { *; };" >conftest.sym
27947 echo "int main() { return 0; }" >conftest.cpp
27948
27949 if { ac_try='
27950 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27951 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } ; then
27957 if test -s conftest.stderr ; then
27958 wx_cv_version_script=no
27959 else
27960 wx_cv_version_script=yes
27961 fi
27962 else
27963 wx_cv_version_script=no
27964 fi
27965 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27966
27967fi
27968echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27969echo "${ECHO_T}$wx_cv_version_script" >&6
27970 if test $wx_cv_version_script = yes ; then
27971 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27972 fi
27973 fi
27974
27975
27976 case "${host}" in
27977 *-*-linux* | *-*-gnu* )
27978 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
ffa0583f 27979 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
a848cd7e
SC
27980 ;;
27981
27982 *-*-solaris2* )
27983 if test "$GCC" = yes ; then
27984 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27985
27986 saveLdflags="$LDFLAGS"
27987 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27988 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27989echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27990 cat >conftest.$ac_ext <<_ACEOF
27991/* confdefs.h. */
27992_ACEOF
27993cat confdefs.h >>conftest.$ac_ext
27994cat >>conftest.$ac_ext <<_ACEOF
27995/* end confdefs.h. */
27996
27997int
27998main ()
27999{
28000
28001 ;
28002 return 0;
28003}
28004_ACEOF
28005rm -f conftest.$ac_objext conftest$ac_exeext
28006if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28007 (eval $ac_link) 2>conftest.er1
a848cd7e 28008 ac_status=$?
ac1cb8d3
VS
28009 grep -v '^ *+' conftest.er1 >conftest.err
28010 rm -f conftest.er1
28011 cat conftest.err >&5
a848cd7e
SC
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); } &&
fc480dc1
DE
28014 { ac_try='test -z "$ac_c_werror_flag"
28015 || test ! -s conftest.err'
ac1cb8d3
VS
28016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28017 (eval $ac_try) 2>&5
28018 ac_status=$?
28019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); }; } &&
28021 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
28022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28023 (eval $ac_try) 2>&5
28024 ac_status=$?
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; }; then
28027
28028 echo "$as_me:$LINENO: result: yes" >&5
28029echo "${ECHO_T}yes" >&6
28030 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
ffa0583f 28031 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
a848cd7e
SC
28032
28033else
28034 echo "$as_me: failed program was:" >&5
28035sed 's/^/| /' conftest.$ac_ext >&5
28036
28037
28038 echo "$as_me:$LINENO: result: no" >&5
28039echo "${ECHO_T}no" >&6
28040 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28041echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28042 LDFLAGS="$saveLdflags -Wl,-R,/"
28043 cat >conftest.$ac_ext <<_ACEOF
28044/* confdefs.h. */
28045_ACEOF
28046cat confdefs.h >>conftest.$ac_ext
28047cat >>conftest.$ac_ext <<_ACEOF
28048/* end confdefs.h. */
28049
28050int
28051main ()
28052{
28053
28054 ;
28055 return 0;
28056}
28057_ACEOF
28058rm -f conftest.$ac_objext conftest$ac_exeext
28059if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28060 (eval $ac_link) 2>conftest.er1
a848cd7e 28061 ac_status=$?
ac1cb8d3
VS
28062 grep -v '^ *+' conftest.er1 >conftest.err
28063 rm -f conftest.er1
28064 cat conftest.err >&5
a848cd7e
SC
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
fc480dc1
DE
28067 { ac_try='test -z "$ac_c_werror_flag"
28068 || test ! -s conftest.err'
ac1cb8d3
VS
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28071 ac_status=$?
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; } &&
28074 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
28075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076 (eval $ac_try) 2>&5
28077 ac_status=$?
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; }; then
28080
ffa0583f 28081 echo "$as_me:$LINENO: result: yes" >&5
a848cd7e 28082echo "${ECHO_T}yes" >&6
ffa0583f
RL
28083 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28084 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28085
a848cd7e
SC
28086else
28087 echo "$as_me: failed program was:" >&5
28088sed 's/^/| /' conftest.$ac_ext >&5
28089
28090
28091 echo "$as_me:$LINENO: result: no" >&5
28092echo "${ECHO_T}no" >&6
28093
28094fi
ac1cb8d3
VS
28095rm -f conftest.err conftest.$ac_objext \
28096 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
28097
28098fi
ac1cb8d3
VS
28099rm -f conftest.err conftest.$ac_objext \
28100 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
28101 LDFLAGS="$saveLdflags"
28102 else
a848cd7e 28103 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
ffa0583f 28104 WXCONFIG_RPATH="-R\$libdir"
a848cd7e
SC
28105 fi
28106 ;;
28107
28108 powerpc-*-darwin* )
28109 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28110 cat <<EOF >change-install-names
28111#!/bin/sh
28112libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28113inst_cmd="install_name_tool "
28114for i in \${libnames} ; do
28115 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28116done
28117\${inst_cmd} \${3}
28118EOF
28119 chmod +x change-install-names
28120 ;;
28121
28122 *-*-cygwin* | *-*-mingw32* )
28123 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28124 ;;
28125
28126 esac
ceec2216 28127
ffa0583f
RL
28128 if test $wxUSE_RPATH = "no"; then
28129 SAMPLES_RPATH_FLAG=''
28130 SAMPLES_RPATH_POSTLINK=''
28131 WXCONFIG_RPATH=''
28132 fi
28133
28134 SHARED=1
28135
28136else
28137
ceec2216
RL
28138 config_linkage_component="-static"
28139 SHARED=0
ffa0583f 28140
ceec2216 28141fi
a848cd7e 28142
a848cd7e 28143
ceec2216
RL
28144UNICODE=0
28145lib_unicode_suffix=
28146WX_CHARTYPE="ansi"
28147if test "$wxUSE_UNICODE" = "yes"; then
28148 lib_unicode_suffix=u
28149 WX_CHARTYPE="unicode"
28150 UNICODE=1
a848cd7e
SC
28151fi
28152
ceec2216
RL
28153lib_debug_suffix=
28154WX_DEBUGTYPE="release"
28155DEBUG_FLAG=0
28156if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28157 lib_debug_suffix=d
28158 WX_DEBUGTYPE="debug"
28159 DEBUG_FLAG=1
28160fi
a848cd7e 28161
ceec2216
RL
28162WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28163WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
a848cd7e 28164
ceec2216
RL
28165DEBUG_INFO=0
28166if test "$wxUSE_DEBUG_INFO" = "yes"; then
28167 DEBUG_INFO=1
28168fi
a848cd7e 28169
ceec2216 28170WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
a848cd7e 28171
ceec2216 28172TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
a848cd7e 28173
ceec2216 28174TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
a848cd7e 28175
ceec2216
RL
28176if test "$cross_compiling" = "yes"; then
28177 HOST_SUFFIX="-$host_alias"
28178 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28179 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
a848cd7e
SC
28180fi
28181
dd21ced8 28182WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
ceec2216
RL
28183WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28184
28185
28186
a848cd7e 28187if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
abb9aae7
VZ
28188 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28189 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
ceec2216 28190
a848cd7e 28191 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
a848cd7e
SC
28192
28193 # Extract the first word of "Rez", so it can be a program name with args.
28194set dummy Rez; ac_word=$2
28195echo "$as_me:$LINENO: checking for $ac_word" >&5
28196echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28197if test "${ac_cv_prog_RESCOMP+set}" = set; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28199else
28200 if test -n "$RESCOMP"; then
28201 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28202else
28203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28204for as_dir in $PATH
28205do
28206 IFS=$as_save_IFS
28207 test -z "$as_dir" && as_dir=.
28208 for ac_exec_ext in '' $ac_executable_extensions; do
28209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28210 ac_cv_prog_RESCOMP="Rez"
28211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28212 break 2
28213 fi
28214done
28215done
28216
28217 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28218fi
28219fi
28220RESCOMP=$ac_cv_prog_RESCOMP
28221if test -n "$RESCOMP"; then
28222 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28223echo "${ECHO_T}$RESCOMP" >&6
28224else
28225 echo "$as_me:$LINENO: result: no" >&5
28226echo "${ECHO_T}no" >&6
28227fi
28228
28229 # Extract the first word of "DeRez", so it can be a program name with args.
28230set dummy DeRez; ac_word=$2
28231echo "$as_me:$LINENO: checking for $ac_word" >&5
28232echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28233if test "${ac_cv_prog_DEREZ+set}" = set; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28235else
28236 if test -n "$DEREZ"; then
28237 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28238else
28239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28240for as_dir in $PATH
28241do
28242 IFS=$as_save_IFS
28243 test -z "$as_dir" && as_dir=.
28244 for ac_exec_ext in '' $ac_executable_extensions; do
28245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28246 ac_cv_prog_DEREZ="DeRez"
28247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28248 break 2
28249 fi
28250done
28251done
28252
28253 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28254fi
28255fi
28256DEREZ=$ac_cv_prog_DEREZ
28257if test -n "$DEREZ"; then
28258 echo "$as_me:$LINENO: result: $DEREZ" >&5
28259echo "${ECHO_T}$DEREZ" >&6
28260else
28261 echo "$as_me:$LINENO: result: no" >&5
28262echo "${ECHO_T}no" >&6
28263fi
28264
28265 # Extract the first word of "SetFile", so it can be a program name with args.
28266set dummy SetFile; ac_word=$2
28267echo "$as_me:$LINENO: checking for $ac_word" >&5
28268echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28269if test "${ac_cv_prog_SETFILE+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28271else
28272 if test -n "$SETFILE"; then
28273 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28274else
28275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28276for as_dir in $PATH
28277do
28278 IFS=$as_save_IFS
28279 test -z "$as_dir" && as_dir=.
28280 for ac_exec_ext in '' $ac_executable_extensions; do
28281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28282 ac_cv_prog_SETFILE="SetFile"
28283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28284 break 2
28285 fi
28286done
28287done
28288
28289 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28290fi
28291fi
28292SETFILE=$ac_cv_prog_SETFILE
28293if test -n "$SETFILE"; then
28294 echo "$as_me:$LINENO: result: $SETFILE" >&5
28295echo "${ECHO_T}$SETFILE" >&6
28296else
28297 echo "$as_me:$LINENO: result: no" >&5
28298echo "${ECHO_T}no" >&6
28299fi
28300
28301
28302 MACSETFILE="\$(SETFILE)"
28303
28304 if test "$wxUSE_MAC" = 1; then
28305 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28306
28307 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28308 else
28309 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28310 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28311 fi
28312else
ffa0583f
RL
28313 MACSETFILE="@true"
28314 MACRESWXCONFIG="@true"
a848cd7e
SC
28315
28316 if test "$wxUSE_PM" = 1; then
28317 MACRESCOMP="emxbind -ep"
28318 else
ffa0583f 28319 MACRESCOMP="@true"
a848cd7e
SC
28320 fi
28321fi
28322
28323
28324
28325echo "$as_me:$LINENO: checking for mode_t" >&5
28326echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28327if test "${ac_cv_type_mode_t+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28329else
28330 cat >conftest.$ac_ext <<_ACEOF
28331/* confdefs.h. */
28332_ACEOF
28333cat confdefs.h >>conftest.$ac_ext
28334cat >>conftest.$ac_ext <<_ACEOF
28335/* end confdefs.h. */
28336$ac_includes_default
28337int
28338main ()
28339{
28340if ((mode_t *) 0)
28341 return 0;
28342if (sizeof (mode_t))
28343 return 0;
28344 ;
28345 return 0;
28346}
28347_ACEOF
28348rm -f conftest.$ac_objext
28349if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28350 (eval $ac_compile) 2>conftest.er1
a848cd7e 28351 ac_status=$?
ac1cb8d3
VS
28352 grep -v '^ *+' conftest.er1 >conftest.err
28353 rm -f conftest.er1
28354 cat conftest.err >&5
a848cd7e
SC
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } &&
fc480dc1
DE
28357 { ac_try='test -z "$ac_c_werror_flag"
28358 || test ! -s conftest.err'
ac1cb8d3
VS
28359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28360 (eval $ac_try) 2>&5
28361 ac_status=$?
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); }; } &&
28364 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28366 (eval $ac_try) 2>&5
28367 ac_status=$?
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); }; }; then
28370 ac_cv_type_mode_t=yes
28371else
28372 echo "$as_me: failed program was:" >&5
28373sed 's/^/| /' conftest.$ac_ext >&5
28374
28375ac_cv_type_mode_t=no
28376fi
ac1cb8d3 28377rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28378fi
28379echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28380echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28381if test $ac_cv_type_mode_t = yes; then
28382 :
28383else
28384
28385cat >>confdefs.h <<_ACEOF
28386#define mode_t int
28387_ACEOF
28388
28389fi
28390
28391echo "$as_me:$LINENO: checking for off_t" >&5
28392echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28393if test "${ac_cv_type_off_t+set}" = set; then
28394 echo $ECHO_N "(cached) $ECHO_C" >&6
28395else
28396 cat >conftest.$ac_ext <<_ACEOF
28397/* confdefs.h. */
28398_ACEOF
28399cat confdefs.h >>conftest.$ac_ext
28400cat >>conftest.$ac_ext <<_ACEOF
28401/* end confdefs.h. */
28402$ac_includes_default
28403int
28404main ()
28405{
28406if ((off_t *) 0)
28407 return 0;
28408if (sizeof (off_t))
28409 return 0;
28410 ;
28411 return 0;
28412}
28413_ACEOF
28414rm -f conftest.$ac_objext
28415if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28416 (eval $ac_compile) 2>conftest.er1
a848cd7e 28417 ac_status=$?
ac1cb8d3
VS
28418 grep -v '^ *+' conftest.er1 >conftest.err
28419 rm -f conftest.er1
28420 cat conftest.err >&5
a848cd7e
SC
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); } &&
fc480dc1
DE
28423 { ac_try='test -z "$ac_c_werror_flag"
28424 || test ! -s conftest.err'
ac1cb8d3
VS
28425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28426 (eval $ac_try) 2>&5
28427 ac_status=$?
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); }; } &&
28430 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28432 (eval $ac_try) 2>&5
28433 ac_status=$?
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); }; }; then
28436 ac_cv_type_off_t=yes
28437else
28438 echo "$as_me: failed program was:" >&5
28439sed 's/^/| /' conftest.$ac_ext >&5
28440
28441ac_cv_type_off_t=no
28442fi
ac1cb8d3 28443rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28444fi
28445echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28446echo "${ECHO_T}$ac_cv_type_off_t" >&6
28447if test $ac_cv_type_off_t = yes; then
28448 :
28449else
28450
28451cat >>confdefs.h <<_ACEOF
28452#define off_t long
28453_ACEOF
28454
28455fi
28456
28457echo "$as_me:$LINENO: checking for pid_t" >&5
28458echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28459if test "${ac_cv_type_pid_t+set}" = set; then
28460 echo $ECHO_N "(cached) $ECHO_C" >&6
28461else
28462 cat >conftest.$ac_ext <<_ACEOF
28463/* confdefs.h. */
28464_ACEOF
28465cat confdefs.h >>conftest.$ac_ext
28466cat >>conftest.$ac_ext <<_ACEOF
28467/* end confdefs.h. */
28468$ac_includes_default
28469int
28470main ()
28471{
28472if ((pid_t *) 0)
28473 return 0;
28474if (sizeof (pid_t))
28475 return 0;
28476 ;
28477 return 0;
28478}
28479_ACEOF
28480rm -f conftest.$ac_objext
28481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28482 (eval $ac_compile) 2>conftest.er1
a848cd7e 28483 ac_status=$?
ac1cb8d3
VS
28484 grep -v '^ *+' conftest.er1 >conftest.err
28485 rm -f conftest.er1
28486 cat conftest.err >&5
a848cd7e
SC
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); } &&
fc480dc1
DE
28489 { ac_try='test -z "$ac_c_werror_flag"
28490 || test ! -s conftest.err'
ac1cb8d3
VS
28491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492 (eval $ac_try) 2>&5
28493 ac_status=$?
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); }; } &&
28496 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28498 (eval $ac_try) 2>&5
28499 ac_status=$?
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); }; }; then
28502 ac_cv_type_pid_t=yes
28503else
28504 echo "$as_me: failed program was:" >&5
28505sed 's/^/| /' conftest.$ac_ext >&5
28506
28507ac_cv_type_pid_t=no
28508fi
ac1cb8d3 28509rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28510fi
28511echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28512echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28513if test $ac_cv_type_pid_t = yes; then
28514 :
28515else
28516
28517cat >>confdefs.h <<_ACEOF
28518#define pid_t int
28519_ACEOF
28520
28521fi
28522
28523echo "$as_me:$LINENO: checking for size_t" >&5
28524echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28525if test "${ac_cv_type_size_t+set}" = set; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28527else
28528 cat >conftest.$ac_ext <<_ACEOF
28529/* confdefs.h. */
28530_ACEOF
28531cat confdefs.h >>conftest.$ac_ext
28532cat >>conftest.$ac_ext <<_ACEOF
28533/* end confdefs.h. */
28534$ac_includes_default
28535int
28536main ()
28537{
28538if ((size_t *) 0)
28539 return 0;
28540if (sizeof (size_t))
28541 return 0;
28542 ;
28543 return 0;
28544}
28545_ACEOF
28546rm -f conftest.$ac_objext
28547if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28548 (eval $ac_compile) 2>conftest.er1
a848cd7e 28549 ac_status=$?
ac1cb8d3
VS
28550 grep -v '^ *+' conftest.er1 >conftest.err
28551 rm -f conftest.er1
28552 cat conftest.err >&5
a848cd7e
SC
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); } &&
fc480dc1
DE
28555 { ac_try='test -z "$ac_c_werror_flag"
28556 || test ! -s conftest.err'
ac1cb8d3
VS
28557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28558 (eval $ac_try) 2>&5
28559 ac_status=$?
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); }; } &&
28562 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28565 ac_status=$?
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 ac_cv_type_size_t=yes
28569else
28570 echo "$as_me: failed program was:" >&5
28571sed 's/^/| /' conftest.$ac_ext >&5
28572
28573ac_cv_type_size_t=no
28574fi
ac1cb8d3 28575rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28576fi
28577echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28578echo "${ECHO_T}$ac_cv_type_size_t" >&6
28579if test $ac_cv_type_size_t = yes; then
28580 :
28581else
28582
28583cat >>confdefs.h <<_ACEOF
28584#define size_t unsigned
28585_ACEOF
28586
28587fi
28588
28589echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28590echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28591if test "${ac_cv_type_uid_t+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28593else
28594 cat >conftest.$ac_ext <<_ACEOF
28595/* confdefs.h. */
28596_ACEOF
28597cat confdefs.h >>conftest.$ac_ext
28598cat >>conftest.$ac_ext <<_ACEOF
28599/* end confdefs.h. */
28600#include <sys/types.h>
28601
28602_ACEOF
28603if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28604 $EGREP "uid_t" >/dev/null 2>&1; then
28605 ac_cv_type_uid_t=yes
28606else
28607 ac_cv_type_uid_t=no
28608fi
28609rm -f conftest*
28610
28611fi
28612echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28613echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28614if test $ac_cv_type_uid_t = no; then
28615
28616cat >>confdefs.h <<\_ACEOF
28617#define uid_t int
28618_ACEOF
28619
28620
28621cat >>confdefs.h <<\_ACEOF
28622#define gid_t int
28623_ACEOF
28624
28625fi
28626
28627
d51253e8
RL
28628echo "$as_me:$LINENO: checking for ssize_t" >&5
28629echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28630if test "${ac_cv_type_ssize_t+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28632else
28633 cat >conftest.$ac_ext <<_ACEOF
28634/* confdefs.h. */
28635_ACEOF
28636cat confdefs.h >>conftest.$ac_ext
28637cat >>conftest.$ac_ext <<_ACEOF
28638/* end confdefs.h. */
28639$ac_includes_default
28640int
28641main ()
28642{
28643if ((ssize_t *) 0)
28644 return 0;
28645if (sizeof (ssize_t))
28646 return 0;
28647 ;
28648 return 0;
28649}
28650_ACEOF
28651rm -f conftest.$ac_objext
28652if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28653 (eval $ac_compile) 2>conftest.er1
28654 ac_status=$?
28655 grep -v '^ *+' conftest.er1 >conftest.err
28656 rm -f conftest.er1
28657 cat conftest.err >&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); } &&
fc480dc1
DE
28660 { ac_try='test -z "$ac_c_werror_flag"
28661 || test ! -s conftest.err'
d51253e8
RL
28662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28663 (eval $ac_try) 2>&5
28664 ac_status=$?
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); }; } &&
28667 { ac_try='test -s conftest.$ac_objext'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28670 ac_status=$?
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; }; then
28673 ac_cv_type_ssize_t=yes
28674else
28675 echo "$as_me: failed program was:" >&5
28676sed 's/^/| /' conftest.$ac_ext >&5
28677
28678ac_cv_type_ssize_t=no
28679fi
28680rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28681fi
28682echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28683echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28684if test $ac_cv_type_ssize_t = yes; then
28685
28686cat >>confdefs.h <<_ACEOF
28687#define HAVE_SSIZE_T 1
28688_ACEOF
28689
28690
28691fi
28692
28693
a848cd7e
SC
28694
28695
28696ac_ext=cc
28697ac_cpp='$CXXCPP $CPPFLAGS'
28698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28701
28702echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28703echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28704if test "${wx_cv_size_t_is_uint+set}" = set; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706else
28707
28708 cat >conftest.$ac_ext <<_ACEOF
28709/* confdefs.h. */
28710_ACEOF
28711cat confdefs.h >>conftest.$ac_ext
28712cat >>conftest.$ac_ext <<_ACEOF
28713/* end confdefs.h. */
28714#include <stddef.h>
28715int
28716main ()
28717{
28718
28719 return 0; }
28720
28721 struct Foo { void foo(size_t); void foo(unsigned int); };
28722
28723 int bar() {
28724
28725 ;
28726 return 0;
28727}
28728_ACEOF
28729rm -f conftest.$ac_objext
28730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28731 (eval $ac_compile) 2>conftest.er1
a848cd7e 28732 ac_status=$?
ac1cb8d3
VS
28733 grep -v '^ *+' conftest.er1 >conftest.err
28734 rm -f conftest.er1
28735 cat conftest.err >&5
a848cd7e
SC
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); } &&
fc480dc1
DE
28738 { ac_try='test -z "$ac_cxx_werror_flag"
28739 || test ! -s conftest.err'
ac1cb8d3
VS
28740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28741 (eval $ac_try) 2>&5
28742 ac_status=$?
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); }; } &&
28745 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; }; then
28751 wx_cv_size_t_is_uint=no
28752else
28753 echo "$as_me: failed program was:" >&5
28754sed 's/^/| /' conftest.$ac_ext >&5
28755
28756wx_cv_size_t_is_uint=yes
28757
28758fi
ac1cb8d3 28759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28760
28761
28762fi
28763echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28764echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28765
28766if test "$wx_cv_size_t_is_uint" = "yes"; then
28767 cat >>confdefs.h <<\_ACEOF
28768#define wxSIZE_T_IS_UINT 1
28769_ACEOF
28770
28771else
28772 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28773echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28774if test "${wx_cv_size_t_is_ulong+set}" = set; then
28775 echo $ECHO_N "(cached) $ECHO_C" >&6
28776else
28777 cat >conftest.$ac_ext <<_ACEOF
28778/* confdefs.h. */
28779_ACEOF
28780cat confdefs.h >>conftest.$ac_ext
28781cat >>conftest.$ac_ext <<_ACEOF
28782/* end confdefs.h. */
28783#include <stddef.h>
28784int
28785main ()
28786{
28787
28788 return 0; }
28789
28790 struct Foo { void foo(size_t); void foo(unsigned long); };
28791
28792 int bar() {
28793
28794 ;
28795 return 0;
28796}
28797_ACEOF
28798rm -f conftest.$ac_objext
28799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28800 (eval $ac_compile) 2>conftest.er1
a848cd7e 28801 ac_status=$?
ac1cb8d3
VS
28802 grep -v '^ *+' conftest.er1 >conftest.err
28803 rm -f conftest.er1
28804 cat conftest.err >&5
a848cd7e
SC
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } &&
fc480dc1
DE
28807 { ac_try='test -z "$ac_cxx_werror_flag"
28808 || test ! -s conftest.err'
ac1cb8d3
VS
28809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28810 (eval $ac_try) 2>&5
28811 ac_status=$?
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); }; } &&
28814 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28816 (eval $ac_try) 2>&5
28817 ac_status=$?
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); }; }; then
28820 wx_cv_size_t_is_ulong=no
28821else
28822 echo "$as_me: failed program was:" >&5
28823sed 's/^/| /' conftest.$ac_ext >&5
28824
28825wx_cv_size_t_is_ulong=yes
28826
28827fi
ac1cb8d3 28828rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28829
28830fi
28831echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28832echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28833
28834 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28835 cat >>confdefs.h <<\_ACEOF
28836#define wxSIZE_T_IS_ULONG 1
28837_ACEOF
28838
28839 fi
28840fi
28841
28842ac_ext=c
28843ac_cpp='$CPP $CPPFLAGS'
28844ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846ac_compiler_gnu=$ac_cv_c_compiler_gnu
28847
28848
28849
28850echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28851echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28852if test "${wx_cv_struct_pw_gecos+set}" = set; then
28853 echo $ECHO_N "(cached) $ECHO_C" >&6
28854else
28855
28856 cat >conftest.$ac_ext <<_ACEOF
28857/* confdefs.h. */
28858_ACEOF
28859cat confdefs.h >>conftest.$ac_ext
28860cat >>conftest.$ac_ext <<_ACEOF
28861/* end confdefs.h. */
28862#include <pwd.h>
28863int
28864main ()
28865{
28866
28867 char *p;
28868 struct passwd *pw;
28869 p = pw->pw_gecos;
28870
28871 ;
28872 return 0;
28873}
28874_ACEOF
28875rm -f conftest.$ac_objext
28876if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28877 (eval $ac_compile) 2>conftest.er1
a848cd7e 28878 ac_status=$?
ac1cb8d3
VS
28879 grep -v '^ *+' conftest.er1 >conftest.err
28880 rm -f conftest.er1
28881 cat conftest.err >&5
a848cd7e
SC
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); } &&
fc480dc1
DE
28884 { ac_try='test -z "$ac_c_werror_flag"
28885 || test ! -s conftest.err'
ac1cb8d3
VS
28886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28887 (eval $ac_try) 2>&5
28888 ac_status=$?
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); }; } &&
28891 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28894 ac_status=$?
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; }; then
28897
28898 wx_cv_struct_pw_gecos=yes
28899
28900else
28901 echo "$as_me: failed program was:" >&5
28902sed 's/^/| /' conftest.$ac_ext >&5
28903
28904
28905 wx_cv_struct_pw_gecos=no
28906
28907
28908fi
ac1cb8d3 28909rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28910
28911
28912fi
28913echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28914echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28915
28916if test "$wx_cv_struct_pw_gecos" = "yes"; then
28917 cat >>confdefs.h <<\_ACEOF
28918#define HAVE_PW_GECOS 1
28919_ACEOF
28920
28921fi
28922
28923
28924if test "$wx_cv_sizeof_wchar_t" != "0"; then
28925 cat >>confdefs.h <<\_ACEOF
28926#define wxUSE_WCHAR_T 1
28927_ACEOF
28928
28929
28930 WCSLEN_FOUND=0
28931 WCHAR_LINK=
28932
28933for ac_func in wcslen
28934do
28935as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28936echo "$as_me:$LINENO: checking for $ac_func" >&5
28937echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28938if eval "test \"\${$as_ac_var+set}\" = set"; then
28939 echo $ECHO_N "(cached) $ECHO_C" >&6
28940else
28941 cat >conftest.$ac_ext <<_ACEOF
28942/* confdefs.h. */
28943_ACEOF
28944cat confdefs.h >>conftest.$ac_ext
28945cat >>conftest.$ac_ext <<_ACEOF
28946/* end confdefs.h. */
ac1cb8d3
VS
28947/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28949#define $ac_func innocuous_$ac_func
28950
a848cd7e
SC
28951/* System header to define __stub macros and hopefully few prototypes,
28952 which can conflict with char $ac_func (); below.
28953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28954 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 28955
a848cd7e
SC
28956#ifdef __STDC__
28957# include <limits.h>
28958#else
28959# include <assert.h>
28960#endif
ac1cb8d3
VS
28961
28962#undef $ac_func
28963
a848cd7e
SC
28964/* Override any gcc2 internal prototype to avoid an error. */
28965#ifdef __cplusplus
28966extern "C"
28967{
28968#endif
28969/* We use char because int might match the return type of a gcc2
28970 builtin and then its argument prototype would still apply. */
28971char $ac_func ();
28972/* The GNU C library defines this for functions which it implements
28973 to always fail with ENOSYS. Some functions are actually named
28974 something starting with __ and the normal name is an alias. */
28975#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28976choke me
28977#else
28978char (*f) () = $ac_func;
28979#endif
28980#ifdef __cplusplus
28981}
28982#endif
28983
28984int
28985main ()
28986{
28987return f != $ac_func;
28988 ;
28989 return 0;
28990}
28991_ACEOF
28992rm -f conftest.$ac_objext conftest$ac_exeext
28993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28994 (eval $ac_link) 2>conftest.er1
a848cd7e 28995 ac_status=$?
ac1cb8d3
VS
28996 grep -v '^ *+' conftest.er1 >conftest.err
28997 rm -f conftest.er1
28998 cat conftest.err >&5
a848cd7e
SC
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); } &&
fc480dc1
DE
29001 { ac_try='test -z "$ac_c_werror_flag"
29002 || test ! -s conftest.err'
ac1cb8d3
VS
29003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29004 (eval $ac_try) 2>&5
29005 ac_status=$?
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); }; } &&
29008 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010 (eval $ac_try) 2>&5
29011 ac_status=$?
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; }; then
29014 eval "$as_ac_var=yes"
29015else
29016 echo "$as_me: failed program was:" >&5
29017sed 's/^/| /' conftest.$ac_ext >&5
29018
29019eval "$as_ac_var=no"
29020fi
ac1cb8d3
VS
29021rm -f conftest.err conftest.$ac_objext \
29022 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29023fi
29024echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29025echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29026if test `eval echo '${'$as_ac_var'}'` = yes; then
29027 cat >>confdefs.h <<_ACEOF
29028#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29029_ACEOF
29030 WCSLEN_FOUND=1
29031fi
29032done
29033
29034
29035 if test "$WCSLEN_FOUND" = 0; then
29036 if test "$TOOLKIT" = "MSW"; then
29037 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29038echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29039if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29041else
29042 ac_check_lib_save_LIBS=$LIBS
29043LIBS="-lmsvcrt $LIBS"
29044cat >conftest.$ac_ext <<_ACEOF
29045/* confdefs.h. */
29046_ACEOF
29047cat confdefs.h >>conftest.$ac_ext
29048cat >>conftest.$ac_ext <<_ACEOF
29049/* end confdefs.h. */
29050
29051/* Override any gcc2 internal prototype to avoid an error. */
29052#ifdef __cplusplus
29053extern "C"
29054#endif
29055/* We use char because int might match the return type of a gcc2
29056 builtin and then its argument prototype would still apply. */
29057char wcslen ();
29058int
29059main ()
29060{
29061wcslen ();
29062 ;
29063 return 0;
29064}
29065_ACEOF
29066rm -f conftest.$ac_objext conftest$ac_exeext
29067if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29068 (eval $ac_link) 2>conftest.er1
a848cd7e 29069 ac_status=$?
ac1cb8d3
VS
29070 grep -v '^ *+' conftest.er1 >conftest.err
29071 rm -f conftest.er1
29072 cat conftest.err >&5
a848cd7e
SC
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); } &&
fc480dc1
DE
29075 { ac_try='test -z "$ac_c_werror_flag"
29076 || test ! -s conftest.err'
ac1cb8d3
VS
29077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078 (eval $ac_try) 2>&5
29079 ac_status=$?
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); }; } &&
29082 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29085 ac_status=$?
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; }; then
29088 ac_cv_lib_msvcrt_wcslen=yes
29089else
29090 echo "$as_me: failed program was:" >&5
29091sed 's/^/| /' conftest.$ac_ext >&5
29092
29093ac_cv_lib_msvcrt_wcslen=no
29094fi
ac1cb8d3
VS
29095rm -f conftest.err conftest.$ac_objext \
29096 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29097LIBS=$ac_check_lib_save_LIBS
29098fi
29099echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29100echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29101if test $ac_cv_lib_msvcrt_wcslen = yes; then
29102 WCHAR_OK=1
29103fi
29104
29105 else
29106 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29107echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29108if test "${ac_cv_lib_w_wcslen+set}" = set; then
29109 echo $ECHO_N "(cached) $ECHO_C" >&6
29110else
29111 ac_check_lib_save_LIBS=$LIBS
29112LIBS="-lw $LIBS"
29113cat >conftest.$ac_ext <<_ACEOF
29114/* confdefs.h. */
29115_ACEOF
29116cat confdefs.h >>conftest.$ac_ext
29117cat >>conftest.$ac_ext <<_ACEOF
29118/* end confdefs.h. */
29119
29120/* Override any gcc2 internal prototype to avoid an error. */
29121#ifdef __cplusplus
29122extern "C"
29123#endif
29124/* We use char because int might match the return type of a gcc2
29125 builtin and then its argument prototype would still apply. */
29126char wcslen ();
29127int
29128main ()
29129{
29130wcslen ();
29131 ;
29132 return 0;
29133}
29134_ACEOF
29135rm -f conftest.$ac_objext conftest$ac_exeext
29136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29137 (eval $ac_link) 2>conftest.er1
a848cd7e 29138 ac_status=$?
ac1cb8d3
VS
29139 grep -v '^ *+' conftest.er1 >conftest.err
29140 rm -f conftest.er1
29141 cat conftest.err >&5
a848cd7e
SC
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } &&
fc480dc1
DE
29144 { ac_try='test -z "$ac_c_werror_flag"
29145 || test ! -s conftest.err'
ac1cb8d3
VS
29146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29147 (eval $ac_try) 2>&5
29148 ac_status=$?
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); }; } &&
29151 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29153 (eval $ac_try) 2>&5
29154 ac_status=$?
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; }; then
29157 ac_cv_lib_w_wcslen=yes
29158else
29159 echo "$as_me: failed program was:" >&5
29160sed 's/^/| /' conftest.$ac_ext >&5
29161
29162ac_cv_lib_w_wcslen=no
29163fi
ac1cb8d3
VS
29164rm -f conftest.err conftest.$ac_objext \
29165 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29166LIBS=$ac_check_lib_save_LIBS
29167fi
29168echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29169echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29170if test $ac_cv_lib_w_wcslen = yes; then
29171
29172 WCHAR_LINK=" -lw"
29173 WCSLEN_FOUND=1
29174
29175fi
29176
29177 fi
29178 fi
29179
29180 if test "$WCSLEN_FOUND" = 1; then
29181 cat >>confdefs.h <<\_ACEOF
29182#define HAVE_WCSLEN 1
29183_ACEOF
29184
29185 fi
29186
473276a9
VS
29187 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29188 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29189 fi
29190
a848cd7e
SC
29191
29192for ac_func in wcsrtombs
29193do
29194as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29195echo "$as_me:$LINENO: checking for $ac_func" >&5
29196echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29197if eval "test \"\${$as_ac_var+set}\" = set"; then
29198 echo $ECHO_N "(cached) $ECHO_C" >&6
29199else
29200 cat >conftest.$ac_ext <<_ACEOF
29201/* confdefs.h. */
29202_ACEOF
29203cat confdefs.h >>conftest.$ac_ext
29204cat >>conftest.$ac_ext <<_ACEOF
29205/* end confdefs.h. */
ac1cb8d3
VS
29206/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29208#define $ac_func innocuous_$ac_func
29209
a848cd7e
SC
29210/* System header to define __stub macros and hopefully few prototypes,
29211 which can conflict with char $ac_func (); below.
29212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29213 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 29214
a848cd7e
SC
29215#ifdef __STDC__
29216# include <limits.h>
29217#else
29218# include <assert.h>
29219#endif
ac1cb8d3
VS
29220
29221#undef $ac_func
29222
a848cd7e
SC
29223/* Override any gcc2 internal prototype to avoid an error. */
29224#ifdef __cplusplus
29225extern "C"
29226{
29227#endif
29228/* We use char because int might match the return type of a gcc2
29229 builtin and then its argument prototype would still apply. */
29230char $ac_func ();
29231/* The GNU C library defines this for functions which it implements
29232 to always fail with ENOSYS. Some functions are actually named
29233 something starting with __ and the normal name is an alias. */
29234#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29235choke me
29236#else
29237char (*f) () = $ac_func;
29238#endif
29239#ifdef __cplusplus
29240}
29241#endif
29242
29243int
29244main ()
29245{
29246return f != $ac_func;
29247 ;
29248 return 0;
29249}
29250_ACEOF
29251rm -f conftest.$ac_objext conftest$ac_exeext
29252if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29253 (eval $ac_link) 2>conftest.er1
a848cd7e 29254 ac_status=$?
ac1cb8d3
VS
29255 grep -v '^ *+' conftest.er1 >conftest.err
29256 rm -f conftest.er1
29257 cat conftest.err >&5
a848cd7e
SC
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); } &&
fc480dc1
DE
29260 { ac_try='test -z "$ac_c_werror_flag"
29261 || test ! -s conftest.err'
ac1cb8d3
VS
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29264 ac_status=$?
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; } &&
29267 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29270 ac_status=$?
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; }; then
29273 eval "$as_ac_var=yes"
29274else
29275 echo "$as_me: failed program was:" >&5
29276sed 's/^/| /' conftest.$ac_ext >&5
29277
29278eval "$as_ac_var=no"
29279fi
ac1cb8d3
VS
29280rm -f conftest.err conftest.$ac_objext \
29281 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29282fi
29283echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29284echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29285if test `eval echo '${'$as_ac_var'}'` = yes; then
29286 cat >>confdefs.h <<_ACEOF
29287#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29288_ACEOF
29289
29290fi
29291done
29292
29293else
29294 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29295echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29296fi
29297
29298
29299
29300ac_ext=cc
29301ac_cpp='$CXXCPP $CPPFLAGS'
29302ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29303ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29304ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29305
29306
29307
29308for ac_func in vsnprintf
29309do
29310as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29311echo "$as_me:$LINENO: checking for $ac_func" >&5
29312echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29313if eval "test \"\${$as_ac_var+set}\" = set"; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29315else
29316 cat >conftest.$ac_ext <<_ACEOF
29317/* confdefs.h. */
29318_ACEOF
29319cat confdefs.h >>conftest.$ac_ext
29320cat >>conftest.$ac_ext <<_ACEOF
29321/* end confdefs.h. */
ac1cb8d3
VS
29322/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29324#define $ac_func innocuous_$ac_func
29325
a848cd7e
SC
29326/* System header to define __stub macros and hopefully few prototypes,
29327 which can conflict with char $ac_func (); below.
29328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29329 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 29330
a848cd7e
SC
29331#ifdef __STDC__
29332# include <limits.h>
29333#else
29334# include <assert.h>
29335#endif
ac1cb8d3
VS
29336
29337#undef $ac_func
29338
a848cd7e
SC
29339/* Override any gcc2 internal prototype to avoid an error. */
29340#ifdef __cplusplus
29341extern "C"
29342{
29343#endif
29344/* We use char because int might match the return type of a gcc2
29345 builtin and then its argument prototype would still apply. */
29346char $ac_func ();
29347/* The GNU C library defines this for functions which it implements
29348 to always fail with ENOSYS. Some functions are actually named
29349 something starting with __ and the normal name is an alias. */
29350#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29351choke me
29352#else
29353char (*f) () = $ac_func;
29354#endif
29355#ifdef __cplusplus
29356}
29357#endif
29358
29359int
29360main ()
29361{
29362return f != $ac_func;
29363 ;
29364 return 0;
29365}
29366_ACEOF
29367rm -f conftest.$ac_objext conftest$ac_exeext
29368if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29369 (eval $ac_link) 2>conftest.er1
a848cd7e 29370 ac_status=$?
ac1cb8d3
VS
29371 grep -v '^ *+' conftest.er1 >conftest.err
29372 rm -f conftest.er1
29373 cat conftest.err >&5
a848cd7e
SC
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); } &&
fc480dc1
DE
29376 { ac_try='test -z "$ac_cxx_werror_flag"
29377 || test ! -s conftest.err'
ac1cb8d3
VS
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29380 ac_status=$?
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; } &&
29383 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29385 (eval $ac_try) 2>&5
29386 ac_status=$?
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); }; }; then
29389 eval "$as_ac_var=yes"
29390else
29391 echo "$as_me: failed program was:" >&5
29392sed 's/^/| /' conftest.$ac_ext >&5
29393
29394eval "$as_ac_var=no"
29395fi
ac1cb8d3
VS
29396rm -f conftest.err conftest.$ac_objext \
29397 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29398fi
29399echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29400echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29401if test `eval echo '${'$as_ac_var'}'` = yes; then
29402 cat >>confdefs.h <<_ACEOF
29403#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29404_ACEOF
29405
29406fi
29407done
29408
29409
29410if test "$ac_cv_func_vsnprintf" = "yes"; then
29411 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29412echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29413if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29414 echo $ECHO_N "(cached) $ECHO_C" >&6
29415else
29416
29417 cat >conftest.$ac_ext <<_ACEOF
29418/* confdefs.h. */
29419_ACEOF
29420cat confdefs.h >>conftest.$ac_ext
29421cat >>conftest.$ac_ext <<_ACEOF
29422/* end confdefs.h. */
29423
29424 #include <stdio.h>
29425 #include <stdarg.h>
29426
29427int
29428main ()
29429{
29430
29431 char *buf;
29432 va_list ap;
29433 vsnprintf(buf, 10u, "%s", ap);
29434
29435 ;
29436 return 0;
29437}
29438_ACEOF
29439rm -f conftest.$ac_objext
29440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29441 (eval $ac_compile) 2>conftest.er1
a848cd7e 29442 ac_status=$?
ac1cb8d3
VS
29443 grep -v '^ *+' conftest.er1 >conftest.err
29444 rm -f conftest.er1
29445 cat conftest.err >&5
a848cd7e
SC
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); } &&
fc480dc1
DE
29448 { ac_try='test -z "$ac_cxx_werror_flag"
29449 || test ! -s conftest.err'
ac1cb8d3
VS
29450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451 (eval $ac_try) 2>&5
29452 ac_status=$?
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); }; } &&
29455 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29458 ac_status=$?
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; }; then
29461 wx_cv_func_vsnprintf_decl=yes
29462else
29463 echo "$as_me: failed program was:" >&5
29464sed 's/^/| /' conftest.$ac_ext >&5
29465
29466wx_cv_func_vsnprintf_decl=no
29467
29468fi
ac1cb8d3 29469rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29470
29471
29472fi
29473echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29474echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29475
29476 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29477 cat >>confdefs.h <<\_ACEOF
29478#define HAVE_VSNPRINTF_DECL 1
29479_ACEOF
29480
29481 fi
29482fi
29483
29484if test "$wxUSE_UNICODE" = yes; then
29485
29486
29487
fbe47c7b
VS
29488
29489
29490
29491for ac_func in wputc wputchar putws fputws wprintf vswprintf
a848cd7e
SC
29492do
29493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29494echo "$as_me:$LINENO: checking for $ac_func" >&5
29495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29496if eval "test \"\${$as_ac_var+set}\" = set"; then
29497 echo $ECHO_N "(cached) $ECHO_C" >&6
29498else
29499 cat >conftest.$ac_ext <<_ACEOF
29500/* confdefs.h. */
29501_ACEOF
29502cat confdefs.h >>conftest.$ac_ext
29503cat >>conftest.$ac_ext <<_ACEOF
29504/* end confdefs.h. */
ac1cb8d3
VS
29505/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29507#define $ac_func innocuous_$ac_func
29508
a848cd7e
SC
29509/* System header to define __stub macros and hopefully few prototypes,
29510 which can conflict with char $ac_func (); below.
29511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29512 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 29513
a848cd7e
SC
29514#ifdef __STDC__
29515# include <limits.h>
29516#else
29517# include <assert.h>
29518#endif
ac1cb8d3
VS
29519
29520#undef $ac_func
29521
a848cd7e
SC
29522/* Override any gcc2 internal prototype to avoid an error. */
29523#ifdef __cplusplus
29524extern "C"
29525{
29526#endif
29527/* We use char because int might match the return type of a gcc2
29528 builtin and then its argument prototype would still apply. */
29529char $ac_func ();
29530/* The GNU C library defines this for functions which it implements
29531 to always fail with ENOSYS. Some functions are actually named
29532 something starting with __ and the normal name is an alias. */
29533#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29534choke me
29535#else
29536char (*f) () = $ac_func;
29537#endif
29538#ifdef __cplusplus
29539}
29540#endif
29541
29542int
29543main ()
29544{
29545return f != $ac_func;
29546 ;
29547 return 0;
29548}
29549_ACEOF
29550rm -f conftest.$ac_objext conftest$ac_exeext
29551if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29552 (eval $ac_link) 2>conftest.er1
a848cd7e 29553 ac_status=$?
ac1cb8d3
VS
29554 grep -v '^ *+' conftest.er1 >conftest.err
29555 rm -f conftest.er1
29556 cat conftest.err >&5
a848cd7e
SC
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); } &&
fc480dc1
DE
29559 { ac_try='test -z "$ac_cxx_werror_flag"
29560 || test ! -s conftest.err'
ac1cb8d3
VS
29561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29562 (eval $ac_try) 2>&5
29563 ac_status=$?
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); }; } &&
29566 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29568 (eval $ac_try) 2>&5
29569 ac_status=$?
29570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29571 (exit $ac_status); }; }; then
29572 eval "$as_ac_var=yes"
29573else
29574 echo "$as_me: failed program was:" >&5
29575sed 's/^/| /' conftest.$ac_ext >&5
29576
29577eval "$as_ac_var=no"
29578fi
ac1cb8d3
VS
29579rm -f conftest.err conftest.$ac_objext \
29580 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29581fi
29582echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29583echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29584if test `eval echo '${'$as_ac_var'}'` = yes; then
29585 cat >>confdefs.h <<_ACEOF
29586#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29587_ACEOF
29588
29589fi
29590done
29591
29592
29593 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29594echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29595 cat >conftest.$ac_ext <<_ACEOF
29596/* confdefs.h. */
29597_ACEOF
29598cat confdefs.h >>conftest.$ac_ext
29599cat >>conftest.$ac_ext <<_ACEOF
29600/* end confdefs.h. */
29601#include <wchar.h>
29602int
29603main ()
29604{
29605&_vsnwprintf;
29606 ;
29607 return 0;
29608}
29609_ACEOF
29610rm -f conftest.$ac_objext
29611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29612 (eval $ac_compile) 2>conftest.er1
a848cd7e 29613 ac_status=$?
ac1cb8d3
VS
29614 grep -v '^ *+' conftest.er1 >conftest.err
29615 rm -f conftest.er1
29616 cat conftest.err >&5
a848cd7e
SC
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); } &&
fc480dc1
DE
29619 { ac_try='test -z "$ac_cxx_werror_flag"
29620 || test ! -s conftest.err'
ac1cb8d3
VS
29621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29622 (eval $ac_try) 2>&5
29623 ac_status=$?
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); }; } &&
29626 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29628 (eval $ac_try) 2>&5
29629 ac_status=$?
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); }; }; then
29632 echo "$as_me:$LINENO: result: yes" >&5
29633echo "${ECHO_T}yes" >&6
29634 cat >>confdefs.h <<\_ACEOF
29635#define HAVE__VSNWPRINTF 1
29636_ACEOF
29637
29638else
29639 echo "$as_me: failed program was:" >&5
29640sed 's/^/| /' conftest.$ac_ext >&5
29641
29642echo "$as_me:$LINENO: result: no" >&5
29643echo "${ECHO_T}no" >&6
29644fi
ac1cb8d3 29645rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
a848cd7e
SC
29646fi
29647
29648ac_ext=c
29649ac_cpp='$CPP $CPPFLAGS'
29650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652ac_compiler_gnu=$ac_cv_c_compiler_gnu
29653
29654
29655
29656
29657if test "$TOOLKIT" != "MSW"; then
29658
29659
29660
29661
29662ac_ext=cc
29663ac_cpp='$CXXCPP $CPPFLAGS'
29664ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29665ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29666ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29667
29668
29669
29670
29671# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29672if test "${with_libiconv_prefix+set}" = set; then
29673 withval="$with_libiconv_prefix"
29674
29675 for dir in `echo "$withval" | tr : ' '`; do
29676 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29677 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29678 done
29679
29680fi;
29681
29682 echo "$as_me:$LINENO: checking for iconv" >&5
29683echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29684if test "${am_cv_func_iconv+set}" = set; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29686else
29687
29688 am_cv_func_iconv="no, consider installing GNU libiconv"
29689 am_cv_lib_iconv=no
29690 cat >conftest.$ac_ext <<_ACEOF
29691/* confdefs.h. */
29692_ACEOF
29693cat confdefs.h >>conftest.$ac_ext
29694cat >>conftest.$ac_ext <<_ACEOF
29695/* end confdefs.h. */
29696#include <stdlib.h>
29697#include <iconv.h>
29698int
29699main ()
29700{
29701iconv_t cd = iconv_open("","");
29702 iconv(cd,NULL,NULL,NULL,NULL);
29703 iconv_close(cd);
29704 ;
29705 return 0;
29706}
29707_ACEOF
29708rm -f conftest.$ac_objext conftest$ac_exeext
29709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29710 (eval $ac_link) 2>conftest.er1
a848cd7e 29711 ac_status=$?
ac1cb8d3
VS
29712 grep -v '^ *+' conftest.er1 >conftest.err
29713 rm -f conftest.er1
29714 cat conftest.err >&5
a848cd7e
SC
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
fc480dc1
DE
29717 { ac_try='test -z "$ac_cxx_werror_flag"
29718 || test ! -s conftest.err'
ac1cb8d3
VS
29719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720 (eval $ac_try) 2>&5
29721 ac_status=$?
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); }; } &&
29724 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29727 ac_status=$?
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; }; then
29730 am_cv_func_iconv=yes
29731else
29732 echo "$as_me: failed program was:" >&5
29733sed 's/^/| /' conftest.$ac_ext >&5
29734
29735fi
ac1cb8d3
VS
29736rm -f conftest.err conftest.$ac_objext \
29737 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29738 if test "$am_cv_func_iconv" != yes; then
29739 am_save_LIBS="$LIBS"
29740 LIBS="$LIBS -liconv"
29741 cat >conftest.$ac_ext <<_ACEOF
29742/* confdefs.h. */
29743_ACEOF
29744cat confdefs.h >>conftest.$ac_ext
29745cat >>conftest.$ac_ext <<_ACEOF
29746/* end confdefs.h. */
29747#include <stdlib.h>
29748#include <iconv.h>
29749int
29750main ()
29751{
29752iconv_t cd = iconv_open("","");
29753 iconv(cd,NULL,NULL,NULL,NULL);
29754 iconv_close(cd);
29755 ;
29756 return 0;
29757}
29758_ACEOF
29759rm -f conftest.$ac_objext conftest$ac_exeext
29760if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29761 (eval $ac_link) 2>conftest.er1
a848cd7e 29762 ac_status=$?
ac1cb8d3
VS
29763 grep -v '^ *+' conftest.er1 >conftest.err
29764 rm -f conftest.er1
29765 cat conftest.err >&5
a848cd7e
SC
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
fc480dc1
DE
29768 { ac_try='test -z "$ac_cxx_werror_flag"
29769 || test ! -s conftest.err'
ac1cb8d3
VS
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29772 ac_status=$?
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; } &&
29775 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29777 (eval $ac_try) 2>&5
29778 ac_status=$?
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); }; }; then
29781 am_cv_lib_iconv=yes
29782 am_cv_func_iconv=yes
29783else
29784 echo "$as_me: failed program was:" >&5
29785sed 's/^/| /' conftest.$ac_ext >&5
29786
29787fi
ac1cb8d3
VS
29788rm -f conftest.err conftest.$ac_objext \
29789 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29790 LIBS="$am_save_LIBS"
29791 fi
29792
29793fi
29794echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29795echo "${ECHO_T}$am_cv_func_iconv" >&6
29796 if test "$am_cv_func_iconv" = yes; then
29797
29798cat >>confdefs.h <<\_ACEOF
29799#define HAVE_ICONV 1
29800_ACEOF
29801
29802 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29803echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29804if test "${wx_cv_func_iconv_const+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29806else
29807 cat >conftest.$ac_ext <<_ACEOF
29808/* confdefs.h. */
29809_ACEOF
29810cat confdefs.h >>conftest.$ac_ext
29811cat >>conftest.$ac_ext <<_ACEOF
29812/* end confdefs.h. */
29813
29814#include <stdlib.h>
29815#include <iconv.h>
29816extern
29817#ifdef __cplusplus
29818"C"
29819#endif
29820#if defined(__STDC__) || defined(__cplusplus)
29821size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29822#else
29823size_t iconv();
29824#endif
29825
29826int
29827main ()
29828{
29829
29830 ;
29831 return 0;
29832}
29833_ACEOF
29834rm -f conftest.$ac_objext
29835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29836 (eval $ac_compile) 2>conftest.er1
a848cd7e 29837 ac_status=$?
ac1cb8d3
VS
29838 grep -v '^ *+' conftest.er1 >conftest.err
29839 rm -f conftest.er1
29840 cat conftest.err >&5
a848cd7e
SC
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); } &&
fc480dc1
DE
29843 { ac_try='test -z "$ac_cxx_werror_flag"
29844 || test ! -s conftest.err'
ac1cb8d3
VS
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29847 ac_status=$?
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; } &&
29850 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 wx_cv_func_iconv_const="no"
29857else
29858 echo "$as_me: failed program was:" >&5
29859sed 's/^/| /' conftest.$ac_ext >&5
29860
29861wx_cv_func_iconv_const="yes"
29862
29863fi
ac1cb8d3 29864rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29865
29866fi
29867echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29868echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29869
29870 iconv_const=
29871 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29872 iconv_const="const"
29873 fi
29874
29875
29876cat >>confdefs.h <<_ACEOF
29877#define ICONV_CONST $iconv_const
29878_ACEOF
29879
29880 fi
29881 LIBICONV=
29882 if test "$am_cv_lib_iconv" = yes; then
29883 LIBICONV="-liconv"
29884 fi
29885
29886
29887LIBS="$LIBICONV $LIBS"
29888ac_ext=c
29889ac_cpp='$CPP $CPPFLAGS'
29890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29892ac_compiler_gnu=$ac_cv_c_compiler_gnu
29893
29894
29895if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29896
29897for ac_func in sigaction
29898do
29899as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29900echo "$as_me:$LINENO: checking for $ac_func" >&5
29901echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29902if eval "test \"\${$as_ac_var+set}\" = set"; then
29903 echo $ECHO_N "(cached) $ECHO_C" >&6
29904else
29905 cat >conftest.$ac_ext <<_ACEOF
29906/* confdefs.h. */
29907_ACEOF
29908cat confdefs.h >>conftest.$ac_ext
29909cat >>conftest.$ac_ext <<_ACEOF
29910/* end confdefs.h. */
ac1cb8d3
VS
29911/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29913#define $ac_func innocuous_$ac_func
29914
a848cd7e
SC
29915/* System header to define __stub macros and hopefully few prototypes,
29916 which can conflict with char $ac_func (); below.
29917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29918 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 29919
a848cd7e
SC
29920#ifdef __STDC__
29921# include <limits.h>
29922#else
29923# include <assert.h>
29924#endif
ac1cb8d3
VS
29925
29926#undef $ac_func
29927
a848cd7e
SC
29928/* Override any gcc2 internal prototype to avoid an error. */
29929#ifdef __cplusplus
29930extern "C"
29931{
29932#endif
29933/* We use char because int might match the return type of a gcc2
29934 builtin and then its argument prototype would still apply. */
29935char $ac_func ();
29936/* The GNU C library defines this for functions which it implements
29937 to always fail with ENOSYS. Some functions are actually named
29938 something starting with __ and the normal name is an alias. */
29939#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29940choke me
29941#else
29942char (*f) () = $ac_func;
29943#endif
29944#ifdef __cplusplus
29945}
29946#endif
29947
29948int
29949main ()
29950{
29951return f != $ac_func;
29952 ;
29953 return 0;
29954}
29955_ACEOF
29956rm -f conftest.$ac_objext conftest$ac_exeext
29957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29958 (eval $ac_link) 2>conftest.er1
a848cd7e 29959 ac_status=$?
ac1cb8d3
VS
29960 grep -v '^ *+' conftest.er1 >conftest.err
29961 rm -f conftest.er1
29962 cat conftest.err >&5
a848cd7e
SC
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); } &&
fc480dc1
DE
29965 { ac_try='test -z "$ac_c_werror_flag"
29966 || test ! -s conftest.err'
ac1cb8d3
VS
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29969 ac_status=$?
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; } &&
29972 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29975 ac_status=$?
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 eval "$as_ac_var=yes"
29979else
29980 echo "$as_me: failed program was:" >&5
29981sed 's/^/| /' conftest.$ac_ext >&5
29982
29983eval "$as_ac_var=no"
29984fi
ac1cb8d3
VS
29985rm -f conftest.err conftest.$ac_objext \
29986 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29987fi
29988echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29989echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29990if test `eval echo '${'$as_ac_var'}'` = yes; then
29991 cat >>confdefs.h <<_ACEOF
29992#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29993_ACEOF
29994
29995fi
29996done
29997
29998
29999 if test "$ac_cv_func_sigaction" = "no"; then
30000 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30001echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30002 wxUSE_ON_FATAL_EXCEPTION=no
30003 fi
30004
30005 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30006
30007
30008 ac_ext=cc
30009ac_cpp='$CXXCPP $CPPFLAGS'
30010ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30011ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30012ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30013
30014
30015 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30016echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30017if test "${wx_cv_type_sa_handler+set}" = set; then
30018 echo $ECHO_N "(cached) $ECHO_C" >&6
30019else
30020
30021 cat >conftest.$ac_ext <<_ACEOF
30022/* confdefs.h. */
30023_ACEOF
30024cat confdefs.h >>conftest.$ac_ext
30025cat >>conftest.$ac_ext <<_ACEOF
30026/* end confdefs.h. */
30027#include <signal.h>
30028int
30029main ()
30030{
30031
30032 extern void testSigHandler(int);
30033
30034 struct sigaction sa;
30035 sa.sa_handler = testSigHandler;
30036
30037 ;
30038 return 0;
30039}
30040_ACEOF
30041rm -f conftest.$ac_objext
30042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 30043 (eval $ac_compile) 2>conftest.er1
a848cd7e 30044 ac_status=$?
ac1cb8d3
VS
30045 grep -v '^ *+' conftest.er1 >conftest.err
30046 rm -f conftest.er1
30047 cat conftest.err >&5
a848cd7e
SC
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); } &&
fc480dc1
DE
30050 { ac_try='test -z "$ac_cxx_werror_flag"
30051 || test ! -s conftest.err'
ac1cb8d3
VS
30052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30053 (eval $ac_try) 2>&5
30054 ac_status=$?
30055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30056 (exit $ac_status); }; } &&
30057 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
30058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30059 (eval $ac_try) 2>&5
30060 ac_status=$?
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); }; }; then
30063
30064 wx_cv_type_sa_handler=int
30065
30066else
30067 echo "$as_me: failed program was:" >&5
30068sed 's/^/| /' conftest.$ac_ext >&5
30069
30070
30071 wx_cv_type_sa_handler=void
30072
30073fi
ac1cb8d3 30074rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
30075
30076fi
30077echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30078echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30079
30080 ac_ext=c
30081ac_cpp='$CPP $CPPFLAGS'
30082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30084ac_compiler_gnu=$ac_cv_c_compiler_gnu
30085
30086
30087 cat >>confdefs.h <<_ACEOF
30088#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30089_ACEOF
30090
30091 fi
30092fi
30093
30094
30095
30096for ac_func in mkstemp mktemp
30097do
30098as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30099echo "$as_me:$LINENO: checking for $ac_func" >&5
30100echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30101if eval "test \"\${$as_ac_var+set}\" = set"; then
30102 echo $ECHO_N "(cached) $ECHO_C" >&6
30103else
30104 cat >conftest.$ac_ext <<_ACEOF
30105/* confdefs.h. */
30106_ACEOF
30107cat confdefs.h >>conftest.$ac_ext
30108cat >>conftest.$ac_ext <<_ACEOF
30109/* end confdefs.h. */
ac1cb8d3
VS
30110/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30112#define $ac_func innocuous_$ac_func
30113
a848cd7e
SC
30114/* System header to define __stub macros and hopefully few prototypes,
30115 which can conflict with char $ac_func (); below.
30116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30117 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30118
a848cd7e
SC
30119#ifdef __STDC__
30120# include <limits.h>
30121#else
30122# include <assert.h>
30123#endif
ac1cb8d3
VS
30124
30125#undef $ac_func
30126
a848cd7e
SC
30127/* Override any gcc2 internal prototype to avoid an error. */
30128#ifdef __cplusplus
30129extern "C"
30130{
30131#endif
30132/* We use char because int might match the return type of a gcc2
30133 builtin and then its argument prototype would still apply. */
30134char $ac_func ();
30135/* The GNU C library defines this for functions which it implements
30136 to always fail with ENOSYS. Some functions are actually named
30137 something starting with __ and the normal name is an alias. */
30138#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30139choke me
30140#else
30141char (*f) () = $ac_func;
30142#endif
30143#ifdef __cplusplus
30144}
30145#endif
30146
30147int
30148main ()
30149{
30150return f != $ac_func;
30151 ;
30152 return 0;
30153}
30154_ACEOF
30155rm -f conftest.$ac_objext conftest$ac_exeext
30156if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30157 (eval $ac_link) 2>conftest.er1
a848cd7e 30158 ac_status=$?
ac1cb8d3
VS
30159 grep -v '^ *+' conftest.er1 >conftest.err
30160 rm -f conftest.er1
30161 cat conftest.err >&5
a848cd7e
SC
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); } &&
fc480dc1
DE
30164 { ac_try='test -z "$ac_c_werror_flag"
30165 || test ! -s conftest.err'
ac1cb8d3
VS
30166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30167 (eval $ac_try) 2>&5
30168 ac_status=$?
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); }; } &&
30171 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30173 (eval $ac_try) 2>&5
30174 ac_status=$?
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; }; then
30177 eval "$as_ac_var=yes"
30178else
30179 echo "$as_me: failed program was:" >&5
30180sed 's/^/| /' conftest.$ac_ext >&5
30181
30182eval "$as_ac_var=no"
30183fi
ac1cb8d3
VS
30184rm -f conftest.err conftest.$ac_objext \
30185 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30186fi
30187echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30188echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30189if test `eval echo '${'$as_ac_var'}'` = yes; then
30190 cat >>confdefs.h <<_ACEOF
30191#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30192_ACEOF
30193 break
30194fi
30195done
30196
30197
30198echo "$as_me:$LINENO: checking for statfs" >&5
30199echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30200if test "${wx_cv_func_statfs+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30202else
30203 cat >conftest.$ac_ext <<_ACEOF
30204/* confdefs.h. */
30205_ACEOF
30206cat confdefs.h >>conftest.$ac_ext
30207cat >>conftest.$ac_ext <<_ACEOF
30208/* end confdefs.h. */
30209
30210 #if defined(__BSD__)
30211 #include <sys/param.h>
30212 #include <sys/mount.h>
30213 #else
30214 #include <sys/vfs.h>
30215 #endif
30216
30217int
30218main ()
30219{
30220
30221 long l;
30222 struct statfs fs;
30223 statfs("/", &fs);
30224 l = fs.f_bsize;
30225 l += fs.f_blocks;
30226 l += fs.f_bavail;
30227
30228 ;
30229 return 0;
30230}
30231_ACEOF
30232rm -f conftest.$ac_objext
30233if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 30234 (eval $ac_compile) 2>conftest.er1
a848cd7e 30235 ac_status=$?
ac1cb8d3
VS
30236 grep -v '^ *+' conftest.er1 >conftest.err
30237 rm -f conftest.er1
30238 cat conftest.err >&5
a848cd7e
SC
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); } &&
fc480dc1
DE
30241 { ac_try='test -z "$ac_c_werror_flag"
30242 || test ! -s conftest.err'
ac1cb8d3
VS
30243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30244 (eval $ac_try) 2>&5
30245 ac_status=$?
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; } &&
30248 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30251 ac_status=$?
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; }; then
30254
30255 wx_cv_func_statfs=yes
30256
30257else
30258 echo "$as_me: failed program was:" >&5
30259sed 's/^/| /' conftest.$ac_ext >&5
30260
30261
30262 wx_cv_func_statfs=no
30263
30264
30265fi
ac1cb8d3 30266rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
30267
30268fi
30269echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30270echo "${ECHO_T}$wx_cv_func_statfs" >&6
30271
30272if test "$wx_cv_func_statfs" = "yes"; then
30273 wx_cv_type_statvfs_t="struct statfs"
30274 cat >>confdefs.h <<\_ACEOF
30275#define HAVE_STATFS 1
30276_ACEOF
30277
30278else
30279 echo "$as_me:$LINENO: checking for statvfs" >&5
30280echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30281if test "${wx_cv_func_statvfs+set}" = set; then
30282 echo $ECHO_N "(cached) $ECHO_C" >&6
30283else
30284 cat >conftest.$ac_ext <<_ACEOF
30285/* confdefs.h. */
30286_ACEOF
30287cat confdefs.h >>conftest.$ac_ext
30288cat >>conftest.$ac_ext <<_ACEOF
30289/* end confdefs.h. */
30290
30291 #include <stddef.h>
30292 #include <sys/statvfs.h>
30293
30294int
30295main ()
30296{
30297
30298 statvfs("/", NULL);
30299
30300 ;
30301 return 0;
30302}
30303_ACEOF
30304rm -f conftest.$ac_objext
30305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 30306 (eval $ac_compile) 2>conftest.er1
a848cd7e 30307 ac_status=$?
ac1cb8d3
VS
30308 grep -v '^ *+' conftest.er1 >conftest.err
30309 rm -f conftest.er1
30310 cat conftest.err >&5
a848cd7e
SC
30311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); } &&
fc480dc1
DE
30313 { ac_try='test -z "$ac_c_werror_flag"
30314 || test ! -s conftest.err'
ac1cb8d3
VS
30315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30316 (eval $ac_try) 2>&5
30317 ac_status=$?
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); }; } &&
30320 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
30321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30322 (eval $ac_try) 2>&5
30323 ac_status=$?
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); }; }; then
30326 wx_cv_func_statvfs=yes
30327else
30328 echo "$as_me: failed program was:" >&5
30329sed 's/^/| /' conftest.$ac_ext >&5
30330
30331wx_cv_func_statvfs=no
30332
30333fi
ac1cb8d3 30334rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
30335
30336fi
30337echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30338echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30339
30340 if test "$wx_cv_func_statvfs" = "yes"; then
30341
30342
30343 ac_ext=cc
30344ac_cpp='$CXXCPP $CPPFLAGS'
30345ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30348
30349
30350 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30351echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30352if test "${wx_cv_type_statvfs_t+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30354else
30355 cat >conftest.$ac_ext <<_ACEOF
30356/* confdefs.h. */
30357_ACEOF
30358cat confdefs.h >>conftest.$ac_ext
30359cat >>conftest.$ac_ext <<_ACEOF
30360/* end confdefs.h. */
30361
30362 #include <sys/statvfs.h>
30363
30364int
30365main ()
30366{
30367
30368 long l;
30369 statvfs_t fs;
30370 statvfs("/", &fs);
30371 l = fs.f_bsize;
30372 l += fs.f_blocks;
30373 l += fs.f_bavail;
30374
30375 ;
30376 return 0;
30377}
30378_ACEOF
30379rm -f conftest.$ac_objext
30380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 30381 (eval $ac_compile) 2>conftest.er1
a848cd7e 30382 ac_status=$?
ac1cb8d3
VS
30383 grep -v '^ *+' conftest.er1 >conftest.err
30384 rm -f conftest.er1
30385 cat conftest.err >&5
a848cd7e
SC
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); } &&
fc480dc1
DE
30388 { ac_try='test -z "$ac_cxx_werror_flag"
30389 || test ! -s conftest.err'
ac1cb8d3
VS
30390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30391 (eval $ac_try) 2>&5
30392 ac_status=$?
30393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30394 (exit $ac_status); }; } &&
30395 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
30396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30397 (eval $ac_try) 2>&5
30398 ac_status=$?
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); }; }; then
30401 wx_cv_type_statvfs_t=statvfs_t
30402else
30403 echo "$as_me: failed program was:" >&5
30404sed 's/^/| /' conftest.$ac_ext >&5
30405
30406
30407 cat >conftest.$ac_ext <<_ACEOF
30408/* confdefs.h. */
30409_ACEOF
30410cat confdefs.h >>conftest.$ac_ext
30411cat >>conftest.$ac_ext <<_ACEOF
30412/* end confdefs.h. */
30413
30414 #include <sys/statvfs.h>
30415
30416int
30417main ()
30418{
30419
30420 long l;
30421 struct statvfs fs;
30422 statvfs("/", &fs);
30423 l = fs.f_bsize;
30424 l += fs.f_blocks;
30425 l += fs.f_bavail;
30426
30427 ;
30428 return 0;
30429}
30430_ACEOF
30431rm -f conftest.$ac_objext
30432if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 30433 (eval $ac_compile) 2>conftest.er1
a848cd7e 30434 ac_status=$?
ac1cb8d3
VS
30435 grep -v '^ *+' conftest.er1 >conftest.err
30436 rm -f conftest.er1
30437 cat conftest.err >&5
a848cd7e
SC
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); } &&
fc480dc1
DE
30440 { ac_try='test -z "$ac_cxx_werror_flag"
30441 || test ! -s conftest.err'
ac1cb8d3
VS
30442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30443 (eval $ac_try) 2>&5
30444 ac_status=$?
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); }; } &&
30447 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
30448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30449 (eval $ac_try) 2>&5
30450 ac_status=$?
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); }; }; then
30453 wx_cv_type_statvfs_t="struct statvfs"
30454else
30455 echo "$as_me: failed program was:" >&5
30456sed 's/^/| /' conftest.$ac_ext >&5
30457
30458wx_cv_type_statvfs_t="unknown"
30459
30460fi
ac1cb8d3 30461rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
30462
30463
30464fi
ac1cb8d3 30465rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
30466
30467fi
30468echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30469echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30470
30471 ac_ext=c
30472ac_cpp='$CPP $CPPFLAGS'
30473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30475ac_compiler_gnu=$ac_cv_c_compiler_gnu
30476
30477
30478 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30479 cat >>confdefs.h <<\_ACEOF
30480#define HAVE_STATVFS 1
30481_ACEOF
30482
30483 fi
30484 else
30485 wx_cv_type_statvfs_t="unknown"
30486 fi
30487fi
30488
30489if test "$wx_cv_type_statvfs_t" != "unknown"; then
30490 cat >>confdefs.h <<_ACEOF
30491#define WX_STATFS_T $wx_cv_type_statvfs_t
30492_ACEOF
30493
30494else
30495 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30496echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30497fi
30498
30499if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30500
30501
30502for ac_func in fcntl flock
30503do
30504as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30505echo "$as_me:$LINENO: checking for $ac_func" >&5
30506echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30507if eval "test \"\${$as_ac_var+set}\" = set"; then
30508 echo $ECHO_N "(cached) $ECHO_C" >&6
30509else
30510 cat >conftest.$ac_ext <<_ACEOF
30511/* confdefs.h. */
30512_ACEOF
30513cat confdefs.h >>conftest.$ac_ext
30514cat >>conftest.$ac_ext <<_ACEOF
30515/* end confdefs.h. */
ac1cb8d3
VS
30516/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30518#define $ac_func innocuous_$ac_func
30519
a848cd7e
SC
30520/* System header to define __stub macros and hopefully few prototypes,
30521 which can conflict with char $ac_func (); below.
30522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30523 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30524
a848cd7e
SC
30525#ifdef __STDC__
30526# include <limits.h>
30527#else
30528# include <assert.h>
30529#endif
ac1cb8d3
VS
30530
30531#undef $ac_func
30532
a848cd7e
SC
30533/* Override any gcc2 internal prototype to avoid an error. */
30534#ifdef __cplusplus
30535extern "C"
30536{
30537#endif
30538/* We use char because int might match the return type of a gcc2
30539 builtin and then its argument prototype would still apply. */
30540char $ac_func ();
30541/* The GNU C library defines this for functions which it implements
30542 to always fail with ENOSYS. Some functions are actually named
30543 something starting with __ and the normal name is an alias. */
30544#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30545choke me
30546#else
30547char (*f) () = $ac_func;
30548#endif
30549#ifdef __cplusplus
30550}
30551#endif
30552
30553int
30554main ()
30555{
30556return f != $ac_func;
30557 ;
30558 return 0;
30559}
30560_ACEOF
30561rm -f conftest.$ac_objext conftest$ac_exeext
30562if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30563 (eval $ac_link) 2>conftest.er1
a848cd7e 30564 ac_status=$?
ac1cb8d3
VS
30565 grep -v '^ *+' conftest.er1 >conftest.err
30566 rm -f conftest.er1
30567 cat conftest.err >&5
a848cd7e
SC
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } &&
fc480dc1
DE
30570 { ac_try='test -z "$ac_c_werror_flag"
30571 || test ! -s conftest.err'
ac1cb8d3
VS
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30574 ac_status=$?
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; } &&
30577 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30580 ac_status=$?
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; }; then
30583 eval "$as_ac_var=yes"
30584else
30585 echo "$as_me: failed program was:" >&5
30586sed 's/^/| /' conftest.$ac_ext >&5
30587
30588eval "$as_ac_var=no"
30589fi
ac1cb8d3
VS
30590rm -f conftest.err conftest.$ac_objext \
30591 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30592fi
30593echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30594echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30595if test `eval echo '${'$as_ac_var'}'` = yes; then
30596 cat >>confdefs.h <<_ACEOF
30597#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30598_ACEOF
30599 break
30600fi
30601done
30602
30603
30604 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30605 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30606echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30607 wxUSE_SNGLINST_CHECKER=no
30608 fi
30609fi
30610
30611
30612for ac_func in timegm
30613do
30614as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30615echo "$as_me:$LINENO: checking for $ac_func" >&5
30616echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30617if eval "test \"\${$as_ac_var+set}\" = set"; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619else
30620 cat >conftest.$ac_ext <<_ACEOF
30621/* confdefs.h. */
30622_ACEOF
30623cat confdefs.h >>conftest.$ac_ext
30624cat >>conftest.$ac_ext <<_ACEOF
30625/* end confdefs.h. */
ac1cb8d3
VS
30626/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30628#define $ac_func innocuous_$ac_func
30629
a848cd7e
SC
30630/* System header to define __stub macros and hopefully few prototypes,
30631 which can conflict with char $ac_func (); below.
30632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30633 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30634
a848cd7e
SC
30635#ifdef __STDC__
30636# include <limits.h>
30637#else
30638# include <assert.h>
30639#endif
ac1cb8d3
VS
30640
30641#undef $ac_func
30642
a848cd7e
SC
30643/* Override any gcc2 internal prototype to avoid an error. */
30644#ifdef __cplusplus
30645extern "C"
30646{
30647#endif
30648/* We use char because int might match the return type of a gcc2
30649 builtin and then its argument prototype would still apply. */
30650char $ac_func ();
30651/* The GNU C library defines this for functions which it implements
30652 to always fail with ENOSYS. Some functions are actually named
30653 something starting with __ and the normal name is an alias. */
30654#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30655choke me
30656#else
30657char (*f) () = $ac_func;
30658#endif
30659#ifdef __cplusplus
30660}
30661#endif
30662
30663int
30664main ()
30665{
30666return f != $ac_func;
30667 ;
30668 return 0;
30669}
30670_ACEOF
30671rm -f conftest.$ac_objext conftest$ac_exeext
30672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30673 (eval $ac_link) 2>conftest.er1
a848cd7e 30674 ac_status=$?
ac1cb8d3
VS
30675 grep -v '^ *+' conftest.er1 >conftest.err
30676 rm -f conftest.er1
30677 cat conftest.err >&5
a848cd7e
SC
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); } &&
fc480dc1
DE
30680 { ac_try='test -z "$ac_c_werror_flag"
30681 || test ! -s conftest.err'
ac1cb8d3
VS
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30684 ac_status=$?
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; } &&
30687 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30690 ac_status=$?
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; }; then
30693 eval "$as_ac_var=yes"
30694else
30695 echo "$as_me: failed program was:" >&5
30696sed 's/^/| /' conftest.$ac_ext >&5
30697
30698eval "$as_ac_var=no"
30699fi
ac1cb8d3
VS
30700rm -f conftest.err conftest.$ac_objext \
30701 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30702fi
30703echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30704echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30705if test `eval echo '${'$as_ac_var'}'` = yes; then
30706 cat >>confdefs.h <<_ACEOF
30707#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30708_ACEOF
30709
30710fi
30711done
30712
30713
30714
30715
30716for ac_func in putenv setenv
30717do
30718as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30719echo "$as_me:$LINENO: checking for $ac_func" >&5
30720echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30721if eval "test \"\${$as_ac_var+set}\" = set"; then
30722 echo $ECHO_N "(cached) $ECHO_C" >&6
30723else
30724 cat >conftest.$ac_ext <<_ACEOF
30725/* confdefs.h. */
30726_ACEOF
30727cat confdefs.h >>conftest.$ac_ext
30728cat >>conftest.$ac_ext <<_ACEOF
30729/* end confdefs.h. */
ac1cb8d3
VS
30730/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30732#define $ac_func innocuous_$ac_func
30733
a848cd7e
SC
30734/* System header to define __stub macros and hopefully few prototypes,
30735 which can conflict with char $ac_func (); below.
30736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30737 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30738
a848cd7e
SC
30739#ifdef __STDC__
30740# include <limits.h>
30741#else
30742# include <assert.h>
30743#endif
ac1cb8d3
VS
30744
30745#undef $ac_func
30746
a848cd7e
SC
30747/* Override any gcc2 internal prototype to avoid an error. */
30748#ifdef __cplusplus
30749extern "C"
30750{
30751#endif
30752/* We use char because int might match the return type of a gcc2
30753 builtin and then its argument prototype would still apply. */
30754char $ac_func ();
30755/* The GNU C library defines this for functions which it implements
30756 to always fail with ENOSYS. Some functions are actually named
30757 something starting with __ and the normal name is an alias. */
30758#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30759choke me
30760#else
30761char (*f) () = $ac_func;
30762#endif
30763#ifdef __cplusplus
30764}
30765#endif
30766
30767int
30768main ()
30769{
30770return f != $ac_func;
30771 ;
30772 return 0;
30773}
30774_ACEOF
30775rm -f conftest.$ac_objext conftest$ac_exeext
30776if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30777 (eval $ac_link) 2>conftest.er1
a848cd7e 30778 ac_status=$?
ac1cb8d3
VS
30779 grep -v '^ *+' conftest.er1 >conftest.err
30780 rm -f conftest.er1
30781 cat conftest.err >&5
a848cd7e
SC
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } &&
fc480dc1
DE
30784 { ac_try='test -z "$ac_c_werror_flag"
30785 || test ! -s conftest.err'
ac1cb8d3
VS
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; } &&
30791 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30797 eval "$as_ac_var=yes"
30798else
30799 echo "$as_me: failed program was:" >&5
30800sed 's/^/| /' conftest.$ac_ext >&5
30801
30802eval "$as_ac_var=no"
30803fi
ac1cb8d3
VS
30804rm -f conftest.err conftest.$ac_objext \
30805 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30806fi
30807echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30808echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30809if test `eval echo '${'$as_ac_var'}'` = yes; then
30810 cat >>confdefs.h <<_ACEOF
30811#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30812_ACEOF
30813 break
30814fi
30815done
30816
30817
30818HAVE_SOME_SLEEP_FUNC=0
30819if test "$USE_BEOS" = 1; then
30820 cat >>confdefs.h <<\_ACEOF
30821#define HAVE_SLEEP 1
30822_ACEOF
30823
30824 HAVE_SOME_SLEEP_FUNC=1
30825fi
30826
30827if test "$USE_DARWIN" = 1; then
30828 cat >>confdefs.h <<\_ACEOF
30829#define HAVE_USLEEP 1
30830_ACEOF
30831
30832 HAVE_SOME_SLEEP_FUNC=1
30833fi
30834
30835if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30836 POSIX4_LINK=
30837
30838for ac_func in nanosleep
30839do
30840as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30841echo "$as_me:$LINENO: checking for $ac_func" >&5
30842echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30843if eval "test \"\${$as_ac_var+set}\" = set"; then
30844 echo $ECHO_N "(cached) $ECHO_C" >&6
30845else
30846 cat >conftest.$ac_ext <<_ACEOF
30847/* confdefs.h. */
30848_ACEOF
30849cat confdefs.h >>conftest.$ac_ext
30850cat >>conftest.$ac_ext <<_ACEOF
30851/* end confdefs.h. */
ac1cb8d3
VS
30852/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30854#define $ac_func innocuous_$ac_func
30855
a848cd7e
SC
30856/* System header to define __stub macros and hopefully few prototypes,
30857 which can conflict with char $ac_func (); below.
30858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30859 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30860
a848cd7e
SC
30861#ifdef __STDC__
30862# include <limits.h>
30863#else
30864# include <assert.h>
30865#endif
ac1cb8d3
VS
30866
30867#undef $ac_func
30868
a848cd7e
SC
30869/* Override any gcc2 internal prototype to avoid an error. */
30870#ifdef __cplusplus
30871extern "C"
30872{
30873#endif
30874/* We use char because int might match the return type of a gcc2
30875 builtin and then its argument prototype would still apply. */
30876char $ac_func ();
30877/* The GNU C library defines this for functions which it implements
30878 to always fail with ENOSYS. Some functions are actually named
30879 something starting with __ and the normal name is an alias. */
30880#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30881choke me
30882#else
30883char (*f) () = $ac_func;
30884#endif
30885#ifdef __cplusplus
30886}
30887#endif
30888
30889int
30890main ()
30891{
30892return f != $ac_func;
30893 ;
30894 return 0;
30895}
30896_ACEOF
30897rm -f conftest.$ac_objext conftest$ac_exeext
30898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30899 (eval $ac_link) 2>conftest.er1
a848cd7e 30900 ac_status=$?
ac1cb8d3
VS
30901 grep -v '^ *+' conftest.er1 >conftest.err
30902 rm -f conftest.er1
30903 cat conftest.err >&5
a848cd7e
SC
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } &&
fc480dc1
DE
30906 { ac_try='test -z "$ac_c_werror_flag"
30907 || test ! -s conftest.err'
ac1cb8d3
VS
30908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30909 (eval $ac_try) 2>&5
30910 ac_status=$?
30911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912 (exit $ac_status); }; } &&
30913 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30915 (eval $ac_try) 2>&5
30916 ac_status=$?
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); }; }; then
30919 eval "$as_ac_var=yes"
30920else
30921 echo "$as_me: failed program was:" >&5
30922sed 's/^/| /' conftest.$ac_ext >&5
30923
30924eval "$as_ac_var=no"
30925fi
ac1cb8d3
VS
30926rm -f conftest.err conftest.$ac_objext \
30927 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30928fi
30929echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30930echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30931if test `eval echo '${'$as_ac_var'}'` = yes; then
30932 cat >>confdefs.h <<_ACEOF
30933#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30934_ACEOF
30935 cat >>confdefs.h <<\_ACEOF
30936#define HAVE_NANOSLEEP 1
30937_ACEOF
30938
30939else
30940
30941 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30942echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30943if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30944 echo $ECHO_N "(cached) $ECHO_C" >&6
30945else
30946 ac_check_lib_save_LIBS=$LIBS
30947LIBS="-lposix4 $LIBS"
30948cat >conftest.$ac_ext <<_ACEOF
30949/* confdefs.h. */
30950_ACEOF
30951cat confdefs.h >>conftest.$ac_ext
30952cat >>conftest.$ac_ext <<_ACEOF
30953/* end confdefs.h. */
30954
30955/* Override any gcc2 internal prototype to avoid an error. */
30956#ifdef __cplusplus
30957extern "C"
30958#endif
30959/* We use char because int might match the return type of a gcc2
30960 builtin and then its argument prototype would still apply. */
30961char nanosleep ();
30962int
30963main ()
30964{
30965nanosleep ();
30966 ;
30967 return 0;
30968}
30969_ACEOF
30970rm -f conftest.$ac_objext conftest$ac_exeext
30971if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30972 (eval $ac_link) 2>conftest.er1
a848cd7e 30973 ac_status=$?
ac1cb8d3
VS
30974 grep -v '^ *+' conftest.er1 >conftest.err
30975 rm -f conftest.er1
30976 cat conftest.err >&5
a848cd7e
SC
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } &&
fc480dc1
DE
30979 { ac_try='test -z "$ac_c_werror_flag"
30980 || test ! -s conftest.err'
ac1cb8d3
VS
30981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982 (eval $ac_try) 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; } &&
30986 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30989 ac_status=$?
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; }; then
30992 ac_cv_lib_posix4_nanosleep=yes
30993else
30994 echo "$as_me: failed program was:" >&5
30995sed 's/^/| /' conftest.$ac_ext >&5
30996
30997ac_cv_lib_posix4_nanosleep=no
30998fi
ac1cb8d3
VS
30999rm -f conftest.err conftest.$ac_objext \
31000 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31001LIBS=$ac_check_lib_save_LIBS
31002fi
31003echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31004echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31005if test $ac_cv_lib_posix4_nanosleep = yes; then
31006
31007 cat >>confdefs.h <<\_ACEOF
31008#define HAVE_NANOSLEEP 1
31009_ACEOF
31010
31011 POSIX4_LINK=" -lposix4"
31012
31013else
31014
31015
31016for ac_func in usleep
31017do
31018as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31019echo "$as_me:$LINENO: checking for $ac_func" >&5
31020echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31021if eval "test \"\${$as_ac_var+set}\" = set"; then
31022 echo $ECHO_N "(cached) $ECHO_C" >&6
31023else
31024 cat >conftest.$ac_ext <<_ACEOF
31025/* confdefs.h. */
31026_ACEOF
31027cat confdefs.h >>conftest.$ac_ext
31028cat >>conftest.$ac_ext <<_ACEOF
31029/* end confdefs.h. */
ac1cb8d3
VS
31030/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31032#define $ac_func innocuous_$ac_func
31033
a848cd7e
SC
31034/* System header to define __stub macros and hopefully few prototypes,
31035 which can conflict with char $ac_func (); below.
31036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31037 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 31038
a848cd7e
SC
31039#ifdef __STDC__
31040# include <limits.h>
31041#else
31042# include <assert.h>
31043#endif
ac1cb8d3
VS
31044
31045#undef $ac_func
31046
a848cd7e
SC
31047/* Override any gcc2 internal prototype to avoid an error. */
31048#ifdef __cplusplus
31049extern "C"
31050{
31051#endif
31052/* We use char because int might match the return type of a gcc2
31053 builtin and then its argument prototype would still apply. */
31054char $ac_func ();
31055/* The GNU C library defines this for functions which it implements
31056 to always fail with ENOSYS. Some functions are actually named
31057 something starting with __ and the normal name is an alias. */
31058#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31059choke me
31060#else
31061char (*f) () = $ac_func;
31062#endif
31063#ifdef __cplusplus
31064}
31065#endif
31066
31067int
31068main ()
31069{
31070return f != $ac_func;
31071 ;
31072 return 0;
31073}
31074_ACEOF
31075rm -f conftest.$ac_objext conftest$ac_exeext
31076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31077 (eval $ac_link) 2>conftest.er1
a848cd7e 31078 ac_status=$?
ac1cb8d3
VS
31079 grep -v '^ *+' conftest.er1 >conftest.err
31080 rm -f conftest.er1
31081 cat conftest.err >&5
a848cd7e
SC
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); } &&
fc480dc1
DE
31084 { ac_try='test -z "$ac_c_werror_flag"
31085 || test ! -s conftest.err'
ac1cb8d3
VS
31086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087 (eval $ac_try) 2>&5
31088 ac_status=$?
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; } &&
31091 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31093 (eval $ac_try) 2>&5
31094 ac_status=$?
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); }; }; then
31097 eval "$as_ac_var=yes"
31098else
31099 echo "$as_me: failed program was:" >&5
31100sed 's/^/| /' conftest.$ac_ext >&5
31101
31102eval "$as_ac_var=no"
31103fi
ac1cb8d3
VS
31104rm -f conftest.err conftest.$ac_objext \
31105 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31106fi
31107echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31108echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31109if test `eval echo '${'$as_ac_var'}'` = yes; then
31110 cat >>confdefs.h <<_ACEOF
31111#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31112_ACEOF
31113 cat >>confdefs.h <<\_ACEOF
31114#define HAVE_USLEEP 1
31115_ACEOF
31116
31117else
31118 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31119echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31120
31121fi
31122done
31123
31124
31125
31126fi
31127
31128
31129
31130fi
31131done
31132
31133fi
31134
31135
31136
31137for ac_func in uname gethostname
31138do
31139as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31140echo "$as_me:$LINENO: checking for $ac_func" >&5
31141echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31142if eval "test \"\${$as_ac_var+set}\" = set"; then
31143 echo $ECHO_N "(cached) $ECHO_C" >&6
31144else
31145 cat >conftest.$ac_ext <<_ACEOF
31146/* confdefs.h. */
31147_ACEOF
31148cat confdefs.h >>conftest.$ac_ext
31149cat >>conftest.$ac_ext <<_ACEOF
31150/* end confdefs.h. */
ac1cb8d3
VS
31151/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31153#define $ac_func innocuous_$ac_func
31154
a848cd7e
SC
31155/* System header to define __stub macros and hopefully few prototypes,
31156 which can conflict with char $ac_func (); below.
31157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31158 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 31159
a848cd7e
SC
31160#ifdef __STDC__
31161# include <limits.h>
31162#else
31163# include <assert.h>
31164#endif
ac1cb8d3
VS
31165
31166#undef $ac_func
31167
a848cd7e
SC
31168/* Override any gcc2 internal prototype to avoid an error. */
31169#ifdef __cplusplus
31170extern "C"
31171{
31172#endif
31173/* We use char because int might match the return type of a gcc2
31174 builtin and then its argument prototype would still apply. */
31175char $ac_func ();
31176/* The GNU C library defines this for functions which it implements
31177 to always fail with ENOSYS. Some functions are actually named
31178 something starting with __ and the normal name is an alias. */
31179#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31180choke me
31181#else
31182char (*f) () = $ac_func;
31183#endif
31184#ifdef __cplusplus
31185}
31186#endif
31187
31188int
31189main ()
31190{
31191return f != $ac_func;
31192 ;
31193 return 0;
31194}
31195_ACEOF
31196rm -f conftest.$ac_objext conftest$ac_exeext
31197if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31198 (eval $ac_link) 2>conftest.er1
a848cd7e 31199 ac_status=$?
ac1cb8d3
VS
31200 grep -v '^ *+' conftest.er1 >conftest.err
31201 rm -f conftest.er1
31202 cat conftest.err >&5
a848cd7e
SC
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } &&
fc480dc1
DE
31205 { ac_try='test -z "$ac_c_werror_flag"
31206 || test ! -s conftest.err'
ac1cb8d3
VS
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31209 ac_status=$?
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; } &&
31212 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31215 ac_status=$?
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; }; then
31218 eval "$as_ac_var=yes"
31219else
31220 echo "$as_me: failed program was:" >&5
31221sed 's/^/| /' conftest.$ac_ext >&5
31222
31223eval "$as_ac_var=no"
31224fi
ac1cb8d3
VS
31225rm -f conftest.err conftest.$ac_objext \
31226 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31227fi
31228echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31229echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31230if test `eval echo '${'$as_ac_var'}'` = yes; then
31231 cat >>confdefs.h <<_ACEOF
31232#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31233_ACEOF
31234 break
31235fi
31236done
31237
31238
31239
31240
31241ac_ext=cc
31242ac_cpp='$CXXCPP $CPPFLAGS'
31243ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31246
31247
31248
31249for ac_func in strtok_r
31250do
31251as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31252echo "$as_me:$LINENO: checking for $ac_func" >&5
31253echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31254if eval "test \"\${$as_ac_var+set}\" = set"; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31256else
31257 cat >conftest.$ac_ext <<_ACEOF
31258/* confdefs.h. */
31259_ACEOF
31260cat confdefs.h >>conftest.$ac_ext
31261cat >>conftest.$ac_ext <<_ACEOF
31262/* end confdefs.h. */
ac1cb8d3
VS
31263/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31265#define $ac_func innocuous_$ac_func
31266
a848cd7e
SC
31267/* System header to define __stub macros and hopefully few prototypes,
31268 which can conflict with char $ac_func (); below.
31269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31270 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 31271
a848cd7e
SC
31272#ifdef __STDC__
31273# include <limits.h>
31274#else
31275# include <assert.h>
31276#endif
ac1cb8d3
VS
31277
31278#undef $ac_func
31279
a848cd7e
SC
31280/* Override any gcc2 internal prototype to avoid an error. */
31281#ifdef __cplusplus
31282extern "C"
31283{
31284#endif
31285/* We use char because int might match the return type of a gcc2
31286 builtin and then its argument prototype would still apply. */
31287char $ac_func ();
31288/* The GNU C library defines this for functions which it implements
31289 to always fail with ENOSYS. Some functions are actually named
31290 something starting with __ and the normal name is an alias. */
31291#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31292choke me
31293#else
31294char (*f) () = $ac_func;
31295#endif
31296#ifdef __cplusplus
31297}
31298#endif
31299
31300int
31301main ()
31302{
31303return f != $ac_func;
31304 ;
31305 return 0;
31306}
31307_ACEOF
31308rm -f conftest.$ac_objext conftest$ac_exeext
31309if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31310 (eval $ac_link) 2>conftest.er1
a848cd7e 31311 ac_status=$?
ac1cb8d3
VS
31312 grep -v '^ *+' conftest.er1 >conftest.err
31313 rm -f conftest.er1
31314 cat conftest.err >&5
a848cd7e
SC
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); } &&
fc480dc1
DE
31317 { ac_try='test -z "$ac_cxx_werror_flag"
31318 || test ! -s conftest.err'
ac1cb8d3
VS
31319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31320 (eval $ac_try) 2>&5
31321 ac_status=$?
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); }; } &&
31324 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326 (eval $ac_try) 2>&5
31327 ac_status=$?
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); }; }; then
31330 eval "$as_ac_var=yes"
31331else
31332 echo "$as_me: failed program was:" >&5
31333sed 's/^/| /' conftest.$ac_ext >&5
31334
31335eval "$as_ac_var=no"
31336fi
ac1cb8d3
VS
31337rm -f conftest.err conftest.$ac_objext \
31338 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31339fi
31340echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31341echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31342if test `eval echo '${'$as_ac_var'}'` = yes; then
31343 cat >>confdefs.h <<_ACEOF
31344#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31345_ACEOF
31346
31347fi
31348done
31349
31350
31351ac_ext=c
31352ac_cpp='$CPP $CPPFLAGS'
31353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31355ac_compiler_gnu=$ac_cv_c_compiler_gnu
31356
31357
31358INET_LINK=
31359
31360for ac_func in inet_addr
31361do
31362as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31363echo "$as_me:$LINENO: checking for $ac_func" >&5
31364echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31365if eval "test \"\${$as_ac_var+set}\" = set"; then
31366 echo $ECHO_N "(cached) $ECHO_C" >&6
31367else
31368 cat >conftest.$ac_ext <<_ACEOF
31369/* confdefs.h. */
31370_ACEOF
31371cat confdefs.h >>conftest.$ac_ext
31372cat >>conftest.$ac_ext <<_ACEOF
31373/* end confdefs.h. */
ac1cb8d3
VS
31374/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31376#define $ac_func innocuous_$ac_func
31377
a848cd7e
SC
31378/* System header to define __stub macros and hopefully few prototypes,
31379 which can conflict with char $ac_func (); below.
31380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31381 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 31382
a848cd7e
SC
31383#ifdef __STDC__
31384# include <limits.h>
31385#else
31386# include <assert.h>
31387#endif
ac1cb8d3
VS
31388
31389#undef $ac_func
31390
a848cd7e
SC
31391/* Override any gcc2 internal prototype to avoid an error. */
31392#ifdef __cplusplus
31393extern "C"
31394{
31395#endif
31396/* We use char because int might match the return type of a gcc2
31397 builtin and then its argument prototype would still apply. */
31398char $ac_func ();
31399/* The GNU C library defines this for functions which it implements
31400 to always fail with ENOSYS. Some functions are actually named
31401 something starting with __ and the normal name is an alias. */
31402#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31403choke me
31404#else
31405char (*f) () = $ac_func;
31406#endif
31407#ifdef __cplusplus
31408}
31409#endif
31410
31411int
31412main ()
31413{
31414return f != $ac_func;
31415 ;
31416 return 0;
31417}
31418_ACEOF
31419rm -f conftest.$ac_objext conftest$ac_exeext
31420if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31421 (eval $ac_link) 2>conftest.er1
a848cd7e 31422 ac_status=$?
ac1cb8d3
VS
31423 grep -v '^ *+' conftest.er1 >conftest.err
31424 rm -f conftest.er1
31425 cat conftest.err >&5
a848cd7e
SC
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); } &&
fc480dc1
DE
31428 { ac_try='test -z "$ac_c_werror_flag"
31429 || test ! -s conftest.err'
ac1cb8d3
VS
31430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31431 (eval $ac_try) 2>&5
31432 ac_status=$?
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); }; } &&
31435 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31438 ac_status=$?
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; }; then
31441 eval "$as_ac_var=yes"
31442else
31443 echo "$as_me: failed program was:" >&5
31444sed 's/^/| /' conftest.$ac_ext >&5
31445
31446eval "$as_ac_var=no"
31447fi
ac1cb8d3
VS
31448rm -f conftest.err conftest.$ac_objext \
31449 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31450fi
31451echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31452echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31453if test `eval echo '${'$as_ac_var'}'` = yes; then
31454 cat >>confdefs.h <<_ACEOF
31455#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31456_ACEOF
31457 cat >>confdefs.h <<\_ACEOF
31458#define HAVE_INET_ADDR 1
31459_ACEOF
31460
31461else
31462
31463 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31464echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31465if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31467else
31468 ac_check_lib_save_LIBS=$LIBS
31469LIBS="-lnsl $LIBS"
31470cat >conftest.$ac_ext <<_ACEOF
31471/* confdefs.h. */
31472_ACEOF
31473cat confdefs.h >>conftest.$ac_ext
31474cat >>conftest.$ac_ext <<_ACEOF
31475/* end confdefs.h. */
31476
31477/* Override any gcc2 internal prototype to avoid an error. */
31478#ifdef __cplusplus
31479extern "C"
31480#endif
31481/* We use char because int might match the return type of a gcc2
31482 builtin and then its argument prototype would still apply. */
31483char inet_addr ();
31484int
31485main ()
31486{
31487inet_addr ();
31488 ;
31489 return 0;
31490}
31491_ACEOF
31492rm -f conftest.$ac_objext conftest$ac_exeext
31493if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31494 (eval $ac_link) 2>conftest.er1
a848cd7e 31495 ac_status=$?
ac1cb8d3
VS
31496 grep -v '^ *+' conftest.er1 >conftest.err
31497 rm -f conftest.er1
31498 cat conftest.err >&5
a848cd7e
SC
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } &&
fc480dc1
DE
31501 { ac_try='test -z "$ac_c_werror_flag"
31502 || test ! -s conftest.err'
ac1cb8d3
VS
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31505 ac_status=$?
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; } &&
31508 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 (eval $ac_try) 2>&5
31511 ac_status=$?
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); }; }; then
31514 ac_cv_lib_nsl_inet_addr=yes
31515else
31516 echo "$as_me: failed program was:" >&5
31517sed 's/^/| /' conftest.$ac_ext >&5
31518
31519ac_cv_lib_nsl_inet_addr=no
31520fi
ac1cb8d3
VS
31521rm -f conftest.err conftest.$ac_objext \
31522 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31523LIBS=$ac_check_lib_save_LIBS
31524fi
31525echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31526echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31527if test $ac_cv_lib_nsl_inet_addr = yes; then
31528 INET_LINK="nsl"
31529else
31530
31531 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31532echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31533if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31534 echo $ECHO_N "(cached) $ECHO_C" >&6
31535else
31536 ac_check_lib_save_LIBS=$LIBS
31537LIBS="-lresolv $LIBS"
31538cat >conftest.$ac_ext <<_ACEOF
31539/* confdefs.h. */
31540_ACEOF
31541cat confdefs.h >>conftest.$ac_ext
31542cat >>conftest.$ac_ext <<_ACEOF
31543/* end confdefs.h. */
31544
31545/* Override any gcc2 internal prototype to avoid an error. */
31546#ifdef __cplusplus
31547extern "C"
31548#endif
31549/* We use char because int might match the return type of a gcc2
31550 builtin and then its argument prototype would still apply. */
31551char inet_addr ();
31552int
31553main ()
31554{
31555inet_addr ();
31556 ;
31557 return 0;
31558}
31559_ACEOF
31560rm -f conftest.$ac_objext conftest$ac_exeext
31561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31562 (eval $ac_link) 2>conftest.er1
a848cd7e 31563 ac_status=$?
ac1cb8d3
VS
31564 grep -v '^ *+' conftest.er1 >conftest.err
31565 rm -f conftest.er1
31566 cat conftest.err >&5
a848cd7e
SC
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); } &&
fc480dc1
DE
31569 { ac_try='test -z "$ac_c_werror_flag"
31570 || test ! -s conftest.err'
ac1cb8d3
VS
31571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31572 (eval $ac_try) 2>&5
31573 ac_status=$?
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); }; } &&
31576 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578 (eval $ac_try) 2>&5
31579 ac_status=$?
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; }; then
31582 ac_cv_lib_resolv_inet_addr=yes
31583else
31584 echo "$as_me: failed program was:" >&5
31585sed 's/^/| /' conftest.$ac_ext >&5
31586
31587ac_cv_lib_resolv_inet_addr=no
31588fi
ac1cb8d3
VS
31589rm -f conftest.err conftest.$ac_objext \
31590 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31591LIBS=$ac_check_lib_save_LIBS
31592fi
31593echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31594echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31595if test $ac_cv_lib_resolv_inet_addr = yes; then
31596 INET_LINK="resolv"
31597else
31598
31599 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31600echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31601if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31602 echo $ECHO_N "(cached) $ECHO_C" >&6
31603else
31604 ac_check_lib_save_LIBS=$LIBS
31605LIBS="-lsocket $LIBS"
31606cat >conftest.$ac_ext <<_ACEOF
31607/* confdefs.h. */
31608_ACEOF
31609cat confdefs.h >>conftest.$ac_ext
31610cat >>conftest.$ac_ext <<_ACEOF
31611/* end confdefs.h. */
31612
31613/* Override any gcc2 internal prototype to avoid an error. */
31614#ifdef __cplusplus
31615extern "C"
31616#endif
31617/* We use char because int might match the return type of a gcc2
31618 builtin and then its argument prototype would still apply. */
31619char inet_addr ();
31620int
31621main ()
31622{
31623inet_addr ();
31624 ;
31625 return 0;
31626}
31627_ACEOF
31628rm -f conftest.$ac_objext conftest$ac_exeext
31629if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31630 (eval $ac_link) 2>conftest.er1
a848cd7e 31631 ac_status=$?
ac1cb8d3
VS
31632 grep -v '^ *+' conftest.er1 >conftest.err
31633 rm -f conftest.er1
31634 cat conftest.err >&5
a848cd7e
SC
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
fc480dc1
DE
31637 { ac_try='test -z "$ac_c_werror_flag"
31638 || test ! -s conftest.err'
ac1cb8d3
VS
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 ac_cv_lib_socket_inet_addr=yes
31651else
31652 echo "$as_me: failed program was:" >&5
31653sed 's/^/| /' conftest.$ac_ext >&5
31654
31655ac_cv_lib_socket_inet_addr=no
31656fi
ac1cb8d3
VS
31657rm -f conftest.err conftest.$ac_objext \
31658 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31659LIBS=$ac_check_lib_save_LIBS
31660fi
31661echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31662echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31663if test $ac_cv_lib_socket_inet_addr = yes; then
31664 INET_LINK="socket"
31665
31666fi
31667
31668
31669
31670fi
31671
31672
31673
31674fi
31675
31676
31677
31678fi
31679done
31680
31681
31682
31683for ac_func in inet_aton
31684do
31685as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31686echo "$as_me:$LINENO: checking for $ac_func" >&5
31687echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31688if eval "test \"\${$as_ac_var+set}\" = set"; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31690else
31691 cat >conftest.$ac_ext <<_ACEOF
31692/* confdefs.h. */
31693_ACEOF
31694cat confdefs.h >>conftest.$ac_ext
31695cat >>conftest.$ac_ext <<_ACEOF
31696/* end confdefs.h. */
ac1cb8d3
VS
31697/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31699#define $ac_func innocuous_$ac_func
31700
a848cd7e
SC
31701/* System header to define __stub macros and hopefully few prototypes,
31702 which can conflict with char $ac_func (); below.
31703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31704 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 31705
a848cd7e
SC
31706#ifdef __STDC__
31707# include <limits.h>
31708#else
31709# include <assert.h>
31710#endif
ac1cb8d3
VS
31711
31712#undef $ac_func
31713
a848cd7e
SC
31714/* Override any gcc2 internal prototype to avoid an error. */
31715#ifdef __cplusplus
31716extern "C"
31717{
31718#endif
31719/* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31721char $ac_func ();
31722/* The GNU C library defines this for functions which it implements
31723 to always fail with ENOSYS. Some functions are actually named
31724 something starting with __ and the normal name is an alias. */
31725#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31726choke me
31727#else
31728char (*f) () = $ac_func;
31729#endif
31730#ifdef __cplusplus
31731}
31732#endif
31733
31734int
31735main ()
31736{
31737return f != $ac_func;
31738 ;
31739 return 0;
31740}
31741_ACEOF
31742rm -f conftest.$ac_objext conftest$ac_exeext
31743if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31744 (eval $ac_link) 2>conftest.er1
a848cd7e 31745 ac_status=$?
ac1cb8d3
VS
31746 grep -v '^ *+' conftest.er1 >conftest.err
31747 rm -f conftest.er1
31748 cat conftest.err >&5
a848cd7e
SC
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } &&
fc480dc1
DE
31751 { ac_try='test -z "$ac_c_werror_flag"
31752 || test ! -s conftest.err'
ac1cb8d3
VS
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'
a848cd7e
SC
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 eval "$as_ac_var=yes"
31765else
31766 echo "$as_me: failed program was:" >&5
31767sed 's/^/| /' conftest.$ac_ext >&5
31768
31769eval "$as_ac_var=no"
31770fi
ac1cb8d3
VS
31771rm -f conftest.err conftest.$ac_objext \
31772 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31773fi
31774echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31775echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31776if test `eval echo '${'$as_ac_var'}'` = yes; then
31777 cat >>confdefs.h <<_ACEOF
31778#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31779_ACEOF
31780 cat >>confdefs.h <<\_ACEOF
31781#define HAVE_INET_ATON 1
31782_ACEOF
31783
31784else
31785
31786 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31787echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31788echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31789if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31791else
31792 ac_check_lib_save_LIBS=$LIBS
31793LIBS="-l$INET_LINK $LIBS"
31794cat >conftest.$ac_ext <<_ACEOF
31795/* confdefs.h. */
31796_ACEOF
31797cat confdefs.h >>conftest.$ac_ext
31798cat >>conftest.$ac_ext <<_ACEOF
31799/* end confdefs.h. */
31800
31801/* Override any gcc2 internal prototype to avoid an error. */
31802#ifdef __cplusplus
31803extern "C"
31804#endif
31805/* We use char because int might match the return type of a gcc2
31806 builtin and then its argument prototype would still apply. */
31807char inet_aton ();
31808int
31809main ()
31810{
31811inet_aton ();
31812 ;
31813 return 0;
31814}
31815_ACEOF
31816rm -f conftest.$ac_objext conftest$ac_exeext
31817if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31818 (eval $ac_link) 2>conftest.er1
a848cd7e 31819 ac_status=$?
ac1cb8d3
VS
31820 grep -v '^ *+' conftest.er1 >conftest.err
31821 rm -f conftest.er1
31822 cat conftest.err >&5
a848cd7e
SC
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); } &&
fc480dc1
DE
31825 { ac_try='test -z "$ac_c_werror_flag"
31826 || test ! -s conftest.err'
ac1cb8d3
VS
31827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31828 (eval $ac_try) 2>&5
31829 ac_status=$?
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; } &&
31832 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834 (eval $ac_try) 2>&5
31835 ac_status=$?
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); }; }; then
31838 eval "$as_ac_Lib=yes"
31839else
31840 echo "$as_me: failed program was:" >&5
31841sed 's/^/| /' conftest.$ac_ext >&5
31842
31843eval "$as_ac_Lib=no"
31844fi
ac1cb8d3
VS
31845rm -f conftest.err conftest.$ac_objext \
31846 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31847LIBS=$ac_check_lib_save_LIBS
31848fi
31849echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31850echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31851if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31852 cat >>confdefs.h <<\_ACEOF
31853#define HAVE_INET_ATON 1
31854_ACEOF
31855
31856fi
31857
31858
31859fi
31860done
31861
31862
31863if test "x$INET_LINK" != "x"; then
31864 cat >>confdefs.h <<\_ACEOF
31865#define HAVE_INET_ADDR 1
31866_ACEOF
31867
31868 INET_LINK=" -l$INET_LINK"
31869fi
31870
31871fi
31872
31873
31874
31875EXTRALIBS_ESD=
31876echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31877echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31878if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31879 echo $ECHO_N "(cached) $ECHO_C" >&6
31880else
31881 ac_check_lib_save_LIBS=$LIBS
31882LIBS="-lesd $LIBS"
31883cat >conftest.$ac_ext <<_ACEOF
31884/* confdefs.h. */
31885_ACEOF
31886cat confdefs.h >>conftest.$ac_ext
31887cat >>conftest.$ac_ext <<_ACEOF
31888/* end confdefs.h. */
31889
31890/* Override any gcc2 internal prototype to avoid an error. */
31891#ifdef __cplusplus
31892extern "C"
31893#endif
31894/* We use char because int might match the return type of a gcc2
31895 builtin and then its argument prototype would still apply. */
31896char esd_close ();
31897int
31898main ()
31899{
31900esd_close ();
31901 ;
31902 return 0;
31903}
31904_ACEOF
31905rm -f conftest.$ac_objext conftest$ac_exeext
31906if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31907 (eval $ac_link) 2>conftest.er1
a848cd7e 31908 ac_status=$?
ac1cb8d3
VS
31909 grep -v '^ *+' conftest.er1 >conftest.err
31910 rm -f conftest.er1
31911 cat conftest.err >&5
a848cd7e
SC
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } &&
fc480dc1
DE
31914 { ac_try='test -z "$ac_c_werror_flag"
31915 || test ! -s conftest.err'
ac1cb8d3
VS
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31918 ac_status=$?
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; } &&
31921 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31923 (eval $ac_try) 2>&5
31924 ac_status=$?
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); }; }; then
31927 ac_cv_lib_esd_esd_close=yes
31928else
31929 echo "$as_me: failed program was:" >&5
31930sed 's/^/| /' conftest.$ac_ext >&5
31931
31932ac_cv_lib_esd_esd_close=no
31933fi
ac1cb8d3
VS
31934rm -f conftest.err conftest.$ac_objext \
31935 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31936LIBS=$ac_check_lib_save_LIBS
31937fi
31938echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31939echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31940if test $ac_cv_lib_esd_esd_close = yes; then
31941
31942
31943for ac_header in esd.h
31944do
31945as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31946if eval "test \"\${$as_ac_Header+set}\" = set"; then
31947 echo "$as_me:$LINENO: checking for $ac_header" >&5
31948echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31949if eval "test \"\${$as_ac_Header+set}\" = set"; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31951fi
31952echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31953echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31954else
31955 # Is the header compilable?
31956echo "$as_me:$LINENO: checking $ac_header usability" >&5
31957echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31958cat >conftest.$ac_ext <<_ACEOF
31959/* confdefs.h. */
31960_ACEOF
31961cat confdefs.h >>conftest.$ac_ext
31962cat >>conftest.$ac_ext <<_ACEOF
31963/* end confdefs.h. */
31964$ac_includes_default
31965#include <$ac_header>
31966_ACEOF
31967rm -f conftest.$ac_objext
31968if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 31969 (eval $ac_compile) 2>conftest.er1
a848cd7e 31970 ac_status=$?
ac1cb8d3
VS
31971 grep -v '^ *+' conftest.er1 >conftest.err
31972 rm -f conftest.er1
31973 cat conftest.err >&5
a848cd7e
SC
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } &&
fc480dc1
DE
31976 { ac_try='test -z "$ac_c_werror_flag"
31977 || test ! -s conftest.err'
ac1cb8d3
VS
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; } &&
31983 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
31984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31985 (eval $ac_try) 2>&5
31986 ac_status=$?
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; }; then
31989 ac_header_compiler=yes
31990else
31991 echo "$as_me: failed program was:" >&5
31992sed 's/^/| /' conftest.$ac_ext >&5
31993
31994ac_header_compiler=no
31995fi
ac1cb8d3 31996rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
31997echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31998echo "${ECHO_T}$ac_header_compiler" >&6
31999
32000# Is the header present?
32001echo "$as_me:$LINENO: checking $ac_header presence" >&5
32002echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32003cat >conftest.$ac_ext <<_ACEOF
32004/* confdefs.h. */
32005_ACEOF
32006cat confdefs.h >>conftest.$ac_ext
32007cat >>conftest.$ac_ext <<_ACEOF
32008/* end confdefs.h. */
32009#include <$ac_header>
32010_ACEOF
32011if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32013 ac_status=$?
32014 grep -v '^ *+' conftest.er1 >conftest.err
32015 rm -f conftest.er1
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } >/dev/null; then
32019 if test -s conftest.err; then
32020 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 32021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
32022 else
32023 ac_cpp_err=
32024 fi
32025else
32026 ac_cpp_err=yes
32027fi
32028if test -z "$ac_cpp_err"; then
32029 ac_header_preproc=yes
32030else
32031 echo "$as_me: failed program was:" >&5
32032sed 's/^/| /' conftest.$ac_ext >&5
32033
32034 ac_header_preproc=no
32035fi
32036rm -f conftest.err conftest.$ac_ext
32037echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32038echo "${ECHO_T}$ac_header_preproc" >&6
32039
32040# So? What about this header?
ac1cb8d3
VS
32041case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32042 yes:no: )
a848cd7e
SC
32043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32044echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
32045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32046echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32047 ac_header_preproc=yes
a848cd7e 32048 ;;
ac1cb8d3 32049 no:yes:* )
a848cd7e
SC
32050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32051echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
32052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32053echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32055echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32057echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
32058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32059echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
32060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32061echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
32062 (
32063 cat <<\_ASBOX
ac1cb8d3
VS
32064## ----------------------------------------- ##
32065## Report this to wx-dev@lists.wxwidgets.org ##
32066## ----------------------------------------- ##
a848cd7e
SC
32067_ASBOX
32068 ) |
32069 sed "s/^/$as_me: WARNING: /" >&2
32070 ;;
32071esac
32072echo "$as_me:$LINENO: checking for $ac_header" >&5
32073echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32074if eval "test \"\${$as_ac_Header+set}\" = set"; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32076else
ac1cb8d3 32077 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
32078fi
32079echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32080echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32081
32082fi
32083if test `eval echo '${'$as_ac_Header'}'` = yes; then
32084 cat >>confdefs.h <<_ACEOF
32085#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32086_ACEOF
32087
32088 EXTRALIBS_ESD="-lesd"
32089
32090fi
32091
32092done
32093
32094
32095fi
32096
32097
32098
32099echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32100echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32101cat >conftest.$ac_ext <<_ACEOF
32102/* confdefs.h. */
32103_ACEOF
32104cat confdefs.h >>conftest.$ac_ext
32105cat >>conftest.$ac_ext <<_ACEOF
32106/* end confdefs.h. */
32107#ifdef __linux__
32108 #include <linux/cdrom.h>
32109 #else
32110 /* For Solaris */
32111 #include <sys/cdio.h>
32112 #endif
32113
32114int
32115main ()
32116{
32117struct cdrom_tocentry entry, old_entry;
32118 ;
32119 return 0;
32120}
32121_ACEOF
32122rm -f conftest.$ac_objext
32123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 32124 (eval $ac_compile) 2>conftest.er1
a848cd7e 32125 ac_status=$?
ac1cb8d3
VS
32126 grep -v '^ *+' conftest.er1 >conftest.err
32127 rm -f conftest.er1
32128 cat conftest.err >&5
a848cd7e
SC
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); } &&
fc480dc1
DE
32131 { ac_try='test -z "$ac_c_werror_flag"
32132 || test ! -s conftest.err'
ac1cb8d3
VS
32133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32134 (eval $ac_try) 2>&5
32135 ac_status=$?
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); }; } &&
32138 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32141 ac_status=$?
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; }; then
32144 echo "$as_me:$LINENO: result: yes" >&5
32145echo "${ECHO_T}yes" >&6
32146 cat >>confdefs.h <<\_ACEOF
32147#define HAVE_KNOWN_CDROM_INTERFACE 1
32148_ACEOF
32149
32150else
32151 echo "$as_me: failed program was:" >&5
32152sed 's/^/| /' conftest.$ac_ext >&5
32153
32154echo "$as_me:$LINENO: result: no" >&5
32155echo "${ECHO_T}no" >&6
32156fi
ac1cb8d3 32157rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
32158
32159
32160cat >confcache <<\_ACEOF
32161# This file is a shell script that caches the results of configure
32162# tests run on this system so they can be shared between configure
32163# scripts and configure runs, see configure's option --config-cache.
32164# It is not useful on other systems. If it contains results you don't
32165# want to keep, you may remove or edit it.
32166#
32167# config.status only pays attention to the cache file if you give it
32168# the --recheck option to rerun configure.
32169#
32170# `ac_cv_env_foo' variables (set or unset) will be overridden when
32171# loading this file, other *unset* `ac_cv_foo' will be assigned the
32172# following values.
32173
32174_ACEOF
32175
32176# The following way of writing the cache mishandles newlines in values,
32177# but we know of no workaround that is simple, portable, and efficient.
32178# So, don't put newlines in cache variables' values.
32179# Ultrix sh set writes to stderr and can't be redirected directly,
32180# and sets the high bit in the cache file unless we assign to the vars.
32181{
32182 (set) 2>&1 |
32183 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32184 *ac_space=\ *)
32185 # `set' does not quote correctly, so add quotes (double-quote
32186 # substitution turns \\\\ into \\, and sed turns \\ into \).
32187 sed -n \
ac1cb8d3
VS
32188 "s/'/'\\\\''/g;
32189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
32190 ;;
32191 *)
32192 # `set' quotes correctly as required by POSIX, so do not add quotes.
32193 sed -n \
ac1cb8d3 32194 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
32195 ;;
32196 esac;
32197} |
32198 sed '
32199 t clear
32200 : clear
32201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32202 t end
32203 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32204 : end' >>confcache
32205if diff $cache_file confcache >/dev/null 2>&1; then :; else
32206 if test -w $cache_file; then
32207 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32208 cat confcache >$cache_file
32209 else
32210 echo "not updating unwritable cache $cache_file"
32211 fi
32212fi
32213rm -f confcache
32214
32215
32216CPP_MT_FLAG=
32217if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32218
32219
32220 THREADS_LINK=
32221 THREADS_CFLAGS=
32222
32223 if test "$wxUSE_THREADS" = "yes" ; then
32224 if test "$USE_BEOS" = 1; then
32225 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32226echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32227 wxUSE_THREADS="no"
32228 fi
32229 fi
32230
32231 if test "$wxUSE_THREADS" = "yes" ; then
32232
32233
32234 THREAD_OPTS="-pthread"
32235 case "${host}" in
32236 *-*-solaris2* | *-*-sunos4* )
32237 if test "x$GCC" = "xyes"; then
32238 THREAD_OPTS="-pthreads $THREAD_OPTS"
32239 else
32240 THREAD_OPTS="-mt $THREAD_OPTS"
32241 fi
32242 ;;
32243 *-*-freebsd*)
32244 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32245 ;;
32246 *-*-darwin* | *-*-cygwin* )
32247 THREAD_OPTS=""
32248 ;;
32249 *-*-aix*)
32250 THREAD_OPTS="pthreads"
32251 ;;
32252 *-hp-hpux* )
32253 if test "x$GCC" != "xyes"; then
32254 THREAD_OPTS=""
32255 fi
32256 ;;
32257
32258 *-*-irix* )
32259 if test "x$GCC" = "xyes"; then
32260 THREAD_OPTS=""
32261 fi
32262 ;;
32263
32264 *-*-*UnixWare*)
32265 if test "x$GCC" != "xyes"; then
32266 THREAD_OPTS="-Ethread"
32267 fi
32268 ;;
32269 esac
32270
32271 THREAD_OPTS="$THREAD_OPTS pthread none"
32272
32273 THREADS_OK=no
32274 for flag in $THREAD_OPTS; do
32275 case $flag in
32276 none)
32277 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32278echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32279 ;;
32280
32281 -*)
32282 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32283echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32284 THREADS_CFLAGS="$flag"
32285 ;;
32286
32287 *)
32288 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32289echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32290 THREADS_LINK="-l$flag"
32291 ;;
32292 esac
32293
32294 save_LIBS="$LIBS"
32295 save_CFLAGS="$CFLAGS"
32296 LIBS="$THREADS_LINK $LIBS"
32297 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32298
32299 cat >conftest.$ac_ext <<_ACEOF
32300/* confdefs.h. */
32301_ACEOF
32302cat confdefs.h >>conftest.$ac_ext
32303cat >>conftest.$ac_ext <<_ACEOF
32304/* end confdefs.h. */
32305#include <pthread.h>
32306int
32307main ()
32308{
32309pthread_create(0,0,0,0);
32310 ;
32311 return 0;
32312}
32313_ACEOF
32314rm -f conftest.$ac_objext conftest$ac_exeext
32315if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32316 (eval $ac_link) 2>conftest.er1
a848cd7e 32317 ac_status=$?
ac1cb8d3
VS
32318 grep -v '^ *+' conftest.er1 >conftest.err
32319 rm -f conftest.er1
32320 cat conftest.err >&5
a848cd7e
SC
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); } &&
fc480dc1
DE
32323 { ac_try='test -z "$ac_c_werror_flag"
32324 || test ! -s conftest.err'
ac1cb8d3
VS
32325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32326 (eval $ac_try) 2>&5
32327 ac_status=$?
32328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32329 (exit $ac_status); }; } &&
32330 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32332 (eval $ac_try) 2>&5
32333 ac_status=$?
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; }; then
32336 THREADS_OK=yes
32337else
32338 echo "$as_me: failed program was:" >&5
32339sed 's/^/| /' conftest.$ac_ext >&5
32340
32341fi
ac1cb8d3
VS
32342rm -f conftest.err conftest.$ac_objext \
32343 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32344
32345 LIBS="$save_LIBS"
32346 CFLAGS="$save_CFLAGS"
32347
32348 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32349echo "${ECHO_T}$THREADS_OK" >&6
32350 if test "x$THREADS_OK" = "xyes"; then
32351 break;
32352 fi
32353
32354 THREADS_LINK=""
32355 THREADS_CFLAGS=""
32356 done
32357
32358 if test "x$THREADS_OK" != "xyes"; then
32359 wxUSE_THREADS=no
32360 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32361echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32362 else
32363 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32364 LIBS="$THREADS_LINK $LIBS"
32365
32366 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32367echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32368 flag=no
32369 case "${host}" in
32370 *-aix*)
32371 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32372 flag="-D_THREAD_SAFE"
32373 ;;
32374 *-freebsd*)
32375 flag="-D_THREAD_SAFE"
32376 ;;
32377 *-hp-hpux* )
32378 flag="-D_REENTRANT"
32379 if test "x$GCC" != "xyes"; then
32380 flag="$flag -D_RWSTD_MULTI_THREAD"
473276a9
VS
32381
32382 LIBS="$LIBS -lcma"
a848cd7e
SC
32383 fi
32384 ;;
32385 *solaris* | alpha*-osf*)
32386 flag="-D_REENTRANT"
32387 ;;
32388 esac
32389 echo "$as_me:$LINENO: result: ${flag}" >&5
32390echo "${ECHO_T}${flag}" >&6
32391 if test "x$flag" != xno; then
32392 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32393 fi
32394
32395 if test "x$THREADS_CFLAGS" != "x"; then
32396 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32397 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32398 fi
32399 fi
32400 fi
32401
32402 if test "$wxUSE_THREADS" = "yes" ; then
32403
32404for ac_func in thr_setconcurrency
32405do
32406as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32407echo "$as_me:$LINENO: checking for $ac_func" >&5
32408echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32409if eval "test \"\${$as_ac_var+set}\" = set"; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32411else
32412 cat >conftest.$ac_ext <<_ACEOF
32413/* confdefs.h. */
32414_ACEOF
32415cat confdefs.h >>conftest.$ac_ext
32416cat >>conftest.$ac_ext <<_ACEOF
32417/* end confdefs.h. */
ac1cb8d3
VS
32418/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32420#define $ac_func innocuous_$ac_func
32421
a848cd7e
SC
32422/* System header to define __stub macros and hopefully few prototypes,
32423 which can conflict with char $ac_func (); below.
32424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32425 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32426
a848cd7e
SC
32427#ifdef __STDC__
32428# include <limits.h>
32429#else
32430# include <assert.h>
32431#endif
ac1cb8d3
VS
32432
32433#undef $ac_func
32434
a848cd7e
SC
32435/* Override any gcc2 internal prototype to avoid an error. */
32436#ifdef __cplusplus
32437extern "C"
32438{
32439#endif
32440/* We use char because int might match the return type of a gcc2
32441 builtin and then its argument prototype would still apply. */
32442char $ac_func ();
32443/* The GNU C library defines this for functions which it implements
32444 to always fail with ENOSYS. Some functions are actually named
32445 something starting with __ and the normal name is an alias. */
32446#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32447choke me
32448#else
32449char (*f) () = $ac_func;
32450#endif
32451#ifdef __cplusplus
32452}
32453#endif
32454
32455int
32456main ()
32457{
32458return f != $ac_func;
32459 ;
32460 return 0;
32461}
32462_ACEOF
32463rm -f conftest.$ac_objext conftest$ac_exeext
32464if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32465 (eval $ac_link) 2>conftest.er1
a848cd7e 32466 ac_status=$?
ac1cb8d3
VS
32467 grep -v '^ *+' conftest.er1 >conftest.err
32468 rm -f conftest.er1
32469 cat conftest.err >&5
a848cd7e
SC
32470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471 (exit $ac_status); } &&
fc480dc1
DE
32472 { ac_try='test -z "$ac_c_werror_flag"
32473 || test ! -s conftest.err'
ac1cb8d3
VS
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32476 ac_status=$?
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; } &&
32479 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32482 ac_status=$?
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; }; then
32485 eval "$as_ac_var=yes"
32486else
32487 echo "$as_me: failed program was:" >&5
32488sed 's/^/| /' conftest.$ac_ext >&5
32489
32490eval "$as_ac_var=no"
32491fi
ac1cb8d3
VS
32492rm -f conftest.err conftest.$ac_objext \
32493 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32494fi
32495echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32496echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32497if test `eval echo '${'$as_ac_var'}'` = yes; then
32498 cat >>confdefs.h <<_ACEOF
32499#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32500_ACEOF
32501
32502fi
32503done
32504
32505
32506
32507for ac_header in sched.h
32508do
32509as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32510if eval "test \"\${$as_ac_Header+set}\" = set"; then
32511 echo "$as_me:$LINENO: checking for $ac_header" >&5
32512echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32513if eval "test \"\${$as_ac_Header+set}\" = set"; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515fi
32516echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32517echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32518else
32519 # Is the header compilable?
32520echo "$as_me:$LINENO: checking $ac_header usability" >&5
32521echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32522cat >conftest.$ac_ext <<_ACEOF
32523/* confdefs.h. */
32524_ACEOF
32525cat confdefs.h >>conftest.$ac_ext
32526cat >>conftest.$ac_ext <<_ACEOF
32527/* end confdefs.h. */
32528$ac_includes_default
32529#include <$ac_header>
32530_ACEOF
32531rm -f conftest.$ac_objext
32532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 32533 (eval $ac_compile) 2>conftest.er1
a848cd7e 32534 ac_status=$?
ac1cb8d3
VS
32535 grep -v '^ *+' conftest.er1 >conftest.err
32536 rm -f conftest.er1
32537 cat conftest.err >&5
a848cd7e
SC
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } &&
fc480dc1
DE
32540 { ac_try='test -z "$ac_c_werror_flag"
32541 || test ! -s conftest.err'
ac1cb8d3
VS
32542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543 (eval $ac_try) 2>&5
32544 ac_status=$?
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; } &&
32547 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
32548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32549 (eval $ac_try) 2>&5
32550 ac_status=$?
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); }; }; then
32553 ac_header_compiler=yes
32554else
32555 echo "$as_me: failed program was:" >&5
32556sed 's/^/| /' conftest.$ac_ext >&5
32557
32558ac_header_compiler=no
32559fi
ac1cb8d3 32560rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
32561echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32562echo "${ECHO_T}$ac_header_compiler" >&6
32563
32564# Is the header present?
32565echo "$as_me:$LINENO: checking $ac_header presence" >&5
32566echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32567cat >conftest.$ac_ext <<_ACEOF
32568/* confdefs.h. */
32569_ACEOF
32570cat confdefs.h >>conftest.$ac_ext
32571cat >>conftest.$ac_ext <<_ACEOF
32572/* end confdefs.h. */
32573#include <$ac_header>
32574_ACEOF
32575if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32577 ac_status=$?
32578 grep -v '^ *+' conftest.er1 >conftest.err
32579 rm -f conftest.er1
32580 cat conftest.err >&5
32581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582 (exit $ac_status); } >/dev/null; then
32583 if test -s conftest.err; then
32584 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 32585 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
32586 else
32587 ac_cpp_err=
32588 fi
32589else
32590 ac_cpp_err=yes
32591fi
32592if test -z "$ac_cpp_err"; then
32593 ac_header_preproc=yes
32594else
32595 echo "$as_me: failed program was:" >&5
32596sed 's/^/| /' conftest.$ac_ext >&5
32597
32598 ac_header_preproc=no
32599fi
32600rm -f conftest.err conftest.$ac_ext
32601echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32602echo "${ECHO_T}$ac_header_preproc" >&6
32603
32604# So? What about this header?
ac1cb8d3
VS
32605case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32606 yes:no: )
a848cd7e
SC
32607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32608echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
32609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32610echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32611 ac_header_preproc=yes
a848cd7e 32612 ;;
ac1cb8d3 32613 no:yes:* )
a848cd7e
SC
32614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32615echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
32616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32617echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32619echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32621echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
32622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32623echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
32624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32625echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
32626 (
32627 cat <<\_ASBOX
ac1cb8d3
VS
32628## ----------------------------------------- ##
32629## Report this to wx-dev@lists.wxwidgets.org ##
32630## ----------------------------------------- ##
a848cd7e
SC
32631_ASBOX
32632 ) |
32633 sed "s/^/$as_me: WARNING: /" >&2
32634 ;;
32635esac
32636echo "$as_me:$LINENO: checking for $ac_header" >&5
32637echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32638if eval "test \"\${$as_ac_Header+set}\" = set"; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32640else
ac1cb8d3 32641 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
32642fi
32643echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32644echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32645
32646fi
32647if test `eval echo '${'$as_ac_Header'}'` = yes; then
32648 cat >>confdefs.h <<_ACEOF
32649#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32650_ACEOF
32651
32652fi
32653
32654done
32655
32656 if test "$ac_cv_header_sched_h" = "yes"; then
32657 echo "$as_me:$LINENO: checking for sched_yield" >&5
32658echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32659if test "${ac_cv_func_sched_yield+set}" = set; then
32660 echo $ECHO_N "(cached) $ECHO_C" >&6
32661else
32662 cat >conftest.$ac_ext <<_ACEOF
32663/* confdefs.h. */
32664_ACEOF
32665cat confdefs.h >>conftest.$ac_ext
32666cat >>conftest.$ac_ext <<_ACEOF
32667/* end confdefs.h. */
ac1cb8d3
VS
32668/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32670#define sched_yield innocuous_sched_yield
32671
a848cd7e
SC
32672/* System header to define __stub macros and hopefully few prototypes,
32673 which can conflict with char sched_yield (); below.
32674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32675 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32676
a848cd7e
SC
32677#ifdef __STDC__
32678# include <limits.h>
32679#else
32680# include <assert.h>
32681#endif
ac1cb8d3
VS
32682
32683#undef sched_yield
32684
a848cd7e
SC
32685/* Override any gcc2 internal prototype to avoid an error. */
32686#ifdef __cplusplus
32687extern "C"
32688{
32689#endif
32690/* We use char because int might match the return type of a gcc2
32691 builtin and then its argument prototype would still apply. */
32692char sched_yield ();
32693/* The GNU C library defines this for functions which it implements
32694 to always fail with ENOSYS. Some functions are actually named
32695 something starting with __ and the normal name is an alias. */
32696#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32697choke me
32698#else
32699char (*f) () = sched_yield;
32700#endif
32701#ifdef __cplusplus
32702}
32703#endif
32704
32705int
32706main ()
32707{
32708return f != sched_yield;
32709 ;
32710 return 0;
32711}
32712_ACEOF
32713rm -f conftest.$ac_objext conftest$ac_exeext
32714if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32715 (eval $ac_link) 2>conftest.er1
a848cd7e 32716 ac_status=$?
ac1cb8d3
VS
32717 grep -v '^ *+' conftest.er1 >conftest.err
32718 rm -f conftest.er1
32719 cat conftest.err >&5
a848cd7e
SC
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); } &&
fc480dc1
DE
32722 { ac_try='test -z "$ac_c_werror_flag"
32723 || test ! -s conftest.err'
ac1cb8d3
VS
32724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32725 (eval $ac_try) 2>&5
32726 ac_status=$?
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); }; } &&
32729 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32731 (eval $ac_try) 2>&5
32732 ac_status=$?
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); }; }; then
32735 ac_cv_func_sched_yield=yes
32736else
32737 echo "$as_me: failed program was:" >&5
32738sed 's/^/| /' conftest.$ac_ext >&5
32739
32740ac_cv_func_sched_yield=no
32741fi
ac1cb8d3
VS
32742rm -f conftest.err conftest.$ac_objext \
32743 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32744fi
32745echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32746echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32747if test $ac_cv_func_sched_yield = yes; then
32748 cat >>confdefs.h <<\_ACEOF
32749#define HAVE_SCHED_YIELD 1
32750_ACEOF
32751
32752else
32753
32754 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32755echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32756if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32757 echo $ECHO_N "(cached) $ECHO_C" >&6
32758else
32759 ac_check_lib_save_LIBS=$LIBS
32760LIBS="-lposix4 $LIBS"
32761cat >conftest.$ac_ext <<_ACEOF
32762/* confdefs.h. */
32763_ACEOF
32764cat confdefs.h >>conftest.$ac_ext
32765cat >>conftest.$ac_ext <<_ACEOF
32766/* end confdefs.h. */
32767
32768/* Override any gcc2 internal prototype to avoid an error. */
32769#ifdef __cplusplus
32770extern "C"
32771#endif
32772/* We use char because int might match the return type of a gcc2
32773 builtin and then its argument prototype would still apply. */
32774char sched_yield ();
32775int
32776main ()
32777{
32778sched_yield ();
32779 ;
32780 return 0;
32781}
32782_ACEOF
32783rm -f conftest.$ac_objext conftest$ac_exeext
32784if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32785 (eval $ac_link) 2>conftest.er1
a848cd7e 32786 ac_status=$?
ac1cb8d3
VS
32787 grep -v '^ *+' conftest.er1 >conftest.err
32788 rm -f conftest.er1
32789 cat conftest.err >&5
a848cd7e
SC
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); } &&
fc480dc1
DE
32792 { ac_try='test -z "$ac_c_werror_flag"
32793 || test ! -s conftest.err'
ac1cb8d3
VS
32794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32795 (eval $ac_try) 2>&5
32796 ac_status=$?
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); }; } &&
32799 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32801 (eval $ac_try) 2>&5
32802 ac_status=$?
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; }; then
32805 ac_cv_lib_posix4_sched_yield=yes
32806else
32807 echo "$as_me: failed program was:" >&5
32808sed 's/^/| /' conftest.$ac_ext >&5
32809
32810ac_cv_lib_posix4_sched_yield=no
32811fi
ac1cb8d3
VS
32812rm -f conftest.err conftest.$ac_objext \
32813 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32814LIBS=$ac_check_lib_save_LIBS
32815fi
32816echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32817echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32818if test $ac_cv_lib_posix4_sched_yield = yes; then
32819 cat >>confdefs.h <<\_ACEOF
32820#define HAVE_SCHED_YIELD 1
32821_ACEOF
32822 POSIX4_LINK=" -lposix4"
32823else
32824 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32825echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32826
32827fi
32828
32829
32830
32831fi
32832
32833 fi
32834
32835 HAVE_PRIOR_FUNCS=0
32836 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32837echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32838if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32840else
32841 cat >conftest.$ac_ext <<_ACEOF
32842/* confdefs.h. */
32843_ACEOF
32844cat confdefs.h >>conftest.$ac_ext
32845cat >>conftest.$ac_ext <<_ACEOF
32846/* end confdefs.h. */
ac1cb8d3
VS
32847/* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32849#define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32850
a848cd7e
SC
32851/* System header to define __stub macros and hopefully few prototypes,
32852 which can conflict with char pthread_attr_getschedpolicy (); below.
32853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32854 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32855
a848cd7e
SC
32856#ifdef __STDC__
32857# include <limits.h>
32858#else
32859# include <assert.h>
32860#endif
ac1cb8d3
VS
32861
32862#undef pthread_attr_getschedpolicy
32863
a848cd7e
SC
32864/* Override any gcc2 internal prototype to avoid an error. */
32865#ifdef __cplusplus
32866extern "C"
32867{
32868#endif
32869/* We use char because int might match the return type of a gcc2
32870 builtin and then its argument prototype would still apply. */
32871char pthread_attr_getschedpolicy ();
32872/* The GNU C library defines this for functions which it implements
32873 to always fail with ENOSYS. Some functions are actually named
32874 something starting with __ and the normal name is an alias. */
32875#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32876choke me
32877#else
32878char (*f) () = pthread_attr_getschedpolicy;
32879#endif
32880#ifdef __cplusplus
32881}
32882#endif
32883
32884int
32885main ()
32886{
32887return f != pthread_attr_getschedpolicy;
32888 ;
32889 return 0;
32890}
32891_ACEOF
32892rm -f conftest.$ac_objext conftest$ac_exeext
32893if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32894 (eval $ac_link) 2>conftest.er1
a848cd7e 32895 ac_status=$?
ac1cb8d3
VS
32896 grep -v '^ *+' conftest.er1 >conftest.err
32897 rm -f conftest.er1
32898 cat conftest.err >&5
a848cd7e
SC
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } &&
fc480dc1
DE
32901 { ac_try='test -z "$ac_c_werror_flag"
32902 || test ! -s conftest.err'
ac1cb8d3
VS
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; } &&
32908 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 (eval $ac_try) 2>&5
32911 ac_status=$?
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); }; }; then
32914 ac_cv_func_pthread_attr_getschedpolicy=yes
32915else
32916 echo "$as_me: failed program was:" >&5
32917sed 's/^/| /' conftest.$ac_ext >&5
32918
32919ac_cv_func_pthread_attr_getschedpolicy=no
32920fi
ac1cb8d3
VS
32921rm -f conftest.err conftest.$ac_objext \
32922 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32923fi
32924echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32925echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32926if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32927 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32928echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32929if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32930 echo $ECHO_N "(cached) $ECHO_C" >&6
32931else
32932 cat >conftest.$ac_ext <<_ACEOF
32933/* confdefs.h. */
32934_ACEOF
32935cat confdefs.h >>conftest.$ac_ext
32936cat >>conftest.$ac_ext <<_ACEOF
32937/* end confdefs.h. */
ac1cb8d3
VS
32938/* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32940#define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32941
a848cd7e
SC
32942/* System header to define __stub macros and hopefully few prototypes,
32943 which can conflict with char pthread_attr_setschedparam (); below.
32944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32945 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32946
a848cd7e
SC
32947#ifdef __STDC__
32948# include <limits.h>
32949#else
32950# include <assert.h>
32951#endif
ac1cb8d3
VS
32952
32953#undef pthread_attr_setschedparam
32954
a848cd7e
SC
32955/* Override any gcc2 internal prototype to avoid an error. */
32956#ifdef __cplusplus
32957extern "C"
32958{
32959#endif
32960/* We use char because int might match the return type of a gcc2
32961 builtin and then its argument prototype would still apply. */
32962char pthread_attr_setschedparam ();
32963/* The GNU C library defines this for functions which it implements
32964 to always fail with ENOSYS. Some functions are actually named
32965 something starting with __ and the normal name is an alias. */
32966#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32967choke me
32968#else
32969char (*f) () = pthread_attr_setschedparam;
32970#endif
32971#ifdef __cplusplus
32972}
32973#endif
32974
32975int
32976main ()
32977{
32978return f != pthread_attr_setschedparam;
32979 ;
32980 return 0;
32981}
32982_ACEOF
32983rm -f conftest.$ac_objext conftest$ac_exeext
32984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32985 (eval $ac_link) 2>conftest.er1
a848cd7e 32986 ac_status=$?
ac1cb8d3
VS
32987 grep -v '^ *+' conftest.er1 >conftest.err
32988 rm -f conftest.er1
32989 cat conftest.err >&5
a848cd7e
SC
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); } &&
fc480dc1
DE
32992 { ac_try='test -z "$ac_c_werror_flag"
32993 || test ! -s conftest.err'
ac1cb8d3
VS
32994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32995 (eval $ac_try) 2>&5
32996 ac_status=$?
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); }; } &&
32999 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33001 (eval $ac_try) 2>&5
33002 ac_status=$?
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); }; }; then
33005 ac_cv_func_pthread_attr_setschedparam=yes
33006else
33007 echo "$as_me: failed program was:" >&5
33008sed 's/^/| /' conftest.$ac_ext >&5
33009
33010ac_cv_func_pthread_attr_setschedparam=no
33011fi
ac1cb8d3
VS
33012rm -f conftest.err conftest.$ac_objext \
33013 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33014fi
33015echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33016echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33017if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33018 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33019echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33020if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33021 echo $ECHO_N "(cached) $ECHO_C" >&6
33022else
33023 cat >conftest.$ac_ext <<_ACEOF
33024/* confdefs.h. */
33025_ACEOF
33026cat confdefs.h >>conftest.$ac_ext
33027cat >>conftest.$ac_ext <<_ACEOF
33028/* end confdefs.h. */
ac1cb8d3
VS
33029/* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33031#define sched_get_priority_max innocuous_sched_get_priority_max
33032
a848cd7e
SC
33033/* System header to define __stub macros and hopefully few prototypes,
33034 which can conflict with char sched_get_priority_max (); below.
33035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33036 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 33037
a848cd7e
SC
33038#ifdef __STDC__
33039# include <limits.h>
33040#else
33041# include <assert.h>
33042#endif
ac1cb8d3
VS
33043
33044#undef sched_get_priority_max
33045
a848cd7e
SC
33046/* Override any gcc2 internal prototype to avoid an error. */
33047#ifdef __cplusplus
33048extern "C"
33049{
33050#endif
33051/* We use char because int might match the return type of a gcc2
33052 builtin and then its argument prototype would still apply. */
33053char sched_get_priority_max ();
33054/* The GNU C library defines this for functions which it implements
33055 to always fail with ENOSYS. Some functions are actually named
33056 something starting with __ and the normal name is an alias. */
33057#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33058choke me
33059#else
33060char (*f) () = sched_get_priority_max;
33061#endif
33062#ifdef __cplusplus
33063}
33064#endif
33065
33066int
33067main ()
33068{
33069return f != sched_get_priority_max;
33070 ;
33071 return 0;
33072}
33073_ACEOF
33074rm -f conftest.$ac_objext conftest$ac_exeext
33075if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33076 (eval $ac_link) 2>conftest.er1
a848cd7e 33077 ac_status=$?
ac1cb8d3
VS
33078 grep -v '^ *+' conftest.er1 >conftest.err
33079 rm -f conftest.er1
33080 cat conftest.err >&5
a848cd7e
SC
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); } &&
fc480dc1
DE
33083 { ac_try='test -z "$ac_c_werror_flag"
33084 || test ! -s conftest.err'
ac1cb8d3
VS
33085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33086 (eval $ac_try) 2>&5
33087 ac_status=$?
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); }; } &&
33090 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092 (eval $ac_try) 2>&5
33093 ac_status=$?
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; }; then
33096 ac_cv_func_sched_get_priority_max=yes
33097else
33098 echo "$as_me: failed program was:" >&5
33099sed 's/^/| /' conftest.$ac_ext >&5
33100
33101ac_cv_func_sched_get_priority_max=no
33102fi
ac1cb8d3
VS
33103rm -f conftest.err conftest.$ac_objext \
33104 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33105fi
33106echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33107echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33108if test $ac_cv_func_sched_get_priority_max = yes; then
33109 HAVE_PRIOR_FUNCS=1
33110else
33111 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33112echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33113if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33115else
33116 ac_check_lib_save_LIBS=$LIBS
33117LIBS="-lposix4 $LIBS"
33118cat >conftest.$ac_ext <<_ACEOF
33119/* confdefs.h. */
33120_ACEOF
33121cat confdefs.h >>conftest.$ac_ext
33122cat >>conftest.$ac_ext <<_ACEOF
33123/* end confdefs.h. */
33124
33125/* Override any gcc2 internal prototype to avoid an error. */
33126#ifdef __cplusplus
33127extern "C"
33128#endif
33129/* We use char because int might match the return type of a gcc2
33130 builtin and then its argument prototype would still apply. */
33131char sched_get_priority_max ();
33132int
33133main ()
33134{
33135sched_get_priority_max ();
33136 ;
33137 return 0;
33138}
33139_ACEOF
33140rm -f conftest.$ac_objext conftest$ac_exeext
33141if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33142 (eval $ac_link) 2>conftest.er1
a848cd7e 33143 ac_status=$?
ac1cb8d3
VS
33144 grep -v '^ *+' conftest.er1 >conftest.err
33145 rm -f conftest.er1
33146 cat conftest.err >&5
a848cd7e
SC
33147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33148 (exit $ac_status); } &&
fc480dc1
DE
33149 { ac_try='test -z "$ac_c_werror_flag"
33150 || test ! -s conftest.err'
ac1cb8d3
VS
33151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33152 (eval $ac_try) 2>&5
33153 ac_status=$?
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); }; } &&
33156 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33158 (eval $ac_try) 2>&5
33159 ac_status=$?
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); }; }; then
33162 ac_cv_lib_posix4_sched_get_priority_max=yes
33163else
33164 echo "$as_me: failed program was:" >&5
33165sed 's/^/| /' conftest.$ac_ext >&5
33166
33167ac_cv_lib_posix4_sched_get_priority_max=no
33168fi
ac1cb8d3
VS
33169rm -f conftest.err conftest.$ac_objext \
33170 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33171LIBS=$ac_check_lib_save_LIBS
33172fi
33173echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33174echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33175if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33176
33177 HAVE_PRIOR_FUNCS=1
33178 POSIX4_LINK=" -lposix4"
33179
33180fi
33181
33182
33183fi
33184
33185
33186fi
33187
33188
33189fi
33190
33191
33192 if test "$HAVE_PRIOR_FUNCS" = 1; then
33193 cat >>confdefs.h <<\_ACEOF
33194#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33195_ACEOF
33196
33197 else
33198 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33199echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33200 fi
33201
33202 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33203echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33204if test "${ac_cv_func_pthread_cancel+set}" = set; then
33205 echo $ECHO_N "(cached) $ECHO_C" >&6
33206else
33207 cat >conftest.$ac_ext <<_ACEOF
33208/* confdefs.h. */
33209_ACEOF
33210cat confdefs.h >>conftest.$ac_ext
33211cat >>conftest.$ac_ext <<_ACEOF
33212/* end confdefs.h. */
ac1cb8d3
VS
33213/* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33215#define pthread_cancel innocuous_pthread_cancel
33216
a848cd7e
SC
33217/* System header to define __stub macros and hopefully few prototypes,
33218 which can conflict with char pthread_cancel (); below.
33219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33220 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 33221
a848cd7e
SC
33222#ifdef __STDC__
33223# include <limits.h>
33224#else
33225# include <assert.h>
33226#endif
ac1cb8d3
VS
33227
33228#undef pthread_cancel
33229
a848cd7e
SC
33230/* Override any gcc2 internal prototype to avoid an error. */
33231#ifdef __cplusplus
33232extern "C"
33233{
33234#endif
33235/* We use char because int might match the return type of a gcc2
33236 builtin and then its argument prototype would still apply. */
33237char pthread_cancel ();
33238/* The GNU C library defines this for functions which it implements
33239 to always fail with ENOSYS. Some functions are actually named
33240 something starting with __ and the normal name is an alias. */
33241#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33242choke me
33243#else
33244char (*f) () = pthread_cancel;
33245#endif
33246#ifdef __cplusplus
33247}
33248#endif
33249
33250int
33251main ()
33252{
33253return f != pthread_cancel;
33254 ;
33255 return 0;
33256}
33257_ACEOF
33258rm -f conftest.$ac_objext conftest$ac_exeext
33259if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33260 (eval $ac_link) 2>conftest.er1
a848cd7e 33261 ac_status=$?
ac1cb8d3
VS
33262 grep -v '^ *+' conftest.er1 >conftest.err
33263 rm -f conftest.er1
33264 cat conftest.err >&5
a848cd7e
SC
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); } &&
fc480dc1
DE
33267 { ac_try='test -z "$ac_c_werror_flag"
33268 || test ! -s conftest.err'
ac1cb8d3
VS
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33271 ac_status=$?
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; } &&
33274 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33276 (eval $ac_try) 2>&5
33277 ac_status=$?
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); }; }; then
33280 ac_cv_func_pthread_cancel=yes
33281else
33282 echo "$as_me: failed program was:" >&5
33283sed 's/^/| /' conftest.$ac_ext >&5
33284
33285ac_cv_func_pthread_cancel=no
33286fi
ac1cb8d3
VS
33287rm -f conftest.err conftest.$ac_objext \
33288 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33289fi
33290echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33291echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33292if test $ac_cv_func_pthread_cancel = yes; then
33293 cat >>confdefs.h <<\_ACEOF
33294#define HAVE_PTHREAD_CANCEL 1
33295_ACEOF
33296
33297else
33298 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33299echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33300fi
33301
33302
33303
33304
33305 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33306echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33307if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33308 echo $ECHO_N "(cached) $ECHO_C" >&6
33309else
33310
33311 cat >conftest.$ac_ext <<_ACEOF
33312/* confdefs.h. */
33313_ACEOF
33314cat confdefs.h >>conftest.$ac_ext
33315cat >>conftest.$ac_ext <<_ACEOF
33316/* end confdefs.h. */
33317#include <pthread.h>
33318int
33319main ()
33320{
33321
33322 pthread_mutexattr_t attr;
33323 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33324
33325 ;
33326 return 0;
33327}
33328_ACEOF
33329rm -f conftest.$ac_objext
33330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 33331 (eval $ac_compile) 2>conftest.er1
a848cd7e 33332 ac_status=$?
ac1cb8d3
VS
33333 grep -v '^ *+' conftest.er1 >conftest.err
33334 rm -f conftest.er1
33335 cat conftest.err >&5
a848cd7e
SC
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } &&
fc480dc1
DE
33338 { ac_try='test -z "$ac_c_werror_flag"
33339 || test ! -s conftest.err'
ac1cb8d3
VS
33340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33341 (eval $ac_try) 2>&5
33342 ac_status=$?
33343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33344 (exit $ac_status); }; } &&
33345 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
33346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33347 (eval $ac_try) 2>&5
33348 ac_status=$?
33349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350 (exit $ac_status); }; }; then
33351
33352 wx_cv_type_pthread_mutexattr_t=yes
33353
33354else
33355 echo "$as_me: failed program was:" >&5
33356sed 's/^/| /' conftest.$ac_ext >&5
33357
33358
33359 wx_cv_type_pthread_mutexattr_t=no
33360
33361
33362fi
ac1cb8d3 33363rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
33364
33365fi
33366echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33367echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33368
33369 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33370 cat >>confdefs.h <<\_ACEOF
33371#define HAVE_PTHREAD_MUTEXATTR_T 1
33372_ACEOF
33373
33374 else
33375 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33376echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33377if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33378 echo $ECHO_N "(cached) $ECHO_C" >&6
33379else
33380
33381 cat >conftest.$ac_ext <<_ACEOF
33382/* confdefs.h. */
33383_ACEOF
33384cat confdefs.h >>conftest.$ac_ext
33385cat >>conftest.$ac_ext <<_ACEOF
33386/* end confdefs.h. */
33387#include <pthread.h>
33388int
33389main ()
33390{
33391
33392 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33393
33394 ;
33395 return 0;
33396}
33397_ACEOF
33398rm -f conftest.$ac_objext
33399if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 33400 (eval $ac_compile) 2>conftest.er1
a848cd7e 33401 ac_status=$?
ac1cb8d3
VS
33402 grep -v '^ *+' conftest.er1 >conftest.err
33403 rm -f conftest.er1
33404 cat conftest.err >&5
a848cd7e
SC
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } &&
fc480dc1
DE
33407 { ac_try='test -z "$ac_c_werror_flag"
33408 || test ! -s conftest.err'
ac1cb8d3
VS
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33411 ac_status=$?
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; } &&
33414 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33417 ac_status=$?
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; }; then
33420
33421 wx_cv_type_pthread_rec_mutex_init=yes
33422
33423else
33424 echo "$as_me: failed program was:" >&5
33425sed 's/^/| /' conftest.$ac_ext >&5
33426
33427
33428 wx_cv_type_pthread_rec_mutex_init=no
33429
33430
33431fi
ac1cb8d3 33432rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
33433
33434fi
33435echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33436echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33437 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33438 cat >>confdefs.h <<\_ACEOF
33439#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33440_ACEOF
33441
33442 else
33443 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33444echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33445 fi
33446 fi
33447 fi
33448
33449else
33450 if test "$wxUSE_THREADS" = "yes" ; then
33451 case "${host}" in
33452 *-*-mingw32* )
33453 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33454echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33455if test "${wx_cv_cflags_mthread+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457else
33458
33459 CFLAGS_OLD="$CFLAGS"
33460 CFLAGS="$CFLAGS -mthreads"
33461 cat >conftest.$ac_ext <<_ACEOF
33462/* confdefs.h. */
33463_ACEOF
33464cat confdefs.h >>conftest.$ac_ext
33465cat >>conftest.$ac_ext <<_ACEOF
33466/* end confdefs.h. */
33467
33468int
33469main ()
33470{
33471
33472 ;
33473 return 0;
33474}
33475_ACEOF
33476rm -f conftest.$ac_objext
33477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 33478 (eval $ac_compile) 2>conftest.er1
a848cd7e 33479 ac_status=$?
ac1cb8d3
VS
33480 grep -v '^ *+' conftest.er1 >conftest.err
33481 rm -f conftest.er1
33482 cat conftest.err >&5
a848cd7e
SC
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } &&
fc480dc1
DE
33485 { ac_try='test -z "$ac_c_werror_flag"
33486 || test ! -s conftest.err'
ac1cb8d3
VS
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33489 ac_status=$?
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; } &&
33492 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33495 ac_status=$?
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; }; then
33498 wx_cv_cflags_mthread=yes
33499else
33500 echo "$as_me: failed program was:" >&5
33501sed 's/^/| /' conftest.$ac_ext >&5
33502
33503wx_cv_cflags_mthread=no
33504
33505fi
ac1cb8d3 33506rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
33507
33508
33509fi
33510echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33511echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33512
33513 if test "$wx_cv_cflags_mthread" = "yes"; then
33514 CXXFLAGS="$CXXFLAGS -mthreads"
33515 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33516 LDFLAGS="$LDFLAGS -mthreads"
33517 else
33518 CFLAGS="$CFLAGS_OLD"
33519 fi
33520 ;;
33521 *-pc-os2*emx )
33522 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33523 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33524 LDFLAGS="$LDFLAGS -Zmt"
33525 ;;
33526 esac
33527 fi
33528fi
33529
33530if test "$wxUSE_THREADS" = "yes"; then
33531 cat >>confdefs.h <<\_ACEOF
33532#define wxUSE_THREADS 1
33533_ACEOF
33534
33535
33536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33537else
33538 if test "$ac_cv_func_strtok_r" = "yes"; then
33539 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33540echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33541 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33542 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33543 echo "$as_me:$LINENO: result: yes" >&5
33544echo "${ECHO_T}yes" >&6
33545 else
33546 echo "$as_me:$LINENO: result: no" >&5
33547echo "${ECHO_T}no" >&6
33548 fi
33549 fi
33550fi
33551
33552if test "$WXGTK20" = 1 ; then
33553 cat >>confdefs.h <<_ACEOF
33554#define __WXGTK20__ $WXGTK20
33555_ACEOF
33556
33557 WXGTK12=1
33558fi
33559
33560if test "$WXGTK12" = 1 ; then
33561 cat >>confdefs.h <<_ACEOF
33562#define __WXGTK12__ $WXGTK12
33563_ACEOF
33564
33565fi
33566
33567if test "$WXGTK127" = 1 ; then
33568 cat >>confdefs.h <<_ACEOF
33569#define __WXGTK127__ $WXGTK127
33570_ACEOF
33571
33572fi
33573
33574if test "$WXGPE" = 1 ; then
33575 cat >>confdefs.h <<_ACEOF
33576#define __WXGPE__ $WXGPE
33577_ACEOF
33578
33579fi
33580
33581WXDEBUG=
33582
33583if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33584 WXDEBUG="-g"
33585 wxUSE_OPTIMISE=no
33586fi
33587
33588if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33589 wxUSE_DEBUG_INFO=yes
33590 WXDEBUG="-ggdb"
33591fi
33592
33593if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33594 cat >>confdefs.h <<\_ACEOF
33595#define WXDEBUG 1
33596_ACEOF
33597
33598 WXDEBUG_DEFINE="-D__WXDEBUG__"
33599else
33600 if test "$wxUSE_GTK" = 1 ; then
33601 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33602 fi
33603fi
33604
33605if test "$wxUSE_MEM_TRACING" = "yes" ; then
33606 cat >>confdefs.h <<\_ACEOF
33607#define wxUSE_MEMORY_TRACING 1
33608_ACEOF
33609
33610 cat >>confdefs.h <<\_ACEOF
33611#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33612_ACEOF
33613
33614 cat >>confdefs.h <<\_ACEOF
33615#define wxUSE_DEBUG_NEW_ALWAYS 1
33616_ACEOF
33617
33618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33619fi
33620
33621if test "$wxUSE_DMALLOC" = "yes" ; then
33622 DMALLOC_LIBS="-ldmalloc"
33623fi
33624
33625PROFILE=
33626if test "$wxUSE_PROFILE" = "yes" ; then
33627 PROFILE=" -pg"
33628fi
33629
33630CODE_GEN_FLAGS=
33631CODE_GEN_FLAGS_CXX=
33632if test "$GCC" = "yes" ; then
33633 if test "$wxUSE_NO_RTTI" = "yes" ; then
33634 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33635 fi
33636 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33637 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33638 fi
33639 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33640 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33641 fi
33642
33643 case "${host}" in
33644 powerpc*-*-aix* )
33645 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33646 ;;
33647 *-hppa* )
33648 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33649 ;;
33650 esac
33651fi
33652
33653OPTIMISE=
33654if test "$wxUSE_OPTIMISE" = "no" ; then
33655 if test "$GCC" = yes ; then
33656 OPTIMISE="-O0"
33657 fi
33658else
33659 if test "$GCC" = yes ; then
33660 OPTIMISE="-O2"
33661
33662 case "${host}" in
33663 i586-*-*|i686-*-* )
33664 OPTIMISE="${OPTIMISE} "
33665 ;;
33666 esac
33667 else
33668 OPTIMISE="-O"
33669 fi
33670fi
33671
33672
33673if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33674 cat >>confdefs.h <<\_ACEOF
33675#define WXWIN_COMPATIBILITY_2_2 1
33676_ACEOF
33677
33678
33679 WXWIN_COMPATIBILITY_2_4="yes"
33680fi
33681
33682if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33683 cat >>confdefs.h <<\_ACEOF
33684#define WXWIN_COMPATIBILITY_2_4 1
33685_ACEOF
33686
33687fi
33688
33689
33690if test "$wxUSE_GUI" = "yes"; then
33691 cat >>confdefs.h <<\_ACEOF
33692#define wxUSE_GUI 1
33693_ACEOF
33694
33695
33696 else
33697 cat >>confdefs.h <<\_ACEOF
33698#define wxUSE_NOGUI 1
33699_ACEOF
33700
33701fi
33702
33703
33704if test "$wxUSE_UNIX" = "yes"; then
33705 cat >>confdefs.h <<\_ACEOF
33706#define wxUSE_UNIX 1
33707_ACEOF
33708
33709fi
33710
33711
33712if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33713
33714 HAVE_DL_FUNCS=0
33715 HAVE_SHL_FUNCS=0
33716 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33717 if test "$USE_DARWIN" = 1; then
33718 HAVE_DL_FUNCS=1
33719 else
33720
33721for ac_func in dlopen
33722do
33723as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33724echo "$as_me:$LINENO: checking for $ac_func" >&5
33725echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33726if eval "test \"\${$as_ac_var+set}\" = set"; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33728else
33729 cat >conftest.$ac_ext <<_ACEOF
33730/* confdefs.h. */
33731_ACEOF
33732cat confdefs.h >>conftest.$ac_ext
33733cat >>conftest.$ac_ext <<_ACEOF
33734/* end confdefs.h. */
ac1cb8d3
VS
33735/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33737#define $ac_func innocuous_$ac_func
33738
a848cd7e
SC
33739/* System header to define __stub macros and hopefully few prototypes,
33740 which can conflict with char $ac_func (); below.
33741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33742 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 33743
a848cd7e
SC
33744#ifdef __STDC__
33745# include <limits.h>
33746#else
33747# include <assert.h>
33748#endif
ac1cb8d3
VS
33749
33750#undef $ac_func
33751
a848cd7e
SC
33752/* Override any gcc2 internal prototype to avoid an error. */
33753#ifdef __cplusplus
33754extern "C"
33755{
33756#endif
33757/* We use char because int might match the return type of a gcc2
33758 builtin and then its argument prototype would still apply. */
33759char $ac_func ();
33760/* The GNU C library defines this for functions which it implements
33761 to always fail with ENOSYS. Some functions are actually named
33762 something starting with __ and the normal name is an alias. */
33763#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33764choke me
33765#else
33766char (*f) () = $ac_func;
33767#endif
33768#ifdef __cplusplus
33769}
33770#endif
33771
33772int
33773main ()
33774{
33775return f != $ac_func;
33776 ;
33777 return 0;
33778}
33779_ACEOF
33780rm -f conftest.$ac_objext conftest$ac_exeext
33781if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33782 (eval $ac_link) 2>conftest.er1
a848cd7e 33783 ac_status=$?
ac1cb8d3
VS
33784 grep -v '^ *+' conftest.er1 >conftest.err
33785 rm -f conftest.er1
33786 cat conftest.err >&5
a848cd7e
SC
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } &&
fc480dc1
DE
33789 { ac_try='test -z "$ac_c_werror_flag"
33790 || test ! -s conftest.err'
ac1cb8d3
VS
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; } &&
33796 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33799 ac_status=$?
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; }; then
33802 eval "$as_ac_var=yes"
33803else
33804 echo "$as_me: failed program was:" >&5
33805sed 's/^/| /' conftest.$ac_ext >&5
33806
33807eval "$as_ac_var=no"
33808fi
ac1cb8d3
VS
33809rm -f conftest.err conftest.$ac_objext \
33810 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33811fi
33812echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33813echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33814if test `eval echo '${'$as_ac_var'}'` = yes; then
33815 cat >>confdefs.h <<_ACEOF
33816#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33817_ACEOF
33818
33819 cat >>confdefs.h <<\_ACEOF
33820#define HAVE_DLOPEN 1
33821_ACEOF
33822
33823 HAVE_DL_FUNCS=1
33824
33825else
33826
33827 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33828echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33829if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33830 echo $ECHO_N "(cached) $ECHO_C" >&6
33831else
33832 ac_check_lib_save_LIBS=$LIBS
33833LIBS="-ldl $LIBS"
33834cat >conftest.$ac_ext <<_ACEOF
33835/* confdefs.h. */
33836_ACEOF
33837cat confdefs.h >>conftest.$ac_ext
33838cat >>conftest.$ac_ext <<_ACEOF
33839/* end confdefs.h. */
33840
33841/* Override any gcc2 internal prototype to avoid an error. */
33842#ifdef __cplusplus
33843extern "C"
33844#endif
33845/* We use char because int might match the return type of a gcc2
33846 builtin and then its argument prototype would still apply. */
33847char dlopen ();
33848int
33849main ()
33850{
33851dlopen ();
33852 ;
33853 return 0;
33854}
33855_ACEOF
33856rm -f conftest.$ac_objext conftest$ac_exeext
33857if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33858 (eval $ac_link) 2>conftest.er1
a848cd7e 33859 ac_status=$?
ac1cb8d3
VS
33860 grep -v '^ *+' conftest.er1 >conftest.err
33861 rm -f conftest.er1
33862 cat conftest.err >&5
a848cd7e
SC
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); } &&
fc480dc1
DE
33865 { ac_try='test -z "$ac_c_werror_flag"
33866 || test ! -s conftest.err'
ac1cb8d3
VS
33867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33868 (eval $ac_try) 2>&5
33869 ac_status=$?
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); }; } &&
33872 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33874 (eval $ac_try) 2>&5
33875 ac_status=$?
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); }; }; then
33878 ac_cv_lib_dl_dlopen=yes
33879else
33880 echo "$as_me: failed program was:" >&5
33881sed 's/^/| /' conftest.$ac_ext >&5
33882
33883ac_cv_lib_dl_dlopen=no
33884fi
ac1cb8d3
VS
33885rm -f conftest.err conftest.$ac_objext \
33886 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33887LIBS=$ac_check_lib_save_LIBS
33888fi
33889echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33890echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33891if test $ac_cv_lib_dl_dlopen = yes; then
33892
33893 cat >>confdefs.h <<\_ACEOF
33894#define HAVE_DLOPEN 1
33895_ACEOF
33896
33897 HAVE_DL_FUNCS=1
33898 DL_LINK=" -ldl$DL_LINK"
33899
33900else
33901
33902
33903for ac_func in shl_load
33904do
33905as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33906echo "$as_me:$LINENO: checking for $ac_func" >&5
33907echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33908if eval "test \"\${$as_ac_var+set}\" = set"; then
33909 echo $ECHO_N "(cached) $ECHO_C" >&6
33910else
33911 cat >conftest.$ac_ext <<_ACEOF
33912/* confdefs.h. */
33913_ACEOF
33914cat confdefs.h >>conftest.$ac_ext
33915cat >>conftest.$ac_ext <<_ACEOF
33916/* end confdefs.h. */
ac1cb8d3
VS
33917/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33919#define $ac_func innocuous_$ac_func
33920
a848cd7e
SC
33921/* System header to define __stub macros and hopefully few prototypes,
33922 which can conflict with char $ac_func (); below.
33923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33924 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 33925
a848cd7e
SC
33926#ifdef __STDC__
33927# include <limits.h>
33928#else
33929# include <assert.h>
33930#endif
ac1cb8d3
VS
33931
33932#undef $ac_func
33933
a848cd7e
SC
33934/* Override any gcc2 internal prototype to avoid an error. */
33935#ifdef __cplusplus
33936extern "C"
33937{
33938#endif
33939/* We use char because int might match the return type of a gcc2
33940 builtin and then its argument prototype would still apply. */
33941char $ac_func ();
33942/* The GNU C library defines this for functions which it implements
33943 to always fail with ENOSYS. Some functions are actually named
33944 something starting with __ and the normal name is an alias. */
33945#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33946choke me
33947#else
33948char (*f) () = $ac_func;
33949#endif
33950#ifdef __cplusplus
33951}
33952#endif
33953
33954int
33955main ()
33956{
33957return f != $ac_func;
33958 ;
33959 return 0;
33960}
33961_ACEOF
33962rm -f conftest.$ac_objext conftest$ac_exeext
33963if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33964 (eval $ac_link) 2>conftest.er1
a848cd7e 33965 ac_status=$?
ac1cb8d3
VS
33966 grep -v '^ *+' conftest.er1 >conftest.err
33967 rm -f conftest.er1
33968 cat conftest.err >&5
a848cd7e
SC
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
fc480dc1
DE
33971 { ac_try='test -z "$ac_c_werror_flag"
33972 || test ! -s conftest.err'
ac1cb8d3
VS
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33975 ac_status=$?
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; } &&
33978 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33980 (eval $ac_try) 2>&5
33981 ac_status=$?
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); }; }; then
33984 eval "$as_ac_var=yes"
33985else
33986 echo "$as_me: failed program was:" >&5
33987sed 's/^/| /' conftest.$ac_ext >&5
33988
33989eval "$as_ac_var=no"
33990fi
ac1cb8d3
VS
33991rm -f conftest.err conftest.$ac_objext \
33992 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33993fi
33994echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33995echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33996if test `eval echo '${'$as_ac_var'}'` = yes; then
33997 cat >>confdefs.h <<_ACEOF
33998#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33999_ACEOF
34000
34001 cat >>confdefs.h <<\_ACEOF
34002#define HAVE_SHL_LOAD 1
34003_ACEOF
34004
34005 HAVE_SHL_FUNCS=1
34006
34007else
34008
34009 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34010echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34011if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34012 echo $ECHO_N "(cached) $ECHO_C" >&6
34013else
34014 ac_check_lib_save_LIBS=$LIBS
34015LIBS="-lshl_load $LIBS"
34016cat >conftest.$ac_ext <<_ACEOF
34017/* confdefs.h. */
34018_ACEOF
34019cat confdefs.h >>conftest.$ac_ext
34020cat >>conftest.$ac_ext <<_ACEOF
34021/* end confdefs.h. */
34022
34023/* Override any gcc2 internal prototype to avoid an error. */
34024#ifdef __cplusplus
34025extern "C"
34026#endif
34027/* We use char because int might match the return type of a gcc2
34028 builtin and then its argument prototype would still apply. */
34029char dld ();
34030int
34031main ()
34032{
34033dld ();
34034 ;
34035 return 0;
34036}
34037_ACEOF
34038rm -f conftest.$ac_objext conftest$ac_exeext
34039if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 34040 (eval $ac_link) 2>conftest.er1
a848cd7e 34041 ac_status=$?
ac1cb8d3
VS
34042 grep -v '^ *+' conftest.er1 >conftest.err
34043 rm -f conftest.er1
34044 cat conftest.err >&5
a848cd7e
SC
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); } &&
fc480dc1
DE
34047 { ac_try='test -z "$ac_c_werror_flag"
34048 || test ! -s conftest.err'
ac1cb8d3
VS
34049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050 (eval $ac_try) 2>&5
34051 ac_status=$?
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); }; } &&
34054 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
34055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34056 (eval $ac_try) 2>&5
34057 ac_status=$?
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; }; then
34060 ac_cv_lib_shl_load_dld=yes
34061else
34062 echo "$as_me: failed program was:" >&5
34063sed 's/^/| /' conftest.$ac_ext >&5
34064
34065ac_cv_lib_shl_load_dld=no
34066fi
ac1cb8d3
VS
34067rm -f conftest.err conftest.$ac_objext \
34068 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
34069LIBS=$ac_check_lib_save_LIBS
34070fi
34071echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34072echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34073if test $ac_cv_lib_shl_load_dld = yes; then
34074
34075 HAVE_SHL_FUNCS=1
34076 DL_LINK=" -ldld$DL_LINK"
34077
34078fi
34079
34080
34081fi
34082done
34083
34084
34085fi
34086
34087
34088fi
34089done
34090
34091
34092 if test "$HAVE_DL_FUNCS" = 1; then
34093
34094for ac_func in dlerror
34095do
34096as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34097echo "$as_me:$LINENO: checking for $ac_func" >&5
34098echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34099if eval "test \"\${$as_ac_var+set}\" = set"; then
34100 echo $ECHO_N "(cached) $ECHO_C" >&6
34101else
34102 cat >conftest.$ac_ext <<_ACEOF
34103/* confdefs.h. */
34104_ACEOF
34105cat confdefs.h >>conftest.$ac_ext
34106cat >>conftest.$ac_ext <<_ACEOF
34107/* end confdefs.h. */
ac1cb8d3
VS
34108/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34110#define $ac_func innocuous_$ac_func
34111
a848cd7e
SC
34112/* System header to define __stub macros and hopefully few prototypes,
34113 which can conflict with char $ac_func (); below.
34114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34115 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 34116
a848cd7e
SC
34117#ifdef __STDC__
34118# include <limits.h>
34119#else
34120# include <assert.h>
34121#endif
ac1cb8d3
VS
34122
34123#undef $ac_func
34124
a848cd7e
SC
34125/* Override any gcc2 internal prototype to avoid an error. */
34126#ifdef __cplusplus
34127extern "C"
34128{
34129#endif
34130/* We use char because int might match the return type of a gcc2
34131 builtin and then its argument prototype would still apply. */
34132char $ac_func ();
34133/* The GNU C library defines this for functions which it implements
34134 to always fail with ENOSYS. Some functions are actually named
34135 something starting with __ and the normal name is an alias. */
34136#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34137choke me
34138#else
34139char (*f) () = $ac_func;
34140#endif
34141#ifdef __cplusplus
34142}
34143#endif
34144
34145int
34146main ()
34147{
34148return f != $ac_func;
34149 ;
34150 return 0;
34151}
34152_ACEOF
34153rm -f conftest.$ac_objext conftest$ac_exeext
34154if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 34155 (eval $ac_link) 2>conftest.er1
a848cd7e 34156 ac_status=$?
ac1cb8d3
VS
34157 grep -v '^ *+' conftest.er1 >conftest.err
34158 rm -f conftest.er1
34159 cat conftest.err >&5
a848cd7e
SC
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); } &&
fc480dc1
DE
34162 { ac_try='test -z "$ac_c_werror_flag"
34163 || test ! -s conftest.err'
ac1cb8d3
VS
34164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34165 (eval $ac_try) 2>&5
34166 ac_status=$?
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); }; } &&
34169 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
34170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34171 (eval $ac_try) 2>&5
34172 ac_status=$?
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); }; }; then
34175 eval "$as_ac_var=yes"
34176else
34177 echo "$as_me: failed program was:" >&5
34178sed 's/^/| /' conftest.$ac_ext >&5
34179
34180eval "$as_ac_var=no"
34181fi
ac1cb8d3
VS
34182rm -f conftest.err conftest.$ac_objext \
34183 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
34184fi
34185echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34186echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34187if test `eval echo '${'$as_ac_var'}'` = yes; then
34188 cat >>confdefs.h <<_ACEOF
34189#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34190_ACEOF
34191 cat >>confdefs.h <<\_ACEOF
34192#define HAVE_DLERROR 1
34193_ACEOF
34194
34195else
34196
34197 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34198echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34199if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34201else
34202 ac_check_lib_save_LIBS=$LIBS
34203LIBS="-ldl $LIBS"
34204cat >conftest.$ac_ext <<_ACEOF
34205/* confdefs.h. */
34206_ACEOF
34207cat confdefs.h >>conftest.$ac_ext
34208cat >>conftest.$ac_ext <<_ACEOF
34209/* end confdefs.h. */
34210
34211/* Override any gcc2 internal prototype to avoid an error. */
34212#ifdef __cplusplus
34213extern "C"
34214#endif
34215/* We use char because int might match the return type of a gcc2
34216 builtin and then its argument prototype would still apply. */
34217char dlerror ();
34218int
34219main ()
34220{
34221dlerror ();
34222 ;
34223 return 0;
34224}
34225_ACEOF
34226rm -f conftest.$ac_objext conftest$ac_exeext
34227if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 34228 (eval $ac_link) 2>conftest.er1
a848cd7e 34229 ac_status=$?
ac1cb8d3
VS
34230 grep -v '^ *+' conftest.er1 >conftest.err
34231 rm -f conftest.er1
34232 cat conftest.err >&5
a848cd7e
SC
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); } &&
fc480dc1
DE
34235 { ac_try='test -z "$ac_c_werror_flag"
34236 || test ! -s conftest.err'
ac1cb8d3
VS
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; } &&
34242 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
34243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34244 (eval $ac_try) 2>&5
34245 ac_status=$?
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); }; }; then
34248 ac_cv_lib_dl_dlerror=yes
34249else
34250 echo "$as_me: failed program was:" >&5
34251sed 's/^/| /' conftest.$ac_ext >&5
34252
34253ac_cv_lib_dl_dlerror=no
34254fi
ac1cb8d3
VS
34255rm -f conftest.err conftest.$ac_objext \
34256 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
34257LIBS=$ac_check_lib_save_LIBS
34258fi
34259echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34260echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34261if test $ac_cv_lib_dl_dlerror = yes; then
34262 cat >>confdefs.h <<\_ACEOF
34263#define HAVE_DLERROR 1
34264_ACEOF
34265
34266fi
34267
34268
34269
34270fi
34271done
34272
34273 fi
34274 fi
34275
34276 if test "$HAVE_DL_FUNCS" = 0; then
34277 if test "$HAVE_SHL_FUNCS" = 0; then
34278 if test "$USE_UNIX" = 1; then
34279 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34280echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34281 wxUSE_DYNAMIC_LOADER=no
34282 wxUSE_DYNLIB_CLASS=no
34283 else
34284 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34285echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34286 fi
34287 fi
34288 fi
34289 fi
34290fi
34291
34292if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34293 cat >>confdefs.h <<\_ACEOF
34294#define wxUSE_DYNAMIC_LOADER 1
34295_ACEOF
34296
34297fi
34298if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34299 cat >>confdefs.h <<\_ACEOF
34300#define wxUSE_DYNLIB_CLASS 1
34301_ACEOF
34302
34303fi
34304
34305
34306
34307if test "$wxUSE_PLUGINS" = "yes" ; then
34308 if test "$wxUSE_SHARED" = "no" ; then
34309 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34310echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34311 wxUSE_PLUGINS=no
34312 fi
34313 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34314 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34315echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34316 wxUSE_PLUGINS=no
34317 fi
34318 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34319 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34320echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34321 wxUSE_PLUGINS=no
34322 fi
34323 if test "$wxUSE_PLUGINS" = "yes" ; then
34324 cat >>confdefs.h <<\_ACEOF
34325#define wxUSE_PLUGINS 1
34326_ACEOF
34327
34328 fi
34329fi
34330
34331
34332if test "$wxUSE_STL" = "yes"; then
34333 cat >>confdefs.h <<\_ACEOF
34334#define wxUSE_STL 1
34335_ACEOF
34336
34337fi
34338
34339if test "$wxUSE_APPLE_IEEE" = "yes"; then
34340 cat >>confdefs.h <<\_ACEOF
34341#define wxUSE_APPLE_IEEE 1
34342_ACEOF
34343
34344fi
34345
34346if test "$wxUSE_TIMER" = "yes"; then
34347 cat >>confdefs.h <<\_ACEOF
34348#define wxUSE_TIMER 1
34349_ACEOF
34350
34351fi
34352
34353WITH_PLUGIN_SDL=0
34354if test "$wxUSE_SOUND" = "yes"; then
34355 if test "$USE_UNIX" = "1" ; then
34356
34357for ac_header in sys/soundcard.h
34358do
34359as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34360if eval "test \"\${$as_ac_Header+set}\" = set"; then
34361 echo "$as_me:$LINENO: checking for $ac_header" >&5
34362echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34363if eval "test \"\${$as_ac_Header+set}\" = set"; then
34364 echo $ECHO_N "(cached) $ECHO_C" >&6
34365fi
34366echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34367echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34368else
34369 # Is the header compilable?
34370echo "$as_me:$LINENO: checking $ac_header usability" >&5
34371echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34372cat >conftest.$ac_ext <<_ACEOF
34373/* confdefs.h. */
34374_ACEOF
34375cat confdefs.h >>conftest.$ac_ext
34376cat >>conftest.$ac_ext <<_ACEOF
34377/* end confdefs.h. */
34378$ac_includes_default
34379#include <$ac_header>
34380_ACEOF
34381rm -f conftest.$ac_objext
34382if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 34383 (eval $ac_compile) 2>conftest.er1
a848cd7e 34384 ac_status=$?
ac1cb8d3
VS
34385 grep -v '^ *+' conftest.er1 >conftest.err
34386 rm -f conftest.er1
34387 cat conftest.err >&5
a848cd7e
SC
34388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34389 (exit $ac_status); } &&
fc480dc1
DE
34390 { ac_try='test -z "$ac_c_werror_flag"
34391 || test ! -s conftest.err'
ac1cb8d3
VS
34392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34393 (eval $ac_try) 2>&5
34394 ac_status=$?
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); }; } &&
34397 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
34398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34399 (eval $ac_try) 2>&5
34400 ac_status=$?
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); }; }; then
34403 ac_header_compiler=yes
34404else
34405 echo "$as_me: failed program was:" >&5
34406sed 's/^/| /' conftest.$ac_ext >&5
34407
34408ac_header_compiler=no
34409fi
ac1cb8d3 34410rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
34411echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34412echo "${ECHO_T}$ac_header_compiler" >&6
34413
34414# Is the header present?
34415echo "$as_me:$LINENO: checking $ac_header presence" >&5
34416echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34417cat >conftest.$ac_ext <<_ACEOF
34418/* confdefs.h. */
34419_ACEOF
34420cat confdefs.h >>conftest.$ac_ext
34421cat >>conftest.$ac_ext <<_ACEOF
34422/* end confdefs.h. */
34423#include <$ac_header>
34424_ACEOF
34425if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34427 ac_status=$?
34428 grep -v '^ *+' conftest.er1 >conftest.err
34429 rm -f conftest.er1
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } >/dev/null; then
34433 if test -s conftest.err; then
34434 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 34435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
34436 else
34437 ac_cpp_err=
34438 fi
34439else
34440 ac_cpp_err=yes
34441fi
34442if test -z "$ac_cpp_err"; then
34443 ac_header_preproc=yes
34444else
34445 echo "$as_me: failed program was:" >&5
34446sed 's/^/| /' conftest.$ac_ext >&5
34447
34448 ac_header_preproc=no
34449fi
34450rm -f conftest.err conftest.$ac_ext
34451echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34452echo "${ECHO_T}$ac_header_preproc" >&6
34453
34454# So? What about this header?
ac1cb8d3
VS
34455case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34456 yes:no: )
a848cd7e
SC
34457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34458echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
34459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34460echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34461 ac_header_preproc=yes
a848cd7e 34462 ;;
ac1cb8d3 34463 no:yes:* )
a848cd7e
SC
34464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34465echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
34466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34467echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34469echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34471echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
34472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34473echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
34474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34475echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
34476 (
34477 cat <<\_ASBOX
ac1cb8d3
VS
34478## ----------------------------------------- ##
34479## Report this to wx-dev@lists.wxwidgets.org ##
34480## ----------------------------------------- ##
a848cd7e
SC
34481_ASBOX
34482 ) |
34483 sed "s/^/$as_me: WARNING: /" >&2
34484 ;;
34485esac
34486echo "$as_me:$LINENO: checking for $ac_header" >&5
34487echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34488if eval "test \"\${$as_ac_Header+set}\" = set"; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34490else
ac1cb8d3 34491 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
34492fi
34493echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34494echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34495
34496fi
34497if test `eval echo '${'$as_ac_Header'}'` = yes; then
34498 cat >>confdefs.h <<_ACEOF
34499#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34500_ACEOF
34501
34502fi
34503
34504done
34505
34506
34507 if test "$wxUSE_LIBSDL" != "no"; then
34508
34509# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34510if test "${with_sdl_prefix+set}" = set; then
34511 withval="$with_sdl_prefix"
34512 sdl_prefix="$withval"
34513else
34514 sdl_prefix=""
34515fi;
34516
34517# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34518if test "${with_sdl_exec_prefix+set}" = set; then
34519 withval="$with_sdl_exec_prefix"
34520 sdl_exec_prefix="$withval"
34521else
34522 sdl_exec_prefix=""
34523fi;
34524# Check whether --enable-sdltest or --disable-sdltest was given.
34525if test "${enable_sdltest+set}" = set; then
34526 enableval="$enable_sdltest"
34527
34528else
34529 enable_sdltest=yes
34530fi;
34531
34532 if test x$sdl_exec_prefix != x ; then
34533 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34534 if test x${SDL_CONFIG+set} != xset ; then
34535 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34536 fi
34537 fi
34538 if test x$sdl_prefix != x ; then
34539 sdl_args="$sdl_args --prefix=$sdl_prefix"
34540 if test x${SDL_CONFIG+set} != xset ; then
34541 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34542 fi
34543 fi
34544
34545
34546 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34547 # Extract the first word of "sdl-config", so it can be a program name with args.
34548set dummy sdl-config; ac_word=$2
34549echo "$as_me:$LINENO: checking for $ac_word" >&5
34550echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34551if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34552 echo $ECHO_N "(cached) $ECHO_C" >&6
34553else
34554 case $SDL_CONFIG in
34555 [\\/]* | ?:[\\/]*)
34556 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34557 ;;
34558 *)
34559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34560for as_dir in $PATH
34561do
34562 IFS=$as_save_IFS
34563 test -z "$as_dir" && as_dir=.
34564 for ac_exec_ext in '' $ac_executable_extensions; do
34565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34566 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34568 break 2
34569 fi
34570done
34571done
34572
34573 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34574 ;;
34575esac
34576fi
34577SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34578
34579if test -n "$SDL_CONFIG"; then
34580 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34581echo "${ECHO_T}$SDL_CONFIG" >&6
34582else
34583 echo "$as_me:$LINENO: result: no" >&5
34584echo "${ECHO_T}no" >&6
34585fi
34586
34587 min_sdl_version=1.2.0
34588 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34589echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34590 no_sdl=""
34591 if test "$SDL_CONFIG" = "no" ; then
34592 no_sdl=yes
34593 else
34594 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34595 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34596
34597 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34599 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34601 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34603 if test "x$enable_sdltest" = "xyes" ; then
34604 ac_save_CFLAGS="$CFLAGS"
34605 ac_save_LIBS="$LIBS"
34606 CFLAGS="$CFLAGS $SDL_CFLAGS"
34607 LIBS="$LIBS $SDL_LIBS"
34608 rm -f conf.sdltest
34609 if test "$cross_compiling" = yes; then
34610 echo $ac_n "cross compiling; assumed OK... $ac_c"
34611else
34612 cat >conftest.$ac_ext <<_ACEOF
34613/* confdefs.h. */
34614_ACEOF
34615cat confdefs.h >>conftest.$ac_ext
34616cat >>conftest.$ac_ext <<_ACEOF
34617/* end confdefs.h. */
34618
34619#include <stdio.h>
34620#include <stdlib.h>
34621#include <string.h>
34622#include "SDL.h"
34623
34624char*
34625my_strdup (char *str)
34626{
34627 char *new_str;
34628
34629 if (str)
34630 {
34631 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34632 strcpy (new_str, str);
34633 }
34634 else
34635 new_str = NULL;
34636
34637 return new_str;
34638}
34639
34640int main (int argc, char *argv[])
34641{
34642 int major, minor, micro;
34643 char *tmp_version;
34644
34645 /* This hangs on some systems (?)
34646 system ("touch conf.sdltest");
34647 */
34648 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34649
34650 /* HP/UX 9 (%@#!) writes to sscanf strings */
34651 tmp_version = my_strdup("$min_sdl_version");
34652 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34653 printf("%s, bad version string\n", "$min_sdl_version");
34654 exit(1);
34655 }
34656
34657 if (($sdl_major_version > major) ||
34658 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34659 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34660 {
34661 return 0;
34662 }
34663 else
34664 {
34665 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34666 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34667 printf("*** best to upgrade to the required version.\n");
34668 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34669 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34670 printf("*** config.cache before re-running configure\n");
34671 return 1;
34672 }
34673}
34674
34675
34676_ACEOF
34677rm -f conftest$ac_exeext
34678if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34679 (eval $ac_link) 2>&5
34680 ac_status=$?
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34684 (eval $ac_try) 2>&5
34685 ac_status=$?
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); }; }; then
34688 :
34689else
34690 echo "$as_me: program exited with status $ac_status" >&5
34691echo "$as_me: failed program was:" >&5
34692sed 's/^/| /' conftest.$ac_ext >&5
34693
34694( exit $ac_status )
34695no_sdl=yes
34696fi
ac1cb8d3 34697rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
34698fi
34699 CFLAGS="$ac_save_CFLAGS"
34700 LIBS="$ac_save_LIBS"
34701 fi
34702 fi
34703 if test "x$no_sdl" = x ; then
34704 echo "$as_me:$LINENO: result: yes" >&5
34705echo "${ECHO_T}yes" >&6
34706
34707 EXTRALIBS_SDL="$SDL_LIBS"
34708 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34709 cat >>confdefs.h <<\_ACEOF
34710#define wxUSE_LIBSDL 1
34711_ACEOF
34712
34713
34714 else
34715 echo "$as_me:$LINENO: result: no" >&5
34716echo "${ECHO_T}no" >&6
34717 if test "$SDL_CONFIG" = "no" ; then
34718 echo "*** The sdl-config script installed by SDL could not be found"
34719 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34720 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34721 echo "*** full path to sdl-config."
34722 else
34723 if test -f conf.sdltest ; then
34724 :
34725 else
34726 echo "*** Could not run SDL test program, checking why..."
34727 CFLAGS="$CFLAGS $SDL_CFLAGS"
34728 LIBS="$LIBS $SDL_LIBS"
34729 cat >conftest.$ac_ext <<_ACEOF
34730/* confdefs.h. */
34731_ACEOF
34732cat confdefs.h >>conftest.$ac_ext
34733cat >>conftest.$ac_ext <<_ACEOF
34734/* end confdefs.h. */
34735
34736#include <stdio.h>
34737#include "SDL.h"
34738
34739int main(int argc, char *argv[])
34740{ return 0; }
34741#undef main
34742#define main K_and_R_C_main
34743
34744int
34745main ()
34746{
34747 return 0;
34748 ;
34749 return 0;
34750}
34751_ACEOF
34752rm -f conftest.$ac_objext conftest$ac_exeext
34753if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 34754 (eval $ac_link) 2>conftest.er1
a848cd7e 34755 ac_status=$?
ac1cb8d3
VS
34756 grep -v '^ *+' conftest.er1 >conftest.err
34757 rm -f conftest.er1
34758 cat conftest.err >&5
a848cd7e
SC
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
fc480dc1
DE
34761 { ac_try='test -z "$ac_c_werror_flag"
34762 || test ! -s conftest.err'
ac1cb8d3
VS
34763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34764 (eval $ac_try) 2>&5
34765 ac_status=$?
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); }; } &&
34768 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34771 ac_status=$?
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; }; then
34774 echo "*** The test program compiled, but did not run. This usually means"
34775 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34776 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34777 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34778 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34779 echo "*** is required on your system"
34780 echo "***"
34781 echo "*** If you have an old version installed, it is best to remove it, although"
34782 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34783else
34784 echo "$as_me: failed program was:" >&5
34785sed 's/^/| /' conftest.$ac_ext >&5
34786
34787 echo "*** The test program failed to compile or link. See the file config.log for the"
34788 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34789 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34790 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34791fi
ac1cb8d3
VS
34792rm -f conftest.err conftest.$ac_objext \
34793 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
34794 CFLAGS="$ac_save_CFLAGS"
34795 LIBS="$ac_save_LIBS"
34796 fi
34797 fi
34798 SDL_CFLAGS=""
34799 SDL_LIBS=""
34800 wxUSE_LIBSDL="no"
34801 fi
34802
34803
34804 rm -f conf.sdltest
34805
34806 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34807 WITH_PLUGIN_SDL=1
34808 fi
34809 fi
34810 fi
34811
34812 cat >>confdefs.h <<\_ACEOF
34813#define wxUSE_SOUND 1
34814_ACEOF
34815
34816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34817fi
34818
d1c38808
VZ
34819if test "$WXGTK20" = 1; then
34820 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34821 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34822
34823
34824 succeeded=no
34825
34826 if test -z "$PKG_CONFIG"; then
34827 # Extract the first word of "pkg-config", so it can be a program name with args.
34828set dummy pkg-config; ac_word=$2
34829echo "$as_me:$LINENO: checking for $ac_word" >&5
34830echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34831if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34833else
34834 case $PKG_CONFIG in
34835 [\\/]* | ?:[\\/]*)
34836 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34837 ;;
34838 *)
34839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34840for as_dir in $PATH
34841do
34842 IFS=$as_save_IFS
34843 test -z "$as_dir" && as_dir=.
34844 for ac_exec_ext in '' $ac_executable_extensions; do
34845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34846 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34848 break 2
34849 fi
34850done
34851done
34852
34853 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
34854 ;;
34855esac
34856fi
34857PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34858
34859if test -n "$PKG_CONFIG"; then
34860 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34861echo "${ECHO_T}$PKG_CONFIG" >&6
34862else
34863 echo "$as_me:$LINENO: result: no" >&5
34864echo "${ECHO_T}no" >&6
34865fi
34866
34867 fi
34868
34869 if test "$PKG_CONFIG" = "no" ; then
34870 echo "*** The pkg-config script could not be found. Make sure it is"
34871 echo "*** in your path, or set the PKG_CONFIG environment variable"
34872 echo "*** to the full path to pkg-config."
34873 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34874 else
34875 PKG_CONFIG_MIN_VERSION=0.9.0
34876 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34877 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2" >&5
34878echo $ECHO_N "checking for libgnomeprintui-2.2... $ECHO_C" >&6
34879
34880 if $PKG_CONFIG --exists "libgnomeprintui-2.2" ; then
34881 echo "$as_me:$LINENO: result: yes" >&5
34882echo "${ECHO_T}yes" >&6
34883 succeeded=yes
34884
34885 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34886echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34887 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2"`
34888 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34889echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34890
34891 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34892echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34893 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2"`
34894 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34895echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34896 else
34897 LIBGNOMEPRINTUI_CFLAGS=""
34898 LIBGNOMEPRINTUI_LIBS=""
34899 ## If we have a custom action on failure, don't print errors, but
34900 ## do set a variable so people can do so.
34901 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2"`
34902
34903 fi
34904
34905
34906
34907 else
34908 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34909 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34910 fi
34911 fi
34912
34913 if test $succeeded = yes; then
34914
34915 EXTRALIBS_GNOMEPRINT="$LIBGNOMEPRINTUI_LIBS"
34916 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34917 cat >>confdefs.h <<\_ACEOF
34918#define wxUSE_LIBGNOMEPRINT 1
34919_ACEOF
34920
34921
34922 else
34923
34924 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34925echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34926 wxUSE_LIBGNOMEPRINT="no"
34927
34928
34929 fi
34930
34931 fi
34932 fi
34933fi
34934
34935
a848cd7e
SC
34936if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34937 cat >>confdefs.h <<\_ACEOF
34938#define wxUSE_CMDLINE_PARSER 1
34939_ACEOF
34940
34941fi
34942
34943if test "$wxUSE_STOPWATCH" = "yes"; then
34944 cat >>confdefs.h <<\_ACEOF
34945#define wxUSE_STOPWATCH 1
34946_ACEOF
34947
34948fi
34949
34950if test "$wxUSE_DATETIME" = "yes"; then
34951 cat >>confdefs.h <<\_ACEOF
34952#define wxUSE_DATETIME 1
34953_ACEOF
34954
34955fi
34956
34957if test "$wxUSE_FILE" = "yes"; then
34958 cat >>confdefs.h <<\_ACEOF
34959#define wxUSE_FILE 1
34960_ACEOF
34961
34962fi
34963
34964if test "$wxUSE_FFILE" = "yes"; then
34965 cat >>confdefs.h <<\_ACEOF
34966#define wxUSE_FFILE 1
34967_ACEOF
34968
34969fi
34970
34971if test "$wxUSE_FILESYSTEM" = "yes"; then
34972 cat >>confdefs.h <<\_ACEOF
34973#define wxUSE_FILESYSTEM 1
34974_ACEOF
34975
34976fi
34977
34978if test "$wxUSE_FS_ZIP" = "yes"; then
34979 cat >>confdefs.h <<\_ACEOF
34980#define wxUSE_FS_ZIP 1
34981_ACEOF
34982
34983fi
34984
34985if test "$wxUSE_ZIPSTREAM" = "yes"; then
34986 cat >>confdefs.h <<\_ACEOF
34987#define wxUSE_ZIPSTREAM 1
34988_ACEOF
34989
34990fi
34991
a848cd7e
SC
34992if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34993 cat >>confdefs.h <<\_ACEOF
34994#define wxUSE_ON_FATAL_EXCEPTION 1
34995_ACEOF
34996
34997fi
34998
34999if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35000 cat >>confdefs.h <<\_ACEOF
35001#define wxUSE_SNGLINST_CHECKER 1
35002_ACEOF
35003
35004fi
35005
35006if test "$wxUSE_BUSYINFO" = "yes"; then
35007 cat >>confdefs.h <<\_ACEOF
35008#define wxUSE_BUSYINFO 1
35009_ACEOF
35010
35011fi
35012
35013if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35014 cat >>confdefs.h <<\_ACEOF
35015#define wxUSE_STD_IOSTREAM 1
35016_ACEOF
35017
35018fi
35019
35020if test "$wxUSE_TEXTBUFFER" = "yes"; then
35021 cat >>confdefs.h <<\_ACEOF
35022#define wxUSE_TEXTBUFFER 1
35023_ACEOF
35024
35025fi
35026
35027if test "$wxUSE_TEXTFILE" = "yes"; then
35028 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35029 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35030echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35031 else
35032 cat >>confdefs.h <<\_ACEOF
35033#define wxUSE_TEXTFILE 1
35034_ACEOF
35035
35036 fi
35037fi
35038
35039if test "$wxUSE_CONFIG" = "yes" ; then
35040 if test "$wxUSE_TEXTFILE" != "yes"; then
35041 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35042echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35043 else
35044 cat >>confdefs.h <<\_ACEOF
35045#define wxUSE_CONFIG 1
35046_ACEOF
35047
35048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35049 fi
35050fi
35051
35052if test "$wxUSE_INTL" = "yes" ; then
35053 if test "$wxUSE_FILE" != "yes"; then
35054 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35055echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35056 else
35057 cat >>confdefs.h <<\_ACEOF
35058#define wxUSE_INTL 1
35059_ACEOF
35060
35061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35062 GUIDIST="$GUIDIST INTL_DIST"
35063 fi
35064fi
35065
35066if test "$wxUSE_LOG" = "yes"; then
35067 cat >>confdefs.h <<\_ACEOF
35068#define wxUSE_LOG 1
35069_ACEOF
35070
35071
35072 if test "$wxUSE_LOGGUI" = "yes"; then
35073 cat >>confdefs.h <<\_ACEOF
35074#define wxUSE_LOGGUI 1
35075_ACEOF
35076
35077 fi
35078
35079 if test "$wxUSE_LOGWINDOW" = "yes"; then
35080 cat >>confdefs.h <<\_ACEOF
35081#define wxUSE_LOGWINDOW 1
35082_ACEOF
35083
35084 fi
35085
35086 if test "$wxUSE_LOGDIALOG" = "yes"; then
35087 cat >>confdefs.h <<\_ACEOF
35088#define wxUSE_LOG_DIALOG 1
35089_ACEOF
35090
35091 fi
35092fi
35093
35094if test "$wxUSE_LONGLONG" = "yes"; then
35095 cat >>confdefs.h <<\_ACEOF
35096#define wxUSE_LONGLONG 1
35097_ACEOF
35098
35099fi
35100
35101if test "$wxUSE_GEOMETRY" = "yes"; then
35102 cat >>confdefs.h <<\_ACEOF
35103#define wxUSE_GEOMETRY 1
35104_ACEOF
35105
35106fi
35107
35108if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35109 cat >>confdefs.h <<\_ACEOF
35110#define wxUSE_DIALUP_MANAGER 1
35111_ACEOF
35112
35113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35114fi
35115
35116if test "$wxUSE_STREAMS" = "yes" ; then
35117 cat >>confdefs.h <<\_ACEOF
35118#define wxUSE_STREAMS 1
35119_ACEOF
35120
35121fi
35122
35123
35124if test "$wxUSE_DATETIME" = "yes"; then
35125
35126for ac_func in strptime
35127do
35128as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35129echo "$as_me:$LINENO: checking for $ac_func" >&5
35130echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35131if eval "test \"\${$as_ac_var+set}\" = set"; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35133else
35134 cat >conftest.$ac_ext <<_ACEOF
35135/* confdefs.h. */
35136_ACEOF
35137cat confdefs.h >>conftest.$ac_ext
35138cat >>conftest.$ac_ext <<_ACEOF
35139/* end confdefs.h. */
ac1cb8d3
VS
35140/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35142#define $ac_func innocuous_$ac_func
35143
a848cd7e
SC
35144/* System header to define __stub macros and hopefully few prototypes,
35145 which can conflict with char $ac_func (); below.
35146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 35148
a848cd7e
SC
35149#ifdef __STDC__
35150# include <limits.h>
35151#else
35152# include <assert.h>
35153#endif
ac1cb8d3
VS
35154
35155#undef $ac_func
35156
a848cd7e
SC
35157/* Override any gcc2 internal prototype to avoid an error. */
35158#ifdef __cplusplus
35159extern "C"
35160{
35161#endif
35162/* We use char because int might match the return type of a gcc2
35163 builtin and then its argument prototype would still apply. */
35164char $ac_func ();
35165/* The GNU C library defines this for functions which it implements
35166 to always fail with ENOSYS. Some functions are actually named
35167 something starting with __ and the normal name is an alias. */
35168#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35169choke me
35170#else
35171char (*f) () = $ac_func;
35172#endif
35173#ifdef __cplusplus
35174}
35175#endif
35176
35177int
35178main ()
35179{
35180return f != $ac_func;
35181 ;
35182 return 0;
35183}
35184_ACEOF
35185rm -f conftest.$ac_objext conftest$ac_exeext
35186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35187 (eval $ac_link) 2>conftest.er1
a848cd7e 35188 ac_status=$?
ac1cb8d3
VS
35189 grep -v '^ *+' conftest.er1 >conftest.err
35190 rm -f conftest.er1
35191 cat conftest.err >&5
a848cd7e
SC
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } &&
fc480dc1
DE
35194 { ac_try='test -z "$ac_c_werror_flag"
35195 || test ! -s conftest.err'
ac1cb8d3
VS
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35198 ac_status=$?
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; } &&
35201 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; }; then
35207 eval "$as_ac_var=yes"
35208else
35209 echo "$as_me: failed program was:" >&5
35210sed 's/^/| /' conftest.$ac_ext >&5
35211
35212eval "$as_ac_var=no"
35213fi
ac1cb8d3
VS
35214rm -f conftest.err conftest.$ac_objext \
35215 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
35216fi
35217echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35218echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35219if test `eval echo '${'$as_ac_var'}'` = yes; then
35220 cat >>confdefs.h <<_ACEOF
35221#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35222_ACEOF
35223
35224fi
35225done
35226
35227
35228 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35229echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35230if test "${wx_cv_var_timezone+set}" = set; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35232else
35233
35234 cat >conftest.$ac_ext <<_ACEOF
35235/* confdefs.h. */
35236_ACEOF
35237cat confdefs.h >>conftest.$ac_ext
35238cat >>conftest.$ac_ext <<_ACEOF
35239/* end confdefs.h. */
35240
35241 #include <time.h>
35242
35243int
35244main ()
35245{
35246
35247 int tz;
35248 tz = timezone;
35249
35250 ;
35251 return 0;
35252}
35253_ACEOF
35254rm -f conftest.$ac_objext
35255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35256 (eval $ac_compile) 2>conftest.er1
a848cd7e 35257 ac_status=$?
ac1cb8d3
VS
35258 grep -v '^ *+' conftest.er1 >conftest.err
35259 rm -f conftest.er1
35260 cat conftest.err >&5
a848cd7e
SC
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); } &&
fc480dc1
DE
35263 { ac_try='test -z "$ac_c_werror_flag"
35264 || test ! -s conftest.err'
ac1cb8d3
VS
35265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35266 (eval $ac_try) 2>&5
35267 ac_status=$?
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); }; } &&
35270 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35272 (eval $ac_try) 2>&5
35273 ac_status=$?
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); }; }; then
35276
35277 wx_cv_var_timezone=timezone
35278
35279else
35280 echo "$as_me: failed program was:" >&5
35281sed 's/^/| /' conftest.$ac_ext >&5
35282
35283
35284 cat >conftest.$ac_ext <<_ACEOF
35285/* confdefs.h. */
35286_ACEOF
35287cat confdefs.h >>conftest.$ac_ext
35288cat >>conftest.$ac_ext <<_ACEOF
35289/* end confdefs.h. */
35290
35291 #include <time.h>
35292
35293int
35294main ()
35295{
35296
35297 int tz;
35298 tz = _timezone;
35299
35300 ;
35301 return 0;
35302}
35303_ACEOF
35304rm -f conftest.$ac_objext
35305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35306 (eval $ac_compile) 2>conftest.er1
a848cd7e 35307 ac_status=$?
ac1cb8d3
VS
35308 grep -v '^ *+' conftest.er1 >conftest.err
35309 rm -f conftest.er1
35310 cat conftest.err >&5
a848cd7e
SC
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); } &&
fc480dc1
DE
35313 { ac_try='test -z "$ac_c_werror_flag"
35314 || test ! -s conftest.err'
ac1cb8d3
VS
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35317 ac_status=$?
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; } &&
35320 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35323 ac_status=$?
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; }; then
35326
35327 wx_cv_var_timezone=_timezone
35328
35329else
35330 echo "$as_me: failed program was:" >&5
35331sed 's/^/| /' conftest.$ac_ext >&5
35332
35333
35334 cat >conftest.$ac_ext <<_ACEOF
35335/* confdefs.h. */
35336_ACEOF
35337cat confdefs.h >>conftest.$ac_ext
35338cat >>conftest.$ac_ext <<_ACEOF
35339/* end confdefs.h. */
35340
35341 #include <time.h>
35342
35343int
35344main ()
35345{
35346
35347 int tz;
35348 tz = __timezone;
35349
35350 ;
35351 return 0;
35352}
35353_ACEOF
35354rm -f conftest.$ac_objext
35355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35356 (eval $ac_compile) 2>conftest.er1
a848cd7e 35357 ac_status=$?
ac1cb8d3
VS
35358 grep -v '^ *+' conftest.er1 >conftest.err
35359 rm -f conftest.er1
35360 cat conftest.err >&5
a848cd7e
SC
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); } &&
fc480dc1
DE
35363 { ac_try='test -z "$ac_c_werror_flag"
35364 || test ! -s conftest.err'
ac1cb8d3
VS
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35367 ac_status=$?
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; } &&
35370 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35373 ac_status=$?
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; }; then
35376
35377 wx_cv_var_timezone=__timezone
35378
35379else
35380 echo "$as_me: failed program was:" >&5
35381sed 's/^/| /' conftest.$ac_ext >&5
35382
35383
35384 if test "$USE_DOS" = 0 ; then
35385 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35386echo "$as_me: WARNING: no timezone variable" >&2;}
35387 fi
35388
35389
35390fi
ac1cb8d3 35391rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35392
35393
35394fi
ac1cb8d3 35395rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35396
35397
35398fi
ac1cb8d3 35399rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35400
35401
35402fi
35403echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35404echo "${ECHO_T}$wx_cv_var_timezone" >&6
35405
35406 if test "x$wx_cv_var_timezone" != x ; then
35407 cat >>confdefs.h <<_ACEOF
35408#define WX_TIMEZONE $wx_cv_var_timezone
35409_ACEOF
35410
35411 fi
35412
35413
35414for ac_func in localtime
35415do
35416as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35417echo "$as_me:$LINENO: checking for $ac_func" >&5
35418echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35419if eval "test \"\${$as_ac_var+set}\" = set"; then
35420 echo $ECHO_N "(cached) $ECHO_C" >&6
35421else
35422 cat >conftest.$ac_ext <<_ACEOF
35423/* confdefs.h. */
35424_ACEOF
35425cat confdefs.h >>conftest.$ac_ext
35426cat >>conftest.$ac_ext <<_ACEOF
35427/* end confdefs.h. */
ac1cb8d3
VS
35428/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35430#define $ac_func innocuous_$ac_func
35431
a848cd7e
SC
35432/* System header to define __stub macros and hopefully few prototypes,
35433 which can conflict with char $ac_func (); below.
35434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35435 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 35436
a848cd7e
SC
35437#ifdef __STDC__
35438# include <limits.h>
35439#else
35440# include <assert.h>
35441#endif
ac1cb8d3
VS
35442
35443#undef $ac_func
35444
a848cd7e
SC
35445/* Override any gcc2 internal prototype to avoid an error. */
35446#ifdef __cplusplus
35447extern "C"
35448{
35449#endif
35450/* We use char because int might match the return type of a gcc2
35451 builtin and then its argument prototype would still apply. */
35452char $ac_func ();
35453/* The GNU C library defines this for functions which it implements
35454 to always fail with ENOSYS. Some functions are actually named
35455 something starting with __ and the normal name is an alias. */
35456#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35457choke me
35458#else
35459char (*f) () = $ac_func;
35460#endif
35461#ifdef __cplusplus
35462}
35463#endif
35464
35465int
35466main ()
35467{
35468return f != $ac_func;
35469 ;
35470 return 0;
35471}
35472_ACEOF
35473rm -f conftest.$ac_objext conftest$ac_exeext
35474if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35475 (eval $ac_link) 2>conftest.er1
a848cd7e 35476 ac_status=$?
ac1cb8d3
VS
35477 grep -v '^ *+' conftest.er1 >conftest.err
35478 rm -f conftest.er1
35479 cat conftest.err >&5
a848cd7e
SC
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); } &&
fc480dc1
DE
35482 { ac_try='test -z "$ac_c_werror_flag"
35483 || test ! -s conftest.err'
ac1cb8d3
VS
35484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35485 (eval $ac_try) 2>&5
35486 ac_status=$?
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); }; } &&
35489 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35491 (eval $ac_try) 2>&5
35492 ac_status=$?
35493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494 (exit $ac_status); }; }; then
35495 eval "$as_ac_var=yes"
35496else
35497 echo "$as_me: failed program was:" >&5
35498sed 's/^/| /' conftest.$ac_ext >&5
35499
35500eval "$as_ac_var=no"
35501fi
ac1cb8d3
VS
35502rm -f conftest.err conftest.$ac_objext \
35503 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
35504fi
35505echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35506echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35507if test `eval echo '${'$as_ac_var'}'` = yes; then
35508 cat >>confdefs.h <<_ACEOF
35509#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35510_ACEOF
35511
35512fi
35513done
35514
35515
35516 if test "$ac_cv_func_localtime" = "yes"; then
35517 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35518echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35519if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35520 echo $ECHO_N "(cached) $ECHO_C" >&6
35521else
35522
35523 cat >conftest.$ac_ext <<_ACEOF
35524/* confdefs.h. */
35525_ACEOF
35526cat confdefs.h >>conftest.$ac_ext
35527cat >>conftest.$ac_ext <<_ACEOF
35528/* end confdefs.h. */
35529
35530 #include <time.h>
35531
35532int
35533main ()
35534{
35535
35536 struct tm tm;
35537 tm.tm_gmtoff++;
35538
35539 ;
35540 return 0;
35541}
35542_ACEOF
35543rm -f conftest.$ac_objext
35544if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35545 (eval $ac_compile) 2>conftest.er1
a848cd7e 35546 ac_status=$?
ac1cb8d3
VS
35547 grep -v '^ *+' conftest.er1 >conftest.err
35548 rm -f conftest.er1
35549 cat conftest.err >&5
a848cd7e
SC
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } &&
fc480dc1
DE
35552 { ac_try='test -z "$ac_c_werror_flag"
35553 || test ! -s conftest.err'
ac1cb8d3
VS
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35556 ac_status=$?
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; } &&
35559 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561 (eval $ac_try) 2>&5
35562 ac_status=$?
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; }; then
35565
35566 wx_cv_struct_tm_has_gmtoff=yes
35567
35568else
35569 echo "$as_me: failed program was:" >&5
35570sed 's/^/| /' conftest.$ac_ext >&5
35571
35572wx_cv_struct_tm_has_gmtoff=no
35573
35574fi
ac1cb8d3 35575rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35576
35577fi
35578echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35579echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35580 fi
35581
35582 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35583 cat >>confdefs.h <<\_ACEOF
35584#define WX_GMTOFF_IN_TM 1
35585_ACEOF
35586
35587 fi
35588
35589
35590
35591for ac_func in gettimeofday ftime
35592do
35593as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35594echo "$as_me:$LINENO: checking for $ac_func" >&5
35595echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35596if eval "test \"\${$as_ac_var+set}\" = set"; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35598else
35599 cat >conftest.$ac_ext <<_ACEOF
35600/* confdefs.h. */
35601_ACEOF
35602cat confdefs.h >>conftest.$ac_ext
35603cat >>conftest.$ac_ext <<_ACEOF
35604/* end confdefs.h. */
ac1cb8d3
VS
35605/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35607#define $ac_func innocuous_$ac_func
35608
a848cd7e
SC
35609/* System header to define __stub macros and hopefully few prototypes,
35610 which can conflict with char $ac_func (); below.
35611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35612 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 35613
a848cd7e
SC
35614#ifdef __STDC__
35615# include <limits.h>
35616#else
35617# include <assert.h>
35618#endif
ac1cb8d3
VS
35619
35620#undef $ac_func
35621
a848cd7e
SC
35622/* Override any gcc2 internal prototype to avoid an error. */
35623#ifdef __cplusplus
35624extern "C"
35625{
35626#endif
35627/* We use char because int might match the return type of a gcc2
35628 builtin and then its argument prototype would still apply. */
35629char $ac_func ();
35630/* The GNU C library defines this for functions which it implements
35631 to always fail with ENOSYS. Some functions are actually named
35632 something starting with __ and the normal name is an alias. */
35633#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35634choke me
35635#else
35636char (*f) () = $ac_func;
35637#endif
35638#ifdef __cplusplus
35639}
35640#endif
35641
35642int
35643main ()
35644{
35645return f != $ac_func;
35646 ;
35647 return 0;
35648}
35649_ACEOF
35650rm -f conftest.$ac_objext conftest$ac_exeext
35651if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35652 (eval $ac_link) 2>conftest.er1
a848cd7e 35653 ac_status=$?
ac1cb8d3
VS
35654 grep -v '^ *+' conftest.er1 >conftest.err
35655 rm -f conftest.er1
35656 cat conftest.err >&5
a848cd7e
SC
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } &&
fc480dc1
DE
35659 { ac_try='test -z "$ac_c_werror_flag"
35660 || test ! -s conftest.err'
ac1cb8d3
VS
35661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662 (eval $ac_try) 2>&5
35663 ac_status=$?
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); }; } &&
35666 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35668 (eval $ac_try) 2>&5
35669 ac_status=$?
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); }; }; then
35672 eval "$as_ac_var=yes"
35673else
35674 echo "$as_me: failed program was:" >&5
35675sed 's/^/| /' conftest.$ac_ext >&5
35676
35677eval "$as_ac_var=no"
35678fi
ac1cb8d3
VS
35679rm -f conftest.err conftest.$ac_objext \
35680 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
35681fi
35682echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35683echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35684if test `eval echo '${'$as_ac_var'}'` = yes; then
35685 cat >>confdefs.h <<_ACEOF
35686#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35687_ACEOF
35688 break
35689fi
35690done
35691
35692
35693 if test "$ac_cv_func_gettimeofday" = "yes"; then
35694 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35695echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35696if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35697 echo $ECHO_N "(cached) $ECHO_C" >&6
35698else
35699
35700
35701
35702 ac_ext=cc
35703ac_cpp='$CXXCPP $CPPFLAGS'
35704ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35705ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35706ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35707
35708
35709 cat >conftest.$ac_ext <<_ACEOF
35710/* confdefs.h. */
35711_ACEOF
35712cat confdefs.h >>conftest.$ac_ext
35713cat >>conftest.$ac_ext <<_ACEOF
35714/* end confdefs.h. */
35715
35716 #include <sys/time.h>
35717 #include <unistd.h>
35718
35719int
35720main ()
35721{
35722
35723 struct timeval tv;
35724 gettimeofday(&tv, NULL);
35725
35726 ;
35727 return 0;
35728}
35729_ACEOF
35730rm -f conftest.$ac_objext
35731if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35732 (eval $ac_compile) 2>conftest.er1
a848cd7e 35733 ac_status=$?
ac1cb8d3
VS
35734 grep -v '^ *+' conftest.er1 >conftest.err
35735 rm -f conftest.er1
35736 cat conftest.err >&5
a848cd7e
SC
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); } &&
fc480dc1
DE
35739 { ac_try='test -z "$ac_cxx_werror_flag"
35740 || test ! -s conftest.err'
ac1cb8d3
VS
35741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35742 (eval $ac_try) 2>&5
35743 ac_status=$?
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); }; } &&
35746 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35748 (eval $ac_try) 2>&5
35749 ac_status=$?
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); }; }; then
35752 wx_cv_func_gettimeofday_has_2_args=yes
35753else
35754 echo "$as_me: failed program was:" >&5
35755sed 's/^/| /' conftest.$ac_ext >&5
35756
35757cat >conftest.$ac_ext <<_ACEOF
35758/* confdefs.h. */
35759_ACEOF
35760cat confdefs.h >>conftest.$ac_ext
35761cat >>conftest.$ac_ext <<_ACEOF
35762/* end confdefs.h. */
35763
35764 #include <sys/time.h>
35765 #include <unistd.h>
35766
35767int
35768main ()
35769{
35770
35771 struct timeval tv;
35772 gettimeofday(&tv);
35773
35774 ;
35775 return 0;
35776}
35777_ACEOF
35778rm -f conftest.$ac_objext
35779if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35780 (eval $ac_compile) 2>conftest.er1
a848cd7e 35781 ac_status=$?
ac1cb8d3
VS
35782 grep -v '^ *+' conftest.er1 >conftest.err
35783 rm -f conftest.er1
35784 cat conftest.err >&5
a848cd7e
SC
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } &&
fc480dc1
DE
35787 { ac_try='test -z "$ac_cxx_werror_flag"
35788 || test ! -s conftest.err'
ac1cb8d3
VS
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; } &&
35794 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 wx_cv_func_gettimeofday_has_2_args=no
35801else
35802 echo "$as_me: failed program was:" >&5
35803sed 's/^/| /' conftest.$ac_ext >&5
35804
35805
35806 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35807echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35808 wx_cv_func_gettimeofday_has_2_args=unknown
35809
35810
35811fi
ac1cb8d3 35812rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35813
35814fi
ac1cb8d3 35815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35816 ac_ext=c
35817ac_cpp='$CPP $CPPFLAGS'
35818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820ac_compiler_gnu=$ac_cv_c_compiler_gnu
35821
35822
35823fi
35824echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35825echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35826
35827 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35828 cat >>confdefs.h <<\_ACEOF
35829#define WX_GETTIMEOFDAY_NO_TZ 1
35830_ACEOF
35831
35832 fi
35833 fi
35834
35835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35836fi
35837
35838
35839if test "$wxUSE_SOCKETS" = "yes"; then
35840 if test "$wxUSE_MGL" = "1"; then
35841 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35842echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35843 wxUSE_SOCKETS="no"
35844 fi
35845fi
35846
35847if test "$wxUSE_SOCKETS" = "yes"; then
35848 if test "$TOOLKIT" != "MSW"; then
35849 echo "$as_me:$LINENO: checking for socket" >&5
35850echo $ECHO_N "checking for socket... $ECHO_C" >&6
35851if test "${ac_cv_func_socket+set}" = set; then
35852 echo $ECHO_N "(cached) $ECHO_C" >&6
35853else
35854 cat >conftest.$ac_ext <<_ACEOF
35855/* confdefs.h. */
35856_ACEOF
35857cat confdefs.h >>conftest.$ac_ext
35858cat >>conftest.$ac_ext <<_ACEOF
35859/* end confdefs.h. */
ac1cb8d3
VS
35860/* Define socket to an innocuous variant, in case <limits.h> declares socket.
35861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35862#define socket innocuous_socket
35863
a848cd7e
SC
35864/* System header to define __stub macros and hopefully few prototypes,
35865 which can conflict with char socket (); below.
35866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35867 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 35868
a848cd7e
SC
35869#ifdef __STDC__
35870# include <limits.h>
35871#else
35872# include <assert.h>
35873#endif
ac1cb8d3
VS
35874
35875#undef socket
35876
a848cd7e
SC
35877/* Override any gcc2 internal prototype to avoid an error. */
35878#ifdef __cplusplus
35879extern "C"
35880{
35881#endif
35882/* We use char because int might match the return type of a gcc2
35883 builtin and then its argument prototype would still apply. */
35884char socket ();
35885/* The GNU C library defines this for functions which it implements
35886 to always fail with ENOSYS. Some functions are actually named
35887 something starting with __ and the normal name is an alias. */
35888#if defined (__stub_socket) || defined (__stub___socket)
35889choke me
35890#else
35891char (*f) () = socket;
35892#endif
35893#ifdef __cplusplus
35894}
35895#endif
35896
35897int
35898main ()
35899{
35900return f != socket;
35901 ;
35902 return 0;
35903}
35904_ACEOF
35905rm -f conftest.$ac_objext conftest$ac_exeext
35906if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35907 (eval $ac_link) 2>conftest.er1
a848cd7e 35908 ac_status=$?
ac1cb8d3
VS
35909 grep -v '^ *+' conftest.er1 >conftest.err
35910 rm -f conftest.er1
35911 cat conftest.err >&5
a848cd7e
SC
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } &&
fc480dc1
DE
35914 { ac_try='test -z "$ac_c_werror_flag"
35915 || test ! -s conftest.err'
ac1cb8d3
VS
35916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35917 (eval $ac_try) 2>&5
35918 ac_status=$?
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); }; } &&
35921 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35923 (eval $ac_try) 2>&5
35924 ac_status=$?
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); }; }; then
35927 ac_cv_func_socket=yes
35928else
35929 echo "$as_me: failed program was:" >&5
35930sed 's/^/| /' conftest.$ac_ext >&5
35931
35932ac_cv_func_socket=no
35933fi
ac1cb8d3
VS
35934rm -f conftest.err conftest.$ac_objext \
35935 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
35936fi
35937echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35938echo "${ECHO_T}$ac_cv_func_socket" >&6
35939if test $ac_cv_func_socket = yes; then
35940 :
35941else
35942
35943 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35944echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35945if test "${ac_cv_lib_socket_socket+set}" = set; then
35946 echo $ECHO_N "(cached) $ECHO_C" >&6
35947else
35948 ac_check_lib_save_LIBS=$LIBS
35949LIBS="-lsocket $LIBS"
35950cat >conftest.$ac_ext <<_ACEOF
35951/* confdefs.h. */
35952_ACEOF
35953cat confdefs.h >>conftest.$ac_ext
35954cat >>conftest.$ac_ext <<_ACEOF
35955/* end confdefs.h. */
35956
35957/* Override any gcc2 internal prototype to avoid an error. */
35958#ifdef __cplusplus
35959extern "C"
35960#endif
35961/* We use char because int might match the return type of a gcc2
35962 builtin and then its argument prototype would still apply. */
35963char socket ();
35964int
35965main ()
35966{
35967socket ();
35968 ;
35969 return 0;
35970}
35971_ACEOF
35972rm -f conftest.$ac_objext conftest$ac_exeext
35973if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35974 (eval $ac_link) 2>conftest.er1
a848cd7e 35975 ac_status=$?
ac1cb8d3
VS
35976 grep -v '^ *+' conftest.er1 >conftest.err
35977 rm -f conftest.er1
35978 cat conftest.err >&5
a848cd7e
SC
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); } &&
fc480dc1
DE
35981 { ac_try='test -z "$ac_c_werror_flag"
35982 || test ! -s conftest.err'
ac1cb8d3
VS
35983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35984 (eval $ac_try) 2>&5
35985 ac_status=$?
35986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35987 (exit $ac_status); }; } &&
35988 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35990 (eval $ac_try) 2>&5
35991 ac_status=$?
35992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993 (exit $ac_status); }; }; then
35994 ac_cv_lib_socket_socket=yes
35995else
35996 echo "$as_me: failed program was:" >&5
35997sed 's/^/| /' conftest.$ac_ext >&5
35998
35999ac_cv_lib_socket_socket=no
36000fi
ac1cb8d3
VS
36001rm -f conftest.err conftest.$ac_objext \
36002 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
36003LIBS=$ac_check_lib_save_LIBS
36004fi
36005echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36006echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36007if test $ac_cv_lib_socket_socket = yes; then
36008 if test "$INET_LINK" != " -lsocket"; then
36009 INET_LINK="$INET_LINK -lsocket"
36010 fi
36011else
36012
36013 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36014echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36015 wxUSE_SOCKETS=no
36016
36017
36018fi
36019
36020
36021
36022fi
36023
36024 fi
36025fi
36026
36027if test "$wxUSE_SOCKETS" = "yes" ; then
36028 if test "$TOOLKIT" != "MSW"; then
4d4ff94c
VZ
36029 ac_ext=cc
36030ac_cpp='$CXXCPP $CPPFLAGS'
36031ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36034
36035 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
a848cd7e
SC
36036echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36037if test "${wx_cv_type_getsockname3+set}" = set; then
36038 echo $ECHO_N "(cached) $ECHO_C" >&6
36039else
36040
36041 cat >conftest.$ac_ext <<_ACEOF
36042/* confdefs.h. */
36043_ACEOF
36044cat confdefs.h >>conftest.$ac_ext
36045cat >>conftest.$ac_ext <<_ACEOF
36046/* end confdefs.h. */
36047
36048 #include <sys/types.h>
36049 #include <sys/socket.h>
36050
36051int
36052main ()
36053{
36054
36055 socklen_t len;
36056 getsockname(0, 0, &len);
36057
36058 ;
36059 return 0;
36060}
36061_ACEOF
36062rm -f conftest.$ac_objext
36063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36064 (eval $ac_compile) 2>conftest.er1
a848cd7e 36065 ac_status=$?
ac1cb8d3
VS
36066 grep -v '^ *+' conftest.er1 >conftest.err
36067 rm -f conftest.er1
36068 cat conftest.err >&5
a848cd7e
SC
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); } &&
fc480dc1
DE
36071 { ac_try='test -z "$ac_cxx_werror_flag"
36072 || test ! -s conftest.err'
ac1cb8d3
VS
36073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36074 (eval $ac_try) 2>&5
36075 ac_status=$?
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); }; } &&
36078 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36081 ac_status=$?
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; }; then
36084 wx_cv_type_getsockname3=socklen_t
36085else
36086 echo "$as_me: failed program was:" >&5
36087sed 's/^/| /' conftest.$ac_ext >&5
36088
36089
36090 CFLAGS_OLD="$CFLAGS"
36091 if test "$GCC" = yes ; then
36092 CFLAGS="$CFLAGS -Werror"
36093 fi
36094
36095 cat >conftest.$ac_ext <<_ACEOF
36096/* confdefs.h. */
36097_ACEOF
36098cat confdefs.h >>conftest.$ac_ext
36099cat >>conftest.$ac_ext <<_ACEOF
36100/* end confdefs.h. */
36101
36102 #include <sys/types.h>
36103 #include <sys/socket.h>
36104
36105int
36106main ()
36107{
36108
36109 size_t len;
36110 getsockname(0, 0, &len);
36111
36112 ;
36113 return 0;
36114}
36115_ACEOF
36116rm -f conftest.$ac_objext
36117if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36118 (eval $ac_compile) 2>conftest.er1
a848cd7e 36119 ac_status=$?
ac1cb8d3
VS
36120 grep -v '^ *+' conftest.er1 >conftest.err
36121 rm -f conftest.er1
36122 cat conftest.err >&5
a848cd7e
SC
36123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 (exit $ac_status); } &&
fc480dc1
DE
36125 { ac_try='test -z "$ac_cxx_werror_flag"
36126 || test ! -s conftest.err'
ac1cb8d3
VS
36127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36128 (eval $ac_try) 2>&5
36129 ac_status=$?
36130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36131 (exit $ac_status); }; } &&
36132 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36134 (eval $ac_try) 2>&5
36135 ac_status=$?
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); }; }; then
36138 wx_cv_type_getsockname3=size_t
36139else
36140 echo "$as_me: failed program was:" >&5
36141sed 's/^/| /' conftest.$ac_ext >&5
36142
36143cat >conftest.$ac_ext <<_ACEOF
36144/* confdefs.h. */
36145_ACEOF
36146cat confdefs.h >>conftest.$ac_ext
36147cat >>conftest.$ac_ext <<_ACEOF
36148/* end confdefs.h. */
36149
36150 #include <sys/types.h>
36151 #include <sys/socket.h>
36152
36153int
36154main ()
36155{
36156
36157 int len;
36158 getsockname(0, 0, &len);
36159
36160 ;
36161 return 0;
36162}
36163_ACEOF
36164rm -f conftest.$ac_objext
36165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36166 (eval $ac_compile) 2>conftest.er1
a848cd7e 36167 ac_status=$?
ac1cb8d3
VS
36168 grep -v '^ *+' conftest.er1 >conftest.err
36169 rm -f conftest.er1
36170 cat conftest.err >&5
a848cd7e
SC
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); } &&
fc480dc1
DE
36173 { ac_try='test -z "$ac_cxx_werror_flag"
36174 || test ! -s conftest.err'
ac1cb8d3
VS
36175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36176 (eval $ac_try) 2>&5
36177 ac_status=$?
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); }; } &&
36180 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 (eval $ac_try) 2>&5
36183 ac_status=$?
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); }; }; then
36186 wx_cv_type_getsockname3=int
36187else
36188 echo "$as_me: failed program was:" >&5
36189sed 's/^/| /' conftest.$ac_ext >&5
36190
36191wx_cv_type_getsockname3=unknown
36192
36193fi
ac1cb8d3 36194rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36195
36196fi
ac1cb8d3 36197rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36198
36199 CFLAGS="$CFLAGS_OLD"
36200
36201
36202fi
ac1cb8d3 36203rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36204
36205fi
36206echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36207echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36208
36209 if test "$wx_cv_type_getsockname3" = "unknown"; then
36210 wxUSE_SOCKETS=no
36211 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36212echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36213 else
36214 cat >>confdefs.h <<_ACEOF
36215#define SOCKLEN_T $wx_cv_type_getsockname3
36216_ACEOF
36217
36218 fi
4d4ff94c
VZ
36219 ac_ext=c
36220ac_cpp='$CPP $CPPFLAGS'
36221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223ac_compiler_gnu=$ac_cv_c_compiler_gnu
36224
a848cd7e
SC
36225 fi
36226fi
36227
36228if test "$wxUSE_SOCKETS" = "yes" ; then
36229 cat >>confdefs.h <<\_ACEOF
36230#define wxUSE_SOCKETS 1
36231_ACEOF
36232
36233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36234fi
36235
36236if test "$wxUSE_PROTOCOL" = "yes"; then
36237 if test "$wxUSE_SOCKETS" != "yes"; then
36238 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36239echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36240 wxUSE_PROTOCOL=no
36241 fi
36242fi
36243
36244if test "$wxUSE_PROTOCOL" = "yes"; then
36245 cat >>confdefs.h <<\_ACEOF
36246#define wxUSE_PROTOCOL 1
36247_ACEOF
36248
36249
36250 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36251 cat >>confdefs.h <<\_ACEOF
36252#define wxUSE_PROTOCOL_HTTP 1
36253_ACEOF
36254
36255 fi
36256 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36257 cat >>confdefs.h <<\_ACEOF
36258#define wxUSE_PROTOCOL_FTP 1
36259_ACEOF
36260
36261 fi
36262 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36263 cat >>confdefs.h <<\_ACEOF
36264#define wxUSE_PROTOCOL_FILE 1
36265_ACEOF
36266
36267 fi
36268else
36269 if test "$wxUSE_FS_INET" = "yes"; then
36270 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36271echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36272 wxUSE_FS_INET="no"
36273 fi
36274fi
36275
36276if test "$wxUSE_URL" = "yes"; then
36277 if test "$wxUSE_PROTOCOL" != "yes"; then
36278 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36279echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36280 wxUSE_URL=no
36281 fi
36282 if test "$wxUSE_URL" = "yes"; then
36283 cat >>confdefs.h <<\_ACEOF
36284#define wxUSE_URL 1
36285_ACEOF
36286
36287 fi
36288fi
36289
36290if test "$wxUSE_FS_INET" = "yes"; then
36291 cat >>confdefs.h <<\_ACEOF
36292#define wxUSE_FS_INET 1
36293_ACEOF
36294
36295fi
36296
36297
36298if test "$wxUSE_GUI" = "yes"; then
36299
36300 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36301 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36302echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36303 wxUSE_JOYSTICK=no
36304 fi
36305
36306 if test "$TOOLKIT" != "MSW"; then
36307 if test "$wxUSE_JOYSTICK" = "yes"; then
36308
36309for ac_header in linux/joystick.h
36310do
36311as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36312if eval "test \"\${$as_ac_Header+set}\" = set"; then
36313 echo "$as_me:$LINENO: checking for $ac_header" >&5
36314echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36315if eval "test \"\${$as_ac_Header+set}\" = set"; then
36316 echo $ECHO_N "(cached) $ECHO_C" >&6
36317fi
36318echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36319echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36320else
36321 # Is the header compilable?
36322echo "$as_me:$LINENO: checking $ac_header usability" >&5
36323echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36324cat >conftest.$ac_ext <<_ACEOF
36325/* confdefs.h. */
36326_ACEOF
36327cat confdefs.h >>conftest.$ac_ext
36328cat >>conftest.$ac_ext <<_ACEOF
36329/* end confdefs.h. */
36330$ac_includes_default
36331#include <$ac_header>
36332_ACEOF
36333rm -f conftest.$ac_objext
36334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36335 (eval $ac_compile) 2>conftest.er1
a848cd7e 36336 ac_status=$?
ac1cb8d3
VS
36337 grep -v '^ *+' conftest.er1 >conftest.err
36338 rm -f conftest.er1
36339 cat conftest.err >&5
a848cd7e
SC
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); } &&
fc480dc1
DE
36342 { ac_try='test -z "$ac_c_werror_flag"
36343 || test ! -s conftest.err'
ac1cb8d3
VS
36344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345 (eval $ac_try) 2>&5
36346 ac_status=$?
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); }; } &&
36349 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36351 (eval $ac_try) 2>&5
36352 ac_status=$?
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; }; then
36355 ac_header_compiler=yes
36356else
36357 echo "$as_me: failed program was:" >&5
36358sed 's/^/| /' conftest.$ac_ext >&5
36359
36360ac_header_compiler=no
36361fi
ac1cb8d3 36362rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36363echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36364echo "${ECHO_T}$ac_header_compiler" >&6
36365
36366# Is the header present?
36367echo "$as_me:$LINENO: checking $ac_header presence" >&5
36368echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36369cat >conftest.$ac_ext <<_ACEOF
36370/* confdefs.h. */
36371_ACEOF
36372cat confdefs.h >>conftest.$ac_ext
36373cat >>conftest.$ac_ext <<_ACEOF
36374/* end confdefs.h. */
36375#include <$ac_header>
36376_ACEOF
36377if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36379 ac_status=$?
36380 grep -v '^ *+' conftest.er1 >conftest.err
36381 rm -f conftest.er1
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } >/dev/null; then
36385 if test -s conftest.err; then
36386 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 36387 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
36388 else
36389 ac_cpp_err=
36390 fi
36391else
36392 ac_cpp_err=yes
36393fi
36394if test -z "$ac_cpp_err"; then
36395 ac_header_preproc=yes
36396else
36397 echo "$as_me: failed program was:" >&5
36398sed 's/^/| /' conftest.$ac_ext >&5
36399
36400 ac_header_preproc=no
36401fi
36402rm -f conftest.err conftest.$ac_ext
36403echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36404echo "${ECHO_T}$ac_header_preproc" >&6
36405
36406# So? What about this header?
ac1cb8d3
VS
36407case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36408 yes:no: )
a848cd7e
SC
36409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36410echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
36411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36412echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36413 ac_header_preproc=yes
a848cd7e 36414 ;;
ac1cb8d3 36415 no:yes:* )
a848cd7e
SC
36416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36417echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
36418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36419echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36421echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36423echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
36424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36425echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
36426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36427echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
36428 (
36429 cat <<\_ASBOX
ac1cb8d3
VS
36430## ----------------------------------------- ##
36431## Report this to wx-dev@lists.wxwidgets.org ##
36432## ----------------------------------------- ##
a848cd7e
SC
36433_ASBOX
36434 ) |
36435 sed "s/^/$as_me: WARNING: /" >&2
36436 ;;
36437esac
36438echo "$as_me:$LINENO: checking for $ac_header" >&5
36439echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36440if eval "test \"\${$as_ac_Header+set}\" = set"; then
36441 echo $ECHO_N "(cached) $ECHO_C" >&6
36442else
ac1cb8d3 36443 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
36444fi
36445echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36446echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36447
36448fi
36449if test `eval echo '${'$as_ac_Header'}'` = yes; then
36450 cat >>confdefs.h <<_ACEOF
36451#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36452_ACEOF
36453
36454fi
36455
36456done
36457
36458 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36459 wxUSE_JOYSTICK=no
36460 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36461echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36462 fi
36463 fi
36464 fi
36465
36466 if test "$wxUSE_JOYSTICK" = "yes"; then
36467 cat >>confdefs.h <<\_ACEOF
36468#define wxUSE_JOYSTICK 1
36469_ACEOF
36470
36471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36472 fi
36473fi
36474
36475
36476
36477if test "$wxUSE_FONTMAP" = "yes" ; then
36478 cat >>confdefs.h <<\_ACEOF
36479#define wxUSE_FONTMAP 1
36480_ACEOF
36481
36482fi
36483
36484if test "$wxUSE_UNICODE" = "yes" ; then
36485 cat >>confdefs.h <<\_ACEOF
36486#define wxUSE_UNICODE 1
36487_ACEOF
36488
36489
36490 if test "$USE_WIN32" != 1; then
36491 wxUSE_UNICODE_MSLU=no
36492 fi
36493
36494 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36495 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36496echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36497if test "${ac_cv_lib_unicows_main+set}" = set; then
36498 echo $ECHO_N "(cached) $ECHO_C" >&6
36499else
36500 ac_check_lib_save_LIBS=$LIBS
36501LIBS="-lunicows $LIBS"
36502cat >conftest.$ac_ext <<_ACEOF
36503/* confdefs.h. */
36504_ACEOF
36505cat confdefs.h >>conftest.$ac_ext
36506cat >>conftest.$ac_ext <<_ACEOF
36507/* end confdefs.h. */
36508
36509
36510int
36511main ()
36512{
36513main ();
36514 ;
36515 return 0;
36516}
36517_ACEOF
36518rm -f conftest.$ac_objext conftest$ac_exeext
36519if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 36520 (eval $ac_link) 2>conftest.er1
a848cd7e 36521 ac_status=$?
ac1cb8d3
VS
36522 grep -v '^ *+' conftest.er1 >conftest.err
36523 rm -f conftest.er1
36524 cat conftest.err >&5
a848cd7e
SC
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); } &&
fc480dc1
DE
36527 { ac_try='test -z "$ac_c_werror_flag"
36528 || test ! -s conftest.err'
ac1cb8d3
VS
36529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36530 (eval $ac_try) 2>&5
36531 ac_status=$?
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); }; } &&
36534 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
36535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36536 (eval $ac_try) 2>&5
36537 ac_status=$?
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); }; }; then
36540 ac_cv_lib_unicows_main=yes
36541else
36542 echo "$as_me: failed program was:" >&5
36543sed 's/^/| /' conftest.$ac_ext >&5
36544
36545ac_cv_lib_unicows_main=no
36546fi
ac1cb8d3
VS
36547rm -f conftest.err conftest.$ac_objext \
36548 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
36549LIBS=$ac_check_lib_save_LIBS
36550fi
36551echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36552echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36553if test $ac_cv_lib_unicows_main = yes; then
36554
36555 cat >>confdefs.h <<\_ACEOF
36556#define wxUSE_UNICODE_MSLU 1
36557_ACEOF
36558
36559
36560else
36561
36562 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36563 Applications will only run on Windows NT/2000/XP!" >&5
36564echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36565 Applications will only run on Windows NT/2000/XP!" >&2;}
36566 wxUSE_UNICODE_MSLU=no
36567
36568fi
36569
36570 fi
36571fi
36572
36573if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36574 cat >>confdefs.h <<\_ACEOF
36575#define wxUSE_EXPERIMENTAL_PRINTF 1
36576_ACEOF
36577
36578fi
36579
36580
36581if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36582 cat >>confdefs.h <<\_ACEOF
36583#define wxUSE_POSTSCRIPT 1
36584_ACEOF
36585
36586fi
36587
36588cat >>confdefs.h <<\_ACEOF
36589#define wxUSE_AFM_FOR_POSTSCRIPT 1
36590_ACEOF
36591
36592
36593cat >>confdefs.h <<\_ACEOF
36594#define wxUSE_NORMALIZED_PS_FONTS 1
36595_ACEOF
36596
36597
36598
36599if test "$wxUSE_CONSTRAINTS" = "yes"; then
36600 cat >>confdefs.h <<\_ACEOF
36601#define wxUSE_CONSTRAINTS 1
36602_ACEOF
36603
36604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36605fi
36606
8a7b1113
VZ
36607if test "$wxUSE_MDI" = "yes"; then
36608 cat >>confdefs.h <<\_ACEOF
36609#define wxUSE_MDI 1
36610_ACEOF
36611
36612
36613 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36614 cat >>confdefs.h <<\_ACEOF
a848cd7e
SC
36615#define wxUSE_MDI_ARCHITECTURE 1
36616_ACEOF
36617
8a7b1113
VZ
36618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36619 fi
a848cd7e
SC
36620fi
36621
36622if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36623 cat >>confdefs.h <<\_ACEOF
36624#define wxUSE_DOC_VIEW_ARCHITECTURE 1
36625_ACEOF
36626
36627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36628 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36630 fi
36631fi
36632
36633if test "$wxUSE_HELP" = "yes"; then
36634 cat >>confdefs.h <<\_ACEOF
36635#define wxUSE_HELP 1
36636_ACEOF
36637
36638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36639
36640 if test "$wxUSE_MSW" = 1; then
36641 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36642 cat >>confdefs.h <<\_ACEOF
36643#define wxUSE_MS_HTML_HELP 1
36644_ACEOF
36645
36646 fi
36647 fi
36648
36649 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36650 if test "$wxUSE_HTML" = "yes"; then
36651 cat >>confdefs.h <<\_ACEOF
36652#define wxUSE_WXHTML_HELP 1
36653_ACEOF
36654
36655 else
36656 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36657echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36658 wxUSE_WXHTML_HELP=no
36659 fi
36660 fi
36661fi
36662
36663if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36664 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36665 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36666echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36667 else
36668 cat >>confdefs.h <<\_ACEOF
36669#define wxUSE_PRINTING_ARCHITECTURE 1
36670_ACEOF
36671
36672 fi
36673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36674fi
36675
36676if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36677 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36678echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36679 { (exit 1); exit 1; }; }
36680fi
36681
36682
36683if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36684 -o "$wxUSE_CLIPBOARD" = "yes" \
36685 -o "$wxUSE_OLE" = "yes" \
36686 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36687
36688for ac_header in ole2.h
36689do
36690as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36691if eval "test \"\${$as_ac_Header+set}\" = set"; then
36692 echo "$as_me:$LINENO: checking for $ac_header" >&5
36693echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36694if eval "test \"\${$as_ac_Header+set}\" = set"; then
36695 echo $ECHO_N "(cached) $ECHO_C" >&6
36696fi
36697echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36698echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36699else
36700 # Is the header compilable?
36701echo "$as_me:$LINENO: checking $ac_header usability" >&5
36702echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36703cat >conftest.$ac_ext <<_ACEOF
36704/* confdefs.h. */
36705_ACEOF
36706cat confdefs.h >>conftest.$ac_ext
36707cat >>conftest.$ac_ext <<_ACEOF
36708/* end confdefs.h. */
36709$ac_includes_default
36710#include <$ac_header>
36711_ACEOF
36712rm -f conftest.$ac_objext
36713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36714 (eval $ac_compile) 2>conftest.er1
a848cd7e 36715 ac_status=$?
ac1cb8d3
VS
36716 grep -v '^ *+' conftest.er1 >conftest.err
36717 rm -f conftest.er1
36718 cat conftest.err >&5
a848cd7e
SC
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); } &&
fc480dc1
DE
36721 { ac_try='test -z "$ac_c_werror_flag"
36722 || test ! -s conftest.err'
ac1cb8d3
VS
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36725 ac_status=$?
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; } &&
36728 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730 (eval $ac_try) 2>&5
36731 ac_status=$?
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); }; }; then
36734 ac_header_compiler=yes
36735else
36736 echo "$as_me: failed program was:" >&5
36737sed 's/^/| /' conftest.$ac_ext >&5
36738
36739ac_header_compiler=no
36740fi
ac1cb8d3 36741rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36742echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36743echo "${ECHO_T}$ac_header_compiler" >&6
36744
36745# Is the header present?
36746echo "$as_me:$LINENO: checking $ac_header presence" >&5
36747echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36748cat >conftest.$ac_ext <<_ACEOF
36749/* confdefs.h. */
36750_ACEOF
36751cat confdefs.h >>conftest.$ac_ext
36752cat >>conftest.$ac_ext <<_ACEOF
36753/* end confdefs.h. */
36754#include <$ac_header>
36755_ACEOF
36756if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36758 ac_status=$?
36759 grep -v '^ *+' conftest.er1 >conftest.err
36760 rm -f conftest.er1
36761 cat conftest.err >&5
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); } >/dev/null; then
36764 if test -s conftest.err; then
36765 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 36766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
36767 else
36768 ac_cpp_err=
36769 fi
36770else
36771 ac_cpp_err=yes
36772fi
36773if test -z "$ac_cpp_err"; then
36774 ac_header_preproc=yes
36775else
36776 echo "$as_me: failed program was:" >&5
36777sed 's/^/| /' conftest.$ac_ext >&5
36778
36779 ac_header_preproc=no
36780fi
36781rm -f conftest.err conftest.$ac_ext
36782echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36783echo "${ECHO_T}$ac_header_preproc" >&6
36784
36785# So? What about this header?
ac1cb8d3
VS
36786case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36787 yes:no: )
a848cd7e
SC
36788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36789echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
36790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36791echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36792 ac_header_preproc=yes
a848cd7e 36793 ;;
ac1cb8d3 36794 no:yes:* )
a848cd7e
SC
36795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36796echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
36797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36798echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36800echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36802echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
36803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36804echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
36805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36806echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
36807 (
36808 cat <<\_ASBOX
ac1cb8d3
VS
36809## ----------------------------------------- ##
36810## Report this to wx-dev@lists.wxwidgets.org ##
36811## ----------------------------------------- ##
a848cd7e
SC
36812_ASBOX
36813 ) |
36814 sed "s/^/$as_me: WARNING: /" >&2
36815 ;;
36816esac
36817echo "$as_me:$LINENO: checking for $ac_header" >&5
36818echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36819if eval "test \"\${$as_ac_Header+set}\" = set"; then
36820 echo $ECHO_N "(cached) $ECHO_C" >&6
36821else
ac1cb8d3 36822 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
36823fi
36824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36825echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36826
36827fi
36828if test `eval echo '${'$as_ac_Header'}'` = yes; then
36829 cat >>confdefs.h <<_ACEOF
36830#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36831_ACEOF
36832
36833fi
36834
36835done
36836
36837
36838 if test "$ac_cv_header_ole2_h" = "yes" ; then
36839 if test "$GCC" = yes ; then
36840
36841
36842 ac_ext=cc
36843ac_cpp='$CXXCPP $CPPFLAGS'
36844ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36847
36848
36849 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36850echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36851 cat >conftest.$ac_ext <<_ACEOF
36852/* confdefs.h. */
36853_ACEOF
36854cat confdefs.h >>conftest.$ac_ext
36855cat >>conftest.$ac_ext <<_ACEOF
36856/* end confdefs.h. */
36857#include <windows.h>
36858 #include <ole2.h>
36859int
36860main ()
36861{
36862
36863 ;
36864 return 0;
36865}
36866_ACEOF
36867rm -f conftest.$ac_objext
36868if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36869 (eval $ac_compile) 2>conftest.er1
a848cd7e 36870 ac_status=$?
ac1cb8d3
VS
36871 grep -v '^ *+' conftest.er1 >conftest.err
36872 rm -f conftest.er1
36873 cat conftest.err >&5
a848cd7e
SC
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } &&
fc480dc1
DE
36876 { ac_try='test -z "$ac_cxx_werror_flag"
36877 || test ! -s conftest.err'
ac1cb8d3
VS
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36880 ac_status=$?
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; } &&
36883 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885 (eval $ac_try) 2>&5
36886 ac_status=$?
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); }; }; then
36889 echo "$as_me:$LINENO: result: no" >&5
36890echo "${ECHO_T}no" >&6
36891else
36892 echo "$as_me: failed program was:" >&5
36893sed 's/^/| /' conftest.$ac_ext >&5
36894
36895echo "$as_me:$LINENO: result: yes" >&5
36896echo "${ECHO_T}yes" >&6
36897 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36898fi
ac1cb8d3 36899rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36900 ac_ext=c
36901ac_cpp='$CPP $CPPFLAGS'
36902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904ac_compiler_gnu=$ac_cv_c_compiler_gnu
36905
a848cd7e
SC
36906 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36907 if test "$wxUSE_OLE" = "yes" ; then
36908 cat >>confdefs.h <<\_ACEOF
36909#define wxUSE_OLE 1
36910_ACEOF
36911
36912 fi
36913 fi
36914
36915 if test "$wxUSE_DATAOBJ" = "yes" ; then
36916 cat >>confdefs.h <<\_ACEOF
36917#define wxUSE_DATAOBJ 1
36918_ACEOF
36919
36920 fi
36921 else
36922 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36923echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36924
36925 wxUSE_CLIPBOARD=no
36926 wxUSE_DRAG_AND_DROP=no
36927 wxUSE_DATAOBJ=no
36928 wxUSE_OLE=no
36929 fi
36930
36931 if test "$wxUSE_METAFILE" = "yes"; then
36932 cat >>confdefs.h <<\_ACEOF
36933#define wxUSE_METAFILE 1
36934_ACEOF
36935
36936
36937 cat >>confdefs.h <<\_ACEOF
36938#define wxUSE_ENH_METAFILE 1
36939_ACEOF
36940
36941 fi
36942fi
36943
36944if test "$wxUSE_IPC" = "yes"; then
36945 if test "$wxUSE_SOCKETS" != "yes"; then
77ffb593
JS
36946 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36947echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
a848cd7e
SC
36948 fi
36949
36950 cat >>confdefs.h <<\_ACEOF
36951#define wxUSE_IPC 1
36952_ACEOF
36953
36954fi
36955
36956if test "$wxUSE_CLIPBOARD" = "yes"; then
36957 if test "$wxUSE_MGL" = 1; then
36958 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36959echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36960 wxUSE_CLIPBOARD=no
36961 fi
36962
36963 if test "$wxUSE_CLIPBOARD" = "yes"; then
36964 cat >>confdefs.h <<\_ACEOF
36965#define wxUSE_CLIPBOARD 1
36966_ACEOF
36967
36968
36969 cat >>confdefs.h <<\_ACEOF
36970#define wxUSE_DATAOBJ 1
36971_ACEOF
36972
36973 fi
36974fi
36975
36976if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36977 if test "$wxUSE_GTK" = 1; then
36978 if test "$WXGTK12" != 1; then
36979 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36980echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36981 wxUSE_DRAG_AND_DROP=no
36982 fi
36983 fi
36984
36985 if test "$wxUSE_MOTIF" = 1; then
36986 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36987echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36988 wxUSE_DRAG_AND_DROP=no
36989 fi
36990
36991 if test "$wxUSE_X11" = 1; then
36992 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36993echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36994 wxUSE_DRAG_AND_DROP=no
36995 fi
36996
36997 if test "$wxUSE_MGL" = 1; then
36998 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36999echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37000 wxUSE_DRAG_AND_DROP=no
37001 fi
37002
37003 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37004 cat >>confdefs.h <<\_ACEOF
37005#define wxUSE_DRAG_AND_DROP 1
37006_ACEOF
37007
37008 fi
37009
37010fi
37011
37012if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37014fi
37015
37016if test "$wxUSE_SPLINES" = "yes" ; then
37017 cat >>confdefs.h <<\_ACEOF
37018#define wxUSE_SPLINES 1
37019_ACEOF
37020
37021fi
37022
37023
37024USES_CONTROLS=0
37025if test "$wxUSE_CONTROLS" = "yes"; then
37026 USES_CONTROLS=1
37027fi
37028
37029if test "$wxUSE_ACCEL" = "yes"; then
37030 cat >>confdefs.h <<\_ACEOF
37031#define wxUSE_ACCEL 1
37032_ACEOF
37033
37034 USES_CONTROLS=1
37035fi
37036
37037if test "$wxUSE_BUTTON" = "yes"; then
37038 cat >>confdefs.h <<\_ACEOF
37039#define wxUSE_BUTTON 1
37040_ACEOF
37041
37042 USES_CONTROLS=1
37043fi
37044
37045if test "$wxUSE_BMPBUTTON" = "yes"; then
37046 cat >>confdefs.h <<\_ACEOF
37047#define wxUSE_BMPBUTTON 1
37048_ACEOF
37049
37050 USES_CONTROLS=1
37051fi
37052
37053if test "$wxUSE_CALCTRL" = "yes"; then
37054 cat >>confdefs.h <<\_ACEOF
37055#define wxUSE_CALENDARCTRL 1
37056_ACEOF
37057
37058 USES_CONTROLS=1
37059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37060fi
37061
37062if test "$wxUSE_CARET" = "yes"; then
37063 cat >>confdefs.h <<\_ACEOF
37064#define wxUSE_CARET 1
37065_ACEOF
37066
37067 USES_CONTROLS=1
37068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37069fi
37070
37071if test "$wxUSE_COMBOBOX" = "yes"; then
37072 cat >>confdefs.h <<\_ACEOF
37073#define wxUSE_COMBOBOX 1
37074_ACEOF
37075
37076 USES_CONTROLS=1
37077fi
37078
37079if test "$wxUSE_CHOICE" = "yes"; then
37080 cat >>confdefs.h <<\_ACEOF
37081#define wxUSE_CHOICE 1
37082_ACEOF
37083
37084 USES_CONTROLS=1
37085fi
37086
92bbdbcd
WS
37087if test "$wxUSE_CHOICEBOOK" = "yes"; then
37088 cat >>confdefs.h <<\_ACEOF
37089#define wxUSE_CHOICEBOOK 1
37090_ACEOF
37091
37092 USES_CONTROLS=1
37093fi
37094
a848cd7e
SC
37095if test "$wxUSE_CHECKBOX" = "yes"; then
37096 cat >>confdefs.h <<\_ACEOF
37097#define wxUSE_CHECKBOX 1
37098_ACEOF
37099
37100 USES_CONTROLS=1
37101fi
37102
37103if test "$wxUSE_CHECKLST" = "yes"; then
37104 cat >>confdefs.h <<\_ACEOF
37105#define wxUSE_CHECKLISTBOX 1
37106_ACEOF
37107
37108 USES_CONTROLS=1
37109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37110fi
37111
37112if test "$wxUSE_DISPLAY" = "yes"; then
37113 cat >>confdefs.h <<\_ACEOF
37114#define wxUSE_DISPLAY 1
37115_ACEOF
37116
37117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37118fi
37119
37120if test "$wxUSE_GAUGE" = "yes"; then
37121 cat >>confdefs.h <<\_ACEOF
37122#define wxUSE_GAUGE 1
37123_ACEOF
37124
37125 USES_CONTROLS=1
37126fi
37127
37128if test "$wxUSE_GRID" = "yes"; then
37129 cat >>confdefs.h <<\_ACEOF
37130#define wxUSE_GRID 1
37131_ACEOF
37132
37133 USES_CONTROLS=1
37134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37135fi
37136
37137if test "$wxUSE_IMAGLIST" = "yes"; then
37138 cat >>confdefs.h <<\_ACEOF
37139#define wxUSE_IMAGLIST 1
37140_ACEOF
37141
37142fi
37143
37144if test "$wxUSE_LISTBOOK" = "yes"; then
37145 cat >>confdefs.h <<\_ACEOF
37146#define wxUSE_LISTBOOK 1
37147_ACEOF
37148
37149 USES_CONTROLS=1
37150fi
37151
37152if test "$wxUSE_LISTBOX" = "yes"; then
37153 cat >>confdefs.h <<\_ACEOF
37154#define wxUSE_LISTBOX 1
37155_ACEOF
37156
37157 USES_CONTROLS=1
37158fi
37159
37160if test "$wxUSE_LISTCTRL" = "yes"; then
37161 if test "$wxUSE_IMAGLIST" = "yes"; then
37162 cat >>confdefs.h <<\_ACEOF
37163#define wxUSE_LISTCTRL 1
37164_ACEOF
37165
37166 USES_CONTROLS=1
37167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37168 else
37169 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37170echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37171 fi
37172fi
37173
37174if test "$wxUSE_NOTEBOOK" = "yes"; then
37175 cat >>confdefs.h <<\_ACEOF
37176#define wxUSE_NOTEBOOK 1
37177_ACEOF
37178
37179 USES_CONTROLS=1
37180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
37181fi
37182
37183
37184if test "$wxUSE_RADIOBOX" = "yes"; then
37185 cat >>confdefs.h <<\_ACEOF
37186#define wxUSE_RADIOBOX 1
37187_ACEOF
37188
37189 USES_CONTROLS=1
37190fi
37191
37192if test "$wxUSE_RADIOBTN" = "yes"; then
37193 cat >>confdefs.h <<\_ACEOF
37194#define wxUSE_RADIOBTN 1
37195_ACEOF
37196
37197 USES_CONTROLS=1
37198fi
37199
37200if test "$wxUSE_SASH" = "yes"; then
37201 cat >>confdefs.h <<\_ACEOF
37202#define wxUSE_SASH 1
37203_ACEOF
37204
37205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
37206fi
37207
37208if test "$wxUSE_SCROLLBAR" = "yes"; then
37209 cat >>confdefs.h <<\_ACEOF
37210#define wxUSE_SCROLLBAR 1
37211_ACEOF
37212
37213 USES_CONTROLS=1
37214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
37215fi
37216
37217if test "$wxUSE_SLIDER" = "yes"; then
37218 cat >>confdefs.h <<\_ACEOF
37219#define wxUSE_SLIDER 1
37220_ACEOF
37221
37222 USES_CONTROLS=1
37223fi
37224
37225if test "$wxUSE_SPINBTN" = "yes"; then
37226 cat >>confdefs.h <<\_ACEOF
37227#define wxUSE_SPINBTN 1
37228_ACEOF
37229
37230 USES_CONTROLS=1
37231fi
37232
37233if test "$wxUSE_SPINCTRL" = "yes"; then
37234 cat >>confdefs.h <<\_ACEOF
37235#define wxUSE_SPINCTRL 1
37236_ACEOF
37237
37238 USES_CONTROLS=1
37239fi
37240
37241if test "$wxUSE_SPLITTER" = "yes"; then
37242 cat >>confdefs.h <<\_ACEOF
37243#define wxUSE_SPLITTER 1
37244_ACEOF
37245
37246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
37247fi
37248
37249if test "$wxUSE_STATBMP" = "yes"; then
37250 cat >>confdefs.h <<\_ACEOF
37251#define wxUSE_STATBMP 1
37252_ACEOF
37253
37254 USES_CONTROLS=1
37255fi
37256
37257if test "$wxUSE_STATBOX" = "yes"; then
37258 cat >>confdefs.h <<\_ACEOF
37259#define wxUSE_STATBOX 1
37260_ACEOF
37261
37262 USES_CONTROLS=1
37263fi
37264
37265if test "$wxUSE_STATTEXT" = "yes"; then
37266 cat >>confdefs.h <<\_ACEOF
37267#define wxUSE_STATTEXT 1
37268_ACEOF
37269
37270 USES_CONTROLS=1
37271fi
37272
37273if test "$wxUSE_STATLINE" = "yes"; then
37274 cat >>confdefs.h <<\_ACEOF
37275#define wxUSE_STATLINE 1
37276_ACEOF
37277
37278 USES_CONTROLS=1
37279fi
37280
37281if test "$wxUSE_STATUSBAR" = "yes"; then
37282 cat >>confdefs.h <<\_ACEOF
37283#define wxUSE_STATUSBAR 1
37284_ACEOF
37285
37286 USES_CONTROLS=1
37287
37288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
37289fi
37290
37291if test "$wxUSE_TABDIALOG" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293#define wxUSE_TAB_DIALOG 1
37294_ACEOF
37295
37296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
37297fi
37298
37299if test "$wxUSE_TEXTCTRL" = "yes"; then
37300 cat >>confdefs.h <<\_ACEOF
37301#define wxUSE_TEXTCTRL 1
37302_ACEOF
37303
37304 USES_CONTROLS=1
37305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37306fi
37307
37308if test "$wxUSE_TOGGLEBTN" = "yes"; then
37309 if test "$wxUSE_COCOA" = 1 ; then
37310 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37311echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37312 wxUSE_TOGGLEBTN=no
bdcade0a
MB
37313 else
37314 if test "$wxUSE_PM" = 1; then
37315 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37316echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37317 wxUSE_TOGGLEBTN=no
37318 fi
a848cd7e
SC
37319 fi
37320 if test "$wxUSE_UNIVERSAL" = "yes"; then
37321 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37322echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37323 wxUSE_TOGGLEBTN=no
37324 fi
37325
37326 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37327 cat >>confdefs.h <<\_ACEOF
37328#define wxUSE_TOGGLEBTN 1
37329_ACEOF
37330
37331 USES_CONTROLS=1
37332 fi
37333fi
37334
37335if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37336 cat >>confdefs.h <<\_ACEOF
37337#define wxUSE_TOOLBAR_SIMPLE 1
37338_ACEOF
37339
37340 wxUSE_TOOLBAR="yes"
37341 USES_CONTROLS=1
37342fi
37343
37344if test "$wxUSE_TOOLBAR" = "yes"; then
37345 cat >>confdefs.h <<\_ACEOF
37346#define wxUSE_TOOLBAR 1
37347_ACEOF
37348
37349 USES_CONTROLS=1
37350
37351 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37352 wxUSE_TOOLBAR_NATIVE="yes"
37353 fi
37354
37355 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37356 cat >>confdefs.h <<\_ACEOF
37357#define wxUSE_TOOLBAR_NATIVE 1
37358_ACEOF
37359
37360 USES_CONTROLS=1
37361 fi
37362
37363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37364fi
37365
37366if test "$wxUSE_TOOLTIPS" = "yes"; then
37367 if test "$wxUSE_MOTIF" = 1; then
37368 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37369echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37370 else
37371 if test "$wxUSE_UNIVERSAL" = "yes"; then
37372 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37373echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37374 else
37375 cat >>confdefs.h <<\_ACEOF
37376#define wxUSE_TOOLTIPS 1
37377_ACEOF
37378
37379 fi
37380 fi
37381fi
37382
37383if test "$wxUSE_TREECTRL" = "yes"; then
37384 if test "$wxUSE_IMAGLIST" = "yes"; then
37385 cat >>confdefs.h <<\_ACEOF
37386#define wxUSE_TREECTRL 1
37387_ACEOF
37388
37389 USES_CONTROLS=1
37390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37391 else
37392 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37393echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37394 fi
37395fi
37396
37397if test "$wxUSE_POPUPWIN" = "yes"; then
37398 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37399 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37400echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37401 else
37402 if test "$wxUSE_PM" = 1; then
37403 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37404echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37405 else
37406 cat >>confdefs.h <<\_ACEOF
37407#define wxUSE_POPUPWIN 1
37408_ACEOF
37409
37410
37411 USES_CONTROLS=1
37412 fi
37413 fi
37414fi
37415
37416if test "$wxUSE_TIPWINDOW" = "yes"; then
37417 if test "$wxUSE_PM" = 1; then
37418 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37419echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37420 else
37421 cat >>confdefs.h <<\_ACEOF
37422#define wxUSE_TIPWINDOW 1
37423_ACEOF
37424
37425 fi
37426fi
37427
37428if test "$USES_CONTROLS" = 1; then
37429 cat >>confdefs.h <<\_ACEOF
37430#define wxUSE_CONTROLS 1
37431_ACEOF
37432
37433fi
37434
37435
37436if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37437 cat >>confdefs.h <<\_ACEOF
37438#define wxUSE_ACCESSIBILITY 1
37439_ACEOF
37440
37441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37442fi
37443
37444if test "$wxUSE_DRAGIMAGE" = "yes"; then
37445 cat >>confdefs.h <<\_ACEOF
37446#define wxUSE_DRAGIMAGE 1
37447_ACEOF
37448
37449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37450fi
37451
37452if test "$wxUSE_EXCEPTIONS" = "yes"; then
07bea8f0
VS
37453 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37454 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37455echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37456 else
37457 cat >>confdefs.h <<\_ACEOF
a848cd7e
SC
37458#define wxUSE_EXCEPTIONS 1
37459_ACEOF
37460
07bea8f0
VS
37461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
37462 fi
a848cd7e
SC
37463fi
37464
37465USE_HTML=0
37466if test "$wxUSE_HTML" = "yes"; then
37467 cat >>confdefs.h <<\_ACEOF
37468#define wxUSE_HTML 1
37469_ACEOF
37470
37471 USE_HTML=1
37472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
de59c161
RD
37473 if test "$wxUSE_MAC" = 1; then
37474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
37475 fi
a848cd7e 37476fi
646b6ec1 37477if test "$wxUSE_WEBKIT" = "yes"; then
07bea8f0
VS
37478 if test "$wxUSE_MAC" = 1; then
37479 old_CPPFLAGS="$CPPFLAGS"
37480 CPPFLAGS="$CPPFLAGS -x objective-c++"
37481 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37482echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37483if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37484 echo $ECHO_N "(cached) $ECHO_C" >&6
37485else
37486 cat >conftest.$ac_ext <<_ACEOF
37487/* confdefs.h. */
37488_ACEOF
37489cat confdefs.h >>conftest.$ac_ext
37490cat >>conftest.$ac_ext <<_ACEOF
37491/* end confdefs.h. */
37492#include <Carbon/Carbon.h>
37493
37494#include <WebKit/HIWebView.h>
37495_ACEOF
37496rm -f conftest.$ac_objext
37497if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37498 (eval $ac_compile) 2>conftest.er1
37499 ac_status=$?
37500 grep -v '^ *+' conftest.er1 >conftest.err
37501 rm -f conftest.er1
37502 cat conftest.err >&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } &&
fc480dc1
DE
37505 { ac_try='test -z "$ac_c_werror_flag"
37506 || test ! -s conftest.err'
07bea8f0
VS
37507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37508 (eval $ac_try) 2>&5
37509 ac_status=$?
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; } &&
37512 { ac_try='test -s conftest.$ac_objext'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37515 ac_status=$?
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; }; then
37518 ac_cv_header_WebKit_HIWebView_h=yes
37519else
37520 echo "$as_me: failed program was:" >&5
37521sed 's/^/| /' conftest.$ac_ext >&5
37522
37523ac_cv_header_WebKit_HIWebView_h=no
37524fi
37525rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37526fi
37527echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37528echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37529if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37530
37531 cat >>confdefs.h <<\_ACEOF
646b6ec1
VS
37532#define wxUSE_WEBKIT 1
37533_ACEOF
37534
07bea8f0
VS
37535 WEBKIT_LINK="-framework WebKit"
37536
37537else
37538
37539 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37540echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37541 wxUSE_WEBKIT=no
37542
646b6ec1
VS
37543fi
37544
07bea8f0
VS
37545
37546 CPPFLAGS="$old_CPPFLAGS"
37547 elif test "$wxUSE_COCOA" = 1; then
37548 cat >>confdefs.h <<\_ACEOF
37549#define wxUSE_WEBKIT 1
37550_ACEOF
37551
37552 else
37553 wxUSE_WEBKIT=no
37554 fi
37555fi
37556
9a8f0513
VS
37557USE_XRC=0
37558if test "$wxUSE_XRC" = "yes"; then
d2ebf0b7
VS
37559 if test "$wxUSE_XML" != "yes"; then
37560 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37561echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37562 wxUSE_XRC=no
37563 else
37564 cat >>confdefs.h <<\_ACEOF
9a8f0513
VS
37565#define wxUSE_XRC 1
37566_ACEOF
37567
d2ebf0b7
VS
37568 USE_XRC=1
37569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37570 fi
9a8f0513 37571fi
07bea8f0 37572
a848cd7e
SC
37573if test "$wxUSE_MENUS" = "yes"; then
37574 cat >>confdefs.h <<\_ACEOF
37575#define wxUSE_MENUS 1
37576_ACEOF
37577
37578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37579fi
37580
37581if test "$wxUSE_METAFILE" = "yes"; then
37582 cat >>confdefs.h <<\_ACEOF
37583#define wxUSE_METAFILE 1
37584_ACEOF
37585
37586fi
37587
37588if test "$wxUSE_MIMETYPE" = "yes"; then
37589 cat >>confdefs.h <<\_ACEOF
37590#define wxUSE_MIMETYPE 1
37591_ACEOF
37592
37593fi
37594
37595if test "$wxUSE_MINIFRAME" = "yes"; then
37596 cat >>confdefs.h <<\_ACEOF
37597#define wxUSE_MINIFRAME 1
37598_ACEOF
37599
37600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37601fi
37602
37603if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37604 cat >>confdefs.h <<\_ACEOF
37605#define wxUSE_SYSTEM_OPTIONS 1
37606_ACEOF
37607
37608 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
a49baeab 37609 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
a848cd7e
SC
37610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37611 fi
37612fi
37613
37614
37615if test "$wxUSE_VALIDATORS" = "yes"; then
37616 cat >>confdefs.h <<\_ACEOF
37617#define wxUSE_VALIDATORS 1
37618_ACEOF
37619
37620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37621fi
37622
37623if test "$wxUSE_PALETTE" = "yes" ; then
37624 cat >>confdefs.h <<\_ACEOF
37625#define wxUSE_PALETTE 1
37626_ACEOF
37627
37628fi
37629
37630if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37631 LIBS=" -lunicows $LIBS"
37632fi
37633
37634
37635if test "$wxUSE_IMAGE" = "yes" ; then
37636 cat >>confdefs.h <<\_ACEOF
37637#define wxUSE_IMAGE 1
37638_ACEOF
37639
37640
37641 if test "$wxUSE_GIF" = "yes" ; then
37642 cat >>confdefs.h <<\_ACEOF
37643#define wxUSE_GIF 1
37644_ACEOF
37645
37646 fi
37647
37648 if test "$wxUSE_PCX" = "yes" ; then
37649 cat >>confdefs.h <<\_ACEOF
37650#define wxUSE_PCX 1
37651_ACEOF
37652
37653 fi
37654
37655 if test "$wxUSE_IFF" = "yes" ; then
37656 cat >>confdefs.h <<\_ACEOF
37657#define wxUSE_IFF 1
37658_ACEOF
37659
37660 fi
37661
37662 if test "$wxUSE_PNM" = "yes" ; then
37663 cat >>confdefs.h <<\_ACEOF
37664#define wxUSE_PNM 1
37665_ACEOF
37666
37667 fi
37668
37669 if test "$wxUSE_XPM" = "yes" ; then
37670 cat >>confdefs.h <<\_ACEOF
37671#define wxUSE_XPM 1
37672_ACEOF
37673
37674 fi
37675
37676 if test "$wxUSE_ICO_CUR" = "yes" ; then
37677 cat >>confdefs.h <<\_ACEOF
37678#define wxUSE_ICO_CUR 1
37679_ACEOF
37680
37681 fi
37682fi
37683
37684
37685if test "$wxUSE_CHOICEDLG" = "yes"; then
37686 cat >>confdefs.h <<\_ACEOF
37687#define wxUSE_CHOICEDLG 1
37688_ACEOF
37689
37690fi
37691
37692if test "$wxUSE_COLOURDLG" = "yes"; then
37693 cat >>confdefs.h <<\_ACEOF
37694#define wxUSE_COLOURDLG 1
37695_ACEOF
37696
37697fi
37698
37699if test "$wxUSE_FILEDLG" = "yes"; then
37700 cat >>confdefs.h <<\_ACEOF
37701#define wxUSE_FILEDLG 1
37702_ACEOF
37703
37704fi
37705
37706if test "$wxUSE_FINDREPLDLG" = "yes"; then
37707 cat >>confdefs.h <<\_ACEOF
37708#define wxUSE_FINDREPLDLG 1
37709_ACEOF
37710
37711fi
37712
37713if test "$wxUSE_FONTDLG" = "yes"; then
37714 cat >>confdefs.h <<\_ACEOF
37715#define wxUSE_FONTDLG 1
37716_ACEOF
37717
37718fi
37719
37720if test "$wxUSE_DIRDLG" = "yes"; then
37721 if test "$wxUSE_TREECTRL" != "yes"; then
37722 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37723echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37724 else
37725 cat >>confdefs.h <<\_ACEOF
37726#define wxUSE_DIRDLG 1
37727_ACEOF
37728
37729 fi
37730fi
37731
37732if test "$wxUSE_MSGDLG" = "yes"; then
37733 cat >>confdefs.h <<\_ACEOF
37734#define wxUSE_MSGDLG 1
37735_ACEOF
37736
37737fi
37738
37739if test "$wxUSE_NUMBERDLG" = "yes"; then
37740 cat >>confdefs.h <<\_ACEOF
37741#define wxUSE_NUMBERDLG 1
37742_ACEOF
37743
37744fi
37745
37746if test "$wxUSE_PROGRESSDLG" = "yes"; then
37747 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37748 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37749echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37750 else
37751 cat >>confdefs.h <<\_ACEOF
37752#define wxUSE_PROGRESSDLG 1
37753_ACEOF
37754
37755 fi
37756fi
37757
37758if test "$wxUSE_SPLASH" = "yes"; then
37759 cat >>confdefs.h <<\_ACEOF
37760#define wxUSE_SPLASH 1
37761_ACEOF
37762
2057db16 37763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
a848cd7e
SC
37764fi
37765
37766if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37767 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37768 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37769echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37770 else
37771 cat >>confdefs.h <<\_ACEOF
37772#define wxUSE_STARTUP_TIPS 1
37773_ACEOF
37774
37775 fi
37776fi
37777
37778if test "$wxUSE_TEXTDLG" = "yes"; then
37779 cat >>confdefs.h <<\_ACEOF
37780#define wxUSE_TEXTDLG 1
37781_ACEOF
37782
37783fi
37784
37785if test "$wxUSE_WIZARDDLG" = "yes"; then
37786 cat >>confdefs.h <<\_ACEOF
37787#define wxUSE_WIZARDDLG 1
37788_ACEOF
37789
37790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37791fi
37792
37793
37794if test "$cross_compiling" = "yes"; then
37795 OSINFO="\"$host\""
37796else
37797 OSINFO=`uname -s -r -m`
37798 OSINFO="\"$OSINFO\""
37799fi
37800
37801cat >>confdefs.h <<_ACEOF
37802#define WXWIN_OS_DESCRIPTION $OSINFO
37803_ACEOF
37804
37805
37806
37807if test "x$prefix" != "xNONE"; then
37808 wxPREFIX=$prefix
37809else
37810 wxPREFIX=$ac_default_prefix
37811fi
37812
37813cat >>confdefs.h <<_ACEOF
37814#define wxINSTALL_PREFIX "$wxPREFIX"
37815_ACEOF
37816
37817
a848cd7e
SC
37818
37819
37820CORE_BASE_LIBS="net base"
37821CORE_GUI_LIBS="adv core"
37822
37823if test "$wxUSE_XML" = "yes" ; then
37824 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37825fi
37826if test "$wxUSE_ODBC" != "no" ; then
37827 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37828 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37829fi
37830if test "$wxUSE_HTML" = "yes" ; then
37831 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37832fi
9a8f0513
VS
37833if test "$wxUSE_XRC" = "yes" ; then
37834 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37835fi
a848cd7e
SC
37836
37837if test "$wxUSE_GUI" != "yes"; then
37838 CORE_GUI_LIBS=""
37839fi
37840
37841
37842
37843
37844
37845
37846
37847
37848if test "$wxUSE_MAC" = 1 ; then
a98bf0c0 37849 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
07bea8f0
VS
37850 LDFLAGS="$LDFLAGS -framework QuickTime"
37851 fi
5dcf30a0
RN
37852 if test "$USE_DARWIN" = 1; then
37853 LDFLAGS="$LDFLAGS -framework IOKit"
37854 fi
07bea8f0 37855 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
a848cd7e
SC
37856fi
37857if test "$wxUSE_COCOA" = 1 ; then
f7e98dee 37858 LDFLAGS="$LDFLAGS -framework Cocoa"
a848cd7e
SC
37859fi
37860
37861
37862LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37863
37864have_cos=0
37865have_floor=0
37866
37867for ac_func in cos
37868do
37869as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37870echo "$as_me:$LINENO: checking for $ac_func" >&5
37871echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37872if eval "test \"\${$as_ac_var+set}\" = set"; then
37873 echo $ECHO_N "(cached) $ECHO_C" >&6
37874else
37875 cat >conftest.$ac_ext <<_ACEOF
37876/* confdefs.h. */
37877_ACEOF
37878cat confdefs.h >>conftest.$ac_ext
37879cat >>conftest.$ac_ext <<_ACEOF
37880/* end confdefs.h. */
ac1cb8d3
VS
37881/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37883#define $ac_func innocuous_$ac_func
37884
a848cd7e
SC
37885/* System header to define __stub macros and hopefully few prototypes,
37886 which can conflict with char $ac_func (); below.
37887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37888 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 37889
a848cd7e
SC
37890#ifdef __STDC__
37891# include <limits.h>
37892#else
37893# include <assert.h>
37894#endif
ac1cb8d3
VS
37895
37896#undef $ac_func
37897
a848cd7e
SC
37898/* Override any gcc2 internal prototype to avoid an error. */
37899#ifdef __cplusplus
37900extern "C"
37901{
37902#endif
37903/* We use char because int might match the return type of a gcc2
37904 builtin and then its argument prototype would still apply. */
37905char $ac_func ();
37906/* The GNU C library defines this for functions which it implements
37907 to always fail with ENOSYS. Some functions are actually named
37908 something starting with __ and the normal name is an alias. */
37909#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37910choke me
37911#else
37912char (*f) () = $ac_func;
37913#endif
37914#ifdef __cplusplus
37915}
37916#endif
37917
37918int
37919main ()
37920{
37921return f != $ac_func;
37922 ;
37923 return 0;
37924}
37925_ACEOF
37926rm -f conftest.$ac_objext conftest$ac_exeext
37927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 37928 (eval $ac_link) 2>conftest.er1
a848cd7e 37929 ac_status=$?
ac1cb8d3
VS
37930 grep -v '^ *+' conftest.er1 >conftest.err
37931 rm -f conftest.er1
37932 cat conftest.err >&5
a848cd7e
SC
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); } &&
fc480dc1
DE
37935 { ac_try='test -z "$ac_c_werror_flag"
37936 || test ! -s conftest.err'
ac1cb8d3
VS
37937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37938 (eval $ac_try) 2>&5
37939 ac_status=$?
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); }; } &&
37942 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
37943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37944 (eval $ac_try) 2>&5
37945 ac_status=$?
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); }; }; then
37948 eval "$as_ac_var=yes"
37949else
37950 echo "$as_me: failed program was:" >&5
37951sed 's/^/| /' conftest.$ac_ext >&5
37952
37953eval "$as_ac_var=no"
37954fi
ac1cb8d3
VS
37955rm -f conftest.err conftest.$ac_objext \
37956 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
37957fi
37958echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37959echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37960if test `eval echo '${'$as_ac_var'}'` = yes; then
37961 cat >>confdefs.h <<_ACEOF
37962#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37963_ACEOF
37964 have_cos=1
37965fi
37966done
37967
37968
37969for ac_func in floor
37970do
37971as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37972echo "$as_me:$LINENO: checking for $ac_func" >&5
37973echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37974if eval "test \"\${$as_ac_var+set}\" = set"; then
37975 echo $ECHO_N "(cached) $ECHO_C" >&6
37976else
37977 cat >conftest.$ac_ext <<_ACEOF
37978/* confdefs.h. */
37979_ACEOF
37980cat confdefs.h >>conftest.$ac_ext
37981cat >>conftest.$ac_ext <<_ACEOF
37982/* end confdefs.h. */
ac1cb8d3
VS
37983/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37985#define $ac_func innocuous_$ac_func
37986
a848cd7e
SC
37987/* System header to define __stub macros and hopefully few prototypes,
37988 which can conflict with char $ac_func (); below.
37989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37990 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 37991
a848cd7e
SC
37992#ifdef __STDC__
37993# include <limits.h>
37994#else
37995# include <assert.h>
37996#endif
ac1cb8d3
VS
37997
37998#undef $ac_func
37999
a848cd7e
SC
38000/* Override any gcc2 internal prototype to avoid an error. */
38001#ifdef __cplusplus
38002extern "C"
38003{
38004#endif
38005/* We use char because int might match the return type of a gcc2
38006 builtin and then its argument prototype would still apply. */
38007char $ac_func ();
38008/* The GNU C library defines this for functions which it implements
38009 to always fail with ENOSYS. Some functions are actually named
38010 something starting with __ and the normal name is an alias. */
38011#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38012choke me
38013#else
38014char (*f) () = $ac_func;
38015#endif
38016#ifdef __cplusplus
38017}
38018#endif
38019
38020int
38021main ()
38022{
38023return f != $ac_func;
38024 ;
38025 return 0;
38026}
38027_ACEOF
38028rm -f conftest.$ac_objext conftest$ac_exeext
38029if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 38030 (eval $ac_link) 2>conftest.er1
a848cd7e 38031 ac_status=$?
ac1cb8d3
VS
38032 grep -v '^ *+' conftest.er1 >conftest.err
38033 rm -f conftest.er1
38034 cat conftest.err >&5
a848cd7e
SC
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } &&
fc480dc1
DE
38037 { ac_try='test -z "$ac_c_werror_flag"
38038 || test ! -s conftest.err'
ac1cb8d3
VS
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; } &&
38044 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38047 ac_status=$?
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; }; then
38050 eval "$as_ac_var=yes"
38051else
38052 echo "$as_me: failed program was:" >&5
38053sed 's/^/| /' conftest.$ac_ext >&5
38054
38055eval "$as_ac_var=no"
38056fi
ac1cb8d3
VS
38057rm -f conftest.err conftest.$ac_objext \
38058 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
38059fi
38060echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38061echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38062if test `eval echo '${'$as_ac_var'}'` = yes; then
38063 cat >>confdefs.h <<_ACEOF
38064#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38065_ACEOF
38066 have_floor=1
38067fi
38068done
38069
38070echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38071echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38072if test "$have_cos" = 1 -a "$have_floor" = 1; then
38073 echo "$as_me:$LINENO: result: yes" >&5
38074echo "${ECHO_T}yes" >&6
38075else
38076 echo "$as_me:$LINENO: result: no" >&5
38077echo "${ECHO_T}no" >&6
38078 LIBS="$LIBS -lm"
38079 # use different functions to avoid configure caching
38080 have_sin=0
38081 have_ceil=0
38082
38083for ac_func in sin
38084do
38085as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38086echo "$as_me:$LINENO: checking for $ac_func" >&5
38087echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38088if eval "test \"\${$as_ac_var+set}\" = set"; then
38089 echo $ECHO_N "(cached) $ECHO_C" >&6
38090else
38091 cat >conftest.$ac_ext <<_ACEOF
38092/* confdefs.h. */
38093_ACEOF
38094cat confdefs.h >>conftest.$ac_ext
38095cat >>conftest.$ac_ext <<_ACEOF
38096/* end confdefs.h. */
ac1cb8d3
VS
38097/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38099#define $ac_func innocuous_$ac_func
38100
a848cd7e
SC
38101/* System header to define __stub macros and hopefully few prototypes,
38102 which can conflict with char $ac_func (); below.
38103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38104 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 38105
a848cd7e
SC
38106#ifdef __STDC__
38107# include <limits.h>
38108#else
38109# include <assert.h>
38110#endif
ac1cb8d3
VS
38111
38112#undef $ac_func
38113
a848cd7e
SC
38114/* Override any gcc2 internal prototype to avoid an error. */
38115#ifdef __cplusplus
38116extern "C"
38117{
38118#endif
38119/* We use char because int might match the return type of a gcc2
38120 builtin and then its argument prototype would still apply. */
38121char $ac_func ();
38122/* The GNU C library defines this for functions which it implements
38123 to always fail with ENOSYS. Some functions are actually named
38124 something starting with __ and the normal name is an alias. */
38125#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38126choke me
38127#else
38128char (*f) () = $ac_func;
38129#endif
38130#ifdef __cplusplus
38131}
38132#endif
38133
38134int
38135main ()
38136{
38137return f != $ac_func;
38138 ;
38139 return 0;
38140}
38141_ACEOF
38142rm -f conftest.$ac_objext conftest$ac_exeext
38143if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 38144 (eval $ac_link) 2>conftest.er1
a848cd7e 38145 ac_status=$?
ac1cb8d3
VS
38146 grep -v '^ *+' conftest.er1 >conftest.err
38147 rm -f conftest.er1
38148 cat conftest.err >&5
a848cd7e
SC
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); } &&
fc480dc1
DE
38151 { ac_try='test -z "$ac_c_werror_flag"
38152 || test ! -s conftest.err'
ac1cb8d3
VS
38153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38154 (eval $ac_try) 2>&5
38155 ac_status=$?
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); }; } &&
38158 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
38159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38160 (eval $ac_try) 2>&5
38161 ac_status=$?
38162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38163 (exit $ac_status); }; }; then
38164 eval "$as_ac_var=yes"
38165else
38166 echo "$as_me: failed program was:" >&5
38167sed 's/^/| /' conftest.$ac_ext >&5
38168
38169eval "$as_ac_var=no"
38170fi
ac1cb8d3
VS
38171rm -f conftest.err conftest.$ac_objext \
38172 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
38173fi
38174echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38175echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38176if test `eval echo '${'$as_ac_var'}'` = yes; then
38177 cat >>confdefs.h <<_ACEOF
38178#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38179_ACEOF
38180 have_sin=1
38181fi
38182done
38183
38184
38185for ac_func in ceil
38186do
38187as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38188echo "$as_me:$LINENO: checking for $ac_func" >&5
38189echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38190if eval "test \"\${$as_ac_var+set}\" = set"; then
38191 echo $ECHO_N "(cached) $ECHO_C" >&6
38192else
38193 cat >conftest.$ac_ext <<_ACEOF
38194/* confdefs.h. */
38195_ACEOF
38196cat confdefs.h >>conftest.$ac_ext
38197cat >>conftest.$ac_ext <<_ACEOF
38198/* end confdefs.h. */
ac1cb8d3
VS
38199/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38201#define $ac_func innocuous_$ac_func
38202
a848cd7e
SC
38203/* System header to define __stub macros and hopefully few prototypes,
38204 which can conflict with char $ac_func (); below.
38205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38206 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 38207
a848cd7e
SC
38208#ifdef __STDC__
38209# include <limits.h>
38210#else
38211# include <assert.h>
38212#endif
ac1cb8d3
VS
38213
38214#undef $ac_func
38215
a848cd7e
SC
38216/* Override any gcc2 internal prototype to avoid an error. */
38217#ifdef __cplusplus
38218extern "C"
38219{
38220#endif
38221/* We use char because int might match the return type of a gcc2
38222 builtin and then its argument prototype would still apply. */
38223char $ac_func ();
38224/* The GNU C library defines this for functions which it implements
38225 to always fail with ENOSYS. Some functions are actually named
38226 something starting with __ and the normal name is an alias. */
38227#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38228choke me
38229#else
38230char (*f) () = $ac_func;
38231#endif
38232#ifdef __cplusplus
38233}
38234#endif
38235
38236int
38237main ()
38238{
38239return f != $ac_func;
38240 ;
38241 return 0;
38242}
38243_ACEOF
38244rm -f conftest.$ac_objext conftest$ac_exeext
38245if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 38246 (eval $ac_link) 2>conftest.er1
a848cd7e 38247 ac_status=$?
ac1cb8d3
VS
38248 grep -v '^ *+' conftest.er1 >conftest.err
38249 rm -f conftest.er1
38250 cat conftest.err >&5
a848cd7e
SC
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } &&
fc480dc1
DE
38253 { ac_try='test -z "$ac_c_werror_flag"
38254 || test ! -s conftest.err'
ac1cb8d3
VS
38255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38256 (eval $ac_try) 2>&5
38257 ac_status=$?
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); }; } &&
38260 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
38261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38262 (eval $ac_try) 2>&5
38263 ac_status=$?
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); }; }; then
38266 eval "$as_ac_var=yes"
38267else
38268 echo "$as_me: failed program was:" >&5
38269sed 's/^/| /' conftest.$ac_ext >&5
38270
38271eval "$as_ac_var=no"
38272fi
ac1cb8d3
VS
38273rm -f conftest.err conftest.$ac_objext \
38274 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
38275fi
38276echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38277echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38278if test `eval echo '${'$as_ac_var'}'` = yes; then
38279 cat >>confdefs.h <<_ACEOF
38280#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38281_ACEOF
38282 have_ceil=1
38283fi
38284done
38285
38286 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38287echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38288 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38289 echo "$as_me:$LINENO: result: yes" >&5
38290echo "${ECHO_T}yes" >&6
38291 else
38292 echo "$as_me:$LINENO: result: no" >&5
38293echo "${ECHO_T}no" >&6
38294 # not sure we should warn the user, crash, etc.
38295 fi
38296fi
38297
38298if test "$wxUSE_GUI" = "yes"; then
38299
38300
38301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
38302 drawing dynamic erase event exec font image \
38303 minimal propsize rotate shaped widgets render"
38304
38305 if test "$wxUSE_MONOLITHIC" != "yes"; then
38306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
38307 fi
38308else
38309 SAMPLES_SUBDIRS="console"
38310fi
38311
38312
ceec2216 38313INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
a848cd7e
SC
38314-I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38315
38316if test "$GXX" = yes ; then
38317 CXXWARNINGS="-Wall"
38318 fi
38319
38320EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38321
0c3c69fc
VS
38322CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38323CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
38324CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
a848cd7e
SC
38325
38326
0c3c69fc 38327LIBS=`echo $LIBS`
a848cd7e
SC
38328EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38329EXTRALIBS_XML="$EXPAT_LINK"
38330EXTRALIBS_HTML="$MSPACK_LINK"
38331EXTRALIBS_ODBC="$ODBC_LINK"
38332if test "$wxUSE_GUI" = "yes"; then
0c3c69fc 38333 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
a848cd7e
SC
38334fi
38335if test "$wxUSE_OPENGL" = "yes"; then
38336 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
38337fi
38338
38339LDFLAGS="$LDFLAGS $PROFILE"
38340
38341if test "$wxUSE_GTK" = 1; then
38342 WXCONFIG_INCLUDE=
38343else
38344 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
38345fi
38346
38347WXCONFIG_EXTRALIBS="$LIBS"
38348
38349if test "$wxUSE_REGEX" = "builtin" ; then
38350 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38351fi
38352if test "$wxUSE_EXPAT" = "builtin" ; then
38353 wxconfig_3rdparty="$wxconfig_3rdparty expat"
38354fi
38355if test "$wxUSE_ODBC" = "builtin" ; then
38356 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38357fi
38358if test "$wxUSE_LIBTIFF" = "builtin" ; then
38359 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
38360fi
38361if test "$wxUSE_LIBJPEG" = "builtin" ; then
38362 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
38363fi
38364if test "$wxUSE_LIBPNG" = "builtin" ; then
38365 wxconfig_3rdparty="$wxconfig_3rdparty png"
38366fi
38367if test "$wxUSE_ZLIB" = "builtin" ; then
38368 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
38369fi
38370if test "$wxUSE_ODBC" = "builtin" ; then
38371 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38372fi
38373
38374for i in $wxconfig_3rdparty ; do
ceec2216 38375 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
a848cd7e
SC
38376done
38377
38378
38379if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38380 WXUNIV=1
38381else
38382 WXUNIV=0
38383fi
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393if test $wxUSE_MONOLITHIC = "yes" ; then
38394 MONOLITHIC=1
38395else
38396 MONOLITHIC=0
38397fi
38398
38399if test $wxUSE_PLUGINS = "yes" ; then
38400 USE_PLUGINS=1
38401else
38402 USE_PLUGINS=0
38403fi
38404
38405if test $wxUSE_ODBC != "no" ; then
38406 USE_ODBC=1
38407else
38408 USE_ODBC=0
38409fi
38410
38411if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38412 OFFICIAL_BUILD=1
38413else
38414 OFFICIAL_BUILD=0
38415fi
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
ceec2216 38435
d1c38808 38436
a848cd7e
SC
38437
38438
38439TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38440
38441
38442
38443
38444
38445
38446
38447
4d4ff94c
VZ
38448case "$TOOLKIT" in
38449 GTK)
38450 TOOLKIT_USER="GTK+"
38451 if test "$WXGTK20" = 1; then
38452 TOOLKIT_USER="$TOOLKIT_USER 2"
38453 fi
9a8f0513 38454 ;;
4d4ff94c
VZ
38455
38456 *)
38457 TOOLKIT_USER=$TOOLKIT_LOWERCASE
9a8f0513 38458 ;;
4d4ff94c 38459esac
a848cd7e 38460
9a8f0513 38461
a848cd7e
SC
38462 if test "x$BAKEFILE_HOST" = "x"; then
38463 BAKEFILE_HOST="${host}"
38464 fi
38465
38466 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38467
38468 if test -n "$ac_tool_prefix"; then
38469 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38470set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38471echo "$as_me:$LINENO: checking for $ac_word" >&5
38472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38473if test "${ac_cv_prog_RANLIB+set}" = set; then
38474 echo $ECHO_N "(cached) $ECHO_C" >&6
38475else
38476 if test -n "$RANLIB"; then
38477 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38478else
38479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38480for as_dir in $PATH
38481do
38482 IFS=$as_save_IFS
38483 test -z "$as_dir" && as_dir=.
38484 for ac_exec_ext in '' $ac_executable_extensions; do
38485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38486 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38488 break 2
38489 fi
38490done
38491done
38492
38493fi
38494fi
38495RANLIB=$ac_cv_prog_RANLIB
38496if test -n "$RANLIB"; then
38497 echo "$as_me:$LINENO: result: $RANLIB" >&5
38498echo "${ECHO_T}$RANLIB" >&6
38499else
38500 echo "$as_me:$LINENO: result: no" >&5
38501echo "${ECHO_T}no" >&6
38502fi
38503
38504fi
38505if test -z "$ac_cv_prog_RANLIB"; then
38506 ac_ct_RANLIB=$RANLIB
38507 # Extract the first word of "ranlib", so it can be a program name with args.
38508set dummy ranlib; ac_word=$2
38509echo "$as_me:$LINENO: checking for $ac_word" >&5
38510echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38511if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38513else
38514 if test -n "$ac_ct_RANLIB"; then
38515 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38516else
38517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38518for as_dir in $PATH
38519do
38520 IFS=$as_save_IFS
38521 test -z "$as_dir" && as_dir=.
38522 for ac_exec_ext in '' $ac_executable_extensions; do
38523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38524 ac_cv_prog_ac_ct_RANLIB="ranlib"
38525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38526 break 2
38527 fi
38528done
38529done
38530
38531 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38532fi
38533fi
38534ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38535if test -n "$ac_ct_RANLIB"; then
38536 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38537echo "${ECHO_T}$ac_ct_RANLIB" >&6
38538else
38539 echo "$as_me:$LINENO: result: no" >&5
38540echo "${ECHO_T}no" >&6
38541fi
38542
38543 RANLIB=$ac_ct_RANLIB
38544else
38545 RANLIB="$ac_cv_prog_RANLIB"
38546fi
38547
38548 # Find a good install program. We prefer a C program (faster),
38549# so one script is as good as another. But avoid the broken or
38550# incompatible versions:
38551# SysV /etc/install, /usr/sbin/install
38552# SunOS /usr/etc/install
38553# IRIX /sbin/install
38554# AIX /bin/install
38555# AmigaOS /C/install, which installs bootblocks on floppy discs
38556# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38557# AFS /usr/afsws/bin/install, which mishandles nonexistent args
38558# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
ac1cb8d3 38559# OS/2's system install, which has a completely different semantic
a848cd7e
SC
38560# ./install, which can be erroneously created by make from ./install.sh.
38561echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38562echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38563if test -z "$INSTALL"; then
38564if test "${ac_cv_path_install+set}" = set; then
38565 echo $ECHO_N "(cached) $ECHO_C" >&6
38566else
38567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38568for as_dir in $PATH
38569do
38570 IFS=$as_save_IFS
38571 test -z "$as_dir" && as_dir=.
38572 # Account for people who put trailing slashes in PATH elements.
38573case $as_dir/ in
38574 ./ | .// | /cC/* | \
38575 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
ac1cb8d3 38576 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
a848cd7e
SC
38577 /usr/ucb/* ) ;;
38578 *)
38579 # OSF1 and SCO ODT 3.0 have their own names for install.
38580 # Don't use installbsd from OSF since it installs stuff as root
38581 # by default.
38582 for ac_prog in ginstall scoinst install; do
38583 for ac_exec_ext in '' $ac_executable_extensions; do
ac1cb8d3
VS
38584 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38585 if test $ac_prog = install &&
38586 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38587 # AIX install. It has an incompatible calling convention.
38588 :
38589 elif test $ac_prog = install &&
38590 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38591 # program-specific install script used by HP pwplus--don't use.
38592 :
38593 else
38594 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38595 break 3
38596 fi
38597 fi
a848cd7e
SC
38598 done
38599 done
38600 ;;
38601esac
38602done
38603
38604
38605fi
38606 if test "${ac_cv_path_install+set}" = set; then
38607 INSTALL=$ac_cv_path_install
38608 else
38609 # As a last resort, use the slow shell script. We don't cache a
38610 # path for INSTALL within a source directory, because that will
38611 # break other packages using the cache if that directory is
38612 # removed, or if the path is relative.
38613 INSTALL=$ac_install_sh
38614 fi
38615fi
38616echo "$as_me:$LINENO: result: $INSTALL" >&5
38617echo "${ECHO_T}$INSTALL" >&6
38618
38619# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38620# It thinks the first close brace ends the variable substitution.
38621test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38622
38623test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38624
38625test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38626
38627 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38628echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38629LN_S=$as_ln_s
38630if test "$LN_S" = "ln -s"; then
38631 echo "$as_me:$LINENO: result: yes" >&5
38632echo "${ECHO_T}yes" >&6
38633else
38634 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38635echo "${ECHO_T}no, using $LN_S" >&6
38636fi
38637
38638
38639 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38640echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
ac1cb8d3 38641set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
a848cd7e
SC
38642if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38643 echo $ECHO_N "(cached) $ECHO_C" >&6
38644else
38645 cat >conftest.make <<\_ACEOF
38646all:
38647 @echo 'ac_maketemp="$(MAKE)"'
38648_ACEOF
38649# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38650eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38651if test -n "$ac_maketemp"; then
38652 eval ac_cv_prog_make_${ac_make}_set=yes
38653else
38654 eval ac_cv_prog_make_${ac_make}_set=no
38655fi
38656rm -f conftest.make
38657fi
38658if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38659 echo "$as_me:$LINENO: result: yes" >&5
38660echo "${ECHO_T}yes" >&6
38661 SET_MAKE=
38662else
38663 echo "$as_me:$LINENO: result: no" >&5
38664echo "${ECHO_T}no" >&6
38665 SET_MAKE="MAKE=${MAKE-make}"
38666fi
38667
38668
38669
38670 if test -n "$ac_tool_prefix"; then
38671 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38672set dummy ${ac_tool_prefix}ar; ac_word=$2
38673echo "$as_me:$LINENO: checking for $ac_word" >&5
38674echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38675if test "${ac_cv_prog_AR+set}" = set; then
38676 echo $ECHO_N "(cached) $ECHO_C" >&6
38677else
38678 if test -n "$AR"; then
38679 ac_cv_prog_AR="$AR" # Let the user override the test.
38680else
38681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38682for as_dir in $PATH
38683do
38684 IFS=$as_save_IFS
38685 test -z "$as_dir" && as_dir=.
38686 for ac_exec_ext in '' $ac_executable_extensions; do
38687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38688 ac_cv_prog_AR="${ac_tool_prefix}ar"
38689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38690 break 2
38691 fi
38692done
38693done
38694
38695fi
38696fi
38697AR=$ac_cv_prog_AR
38698if test -n "$AR"; then
38699 echo "$as_me:$LINENO: result: $AR" >&5
38700echo "${ECHO_T}$AR" >&6
38701else
38702 echo "$as_me:$LINENO: result: no" >&5
38703echo "${ECHO_T}no" >&6
38704fi
38705
38706fi
38707if test -z "$ac_cv_prog_AR"; then
38708 ac_ct_AR=$AR
38709 # Extract the first word of "ar", so it can be a program name with args.
38710set dummy ar; ac_word=$2
38711echo "$as_me:$LINENO: checking for $ac_word" >&5
38712echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38713if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38714 echo $ECHO_N "(cached) $ECHO_C" >&6
38715else
38716 if test -n "$ac_ct_AR"; then
38717 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38718else
38719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38720for as_dir in $PATH
38721do
38722 IFS=$as_save_IFS
38723 test -z "$as_dir" && as_dir=.
38724 for ac_exec_ext in '' $ac_executable_extensions; do
38725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38726 ac_cv_prog_ac_ct_AR="ar"
38727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38728 break 2
38729 fi
38730done
38731done
38732
38733 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38734fi
38735fi
38736ac_ct_AR=$ac_cv_prog_ac_ct_AR
38737if test -n "$ac_ct_AR"; then
38738 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38739echo "${ECHO_T}$ac_ct_AR" >&6
38740else
38741 echo "$as_me:$LINENO: result: no" >&5
38742echo "${ECHO_T}no" >&6
38743fi
38744
38745 AR=$ac_ct_AR
38746else
38747 AR="$ac_cv_prog_AR"
38748fi
38749
38750 if test -n "$ac_tool_prefix"; then
38751 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38752set dummy ${ac_tool_prefix}strip; ac_word=$2
38753echo "$as_me:$LINENO: checking for $ac_word" >&5
38754echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38755if test "${ac_cv_prog_STRIP+set}" = set; then
38756 echo $ECHO_N "(cached) $ECHO_C" >&6
38757else
38758 if test -n "$STRIP"; then
38759 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38760else
38761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38762for as_dir in $PATH
38763do
38764 IFS=$as_save_IFS
38765 test -z "$as_dir" && as_dir=.
38766 for ac_exec_ext in '' $ac_executable_extensions; do
38767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38768 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38770 break 2
38771 fi
38772done
38773done
38774
38775fi
38776fi
38777STRIP=$ac_cv_prog_STRIP
38778if test -n "$STRIP"; then
38779 echo "$as_me:$LINENO: result: $STRIP" >&5
38780echo "${ECHO_T}$STRIP" >&6
38781else
38782 echo "$as_me:$LINENO: result: no" >&5
38783echo "${ECHO_T}no" >&6
38784fi
38785
38786fi
38787if test -z "$ac_cv_prog_STRIP"; then
38788 ac_ct_STRIP=$STRIP
38789 # Extract the first word of "strip", so it can be a program name with args.
38790set dummy strip; ac_word=$2
38791echo "$as_me:$LINENO: checking for $ac_word" >&5
38792echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38793if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38794 echo $ECHO_N "(cached) $ECHO_C" >&6
38795else
38796 if test -n "$ac_ct_STRIP"; then
38797 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38798else
38799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38800for as_dir in $PATH
38801do
38802 IFS=$as_save_IFS
38803 test -z "$as_dir" && as_dir=.
38804 for ac_exec_ext in '' $ac_executable_extensions; do
38805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38806 ac_cv_prog_ac_ct_STRIP="strip"
38807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38808 break 2
38809 fi
38810done
38811done
38812
38813 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38814fi
38815fi
38816ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38817if test -n "$ac_ct_STRIP"; then
38818 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38819echo "${ECHO_T}$ac_ct_STRIP" >&6
38820else
38821 echo "$as_me:$LINENO: result: no" >&5
38822echo "${ECHO_T}no" >&6
38823fi
38824
38825 STRIP=$ac_ct_STRIP
38826else
38827 STRIP="$ac_cv_prog_STRIP"
38828fi
38829
38830 if test -n "$ac_tool_prefix"; then
38831 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38832set dummy ${ac_tool_prefix}nm; ac_word=$2
38833echo "$as_me:$LINENO: checking for $ac_word" >&5
38834echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38835if test "${ac_cv_prog_NM+set}" = set; then
38836 echo $ECHO_N "(cached) $ECHO_C" >&6
38837else
38838 if test -n "$NM"; then
38839 ac_cv_prog_NM="$NM" # Let the user override the test.
38840else
38841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38842for as_dir in $PATH
38843do
38844 IFS=$as_save_IFS
38845 test -z "$as_dir" && as_dir=.
38846 for ac_exec_ext in '' $ac_executable_extensions; do
38847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38848 ac_cv_prog_NM="${ac_tool_prefix}nm"
38849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38850 break 2
38851 fi
38852done
38853done
38854
38855fi
38856fi
38857NM=$ac_cv_prog_NM
38858if test -n "$NM"; then
38859 echo "$as_me:$LINENO: result: $NM" >&5
38860echo "${ECHO_T}$NM" >&6
38861else
38862 echo "$as_me:$LINENO: result: no" >&5
38863echo "${ECHO_T}no" >&6
38864fi
38865
38866fi
38867if test -z "$ac_cv_prog_NM"; then
38868 ac_ct_NM=$NM
38869 # Extract the first word of "nm", so it can be a program name with args.
38870set dummy nm; ac_word=$2
38871echo "$as_me:$LINENO: checking for $ac_word" >&5
38872echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38873if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38874 echo $ECHO_N "(cached) $ECHO_C" >&6
38875else
38876 if test -n "$ac_ct_NM"; then
38877 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38878else
38879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38880for as_dir in $PATH
38881do
38882 IFS=$as_save_IFS
38883 test -z "$as_dir" && as_dir=.
38884 for ac_exec_ext in '' $ac_executable_extensions; do
38885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38886 ac_cv_prog_ac_ct_NM="nm"
38887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38888 break 2
38889 fi
38890done
38891done
38892
38893 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38894fi
38895fi
38896ac_ct_NM=$ac_cv_prog_ac_ct_NM
38897if test -n "$ac_ct_NM"; then
38898 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38899echo "${ECHO_T}$ac_ct_NM" >&6
38900else
38901 echo "$as_me:$LINENO: result: no" >&5
38902echo "${ECHO_T}no" >&6
38903fi
38904
38905 NM=$ac_ct_NM
38906else
38907 NM="$ac_cv_prog_NM"
38908fi
38909
38910
38911 case ${BAKEFILE_HOST} in
38912 *-hp-hpux* )
a49baeab 38913 INSTALL_DIR="mkdir -p"
a848cd7e
SC
38914 ;;
38915 *) INSTALL_DIR="$INSTALL -d"
38916 ;;
38917 esac
38918
38919
38920 LDFLAGS_GUI=
38921 case ${BAKEFILE_HOST} in
38922 *-*-cygwin* | *-*-mingw32* )
38923 LDFLAGS_GUI="-mwindows"
38924 esac
38925
38926
38927 fi
38928
38929 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38930echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38931if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38933else
38934
38935 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38936 egrep -s GNU > /dev/null); then
38937 bakefile_cv_prog_makeisgnu="yes"
38938 else
38939 bakefile_cv_prog_makeisgnu="no"
38940 fi
38941
38942fi
38943echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38944echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38945
38946 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38947 IF_GNU_MAKE=""
38948 else
38949 IF_GNU_MAKE="#"
38950 fi
38951
38952
38953
38954 PLATFORM_UNIX=0
38955 PLATFORM_WIN32=0
38956 PLATFORM_MSDOS=0
38957 PLATFORM_MAC=0
38958 PLATFORM_MACOSX=0
38959 PLATFORM_OS2=0
38960
38961 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38962 case "${BAKEFILE_HOST}" in
38963 *-*-cygwin* | *-*-mingw32* )
38964 PLATFORM_WIN32=1
38965 ;;
38966 *-pc-msdosdjgpp )
38967 PLATFORM_MSDOS=1
38968 ;;
38969 *-pc-os2_emx | *-pc-os2-emx )
38970 PLATFORM_OS2=1
38971 ;;
38972 powerpc-*-darwin* )
38973 PLATFORM_MAC=1
38974 PLATFORM_MACOSX=1
38975 ;;
38976 * )
38977 PLATFORM_UNIX=1
38978 ;;
38979 esac
38980 else
38981 case "$BAKEFILE_FORCE_PLATFORM" in
38982 win32 )
38983 PLATFORM_WIN32=1
38984 ;;
38985 msdos )
38986 PLATFORM_MSDOS=1
38987 ;;
38988 os2 )
38989 PLATFORM_OS2=1
38990 ;;
38991 darwin )
38992 PLATFORM_MAC=1
38993 PLATFORM_MACOSX=1
38994 ;;
38995 unix )
38996 PLATFORM_UNIX=1
38997 ;;
38998 * )
38999 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39000echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39001 { (exit 1); exit 1; }; }
39002 ;;
39003 esac
39004 fi
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014 # Check whether --enable-omf or --disable-omf was given.
39015if test "${enable_omf+set}" = set; then
39016 enableval="$enable_omf"
39017 bk_os2_use_omf="$enableval"
39018fi;
39019
39020 case "${BAKEFILE_HOST}" in
39021 *-*-darwin* )
39022 CFLAGS="$CFLAGS -fno-common"
39023 CXXFLAGS="$CXXFLAGS -fno-common"
39024 ;;
39025
39026 *-pc-os2_emx | *-pc-os2-emx )
39027 if test "x$bk_os2_use_omf" = "xyes" ; then
39028 AR=emxomfar
39029 RANLIB=:
39030 LDFLAGS="-Zomf $LDFLAGS"
39031 CFLAGS="-Zomf $CFLAGS"
39032 CXXFLAGS="-Zomf $CXXFLAGS"
39033 OS2_LIBEXT="lib"
39034 else
39035 OS2_LIBEXT="a"
39036 fi
39037 ;;
39038 esac
39039
39040
39041 SO_SUFFIX="so"
39042 SO_SUFFIX_MODULE="so"
39043 EXEEXT=""
39044 LIBPREFIX="lib"
39045 LIBEXT=".a"
39046 DLLPREFIX="lib"
39047 DLLPREFIX_MODULE=""
39048 DLLIMP_SUFFIX=""
39049
39050 case "${BAKEFILE_HOST}" in
39051 *-hp-hpux* )
39052 SO_SUFFIX="sl"
39053 SO_SUFFIX_MODULE="sl"
39054 ;;
39055 *-*-aix* )
39056 SO_SUFFIX="a"
39057 SO_SUFFIX_MODULE="a"
39058 ;;
39059 *-*-cygwin* | *-*-mingw32* )
39060 SO_SUFFIX="dll"
39061 SO_SUFFIX_MODULE="dll"
39062 DLLIMP_SUFFIX="dll.a"
39063 EXEEXT=".exe"
39064 DLLPREFIX=""
39065 ;;
39066 *-pc-msdosdjgpp )
39067 EXEEXT=".exe"
39068 DLLPREFIX=""
39069 ;;
39070 *-pc-os2_emx | *-pc-os2-emx )
39071 SO_SUFFIX="dll"
39072 SO_SUFFIX_MODULE="dll"
39073 DLLIMP_SUFFIX=$OS2_LIBEXT
39074 EXEEXT=".exe"
39075 DLLPREFIX=""
39076 LIBPREFIX=""
39077 LIBEXT=".$OS2_LIBEXT"
39078 ;;
39079 powerpc-*-darwin* )
39080 SO_SUFFIX="dylib"
39081 SO_SUFFIX_MODULE="bundle"
39082 ;;
39083 esac
39084
39085 if test "x$DLLIMP_SUFFIX" = "x" ; then
39086 DLLIMP_SUFFIX="$SO_SUFFIX"
39087 fi
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099 SHARED_LD_CC="\$(CC) -shared -o"
39100 SHARED_LD_CXX="\$(CXX) -shared -o"
39101
39102 if test "x$GCC" = "xyes"; then
39103 PIC_FLAG="-fPIC"
39104 fi
39105
39106 case "${BAKEFILE_HOST}" in
39107 *-hp-hpux* )
39108 if test "x$GCC" = "xyes"; then
39109 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
39110 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
39111 else
39112 LDFLAGS="$LDFLAGS -L/usr/lib"
39113
39114 SHARED_LD_CC="${CC} -b -o"
39115 SHARED_LD_CXX="${CXX} -b -o"
39116 PIC_FLAG="+Z"
39117 fi
39118 ;;
39119
39120 *-*-linux* )
39121 if test "x$GCC" != "xyes"; then
39122 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39123echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39124if test "${bakefile_cv_prog_icc+set}" = set; then
39125 echo $ECHO_N "(cached) $ECHO_C" >&6
39126else
39127
39128 cat >conftest.$ac_ext <<_ACEOF
39129/* confdefs.h. */
39130_ACEOF
39131cat confdefs.h >>conftest.$ac_ext
39132cat >>conftest.$ac_ext <<_ACEOF
39133/* end confdefs.h. */
39134
39135int
39136main ()
39137{
39138
39139 #ifndef __INTEL_COMPILER
39140 #error Not icc
39141 #endif
39142
39143 ;
39144 return 0;
39145}
39146_ACEOF
39147rm -f conftest.$ac_objext
39148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 39149 (eval $ac_compile) 2>conftest.er1
a848cd7e 39150 ac_status=$?
ac1cb8d3
VS
39151 grep -v '^ *+' conftest.er1 >conftest.err
39152 rm -f conftest.er1
39153 cat conftest.err >&5
a848cd7e
SC
39154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39155 (exit $ac_status); } &&
fc480dc1
DE
39156 { ac_try='test -z "$ac_c_werror_flag"
39157 || test ! -s conftest.err'
ac1cb8d3
VS
39158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39159 (eval $ac_try) 2>&5
39160 ac_status=$?
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); }; } &&
39163 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39166 ac_status=$?
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; }; then
39169 bakefile_cv_prog_icc=yes
39170else
39171 echo "$as_me: failed program was:" >&5
39172sed 's/^/| /' conftest.$ac_ext >&5
39173
39174bakefile_cv_prog_icc=no
39175
39176fi
ac1cb8d3 39177rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
39178
39179fi
39180echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39181echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39182 if test "$bakefile_cv_prog_icc" = "yes"; then
39183 PIC_FLAG="-KPIC"
39184 fi
39185 fi
39186 ;;
39187
39188 *-*-solaris2* )
39189 if test "x$GCC" != xyes ; then
39190 SHARED_LD_CC="${CC} -G -o"
39191 SHARED_LD_CXX="${CXX} -G -o"
39192 PIC_FLAG="-KPIC"
39193 fi
39194 ;;
39195
39196 *-*-darwin* )
39197
39198 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39199echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39200if test "${wx_cv_gcc31+set}" = set; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39202else
39203
39204 cat >conftest.$ac_ext <<_ACEOF
39205/* confdefs.h. */
39206_ACEOF
39207cat confdefs.h >>conftest.$ac_ext
39208cat >>conftest.$ac_ext <<_ACEOF
39209/* end confdefs.h. */
39210
39211int
39212main ()
39213{
39214
39215 #if (__GNUC__ < 3) || \
39216 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39217 #error old gcc
39218 #endif
39219
39220 ;
39221 return 0;
39222}
39223_ACEOF
39224rm -f conftest.$ac_objext
39225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 39226 (eval $ac_compile) 2>conftest.er1
a848cd7e 39227 ac_status=$?
ac1cb8d3
VS
39228 grep -v '^ *+' conftest.er1 >conftest.err
39229 rm -f conftest.er1
39230 cat conftest.err >&5
a848cd7e
SC
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); } &&
fc480dc1
DE
39233 { ac_try='test -z "$ac_c_werror_flag"
39234 || test ! -s conftest.err'
ac1cb8d3
VS
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39237 ac_status=$?
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; } &&
39240 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; }; then
39246
39247 wx_cv_gcc31=yes
39248
39249else
39250 echo "$as_me: failed program was:" >&5
39251sed 's/^/| /' conftest.$ac_ext >&5
39252
39253
39254 wx_cv_gcc31=no
39255
39256
39257fi
ac1cb8d3 39258rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
39259
39260fi
39261echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39262echo "${ECHO_T}$wx_cv_gcc31" >&6
39263 if test "$wx_cv_gcc31" = "no"; then
473276a9
VS
39264
39265D='$'
39266cat <<EOF >shared-ld-sh
a848cd7e
SC
39267#!/bin/sh
39268#-----------------------------------------------------------------------------
39269#-- Name: distrib/mac/shared-ld-sh
39270#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39271#-- Author: Gilles Depeyrot
39272#-- Copyright: (c) 2002 Gilles Depeyrot
39273#-- Licence: any use permitted
39274#-----------------------------------------------------------------------------
39275
39276verbose=0
39277args=""
39278objects=""
39279linking_flag="-dynamiclib"
39280
473276a9
VS
39281while test ${D}# -gt 0; do
39282 case ${D}1 in
a848cd7e
SC
39283
39284 -v)
39285 verbose=1
39286 ;;
39287
39288 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39289 # collect these options and values
473276a9 39290 args="${D}{args} ${D}1 ${D}2"
a848cd7e
SC
39291 shift
39292 ;;
39293
39294 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39295 # collect these options
473276a9 39296 args="${D}{args} ${D}1"
a848cd7e
SC
39297 ;;
39298
39299 -dynamiclib|-bundle)
473276a9 39300 linking_flag="${D}1"
a848cd7e
SC
39301 ;;
39302
39303 -*)
473276a9 39304 echo "shared-ld: unhandled option '${D}1'"
a848cd7e
SC
39305 exit 1
39306 ;;
39307
39308 *.o | *.a | *.dylib)
39309 # collect object files
473276a9 39310 objects="${D}{objects} ${D}1"
a848cd7e
SC
39311 ;;
39312
39313 *)
473276a9 39314 echo "shared-ld: unhandled argument '${D}1'"
a848cd7e
SC
39315 exit 1
39316 ;;
39317
39318 esac
39319 shift
39320done
39321
39322#
39323# Link one module containing all the others
39324#
473276a9
VS
39325if test ${D}{verbose} = 1; then
39326 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
a848cd7e 39327fi
473276a9
VS
39328c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39329status=${D}?
39330if test ${D}{status} != 0; then
39331 exit ${D}{status}
a848cd7e
SC
39332fi
39333
39334#
39335# Link the shared library from the single module created
39336#
473276a9
VS
39337if test ${D}{verbose} = 1; then
39338 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
a848cd7e 39339fi
473276a9
VS
39340c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39341status=${D}?
39342if test ${D}{status} != 0; then
39343 exit ${D}{status}
a848cd7e
SC
39344fi
39345
39346#
39347# Remove intermediate module
39348#
473276a9 39349rm -f master.${D}${D}.o
a848cd7e
SC
39350
39351exit 0
39352EOF
473276a9 39353
a848cd7e
SC
39354 chmod +x shared-ld-sh
39355
39356 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39357 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39358 SHARED_LD_CXX="$SHARED_LD_CC"
39359 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
39360 else
39361 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39362 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39363 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39364 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39365 fi
39366
39367 PIC_FLAG="-dynamic -fPIC"
39368 ;;
39369
39370 *-*-aix* )
39371 if test "x$GCC" != "xyes"; then
39372 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39373set dummy makeC++SharedLib; ac_word=$2
39374echo "$as_me:$LINENO: checking for $ac_word" >&5
39375echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39376if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39377 echo $ECHO_N "(cached) $ECHO_C" >&6
39378else
39379 if test -n "$AIX_CXX_LD"; then
39380 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39381else
39382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39383for as_dir in $PATH
39384do
39385 IFS=$as_save_IFS
39386 test -z "$as_dir" && as_dir=.
39387 for ac_exec_ext in '' $ac_executable_extensions; do
39388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39389 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39391 break 2
39392 fi
39393done
39394done
39395
39396 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39397fi
39398fi
39399AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39400if test -n "$AIX_CXX_LD"; then
39401 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39402echo "${ECHO_T}$AIX_CXX_LD" >&6
39403else
39404 echo "$as_me:$LINENO: result: no" >&5
39405echo "${ECHO_T}no" >&6
39406fi
39407
39408 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39409 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39410 fi
39411 ;;
39412
39413 *-*-beos* )
39414 SHARED_LD_CC="${LD} -shared -o"
39415 SHARED_LD_CXX="${LD} -shared -o"
39416 ;;
39417
39418 *-*-irix* )
39419 if test "x$GCC" != "xyes"; then
39420 PIC_FLAG="-KPIC"
39421 fi
39422 ;;
39423
39424 *-*-cygwin* | *-*-mingw32* )
39425 PIC_FLAG=""
39426 ;;
39427
39428 *-pc-os2_emx | *-pc-os2-emx )
473276a9
VS
39429 SHARED_LD_CC="`pwd`/dllar.sh -o"
39430 SHARED_LD_CXX="`pwd`/dllar.sh -o"
a848cd7e 39431 PIC_FLAG=""
473276a9
VS
39432
39433D='$'
39434cat <<EOF >dllar.sh
39435#!/bin/sh
39436#
39437# dllar - a tool to build both a .dll and an .a file
39438# from a set of object (.o) files for EMX/OS2.
39439#
39440# Written by Andrew Zabolotny, bit@freya.etu.ru
39441# Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39442#
39443# This script will accept a set of files on the command line.
39444# All the public symbols from the .o files will be exported into
39445# a .DEF file, then linker will be run (through gcc) against them to
39446# build a shared library consisting of all given .o files. All libraries
39447# (.a) will be first decompressed into component .o files then act as
39448# described above. You can optionally give a description (-d "description")
39449# which will be put into .DLL. To see the list of accepted options (as well
39450# as command-line format) simply run this program without options. The .DLL
39451# is built to be imported by name (there is no guarantee that new versions
39452# of the library you build will have same ordinals for same symbols).
39453#
39454# dllar is free software; you can redistribute it and/or modify
39455# it under the terms of the GNU General Public License as published by
39456# the Free Software Foundation; either version 2, or (at your option)
39457# any later version.
39458#
39459# dllar is distributed in the hope that it will be useful,
39460# but WITHOUT ANY WARRANTY; without even the implied warranty of
39461# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39462# GNU General Public License for more details.
39463#
39464# You should have received a copy of the GNU General Public License
39465# along with dllar; see the file COPYING. If not, write to the Free
39466# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39467# 02111-1307, USA.
39468
39469# To successfuly run this program you will need:
39470# - Current drive should have LFN support (HPFS, ext2, network, etc)
39471# (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39472# - gcc
39473# (used to build the .dll)
39474# - emxexp
39475# (used to create .def file from .o files)
39476# - emximp
39477# (used to create .a file from .def file)
39478# - GNU text utilites (cat, sort, uniq)
39479# used to process emxexp output
39480# - GNU file utilities (mv, rm)
39481# - GNU sed
39482# - lxlite (optional, see flag below)
39483# (used for general .dll cleanup)
39484#
39485
39486flag_USE_LXLITE=1;
39487
39488#
39489# helper functions
39490# basnam, variant of basename, which does _not_ remove the path, _iff_
39491# second argument (suffix to remove) is given
39492basnam(){
39493 case ${D}# in
39494 1)
39495 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39496 ;;
39497 2)
39498 echo ${D}1 | sed 's/'${D}2'${D}//'
39499 ;;
39500 *)
39501 echo "error in basnam ${D}*"
39502 exit 8
39503 ;;
39504 esac
39505}
39506
39507# Cleanup temporary files and output
39508CleanUp() {
39509 cd ${D}curDir
39510 for i in ${D}inputFiles ; do
39511 case ${D}i in
39512 *!)
39513 rm -rf \`basnam ${D}i !\`
39514 ;;
39515 *)
39516 ;;
39517 esac
39518 done
39519
39520 # Kill result in case of failure as there is just to many stupid make/nmake
39521 # things out there which doesn't do this.
2057db16 39522 if [] ${D}# -eq 0 []; then
473276a9
VS
39523 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39524 fi
39525}
39526
39527# Print usage and exit script with rc=1.
39528PrintHelp() {
2057db16
VS
39529 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39530 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39531 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39532 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39533 echo ' []*.o[] []*.a[]'
473276a9
VS
39534 echo '*> "output_file" should have no extension.'
39535 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39536 echo ' The import library name is derived from this and is set to "name".a,'
39537 echo ' unless overridden by -import'
39538 echo '*> "importlib_name" should have no extension.'
39539 echo ' If it has the .o, or .a extension, it is automatically removed.'
39540 echo ' This name is used as the import library name and may be longer and'
39541 echo ' more descriptive than the DLL name which has to follow the old '
39542 echo ' 8.3 convention of FAT.'
39543 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39544 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39545 echo ' These flags will be put at the start of GCC command line.'
2057db16
VS
39546 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39547 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
473276a9
VS
39548 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39549 echo ' If the last character of a symbol is "*", all symbols beginning'
39550 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
2057db16 39551 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
473276a9 39552 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
2057db16 39553 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
473276a9 39554 echo ' C runtime DLLs.'
2057db16 39555 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
473276a9
VS
39556 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39557 echo ' unchanged to GCC at the end of command line.'
39558 echo '*> If you create a DLL from a library and you do not specify -o,'
39559 echo ' the basename for DLL and import library will be set to library name,'
39560 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39561 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39562 echo ' library will be renamed into gcc_s.a.'
39563 echo '--------'
39564 echo 'Example:'
39565 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39566 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39567 CleanUp
39568 exit 1
39569}
39570
39571# Execute a command.
39572# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39573# @Uses Whatever CleanUp() uses.
39574doCommand() {
39575 echo "${D}*"
39576 eval ${D}*
39577 rcCmd=${D}?
39578
2057db16 39579 if [] ${D}rcCmd -ne 0 []; then
473276a9
VS
39580 echo "command failed, exit code="${D}rcCmd
39581 CleanUp
39582 exit ${D}rcCmd
39583 fi
39584}
39585
39586# main routine
39587# setup globals
39588cmdLine=${D}*
39589outFile=""
39590outimpFile=""
39591inputFiles=""
39592description=""
39593CC=gcc.exe
39594CFLAGS="-s -Zcrtdll"
39595EXTRA_CFLAGS=""
39596EXPORT_BY_ORDINALS=0
39597exclude_symbols=""
39598library_flags=""
39599curDir=\`pwd\`
39600curDirS=curDir
39601case ${D}curDirS in
39602*/)
39603 ;;
39604*)
39605 curDirS=${D}{curDirS}"/"
39606 ;;
39607esac
39608# Parse commandline
39609libsToLink=0
2057db16 39610while [] ${D}1 []; do
473276a9
VS
39611 case ${D}1 in
39612 -ord*)
39613 EXPORT_BY_ORDINALS=1;
39614 ;;
39615 -o*)
39616 shift
39617 outFile=${D}1
39618 ;;
39619 -i*)
39620 shift
39621 outimpFile=${D}1
39622 ;;
39623 -d*)
39624 shift
39625 description=${D}1
39626 ;;
39627 -f*)
39628 shift
39629 CFLAGS=${D}1
39630 ;;
39631 -c*)
39632 shift
39633 CC=${D}1
39634 ;;
39635 -h*)
39636 PrintHelp
39637 ;;
39638 -ex*)
39639 shift
39640 exclude_symbols=${D}{exclude_symbols}${D}1" "
39641 ;;
39642 -libf*)
39643 shift
39644 library_flags=${D}{library_flags}${D}1" "
39645 ;;
39646 -nocrt*)
39647 CFLAGS="-s"
39648 ;;
39649 -nolxl*)
39650 flag_USE_LXLITE=0
39651 ;;
39652 -* | /*)
39653 case ${D}1 in
39654 -L* | -l*)
39655 libsToLink=1
39656 ;;
39657 *)
39658 ;;
39659 esac
39660 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39661 ;;
39662 *)
39663 found=0;
2057db16 39664 if [] ${D}libsToLink -ne 0 []; then
473276a9
VS
39665 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39666 else
39667 for file in ${D}1 ; do
2057db16 39668 if [] -f ${D}file []; then
473276a9
VS
39669 inputFiles="${D}{inputFiles} ${D}file"
39670 found=1
39671 fi
39672 done
2057db16 39673 if [] ${D}found -eq 0 []; then
473276a9
VS
39674 echo "ERROR: No file(s) found: "${D}1
39675 exit 8
39676 fi
39677 fi
39678 ;;
39679 esac
39680 shift
39681done # iterate cmdline words
39682
39683#
2057db16 39684if [] -z "${D}inputFiles" []; then
473276a9
VS
39685 echo "dllar: no input files"
39686 PrintHelp
39687fi
39688
39689# Now extract all .o files from .a files
39690newInputFiles=""
39691for file in ${D}inputFiles ; do
39692 case ${D}file in
39693 *.a | *.lib)
39694 case ${D}file in
39695 *.a)
39696 suffix=".a"
39697 AR="ar"
39698 ;;
39699 *.lib)
39700 suffix=".lib"
39701 AR="emxomfar"
39702 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39703 ;;
39704 *)
39705 ;;
39706 esac
39707 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39708 mkdir ${D}dirname
2057db16 39709 if [] ${D}? -ne 0 []; then
473276a9
VS
39710 echo "Failed to create subdirectory ./${D}dirname"
39711 CleanUp
39712 exit 8;
39713 fi
39714 # Append '!' to indicate archive
39715 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39716 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39717 cd ${D}curDir
39718 found=0;
39719 for subfile in ${D}dirname/*.o* ; do
2057db16 39720 if [] -f ${D}subfile []; then
473276a9 39721 found=1
2057db16 39722 if [] -s ${D}subfile []; then
473276a9
VS
39723 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39724 newInputFiles="${D}newInputFiles ${D}subfile"
39725 fi
39726 fi
39727 done
2057db16 39728 if [] ${D}found -eq 0 []; then
473276a9
VS
39729 echo "WARNING: there are no files in archive \'${D}file\'"
39730 fi
39731 ;;
39732 *)
39733 newInputFiles="${D}{newInputFiles} ${D}file"
39734 ;;
39735 esac
39736done
39737inputFiles="${D}newInputFiles"
39738
39739# Output filename(s).
39740do_backup=0;
2057db16 39741if [] -z ${D}outFile []; then
473276a9
VS
39742 do_backup=1;
39743 set outFile ${D}inputFiles; outFile=${D}2
39744fi
39745
39746# If it is an archive, remove the '!' and the '_%' suffixes
39747case ${D}outFile in
39748*_%!)
39749 outFile=\`basnam ${D}outFile _%!\`
39750 ;;
39751*)
39752 ;;
39753esac
39754case ${D}outFile in
39755*.dll)
39756 outFile=\`basnam ${D}outFile .dll\`
39757 ;;
39758*.DLL)
39759 outFile=\`basnam ${D}outFile .DLL\`
39760 ;;
39761*.o)
39762 outFile=\`basnam ${D}outFile .o\`
39763 ;;
39764*.obj)
39765 outFile=\`basnam ${D}outFile .obj\`
39766 ;;
39767*.a)
39768 outFile=\`basnam ${D}outFile .a\`
39769 ;;
39770*.lib)
39771 outFile=\`basnam ${D}outFile .lib\`
39772 ;;
39773*)
39774 ;;
39775esac
39776case ${D}outimpFile in
39777*.a)
39778 outimpFile=\`basnam ${D}outimpFile .a\`
39779 ;;
39780*.lib)
39781 outimpFile=\`basnam ${D}outimpFile .lib\`
39782 ;;
39783*)
39784 ;;
39785esac
2057db16 39786if [] -z ${D}outimpFile []; then
473276a9
VS
39787 outimpFile=${D}outFile
39788fi
39789defFile="${D}{outFile}.def"
39790arcFile="${D}{outimpFile}.a"
39791arcFile2="${D}{outimpFile}.lib"
39792dllFile="${D}outFile"
39793# Add suffix to dllFile later, first we need a version to use as
39794# name in .def file.
39795
2057db16
VS
39796if [] ${D}do_backup -ne 0 [] ; then
39797 if [] -f ${D}arcFile [] ; then
473276a9
VS
39798 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39799 fi
2057db16 39800 if [] -f ${D}arcFile2 [] ; then
473276a9
VS
39801 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39802 fi
39803fi
39804
39805# Extract public symbols from all the object files.
39806tmpdefFile=${D}{defFile}_%
39807rm -f ${D}tmpdefFile
39808for file in ${D}inputFiles ; do
39809 case ${D}file in
39810 *!)
39811 ;;
39812 *)
39813 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39814 ;;
39815 esac
39816done
39817
39818# Create the def file.
39819rm -f ${D}defFile
39820echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39821dllFile="${D}dllFile.dll"
2057db16 39822if [] -n ${D}description []; then
473276a9
VS
39823 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39824fi
39825echo "EXPORTS" >> ${D}defFile
39826
39827doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39828grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39829
39830# Checks if the export is ok or not.
39831for word in ${D}exclude_symbols; do
39832 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39833 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39834done
39835
39836
2057db16 39837if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
473276a9
VS
39838 sed "=" < ${D}tmpdefFile | \
39839 sed '
39840 N
39841 : loop
2057db16 39842 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
473276a9
VS
39843 t loop
39844 ' > ${D}{tmpdefFile}%
39845 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39846else
39847 rm -f ${D}{tmpdefFile}%
39848fi
39849cat ${D}tmpdefFile >> ${D}defFile
39850rm -f ${D}tmpdefFile
39851
39852# Do linking, create implib, and apply lxlite.
39853gccCmdl="";
39854for file in ${D}inputFiles ; do
39855 case ${D}file in
39856 *!)
39857 ;;
39858 *)
39859 gccCmdl="${D}gccCmdl ${D}file"
39860 ;;
39861 esac
39862done
39863doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39864touch "${D}{outFile}.dll"
39865
39866doCommand "emximp -o ${D}arcFile ${D}defFile"
2057db16 39867if [] ${D}flag_USE_LXLITE -ne 0 []; then
473276a9 39868 add_flags="";
2057db16 39869 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
473276a9
VS
39870 add_flags="-ynd"
39871 fi
39872 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39873fi
39874doCommand "emxomf -s -l ${D}arcFile"
39875
39876# Successful exit.
39877CleanUp 1
39878exit 0
39879EOF
39880
39881 chmod +x dllar.sh
a848cd7e
SC
39882 ;;
39883
39884 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39885 *-*-sunos4* | \
39886 *-*-osf* | \
39887 *-*-dgux5* | \
39888 *-*-sysv5* )
39889 ;;
39890
39891 *)
39892 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39893echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39894 { (exit 1); exit 1; }; }
39895 esac
39896
2057db16
VS
39897 if test "x$PIC_FLAG" != "x" ; then
39898 PIC_FLAG="$PIC_FLAG -DPIC"
39899 fi
39900
a848cd7e
SC
39901 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39902 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39903 fi
39904 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39905 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39906 fi
39907
39908
39909
39910
39911
39912
39913
39914
39915 USE_SOVERSION=0
39916 USE_SOVERLINUX=0
39917 USE_SOVERSOLARIS=0
39918 USE_SOSYMLINKS=0
39919 USE_MACVERSION=0
39920 SONAME_FLAG=
39921
39922 case "${BAKEFILE_HOST}" in
39923 *-*-linux* )
39924 SONAME_FLAG="-Wl,-soname,"
39925 USE_SOVERSION=1
39926 USE_SOVERLINUX=1
39927 USE_SOSYMLINKS=1
39928 ;;
39929
39930 *-*-solaris2* )
39931 SONAME_FLAG="-h "
39932 USE_SOVERSION=1
39933 USE_SOVERSOLARIS=1
39934 USE_SOSYMLINKS=1
39935 ;;
39936
39937 *-*-darwin* )
39938 USE_MACVERSION=1
39939 USE_SOVERSION=1
39940 USE_SOSYMLINKS=1
39941 ;;
39942 esac
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39953echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39954 DEPS_TRACKING=0
39955
39956 if test "x$GCC" = "xyes"; then
39957 DEPSMODE=gcc
39958 DEPS_TRACKING=1
39959 case "${BAKEFILE_HOST}" in
39960 powerpc-*-darwin* )
39961 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39962 ;;
39963 * )
39964 DEPSFLAG_GCC="-MMD"
39965 ;;
39966 esac
39967 echo "$as_me:$LINENO: result: gcc" >&5
39968echo "${ECHO_T}gcc" >&6
39969 else
39970 echo "$as_me:$LINENO: result: none" >&5
39971echo "${ECHO_T}none" >&6
39972 fi
39973
39974 if test $DEPS_TRACKING = 1 ; then
473276a9
VS
39975
39976D='$'
39977cat <<EOF >bk-deps
a848cd7e
SC
39978#!/bin/sh
39979
39980# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39981# script. It is used to track C/C++ files dependencies in portable way.
39982#
39983# Permission is given to use this file in any way.
39984
473276a9 39985DEPSMODE=${DEPSMODE}
a848cd7e 39986DEPSDIR=.deps
473276a9 39987DEPSFLAG_GCC="${DEPSFLAG_GCC}"
a848cd7e 39988
473276a9 39989mkdir -p ${D}DEPSDIR
a848cd7e 39990
473276a9
VS
39991if test ${D}DEPSMODE = gcc ; then
39992 ${D}* ${D}{DEPSFLAG_GCC}
39993 status=${D}?
39994 if test ${D}{status} != 0 ; then
39995 exit ${D}{status}
a848cd7e
SC
39996 fi
39997 # move created file to the location we want it in:
473276a9
VS
39998 while test ${D}# -gt 0; do
39999 case "${D}1" in
a848cd7e
SC
40000 -o )
40001 shift
473276a9 40002 objfile=${D}1
a848cd7e
SC
40003 ;;
40004 -* )
40005 ;;
40006 * )
473276a9 40007 srcfile=${D}1
a848cd7e
SC
40008 ;;
40009 esac
40010 shift
40011 done
473276a9
VS
40012 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
40013 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
40014 if test -f ${D}depfile ; then
40015 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40016 rm -f ${D}depfile
a848cd7e 40017 else
473276a9
VS
40018 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
40019 if test -f ${D}depfile ; then
40020 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40021 rm -f ${D}depfile
a848cd7e
SC
40022 fi
40023 fi
40024 exit 0
40025else
473276a9
VS
40026 ${D}*
40027 exit ${D}?
a848cd7e
SC
40028fi
40029EOF
473276a9 40030
a848cd7e
SC
40031 chmod +x bk-deps
40032 fi
40033
40034
40035
40036
40037 RESCOMP=
40038 SETFILE=
40039
40040 case ${BAKEFILE_HOST} in
40041 *-*-cygwin* | *-*-mingw32* )
40042 if test "$build" != "$host" ; then
40043 RESCOMP=$host_alias-windres
40044 else
40045 # Extract the first word of "windres", so it can be a program name with args.
40046set dummy windres; ac_word=$2
40047echo "$as_me:$LINENO: checking for $ac_word" >&5
40048echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40049if test "${ac_cv_prog_RESCOMP+set}" = set; then
40050 echo $ECHO_N "(cached) $ECHO_C" >&6
40051else
40052 if test -n "$RESCOMP"; then
40053 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40054else
40055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40056for as_dir in $PATH
40057do
40058 IFS=$as_save_IFS
40059 test -z "$as_dir" && as_dir=.
40060 for ac_exec_ext in '' $ac_executable_extensions; do
40061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40062 ac_cv_prog_RESCOMP="windres"
40063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40064 break 2
40065 fi
40066done
40067done
40068
40069 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
40070fi
40071fi
40072RESCOMP=$ac_cv_prog_RESCOMP
40073if test -n "$RESCOMP"; then
40074 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40075echo "${ECHO_T}$RESCOMP" >&6
40076else
40077 echo "$as_me:$LINENO: result: no" >&5
40078echo "${ECHO_T}no" >&6
40079fi
40080
40081 fi
40082 ;;
40083
40084 *-*-darwin* )
40085 # Extract the first word of "Rez", so it can be a program name with args.
40086set dummy Rez; ac_word=$2
40087echo "$as_me:$LINENO: checking for $ac_word" >&5
40088echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40089if test "${ac_cv_prog_RESCOMP+set}" = set; then
40090 echo $ECHO_N "(cached) $ECHO_C" >&6
40091else
40092 if test -n "$RESCOMP"; then
40093 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40094else
40095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40096for as_dir in $PATH
40097do
40098 IFS=$as_save_IFS
40099 test -z "$as_dir" && as_dir=.
40100 for ac_exec_ext in '' $ac_executable_extensions; do
40101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40102 ac_cv_prog_RESCOMP="Rez"
40103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40104 break 2
40105 fi
40106done
40107done
40108
40109 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
40110fi
40111fi
40112RESCOMP=$ac_cv_prog_RESCOMP
40113if test -n "$RESCOMP"; then
40114 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40115echo "${ECHO_T}$RESCOMP" >&6
40116else
40117 echo "$as_me:$LINENO: result: no" >&5
40118echo "${ECHO_T}no" >&6
40119fi
40120
40121 # Extract the first word of "SetFile", so it can be a program name with args.
40122set dummy SetFile; ac_word=$2
40123echo "$as_me:$LINENO: checking for $ac_word" >&5
40124echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40125if test "${ac_cv_prog_SETFILE+set}" = set; then
40126 echo $ECHO_N "(cached) $ECHO_C" >&6
40127else
40128 if test -n "$SETFILE"; then
40129 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40130else
40131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40132for as_dir in $PATH
40133do
40134 IFS=$as_save_IFS
40135 test -z "$as_dir" && as_dir=.
40136 for ac_exec_ext in '' $ac_executable_extensions; do
40137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40138 ac_cv_prog_SETFILE="SetFile"
40139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40140 break 2
40141 fi
40142done
40143done
40144
40145 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40146fi
40147fi
40148SETFILE=$ac_cv_prog_SETFILE
40149if test -n "$SETFILE"; then
40150 echo "$as_me:$LINENO: result: $SETFILE" >&5
40151echo "${ECHO_T}$SETFILE" >&6
40152else
40153 echo "$as_me:$LINENO: result: no" >&5
40154echo "${ECHO_T}no" >&6
40155fi
40156
40157 ;;
40158 esac
40159
40160
40161
40162
40163
2057db16 40164 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
a848cd7e 40165
dcc1b6ad 40166
a49baeab 40167
9f45f08e 40168BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
a848cd7e 40169
646b6ec1 40170
74b84332 40171
a848cd7e
SC
40172 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40173if test "${enable_precomp_headers+set}" = set; then
40174 enableval="$enable_precomp_headers"
40175 bk_use_pch="$enableval"
40176fi;
40177
40178 GCC_PCH=0
40179
40180 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40181 if test "x$GCC" = "xyes"; then
40182 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40183echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40184 cat >conftest.$ac_ext <<_ACEOF
40185/* confdefs.h. */
40186_ACEOF
40187cat confdefs.h >>conftest.$ac_ext
40188cat >>conftest.$ac_ext <<_ACEOF
40189/* end confdefs.h. */
40190
40191int
40192main ()
40193{
40194
40195 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40196 #error "no pch support"
40197 #endif
40198 #if (__GNUC__ < 3)
40199 #error "no pch support"
40200 #endif
40201 #if (__GNUC__ == 3) && \
40202 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40203 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40204 #error "no pch support"
40205 #endif
40206
40207 ;
40208 return 0;
40209}
40210_ACEOF
40211rm -f conftest.$ac_objext
40212if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 40213 (eval $ac_compile) 2>conftest.er1
a848cd7e 40214 ac_status=$?
ac1cb8d3
VS
40215 grep -v '^ *+' conftest.er1 >conftest.err
40216 rm -f conftest.er1
40217 cat conftest.err >&5
a848cd7e
SC
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); } &&
fc480dc1
DE
40220 { ac_try='test -z "$ac_c_werror_flag"
40221 || test ! -s conftest.err'
ac1cb8d3
VS
40222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40223 (eval $ac_try) 2>&5
40224 ac_status=$?
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); }; } &&
40227 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
40228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40229 (eval $ac_try) 2>&5
40230 ac_status=$?
40231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40232 (exit $ac_status); }; }; then
40233
40234 echo "$as_me:$LINENO: result: yes" >&5
40235echo "${ECHO_T}yes" >&6
a848cd7e
SC
40236 GCC_PCH=1
40237
40238else
40239 echo "$as_me: failed program was:" >&5
40240sed 's/^/| /' conftest.$ac_ext >&5
40241
40242
40243 echo "$as_me:$LINENO: result: no" >&5
40244echo "${ECHO_T}no" >&6
40245
40246fi
ac1cb8d3 40247rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
40248 if test $GCC_PCH = 1 ; then
40249 cat <<EOF >bk-make-pch
40250#!/bin/sh
40251
40252# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40253# script. It is used to generated precompiled headers.
40254#
40255# Permission is given to use this file in any way.
40256
40257outfile="\${1}"
40258header="\${2}"
40259shift
40260shift
40261
40262compiler=
40263headerfile=
40264while test \${#} -gt 0; do
40265 case "\${1}" in
40266 -I* )
40267 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40268 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40269 headerfile="\${incdir}/\${header}"
40270 fi
40271 ;;
40272 esac
40273 compiler="\${compiler} \${1}"
40274 shift
40275done
40276
40277if test "x\${headerfile}" = "x" ; then
40278 echo "error: can't find header \${header} in include paths" >2
40279else
40280 if test -f \${outfile} ; then
40281 rm -f \${outfile}
40282 else
40283 mkdir -p \`dirname \${outfile}\`
40284 fi
40285 depsfile=".deps/\`basename \${outfile}\`.d"
40286 mkdir -p .deps
40287 # can do this because gcc is >= 3.4:
40288 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40289 exit \${?}
40290fi
40291EOF
40292 chmod +x bk-make-pch
40293 fi
40294 fi
40295 fi
40296
40297
40298
40299
40300
dcc1b6ad
VS
40301
40302
40303 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40304if test "${enable_precomp_headers+set}" = set; then
40305 enableval="$enable_precomp_headers"
40306 bk_use_pch="$enableval"
40307fi;
40308
40309 GCC_PCH=0
40310
40311 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40312 if test "x$GCC" = "xyes"; then
40313 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40314echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40315 cat >conftest.$ac_ext <<_ACEOF
40316/* confdefs.h. */
40317_ACEOF
40318cat confdefs.h >>conftest.$ac_ext
40319cat >>conftest.$ac_ext <<_ACEOF
40320/* end confdefs.h. */
40321
40322int
40323main ()
40324{
40325
40326 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40327 #error "no pch support"
40328 #endif
40329 #if (__GNUC__ < 3)
40330 #error "no pch support"
40331 #endif
40332 #if (__GNUC__ == 3) && \
40333 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40334 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40335 #error "no pch support"
40336 #endif
40337
40338 ;
40339 return 0;
40340}
40341_ACEOF
40342rm -f conftest.$ac_objext
40343if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 40344 (eval $ac_compile) 2>conftest.er1
dcc1b6ad 40345 ac_status=$?
ac1cb8d3
VS
40346 grep -v '^ *+' conftest.er1 >conftest.err
40347 rm -f conftest.er1
40348 cat conftest.err >&5
dcc1b6ad
VS
40349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40350 (exit $ac_status); } &&
fc480dc1
DE
40351 { ac_try='test -z "$ac_c_werror_flag"
40352 || test ! -s conftest.err'
ac1cb8d3
VS
40353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40354 (eval $ac_try) 2>&5
40355 ac_status=$?
40356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357 (exit $ac_status); }; } &&
40358 { ac_try='test -s conftest.$ac_objext'
dcc1b6ad
VS
40359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40360 (eval $ac_try) 2>&5
40361 ac_status=$?
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); }; }; then
40364
40365 echo "$as_me:$LINENO: result: yes" >&5
40366echo "${ECHO_T}yes" >&6
dcc1b6ad
VS
40367 GCC_PCH=1
40368
40369else
40370 echo "$as_me: failed program was:" >&5
40371sed 's/^/| /' conftest.$ac_ext >&5
40372
40373
40374 echo "$as_me:$LINENO: result: no" >&5
40375echo "${ECHO_T}no" >&6
40376
40377fi
ac1cb8d3 40378rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
dcc1b6ad
VS
40379 if test $GCC_PCH = 1 ; then
40380 cat <<EOF >bk-make-pch
40381#!/bin/sh
40382
40383# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40384# script. It is used to generated precompiled headers.
40385#
40386# Permission is given to use this file in any way.
40387
40388outfile="\${1}"
40389header="\${2}"
40390shift
40391shift
40392
40393compiler=
40394headerfile=
40395while test \${#} -gt 0; do
40396 case "\${1}" in
40397 -I* )
40398 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40399 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40400 headerfile="\${incdir}/\${header}"
40401 fi
40402 ;;
40403 esac
40404 compiler="\${compiler} \${1}"
40405 shift
40406done
40407
40408if test "x\${headerfile}" = "x" ; then
40409 echo "error: can't find header \${header} in include paths" >2
40410else
40411 if test -f \${outfile} ; then
40412 rm -f \${outfile}
40413 else
40414 mkdir -p \`dirname \${outfile}\`
40415 fi
40416 depsfile=".deps/\`basename \${outfile}\`.d"
40417 mkdir -p .deps
40418 # can do this because gcc is >= 3.4:
40419 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40420 exit \${?}
40421fi
40422EOF
40423 chmod +x bk-make-pch
40424 fi
40425 fi
40426 fi
40427
40428
40429
a848cd7e
SC
40430 COND_BUILD_DEBUG="#"
40431 if test "x$BUILD" = "xdebug" ; then
40432 COND_BUILD_DEBUG=""
40433 fi
40434
40435 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40436 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40437 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40438 fi
40439
40440 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40441 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40442 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40443 fi
40444
40445 COND_BUILD_DEBUG_UNICODE_0="#"
40446 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40447 COND_BUILD_DEBUG_UNICODE_0=""
40448 fi
40449
40450 COND_BUILD_DEBUG_UNICODE_1="#"
40451 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40452 COND_BUILD_DEBUG_UNICODE_1=""
40453 fi
40454
40455 COND_BUILD_RELEASE="#"
40456 if test "x$BUILD" = "xrelease" ; then
40457 COND_BUILD_RELEASE=""
40458 fi
40459
40460 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40461 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40462 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40463 fi
40464
40465 COND_BUILD_RELEASE_UNICODE_0="#"
40466 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40467 COND_BUILD_RELEASE_UNICODE_0=""
40468 fi
40469
40470 COND_BUILD_RELEASE_UNICODE_1="#"
40471 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40472 COND_BUILD_RELEASE_UNICODE_1=""
40473 fi
40474
40475 COND_DEBUG_FLAG_1="#"
40476 if test "x$DEBUG_FLAG" = "x1" ; then
40477 COND_DEBUG_FLAG_1=""
40478 fi
40479
40480 COND_DEBUG_INFO_0="#"
40481 if test "x$DEBUG_INFO" = "x0" ; then
40482 COND_DEBUG_INFO_0=""
40483 fi
40484
40485 COND_DEBUG_INFO_1="#"
40486 if test "x$DEBUG_INFO" = "x1" ; then
40487 COND_DEBUG_INFO_1=""
40488 fi
40489
40490 COND_DEPS_TRACKING_0="#"
40491 if test "x$DEPS_TRACKING" = "x0" ; then
40492 COND_DEPS_TRACKING_0=""
40493 fi
40494
40495 COND_DEPS_TRACKING_1="#"
40496 if test "x$DEPS_TRACKING" = "x1" ; then
40497 COND_DEPS_TRACKING_1=""
40498 fi
40499
40500 COND_GCC_PCH_1="#"
40501 if test "x$GCC_PCH" = "x1" ; then
40502 COND_GCC_PCH_1=""
40503 fi
40504
40505 COND_MONOLITHIC_0="#"
40506 if test "x$MONOLITHIC" = "x0" ; then
40507 COND_MONOLITHIC_0=""
40508 fi
40509
40510 COND_MONOLITHIC_0_SHARED_0="#"
40511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40512 COND_MONOLITHIC_0_SHARED_0=""
40513 fi
40514
40515 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40517 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40518 fi
40519
40520 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40522 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40523 fi
40524
40525 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40527 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40528 fi
40529
40530 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40532 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40533 fi
40534
ceec2216
RL
40535 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40537 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40538 fi
40539
a848cd7e
SC
40540 COND_MONOLITHIC_0_SHARED_1="#"
40541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40542 COND_MONOLITHIC_0_SHARED_1=""
40543 fi
40544
40545 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40548 fi
40549
40550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40552 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40553 fi
40554
40555 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40557 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40558 fi
40559
40560 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40562 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40563 fi
40564
ceec2216
RL
40565 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40567 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40568 fi
40569
a848cd7e
SC
40570 COND_MONOLITHIC_0_USE_ODBC_1="#"
40571 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40572 COND_MONOLITHIC_0_USE_ODBC_1=""
40573 fi
40574
40575 COND_MONOLITHIC_1="#"
40576 if test "x$MONOLITHIC" = "x1" ; then
40577 COND_MONOLITHIC_1=""
40578 fi
40579
40580 COND_MONOLITHIC_1_SHARED_0="#"
40581 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40582 COND_MONOLITHIC_1_SHARED_0=""
40583 fi
40584
40585 COND_MONOLITHIC_1_SHARED_1="#"
40586 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40587 COND_MONOLITHIC_1_SHARED_1=""
40588 fi
40589
40590 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40591 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40592 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40593 fi
40594
40595 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40596 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40597 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40598 fi
40599
40600 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40601 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40602 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40603 fi
40604
40605 COND_PLATFORM_MACOSX_1="#"
40606 if test "x$PLATFORM_MACOSX" = "x1" ; then
40607 COND_PLATFORM_MACOSX_1=""
40608 fi
40609
a30f955f
VS
40610 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40611 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40612 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40613 fi
40614
a848cd7e
SC
40615 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40616 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40617 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40618 fi
40619
40620 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40621 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40622 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40623 fi
40624
40625 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40626 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40627 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40628 fi
40629
fc480dc1
DE
40630 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
40631 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40632 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
40633 fi
40634
ebee3cd0
VS
40635 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40636 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40637 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40638 fi
40639
40640 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40641 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40642 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40643 fi
40644
a848cd7e
SC
40645 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40646 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40647 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40648 fi
40649
40650 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40651 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40652 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40653 fi
40654
b48a2016
DE
40655 COND_PLATFORM_MACOS_1="#"
40656 if test "x$PLATFORM_MACOS" = "x1" ; then
40657 COND_PLATFORM_MACOS_1=""
40658 fi
40659
a848cd7e
SC
40660 COND_PLATFORM_MAC_1="#"
40661 if test "x$PLATFORM_MAC" = "x1" ; then
40662 COND_PLATFORM_MAC_1=""
40663 fi
40664
40665 COND_PLATFORM_OS2_1="#"
40666 if test "x$PLATFORM_OS2" = "x1" ; then
40667 COND_PLATFORM_OS2_1=""
40668 fi
40669
40670 COND_PLATFORM_UNIX_0="#"
40671 if test "x$PLATFORM_UNIX" = "x0" ; then
40672 COND_PLATFORM_UNIX_0=""
40673 fi
40674
40675 COND_PLATFORM_UNIX_1="#"
40676 if test "x$PLATFORM_UNIX" = "x1" ; then
40677 COND_PLATFORM_UNIX_1=""
40678 fi
40679
40680 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40681 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40682 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40683 fi
40684
40685 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40686 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40687 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40688 fi
40689
40690 COND_PLATFORM_WIN32_0="#"
40691 if test "x$PLATFORM_WIN32" = "x0" ; then
40692 COND_PLATFORM_WIN32_0=""
40693 fi
40694
40695 COND_PLATFORM_WIN32_1="#"
40696 if test "x$PLATFORM_WIN32" = "x1" ; then
40697 COND_PLATFORM_WIN32_1=""
40698 fi
40699
40700 COND_SHARED_0="#"
40701 if test "x$SHARED" = "x0" ; then
40702 COND_SHARED_0=""
40703 fi
40704
ceec2216
RL
40705 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40706 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40707 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40708 fi
40709
40710 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40711 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40712 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40713 fi
40714
40715 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40716 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40717 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40718 fi
40719
a848cd7e
SC
40720 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40721 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40722 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40723 fi
40724
40725 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40726 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40727 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40728 fi
40729
40730 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40731 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40732 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40733 fi
40734
40735 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40736 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40737 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40738 fi
40739
40740 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40741 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40742 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40743 fi
40744
40745 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40746 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40747 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40748 fi
40749
40750 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40751 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40752 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40753 fi
40754
40755 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40756 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40757 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40758 fi
40759
40760 COND_SHARED_1="#"
40761 if test "x$SHARED" = "x1" ; then
40762 COND_SHARED_1=""
40763 fi
40764
40765 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40766 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40767 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40768 fi
40769
a30f955f
VS
40770 COND_TOOLKIT_="#"
40771 if test "x$TOOLKIT" = "x" ; then
40772 COND_TOOLKIT_=""
40773 fi
40774
a848cd7e
SC
40775 COND_TOOLKIT_COCOA="#"
40776 if test "x$TOOLKIT" = "xCOCOA" ; then
40777 COND_TOOLKIT_COCOA=""
40778 fi
40779
a49baeab
DE
40780 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40781 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40782 COND_TOOLKIT_COCOA_USE_GUI_1=""
40783 fi
40784
a848cd7e
SC
40785 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40786 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40787 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40788 fi
40789
40790 COND_TOOLKIT_GTK="#"
40791 if test "x$TOOLKIT" = "xGTK" ; then
40792 COND_TOOLKIT_GTK=""
40793 fi
40794
40795 COND_TOOLKIT_GTK_USE_GUI_1="#"
40796 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40797 COND_TOOLKIT_GTK_USE_GUI_1=""
40798 fi
40799
40800 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40801 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40802 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40803 fi
40804
40805 COND_TOOLKIT_MAC="#"
40806 if test "x$TOOLKIT" = "xMAC" ; then
40807 COND_TOOLKIT_MAC=""
40808 fi
40809
40810 COND_TOOLKIT_MAC_USE_GUI_1="#"
40811 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40812 COND_TOOLKIT_MAC_USE_GUI_1=""
40813 fi
40814
40815 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40816 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40817 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40818 fi
40819
40820 COND_TOOLKIT_MGL="#"
40821 if test "x$TOOLKIT" = "xMGL" ; then
40822 COND_TOOLKIT_MGL=""
40823 fi
40824
40825 COND_TOOLKIT_MGL_USE_GUI_1="#"
40826 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40827 COND_TOOLKIT_MGL_USE_GUI_1=""
40828 fi
40829
40830 COND_TOOLKIT_MOTIF="#"
40831 if test "x$TOOLKIT" = "xMOTIF" ; then
40832 COND_TOOLKIT_MOTIF=""
40833 fi
40834
40835 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40836 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40837 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40838 fi
40839
40840 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40841 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40842 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40843 fi
40844
40845 COND_TOOLKIT_MSW="#"
40846 if test "x$TOOLKIT" = "xMSW" ; then
40847 COND_TOOLKIT_MSW=""
40848 fi
40849
40850 COND_TOOLKIT_MSW_USE_GUI_1="#"
40851 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40852 COND_TOOLKIT_MSW_USE_GUI_1=""
40853 fi
40854
40855 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40856 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40857 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40858 fi
40859
40860 COND_TOOLKIT_PM="#"
40861 if test "x$TOOLKIT" = "xPM" ; then
40862 COND_TOOLKIT_PM=""
40863 fi
40864
40865 COND_TOOLKIT_PM_USE_GUI_1="#"
40866 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40867 COND_TOOLKIT_PM_USE_GUI_1=""
40868 fi
40869
40870 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40871 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40872 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40873 fi
40874
3fd9c298
DE
40875 COND_TOOLKIT_WINCE="#"
40876 if test "x$TOOLKIT" = "xWINCE" ; then
40877 COND_TOOLKIT_WINCE=""
40878 fi
40879
40880 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40881 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40882 COND_TOOLKIT_WINCE_USE_GUI_1=""
40883 fi
40884
40885 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40886 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40887 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40888 fi
40889
a848cd7e
SC
40890 COND_TOOLKIT_X11="#"
40891 if test "x$TOOLKIT" = "xX11" ; then
40892 COND_TOOLKIT_X11=""
40893 fi
40894
40895 COND_TOOLKIT_X11_USE_GUI_1="#"
40896 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40897 COND_TOOLKIT_X11_USE_GUI_1=""
40898 fi
40899
40900 COND_UNICODE_1="#"
40901 if test "x$UNICODE" = "x1" ; then
40902 COND_UNICODE_1=""
40903 fi
40904
40905 COND_USE_EXCEPTIONS_0="#"
40906 if test "x$USE_EXCEPTIONS" = "x0" ; then
40907 COND_USE_EXCEPTIONS_0=""
40908 fi
40909
40910 COND_USE_EXCEPTIONS_1="#"
40911 if test "x$USE_EXCEPTIONS" = "x1" ; then
40912 COND_USE_EXCEPTIONS_1=""
40913 fi
40914
40915 COND_USE_GUI_0="#"
40916 if test "x$USE_GUI" = "x0" ; then
40917 COND_USE_GUI_0=""
40918 fi
40919
40920 COND_USE_GUI_1="#"
40921 if test "x$USE_GUI" = "x1" ; then
40922 COND_USE_GUI_1=""
40923 fi
40924
40925 COND_USE_GUI_1_WXUNIV_0="#"
40926 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40927 COND_USE_GUI_1_WXUNIV_0=""
40928 fi
40929
40930 COND_USE_GUI_1_WXUNIV_1="#"
40931 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40932 COND_USE_GUI_1_WXUNIV_1=""
40933 fi
40934
40935 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40936 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40937 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40938 fi
40939
40940 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40941 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40942 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40943 fi
40944
40945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40946 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40948 fi
40949
ceec2216
RL
40950 COND_USE_ODBC_1="#"
40951 if test "x$USE_ODBC" = "x1" ; then
40952 COND_USE_ODBC_1=""
40953 fi
40954
ffa0583f
RL
40955 COND_USE_OPENGL_1="#"
40956 if test "x$USE_OPENGL" = "x1" ; then
40957 COND_USE_OPENGL_1=""
40958 fi
40959
a848cd7e
SC
40960 COND_USE_PLUGINS_0="#"
40961 if test "x$USE_PLUGINS" = "x0" ; then
40962 COND_USE_PLUGINS_0=""
40963 fi
40964
40965 COND_USE_SOSYMLINKS_1="#"
40966 if test "x$USE_SOSYMLINKS" = "x1" ; then
40967 COND_USE_SOSYMLINKS_1=""
40968 fi
40969
40970 COND_USE_SOVERLINUX_1="#"
40971 if test "x$USE_SOVERLINUX" = "x1" ; then
40972 COND_USE_SOVERLINUX_1=""
40973 fi
40974
40975 COND_USE_SOVERSION_0="#"
40976 if test "x$USE_SOVERSION" = "x0" ; then
40977 COND_USE_SOVERSION_0=""
40978 fi
40979
40980 COND_USE_SOVERSOLARIS_1="#"
40981 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40982 COND_USE_SOVERSOLARIS_1=""
40983 fi
40984
a13a7f89
RL
40985 COND_USE_XRC_1="#"
40986 if test "x$USE_XRC" = "x1" ; then
40987 COND_USE_XRC_1=""
40988 fi
40989
a848cd7e
SC
40990 COND_WITH_PLUGIN_SDL_1="#"
40991 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40992 COND_WITH_PLUGIN_SDL_1=""
40993 fi
40994
a848cd7e
SC
40995 COND_WXUNIV_1="#"
40996 if test "x$WXUNIV" = "x1" ; then
40997 COND_WXUNIV_1=""
40998 fi
40999
41000 COND_WXUSE_EXPAT_BUILTIN="#"
41001 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41002 COND_WXUSE_EXPAT_BUILTIN=""
41003 fi
41004
41005 COND_WXUSE_LIBJPEG_BUILTIN="#"
41006 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41007 COND_WXUSE_LIBJPEG_BUILTIN=""
41008 fi
41009
41010 COND_WXUSE_LIBPNG_BUILTIN="#"
41011 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41012 COND_WXUSE_LIBPNG_BUILTIN=""
41013 fi
41014
41015 COND_WXUSE_LIBTIFF_BUILTIN="#"
41016 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41017 COND_WXUSE_LIBTIFF_BUILTIN=""
41018 fi
41019
41020 COND_WXUSE_ODBC_BUILTIN="#"
41021 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41022 COND_WXUSE_ODBC_BUILTIN=""
41023 fi
41024
41025 COND_WXUSE_REGEX_BUILTIN="#"
41026 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41027 COND_WXUSE_REGEX_BUILTIN=""
41028 fi
41029
41030 COND_WXUSE_ZLIB_BUILTIN="#"
41031 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41032 COND_WXUSE_ZLIB_BUILTIN=""
41033 fi
41034
dcc1b6ad
VS
41035 COND_BUILD_DEBUG="#"
41036 if test "x$BUILD" = "xdebug" ; then
41037 COND_BUILD_DEBUG=""
41038 fi
41039
41040 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
41041 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41042 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
41043 fi
41044
41045 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
41046 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41047 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
41048 fi
41049
41050 COND_BUILD_DEBUG_UNICODE_0="#"
41051 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41052 COND_BUILD_DEBUG_UNICODE_0=""
41053 fi
41054
41055 COND_BUILD_DEBUG_UNICODE_1="#"
41056 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41057 COND_BUILD_DEBUG_UNICODE_1=""
41058 fi
41059
41060 COND_BUILD_RELEASE="#"
41061 if test "x$BUILD" = "xrelease" ; then
41062 COND_BUILD_RELEASE=""
41063 fi
41064
41065 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
41066 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41067 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
41068 fi
41069
41070 COND_BUILD_RELEASE_UNICODE_0="#"
41071 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41072 COND_BUILD_RELEASE_UNICODE_0=""
41073 fi
41074
41075 COND_BUILD_RELEASE_UNICODE_1="#"
41076 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41077 COND_BUILD_RELEASE_UNICODE_1=""
41078 fi
41079
41080 COND_DEBUG_FLAG_1="#"
41081 if test "x$DEBUG_FLAG" = "x1" ; then
41082 COND_DEBUG_FLAG_1=""
41083 fi
41084
41085 COND_DEBUG_INFO_0="#"
41086 if test "x$DEBUG_INFO" = "x0" ; then
41087 COND_DEBUG_INFO_0=""
41088 fi
41089
41090 COND_DEBUG_INFO_1="#"
41091 if test "x$DEBUG_INFO" = "x1" ; then
41092 COND_DEBUG_INFO_1=""
41093 fi
41094
41095 COND_DEPS_TRACKING_0="#"
41096 if test "x$DEPS_TRACKING" = "x0" ; then
41097 COND_DEPS_TRACKING_0=""
41098 fi
41099
41100 COND_DEPS_TRACKING_1="#"
41101 if test "x$DEPS_TRACKING" = "x1" ; then
41102 COND_DEPS_TRACKING_1=""
41103 fi
41104
41105 COND_GCC_PCH_1="#"
41106 if test "x$GCC_PCH" = "x1" ; then
41107 COND_GCC_PCH_1=""
41108 fi
41109
41110 COND_MONOLITHIC_0="#"
41111 if test "x$MONOLITHIC" = "x0" ; then
41112 COND_MONOLITHIC_0=""
41113 fi
41114
41115 COND_MONOLITHIC_0_SHARED_0="#"
41116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41117 COND_MONOLITHIC_0_SHARED_0=""
41118 fi
41119
41120 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
41121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41122 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
41123 fi
41124
41125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
41126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
41128 fi
41129
41130 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
41131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41132 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
41133 fi
41134
41135 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41137 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41138 fi
41139
9a8f0513
VS
41140 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
41141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41142 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
41143 fi
41144
dcc1b6ad
VS
41145 COND_MONOLITHIC_0_SHARED_1="#"
41146 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41147 COND_MONOLITHIC_0_SHARED_1=""
41148 fi
41149
41150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41153 fi
41154
41155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41158 fi
41159
41160 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
41161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41162 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
41163 fi
41164
41165 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41167 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41168 fi
41169
9a8f0513
VS
41170 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
41171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41172 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
41173 fi
41174
dcc1b6ad
VS
41175 COND_MONOLITHIC_0_USE_ODBC_1="#"
41176 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41177 COND_MONOLITHIC_0_USE_ODBC_1=""
41178 fi
41179
41180 COND_MONOLITHIC_1="#"
41181 if test "x$MONOLITHIC" = "x1" ; then
41182 COND_MONOLITHIC_1=""
41183 fi
41184
41185 COND_MONOLITHIC_1_SHARED_0="#"
41186 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41187 COND_MONOLITHIC_1_SHARED_0=""
41188 fi
41189
41190 COND_MONOLITHIC_1_SHARED_1="#"
41191 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41192 COND_MONOLITHIC_1_SHARED_1=""
41193 fi
41194
41195 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41196 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41197 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41198 fi
41199
41200 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41201 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41202 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41203 fi
41204
41205 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41206 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41207 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41208 fi
41209
41210 COND_PLATFORM_MACOSX_1="#"
41211 if test "x$PLATFORM_MACOSX" = "x1" ; then
41212 COND_PLATFORM_MACOSX_1=""
41213 fi
41214
41215 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41217 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41218 fi
41219
41220 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41222 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41223 fi
41224
41225 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41227 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41228 fi
41229
9a8f0513
VS
41230 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
41231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41232 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
41233 fi
41234
41235 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
41236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41237 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
41238 fi
41239
dcc1b6ad
VS
41240 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41242 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41243 fi
41244
41245 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41247 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41248 fi
41249
41250 COND_PLATFORM_MAC_1="#"
41251 if test "x$PLATFORM_MAC" = "x1" ; then
41252 COND_PLATFORM_MAC_1=""
41253 fi
41254
41255 COND_PLATFORM_OS2_1="#"
41256 if test "x$PLATFORM_OS2" = "x1" ; then
41257 COND_PLATFORM_OS2_1=""
41258 fi
41259
41260 COND_PLATFORM_UNIX_0="#"
41261 if test "x$PLATFORM_UNIX" = "x0" ; then
41262 COND_PLATFORM_UNIX_0=""
41263 fi
41264
41265 COND_PLATFORM_UNIX_1="#"
41266 if test "x$PLATFORM_UNIX" = "x1" ; then
41267 COND_PLATFORM_UNIX_1=""
41268 fi
41269
41270 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41271 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41272 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41273 fi
41274
41275 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41276 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41277 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41278 fi
41279
41280 COND_PLATFORM_WIN32_0="#"
41281 if test "x$PLATFORM_WIN32" = "x0" ; then
41282 COND_PLATFORM_WIN32_0=""
41283 fi
41284
41285 COND_PLATFORM_WIN32_1="#"
41286 if test "x$PLATFORM_WIN32" = "x1" ; then
41287 COND_PLATFORM_WIN32_1=""
41288 fi
41289
41290 COND_SHARED_0="#"
41291 if test "x$SHARED" = "x0" ; then
41292 COND_SHARED_0=""
41293 fi
41294
41295 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41296 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41297 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41298 fi
41299
41300 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41301 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41302 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41303 fi
41304
41305 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41306 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41307 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41308 fi
41309
41310 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41311 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41312 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41313 fi
41314
41315 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41316 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41317 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41318 fi
41319
41320 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41321 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41322 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41323 fi
41324
41325 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41326 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41327 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41328 fi
41329
41330 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41331 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41332 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41333 fi
41334
41335 COND_SHARED_1="#"
41336 if test "x$SHARED" = "x1" ; then
41337 COND_SHARED_1=""
41338 fi
41339
41340 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41341 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41342 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41343 fi
41344
41345 COND_TOOLKIT_COCOA="#"
41346 if test "x$TOOLKIT" = "xCOCOA" ; then
41347 COND_TOOLKIT_COCOA=""
41348 fi
41349
41350 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41351 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41352 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41353 fi
41354
41355 COND_TOOLKIT_GTK="#"
41356 if test "x$TOOLKIT" = "xGTK" ; then
41357 COND_TOOLKIT_GTK=""
41358 fi
41359
41360 COND_TOOLKIT_GTK_USE_GUI_1="#"
41361 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41362 COND_TOOLKIT_GTK_USE_GUI_1=""
41363 fi
41364
41365 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41366 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41367 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41368 fi
41369
41370 COND_TOOLKIT_MAC="#"
41371 if test "x$TOOLKIT" = "xMAC" ; then
41372 COND_TOOLKIT_MAC=""
41373 fi
41374
41375 COND_TOOLKIT_MAC_USE_GUI_1="#"
41376 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41377 COND_TOOLKIT_MAC_USE_GUI_1=""
41378 fi
41379
41380 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41381 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41382 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41383 fi
41384
9a8f0513
VS
41385 COND_TOOLKIT_MAC_WXUNIV_0="#"
41386 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41387 COND_TOOLKIT_MAC_WXUNIV_0=""
41388 fi
41389
dcc1b6ad
VS
41390 COND_TOOLKIT_MGL="#"
41391 if test "x$TOOLKIT" = "xMGL" ; then
41392 COND_TOOLKIT_MGL=""
41393 fi
41394
41395 COND_TOOLKIT_MGL_USE_GUI_1="#"
41396 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41397 COND_TOOLKIT_MGL_USE_GUI_1=""
41398 fi
41399
41400 COND_TOOLKIT_MOTIF="#"
41401 if test "x$TOOLKIT" = "xMOTIF" ; then
41402 COND_TOOLKIT_MOTIF=""
41403 fi
41404
41405 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41406 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41407 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41408 fi
41409
41410 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41411 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41412 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41413 fi
41414
41415 COND_TOOLKIT_MSW="#"
41416 if test "x$TOOLKIT" = "xMSW" ; then
41417 COND_TOOLKIT_MSW=""
41418 fi
41419
41420 COND_TOOLKIT_MSW_USE_GUI_1="#"
41421 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41422 COND_TOOLKIT_MSW_USE_GUI_1=""
41423 fi
41424
41425 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41426 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41427 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41428 fi
41429
9a8f0513
VS
41430 COND_TOOLKIT_MSW_WXUNIV_0="#"
41431 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41432 COND_TOOLKIT_MSW_WXUNIV_0=""
41433 fi
41434
dcc1b6ad
VS
41435 COND_TOOLKIT_PM="#"
41436 if test "x$TOOLKIT" = "xPM" ; then
41437 COND_TOOLKIT_PM=""
41438 fi
41439
41440 COND_TOOLKIT_PM_USE_GUI_1="#"
41441 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41442 COND_TOOLKIT_PM_USE_GUI_1=""
41443 fi
41444
41445 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41446 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41447 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41448 fi
41449
9a8f0513
VS
41450 COND_TOOLKIT_PM_WXUNIV_0="#"
41451 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41452 COND_TOOLKIT_PM_WXUNIV_0=""
41453 fi
41454
dcc1b6ad
VS
41455 COND_TOOLKIT_WINCE="#"
41456 if test "x$TOOLKIT" = "xWINCE" ; then
41457 COND_TOOLKIT_WINCE=""
41458 fi
41459
41460 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41461 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41462 COND_TOOLKIT_WINCE_USE_GUI_1=""
41463 fi
41464
41465 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41466 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41467 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41468 fi
41469
41470 COND_TOOLKIT_X11="#"
41471 if test "x$TOOLKIT" = "xX11" ; then
41472 COND_TOOLKIT_X11=""
41473 fi
41474
41475 COND_TOOLKIT_X11_USE_GUI_1="#"
41476 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41477 COND_TOOLKIT_X11_USE_GUI_1=""
41478 fi
41479
41480 COND_UNICODE_1="#"
41481 if test "x$UNICODE" = "x1" ; then
41482 COND_UNICODE_1=""
41483 fi
41484
41485 COND_USE_EXCEPTIONS_0="#"
41486 if test "x$USE_EXCEPTIONS" = "x0" ; then
41487 COND_USE_EXCEPTIONS_0=""
41488 fi
41489
41490 COND_USE_EXCEPTIONS_1="#"
41491 if test "x$USE_EXCEPTIONS" = "x1" ; then
41492 COND_USE_EXCEPTIONS_1=""
41493 fi
41494
41495 COND_USE_GUI_0="#"
41496 if test "x$USE_GUI" = "x0" ; then
41497 COND_USE_GUI_0=""
41498 fi
41499
41500 COND_USE_GUI_1="#"
41501 if test "x$USE_GUI" = "x1" ; then
41502 COND_USE_GUI_1=""
41503 fi
41504
41505 COND_USE_GUI_1_WXUNIV_0="#"
41506 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41507 COND_USE_GUI_1_WXUNIV_0=""
41508 fi
41509
41510 COND_USE_GUI_1_WXUNIV_1="#"
41511 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41512 COND_USE_GUI_1_WXUNIV_1=""
41513 fi
41514
41515 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41516 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41518 fi
41519
41520 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41521 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41523 fi
41524
41525 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41526 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41528 fi
41529
41530 COND_USE_ODBC_1="#"
41531 if test "x$USE_ODBC" = "x1" ; then
41532 COND_USE_ODBC_1=""
41533 fi
41534
41535 COND_USE_PLUGINS_0="#"
41536 if test "x$USE_PLUGINS" = "x0" ; then
41537 COND_USE_PLUGINS_0=""
41538 fi
41539
41540 COND_USE_SOSYMLINKS_1="#"
41541 if test "x$USE_SOSYMLINKS" = "x1" ; then
41542 COND_USE_SOSYMLINKS_1=""
41543 fi
41544
41545 COND_USE_SOVERLINUX_1="#"
41546 if test "x$USE_SOVERLINUX" = "x1" ; then
41547 COND_USE_SOVERLINUX_1=""
41548 fi
41549
41550 COND_USE_SOVERSION_0="#"
41551 if test "x$USE_SOVERSION" = "x0" ; then
41552 COND_USE_SOVERSION_0=""
41553 fi
41554
41555 COND_USE_SOVERSOLARIS_1="#"
41556 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41557 COND_USE_SOVERSOLARIS_1=""
41558 fi
41559
41560 COND_WITH_PLUGIN_SDL_1="#"
41561 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41562 COND_WITH_PLUGIN_SDL_1=""
41563 fi
41564
41565 COND_WXUNIV_1="#"
41566 if test "x$WXUNIV" = "x1" ; then
41567 COND_WXUNIV_1=""
41568 fi
41569
41570 COND_WXUSE_EXPAT_BUILTIN="#"
41571 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41572 COND_WXUSE_EXPAT_BUILTIN=""
41573 fi
41574
41575 COND_WXUSE_LIBJPEG_BUILTIN="#"
41576 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41577 COND_WXUSE_LIBJPEG_BUILTIN=""
41578 fi
41579
41580 COND_WXUSE_LIBPNG_BUILTIN="#"
41581 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41582 COND_WXUSE_LIBPNG_BUILTIN=""
41583 fi
41584
41585 COND_WXUSE_LIBTIFF_BUILTIN="#"
41586 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41587 COND_WXUSE_LIBTIFF_BUILTIN=""
41588 fi
41589
41590 COND_WXUSE_ODBC_BUILTIN="#"
41591 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41592 COND_WXUSE_ODBC_BUILTIN=""
41593 fi
41594
41595 COND_WXUSE_REGEX_BUILTIN="#"
41596 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41597 COND_WXUSE_REGEX_BUILTIN=""
41598 fi
41599
41600 COND_WXUSE_ZLIB_BUILTIN="#"
41601 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41602 COND_WXUSE_ZLIB_BUILTIN=""
41603 fi
41604
a848cd7e
SC
41605
41606
2057db16
VS
41607 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41608 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
41609echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
41610 { (exit 1); exit 1; }; }
41611 fi
41612
a848cd7e 41613
ceec2216
RL
41614if test "$wxUSE_SHARED" = "yes"; then
41615
41616 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41617 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41618
41619else
41620
41621 EXE_LINKER="$CXX -o"
41622
41623fi
a848cd7e 41624
74b84332 41625GCC_PRAGMA_FLAGS=""
a848cd7e 41626if test $GCC_PCH = 1 ; then
74b84332 41627 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
a848cd7e
SC
41628else
41629 case "${host}" in
41630 powerpc-*-darwin* )
74b84332 41631 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
a848cd7e 41632 ;;
bea8e651 41633 *-*-mingw32* )
1f344abf
VS
41634 if test "$wxUSE_STL" = "yes" -o \
41635 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41636 "$wxUSE_NO_RTTI" != "yes"; then
41637 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41638echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
bea8e651
MB
41639 cat >conftest.$ac_ext <<_ACEOF
41640/* confdefs.h. */
41641_ACEOF
41642cat confdefs.h >>conftest.$ac_ext
41643cat >>conftest.$ac_ext <<_ACEOF
41644/* end confdefs.h. */
41645
41646int
41647main ()
41648{
1f344abf 41649#if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
bea8e651
MB
41650 #error "Not GCC 3.2 or greater"
41651 #endif
41652
41653 ;
41654 return 0;
41655}
41656_ACEOF
41657rm -f conftest.$ac_objext
41658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 41659 (eval $ac_compile) 2>conftest.er1
bea8e651 41660 ac_status=$?
ac1cb8d3
VS
41661 grep -v '^ *+' conftest.er1 >conftest.err
41662 rm -f conftest.er1
41663 cat conftest.err >&5
bea8e651
MB
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } &&
fc480dc1
DE
41666 { ac_try='test -z "$ac_c_werror_flag"
41667 || test ! -s conftest.err'
ac1cb8d3
VS
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41670 ac_status=$?
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; } &&
41673 { ac_try='test -s conftest.$ac_objext'
bea8e651
MB
41674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41675 (eval $ac_try) 2>&5
41676 ac_status=$?
41677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41678 (exit $ac_status); }; }; then
74b84332 41679 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
bea8e651
MB
41680 echo "$as_me:$LINENO: result: yes" >&5
41681echo "${ECHO_T}yes" >&6
41682else
41683 echo "$as_me: failed program was:" >&5
41684sed 's/^/| /' conftest.$ac_ext >&5
41685
41686echo "$as_me:$LINENO: result: no" >&5
41687echo "${ECHO_T}no" >&6
41688fi
ac1cb8d3 41689rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bea8e651
MB
41690 fi
41691 ;;
a848cd7e
SC
41692 esac
41693fi
74b84332 41694CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
a848cd7e
SC
41695
41696
41697SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
41734
41735
41736
41737
41738
41739
a848cd7e
SC
41740
41741
41742
41743
41744
41745
41746
41747
41748
41749
41750
41751
41752
41753
41754
41755
41756
41757
74b84332 41758
a848cd7e
SC
41759
41760
41761echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41762echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
ac1cb8d3 41763set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
a848cd7e
SC
41764if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41765 echo $ECHO_N "(cached) $ECHO_C" >&6
41766else
41767 cat >conftest.make <<\_ACEOF
41768all:
41769 @echo 'ac_maketemp="$(MAKE)"'
41770_ACEOF
41771# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41772eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41773if test -n "$ac_maketemp"; then
41774 eval ac_cv_prog_make_${ac_make}_set=yes
41775else
41776 eval ac_cv_prog_make_${ac_make}_set=no
41777fi
41778rm -f conftest.make
41779fi
41780if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41781 echo "$as_me:$LINENO: result: yes" >&5
41782echo "${ECHO_T}yes" >&6
41783 SET_MAKE=
41784else
41785 echo "$as_me:$LINENO: result: no" >&5
41786echo "${ECHO_T}no" >&6
41787 SET_MAKE="MAKE=${MAKE-make}"
41788fi
41789
41790
a848cd7e 41791
ceec2216
RL
41792 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41793
a848cd7e 41794
ceec2216 41795 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
a848cd7e 41796
a848cd7e 41797
ceec2216 41798 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
a848cd7e 41799
ceec2216
RL
41800
41801 ac_config_files="$ac_config_files version-script Makefile"
41802
41803
41804 ac_config_commands="$ac_config_commands wx-config
41805 "
a848cd7e
SC
41806
41807
9103d280
RL
41808
41809
a848cd7e
SC
41810if test "$wxUSE_GUI" = "yes"; then
41811 SUBDIRS="samples demos utils contrib"
41812else SUBDIRS="samples utils"
41813fi
41814
41815
41816
41817# Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41818if test "${with_cppunit_prefix+set}" = set; then
41819 withval="$with_cppunit_prefix"
41820 cppunit_config_prefix="$withval"
41821else
41822 cppunit_config_prefix=""
41823fi;
41824
41825# Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41826if test "${with_cppunit_exec_prefix+set}" = set; then
41827 withval="$with_cppunit_exec_prefix"
41828 cppunit_config_exec_prefix="$withval"
41829else
41830 cppunit_config_exec_prefix=""
41831fi;
41832
41833 if test x$cppunit_config_exec_prefix != x ; then
41834 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41835 if test x${CPPUNIT_CONFIG+set} != xset ; then
41836 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41837 fi
41838 fi
41839 if test x$cppunit_config_prefix != x ; then
41840 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41841 if test x${CPPUNIT_CONFIG+set} != xset ; then
41842 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41843 fi
41844 fi
41845
41846 # Extract the first word of "cppunit-config", so it can be a program name with args.
41847set dummy cppunit-config; ac_word=$2
41848echo "$as_me:$LINENO: checking for $ac_word" >&5
41849echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41850if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41852else
41853 case $CPPUNIT_CONFIG in
41854 [\\/]* | ?:[\\/]*)
41855 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41856 ;;
41857 *)
41858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41859for as_dir in $PATH
41860do
41861 IFS=$as_save_IFS
41862 test -z "$as_dir" && as_dir=.
41863 for ac_exec_ext in '' $ac_executable_extensions; do
41864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41865 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41867 break 2
41868 fi
41869done
41870done
41871
41872 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41873 ;;
41874esac
41875fi
41876CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41877
41878if test -n "$CPPUNIT_CONFIG"; then
41879 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41880echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41881else
41882 echo "$as_me:$LINENO: result: no" >&5
41883echo "${ECHO_T}no" >&6
41884fi
41885
41886 cppunit_version_min=1.8.0
41887
41888 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41889echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41890 no_cppunit=""
41891 if test "$CPPUNIT_CONFIG" = "no" ; then
41892 no_cppunit=yes
41893 else
41894 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41895 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41896 cppunit_version=`$CPPUNIT_CONFIG --version`
41897
41898 cppunit_major_version=`echo $cppunit_version | \
41899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41900 cppunit_minor_version=`echo $cppunit_version | \
41901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41902 cppunit_micro_version=`echo $cppunit_version | \
41903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41904
41905 cppunit_major_min=`echo $cppunit_version_min | \
41906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41907 cppunit_minor_min=`echo $cppunit_version_min | \
41908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41909 cppunit_micro_min=`echo $cppunit_version_min | \
41910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41911
41912 cppunit_version_proper=`expr \
41913 $cppunit_major_version \> $cppunit_major_min \| \
41914 $cppunit_major_version \= $cppunit_major_min \& \
41915 $cppunit_minor_version \> $cppunit_minor_min \| \
41916 $cppunit_major_version \= $cppunit_major_min \& \
41917 $cppunit_minor_version \= $cppunit_minor_min \& \
41918 $cppunit_micro_version \>= $cppunit_micro_min `
41919
41920 if test "$cppunit_version_proper" = "1" ; then
41921 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41922echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41923 else
41924 echo "$as_me:$LINENO: result: no" >&5
41925echo "${ECHO_T}no" >&6
41926 no_cppunit=yes
41927 fi
41928 fi
41929
41930 if test "x$no_cppunit" = x ; then
c2218763 41931 SUBDIRS="$SUBDIRS tests"
a848cd7e
SC
41932 else
41933 CPPUNIT_CFLAGS=""
41934 CPPUNIT_LIBS=""
c2218763 41935 :
a848cd7e
SC
41936 fi
41937
41938
41939
41940
41941
41942for subdir in `echo $SUBDIRS`; do
41943 if test -d ${srcdir}/${subdir} ; then
41944 if test "$wxUSE_GUI" = "yes"; then
41945 if test ${subdir} = "samples"; then
41946 makefiles="samples/Makefile.in $makefiles"
41947 for sample in `echo $SAMPLES_SUBDIRS`; do
41948 if test -d $srcdir/samples/$sample; then
41949 makefiles="samples/$sample/Makefile.in $makefiles"
41950 fi
41951 done
41952 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41953 fi
41954 else if test ${subdir} = "samples"; then
41955 makefiles="samples/Makefile.in samples/console/Makefile.in"
41956 elif test ${subdir} = "utils"; then
6537ccf8
VS
41957 makefiles=""
41958 for util in HelpGen tex2rtf ; do
41959 if test -d $srcdir/utils/$util ; then
41960 makefiles="utils/$util/Makefile.in \
41961 utils/$util/src/Makefile.in \
41962 $makefiles"
41963 fi
41964 done
a848cd7e
SC
41965 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41966 fi
41967 fi
41968
41969 for mkin in $makefiles ; do
41970 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41971 ac_config_files="$ac_config_files $mk"
41972
41973 done
41974 fi
41975done
41976
41977
41978cat >confcache <<\_ACEOF
41979# This file is a shell script that caches the results of configure
41980# tests run on this system so they can be shared between configure
41981# scripts and configure runs, see configure's option --config-cache.
41982# It is not useful on other systems. If it contains results you don't
41983# want to keep, you may remove or edit it.
41984#
41985# config.status only pays attention to the cache file if you give it
41986# the --recheck option to rerun configure.
41987#
41988# `ac_cv_env_foo' variables (set or unset) will be overridden when
41989# loading this file, other *unset* `ac_cv_foo' will be assigned the
41990# following values.
41991
41992_ACEOF
41993
41994# The following way of writing the cache mishandles newlines in values,
41995# but we know of no workaround that is simple, portable, and efficient.
41996# So, don't put newlines in cache variables' values.
41997# Ultrix sh set writes to stderr and can't be redirected directly,
41998# and sets the high bit in the cache file unless we assign to the vars.
41999{
42000 (set) 2>&1 |
42001 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42002 *ac_space=\ *)
42003 # `set' does not quote correctly, so add quotes (double-quote
42004 # substitution turns \\\\ into \\, and sed turns \\ into \).
42005 sed -n \
ac1cb8d3
VS
42006 "s/'/'\\\\''/g;
42007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
42008 ;;
42009 *)
42010 # `set' quotes correctly as required by POSIX, so do not add quotes.
42011 sed -n \
ac1cb8d3 42012 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
42013 ;;
42014 esac;
42015} |
42016 sed '
42017 t clear
42018 : clear
42019 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42020 t end
42021 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42022 : end' >>confcache
42023if diff $cache_file confcache >/dev/null 2>&1; then :; else
42024 if test -w $cache_file; then
42025 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42026 cat confcache >$cache_file
42027 else
42028 echo "not updating unwritable cache $cache_file"
42029 fi
42030fi
42031rm -f confcache
42032
42033test "x$prefix" = xNONE && prefix=$ac_default_prefix
42034# Let make expand exec_prefix.
42035test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42036
42037# VPATH may cause trouble with some makes, so we remove $(srcdir),
42038# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42039# trailing colons and then remove the whole line if VPATH becomes empty
42040# (actually we leave an empty line to preserve line numbers).
42041if test "x$srcdir" = x.; then
ac1cb8d3 42042 ac_vpsub='/^[ ]*VPATH[ ]*=/{
a848cd7e
SC
42043s/:*\$(srcdir):*/:/;
42044s/:*\${srcdir}:*/:/;
42045s/:*@srcdir@:*/:/;
ac1cb8d3 42046s/^\([^=]*=[ ]*\):*/\1/;
a848cd7e 42047s/:*$//;
ac1cb8d3 42048s/^[^=]*=[ ]*$//;
a848cd7e
SC
42049}'
42050fi
42051
42052DEFS=-DHAVE_CONFIG_H
42053
42054ac_libobjs=
42055ac_ltlibobjs=
42056for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42057 # 1. Remove the extension, and $U if already installed.
42058 ac_i=`echo "$ac_i" |
ac1cb8d3 42059 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
a848cd7e
SC
42060 # 2. Add them.
42061 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
42062 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
42063done
42064LIBOBJS=$ac_libobjs
42065
42066LTLIBOBJS=$ac_ltlibobjs
42067
42068
42069
42070: ${CONFIG_STATUS=./config.status}
42071ac_clean_files_save=$ac_clean_files
42072ac_clean_files="$ac_clean_files $CONFIG_STATUS"
42073{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42074echo "$as_me: creating $CONFIG_STATUS" >&6;}
42075cat >$CONFIG_STATUS <<_ACEOF
42076#! $SHELL
42077# Generated by $as_me.
42078# Run this file to recreate the current configuration.
42079# Compiler output produced by configure, useful for debugging
42080# configure, is in config.log if it exists.
42081
42082debug=false
42083ac_cs_recheck=false
42084ac_cs_silent=false
42085SHELL=\${CONFIG_SHELL-$SHELL}
42086_ACEOF
42087
42088cat >>$CONFIG_STATUS <<\_ACEOF
42089## --------------------- ##
42090## M4sh Initialization. ##
42091## --------------------- ##
42092
42093# Be Bourne compatible
42094if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42095 emulate sh
42096 NULLCMD=:
42097 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42098 # is contrary to our usage. Disable this feature.
42099 alias -g '${1+"$@"}'='"$@"'
42100elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42101 set -o posix
42102fi
ac1cb8d3 42103DUALCASE=1; export DUALCASE # for MKS sh
a848cd7e
SC
42104
42105# Support unset when possible.
ac1cb8d3 42106if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
a848cd7e
SC
42107 as_unset=unset
42108else
42109 as_unset=false
42110fi
42111
42112
42113# Work around bugs in pre-3.0 UWIN ksh.
42114$as_unset ENV MAIL MAILPATH
42115PS1='$ '
42116PS2='> '
42117PS4='+ '
42118
42119# NLS nuisances.
42120for as_var in \
42121 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42122 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42123 LC_TELEPHONE LC_TIME
42124do
ac1cb8d3 42125 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a848cd7e
SC
42126 eval $as_var=C; export $as_var
42127 else
42128 $as_unset $as_var
42129 fi
42130done
42131
42132# Required to use basename.
42133if expr a : '\(a\)' >/dev/null 2>&1; then
42134 as_expr=expr
42135else
42136 as_expr=false
42137fi
42138
42139if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42140 as_basename=basename
42141else
42142 as_basename=false
42143fi
42144
42145
42146# Name of the executable.
42147as_me=`$as_basename "$0" ||
42148$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42149 X"$0" : 'X\(//\)$' \| \
42150 X"$0" : 'X\(/\)$' \| \
42151 . : '\(.\)' 2>/dev/null ||
42152echo X/"$0" |
42153 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42154 /^X\/\(\/\/\)$/{ s//\1/; q; }
42155 /^X\/\(\/\).*/{ s//\1/; q; }
42156 s/.*/./; q'`
42157
42158
42159# PATH needs CR, and LINENO needs CR and PATH.
42160# Avoid depending upon Character Ranges.
42161as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42162as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42163as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42164as_cr_digits='0123456789'
42165as_cr_alnum=$as_cr_Letters$as_cr_digits
42166
42167# The user is always right.
42168if test "${PATH_SEPARATOR+set}" != set; then
42169 echo "#! /bin/sh" >conf$$.sh
42170 echo "exit 0" >>conf$$.sh
42171 chmod +x conf$$.sh
42172 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42173 PATH_SEPARATOR=';'
42174 else
42175 PATH_SEPARATOR=:
42176 fi
42177 rm -f conf$$.sh
42178fi
42179
42180
42181 as_lineno_1=$LINENO
42182 as_lineno_2=$LINENO
42183 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42184 test "x$as_lineno_1" != "x$as_lineno_2" &&
42185 test "x$as_lineno_3" = "x$as_lineno_2" || {
42186 # Find who we are. Look in the path if we contain no path at all
42187 # relative or not.
42188 case $0 in
42189 *[\\/]* ) as_myself=$0 ;;
42190 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42191for as_dir in $PATH
42192do
42193 IFS=$as_save_IFS
42194 test -z "$as_dir" && as_dir=.
42195 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42196done
42197
42198 ;;
42199 esac
42200 # We did not find ourselves, most probably we were run as `sh COMMAND'
42201 # in which case we are not to be found in the path.
42202 if test "x$as_myself" = x; then
42203 as_myself=$0
42204 fi
42205 if test ! -f "$as_myself"; then
42206 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42207echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42208 { (exit 1); exit 1; }; }
42209 fi
42210 case $CONFIG_SHELL in
42211 '')
42212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42213for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42214do
42215 IFS=$as_save_IFS
42216 test -z "$as_dir" && as_dir=.
42217 for as_base in sh bash ksh sh5; do
42218 case $as_dir in
42219 /*)
42220 if ("$as_dir/$as_base" -c '
42221 as_lineno_1=$LINENO
42222 as_lineno_2=$LINENO
42223 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42224 test "x$as_lineno_1" != "x$as_lineno_2" &&
42225 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42226 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42227 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42228 CONFIG_SHELL=$as_dir/$as_base
42229 export CONFIG_SHELL
42230 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42231 fi;;
42232 esac
42233 done
42234done
42235;;
42236 esac
42237
42238 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42239 # uniformly replaced by the line number. The first 'sed' inserts a
42240 # line-number line before each line; the second 'sed' does the real
42241 # work. The second script uses 'N' to pair each line-number line
42242 # with the numbered line, and appends trailing '-' during
42243 # substitution so that $LINENO is not a special case at line end.
42244 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42245 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42246 sed '=' <$as_myself |
42247 sed '
42248 N
42249 s,$,-,
42250 : loop
42251 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42252 t loop
42253 s,-$,,
42254 s,^['$as_cr_digits']*\n,,
42255 ' >$as_me.lineno &&
42256 chmod +x $as_me.lineno ||
42257 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42258echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42259 { (exit 1); exit 1; }; }
42260
42261 # Don't try to exec as it changes $[0], causing all sort of problems
42262 # (the dirname of $[0] is not the place where we might find the
42263 # original and so on. Autoconf is especially sensible to this).
42264 . ./$as_me.lineno
42265 # Exit status is that of the last command.
42266 exit
42267}
42268
42269
42270case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42271 *c*,-n*) ECHO_N= ECHO_C='
42272' ECHO_T=' ' ;;
42273 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42274 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42275esac
42276
42277if expr a : '\(a\)' >/dev/null 2>&1; then
42278 as_expr=expr
42279else
42280 as_expr=false
42281fi
42282
42283rm -f conf$$ conf$$.exe conf$$.file
42284echo >conf$$.file
42285if ln -s conf$$.file conf$$ 2>/dev/null; then
42286 # We could just check for DJGPP; but this test a) works b) is more generic
42287 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42288 if test -f conf$$.exe; then
42289 # Don't use ln at all; we don't have any links
42290 as_ln_s='cp -p'
42291 else
42292 as_ln_s='ln -s'
42293 fi
42294elif ln conf$$.file conf$$ 2>/dev/null; then
42295 as_ln_s=ln
42296else
42297 as_ln_s='cp -p'
42298fi
42299rm -f conf$$ conf$$.exe conf$$.file
42300
42301if mkdir -p . 2>/dev/null; then
42302 as_mkdir_p=:
42303else
ac1cb8d3 42304 test -d ./-p && rmdir ./-p
a848cd7e
SC
42305 as_mkdir_p=false
42306fi
42307
42308as_executable_p="test -f"
42309
42310# Sed expression to map a string onto a valid CPP name.
ac1cb8d3 42311as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
42312
42313# Sed expression to map a string onto a valid variable name.
ac1cb8d3 42314as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
42315
42316
42317# IFS
42318# We need space, tab and new line, in precisely that order.
42319as_nl='
42320'
42321IFS=" $as_nl"
42322
42323# CDPATH.
42324$as_unset CDPATH
42325
42326exec 6>&1
42327
42328# Open the log real soon, to keep \$[0] and so on meaningful, and to
42329# report actual input values of CONFIG_FILES etc. instead of their
42330# values after options handling. Logging --version etc. is OK.
42331exec 5>>config.log
42332{
42333 echo
42334 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42335## Running $as_me. ##
42336_ASBOX
42337} >&5
42338cat >&5 <<_CSEOF
42339
7714864e 42340This file was extended by wxWidgets $as_me 2.5.3, which was
ac1cb8d3 42341generated by GNU Autoconf 2.59. Invocation command line was
a848cd7e
SC
42342
42343 CONFIG_FILES = $CONFIG_FILES
42344 CONFIG_HEADERS = $CONFIG_HEADERS
42345 CONFIG_LINKS = $CONFIG_LINKS
42346 CONFIG_COMMANDS = $CONFIG_COMMANDS
42347 $ $0 $@
42348
42349_CSEOF
42350echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42351echo >&5
42352_ACEOF
42353
42354# Files that config.status was made for.
42355if test -n "$ac_config_files"; then
42356 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42357fi
42358
42359if test -n "$ac_config_headers"; then
42360 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42361fi
42362
42363if test -n "$ac_config_links"; then
42364 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42365fi
42366
42367if test -n "$ac_config_commands"; then
42368 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42369fi
42370
42371cat >>$CONFIG_STATUS <<\_ACEOF
42372
42373ac_cs_usage="\
42374\`$as_me' instantiates files from templates according to the
42375current configuration.
42376
42377Usage: $0 [OPTIONS] [FILE]...
42378
42379 -h, --help print this help, then exit
42380 -V, --version print version number, then exit
42381 -q, --quiet do not print progress messages
42382 -d, --debug don't remove temporary files
42383 --recheck update $as_me by reconfiguring in the same conditions
42384 --file=FILE[:TEMPLATE]
ac1cb8d3 42385 instantiate the configuration file FILE
a848cd7e 42386 --header=FILE[:TEMPLATE]
ac1cb8d3 42387 instantiate the configuration header FILE
a848cd7e
SC
42388
42389Configuration files:
42390$config_files
42391
42392Configuration headers:
42393$config_headers
42394
42395Configuration commands:
42396$config_commands
42397
42398Report bugs to <bug-autoconf@gnu.org>."
42399_ACEOF
42400
42401cat >>$CONFIG_STATUS <<_ACEOF
42402ac_cs_version="\\
7714864e 42403wxWidgets config.status 2.5.3
ac1cb8d3 42404configured by $0, generated by GNU Autoconf 2.59,
a848cd7e
SC
42405 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42406
ac1cb8d3 42407Copyright (C) 2003 Free Software Foundation, Inc.
a848cd7e
SC
42408This config.status script is free software; the Free Software Foundation
42409gives unlimited permission to copy, distribute and modify it."
42410srcdir=$srcdir
42411INSTALL="$INSTALL"
42412_ACEOF
42413
42414cat >>$CONFIG_STATUS <<\_ACEOF
42415# If no file are specified by the user, then we need to provide default
42416# value. By we need to know if files were specified by the user.
42417ac_need_defaults=:
42418while test $# != 0
42419do
42420 case $1 in
42421 --*=*)
42422 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42423 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42424 ac_shift=:
42425 ;;
42426 -*)
42427 ac_option=$1
42428 ac_optarg=$2
42429 ac_shift=shift
42430 ;;
42431 *) # This is not an option, so the user has probably given explicit
42432 # arguments.
42433 ac_option=$1
42434 ac_need_defaults=false;;
42435 esac
42436
42437 case $ac_option in
42438 # Handling of the options.
42439_ACEOF
42440cat >>$CONFIG_STATUS <<\_ACEOF
42441 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42442 ac_cs_recheck=: ;;
42443 --version | --vers* | -V )
42444 echo "$ac_cs_version"; exit 0 ;;
42445 --he | --h)
42446 # Conflict between --help and --header
42447 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42448Try \`$0 --help' for more information." >&5
42449echo "$as_me: error: ambiguous option: $1
42450Try \`$0 --help' for more information." >&2;}
42451 { (exit 1); exit 1; }; };;
42452 --help | --hel | -h )
42453 echo "$ac_cs_usage"; exit 0 ;;
42454 --debug | --d* | -d )
42455 debug=: ;;
42456 --file | --fil | --fi | --f )
42457 $ac_shift
42458 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42459 ac_need_defaults=false;;
42460 --header | --heade | --head | --hea )
42461 $ac_shift
42462 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42463 ac_need_defaults=false;;
42464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42465 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42466 ac_cs_silent=: ;;
42467
42468 # This is an error.
42469 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42470Try \`$0 --help' for more information." >&5
42471echo "$as_me: error: unrecognized option: $1
42472Try \`$0 --help' for more information." >&2;}
42473 { (exit 1); exit 1; }; } ;;
42474
42475 *) ac_config_targets="$ac_config_targets $1" ;;
42476
42477 esac
42478 shift
42479done
42480
42481ac_configure_extra_args=
42482
42483if $ac_cs_silent; then
42484 exec 6>/dev/null
42485 ac_configure_extra_args="$ac_configure_extra_args --silent"
42486fi
42487
42488_ACEOF
42489cat >>$CONFIG_STATUS <<_ACEOF
42490if \$ac_cs_recheck; then
42491 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42492 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42493fi
42494
42495_ACEOF
42496
42497cat >>$CONFIG_STATUS <<_ACEOF
42498#
42499# INIT-COMMANDS section.
42500#
42501
ceec2216
RL
42502 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42503 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42504 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42505 LN_S="${LN_S}"
a848cd7e
SC
42506
42507
42508_ACEOF
42509
42510
42511
42512cat >>$CONFIG_STATUS <<\_ACEOF
42513for ac_config_target in $ac_config_targets
42514do
42515 case "$ac_config_target" in
42516 # Handling of arguments.
ceec2216
RL
42517 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42518 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
a848cd7e
SC
42519 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42520 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42521 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
ceec2216
RL
42522 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42523 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
a848cd7e
SC
42524 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42525echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42526 { (exit 1); exit 1; }; };;
42527 esac
42528done
42529
42530# If the user did not use the arguments to specify the items to instantiate,
42531# then the envvar interface is used. Set only those that are not.
42532# We use the long form for the default assignment because of an extremely
42533# bizarre bug on SunOS 4.1.3.
42534if $ac_need_defaults; then
42535 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42536 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42537 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42538fi
42539
42540# Have a temporary directory for convenience. Make it in the build tree
42541# simply because there is no reason to put it here, and in addition,
42542# creating and moving files from /tmp can sometimes cause problems.
42543# Create a temporary directory, and hook for its removal unless debugging.
42544$debug ||
42545{
42546 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42547 trap '{ (exit 1); exit 1; }' 1 2 13 15
42548}
42549
42550# Create a (secure) tmp directory for tmp files.
42551
42552{
42553 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42554 test -n "$tmp" && test -d "$tmp"
42555} ||
42556{
42557 tmp=./confstat$$-$RANDOM
42558 (umask 077 && mkdir $tmp)
42559} ||
42560{
42561 echo "$me: cannot create a temporary directory in ." >&2
42562 { (exit 1); exit 1; }
42563}
42564
42565_ACEOF
42566
42567cat >>$CONFIG_STATUS <<_ACEOF
42568
42569#
42570# CONFIG_FILES section.
42571#
42572
42573# No need to generate the scripts if there are no CONFIG_FILES.
42574# This happens for instance when ./config.status config.h
42575if test -n "\$CONFIG_FILES"; then
42576 # Protect against being on the right side of a sed subst in config.status.
42577 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42578 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42579s,@SHELL@,$SHELL,;t t
42580s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42581s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42582s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42583s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42584s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42585s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42586s,@exec_prefix@,$exec_prefix,;t t
42587s,@prefix@,$prefix,;t t
42588s,@program_transform_name@,$program_transform_name,;t t
42589s,@bindir@,$bindir,;t t
42590s,@sbindir@,$sbindir,;t t
42591s,@libexecdir@,$libexecdir,;t t
42592s,@datadir@,$datadir,;t t
42593s,@sysconfdir@,$sysconfdir,;t t
42594s,@sharedstatedir@,$sharedstatedir,;t t
42595s,@localstatedir@,$localstatedir,;t t
42596s,@libdir@,$libdir,;t t
42597s,@includedir@,$includedir,;t t
42598s,@oldincludedir@,$oldincludedir,;t t
42599s,@infodir@,$infodir,;t t
42600s,@mandir@,$mandir,;t t
42601s,@build_alias@,$build_alias,;t t
42602s,@host_alias@,$host_alias,;t t
42603s,@target_alias@,$target_alias,;t t
42604s,@DEFS@,$DEFS,;t t
42605s,@ECHO_C@,$ECHO_C,;t t
42606s,@ECHO_N@,$ECHO_N,;t t
42607s,@ECHO_T@,$ECHO_T,;t t
42608s,@LIBS@,$LIBS,;t t
42609s,@build@,$build,;t t
42610s,@build_cpu@,$build_cpu,;t t
42611s,@build_vendor@,$build_vendor,;t t
42612s,@build_os@,$build_os,;t t
42613s,@host@,$host,;t t
42614s,@host_cpu@,$host_cpu,;t t
42615s,@host_vendor@,$host_vendor,;t t
42616s,@host_os@,$host_os,;t t
42617s,@target@,$target,;t t
42618s,@target_cpu@,$target_cpu,;t t
42619s,@target_vendor@,$target_vendor,;t t
42620s,@target_os@,$target_os,;t t
42621s,@CC@,$CC,;t t
42622s,@CFLAGS@,$CFLAGS,;t t
42623s,@LDFLAGS@,$LDFLAGS,;t t
42624s,@CPPFLAGS@,$CPPFLAGS,;t t
42625s,@ac_ct_CC@,$ac_ct_CC,;t t
42626s,@EXEEXT@,$EXEEXT,;t t
42627s,@OBJEXT@,$OBJEXT,;t t
42628s,@CPP@,$CPP,;t t
42629s,@EGREP@,$EGREP,;t t
42630s,@CXX@,$CXX,;t t
42631s,@CXXFLAGS@,$CXXFLAGS,;t t
42632s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42633s,@RANLIB@,$RANLIB,;t t
42634s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42635s,@AR@,$AR,;t t
42636s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42637s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42638s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42639s,@STRIP@,$STRIP,;t t
42640s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42641s,@LN_S@,$LN_S,;t t
42642s,@CXXCPP@,$CXXCPP,;t t
42643s,@subdirs@,$subdirs,;t t
42644s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42645s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42646s,@GTK_LIBS@,$GTK_LIBS,;t t
42647s,@GTK_CONFIG@,$GTK_CONFIG,;t t
a848cd7e
SC
42648s,@X_CFLAGS@,$X_CFLAGS,;t t
42649s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42650s,@X_LIBS@,$X_LIBS,;t t
42651s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42652s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42653s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
d1c38808
VZ
42654s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42655s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
a848cd7e
SC
42656s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42657s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42658s,@RESCOMP@,$RESCOMP,;t t
42659s,@DEREZ@,$DEREZ,;t t
42660s,@SETFILE@,$SETFILE,;t t
42661s,@LIBICONV@,$LIBICONV,;t t
42662s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42663s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42664s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42665s,@SDL_LIBS@,$SDL_LIBS,;t t
d1c38808
VZ
42666s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42667s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
a848cd7e
SC
42668s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42669s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42670s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42671s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42672s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42673s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42674s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42675s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42676s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42677s,@VENDOR@,$VENDOR,;t t
42678s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
ceec2216
RL
42679s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42680s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
a848cd7e
SC
42681s,@WXUNIV@,$WXUNIV,;t t
42682s,@MONOLITHIC@,$MONOLITHIC,;t t
42683s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42684s,@EXTRALIBS@,$EXTRALIBS,;t t
42685s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42686s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42687s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42688s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42689s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42690s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42691s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
d1c38808 42692s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
a848cd7e
SC
42693s,@UNICODE@,$UNICODE,;t t
42694s,@BUILD@,$BUILD,;t t
42695s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42696s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
a848cd7e
SC
42697s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42698s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42699s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42700s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42701s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42702s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42703s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42704s,@SET_MAKE@,$SET_MAKE,;t t
42705s,@MAKE_SET@,$MAKE_SET,;t t
42706s,@ac_ct_AR@,$ac_ct_AR,;t t
42707s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42708s,@NM@,$NM,;t t
42709s,@ac_ct_NM@,$ac_ct_NM,;t t
42710s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42711s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42712s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42713s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42714s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42715s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42716s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42717s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42718s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42719s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42720s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42721s,@LIBPREFIX@,$LIBPREFIX,;t t
42722s,@LIBEXT@,$LIBEXT,;t t
42723s,@DLLPREFIX@,$DLLPREFIX,;t t
42724s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42725s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42726s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42727s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42728s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42729s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42730s,@PIC_FLAG@,$PIC_FLAG,;t t
42731s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42732s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42733s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42734s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42735s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42736s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42737s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42738s,@GCC_PCH@,$GCC_PCH,;t t
42739s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42740s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42741s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42742s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42743s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42744s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42745s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42746s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42747s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42748s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42749s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42750s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42751s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42752s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42753s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42754s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42755s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42756s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42757s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
42758s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42759s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
ceec2216 42760s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
a848cd7e
SC
42761s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42762s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42763s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
42764s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42765s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
ceec2216 42766s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
a848cd7e
SC
42767s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42768s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42769s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42770s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42771s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42772s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42773s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42774s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
a30f955f 42775s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
a848cd7e
SC
42776s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42777s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42778s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
fc480dc1 42779s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
ebee3cd0
VS
42780s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42781s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
a848cd7e
SC
42782s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42783s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
b48a2016 42784s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
a848cd7e
SC
42785s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42786s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42787s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42788s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42789s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42790s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42791s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42792s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42793s,@COND_SHARED_0@,$COND_SHARED_0,;t t
ceec2216
RL
42794s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42795s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42796s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
a848cd7e
SC
42797s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42798s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42799s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42800s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42801s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42802s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42803s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42804s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42805s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42806s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
a30f955f 42807s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
a848cd7e 42808s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
a49baeab 42809s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
a848cd7e
SC
42810s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42811s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42812s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42813s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42814s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42815s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42816s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42817s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42818s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42819s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42820s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42821s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42822s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42823s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42824s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42825s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42826s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42827s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
3fd9c298
DE
42828s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42829s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42830s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
a848cd7e
SC
42831s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42832s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42833s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42834s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42835s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42836s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42837s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42838s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42839s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42840s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42841s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42842s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
ceec2216 42843s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
ffa0583f 42844s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
a848cd7e
SC
42845s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42846s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42847s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42848s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42849s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
a13a7f89 42850s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
a848cd7e 42851s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
a848cd7e
SC
42852s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42853s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42854s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42855s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42856s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42857s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42858s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42859s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
9a8f0513
VS
42860s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42861s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42862s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
ceec2216 42863s,@SHARED@,$SHARED,;t t
a848cd7e
SC
42864s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42865s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
a848cd7e
SC
42866s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42867s,@USE_GUI@,$USE_GUI,;t t
42868s,@AFMINSTALL@,$AFMINSTALL,;t t
42869s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42870s,@TOOLKIT@,$TOOLKIT,;t t
42871s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
a848cd7e 42872s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
ceec2216 42873s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
a848cd7e
SC
42874s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42875s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
a848cd7e 42876s,@cross_compiling@,$cross_compiling,;t t
ceec2216
RL
42877s,@WIDGET_SET@,$WIDGET_SET,;t t
42878s,@WX_RELEASE@,$WX_RELEASE,;t t
42879s,@WX_VERSION@,$WX_VERSION,;t t
42880s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42881s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42882s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
a848cd7e 42883s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
a848cd7e
SC
42884s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42885s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42886s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42887s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
74b84332 42888s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
a848cd7e
SC
42889s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42890s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
ceec2216 42891s,@EXE_LINKER@,$EXE_LINKER,;t t
a848cd7e 42892s,@GUIDIST@,$GUIDIST,;t t
a848cd7e
SC
42893s,@DISTDIR@,$DISTDIR,;t t
42894s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42895s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
a848cd7e
SC
42896s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42897s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42898s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42899s,@RESFLAGS@,$RESFLAGS,;t t
42900s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42901s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42902s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42903s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42904s,@MACRESCOMP@,$MACRESCOMP,;t t
42905s,@MACSETFILE@,$MACSETFILE,;t t
42906s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42907s,@GCC@,$GCC,;t t
a848cd7e 42908s,@DLLTOOL@,$DLLTOOL,;t t
a848cd7e
SC
42909s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42910s,@LIBOBJS@,$LIBOBJS,;t t
42911s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42912CEOF
42913
42914_ACEOF
42915
42916 cat >>$CONFIG_STATUS <<\_ACEOF
42917 # Split the substitutions into bite-sized pieces for seds with
42918 # small command number limits, like on Digital OSF/1 and HP-UX.
42919 ac_max_sed_lines=48
42920 ac_sed_frag=1 # Number of current file.
42921 ac_beg=1 # First line for current file.
42922 ac_end=$ac_max_sed_lines # Line after last line for current file.
42923 ac_more_lines=:
42924 ac_sed_cmds=
42925 while $ac_more_lines; do
42926 if test $ac_beg -gt 1; then
42927 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42928 else
42929 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42930 fi
42931 if test ! -s $tmp/subs.frag; then
42932 ac_more_lines=false
42933 else
42934 # The purpose of the label and of the branching condition is to
42935 # speed up the sed processing (if there are no `@' at all, there
42936 # is no need to browse any of the substitutions).
42937 # These are the two extra sed commands mentioned above.
42938 (echo ':t
42939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42940 if test -z "$ac_sed_cmds"; then
ac1cb8d3 42941 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
a848cd7e 42942 else
ac1cb8d3 42943 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
a848cd7e
SC
42944 fi
42945 ac_sed_frag=`expr $ac_sed_frag + 1`
42946 ac_beg=$ac_end
42947 ac_end=`expr $ac_end + $ac_max_sed_lines`
42948 fi
42949 done
42950 if test -z "$ac_sed_cmds"; then
42951 ac_sed_cmds=cat
42952 fi
42953fi # test -n "$CONFIG_FILES"
42954
42955_ACEOF
42956cat >>$CONFIG_STATUS <<\_ACEOF
42957for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42959 case $ac_file in
42960 - | *:- | *:-:* ) # input from stdin
ac1cb8d3
VS
42961 cat >$tmp/stdin
42962 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42963 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e 42964 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac1cb8d3 42965 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e
SC
42966 * ) ac_file_in=$ac_file.in ;;
42967 esac
42968
42969 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42970 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42971$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
42972 X"$ac_file" : 'X\(//\)[^/]' \| \
42973 X"$ac_file" : 'X\(//\)$' \| \
42974 X"$ac_file" : 'X\(/\)' \| \
42975 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
42976echo X"$ac_file" |
42977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42979 /^X\(\/\/\)$/{ s//\1/; q; }
42980 /^X\(\/\).*/{ s//\1/; q; }
42981 s/.*/./; q'`
42982 { if $as_mkdir_p; then
42983 mkdir -p "$ac_dir"
42984 else
42985 as_dir="$ac_dir"
42986 as_dirs=
42987 while test ! -d "$as_dir"; do
42988 as_dirs="$as_dir $as_dirs"
42989 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42990$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
42991 X"$as_dir" : 'X\(//\)[^/]' \| \
42992 X"$as_dir" : 'X\(//\)$' \| \
42993 X"$as_dir" : 'X\(/\)' \| \
42994 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
42995echo X"$as_dir" |
42996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42998 /^X\(\/\/\)$/{ s//\1/; q; }
42999 /^X\(\/\).*/{ s//\1/; q; }
43000 s/.*/./; q'`
43001 done
43002 test ! -n "$as_dirs" || mkdir $as_dirs
43003 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43004echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43005 { (exit 1); exit 1; }; }; }
43006
43007 ac_builddir=.
43008
43009if test "$ac_dir" != .; then
43010 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43011 # A "../" for each directory in $ac_dir_suffix.
43012 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43013else
43014 ac_dir_suffix= ac_top_builddir=
43015fi
43016
43017case $srcdir in
43018 .) # No --srcdir option. We are building in place.
43019 ac_srcdir=.
43020 if test -z "$ac_top_builddir"; then
43021 ac_top_srcdir=.
43022 else
43023 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43024 fi ;;
43025 [\\/]* | ?:[\\/]* ) # Absolute path.
43026 ac_srcdir=$srcdir$ac_dir_suffix;
43027 ac_top_srcdir=$srcdir ;;
43028 *) # Relative path.
43029 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43030 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43031esac
ac1cb8d3
VS
43032
43033# Do not use `cd foo && pwd` to compute absolute paths, because
43034# the directories may not exist.
43035case `pwd` in
43036.) ac_abs_builddir="$ac_dir";;
43037*)
43038 case "$ac_dir" in
43039 .) ac_abs_builddir=`pwd`;;
43040 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43041 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43042 esac;;
43043esac
43044case $ac_abs_builddir in
43045.) ac_abs_top_builddir=${ac_top_builddir}.;;
43046*)
43047 case ${ac_top_builddir}. in
43048 .) ac_abs_top_builddir=$ac_abs_builddir;;
43049 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43050 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43051 esac;;
43052esac
43053case $ac_abs_builddir in
43054.) ac_abs_srcdir=$ac_srcdir;;
43055*)
43056 case $ac_srcdir in
43057 .) ac_abs_srcdir=$ac_abs_builddir;;
43058 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43059 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43060 esac;;
43061esac
43062case $ac_abs_builddir in
43063.) ac_abs_top_srcdir=$ac_top_srcdir;;
43064*)
43065 case $ac_top_srcdir in
43066 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43067 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43068 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43069 esac;;
43070esac
a848cd7e
SC
43071
43072
43073 case $INSTALL in
43074 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43075 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43076 esac
43077
fc480dc1
DE
43078 if test x"$ac_file" != x-; then
43079 { echo "$as_me:$LINENO: creating $ac_file" >&5
43080echo "$as_me: creating $ac_file" >&6;}
43081 rm -f "$ac_file"
43082 fi
a848cd7e
SC
43083 # Let's still pretend it is `configure' which instantiates (i.e., don't
43084 # use $as_me), people would be surprised to read:
43085 # /* config.h. Generated by config.status. */
43086 if test x"$ac_file" = x-; then
43087 configure_input=
43088 else
43089 configure_input="$ac_file. "
43090 fi
43091 configure_input=$configure_input"Generated from `echo $ac_file_in |
ac1cb8d3 43092 sed 's,.*/,,'` by configure."
a848cd7e
SC
43093
43094 # First look for the input files in the build tree, otherwise in the
43095 # src tree.
43096 ac_file_inputs=`IFS=:
43097 for f in $ac_file_in; do
43098 case $f in
43099 -) echo $tmp/stdin ;;
43100 [\\/$]*)
ac1cb8d3
VS
43101 # Absolute (can't be DOS-style, as IFS=:)
43102 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
43103echo "$as_me: error: cannot find input file: $f" >&2;}
43104 { (exit 1); exit 1; }; }
ac1cb8d3 43105 echo "$f";;
a848cd7e 43106 *) # Relative
ac1cb8d3
VS
43107 if test -f "$f"; then
43108 # Build tree
43109 echo "$f"
43110 elif test -f "$srcdir/$f"; then
43111 # Source tree
43112 echo "$srcdir/$f"
43113 else
43114 # /dev/null tree
43115 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
43116echo "$as_me: error: cannot find input file: $f" >&2;}
43117 { (exit 1); exit 1; }; }
ac1cb8d3 43118 fi;;
a848cd7e
SC
43119 esac
43120 done` || { (exit 1); exit 1; }
43121_ACEOF
43122cat >>$CONFIG_STATUS <<_ACEOF
43123 sed "$ac_vpsub
43124$extrasub
43125_ACEOF
43126cat >>$CONFIG_STATUS <<\_ACEOF
43127:t
43128/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43129s,@configure_input@,$configure_input,;t t
43130s,@srcdir@,$ac_srcdir,;t t
43131s,@abs_srcdir@,$ac_abs_srcdir,;t t
43132s,@top_srcdir@,$ac_top_srcdir,;t t
43133s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43134s,@builddir@,$ac_builddir,;t t
43135s,@abs_builddir@,$ac_abs_builddir,;t t
43136s,@top_builddir@,$ac_top_builddir,;t t
43137s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43138s,@INSTALL@,$ac_INSTALL,;t t
43139" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43140 rm -f $tmp/stdin
43141 if test x"$ac_file" != x-; then
43142 mv $tmp/out $ac_file
43143 else
43144 cat $tmp/out
43145 rm -f $tmp/out
43146 fi
43147
ceec2216
RL
43148 # Run the commands associated with the file.
43149 case $ac_file in
43150 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43151 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43152 esac
a848cd7e
SC
43153done
43154_ACEOF
43155cat >>$CONFIG_STATUS <<\_ACEOF
43156
43157#
43158# CONFIG_HEADER section.
43159#
43160
43161# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43162# NAME is the cpp macro being defined and VALUE is the value it is being given.
43163#
43164# ac_d sets the value in "#define NAME VALUE" lines.
ac1cb8d3
VS
43165ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43166ac_dB='[ ].*$,\1#\2'
a848cd7e
SC
43167ac_dC=' '
43168ac_dD=',;t'
43169# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac1cb8d3 43170ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
a848cd7e
SC
43171ac_uB='$,\1#\2define\3'
43172ac_uC=' '
43173ac_uD=',;t'
43174
43175for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43176 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43177 case $ac_file in
43178 - | *:- | *:-:* ) # input from stdin
ac1cb8d3
VS
43179 cat >$tmp/stdin
43180 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43181 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e 43182 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac1cb8d3 43183 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e
SC
43184 * ) ac_file_in=$ac_file.in ;;
43185 esac
43186
43187 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43188echo "$as_me: creating $ac_file" >&6;}
43189
43190 # First look for the input files in the build tree, otherwise in the
43191 # src tree.
43192 ac_file_inputs=`IFS=:
43193 for f in $ac_file_in; do
43194 case $f in
43195 -) echo $tmp/stdin ;;
43196 [\\/$]*)
ac1cb8d3
VS
43197 # Absolute (can't be DOS-style, as IFS=:)
43198 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
43199echo "$as_me: error: cannot find input file: $f" >&2;}
43200 { (exit 1); exit 1; }; }
ac1cb8d3
VS
43201 # Do quote $f, to prevent DOS paths from being IFS'd.
43202 echo "$f";;
a848cd7e 43203 *) # Relative
ac1cb8d3
VS
43204 if test -f "$f"; then
43205 # Build tree
43206 echo "$f"
43207 elif test -f "$srcdir/$f"; then
43208 # Source tree
43209 echo "$srcdir/$f"
43210 else
43211 # /dev/null tree
43212 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
43213echo "$as_me: error: cannot find input file: $f" >&2;}
43214 { (exit 1); exit 1; }; }
ac1cb8d3 43215 fi;;
a848cd7e
SC
43216 esac
43217 done` || { (exit 1); exit 1; }
43218 # Remove the trailing spaces.
ac1cb8d3 43219 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
a848cd7e
SC
43220
43221_ACEOF
43222
43223# Transform confdefs.h into two sed scripts, `conftest.defines' and
43224# `conftest.undefs', that substitutes the proper values into
43225# config.h.in to produce config.h. The first handles `#define'
43226# templates, and the second `#undef' templates.
43227# And first: Protect against being on the right side of a sed subst in
43228# config.status. Protect against being in an unquoted here document
43229# in config.status.
43230rm -f conftest.defines conftest.undefs
43231# Using a here document instead of a string reduces the quoting nightmare.
43232# Putting comments in sed scripts is not portable.
43233#
43234# `end' is used to avoid that the second main sed command (meant for
43235# 0-ary CPP macros) applies to n-ary macro definitions.
43236# See the Autoconf documentation for `clear'.
43237cat >confdef2sed.sed <<\_ACEOF
43238s/[\\&,]/\\&/g
43239s,[\\$`],\\&,g
43240t clear
43241: clear
ac1cb8d3 43242s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
a848cd7e 43243t end
ac1cb8d3 43244s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
a848cd7e
SC
43245: end
43246_ACEOF
43247# If some macros were called several times there might be several times
43248# the same #defines, which is useless. Nevertheless, we may not want to
43249# sort them, since we want the *last* AC-DEFINE to be honored.
43250uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43251sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43252rm -f confdef2sed.sed
43253
43254# This sed command replaces #undef with comments. This is necessary, for
43255# example, in the case of _POSIX_SOURCE, which is predefined and required
43256# on some systems where configure will not decide to define it.
43257cat >>conftest.undefs <<\_ACEOF
ac1cb8d3 43258s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
a848cd7e
SC
43259_ACEOF
43260
43261# Break up conftest.defines because some shells have a limit on the size
43262# of here documents, and old seds have small limits too (100 cmds).
43263echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
ac1cb8d3 43264echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
a848cd7e
SC
43265echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43266echo ' :' >>$CONFIG_STATUS
43267rm -f conftest.tail
43268while grep . conftest.defines >/dev/null
43269do
43270 # Write a limited-size here document to $tmp/defines.sed.
43271 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43272 # Speed up: don't consider the non `#define' lines.
ac1cb8d3 43273 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
a848cd7e
SC
43274 # Work around the forget-to-reset-the-flag bug.
43275 echo 't clr' >>$CONFIG_STATUS
43276 echo ': clr' >>$CONFIG_STATUS
43277 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43278 echo 'CEOF
43279 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43280 rm -f $tmp/in
43281 mv $tmp/out $tmp/in
43282' >>$CONFIG_STATUS
43283 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43284 rm -f conftest.defines
43285 mv conftest.tail conftest.defines
43286done
43287rm -f conftest.defines
43288echo ' fi # grep' >>$CONFIG_STATUS
43289echo >>$CONFIG_STATUS
43290
43291# Break up conftest.undefs because some shells have a limit on the size
43292# of here documents, and old seds have small limits too (100 cmds).
43293echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43294rm -f conftest.tail
43295while grep . conftest.undefs >/dev/null
43296do
43297 # Write a limited-size here document to $tmp/undefs.sed.
43298 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43299 # Speed up: don't consider the non `#undef'
ac1cb8d3 43300 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
a848cd7e
SC
43301 # Work around the forget-to-reset-the-flag bug.
43302 echo 't clr' >>$CONFIG_STATUS
43303 echo ': clr' >>$CONFIG_STATUS
43304 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43305 echo 'CEOF
43306 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43307 rm -f $tmp/in
43308 mv $tmp/out $tmp/in
43309' >>$CONFIG_STATUS
43310 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43311 rm -f conftest.undefs
43312 mv conftest.tail conftest.undefs
43313done
43314rm -f conftest.undefs
43315
43316cat >>$CONFIG_STATUS <<\_ACEOF
43317 # Let's still pretend it is `configure' which instantiates (i.e., don't
43318 # use $as_me), people would be surprised to read:
43319 # /* config.h. Generated by config.status. */
43320 if test x"$ac_file" = x-; then
43321 echo "/* Generated by configure. */" >$tmp/config.h
43322 else
43323 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43324 fi
43325 cat $tmp/in >>$tmp/config.h
43326 rm -f $tmp/in
43327 if test x"$ac_file" != x-; then
43328 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43329 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43330echo "$as_me: $ac_file is unchanged" >&6;}
43331 else
43332 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43333$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
43334 X"$ac_file" : 'X\(//\)[^/]' \| \
43335 X"$ac_file" : 'X\(//\)$' \| \
43336 X"$ac_file" : 'X\(/\)' \| \
43337 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
43338echo X"$ac_file" |
43339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43340 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43341 /^X\(\/\/\)$/{ s//\1/; q; }
43342 /^X\(\/\).*/{ s//\1/; q; }
43343 s/.*/./; q'`
43344 { if $as_mkdir_p; then
43345 mkdir -p "$ac_dir"
43346 else
43347 as_dir="$ac_dir"
43348 as_dirs=
43349 while test ! -d "$as_dir"; do
43350 as_dirs="$as_dir $as_dirs"
43351 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43352$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
43353 X"$as_dir" : 'X\(//\)[^/]' \| \
43354 X"$as_dir" : 'X\(//\)$' \| \
43355 X"$as_dir" : 'X\(/\)' \| \
43356 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
43357echo X"$as_dir" |
43358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43360 /^X\(\/\/\)$/{ s//\1/; q; }
43361 /^X\(\/\).*/{ s//\1/; q; }
43362 s/.*/./; q'`
43363 done
43364 test ! -n "$as_dirs" || mkdir $as_dirs
43365 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43366echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43367 { (exit 1); exit 1; }; }; }
43368
43369 rm -f $ac_file
43370 mv $tmp/config.h $ac_file
43371 fi
43372 else
43373 cat $tmp/config.h
43374 rm -f $tmp/config.h
43375 fi
43376done
43377_ACEOF
43378cat >>$CONFIG_STATUS <<\_ACEOF
43379
43380#
43381# CONFIG_COMMANDS section.
43382#
43383for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43384 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43385 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43386 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43387$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
43388 X"$ac_dest" : 'X\(//\)[^/]' \| \
43389 X"$ac_dest" : 'X\(//\)$' \| \
43390 X"$ac_dest" : 'X\(/\)' \| \
43391 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
43392echo X"$ac_dest" |
43393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43395 /^X\(\/\/\)$/{ s//\1/; q; }
43396 /^X\(\/\).*/{ s//\1/; q; }
43397 s/.*/./; q'`
ac1cb8d3
VS
43398 { if $as_mkdir_p; then
43399 mkdir -p "$ac_dir"
43400 else
43401 as_dir="$ac_dir"
43402 as_dirs=
43403 while test ! -d "$as_dir"; do
43404 as_dirs="$as_dir $as_dirs"
43405 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43406$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43407 X"$as_dir" : 'X\(//\)[^/]' \| \
43408 X"$as_dir" : 'X\(//\)$' \| \
43409 X"$as_dir" : 'X\(/\)' \| \
43410 . : '\(.\)' 2>/dev/null ||
43411echo X"$as_dir" |
43412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43414 /^X\(\/\/\)$/{ s//\1/; q; }
43415 /^X\(\/\).*/{ s//\1/; q; }
43416 s/.*/./; q'`
43417 done
43418 test ! -n "$as_dirs" || mkdir $as_dirs
43419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43420echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43421 { (exit 1); exit 1; }; }; }
43422
a848cd7e
SC
43423 ac_builddir=.
43424
43425if test "$ac_dir" != .; then
43426 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43427 # A "../" for each directory in $ac_dir_suffix.
43428 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43429else
43430 ac_dir_suffix= ac_top_builddir=
43431fi
43432
43433case $srcdir in
43434 .) # No --srcdir option. We are building in place.
43435 ac_srcdir=.
43436 if test -z "$ac_top_builddir"; then
43437 ac_top_srcdir=.
43438 else
43439 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43440 fi ;;
43441 [\\/]* | ?:[\\/]* ) # Absolute path.
43442 ac_srcdir=$srcdir$ac_dir_suffix;
43443 ac_top_srcdir=$srcdir ;;
43444 *) # Relative path.
43445 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43446 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43447esac
ac1cb8d3
VS
43448
43449# Do not use `cd foo && pwd` to compute absolute paths, because
43450# the directories may not exist.
43451case `pwd` in
43452.) ac_abs_builddir="$ac_dir";;
43453*)
43454 case "$ac_dir" in
43455 .) ac_abs_builddir=`pwd`;;
43456 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43457 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43458 esac;;
43459esac
43460case $ac_abs_builddir in
43461.) ac_abs_top_builddir=${ac_top_builddir}.;;
43462*)
43463 case ${ac_top_builddir}. in
43464 .) ac_abs_top_builddir=$ac_abs_builddir;;
43465 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43466 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43467 esac;;
43468esac
43469case $ac_abs_builddir in
43470.) ac_abs_srcdir=$ac_srcdir;;
43471*)
43472 case $ac_srcdir in
43473 .) ac_abs_srcdir=$ac_abs_builddir;;
43474 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43475 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43476 esac;;
43477esac
43478case $ac_abs_builddir in
43479.) ac_abs_top_srcdir=$ac_top_srcdir;;
43480*)
43481 case $ac_top_srcdir in
43482 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43483 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43484 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43485 esac;;
43486esac
a848cd7e
SC
43487
43488
43489 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43490echo "$as_me: executing $ac_dest commands" >&6;}
43491 case $ac_dest in
ceec2216
RL
43492 wx-config ) rm -f wx-config
43493 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43494 ;;
a848cd7e
SC
43495 esac
43496done
43497_ACEOF
43498
43499cat >>$CONFIG_STATUS <<\_ACEOF
43500
43501{ (exit 0); exit 0; }
43502_ACEOF
43503chmod +x $CONFIG_STATUS
43504ac_clean_files=$ac_clean_files_save
43505
43506
43507# configure is writing to config.log, and then calls config.status.
43508# config.status does its own redirection, appending to config.log.
43509# Unfortunately, on DOS this fails, as config.log is still kept open
43510# by configure, so config.status won't be able to write to it; its
43511# output is simply discarded. So we exec the FD to /dev/null,
43512# effectively closing config.log, so it can be properly (re)opened and
43513# appended to by config.status. When coming back to configure, we
43514# need to make the FD available again.
43515if test "$no_create" != yes; then
43516 ac_cs_success=:
43517 ac_config_status_args=
43518 test "$silent" = yes &&
43519 ac_config_status_args="$ac_config_status_args --quiet"
43520 exec 5>/dev/null
43521 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43522 exec 5>>config.log
43523 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43524 # would make configure fail if this is the last instruction.
43525 $ac_cs_success || { (exit 1); exit 1; }
43526fi
43527
43528#
43529# CONFIG_SUBDIRS section.
43530#
43531if test "$no_recursion" != yes; then
43532
43533 # Remove --cache-file and --srcdir arguments so they do not pile up.
43534 ac_sub_configure_args=
43535 ac_prev=
43536 for ac_arg in $ac_configure_args; do
43537 if test -n "$ac_prev"; then
43538 ac_prev=
43539 continue
43540 fi
43541 case $ac_arg in
43542 -cache-file | --cache-file | --cache-fil | --cache-fi \
43543 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43544 ac_prev=cache_file ;;
43545 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43546 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43547 | --c=*)
43548 ;;
43549 --config-cache | -C)
43550 ;;
43551 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43552 ac_prev=srcdir ;;
43553 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43554 ;;
43555 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43556 ac_prev=prefix ;;
43557 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43558 ;;
43559 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43560 esac
43561 done
43562
43563 # Always prepend --prefix to ensure using the same prefix
43564 # in subdir configurations.
43565 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43566
43567 ac_popdir=`pwd`
43568 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43569
43570 # Do not complain, so a configure script can configure whichever
43571 # parts of a large source tree are present.
43572 test -d $srcdir/$ac_dir || continue
43573
43574 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43575echo "$as_me: configuring in $ac_dir" >&6;}
43576 { if $as_mkdir_p; then
43577 mkdir -p "$ac_dir"
43578 else
43579 as_dir="$ac_dir"
43580 as_dirs=
43581 while test ! -d "$as_dir"; do
43582 as_dirs="$as_dir $as_dirs"
43583 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43584$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
43585 X"$as_dir" : 'X\(//\)[^/]' \| \
43586 X"$as_dir" : 'X\(//\)$' \| \
43587 X"$as_dir" : 'X\(/\)' \| \
43588 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
43589echo X"$as_dir" |
43590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43592 /^X\(\/\/\)$/{ s//\1/; q; }
43593 /^X\(\/\).*/{ s//\1/; q; }
43594 s/.*/./; q'`
43595 done
43596 test ! -n "$as_dirs" || mkdir $as_dirs
43597 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43598echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43599 { (exit 1); exit 1; }; }; }
43600
43601 ac_builddir=.
43602
43603if test "$ac_dir" != .; then
43604 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43605 # A "../" for each directory in $ac_dir_suffix.
43606 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43607else
43608 ac_dir_suffix= ac_top_builddir=
43609fi
43610
43611case $srcdir in
43612 .) # No --srcdir option. We are building in place.
43613 ac_srcdir=.
43614 if test -z "$ac_top_builddir"; then
43615 ac_top_srcdir=.
43616 else
43617 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43618 fi ;;
43619 [\\/]* | ?:[\\/]* ) # Absolute path.
43620 ac_srcdir=$srcdir$ac_dir_suffix;
43621 ac_top_srcdir=$srcdir ;;
43622 *) # Relative path.
43623 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43624 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43625esac
ac1cb8d3
VS
43626
43627# Do not use `cd foo && pwd` to compute absolute paths, because
43628# the directories may not exist.
43629case `pwd` in
43630.) ac_abs_builddir="$ac_dir";;
43631*)
43632 case "$ac_dir" in
43633 .) ac_abs_builddir=`pwd`;;
43634 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43635 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43636 esac;;
43637esac
43638case $ac_abs_builddir in
43639.) ac_abs_top_builddir=${ac_top_builddir}.;;
43640*)
43641 case ${ac_top_builddir}. in
43642 .) ac_abs_top_builddir=$ac_abs_builddir;;
43643 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43644 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43645 esac;;
43646esac
43647case $ac_abs_builddir in
43648.) ac_abs_srcdir=$ac_srcdir;;
43649*)
43650 case $ac_srcdir in
43651 .) ac_abs_srcdir=$ac_abs_builddir;;
43652 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43653 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43654 esac;;
43655esac
43656case $ac_abs_builddir in
43657.) ac_abs_top_srcdir=$ac_top_srcdir;;
43658*)
43659 case $ac_top_srcdir in
43660 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43661 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43662 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43663 esac;;
43664esac
a848cd7e
SC
43665
43666
43667 cd $ac_dir
43668
43669 # Check for guested configure; otherwise get Cygnus style configure.
43670 if test -f $ac_srcdir/configure.gnu; then
43671 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43672 elif test -f $ac_srcdir/configure; then
43673 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43674 elif test -f $ac_srcdir/configure.in; then
43675 ac_sub_configure=$ac_configure
43676 else
43677 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43678echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43679 ac_sub_configure=
43680 fi
43681
43682 # The recursion is here.
43683 if test -n "$ac_sub_configure"; then
43684 # Make the cache file name correct relative to the subdirectory.
43685 case $cache_file in
43686 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43687 *) # Relative path.
ac1cb8d3 43688 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
a848cd7e
SC
43689 esac
43690
43691 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43692echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43693 # The eval makes quoting arguments work.
43694 eval $ac_sub_configure $ac_sub_configure_args \
ac1cb8d3
VS
43695 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43696 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
a848cd7e
SC
43697echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43698 { (exit 1); exit 1; }; }
43699 fi
43700
fc480dc1 43701 cd $ac_popdir
a848cd7e
SC
43702 done
43703fi
43704
43705
43706echo
77ffb593 43707echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
a848cd7e 43708echo ""
4d4ff94c 43709echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
77ffb593 43710echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
a848cd7e 43711
77ffb593
JS
43712echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43713echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43714echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
a848cd7e 43715
77ffb593
JS
43716echo " What level of wxWidgets compatibility should be enabled?"
43717echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43718echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
a848cd7e 43719
77ffb593 43720echo " Which libraries should wxWidgets use?"
a848cd7e
SC
43721echo " jpeg ${wxUSE_LIBJPEG-none}"
43722echo " png ${wxUSE_LIBPNG-none}"
43723echo " regex ${wxUSE_REGEX}"
43724echo " tiff ${wxUSE_LIBTIFF-none}"
43725if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43726echo " xpm ${wxUSE_LIBXPM-none}"
43727fi
43728echo " zlib ${wxUSE_ZLIB}"
43729echo " odbc ${wxUSE_ODBC}"
43730echo " expat ${wxUSE_EXPAT}"
43731echo " libmspack ${wxUSE_LIBMSPACK}"
43732echo " sdl ${wxUSE_LIBSDL}"
d1c38808 43733echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"
a848cd7e
SC
43734
43735echo ""
43736