]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
don't build the GUI version of tex2rtf wif --disable-gui
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
5#
6# Report bugs to <wx-dev@lists.wxwindows.org>.
7#
8# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9# Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ##
13## M4sh Initialization. ##
14## --------------------- ##
15
16# Be Bourne compatible
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25fi
26
27# Support unset when possible.
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='wxWindows'
271PACKAGE_TARNAME='wxwindows'
272PACKAGE_VERSION='2.5.1'
273PACKAGE_STRING='wxWindows 2.5.1'
274PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276ac_unique_file="wx-config.in"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subdirs_all="$ac_subdirs_all src/expat"
315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX 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 LIBPREFIX 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_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316ac_subst_files=''
317
318# Initialize some variables set by options.
319ac_init_help=
320ac_init_version=false
321# The variables have the same names as the options, with
322# dashes changed to underlines.
323cache_file=/dev/null
324exec_prefix=NONE
325no_create=
326no_recursion=
327prefix=NONE
328program_prefix=NONE
329program_suffix=NONE
330program_transform_name=s,x,x,
331silent=
332site=
333srcdir=
334verbose=
335x_includes=NONE
336x_libraries=NONE
337
338# Installation directory options.
339# These are left unexpanded so users can "make install exec_prefix=/foo"
340# and all the variables that are supposed to be based on exec_prefix
341# by default will actually change.
342# Use braces instead of parens because sh, perl, etc. also accept them.
343bindir='${exec_prefix}/bin'
344sbindir='${exec_prefix}/sbin'
345libexecdir='${exec_prefix}/libexec'
346datadir='${prefix}/share'
347sysconfdir='${prefix}/etc'
348sharedstatedir='${prefix}/com'
349localstatedir='${prefix}/var'
350libdir='${exec_prefix}/lib'
351includedir='${prefix}/include'
352oldincludedir='/usr/include'
353infodir='${prefix}/info'
354mandir='${prefix}/man'
355
356ac_prev=
357for ac_option
358do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653done
654
655if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659fi
660
661# Be sure to have absolute paths.
662for ac_var in exec_prefix prefix
663do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670done
671
672# Be sure to have absolute paths.
673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682done
683
684# There might be people who depend on the old broken behavior: `$host'
685# used to hold the argument of --host etc.
686# FIXME: To remove some day.
687build=$build_alias
688host=$host_alias
689target=$target_alias
690
691# FIXME: To remove some day.
692if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700fi
701
702ac_tool_prefix=
703test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705test "$silent" = yes && exec 6>/dev/null
706
707
708# Find the source files, if location was not specified.
709if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728else
729 ac_srcdir_defaulted=no
730fi
731if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739fi
740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744ac_env_build_alias_set=${build_alias+set}
745ac_env_build_alias_value=$build_alias
746ac_cv_env_build_alias_set=${build_alias+set}
747ac_cv_env_build_alias_value=$build_alias
748ac_env_host_alias_set=${host_alias+set}
749ac_env_host_alias_value=$host_alias
750ac_cv_env_host_alias_set=${host_alias+set}
751ac_cv_env_host_alias_value=$host_alias
752ac_env_target_alias_set=${target_alias+set}
753ac_env_target_alias_value=$target_alias
754ac_cv_env_target_alias_set=${target_alias+set}
755ac_cv_env_target_alias_value=$target_alias
756ac_env_CC_set=${CC+set}
757ac_env_CC_value=$CC
758ac_cv_env_CC_set=${CC+set}
759ac_cv_env_CC_value=$CC
760ac_env_CFLAGS_set=${CFLAGS+set}
761ac_env_CFLAGS_value=$CFLAGS
762ac_cv_env_CFLAGS_set=${CFLAGS+set}
763ac_cv_env_CFLAGS_value=$CFLAGS
764ac_env_LDFLAGS_set=${LDFLAGS+set}
765ac_env_LDFLAGS_value=$LDFLAGS
766ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767ac_cv_env_LDFLAGS_value=$LDFLAGS
768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772ac_env_CPP_set=${CPP+set}
773ac_env_CPP_value=$CPP
774ac_cv_env_CPP_set=${CPP+set}
775ac_cv_env_CPP_value=$CPP
776ac_env_CXX_set=${CXX+set}
777ac_env_CXX_value=$CXX
778ac_cv_env_CXX_set=${CXX+set}
779ac_cv_env_CXX_value=$CXX
780ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781ac_env_CXXFLAGS_value=$CXXFLAGS
782ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784ac_env_CXXCPP_set=${CXXCPP+set}
785ac_env_CXXCPP_value=$CXXCPP
786ac_cv_env_CXXCPP_set=${CXXCPP+set}
787ac_cv_env_CXXCPP_value=$CXXCPP
788
789#
790# Report the --help message.
791#
792if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796\`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798Usage: $0 [OPTION]... [VAR=VALUE]...
799
800To assign environment variables (e.g., CC, CFLAGS...), specify them as
801VAR=VALUE. See below for descriptions of some of the useful variables.
802
803Defaults for the options are specified in brackets.
804
805Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816_ACEOF
817
818 cat <<_ACEOF
819Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825By default, \`make install' will install all the files in
826\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828for instance \`--prefix=\$HOME'.
829
830For better control, use the options below.
831
832Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845_ACEOF
846
847 cat <<\_ACEOF
848
849X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857_ACEOF
858fi
859
860if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-opengl use OpenGL (or Mesa)
1052 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1053 --with-regex enable support for wxRegEx class
1054 --with-zlib use zlib for LZW compression
1055 --with-odbc use the IODBC and wxODBC classes
1056 --with-expat enable XML support using expat parser
1057 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1058 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1059 --with-x use the X Window System
1060 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1061
1062Some influential environment variables:
1063 CC C compiler command
1064 CFLAGS C compiler flags
1065 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1066 nonstandard directory <lib dir>
1067 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1068 headers in a nonstandard directory <include dir>
1069 CPP C preprocessor
1070 CXX C++ compiler command
1071 CXXFLAGS C++ compiler flags
1072 CXXCPP C++ preprocessor
1073
1074Use these variables to override the choices made by `configure' or to help
1075it to find libraries and programs with nonstandard names/locations.
1076
1077Report bugs to <wx-dev@lists.wxwindows.org>.
1078_ACEOF
1079fi
1080
1081if test "$ac_init_help" = "recursive"; then
1082 # If there are subdirs, report their specific --help.
1083 ac_popdir=`pwd`
1084 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1085 test -d $ac_dir || continue
1086 ac_builddir=.
1087
1088if test "$ac_dir" != .; then
1089 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1090 # A "../" for each directory in $ac_dir_suffix.
1091 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092else
1093 ac_dir_suffix= ac_top_builddir=
1094fi
1095
1096case $srcdir in
1097 .) # No --srcdir option. We are building in place.
1098 ac_srcdir=.
1099 if test -z "$ac_top_builddir"; then
1100 ac_top_srcdir=.
1101 else
1102 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 fi ;;
1104 [\\/]* | ?:[\\/]* ) # Absolute path.
1105 ac_srcdir=$srcdir$ac_dir_suffix;
1106 ac_top_srcdir=$srcdir ;;
1107 *) # Relative path.
1108 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1109 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110esac
1111# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112# absolute.
1113ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1114ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1115ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1116ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1117
1118 cd $ac_dir
1119 # Check for guested configure; otherwise get Cygnus style configure.
1120 if test -f $ac_srcdir/configure.gnu; then
1121 echo
1122 $SHELL $ac_srcdir/configure.gnu --help=recursive
1123 elif test -f $ac_srcdir/configure; then
1124 echo
1125 $SHELL $ac_srcdir/configure --help=recursive
1126 elif test -f $ac_srcdir/configure.ac ||
1127 test -f $ac_srcdir/configure.in; then
1128 echo
1129 $ac_configure --help
1130 else
1131 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 fi
1133 cd $ac_popdir
1134 done
1135fi
1136
1137test -n "$ac_init_help" && exit 0
1138if $ac_init_version; then
1139 cat <<\_ACEOF
1140wxWindows configure 2.5.1
1141generated by GNU Autoconf 2.57
1142
1143Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1144Free Software Foundation, Inc.
1145This configure script is free software; the Free Software Foundation
1146gives unlimited permission to copy, distribute and modify it.
1147_ACEOF
1148 exit 0
1149fi
1150exec 5>config.log
1151cat >&5 <<_ACEOF
1152This file contains any messages produced by compilers while
1153running configure, to aid debugging if configure makes a mistake.
1154
1155It was created by wxWindows $as_me 2.5.1, which was
1156generated by GNU Autoconf 2.57. Invocation command line was
1157
1158 $ $0 $@
1159
1160_ACEOF
1161{
1162cat <<_ASUNAME
1163## --------- ##
1164## Platform. ##
1165## --------- ##
1166
1167hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1168uname -m = `(uname -m) 2>/dev/null || echo unknown`
1169uname -r = `(uname -r) 2>/dev/null || echo unknown`
1170uname -s = `(uname -s) 2>/dev/null || echo unknown`
1171uname -v = `(uname -v) 2>/dev/null || echo unknown`
1172
1173/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1174/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1175
1176/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1177/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1178/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1179hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1180/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1181/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1182/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1183
1184_ASUNAME
1185
1186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1187for as_dir in $PATH
1188do
1189 IFS=$as_save_IFS
1190 test -z "$as_dir" && as_dir=.
1191 echo "PATH: $as_dir"
1192done
1193
1194} >&5
1195
1196cat >&5 <<_ACEOF
1197
1198
1199## ----------- ##
1200## Core tests. ##
1201## ----------- ##
1202
1203_ACEOF
1204
1205
1206# Keep a trace of the command line.
1207# Strip out --no-create and --no-recursion so they do not pile up.
1208# Strip out --silent because we don't want to record it for future runs.
1209# Also quote any args containing shell meta-characters.
1210# Make two passes to allow for proper duplicate-argument suppression.
1211ac_configure_args=
1212ac_configure_args0=
1213ac_configure_args1=
1214ac_sep=
1215ac_must_keep_next=false
1216for ac_pass in 1 2
1217do
1218 for ac_arg
1219 do
1220 case $ac_arg in
1221 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1224 continue ;;
1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1227 esac
1228 case $ac_pass in
1229 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 2)
1231 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1232 if test $ac_must_keep_next = true; then
1233 ac_must_keep_next=false # Got value, back to normal.
1234 else
1235 case $ac_arg in
1236 *=* | --config-cache | -C | -disable-* | --disable-* \
1237 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1238 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1239 | -with-* | --with-* | -without-* | --without-* | --x)
1240 case "$ac_configure_args0 " in
1241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1242 esac
1243 ;;
1244 -* ) ac_must_keep_next=true ;;
1245 esac
1246 fi
1247 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1248 # Get rid of the leading space.
1249 ac_sep=" "
1250 ;;
1251 esac
1252 done
1253done
1254$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1255$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256
1257# When interrupted or exit'd, cleanup temporary files, and complete
1258# config.log. We remove comments because anyway the quotes in there
1259# would cause problems or look ugly.
1260# WARNING: Be sure not to use single quotes in there, as some shells,
1261# such as our DU 5.0 friend, will then `close' the trap.
1262trap 'exit_status=$?
1263 # Save into config.log some information that might help in debugging.
1264 {
1265 echo
1266
1267 cat <<\_ASBOX
1268## ---------------- ##
1269## Cache variables. ##
1270## ---------------- ##
1271_ASBOX
1272 echo
1273 # The following way of writing the cache mishandles newlines in values,
1274{
1275 (set) 2>&1 |
1276 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1277 *ac_space=\ *)
1278 sed -n \
1279 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1281 ;;
1282 *)
1283 sed -n \
1284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ;;
1286 esac;
1287}
1288 echo
1289
1290 cat <<\_ASBOX
1291## ----------------- ##
1292## Output variables. ##
1293## ----------------- ##
1294_ASBOX
1295 echo
1296 for ac_var in $ac_subst_vars
1297 do
1298 eval ac_val=$`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1300 done | sort
1301 echo
1302
1303 if test -n "$ac_subst_files"; then
1304 cat <<\_ASBOX
1305## ------------- ##
1306## Output files. ##
1307## ------------- ##
1308_ASBOX
1309 echo
1310 for ac_var in $ac_subst_files
1311 do
1312 eval ac_val=$`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1314 done | sort
1315 echo
1316 fi
1317
1318 if test -s confdefs.h; then
1319 cat <<\_ASBOX
1320## ----------- ##
1321## confdefs.h. ##
1322## ----------- ##
1323_ASBOX
1324 echo
1325 sed "/^$/d" confdefs.h | sort
1326 echo
1327 fi
1328 test "$ac_signal" != 0 &&
1329 echo "$as_me: caught signal $ac_signal"
1330 echo "$as_me: exit $exit_status"
1331 } >&5
1332 rm -f core core.* *.core &&
1333 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1334 exit $exit_status
1335 ' 0
1336for ac_signal in 1 2 13 15; do
1337 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1338done
1339ac_signal=0
1340
1341# confdefs.h avoids OS command line length limits that DEFS can exceed.
1342rm -rf conftest* confdefs.h
1343# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1344echo >confdefs.h
1345
1346# Predefined preprocessor variables.
1347
1348cat >>confdefs.h <<_ACEOF
1349#define PACKAGE_NAME "$PACKAGE_NAME"
1350_ACEOF
1351
1352
1353cat >>confdefs.h <<_ACEOF
1354#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1355_ACEOF
1356
1357
1358cat >>confdefs.h <<_ACEOF
1359#define PACKAGE_VERSION "$PACKAGE_VERSION"
1360_ACEOF
1361
1362
1363cat >>confdefs.h <<_ACEOF
1364#define PACKAGE_STRING "$PACKAGE_STRING"
1365_ACEOF
1366
1367
1368cat >>confdefs.h <<_ACEOF
1369#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1370_ACEOF
1371
1372
1373# Let the site file select an alternate cache file if it wants to.
1374# Prefer explicitly selected file to automatically selected ones.
1375if test -z "$CONFIG_SITE"; then
1376 if test "x$prefix" != xNONE; then
1377 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 else
1379 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1380 fi
1381fi
1382for ac_site_file in $CONFIG_SITE; do
1383 if test -r "$ac_site_file"; then
1384 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1385echo "$as_me: loading site script $ac_site_file" >&6;}
1386 sed 's/^/| /' "$ac_site_file" >&5
1387 . "$ac_site_file"
1388 fi
1389done
1390
1391if test -r "$cache_file"; then
1392 # Some versions of bash will fail to source /dev/null (special
1393 # files actually), so we avoid doing that.
1394 if test -f "$cache_file"; then
1395 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1396echo "$as_me: loading cache $cache_file" >&6;}
1397 case $cache_file in
1398 [\\/]* | ?:[\\/]* ) . $cache_file;;
1399 *) . ./$cache_file;;
1400 esac
1401 fi
1402else
1403 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1404echo "$as_me: creating cache $cache_file" >&6;}
1405 >$cache_file
1406fi
1407
1408# Check that the precious variables saved in the cache have kept the same
1409# value.
1410ac_cache_corrupted=false
1411for ac_var in `(set) 2>&1 |
1412 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1414 eval ac_new_set=\$ac_env_${ac_var}_set
1415 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1416 eval ac_new_val="\$ac_env_${ac_var}_value"
1417 case $ac_old_set,$ac_new_set in
1418 set,)
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1420echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1422 ,set)
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1424echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1425 ac_cache_corrupted=: ;;
1426 ,);;
1427 *)
1428 if test "x$ac_old_val" != "x$ac_new_val"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1432echo "$as_me: former value: $ac_old_val" >&2;}
1433 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1434echo "$as_me: current value: $ac_new_val" >&2;}
1435 ac_cache_corrupted=:
1436 fi;;
1437 esac
1438 # Pass precious variables to config.status.
1439 if test "$ac_new_set" = set; then
1440 case $ac_new_val in
1441 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1442 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1443 *) ac_arg=$ac_var=$ac_new_val ;;
1444 esac
1445 case " $ac_configure_args " in
1446 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1447 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1448 esac
1449 fi
1450done
1451if $ac_cache_corrupted; then
1452 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1453echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1454 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1455echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1456 { (exit 1); exit 1; }; }
1457fi
1458
1459ac_ext=c
1460ac_cpp='$CPP $CPPFLAGS'
1461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1463ac_compiler_gnu=$ac_cv_c_compiler_gnu
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494ac_aux_dir=
1495for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1496 if test -f $ac_dir/install-sh; then
1497 ac_aux_dir=$ac_dir
1498 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 break
1500 elif test -f $ac_dir/install.sh; then
1501 ac_aux_dir=$ac_dir
1502 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 break
1504 elif test -f $ac_dir/shtool; then
1505 ac_aux_dir=$ac_dir
1506 ac_install_sh="$ac_aux_dir/shtool install -c"
1507 break
1508 fi
1509done
1510if test -z "$ac_aux_dir"; then
1511 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1512echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1513 { (exit 1); exit 1; }; }
1514fi
1515ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1516ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1517ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518
1519# Make sure we can run config.sub.
1520$ac_config_sub sun4 >/dev/null 2>&1 ||
1521 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1522echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1523 { (exit 1); exit 1; }; }
1524
1525echo "$as_me:$LINENO: checking build system type" >&5
1526echo $ECHO_N "checking build system type... $ECHO_C" >&6
1527if test "${ac_cv_build+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1529else
1530 ac_cv_build_alias=$build_alias
1531test -z "$ac_cv_build_alias" &&
1532 ac_cv_build_alias=`$ac_config_guess`
1533test -z "$ac_cv_build_alias" &&
1534 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1535echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1536 { (exit 1); exit 1; }; }
1537ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1539echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1541
1542fi
1543echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1544echo "${ECHO_T}$ac_cv_build" >&6
1545build=$ac_cv_build
1546build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1547build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1548build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1549
1550
1551echo "$as_me:$LINENO: checking host system type" >&5
1552echo $ECHO_N "checking host system type... $ECHO_C" >&6
1553if test "${ac_cv_host+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555else
1556 ac_cv_host_alias=$host_alias
1557test -z "$ac_cv_host_alias" &&
1558 ac_cv_host_alias=$ac_cv_build_alias
1559ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1561echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1563
1564fi
1565echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1566echo "${ECHO_T}$ac_cv_host" >&6
1567host=$ac_cv_host
1568host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1569host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1570host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1571
1572
1573echo "$as_me:$LINENO: checking target system type" >&5
1574echo $ECHO_N "checking target system type... $ECHO_C" >&6
1575if test "${ac_cv_target+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1577else
1578 ac_cv_target_alias=$target_alias
1579test "x$ac_cv_target_alias" = "x" &&
1580 ac_cv_target_alias=$ac_cv_host_alias
1581ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1583echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1585
1586fi
1587echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1588echo "${ECHO_T}$ac_cv_target" >&6
1589target=$ac_cv_target
1590target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1593
1594
1595# The aliases save the names the user supplied, while $host etc.
1596# will get canonicalized.
1597test -n "$target_alias" &&
1598 test "$program_prefix$program_suffix$program_transform_name" = \
1599 NONENONEs,x,x, &&
1600 program_prefix=${target_alias}-
1601
1602
1603
1604WX_MAJOR_VERSION_NUMBER=2
1605WX_MINOR_VERSION_NUMBER=5
1606WX_RELEASE_NUMBER=1
1607
1608WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1609WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610
1611WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1612
1613WX_CURRENT=1
1614WX_REVISION=0
1615WX_AGE=0
1616
1617
1618
1619USE_UNIX=1
1620USE_OS2=0
1621USE_WIN32=0
1622USE_DOS=0
1623USE_BEOS=0
1624USE_MAC=0
1625
1626USE_AIX=
1627USE_BSD= USE_DARWIN= USE_FREEBSD=
1628USE_GNU= USE_HPUX=
1629USE_LINUX=
1630USE_NETBSD=
1631USE_OPENBSD=
1632USE_OSF= USE_SGI=
1633USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1634USE_ULTRIX=
1635USE_UNIXWARE=
1636
1637USE_ALPHA=
1638
1639NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1640
1641ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1642
1643DEFAULT_wxUSE_COCOA=0
1644DEFAULT_wxUSE_GTK=0
1645DEFAULT_wxUSE_MAC=0
1646DEFAULT_wxUSE_MGL=0
1647DEFAULT_wxUSE_MICROWIN=0
1648DEFAULT_wxUSE_MOTIF=0
1649DEFAULT_wxUSE_MSW=0
1650DEFAULT_wxUSE_PM=0
1651DEFAULT_wxUSE_X11=0
1652
1653DEFAULT_DEFAULT_wxUSE_COCOA=0
1654DEFAULT_DEFAULT_wxUSE_GTK=0
1655DEFAULT_DEFAULT_wxUSE_MAC=0
1656DEFAULT_DEFAULT_wxUSE_MGL=0
1657DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1658DEFAULT_DEFAULT_wxUSE_MOTIF=0
1659DEFAULT_DEFAULT_wxUSE_MSW=0
1660DEFAULT_DEFAULT_wxUSE_PM=0
1661DEFAULT_DEFAULT_wxUSE_X11=0
1662
1663PROGRAM_EXT=
1664SO_SUFFIX=so
1665SAMPLES_RPATH_FLAG=
1666SAMPLES_RPATH_POSTLINK=
1667
1668case "${host}" in
1669 *-hp-hpux* )
1670 USE_HPUX=1
1671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1672 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1673 SO_SUFFIX=sl
1674 cat >>confdefs.h <<\_ACEOF
1675#define __HPUX__ 1
1676_ACEOF
1677
1678 ;;
1679 *-*-linux* )
1680 USE_LINUX=1
1681 cat >>confdefs.h <<\_ACEOF
1682#define __LINUX__ 1
1683_ACEOF
1684
1685 TMP=`uname -m`
1686 if test "x$TMP" = "xalpha"; then
1687 USE_ALPHA=1
1688 cat >>confdefs.h <<\_ACEOF
1689#define __ALPHA__ 1
1690_ACEOF
1691
1692 fi
1693 DEFAULT_DEFAULT_wxUSE_GTK=1
1694 ;;
1695 *-*-gnu* )
1696 USE_GNU=1
1697 cat >>confdefs.h <<\_ACEOF
1698#define __GNU__ 1
1699_ACEOF
1700
1701 TMP=`uname -m`
1702 if test "x$TMP" = "xalpha"; then
1703 USE_ALPHA=1
1704 cat >>confdefs.h <<\_ACEOF
1705#define __ALPHA__ 1
1706_ACEOF
1707
1708 fi
1709 DEFAULT_DEFAULT_wxUSE_GTK=1
1710 ;;
1711 *-*-irix5* | *-*-irix6* )
1712 USE_SGI=1
1713 USE_SVR4=1
1714 cat >>confdefs.h <<\_ACEOF
1715#define __SGI__ 1
1716_ACEOF
1717
1718 cat >>confdefs.h <<\_ACEOF
1719#define __SVR4__ 1
1720_ACEOF
1721
1722 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1723 ;;
1724 *-*-solaris2* )
1725 USE_SUN=1
1726 USE_SOLARIS=1
1727 USE_SVR4=1
1728 cat >>confdefs.h <<\_ACEOF
1729#define __SUN__ 1
1730_ACEOF
1731
1732 cat >>confdefs.h <<\_ACEOF
1733#define __SOLARIS__ 1
1734_ACEOF
1735
1736 cat >>confdefs.h <<\_ACEOF
1737#define __SVR4__ 1
1738_ACEOF
1739
1740 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1742 ;;
1743 *-*-sunos4* )
1744 USE_SUN=1
1745 USE_SUNOS=1
1746 USE_BSD=1
1747 cat >>confdefs.h <<\_ACEOF
1748#define __SUN__ 1
1749_ACEOF
1750
1751 cat >>confdefs.h <<\_ACEOF
1752#define __SUNOS__ 1
1753_ACEOF
1754
1755 cat >>confdefs.h <<\_ACEOF
1756#define __BSD__ 1
1757_ACEOF
1758
1759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1760 ;;
1761 *-*-freebsd*)
1762 USE_BSD=1
1763 USE_FREEBSD=1
1764 cat >>confdefs.h <<\_ACEOF
1765#define __FREEBSD__ 1
1766_ACEOF
1767
1768 cat >>confdefs.h <<\_ACEOF
1769#define __BSD__ 1
1770_ACEOF
1771
1772 DEFAULT_DEFAULT_wxUSE_GTK=1
1773 ;;
1774 *-*-openbsd*)
1775 USE_BSD=1
1776 USE_OPENBSD=1
1777 cat >>confdefs.h <<\_ACEOF
1778#define __OPENBSD__ 1
1779_ACEOF
1780
1781 cat >>confdefs.h <<\_ACEOF
1782#define __BSD__ 1
1783_ACEOF
1784
1785 DEFAULT_DEFAULT_wxUSE_GTK=1
1786 ;;
1787 *-*-netbsd*)
1788 USE_BSD=1
1789 USE_NETBSD=1
1790 cat >>confdefs.h <<\_ACEOF
1791#define __NETBSD__ 1
1792_ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795#define __BSD__ 1
1796_ACEOF
1797
1798 DEFAULT_DEFAULT_wxUSE_GTK=1
1799 ;;
1800 *-*-osf* )
1801 USE_ALPHA=1
1802 USE_OSF=1
1803 cat >>confdefs.h <<\_ACEOF
1804#define __ALPHA__ 1
1805_ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808#define __OSF__ 1
1809_ACEOF
1810
1811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1813 ;;
1814 *-*-dgux5* )
1815 USE_ALPHA=1
1816 USE_SVR4=1
1817 cat >>confdefs.h <<\_ACEOF
1818#define __ALPHA__ 1
1819_ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822#define __SVR4__ 1
1823_ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1826 ;;
1827 *-*-sysv5* )
1828 USE_SYSV=1
1829 USE_SVR4=1
1830 cat >>confdefs.h <<\_ACEOF
1831#define __SYSV__ 1
1832_ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835#define __SVR4__ 1
1836_ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1839 ;;
1840 *-*-aix* )
1841 USE_AIX=1
1842 USE_SYSV=1
1843 USE_SVR4=1
1844 SO_SUFFIX=a
1845 cat >>confdefs.h <<\_ACEOF
1846#define __AIX__ 1
1847_ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850#define __SYSV__ 1
1851_ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854#define __SVR4__ 1
1855_ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1858 ;;
1859
1860 *-*-*UnixWare*)
1861 USE_SYSV=1
1862 USE_SVR4=1
1863 USE_UNIXWARE=1
1864 cat >>confdefs.h <<\_ACEOF
1865#define __UNIXWARE__ 1
1866_ACEOF
1867
1868 ;;
1869
1870 *-*-cygwin* | *-*-mingw32* )
1871 SO_SUFFIX=dll
1872 PROGRAM_EXT=".exe"
1873 RESCOMP=windres
1874 DEFAULT_DEFAULT_wxUSE_MSW=1
1875 ;;
1876
1877 *-pc-msdosdjgpp )
1878 USE_UNIX=0
1879 USE_DOS=1
1880 cat >>confdefs.h <<\_ACEOF
1881#define __DOS__ 1
1882_ACEOF
1883
1884 PROGRAM_EXT=".exe"
1885 DEFAULT_DEFAULT_wxUSE_MGL=1
1886 LIBS="$LIBS -lstdc++"
1887 ;;
1888
1889 *-pc-os2_emx | *-pc-os2-emx )
1890 cat >>confdefs.h <<\_ACEOF
1891#define __EMX__ 1
1892_ACEOF
1893
1894 USE_OS2=1
1895 cat >>confdefs.h <<\_ACEOF
1896#define __OS2__ 1
1897_ACEOF
1898
1899 PROGRAM_EXT=".exe"
1900 DEFAULT_DEFAULT_wxUSE_PM=1
1901 CXX=gcc
1902 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1903 ac_executable_extensions=".exe"
1904 export ac_executable_extensions
1905 ac_save_IFS="$IFS"
1906 IFS='\\'
1907 ac_TEMP_PATH=
1908 for ac_dir in $PATH; do
1909 IFS=$ac_save_IFS
1910 if test -z "$ac_TEMP_PATH"; then
1911 ac_TEMP_PATH="$ac_dir"
1912 else
1913 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1914 fi
1915 done
1916 export PATH="$ac_TEMP_PATH"
1917 unset ac_TEMP_PATH
1918 ;;
1919
1920 powerpc-*-darwin* )
1921 USE_BSD=1
1922 USE_DARWIN=1
1923 SO_SUFFIX=dylib
1924 cat >>confdefs.h <<\_ACEOF
1925#define __BSD__ 1
1926_ACEOF
1927
1928 cat >>confdefs.h <<\_ACEOF
1929#define __DARWIN__ 1
1930_ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933#define __POWERPC__ 1
1934_ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937#define TARGET_CARBON 1
1938_ACEOF
1939
1940 DEFAULT_DEFAULT_wxUSE_MAC=1
1941 ;;
1942
1943 *-*-beos* )
1944 USE_BEOS=1
1945 cat >>confdefs.h <<\_ACEOF
1946#define __BEOS__ 1
1947_ACEOF
1948
1949 ;;
1950
1951 *)
1952 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1953echo "$as_me: error: unknown system type ${host}." >&2;}
1954 { (exit 1); exit 1; }; }
1955esac
1956
1957
1958
1959
1960 wx_arg_cache_file="configarg.cache"
1961 echo "loading argument cache $wx_arg_cache_file"
1962 rm -f ${wx_arg_cache_file}.tmp
1963 touch ${wx_arg_cache_file}.tmp
1964 touch ${wx_arg_cache_file}
1965
1966
1967DEBUG_CONFIGURE=0
1968if test $DEBUG_CONFIGURE = 1; then
1969 DEFAULT_wxUSE_UNIVERSAL=no
1970 DEFAULT_wxUSE_STL=no
1971
1972 DEFAULT_wxUSE_NANOX=no
1973
1974 DEFAULT_wxUSE_THREADS=yes
1975
1976 DEFAULT_wxUSE_SHARED=yes
1977 DEFAULT_wxUSE_OPTIMISE=no
1978 DEFAULT_wxUSE_PROFILE=no
1979 DEFAULT_wxUSE_NO_DEPS=no
1980 DEFAULT_wxUSE_NO_RTTI=no
1981 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1982 DEFAULT_wxUSE_PERMISSIVE=no
1983 DEFAULT_wxUSE_DEBUG_FLAG=yes
1984 DEFAULT_wxUSE_DEBUG_INFO=yes
1985 DEFAULT_wxUSE_DEBUG_GDB=yes
1986 DEFAULT_wxUSE_MEM_TRACING=no
1987 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1988 DEFAULT_wxUSE_DMALLOC=no
1989 DEFAULT_wxUSE_APPLE_IEEE=no
1990
1991 DEFAULT_wxUSE_EXCEPTIONS=no
1992 DEFAULT_wxUSE_LOG=yes
1993 DEFAULT_wxUSE_LOGWINDOW=no
1994 DEFAULT_wxUSE_LOGGUI=no
1995 DEFAULT_wxUSE_LOGDIALOG=no
1996
1997 DEFAULT_wxUSE_GUI=yes
1998 DEFAULT_wxUSE_CONTROLS=no
1999
2000 DEFAULT_wxUSE_REGEX=no
2001 DEFAULT_wxUSE_XML=no
2002 DEFAULT_wxUSE_EXPAT=no
2003 DEFAULT_wxUSE_ZLIB=no
2004 DEFAULT_wxUSE_LIBPNG=no
2005 DEFAULT_wxUSE_LIBJPEG=no
2006 DEFAULT_wxUSE_LIBTIFF=no
2007 DEFAULT_wxUSE_ODBC=no
2008 DEFAULT_wxUSE_OPENGL=no
2009
2010 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2011 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2012 DEFAULT_wxUSE_STD_IOSTREAM=no
2013 DEFAULT_wxUSE_CMDLINE_PARSER=no
2014 DEFAULT_wxUSE_DATETIME=no
2015 DEFAULT_wxUSE_TIMER=no
2016 DEFAULT_wxUSE_STOPWATCH=no
2017 DEFAULT_wxUSE_FILE=no
2018 DEFAULT_wxUSE_FFILE=no
2019 DEFAULT_wxUSE_TEXTBUFFER=no
2020 DEFAULT_wxUSE_TEXTFILE=no
2021 DEFAULT_wxUSE_WAVE=no
2022 DEFAULT_wxUSE_INTL=no
2023 DEFAULT_wxUSE_CONFIG=no
2024 DEFAULT_wxUSE_FONTMAP=no
2025 DEFAULT_wxUSE_STREAMS=no
2026 DEFAULT_wxUSE_SOCKETS=no
2027 DEFAULT_wxUSE_OLE=no
2028 DEFAULT_wxUSE_DATAOBJ=no
2029 DEFAULT_wxUSE_DIALUP_MANAGER=no
2030 DEFAULT_wxUSE_JOYSTICK=no
2031 DEFAULT_wxUSE_DYNLIB_CLASS=no
2032 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2033 DEFAULT_wxUSE_LONGLONG=no
2034 DEFAULT_wxUSE_GEOMETRY=no
2035
2036 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2037 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2038 DEFAULT_wxUSE_POSTSCRIPT=no
2039
2040 DEFAULT_wxUSE_CLIPBOARD=no
2041 DEFAULT_wxUSE_TOOLTIPS=no
2042 DEFAULT_wxUSE_DRAG_AND_DROP=no
2043 DEFAULT_wxUSE_DRAGIMAGE=no
2044 DEFAULT_wxUSE_SPLINES=no
2045
2046 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2047 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2048 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2049
2050 DEFAULT_wxUSE_RESOURCES=no
2051 DEFAULT_wxUSE_CONSTRAINTS=no
2052 DEFAULT_wxUSE_IPC=no
2053 DEFAULT_wxUSE_HELP=no
2054 DEFAULT_wxUSE_MS_HTML_HELP=no
2055 DEFAULT_wxUSE_WXHTML_HELP=no
2056 DEFAULT_wxUSE_TREELAYOUT=no
2057 DEFAULT_wxUSE_METAFILE=no
2058 DEFAULT_wxUSE_MIMETYPE=no
2059 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2060 DEFAULT_wxUSE_PROTOCOL=no
2061 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2062 DEFAULT_wxUSE_PROTOCOL_FTP=no
2063 DEFAULT_wxUSE_PROTOCOL_FILE=no
2064 DEFAULT_wxUSE_URL=no
2065
2066 DEFAULT_wxUSE_COMMONDLGS=no
2067 DEFAULT_wxUSE_CHOICEDLG=no
2068 DEFAULT_wxUSE_COLOURDLG=no
2069 DEFAULT_wxUSE_DIRDLG=no
2070 DEFAULT_wxUSE_FILEDLG=no
2071 DEFAULT_wxUSE_FINDREPLDLG=no
2072 DEFAULT_wxUSE_FONTDLG=no
2073 DEFAULT_wxUSE_MSGDLG=no
2074 DEFAULT_wxUSE_NUMBERDLG=no
2075 DEFAULT_wxUSE_TEXTDLG=no
2076 DEFAULT_wxUSE_SPLASH=no
2077 DEFAULT_wxUSE_STARTUP_TIPS=no
2078 DEFAULT_wxUSE_PROGRESSDLG=no
2079 DEFAULT_wxUSE_WIZARDDLG=no
2080
2081 DEFAULT_wxUSE_MENUS=no
2082 DEFAULT_wxUSE_MINIFRAME=no
2083 DEFAULT_wxUSE_HTML=no
2084 DEFAULT_wxUSE_FILESYSTEM=no
2085 DEFAULT_wxUSE_FS_INET=no
2086 DEFAULT_wxUSE_FS_ZIP=no
2087 DEFAULT_wxUSE_BUSYINFO=no
2088 DEFAULT_wxUSE_ZIPSTREAM=no
2089 DEFAULT_wxUSE_GZSTREAM=no
2090 DEFAULT_wxUSE_VALIDATORS=no
2091
2092 DEFAULT_wxUSE_ACCEL=no
2093 DEFAULT_wxUSE_BUTTON=no
2094 DEFAULT_wxUSE_BMPBUTTON=no
2095 DEFAULT_wxUSE_CALCTRL=no
2096 DEFAULT_wxUSE_CARET=no
2097 DEFAULT_wxUSE_CHECKBOX=no
2098 DEFAULT_wxUSE_CHECKLST=no
2099 DEFAULT_wxUSE_CHOICE=no
2100 DEFAULT_wxUSE_COMBOBOX=no
2101 DEFAULT_wxUSE_DISPLAY=no
2102 DEFAULT_wxUSE_GAUGE=no
2103 DEFAULT_wxUSE_GRID=no
2104 DEFAULT_wxUSE_IMAGLIST=no
2105 DEFAULT_wxUSE_LISTBOOK=no
2106 DEFAULT_wxUSE_LISTBOX=no
2107 DEFAULT_wxUSE_LISTCTRL=no
2108 DEFAULT_wxUSE_NOTEBOOK=no
2109 DEFAULT_wxUSE_RADIOBOX=no
2110 DEFAULT_wxUSE_RADIOBTN=no
2111 DEFAULT_wxUSE_SASH=no
2112 DEFAULT_wxUSE_SCROLLBAR=no
2113 DEFAULT_wxUSE_SLIDER=no
2114 DEFAULT_wxUSE_SPINBTN=no
2115 DEFAULT_wxUSE_SPINCTRL=no
2116 DEFAULT_wxUSE_SPLITTER=no
2117 DEFAULT_wxUSE_STATBMP=no
2118 DEFAULT_wxUSE_STATBOX=no
2119 DEFAULT_wxUSE_STATLINE=no
2120 DEFAULT_wxUSE_STATTEXT=no
2121 DEFAULT_wxUSE_STATUSBAR=yes
2122 DEFAULT_wxUSE_TABDIALOG=no
2123 DEFAULT_wxUSE_TEXTCTRL=no
2124 DEFAULT_wxUSE_TOGGLEBTN=no
2125 DEFAULT_wxUSE_TOOLBAR=no
2126 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2127 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2128 DEFAULT_wxUSE_TREECTRL=no
2129 DEFAULT_wxUSE_POPUPWIN=no
2130 DEFAULT_wxUSE_TIPWINDOW=no
2131
2132 DEFAULT_wxUSE_UNICODE=no
2133 DEFAULT_wxUSE_UNICODE_MSLU=no
2134 DEFAULT_wxUSE_WCSRTOMBS=no
2135
2136 DEFAULT_wxUSE_PALETTE=no
2137 DEFAULT_wxUSE_IMAGE=no
2138 DEFAULT_wxUSE_GIF=no
2139 DEFAULT_wxUSE_PCX=no
2140 DEFAULT_wxUSE_PNM=no
2141 DEFAULT_wxUSE_IFF=no
2142 DEFAULT_wxUSE_XPM=no
2143 DEFAULT_wxUSE_ICO_CUR=no
2144 DEFAULT_wxUSE_ACCESSIBILITY=no
2145
2146 DEFAULT_wxUSE_MONOLITHIC=no
2147 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2148else
2149 DEFAULT_wxUSE_UNIVERSAL=no
2150 DEFAULT_wxUSE_STL=no
2151
2152 DEFAULT_wxUSE_NANOX=no
2153
2154 DEFAULT_wxUSE_THREADS=yes
2155
2156 DEFAULT_wxUSE_SHARED=yes
2157 DEFAULT_wxUSE_OPTIMISE=yes
2158 DEFAULT_wxUSE_PROFILE=no
2159 DEFAULT_wxUSE_NO_DEPS=no
2160 DEFAULT_wxUSE_NO_RTTI=no
2161 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2162 DEFAULT_wxUSE_PERMISSIVE=no
2163 DEFAULT_wxUSE_DEBUG_FLAG=no
2164 DEFAULT_wxUSE_DEBUG_INFO=no
2165 DEFAULT_wxUSE_DEBUG_GDB=no
2166 DEFAULT_wxUSE_MEM_TRACING=no
2167 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2168 DEFAULT_wxUSE_DMALLOC=no
2169 DEFAULT_wxUSE_APPLE_IEEE=yes
2170
2171 DEFAULT_wxUSE_EXCEPTIONS=yes
2172 DEFAULT_wxUSE_LOG=yes
2173 DEFAULT_wxUSE_LOGWINDOW=yes
2174 DEFAULT_wxUSE_LOGGUI=yes
2175 DEFAULT_wxUSE_LOGDIALOG=yes
2176
2177 DEFAULT_wxUSE_GUI=yes
2178
2179 DEFAULT_wxUSE_REGEX=yes
2180 DEFAULT_wxUSE_XML=yes
2181 DEFAULT_wxUSE_EXPAT=yes
2182 DEFAULT_wxUSE_ZLIB=yes
2183 DEFAULT_wxUSE_LIBPNG=yes
2184 DEFAULT_wxUSE_LIBJPEG=yes
2185 DEFAULT_wxUSE_LIBTIFF=yes
2186 DEFAULT_wxUSE_ODBC=no
2187 DEFAULT_wxUSE_OPENGL=no
2188
2189 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2190 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2191 DEFAULT_wxUSE_STD_IOSTREAM=no
2192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2193 DEFAULT_wxUSE_DATETIME=yes
2194 DEFAULT_wxUSE_TIMER=yes
2195 DEFAULT_wxUSE_STOPWATCH=yes
2196 DEFAULT_wxUSE_FILE=yes
2197 DEFAULT_wxUSE_FFILE=yes
2198 DEFAULT_wxUSE_TEXTBUFFER=yes
2199 DEFAULT_wxUSE_TEXTFILE=yes
2200 DEFAULT_wxUSE_WAVE=no
2201 DEFAULT_wxUSE_INTL=yes
2202 DEFAULT_wxUSE_CONFIG=yes
2203 DEFAULT_wxUSE_FONTMAP=yes
2204 DEFAULT_wxUSE_STREAMS=yes
2205 DEFAULT_wxUSE_SOCKETS=yes
2206 DEFAULT_wxUSE_OLE=yes
2207 DEFAULT_wxUSE_DATAOBJ=yes
2208 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2209 DEFAULT_wxUSE_JOYSTICK=yes
2210 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2211 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2212 DEFAULT_wxUSE_LONGLONG=yes
2213 DEFAULT_wxUSE_GEOMETRY=yes
2214
2215 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2216 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2217 DEFAULT_wxUSE_POSTSCRIPT=yes
2218
2219 DEFAULT_wxUSE_CLIPBOARD=yes
2220 DEFAULT_wxUSE_TOOLTIPS=yes
2221 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2222 DEFAULT_wxUSE_DRAGIMAGE=yes
2223 DEFAULT_wxUSE_SPLINES=yes
2224
2225 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2226 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2227 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2228
2229 DEFAULT_wxUSE_RESOURCES=no
2230 DEFAULT_wxUSE_CONSTRAINTS=yes
2231 DEFAULT_wxUSE_IPC=yes
2232 DEFAULT_wxUSE_HELP=yes
2233 DEFAULT_wxUSE_MS_HTML_HELP=yes
2234 DEFAULT_wxUSE_WXHTML_HELP=yes
2235 DEFAULT_wxUSE_TREELAYOUT=yes
2236 DEFAULT_wxUSE_METAFILE=yes
2237 DEFAULT_wxUSE_MIMETYPE=yes
2238 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2239 DEFAULT_wxUSE_PROTOCOL=yes
2240 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2241 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2242 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2243 DEFAULT_wxUSE_URL=yes
2244
2245 DEFAULT_wxUSE_COMMONDLGS=yes
2246 DEFAULT_wxUSE_CHOICEDLG=yes
2247 DEFAULT_wxUSE_COLOURDLG=yes
2248 DEFAULT_wxUSE_DIRDLG=yes
2249 DEFAULT_wxUSE_FILEDLG=yes
2250 DEFAULT_wxUSE_FINDREPLDLG=yes
2251 DEFAULT_wxUSE_FONTDLG=yes
2252 DEFAULT_wxUSE_MSGDLG=yes
2253 DEFAULT_wxUSE_NUMBERDLG=yes
2254 DEFAULT_wxUSE_TEXTDLG=yes
2255 DEFAULT_wxUSE_SPLASH=yes
2256 DEFAULT_wxUSE_STARTUP_TIPS=yes
2257 DEFAULT_wxUSE_PROGRESSDLG=yes
2258 DEFAULT_wxUSE_WIZARDDLG=yes
2259
2260 DEFAULT_wxUSE_MENUS=yes
2261 DEFAULT_wxUSE_MINIFRAME=yes
2262 DEFAULT_wxUSE_HTML=yes
2263 DEFAULT_wxUSE_FILESYSTEM=yes
2264 DEFAULT_wxUSE_FS_INET=yes
2265 DEFAULT_wxUSE_FS_ZIP=yes
2266 DEFAULT_wxUSE_BUSYINFO=yes
2267 DEFAULT_wxUSE_ZIPSTREAM=yes
2268 DEFAULT_wxUSE_GZSTREAM=yes
2269 DEFAULT_wxUSE_VALIDATORS=yes
2270
2271 DEFAULT_wxUSE_ACCEL=yes
2272 DEFAULT_wxUSE_BUTTON=yes
2273 DEFAULT_wxUSE_BMPBUTTON=yes
2274 DEFAULT_wxUSE_CALCTRL=yes
2275 DEFAULT_wxUSE_CARET=yes
2276 DEFAULT_wxUSE_CHECKBOX=yes
2277 DEFAULT_wxUSE_CHECKLST=yes
2278 DEFAULT_wxUSE_CHOICE=yes
2279 DEFAULT_wxUSE_COMBOBOX=yes
2280 DEFAULT_wxUSE_DISPLAY=no
2281 DEFAULT_wxUSE_GAUGE=yes
2282 DEFAULT_wxUSE_GRID=yes
2283 DEFAULT_wxUSE_IMAGLIST=yes
2284 DEFAULT_wxUSE_LISTBOOK=yes
2285 DEFAULT_wxUSE_LISTBOX=yes
2286 DEFAULT_wxUSE_LISTCTRL=yes
2287 DEFAULT_wxUSE_NOTEBOOK=yes
2288 DEFAULT_wxUSE_RADIOBOX=yes
2289 DEFAULT_wxUSE_RADIOBTN=yes
2290 DEFAULT_wxUSE_SASH=yes
2291 DEFAULT_wxUSE_SCROLLBAR=yes
2292 DEFAULT_wxUSE_SLIDER=yes
2293 DEFAULT_wxUSE_SPINBTN=yes
2294 DEFAULT_wxUSE_SPINCTRL=yes
2295 DEFAULT_wxUSE_SPLITTER=yes
2296 DEFAULT_wxUSE_STATBMP=yes
2297 DEFAULT_wxUSE_STATBOX=yes
2298 DEFAULT_wxUSE_STATLINE=yes
2299 DEFAULT_wxUSE_STATTEXT=yes
2300 DEFAULT_wxUSE_STATUSBAR=yes
2301 DEFAULT_wxUSE_TABDIALOG=no
2302 DEFAULT_wxUSE_TEXTCTRL=yes
2303 DEFAULT_wxUSE_TOGGLEBTN=yes
2304 DEFAULT_wxUSE_TOOLBAR=yes
2305 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2306 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2307 DEFAULT_wxUSE_TREECTRL=yes
2308 DEFAULT_wxUSE_POPUPWIN=yes
2309 DEFAULT_wxUSE_TIPWINDOW=yes
2310
2311 DEFAULT_wxUSE_UNICODE=no
2312 DEFAULT_wxUSE_UNICODE_MSLU=yes
2313 DEFAULT_wxUSE_WCSRTOMBS=no
2314
2315 DEFAULT_wxUSE_PALETTE=yes
2316 DEFAULT_wxUSE_IMAGE=yes
2317 DEFAULT_wxUSE_GIF=yes
2318 DEFAULT_wxUSE_PCX=yes
2319 DEFAULT_wxUSE_IFF=no
2320 DEFAULT_wxUSE_PNM=yes
2321 DEFAULT_wxUSE_XPM=yes
2322 DEFAULT_wxUSE_ICO_CUR=yes
2323 DEFAULT_wxUSE_ACCESSIBILITY=no
2324
2325 DEFAULT_wxUSE_MONOLITHIC=no
2326 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2327fi
2328
2329
2330
2331for toolkit in `echo $ALL_TOOLKITS`; do
2332 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2333 if test "x$LINE" != "x" ; then
2334 has_toolkit_in_cache=1
2335 eval "DEFAULT_$LINE"
2336 eval "CACHE_$toolkit=1"
2337 fi
2338done
2339
2340
2341
2342 enablestring=
2343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2344echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2345 no_cache=0
2346 # Check whether --enable-gui or --disable-gui was given.
2347if test "${enable_gui+set}" = set; then
2348 enableval="$enable_gui"
2349
2350 if test "$enableval" = yes; then
2351 ac_cv_use_gui='wxUSE_GUI=yes'
2352 else
2353 ac_cv_use_gui='wxUSE_GUI=no'
2354 fi
2355
2356else
2357
2358 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2361 else
2362 no_cache=1
2363 fi
2364
2365 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2366
2367fi;
2368
2369 eval "$ac_cv_use_gui"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2372 fi
2373
2374 if test "$wxUSE_GUI" = yes; then
2375 echo "$as_me:$LINENO: result: yes" >&5
2376echo "${ECHO_T}yes" >&6
2377 else
2378 echo "$as_me:$LINENO: result: no" >&5
2379echo "${ECHO_T}no" >&6
2380 fi
2381
2382
2383 enablestring=
2384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2385echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2386 no_cache=0
2387 # Check whether --enable-monolithic or --disable-monolithic was given.
2388if test "${enable_monolithic+set}" = set; then
2389 enableval="$enable_monolithic"
2390
2391 if test "$enableval" = yes; then
2392 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2393 else
2394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2395 fi
2396
2397else
2398
2399 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x ; then
2401 eval "DEFAULT_$LINE"
2402 else
2403 no_cache=1
2404 fi
2405
2406 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2407
2408fi;
2409
2410 eval "$ac_cv_use_monolithic"
2411 if test "$no_cache" != 1; then
2412 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2413 fi
2414
2415 if test "$wxUSE_MONOLITHIC" = yes; then
2416 echo "$as_me:$LINENO: result: yes" >&5
2417echo "${ECHO_T}yes" >&6
2418 else
2419 echo "$as_me:$LINENO: result: no" >&5
2420echo "${ECHO_T}no" >&6
2421 fi
2422
2423
2424if test "$wxUSE_GUI" = "yes"; then
2425
2426
2427 enablestring=
2428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2429echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2430 no_cache=0
2431 # Check whether --enable-universal or --disable-universal was given.
2432if test "${enable_universal+set}" = set; then
2433 enableval="$enable_universal"
2434
2435 if test "$enableval" = yes; then
2436 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2437 else
2438 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2439 fi
2440
2441else
2442
2443 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x ; then
2445 eval "DEFAULT_$LINE"
2446 else
2447 no_cache=1
2448 fi
2449
2450 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2451
2452fi;
2453
2454 eval "$ac_cv_use_universal"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2457 fi
2458
2459 if test "$wxUSE_UNIVERSAL" = yes; then
2460 echo "$as_me:$LINENO: result: yes" >&5
2461echo "${ECHO_T}yes" >&6
2462 else
2463 echo "$as_me:$LINENO: result: no" >&5
2464echo "${ECHO_T}no" >&6
2465 fi
2466
2467
2468# Check whether --with-gtk or --without-gtk was given.
2469if test "${with_gtk+set}" = set; then
2470 withval="$with_gtk"
2471 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2472fi;
2473
2474# Check whether --with-motif or --without-motif was given.
2475if test "${with_motif+set}" = set; then
2476 withval="$with_motif"
2477 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2478fi;
2479
2480# Check whether --with-mac or --without-mac was given.
2481if test "${with_mac+set}" = set; then
2482 withval="$with_mac"
2483 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2484fi;
2485
2486# Check whether --with-cocoa or --without-cocoa was given.
2487if test "${with_cocoa+set}" = set; then
2488 withval="$with_cocoa"
2489 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2490fi;
2491
2492# Check whether --with-wine or --without-wine was given.
2493if test "${with_wine+set}" = set; then
2494 withval="$with_wine"
2495 wxUSE_WINE="$withval" CACHE_WINE=1
2496fi;
2497
2498# Check whether --with-msw or --without-msw was given.
2499if test "${with_msw+set}" = set; then
2500 withval="$with_msw"
2501 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2502fi;
2503
2504# Check whether --with-pm or --without-pm was given.
2505if test "${with_pm+set}" = set; then
2506 withval="$with_pm"
2507 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2508fi;
2509
2510# Check whether --with-mgl or --without-mgl was given.
2511if test "${with_mgl+set}" = set; then
2512 withval="$with_mgl"
2513 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2514fi;
2515
2516# Check whether --with-microwin or --without-microwin was given.
2517if test "${with_microwin+set}" = set; then
2518 withval="$with_microwin"
2519 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2520fi;
2521
2522# Check whether --with-x11 or --without-x11 was given.
2523if test "${with_x11+set}" = set; then
2524 withval="$with_x11"
2525 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2526fi;
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2530echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-nanox or --disable-nanox was given.
2533if test "${enable_nanox+set}" = set; then
2534 enableval="$enable_nanox"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_nanox='wxUSE_NANOX=yes'
2538 else
2539 ac_cv_use_nanox='wxUSE_NANOX=no'
2540 fi
2541
2542else
2543
2544 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2552
2553fi;
2554
2555 eval "$ac_cv_use_nanox"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_NANOX" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569
2570 enablestring=
2571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2572echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2573 no_cache=0
2574 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2575if test "${enable_gtk2+set}" = set; then
2576 enableval="$enable_gtk2"
2577
2578 if test "$enableval" = yes; then
2579 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2580 else
2581 ac_cv_use_gtk2='wxUSE_GTK2=no'
2582 fi
2583
2584else
2585
2586 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2594
2595fi;
2596
2597 eval "$ac_cv_use_gtk2"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxUSE_GTK2" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604echo "${ECHO_T}yes" >&6
2605 else
2606 echo "$as_me:$LINENO: result: no" >&5
2607echo "${ECHO_T}no" >&6
2608 fi
2609
2610
2611
2612 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2613echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2614 no_cache=0
2615
2616# Check whether --with-libpng or --without-libpng was given.
2617if test "${with_libpng+set}" = set; then
2618 withval="$with_libpng"
2619
2620 if test "$withval" = yes; then
2621 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2622 elif test "$withval" = no; then
2623 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2624 elif test "$withval" = sys; then
2625 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2626 elif test "$withval" = builtin; then
2627 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2628 else
2629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2630echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2631 { (exit 1); exit 1; }; }
2632 fi
2633
2634else
2635
2636 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2637 if test "x$LINE" != x ; then
2638 eval "DEFAULT_$LINE"
2639 else
2640 no_cache=1
2641 fi
2642
2643 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2644
2645fi;
2646
2647 eval "$ac_cv_use_libpng"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2650 fi
2651
2652 if test "$wxUSE_LIBPNG" = yes; then
2653 echo "$as_me:$LINENO: result: yes" >&5
2654echo "${ECHO_T}yes" >&6
2655 elif test "$wxUSE_LIBPNG" = no; then
2656 echo "$as_me:$LINENO: result: no" >&5
2657echo "${ECHO_T}no" >&6
2658 elif test "$wxUSE_LIBPNG" = sys; then
2659 echo "$as_me:$LINENO: result: system version" >&5
2660echo "${ECHO_T}system version" >&6
2661 elif test "$wxUSE_LIBPNG" = builtin; then
2662 echo "$as_me:$LINENO: result: builtin version" >&5
2663echo "${ECHO_T}builtin version" >&6
2664 else
2665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2666echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2667 { (exit 1); exit 1; }; }
2668 fi
2669
2670
2671 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2672echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2673 no_cache=0
2674
2675# Check whether --with-libjpeg or --without-libjpeg was given.
2676if test "${with_libjpeg+set}" = set; then
2677 withval="$with_libjpeg"
2678
2679 if test "$withval" = yes; then
2680 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2681 elif test "$withval" = no; then
2682 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2683 elif test "$withval" = sys; then
2684 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2685 elif test "$withval" = builtin; then
2686 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2687 else
2688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2689echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2690 { (exit 1); exit 1; }; }
2691 fi
2692
2693else
2694
2695 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x ; then
2697 eval "DEFAULT_$LINE"
2698 else
2699 no_cache=1
2700 fi
2701
2702 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2703
2704fi;
2705
2706 eval "$ac_cv_use_libjpeg"
2707 if test "$no_cache" != 1; then
2708 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2709 fi
2710
2711 if test "$wxUSE_LIBJPEG" = yes; then
2712 echo "$as_me:$LINENO: result: yes" >&5
2713echo "${ECHO_T}yes" >&6
2714 elif test "$wxUSE_LIBJPEG" = no; then
2715 echo "$as_me:$LINENO: result: no" >&5
2716echo "${ECHO_T}no" >&6
2717 elif test "$wxUSE_LIBJPEG" = sys; then
2718 echo "$as_me:$LINENO: result: system version" >&5
2719echo "${ECHO_T}system version" >&6
2720 elif test "$wxUSE_LIBJPEG" = builtin; then
2721 echo "$as_me:$LINENO: result: builtin version" >&5
2722echo "${ECHO_T}builtin version" >&6
2723 else
2724 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2725echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2726 { (exit 1); exit 1; }; }
2727 fi
2728
2729
2730 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2731echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2732 no_cache=0
2733
2734# Check whether --with-libtiff or --without-libtiff was given.
2735if test "${with_libtiff+set}" = set; then
2736 withval="$with_libtiff"
2737
2738 if test "$withval" = yes; then
2739 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2740 elif test "$withval" = no; then
2741 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2742 elif test "$withval" = sys; then
2743 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2744 elif test "$withval" = builtin; then
2745 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2746 else
2747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2748echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2749 { (exit 1); exit 1; }; }
2750 fi
2751
2752else
2753
2754 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2757 else
2758 no_cache=1
2759 fi
2760
2761 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2762
2763fi;
2764
2765 eval "$ac_cv_use_libtiff"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2768 fi
2769
2770 if test "$wxUSE_LIBTIFF" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772echo "${ECHO_T}yes" >&6
2773 elif test "$wxUSE_LIBTIFF" = no; then
2774 echo "$as_me:$LINENO: result: no" >&5
2775echo "${ECHO_T}no" >&6
2776 elif test "$wxUSE_LIBTIFF" = sys; then
2777 echo "$as_me:$LINENO: result: system version" >&5
2778echo "${ECHO_T}system version" >&6
2779 elif test "$wxUSE_LIBTIFF" = builtin; then
2780 echo "$as_me:$LINENO: result: builtin version" >&5
2781echo "${ECHO_T}builtin version" >&6
2782 else
2783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2784echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2785 { (exit 1); exit 1; }; }
2786 fi
2787
2788
2789 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2790echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2791 no_cache=0
2792
2793# Check whether --with-opengl or --without-opengl was given.
2794if test "${with_opengl+set}" = set; then
2795 withval="$with_opengl"
2796
2797 if test "$withval" = yes; then
2798 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2799 else
2800 ac_cv_use_opengl='wxUSE_OPENGL=no'
2801 fi
2802
2803else
2804
2805 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x ; then
2807 eval "DEFAULT_$LINE"
2808 else
2809 no_cache=1
2810 fi
2811
2812 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2813
2814fi;
2815
2816 eval "$ac_cv_use_opengl"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2819 fi
2820
2821 if test "$wxUSE_OPENGL" = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823echo "${ECHO_T}yes" >&6
2824 else
2825 echo "$as_me:$LINENO: result: no" >&5
2826echo "${ECHO_T}no" >&6
2827 fi
2828
2829
2830fi
2831
2832
2833 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2834echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2835 no_cache=0
2836
2837# Check whether --with-dmalloc or --without-dmalloc was given.
2838if test "${with_dmalloc+set}" = set; then
2839 withval="$with_dmalloc"
2840
2841 if test "$withval" = yes; then
2842 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2843 else
2844 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2845 fi
2846
2847else
2848
2849 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x ; then
2851 eval "DEFAULT_$LINE"
2852 else
2853 no_cache=1
2854 fi
2855
2856 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2857
2858fi;
2859
2860 eval "$ac_cv_use_dmalloc"
2861 if test "$no_cache" != 1; then
2862 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2863 fi
2864
2865 if test "$wxUSE_DMALLOC" = yes; then
2866 echo "$as_me:$LINENO: result: yes" >&5
2867echo "${ECHO_T}yes" >&6
2868 else
2869 echo "$as_me:$LINENO: result: no" >&5
2870echo "${ECHO_T}no" >&6
2871 fi
2872
2873
2874 echo "$as_me:$LINENO: checking for --with-regex" >&5
2875echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2876 no_cache=0
2877
2878# Check whether --with-regex or --without-regex was given.
2879if test "${with_regex+set}" = set; then
2880 withval="$with_regex"
2881
2882 if test "$withval" = yes; then
2883 ac_cv_use_regex='wxUSE_REGEX=yes'
2884 elif test "$withval" = no; then
2885 ac_cv_use_regex='wxUSE_REGEX=no'
2886 elif test "$withval" = sys; then
2887 ac_cv_use_regex='wxUSE_REGEX=sys'
2888 elif test "$withval" = builtin; then
2889 ac_cv_use_regex='wxUSE_REGEX=builtin'
2890 else
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2892echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2894 fi
2895
2896else
2897
2898 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x ; then
2900 eval "DEFAULT_$LINE"
2901 else
2902 no_cache=1
2903 fi
2904
2905 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2906
2907fi;
2908
2909 eval "$ac_cv_use_regex"
2910 if test "$no_cache" != 1; then
2911 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2912 fi
2913
2914 if test "$wxUSE_REGEX" = yes; then
2915 echo "$as_me:$LINENO: result: yes" >&5
2916echo "${ECHO_T}yes" >&6
2917 elif test "$wxUSE_REGEX" = no; then
2918 echo "$as_me:$LINENO: result: no" >&5
2919echo "${ECHO_T}no" >&6
2920 elif test "$wxUSE_REGEX" = sys; then
2921 echo "$as_me:$LINENO: result: system version" >&5
2922echo "${ECHO_T}system version" >&6
2923 elif test "$wxUSE_REGEX" = builtin; then
2924 echo "$as_me:$LINENO: result: builtin version" >&5
2925echo "${ECHO_T}builtin version" >&6
2926 else
2927 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2928echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2929 { (exit 1); exit 1; }; }
2930 fi
2931
2932
2933 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2934echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2935 no_cache=0
2936
2937# Check whether --with-zlib or --without-zlib was given.
2938if test "${with_zlib+set}" = set; then
2939 withval="$with_zlib"
2940
2941 if test "$withval" = yes; then
2942 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2943 elif test "$withval" = no; then
2944 ac_cv_use_zlib='wxUSE_ZLIB=no'
2945 elif test "$withval" = sys; then
2946 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2947 elif test "$withval" = builtin; then
2948 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2949 else
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2951echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi
2954
2955else
2956
2957 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x ; then
2959 eval "DEFAULT_$LINE"
2960 else
2961 no_cache=1
2962 fi
2963
2964 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2965
2966fi;
2967
2968 eval "$ac_cv_use_zlib"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2971 fi
2972
2973 if test "$wxUSE_ZLIB" = yes; then
2974 echo "$as_me:$LINENO: result: yes" >&5
2975echo "${ECHO_T}yes" >&6
2976 elif test "$wxUSE_ZLIB" = no; then
2977 echo "$as_me:$LINENO: result: no" >&5
2978echo "${ECHO_T}no" >&6
2979 elif test "$wxUSE_ZLIB" = sys; then
2980 echo "$as_me:$LINENO: result: system version" >&5
2981echo "${ECHO_T}system version" >&6
2982 elif test "$wxUSE_ZLIB" = builtin; then
2983 echo "$as_me:$LINENO: result: builtin version" >&5
2984echo "${ECHO_T}builtin version" >&6
2985 else
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2987echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2989 fi
2990
2991
2992 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2993echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2994 no_cache=0
2995
2996# Check whether --with-odbc or --without-odbc was given.
2997if test "${with_odbc+set}" = set; then
2998 withval="$with_odbc"
2999
3000 if test "$withval" = yes; then
3001 ac_cv_use_odbc='wxUSE_ODBC=yes'
3002 elif test "$withval" = no; then
3003 ac_cv_use_odbc='wxUSE_ODBC=no'
3004 elif test "$withval" = sys; then
3005 ac_cv_use_odbc='wxUSE_ODBC=sys'
3006 elif test "$withval" = builtin; then
3007 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3008 else
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3010echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3012 fi
3013
3014else
3015
3016 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3019 else
3020 no_cache=1
3021 fi
3022
3023 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3024
3025fi;
3026
3027 eval "$ac_cv_use_odbc"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3030 fi
3031
3032 if test "$wxUSE_ODBC" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034echo "${ECHO_T}yes" >&6
3035 elif test "$wxUSE_ODBC" = no; then
3036 echo "$as_me:$LINENO: result: no" >&5
3037echo "${ECHO_T}no" >&6
3038 elif test "$wxUSE_ODBC" = sys; then
3039 echo "$as_me:$LINENO: result: system version" >&5
3040echo "${ECHO_T}system version" >&6
3041 elif test "$wxUSE_ODBC" = builtin; then
3042 echo "$as_me:$LINENO: result: builtin version" >&5
3043echo "${ECHO_T}builtin version" >&6
3044 else
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3046echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3048 fi
3049
3050
3051 echo "$as_me:$LINENO: checking for --with-expat" >&5
3052echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3053 no_cache=0
3054
3055# Check whether --with-expat or --without-expat was given.
3056if test "${with_expat+set}" = set; then
3057 withval="$with_expat"
3058
3059 if test "$withval" = yes; then
3060 ac_cv_use_expat='wxUSE_EXPAT=yes'
3061 elif test "$withval" = no; then
3062 ac_cv_use_expat='wxUSE_EXPAT=no'
3063 elif test "$withval" = sys; then
3064 ac_cv_use_expat='wxUSE_EXPAT=sys'
3065 elif test "$withval" = builtin; then
3066 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3067 else
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3069echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3071 fi
3072
3073else
3074
3075 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x ; then
3077 eval "DEFAULT_$LINE"
3078 else
3079 no_cache=1
3080 fi
3081
3082 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3083
3084fi;
3085
3086 eval "$ac_cv_use_expat"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3089 fi
3090
3091 if test "$wxUSE_EXPAT" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093echo "${ECHO_T}yes" >&6
3094 elif test "$wxUSE_EXPAT" = no; then
3095 echo "$as_me:$LINENO: result: no" >&5
3096echo "${ECHO_T}no" >&6
3097 elif test "$wxUSE_EXPAT" = sys; then
3098 echo "$as_me:$LINENO: result: system version" >&5
3099echo "${ECHO_T}system version" >&6
3100 elif test "$wxUSE_EXPAT" = builtin; then
3101 echo "$as_me:$LINENO: result: builtin version" >&5
3102echo "${ECHO_T}builtin version" >&6
3103 else
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3105echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3107 fi
3108
3109
3110
3111
3112 enablestring=
3113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3114echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3115 no_cache=0
3116 # Check whether --enable-shared or --disable-shared was given.
3117if test "${enable_shared+set}" = set; then
3118 enableval="$enable_shared"
3119
3120 if test "$enableval" = yes; then
3121 ac_cv_use_shared='wxUSE_SHARED=yes'
3122 else
3123 ac_cv_use_shared='wxUSE_SHARED=no'
3124 fi
3125
3126else
3127
3128 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x ; then
3130 eval "DEFAULT_$LINE"
3131 else
3132 no_cache=1
3133 fi
3134
3135 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3136
3137fi;
3138
3139 eval "$ac_cv_use_shared"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3142 fi
3143
3144 if test "$wxUSE_SHARED" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146echo "${ECHO_T}yes" >&6
3147 else
3148 echo "$as_me:$LINENO: result: no" >&5
3149echo "${ECHO_T}no" >&6
3150 fi
3151
3152
3153 enablestring=
3154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3155echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3156 no_cache=0
3157 # Check whether --enable-optimise or --disable-optimise was given.
3158if test "${enable_optimise+set}" = set; then
3159 enableval="$enable_optimise"
3160
3161 if test "$enableval" = yes; then
3162 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3163 else
3164 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3165 fi
3166
3167else
3168
3169 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x ; then
3171 eval "DEFAULT_$LINE"
3172 else
3173 no_cache=1
3174 fi
3175
3176 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3177
3178fi;
3179
3180 eval "$ac_cv_use_optimise"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3183 fi
3184
3185 if test "$wxUSE_OPTIMISE" = yes; then
3186 echo "$as_me:$LINENO: result: yes" >&5
3187echo "${ECHO_T}yes" >&6
3188 else
3189 echo "$as_me:$LINENO: result: no" >&5
3190echo "${ECHO_T}no" >&6
3191 fi
3192
3193
3194 enablestring=
3195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3196echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3197 no_cache=0
3198 # Check whether --enable-debug or --disable-debug was given.
3199if test "${enable_debug+set}" = set; then
3200 enableval="$enable_debug"
3201
3202 if test "$enableval" = yes; then
3203 ac_cv_use_debug='wxUSE_DEBUG=yes'
3204 else
3205 ac_cv_use_debug='wxUSE_DEBUG=no'
3206 fi
3207
3208else
3209
3210 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3213 else
3214 no_cache=1
3215 fi
3216
3217 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3218
3219fi;
3220
3221 eval "$ac_cv_use_debug"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3224 fi
3225
3226 if test "$wxUSE_DEBUG" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228echo "${ECHO_T}yes" >&6
3229 else
3230 echo "$as_me:$LINENO: result: no" >&5
3231echo "${ECHO_T}no" >&6
3232 fi
3233
3234
3235 enablestring=
3236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3237echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3238 no_cache=0
3239 # Check whether --enable-stl or --disable-stl was given.
3240if test "${enable_stl+set}" = set; then
3241 enableval="$enable_stl"
3242
3243 if test "$enableval" = yes; then
3244 ac_cv_use_stl='wxUSE_STL=yes'
3245 else
3246 ac_cv_use_stl='wxUSE_STL=no'
3247 fi
3248
3249else
3250
3251 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3254 else
3255 no_cache=1
3256 fi
3257
3258 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3259
3260fi;
3261
3262 eval "$ac_cv_use_stl"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3265 fi
3266
3267 if test "$wxUSE_STL" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269echo "${ECHO_T}yes" >&6
3270 else
3271 echo "$as_me:$LINENO: result: no" >&5
3272echo "${ECHO_T}no" >&6
3273 fi
3274
3275
3276if test "$wxUSE_DEBUG" = "yes"; then
3277 DEFAULT_wxUSE_DEBUG_FLAG=yes
3278 DEFAULT_wxUSE_DEBUG_INFO=yes
3279 BUILD=debug
3280elif test "$wxUSE_DEBUG" = "no"; then
3281 DEFAULT_wxUSE_DEBUG_FLAG=no
3282 DEFAULT_wxUSE_DEBUG_INFO=no
3283 BUILD=release
3284fi
3285
3286
3287 enablestring=
3288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3289echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3290 no_cache=0
3291 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3292if test "${enable_debug_flag+set}" = set; then
3293 enableval="$enable_debug_flag"
3294
3295 if test "$enableval" = yes; then
3296 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3297 else
3298 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3299 fi
3300
3301else
3302
3303 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x ; then
3305 eval "DEFAULT_$LINE"
3306 else
3307 no_cache=1
3308 fi
3309
3310 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3311
3312fi;
3313
3314 eval "$ac_cv_use_debug_flag"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3317 fi
3318
3319 if test "$wxUSE_DEBUG_FLAG" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321echo "${ECHO_T}yes" >&6
3322 else
3323 echo "$as_me:$LINENO: result: no" >&5
3324echo "${ECHO_T}no" >&6
3325 fi
3326
3327
3328 enablestring=
3329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3330echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3331 no_cache=0
3332 # Check whether --enable-debug_info or --disable-debug_info was given.
3333if test "${enable_debug_info+set}" = set; then
3334 enableval="$enable_debug_info"
3335
3336 if test "$enableval" = yes; then
3337 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3338 else
3339 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3340 fi
3341
3342else
3343
3344 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3352
3353fi;
3354
3355 eval "$ac_cv_use_debug_info"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_DEBUG_INFO" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362echo "${ECHO_T}yes" >&6
3363 else
3364 echo "$as_me:$LINENO: result: no" >&5
3365echo "${ECHO_T}no" >&6
3366 fi
3367
3368
3369 enablestring=
3370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3371echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3372 no_cache=0
3373 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3374if test "${enable_debug_gdb+set}" = set; then
3375 enableval="$enable_debug_gdb"
3376
3377 if test "$enableval" = yes; then
3378 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3379 else
3380 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3381 fi
3382
3383else
3384
3385 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x ; then
3387 eval "DEFAULT_$LINE"
3388 else
3389 no_cache=1
3390 fi
3391
3392 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3393
3394fi;
3395
3396 eval "$ac_cv_use_debug_gdb"
3397 if test "$no_cache" != 1; then
3398 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3399 fi
3400
3401 if test "$wxUSE_DEBUG_GDB" = yes; then
3402 echo "$as_me:$LINENO: result: yes" >&5
3403echo "${ECHO_T}yes" >&6
3404 else
3405 echo "$as_me:$LINENO: result: no" >&5
3406echo "${ECHO_T}no" >&6
3407 fi
3408
3409
3410 enablestring=
3411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3412echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3413 no_cache=0
3414 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3415if test "${enable_debug_cntxt+set}" = set; then
3416 enableval="$enable_debug_cntxt"
3417
3418 if test "$enableval" = yes; then
3419 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3420 else
3421 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3422 fi
3423
3424else
3425
3426 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x ; then
3428 eval "DEFAULT_$LINE"
3429 else
3430 no_cache=1
3431 fi
3432
3433 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3434
3435fi;
3436
3437 eval "$ac_cv_use_debug_cntxt"
3438 if test "$no_cache" != 1; then
3439 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3440 fi
3441
3442 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3443 echo "$as_me:$LINENO: result: yes" >&5
3444echo "${ECHO_T}yes" >&6
3445 else
3446 echo "$as_me:$LINENO: result: no" >&5
3447echo "${ECHO_T}no" >&6
3448 fi
3449
3450
3451 enablestring=
3452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3453echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3454 no_cache=0
3455 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3456if test "${enable_mem_tracing+set}" = set; then
3457 enableval="$enable_mem_tracing"
3458
3459 if test "$enableval" = yes; then
3460 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3461 else
3462 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3463 fi
3464
3465else
3466
3467 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3470 else
3471 no_cache=1
3472 fi
3473
3474 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3475
3476fi;
3477
3478 eval "$ac_cv_use_mem_tracing"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3481 fi
3482
3483 if test "$wxUSE_MEM_TRACING" = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485echo "${ECHO_T}yes" >&6
3486 else
3487 echo "$as_me:$LINENO: result: no" >&5
3488echo "${ECHO_T}no" >&6
3489 fi
3490
3491
3492 enablestring=
3493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3494echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3495 no_cache=0
3496 # Check whether --enable-profile or --disable-profile was given.
3497if test "${enable_profile+set}" = set; then
3498 enableval="$enable_profile"
3499
3500 if test "$enableval" = yes; then
3501 ac_cv_use_profile='wxUSE_PROFILE=yes'
3502 else
3503 ac_cv_use_profile='wxUSE_PROFILE=no'
3504 fi
3505
3506else
3507
3508 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3509 if test "x$LINE" != x ; then
3510 eval "DEFAULT_$LINE"
3511 else
3512 no_cache=1
3513 fi
3514
3515 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3516
3517fi;
3518
3519 eval "$ac_cv_use_profile"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3522 fi
3523
3524 if test "$wxUSE_PROFILE" = yes; then
3525 echo "$as_me:$LINENO: result: yes" >&5
3526echo "${ECHO_T}yes" >&6
3527 else
3528 echo "$as_me:$LINENO: result: no" >&5
3529echo "${ECHO_T}no" >&6
3530 fi
3531
3532
3533 enablestring=
3534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3535echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3536 no_cache=0
3537 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3538if test "${enable_no_rtti+set}" = set; then
3539 enableval="$enable_no_rtti"
3540
3541 if test "$enableval" = yes; then
3542 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3543 else
3544 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3545 fi
3546
3547else
3548
3549 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3550 if test "x$LINE" != x ; then
3551 eval "DEFAULT_$LINE"
3552 else
3553 no_cache=1
3554 fi
3555
3556 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3557
3558fi;
3559
3560 eval "$ac_cv_use_no_rtti"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test "$wxUSE_NO_RTTI" = yes; then
3566 echo "$as_me:$LINENO: result: yes" >&5
3567echo "${ECHO_T}yes" >&6
3568 else
3569 echo "$as_me:$LINENO: result: no" >&5
3570echo "${ECHO_T}no" >&6
3571 fi
3572
3573
3574 enablestring=
3575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3576echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3577 no_cache=0
3578 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3579if test "${enable_no_exceptions+set}" = set; then
3580 enableval="$enable_no_exceptions"
3581
3582 if test "$enableval" = yes; then
3583 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3584 else
3585 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3586 fi
3587
3588else
3589
3590 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x ; then
3592 eval "DEFAULT_$LINE"
3593 else
3594 no_cache=1
3595 fi
3596
3597 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3598
3599fi;
3600
3601 eval "$ac_cv_use_no_exceptions"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3604 fi
3605
3606 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3607 echo "$as_me:$LINENO: result: yes" >&5
3608echo "${ECHO_T}yes" >&6
3609 else
3610 echo "$as_me:$LINENO: result: no" >&5
3611echo "${ECHO_T}no" >&6
3612 fi
3613
3614
3615 enablestring=
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3617echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3618 no_cache=0
3619 # Check whether --enable-permissive or --disable-permissive was given.
3620if test "${enable_permissive+set}" = set; then
3621 enableval="$enable_permissive"
3622
3623 if test "$enableval" = yes; then
3624 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3625 else
3626 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3627 fi
3628
3629else
3630
3631 LINE=`grep "wxUSE_PERMISSIVE" ${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_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3639
3640fi;
3641
3642 eval "$ac_cv_use_permissive"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3645 fi
3646
3647 if test "$wxUSE_PERMISSIVE" = 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
3655
3656 enablestring=
3657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3658echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3659 no_cache=0
3660 # Check whether --enable-no_deps or --disable-no_deps was given.
3661if test "${enable_no_deps+set}" = set; then
3662 enableval="$enable_no_deps"
3663
3664 if test "$enableval" = yes; then
3665 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3666 else
3667 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3668 fi
3669
3670else
3671
3672 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3673 if test "x$LINE" != x ; then
3674 eval "DEFAULT_$LINE"
3675 else
3676 no_cache=1
3677 fi
3678
3679 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3680
3681fi;
3682
3683 eval "$ac_cv_use_no_deps"
3684 if test "$no_cache" != 1; then
3685 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3686 fi
3687
3688 if test "$wxUSE_NO_DEPS" = yes; then
3689 echo "$as_me:$LINENO: result: yes" >&5
3690echo "${ECHO_T}yes" >&6
3691 else
3692 echo "$as_me:$LINENO: result: no" >&5
3693echo "${ECHO_T}no" >&6
3694 fi
3695
3696
3697
3698 enablestring=
3699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3700echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3701 no_cache=0
3702 # Check whether --enable-compat22 or --disable-compat22 was given.
3703if test "${enable_compat22+set}" = set; then
3704 enableval="$enable_compat22"
3705
3706 if test "$enableval" = yes; then
3707 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3708 else
3709 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3710 fi
3711
3712else
3713
3714 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x ; then
3716 eval "DEFAULT_$LINE"
3717 else
3718 no_cache=1
3719 fi
3720
3721 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3722
3723fi;
3724
3725 eval "$ac_cv_use_compat22"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3728 fi
3729
3730 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3731 echo "$as_me:$LINENO: result: yes" >&5
3732echo "${ECHO_T}yes" >&6
3733 else
3734 echo "$as_me:$LINENO: result: no" >&5
3735echo "${ECHO_T}no" >&6
3736 fi
3737
3738
3739 enablestring=disable
3740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3741echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3742 no_cache=0
3743 # Check whether --enable-compat24 or --disable-compat24 was given.
3744if test "${enable_compat24+set}" = set; then
3745 enableval="$enable_compat24"
3746
3747 if test "$enableval" = yes; then
3748 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3749 else
3750 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3751 fi
3752
3753else
3754
3755 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3763
3764fi;
3765
3766 eval "$ac_cv_use_compat24"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773echo "${ECHO_T}yes" >&6
3774 else
3775 echo "$as_me:$LINENO: result: no" >&5
3776echo "${ECHO_T}no" >&6
3777 fi
3778
3779
3780# Check whether --enable-rpath or --disable-rpath was given.
3781if test "${enable_rpath+set}" = set; then
3782 enableval="$enable_rpath"
3783 wxRPATH_DIR="$enableval"
3784fi;
3785
3786if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3787 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3788fi
3789
3790
3791
3792
3793 enablestring=
3794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3795echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3796 no_cache=0
3797 # Check whether --enable-intl or --disable-intl was given.
3798if test "${enable_intl+set}" = set; then
3799 enableval="$enable_intl"
3800
3801 if test "$enableval" = yes; then
3802 ac_cv_use_intl='wxUSE_INTL=yes'
3803 else
3804 ac_cv_use_intl='wxUSE_INTL=no'
3805 fi
3806
3807else
3808
3809 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3810 if test "x$LINE" != x ; then
3811 eval "DEFAULT_$LINE"
3812 else
3813 no_cache=1
3814 fi
3815
3816 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3817
3818fi;
3819
3820 eval "$ac_cv_use_intl"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3823 fi
3824
3825 if test "$wxUSE_INTL" = yes; then
3826 echo "$as_me:$LINENO: result: yes" >&5
3827echo "${ECHO_T}yes" >&6
3828 else
3829 echo "$as_me:$LINENO: result: no" >&5
3830echo "${ECHO_T}no" >&6
3831 fi
3832
3833
3834 enablestring=
3835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3836echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3837 no_cache=0
3838 # Check whether --enable-config or --disable-config was given.
3839if test "${enable_config+set}" = set; then
3840 enableval="$enable_config"
3841
3842 if test "$enableval" = yes; then
3843 ac_cv_use_config='wxUSE_CONFIG=yes'
3844 else
3845 ac_cv_use_config='wxUSE_CONFIG=no'
3846 fi
3847
3848else
3849
3850 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3853 else
3854 no_cache=1
3855 fi
3856
3857 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3858
3859fi;
3860
3861 eval "$ac_cv_use_config"
3862 if test "$no_cache" != 1; then
3863 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3864 fi
3865
3866 if test "$wxUSE_CONFIG" = yes; then
3867 echo "$as_me:$LINENO: result: yes" >&5
3868echo "${ECHO_T}yes" >&6
3869 else
3870 echo "$as_me:$LINENO: result: no" >&5
3871echo "${ECHO_T}no" >&6
3872 fi
3873
3874
3875
3876 enablestring=
3877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3878echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3879 no_cache=0
3880 # Check whether --enable-protocols or --disable-protocols was given.
3881if test "${enable_protocols+set}" = set; then
3882 enableval="$enable_protocols"
3883
3884 if test "$enableval" = yes; then
3885 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3886 else
3887 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3888 fi
3889
3890else
3891
3892 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 else
3896 no_cache=1
3897 fi
3898
3899 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3900
3901fi;
3902
3903 eval "$ac_cv_use_protocols"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3906 fi
3907
3908 if test "$wxUSE_PROTOCOL" = yes; then
3909 echo "$as_me:$LINENO: result: yes" >&5
3910echo "${ECHO_T}yes" >&6
3911 else
3912 echo "$as_me:$LINENO: result: no" >&5
3913echo "${ECHO_T}no" >&6
3914 fi
3915
3916
3917 enablestring=
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3919echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3920 no_cache=0
3921 # Check whether --enable-ftp or --disable-ftp was given.
3922if test "${enable_ftp+set}" = set; then
3923 enableval="$enable_ftp"
3924
3925 if test "$enableval" = yes; then
3926 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3927 else
3928 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3929 fi
3930
3931else
3932
3933 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3936 else
3937 no_cache=1
3938 fi
3939
3940 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3941
3942fi;
3943
3944 eval "$ac_cv_use_ftp"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3947 fi
3948
3949 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3950 echo "$as_me:$LINENO: result: yes" >&5
3951echo "${ECHO_T}yes" >&6
3952 else
3953 echo "$as_me:$LINENO: result: no" >&5
3954echo "${ECHO_T}no" >&6
3955 fi
3956
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3960echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-http or --disable-http was given.
3963if test "${enable_http+set}" = set; then
3964 enableval="$enable_http"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3968 else
3969 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3970 fi
3971
3972else
3973
3974 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3982
3983fi;
3984
3985 eval "$ac_cv_use_http"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995echo "${ECHO_T}no" >&6
3996 fi
3997
3998
3999 enablestring=
4000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4001echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4002 no_cache=0
4003 # Check whether --enable-fileproto or --disable-fileproto was given.
4004if test "${enable_fileproto+set}" = set; then
4005 enableval="$enable_fileproto"
4006
4007 if test "$enableval" = yes; then
4008 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4009 else
4010 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4011 fi
4012
4013else
4014
4015 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x ; then
4017 eval "DEFAULT_$LINE"
4018 else
4019 no_cache=1
4020 fi
4021
4022 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4023
4024fi;
4025
4026 eval "$ac_cv_use_fileproto"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4032 echo "$as_me:$LINENO: result: yes" >&5
4033echo "${ECHO_T}yes" >&6
4034 else
4035 echo "$as_me:$LINENO: result: no" >&5
4036echo "${ECHO_T}no" >&6
4037 fi
4038
4039
4040 enablestring=
4041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4042echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4043 no_cache=0
4044 # Check whether --enable-sockets or --disable-sockets was given.
4045if test "${enable_sockets+set}" = set; then
4046 enableval="$enable_sockets"
4047
4048 if test "$enableval" = yes; then
4049 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4050 else
4051 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4052 fi
4053
4054else
4055
4056 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4059 else
4060 no_cache=1
4061 fi
4062
4063 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4064
4065fi;
4066
4067 eval "$ac_cv_use_sockets"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4070 fi
4071
4072 if test "$wxUSE_SOCKETS" = yes; then
4073 echo "$as_me:$LINENO: result: yes" >&5
4074echo "${ECHO_T}yes" >&6
4075 else
4076 echo "$as_me:$LINENO: result: no" >&5
4077echo "${ECHO_T}no" >&6
4078 fi
4079
4080
4081 enablestring=
4082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4083echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4084 no_cache=0
4085 # Check whether --enable-ole or --disable-ole was given.
4086if test "${enable_ole+set}" = set; then
4087 enableval="$enable_ole"
4088
4089 if test "$enableval" = yes; then
4090 ac_cv_use_ole='wxUSE_OLE=yes'
4091 else
4092 ac_cv_use_ole='wxUSE_OLE=no'
4093 fi
4094
4095else
4096
4097 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x ; then
4099 eval "DEFAULT_$LINE"
4100 else
4101 no_cache=1
4102 fi
4103
4104 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4105
4106fi;
4107
4108 eval "$ac_cv_use_ole"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4111 fi
4112
4113 if test "$wxUSE_OLE" = yes; then
4114 echo "$as_me:$LINENO: result: yes" >&5
4115echo "${ECHO_T}yes" >&6
4116 else
4117 echo "$as_me:$LINENO: result: no" >&5
4118echo "${ECHO_T}no" >&6
4119 fi
4120
4121
4122 enablestring=
4123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4124echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4125 no_cache=0
4126 # Check whether --enable-dataobj or --disable-dataobj was given.
4127if test "${enable_dataobj+set}" = set; then
4128 enableval="$enable_dataobj"
4129
4130 if test "$enableval" = yes; then
4131 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4132 else
4133 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4134 fi
4135
4136else
4137
4138 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x ; then
4140 eval "DEFAULT_$LINE"
4141 else
4142 no_cache=1
4143 fi
4144
4145 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4146
4147fi;
4148
4149 eval "$ac_cv_use_dataobj"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4152 fi
4153
4154 if test "$wxUSE_DATAOBJ" = yes; then
4155 echo "$as_me:$LINENO: result: yes" >&5
4156echo "${ECHO_T}yes" >&6
4157 else
4158 echo "$as_me:$LINENO: result: no" >&5
4159echo "${ECHO_T}no" >&6
4160 fi
4161
4162
4163
4164 enablestring=
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4166echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-ipc or --disable-ipc was given.
4169if test "${enable_ipc+set}" = set; then
4170 enableval="$enable_ipc"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_ipc='wxUSE_IPC=yes'
4174 else
4175 ac_cv_use_ipc='wxUSE_IPC=no'
4176 fi
4177
4178else
4179
4180 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4188
4189fi;
4190
4191 eval "$ac_cv_use_ipc"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_IPC" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4208echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4211if test "${enable_apple_ieee+set}" = set; then
4212 enableval="$enable_apple_ieee"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4216 else
4217 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4218 fi
4219
4220else
4221
4222 LINE=`grep "wxUSE_APPLE_IEEE" ${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_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4230
4231fi;
4232
4233 eval "$ac_cv_use_apple_ieee"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_APPLE_IEEE" = 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}-catch_segvs" >&5
4249echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4250 no_cache=0
4251 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4252if test "${enable_catch_segvs+set}" = set; then
4253 enableval="$enable_catch_segvs"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4257 else
4258 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4259 fi
4260
4261else
4262
4263 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${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_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4271
4272fi;
4273
4274 eval "$ac_cv_use_catch_segvs"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4277 fi
4278
4279 if test "$wxUSE_ON_FATAL_EXCEPTION" = 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 enablestring=
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4290echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4291 no_cache=0
4292 # Check whether --enable-cmdline or --disable-cmdline was given.
4293if test "${enable_cmdline+set}" = set; then
4294 enableval="$enable_cmdline"
4295
4296 if test "$enableval" = yes; then
4297 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4298 else
4299 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4300 fi
4301
4302else
4303
4304 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x ; then
4306 eval "DEFAULT_$LINE"
4307 else
4308 no_cache=1
4309 fi
4310
4311 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4312
4313fi;
4314
4315 eval "$ac_cv_use_cmdline"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4318 fi
4319
4320 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322echo "${ECHO_T}yes" >&6
4323 else
4324 echo "$as_me:$LINENO: result: no" >&5
4325echo "${ECHO_T}no" >&6
4326 fi
4327
4328
4329 enablestring=
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4331echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4332 no_cache=0
4333 # Check whether --enable-datetime or --disable-datetime was given.
4334if test "${enable_datetime+set}" = set; then
4335 enableval="$enable_datetime"
4336
4337 if test "$enableval" = yes; then
4338 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4339 else
4340 ac_cv_use_datetime='wxUSE_DATETIME=no'
4341 fi
4342
4343else
4344
4345 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 else
4349 no_cache=1
4350 fi
4351
4352 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4353
4354fi;
4355
4356 eval "$ac_cv_use_datetime"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4359 fi
4360
4361 if test "$wxUSE_DATETIME" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363echo "${ECHO_T}yes" >&6
4364 else
4365 echo "$as_me:$LINENO: result: no" >&5
4366echo "${ECHO_T}no" >&6
4367 fi
4368
4369
4370 enablestring=
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4372echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4373 no_cache=0
4374 # Check whether --enable-dialupman or --disable-dialupman was given.
4375if test "${enable_dialupman+set}" = set; then
4376 enableval="$enable_dialupman"
4377
4378 if test "$enableval" = yes; then
4379 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4380 else
4381 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4382 fi
4383
4384else
4385
4386 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4389 else
4390 no_cache=1
4391 fi
4392
4393 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4394
4395fi;
4396
4397 eval "$ac_cv_use_dialupman"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4400 fi
4401
4402 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404echo "${ECHO_T}yes" >&6
4405 else
4406 echo "$as_me:$LINENO: result: no" >&5
4407echo "${ECHO_T}no" >&6
4408 fi
4409
4410
4411 enablestring=
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4413echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4414 no_cache=0
4415 # Check whether --enable-dynlib or --disable-dynlib was given.
4416if test "${enable_dynlib+set}" = set; then
4417 enableval="$enable_dynlib"
4418
4419 if test "$enableval" = yes; then
4420 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4421 else
4422 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4423 fi
4424
4425else
4426
4427 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4430 else
4431 no_cache=1
4432 fi
4433
4434 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4435
4436fi;
4437
4438 eval "$ac_cv_use_dynlib"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445echo "${ECHO_T}yes" >&6
4446 else
4447 echo "$as_me:$LINENO: result: no" >&5
4448echo "${ECHO_T}no" >&6
4449 fi
4450
4451
4452 enablestring=
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4454echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4455 no_cache=0
4456 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4457if test "${enable_dynamicloader+set}" = set; then
4458 enableval="$enable_dynamicloader"
4459
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4462 else
4463 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4464 fi
4465
4466else
4467
4468 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4476
4477fi;
4478
4479 eval "$ac_cv_use_dynamicloader"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4482 fi
4483
4484 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486echo "${ECHO_T}yes" >&6
4487 else
4488 echo "$as_me:$LINENO: result: no" >&5
4489echo "${ECHO_T}no" >&6
4490 fi
4491
4492
4493 enablestring=
4494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4495echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4496 no_cache=0
4497 # Check whether --enable-exceptions or --disable-exceptions was given.
4498if test "${enable_exceptions+set}" = set; then
4499 enableval="$enable_exceptions"
4500
4501 if test "$enableval" = yes; then
4502 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4503 else
4504 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4505 fi
4506
4507else
4508
4509 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x ; then
4511 eval "DEFAULT_$LINE"
4512 else
4513 no_cache=1
4514 fi
4515
4516 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4517
4518fi;
4519
4520 eval "$ac_cv_use_exceptions"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4523 fi
4524
4525 if test "$wxUSE_EXCEPTIONS" = yes; then
4526 echo "$as_me:$LINENO: result: yes" >&5
4527echo "${ECHO_T}yes" >&6
4528 else
4529 echo "$as_me:$LINENO: result: no" >&5
4530echo "${ECHO_T}no" >&6
4531 fi
4532
4533
4534 enablestring=
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4536echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4537 no_cache=0
4538 # Check whether --enable-ffile or --disable-ffile was given.
4539if test "${enable_ffile+set}" = set; then
4540 enableval="$enable_ffile"
4541
4542 if test "$enableval" = yes; then
4543 ac_cv_use_ffile='wxUSE_FFILE=yes'
4544 else
4545 ac_cv_use_ffile='wxUSE_FFILE=no'
4546 fi
4547
4548else
4549
4550 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x ; then
4552 eval "DEFAULT_$LINE"
4553 else
4554 no_cache=1
4555 fi
4556
4557 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4558
4559fi;
4560
4561 eval "$ac_cv_use_ffile"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4564 fi
4565
4566 if test "$wxUSE_FFILE" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568echo "${ECHO_T}yes" >&6
4569 else
4570 echo "$as_me:$LINENO: result: no" >&5
4571echo "${ECHO_T}no" >&6
4572 fi
4573
4574
4575 enablestring=
4576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4577echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4578 no_cache=0
4579 # Check whether --enable-file or --disable-file was given.
4580if test "${enable_file+set}" = set; then
4581 enableval="$enable_file"
4582
4583 if test "$enableval" = yes; then
4584 ac_cv_use_file='wxUSE_FILE=yes'
4585 else
4586 ac_cv_use_file='wxUSE_FILE=no'
4587 fi
4588
4589else
4590
4591 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4594 else
4595 no_cache=1
4596 fi
4597
4598 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4599
4600fi;
4601
4602 eval "$ac_cv_use_file"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4605 fi
4606
4607 if test "$wxUSE_FILE" = yes; then
4608 echo "$as_me:$LINENO: result: yes" >&5
4609echo "${ECHO_T}yes" >&6
4610 else
4611 echo "$as_me:$LINENO: result: no" >&5
4612echo "${ECHO_T}no" >&6
4613 fi
4614
4615
4616 enablestring=
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4618echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-filesystem or --disable-filesystem was given.
4621if test "${enable_filesystem+set}" = set; then
4622 enableval="$enable_filesystem"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4626 else
4627 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4628 fi
4629
4630else
4631
4632 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4640
4641fi;
4642
4643 eval "$ac_cv_use_filesystem"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test "$wxUSE_FILESYSTEM" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650echo "${ECHO_T}yes" >&6
4651 else
4652 echo "$as_me:$LINENO: result: no" >&5
4653echo "${ECHO_T}no" >&6
4654 fi
4655
4656
4657 enablestring=
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4659echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4660 no_cache=0
4661 # Check whether --enable-fontmap or --disable-fontmap was given.
4662if test "${enable_fontmap+set}" = set; then
4663 enableval="$enable_fontmap"
4664
4665 if test "$enableval" = yes; then
4666 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4667 else
4668 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4669 fi
4670
4671else
4672
4673 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4676 else
4677 no_cache=1
4678 fi
4679
4680 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4681
4682fi;
4683
4684 eval "$ac_cv_use_fontmap"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_FONTMAP" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691echo "${ECHO_T}yes" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694echo "${ECHO_T}no" >&6
4695 fi
4696
4697
4698 enablestring=
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4700echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4701 no_cache=0
4702 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4703if test "${enable_fs_inet+set}" = set; then
4704 enableval="$enable_fs_inet"
4705
4706 if test "$enableval" = yes; then
4707 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4708 else
4709 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4710 fi
4711
4712else
4713
4714 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 else
4718 no_cache=1
4719 fi
4720
4721 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4722
4723fi;
4724
4725 eval "$ac_cv_use_fs_inet"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_FS_INET" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732echo "${ECHO_T}yes" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735echo "${ECHO_T}no" >&6
4736 fi
4737
4738
4739 enablestring=
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4741echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4742 no_cache=0
4743 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4744if test "${enable_fs_zip+set}" = set; then
4745 enableval="$enable_fs_zip"
4746
4747 if test "$enableval" = yes; then
4748 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4749 else
4750 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4751 fi
4752
4753else
4754
4755 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4763
4764fi;
4765
4766 eval "$ac_cv_use_fs_zip"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test "$wxUSE_FS_ZIP" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773echo "${ECHO_T}yes" >&6
4774 else
4775 echo "$as_me:$LINENO: result: no" >&5
4776echo "${ECHO_T}no" >&6
4777 fi
4778
4779
4780 enablestring=
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4782echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4783 no_cache=0
4784 # Check whether --enable-geometry or --disable-geometry was given.
4785if test "${enable_geometry+set}" = set; then
4786 enableval="$enable_geometry"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4790 else
4791 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4792 fi
4793
4794else
4795
4796 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4804
4805fi;
4806
4807 eval "$ac_cv_use_geometry"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_GEOMETRY" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814echo "${ECHO_T}yes" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817echo "${ECHO_T}no" >&6
4818 fi
4819
4820
4821 enablestring=
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4823echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4824 no_cache=0
4825 # Check whether --enable-log or --disable-log was given.
4826if test "${enable_log+set}" = set; then
4827 enableval="$enable_log"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_log='wxUSE_LOG=yes'
4831 else
4832 ac_cv_use_log='wxUSE_LOG=no'
4833 fi
4834
4835else
4836
4837 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4845
4846fi;
4847
4848 eval "$ac_cv_use_log"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_LOG" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855echo "${ECHO_T}yes" >&6
4856 else
4857 echo "$as_me:$LINENO: result: no" >&5
4858echo "${ECHO_T}no" >&6
4859 fi
4860
4861
4862 enablestring=
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4864echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4865 no_cache=0
4866 # Check whether --enable-longlong or --disable-longlong was given.
4867if test "${enable_longlong+set}" = set; then
4868 enableval="$enable_longlong"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4872 else
4873 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4874 fi
4875
4876else
4877
4878 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4886
4887fi;
4888
4889 eval "$ac_cv_use_longlong"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_LONGLONG" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896echo "${ECHO_T}yes" >&6
4897 else
4898 echo "$as_me:$LINENO: result: no" >&5
4899echo "${ECHO_T}no" >&6
4900 fi
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
4905echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-mimetype or --disable-mimetype was given.
4908if test "${enable_mimetype+set}" = set; then
4909 enableval="$enable_mimetype"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4913 else
4914 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4915 fi
4916
4917else
4918
4919 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4927
4928fi;
4929
4930 eval "$ac_cv_use_mimetype"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_MIMETYPE" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4946echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-mslu or --disable-mslu was given.
4949if test "${enable_mslu+set}" = set; then
4950 enableval="$enable_mslu"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4954 else
4955 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4956 fi
4957
4958else
4959
4960 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4968
4969fi;
4970
4971 eval "$ac_cv_use_mslu"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_UNICODE_MSLU" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985 enablestring=
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
4987echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
4988 no_cache=0
4989 # Check whether --enable-snglinst or --disable-snglinst was given.
4990if test "${enable_snglinst+set}" = set; then
4991 enableval="$enable_snglinst"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4995 else
4996 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4997 fi
4998
4999else
5000
5001 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5009
5010fi;
5011
5012 eval "$ac_cv_use_snglinst"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5015 fi
5016
5017 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019echo "${ECHO_T}yes" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022echo "${ECHO_T}no" >&6
5023 fi
5024
5025
5026 enablestring=
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5028echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5029 no_cache=0
5030 # Check whether --enable-streams or --disable-streams was given.
5031if test "${enable_streams+set}" = set; then
5032 enableval="$enable_streams"
5033
5034 if test "$enableval" = yes; then
5035 ac_cv_use_streams='wxUSE_STREAMS=yes'
5036 else
5037 ac_cv_use_streams='wxUSE_STREAMS=no'
5038 fi
5039
5040else
5041
5042 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5050
5051fi;
5052
5053 eval "$ac_cv_use_streams"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5056 fi
5057
5058 if test "$wxUSE_STREAMS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060echo "${ECHO_T}yes" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063echo "${ECHO_T}no" >&6
5064 fi
5065
5066
5067 enablestring=
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5069echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5070 no_cache=0
5071 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5072if test "${enable_std_iostreams+set}" = set; then
5073 enableval="$enable_std_iostreams"
5074
5075 if test "$enableval" = yes; then
5076 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5077 else
5078 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5079 fi
5080
5081else
5082
5083 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5091
5092fi;
5093
5094 eval "$ac_cv_use_std_iostreams"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test "$wxUSE_STD_IOSTREAM" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101echo "${ECHO_T}yes" >&6
5102 else
5103 echo "$as_me:$LINENO: result: no" >&5
5104echo "${ECHO_T}no" >&6
5105 fi
5106
5107
5108 enablestring=
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5110echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5111 no_cache=0
5112 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5113if test "${enable_stopwatch+set}" = set; then
5114 enableval="$enable_stopwatch"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5118 else
5119 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5120 fi
5121
5122else
5123
5124 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5132
5133fi;
5134
5135 eval "$ac_cv_use_stopwatch"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test "$wxUSE_STOPWATCH" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142echo "${ECHO_T}yes" >&6
5143 else
5144 echo "$as_me:$LINENO: result: no" >&5
5145echo "${ECHO_T}no" >&6
5146 fi
5147
5148
5149 enablestring=
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5151echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5152 no_cache=0
5153 # Check whether --enable-system_options or --disable-system_options was given.
5154if test "${enable_system_options+set}" = set; then
5155 enableval="$enable_system_options"
5156
5157 if test "$enableval" = yes; then
5158 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5159 else
5160 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5161 fi
5162
5163else
5164
5165 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5173
5174fi;
5175
5176 eval "$ac_cv_use_system_options"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183echo "${ECHO_T}yes" >&6
5184 else
5185 echo "$as_me:$LINENO: result: no" >&5
5186echo "${ECHO_T}no" >&6
5187 fi
5188
5189
5190 enablestring=
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5192echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5193 no_cache=0
5194 # Check whether --enable-textbuf or --disable-textbuf was given.
5195if test "${enable_textbuf+set}" = set; then
5196 enableval="$enable_textbuf"
5197
5198 if test "$enableval" = yes; then
5199 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5200 else
5201 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5202 fi
5203
5204else
5205
5206 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5214
5215fi;
5216
5217 eval "$ac_cv_use_textbuf"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_TEXTBUFFER" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224echo "${ECHO_T}yes" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227echo "${ECHO_T}no" >&6
5228 fi
5229
5230
5231 enablestring=
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5233echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5234 no_cache=0
5235 # Check whether --enable-textfile or --disable-textfile was given.
5236if test "${enable_textfile+set}" = set; then
5237 enableval="$enable_textfile"
5238
5239 if test "$enableval" = yes; then
5240 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5241 else
5242 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5243 fi
5244
5245else
5246
5247 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5250 else
5251 no_cache=1
5252 fi
5253
5254 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5255
5256fi;
5257
5258 eval "$ac_cv_use_textfile"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test "$wxUSE_TEXTFILE" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265echo "${ECHO_T}yes" >&6
5266 else
5267 echo "$as_me:$LINENO: result: no" >&5
5268echo "${ECHO_T}no" >&6
5269 fi
5270
5271
5272 enablestring=
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5274echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5275 no_cache=0
5276 # Check whether --enable-timer or --disable-timer was given.
5277if test "${enable_timer+set}" = set; then
5278 enableval="$enable_timer"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_timer='wxUSE_TIMER=yes'
5282 else
5283 ac_cv_use_timer='wxUSE_TIMER=no'
5284 fi
5285
5286else
5287
5288 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5296
5297fi;
5298
5299 eval "$ac_cv_use_timer"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$wxUSE_TIMER" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306echo "${ECHO_T}yes" >&6
5307 else
5308 echo "$as_me:$LINENO: result: no" >&5
5309echo "${ECHO_T}no" >&6
5310 fi
5311
5312
5313 enablestring=
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5315echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5316 no_cache=0
5317 # Check whether --enable-unicode or --disable-unicode was given.
5318if test "${enable_unicode+set}" = set; then
5319 enableval="$enable_unicode"
5320
5321 if test "$enableval" = yes; then
5322 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5323 else
5324 ac_cv_use_unicode='wxUSE_UNICODE=no'
5325 fi
5326
5327else
5328
5329 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5332 else
5333 no_cache=1
5334 fi
5335
5336 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5337
5338fi;
5339
5340 eval "$ac_cv_use_unicode"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$wxUSE_UNICODE" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347echo "${ECHO_T}yes" >&6
5348 else
5349 echo "$as_me:$LINENO: result: no" >&5
5350echo "${ECHO_T}no" >&6
5351 fi
5352
5353
5354 enablestring=
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5356echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5357 no_cache=0
5358 # Check whether --enable-wave or --disable-wave was given.
5359if test "${enable_wave+set}" = set; then
5360 enableval="$enable_wave"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_wave='wxUSE_WAVE=yes'
5364 else
5365 ac_cv_use_wave='wxUSE_WAVE=no'
5366 fi
5367
5368else
5369
5370 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5378
5379fi;
5380
5381 eval "$ac_cv_use_wave"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_WAVE" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388echo "${ECHO_T}yes" >&6
5389 else
5390 echo "$as_me:$LINENO: result: no" >&5
5391echo "${ECHO_T}no" >&6
5392 fi
5393
5394
5395 enablestring=
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5397echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5398 no_cache=0
5399 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5400if test "${enable_wxprintfv+set}" = set; then
5401 enableval="$enable_wxprintfv"
5402
5403 if test "$enableval" = yes; then
5404 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5405 else
5406 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5407 fi
5408
5409else
5410
5411 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5414 else
5415 no_cache=1
5416 fi
5417
5418 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5419
5420fi;
5421
5422 eval "$ac_cv_use_wxprintfv"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429echo "${ECHO_T}yes" >&6
5430 else
5431 echo "$as_me:$LINENO: result: no" >&5
5432echo "${ECHO_T}no" >&6
5433 fi
5434
5435
5436 enablestring=
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5438echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5439 no_cache=0
5440 # Check whether --enable-zipstream or --disable-zipstream was given.
5441if test "${enable_zipstream+set}" = set; then
5442 enableval="$enable_zipstream"
5443
5444 if test "$enableval" = yes; then
5445 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5446 else
5447 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5448 fi
5449
5450else
5451
5452 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 else
5456 no_cache=1
5457 fi
5458
5459 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5460
5461fi;
5462
5463 eval "$ac_cv_use_zipstream"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_ZIPSTREAM" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470echo "${ECHO_T}yes" >&6
5471 else
5472 echo "$as_me:$LINENO: result: no" >&5
5473echo "${ECHO_T}no" >&6
5474 fi
5475
5476
5477 enablestring=
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5479echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5480 no_cache=0
5481 # Check whether --enable-gzstream or --disable-gzstream was given.
5482if test "${enable_gzstream+set}" = set; then
5483 enableval="$enable_gzstream"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5487 else
5488 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5489 fi
5490
5491else
5492
5493 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5501
5502fi;
5503
5504 eval "$ac_cv_use_gzstream"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5507 fi
5508
5509 if test "$wxUSE_GZSTREAM" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511echo "${ECHO_T}yes" >&6
5512 else
5513 echo "$as_me:$LINENO: result: no" >&5
5514echo "${ECHO_T}no" >&6
5515 fi
5516
5517
5518
5519 enablestring=
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5521echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5522 no_cache=0
5523 # Check whether --enable-url or --disable-url was given.
5524if test "${enable_url+set}" = set; then
5525 enableval="$enable_url"
5526
5527 if test "$enableval" = yes; then
5528 ac_cv_use_url='wxUSE_URL=yes'
5529 else
5530 ac_cv_use_url='wxUSE_URL=no'
5531 fi
5532
5533else
5534
5535 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x ; then
5537 eval "DEFAULT_$LINE"
5538 else
5539 no_cache=1
5540 fi
5541
5542 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5543
5544fi;
5545
5546 eval "$ac_cv_use_url"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5549 fi
5550
5551 if test "$wxUSE_URL" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553echo "${ECHO_T}yes" >&6
5554 else
5555 echo "$as_me:$LINENO: result: no" >&5
5556echo "${ECHO_T}no" >&6
5557 fi
5558
5559
5560 enablestring=
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5562echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5563 no_cache=0
5564 # Check whether --enable-protocol or --disable-protocol was given.
5565if test "${enable_protocol+set}" = set; then
5566 enableval="$enable_protocol"
5567
5568 if test "$enableval" = yes; then
5569 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5570 else
5571 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5572 fi
5573
5574else
5575
5576 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x ; then
5578 eval "DEFAULT_$LINE"
5579 else
5580 no_cache=1
5581 fi
5582
5583 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5584
5585fi;
5586
5587 eval "$ac_cv_use_protocol"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5590 fi
5591
5592 if test "$wxUSE_PROTOCOL" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594echo "${ECHO_T}yes" >&6
5595 else
5596 echo "$as_me:$LINENO: result: no" >&5
5597echo "${ECHO_T}no" >&6
5598 fi
5599
5600
5601 enablestring=
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5603echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5604 no_cache=0
5605 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5606if test "${enable_protocol_http+set}" = set; then
5607 enableval="$enable_protocol_http"
5608
5609 if test "$enableval" = yes; then
5610 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5611 else
5612 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5613 fi
5614
5615else
5616
5617 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x ; then
5619 eval "DEFAULT_$LINE"
5620 else
5621 no_cache=1
5622 fi
5623
5624 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5625
5626fi;
5627
5628 eval "$ac_cv_use_protocol_http"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5631 fi
5632
5633 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635echo "${ECHO_T}yes" >&6
5636 else
5637 echo "$as_me:$LINENO: result: no" >&5
5638echo "${ECHO_T}no" >&6
5639 fi
5640
5641
5642 enablestring=
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5644echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5645 no_cache=0
5646 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5647if test "${enable_protocol_ftp+set}" = set; then
5648 enableval="$enable_protocol_ftp"
5649
5650 if test "$enableval" = yes; then
5651 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5652 else
5653 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5654 fi
5655
5656else
5657
5658 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x ; then
5660 eval "DEFAULT_$LINE"
5661 else
5662 no_cache=1
5663 fi
5664
5665 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5666
5667fi;
5668
5669 eval "$ac_cv_use_protocol_ftp"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5672 fi
5673
5674 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676echo "${ECHO_T}yes" >&6
5677 else
5678 echo "$as_me:$LINENO: result: no" >&5
5679echo "${ECHO_T}no" >&6
5680 fi
5681
5682
5683 enablestring=
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5685echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5686 no_cache=0
5687 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5688if test "${enable_protocol_file+set}" = set; then
5689 enableval="$enable_protocol_file"
5690
5691 if test "$enableval" = yes; then
5692 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5693 else
5694 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5695 fi
5696
5697else
5698
5699 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5702 else
5703 no_cache=1
5704 fi
5705
5706 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5707
5708fi;
5709
5710 eval "$ac_cv_use_protocol_file"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5713 fi
5714
5715 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717echo "${ECHO_T}yes" >&6
5718 else
5719 echo "$as_me:$LINENO: result: no" >&5
5720echo "${ECHO_T}no" >&6
5721 fi
5722
5723
5724
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5729echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-threads or --disable-threads was given.
5732if test "${enable_threads+set}" = set; then
5733 enableval="$enable_threads"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_threads='wxUSE_THREADS=yes'
5737 else
5738 ac_cv_use_threads='wxUSE_THREADS=no'
5739 fi
5740
5741else
5742
5743 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5751
5752fi;
5753
5754 eval "$ac_cv_use_threads"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_THREADS" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768if test "$wxUSE_GUI" = "yes"; then
5769
5770
5771
5772 enablestring=
5773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5774echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5775 no_cache=0
5776 # Check whether --enable-docview or --disable-docview was given.
5777if test "${enable_docview+set}" = set; then
5778 enableval="$enable_docview"
5779
5780 if test "$enableval" = yes; then
5781 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5782 else
5783 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5784 fi
5785
5786else
5787
5788 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5791 else
5792 no_cache=1
5793 fi
5794
5795 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5796
5797fi;
5798
5799 eval "$ac_cv_use_docview"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5802 fi
5803
5804 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5805 echo "$as_me:$LINENO: result: yes" >&5
5806echo "${ECHO_T}yes" >&6
5807 else
5808 echo "$as_me:$LINENO: result: no" >&5
5809echo "${ECHO_T}no" >&6
5810 fi
5811
5812
5813 enablestring=
5814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5815echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5816 no_cache=0
5817 # Check whether --enable-help or --disable-help was given.
5818if test "${enable_help+set}" = set; then
5819 enableval="$enable_help"
5820
5821 if test "$enableval" = yes; then
5822 ac_cv_use_help='wxUSE_HELP=yes'
5823 else
5824 ac_cv_use_help='wxUSE_HELP=no'
5825 fi
5826
5827else
5828
5829 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5837
5838fi;
5839
5840 eval "$ac_cv_use_help"
5841 if test "$no_cache" != 1; then
5842 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5843 fi
5844
5845 if test "$wxUSE_HELP" = yes; then
5846 echo "$as_me:$LINENO: result: yes" >&5
5847echo "${ECHO_T}yes" >&6
5848 else
5849 echo "$as_me:$LINENO: result: no" >&5
5850echo "${ECHO_T}no" >&6
5851 fi
5852
5853
5854 enablestring=
5855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5856echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5857 no_cache=0
5858 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5859if test "${enable_mshtmlhelp+set}" = set; then
5860 enableval="$enable_mshtmlhelp"
5861
5862 if test "$enableval" = yes; then
5863 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5864 else
5865 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5866 fi
5867
5868else
5869
5870 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5873 else
5874 no_cache=1
5875 fi
5876
5877 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5878
5879fi;
5880
5881 eval "$ac_cv_use_mshtmlhelp"
5882 if test "$no_cache" != 1; then
5883 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5884 fi
5885
5886 if test "$wxUSE_MS_HTML_HELP" = yes; then
5887 echo "$as_me:$LINENO: result: yes" >&5
5888echo "${ECHO_T}yes" >&6
5889 else
5890 echo "$as_me:$LINENO: result: no" >&5
5891echo "${ECHO_T}no" >&6
5892 fi
5893
5894
5895 enablestring=
5896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5897echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5898 no_cache=0
5899 # Check whether --enable-html or --disable-html was given.
5900if test "${enable_html+set}" = set; then
5901 enableval="$enable_html"
5902
5903 if test "$enableval" = yes; then
5904 ac_cv_use_html='wxUSE_HTML=yes'
5905 else
5906 ac_cv_use_html='wxUSE_HTML=no'
5907 fi
5908
5909else
5910
5911 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5914 else
5915 no_cache=1
5916 fi
5917
5918 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5919
5920fi;
5921
5922 eval "$ac_cv_use_html"
5923 if test "$no_cache" != 1; then
5924 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5925 fi
5926
5927 if test "$wxUSE_HTML" = yes; then
5928 echo "$as_me:$LINENO: result: yes" >&5
5929echo "${ECHO_T}yes" >&6
5930 else
5931 echo "$as_me:$LINENO: result: no" >&5
5932echo "${ECHO_T}no" >&6
5933 fi
5934
5935
5936 enablestring=
5937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5938echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5939 no_cache=0
5940 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5941if test "${enable_htmlhelp+set}" = set; then
5942 enableval="$enable_htmlhelp"
5943
5944 if test "$enableval" = yes; then
5945 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5946 else
5947 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5948 fi
5949
5950else
5951
5952 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x ; then
5954 eval "DEFAULT_$LINE"
5955 else
5956 no_cache=1
5957 fi
5958
5959 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5960
5961fi;
5962
5963 eval "$ac_cv_use_htmlhelp"
5964 if test "$no_cache" != 1; then
5965 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5966 fi
5967
5968 if test "$wxUSE_WXHTML_HELP" = yes; then
5969 echo "$as_me:$LINENO: result: yes" >&5
5970echo "${ECHO_T}yes" >&6
5971 else
5972 echo "$as_me:$LINENO: result: no" >&5
5973echo "${ECHO_T}no" >&6
5974 fi
5975
5976
5977 enablestring=
5978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5979echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5980 no_cache=0
5981 # Check whether --enable-constraints or --disable-constraints was given.
5982if test "${enable_constraints+set}" = set; then
5983 enableval="$enable_constraints"
5984
5985 if test "$enableval" = yes; then
5986 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5987 else
5988 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5989 fi
5990
5991else
5992
5993 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5994 if test "x$LINE" != x ; then
5995 eval "DEFAULT_$LINE"
5996 else
5997 no_cache=1
5998 fi
5999
6000 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6001
6002fi;
6003
6004 eval "$ac_cv_use_constraints"
6005 if test "$no_cache" != 1; then
6006 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6007 fi
6008
6009 if test "$wxUSE_CONSTRAINTS" = yes; then
6010 echo "$as_me:$LINENO: result: yes" >&5
6011echo "${ECHO_T}yes" >&6
6012 else
6013 echo "$as_me:$LINENO: result: no" >&5
6014echo "${ECHO_T}no" >&6
6015 fi
6016
6017
6018 enablestring=
6019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6020echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6021 no_cache=0
6022 # Check whether --enable-printarch or --disable-printarch was given.
6023if test "${enable_printarch+set}" = set; then
6024 enableval="$enable_printarch"
6025
6026 if test "$enableval" = yes; then
6027 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6028 else
6029 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6030 fi
6031
6032else
6033
6034 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x ; then
6036 eval "DEFAULT_$LINE"
6037 else
6038 no_cache=1
6039 fi
6040
6041 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6042
6043fi;
6044
6045 eval "$ac_cv_use_printarch"
6046 if test "$no_cache" != 1; then
6047 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6048 fi
6049
6050 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6051 echo "$as_me:$LINENO: result: yes" >&5
6052echo "${ECHO_T}yes" >&6
6053 else
6054 echo "$as_me:$LINENO: result: no" >&5
6055echo "${ECHO_T}no" >&6
6056 fi
6057
6058
6059 enablestring=
6060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6061echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6062 no_cache=0
6063 # Check whether --enable-mdi or --disable-mdi was given.
6064if test "${enable_mdi+set}" = set; then
6065 enableval="$enable_mdi"
6066
6067 if test "$enableval" = yes; then
6068 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6069 else
6070 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6071 fi
6072
6073else
6074
6075 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 else
6079 no_cache=1
6080 fi
6081
6082 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6083
6084fi;
6085
6086 eval "$ac_cv_use_mdi"
6087 if test "$no_cache" != 1; then
6088 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6089 fi
6090
6091 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6092 echo "$as_me:$LINENO: result: yes" >&5
6093echo "${ECHO_T}yes" >&6
6094 else
6095 echo "$as_me:$LINENO: result: no" >&5
6096echo "${ECHO_T}no" >&6
6097 fi
6098
6099
6100 enablestring=
6101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6102echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6103 no_cache=0
6104 # Check whether --enable-loggui or --disable-loggui was given.
6105if test "${enable_loggui+set}" = set; then
6106 enableval="$enable_loggui"
6107
6108 if test "$enableval" = yes; then
6109 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6110 else
6111 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6112 fi
6113
6114else
6115
6116 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x ; then
6118 eval "DEFAULT_$LINE"
6119 else
6120 no_cache=1
6121 fi
6122
6123 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6124
6125fi;
6126
6127 eval "$ac_cv_use_loggui"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6130 fi
6131
6132 if test "$wxUSE_LOGGUI" = yes; then
6133 echo "$as_me:$LINENO: result: yes" >&5
6134echo "${ECHO_T}yes" >&6
6135 else
6136 echo "$as_me:$LINENO: result: no" >&5
6137echo "${ECHO_T}no" >&6
6138 fi
6139
6140
6141 enablestring=
6142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6143echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6144 no_cache=0
6145 # Check whether --enable-logwin or --disable-logwin was given.
6146if test "${enable_logwin+set}" = set; then
6147 enableval="$enable_logwin"
6148
6149 if test "$enableval" = yes; then
6150 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6151 else
6152 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6153 fi
6154
6155else
6156
6157 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6160 else
6161 no_cache=1
6162 fi
6163
6164 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6165
6166fi;
6167
6168 eval "$ac_cv_use_logwin"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6171 fi
6172
6173 if test "$wxUSE_LOGWINDOW" = yes; then
6174 echo "$as_me:$LINENO: result: yes" >&5
6175echo "${ECHO_T}yes" >&6
6176 else
6177 echo "$as_me:$LINENO: result: no" >&5
6178echo "${ECHO_T}no" >&6
6179 fi
6180
6181
6182 enablestring=
6183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6184echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6185 no_cache=0
6186 # Check whether --enable-logdialog or --disable-logdialog was given.
6187if test "${enable_logdialog+set}" = set; then
6188 enableval="$enable_logdialog"
6189
6190 if test "$enableval" = yes; then
6191 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6192 else
6193 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6194 fi
6195
6196else
6197
6198 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x ; then
6200 eval "DEFAULT_$LINE"
6201 else
6202 no_cache=1
6203 fi
6204
6205 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6206
6207fi;
6208
6209 eval "$ac_cv_use_logdialog"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6212 fi
6213
6214 if test "$wxUSE_LOGDIALOG" = yes; then
6215 echo "$as_me:$LINENO: result: yes" >&5
6216echo "${ECHO_T}yes" >&6
6217 else
6218 echo "$as_me:$LINENO: result: no" >&5
6219echo "${ECHO_T}no" >&6
6220 fi
6221
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6226echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-postscript or --disable-postscript was given.
6229if test "${enable_postscript+set}" = set; then
6230 enableval="$enable_postscript"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6234 else
6235 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6236 fi
6237
6238else
6239
6240 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6248
6249fi;
6250
6251 eval "$ac_cv_use_postscript"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_POSTSCRIPT" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265
6266
6267
6268 enablestring=
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6270echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6271 no_cache=0
6272 # Check whether --enable-prologio or --disable-prologio was given.
6273if test "${enable_prologio+set}" = set; then
6274 enableval="$enable_prologio"
6275
6276 if test "$enableval" = yes; then
6277 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6278 else
6279 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6280 fi
6281
6282else
6283
6284 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6287 else
6288 no_cache=1
6289 fi
6290
6291 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6292
6293fi;
6294
6295 eval "$ac_cv_use_prologio"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6298 fi
6299
6300 if test "$wxUSE_PROLOGIO" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302echo "${ECHO_T}yes" >&6
6303 else
6304 echo "$as_me:$LINENO: result: no" >&5
6305echo "${ECHO_T}no" >&6
6306 fi
6307
6308
6309 enablestring=
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6311echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6312 no_cache=0
6313 # Check whether --enable-resources or --disable-resources was given.
6314if test "${enable_resources+set}" = set; then
6315 enableval="$enable_resources"
6316
6317 if test "$enableval" = yes; then
6318 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6319 else
6320 ac_cv_use_resources='wxUSE_RESOURCES=no'
6321 fi
6322
6323else
6324
6325 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6328 else
6329 no_cache=1
6330 fi
6331
6332 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6333
6334fi;
6335
6336 eval "$ac_cv_use_resources"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_RESOURCES" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343echo "${ECHO_T}yes" >&6
6344 else
6345 echo "$as_me:$LINENO: result: no" >&5
6346echo "${ECHO_T}no" >&6
6347 fi
6348
6349
6350
6351
6352 enablestring=
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6354echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6355 no_cache=0
6356 # Check whether --enable-clipboard or --disable-clipboard was given.
6357if test "${enable_clipboard+set}" = set; then
6358 enableval="$enable_clipboard"
6359
6360 if test "$enableval" = yes; then
6361 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6362 else
6363 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6364 fi
6365
6366else
6367
6368 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 else
6372 no_cache=1
6373 fi
6374
6375 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6376
6377fi;
6378
6379 eval "$ac_cv_use_clipboard"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6382 fi
6383
6384 if test "$wxUSE_CLIPBOARD" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386echo "${ECHO_T}yes" >&6
6387 else
6388 echo "$as_me:$LINENO: result: no" >&5
6389echo "${ECHO_T}no" >&6
6390 fi
6391
6392
6393 enablestring=
6394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6395echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6396 no_cache=0
6397 # Check whether --enable-dnd or --disable-dnd was given.
6398if test "${enable_dnd+set}" = set; then
6399 enableval="$enable_dnd"
6400
6401 if test "$enableval" = yes; then
6402 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6403 else
6404 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6405 fi
6406
6407else
6408
6409 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6412 else
6413 no_cache=1
6414 fi
6415
6416 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6417
6418fi;
6419
6420 eval "$ac_cv_use_dnd"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6423 fi
6424
6425 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6426 echo "$as_me:$LINENO: result: yes" >&5
6427echo "${ECHO_T}yes" >&6
6428 else
6429 echo "$as_me:$LINENO: result: no" >&5
6430echo "${ECHO_T}no" >&6
6431 fi
6432
6433
6434 enablestring=
6435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6436echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6437 no_cache=0
6438 # Check whether --enable-metafile or --disable-metafile was given.
6439if test "${enable_metafile+set}" = set; then
6440 enableval="$enable_metafile"
6441
6442 if test "$enableval" = yes; then
6443 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6444 else
6445 ac_cv_use_metafile='wxUSE_METAFILE=no'
6446 fi
6447
6448else
6449
6450 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6453 else
6454 no_cache=1
6455 fi
6456
6457 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6458
6459fi;
6460
6461 eval "$ac_cv_use_metafile"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6464 fi
6465
6466 if test "$wxUSE_METAFILE" = yes; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468echo "${ECHO_T}yes" >&6
6469 else
6470 echo "$as_me:$LINENO: result: no" >&5
6471echo "${ECHO_T}no" >&6
6472 fi
6473
6474
6475
6476
6477
6478 enablestring=
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6480echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6481 no_cache=0
6482 # Check whether --enable-controls or --disable-controls was given.
6483if test "${enable_controls+set}" = set; then
6484 enableval="$enable_controls"
6485
6486 if test "$enableval" = yes; then
6487 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6488 else
6489 ac_cv_use_controls='wxUSE_CONTROLS=no'
6490 fi
6491
6492else
6493
6494 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x ; then
6496 eval "DEFAULT_$LINE"
6497 else
6498 no_cache=1
6499 fi
6500
6501 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6502
6503fi;
6504
6505 eval "$ac_cv_use_controls"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6508 fi
6509
6510 if test "$wxUSE_CONTROLS" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512echo "${ECHO_T}yes" >&6
6513 else
6514 echo "$as_me:$LINENO: result: no" >&5
6515echo "${ECHO_T}no" >&6
6516 fi
6517
6518
6519if test "$wxUSE_CONTROLS" = "yes"; then
6520 DEFAULT_wxUSE_ACCEL=yes
6521 DEFAULT_wxUSE_BMPBUTTON=yes
6522 DEFAULT_wxUSE_BUTTON=yes
6523 DEFAULT_wxUSE_CALCTRL=no
6524 DEFAULT_wxUSE_CARET=yes
6525 DEFAULT_wxUSE_COMBOBOX=yes
6526 DEFAULT_wxUSE_CHECKBOX=yes
6527 DEFAULT_wxUSE_CHECKLISTBOX=yes
6528 DEFAULT_wxUSE_CHOICE=yes
6529 DEFAULT_wxUSE_GAUGE=yes
6530 DEFAULT_wxUSE_GRID=yes
6531 DEFAULT_wxUSE_IMAGLIST=yes
6532 DEFAULT_wxUSE_LISTBOOK=yes
6533 DEFAULT_wxUSE_LISTBOX=yes
6534 DEFAULT_wxUSE_LISTCTRL=yes
6535 DEFAULT_wxUSE_NOTEBOOK=yes
6536 DEFAULT_wxUSE_RADIOBOX=yes
6537 DEFAULT_wxUSE_RADIOBTN=yes
6538 DEFAULT_wxUSE_SASH=yes
6539 DEFAULT_wxUSE_SCROLLBAR=yes
6540 DEFAULT_wxUSE_SLIDER=yes
6541 DEFAULT_wxUSE_SPINBTN=yes
6542 DEFAULT_wxUSE_SPINCTRL=yes
6543 DEFAULT_wxUSE_SPLITTER=yes
6544 DEFAULT_wxUSE_STATBMP=yes
6545 DEFAULT_wxUSE_STATBOX=yes
6546 DEFAULT_wxUSE_STATLINE=yes
6547 DEFAULT_wxUSE_STATUSBAR=yes
6548 DEFAULT_wxUSE_TAB_DIALOG=yes
6549 DEFAULT_wxUSE_TOGGLEBTN=yes
6550 DEFAULT_wxUSE_TOOLBAR=yes
6551 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6552 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6553 DEFAULT_wxUSE_TOOLTIPS=yes
6554 DEFAULT_wxUSE_TREECTRL=yes
6555 DEFAULT_wxUSE_POPUPWIN=yes
6556 DEFAULT_wxUSE_TIPWINDOW=yes
6557elif test "$wxUSE_CONTROLS" = "no"; then
6558 DEFAULT_wxUSE_ACCEL=no
6559 DEFAULT_wxUSE_BMPBUTTON=no
6560 DEFAULT_wxUSE_BUTTON=no
6561 DEFAULT_wxUSE_CALCTRL=no
6562 DEFAULT_wxUSE_CARET=no
6563 DEFAULT_wxUSE_COMBOBOX=no
6564 DEFAULT_wxUSE_CHECKBOX=no
6565 DEFAULT_wxUSE_CHECKLISTBOX=no
6566 DEFAULT_wxUSE_CHOICE=no
6567 DEFAULT_wxUSE_GAUGE=no
6568 DEFAULT_wxUSE_GRID=no
6569 DEFAULT_wxUSE_IMAGLIST=no
6570 DEFAULT_wxUSE_LISTBOOK=no
6571 DEFAULT_wxUSE_LISTBOX=no
6572 DEFAULT_wxUSE_LISTCTRL=no
6573 DEFAULT_wxUSE_NOTEBOOK=no
6574 DEFAULT_wxUSE_RADIOBOX=no
6575 DEFAULT_wxUSE_RADIOBTN=no
6576 DEFAULT_wxUSE_SASH=no
6577 DEFAULT_wxUSE_SCROLLBAR=no
6578 DEFAULT_wxUSE_SLIDER=no
6579 DEFAULT_wxUSE_SPINBTN=no
6580 DEFAULT_wxUSE_SPINCTRL=no
6581 DEFAULT_wxUSE_SPLITTER=no
6582 DEFAULT_wxUSE_STATBMP=no
6583 DEFAULT_wxUSE_STATBOX=no
6584 DEFAULT_wxUSE_STATLINE=no
6585 DEFAULT_wxUSE_STATUSBAR=no
6586 DEFAULT_wxUSE_TAB_DIALOG=no
6587 DEFAULT_wxUSE_TOGGLEBTN=no
6588 DEFAULT_wxUSE_TOOLBAR=no
6589 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6590 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6591 DEFAULT_wxUSE_TOOLTIPS=no
6592 DEFAULT_wxUSE_TREECTRL=no
6593 DEFAULT_wxUSE_POPUPWIN=no
6594 DEFAULT_wxUSE_TIPWINDOW=no
6595fi
6596
6597## FIXME: This is a blatant hack
6598if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6599 wxUSE_PRINTING_ARCHITECTURE=no
6600 wxUSE_DRAG_AND_DROP=no
6601 # Generic notebook requires tab dialog
6602 DEFAULT_wxUSE_TABDIALOG=yes
6603 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6604 DEFAULT_wxUSE_SCROLLBAR=no
6605 DEFAULT_wxUSE_TOOLTIPS=no
6606 DEFAULT_wxUSE_DRAGIMAGE=no
6607fi
6608
6609
6610 enablestring=
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6612echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6613 no_cache=0
6614 # Check whether --enable-accel or --disable-accel was given.
6615if test "${enable_accel+set}" = set; then
6616 enableval="$enable_accel"
6617
6618 if test "$enableval" = yes; then
6619 ac_cv_use_accel='wxUSE_ACCEL=yes'
6620 else
6621 ac_cv_use_accel='wxUSE_ACCEL=no'
6622 fi
6623
6624else
6625
6626 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6634
6635fi;
6636
6637 eval "$ac_cv_use_accel"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test "$wxUSE_ACCEL" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644echo "${ECHO_T}yes" >&6
6645 else
6646 echo "$as_me:$LINENO: result: no" >&5
6647echo "${ECHO_T}no" >&6
6648 fi
6649
6650
6651 enablestring=
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6653echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6654 no_cache=0
6655 # Check whether --enable-button or --disable-button was given.
6656if test "${enable_button+set}" = set; then
6657 enableval="$enable_button"
6658
6659 if test "$enableval" = yes; then
6660 ac_cv_use_button='wxUSE_BUTTON=yes'
6661 else
6662 ac_cv_use_button='wxUSE_BUTTON=no'
6663 fi
6664
6665else
6666
6667 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x ; then
6669 eval "DEFAULT_$LINE"
6670 else
6671 no_cache=1
6672 fi
6673
6674 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6675
6676fi;
6677
6678 eval "$ac_cv_use_button"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_BUTTON" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685echo "${ECHO_T}yes" >&6
6686 else
6687 echo "$as_me:$LINENO: result: no" >&5
6688echo "${ECHO_T}no" >&6
6689 fi
6690
6691
6692 enablestring=
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6694echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6695 no_cache=0
6696 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6697if test "${enable_bmpbutton+set}" = set; then
6698 enableval="$enable_bmpbutton"
6699
6700 if test "$enableval" = yes; then
6701 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6702 else
6703 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6704 fi
6705
6706else
6707
6708 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x ; then
6710 eval "DEFAULT_$LINE"
6711 else
6712 no_cache=1
6713 fi
6714
6715 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6716
6717fi;
6718
6719 eval "$ac_cv_use_bmpbutton"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_BMPBUTTON" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726echo "${ECHO_T}yes" >&6
6727 else
6728 echo "$as_me:$LINENO: result: no" >&5
6729echo "${ECHO_T}no" >&6
6730 fi
6731
6732
6733 enablestring=
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6735echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6736 no_cache=0
6737 # Check whether --enable-calendar or --disable-calendar was given.
6738if test "${enable_calendar+set}" = set; then
6739 enableval="$enable_calendar"
6740
6741 if test "$enableval" = yes; then
6742 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6743 else
6744 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6745 fi
6746
6747else
6748
6749 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6752 else
6753 no_cache=1
6754 fi
6755
6756 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6757
6758fi;
6759
6760 eval "$ac_cv_use_calendar"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_CALCTRL" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767echo "${ECHO_T}yes" >&6
6768 else
6769 echo "$as_me:$LINENO: result: no" >&5
6770echo "${ECHO_T}no" >&6
6771 fi
6772
6773
6774 enablestring=
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6776echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6777 no_cache=0
6778 # Check whether --enable-caret or --disable-caret was given.
6779if test "${enable_caret+set}" = set; then
6780 enableval="$enable_caret"
6781
6782 if test "$enableval" = yes; then
6783 ac_cv_use_caret='wxUSE_CARET=yes'
6784 else
6785 ac_cv_use_caret='wxUSE_CARET=no'
6786 fi
6787
6788else
6789
6790 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6798
6799fi;
6800
6801 eval "$ac_cv_use_caret"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_CARET" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808echo "${ECHO_T}yes" >&6
6809 else
6810 echo "$as_me:$LINENO: result: no" >&5
6811echo "${ECHO_T}no" >&6
6812 fi
6813
6814
6815 enablestring=
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6817echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6818 no_cache=0
6819 # Check whether --enable-checkbox or --disable-checkbox was given.
6820if test "${enable_checkbox+set}" = set; then
6821 enableval="$enable_checkbox"
6822
6823 if test "$enableval" = yes; then
6824 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6825 else
6826 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6827 fi
6828
6829else
6830
6831 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6839
6840fi;
6841
6842 eval "$ac_cv_use_checkbox"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_CHECKBOX" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849echo "${ECHO_T}yes" >&6
6850 else
6851 echo "$as_me:$LINENO: result: no" >&5
6852echo "${ECHO_T}no" >&6
6853 fi
6854
6855
6856 enablestring=
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6858echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6859 no_cache=0
6860 # Check whether --enable-checklst or --disable-checklst was given.
6861if test "${enable_checklst+set}" = set; then
6862 enableval="$enable_checklst"
6863
6864 if test "$enableval" = yes; then
6865 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6866 else
6867 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6868 fi
6869
6870else
6871
6872 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 else
6876 no_cache=1
6877 fi
6878
6879 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6880
6881fi;
6882
6883 eval "$ac_cv_use_checklst"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test "$wxUSE_CHECKLST" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890echo "${ECHO_T}yes" >&6
6891 else
6892 echo "$as_me:$LINENO: result: no" >&5
6893echo "${ECHO_T}no" >&6
6894 fi
6895
6896
6897 enablestring=
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6899echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6900 no_cache=0
6901 # Check whether --enable-choice or --disable-choice was given.
6902if test "${enable_choice+set}" = set; then
6903 enableval="$enable_choice"
6904
6905 if test "$enableval" = yes; then
6906 ac_cv_use_choice='wxUSE_CHOICE=yes'
6907 else
6908 ac_cv_use_choice='wxUSE_CHOICE=no'
6909 fi
6910
6911else
6912
6913 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6916 else
6917 no_cache=1
6918 fi
6919
6920 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6921
6922fi;
6923
6924 eval "$ac_cv_use_choice"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_CHOICE" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931echo "${ECHO_T}yes" >&6
6932 else
6933 echo "$as_me:$LINENO: result: no" >&5
6934echo "${ECHO_T}no" >&6
6935 fi
6936
6937
6938 enablestring=
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6940echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6941 no_cache=0
6942 # Check whether --enable-combobox or --disable-combobox was given.
6943if test "${enable_combobox+set}" = set; then
6944 enableval="$enable_combobox"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6948 else
6949 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6950 fi
6951
6952else
6953
6954 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6962
6963fi;
6964
6965 eval "$ac_cv_use_combobox"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_COMBOBOX" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972echo "${ECHO_T}yes" >&6
6973 else
6974 echo "$as_me:$LINENO: result: no" >&5
6975echo "${ECHO_T}no" >&6
6976 fi
6977
6978
6979 enablestring=
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6981echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6982 no_cache=0
6983 # Check whether --enable-display or --disable-display was given.
6984if test "${enable_display+set}" = set; then
6985 enableval="$enable_display"
6986
6987 if test "$enableval" = yes; then
6988 ac_cv_use_display='wxUSE_DISPLAY=yes'
6989 else
6990 ac_cv_use_display='wxUSE_DISPLAY=no'
6991 fi
6992
6993else
6994
6995 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
6998 else
6999 no_cache=1
7000 fi
7001
7002 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7003
7004fi;
7005
7006 eval "$ac_cv_use_display"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_DISPLAY" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013echo "${ECHO_T}yes" >&6
7014 else
7015 echo "$as_me:$LINENO: result: no" >&5
7016echo "${ECHO_T}no" >&6
7017 fi
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7022echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-gauge or --disable-gauge was given.
7025if test "${enable_gauge+set}" = set; then
7026 enableval="$enable_gauge"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7030 else
7031 ac_cv_use_gauge='wxUSE_GAUGE=no'
7032 fi
7033
7034else
7035
7036 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7044
7045fi;
7046
7047 eval "$ac_cv_use_gauge"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_GAUGE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 enablestring=
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7063echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7064 no_cache=0
7065 # Check whether --enable-grid or --disable-grid was given.
7066if test "${enable_grid+set}" = set; then
7067 enableval="$enable_grid"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_grid='wxUSE_GRID=yes'
7071 else
7072 ac_cv_use_grid='wxUSE_GRID=no'
7073 fi
7074
7075else
7076
7077 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7085
7086fi;
7087
7088 eval "$ac_cv_use_grid"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_GRID" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095echo "${ECHO_T}yes" >&6
7096 else
7097 echo "$as_me:$LINENO: result: no" >&5
7098echo "${ECHO_T}no" >&6
7099 fi
7100
7101
7102 enablestring=
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7104echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7105 no_cache=0
7106 # Check whether --enable-imaglist or --disable-imaglist was given.
7107if test "${enable_imaglist+set}" = set; then
7108 enableval="$enable_imaglist"
7109
7110 if test "$enableval" = yes; then
7111 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7112 else
7113 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7114 fi
7115
7116else
7117
7118 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7121 else
7122 no_cache=1
7123 fi
7124
7125 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7126
7127fi;
7128
7129 eval "$ac_cv_use_imaglist"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_IMAGLIST" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136echo "${ECHO_T}yes" >&6
7137 else
7138 echo "$as_me:$LINENO: result: no" >&5
7139echo "${ECHO_T}no" >&6
7140 fi
7141
7142
7143 enablestring=
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7145echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7146 no_cache=0
7147 # Check whether --enable-listbook or --disable-listbook was given.
7148if test "${enable_listbook+set}" = set; then
7149 enableval="$enable_listbook"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7153 else
7154 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7155 fi
7156
7157else
7158
7159 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7167
7168fi;
7169
7170 eval "$ac_cv_use_listbook"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_LISTBOOK" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177echo "${ECHO_T}yes" >&6
7178 else
7179 echo "$as_me:$LINENO: result: no" >&5
7180echo "${ECHO_T}no" >&6
7181 fi
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7186echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-listbox or --disable-listbox was given.
7189if test "${enable_listbox+set}" = set; then
7190 enableval="$enable_listbox"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7194 else
7195 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7196 fi
7197
7198else
7199
7200 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7208
7209fi;
7210
7211 eval "$ac_cv_use_listbox"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_LISTBOX" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7227echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-listctrl or --disable-listctrl was given.
7230if test "${enable_listctrl+set}" = set; then
7231 enableval="$enable_listctrl"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7235 else
7236 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7237 fi
7238
7239else
7240
7241 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7249
7250fi;
7251
7252 eval "$ac_cv_use_listctrl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_LISTCTRL" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7268echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-notebook or --disable-notebook was given.
7271if test "${enable_notebook+set}" = set; then
7272 enableval="$enable_notebook"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7276 else
7277 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7278 fi
7279
7280else
7281
7282 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7290
7291fi;
7292
7293 eval "$ac_cv_use_notebook"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_NOTEBOOK" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7309echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-radiobox or --disable-radiobox was given.
7312if test "${enable_radiobox+set}" = set; then
7313 enableval="$enable_radiobox"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7317 else
7318 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7319 fi
7320
7321else
7322
7323 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7331
7332fi;
7333
7334 eval "$ac_cv_use_radiobox"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_RADIOBOX" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7350echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7353if test "${enable_radiobtn+set}" = set; then
7354 enableval="$enable_radiobtn"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7358 else
7359 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7360 fi
7361
7362else
7363
7364 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7372
7373fi;
7374
7375 eval "$ac_cv_use_radiobtn"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_RADIOBTN" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389 enablestring=
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7391echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7392 no_cache=0
7393 # Check whether --enable-sash or --disable-sash was given.
7394if test "${enable_sash+set}" = set; then
7395 enableval="$enable_sash"
7396
7397 if test "$enableval" = yes; then
7398 ac_cv_use_sash='wxUSE_SASH=yes'
7399 else
7400 ac_cv_use_sash='wxUSE_SASH=no'
7401 fi
7402
7403else
7404
7405 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7413
7414fi;
7415
7416 eval "$ac_cv_use_sash"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_SASH" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423echo "${ECHO_T}yes" >&6
7424 else
7425 echo "$as_me:$LINENO: result: no" >&5
7426echo "${ECHO_T}no" >&6
7427 fi
7428
7429
7430 enablestring=
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7432echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7433 no_cache=0
7434 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7435if test "${enable_scrollbar+set}" = set; then
7436 enableval="$enable_scrollbar"
7437
7438 if test "$enableval" = yes; then
7439 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7440 else
7441 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7442 fi
7443
7444else
7445
7446 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7454
7455fi;
7456
7457 eval "$ac_cv_use_scrollbar"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7460 fi
7461
7462 if test "$wxUSE_SCROLLBAR" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464echo "${ECHO_T}yes" >&6
7465 else
7466 echo "$as_me:$LINENO: result: no" >&5
7467echo "${ECHO_T}no" >&6
7468 fi
7469
7470
7471 enablestring=
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7473echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7474 no_cache=0
7475 # Check whether --enable-slider or --disable-slider was given.
7476if test "${enable_slider+set}" = set; then
7477 enableval="$enable_slider"
7478
7479 if test "$enableval" = yes; then
7480 ac_cv_use_slider='wxUSE_SLIDER=yes'
7481 else
7482 ac_cv_use_slider='wxUSE_SLIDER=no'
7483 fi
7484
7485else
7486
7487 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7495
7496fi;
7497
7498 eval "$ac_cv_use_slider"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_SLIDER" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505echo "${ECHO_T}yes" >&6
7506 else
7507 echo "$as_me:$LINENO: result: no" >&5
7508echo "${ECHO_T}no" >&6
7509 fi
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7514echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7517if test "${enable_spinbtn+set}" = set; then
7518 enableval="$enable_spinbtn"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7522 else
7523 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7524 fi
7525
7526else
7527
7528 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7536
7537fi;
7538
7539 eval "$ac_cv_use_spinbtn"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_SPINBTN" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7555echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7558if test "${enable_spinctrl+set}" = set; then
7559 enableval="$enable_spinctrl"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7563 else
7564 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7565 fi
7566
7567else
7568
7569 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7577
7578fi;
7579
7580 eval "$ac_cv_use_spinctrl"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_SPINCTRL" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594 enablestring=
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7596echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7597 no_cache=0
7598 # Check whether --enable-splitter or --disable-splitter was given.
7599if test "${enable_splitter+set}" = set; then
7600 enableval="$enable_splitter"
7601
7602 if test "$enableval" = yes; then
7603 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7604 else
7605 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7606 fi
7607
7608else
7609
7610 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7618
7619fi;
7620
7621 eval "$ac_cv_use_splitter"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7624 fi
7625
7626 if test "$wxUSE_SPLITTER" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628echo "${ECHO_T}yes" >&6
7629 else
7630 echo "$as_me:$LINENO: result: no" >&5
7631echo "${ECHO_T}no" >&6
7632 fi
7633
7634
7635 enablestring=
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7637echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7638 no_cache=0
7639 # Check whether --enable-statbmp or --disable-statbmp was given.
7640if test "${enable_statbmp+set}" = set; then
7641 enableval="$enable_statbmp"
7642
7643 if test "$enableval" = yes; then
7644 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7645 else
7646 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7647 fi
7648
7649else
7650
7651 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7659
7660fi;
7661
7662 eval "$ac_cv_use_statbmp"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_STATBMP" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669echo "${ECHO_T}yes" >&6
7670 else
7671 echo "$as_me:$LINENO: result: no" >&5
7672echo "${ECHO_T}no" >&6
7673 fi
7674
7675
7676 enablestring=
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7678echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7679 no_cache=0
7680 # Check whether --enable-statbox or --disable-statbox was given.
7681if test "${enable_statbox+set}" = set; then
7682 enableval="$enable_statbox"
7683
7684 if test "$enableval" = yes; then
7685 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7686 else
7687 ac_cv_use_statbox='wxUSE_STATBOX=no'
7688 fi
7689
7690else
7691
7692 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 else
7696 no_cache=1
7697 fi
7698
7699 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7700
7701fi;
7702
7703 eval "$ac_cv_use_statbox"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7706 fi
7707
7708 if test "$wxUSE_STATBOX" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710echo "${ECHO_T}yes" >&6
7711 else
7712 echo "$as_me:$LINENO: result: no" >&5
7713echo "${ECHO_T}no" >&6
7714 fi
7715
7716
7717 enablestring=
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7719echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7720 no_cache=0
7721 # Check whether --enable-statline or --disable-statline was given.
7722if test "${enable_statline+set}" = set; then
7723 enableval="$enable_statline"
7724
7725 if test "$enableval" = yes; then
7726 ac_cv_use_statline='wxUSE_STATLINE=yes'
7727 else
7728 ac_cv_use_statline='wxUSE_STATLINE=no'
7729 fi
7730
7731else
7732
7733 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7736 else
7737 no_cache=1
7738 fi
7739
7740 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7741
7742fi;
7743
7744 eval "$ac_cv_use_statline"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7747 fi
7748
7749 if test "$wxUSE_STATLINE" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751echo "${ECHO_T}yes" >&6
7752 else
7753 echo "$as_me:$LINENO: result: no" >&5
7754echo "${ECHO_T}no" >&6
7755 fi
7756
7757
7758 enablestring=
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7760echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7761 no_cache=0
7762 # Check whether --enable-stattext or --disable-stattext was given.
7763if test "${enable_stattext+set}" = set; then
7764 enableval="$enable_stattext"
7765
7766 if test "$enableval" = yes; then
7767 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7768 else
7769 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7770 fi
7771
7772else
7773
7774 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 else
7778 no_cache=1
7779 fi
7780
7781 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7782
7783fi;
7784
7785 eval "$ac_cv_use_stattext"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test "$wxUSE_STATTEXT" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792echo "${ECHO_T}yes" >&6
7793 else
7794 echo "$as_me:$LINENO: result: no" >&5
7795echo "${ECHO_T}no" >&6
7796 fi
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7801echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-statusbar or --disable-statusbar was given.
7804if test "${enable_statusbar+set}" = set; then
7805 enableval="$enable_statusbar"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7809 else
7810 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7811 fi
7812
7813else
7814
7815 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7823
7824fi;
7825
7826 eval "$ac_cv_use_statusbar"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_STATUSBAR" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7842echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7845if test "${enable_tabdialog+set}" = set; then
7846 enableval="$enable_tabdialog"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7850 else
7851 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7852 fi
7853
7854else
7855
7856 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7864
7865fi;
7866
7867 eval "$ac_cv_use_tabdialog"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_TABDIALOG" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7883echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-textctrl or --disable-textctrl was given.
7886if test "${enable_textctrl+set}" = set; then
7887 enableval="$enable_textctrl"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7891 else
7892 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7893 fi
7894
7895else
7896
7897 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7905
7906fi;
7907
7908 eval "$ac_cv_use_textctrl"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_TEXTCTRL" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 enablestring=
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7924echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7925 no_cache=0
7926 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7927if test "${enable_togglebtn+set}" = set; then
7928 enableval="$enable_togglebtn"
7929
7930 if test "$enableval" = yes; then
7931 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7932 else
7933 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7934 fi
7935
7936else
7937
7938 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x ; then
7940 eval "DEFAULT_$LINE"
7941 else
7942 no_cache=1
7943 fi
7944
7945 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7946
7947fi;
7948
7949 eval "$ac_cv_use_togglebtn"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7952 fi
7953
7954 if test "$wxUSE_TOGGLEBTN" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956echo "${ECHO_T}yes" >&6
7957 else
7958 echo "$as_me:$LINENO: result: no" >&5
7959echo "${ECHO_T}no" >&6
7960 fi
7961
7962
7963 enablestring=
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7965echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7966 no_cache=0
7967 # Check whether --enable-toolbar or --disable-toolbar was given.
7968if test "${enable_toolbar+set}" = set; then
7969 enableval="$enable_toolbar"
7970
7971 if test "$enableval" = yes; then
7972 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7973 else
7974 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7975 fi
7976
7977else
7978
7979 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x ; then
7981 eval "DEFAULT_$LINE"
7982 else
7983 no_cache=1
7984 fi
7985
7986 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7987
7988fi;
7989
7990 eval "$ac_cv_use_toolbar"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7993 fi
7994
7995 if test "$wxUSE_TOOLBAR" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997echo "${ECHO_T}yes" >&6
7998 else
7999 echo "$as_me:$LINENO: result: no" >&5
8000echo "${ECHO_T}no" >&6
8001 fi
8002
8003
8004 enablestring=
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8006echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8007 no_cache=0
8008 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8009if test "${enable_tbarnative+set}" = set; then
8010 enableval="$enable_tbarnative"
8011
8012 if test "$enableval" = yes; then
8013 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8014 else
8015 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8016 fi
8017
8018else
8019
8020 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x ; then
8022 eval "DEFAULT_$LINE"
8023 else
8024 no_cache=1
8025 fi
8026
8027 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8028
8029fi;
8030
8031 eval "$ac_cv_use_tbarnative"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8034 fi
8035
8036 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038echo "${ECHO_T}yes" >&6
8039 else
8040 echo "$as_me:$LINENO: result: no" >&5
8041echo "${ECHO_T}no" >&6
8042 fi
8043
8044
8045 enablestring=
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8047echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8048 no_cache=0
8049 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8050if test "${enable_tbarsmpl+set}" = set; then
8051 enableval="$enable_tbarsmpl"
8052
8053 if test "$enableval" = yes; then
8054 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8055 else
8056 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8057 fi
8058
8059else
8060
8061 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x ; then
8063 eval "DEFAULT_$LINE"
8064 else
8065 no_cache=1
8066 fi
8067
8068 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8069
8070fi;
8071
8072 eval "$ac_cv_use_tbarsmpl"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8075 fi
8076
8077 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079echo "${ECHO_T}yes" >&6
8080 else
8081 echo "$as_me:$LINENO: result: no" >&5
8082echo "${ECHO_T}no" >&6
8083 fi
8084
8085
8086 enablestring=
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8088echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8089 no_cache=0
8090 # Check whether --enable-treectrl or --disable-treectrl was given.
8091if test "${enable_treectrl+set}" = set; then
8092 enableval="$enable_treectrl"
8093
8094 if test "$enableval" = yes; then
8095 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8096 else
8097 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8098 fi
8099
8100else
8101
8102 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8105 else
8106 no_cache=1
8107 fi
8108
8109 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8110
8111fi;
8112
8113 eval "$ac_cv_use_treectrl"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test "$wxUSE_TREECTRL" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120echo "${ECHO_T}yes" >&6
8121 else
8122 echo "$as_me:$LINENO: result: no" >&5
8123echo "${ECHO_T}no" >&6
8124 fi
8125
8126
8127 enablestring=
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8129echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8130 no_cache=0
8131 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8132if test "${enable_tipwindow+set}" = set; then
8133 enableval="$enable_tipwindow"
8134
8135 if test "$enableval" = yes; then
8136 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8137 else
8138 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8139 fi
8140
8141else
8142
8143 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 else
8147 no_cache=1
8148 fi
8149
8150 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8151
8152fi;
8153
8154 eval "$ac_cv_use_tipwindow"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test "$wxUSE_TIPWINDOW" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161echo "${ECHO_T}yes" >&6
8162 else
8163 echo "$as_me:$LINENO: result: no" >&5
8164echo "${ECHO_T}no" >&6
8165 fi
8166
8167
8168 enablestring=
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8170echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8171 no_cache=0
8172 # Check whether --enable-popupwin or --disable-popupwin was given.
8173if test "${enable_popupwin+set}" = set; then
8174 enableval="$enable_popupwin"
8175
8176 if test "$enableval" = yes; then
8177 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8178 else
8179 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8180 fi
8181
8182else
8183
8184 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x ; then
8186 eval "DEFAULT_$LINE"
8187 else
8188 no_cache=1
8189 fi
8190
8191 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8192
8193fi;
8194
8195 eval "$ac_cv_use_popupwin"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8198 fi
8199
8200 if test "$wxUSE_POPUPWIN" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202echo "${ECHO_T}yes" >&6
8203 else
8204 echo "$as_me:$LINENO: result: no" >&5
8205echo "${ECHO_T}no" >&6
8206 fi
8207
8208
8209
8210
8211 enablestring=
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8213echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8214 no_cache=0
8215 # Check whether --enable-commondlg or --disable-commondlg was given.
8216if test "${enable_commondlg+set}" = set; then
8217 enableval="$enable_commondlg"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8221 else
8222 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8223 fi
8224
8225else
8226
8227 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8235
8236fi;
8237
8238 eval "$ac_cv_use_commondlg"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_COMMONDLGS" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245echo "${ECHO_T}yes" >&6
8246 else
8247 echo "$as_me:$LINENO: result: no" >&5
8248echo "${ECHO_T}no" >&6
8249 fi
8250
8251
8252 enablestring=
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8254echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8255 no_cache=0
8256 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8257if test "${enable_choicedlg+set}" = set; then
8258 enableval="$enable_choicedlg"
8259
8260 if test "$enableval" = yes; then
8261 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8262 else
8263 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8264 fi
8265
8266else
8267
8268 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 else
8272 no_cache=1
8273 fi
8274
8275 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8276
8277fi;
8278
8279 eval "$ac_cv_use_choicedlg"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8282 fi
8283
8284 if test "$wxUSE_CHOICEDLG" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286echo "${ECHO_T}yes" >&6
8287 else
8288 echo "$as_me:$LINENO: result: no" >&5
8289echo "${ECHO_T}no" >&6
8290 fi
8291
8292
8293 enablestring=
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8295echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8296 no_cache=0
8297 # Check whether --enable-coldlg or --disable-coldlg was given.
8298if test "${enable_coldlg+set}" = set; then
8299 enableval="$enable_coldlg"
8300
8301 if test "$enableval" = yes; then
8302 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8303 else
8304 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8305 fi
8306
8307else
8308
8309 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x ; then
8311 eval "DEFAULT_$LINE"
8312 else
8313 no_cache=1
8314 fi
8315
8316 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8317
8318fi;
8319
8320 eval "$ac_cv_use_coldlg"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8323 fi
8324
8325 if test "$wxUSE_COLOURDLG" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327echo "${ECHO_T}yes" >&6
8328 else
8329 echo "$as_me:$LINENO: result: no" >&5
8330echo "${ECHO_T}no" >&6
8331 fi
8332
8333
8334 enablestring=
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8336echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8337 no_cache=0
8338 # Check whether --enable-filedlg or --disable-filedlg was given.
8339if test "${enable_filedlg+set}" = set; then
8340 enableval="$enable_filedlg"
8341
8342 if test "$enableval" = yes; then
8343 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8344 else
8345 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8346 fi
8347
8348else
8349
8350 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8353 else
8354 no_cache=1
8355 fi
8356
8357 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8358
8359fi;
8360
8361 eval "$ac_cv_use_filedlg"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8364 fi
8365
8366 if test "$wxUSE_FILEDLG" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368echo "${ECHO_T}yes" >&6
8369 else
8370 echo "$as_me:$LINENO: result: no" >&5
8371echo "${ECHO_T}no" >&6
8372 fi
8373
8374
8375 enablestring=
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8377echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8378 no_cache=0
8379 # Check whether --enable-finddlg or --disable-finddlg was given.
8380if test "${enable_finddlg+set}" = set; then
8381 enableval="$enable_finddlg"
8382
8383 if test "$enableval" = yes; then
8384 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8385 else
8386 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8387 fi
8388
8389else
8390
8391 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x ; then
8393 eval "DEFAULT_$LINE"
8394 else
8395 no_cache=1
8396 fi
8397
8398 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8399
8400fi;
8401
8402 eval "$ac_cv_use_finddlg"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8405 fi
8406
8407 if test "$wxUSE_FINDREPLDLG" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409echo "${ECHO_T}yes" >&6
8410 else
8411 echo "$as_me:$LINENO: result: no" >&5
8412echo "${ECHO_T}no" >&6
8413 fi
8414
8415
8416 enablestring=
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8418echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8419 no_cache=0
8420 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8421if test "${enable_fontdlg+set}" = set; then
8422 enableval="$enable_fontdlg"
8423
8424 if test "$enableval" = yes; then
8425 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8426 else
8427 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8428 fi
8429
8430else
8431
8432 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8435 else
8436 no_cache=1
8437 fi
8438
8439 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8440
8441fi;
8442
8443 eval "$ac_cv_use_fontdlg"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8446 fi
8447
8448 if test "$wxUSE_FONTDLG" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450echo "${ECHO_T}yes" >&6
8451 else
8452 echo "$as_me:$LINENO: result: no" >&5
8453echo "${ECHO_T}no" >&6
8454 fi
8455
8456
8457 enablestring=
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8459echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8460 no_cache=0
8461 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8462if test "${enable_dirdlg+set}" = set; then
8463 enableval="$enable_dirdlg"
8464
8465 if test "$enableval" = yes; then
8466 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8467 else
8468 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8469 fi
8470
8471else
8472
8473 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x ; then
8475 eval "DEFAULT_$LINE"
8476 else
8477 no_cache=1
8478 fi
8479
8480 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8481
8482fi;
8483
8484 eval "$ac_cv_use_dirdlg"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8487 fi
8488
8489 if test "$wxUSE_DIRDLG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491echo "${ECHO_T}yes" >&6
8492 else
8493 echo "$as_me:$LINENO: result: no" >&5
8494echo "${ECHO_T}no" >&6
8495 fi
8496
8497
8498 enablestring=
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8500echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8501 no_cache=0
8502 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8503if test "${enable_msgdlg+set}" = set; then
8504 enableval="$enable_msgdlg"
8505
8506 if test "$enableval" = yes; then
8507 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8508 else
8509 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8510 fi
8511
8512else
8513
8514 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8517 else
8518 no_cache=1
8519 fi
8520
8521 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8522
8523fi;
8524
8525 eval "$ac_cv_use_msgdlg"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8528 fi
8529
8530 if test "$wxUSE_MSGDLG" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532echo "${ECHO_T}yes" >&6
8533 else
8534 echo "$as_me:$LINENO: result: no" >&5
8535echo "${ECHO_T}no" >&6
8536 fi
8537
8538
8539 enablestring=
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8541echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8542 no_cache=0
8543 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8544if test "${enable_numberdlg+set}" = set; then
8545 enableval="$enable_numberdlg"
8546
8547 if test "$enableval" = yes; then
8548 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8549 else
8550 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8551 fi
8552
8553else
8554
8555 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8558 else
8559 no_cache=1
8560 fi
8561
8562 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8563
8564fi;
8565
8566 eval "$ac_cv_use_numberdlg"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8569 fi
8570
8571 if test "$wxUSE_NUMBERDLG" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573echo "${ECHO_T}yes" >&6
8574 else
8575 echo "$as_me:$LINENO: result: no" >&5
8576echo "${ECHO_T}no" >&6
8577 fi
8578
8579
8580 enablestring=
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8582echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8583 no_cache=0
8584 # Check whether --enable-splash or --disable-splash was given.
8585if test "${enable_splash+set}" = set; then
8586 enableval="$enable_splash"
8587
8588 if test "$enableval" = yes; then
8589 ac_cv_use_splash='wxUSE_SPLASH=yes'
8590 else
8591 ac_cv_use_splash='wxUSE_SPLASH=no'
8592 fi
8593
8594else
8595
8596 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x ; then
8598 eval "DEFAULT_$LINE"
8599 else
8600 no_cache=1
8601 fi
8602
8603 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8604
8605fi;
8606
8607 eval "$ac_cv_use_splash"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8610 fi
8611
8612 if test "$wxUSE_SPLASH" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614echo "${ECHO_T}yes" >&6
8615 else
8616 echo "$as_me:$LINENO: result: no" >&5
8617echo "${ECHO_T}no" >&6
8618 fi
8619
8620
8621 enablestring=
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8623echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8624 no_cache=0
8625 # Check whether --enable-textdlg or --disable-textdlg was given.
8626if test "${enable_textdlg+set}" = set; then
8627 enableval="$enable_textdlg"
8628
8629 if test "$enableval" = yes; then
8630 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8631 else
8632 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8633 fi
8634
8635else
8636
8637 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x ; then
8639 eval "DEFAULT_$LINE"
8640 else
8641 no_cache=1
8642 fi
8643
8644 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8645
8646fi;
8647
8648 eval "$ac_cv_use_textdlg"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8651 fi
8652
8653 if test "$wxUSE_TEXTDLG" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655echo "${ECHO_T}yes" >&6
8656 else
8657 echo "$as_me:$LINENO: result: no" >&5
8658echo "${ECHO_T}no" >&6
8659 fi
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8664echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8667if test "${enable_tipdlg+set}" = set; then
8668 enableval="$enable_tipdlg"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8672 else
8673 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8674 fi
8675
8676else
8677
8678 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8686
8687fi;
8688
8689 eval "$ac_cv_use_tipdlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_STARTUP_TIPS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703 enablestring=
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8705echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8706 no_cache=0
8707 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8708if test "${enable_progressdlg+set}" = set; then
8709 enableval="$enable_progressdlg"
8710
8711 if test "$enableval" = yes; then
8712 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8713 else
8714 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8715 fi
8716
8717else
8718
8719 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8722 else
8723 no_cache=1
8724 fi
8725
8726 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8727
8728fi;
8729
8730 eval "$ac_cv_use_progressdlg"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8733 fi
8734
8735 if test "$wxUSE_PROGRESSDLG" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737echo "${ECHO_T}yes" >&6
8738 else
8739 echo "$as_me:$LINENO: result: no" >&5
8740echo "${ECHO_T}no" >&6
8741 fi
8742
8743
8744 enablestring=
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8746echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8747 no_cache=0
8748 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8749if test "${enable_wizarddlg+set}" = set; then
8750 enableval="$enable_wizarddlg"
8751
8752 if test "$enableval" = yes; then
8753 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8754 else
8755 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8756 fi
8757
8758else
8759
8760 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8763 else
8764 no_cache=1
8765 fi
8766
8767 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8768
8769fi;
8770
8771 eval "$ac_cv_use_wizarddlg"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8774 fi
8775
8776 if test "$wxUSE_WIZARDDLG" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778echo "${ECHO_T}yes" >&6
8779 else
8780 echo "$as_me:$LINENO: result: no" >&5
8781echo "${ECHO_T}no" >&6
8782 fi
8783
8784
8785
8786
8787 enablestring=
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8789echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8790 no_cache=0
8791 # Check whether --enable-menus or --disable-menus was given.
8792if test "${enable_menus+set}" = set; then
8793 enableval="$enable_menus"
8794
8795 if test "$enableval" = yes; then
8796 ac_cv_use_menus='wxUSE_MENUS=yes'
8797 else
8798 ac_cv_use_menus='wxUSE_MENUS=no'
8799 fi
8800
8801else
8802
8803 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8806 else
8807 no_cache=1
8808 fi
8809
8810 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8811
8812fi;
8813
8814 eval "$ac_cv_use_menus"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8817 fi
8818
8819 if test "$wxUSE_MENUS" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821echo "${ECHO_T}yes" >&6
8822 else
8823 echo "$as_me:$LINENO: result: no" >&5
8824echo "${ECHO_T}no" >&6
8825 fi
8826
8827
8828 enablestring=
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8830echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8831 no_cache=0
8832 # Check whether --enable-miniframe or --disable-miniframe was given.
8833if test "${enable_miniframe+set}" = set; then
8834 enableval="$enable_miniframe"
8835
8836 if test "$enableval" = yes; then
8837 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8838 else
8839 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8840 fi
8841
8842else
8843
8844 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x ; then
8846 eval "DEFAULT_$LINE"
8847 else
8848 no_cache=1
8849 fi
8850
8851 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8852
8853fi;
8854
8855 eval "$ac_cv_use_miniframe"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8858 fi
8859
8860 if test "$wxUSE_MINIFRAME" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862echo "${ECHO_T}yes" >&6
8863 else
8864 echo "$as_me:$LINENO: result: no" >&5
8865echo "${ECHO_T}no" >&6
8866 fi
8867
8868
8869 enablestring=
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8871echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8872 no_cache=0
8873 # Check whether --enable-tooltips or --disable-tooltips was given.
8874if test "${enable_tooltips+set}" = set; then
8875 enableval="$enable_tooltips"
8876
8877 if test "$enableval" = yes; then
8878 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8879 else
8880 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8881 fi
8882
8883else
8884
8885 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x ; then
8887 eval "DEFAULT_$LINE"
8888 else
8889 no_cache=1
8890 fi
8891
8892 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8893
8894fi;
8895
8896 eval "$ac_cv_use_tooltips"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8899 fi
8900
8901 if test "$wxUSE_TOOLTIPS" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903echo "${ECHO_T}yes" >&6
8904 else
8905 echo "$as_me:$LINENO: result: no" >&5
8906echo "${ECHO_T}no" >&6
8907 fi
8908
8909
8910 enablestring=
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8912echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8913 no_cache=0
8914 # Check whether --enable-splines or --disable-splines was given.
8915if test "${enable_splines+set}" = set; then
8916 enableval="$enable_splines"
8917
8918 if test "$enableval" = yes; then
8919 ac_cv_use_splines='wxUSE_SPLINES=yes'
8920 else
8921 ac_cv_use_splines='wxUSE_SPLINES=no'
8922 fi
8923
8924else
8925
8926 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x ; then
8928 eval "DEFAULT_$LINE"
8929 else
8930 no_cache=1
8931 fi
8932
8933 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8934
8935fi;
8936
8937 eval "$ac_cv_use_splines"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8940 fi
8941
8942 if test "$wxUSE_SPLINES" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944echo "${ECHO_T}yes" >&6
8945 else
8946 echo "$as_me:$LINENO: result: no" >&5
8947echo "${ECHO_T}no" >&6
8948 fi
8949
8950
8951 enablestring=
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8953echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8954 no_cache=0
8955 # Check whether --enable-validators or --disable-validators was given.
8956if test "${enable_validators+set}" = set; then
8957 enableval="$enable_validators"
8958
8959 if test "$enableval" = yes; then
8960 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8961 else
8962 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8963 fi
8964
8965else
8966
8967 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x ; then
8969 eval "DEFAULT_$LINE"
8970 else
8971 no_cache=1
8972 fi
8973
8974 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8975
8976fi;
8977
8978 eval "$ac_cv_use_validators"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8981 fi
8982
8983 if test "$wxUSE_VALIDATORS" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985echo "${ECHO_T}yes" >&6
8986 else
8987 echo "$as_me:$LINENO: result: no" >&5
8988echo "${ECHO_T}no" >&6
8989 fi
8990
8991
8992 enablestring=
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8994echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8995 no_cache=0
8996 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8997if test "${enable_busyinfo+set}" = set; then
8998 enableval="$enable_busyinfo"
8999
9000 if test "$enableval" = yes; then
9001 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9002 else
9003 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9004 fi
9005
9006else
9007
9008 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x ; then
9010 eval "DEFAULT_$LINE"
9011 else
9012 no_cache=1
9013 fi
9014
9015 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9016
9017fi;
9018
9019 eval "$ac_cv_use_busyinfo"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9022 fi
9023
9024 if test "$wxUSE_BUSYINFO" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026echo "${ECHO_T}yes" >&6
9027 else
9028 echo "$as_me:$LINENO: result: no" >&5
9029echo "${ECHO_T}no" >&6
9030 fi
9031
9032
9033 enablestring=
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9035echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9036 no_cache=0
9037 # Check whether --enable-joystick or --disable-joystick was given.
9038if test "${enable_joystick+set}" = set; then
9039 enableval="$enable_joystick"
9040
9041 if test "$enableval" = yes; then
9042 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9043 else
9044 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9045 fi
9046
9047else
9048
9049 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x ; then
9051 eval "DEFAULT_$LINE"
9052 else
9053 no_cache=1
9054 fi
9055
9056 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9057
9058fi;
9059
9060 eval "$ac_cv_use_joystick"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9063 fi
9064
9065 if test "$wxUSE_JOYSTICK" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067echo "${ECHO_T}yes" >&6
9068 else
9069 echo "$as_me:$LINENO: result: no" >&5
9070echo "${ECHO_T}no" >&6
9071 fi
9072
9073
9074 enablestring=
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9076echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9077 no_cache=0
9078 # Check whether --enable-metafile or --disable-metafile was given.
9079if test "${enable_metafile+set}" = set; then
9080 enableval="$enable_metafile"
9081
9082 if test "$enableval" = yes; then
9083 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9084 else
9085 ac_cv_use_metafile='wxUSE_METAFILE=no'
9086 fi
9087
9088else
9089
9090 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9098
9099fi;
9100
9101 eval "$ac_cv_use_metafile"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9104 fi
9105
9106 if test "$wxUSE_METAFILE" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108echo "${ECHO_T}yes" >&6
9109 else
9110 echo "$as_me:$LINENO: result: no" >&5
9111echo "${ECHO_T}no" >&6
9112 fi
9113
9114
9115 enablestring=
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9117echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9118 no_cache=0
9119 # Check whether --enable-dragimage or --disable-dragimage was given.
9120if test "${enable_dragimage+set}" = set; then
9121 enableval="$enable_dragimage"
9122
9123 if test "$enableval" = yes; then
9124 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9125 else
9126 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9127 fi
9128
9129else
9130
9131 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x ; then
9133 eval "DEFAULT_$LINE"
9134 else
9135 no_cache=1
9136 fi
9137
9138 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9139
9140fi;
9141
9142 eval "$ac_cv_use_dragimage"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9145 fi
9146
9147 if test "$wxUSE_DRAGIMAGE" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149echo "${ECHO_T}yes" >&6
9150 else
9151 echo "$as_me:$LINENO: result: no" >&5
9152echo "${ECHO_T}no" >&6
9153 fi
9154
9155
9156 enablestring=
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9158echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9159 no_cache=0
9160 # Check whether --enable-accessibility or --disable-accessibility was given.
9161if test "${enable_accessibility+set}" = set; then
9162 enableval="$enable_accessibility"
9163
9164 if test "$enableval" = yes; then
9165 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9166 else
9167 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9168 fi
9169
9170else
9171
9172 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 else
9176 no_cache=1
9177 fi
9178
9179 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9180
9181fi;
9182
9183 eval "$ac_cv_use_accessibility"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9186 fi
9187
9188 if test "$wxUSE_ACCESSIBILITY" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190echo "${ECHO_T}yes" >&6
9191 else
9192 echo "$as_me:$LINENO: result: no" >&5
9193echo "${ECHO_T}no" >&6
9194 fi
9195
9196
9197
9198
9199 enablestring=
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9201echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9202 no_cache=0
9203 # Check whether --enable-palette or --disable-palette was given.
9204if test "${enable_palette+set}" = set; then
9205 enableval="$enable_palette"
9206
9207 if test "$enableval" = yes; then
9208 ac_cv_use_palette='wxUSE_PALETTE=yes'
9209 else
9210 ac_cv_use_palette='wxUSE_PALETTE=no'
9211 fi
9212
9213else
9214
9215 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9218 else
9219 no_cache=1
9220 fi
9221
9222 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9223
9224fi;
9225
9226 eval "$ac_cv_use_palette"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9229 fi
9230
9231 if test "$wxUSE_PALETTE" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233echo "${ECHO_T}yes" >&6
9234 else
9235 echo "$as_me:$LINENO: result: no" >&5
9236echo "${ECHO_T}no" >&6
9237 fi
9238
9239
9240 enablestring=
9241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9242echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9243 no_cache=0
9244 # Check whether --enable-image or --disable-image was given.
9245if test "${enable_image+set}" = set; then
9246 enableval="$enable_image"
9247
9248 if test "$enableval" = yes; then
9249 ac_cv_use_image='wxUSE_IMAGE=yes'
9250 else
9251 ac_cv_use_image='wxUSE_IMAGE=no'
9252 fi
9253
9254else
9255
9256 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x ; then
9258 eval "DEFAULT_$LINE"
9259 else
9260 no_cache=1
9261 fi
9262
9263 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9264
9265fi;
9266
9267 eval "$ac_cv_use_image"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9270 fi
9271
9272 if test "$wxUSE_IMAGE" = yes; then
9273 echo "$as_me:$LINENO: result: yes" >&5
9274echo "${ECHO_T}yes" >&6
9275 else
9276 echo "$as_me:$LINENO: result: no" >&5
9277echo "${ECHO_T}no" >&6
9278 fi
9279
9280
9281 enablestring=
9282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9283echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9284 no_cache=0
9285 # Check whether --enable-gif or --disable-gif was given.
9286if test "${enable_gif+set}" = set; then
9287 enableval="$enable_gif"
9288
9289 if test "$enableval" = yes; then
9290 ac_cv_use_gif='wxUSE_GIF=yes'
9291 else
9292 ac_cv_use_gif='wxUSE_GIF=no'
9293 fi
9294
9295else
9296
9297 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x ; then
9299 eval "DEFAULT_$LINE"
9300 else
9301 no_cache=1
9302 fi
9303
9304 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9305
9306fi;
9307
9308 eval "$ac_cv_use_gif"
9309 if test "$no_cache" != 1; then
9310 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9311 fi
9312
9313 if test "$wxUSE_GIF" = yes; then
9314 echo "$as_me:$LINENO: result: yes" >&5
9315echo "${ECHO_T}yes" >&6
9316 else
9317 echo "$as_me:$LINENO: result: no" >&5
9318echo "${ECHO_T}no" >&6
9319 fi
9320
9321
9322 enablestring=
9323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9324echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9325 no_cache=0
9326 # Check whether --enable-pcx or --disable-pcx was given.
9327if test "${enable_pcx+set}" = set; then
9328 enableval="$enable_pcx"
9329
9330 if test "$enableval" = yes; then
9331 ac_cv_use_pcx='wxUSE_PCX=yes'
9332 else
9333 ac_cv_use_pcx='wxUSE_PCX=no'
9334 fi
9335
9336else
9337
9338 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x ; then
9340 eval "DEFAULT_$LINE"
9341 else
9342 no_cache=1
9343 fi
9344
9345 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9346
9347fi;
9348
9349 eval "$ac_cv_use_pcx"
9350 if test "$no_cache" != 1; then
9351 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9352 fi
9353
9354 if test "$wxUSE_PCX" = yes; then
9355 echo "$as_me:$LINENO: result: yes" >&5
9356echo "${ECHO_T}yes" >&6
9357 else
9358 echo "$as_me:$LINENO: result: no" >&5
9359echo "${ECHO_T}no" >&6
9360 fi
9361
9362
9363 enablestring=
9364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9365echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9366 no_cache=0
9367 # Check whether --enable-iff or --disable-iff was given.
9368if test "${enable_iff+set}" = set; then
9369 enableval="$enable_iff"
9370
9371 if test "$enableval" = yes; then
9372 ac_cv_use_iff='wxUSE_IFF=yes'
9373 else
9374 ac_cv_use_iff='wxUSE_IFF=no'
9375 fi
9376
9377else
9378
9379 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x ; then
9381 eval "DEFAULT_$LINE"
9382 else
9383 no_cache=1
9384 fi
9385
9386 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9387
9388fi;
9389
9390 eval "$ac_cv_use_iff"
9391 if test "$no_cache" != 1; then
9392 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9393 fi
9394
9395 if test "$wxUSE_IFF" = yes; then
9396 echo "$as_me:$LINENO: result: yes" >&5
9397echo "${ECHO_T}yes" >&6
9398 else
9399 echo "$as_me:$LINENO: result: no" >&5
9400echo "${ECHO_T}no" >&6
9401 fi
9402
9403
9404 enablestring=
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9406echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9407 no_cache=0
9408 # Check whether --enable-pnm or --disable-pnm was given.
9409if test "${enable_pnm+set}" = set; then
9410 enableval="$enable_pnm"
9411
9412 if test "$enableval" = yes; then
9413 ac_cv_use_pnm='wxUSE_PNM=yes'
9414 else
9415 ac_cv_use_pnm='wxUSE_PNM=no'
9416 fi
9417
9418else
9419
9420 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 else
9424 no_cache=1
9425 fi
9426
9427 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9428
9429fi;
9430
9431 eval "$ac_cv_use_pnm"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9434 fi
9435
9436 if test "$wxUSE_PNM" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438echo "${ECHO_T}yes" >&6
9439 else
9440 echo "$as_me:$LINENO: result: no" >&5
9441echo "${ECHO_T}no" >&6
9442 fi
9443
9444
9445 enablestring=
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9447echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9448 no_cache=0
9449 # Check whether --enable-xpm or --disable-xpm was given.
9450if test "${enable_xpm+set}" = set; then
9451 enableval="$enable_xpm"
9452
9453 if test "$enableval" = yes; then
9454 ac_cv_use_xpm='wxUSE_XPM=yes'
9455 else
9456 ac_cv_use_xpm='wxUSE_XPM=no'
9457 fi
9458
9459else
9460
9461 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x ; then
9463 eval "DEFAULT_$LINE"
9464 else
9465 no_cache=1
9466 fi
9467
9468 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9469
9470fi;
9471
9472 eval "$ac_cv_use_xpm"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9475 fi
9476
9477 if test "$wxUSE_XPM" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479echo "${ECHO_T}yes" >&6
9480 else
9481 echo "$as_me:$LINENO: result: no" >&5
9482echo "${ECHO_T}no" >&6
9483 fi
9484
9485
9486 enablestring=
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9488echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9489 no_cache=0
9490 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9491if test "${enable_ico_cur+set}" = set; then
9492 enableval="$enable_ico_cur"
9493
9494 if test "$enableval" = yes; then
9495 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9496 else
9497 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9498 fi
9499
9500else
9501
9502 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x ; then
9504 eval "DEFAULT_$LINE"
9505 else
9506 no_cache=1
9507 fi
9508
9509 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9510
9511fi;
9512
9513 eval "$ac_cv_use_ico_cur"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9516 fi
9517
9518 if test "$wxUSE_ICO_CUR" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520echo "${ECHO_T}yes" >&6
9521 else
9522 echo "$as_me:$LINENO: result: no" >&5
9523echo "${ECHO_T}no" >&6
9524 fi
9525
9526
9527fi
9528
9529
9530
9531 enablestring=
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9533echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9534 no_cache=0
9535 # Check whether --enable-official_build or --disable-official_build was given.
9536if test "${enable_official_build+set}" = set; then
9537 enableval="$enable_official_build"
9538
9539 if test "$enableval" = yes; then
9540 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9541 else
9542 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9543 fi
9544
9545else
9546
9547 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9550 else
9551 no_cache=1
9552 fi
9553
9554 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9555
9556fi;
9557
9558 eval "$ac_cv_use_official_build"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565echo "${ECHO_T}yes" >&6
9566 else
9567 echo "$as_me:$LINENO: result: no" >&5
9568echo "${ECHO_T}no" >&6
9569 fi
9570
9571# Check whether --enable-vendor or --disable-vendor was given.
9572if test "${enable_vendor+set}" = set; then
9573 enableval="$enable_vendor"
9574 VENDOR="$enableval"
9575fi;
9576if test "x$VENDOR" = "x"; then
9577 VENDOR="custom"
9578fi
9579
9580case "${host}" in
9581 *-pc-os2_emx | *-pc-os2-emx )
9582 PATH_IFS=';'
9583 ;;
9584 *)
9585 PATH_IFS=':'
9586 ;;
9587esac
9588
9589
9590
9591 echo "saving argument cache $wx_arg_cache_file"
9592 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9593
9594
9595
9596echo "$as_me:$LINENO: checking for toolkit" >&5
9597echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9598
9599# In Wine, we need to default to MSW, not GTK or MOTIF
9600if test "$wxUSE_WINE" = "yes"; then
9601 DEFAULT_DEFAULT_wxUSE_GTK=0
9602 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9603 DEFAULT_DEFAULT_wxUSE_MSW=1
9604fi
9605
9606if test "$wxUSE_GUI" = "yes"; then
9607
9608 if test "$USE_BEOS" = 1; then
9609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9610echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9611 { (exit 1); exit 1; }; }
9612 fi
9613
9614 if test "$TOOLKIT_GIVEN" = 1; then
9615 for toolkit in `echo $ALL_TOOLKITS`; do
9616 var=wxUSE_$toolkit
9617 eval "value=\$${var}"
9618 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9619 done
9620 else
9621 for toolkit in `echo $ALL_TOOLKITS`; do
9622 if test "$has_toolkit_in_cache" != 1; then
9623 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9624 else
9625 var=DEFAULT_wxUSE_$toolkit
9626 fi
9627 eval "wxUSE_$toolkit=\$${var}"
9628 done
9629 fi
9630
9631 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9632 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9633 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9634
9635 case "${host}" in
9636 *-pc-os2_emx | *-pc-os2-emx )
9637 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9638 esac
9639
9640 case "$NUM_TOOLKITS" in
9641 1)
9642 ;;
9643 0)
9644 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9645echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9646 { (exit 1); exit 1; }; }
9647 ;;
9648 *)
9649 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9650echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9651 { (exit 1); exit 1; }; }
9652 esac
9653
9654 for toolkit in `echo $ALL_TOOLKITS`; do
9655 var=wxUSE_$toolkit
9656 eval "value=\$${var}"
9657 if test "x$value" != x; then
9658 cache_var=CACHE_$toolkit
9659 eval "cache=\$${cache_var}"
9660 if test "$cache" = 1; then
9661 echo "$var=$value" >> ${wx_arg_cache_file}
9662 fi
9663 if test "$value" = 1; then
9664 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9665 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9666echo "${ECHO_T}$toolkit_echo" >&6
9667 fi
9668 fi
9669 done
9670else
9671 if test "x$host_alias" != "x"; then
9672 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9673echo "${ECHO_T}base ($host_alias hosted) only" >&6
9674 else
9675 echo "$as_me:$LINENO: result: base only" >&5
9676echo "${ECHO_T}base only" >&6
9677 fi
9678fi
9679
9680wants_win32=0
9681doesnt_want_win32=0
9682case "${host}" in
9683 *-*-cygwin*)
9684 if test "$wxUSE_MSW" = 1 ; then
9685 wants_win32=1
9686 else
9687 doesnt_want_win32=1
9688 fi
9689 ;;
9690 *-*-mingw*)
9691 wants_win32=1
9692 ;;
9693esac
9694
9695if test "$wxUSE_WINE" = "yes"; then
9696 wants_win32=1
9697 CC=winegcc
9698 CXX=wineg++
9699 RESCOMP=wrc
9700fi
9701
9702if test "$wants_win32" = 1 ; then
9703 USE_UNIX=0
9704 USE_WIN32=1
9705 cat >>confdefs.h <<\_ACEOF
9706#define __WIN32__ 1
9707_ACEOF
9708
9709 cat >>confdefs.h <<\_ACEOF
9710#define __WIN95__ 1
9711_ACEOF
9712
9713 cat >>confdefs.h <<\_ACEOF
9714#define __WINDOWS__ 1
9715_ACEOF
9716
9717 cat >>confdefs.h <<\_ACEOF
9718#define __GNUWIN32__ 1
9719_ACEOF
9720
9721 cat >>confdefs.h <<\_ACEOF
9722#define STRICT 1
9723_ACEOF
9724
9725 cat >>confdefs.h <<\_ACEOF
9726#define WINVER 0x0400
9727_ACEOF
9728
9729fi
9730if test "$doesnt_want_win32" = 1 ; then
9731 USE_UNIX=1
9732 USE_WIN32=0
9733fi
9734
9735if test "$USE_UNIX" = 1 ; then
9736 wxUSE_UNIX=yes
9737 cat >>confdefs.h <<\_ACEOF
9738#define __UNIX__ 1
9739_ACEOF
9740
9741fi
9742
9743
9744cat >confcache <<\_ACEOF
9745# This file is a shell script that caches the results of configure
9746# tests run on this system so they can be shared between configure
9747# scripts and configure runs, see configure's option --config-cache.
9748# It is not useful on other systems. If it contains results you don't
9749# want to keep, you may remove or edit it.
9750#
9751# config.status only pays attention to the cache file if you give it
9752# the --recheck option to rerun configure.
9753#
9754# `ac_cv_env_foo' variables (set or unset) will be overridden when
9755# loading this file, other *unset* `ac_cv_foo' will be assigned the
9756# following values.
9757
9758_ACEOF
9759
9760# The following way of writing the cache mishandles newlines in values,
9761# but we know of no workaround that is simple, portable, and efficient.
9762# So, don't put newlines in cache variables' values.
9763# Ultrix sh set writes to stderr and can't be redirected directly,
9764# and sets the high bit in the cache file unless we assign to the vars.
9765{
9766 (set) 2>&1 |
9767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9768 *ac_space=\ *)
9769 # `set' does not quote correctly, so add quotes (double-quote
9770 # substitution turns \\\\ into \\, and sed turns \\ into \).
9771 sed -n \
9772 "s/'/'\\\\''/g;
9773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9774 ;;
9775 *)
9776 # `set' quotes correctly as required by POSIX, so do not add quotes.
9777 sed -n \
9778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9779 ;;
9780 esac;
9781} |
9782 sed '
9783 t clear
9784 : clear
9785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9786 t end
9787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9788 : end' >>confcache
9789if diff $cache_file confcache >/dev/null 2>&1; then :; else
9790 if test -w $cache_file; then
9791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9792 cat confcache >$cache_file
9793 else
9794 echo "not updating unwritable cache $cache_file"
9795 fi
9796fi
9797rm -f confcache
9798
9799if test "$build" != "$host" ; then
9800 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9801 CC=$host_alias-gcc
9802 CXX=$host_alias-c++
9803 AR=$host_alias-ar
9804 RANLIB=$host_alias-ranlib
9805 DLLTOOL=$host_alias-dlltool
9806 RESCOMP=$host_alias-windres
9807 LD=$host_alias-ld
9808 NM=$host_alias-nm
9809 STRIP=$host_alias-strip
9810 else
9811 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9812echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9813 { (exit 1); exit 1; }; }
9814 fi
9815fi
9816
9817CFLAGS=${CFLAGS:=}
9818ac_ext=c
9819ac_cpp='$CPP $CPPFLAGS'
9820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822ac_compiler_gnu=$ac_cv_c_compiler_gnu
9823if test -n "$ac_tool_prefix"; then
9824 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9825set dummy ${ac_tool_prefix}gcc; ac_word=$2
9826echo "$as_me:$LINENO: checking for $ac_word" >&5
9827echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9828if test "${ac_cv_prog_CC+set}" = set; then
9829 echo $ECHO_N "(cached) $ECHO_C" >&6
9830else
9831 if test -n "$CC"; then
9832 ac_cv_prog_CC="$CC" # Let the user override the test.
9833else
9834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9835for as_dir in $PATH
9836do
9837 IFS=$as_save_IFS
9838 test -z "$as_dir" && as_dir=.
9839 for ac_exec_ext in '' $ac_executable_extensions; do
9840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9841 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9843 break 2
9844 fi
9845done
9846done
9847
9848fi
9849fi
9850CC=$ac_cv_prog_CC
9851if test -n "$CC"; then
9852 echo "$as_me:$LINENO: result: $CC" >&5
9853echo "${ECHO_T}$CC" >&6
9854else
9855 echo "$as_me:$LINENO: result: no" >&5
9856echo "${ECHO_T}no" >&6
9857fi
9858
9859fi
9860if test -z "$ac_cv_prog_CC"; then
9861 ac_ct_CC=$CC
9862 # Extract the first word of "gcc", so it can be a program name with args.
9863set dummy gcc; ac_word=$2
9864echo "$as_me:$LINENO: checking for $ac_word" >&5
9865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9866if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9868else
9869 if test -n "$ac_ct_CC"; then
9870 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9871else
9872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873for as_dir in $PATH
9874do
9875 IFS=$as_save_IFS
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_ac_ct_CC="gcc"
9880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 break 2
9882 fi
9883done
9884done
9885
9886fi
9887fi
9888ac_ct_CC=$ac_cv_prog_ac_ct_CC
9889if test -n "$ac_ct_CC"; then
9890 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9891echo "${ECHO_T}$ac_ct_CC" >&6
9892else
9893 echo "$as_me:$LINENO: result: no" >&5
9894echo "${ECHO_T}no" >&6
9895fi
9896
9897 CC=$ac_ct_CC
9898else
9899 CC="$ac_cv_prog_CC"
9900fi
9901
9902if test -z "$CC"; then
9903 if test -n "$ac_tool_prefix"; then
9904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9905set dummy ${ac_tool_prefix}cc; ac_word=$2
9906echo "$as_me:$LINENO: checking for $ac_word" >&5
9907echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9908if test "${ac_cv_prog_CC+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910else
9911 if test -n "$CC"; then
9912 ac_cv_prog_CC="$CC" # Let the user override the test.
9913else
9914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9915for as_dir in $PATH
9916do
9917 IFS=$as_save_IFS
9918 test -z "$as_dir" && as_dir=.
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_CC="${ac_tool_prefix}cc"
9922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 break 2
9924 fi
9925done
9926done
9927
9928fi
9929fi
9930CC=$ac_cv_prog_CC
9931if test -n "$CC"; then
9932 echo "$as_me:$LINENO: result: $CC" >&5
9933echo "${ECHO_T}$CC" >&6
9934else
9935 echo "$as_me:$LINENO: result: no" >&5
9936echo "${ECHO_T}no" >&6
9937fi
9938
9939fi
9940if test -z "$ac_cv_prog_CC"; then
9941 ac_ct_CC=$CC
9942 # Extract the first word of "cc", so it can be a program name with args.
9943set dummy cc; ac_word=$2
9944echo "$as_me:$LINENO: checking for $ac_word" >&5
9945echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9946if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9948else
9949 if test -n "$ac_ct_CC"; then
9950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9951else
9952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9953for as_dir in $PATH
9954do
9955 IFS=$as_save_IFS
9956 test -z "$as_dir" && as_dir=.
9957 for ac_exec_ext in '' $ac_executable_extensions; do
9958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9959 ac_cv_prog_ac_ct_CC="cc"
9960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9961 break 2
9962 fi
9963done
9964done
9965
9966fi
9967fi
9968ac_ct_CC=$ac_cv_prog_ac_ct_CC
9969if test -n "$ac_ct_CC"; then
9970 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9971echo "${ECHO_T}$ac_ct_CC" >&6
9972else
9973 echo "$as_me:$LINENO: result: no" >&5
9974echo "${ECHO_T}no" >&6
9975fi
9976
9977 CC=$ac_ct_CC
9978else
9979 CC="$ac_cv_prog_CC"
9980fi
9981
9982fi
9983if test -z "$CC"; then
9984 # Extract the first word of "cc", so it can be a program name with args.
9985set dummy cc; ac_word=$2
9986echo "$as_me:$LINENO: checking for $ac_word" >&5
9987echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9988if test "${ac_cv_prog_CC+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990else
9991 if test -n "$CC"; then
9992 ac_cv_prog_CC="$CC" # Let the user override the test.
9993else
9994 ac_prog_rejected=no
9995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9996for as_dir in $PATH
9997do
9998 IFS=$as_save_IFS
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10003 ac_prog_rejected=yes
10004 continue
10005 fi
10006 ac_cv_prog_CC="cc"
10007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 break 2
10009 fi
10010done
10011done
10012
10013if test $ac_prog_rejected = yes; then
10014 # We found a bogon in the path, so make sure we never use it.
10015 set dummy $ac_cv_prog_CC
10016 shift
10017 if test $# != 0; then
10018 # We chose a different compiler from the bogus one.
10019 # However, it has the same basename, so the bogon will be chosen
10020 # first if we set CC to just the basename; use the full file name.
10021 shift
10022 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10023 fi
10024fi
10025fi
10026fi
10027CC=$ac_cv_prog_CC
10028if test -n "$CC"; then
10029 echo "$as_me:$LINENO: result: $CC" >&5
10030echo "${ECHO_T}$CC" >&6
10031else
10032 echo "$as_me:$LINENO: result: no" >&5
10033echo "${ECHO_T}no" >&6
10034fi
10035
10036fi
10037if test -z "$CC"; then
10038 if test -n "$ac_tool_prefix"; then
10039 for ac_prog in cl
10040 do
10041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10042set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10043echo "$as_me:$LINENO: checking for $ac_word" >&5
10044echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10045if test "${ac_cv_prog_CC+set}" = set; then
10046 echo $ECHO_N "(cached) $ECHO_C" >&6
10047else
10048 if test -n "$CC"; then
10049 ac_cv_prog_CC="$CC" # Let the user override the test.
10050else
10051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10052for as_dir in $PATH
10053do
10054 IFS=$as_save_IFS
10055 test -z "$as_dir" && as_dir=.
10056 for ac_exec_ext in '' $ac_executable_extensions; do
10057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10058 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10060 break 2
10061 fi
10062done
10063done
10064
10065fi
10066fi
10067CC=$ac_cv_prog_CC
10068if test -n "$CC"; then
10069 echo "$as_me:$LINENO: result: $CC" >&5
10070echo "${ECHO_T}$CC" >&6
10071else
10072 echo "$as_me:$LINENO: result: no" >&5
10073echo "${ECHO_T}no" >&6
10074fi
10075
10076 test -n "$CC" && break
10077 done
10078fi
10079if test -z "$CC"; then
10080 ac_ct_CC=$CC
10081 for ac_prog in cl
10082do
10083 # Extract the first word of "$ac_prog", so it can be a program name with args.
10084set dummy $ac_prog; ac_word=$2
10085echo "$as_me:$LINENO: checking for $ac_word" >&5
10086echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10087if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6
10089else
10090 if test -n "$ac_ct_CC"; then
10091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10092else
10093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10094for as_dir in $PATH
10095do
10096 IFS=$as_save_IFS
10097 test -z "$as_dir" && as_dir=.
10098 for ac_exec_ext in '' $ac_executable_extensions; do
10099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10100 ac_cv_prog_ac_ct_CC="$ac_prog"
10101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10102 break 2
10103 fi
10104done
10105done
10106
10107fi
10108fi
10109ac_ct_CC=$ac_cv_prog_ac_ct_CC
10110if test -n "$ac_ct_CC"; then
10111 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10112echo "${ECHO_T}$ac_ct_CC" >&6
10113else
10114 echo "$as_me:$LINENO: result: no" >&5
10115echo "${ECHO_T}no" >&6
10116fi
10117
10118 test -n "$ac_ct_CC" && break
10119done
10120
10121 CC=$ac_ct_CC
10122fi
10123
10124fi
10125
10126
10127test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10128See \`config.log' for more details." >&5
10129echo "$as_me: error: no acceptable C compiler found in \$PATH
10130See \`config.log' for more details." >&2;}
10131 { (exit 1); exit 1; }; }
10132
10133# Provide some information about the compiler.
10134echo "$as_me:$LINENO:" \
10135 "checking for C compiler version" >&5
10136ac_compiler=`set X $ac_compile; echo $2`
10137{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10138 (eval $ac_compiler --version </dev/null >&5) 2>&5
10139 ac_status=$?
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }
10142{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10143 (eval $ac_compiler -v </dev/null >&5) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }
10147{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10148 (eval $ac_compiler -V </dev/null >&5) 2>&5
10149 ac_status=$?
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }
10152
10153cat >conftest.$ac_ext <<_ACEOF
10154#line $LINENO "configure"
10155/* confdefs.h. */
10156_ACEOF
10157cat confdefs.h >>conftest.$ac_ext
10158cat >>conftest.$ac_ext <<_ACEOF
10159/* end confdefs.h. */
10160
10161int
10162main ()
10163{
10164
10165 ;
10166 return 0;
10167}
10168_ACEOF
10169ac_clean_files_save=$ac_clean_files
10170ac_clean_files="$ac_clean_files a.out a.exe b.out"
10171# Try to create an executable without -o first, disregard a.out.
10172# It will help us diagnose broken compilers, and finding out an intuition
10173# of exeext.
10174echo "$as_me:$LINENO: checking for C compiler default output" >&5
10175echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10176ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10177if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10178 (eval $ac_link_default) 2>&5
10179 ac_status=$?
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; then
10182 # Find the output, starting from the most likely. This scheme is
10183# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10184# resort.
10185
10186# Be careful to initialize this variable, since it used to be cached.
10187# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10188ac_cv_exeext=
10189# b.out is created by i960 compilers.
10190for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10191do
10192 test -f "$ac_file" || continue
10193 case $ac_file in
10194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10195 ;;
10196 conftest.$ac_ext )
10197 # This is the source file.
10198 ;;
10199 [ab].out )
10200 # We found the default executable, but exeext='' is most
10201 # certainly right.
10202 break;;
10203 *.* )
10204 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10205 # FIXME: I believe we export ac_cv_exeext for Libtool,
10206 # but it would be cool to find out if it's true. Does anybody
10207 # maintain Libtool? --akim.
10208 export ac_cv_exeext
10209 break;;
10210 * )
10211 break;;
10212 esac
10213done
10214else
10215 echo "$as_me: failed program was:" >&5
10216sed 's/^/| /' conftest.$ac_ext >&5
10217
10218{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10219See \`config.log' for more details." >&5
10220echo "$as_me: error: C compiler cannot create executables
10221See \`config.log' for more details." >&2;}
10222 { (exit 77); exit 77; }; }
10223fi
10224
10225ac_exeext=$ac_cv_exeext
10226echo "$as_me:$LINENO: result: $ac_file" >&5
10227echo "${ECHO_T}$ac_file" >&6
10228
10229# Check the compiler produces executables we can run. If not, either
10230# the compiler is broken, or we cross compile.
10231echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10232echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10233# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10234# If not cross compiling, check that we can run a simple program.
10235if test "$cross_compiling" != yes; then
10236 if { ac_try='./$ac_file'
10237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 (eval $ac_try) 2>&5
10239 ac_status=$?
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); }; }; then
10242 cross_compiling=no
10243 else
10244 if test "$cross_compiling" = maybe; then
10245 cross_compiling=yes
10246 else
10247 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10248If you meant to cross compile, use \`--host'.
10249See \`config.log' for more details." >&5
10250echo "$as_me: error: cannot run C compiled programs.
10251If you meant to cross compile, use \`--host'.
10252See \`config.log' for more details." >&2;}
10253 { (exit 1); exit 1; }; }
10254 fi
10255 fi
10256fi
10257echo "$as_me:$LINENO: result: yes" >&5
10258echo "${ECHO_T}yes" >&6
10259
10260rm -f a.out a.exe conftest$ac_cv_exeext b.out
10261ac_clean_files=$ac_clean_files_save
10262# Check the compiler produces executables we can run. If not, either
10263# the compiler is broken, or we cross compile.
10264echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10265echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10266echo "$as_me:$LINENO: result: $cross_compiling" >&5
10267echo "${ECHO_T}$cross_compiling" >&6
10268
10269echo "$as_me:$LINENO: checking for suffix of executables" >&5
10270echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10271if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10272 (eval $ac_link) 2>&5
10273 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; then
10276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10277# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10278# work properly (i.e., refer to `conftest.exe'), while it won't with
10279# `rm'.
10280for ac_file in conftest.exe conftest conftest.*; do
10281 test -f "$ac_file" || continue
10282 case $ac_file in
10283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10285 export ac_cv_exeext
10286 break;;
10287 * ) break;;
10288 esac
10289done
10290else
10291 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10292See \`config.log' for more details." >&5
10293echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10294See \`config.log' for more details." >&2;}
10295 { (exit 1); exit 1; }; }
10296fi
10297
10298rm -f conftest$ac_cv_exeext
10299echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10300echo "${ECHO_T}$ac_cv_exeext" >&6
10301
10302rm -f conftest.$ac_ext
10303EXEEXT=$ac_cv_exeext
10304ac_exeext=$EXEEXT
10305echo "$as_me:$LINENO: checking for suffix of object files" >&5
10306echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10307if test "${ac_cv_objext+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10309else
10310 cat >conftest.$ac_ext <<_ACEOF
10311#line $LINENO "configure"
10312/* confdefs.h. */
10313_ACEOF
10314cat confdefs.h >>conftest.$ac_ext
10315cat >>conftest.$ac_ext <<_ACEOF
10316/* end confdefs.h. */
10317
10318int
10319main ()
10320{
10321
10322 ;
10323 return 0;
10324}
10325_ACEOF
10326rm -f conftest.o conftest.obj
10327if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10328 (eval $ac_compile) 2>&5
10329 ac_status=$?
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; then
10332 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10333 case $ac_file in
10334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10335 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10336 break;;
10337 esac
10338done
10339else
10340 echo "$as_me: failed program was:" >&5
10341sed 's/^/| /' conftest.$ac_ext >&5
10342
10343{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10344See \`config.log' for more details." >&5
10345echo "$as_me: error: cannot compute suffix of object files: cannot compile
10346See \`config.log' for more details." >&2;}
10347 { (exit 1); exit 1; }; }
10348fi
10349
10350rm -f conftest.$ac_cv_objext conftest.$ac_ext
10351fi
10352echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10353echo "${ECHO_T}$ac_cv_objext" >&6
10354OBJEXT=$ac_cv_objext
10355ac_objext=$OBJEXT
10356echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10357echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10358if test "${ac_cv_c_compiler_gnu+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10360else
10361 cat >conftest.$ac_ext <<_ACEOF
10362#line $LINENO "configure"
10363/* confdefs.h. */
10364_ACEOF
10365cat confdefs.h >>conftest.$ac_ext
10366cat >>conftest.$ac_ext <<_ACEOF
10367/* end confdefs.h. */
10368
10369int
10370main ()
10371{
10372#ifndef __GNUC__
10373 choke me
10374#endif
10375
10376 ;
10377 return 0;
10378}
10379_ACEOF
10380rm -f conftest.$ac_objext
10381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10383 ac_status=$?
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10389 ac_status=$?
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_compiler_gnu=yes
10393else
10394 echo "$as_me: failed program was:" >&5
10395sed 's/^/| /' conftest.$ac_ext >&5
10396
10397ac_compiler_gnu=no
10398fi
10399rm -f conftest.$ac_objext conftest.$ac_ext
10400ac_cv_c_compiler_gnu=$ac_compiler_gnu
10401
10402fi
10403echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10404echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10405GCC=`test $ac_compiler_gnu = yes && echo yes`
10406ac_test_CFLAGS=${CFLAGS+set}
10407ac_save_CFLAGS=$CFLAGS
10408CFLAGS="-g"
10409echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10410echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10411if test "${ac_cv_prog_cc_g+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10413else
10414 cat >conftest.$ac_ext <<_ACEOF
10415#line $LINENO "configure"
10416/* confdefs.h. */
10417_ACEOF
10418cat confdefs.h >>conftest.$ac_ext
10419cat >>conftest.$ac_ext <<_ACEOF
10420/* end confdefs.h. */
10421
10422int
10423main ()
10424{
10425
10426 ;
10427 return 0;
10428}
10429_ACEOF
10430rm -f conftest.$ac_objext
10431if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>&5
10433 ac_status=$?
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try='test -s conftest.$ac_objext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10439 ac_status=$?
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10442 ac_cv_prog_cc_g=yes
10443else
10444 echo "$as_me: failed program was:" >&5
10445sed 's/^/| /' conftest.$ac_ext >&5
10446
10447ac_cv_prog_cc_g=no
10448fi
10449rm -f conftest.$ac_objext conftest.$ac_ext
10450fi
10451echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10452echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10453if test "$ac_test_CFLAGS" = set; then
10454 CFLAGS=$ac_save_CFLAGS
10455elif test $ac_cv_prog_cc_g = yes; then
10456 if test "$GCC" = yes; then
10457 CFLAGS="-g -O2"
10458 else
10459 CFLAGS="-g"
10460 fi
10461else
10462 if test "$GCC" = yes; then
10463 CFLAGS="-O2"
10464 else
10465 CFLAGS=
10466 fi
10467fi
10468echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10469echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10470if test "${ac_cv_prog_cc_stdc+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10472else
10473 ac_cv_prog_cc_stdc=no
10474ac_save_CC=$CC
10475cat >conftest.$ac_ext <<_ACEOF
10476#line $LINENO "configure"
10477/* confdefs.h. */
10478_ACEOF
10479cat confdefs.h >>conftest.$ac_ext
10480cat >>conftest.$ac_ext <<_ACEOF
10481/* end confdefs.h. */
10482#include <stdarg.h>
10483#include <stdio.h>
10484#include <sys/types.h>
10485#include <sys/stat.h>
10486/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10487struct buf { int x; };
10488FILE * (*rcsopen) (struct buf *, struct stat *, int);
10489static char *e (p, i)
10490 char **p;
10491 int i;
10492{
10493 return p[i];
10494}
10495static char *f (char * (*g) (char **, int), char **p, ...)
10496{
10497 char *s;
10498 va_list v;
10499 va_start (v,p);
10500 s = g (p, va_arg (v,int));
10501 va_end (v);
10502 return s;
10503}
10504int test (int i, double x);
10505struct s1 {int (*f) (int a);};
10506struct s2 {int (*f) (double a);};
10507int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10508int argc;
10509char **argv;
10510int
10511main ()
10512{
10513return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10514 ;
10515 return 0;
10516}
10517_ACEOF
10518# Don't try gcc -ansi; that turns off useful extensions and
10519# breaks some systems' header files.
10520# AIX -qlanglvl=ansi
10521# Ultrix and OSF/1 -std1
10522# HP-UX 10.20 and later -Ae
10523# HP-UX older versions -Aa -D_HPUX_SOURCE
10524# SVR4 -Xc -D__EXTENSIONS__
10525for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10526do
10527 CC="$ac_save_CC $ac_arg"
10528 rm -f conftest.$ac_objext
10529if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10530 (eval $ac_compile) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 { ac_try='test -s conftest.$ac_objext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10537 ac_status=$?
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_prog_cc_stdc=$ac_arg
10541break
10542else
10543 echo "$as_me: failed program was:" >&5
10544sed 's/^/| /' conftest.$ac_ext >&5
10545
10546fi
10547rm -f conftest.$ac_objext
10548done
10549rm -f conftest.$ac_ext conftest.$ac_objext
10550CC=$ac_save_CC
10551
10552fi
10553
10554case "x$ac_cv_prog_cc_stdc" in
10555 x|xno)
10556 echo "$as_me:$LINENO: result: none needed" >&5
10557echo "${ECHO_T}none needed" >&6 ;;
10558 *)
10559 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10560echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10561 CC="$CC $ac_cv_prog_cc_stdc" ;;
10562esac
10563
10564# Some people use a C++ compiler to compile C. Since we use `exit',
10565# in C++ we need to declare it. In case someone uses the same compiler
10566# for both compiling C and C++ we need to have the C++ compiler decide
10567# the declaration of exit, since it's the most demanding environment.
10568cat >conftest.$ac_ext <<_ACEOF
10569#ifndef __cplusplus
10570 choke me
10571#endif
10572_ACEOF
10573rm -f conftest.$ac_objext
10574if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10575 (eval $ac_compile) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -s conftest.$ac_objext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10582 ac_status=$?
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 for ac_declaration in \
10586 ''\
10587 '#include <stdlib.h>' \
10588 'extern "C" void std::exit (int) throw (); using std::exit;' \
10589 'extern "C" void std::exit (int); using std::exit;' \
10590 'extern "C" void exit (int) throw ();' \
10591 'extern "C" void exit (int);' \
10592 'void exit (int);'
10593do
10594 cat >conftest.$ac_ext <<_ACEOF
10595#line $LINENO "configure"
10596/* confdefs.h. */
10597_ACEOF
10598cat confdefs.h >>conftest.$ac_ext
10599cat >>conftest.$ac_ext <<_ACEOF
10600/* end confdefs.h. */
10601#include <stdlib.h>
10602$ac_declaration
10603int
10604main ()
10605{
10606exit (42);
10607 ;
10608 return 0;
10609}
10610_ACEOF
10611rm -f conftest.$ac_objext
10612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10613 (eval $ac_compile) 2>&5
10614 ac_status=$?
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try='test -s conftest.$ac_objext'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10620 ac_status=$?
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; }; then
10623 :
10624else
10625 echo "$as_me: failed program was:" >&5
10626sed 's/^/| /' conftest.$ac_ext >&5
10627
10628continue
10629fi
10630rm -f conftest.$ac_objext conftest.$ac_ext
10631 cat >conftest.$ac_ext <<_ACEOF
10632#line $LINENO "configure"
10633/* confdefs.h. */
10634_ACEOF
10635cat confdefs.h >>conftest.$ac_ext
10636cat >>conftest.$ac_ext <<_ACEOF
10637/* end confdefs.h. */
10638$ac_declaration
10639int
10640main ()
10641{
10642exit (42);
10643 ;
10644 return 0;
10645}
10646_ACEOF
10647rm -f conftest.$ac_objext
10648if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>&5
10650 ac_status=$?
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } &&
10653 { ac_try='test -s conftest.$ac_objext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10656 ac_status=$?
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 break
10660else
10661 echo "$as_me: failed program was:" >&5
10662sed 's/^/| /' conftest.$ac_ext >&5
10663
10664fi
10665rm -f conftest.$ac_objext conftest.$ac_ext
10666done
10667rm -f conftest*
10668if test -n "$ac_declaration"; then
10669 echo '#ifdef __cplusplus' >>confdefs.h
10670 echo $ac_declaration >>confdefs.h
10671 echo '#endif' >>confdefs.h
10672fi
10673
10674else
10675 echo "$as_me: failed program was:" >&5
10676sed 's/^/| /' conftest.$ac_ext >&5
10677
10678fi
10679rm -f conftest.$ac_objext conftest.$ac_ext
10680ac_ext=c
10681ac_cpp='$CPP $CPPFLAGS'
10682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10684ac_compiler_gnu=$ac_cv_c_compiler_gnu
10685
10686
10687
10688ac_ext=c
10689ac_cpp='$CPP $CPPFLAGS'
10690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10692ac_compiler_gnu=$ac_cv_c_compiler_gnu
10693echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10694echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10695# On Suns, sometimes $CPP names a directory.
10696if test -n "$CPP" && test -d "$CPP"; then
10697 CPP=
10698fi
10699if test -z "$CPP"; then
10700 if test "${ac_cv_prog_CPP+set}" = set; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10702else
10703 # Double quotes because CPP needs to be expanded
10704 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10705 do
10706 ac_preproc_ok=false
10707for ac_c_preproc_warn_flag in '' yes
10708do
10709 # Use a header file that comes with gcc, so configuring glibc
10710 # with a fresh cross-compiler works.
10711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10712 # <limits.h> exists even on freestanding compilers.
10713 # On the NeXT, cc -E runs the code through the compiler's parser,
10714 # not just through cpp. "Syntax error" is here to catch this case.
10715 cat >conftest.$ac_ext <<_ACEOF
10716#line $LINENO "configure"
10717/* confdefs.h. */
10718_ACEOF
10719cat confdefs.h >>conftest.$ac_ext
10720cat >>conftest.$ac_ext <<_ACEOF
10721/* end confdefs.h. */
10722#ifdef __STDC__
10723# include <limits.h>
10724#else
10725# include <assert.h>
10726#endif
10727 Syntax error
10728_ACEOF
10729if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10731 ac_status=$?
10732 grep -v '^ *+' conftest.er1 >conftest.err
10733 rm -f conftest.er1
10734 cat conftest.err >&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); } >/dev/null; then
10737 if test -s conftest.err; then
10738 ac_cpp_err=$ac_c_preproc_warn_flag
10739 else
10740 ac_cpp_err=
10741 fi
10742else
10743 ac_cpp_err=yes
10744fi
10745if test -z "$ac_cpp_err"; then
10746 :
10747else
10748 echo "$as_me: failed program was:" >&5
10749sed 's/^/| /' conftest.$ac_ext >&5
10750
10751 # Broken: fails on valid input.
10752continue
10753fi
10754rm -f conftest.err conftest.$ac_ext
10755
10756 # OK, works on sane cases. Now check whether non-existent headers
10757 # can be detected and how.
10758 cat >conftest.$ac_ext <<_ACEOF
10759#line $LINENO "configure"
10760/* confdefs.h. */
10761_ACEOF
10762cat confdefs.h >>conftest.$ac_ext
10763cat >>conftest.$ac_ext <<_ACEOF
10764/* end confdefs.h. */
10765#include <ac_nonexistent.h>
10766_ACEOF
10767if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10769 ac_status=$?
10770 grep -v '^ *+' conftest.er1 >conftest.err
10771 rm -f conftest.er1
10772 cat conftest.err >&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } >/dev/null; then
10775 if test -s conftest.err; then
10776 ac_cpp_err=$ac_c_preproc_warn_flag
10777 else
10778 ac_cpp_err=
10779 fi
10780else
10781 ac_cpp_err=yes
10782fi
10783if test -z "$ac_cpp_err"; then
10784 # Broken: success on invalid input.
10785continue
10786else
10787 echo "$as_me: failed program was:" >&5
10788sed 's/^/| /' conftest.$ac_ext >&5
10789
10790 # Passes both tests.
10791ac_preproc_ok=:
10792break
10793fi
10794rm -f conftest.err conftest.$ac_ext
10795
10796done
10797# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10798rm -f conftest.err conftest.$ac_ext
10799if $ac_preproc_ok; then
10800 break
10801fi
10802
10803 done
10804 ac_cv_prog_CPP=$CPP
10805
10806fi
10807 CPP=$ac_cv_prog_CPP
10808else
10809 ac_cv_prog_CPP=$CPP
10810fi
10811echo "$as_me:$LINENO: result: $CPP" >&5
10812echo "${ECHO_T}$CPP" >&6
10813ac_preproc_ok=false
10814for ac_c_preproc_warn_flag in '' yes
10815do
10816 # Use a header file that comes with gcc, so configuring glibc
10817 # with a fresh cross-compiler works.
10818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10819 # <limits.h> exists even on freestanding compilers.
10820 # On the NeXT, cc -E runs the code through the compiler's parser,
10821 # not just through cpp. "Syntax error" is here to catch this case.
10822 cat >conftest.$ac_ext <<_ACEOF
10823#line $LINENO "configure"
10824/* confdefs.h. */
10825_ACEOF
10826cat confdefs.h >>conftest.$ac_ext
10827cat >>conftest.$ac_ext <<_ACEOF
10828/* end confdefs.h. */
10829#ifdef __STDC__
10830# include <limits.h>
10831#else
10832# include <assert.h>
10833#endif
10834 Syntax error
10835_ACEOF
10836if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10838 ac_status=$?
10839 grep -v '^ *+' conftest.er1 >conftest.err
10840 rm -f conftest.er1
10841 cat conftest.err >&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } >/dev/null; then
10844 if test -s conftest.err; then
10845 ac_cpp_err=$ac_c_preproc_warn_flag
10846 else
10847 ac_cpp_err=
10848 fi
10849else
10850 ac_cpp_err=yes
10851fi
10852if test -z "$ac_cpp_err"; then
10853 :
10854else
10855 echo "$as_me: failed program was:" >&5
10856sed 's/^/| /' conftest.$ac_ext >&5
10857
10858 # Broken: fails on valid input.
10859continue
10860fi
10861rm -f conftest.err conftest.$ac_ext
10862
10863 # OK, works on sane cases. Now check whether non-existent headers
10864 # can be detected and how.
10865 cat >conftest.$ac_ext <<_ACEOF
10866#line $LINENO "configure"
10867/* confdefs.h. */
10868_ACEOF
10869cat confdefs.h >>conftest.$ac_ext
10870cat >>conftest.$ac_ext <<_ACEOF
10871/* end confdefs.h. */
10872#include <ac_nonexistent.h>
10873_ACEOF
10874if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10876 ac_status=$?
10877 grep -v '^ *+' conftest.er1 >conftest.err
10878 rm -f conftest.er1
10879 cat conftest.err >&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } >/dev/null; then
10882 if test -s conftest.err; then
10883 ac_cpp_err=$ac_c_preproc_warn_flag
10884 else
10885 ac_cpp_err=
10886 fi
10887else
10888 ac_cpp_err=yes
10889fi
10890if test -z "$ac_cpp_err"; then
10891 # Broken: success on invalid input.
10892continue
10893else
10894 echo "$as_me: failed program was:" >&5
10895sed 's/^/| /' conftest.$ac_ext >&5
10896
10897 # Passes both tests.
10898ac_preproc_ok=:
10899break
10900fi
10901rm -f conftest.err conftest.$ac_ext
10902
10903done
10904# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10905rm -f conftest.err conftest.$ac_ext
10906if $ac_preproc_ok; then
10907 :
10908else
10909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10910See \`config.log' for more details." >&5
10911echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10912See \`config.log' for more details." >&2;}
10913 { (exit 1); exit 1; }; }
10914fi
10915
10916ac_ext=c
10917ac_cpp='$CPP $CPPFLAGS'
10918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10920ac_compiler_gnu=$ac_cv_c_compiler_gnu
10921
10922
10923echo "$as_me:$LINENO: checking for egrep" >&5
10924echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10925if test "${ac_cv_prog_egrep+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10927else
10928 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10929 then ac_cv_prog_egrep='grep -E'
10930 else ac_cv_prog_egrep='egrep'
10931 fi
10932fi
10933echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10934echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10935 EGREP=$ac_cv_prog_egrep
10936
10937
10938if test $ac_cv_c_compiler_gnu = yes; then
10939 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10940echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10941if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10943else
10944 ac_pattern="Autoconf.*'x'"
10945 cat >conftest.$ac_ext <<_ACEOF
10946#line $LINENO "configure"
10947/* confdefs.h. */
10948_ACEOF
10949cat confdefs.h >>conftest.$ac_ext
10950cat >>conftest.$ac_ext <<_ACEOF
10951/* end confdefs.h. */
10952#include <sgtty.h>
10953Autoconf TIOCGETP
10954_ACEOF
10955if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10956 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10957 ac_cv_prog_gcc_traditional=yes
10958else
10959 ac_cv_prog_gcc_traditional=no
10960fi
10961rm -f conftest*
10962
10963
10964 if test $ac_cv_prog_gcc_traditional = no; then
10965 cat >conftest.$ac_ext <<_ACEOF
10966#line $LINENO "configure"
10967/* confdefs.h. */
10968_ACEOF
10969cat confdefs.h >>conftest.$ac_ext
10970cat >>conftest.$ac_ext <<_ACEOF
10971/* end confdefs.h. */
10972#include <termio.h>
10973Autoconf TCGETA
10974_ACEOF
10975if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10976 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10977 ac_cv_prog_gcc_traditional=yes
10978fi
10979rm -f conftest*
10980
10981 fi
10982fi
10983echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10984echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10985 if test $ac_cv_prog_gcc_traditional = yes; then
10986 CC="$CC -traditional"
10987 fi
10988fi
10989
10990
10991
10992
10993ac_ext=cc
10994ac_cpp='$CXXCPP $CPPFLAGS'
10995ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10996ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10997ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10998
10999
11000CXXFLAGS=${CXXFLAGS:=}
11001ac_ext=cc
11002ac_cpp='$CXXCPP $CPPFLAGS'
11003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11006if test -n "$ac_tool_prefix"; then
11007 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11008 do
11009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11010set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11011echo "$as_me:$LINENO: checking for $ac_word" >&5
11012echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11013if test "${ac_cv_prog_CXX+set}" = set; then
11014 echo $ECHO_N "(cached) $ECHO_C" >&6
11015else
11016 if test -n "$CXX"; then
11017 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11018else
11019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11020for as_dir in $PATH
11021do
11022 IFS=$as_save_IFS
11023 test -z "$as_dir" && as_dir=.
11024 for ac_exec_ext in '' $ac_executable_extensions; do
11025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11026 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11028 break 2
11029 fi
11030done
11031done
11032
11033fi
11034fi
11035CXX=$ac_cv_prog_CXX
11036if test -n "$CXX"; then
11037 echo "$as_me:$LINENO: result: $CXX" >&5
11038echo "${ECHO_T}$CXX" >&6
11039else
11040 echo "$as_me:$LINENO: result: no" >&5
11041echo "${ECHO_T}no" >&6
11042fi
11043
11044 test -n "$CXX" && break
11045 done
11046fi
11047if test -z "$CXX"; then
11048 ac_ct_CXX=$CXX
11049 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11050do
11051 # Extract the first word of "$ac_prog", so it can be a program name with args.
11052set dummy $ac_prog; ac_word=$2
11053echo "$as_me:$LINENO: checking for $ac_word" >&5
11054echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11055if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11057else
11058 if test -n "$ac_ct_CXX"; then
11059 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11060else
11061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11062for as_dir in $PATH
11063do
11064 IFS=$as_save_IFS
11065 test -z "$as_dir" && as_dir=.
11066 for ac_exec_ext in '' $ac_executable_extensions; do
11067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11068 ac_cv_prog_ac_ct_CXX="$ac_prog"
11069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11070 break 2
11071 fi
11072done
11073done
11074
11075fi
11076fi
11077ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11078if test -n "$ac_ct_CXX"; then
11079 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11080echo "${ECHO_T}$ac_ct_CXX" >&6
11081else
11082 echo "$as_me:$LINENO: result: no" >&5
11083echo "${ECHO_T}no" >&6
11084fi
11085
11086 test -n "$ac_ct_CXX" && break
11087done
11088test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11089
11090 CXX=$ac_ct_CXX
11091fi
11092
11093
11094# Provide some information about the compiler.
11095echo "$as_me:$LINENO:" \
11096 "checking for C++ compiler version" >&5
11097ac_compiler=`set X $ac_compile; echo $2`
11098{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11099 (eval $ac_compiler --version </dev/null >&5) 2>&5
11100 ac_status=$?
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }
11103{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11104 (eval $ac_compiler -v </dev/null >&5) 2>&5
11105 ac_status=$?
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }
11108{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11109 (eval $ac_compiler -V </dev/null >&5) 2>&5
11110 ac_status=$?
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); }
11113
11114echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11115echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11116if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11118else
11119 cat >conftest.$ac_ext <<_ACEOF
11120#line $LINENO "configure"
11121/* confdefs.h. */
11122_ACEOF
11123cat confdefs.h >>conftest.$ac_ext
11124cat >>conftest.$ac_ext <<_ACEOF
11125/* end confdefs.h. */
11126
11127int
11128main ()
11129{
11130#ifndef __GNUC__
11131 choke me
11132#endif
11133
11134 ;
11135 return 0;
11136}
11137_ACEOF
11138rm -f conftest.$ac_objext
11139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11140 (eval $ac_compile) 2>&5
11141 ac_status=$?
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_compiler_gnu=yes
11151else
11152 echo "$as_me: failed program was:" >&5
11153sed 's/^/| /' conftest.$ac_ext >&5
11154
11155ac_compiler_gnu=no
11156fi
11157rm -f conftest.$ac_objext conftest.$ac_ext
11158ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11159
11160fi
11161echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11162echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11163GXX=`test $ac_compiler_gnu = yes && echo yes`
11164ac_test_CXXFLAGS=${CXXFLAGS+set}
11165ac_save_CXXFLAGS=$CXXFLAGS
11166CXXFLAGS="-g"
11167echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11168echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11169if test "${ac_cv_prog_cxx_g+set}" = set; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11171else
11172 cat >conftest.$ac_ext <<_ACEOF
11173#line $LINENO "configure"
11174/* confdefs.h. */
11175_ACEOF
11176cat confdefs.h >>conftest.$ac_ext
11177cat >>conftest.$ac_ext <<_ACEOF
11178/* end confdefs.h. */
11179
11180int
11181main ()
11182{
11183
11184 ;
11185 return 0;
11186}
11187_ACEOF
11188rm -f conftest.$ac_objext
11189if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11190 (eval $ac_compile) 2>&5
11191 ac_status=$?
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try='test -s conftest.$ac_objext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_cv_prog_cxx_g=yes
11201else
11202 echo "$as_me: failed program was:" >&5
11203sed 's/^/| /' conftest.$ac_ext >&5
11204
11205ac_cv_prog_cxx_g=no
11206fi
11207rm -f conftest.$ac_objext conftest.$ac_ext
11208fi
11209echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11210echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11211if test "$ac_test_CXXFLAGS" = set; then
11212 CXXFLAGS=$ac_save_CXXFLAGS
11213elif test $ac_cv_prog_cxx_g = yes; then
11214 if test "$GXX" = yes; then
11215 CXXFLAGS="-g -O2"
11216 else
11217 CXXFLAGS="-g"
11218 fi
11219else
11220 if test "$GXX" = yes; then
11221 CXXFLAGS="-O2"
11222 else
11223 CXXFLAGS=
11224 fi
11225fi
11226for ac_declaration in \
11227 ''\
11228 '#include <stdlib.h>' \
11229 'extern "C" void std::exit (int) throw (); using std::exit;' \
11230 'extern "C" void std::exit (int); using std::exit;' \
11231 'extern "C" void exit (int) throw ();' \
11232 'extern "C" void exit (int);' \
11233 'void exit (int);'
11234do
11235 cat >conftest.$ac_ext <<_ACEOF
11236#line $LINENO "configure"
11237/* confdefs.h. */
11238_ACEOF
11239cat confdefs.h >>conftest.$ac_ext
11240cat >>conftest.$ac_ext <<_ACEOF
11241/* end confdefs.h. */
11242#include <stdlib.h>
11243$ac_declaration
11244int
11245main ()
11246{
11247exit (42);
11248 ;
11249 return 0;
11250}
11251_ACEOF
11252rm -f conftest.$ac_objext
11253if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11254 (eval $ac_compile) 2>&5
11255 ac_status=$?
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); } &&
11258 { ac_try='test -s conftest.$ac_objext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11261 ac_status=$?
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 :
11265else
11266 echo "$as_me: failed program was:" >&5
11267sed 's/^/| /' conftest.$ac_ext >&5
11268
11269continue
11270fi
11271rm -f conftest.$ac_objext conftest.$ac_ext
11272 cat >conftest.$ac_ext <<_ACEOF
11273#line $LINENO "configure"
11274/* confdefs.h. */
11275_ACEOF
11276cat confdefs.h >>conftest.$ac_ext
11277cat >>conftest.$ac_ext <<_ACEOF
11278/* end confdefs.h. */
11279$ac_declaration
11280int
11281main ()
11282{
11283exit (42);
11284 ;
11285 return 0;
11286}
11287_ACEOF
11288rm -f conftest.$ac_objext
11289if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11290 (eval $ac_compile) 2>&5
11291 ac_status=$?
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } &&
11294 { ac_try='test -s conftest.$ac_objext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11297 ac_status=$?
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 break
11301else
11302 echo "$as_me: failed program was:" >&5
11303sed 's/^/| /' conftest.$ac_ext >&5
11304
11305fi
11306rm -f conftest.$ac_objext conftest.$ac_ext
11307done
11308rm -f conftest*
11309if test -n "$ac_declaration"; then
11310 echo '#ifdef __cplusplus' >>confdefs.h
11311 echo $ac_declaration >>confdefs.h
11312 echo '#endif' >>confdefs.h
11313fi
11314
11315ac_ext=cc
11316ac_cpp='$CXXCPP $CPPFLAGS'
11317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11320
11321
11322ac_ext=c
11323ac_cpp='$CPP $CPPFLAGS'
11324ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11325ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11326ac_compiler_gnu=$ac_cv_c_compiler_gnu
11327
11328
11329if test -n "$ac_tool_prefix"; then
11330 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11331set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11332echo "$as_me:$LINENO: checking for $ac_word" >&5
11333echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11334if test "${ac_cv_prog_RANLIB+set}" = set; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11336else
11337 if test -n "$RANLIB"; then
11338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11339else
11340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11341for as_dir in $PATH
11342do
11343 IFS=$as_save_IFS
11344 test -z "$as_dir" && as_dir=.
11345 for ac_exec_ext in '' $ac_executable_extensions; do
11346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11347 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11349 break 2
11350 fi
11351done
11352done
11353
11354fi
11355fi
11356RANLIB=$ac_cv_prog_RANLIB
11357if test -n "$RANLIB"; then
11358 echo "$as_me:$LINENO: result: $RANLIB" >&5
11359echo "${ECHO_T}$RANLIB" >&6
11360else
11361 echo "$as_me:$LINENO: result: no" >&5
11362echo "${ECHO_T}no" >&6
11363fi
11364
11365fi
11366if test -z "$ac_cv_prog_RANLIB"; then
11367 ac_ct_RANLIB=$RANLIB
11368 # Extract the first word of "ranlib", so it can be a program name with args.
11369set dummy ranlib; ac_word=$2
11370echo "$as_me:$LINENO: checking for $ac_word" >&5
11371echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11372if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11373 echo $ECHO_N "(cached) $ECHO_C" >&6
11374else
11375 if test -n "$ac_ct_RANLIB"; then
11376 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11377else
11378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11379for as_dir in $PATH
11380do
11381 IFS=$as_save_IFS
11382 test -z "$as_dir" && as_dir=.
11383 for ac_exec_ext in '' $ac_executable_extensions; do
11384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11385 ac_cv_prog_ac_ct_RANLIB="ranlib"
11386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 break 2
11388 fi
11389done
11390done
11391
11392 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11393fi
11394fi
11395ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11396if test -n "$ac_ct_RANLIB"; then
11397 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11398echo "${ECHO_T}$ac_ct_RANLIB" >&6
11399else
11400 echo "$as_me:$LINENO: result: no" >&5
11401echo "${ECHO_T}no" >&6
11402fi
11403
11404 RANLIB=$ac_ct_RANLIB
11405else
11406 RANLIB="$ac_cv_prog_RANLIB"
11407fi
11408
11409
11410# Extract the first word of "ar", so it can be a program name with args.
11411set dummy ar; ac_word=$2
11412echo "$as_me:$LINENO: checking for $ac_word" >&5
11413echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11414if test "${ac_cv_prog_AR+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11416else
11417 if test -n "$AR"; then
11418 ac_cv_prog_AR="$AR" # Let the user override the test.
11419else
11420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421for as_dir in $PATH
11422do
11423 IFS=$as_save_IFS
11424 test -z "$as_dir" && as_dir=.
11425 for ac_exec_ext in '' $ac_executable_extensions; do
11426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11427 ac_cv_prog_AR="ar"
11428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11429 break 2
11430 fi
11431done
11432done
11433
11434fi
11435fi
11436AR=$ac_cv_prog_AR
11437if test -n "$AR"; then
11438 echo "$as_me:$LINENO: result: $AR" >&5
11439echo "${ECHO_T}$AR" >&6
11440else
11441 echo "$as_me:$LINENO: result: no" >&5
11442echo "${ECHO_T}no" >&6
11443fi
11444
11445if test "x$AR" = "x" ; then
11446 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11447echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11448 { (exit 1); exit 1; }; }
11449fi
11450
11451# Find a good install program. We prefer a C program (faster),
11452# so one script is as good as another. But avoid the broken or
11453# incompatible versions:
11454# SysV /etc/install, /usr/sbin/install
11455# SunOS /usr/etc/install
11456# IRIX /sbin/install
11457# AIX /bin/install
11458# AmigaOS /C/install, which installs bootblocks on floppy discs
11459# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11460# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11461# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11462# ./install, which can be erroneously created by make from ./install.sh.
11463echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11464echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11465if test -z "$INSTALL"; then
11466if test "${ac_cv_path_install+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11468else
11469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11470for as_dir in $PATH
11471do
11472 IFS=$as_save_IFS
11473 test -z "$as_dir" && as_dir=.
11474 # Account for people who put trailing slashes in PATH elements.
11475case $as_dir/ in
11476 ./ | .// | /cC/* | \
11477 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11478 /usr/ucb/* ) ;;
11479 *)
11480 # OSF1 and SCO ODT 3.0 have their own names for install.
11481 # Don't use installbsd from OSF since it installs stuff as root
11482 # by default.
11483 for ac_prog in ginstall scoinst install; do
11484 for ac_exec_ext in '' $ac_executable_extensions; do
11485 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11486 if test $ac_prog = install &&
11487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11488 # AIX install. It has an incompatible calling convention.
11489 :
11490 elif test $ac_prog = install &&
11491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11492 # program-specific install script used by HP pwplus--don't use.
11493 :
11494 else
11495 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11496 break 3
11497 fi
11498 fi
11499 done
11500 done
11501 ;;
11502esac
11503done
11504
11505
11506fi
11507 if test "${ac_cv_path_install+set}" = set; then
11508 INSTALL=$ac_cv_path_install
11509 else
11510 # As a last resort, use the slow shell script. We don't cache a
11511 # path for INSTALL within a source directory, because that will
11512 # break other packages using the cache if that directory is
11513 # removed, or if the path is relative.
11514 INSTALL=$ac_install_sh
11515 fi
11516fi
11517echo "$as_me:$LINENO: result: $INSTALL" >&5
11518echo "${ECHO_T}$INSTALL" >&6
11519
11520# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11521# It thinks the first close brace ends the variable substitution.
11522test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11523
11524test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11525
11526test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11527
11528
11529case ${INSTALL} in
11530 /* ) # Absolute
11531 ;;
11532 ?:* ) # Drive letter, considered as absolute.
11533 ;;
11534 *)
11535 INSTALL=`pwd`/${INSTALL} ;;
11536esac
11537
11538case ${host} in
11539 *-hp-hpux* )
11540 INSTALL_DIR="mkdir"
11541 ;;
11542
11543 *) INSTALL_DIR="$INSTALL -d"
11544 ;;
11545esac
11546
11547
11548case "${host}" in
11549
11550 powerpc-*-darwin* )
11551 INSTALL_PROGRAM="cp -fp"
11552 INSTALL_DATA="cp -fp"
11553 ;;
11554 *)
11555 ;;
11556esac
11557
11558# Extract the first word of "strip", so it can be a program name with args.
11559set dummy strip; ac_word=$2
11560echo "$as_me:$LINENO: checking for $ac_word" >&5
11561echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11562if test "${ac_cv_prog_STRIP+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11564else
11565 if test -n "$STRIP"; then
11566 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11567else
11568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569for as_dir in $PATH
11570do
11571 IFS=$as_save_IFS
11572 test -z "$as_dir" && as_dir=.
11573 for ac_exec_ext in '' $ac_executable_extensions; do
11574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11575 ac_cv_prog_STRIP="strip"
11576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11577 break 2
11578 fi
11579done
11580done
11581
11582 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11583fi
11584fi
11585STRIP=$ac_cv_prog_STRIP
11586if test -n "$STRIP"; then
11587 echo "$as_me:$LINENO: result: $STRIP" >&5
11588echo "${ECHO_T}$STRIP" >&6
11589else
11590 echo "$as_me:$LINENO: result: no" >&5
11591echo "${ECHO_T}no" >&6
11592fi
11593
11594
11595echo "$as_me:$LINENO: checking if make is GNU make" >&5
11596echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11597if test "${wx_cv_prog_makeisgnu+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11599else
11600
11601 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11602 egrep -s GNU > /dev/null); then
11603 wx_cv_prog_makeisgnu="yes"
11604 else
11605 wx_cv_prog_makeisgnu="no"
11606 fi
11607
11608fi
11609echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11610echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11611
11612if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11613 IF_GNU_MAKE=""
11614else
11615 IF_GNU_MAKE="#"
11616fi
11617
11618
11619
11620if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11621echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11622echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11623if test "${wx_cv_prog_makevpath+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11625else
11626
11627cat - << EOF > confMake
11628check : file
11629 cp \$? \$@
11630 cp \$? final_file
11631EOF
11632
11633if test ! -d sub ; then
11634 mkdir sub
11635fi
11636echo dummy > sub/file
11637${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11638RESULT=$?
11639rm -f sub/file check final_file confMake
11640rmdir sub
11641if test "$RESULT" = 0; then
11642 wx_cv_prog_makevpath="yes"
11643else
11644 wx_cv_prog_makevpath="no"
11645fi
11646
11647fi
11648echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11649echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11650
11651if test "x$wx_cv_prog_makevpath" != "xyes"; then
11652{ { echo "$as_me:$LINENO: error:
11653You need a make-utility that is able to use the variable
11654VPATH correctly.
11655If your version of make does not support VPATH correctly,
11656please install GNU-make (possibly as gmake), and start
11657configure with the following command:
11658export MAKE=gmake; ./configure for sh-type shells
11659setenv MAKE gmake; ./configure for csh-type shells
11660Also please do remember to use gmake in this case every time
11661you are trying to compile.
11662" >&5
11663echo "$as_me: error:
11664You need a make-utility that is able to use the variable
11665VPATH correctly.
11666If your version of make does not support VPATH correctly,
11667please install GNU-make (possibly as gmake), and start
11668configure with the following command:
11669export MAKE=gmake; ./configure for sh-type shells
11670setenv MAKE gmake; ./configure for csh-type shells
11671Also please do remember to use gmake in this case every time
11672you are trying to compile.
11673" >&2;}
11674 { (exit 1); exit 1; }; }
11675fi fi
11676echo "$as_me:$LINENO: checking whether ln -s works" >&5
11677echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11678LN_S=$as_ln_s
11679if test "$LN_S" = "ln -s"; then
11680 echo "$as_me:$LINENO: result: yes" >&5
11681echo "${ECHO_T}yes" >&6
11682else
11683 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11684echo "${ECHO_T}no, using $LN_S" >&6
11685fi
11686
11687
11688case "${host}" in
11689 *-pc-os2_emx | *-pc-os2-emx )
11690 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11691 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11692echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11693if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11695else
11696 ac_check_lib_save_LIBS=$LIBS
11697LIBS="-lcExt $LIBS"
11698cat >conftest.$ac_ext <<_ACEOF
11699#line $LINENO "configure"
11700/* confdefs.h. */
11701_ACEOF
11702cat confdefs.h >>conftest.$ac_ext
11703cat >>conftest.$ac_ext <<_ACEOF
11704/* end confdefs.h. */
11705
11706/* Override any gcc2 internal prototype to avoid an error. */
11707#ifdef __cplusplus
11708extern "C"
11709#endif
11710/* We use char because int might match the return type of a gcc2
11711 builtin and then its argument prototype would still apply. */
11712char drand48 ();
11713int
11714main ()
11715{
11716drand48 ();
11717 ;
11718 return 0;
11719}
11720_ACEOF
11721rm -f conftest.$ac_objext conftest$ac_exeext
11722if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11723 (eval $ac_link) 2>&5
11724 ac_status=$?
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try='test -s conftest$ac_exeext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11730 ac_status=$?
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_cv_lib_cExt_drand48=yes
11734else
11735 echo "$as_me: failed program was:" >&5
11736sed 's/^/| /' conftest.$ac_ext >&5
11737
11738ac_cv_lib_cExt_drand48=no
11739fi
11740rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11741LIBS=$ac_check_lib_save_LIBS
11742fi
11743echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11744echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11745if test $ac_cv_lib_cExt_drand48 = yes; then
11746 LIBS="$LIBS -lcExt"
11747fi
11748
11749 else
11750 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11751 fi
11752 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11753echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11754if test "${wx_cv_gcc3+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11756else
11757
11758 cat >conftest.$ac_ext <<_ACEOF
11759#line $LINENO "configure"
11760/* confdefs.h. */
11761_ACEOF
11762cat confdefs.h >>conftest.$ac_ext
11763cat >>conftest.$ac_ext <<_ACEOF
11764/* end confdefs.h. */
11765#include <features.h>
11766int
11767main ()
11768{
11769
11770 #if (__GNUC__ < 3)
11771 #error old gcc
11772 #endif
11773
11774 ;
11775 return 0;
11776}
11777_ACEOF
11778rm -f conftest.$ac_objext
11779if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11780 (eval $ac_compile) 2>&5
11781 ac_status=$?
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } &&
11784 { ac_try='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11787 ac_status=$?
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790
11791 wx_cv_gcc3=yes
11792
11793else
11794 echo "$as_me: failed program was:" >&5
11795sed 's/^/| /' conftest.$ac_ext >&5
11796
11797
11798 wx_cv_gcc3=no
11799
11800
11801fi
11802rm -f conftest.$ac_objext conftest.$ac_ext
11803
11804fi
11805echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11806echo "${ECHO_T}$wx_cv_gcc3" >&6
11807 if test "$wx_cv_gcc3" = "no"; then
11808 LIBS="$LIBS -lstdcpp"
11809 else
11810 LIBS="$LIBS -lstdcxx"
11811 fi
11812 ;;
11813esac
11814
11815
11816if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11817 echo "$as_me:$LINENO: checking for strings.h" >&5
11818echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11819if test "${ac_cv_header_strings_h+set}" = set; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11821else
11822 ac_cv_header_strings_h=no
11823fi
11824echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11825echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11826 if test "$ac_cv_header_strings_h" = "no"; then
11827 echo "$as_me:$LINENO: result: forced no into cache" >&5
11828echo "${ECHO_T}forced no into cache" >&6
11829 else
11830 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11831echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11832 fi
11833fi
11834echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11835echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11836if test "${ac_cv_header_stdc+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11838else
11839 cat >conftest.$ac_ext <<_ACEOF
11840#line $LINENO "configure"
11841/* confdefs.h. */
11842_ACEOF
11843cat confdefs.h >>conftest.$ac_ext
11844cat >>conftest.$ac_ext <<_ACEOF
11845/* end confdefs.h. */
11846#include <stdlib.h>
11847#include <stdarg.h>
11848#include <string.h>
11849#include <float.h>
11850
11851int
11852main ()
11853{
11854
11855 ;
11856 return 0;
11857}
11858_ACEOF
11859rm -f conftest.$ac_objext
11860if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11861 (eval $ac_compile) 2>&5
11862 ac_status=$?
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try='test -s conftest.$ac_objext'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11868 ac_status=$?
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; }; then
11871 ac_cv_header_stdc=yes
11872else
11873 echo "$as_me: failed program was:" >&5
11874sed 's/^/| /' conftest.$ac_ext >&5
11875
11876ac_cv_header_stdc=no
11877fi
11878rm -f conftest.$ac_objext conftest.$ac_ext
11879
11880if test $ac_cv_header_stdc = yes; then
11881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11882 cat >conftest.$ac_ext <<_ACEOF
11883#line $LINENO "configure"
11884/* confdefs.h. */
11885_ACEOF
11886cat confdefs.h >>conftest.$ac_ext
11887cat >>conftest.$ac_ext <<_ACEOF
11888/* end confdefs.h. */
11889#include <string.h>
11890
11891_ACEOF
11892if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11893 $EGREP "memchr" >/dev/null 2>&1; then
11894 :
11895else
11896 ac_cv_header_stdc=no
11897fi
11898rm -f conftest*
11899
11900fi
11901
11902if test $ac_cv_header_stdc = yes; then
11903 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11904 cat >conftest.$ac_ext <<_ACEOF
11905#line $LINENO "configure"
11906/* confdefs.h. */
11907_ACEOF
11908cat confdefs.h >>conftest.$ac_ext
11909cat >>conftest.$ac_ext <<_ACEOF
11910/* end confdefs.h. */
11911#include <stdlib.h>
11912
11913_ACEOF
11914if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11915 $EGREP "free" >/dev/null 2>&1; then
11916 :
11917else
11918 ac_cv_header_stdc=no
11919fi
11920rm -f conftest*
11921
11922fi
11923
11924if test $ac_cv_header_stdc = yes; then
11925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11926 if test "$cross_compiling" = yes; then
11927 :
11928else
11929 cat >conftest.$ac_ext <<_ACEOF
11930#line $LINENO "configure"
11931/* confdefs.h. */
11932_ACEOF
11933cat confdefs.h >>conftest.$ac_ext
11934cat >>conftest.$ac_ext <<_ACEOF
11935/* end confdefs.h. */
11936#include <ctype.h>
11937#if ((' ' & 0x0FF) == 0x020)
11938# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11939# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11940#else
11941# define ISLOWER(c) \
11942 (('a' <= (c) && (c) <= 'i') \
11943 || ('j' <= (c) && (c) <= 'r') \
11944 || ('s' <= (c) && (c) <= 'z'))
11945# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11946#endif
11947
11948#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11949int
11950main ()
11951{
11952 int i;
11953 for (i = 0; i < 256; i++)
11954 if (XOR (islower (i), ISLOWER (i))
11955 || toupper (i) != TOUPPER (i))
11956 exit(2);
11957 exit (0);
11958}
11959_ACEOF
11960rm -f conftest$ac_exeext
11961if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11962 (eval $ac_link) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; }; then
11971 :
11972else
11973 echo "$as_me: program exited with status $ac_status" >&5
11974echo "$as_me: failed program was:" >&5
11975sed 's/^/| /' conftest.$ac_ext >&5
11976
11977( exit $ac_status )
11978ac_cv_header_stdc=no
11979fi
11980rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11981fi
11982fi
11983fi
11984echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11985echo "${ECHO_T}$ac_cv_header_stdc" >&6
11986if test $ac_cv_header_stdc = yes; then
11987
11988cat >>confdefs.h <<\_ACEOF
11989#define STDC_HEADERS 1
11990_ACEOF
11991
11992fi
11993
11994# On IRIX 5.3, sys/types and inttypes.h are conflicting.
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12005 inttypes.h stdint.h unistd.h
12006do
12007as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12008echo "$as_me:$LINENO: checking for $ac_header" >&5
12009echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12010if eval "test \"\${$as_ac_Header+set}\" = set"; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12012else
12013 cat >conftest.$ac_ext <<_ACEOF
12014#line $LINENO "configure"
12015/* confdefs.h. */
12016_ACEOF
12017cat confdefs.h >>conftest.$ac_ext
12018cat >>conftest.$ac_ext <<_ACEOF
12019/* end confdefs.h. */
12020$ac_includes_default
12021
12022#include <$ac_header>
12023_ACEOF
12024rm -f conftest.$ac_objext
12025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12026 (eval $ac_compile) 2>&5
12027 ac_status=$?
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try='test -s conftest.$ac_objext'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12033 ac_status=$?
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; }; then
12036 eval "$as_ac_Header=yes"
12037else
12038 echo "$as_me: failed program was:" >&5
12039sed 's/^/| /' conftest.$ac_ext >&5
12040
12041eval "$as_ac_Header=no"
12042fi
12043rm -f conftest.$ac_objext conftest.$ac_ext
12044fi
12045echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12046echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12047if test `eval echo '${'$as_ac_Header'}'` = yes; then
12048 cat >>confdefs.h <<_ACEOF
12049#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12050_ACEOF
12051
12052fi
12053
12054done
12055
12056
12057
12058for ac_header in strings.h
12059do
12060as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12061if eval "test \"\${$as_ac_Header+set}\" = set"; then
12062 echo "$as_me:$LINENO: checking for $ac_header" >&5
12063echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12064if eval "test \"\${$as_ac_Header+set}\" = set"; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066fi
12067echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12068echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12069else
12070 # Is the header compilable?
12071echo "$as_me:$LINENO: checking $ac_header usability" >&5
12072echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12073cat >conftest.$ac_ext <<_ACEOF
12074#line $LINENO "configure"
12075/* confdefs.h. */
12076_ACEOF
12077cat confdefs.h >>conftest.$ac_ext
12078cat >>conftest.$ac_ext <<_ACEOF
12079/* end confdefs.h. */
12080$ac_includes_default
12081#include <$ac_header>
12082_ACEOF
12083rm -f conftest.$ac_objext
12084if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12085 (eval $ac_compile) 2>&5
12086 ac_status=$?
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); } &&
12089 { ac_try='test -s conftest.$ac_objext'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12092 ac_status=$?
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; }; then
12095 ac_header_compiler=yes
12096else
12097 echo "$as_me: failed program was:" >&5
12098sed 's/^/| /' conftest.$ac_ext >&5
12099
12100ac_header_compiler=no
12101fi
12102rm -f conftest.$ac_objext conftest.$ac_ext
12103echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12104echo "${ECHO_T}$ac_header_compiler" >&6
12105
12106# Is the header present?
12107echo "$as_me:$LINENO: checking $ac_header presence" >&5
12108echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12109cat >conftest.$ac_ext <<_ACEOF
12110#line $LINENO "configure"
12111/* confdefs.h. */
12112_ACEOF
12113cat confdefs.h >>conftest.$ac_ext
12114cat >>conftest.$ac_ext <<_ACEOF
12115/* end confdefs.h. */
12116#include <$ac_header>
12117_ACEOF
12118if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12120 ac_status=$?
12121 grep -v '^ *+' conftest.er1 >conftest.err
12122 rm -f conftest.er1
12123 cat conftest.err >&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } >/dev/null; then
12126 if test -s conftest.err; then
12127 ac_cpp_err=$ac_c_preproc_warn_flag
12128 else
12129 ac_cpp_err=
12130 fi
12131else
12132 ac_cpp_err=yes
12133fi
12134if test -z "$ac_cpp_err"; then
12135 ac_header_preproc=yes
12136else
12137 echo "$as_me: failed program was:" >&5
12138sed 's/^/| /' conftest.$ac_ext >&5
12139
12140 ac_header_preproc=no
12141fi
12142rm -f conftest.err conftest.$ac_ext
12143echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12144echo "${ECHO_T}$ac_header_preproc" >&6
12145
12146# So? What about this header?
12147case $ac_header_compiler:$ac_header_preproc in
12148 yes:no )
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12150echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12152echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12153 (
12154 cat <<\_ASBOX
12155## ------------------------------------ ##
12156## Report this to bug-autoconf@gnu.org. ##
12157## ------------------------------------ ##
12158_ASBOX
12159 ) |
12160 sed "s/^/$as_me: WARNING: /" >&2
12161 ;;
12162 no:yes )
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12164echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12166echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12168echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12169 (
12170 cat <<\_ASBOX
12171## ------------------------------------ ##
12172## Report this to bug-autoconf@gnu.org. ##
12173## ------------------------------------ ##
12174_ASBOX
12175 ) |
12176 sed "s/^/$as_me: WARNING: /" >&2
12177 ;;
12178esac
12179echo "$as_me:$LINENO: checking for $ac_header" >&5
12180echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12181if eval "test \"\${$as_ac_Header+set}\" = set"; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12183else
12184 eval "$as_ac_Header=$ac_header_preproc"
12185fi
12186echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12187echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12188
12189fi
12190if test `eval echo '${'$as_ac_Header'}'` = yes; then
12191 cat >>confdefs.h <<_ACEOF
12192#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12193_ACEOF
12194
12195fi
12196
12197done
12198
12199
12200
12201for ac_header in stdlib.h
12202do
12203as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12204if eval "test \"\${$as_ac_Header+set}\" = set"; then
12205 echo "$as_me:$LINENO: checking for $ac_header" >&5
12206echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12207if eval "test \"\${$as_ac_Header+set}\" = set"; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12209fi
12210echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12211echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12212else
12213 # Is the header compilable?
12214echo "$as_me:$LINENO: checking $ac_header usability" >&5
12215echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12216cat >conftest.$ac_ext <<_ACEOF
12217#line $LINENO "configure"
12218/* confdefs.h. */
12219_ACEOF
12220cat confdefs.h >>conftest.$ac_ext
12221cat >>conftest.$ac_ext <<_ACEOF
12222/* end confdefs.h. */
12223$ac_includes_default
12224#include <$ac_header>
12225_ACEOF
12226rm -f conftest.$ac_objext
12227if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12228 (eval $ac_compile) 2>&5
12229 ac_status=$?
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } &&
12232 { ac_try='test -s conftest.$ac_objext'
12233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 (eval $ac_try) 2>&5
12235 ac_status=$?
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; }; then
12238 ac_header_compiler=yes
12239else
12240 echo "$as_me: failed program was:" >&5
12241sed 's/^/| /' conftest.$ac_ext >&5
12242
12243ac_header_compiler=no
12244fi
12245rm -f conftest.$ac_objext conftest.$ac_ext
12246echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12247echo "${ECHO_T}$ac_header_compiler" >&6
12248
12249# Is the header present?
12250echo "$as_me:$LINENO: checking $ac_header presence" >&5
12251echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12252cat >conftest.$ac_ext <<_ACEOF
12253#line $LINENO "configure"
12254/* confdefs.h. */
12255_ACEOF
12256cat confdefs.h >>conftest.$ac_ext
12257cat >>conftest.$ac_ext <<_ACEOF
12258/* end confdefs.h. */
12259#include <$ac_header>
12260_ACEOF
12261if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12263 ac_status=$?
12264 grep -v '^ *+' conftest.er1 >conftest.err
12265 rm -f conftest.er1
12266 cat conftest.err >&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } >/dev/null; then
12269 if test -s conftest.err; then
12270 ac_cpp_err=$ac_c_preproc_warn_flag
12271 else
12272 ac_cpp_err=
12273 fi
12274else
12275 ac_cpp_err=yes
12276fi
12277if test -z "$ac_cpp_err"; then
12278 ac_header_preproc=yes
12279else
12280 echo "$as_me: failed program was:" >&5
12281sed 's/^/| /' conftest.$ac_ext >&5
12282
12283 ac_header_preproc=no
12284fi
12285rm -f conftest.err conftest.$ac_ext
12286echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12287echo "${ECHO_T}$ac_header_preproc" >&6
12288
12289# So? What about this header?
12290case $ac_header_compiler:$ac_header_preproc in
12291 yes:no )
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12293echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12295echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12296 (
12297 cat <<\_ASBOX
12298## ------------------------------------ ##
12299## Report this to bug-autoconf@gnu.org. ##
12300## ------------------------------------ ##
12301_ASBOX
12302 ) |
12303 sed "s/^/$as_me: WARNING: /" >&2
12304 ;;
12305 no:yes )
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12307echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12309echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12311echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12312 (
12313 cat <<\_ASBOX
12314## ------------------------------------ ##
12315## Report this to bug-autoconf@gnu.org. ##
12316## ------------------------------------ ##
12317_ASBOX
12318 ) |
12319 sed "s/^/$as_me: WARNING: /" >&2
12320 ;;
12321esac
12322echo "$as_me:$LINENO: checking for $ac_header" >&5
12323echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12324if eval "test \"\${$as_ac_Header+set}\" = set"; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12326else
12327 eval "$as_ac_Header=$ac_header_preproc"
12328fi
12329echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12330echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12331
12332fi
12333if test `eval echo '${'$as_ac_Header'}'` = yes; then
12334 cat >>confdefs.h <<_ACEOF
12335#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12336_ACEOF
12337
12338fi
12339
12340done
12341
12342
12343for ac_header in malloc.h
12344do
12345as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12346if eval "test \"\${$as_ac_Header+set}\" = set"; then
12347 echo "$as_me:$LINENO: checking for $ac_header" >&5
12348echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12349if eval "test \"\${$as_ac_Header+set}\" = set"; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351fi
12352echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12353echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12354else
12355 # Is the header compilable?
12356echo "$as_me:$LINENO: checking $ac_header usability" >&5
12357echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12358cat >conftest.$ac_ext <<_ACEOF
12359#line $LINENO "configure"
12360/* confdefs.h. */
12361_ACEOF
12362cat confdefs.h >>conftest.$ac_ext
12363cat >>conftest.$ac_ext <<_ACEOF
12364/* end confdefs.h. */
12365$ac_includes_default
12366#include <$ac_header>
12367_ACEOF
12368rm -f conftest.$ac_objext
12369if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12370 (eval $ac_compile) 2>&5
12371 ac_status=$?
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try='test -s conftest.$ac_objext'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 ac_header_compiler=yes
12381else
12382 echo "$as_me: failed program was:" >&5
12383sed 's/^/| /' conftest.$ac_ext >&5
12384
12385ac_header_compiler=no
12386fi
12387rm -f conftest.$ac_objext conftest.$ac_ext
12388echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12389echo "${ECHO_T}$ac_header_compiler" >&6
12390
12391# Is the header present?
12392echo "$as_me:$LINENO: checking $ac_header presence" >&5
12393echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12394cat >conftest.$ac_ext <<_ACEOF
12395#line $LINENO "configure"
12396/* confdefs.h. */
12397_ACEOF
12398cat confdefs.h >>conftest.$ac_ext
12399cat >>conftest.$ac_ext <<_ACEOF
12400/* end confdefs.h. */
12401#include <$ac_header>
12402_ACEOF
12403if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12405 ac_status=$?
12406 grep -v '^ *+' conftest.er1 >conftest.err
12407 rm -f conftest.er1
12408 cat conftest.err >&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } >/dev/null; then
12411 if test -s conftest.err; then
12412 ac_cpp_err=$ac_c_preproc_warn_flag
12413 else
12414 ac_cpp_err=
12415 fi
12416else
12417 ac_cpp_err=yes
12418fi
12419if test -z "$ac_cpp_err"; then
12420 ac_header_preproc=yes
12421else
12422 echo "$as_me: failed program was:" >&5
12423sed 's/^/| /' conftest.$ac_ext >&5
12424
12425 ac_header_preproc=no
12426fi
12427rm -f conftest.err conftest.$ac_ext
12428echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12429echo "${ECHO_T}$ac_header_preproc" >&6
12430
12431# So? What about this header?
12432case $ac_header_compiler:$ac_header_preproc in
12433 yes:no )
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12435echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12437echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12438 (
12439 cat <<\_ASBOX
12440## ------------------------------------ ##
12441## Report this to bug-autoconf@gnu.org. ##
12442## ------------------------------------ ##
12443_ASBOX
12444 ) |
12445 sed "s/^/$as_me: WARNING: /" >&2
12446 ;;
12447 no:yes )
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12449echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12451echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12453echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12454 (
12455 cat <<\_ASBOX
12456## ------------------------------------ ##
12457## Report this to bug-autoconf@gnu.org. ##
12458## ------------------------------------ ##
12459_ASBOX
12460 ) |
12461 sed "s/^/$as_me: WARNING: /" >&2
12462 ;;
12463esac
12464echo "$as_me:$LINENO: checking for $ac_header" >&5
12465echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12466if eval "test \"\${$as_ac_Header+set}\" = set"; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12468else
12469 eval "$as_ac_Header=$ac_header_preproc"
12470fi
12471echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12472echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12473
12474fi
12475if test `eval echo '${'$as_ac_Header'}'` = yes; then
12476 cat >>confdefs.h <<_ACEOF
12477#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12478_ACEOF
12479
12480fi
12481
12482done
12483
12484
12485for ac_header in unistd.h
12486do
12487as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12488if eval "test \"\${$as_ac_Header+set}\" = set"; then
12489 echo "$as_me:$LINENO: checking for $ac_header" >&5
12490echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12491if eval "test \"\${$as_ac_Header+set}\" = set"; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12493fi
12494echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12495echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12496else
12497 # Is the header compilable?
12498echo "$as_me:$LINENO: checking $ac_header usability" >&5
12499echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12500cat >conftest.$ac_ext <<_ACEOF
12501#line $LINENO "configure"
12502/* confdefs.h. */
12503_ACEOF
12504cat confdefs.h >>conftest.$ac_ext
12505cat >>conftest.$ac_ext <<_ACEOF
12506/* end confdefs.h. */
12507$ac_includes_default
12508#include <$ac_header>
12509_ACEOF
12510rm -f conftest.$ac_objext
12511if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12512 (eval $ac_compile) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } &&
12516 { ac_try='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12519 ac_status=$?
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_header_compiler=yes
12523else
12524 echo "$as_me: failed program was:" >&5
12525sed 's/^/| /' conftest.$ac_ext >&5
12526
12527ac_header_compiler=no
12528fi
12529rm -f conftest.$ac_objext conftest.$ac_ext
12530echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12531echo "${ECHO_T}$ac_header_compiler" >&6
12532
12533# Is the header present?
12534echo "$as_me:$LINENO: checking $ac_header presence" >&5
12535echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12536cat >conftest.$ac_ext <<_ACEOF
12537#line $LINENO "configure"
12538/* confdefs.h. */
12539_ACEOF
12540cat confdefs.h >>conftest.$ac_ext
12541cat >>conftest.$ac_ext <<_ACEOF
12542/* end confdefs.h. */
12543#include <$ac_header>
12544_ACEOF
12545if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12547 ac_status=$?
12548 grep -v '^ *+' conftest.er1 >conftest.err
12549 rm -f conftest.er1
12550 cat conftest.err >&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } >/dev/null; then
12553 if test -s conftest.err; then
12554 ac_cpp_err=$ac_c_preproc_warn_flag
12555 else
12556 ac_cpp_err=
12557 fi
12558else
12559 ac_cpp_err=yes
12560fi
12561if test -z "$ac_cpp_err"; then
12562 ac_header_preproc=yes
12563else
12564 echo "$as_me: failed program was:" >&5
12565sed 's/^/| /' conftest.$ac_ext >&5
12566
12567 ac_header_preproc=no
12568fi
12569rm -f conftest.err conftest.$ac_ext
12570echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12571echo "${ECHO_T}$ac_header_preproc" >&6
12572
12573# So? What about this header?
12574case $ac_header_compiler:$ac_header_preproc in
12575 yes:no )
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12577echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12579echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12580 (
12581 cat <<\_ASBOX
12582## ------------------------------------ ##
12583## Report this to bug-autoconf@gnu.org. ##
12584## ------------------------------------ ##
12585_ASBOX
12586 ) |
12587 sed "s/^/$as_me: WARNING: /" >&2
12588 ;;
12589 no:yes )
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12591echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12593echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12595echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12596 (
12597 cat <<\_ASBOX
12598## ------------------------------------ ##
12599## Report this to bug-autoconf@gnu.org. ##
12600## ------------------------------------ ##
12601_ASBOX
12602 ) |
12603 sed "s/^/$as_me: WARNING: /" >&2
12604 ;;
12605esac
12606echo "$as_me:$LINENO: checking for $ac_header" >&5
12607echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12608if eval "test \"\${$as_ac_Header+set}\" = set"; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12610else
12611 eval "$as_ac_Header=$ac_header_preproc"
12612fi
12613echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12614echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12615
12616fi
12617if test `eval echo '${'$as_ac_Header'}'` = yes; then
12618 cat >>confdefs.h <<_ACEOF
12619#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12620_ACEOF
12621
12622fi
12623
12624done
12625
12626
12627for ac_header in wchar.h
12628do
12629as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12630if eval "test \"\${$as_ac_Header+set}\" = set"; then
12631 echo "$as_me:$LINENO: checking for $ac_header" >&5
12632echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12633if eval "test \"\${$as_ac_Header+set}\" = set"; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635fi
12636echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12637echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12638else
12639 # Is the header compilable?
12640echo "$as_me:$LINENO: checking $ac_header usability" >&5
12641echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12642cat >conftest.$ac_ext <<_ACEOF
12643#line $LINENO "configure"
12644/* confdefs.h. */
12645_ACEOF
12646cat confdefs.h >>conftest.$ac_ext
12647cat >>conftest.$ac_ext <<_ACEOF
12648/* end confdefs.h. */
12649$ac_includes_default
12650#include <$ac_header>
12651_ACEOF
12652rm -f conftest.$ac_objext
12653if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12654 (eval $ac_compile) 2>&5
12655 ac_status=$?
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try='test -s conftest.$ac_objext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12664 ac_header_compiler=yes
12665else
12666 echo "$as_me: failed program was:" >&5
12667sed 's/^/| /' conftest.$ac_ext >&5
12668
12669ac_header_compiler=no
12670fi
12671rm -f conftest.$ac_objext conftest.$ac_ext
12672echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12673echo "${ECHO_T}$ac_header_compiler" >&6
12674
12675# Is the header present?
12676echo "$as_me:$LINENO: checking $ac_header presence" >&5
12677echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12678cat >conftest.$ac_ext <<_ACEOF
12679#line $LINENO "configure"
12680/* confdefs.h. */
12681_ACEOF
12682cat confdefs.h >>conftest.$ac_ext
12683cat >>conftest.$ac_ext <<_ACEOF
12684/* end confdefs.h. */
12685#include <$ac_header>
12686_ACEOF
12687if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12689 ac_status=$?
12690 grep -v '^ *+' conftest.er1 >conftest.err
12691 rm -f conftest.er1
12692 cat conftest.err >&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); } >/dev/null; then
12695 if test -s conftest.err; then
12696 ac_cpp_err=$ac_c_preproc_warn_flag
12697 else
12698 ac_cpp_err=
12699 fi
12700else
12701 ac_cpp_err=yes
12702fi
12703if test -z "$ac_cpp_err"; then
12704 ac_header_preproc=yes
12705else
12706 echo "$as_me: failed program was:" >&5
12707sed 's/^/| /' conftest.$ac_ext >&5
12708
12709 ac_header_preproc=no
12710fi
12711rm -f conftest.err conftest.$ac_ext
12712echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12713echo "${ECHO_T}$ac_header_preproc" >&6
12714
12715# So? What about this header?
12716case $ac_header_compiler:$ac_header_preproc in
12717 yes:no )
12718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12719echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12721echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12722 (
12723 cat <<\_ASBOX
12724## ------------------------------------ ##
12725## Report this to bug-autoconf@gnu.org. ##
12726## ------------------------------------ ##
12727_ASBOX
12728 ) |
12729 sed "s/^/$as_me: WARNING: /" >&2
12730 ;;
12731 no:yes )
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12733echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12735echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12737echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12738 (
12739 cat <<\_ASBOX
12740## ------------------------------------ ##
12741## Report this to bug-autoconf@gnu.org. ##
12742## ------------------------------------ ##
12743_ASBOX
12744 ) |
12745 sed "s/^/$as_me: WARNING: /" >&2
12746 ;;
12747esac
12748echo "$as_me:$LINENO: checking for $ac_header" >&5
12749echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12750if eval "test \"\${$as_ac_Header+set}\" = set"; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12752else
12753 eval "$as_ac_Header=$ac_header_preproc"
12754fi
12755echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12756echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12757
12758fi
12759if test `eval echo '${'$as_ac_Header'}'` = yes; then
12760 cat >>confdefs.h <<_ACEOF
12761#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12762_ACEOF
12763
12764fi
12765
12766done
12767
12768
12769if test "$ac_cv_header_wchar_h" != "yes"; then
12770
12771for ac_header in wcstr.h
12772do
12773as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12774if eval "test \"\${$as_ac_Header+set}\" = set"; then
12775 echo "$as_me:$LINENO: checking for $ac_header" >&5
12776echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12777if eval "test \"\${$as_ac_Header+set}\" = set"; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779fi
12780echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12781echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12782else
12783 # Is the header compilable?
12784echo "$as_me:$LINENO: checking $ac_header usability" >&5
12785echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12786cat >conftest.$ac_ext <<_ACEOF
12787#line $LINENO "configure"
12788/* confdefs.h. */
12789_ACEOF
12790cat confdefs.h >>conftest.$ac_ext
12791cat >>conftest.$ac_ext <<_ACEOF
12792/* end confdefs.h. */
12793$ac_includes_default
12794#include <$ac_header>
12795_ACEOF
12796rm -f conftest.$ac_objext
12797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12798 (eval $ac_compile) 2>&5
12799 ac_status=$?
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } &&
12802 { ac_try='test -s conftest.$ac_objext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12805 ac_status=$?
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12808 ac_header_compiler=yes
12809else
12810 echo "$as_me: failed program was:" >&5
12811sed 's/^/| /' conftest.$ac_ext >&5
12812
12813ac_header_compiler=no
12814fi
12815rm -f conftest.$ac_objext conftest.$ac_ext
12816echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12817echo "${ECHO_T}$ac_header_compiler" >&6
12818
12819# Is the header present?
12820echo "$as_me:$LINENO: checking $ac_header presence" >&5
12821echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12822cat >conftest.$ac_ext <<_ACEOF
12823#line $LINENO "configure"
12824/* confdefs.h. */
12825_ACEOF
12826cat confdefs.h >>conftest.$ac_ext
12827cat >>conftest.$ac_ext <<_ACEOF
12828/* end confdefs.h. */
12829#include <$ac_header>
12830_ACEOF
12831if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12833 ac_status=$?
12834 grep -v '^ *+' conftest.er1 >conftest.err
12835 rm -f conftest.er1
12836 cat conftest.err >&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } >/dev/null; then
12839 if test -s conftest.err; then
12840 ac_cpp_err=$ac_c_preproc_warn_flag
12841 else
12842 ac_cpp_err=
12843 fi
12844else
12845 ac_cpp_err=yes
12846fi
12847if test -z "$ac_cpp_err"; then
12848 ac_header_preproc=yes
12849else
12850 echo "$as_me: failed program was:" >&5
12851sed 's/^/| /' conftest.$ac_ext >&5
12852
12853 ac_header_preproc=no
12854fi
12855rm -f conftest.err conftest.$ac_ext
12856echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12857echo "${ECHO_T}$ac_header_preproc" >&6
12858
12859# So? What about this header?
12860case $ac_header_compiler:$ac_header_preproc in
12861 yes:no )
12862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12863echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12865echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12866 (
12867 cat <<\_ASBOX
12868## ------------------------------------ ##
12869## Report this to bug-autoconf@gnu.org. ##
12870## ------------------------------------ ##
12871_ASBOX
12872 ) |
12873 sed "s/^/$as_me: WARNING: /" >&2
12874 ;;
12875 no:yes )
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12877echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12879echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12881echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12882 (
12883 cat <<\_ASBOX
12884## ------------------------------------ ##
12885## Report this to bug-autoconf@gnu.org. ##
12886## ------------------------------------ ##
12887_ASBOX
12888 ) |
12889 sed "s/^/$as_me: WARNING: /" >&2
12890 ;;
12891esac
12892echo "$as_me:$LINENO: checking for $ac_header" >&5
12893echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12894if eval "test \"\${$as_ac_Header+set}\" = set"; then
12895 echo $ECHO_N "(cached) $ECHO_C" >&6
12896else
12897 eval "$as_ac_Header=$ac_header_preproc"
12898fi
12899echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12900echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12901
12902fi
12903if test `eval echo '${'$as_ac_Header'}'` = yes; then
12904 cat >>confdefs.h <<_ACEOF
12905#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12906_ACEOF
12907
12908fi
12909
12910done
12911
12912fi
12913
12914
12915for ac_header in fnmatch.h
12916do
12917as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12918if eval "test \"\${$as_ac_Header+set}\" = set"; then
12919 echo "$as_me:$LINENO: checking for $ac_header" >&5
12920echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12921if eval "test \"\${$as_ac_Header+set}\" = set"; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12923fi
12924echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12925echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12926else
12927 # Is the header compilable?
12928echo "$as_me:$LINENO: checking $ac_header usability" >&5
12929echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12930cat >conftest.$ac_ext <<_ACEOF
12931#line $LINENO "configure"
12932/* confdefs.h. */
12933_ACEOF
12934cat confdefs.h >>conftest.$ac_ext
12935cat >>conftest.$ac_ext <<_ACEOF
12936/* end confdefs.h. */
12937$ac_includes_default
12938#include <$ac_header>
12939_ACEOF
12940rm -f conftest.$ac_objext
12941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>&5
12943 ac_status=$?
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try='test -s conftest.$ac_objext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12949 ac_status=$?
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_header_compiler=yes
12953else
12954 echo "$as_me: failed program was:" >&5
12955sed 's/^/| /' conftest.$ac_ext >&5
12956
12957ac_header_compiler=no
12958fi
12959rm -f conftest.$ac_objext conftest.$ac_ext
12960echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12961echo "${ECHO_T}$ac_header_compiler" >&6
12962
12963# Is the header present?
12964echo "$as_me:$LINENO: checking $ac_header presence" >&5
12965echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12966cat >conftest.$ac_ext <<_ACEOF
12967#line $LINENO "configure"
12968/* confdefs.h. */
12969_ACEOF
12970cat confdefs.h >>conftest.$ac_ext
12971cat >>conftest.$ac_ext <<_ACEOF
12972/* end confdefs.h. */
12973#include <$ac_header>
12974_ACEOF
12975if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12977 ac_status=$?
12978 grep -v '^ *+' conftest.er1 >conftest.err
12979 rm -f conftest.er1
12980 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } >/dev/null; then
12983 if test -s conftest.err; then
12984 ac_cpp_err=$ac_c_preproc_warn_flag
12985 else
12986 ac_cpp_err=
12987 fi
12988else
12989 ac_cpp_err=yes
12990fi
12991if test -z "$ac_cpp_err"; then
12992 ac_header_preproc=yes
12993else
12994 echo "$as_me: failed program was:" >&5
12995sed 's/^/| /' conftest.$ac_ext >&5
12996
12997 ac_header_preproc=no
12998fi
12999rm -f conftest.err conftest.$ac_ext
13000echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13001echo "${ECHO_T}$ac_header_preproc" >&6
13002
13003# So? What about this header?
13004case $ac_header_compiler:$ac_header_preproc in
13005 yes:no )
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13007echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13009echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13010 (
13011 cat <<\_ASBOX
13012## ------------------------------------ ##
13013## Report this to bug-autoconf@gnu.org. ##
13014## ------------------------------------ ##
13015_ASBOX
13016 ) |
13017 sed "s/^/$as_me: WARNING: /" >&2
13018 ;;
13019 no:yes )
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13021echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13023echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13025echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13026 (
13027 cat <<\_ASBOX
13028## ------------------------------------ ##
13029## Report this to bug-autoconf@gnu.org. ##
13030## ------------------------------------ ##
13031_ASBOX
13032 ) |
13033 sed "s/^/$as_me: WARNING: /" >&2
13034 ;;
13035esac
13036echo "$as_me:$LINENO: checking for $ac_header" >&5
13037echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13038if eval "test \"\${$as_ac_Header+set}\" = set"; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040else
13041 eval "$as_ac_Header=$ac_header_preproc"
13042fi
13043echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13044echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13045
13046fi
13047if test `eval echo '${'$as_ac_Header'}'` = yes; then
13048 cat >>confdefs.h <<_ACEOF
13049#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13050_ACEOF
13051
13052fi
13053
13054done
13055
13056
13057if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13058
13059for ac_func in fnmatch
13060do
13061as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13062echo "$as_me:$LINENO: checking for $ac_func" >&5
13063echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13064if eval "test \"\${$as_ac_var+set}\" = set"; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13066else
13067 cat >conftest.$ac_ext <<_ACEOF
13068#line $LINENO "configure"
13069/* confdefs.h. */
13070_ACEOF
13071cat confdefs.h >>conftest.$ac_ext
13072cat >>conftest.$ac_ext <<_ACEOF
13073/* end confdefs.h. */
13074/* System header to define __stub macros and hopefully few prototypes,
13075 which can conflict with char $ac_func (); below.
13076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13077 <limits.h> exists even on freestanding compilers. */
13078#ifdef __STDC__
13079# include <limits.h>
13080#else
13081# include <assert.h>
13082#endif
13083/* Override any gcc2 internal prototype to avoid an error. */
13084#ifdef __cplusplus
13085extern "C"
13086{
13087#endif
13088/* We use char because int might match the return type of a gcc2
13089 builtin and then its argument prototype would still apply. */
13090char $ac_func ();
13091/* The GNU C library defines this for functions which it implements
13092 to always fail with ENOSYS. Some functions are actually named
13093 something starting with __ and the normal name is an alias. */
13094#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13095choke me
13096#else
13097char (*f) () = $ac_func;
13098#endif
13099#ifdef __cplusplus
13100}
13101#endif
13102
13103int
13104main ()
13105{
13106return f != $ac_func;
13107 ;
13108 return 0;
13109}
13110_ACEOF
13111rm -f conftest.$ac_objext conftest$ac_exeext
13112if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13113 (eval $ac_link) 2>&5
13114 ac_status=$?
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } &&
13117 { ac_try='test -s conftest$ac_exeext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13120 ac_status=$?
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 eval "$as_ac_var=yes"
13124else
13125 echo "$as_me: failed program was:" >&5
13126sed 's/^/| /' conftest.$ac_ext >&5
13127
13128eval "$as_ac_var=no"
13129fi
13130rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13131fi
13132echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13133echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13134if test `eval echo '${'$as_ac_var'}'` = yes; then
13135 cat >>confdefs.h <<_ACEOF
13136#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13137_ACEOF
13138
13139fi
13140done
13141
13142fi
13143
13144
13145for ac_header in langinfo.h
13146do
13147as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13148if eval "test \"\${$as_ac_Header+set}\" = set"; then
13149 echo "$as_me:$LINENO: checking for $ac_header" >&5
13150echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13151if eval "test \"\${$as_ac_Header+set}\" = set"; then
13152 echo $ECHO_N "(cached) $ECHO_C" >&6
13153fi
13154echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13155echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13156else
13157 # Is the header compilable?
13158echo "$as_me:$LINENO: checking $ac_header usability" >&5
13159echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13160cat >conftest.$ac_ext <<_ACEOF
13161#line $LINENO "configure"
13162/* confdefs.h. */
13163_ACEOF
13164cat confdefs.h >>conftest.$ac_ext
13165cat >>conftest.$ac_ext <<_ACEOF
13166/* end confdefs.h. */
13167$ac_includes_default
13168#include <$ac_header>
13169_ACEOF
13170rm -f conftest.$ac_objext
13171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13172 (eval $ac_compile) 2>&5
13173 ac_status=$?
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13179 ac_status=$?
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_header_compiler=yes
13183else
13184 echo "$as_me: failed program was:" >&5
13185sed 's/^/| /' conftest.$ac_ext >&5
13186
13187ac_header_compiler=no
13188fi
13189rm -f conftest.$ac_objext conftest.$ac_ext
13190echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13191echo "${ECHO_T}$ac_header_compiler" >&6
13192
13193# Is the header present?
13194echo "$as_me:$LINENO: checking $ac_header presence" >&5
13195echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13196cat >conftest.$ac_ext <<_ACEOF
13197#line $LINENO "configure"
13198/* confdefs.h. */
13199_ACEOF
13200cat confdefs.h >>conftest.$ac_ext
13201cat >>conftest.$ac_ext <<_ACEOF
13202/* end confdefs.h. */
13203#include <$ac_header>
13204_ACEOF
13205if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } >/dev/null; then
13213 if test -s conftest.err; then
13214 ac_cpp_err=$ac_c_preproc_warn_flag
13215 else
13216 ac_cpp_err=
13217 fi
13218else
13219 ac_cpp_err=yes
13220fi
13221if test -z "$ac_cpp_err"; then
13222 ac_header_preproc=yes
13223else
13224 echo "$as_me: failed program was:" >&5
13225sed 's/^/| /' conftest.$ac_ext >&5
13226
13227 ac_header_preproc=no
13228fi
13229rm -f conftest.err conftest.$ac_ext
13230echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13231echo "${ECHO_T}$ac_header_preproc" >&6
13232
13233# So? What about this header?
13234case $ac_header_compiler:$ac_header_preproc in
13235 yes:no )
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13237echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13239echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13240 (
13241 cat <<\_ASBOX
13242## ------------------------------------ ##
13243## Report this to bug-autoconf@gnu.org. ##
13244## ------------------------------------ ##
13245_ASBOX
13246 ) |
13247 sed "s/^/$as_me: WARNING: /" >&2
13248 ;;
13249 no:yes )
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13251echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13253echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13255echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13256 (
13257 cat <<\_ASBOX
13258## ------------------------------------ ##
13259## Report this to bug-autoconf@gnu.org. ##
13260## ------------------------------------ ##
13261_ASBOX
13262 ) |
13263 sed "s/^/$as_me: WARNING: /" >&2
13264 ;;
13265esac
13266echo "$as_me:$LINENO: checking for $ac_header" >&5
13267echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13268if eval "test \"\${$as_ac_Header+set}\" = set"; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13270else
13271 eval "$as_ac_Header=$ac_header_preproc"
13272fi
13273echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13274echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13275
13276fi
13277if test `eval echo '${'$as_ac_Header'}'` = yes; then
13278 cat >>confdefs.h <<_ACEOF
13279#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13280_ACEOF
13281
13282fi
13283
13284done
13285
13286
13287case "${host}" in
13288 *-pc-os2_emx | *-pc-os2-emx )
13289 if test $ac_cv_header_langinfo_h = "yes"; then
13290 LIBS="$LIBS -lintl"
13291 fi
13292 ;;
13293esac
13294
13295if test "$wxUSE_GUI" = "yes"; then
13296 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13297
13298for ac_header in X11/Xlib.h
13299do
13300as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13301if eval "test \"\${$as_ac_Header+set}\" = set"; then
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13306fi
13307echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13308echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13309else
13310 # Is the header compilable?
13311echo "$as_me:$LINENO: checking $ac_header usability" >&5
13312echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13313cat >conftest.$ac_ext <<_ACEOF
13314#line $LINENO "configure"
13315/* confdefs.h. */
13316_ACEOF
13317cat confdefs.h >>conftest.$ac_ext
13318cat >>conftest.$ac_ext <<_ACEOF
13319/* end confdefs.h. */
13320$ac_includes_default
13321#include <$ac_header>
13322_ACEOF
13323rm -f conftest.$ac_objext
13324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_header_compiler=yes
13336else
13337 echo "$as_me: failed program was:" >&5
13338sed 's/^/| /' conftest.$ac_ext >&5
13339
13340ac_header_compiler=no
13341fi
13342rm -f conftest.$ac_objext conftest.$ac_ext
13343echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13344echo "${ECHO_T}$ac_header_compiler" >&6
13345
13346# Is the header present?
13347echo "$as_me:$LINENO: checking $ac_header presence" >&5
13348echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13349cat >conftest.$ac_ext <<_ACEOF
13350#line $LINENO "configure"
13351/* confdefs.h. */
13352_ACEOF
13353cat confdefs.h >>conftest.$ac_ext
13354cat >>conftest.$ac_ext <<_ACEOF
13355/* end confdefs.h. */
13356#include <$ac_header>
13357_ACEOF
13358if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13360 ac_status=$?
13361 grep -v '^ *+' conftest.er1 >conftest.err
13362 rm -f conftest.er1
13363 cat conftest.err >&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } >/dev/null; then
13366 if test -s conftest.err; then
13367 ac_cpp_err=$ac_c_preproc_warn_flag
13368 else
13369 ac_cpp_err=
13370 fi
13371else
13372 ac_cpp_err=yes
13373fi
13374if test -z "$ac_cpp_err"; then
13375 ac_header_preproc=yes
13376else
13377 echo "$as_me: failed program was:" >&5
13378sed 's/^/| /' conftest.$ac_ext >&5
13379
13380 ac_header_preproc=no
13381fi
13382rm -f conftest.err conftest.$ac_ext
13383echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13384echo "${ECHO_T}$ac_header_preproc" >&6
13385
13386# So? What about this header?
13387case $ac_header_compiler:$ac_header_preproc in
13388 yes:no )
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13390echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13392echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13393 (
13394 cat <<\_ASBOX
13395## ------------------------------------ ##
13396## Report this to bug-autoconf@gnu.org. ##
13397## ------------------------------------ ##
13398_ASBOX
13399 ) |
13400 sed "s/^/$as_me: WARNING: /" >&2
13401 ;;
13402 no:yes )
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13404echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13406echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13408echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13409 (
13410 cat <<\_ASBOX
13411## ------------------------------------ ##
13412## Report this to bug-autoconf@gnu.org. ##
13413## ------------------------------------ ##
13414_ASBOX
13415 ) |
13416 sed "s/^/$as_me: WARNING: /" >&2
13417 ;;
13418esac
13419echo "$as_me:$LINENO: checking for $ac_header" >&5
13420echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13421if eval "test \"\${$as_ac_Header+set}\" = set"; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13423else
13424 eval "$as_ac_Header=$ac_header_preproc"
13425fi
13426echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13427echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13428
13429fi
13430if test `eval echo '${'$as_ac_Header'}'` = yes; then
13431 cat >>confdefs.h <<_ACEOF
13432#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13433_ACEOF
13434
13435fi
13436
13437done
13438
13439
13440for ac_header in X11/XKBlib.h
13441do
13442as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13443echo "$as_me:$LINENO: checking for $ac_header" >&5
13444echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13445if eval "test \"\${$as_ac_Header+set}\" = set"; then
13446 echo $ECHO_N "(cached) $ECHO_C" >&6
13447else
13448 cat >conftest.$ac_ext <<_ACEOF
13449#line $LINENO "configure"
13450/* confdefs.h. */
13451_ACEOF
13452cat confdefs.h >>conftest.$ac_ext
13453cat >>conftest.$ac_ext <<_ACEOF
13454/* end confdefs.h. */
13455
13456 #if HAVE_X11_XLIB_H
13457 #include <X11/Xlib.h>
13458 #endif
13459
13460
13461#include <$ac_header>
13462_ACEOF
13463rm -f conftest.$ac_objext
13464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13465 (eval $ac_compile) 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13472 ac_status=$?
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 eval "$as_ac_Header=yes"
13476else
13477 echo "$as_me: failed program was:" >&5
13478sed 's/^/| /' conftest.$ac_ext >&5
13479
13480eval "$as_ac_Header=no"
13481fi
13482rm -f conftest.$ac_objext conftest.$ac_ext
13483fi
13484echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13485echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13486if test `eval echo '${'$as_ac_Header'}'` = yes; then
13487 cat >>confdefs.h <<_ACEOF
13488#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13489_ACEOF
13490
13491fi
13492
13493done
13494
13495 fi
13496fi
13497
13498
13499echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13500echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13501if test "${ac_cv_c_const+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13503else
13504 cat >conftest.$ac_ext <<_ACEOF
13505#line $LINENO "configure"
13506/* confdefs.h. */
13507_ACEOF
13508cat confdefs.h >>conftest.$ac_ext
13509cat >>conftest.$ac_ext <<_ACEOF
13510/* end confdefs.h. */
13511
13512int
13513main ()
13514{
13515/* FIXME: Include the comments suggested by Paul. */
13516#ifndef __cplusplus
13517 /* Ultrix mips cc rejects this. */
13518 typedef int charset[2];
13519 const charset x;
13520 /* SunOS 4.1.1 cc rejects this. */
13521 char const *const *ccp;
13522 char **p;
13523 /* NEC SVR4.0.2 mips cc rejects this. */
13524 struct point {int x, y;};
13525 static struct point const zero = {0,0};
13526 /* AIX XL C 1.02.0.0 rejects this.
13527 It does not let you subtract one const X* pointer from another in
13528 an arm of an if-expression whose if-part is not a constant
13529 expression */
13530 const char *g = "string";
13531 ccp = &g + (g ? g-g : 0);
13532 /* HPUX 7.0 cc rejects these. */
13533 ++ccp;
13534 p = (char**) ccp;
13535 ccp = (char const *const *) p;
13536 { /* SCO 3.2v4 cc rejects this. */
13537 char *t;
13538 char const *s = 0 ? (char *) 0 : (char const *) 0;
13539
13540 *t++ = 0;
13541 }
13542 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13543 int x[] = {25, 17};
13544 const int *foo = &x[0];
13545 ++foo;
13546 }
13547 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13548 typedef const int *iptr;
13549 iptr p = 0;
13550 ++p;
13551 }
13552 { /* AIX XL C 1.02.0.0 rejects this saying
13553 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13554 struct s { int j; const int *ap[3]; };
13555 struct s *b; b->j = 5;
13556 }
13557 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13558 const int foo = 10;
13559 }
13560#endif
13561
13562 ;
13563 return 0;
13564}
13565_ACEOF
13566rm -f conftest.$ac_objext
13567if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13575 ac_status=$?
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 ac_cv_c_const=yes
13579else
13580 echo "$as_me: failed program was:" >&5
13581sed 's/^/| /' conftest.$ac_ext >&5
13582
13583ac_cv_c_const=no
13584fi
13585rm -f conftest.$ac_objext conftest.$ac_ext
13586fi
13587echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13588echo "${ECHO_T}$ac_cv_c_const" >&6
13589if test $ac_cv_c_const = no; then
13590
13591cat >>confdefs.h <<\_ACEOF
13592#define const
13593_ACEOF
13594
13595fi
13596
13597echo "$as_me:$LINENO: checking for inline" >&5
13598echo $ECHO_N "checking for inline... $ECHO_C" >&6
13599if test "${ac_cv_c_inline+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13601else
13602 ac_cv_c_inline=no
13603for ac_kw in inline __inline__ __inline; do
13604 cat >conftest.$ac_ext <<_ACEOF
13605#line $LINENO "configure"
13606/* confdefs.h. */
13607_ACEOF
13608cat confdefs.h >>conftest.$ac_ext
13609cat >>conftest.$ac_ext <<_ACEOF
13610/* end confdefs.h. */
13611#ifndef __cplusplus
13612typedef int foo_t;
13613static $ac_kw foo_t static_foo () {return 0; }
13614$ac_kw foo_t foo () {return 0; }
13615#endif
13616
13617_ACEOF
13618rm -f conftest.$ac_objext
13619if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13620 (eval $ac_compile) 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); } &&
13624 { ac_try='test -s conftest.$ac_objext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 ac_cv_c_inline=$ac_kw; break
13631else
13632 echo "$as_me: failed program was:" >&5
13633sed 's/^/| /' conftest.$ac_ext >&5
13634
13635fi
13636rm -f conftest.$ac_objext conftest.$ac_ext
13637done
13638
13639fi
13640echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13641echo "${ECHO_T}$ac_cv_c_inline" >&6
13642case $ac_cv_c_inline in
13643 inline | yes) ;;
13644 no)
13645cat >>confdefs.h <<\_ACEOF
13646#define inline
13647_ACEOF
13648 ;;
13649 *) cat >>confdefs.h <<_ACEOF
13650#define inline $ac_cv_c_inline
13651_ACEOF
13652 ;;
13653esac
13654
13655
13656echo "$as_me:$LINENO: checking for char" >&5
13657echo $ECHO_N "checking for char... $ECHO_C" >&6
13658if test "${ac_cv_type_char+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660else
13661 cat >conftest.$ac_ext <<_ACEOF
13662#line $LINENO "configure"
13663/* confdefs.h. */
13664_ACEOF
13665cat confdefs.h >>conftest.$ac_ext
13666cat >>conftest.$ac_ext <<_ACEOF
13667/* end confdefs.h. */
13668$ac_includes_default
13669int
13670main ()
13671{
13672if ((char *) 0)
13673 return 0;
13674if (sizeof (char))
13675 return 0;
13676 ;
13677 return 0;
13678}
13679_ACEOF
13680rm -f conftest.$ac_objext
13681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13682 (eval $ac_compile) 2>&5
13683 ac_status=$?
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } &&
13686 { ac_try='test -s conftest.$ac_objext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13689 ac_status=$?
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 ac_cv_type_char=yes
13693else
13694 echo "$as_me: failed program was:" >&5
13695sed 's/^/| /' conftest.$ac_ext >&5
13696
13697ac_cv_type_char=no
13698fi
13699rm -f conftest.$ac_objext conftest.$ac_ext
13700fi
13701echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13702echo "${ECHO_T}$ac_cv_type_char" >&6
13703
13704echo "$as_me:$LINENO: checking size of char" >&5
13705echo $ECHO_N "checking size of char... $ECHO_C" >&6
13706if test "${ac_cv_sizeof_char+set}" = set; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13708else
13709 if test "$ac_cv_type_char" = yes; then
13710 # The cast to unsigned long works around a bug in the HP C Compiler
13711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13713 # This bug is HP SR number 8606223364.
13714 if test "$cross_compiling" = yes; then
13715 # Depending upon the size, compute the lo and hi bounds.
13716cat >conftest.$ac_ext <<_ACEOF
13717#line $LINENO "configure"
13718/* confdefs.h. */
13719_ACEOF
13720cat confdefs.h >>conftest.$ac_ext
13721cat >>conftest.$ac_ext <<_ACEOF
13722/* end confdefs.h. */
13723$ac_includes_default
13724int
13725main ()
13726{
13727static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13728test_array [0] = 0
13729
13730 ;
13731 return 0;
13732}
13733_ACEOF
13734rm -f conftest.$ac_objext
13735if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736 (eval $ac_compile) 2>&5
13737 ac_status=$?
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try='test -s conftest.$ac_objext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_lo=0 ac_mid=0
13747 while :; do
13748 cat >conftest.$ac_ext <<_ACEOF
13749#line $LINENO "configure"
13750/* confdefs.h. */
13751_ACEOF
13752cat confdefs.h >>conftest.$ac_ext
13753cat >>conftest.$ac_ext <<_ACEOF
13754/* end confdefs.h. */
13755$ac_includes_default
13756int
13757main ()
13758{
13759static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13760test_array [0] = 0
13761
13762 ;
13763 return 0;
13764}
13765_ACEOF
13766rm -f conftest.$ac_objext
13767if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try='test -s conftest.$ac_objext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13775 ac_status=$?
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 ac_hi=$ac_mid; break
13779else
13780 echo "$as_me: failed program was:" >&5
13781sed 's/^/| /' conftest.$ac_ext >&5
13782
13783ac_lo=`expr $ac_mid + 1`
13784 if test $ac_lo -le $ac_mid; then
13785 ac_lo= ac_hi=
13786 break
13787 fi
13788 ac_mid=`expr 2 '*' $ac_mid + 1`
13789fi
13790rm -f conftest.$ac_objext conftest.$ac_ext
13791 done
13792else
13793 echo "$as_me: failed program was:" >&5
13794sed 's/^/| /' conftest.$ac_ext >&5
13795
13796cat >conftest.$ac_ext <<_ACEOF
13797#line $LINENO "configure"
13798/* confdefs.h. */
13799_ACEOF
13800cat confdefs.h >>conftest.$ac_ext
13801cat >>conftest.$ac_ext <<_ACEOF
13802/* end confdefs.h. */
13803$ac_includes_default
13804int
13805main ()
13806{
13807static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13808test_array [0] = 0
13809
13810 ;
13811 return 0;
13812}
13813_ACEOF
13814rm -f conftest.$ac_objext
13815if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try='test -s conftest.$ac_objext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13823 ac_status=$?
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 ac_hi=-1 ac_mid=-1
13827 while :; do
13828 cat >conftest.$ac_ext <<_ACEOF
13829#line $LINENO "configure"
13830/* confdefs.h. */
13831_ACEOF
13832cat confdefs.h >>conftest.$ac_ext
13833cat >>conftest.$ac_ext <<_ACEOF
13834/* end confdefs.h. */
13835$ac_includes_default
13836int
13837main ()
13838{
13839static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13840test_array [0] = 0
13841
13842 ;
13843 return 0;
13844}
13845_ACEOF
13846rm -f conftest.$ac_objext
13847if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13848 (eval $ac_compile) 2>&5
13849 ac_status=$?
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try='test -s conftest.$ac_objext'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13855 ac_status=$?
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; }; then
13858 ac_lo=$ac_mid; break
13859else
13860 echo "$as_me: failed program was:" >&5
13861sed 's/^/| /' conftest.$ac_ext >&5
13862
13863ac_hi=`expr '(' $ac_mid ')' - 1`
13864 if test $ac_mid -le $ac_hi; then
13865 ac_lo= ac_hi=
13866 break
13867 fi
13868 ac_mid=`expr 2 '*' $ac_mid`
13869fi
13870rm -f conftest.$ac_objext conftest.$ac_ext
13871 done
13872else
13873 echo "$as_me: failed program was:" >&5
13874sed 's/^/| /' conftest.$ac_ext >&5
13875
13876ac_lo= ac_hi=
13877fi
13878rm -f conftest.$ac_objext conftest.$ac_ext
13879fi
13880rm -f conftest.$ac_objext conftest.$ac_ext
13881# Binary search between lo and hi bounds.
13882while test "x$ac_lo" != "x$ac_hi"; do
13883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13884 cat >conftest.$ac_ext <<_ACEOF
13885#line $LINENO "configure"
13886/* confdefs.h. */
13887_ACEOF
13888cat confdefs.h >>conftest.$ac_ext
13889cat >>conftest.$ac_ext <<_ACEOF
13890/* end confdefs.h. */
13891$ac_includes_default
13892int
13893main ()
13894{
13895static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13896test_array [0] = 0
13897
13898 ;
13899 return 0;
13900}
13901_ACEOF
13902rm -f conftest.$ac_objext
13903if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13904 (eval $ac_compile) 2>&5
13905 ac_status=$?
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -s conftest.$ac_objext'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13911 ac_status=$?
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; }; then
13914 ac_hi=$ac_mid
13915else
13916 echo "$as_me: failed program was:" >&5
13917sed 's/^/| /' conftest.$ac_ext >&5
13918
13919ac_lo=`expr '(' $ac_mid ')' + 1`
13920fi
13921rm -f conftest.$ac_objext conftest.$ac_ext
13922done
13923case $ac_lo in
13924?*) ac_cv_sizeof_char=$ac_lo;;
13925'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13926See \`config.log' for more details." >&5
13927echo "$as_me: error: cannot compute sizeof (char), 77
13928See \`config.log' for more details." >&2;}
13929 { (exit 1); exit 1; }; } ;;
13930esac
13931else
13932 if test "$cross_compiling" = yes; then
13933 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13934See \`config.log' for more details." >&5
13935echo "$as_me: error: cannot run test program while cross compiling
13936See \`config.log' for more details." >&2;}
13937 { (exit 1); exit 1; }; }
13938else
13939 cat >conftest.$ac_ext <<_ACEOF
13940#line $LINENO "configure"
13941/* confdefs.h. */
13942_ACEOF
13943cat confdefs.h >>conftest.$ac_ext
13944cat >>conftest.$ac_ext <<_ACEOF
13945/* end confdefs.h. */
13946$ac_includes_default
13947long longval () { return (long) (sizeof (char)); }
13948unsigned long ulongval () { return (long) (sizeof (char)); }
13949#include <stdio.h>
13950#include <stdlib.h>
13951int
13952main ()
13953{
13954
13955 FILE *f = fopen ("conftest.val", "w");
13956 if (! f)
13957 exit (1);
13958 if (((long) (sizeof (char))) < 0)
13959 {
13960 long i = longval ();
13961 if (i != ((long) (sizeof (char))))
13962 exit (1);
13963 fprintf (f, "%ld\n", i);
13964 }
13965 else
13966 {
13967 unsigned long i = ulongval ();
13968 if (i != ((long) (sizeof (char))))
13969 exit (1);
13970 fprintf (f, "%lu\n", i);
13971 }
13972 exit (ferror (f) || fclose (f) != 0);
13973
13974 ;
13975 return 0;
13976}
13977_ACEOF
13978rm -f conftest$ac_exeext
13979if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13980 (eval $ac_link) 2>&5
13981 ac_status=$?
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13986 ac_status=$?
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_sizeof_char=`cat conftest.val`
13990else
13991 echo "$as_me: program exited with status $ac_status" >&5
13992echo "$as_me: failed program was:" >&5
13993sed 's/^/| /' conftest.$ac_ext >&5
13994
13995( exit $ac_status )
13996{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13997See \`config.log' for more details." >&5
13998echo "$as_me: error: cannot compute sizeof (char), 77
13999See \`config.log' for more details." >&2;}
14000 { (exit 1); exit 1; }; }
14001fi
14002rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14003fi
14004fi
14005rm -f conftest.val
14006else
14007 ac_cv_sizeof_char=0
14008fi
14009fi
14010echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14011echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14012cat >>confdefs.h <<_ACEOF
14013#define SIZEOF_CHAR $ac_cv_sizeof_char
14014_ACEOF
14015
14016
14017echo "$as_me:$LINENO: checking for short" >&5
14018echo $ECHO_N "checking for short... $ECHO_C" >&6
14019if test "${ac_cv_type_short+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6
14021else
14022 cat >conftest.$ac_ext <<_ACEOF
14023#line $LINENO "configure"
14024/* confdefs.h. */
14025_ACEOF
14026cat confdefs.h >>conftest.$ac_ext
14027cat >>conftest.$ac_ext <<_ACEOF
14028/* end confdefs.h. */
14029$ac_includes_default
14030int
14031main ()
14032{
14033if ((short *) 0)
14034 return 0;
14035if (sizeof (short))
14036 return 0;
14037 ;
14038 return 0;
14039}
14040_ACEOF
14041rm -f conftest.$ac_objext
14042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043 (eval $ac_compile) 2>&5
14044 ac_status=$?
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } &&
14047 { ac_try='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14050 ac_status=$?
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_cv_type_short=yes
14054else
14055 echo "$as_me: failed program was:" >&5
14056sed 's/^/| /' conftest.$ac_ext >&5
14057
14058ac_cv_type_short=no
14059fi
14060rm -f conftest.$ac_objext conftest.$ac_ext
14061fi
14062echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14063echo "${ECHO_T}$ac_cv_type_short" >&6
14064
14065echo "$as_me:$LINENO: checking size of short" >&5
14066echo $ECHO_N "checking size of short... $ECHO_C" >&6
14067if test "${ac_cv_sizeof_short+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14069else
14070 if test "$ac_cv_type_short" = yes; then
14071 # The cast to unsigned long works around a bug in the HP C Compiler
14072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14074 # This bug is HP SR number 8606223364.
14075 if test "$cross_compiling" = yes; then
14076 # Depending upon the size, compute the lo and hi bounds.
14077cat >conftest.$ac_ext <<_ACEOF
14078#line $LINENO "configure"
14079/* confdefs.h. */
14080_ACEOF
14081cat confdefs.h >>conftest.$ac_ext
14082cat >>conftest.$ac_ext <<_ACEOF
14083/* end confdefs.h. */
14084$ac_includes_default
14085int
14086main ()
14087{
14088static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14089test_array [0] = 0
14090
14091 ;
14092 return 0;
14093}
14094_ACEOF
14095rm -f conftest.$ac_objext
14096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14098 ac_status=$?
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14104 ac_status=$?
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14107 ac_lo=0 ac_mid=0
14108 while :; do
14109 cat >conftest.$ac_ext <<_ACEOF
14110#line $LINENO "configure"
14111/* confdefs.h. */
14112_ACEOF
14113cat confdefs.h >>conftest.$ac_ext
14114cat >>conftest.$ac_ext <<_ACEOF
14115/* end confdefs.h. */
14116$ac_includes_default
14117int
14118main ()
14119{
14120static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14121test_array [0] = 0
14122
14123 ;
14124 return 0;
14125}
14126_ACEOF
14127rm -f conftest.$ac_objext
14128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>&5
14130 ac_status=$?
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); } &&
14133 { ac_try='test -s conftest.$ac_objext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14136 ac_status=$?
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_hi=$ac_mid; break
14140else
14141 echo "$as_me: failed program was:" >&5
14142sed 's/^/| /' conftest.$ac_ext >&5
14143
14144ac_lo=`expr $ac_mid + 1`
14145 if test $ac_lo -le $ac_mid; then
14146 ac_lo= ac_hi=
14147 break
14148 fi
14149 ac_mid=`expr 2 '*' $ac_mid + 1`
14150fi
14151rm -f conftest.$ac_objext conftest.$ac_ext
14152 done
14153else
14154 echo "$as_me: failed program was:" >&5
14155sed 's/^/| /' conftest.$ac_ext >&5
14156
14157cat >conftest.$ac_ext <<_ACEOF
14158#line $LINENO "configure"
14159/* confdefs.h. */
14160_ACEOF
14161cat confdefs.h >>conftest.$ac_ext
14162cat >>conftest.$ac_ext <<_ACEOF
14163/* end confdefs.h. */
14164$ac_includes_default
14165int
14166main ()
14167{
14168static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14169test_array [0] = 0
14170
14171 ;
14172 return 0;
14173}
14174_ACEOF
14175rm -f conftest.$ac_objext
14176if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>&5
14178 ac_status=$?
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try='test -s conftest.$ac_objext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14184 ac_status=$?
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 ac_hi=-1 ac_mid=-1
14188 while :; do
14189 cat >conftest.$ac_ext <<_ACEOF
14190#line $LINENO "configure"
14191/* confdefs.h. */
14192_ACEOF
14193cat confdefs.h >>conftest.$ac_ext
14194cat >>conftest.$ac_ext <<_ACEOF
14195/* end confdefs.h. */
14196$ac_includes_default
14197int
14198main ()
14199{
14200static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14201test_array [0] = 0
14202
14203 ;
14204 return 0;
14205}
14206_ACEOF
14207rm -f conftest.$ac_objext
14208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14216 ac_status=$?
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 ac_lo=$ac_mid; break
14220else
14221 echo "$as_me: failed program was:" >&5
14222sed 's/^/| /' conftest.$ac_ext >&5
14223
14224ac_hi=`expr '(' $ac_mid ')' - 1`
14225 if test $ac_mid -le $ac_hi; then
14226 ac_lo= ac_hi=
14227 break
14228 fi
14229 ac_mid=`expr 2 '*' $ac_mid`
14230fi
14231rm -f conftest.$ac_objext conftest.$ac_ext
14232 done
14233else
14234 echo "$as_me: failed program was:" >&5
14235sed 's/^/| /' conftest.$ac_ext >&5
14236
14237ac_lo= ac_hi=
14238fi
14239rm -f conftest.$ac_objext conftest.$ac_ext
14240fi
14241rm -f conftest.$ac_objext conftest.$ac_ext
14242# Binary search between lo and hi bounds.
14243while test "x$ac_lo" != "x$ac_hi"; do
14244 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14245 cat >conftest.$ac_ext <<_ACEOF
14246#line $LINENO "configure"
14247/* confdefs.h. */
14248_ACEOF
14249cat confdefs.h >>conftest.$ac_ext
14250cat >>conftest.$ac_ext <<_ACEOF
14251/* end confdefs.h. */
14252$ac_includes_default
14253int
14254main ()
14255{
14256static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14257test_array [0] = 0
14258
14259 ;
14260 return 0;
14261}
14262_ACEOF
14263rm -f conftest.$ac_objext
14264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14265 (eval $ac_compile) 2>&5
14266 ac_status=$?
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try='test -s conftest.$ac_objext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 ac_hi=$ac_mid
14276else
14277 echo "$as_me: failed program was:" >&5
14278sed 's/^/| /' conftest.$ac_ext >&5
14279
14280ac_lo=`expr '(' $ac_mid ')' + 1`
14281fi
14282rm -f conftest.$ac_objext conftest.$ac_ext
14283done
14284case $ac_lo in
14285?*) ac_cv_sizeof_short=$ac_lo;;
14286'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14287See \`config.log' for more details." >&5
14288echo "$as_me: error: cannot compute sizeof (short), 77
14289See \`config.log' for more details." >&2;}
14290 { (exit 1); exit 1; }; } ;;
14291esac
14292else
14293 if test "$cross_compiling" = yes; then
14294 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14295See \`config.log' for more details." >&5
14296echo "$as_me: error: cannot run test program while cross compiling
14297See \`config.log' for more details." >&2;}
14298 { (exit 1); exit 1; }; }
14299else
14300 cat >conftest.$ac_ext <<_ACEOF
14301#line $LINENO "configure"
14302/* confdefs.h. */
14303_ACEOF
14304cat confdefs.h >>conftest.$ac_ext
14305cat >>conftest.$ac_ext <<_ACEOF
14306/* end confdefs.h. */
14307$ac_includes_default
14308long longval () { return (long) (sizeof (short)); }
14309unsigned long ulongval () { return (long) (sizeof (short)); }
14310#include <stdio.h>
14311#include <stdlib.h>
14312int
14313main ()
14314{
14315
14316 FILE *f = fopen ("conftest.val", "w");
14317 if (! f)
14318 exit (1);
14319 if (((long) (sizeof (short))) < 0)
14320 {
14321 long i = longval ();
14322 if (i != ((long) (sizeof (short))))
14323 exit (1);
14324 fprintf (f, "%ld\n", i);
14325 }
14326 else
14327 {
14328 unsigned long i = ulongval ();
14329 if (i != ((long) (sizeof (short))))
14330 exit (1);
14331 fprintf (f, "%lu\n", i);
14332 }
14333 exit (ferror (f) || fclose (f) != 0);
14334
14335 ;
14336 return 0;
14337}
14338_ACEOF
14339rm -f conftest$ac_exeext
14340if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14341 (eval $ac_link) 2>&5
14342 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14347 ac_status=$?
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; }; then
14350 ac_cv_sizeof_short=`cat conftest.val`
14351else
14352 echo "$as_me: program exited with status $ac_status" >&5
14353echo "$as_me: failed program was:" >&5
14354sed 's/^/| /' conftest.$ac_ext >&5
14355
14356( exit $ac_status )
14357{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14358See \`config.log' for more details." >&5
14359echo "$as_me: error: cannot compute sizeof (short), 77
14360See \`config.log' for more details." >&2;}
14361 { (exit 1); exit 1; }; }
14362fi
14363rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14364fi
14365fi
14366rm -f conftest.val
14367else
14368 ac_cv_sizeof_short=0
14369fi
14370fi
14371echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14372echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14373cat >>confdefs.h <<_ACEOF
14374#define SIZEOF_SHORT $ac_cv_sizeof_short
14375_ACEOF
14376
14377
14378echo "$as_me:$LINENO: checking for void *" >&5
14379echo $ECHO_N "checking for void *... $ECHO_C" >&6
14380if test "${ac_cv_type_void_p+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14382else
14383 cat >conftest.$ac_ext <<_ACEOF
14384#line $LINENO "configure"
14385/* confdefs.h. */
14386_ACEOF
14387cat confdefs.h >>conftest.$ac_ext
14388cat >>conftest.$ac_ext <<_ACEOF
14389/* end confdefs.h. */
14390$ac_includes_default
14391int
14392main ()
14393{
14394if ((void * *) 0)
14395 return 0;
14396if (sizeof (void *))
14397 return 0;
14398 ;
14399 return 0;
14400}
14401_ACEOF
14402rm -f conftest.$ac_objext
14403if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14404 (eval $ac_compile) 2>&5
14405 ac_status=$?
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -s conftest.$ac_objext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14414 ac_cv_type_void_p=yes
14415else
14416 echo "$as_me: failed program was:" >&5
14417sed 's/^/| /' conftest.$ac_ext >&5
14418
14419ac_cv_type_void_p=no
14420fi
14421rm -f conftest.$ac_objext conftest.$ac_ext
14422fi
14423echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14424echo "${ECHO_T}$ac_cv_type_void_p" >&6
14425
14426echo "$as_me:$LINENO: checking size of void *" >&5
14427echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14428if test "${ac_cv_sizeof_void_p+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14430else
14431 if test "$ac_cv_type_void_p" = yes; then
14432 # The cast to unsigned long works around a bug in the HP C Compiler
14433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14435 # This bug is HP SR number 8606223364.
14436 if test "$cross_compiling" = yes; then
14437 # Depending upon the size, compute the lo and hi bounds.
14438cat >conftest.$ac_ext <<_ACEOF
14439#line $LINENO "configure"
14440/* confdefs.h. */
14441_ACEOF
14442cat confdefs.h >>conftest.$ac_ext
14443cat >>conftest.$ac_ext <<_ACEOF
14444/* end confdefs.h. */
14445$ac_includes_default
14446int
14447main ()
14448{
14449static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14450test_array [0] = 0
14451
14452 ;
14453 return 0;
14454}
14455_ACEOF
14456rm -f conftest.$ac_objext
14457if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14459 ac_status=$?
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14465 ac_status=$?
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 ac_lo=0 ac_mid=0
14469 while :; do
14470 cat >conftest.$ac_ext <<_ACEOF
14471#line $LINENO "configure"
14472/* confdefs.h. */
14473_ACEOF
14474cat confdefs.h >>conftest.$ac_ext
14475cat >>conftest.$ac_ext <<_ACEOF
14476/* end confdefs.h. */
14477$ac_includes_default
14478int
14479main ()
14480{
14481static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14482test_array [0] = 0
14483
14484 ;
14485 return 0;
14486}
14487_ACEOF
14488rm -f conftest.$ac_objext
14489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14491 ac_status=$?
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14497 ac_status=$?
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 ac_hi=$ac_mid; break
14501else
14502 echo "$as_me: failed program was:" >&5
14503sed 's/^/| /' conftest.$ac_ext >&5
14504
14505ac_lo=`expr $ac_mid + 1`
14506 if test $ac_lo -le $ac_mid; then
14507 ac_lo= ac_hi=
14508 break
14509 fi
14510 ac_mid=`expr 2 '*' $ac_mid + 1`
14511fi
14512rm -f conftest.$ac_objext conftest.$ac_ext
14513 done
14514else
14515 echo "$as_me: failed program was:" >&5
14516sed 's/^/| /' conftest.$ac_ext >&5
14517
14518cat >conftest.$ac_ext <<_ACEOF
14519#line $LINENO "configure"
14520/* confdefs.h. */
14521_ACEOF
14522cat confdefs.h >>conftest.$ac_ext
14523cat >>conftest.$ac_ext <<_ACEOF
14524/* end confdefs.h. */
14525$ac_includes_default
14526int
14527main ()
14528{
14529static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14530test_array [0] = 0
14531
14532 ;
14533 return 0;
14534}
14535_ACEOF
14536rm -f conftest.$ac_objext
14537if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_hi=-1 ac_mid=-1
14549 while :; do
14550 cat >conftest.$ac_ext <<_ACEOF
14551#line $LINENO "configure"
14552/* confdefs.h. */
14553_ACEOF
14554cat confdefs.h >>conftest.$ac_ext
14555cat >>conftest.$ac_ext <<_ACEOF
14556/* end confdefs.h. */
14557$ac_includes_default
14558int
14559main ()
14560{
14561static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14562test_array [0] = 0
14563
14564 ;
14565 return 0;
14566}
14567_ACEOF
14568rm -f conftest.$ac_objext
14569if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_lo=$ac_mid; break
14581else
14582 echo "$as_me: failed program was:" >&5
14583sed 's/^/| /' conftest.$ac_ext >&5
14584
14585ac_hi=`expr '(' $ac_mid ')' - 1`
14586 if test $ac_mid -le $ac_hi; then
14587 ac_lo= ac_hi=
14588 break
14589 fi
14590 ac_mid=`expr 2 '*' $ac_mid`
14591fi
14592rm -f conftest.$ac_objext conftest.$ac_ext
14593 done
14594else
14595 echo "$as_me: failed program was:" >&5
14596sed 's/^/| /' conftest.$ac_ext >&5
14597
14598ac_lo= ac_hi=
14599fi
14600rm -f conftest.$ac_objext conftest.$ac_ext
14601fi
14602rm -f conftest.$ac_objext conftest.$ac_ext
14603# Binary search between lo and hi bounds.
14604while test "x$ac_lo" != "x$ac_hi"; do
14605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14606 cat >conftest.$ac_ext <<_ACEOF
14607#line $LINENO "configure"
14608/* confdefs.h. */
14609_ACEOF
14610cat confdefs.h >>conftest.$ac_ext
14611cat >>conftest.$ac_ext <<_ACEOF
14612/* end confdefs.h. */
14613$ac_includes_default
14614int
14615main ()
14616{
14617static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14618test_array [0] = 0
14619
14620 ;
14621 return 0;
14622}
14623_ACEOF
14624rm -f conftest.$ac_objext
14625if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14626 (eval $ac_compile) 2>&5
14627 ac_status=$?
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try='test -s conftest.$ac_objext'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14636 ac_hi=$ac_mid
14637else
14638 echo "$as_me: failed program was:" >&5
14639sed 's/^/| /' conftest.$ac_ext >&5
14640
14641ac_lo=`expr '(' $ac_mid ')' + 1`
14642fi
14643rm -f conftest.$ac_objext conftest.$ac_ext
14644done
14645case $ac_lo in
14646?*) ac_cv_sizeof_void_p=$ac_lo;;
14647'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14648See \`config.log' for more details." >&5
14649echo "$as_me: error: cannot compute sizeof (void *), 77
14650See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; } ;;
14652esac
14653else
14654 if test "$cross_compiling" = yes; then
14655 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14656See \`config.log' for more details." >&5
14657echo "$as_me: error: cannot run test program while cross compiling
14658See \`config.log' for more details." >&2;}
14659 { (exit 1); exit 1; }; }
14660else
14661 cat >conftest.$ac_ext <<_ACEOF
14662#line $LINENO "configure"
14663/* confdefs.h. */
14664_ACEOF
14665cat confdefs.h >>conftest.$ac_ext
14666cat >>conftest.$ac_ext <<_ACEOF
14667/* end confdefs.h. */
14668$ac_includes_default
14669long longval () { return (long) (sizeof (void *)); }
14670unsigned long ulongval () { return (long) (sizeof (void *)); }
14671#include <stdio.h>
14672#include <stdlib.h>
14673int
14674main ()
14675{
14676
14677 FILE *f = fopen ("conftest.val", "w");
14678 if (! f)
14679 exit (1);
14680 if (((long) (sizeof (void *))) < 0)
14681 {
14682 long i = longval ();
14683 if (i != ((long) (sizeof (void *))))
14684 exit (1);
14685 fprintf (f, "%ld\n", i);
14686 }
14687 else
14688 {
14689 unsigned long i = ulongval ();
14690 if (i != ((long) (sizeof (void *))))
14691 exit (1);
14692 fprintf (f, "%lu\n", i);
14693 }
14694 exit (ferror (f) || fclose (f) != 0);
14695
14696 ;
14697 return 0;
14698}
14699_ACEOF
14700rm -f conftest$ac_exeext
14701if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14702 (eval $ac_link) 2>&5
14703 ac_status=$?
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14708 ac_status=$?
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_sizeof_void_p=`cat conftest.val`
14712else
14713 echo "$as_me: program exited with status $ac_status" >&5
14714echo "$as_me: failed program was:" >&5
14715sed 's/^/| /' conftest.$ac_ext >&5
14716
14717( exit $ac_status )
14718{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14719See \`config.log' for more details." >&5
14720echo "$as_me: error: cannot compute sizeof (void *), 77
14721See \`config.log' for more details." >&2;}
14722 { (exit 1); exit 1; }; }
14723fi
14724rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14725fi
14726fi
14727rm -f conftest.val
14728else
14729 ac_cv_sizeof_void_p=0
14730fi
14731fi
14732echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14733echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14734cat >>confdefs.h <<_ACEOF
14735#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14736_ACEOF
14737
14738
14739echo "$as_me:$LINENO: checking for int" >&5
14740echo $ECHO_N "checking for int... $ECHO_C" >&6
14741if test "${ac_cv_type_int+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14743else
14744 cat >conftest.$ac_ext <<_ACEOF
14745#line $LINENO "configure"
14746/* confdefs.h. */
14747_ACEOF
14748cat confdefs.h >>conftest.$ac_ext
14749cat >>conftest.$ac_ext <<_ACEOF
14750/* end confdefs.h. */
14751$ac_includes_default
14752int
14753main ()
14754{
14755if ((int *) 0)
14756 return 0;
14757if (sizeof (int))
14758 return 0;
14759 ;
14760 return 0;
14761}
14762_ACEOF
14763rm -f conftest.$ac_objext
14764if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>&5
14766 ac_status=$?
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try='test -s conftest.$ac_objext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14772 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 ac_cv_type_int=yes
14776else
14777 echo "$as_me: failed program was:" >&5
14778sed 's/^/| /' conftest.$ac_ext >&5
14779
14780ac_cv_type_int=no
14781fi
14782rm -f conftest.$ac_objext conftest.$ac_ext
14783fi
14784echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14785echo "${ECHO_T}$ac_cv_type_int" >&6
14786
14787echo "$as_me:$LINENO: checking size of int" >&5
14788echo $ECHO_N "checking size of int... $ECHO_C" >&6
14789if test "${ac_cv_sizeof_int+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14791else
14792 if test "$ac_cv_type_int" = yes; then
14793 # The cast to unsigned long works around a bug in the HP C Compiler
14794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14796 # This bug is HP SR number 8606223364.
14797 if test "$cross_compiling" = yes; then
14798 # Depending upon the size, compute the lo and hi bounds.
14799cat >conftest.$ac_ext <<_ACEOF
14800#line $LINENO "configure"
14801/* confdefs.h. */
14802_ACEOF
14803cat confdefs.h >>conftest.$ac_ext
14804cat >>conftest.$ac_ext <<_ACEOF
14805/* end confdefs.h. */
14806$ac_includes_default
14807int
14808main ()
14809{
14810static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14811test_array [0] = 0
14812
14813 ;
14814 return 0;
14815}
14816_ACEOF
14817rm -f conftest.$ac_objext
14818if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_lo=0 ac_mid=0
14830 while :; do
14831 cat >conftest.$ac_ext <<_ACEOF
14832#line $LINENO "configure"
14833/* confdefs.h. */
14834_ACEOF
14835cat confdefs.h >>conftest.$ac_ext
14836cat >>conftest.$ac_ext <<_ACEOF
14837/* end confdefs.h. */
14838$ac_includes_default
14839int
14840main ()
14841{
14842static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14843test_array [0] = 0
14844
14845 ;
14846 return 0;
14847}
14848_ACEOF
14849rm -f conftest.$ac_objext
14850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>&5
14852 ac_status=$?
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14858 ac_status=$?
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_hi=$ac_mid; break
14862else
14863 echo "$as_me: failed program was:" >&5
14864sed 's/^/| /' conftest.$ac_ext >&5
14865
14866ac_lo=`expr $ac_mid + 1`
14867 if test $ac_lo -le $ac_mid; then
14868 ac_lo= ac_hi=
14869 break
14870 fi
14871 ac_mid=`expr 2 '*' $ac_mid + 1`
14872fi
14873rm -f conftest.$ac_objext conftest.$ac_ext
14874 done
14875else
14876 echo "$as_me: failed program was:" >&5
14877sed 's/^/| /' conftest.$ac_ext >&5
14878
14879cat >conftest.$ac_ext <<_ACEOF
14880#line $LINENO "configure"
14881/* confdefs.h. */
14882_ACEOF
14883cat confdefs.h >>conftest.$ac_ext
14884cat >>conftest.$ac_ext <<_ACEOF
14885/* end confdefs.h. */
14886$ac_includes_default
14887int
14888main ()
14889{
14890static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14891test_array [0] = 0
14892
14893 ;
14894 return 0;
14895}
14896_ACEOF
14897rm -f conftest.$ac_objext
14898if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14899 (eval $ac_compile) 2>&5
14900 ac_status=$?
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try='test -s conftest.$ac_objext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14906 ac_status=$?
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_hi=-1 ac_mid=-1
14910 while :; do
14911 cat >conftest.$ac_ext <<_ACEOF
14912#line $LINENO "configure"
14913/* confdefs.h. */
14914_ACEOF
14915cat confdefs.h >>conftest.$ac_ext
14916cat >>conftest.$ac_ext <<_ACEOF
14917/* end confdefs.h. */
14918$ac_includes_default
14919int
14920main ()
14921{
14922static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14923test_array [0] = 0
14924
14925 ;
14926 return 0;
14927}
14928_ACEOF
14929rm -f conftest.$ac_objext
14930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14938 ac_status=$?
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_lo=$ac_mid; break
14942else
14943 echo "$as_me: failed program was:" >&5
14944sed 's/^/| /' conftest.$ac_ext >&5
14945
14946ac_hi=`expr '(' $ac_mid ')' - 1`
14947 if test $ac_mid -le $ac_hi; then
14948 ac_lo= ac_hi=
14949 break
14950 fi
14951 ac_mid=`expr 2 '*' $ac_mid`
14952fi
14953rm -f conftest.$ac_objext conftest.$ac_ext
14954 done
14955else
14956 echo "$as_me: failed program was:" >&5
14957sed 's/^/| /' conftest.$ac_ext >&5
14958
14959ac_lo= ac_hi=
14960fi
14961rm -f conftest.$ac_objext conftest.$ac_ext
14962fi
14963rm -f conftest.$ac_objext conftest.$ac_ext
14964# Binary search between lo and hi bounds.
14965while test "x$ac_lo" != "x$ac_hi"; do
14966 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14967 cat >conftest.$ac_ext <<_ACEOF
14968#line $LINENO "configure"
14969/* confdefs.h. */
14970_ACEOF
14971cat confdefs.h >>conftest.$ac_ext
14972cat >>conftest.$ac_ext <<_ACEOF
14973/* end confdefs.h. */
14974$ac_includes_default
14975int
14976main ()
14977{
14978static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14979test_array [0] = 0
14980
14981 ;
14982 return 0;
14983}
14984_ACEOF
14985rm -f conftest.$ac_objext
14986if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>&5
14988 ac_status=$?
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); } &&
14991 { ac_try='test -s conftest.$ac_objext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14994 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14997 ac_hi=$ac_mid
14998else
14999 echo "$as_me: failed program was:" >&5
15000sed 's/^/| /' conftest.$ac_ext >&5
15001
15002ac_lo=`expr '(' $ac_mid ')' + 1`
15003fi
15004rm -f conftest.$ac_objext conftest.$ac_ext
15005done
15006case $ac_lo in
15007?*) ac_cv_sizeof_int=$ac_lo;;
15008'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15009See \`config.log' for more details." >&5
15010echo "$as_me: error: cannot compute sizeof (int), 77
15011See \`config.log' for more details." >&2;}
15012 { (exit 1); exit 1; }; } ;;
15013esac
15014else
15015 if test "$cross_compiling" = yes; then
15016 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15017See \`config.log' for more details." >&5
15018echo "$as_me: error: cannot run test program while cross compiling
15019See \`config.log' for more details." >&2;}
15020 { (exit 1); exit 1; }; }
15021else
15022 cat >conftest.$ac_ext <<_ACEOF
15023#line $LINENO "configure"
15024/* confdefs.h. */
15025_ACEOF
15026cat confdefs.h >>conftest.$ac_ext
15027cat >>conftest.$ac_ext <<_ACEOF
15028/* end confdefs.h. */
15029$ac_includes_default
15030long longval () { return (long) (sizeof (int)); }
15031unsigned long ulongval () { return (long) (sizeof (int)); }
15032#include <stdio.h>
15033#include <stdlib.h>
15034int
15035main ()
15036{
15037
15038 FILE *f = fopen ("conftest.val", "w");
15039 if (! f)
15040 exit (1);
15041 if (((long) (sizeof (int))) < 0)
15042 {
15043 long i = longval ();
15044 if (i != ((long) (sizeof (int))))
15045 exit (1);
15046 fprintf (f, "%ld\n", i);
15047 }
15048 else
15049 {
15050 unsigned long i = ulongval ();
15051 if (i != ((long) (sizeof (int))))
15052 exit (1);
15053 fprintf (f, "%lu\n", i);
15054 }
15055 exit (ferror (f) || fclose (f) != 0);
15056
15057 ;
15058 return 0;
15059}
15060_ACEOF
15061rm -f conftest$ac_exeext
15062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15063 (eval $ac_link) 2>&5
15064 ac_status=$?
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15069 ac_status=$?
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; }; then
15072 ac_cv_sizeof_int=`cat conftest.val`
15073else
15074 echo "$as_me: program exited with status $ac_status" >&5
15075echo "$as_me: failed program was:" >&5
15076sed 's/^/| /' conftest.$ac_ext >&5
15077
15078( exit $ac_status )
15079{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15080See \`config.log' for more details." >&5
15081echo "$as_me: error: cannot compute sizeof (int), 77
15082See \`config.log' for more details." >&2;}
15083 { (exit 1); exit 1; }; }
15084fi
15085rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15086fi
15087fi
15088rm -f conftest.val
15089else
15090 ac_cv_sizeof_int=0
15091fi
15092fi
15093echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15094echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15095cat >>confdefs.h <<_ACEOF
15096#define SIZEOF_INT $ac_cv_sizeof_int
15097_ACEOF
15098
15099
15100echo "$as_me:$LINENO: checking for long" >&5
15101echo $ECHO_N "checking for long... $ECHO_C" >&6
15102if test "${ac_cv_type_long+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104else
15105 cat >conftest.$ac_ext <<_ACEOF
15106#line $LINENO "configure"
15107/* confdefs.h. */
15108_ACEOF
15109cat confdefs.h >>conftest.$ac_ext
15110cat >>conftest.$ac_ext <<_ACEOF
15111/* end confdefs.h. */
15112$ac_includes_default
15113int
15114main ()
15115{
15116if ((long *) 0)
15117 return 0;
15118if (sizeof (long))
15119 return 0;
15120 ;
15121 return 0;
15122}
15123_ACEOF
15124rm -f conftest.$ac_objext
15125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15126 (eval $ac_compile) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15133 ac_status=$?
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_cv_type_long=yes
15137else
15138 echo "$as_me: failed program was:" >&5
15139sed 's/^/| /' conftest.$ac_ext >&5
15140
15141ac_cv_type_long=no
15142fi
15143rm -f conftest.$ac_objext conftest.$ac_ext
15144fi
15145echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15146echo "${ECHO_T}$ac_cv_type_long" >&6
15147
15148echo "$as_me:$LINENO: checking size of long" >&5
15149echo $ECHO_N "checking size of long... $ECHO_C" >&6
15150if test "${ac_cv_sizeof_long+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15152else
15153 if test "$ac_cv_type_long" = yes; then
15154 # The cast to unsigned long works around a bug in the HP C Compiler
15155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15157 # This bug is HP SR number 8606223364.
15158 if test "$cross_compiling" = yes; then
15159 # Depending upon the size, compute the lo and hi bounds.
15160cat >conftest.$ac_ext <<_ACEOF
15161#line $LINENO "configure"
15162/* confdefs.h. */
15163_ACEOF
15164cat confdefs.h >>conftest.$ac_ext
15165cat >>conftest.$ac_ext <<_ACEOF
15166/* end confdefs.h. */
15167$ac_includes_default
15168int
15169main ()
15170{
15171static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15172test_array [0] = 0
15173
15174 ;
15175 return 0;
15176}
15177_ACEOF
15178rm -f conftest.$ac_objext
15179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15187 ac_status=$?
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_lo=0 ac_mid=0
15191 while :; do
15192 cat >conftest.$ac_ext <<_ACEOF
15193#line $LINENO "configure"
15194/* confdefs.h. */
15195_ACEOF
15196cat confdefs.h >>conftest.$ac_ext
15197cat >>conftest.$ac_ext <<_ACEOF
15198/* end confdefs.h. */
15199$ac_includes_default
15200int
15201main ()
15202{
15203static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15204test_array [0] = 0
15205
15206 ;
15207 return 0;
15208}
15209_ACEOF
15210rm -f conftest.$ac_objext
15211if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>&5
15213 ac_status=$?
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15219 ac_status=$?
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_hi=$ac_mid; break
15223else
15224 echo "$as_me: failed program was:" >&5
15225sed 's/^/| /' conftest.$ac_ext >&5
15226
15227ac_lo=`expr $ac_mid + 1`
15228 if test $ac_lo -le $ac_mid; then
15229 ac_lo= ac_hi=
15230 break
15231 fi
15232 ac_mid=`expr 2 '*' $ac_mid + 1`
15233fi
15234rm -f conftest.$ac_objext conftest.$ac_ext
15235 done
15236else
15237 echo "$as_me: failed program was:" >&5
15238sed 's/^/| /' conftest.$ac_ext >&5
15239
15240cat >conftest.$ac_ext <<_ACEOF
15241#line $LINENO "configure"
15242/* confdefs.h. */
15243_ACEOF
15244cat confdefs.h >>conftest.$ac_ext
15245cat >>conftest.$ac_ext <<_ACEOF
15246/* end confdefs.h. */
15247$ac_includes_default
15248int
15249main ()
15250{
15251static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15252test_array [0] = 0
15253
15254 ;
15255 return 0;
15256}
15257_ACEOF
15258rm -f conftest.$ac_objext
15259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15260 (eval $ac_compile) 2>&5
15261 ac_status=$?
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } &&
15264 { ac_try='test -s conftest.$ac_objext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15267 ac_status=$?
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 ac_hi=-1 ac_mid=-1
15271 while :; do
15272 cat >conftest.$ac_ext <<_ACEOF
15273#line $LINENO "configure"
15274/* confdefs.h. */
15275_ACEOF
15276cat confdefs.h >>conftest.$ac_ext
15277cat >>conftest.$ac_ext <<_ACEOF
15278/* end confdefs.h. */
15279$ac_includes_default
15280int
15281main ()
15282{
15283static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15284test_array [0] = 0
15285
15286 ;
15287 return 0;
15288}
15289_ACEOF
15290rm -f conftest.$ac_objext
15291if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15302 ac_lo=$ac_mid; break
15303else
15304 echo "$as_me: failed program was:" >&5
15305sed 's/^/| /' conftest.$ac_ext >&5
15306
15307ac_hi=`expr '(' $ac_mid ')' - 1`
15308 if test $ac_mid -le $ac_hi; then
15309 ac_lo= ac_hi=
15310 break
15311 fi
15312 ac_mid=`expr 2 '*' $ac_mid`
15313fi
15314rm -f conftest.$ac_objext conftest.$ac_ext
15315 done
15316else
15317 echo "$as_me: failed program was:" >&5
15318sed 's/^/| /' conftest.$ac_ext >&5
15319
15320ac_lo= ac_hi=
15321fi
15322rm -f conftest.$ac_objext conftest.$ac_ext
15323fi
15324rm -f conftest.$ac_objext conftest.$ac_ext
15325# Binary search between lo and hi bounds.
15326while test "x$ac_lo" != "x$ac_hi"; do
15327 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15328 cat >conftest.$ac_ext <<_ACEOF
15329#line $LINENO "configure"
15330/* confdefs.h. */
15331_ACEOF
15332cat confdefs.h >>conftest.$ac_ext
15333cat >>conftest.$ac_ext <<_ACEOF
15334/* end confdefs.h. */
15335$ac_includes_default
15336int
15337main ()
15338{
15339static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15340test_array [0] = 0
15341
15342 ;
15343 return 0;
15344}
15345_ACEOF
15346rm -f conftest.$ac_objext
15347if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15348 (eval $ac_compile) 2>&5
15349 ac_status=$?
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try='test -s conftest.$ac_objext'
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15355 ac_status=$?
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15358 ac_hi=$ac_mid
15359else
15360 echo "$as_me: failed program was:" >&5
15361sed 's/^/| /' conftest.$ac_ext >&5
15362
15363ac_lo=`expr '(' $ac_mid ')' + 1`
15364fi
15365rm -f conftest.$ac_objext conftest.$ac_ext
15366done
15367case $ac_lo in
15368?*) ac_cv_sizeof_long=$ac_lo;;
15369'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15370See \`config.log' for more details." >&5
15371echo "$as_me: error: cannot compute sizeof (long), 77
15372See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; } ;;
15374esac
15375else
15376 if test "$cross_compiling" = yes; then
15377 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15378See \`config.log' for more details." >&5
15379echo "$as_me: error: cannot run test program while cross compiling
15380See \`config.log' for more details." >&2;}
15381 { (exit 1); exit 1; }; }
15382else
15383 cat >conftest.$ac_ext <<_ACEOF
15384#line $LINENO "configure"
15385/* confdefs.h. */
15386_ACEOF
15387cat confdefs.h >>conftest.$ac_ext
15388cat >>conftest.$ac_ext <<_ACEOF
15389/* end confdefs.h. */
15390$ac_includes_default
15391long longval () { return (long) (sizeof (long)); }
15392unsigned long ulongval () { return (long) (sizeof (long)); }
15393#include <stdio.h>
15394#include <stdlib.h>
15395int
15396main ()
15397{
15398
15399 FILE *f = fopen ("conftest.val", "w");
15400 if (! f)
15401 exit (1);
15402 if (((long) (sizeof (long))) < 0)
15403 {
15404 long i = longval ();
15405 if (i != ((long) (sizeof (long))))
15406 exit (1);
15407 fprintf (f, "%ld\n", i);
15408 }
15409 else
15410 {
15411 unsigned long i = ulongval ();
15412 if (i != ((long) (sizeof (long))))
15413 exit (1);
15414 fprintf (f, "%lu\n", i);
15415 }
15416 exit (ferror (f) || fclose (f) != 0);
15417
15418 ;
15419 return 0;
15420}
15421_ACEOF
15422rm -f conftest$ac_exeext
15423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15424 (eval $ac_link) 2>&5
15425 ac_status=$?
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15430 ac_status=$?
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 ac_cv_sizeof_long=`cat conftest.val`
15434else
15435 echo "$as_me: program exited with status $ac_status" >&5
15436echo "$as_me: failed program was:" >&5
15437sed 's/^/| /' conftest.$ac_ext >&5
15438
15439( exit $ac_status )
15440{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15441See \`config.log' for more details." >&5
15442echo "$as_me: error: cannot compute sizeof (long), 77
15443See \`config.log' for more details." >&2;}
15444 { (exit 1); exit 1; }; }
15445fi
15446rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15447fi
15448fi
15449rm -f conftest.val
15450else
15451 ac_cv_sizeof_long=0
15452fi
15453fi
15454echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15455echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15456cat >>confdefs.h <<_ACEOF
15457#define SIZEOF_LONG $ac_cv_sizeof_long
15458_ACEOF
15459
15460
15461
15462case "${host}" in
15463 arm-*-linux* )
15464 echo "$as_me:$LINENO: checking for long long" >&5
15465echo $ECHO_N "checking for long long... $ECHO_C" >&6
15466if test "${ac_cv_type_long_long+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15468else
15469 cat >conftest.$ac_ext <<_ACEOF
15470#line $LINENO "configure"
15471/* confdefs.h. */
15472_ACEOF
15473cat confdefs.h >>conftest.$ac_ext
15474cat >>conftest.$ac_ext <<_ACEOF
15475/* end confdefs.h. */
15476$ac_includes_default
15477int
15478main ()
15479{
15480if ((long long *) 0)
15481 return 0;
15482if (sizeof (long long))
15483 return 0;
15484 ;
15485 return 0;
15486}
15487_ACEOF
15488rm -f conftest.$ac_objext
15489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490 (eval $ac_compile) 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_cv_type_long_long=yes
15501else
15502 echo "$as_me: failed program was:" >&5
15503sed 's/^/| /' conftest.$ac_ext >&5
15504
15505ac_cv_type_long_long=no
15506fi
15507rm -f conftest.$ac_objext conftest.$ac_ext
15508fi
15509echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15510echo "${ECHO_T}$ac_cv_type_long_long" >&6
15511
15512echo "$as_me:$LINENO: checking size of long long" >&5
15513echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15514if test "${ac_cv_sizeof_long_long+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15516else
15517 if test "$ac_cv_type_long_long" = yes; then
15518 # The cast to unsigned long works around a bug in the HP C Compiler
15519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15521 # This bug is HP SR number 8606223364.
15522 if test "$cross_compiling" = yes; then
15523 # Depending upon the size, compute the lo and hi bounds.
15524cat >conftest.$ac_ext <<_ACEOF
15525#line $LINENO "configure"
15526/* confdefs.h. */
15527_ACEOF
15528cat confdefs.h >>conftest.$ac_ext
15529cat >>conftest.$ac_ext <<_ACEOF
15530/* end confdefs.h. */
15531$ac_includes_default
15532int
15533main ()
15534{
15535static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15536test_array [0] = 0
15537
15538 ;
15539 return 0;
15540}
15541_ACEOF
15542rm -f conftest.$ac_objext
15543if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_lo=0 ac_mid=0
15555 while :; do
15556 cat >conftest.$ac_ext <<_ACEOF
15557#line $LINENO "configure"
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 (long long))) <= $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
15576 (eval $ac_compile) 2>&5
15577 ac_status=$?
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15583 ac_status=$?
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15586 ac_hi=$ac_mid; break
15587else
15588 echo "$as_me: failed program was:" >&5
15589sed 's/^/| /' conftest.$ac_ext >&5
15590
15591ac_lo=`expr $ac_mid + 1`
15592 if test $ac_lo -le $ac_mid; then
15593 ac_lo= ac_hi=
15594 break
15595 fi
15596 ac_mid=`expr 2 '*' $ac_mid + 1`
15597fi
15598rm -f conftest.$ac_objext conftest.$ac_ext
15599 done
15600else
15601 echo "$as_me: failed program was:" >&5
15602sed 's/^/| /' conftest.$ac_ext >&5
15603
15604cat >conftest.$ac_ext <<_ACEOF
15605#line $LINENO "configure"
15606/* confdefs.h. */
15607_ACEOF
15608cat confdefs.h >>conftest.$ac_ext
15609cat >>conftest.$ac_ext <<_ACEOF
15610/* end confdefs.h. */
15611$ac_includes_default
15612int
15613main ()
15614{
15615static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15616test_array [0] = 0
15617
15618 ;
15619 return 0;
15620}
15621_ACEOF
15622rm -f conftest.$ac_objext
15623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15624 (eval $ac_compile) 2>&5
15625 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -s conftest.$ac_objext'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; }; then
15634 ac_hi=-1 ac_mid=-1
15635 while :; do
15636 cat >conftest.$ac_ext <<_ACEOF
15637#line $LINENO "configure"
15638/* confdefs.h. */
15639_ACEOF
15640cat confdefs.h >>conftest.$ac_ext
15641cat >>conftest.$ac_ext <<_ACEOF
15642/* end confdefs.h. */
15643$ac_includes_default
15644int
15645main ()
15646{
15647static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15648test_array [0] = 0
15649
15650 ;
15651 return 0;
15652}
15653_ACEOF
15654rm -f conftest.$ac_objext
15655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15656 (eval $ac_compile) 2>&5
15657 ac_status=$?
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try='test -s conftest.$ac_objext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15663 ac_status=$?
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 ac_lo=$ac_mid; break
15667else
15668 echo "$as_me: failed program was:" >&5
15669sed 's/^/| /' conftest.$ac_ext >&5
15670
15671ac_hi=`expr '(' $ac_mid ')' - 1`
15672 if test $ac_mid -le $ac_hi; then
15673 ac_lo= ac_hi=
15674 break
15675 fi
15676 ac_mid=`expr 2 '*' $ac_mid`
15677fi
15678rm -f conftest.$ac_objext conftest.$ac_ext
15679 done
15680else
15681 echo "$as_me: failed program was:" >&5
15682sed 's/^/| /' conftest.$ac_ext >&5
15683
15684ac_lo= ac_hi=
15685fi
15686rm -f conftest.$ac_objext conftest.$ac_ext
15687fi
15688rm -f conftest.$ac_objext conftest.$ac_ext
15689# Binary search between lo and hi bounds.
15690while test "x$ac_lo" != "x$ac_hi"; do
15691 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15692 cat >conftest.$ac_ext <<_ACEOF
15693#line $LINENO "configure"
15694/* confdefs.h. */
15695_ACEOF
15696cat confdefs.h >>conftest.$ac_ext
15697cat >>conftest.$ac_ext <<_ACEOF
15698/* end confdefs.h. */
15699$ac_includes_default
15700int
15701main ()
15702{
15703static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15704test_array [0] = 0
15705
15706 ;
15707 return 0;
15708}
15709_ACEOF
15710rm -f conftest.$ac_objext
15711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712 (eval $ac_compile) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } &&
15716 { ac_try='test -s conftest.$ac_objext'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15719 ac_status=$?
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15722 ac_hi=$ac_mid
15723else
15724 echo "$as_me: failed program was:" >&5
15725sed 's/^/| /' conftest.$ac_ext >&5
15726
15727ac_lo=`expr '(' $ac_mid ')' + 1`
15728fi
15729rm -f conftest.$ac_objext conftest.$ac_ext
15730done
15731case $ac_lo in
15732?*) ac_cv_sizeof_long_long=$ac_lo;;
15733'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15734See \`config.log' for more details." >&5
15735echo "$as_me: error: cannot compute sizeof (long long), 77
15736See \`config.log' for more details." >&2;}
15737 { (exit 1); exit 1; }; } ;;
15738esac
15739else
15740 if test "$cross_compiling" = yes; then
15741 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15742See \`config.log' for more details." >&5
15743echo "$as_me: error: cannot run test program while cross compiling
15744See \`config.log' for more details." >&2;}
15745 { (exit 1); exit 1; }; }
15746else
15747 cat >conftest.$ac_ext <<_ACEOF
15748#line $LINENO "configure"
15749/* confdefs.h. */
15750_ACEOF
15751cat confdefs.h >>conftest.$ac_ext
15752cat >>conftest.$ac_ext <<_ACEOF
15753/* end confdefs.h. */
15754$ac_includes_default
15755long longval () { return (long) (sizeof (long long)); }
15756unsigned long ulongval () { return (long) (sizeof (long long)); }
15757#include <stdio.h>
15758#include <stdlib.h>
15759int
15760main ()
15761{
15762
15763 FILE *f = fopen ("conftest.val", "w");
15764 if (! f)
15765 exit (1);
15766 if (((long) (sizeof (long long))) < 0)
15767 {
15768 long i = longval ();
15769 if (i != ((long) (sizeof (long long))))
15770 exit (1);
15771 fprintf (f, "%ld\n", i);
15772 }
15773 else
15774 {
15775 unsigned long i = ulongval ();
15776 if (i != ((long) (sizeof (long long))))
15777 exit (1);
15778 fprintf (f, "%lu\n", i);
15779 }
15780 exit (ferror (f) || fclose (f) != 0);
15781
15782 ;
15783 return 0;
15784}
15785_ACEOF
15786rm -f conftest$ac_exeext
15787if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15788 (eval $ac_link) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15794 ac_status=$?
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; }; then
15797 ac_cv_sizeof_long_long=`cat conftest.val`
15798else
15799 echo "$as_me: program exited with status $ac_status" >&5
15800echo "$as_me: failed program was:" >&5
15801sed 's/^/| /' conftest.$ac_ext >&5
15802
15803( exit $ac_status )
15804{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15805See \`config.log' for more details." >&5
15806echo "$as_me: error: cannot compute sizeof (long long), 77
15807See \`config.log' for more details." >&2;}
15808 { (exit 1); exit 1; }; }
15809fi
15810rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15811fi
15812fi
15813rm -f conftest.val
15814else
15815 ac_cv_sizeof_long_long=0
15816fi
15817fi
15818echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15819echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15820cat >>confdefs.h <<_ACEOF
15821#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15822_ACEOF
15823
15824
15825 ;;
15826 *-hp-hpux* )
15827 echo "$as_me:$LINENO: checking for long long" >&5
15828echo $ECHO_N "checking for long long... $ECHO_C" >&6
15829if test "${ac_cv_type_long_long+set}" = set; then
15830 echo $ECHO_N "(cached) $ECHO_C" >&6
15831else
15832 cat >conftest.$ac_ext <<_ACEOF
15833#line $LINENO "configure"
15834/* confdefs.h. */
15835_ACEOF
15836cat confdefs.h >>conftest.$ac_ext
15837cat >>conftest.$ac_ext <<_ACEOF
15838/* end confdefs.h. */
15839$ac_includes_default
15840int
15841main ()
15842{
15843if ((long long *) 0)
15844 return 0;
15845if (sizeof (long long))
15846 return 0;
15847 ;
15848 return 0;
15849}
15850_ACEOF
15851rm -f conftest.$ac_objext
15852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15853 (eval $ac_compile) 2>&5
15854 ac_status=$?
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -s conftest.$ac_objext'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15860 ac_status=$?
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; }; then
15863 ac_cv_type_long_long=yes
15864else
15865 echo "$as_me: failed program was:" >&5
15866sed 's/^/| /' conftest.$ac_ext >&5
15867
15868ac_cv_type_long_long=no
15869fi
15870rm -f conftest.$ac_objext conftest.$ac_ext
15871fi
15872echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15873echo "${ECHO_T}$ac_cv_type_long_long" >&6
15874
15875echo "$as_me:$LINENO: checking size of long long" >&5
15876echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15877if test "${ac_cv_sizeof_long_long+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879else
15880 if test "$ac_cv_type_long_long" = yes; then
15881 # The cast to unsigned long works around a bug in the HP C Compiler
15882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15884 # This bug is HP SR number 8606223364.
15885 if test "$cross_compiling" = yes; then
15886 # Depending upon the size, compute the lo and hi bounds.
15887cat >conftest.$ac_ext <<_ACEOF
15888#line $LINENO "configure"
15889/* confdefs.h. */
15890_ACEOF
15891cat confdefs.h >>conftest.$ac_ext
15892cat >>conftest.$ac_ext <<_ACEOF
15893/* end confdefs.h. */
15894$ac_includes_default
15895int
15896main ()
15897{
15898static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15899test_array [0] = 0
15900
15901 ;
15902 return 0;
15903}
15904_ACEOF
15905rm -f conftest.$ac_objext
15906if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); } &&
15911 { ac_try='test -s conftest.$ac_objext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15914 ac_status=$?
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 ac_lo=0 ac_mid=0
15918 while :; do
15919 cat >conftest.$ac_ext <<_ACEOF
15920#line $LINENO "configure"
15921/* confdefs.h. */
15922_ACEOF
15923cat confdefs.h >>conftest.$ac_ext
15924cat >>conftest.$ac_ext <<_ACEOF
15925/* end confdefs.h. */
15926$ac_includes_default
15927int
15928main ()
15929{
15930static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15931test_array [0] = 0
15932
15933 ;
15934 return 0;
15935}
15936_ACEOF
15937rm -f conftest.$ac_objext
15938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>&5
15940 ac_status=$?
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15946 ac_status=$?
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15949 ac_hi=$ac_mid; break
15950else
15951 echo "$as_me: failed program was:" >&5
15952sed 's/^/| /' conftest.$ac_ext >&5
15953
15954ac_lo=`expr $ac_mid + 1`
15955 if test $ac_lo -le $ac_mid; then
15956 ac_lo= ac_hi=
15957 break
15958 fi
15959 ac_mid=`expr 2 '*' $ac_mid + 1`
15960fi
15961rm -f conftest.$ac_objext conftest.$ac_ext
15962 done
15963else
15964 echo "$as_me: failed program was:" >&5
15965sed 's/^/| /' conftest.$ac_ext >&5
15966
15967cat >conftest.$ac_ext <<_ACEOF
15968#line $LINENO "configure"
15969/* confdefs.h. */
15970_ACEOF
15971cat confdefs.h >>conftest.$ac_ext
15972cat >>conftest.$ac_ext <<_ACEOF
15973/* end confdefs.h. */
15974$ac_includes_default
15975int
15976main ()
15977{
15978static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15979test_array [0] = 0
15980
15981 ;
15982 return 0;
15983}
15984_ACEOF
15985rm -f conftest.$ac_objext
15986if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>&5
15988 ac_status=$?
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } &&
15991 { ac_try='test -s conftest.$ac_objext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15994 ac_status=$?
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_hi=-1 ac_mid=-1
15998 while :; do
15999 cat >conftest.$ac_ext <<_ACEOF
16000#line $LINENO "configure"
16001/* confdefs.h. */
16002_ACEOF
16003cat confdefs.h >>conftest.$ac_ext
16004cat >>conftest.$ac_ext <<_ACEOF
16005/* end confdefs.h. */
16006$ac_includes_default
16007int
16008main ()
16009{
16010static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16011test_array [0] = 0
16012
16013 ;
16014 return 0;
16015}
16016_ACEOF
16017rm -f conftest.$ac_objext
16018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16019 (eval $ac_compile) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16026 ac_status=$?
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16029 ac_lo=$ac_mid; break
16030else
16031 echo "$as_me: failed program was:" >&5
16032sed 's/^/| /' conftest.$ac_ext >&5
16033
16034ac_hi=`expr '(' $ac_mid ')' - 1`
16035 if test $ac_mid -le $ac_hi; then
16036 ac_lo= ac_hi=
16037 break
16038 fi
16039 ac_mid=`expr 2 '*' $ac_mid`
16040fi
16041rm -f conftest.$ac_objext conftest.$ac_ext
16042 done
16043else
16044 echo "$as_me: failed program was:" >&5
16045sed 's/^/| /' conftest.$ac_ext >&5
16046
16047ac_lo= ac_hi=
16048fi
16049rm -f conftest.$ac_objext conftest.$ac_ext
16050fi
16051rm -f conftest.$ac_objext conftest.$ac_ext
16052# Binary search between lo and hi bounds.
16053while test "x$ac_lo" != "x$ac_hi"; do
16054 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16055 cat >conftest.$ac_ext <<_ACEOF
16056#line $LINENO "configure"
16057/* confdefs.h. */
16058_ACEOF
16059cat confdefs.h >>conftest.$ac_ext
16060cat >>conftest.$ac_ext <<_ACEOF
16061/* end confdefs.h. */
16062$ac_includes_default
16063int
16064main ()
16065{
16066static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16067test_array [0] = 0
16068
16069 ;
16070 return 0;
16071}
16072_ACEOF
16073rm -f conftest.$ac_objext
16074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try='test -s conftest.$ac_objext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16085 ac_hi=$ac_mid
16086else
16087 echo "$as_me: failed program was:" >&5
16088sed 's/^/| /' conftest.$ac_ext >&5
16089
16090ac_lo=`expr '(' $ac_mid ')' + 1`
16091fi
16092rm -f conftest.$ac_objext conftest.$ac_ext
16093done
16094case $ac_lo in
16095?*) ac_cv_sizeof_long_long=$ac_lo;;
16096'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16097See \`config.log' for more details." >&5
16098echo "$as_me: error: cannot compute sizeof (long long), 77
16099See \`config.log' for more details." >&2;}
16100 { (exit 1); exit 1; }; } ;;
16101esac
16102else
16103 if test "$cross_compiling" = yes; then
16104 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16105See \`config.log' for more details." >&5
16106echo "$as_me: error: cannot run test program while cross compiling
16107See \`config.log' for more details." >&2;}
16108 { (exit 1); exit 1; }; }
16109else
16110 cat >conftest.$ac_ext <<_ACEOF
16111#line $LINENO "configure"
16112/* confdefs.h. */
16113_ACEOF
16114cat confdefs.h >>conftest.$ac_ext
16115cat >>conftest.$ac_ext <<_ACEOF
16116/* end confdefs.h. */
16117$ac_includes_default
16118long longval () { return (long) (sizeof (long long)); }
16119unsigned long ulongval () { return (long) (sizeof (long long)); }
16120#include <stdio.h>
16121#include <stdlib.h>
16122int
16123main ()
16124{
16125
16126 FILE *f = fopen ("conftest.val", "w");
16127 if (! f)
16128 exit (1);
16129 if (((long) (sizeof (long long))) < 0)
16130 {
16131 long i = longval ();
16132 if (i != ((long) (sizeof (long long))))
16133 exit (1);
16134 fprintf (f, "%ld\n", i);
16135 }
16136 else
16137 {
16138 unsigned long i = ulongval ();
16139 if (i != ((long) (sizeof (long long))))
16140 exit (1);
16141 fprintf (f, "%lu\n", i);
16142 }
16143 exit (ferror (f) || fclose (f) != 0);
16144
16145 ;
16146 return 0;
16147}
16148_ACEOF
16149rm -f conftest$ac_exeext
16150if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16151 (eval $ac_link) 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_sizeof_long_long=`cat conftest.val`
16161else
16162 echo "$as_me: program exited with status $ac_status" >&5
16163echo "$as_me: failed program was:" >&5
16164sed 's/^/| /' conftest.$ac_ext >&5
16165
16166( exit $ac_status )
16167{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16168See \`config.log' for more details." >&5
16169echo "$as_me: error: cannot compute sizeof (long long), 77
16170See \`config.log' for more details." >&2;}
16171 { (exit 1); exit 1; }; }
16172fi
16173rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16174fi
16175fi
16176rm -f conftest.val
16177else
16178 ac_cv_sizeof_long_long=0
16179fi
16180fi
16181echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16182echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16183cat >>confdefs.h <<_ACEOF
16184#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16185_ACEOF
16186
16187
16188 if test "$ac_cv_sizeof_long_long" != "0"; then
16189 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16190 fi
16191 ;;
16192 * )
16193 echo "$as_me:$LINENO: checking for long long" >&5
16194echo $ECHO_N "checking for long long... $ECHO_C" >&6
16195if test "${ac_cv_type_long_long+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197else
16198 cat >conftest.$ac_ext <<_ACEOF
16199#line $LINENO "configure"
16200/* confdefs.h. */
16201_ACEOF
16202cat confdefs.h >>conftest.$ac_ext
16203cat >>conftest.$ac_ext <<_ACEOF
16204/* end confdefs.h. */
16205$ac_includes_default
16206int
16207main ()
16208{
16209if ((long long *) 0)
16210 return 0;
16211if (sizeof (long long))
16212 return 0;
16213 ;
16214 return 0;
16215}
16216_ACEOF
16217rm -f conftest.$ac_objext
16218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16219 (eval $ac_compile) 2>&5
16220 ac_status=$?
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try='test -s conftest.$ac_objext'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16226 ac_status=$?
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16229 ac_cv_type_long_long=yes
16230else
16231 echo "$as_me: failed program was:" >&5
16232sed 's/^/| /' conftest.$ac_ext >&5
16233
16234ac_cv_type_long_long=no
16235fi
16236rm -f conftest.$ac_objext conftest.$ac_ext
16237fi
16238echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16239echo "${ECHO_T}$ac_cv_type_long_long" >&6
16240
16241echo "$as_me:$LINENO: checking size of long long" >&5
16242echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16243if test "${ac_cv_sizeof_long_long+set}" = set; then
16244 echo $ECHO_N "(cached) $ECHO_C" >&6
16245else
16246 if test "$ac_cv_type_long_long" = yes; then
16247 # The cast to unsigned long works around a bug in the HP C Compiler
16248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16250 # This bug is HP SR number 8606223364.
16251 if test "$cross_compiling" = yes; then
16252 # Depending upon the size, compute the lo and hi bounds.
16253cat >conftest.$ac_ext <<_ACEOF
16254#line $LINENO "configure"
16255/* confdefs.h. */
16256_ACEOF
16257cat confdefs.h >>conftest.$ac_ext
16258cat >>conftest.$ac_ext <<_ACEOF
16259/* end confdefs.h. */
16260$ac_includes_default
16261int
16262main ()
16263{
16264static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16265test_array [0] = 0
16266
16267 ;
16268 return 0;
16269}
16270_ACEOF
16271rm -f conftest.$ac_objext
16272if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16280 ac_status=$?
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16283 ac_lo=0 ac_mid=0
16284 while :; do
16285 cat >conftest.$ac_ext <<_ACEOF
16286#line $LINENO "configure"
16287/* confdefs.h. */
16288_ACEOF
16289cat confdefs.h >>conftest.$ac_ext
16290cat >>conftest.$ac_ext <<_ACEOF
16291/* end confdefs.h. */
16292$ac_includes_default
16293int
16294main ()
16295{
16296static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16297test_array [0] = 0
16298
16299 ;
16300 return 0;
16301}
16302_ACEOF
16303rm -f conftest.$ac_objext
16304if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16305 (eval $ac_compile) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try='test -s conftest.$ac_objext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16312 ac_status=$?
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_hi=$ac_mid; break
16316else
16317 echo "$as_me: failed program was:" >&5
16318sed 's/^/| /' conftest.$ac_ext >&5
16319
16320ac_lo=`expr $ac_mid + 1`
16321 if test $ac_lo -le $ac_mid; then
16322 ac_lo= ac_hi=
16323 break
16324 fi
16325 ac_mid=`expr 2 '*' $ac_mid + 1`
16326fi
16327rm -f conftest.$ac_objext conftest.$ac_ext
16328 done
16329else
16330 echo "$as_me: failed program was:" >&5
16331sed 's/^/| /' conftest.$ac_ext >&5
16332
16333cat >conftest.$ac_ext <<_ACEOF
16334#line $LINENO "configure"
16335/* confdefs.h. */
16336_ACEOF
16337cat confdefs.h >>conftest.$ac_ext
16338cat >>conftest.$ac_ext <<_ACEOF
16339/* end confdefs.h. */
16340$ac_includes_default
16341int
16342main ()
16343{
16344static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16345test_array [0] = 0
16346
16347 ;
16348 return 0;
16349}
16350_ACEOF
16351rm -f conftest.$ac_objext
16352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16360 ac_status=$?
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 ac_hi=-1 ac_mid=-1
16364 while :; do
16365 cat >conftest.$ac_ext <<_ACEOF
16366#line $LINENO "configure"
16367/* confdefs.h. */
16368_ACEOF
16369cat confdefs.h >>conftest.$ac_ext
16370cat >>conftest.$ac_ext <<_ACEOF
16371/* end confdefs.h. */
16372$ac_includes_default
16373int
16374main ()
16375{
16376static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16377test_array [0] = 0
16378
16379 ;
16380 return 0;
16381}
16382_ACEOF
16383rm -f conftest.$ac_objext
16384if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16392 ac_status=$?
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_lo=$ac_mid; break
16396else
16397 echo "$as_me: failed program was:" >&5
16398sed 's/^/| /' conftest.$ac_ext >&5
16399
16400ac_hi=`expr '(' $ac_mid ')' - 1`
16401 if test $ac_mid -le $ac_hi; then
16402 ac_lo= ac_hi=
16403 break
16404 fi
16405 ac_mid=`expr 2 '*' $ac_mid`
16406fi
16407rm -f conftest.$ac_objext conftest.$ac_ext
16408 done
16409else
16410 echo "$as_me: failed program was:" >&5
16411sed 's/^/| /' conftest.$ac_ext >&5
16412
16413ac_lo= ac_hi=
16414fi
16415rm -f conftest.$ac_objext conftest.$ac_ext
16416fi
16417rm -f conftest.$ac_objext conftest.$ac_ext
16418# Binary search between lo and hi bounds.
16419while test "x$ac_lo" != "x$ac_hi"; do
16420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16421 cat >conftest.$ac_ext <<_ACEOF
16422#line $LINENO "configure"
16423/* confdefs.h. */
16424_ACEOF
16425cat confdefs.h >>conftest.$ac_ext
16426cat >>conftest.$ac_ext <<_ACEOF
16427/* end confdefs.h. */
16428$ac_includes_default
16429int
16430main ()
16431{
16432static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16433test_array [0] = 0
16434
16435 ;
16436 return 0;
16437}
16438_ACEOF
16439rm -f conftest.$ac_objext
16440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16441 (eval $ac_compile) 2>&5
16442 ac_status=$?
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try='test -s conftest.$ac_objext'
16446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 (eval $ac_try) 2>&5
16448 ac_status=$?
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; }; then
16451 ac_hi=$ac_mid
16452else
16453 echo "$as_me: failed program was:" >&5
16454sed 's/^/| /' conftest.$ac_ext >&5
16455
16456ac_lo=`expr '(' $ac_mid ')' + 1`
16457fi
16458rm -f conftest.$ac_objext conftest.$ac_ext
16459done
16460case $ac_lo in
16461?*) ac_cv_sizeof_long_long=$ac_lo;;
16462'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16463See \`config.log' for more details." >&5
16464echo "$as_me: error: cannot compute sizeof (long long), 77
16465See \`config.log' for more details." >&2;}
16466 { (exit 1); exit 1; }; } ;;
16467esac
16468else
16469 if test "$cross_compiling" = yes; then
16470 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16471See \`config.log' for more details." >&5
16472echo "$as_me: error: cannot run test program while cross compiling
16473See \`config.log' for more details." >&2;}
16474 { (exit 1); exit 1; }; }
16475else
16476 cat >conftest.$ac_ext <<_ACEOF
16477#line $LINENO "configure"
16478/* confdefs.h. */
16479_ACEOF
16480cat confdefs.h >>conftest.$ac_ext
16481cat >>conftest.$ac_ext <<_ACEOF
16482/* end confdefs.h. */
16483$ac_includes_default
16484long longval () { return (long) (sizeof (long long)); }
16485unsigned long ulongval () { return (long) (sizeof (long long)); }
16486#include <stdio.h>
16487#include <stdlib.h>
16488int
16489main ()
16490{
16491
16492 FILE *f = fopen ("conftest.val", "w");
16493 if (! f)
16494 exit (1);
16495 if (((long) (sizeof (long long))) < 0)
16496 {
16497 long i = longval ();
16498 if (i != ((long) (sizeof (long long))))
16499 exit (1);
16500 fprintf (f, "%ld\n", i);
16501 }
16502 else
16503 {
16504 unsigned long i = ulongval ();
16505 if (i != ((long) (sizeof (long long))))
16506 exit (1);
16507 fprintf (f, "%lu\n", i);
16508 }
16509 exit (ferror (f) || fclose (f) != 0);
16510
16511 ;
16512 return 0;
16513}
16514_ACEOF
16515rm -f conftest$ac_exeext
16516if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16517 (eval $ac_link) 2>&5
16518 ac_status=$?
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16526 ac_cv_sizeof_long_long=`cat conftest.val`
16527else
16528 echo "$as_me: program exited with status $ac_status" >&5
16529echo "$as_me: failed program was:" >&5
16530sed 's/^/| /' conftest.$ac_ext >&5
16531
16532( exit $ac_status )
16533{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16534See \`config.log' for more details." >&5
16535echo "$as_me: error: cannot compute sizeof (long long), 77
16536See \`config.log' for more details." >&2;}
16537 { (exit 1); exit 1; }; }
16538fi
16539rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16540fi
16541fi
16542rm -f conftest.val
16543else
16544 ac_cv_sizeof_long_long=0
16545fi
16546fi
16547echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16548echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16549cat >>confdefs.h <<_ACEOF
16550#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16551_ACEOF
16552
16553
16554esac
16555
16556echo "$as_me:$LINENO: checking size of wchar_t" >&5
16557echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16558if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16560else
16561
16562 if test "$cross_compiling" = yes; then
16563
16564 case "${host}" in
16565 *-pc-msdosdjgpp )
16566 wx_cv_sizeof_wchar_t=0
16567 ;;
16568 * )
16569 wx_cv_sizeof_wchar_t=4
16570 ;;
16571 esac
16572
16573
16574else
16575 cat >conftest.$ac_ext <<_ACEOF
16576#line $LINENO "configure"
16577/* confdefs.h. */
16578_ACEOF
16579cat confdefs.h >>conftest.$ac_ext
16580cat >>conftest.$ac_ext <<_ACEOF
16581/* end confdefs.h. */
16582
16583 /* DJGPP only has fake wchar_t: */
16584 #ifdef __DJGPP__
16585 # error "fake wchar_t"
16586 #endif
16587 #ifdef HAVE_WCHAR_H
16588 # ifdef __CYGWIN__
16589 # include <stddef.h>
16590 # endif
16591 # include <wchar.h>
16592 #endif
16593 #ifdef HAVE_STDLIB_H
16594 # include <stdlib.h>
16595 #endif
16596 #include <stdio.h>
16597 int main()
16598 {
16599 FILE *f=fopen("conftestval", "w");
16600 if (!f) exit(1);
16601 fprintf(f, "%i", sizeof(wchar_t));
16602 exit(0);
16603 }
16604
16605_ACEOF
16606rm -f conftest$ac_exeext
16607if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16608 (eval $ac_link) 2>&5
16609 ac_status=$?
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 wx_cv_sizeof_wchar_t=`cat conftestval`
16618else
16619 echo "$as_me: program exited with status $ac_status" >&5
16620echo "$as_me: failed program was:" >&5
16621sed 's/^/| /' conftest.$ac_ext >&5
16622
16623( exit $ac_status )
16624wx_cv_sizeof_wchar_t=0
16625fi
16626rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16627fi
16628
16629fi
16630echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16631echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16632
16633cat >>confdefs.h <<_ACEOF
16634#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16635_ACEOF
16636
16637
16638# Check whether --enable-largefile or --disable-largefile was given.
16639if test "${enable_largefile+set}" = set; then
16640 enableval="$enable_largefile"
16641
16642fi;
16643if test "$enable_largefile" != no; then
16644 wx_largefile=no
16645
16646 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16647echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16648if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16650else
16651
16652 cat >conftest.$ac_ext <<_ACEOF
16653#line $LINENO "configure"
16654/* confdefs.h. */
16655_ACEOF
16656cat confdefs.h >>conftest.$ac_ext
16657cat >>conftest.$ac_ext <<_ACEOF
16658/* end confdefs.h. */
16659#define _FILE_OFFSET_BITS 64
16660 #include <sys/types.h>
16661int
16662main ()
16663{
16664typedef struct {
16665 unsigned int field: sizeof(off_t) == 8;
16666} wxlf;
16667
16668 ;
16669 return 0;
16670}
16671_ACEOF
16672rm -f conftest.$ac_objext
16673if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>&5
16675 ac_status=$?
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } &&
16678 { ac_try='test -s conftest.$ac_objext'
16679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16680 (eval $ac_try) 2>&5
16681 ac_status=$?
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }; }; then
16684 ac_cv_sys_file_offset_bits=64
16685else
16686 echo "$as_me: failed program was:" >&5
16687sed 's/^/| /' conftest.$ac_ext >&5
16688
16689ac_cv_sys_file_offset_bits=no
16690fi
16691rm -f conftest.$ac_objext conftest.$ac_ext
16692
16693
16694fi
16695echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16696echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16697
16698 if test "$ac_cv_sys_file_offset_bits" != no; then
16699 wx_largefile=yes
16700 cat >>confdefs.h <<_ACEOF
16701#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16702_ACEOF
16703
16704 fi
16705
16706 if test "x$wx_largefile" != "xyes"; then
16707
16708 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16709echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16710if test "${ac_cv_sys_large_files+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16712else
16713
16714 cat >conftest.$ac_ext <<_ACEOF
16715#line $LINENO "configure"
16716/* confdefs.h. */
16717_ACEOF
16718cat confdefs.h >>conftest.$ac_ext
16719cat >>conftest.$ac_ext <<_ACEOF
16720/* end confdefs.h. */
16721#define _LARGE_FILES 1
16722 #include <sys/types.h>
16723int
16724main ()
16725{
16726typedef struct {
16727 unsigned int field: sizeof(off_t) == 8;
16728} wxlf;
16729
16730 ;
16731 return 0;
16732}
16733_ACEOF
16734rm -f conftest.$ac_objext
16735if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16736 (eval $ac_compile) 2>&5
16737 ac_status=$?
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try='test -s conftest.$ac_objext'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16743 ac_status=$?
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; }; then
16746 ac_cv_sys_large_files=1
16747else
16748 echo "$as_me: failed program was:" >&5
16749sed 's/^/| /' conftest.$ac_ext >&5
16750
16751ac_cv_sys_large_files=no
16752fi
16753rm -f conftest.$ac_objext conftest.$ac_ext
16754
16755
16756fi
16757echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16758echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16759
16760 if test "$ac_cv_sys_large_files" != no; then
16761 wx_largefile=yes
16762 cat >>confdefs.h <<_ACEOF
16763#define _LARGE_FILES $ac_cv_sys_large_files
16764_ACEOF
16765
16766 fi
16767
16768 fi
16769
16770 echo "$as_me:$LINENO: checking if large file support is available" >&5
16771echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16772 if test "x$wx_largefile" = "xyes"; then
16773 cat >>confdefs.h <<\_ACEOF
16774#define HAVE_LARGEFILE_SUPPORT 1
16775_ACEOF
16776
16777 fi
16778 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16779echo "${ECHO_T}$wx_largefile" >&6
16780fi
16781
16782
16783if test "x$wx_largefile" = "xyes"; then
16784 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16785 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16786 else
16787 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16788 fi
16789 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16790fi
16791
16792echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16793echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16794if test "${ac_cv_c_bigendian+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796else
16797 ac_cv_c_bigendian=unknown
16798# See if sys/param.h defines the BYTE_ORDER macro.
16799cat >conftest.$ac_ext <<_ACEOF
16800#line $LINENO "configure"
16801/* confdefs.h. */
16802_ACEOF
16803cat confdefs.h >>conftest.$ac_ext
16804cat >>conftest.$ac_ext <<_ACEOF
16805/* end confdefs.h. */
16806#include <sys/types.h>
16807#include <sys/param.h>
16808int
16809main ()
16810{
16811
16812#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16813 bogus endian macros
16814#endif
16815 ;
16816 return 0;
16817}
16818_ACEOF
16819rm -f conftest.$ac_objext
16820if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16821 (eval $ac_compile) 2>&5
16822 ac_status=$?
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 # It does; now see whether it defined to BIG_ENDIAN or not.
16832cat >conftest.$ac_ext <<_ACEOF
16833#line $LINENO "configure"
16834/* confdefs.h. */
16835_ACEOF
16836cat confdefs.h >>conftest.$ac_ext
16837cat >>conftest.$ac_ext <<_ACEOF
16838/* end confdefs.h. */
16839#include <sys/types.h>
16840#include <sys/param.h>
16841int
16842main ()
16843{
16844
16845#if BYTE_ORDER != BIG_ENDIAN
16846 not big endian
16847#endif
16848 ;
16849 return 0;
16850}
16851_ACEOF
16852rm -f conftest.$ac_objext
16853if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>&5
16855 ac_status=$?
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_cv_c_bigendian=yes
16865else
16866 echo "$as_me: failed program was:" >&5
16867sed 's/^/| /' conftest.$ac_ext >&5
16868
16869ac_cv_c_bigendian=no
16870fi
16871rm -f conftest.$ac_objext conftest.$ac_ext
16872else
16873 echo "$as_me: failed program was:" >&5
16874sed 's/^/| /' conftest.$ac_ext >&5
16875
16876fi
16877rm -f conftest.$ac_objext conftest.$ac_ext
16878if test $ac_cv_c_bigendian = unknown; then
16879if test "$cross_compiling" = yes; then
16880 ac_cv_c_bigendian=unknown
16881else
16882 cat >conftest.$ac_ext <<_ACEOF
16883#line $LINENO "configure"
16884/* confdefs.h. */
16885_ACEOF
16886cat confdefs.h >>conftest.$ac_ext
16887cat >>conftest.$ac_ext <<_ACEOF
16888/* end confdefs.h. */
16889main () {
16890 /* Are we little or big endian? From Harbison&Steele. */
16891 union
16892 {
16893 long l;
16894 char c[sizeof (long)];
16895 } u;
16896 u.l = 1;
16897 exit (u.c[sizeof (long) - 1] == 1);
16898}
16899_ACEOF
16900rm -f conftest$ac_exeext
16901if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16902 (eval $ac_link) 2>&5
16903 ac_status=$?
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_c_bigendian=no
16912else
16913 echo "$as_me: program exited with status $ac_status" >&5
16914echo "$as_me: failed program was:" >&5
16915sed 's/^/| /' conftest.$ac_ext >&5
16916
16917( exit $ac_status )
16918ac_cv_c_bigendian=yes
16919fi
16920rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16921fi
16922fi
16923fi
16924echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16925echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16926if test $ac_cv_c_bigendian = unknown; then
16927 { 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
16928echo "$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;}
16929fi
16930if test $ac_cv_c_bigendian = yes; then
16931 cat >>confdefs.h <<\_ACEOF
16932#define WORDS_BIGENDIAN 1
16933_ACEOF
16934
16935fi
16936
16937
16938
16939ac_ext=cc
16940ac_cpp='$CXXCPP $CPPFLAGS'
16941ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16942ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16943ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16944echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16945echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16946if test -z "$CXXCPP"; then
16947 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16949else
16950 # Double quotes because CXXCPP needs to be expanded
16951 for CXXCPP in "$CXX -E" "/lib/cpp"
16952 do
16953 ac_preproc_ok=false
16954for ac_cxx_preproc_warn_flag in '' yes
16955do
16956 # Use a header file that comes with gcc, so configuring glibc
16957 # with a fresh cross-compiler works.
16958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16959 # <limits.h> exists even on freestanding compilers.
16960 # On the NeXT, cc -E runs the code through the compiler's parser,
16961 # not just through cpp. "Syntax error" is here to catch this case.
16962 cat >conftest.$ac_ext <<_ACEOF
16963#line $LINENO "configure"
16964/* confdefs.h. */
16965_ACEOF
16966cat confdefs.h >>conftest.$ac_ext
16967cat >>conftest.$ac_ext <<_ACEOF
16968/* end confdefs.h. */
16969#ifdef __STDC__
16970# include <limits.h>
16971#else
16972# include <assert.h>
16973#endif
16974 Syntax error
16975_ACEOF
16976if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16978 ac_status=$?
16979 grep -v '^ *+' conftest.er1 >conftest.err
16980 rm -f conftest.er1
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } >/dev/null; then
16984 if test -s conftest.err; then
16985 ac_cpp_err=$ac_cxx_preproc_warn_flag
16986 else
16987 ac_cpp_err=
16988 fi
16989else
16990 ac_cpp_err=yes
16991fi
16992if test -z "$ac_cpp_err"; then
16993 :
16994else
16995 echo "$as_me: failed program was:" >&5
16996sed 's/^/| /' conftest.$ac_ext >&5
16997
16998 # Broken: fails on valid input.
16999continue
17000fi
17001rm -f conftest.err conftest.$ac_ext
17002
17003 # OK, works on sane cases. Now check whether non-existent headers
17004 # can be detected and how.
17005 cat >conftest.$ac_ext <<_ACEOF
17006#line $LINENO "configure"
17007/* confdefs.h. */
17008_ACEOF
17009cat confdefs.h >>conftest.$ac_ext
17010cat >>conftest.$ac_ext <<_ACEOF
17011/* end confdefs.h. */
17012#include <ac_nonexistent.h>
17013_ACEOF
17014if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17016 ac_status=$?
17017 grep -v '^ *+' conftest.er1 >conftest.err
17018 rm -f conftest.er1
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } >/dev/null; then
17022 if test -s conftest.err; then
17023 ac_cpp_err=$ac_cxx_preproc_warn_flag
17024 else
17025 ac_cpp_err=
17026 fi
17027else
17028 ac_cpp_err=yes
17029fi
17030if test -z "$ac_cpp_err"; then
17031 # Broken: success on invalid input.
17032continue
17033else
17034 echo "$as_me: failed program was:" >&5
17035sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 # Passes both tests.
17038ac_preproc_ok=:
17039break
17040fi
17041rm -f conftest.err conftest.$ac_ext
17042
17043done
17044# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17045rm -f conftest.err conftest.$ac_ext
17046if $ac_preproc_ok; then
17047 break
17048fi
17049
17050 done
17051 ac_cv_prog_CXXCPP=$CXXCPP
17052
17053fi
17054 CXXCPP=$ac_cv_prog_CXXCPP
17055else
17056 ac_cv_prog_CXXCPP=$CXXCPP
17057fi
17058echo "$as_me:$LINENO: result: $CXXCPP" >&5
17059echo "${ECHO_T}$CXXCPP" >&6
17060ac_preproc_ok=false
17061for ac_cxx_preproc_warn_flag in '' yes
17062do
17063 # Use a header file that comes with gcc, so configuring glibc
17064 # with a fresh cross-compiler works.
17065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17066 # <limits.h> exists even on freestanding compilers.
17067 # On the NeXT, cc -E runs the code through the compiler's parser,
17068 # not just through cpp. "Syntax error" is here to catch this case.
17069 cat >conftest.$ac_ext <<_ACEOF
17070#line $LINENO "configure"
17071/* confdefs.h. */
17072_ACEOF
17073cat confdefs.h >>conftest.$ac_ext
17074cat >>conftest.$ac_ext <<_ACEOF
17075/* end confdefs.h. */
17076#ifdef __STDC__
17077# include <limits.h>
17078#else
17079# include <assert.h>
17080#endif
17081 Syntax error
17082_ACEOF
17083if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17085 ac_status=$?
17086 grep -v '^ *+' conftest.er1 >conftest.err
17087 rm -f conftest.er1
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } >/dev/null; then
17091 if test -s conftest.err; then
17092 ac_cpp_err=$ac_cxx_preproc_warn_flag
17093 else
17094 ac_cpp_err=
17095 fi
17096else
17097 ac_cpp_err=yes
17098fi
17099if test -z "$ac_cpp_err"; then
17100 :
17101else
17102 echo "$as_me: failed program was:" >&5
17103sed 's/^/| /' conftest.$ac_ext >&5
17104
17105 # Broken: fails on valid input.
17106continue
17107fi
17108rm -f conftest.err conftest.$ac_ext
17109
17110 # OK, works on sane cases. Now check whether non-existent headers
17111 # can be detected and how.
17112 cat >conftest.$ac_ext <<_ACEOF
17113#line $LINENO "configure"
17114/* confdefs.h. */
17115_ACEOF
17116cat confdefs.h >>conftest.$ac_ext
17117cat >>conftest.$ac_ext <<_ACEOF
17118/* end confdefs.h. */
17119#include <ac_nonexistent.h>
17120_ACEOF
17121if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } >/dev/null; then
17129 if test -s conftest.err; then
17130 ac_cpp_err=$ac_cxx_preproc_warn_flag
17131 else
17132 ac_cpp_err=
17133 fi
17134else
17135 ac_cpp_err=yes
17136fi
17137if test -z "$ac_cpp_err"; then
17138 # Broken: success on invalid input.
17139continue
17140else
17141 echo "$as_me: failed program was:" >&5
17142sed 's/^/| /' conftest.$ac_ext >&5
17143
17144 # Passes both tests.
17145ac_preproc_ok=:
17146break
17147fi
17148rm -f conftest.err conftest.$ac_ext
17149
17150done
17151# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17152rm -f conftest.err conftest.$ac_ext
17153if $ac_preproc_ok; then
17154 :
17155else
17156 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17157See \`config.log' for more details." >&5
17158echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17159See \`config.log' for more details." >&2;}
17160 { (exit 1); exit 1; }; }
17161fi
17162
17163ac_ext=cc
17164ac_cpp='$CXXCPP $CPPFLAGS'
17165ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17166ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17167ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17168
17169
17170
17171 if test "$cross_compiling" = "yes"; then
17172 cat >>confdefs.h <<\_ACEOF
17173#define wxUSE_IOSTREAMH 1
17174_ACEOF
17175
17176 else
17177
17178
17179 ac_ext=cc
17180ac_cpp='$CXXCPP $CPPFLAGS'
17181ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17184
17185
17186
17187for ac_header in iostream
17188do
17189as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17190if eval "test \"\${$as_ac_Header+set}\" = set"; then
17191 echo "$as_me:$LINENO: checking for $ac_header" >&5
17192echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17193if eval "test \"\${$as_ac_Header+set}\" = set"; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195fi
17196echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17197echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17198else
17199 # Is the header compilable?
17200echo "$as_me:$LINENO: checking $ac_header usability" >&5
17201echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17202cat >conftest.$ac_ext <<_ACEOF
17203#line $LINENO "configure"
17204/* confdefs.h. */
17205_ACEOF
17206cat confdefs.h >>conftest.$ac_ext
17207cat >>conftest.$ac_ext <<_ACEOF
17208/* end confdefs.h. */
17209$ac_includes_default
17210#include <$ac_header>
17211_ACEOF
17212rm -f conftest.$ac_objext
17213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17214 (eval $ac_compile) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_header_compiler=yes
17225else
17226 echo "$as_me: failed program was:" >&5
17227sed 's/^/| /' conftest.$ac_ext >&5
17228
17229ac_header_compiler=no
17230fi
17231rm -f conftest.$ac_objext conftest.$ac_ext
17232echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17233echo "${ECHO_T}$ac_header_compiler" >&6
17234
17235# Is the header present?
17236echo "$as_me:$LINENO: checking $ac_header presence" >&5
17237echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17238cat >conftest.$ac_ext <<_ACEOF
17239#line $LINENO "configure"
17240/* confdefs.h. */
17241_ACEOF
17242cat confdefs.h >>conftest.$ac_ext
17243cat >>conftest.$ac_ext <<_ACEOF
17244/* end confdefs.h. */
17245#include <$ac_header>
17246_ACEOF
17247if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17249 ac_status=$?
17250 grep -v '^ *+' conftest.er1 >conftest.err
17251 rm -f conftest.er1
17252 cat conftest.err >&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } >/dev/null; then
17255 if test -s conftest.err; then
17256 ac_cpp_err=$ac_cxx_preproc_warn_flag
17257 else
17258 ac_cpp_err=
17259 fi
17260else
17261 ac_cpp_err=yes
17262fi
17263if test -z "$ac_cpp_err"; then
17264 ac_header_preproc=yes
17265else
17266 echo "$as_me: failed program was:" >&5
17267sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 ac_header_preproc=no
17270fi
17271rm -f conftest.err conftest.$ac_ext
17272echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17273echo "${ECHO_T}$ac_header_preproc" >&6
17274
17275# So? What about this header?
17276case $ac_header_compiler:$ac_header_preproc in
17277 yes:no )
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17279echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17281echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17282 (
17283 cat <<\_ASBOX
17284## ------------------------------------ ##
17285## Report this to bug-autoconf@gnu.org. ##
17286## ------------------------------------ ##
17287_ASBOX
17288 ) |
17289 sed "s/^/$as_me: WARNING: /" >&2
17290 ;;
17291 no:yes )
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17293echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17295echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17297echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17298 (
17299 cat <<\_ASBOX
17300## ------------------------------------ ##
17301## Report this to bug-autoconf@gnu.org. ##
17302## ------------------------------------ ##
17303_ASBOX
17304 ) |
17305 sed "s/^/$as_me: WARNING: /" >&2
17306 ;;
17307esac
17308echo "$as_me:$LINENO: checking for $ac_header" >&5
17309echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17310if eval "test \"\${$as_ac_Header+set}\" = set"; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17312else
17313 eval "$as_ac_Header=$ac_header_preproc"
17314fi
17315echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17316echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17317
17318fi
17319if test `eval echo '${'$as_ac_Header'}'` = yes; then
17320 cat >>confdefs.h <<_ACEOF
17321#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17322_ACEOF
17323
17324fi
17325
17326done
17327
17328
17329 if test "$ac_cv_header_iostream" = "yes" ; then
17330 :
17331 else
17332 cat >>confdefs.h <<\_ACEOF
17333#define wxUSE_IOSTREAMH 1
17334_ACEOF
17335
17336 fi
17337
17338 ac_ext=c
17339ac_cpp='$CPP $CPPFLAGS'
17340ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342ac_compiler_gnu=$ac_cv_c_compiler_gnu
17343
17344 fi
17345
17346
17347
17348 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17349echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17350if test "${wx_cv_cpp_bool+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17352else
17353
17354
17355
17356 ac_ext=cc
17357ac_cpp='$CXXCPP $CPPFLAGS'
17358ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17361
17362
17363 cat >conftest.$ac_ext <<_ACEOF
17364#line $LINENO "configure"
17365/* confdefs.h. */
17366_ACEOF
17367cat confdefs.h >>conftest.$ac_ext
17368cat >>conftest.$ac_ext <<_ACEOF
17369/* end confdefs.h. */
17370
17371
17372int
17373main ()
17374{
17375
17376 bool b = true;
17377
17378 return 0;
17379
17380 ;
17381 return 0;
17382}
17383_ACEOF
17384rm -f conftest.$ac_objext
17385if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>&5
17387 ac_status=$?
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try='test -s conftest.$ac_objext'
17391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17392 (eval $ac_try) 2>&5
17393 ac_status=$?
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); }; }; then
17396
17397 wx_cv_cpp_bool=yes
17398
17399else
17400 echo "$as_me: failed program was:" >&5
17401sed 's/^/| /' conftest.$ac_ext >&5
17402
17403
17404 wx_cv_cpp_bool=no
17405
17406
17407fi
17408rm -f conftest.$ac_objext conftest.$ac_ext
17409
17410 ac_ext=c
17411ac_cpp='$CPP $CPPFLAGS'
17412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414ac_compiler_gnu=$ac_cv_c_compiler_gnu
17415
17416
17417fi
17418echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17419echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17420
17421 if test "$wx_cv_cpp_bool" = "yes"; then
17422 cat >>confdefs.h <<\_ACEOF
17423#define HAVE_BOOL 1
17424_ACEOF
17425
17426 fi
17427
17428
17429
17430 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17431echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17432if test "${wx_cv_explicit+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17434else
17435
17436
17437
17438 ac_ext=cc
17439ac_cpp='$CXXCPP $CPPFLAGS'
17440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17443
17444
17445 cat >conftest.$ac_ext <<_ACEOF
17446#line $LINENO "configure"
17447/* confdefs.h. */
17448_ACEOF
17449cat confdefs.h >>conftest.$ac_ext
17450cat >>conftest.$ac_ext <<_ACEOF
17451/* end confdefs.h. */
17452
17453 class Foo { public: explicit Foo(int) {} };
17454
17455int
17456main ()
17457{
17458
17459 return 0;
17460
17461 ;
17462 return 0;
17463}
17464_ACEOF
17465rm -f conftest.$ac_objext
17466if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17467 (eval $ac_compile) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477
17478 cat >conftest.$ac_ext <<_ACEOF
17479#line $LINENO "configure"
17480/* confdefs.h. */
17481_ACEOF
17482cat confdefs.h >>conftest.$ac_ext
17483cat >>conftest.$ac_ext <<_ACEOF
17484/* end confdefs.h. */
17485
17486 class Foo { public: explicit Foo(int) {} };
17487 static void TakeFoo(const Foo& foo) { }
17488
17489int
17490main ()
17491{
17492
17493 TakeFoo(17);
17494 return 0;
17495
17496 ;
17497 return 0;
17498}
17499_ACEOF
17500rm -f conftest.$ac_objext
17501if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>&5
17503 ac_status=$?
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try='test -s conftest.$ac_objext'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; }; then
17512 wx_cv_explicit=no
17513else
17514 echo "$as_me: failed program was:" >&5
17515sed 's/^/| /' conftest.$ac_ext >&5
17516
17517wx_cv_explicit=yes
17518
17519fi
17520rm -f conftest.$ac_objext conftest.$ac_ext
17521
17522else
17523 echo "$as_me: failed program was:" >&5
17524sed 's/^/| /' conftest.$ac_ext >&5
17525
17526wx_cv_explicit=no
17527
17528fi
17529rm -f conftest.$ac_objext conftest.$ac_ext
17530
17531 ac_ext=c
17532ac_cpp='$CPP $CPPFLAGS'
17533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535ac_compiler_gnu=$ac_cv_c_compiler_gnu
17536
17537
17538fi
17539echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17540echo "${ECHO_T}$wx_cv_explicit" >&6
17541
17542 if test "$wx_cv_explicit" = "yes"; then
17543 cat >>confdefs.h <<\_ACEOF
17544#define HAVE_EXPLICIT 1
17545_ACEOF
17546
17547 fi
17548
17549
17550echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17551echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17552if test "${ac_cv_cxx_const_cast+set}" = set; then
17553 echo $ECHO_N "(cached) $ECHO_C" >&6
17554else
17555
17556
17557 ac_ext=cc
17558ac_cpp='$CXXCPP $CPPFLAGS'
17559ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17562
17563 cat >conftest.$ac_ext <<_ACEOF
17564#line $LINENO "configure"
17565/* confdefs.h. */
17566_ACEOF
17567cat confdefs.h >>conftest.$ac_ext
17568cat >>conftest.$ac_ext <<_ACEOF
17569/* end confdefs.h. */
17570
17571int
17572main ()
17573{
17574int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17575 ;
17576 return 0;
17577}
17578_ACEOF
17579rm -f conftest.$ac_objext
17580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17581 (eval $ac_compile) 2>&5
17582 ac_status=$?
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try='test -s conftest.$ac_objext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17588 ac_status=$?
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_cxx_const_cast=yes
17592else
17593 echo "$as_me: failed program was:" >&5
17594sed 's/^/| /' conftest.$ac_ext >&5
17595
17596ac_cv_cxx_const_cast=no
17597fi
17598rm -f conftest.$ac_objext conftest.$ac_ext
17599 ac_ext=c
17600ac_cpp='$CPP $CPPFLAGS'
17601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603ac_compiler_gnu=$ac_cv_c_compiler_gnu
17604
17605
17606fi
17607echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17608echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17609if test "$ac_cv_cxx_const_cast" = yes; then
17610
17611cat >>confdefs.h <<\_ACEOF
17612#define HAVE_CONST_CAST
17613_ACEOF
17614
17615fi
17616
17617
17618if test "$wxUSE_STL" = "yes"; then
17619 ac_ext=cc
17620ac_cpp='$CXXCPP $CPPFLAGS'
17621ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17624
17625
17626 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17627echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17628 cat >conftest.$ac_ext <<_ACEOF
17629#line $LINENO "configure"
17630/* confdefs.h. */
17631_ACEOF
17632cat confdefs.h >>conftest.$ac_ext
17633cat >>conftest.$ac_ext <<_ACEOF
17634/* end confdefs.h. */
17635#include <string>
17636 #include <functional>
17637 #include <algorithm>
17638 #include <vector>
17639 #include <list>
17640int
17641main ()
17642{
17643std::vector<int> moo;
17644 std::list<int> foo;
17645 std::vector<int>::iterator it =
17646 std::find_if(moo.begin(), moo.end(),
17647 std::bind2nd(std::less<int>(), 3));
17648 ;
17649 return 0;
17650}
17651_ACEOF
17652rm -f conftest.$ac_objext
17653if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17654 (eval $ac_compile) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 echo "$as_me:$LINENO: result: yes" >&5
17665echo "${ECHO_T}yes" >&6
17666else
17667 echo "$as_me: failed program was:" >&5
17668sed 's/^/| /' conftest.$ac_ext >&5
17669
17670echo "$as_me:$LINENO: result: no" >&5
17671echo "${ECHO_T}no" >&6
17672 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17673echo "$as_me: error: Basic STL functionality missing" >&2;}
17674 { (exit 1); exit 1; }; }
17675fi
17676rm -f conftest.$ac_objext conftest.$ac_ext
17677
17678 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17679echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17680 cat >conftest.$ac_ext <<_ACEOF
17681#line $LINENO "configure"
17682/* confdefs.h. */
17683_ACEOF
17684cat confdefs.h >>conftest.$ac_ext
17685cat >>conftest.$ac_ext <<_ACEOF
17686/* end confdefs.h. */
17687#include <string>
17688int
17689main ()
17690{
17691std::wstring foo;
17692 ;
17693 return 0;
17694}
17695_ACEOF
17696rm -f conftest.$ac_objext
17697if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 echo "$as_me:$LINENO: result: yes" >&5
17709echo "${ECHO_T}yes" >&6
17710 cat >>confdefs.h <<\_ACEOF
17711#define HAVE_STD_WSTRING 1
17712_ACEOF
17713
17714else
17715 echo "$as_me: failed program was:" >&5
17716sed 's/^/| /' conftest.$ac_ext >&5
17717
17718echo "$as_me:$LINENO: result: no" >&5
17719echo "${ECHO_T}no" >&6
17720fi
17721rm -f conftest.$ac_objext conftest.$ac_ext
17722
17723 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17724echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17725 cat >conftest.$ac_ext <<_ACEOF
17726#line $LINENO "configure"
17727/* confdefs.h. */
17728_ACEOF
17729cat confdefs.h >>conftest.$ac_ext
17730cat >>conftest.$ac_ext <<_ACEOF
17731/* end confdefs.h. */
17732#include <string>
17733int
17734main ()
17735{
17736std::string foo, bar;
17737 foo.compare(bar);
17738 foo.compare(1, 1, bar);
17739 foo.compare(1, 1, bar, 1, 1);
17740 foo.compare("");
17741 foo.compare(1, 1, "");
17742 foo.compare(1, 1, "", 2);
17743 ;
17744 return 0;
17745}
17746_ACEOF
17747rm -f conftest.$ac_objext
17748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>&5
17750 ac_status=$?
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } &&
17753 { ac_try='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17756 ac_status=$?
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 echo "$as_me:$LINENO: result: yes" >&5
17760echo "${ECHO_T}yes" >&6
17761 cat >>confdefs.h <<\_ACEOF
17762#define HAVE_STD_STRING_COMPARE 1
17763_ACEOF
17764
17765else
17766 echo "$as_me: failed program was:" >&5
17767sed 's/^/| /' conftest.$ac_ext >&5
17768
17769echo "$as_me:$LINENO: result: no" >&5
17770echo "${ECHO_T}no" >&6
17771fi
17772rm -f conftest.$ac_objext conftest.$ac_ext
17773
17774 ac_ext=c
17775ac_cpp='$CPP $CPPFLAGS'
17776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779
17780fi
17781
17782
17783SEARCH_INCLUDE="\
17784 /usr/local/include \
17785 \
17786 /usr/Motif-1.2/include \
17787 /usr/Motif-2.1/include \
17788 \
17789 /usr/include/Motif1.2 \
17790 /opt/xpm/include/X11 \
17791 /opt/GBxpm/include/ \
17792 /opt/GBxpm/X11/include/ \
17793 \
17794 /usr/Motif1.2/include \
17795 /usr/dt/include \
17796 /usr/openwin/include \
17797 \
17798 /usr/include/Xm \
17799 \
17800 /usr/X11R6/include \
17801 /usr/X11R6.4/include \
17802 /usr/X11R5/include \
17803 /usr/X11R4/include \
17804 \
17805 /usr/include/X11R6 \
17806 /usr/include/X11R5 \
17807 /usr/include/X11R4 \
17808 \
17809 /usr/local/X11R6/include \
17810 /usr/local/X11R5/include \
17811 /usr/local/X11R4/include \
17812 \
17813 /usr/local/include/X11R6 \
17814 /usr/local/include/X11R5 \
17815 /usr/local/include/X11R4 \
17816 \
17817 /usr/X11/include \
17818 /usr/include/X11 \
17819 /usr/local/X11/include \
17820 /usr/local/include/X11 \
17821 \
17822 /usr/X386/include \
17823 /usr/x386/include \
17824 /usr/XFree86/include/X11 \
17825 \
17826 X:/XFree86/include \
17827 X:/XFree86/include/X11 \
17828 \
17829 /usr/include/gtk \
17830 /usr/local/include/gtk \
17831 /usr/include/glib \
17832 /usr/local/include/glib \
17833 \
17834 /usr/include/qt \
17835 /usr/local/include/qt \
17836 \
17837 /usr/include/windows \
17838 /usr/include/wine \
17839 /usr/local/include/wine \
17840 \
17841 /usr/unsupported/include \
17842 /usr/athena/include \
17843 /usr/local/x11r5/include \
17844 /usr/lpp/Xamples/include \
17845 \
17846 /usr/openwin/share/include"
17847
17848SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17849
17850
17851cat >confcache <<\_ACEOF
17852# This file is a shell script that caches the results of configure
17853# tests run on this system so they can be shared between configure
17854# scripts and configure runs, see configure's option --config-cache.
17855# It is not useful on other systems. If it contains results you don't
17856# want to keep, you may remove or edit it.
17857#
17858# config.status only pays attention to the cache file if you give it
17859# the --recheck option to rerun configure.
17860#
17861# `ac_cv_env_foo' variables (set or unset) will be overridden when
17862# loading this file, other *unset* `ac_cv_foo' will be assigned the
17863# following values.
17864
17865_ACEOF
17866
17867# The following way of writing the cache mishandles newlines in values,
17868# but we know of no workaround that is simple, portable, and efficient.
17869# So, don't put newlines in cache variables' values.
17870# Ultrix sh set writes to stderr and can't be redirected directly,
17871# and sets the high bit in the cache file unless we assign to the vars.
17872{
17873 (set) 2>&1 |
17874 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17875 *ac_space=\ *)
17876 # `set' does not quote correctly, so add quotes (double-quote
17877 # substitution turns \\\\ into \\, and sed turns \\ into \).
17878 sed -n \
17879 "s/'/'\\\\''/g;
17880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17881 ;;
17882 *)
17883 # `set' quotes correctly as required by POSIX, so do not add quotes.
17884 sed -n \
17885 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17886 ;;
17887 esac;
17888} |
17889 sed '
17890 t clear
17891 : clear
17892 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17893 t end
17894 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17895 : end' >>confcache
17896if diff $cache_file confcache >/dev/null 2>&1; then :; else
17897 if test -w $cache_file; then
17898 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17899 cat confcache >$cache_file
17900 else
17901 echo "not updating unwritable cache $cache_file"
17902 fi
17903fi
17904rm -f confcache
17905
17906if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17907 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17908echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17909if test "${wx_cv_lib_glibc21+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17911else
17912
17913 cat >conftest.$ac_ext <<_ACEOF
17914#line $LINENO "configure"
17915/* confdefs.h. */
17916_ACEOF
17917cat confdefs.h >>conftest.$ac_ext
17918cat >>conftest.$ac_ext <<_ACEOF
17919/* end confdefs.h. */
17920#include <features.h>
17921int
17922main ()
17923{
17924
17925 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17926 #error not glibc2.1
17927 #endif
17928
17929 ;
17930 return 0;
17931}
17932_ACEOF
17933rm -f conftest.$ac_objext
17934if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17935 (eval $ac_compile) 2>&5
17936 ac_status=$?
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } &&
17939 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17945
17946 wx_cv_lib_glibc21=yes
17947
17948else
17949 echo "$as_me: failed program was:" >&5
17950sed 's/^/| /' conftest.$ac_ext >&5
17951
17952
17953 wx_cv_lib_glibc21=no
17954
17955
17956fi
17957rm -f conftest.$ac_objext conftest.$ac_ext
17958
17959fi
17960echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17961echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17962 if test "$wx_cv_lib_glibc21" = "yes"; then
17963 cat >>confdefs.h <<\_ACEOF
17964#define wxHAVE_GLIBC2 1
17965_ACEOF
17966
17967 fi
17968fi
17969
17970if test "x$wx_cv_lib_glibc21" = "xyes"; then
17971 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17972 cat >>confdefs.h <<\_ACEOF
17973#define _GNU_SOURCE 1
17974_ACEOF
17975
17976 fi
17977fi
17978
17979
17980
17981REGEX_INCLUDE=
17982if test "$wxUSE_REGEX" != "no"; then
17983 cat >>confdefs.h <<\_ACEOF
17984#define wxUSE_REGEX 1
17985_ACEOF
17986
17987
17988 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17989 if test "${ac_cv_header_regex_h+set}" = set; then
17990 echo "$as_me:$LINENO: checking for regex.h" >&5
17991echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17992if test "${ac_cv_header_regex_h+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17994fi
17995echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17996echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17997else
17998 # Is the header compilable?
17999echo "$as_me:$LINENO: checking regex.h usability" >&5
18000echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18001cat >conftest.$ac_ext <<_ACEOF
18002#line $LINENO "configure"
18003/* confdefs.h. */
18004_ACEOF
18005cat confdefs.h >>conftest.$ac_ext
18006cat >>conftest.$ac_ext <<_ACEOF
18007/* end confdefs.h. */
18008$ac_includes_default
18009#include <regex.h>
18010_ACEOF
18011rm -f conftest.$ac_objext
18012if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18013 (eval $ac_compile) 2>&5
18014 ac_status=$?
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try='test -s conftest.$ac_objext'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18020 ac_status=$?
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; }; then
18023 ac_header_compiler=yes
18024else
18025 echo "$as_me: failed program was:" >&5
18026sed 's/^/| /' conftest.$ac_ext >&5
18027
18028ac_header_compiler=no
18029fi
18030rm -f conftest.$ac_objext conftest.$ac_ext
18031echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18032echo "${ECHO_T}$ac_header_compiler" >&6
18033
18034# Is the header present?
18035echo "$as_me:$LINENO: checking regex.h presence" >&5
18036echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18037cat >conftest.$ac_ext <<_ACEOF
18038#line $LINENO "configure"
18039/* confdefs.h. */
18040_ACEOF
18041cat confdefs.h >>conftest.$ac_ext
18042cat >>conftest.$ac_ext <<_ACEOF
18043/* end confdefs.h. */
18044#include <regex.h>
18045_ACEOF
18046if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18048 ac_status=$?
18049 grep -v '^ *+' conftest.er1 >conftest.err
18050 rm -f conftest.er1
18051 cat conftest.err >&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } >/dev/null; then
18054 if test -s conftest.err; then
18055 ac_cpp_err=$ac_c_preproc_warn_flag
18056 else
18057 ac_cpp_err=
18058 fi
18059else
18060 ac_cpp_err=yes
18061fi
18062if test -z "$ac_cpp_err"; then
18063 ac_header_preproc=yes
18064else
18065 echo "$as_me: failed program was:" >&5
18066sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 ac_header_preproc=no
18069fi
18070rm -f conftest.err conftest.$ac_ext
18071echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18072echo "${ECHO_T}$ac_header_preproc" >&6
18073
18074# So? What about this header?
18075case $ac_header_compiler:$ac_header_preproc in
18076 yes:no )
18077 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18078echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18079 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18080echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18081 (
18082 cat <<\_ASBOX
18083## ------------------------------------ ##
18084## Report this to bug-autoconf@gnu.org. ##
18085## ------------------------------------ ##
18086_ASBOX
18087 ) |
18088 sed "s/^/$as_me: WARNING: /" >&2
18089 ;;
18090 no:yes )
18091 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18092echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18093 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18094echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18095 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18096echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18097 (
18098 cat <<\_ASBOX
18099## ------------------------------------ ##
18100## Report this to bug-autoconf@gnu.org. ##
18101## ------------------------------------ ##
18102_ASBOX
18103 ) |
18104 sed "s/^/$as_me: WARNING: /" >&2
18105 ;;
18106esac
18107echo "$as_me:$LINENO: checking for regex.h" >&5
18108echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18109if test "${ac_cv_header_regex_h+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18111else
18112 ac_cv_header_regex_h=$ac_header_preproc
18113fi
18114echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18115echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18116
18117fi
18118if test $ac_cv_header_regex_h = yes; then
18119
18120for ac_func in regcomp
18121do
18122as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18123echo "$as_me:$LINENO: checking for $ac_func" >&5
18124echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18125if eval "test \"\${$as_ac_var+set}\" = set"; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127else
18128 cat >conftest.$ac_ext <<_ACEOF
18129#line $LINENO "configure"
18130/* confdefs.h. */
18131_ACEOF
18132cat confdefs.h >>conftest.$ac_ext
18133cat >>conftest.$ac_ext <<_ACEOF
18134/* end confdefs.h. */
18135/* System header to define __stub macros and hopefully few prototypes,
18136 which can conflict with char $ac_func (); below.
18137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18138 <limits.h> exists even on freestanding compilers. */
18139#ifdef __STDC__
18140# include <limits.h>
18141#else
18142# include <assert.h>
18143#endif
18144/* Override any gcc2 internal prototype to avoid an error. */
18145#ifdef __cplusplus
18146extern "C"
18147{
18148#endif
18149/* We use char because int might match the return type of a gcc2
18150 builtin and then its argument prototype would still apply. */
18151char $ac_func ();
18152/* The GNU C library defines this for functions which it implements
18153 to always fail with ENOSYS. Some functions are actually named
18154 something starting with __ and the normal name is an alias. */
18155#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18156choke me
18157#else
18158char (*f) () = $ac_func;
18159#endif
18160#ifdef __cplusplus
18161}
18162#endif
18163
18164int
18165main ()
18166{
18167return f != $ac_func;
18168 ;
18169 return 0;
18170}
18171_ACEOF
18172rm -f conftest.$ac_objext conftest$ac_exeext
18173if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174 (eval $ac_link) 2>&5
18175 ac_status=$?
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try='test -s conftest$ac_exeext'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; }; then
18184 eval "$as_ac_var=yes"
18185else
18186 echo "$as_me: failed program was:" >&5
18187sed 's/^/| /' conftest.$ac_ext >&5
18188
18189eval "$as_ac_var=no"
18190fi
18191rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18192fi
18193echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18194echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18195if test `eval echo '${'$as_ac_var'}'` = yes; then
18196 cat >>confdefs.h <<_ACEOF
18197#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18198_ACEOF
18199
18200fi
18201done
18202
18203fi
18204
18205
18206
18207 if test "x$ac_cv_func_regcomp" != "xyes"; then
18208 if test "$wxUSE_REGEX" = "sys" ; then
18209 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18210echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18211 { (exit 1); exit 1; }; }
18212 else
18213 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18214echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18215 wxUSE_REGEX=builtin
18216 fi
18217 else
18218 wxUSE_REGEX=sys
18219 fi
18220 fi
18221
18222 if test "$wxUSE_REGEX" = "builtin" ; then
18223 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18224 fi
18225fi
18226
18227
18228ZLIB_INCLUDE=
18229ZLIB_LINK=
18230if test "$wxUSE_ZLIB" != "no" ; then
18231 cat >>confdefs.h <<\_ACEOF
18232#define wxUSE_ZLIB 1
18233_ACEOF
18234
18235
18236 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18237 if test "$USE_DARWIN" = 1; then
18238 system_zlib_h_ok="yes"
18239 else
18240 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18241echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18242if test "${ac_cv_header_zlib_h+set}" = set; then
18243 echo $ECHO_N "(cached) $ECHO_C" >&6
18244else
18245 if test "$cross_compiling" = yes; then
18246 unset ac_cv_header_zlib_h
18247
18248else
18249 cat >conftest.$ac_ext <<_ACEOF
18250#line $LINENO "configure"
18251/* confdefs.h. */
18252_ACEOF
18253cat confdefs.h >>conftest.$ac_ext
18254cat >>conftest.$ac_ext <<_ACEOF
18255/* end confdefs.h. */
18256
18257 #include <zlib.h>
18258 #include <stdio.h>
18259
18260 int main()
18261 {
18262 FILE *f=fopen("conftestval", "w");
18263 if (!f) exit(1);
18264 fprintf(f, "%s",
18265 ZLIB_VERSION[0] == '1' &&
18266 (ZLIB_VERSION[2] > '1' ||
18267 (ZLIB_VERSION[2] == '1' &&
18268 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18269 exit(0);
18270 }
18271
18272_ACEOF
18273rm -f conftest$ac_exeext
18274if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18275 (eval $ac_link) 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 ac_cv_header_zlib_h=`cat conftestval`
18285else
18286 echo "$as_me: program exited with status $ac_status" >&5
18287echo "$as_me: failed program was:" >&5
18288sed 's/^/| /' conftest.$ac_ext >&5
18289
18290( exit $ac_status )
18291ac_cv_header_zlib_h=no
18292fi
18293rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18294fi
18295
18296fi
18297echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18298echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18299 if test "${ac_cv_header_zlib_h+set}" = set; then
18300 echo "$as_me:$LINENO: checking for zlib.h" >&5
18301echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18302if test "${ac_cv_header_zlib_h+set}" = set; then
18303 echo $ECHO_N "(cached) $ECHO_C" >&6
18304fi
18305echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18306echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18307else
18308 # Is the header compilable?
18309echo "$as_me:$LINENO: checking zlib.h usability" >&5
18310echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18311cat >conftest.$ac_ext <<_ACEOF
18312#line $LINENO "configure"
18313/* confdefs.h. */
18314_ACEOF
18315cat confdefs.h >>conftest.$ac_ext
18316cat >>conftest.$ac_ext <<_ACEOF
18317/* end confdefs.h. */
18318$ac_includes_default
18319#include <zlib.h>
18320_ACEOF
18321rm -f conftest.$ac_objext
18322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 ac_header_compiler=yes
18334else
18335 echo "$as_me: failed program was:" >&5
18336sed 's/^/| /' conftest.$ac_ext >&5
18337
18338ac_header_compiler=no
18339fi
18340rm -f conftest.$ac_objext conftest.$ac_ext
18341echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18342echo "${ECHO_T}$ac_header_compiler" >&6
18343
18344# Is the header present?
18345echo "$as_me:$LINENO: checking zlib.h presence" >&5
18346echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18347cat >conftest.$ac_ext <<_ACEOF
18348#line $LINENO "configure"
18349/* confdefs.h. */
18350_ACEOF
18351cat confdefs.h >>conftest.$ac_ext
18352cat >>conftest.$ac_ext <<_ACEOF
18353/* end confdefs.h. */
18354#include <zlib.h>
18355_ACEOF
18356if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } >/dev/null; then
18364 if test -s conftest.err; then
18365 ac_cpp_err=$ac_c_preproc_warn_flag
18366 else
18367 ac_cpp_err=
18368 fi
18369else
18370 ac_cpp_err=yes
18371fi
18372if test -z "$ac_cpp_err"; then
18373 ac_header_preproc=yes
18374else
18375 echo "$as_me: failed program was:" >&5
18376sed 's/^/| /' conftest.$ac_ext >&5
18377
18378 ac_header_preproc=no
18379fi
18380rm -f conftest.err conftest.$ac_ext
18381echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18382echo "${ECHO_T}$ac_header_preproc" >&6
18383
18384# So? What about this header?
18385case $ac_header_compiler:$ac_header_preproc in
18386 yes:no )
18387 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18388echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18389 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18390echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18391 (
18392 cat <<\_ASBOX
18393## ------------------------------------ ##
18394## Report this to bug-autoconf@gnu.org. ##
18395## ------------------------------------ ##
18396_ASBOX
18397 ) |
18398 sed "s/^/$as_me: WARNING: /" >&2
18399 ;;
18400 no:yes )
18401 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18402echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18403 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18404echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18405 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18406echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18407 (
18408 cat <<\_ASBOX
18409## ------------------------------------ ##
18410## Report this to bug-autoconf@gnu.org. ##
18411## ------------------------------------ ##
18412_ASBOX
18413 ) |
18414 sed "s/^/$as_me: WARNING: /" >&2
18415 ;;
18416esac
18417echo "$as_me:$LINENO: checking for zlib.h" >&5
18418echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18419if test "${ac_cv_header_zlib_h+set}" = set; then
18420 echo $ECHO_N "(cached) $ECHO_C" >&6
18421else
18422 ac_cv_header_zlib_h=$ac_header_preproc
18423fi
18424echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18425echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18426
18427fi
18428
18429
18430
18431 system_zlib_h_ok=$ac_cv_header_zlib_h
18432 fi
18433
18434 if test "$system_zlib_h_ok" = "yes"; then
18435 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18436echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18437if test "${ac_cv_lib_z_deflate+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18439else
18440 ac_check_lib_save_LIBS=$LIBS
18441LIBS="-lz $LIBS"
18442cat >conftest.$ac_ext <<_ACEOF
18443#line $LINENO "configure"
18444/* confdefs.h. */
18445_ACEOF
18446cat confdefs.h >>conftest.$ac_ext
18447cat >>conftest.$ac_ext <<_ACEOF
18448/* end confdefs.h. */
18449
18450/* Override any gcc2 internal prototype to avoid an error. */
18451#ifdef __cplusplus
18452extern "C"
18453#endif
18454/* We use char because int might match the return type of a gcc2
18455 builtin and then its argument prototype would still apply. */
18456char deflate ();
18457int
18458main ()
18459{
18460deflate ();
18461 ;
18462 return 0;
18463}
18464_ACEOF
18465rm -f conftest.$ac_objext conftest$ac_exeext
18466if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18467 (eval $ac_link) 2>&5
18468 ac_status=$?
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try='test -s conftest$ac_exeext'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18474 ac_status=$?
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; }; then
18477 ac_cv_lib_z_deflate=yes
18478else
18479 echo "$as_me: failed program was:" >&5
18480sed 's/^/| /' conftest.$ac_ext >&5
18481
18482ac_cv_lib_z_deflate=no
18483fi
18484rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18485LIBS=$ac_check_lib_save_LIBS
18486fi
18487echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18488echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18489if test $ac_cv_lib_z_deflate = yes; then
18490 ZLIB_LINK=" -lz"
18491fi
18492
18493 fi
18494
18495 if test "x$ZLIB_LINK" = "x" ; then
18496 if test "$wxUSE_ZLIB" = "sys" ; then
18497 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18498echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18499 { (exit 1); exit 1; }; }
18500 else
18501 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18502echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18503 wxUSE_ZLIB=builtin
18504 fi
18505 else
18506 wxUSE_ZLIB=sys
18507 fi
18508 fi
18509
18510 if test "$wxUSE_ZLIB" = "builtin" ; then
18511 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18512 fi
18513fi
18514
18515
18516PNG_INCLUDE=
18517PNG_LINK=
18518if test "$wxUSE_LIBPNG" != "no" ; then
18519 cat >>confdefs.h <<\_ACEOF
18520#define wxUSE_LIBPNG 1
18521_ACEOF
18522
18523
18524 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18525 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18526echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18527 wxUSE_LIBPNG=sys
18528 fi
18529
18530 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18531 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18532echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18533 wxUSE_LIBPNG=builtin
18534 fi
18535
18536 if test "$wxUSE_MGL" != 1 ; then
18537 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18538 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18539echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18540if test "${ac_cv_header_png_h+set}" = set; then
18541 echo $ECHO_N "(cached) $ECHO_C" >&6
18542else
18543 if test "$cross_compiling" = yes; then
18544 unset ac_cv_header_png_h
18545
18546else
18547 cat >conftest.$ac_ext <<_ACEOF
18548#line $LINENO "configure"
18549/* confdefs.h. */
18550_ACEOF
18551cat confdefs.h >>conftest.$ac_ext
18552cat >>conftest.$ac_ext <<_ACEOF
18553/* end confdefs.h. */
18554
18555 #include <png.h>
18556 #include <stdio.h>
18557
18558 int main()
18559 {
18560 FILE *f=fopen("conftestval", "w");
18561 if (!f) exit(1);
18562 fprintf(f, "%s",
18563 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18564 exit(0);
18565 }
18566
18567_ACEOF
18568rm -f conftest$ac_exeext
18569if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_header_png_h=`cat conftestval`
18580else
18581 echo "$as_me: program exited with status $ac_status" >&5
18582echo "$as_me: failed program was:" >&5
18583sed 's/^/| /' conftest.$ac_ext >&5
18584
18585( exit $ac_status )
18586ac_cv_header_png_h=no
18587fi
18588rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18589fi
18590
18591fi
18592echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18593echo "${ECHO_T}$ac_cv_header_png_h" >&6
18594 if test "${ac_cv_header_png_h+set}" = set; then
18595 echo "$as_me:$LINENO: checking for png.h" >&5
18596echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18597if test "${ac_cv_header_png_h+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18599fi
18600echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18601echo "${ECHO_T}$ac_cv_header_png_h" >&6
18602else
18603 # Is the header compilable?
18604echo "$as_me:$LINENO: checking png.h usability" >&5
18605echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18606cat >conftest.$ac_ext <<_ACEOF
18607#line $LINENO "configure"
18608/* confdefs.h. */
18609_ACEOF
18610cat confdefs.h >>conftest.$ac_ext
18611cat >>conftest.$ac_ext <<_ACEOF
18612/* end confdefs.h. */
18613$ac_includes_default
18614#include <png.h>
18615_ACEOF
18616rm -f conftest.$ac_objext
18617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18618 (eval $ac_compile) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try='test -s conftest.$ac_objext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18625 ac_status=$?
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 ac_header_compiler=yes
18629else
18630 echo "$as_me: failed program was:" >&5
18631sed 's/^/| /' conftest.$ac_ext >&5
18632
18633ac_header_compiler=no
18634fi
18635rm -f conftest.$ac_objext conftest.$ac_ext
18636echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18637echo "${ECHO_T}$ac_header_compiler" >&6
18638
18639# Is the header present?
18640echo "$as_me:$LINENO: checking png.h presence" >&5
18641echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18642cat >conftest.$ac_ext <<_ACEOF
18643#line $LINENO "configure"
18644/* confdefs.h. */
18645_ACEOF
18646cat confdefs.h >>conftest.$ac_ext
18647cat >>conftest.$ac_ext <<_ACEOF
18648/* end confdefs.h. */
18649#include <png.h>
18650_ACEOF
18651if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18653 ac_status=$?
18654 grep -v '^ *+' conftest.er1 >conftest.err
18655 rm -f conftest.er1
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } >/dev/null; then
18659 if test -s conftest.err; then
18660 ac_cpp_err=$ac_c_preproc_warn_flag
18661 else
18662 ac_cpp_err=
18663 fi
18664else
18665 ac_cpp_err=yes
18666fi
18667if test -z "$ac_cpp_err"; then
18668 ac_header_preproc=yes
18669else
18670 echo "$as_me: failed program was:" >&5
18671sed 's/^/| /' conftest.$ac_ext >&5
18672
18673 ac_header_preproc=no
18674fi
18675rm -f conftest.err conftest.$ac_ext
18676echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18677echo "${ECHO_T}$ac_header_preproc" >&6
18678
18679# So? What about this header?
18680case $ac_header_compiler:$ac_header_preproc in
18681 yes:no )
18682 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18683echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18684 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18685echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18686 (
18687 cat <<\_ASBOX
18688## ------------------------------------ ##
18689## Report this to bug-autoconf@gnu.org. ##
18690## ------------------------------------ ##
18691_ASBOX
18692 ) |
18693 sed "s/^/$as_me: WARNING: /" >&2
18694 ;;
18695 no:yes )
18696 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18697echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18698 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18699echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18700 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18701echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18702 (
18703 cat <<\_ASBOX
18704## ------------------------------------ ##
18705## Report this to bug-autoconf@gnu.org. ##
18706## ------------------------------------ ##
18707_ASBOX
18708 ) |
18709 sed "s/^/$as_me: WARNING: /" >&2
18710 ;;
18711esac
18712echo "$as_me:$LINENO: checking for png.h" >&5
18713echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18714if test "${ac_cv_header_png_h+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716else
18717 ac_cv_header_png_h=$ac_header_preproc
18718fi
18719echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18720echo "${ECHO_T}$ac_cv_header_png_h" >&6
18721
18722fi
18723
18724
18725
18726 if test "$ac_cv_header_png_h" = "yes"; then
18727 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18728echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18729if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18731else
18732 ac_check_lib_save_LIBS=$LIBS
18733LIBS="-lpng -lz -lm $LIBS"
18734cat >conftest.$ac_ext <<_ACEOF
18735#line $LINENO "configure"
18736/* confdefs.h. */
18737_ACEOF
18738cat confdefs.h >>conftest.$ac_ext
18739cat >>conftest.$ac_ext <<_ACEOF
18740/* end confdefs.h. */
18741
18742/* Override any gcc2 internal prototype to avoid an error. */
18743#ifdef __cplusplus
18744extern "C"
18745#endif
18746/* We use char because int might match the return type of a gcc2
18747 builtin and then its argument prototype would still apply. */
18748char png_check_sig ();
18749int
18750main ()
18751{
18752png_check_sig ();
18753 ;
18754 return 0;
18755}
18756_ACEOF
18757rm -f conftest.$ac_objext conftest$ac_exeext
18758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18759 (eval $ac_link) 2>&5
18760 ac_status=$?
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try='test -s conftest$ac_exeext'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_cv_lib_png_png_check_sig=yes
18770else
18771 echo "$as_me: failed program was:" >&5
18772sed 's/^/| /' conftest.$ac_ext >&5
18773
18774ac_cv_lib_png_png_check_sig=no
18775fi
18776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18777LIBS=$ac_check_lib_save_LIBS
18778fi
18779echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18780echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18781if test $ac_cv_lib_png_png_check_sig = yes; then
18782 PNG_LINK=" -lpng"
18783fi
18784
18785 fi
18786
18787 if test "x$PNG_LINK" = "x" ; then
18788 if test "$wxUSE_LIBPNG" = "sys" ; then
18789 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18790echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18791 { (exit 1); exit 1; }; }
18792 else
18793 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18794echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18795 wxUSE_LIBPNG=builtin
18796 fi
18797 else
18798 wxUSE_LIBPNG=sys
18799 fi
18800 fi
18801 fi
18802
18803 if test "$wxUSE_LIBPNG" = "builtin" ; then
18804 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18805 fi
18806
18807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18808fi
18809
18810
18811JPEG_INCLUDE=
18812JPEG_LINK=
18813if test "$wxUSE_LIBJPEG" != "no" ; then
18814 cat >>confdefs.h <<\_ACEOF
18815#define wxUSE_LIBJPEG 1
18816_ACEOF
18817
18818
18819 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18820 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18821echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18822 wxUSE_LIBJPEG=sys
18823 fi
18824
18825 if test "$wxUSE_MGL" != 1 ; then
18826 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18827 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18828echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18829 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18830 echo $ECHO_N "(cached) $ECHO_C" >&6
18831else
18832 cat >conftest.$ac_ext <<_ACEOF
18833#line $LINENO "configure"
18834/* confdefs.h. */
18835_ACEOF
18836cat confdefs.h >>conftest.$ac_ext
18837cat >>conftest.$ac_ext <<_ACEOF
18838/* end confdefs.h. */
18839
18840 #undef HAVE_STDLIB_H
18841 #include <stdio.h>
18842 #include <jpeglib.h>
18843
18844int
18845main ()
18846{
18847
18848
18849 ;
18850 return 0;
18851}
18852_ACEOF
18853rm -f conftest.$ac_objext
18854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18855 (eval $ac_compile) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 ac_cv_header_jpeglib_h=yes
18866else
18867 echo "$as_me: failed program was:" >&5
18868sed 's/^/| /' conftest.$ac_ext >&5
18869
18870ac_cv_header_jpeglib_h=no
18871
18872fi
18873rm -f conftest.$ac_objext conftest.$ac_ext
18874
18875fi
18876
18877 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18878echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18879
18880 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18881 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18882echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18883if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18885else
18886 ac_check_lib_save_LIBS=$LIBS
18887LIBS="-ljpeg $LIBS"
18888cat >conftest.$ac_ext <<_ACEOF
18889#line $LINENO "configure"
18890/* confdefs.h. */
18891_ACEOF
18892cat confdefs.h >>conftest.$ac_ext
18893cat >>conftest.$ac_ext <<_ACEOF
18894/* end confdefs.h. */
18895
18896/* Override any gcc2 internal prototype to avoid an error. */
18897#ifdef __cplusplus
18898extern "C"
18899#endif
18900/* We use char because int might match the return type of a gcc2
18901 builtin and then its argument prototype would still apply. */
18902char jpeg_read_header ();
18903int
18904main ()
18905{
18906jpeg_read_header ();
18907 ;
18908 return 0;
18909}
18910_ACEOF
18911rm -f conftest.$ac_objext conftest$ac_exeext
18912if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18913 (eval $ac_link) 2>&5
18914 ac_status=$?
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try='test -s conftest$ac_exeext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18920 ac_status=$?
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18923 ac_cv_lib_jpeg_jpeg_read_header=yes
18924else
18925 echo "$as_me: failed program was:" >&5
18926sed 's/^/| /' conftest.$ac_ext >&5
18927
18928ac_cv_lib_jpeg_jpeg_read_header=no
18929fi
18930rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18931LIBS=$ac_check_lib_save_LIBS
18932fi
18933echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18934echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18935if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18936 JPEG_LINK=" -ljpeg"
18937fi
18938
18939 fi
18940
18941 if test "x$JPEG_LINK" = "x" ; then
18942 if test "$wxUSE_LIBJPEG" = "sys" ; then
18943 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18944echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18945 { (exit 1); exit 1; }; }
18946 else
18947 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18948echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18949 wxUSE_LIBJPEG=builtin
18950 fi
18951 else
18952 wxUSE_LIBJPEG=sys
18953 fi
18954 fi
18955 fi
18956
18957 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18958 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18959 fi
18960fi
18961
18962
18963TIFF_INCLUDE=
18964TIFF_LINK=
18965TIFF_PREREQ_LINKS=-lm
18966if test "$wxUSE_LIBTIFF" != "no" ; then
18967 cat >>confdefs.h <<\_ACEOF
18968#define wxUSE_LIBTIFF 1
18969_ACEOF
18970
18971
18972 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18973 if test "$wxUSE_LIBJPEG" = "sys"; then
18974 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18975 fi
18976 if test "$wxUSE_ZLIB" = "sys"; then
18977 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18978 fi
18979 if test "${ac_cv_header_tiffio_h+set}" = set; then
18980 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18981echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18982if test "${ac_cv_header_tiffio_h+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18984fi
18985echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18986echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18987else
18988 # Is the header compilable?
18989echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18990echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18991cat >conftest.$ac_ext <<_ACEOF
18992#line $LINENO "configure"
18993/* confdefs.h. */
18994_ACEOF
18995cat confdefs.h >>conftest.$ac_ext
18996cat >>conftest.$ac_ext <<_ACEOF
18997/* end confdefs.h. */
18998$ac_includes_default
18999#include <tiffio.h>
19000_ACEOF
19001rm -f conftest.$ac_objext
19002if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>&5
19004 ac_status=$?
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try='test -s conftest.$ac_objext'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; }; then
19013 ac_header_compiler=yes
19014else
19015 echo "$as_me: failed program was:" >&5
19016sed 's/^/| /' conftest.$ac_ext >&5
19017
19018ac_header_compiler=no
19019fi
19020rm -f conftest.$ac_objext conftest.$ac_ext
19021echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19022echo "${ECHO_T}$ac_header_compiler" >&6
19023
19024# Is the header present?
19025echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19026echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19027cat >conftest.$ac_ext <<_ACEOF
19028#line $LINENO "configure"
19029/* confdefs.h. */
19030_ACEOF
19031cat confdefs.h >>conftest.$ac_ext
19032cat >>conftest.$ac_ext <<_ACEOF
19033/* end confdefs.h. */
19034#include <tiffio.h>
19035_ACEOF
19036if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } >/dev/null; then
19044 if test -s conftest.err; then
19045 ac_cpp_err=$ac_c_preproc_warn_flag
19046 else
19047 ac_cpp_err=
19048 fi
19049else
19050 ac_cpp_err=yes
19051fi
19052if test -z "$ac_cpp_err"; then
19053 ac_header_preproc=yes
19054else
19055 echo "$as_me: failed program was:" >&5
19056sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 ac_header_preproc=no
19059fi
19060rm -f conftest.err conftest.$ac_ext
19061echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19062echo "${ECHO_T}$ac_header_preproc" >&6
19063
19064# So? What about this header?
19065case $ac_header_compiler:$ac_header_preproc in
19066 yes:no )
19067 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19068echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19069 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19070echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19071 (
19072 cat <<\_ASBOX
19073## ------------------------------------ ##
19074## Report this to bug-autoconf@gnu.org. ##
19075## ------------------------------------ ##
19076_ASBOX
19077 ) |
19078 sed "s/^/$as_me: WARNING: /" >&2
19079 ;;
19080 no:yes )
19081 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19082echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19083 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19084echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19085 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19086echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19087 (
19088 cat <<\_ASBOX
19089## ------------------------------------ ##
19090## Report this to bug-autoconf@gnu.org. ##
19091## ------------------------------------ ##
19092_ASBOX
19093 ) |
19094 sed "s/^/$as_me: WARNING: /" >&2
19095 ;;
19096esac
19097echo "$as_me:$LINENO: checking for tiffio.h" >&5
19098echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19099if test "${ac_cv_header_tiffio_h+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19101else
19102 ac_cv_header_tiffio_h=$ac_header_preproc
19103fi
19104echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19105echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19106
19107fi
19108if test $ac_cv_header_tiffio_h = yes; then
19109
19110 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19111echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19112if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19114else
19115 ac_check_lib_save_LIBS=$LIBS
19116LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19117cat >conftest.$ac_ext <<_ACEOF
19118#line $LINENO "configure"
19119/* confdefs.h. */
19120_ACEOF
19121cat confdefs.h >>conftest.$ac_ext
19122cat >>conftest.$ac_ext <<_ACEOF
19123/* end confdefs.h. */
19124
19125/* Override any gcc2 internal prototype to avoid an error. */
19126#ifdef __cplusplus
19127extern "C"
19128#endif
19129/* We use char because int might match the return type of a gcc2
19130 builtin and then its argument prototype would still apply. */
19131char TIFFError ();
19132int
19133main ()
19134{
19135TIFFError ();
19136 ;
19137 return 0;
19138}
19139_ACEOF
19140rm -f conftest.$ac_objext conftest$ac_exeext
19141if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19142 (eval $ac_link) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } &&
19146 { ac_try='test -s conftest$ac_exeext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19152 ac_cv_lib_tiff_TIFFError=yes
19153else
19154 echo "$as_me: failed program was:" >&5
19155sed 's/^/| /' conftest.$ac_ext >&5
19156
19157ac_cv_lib_tiff_TIFFError=no
19158fi
19159rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19160LIBS=$ac_check_lib_save_LIBS
19161fi
19162echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19163echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19164if test $ac_cv_lib_tiff_TIFFError = yes; then
19165 TIFF_LINK=" -ltiff"
19166fi
19167
19168
19169
19170fi
19171
19172
19173
19174 if test "x$TIFF_LINK" = "x" ; then
19175 if test "$wxUSE_LIBTIFF" = "sys" ; then
19176 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19177echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19178 { (exit 1); exit 1; }; }
19179 else
19180 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19181echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19182 wxUSE_LIBTIFF=builtin
19183 fi
19184 else
19185 wxUSE_LIBTIFF=sys
19186 fi
19187 fi
19188
19189 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19190 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19191 fi
19192fi
19193
19194
19195if test "$wxUSE_EXPAT" != "no"; then
19196 wxUSE_XML=yes
19197 cat >>confdefs.h <<\_ACEOF
19198#define wxUSE_EXPAT 1
19199_ACEOF
19200
19201 cat >>confdefs.h <<\_ACEOF
19202#define wxUSE_XML 1
19203_ACEOF
19204
19205
19206 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19207 if test "${ac_cv_header_expat_h+set}" = set; then
19208 echo "$as_me:$LINENO: checking for expat.h" >&5
19209echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19210if test "${ac_cv_header_expat_h+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19212fi
19213echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19214echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19215else
19216 # Is the header compilable?
19217echo "$as_me:$LINENO: checking expat.h usability" >&5
19218echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19219cat >conftest.$ac_ext <<_ACEOF
19220#line $LINENO "configure"
19221/* confdefs.h. */
19222_ACEOF
19223cat confdefs.h >>conftest.$ac_ext
19224cat >>conftest.$ac_ext <<_ACEOF
19225/* end confdefs.h. */
19226$ac_includes_default
19227#include <expat.h>
19228_ACEOF
19229rm -f conftest.$ac_objext
19230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>&5
19232 ac_status=$?
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } &&
19235 { ac_try='test -s conftest.$ac_objext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19238 ac_status=$?
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19241 ac_header_compiler=yes
19242else
19243 echo "$as_me: failed program was:" >&5
19244sed 's/^/| /' conftest.$ac_ext >&5
19245
19246ac_header_compiler=no
19247fi
19248rm -f conftest.$ac_objext conftest.$ac_ext
19249echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19250echo "${ECHO_T}$ac_header_compiler" >&6
19251
19252# Is the header present?
19253echo "$as_me:$LINENO: checking expat.h presence" >&5
19254echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19255cat >conftest.$ac_ext <<_ACEOF
19256#line $LINENO "configure"
19257/* confdefs.h. */
19258_ACEOF
19259cat confdefs.h >>conftest.$ac_ext
19260cat >>conftest.$ac_ext <<_ACEOF
19261/* end confdefs.h. */
19262#include <expat.h>
19263_ACEOF
19264if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } >/dev/null; then
19272 if test -s conftest.err; then
19273 ac_cpp_err=$ac_c_preproc_warn_flag
19274 else
19275 ac_cpp_err=
19276 fi
19277else
19278 ac_cpp_err=yes
19279fi
19280if test -z "$ac_cpp_err"; then
19281 ac_header_preproc=yes
19282else
19283 echo "$as_me: failed program was:" >&5
19284sed 's/^/| /' conftest.$ac_ext >&5
19285
19286 ac_header_preproc=no
19287fi
19288rm -f conftest.err conftest.$ac_ext
19289echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19290echo "${ECHO_T}$ac_header_preproc" >&6
19291
19292# So? What about this header?
19293case $ac_header_compiler:$ac_header_preproc in
19294 yes:no )
19295 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19296echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19297 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19298echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19299 (
19300 cat <<\_ASBOX
19301## ------------------------------------ ##
19302## Report this to bug-autoconf@gnu.org. ##
19303## ------------------------------------ ##
19304_ASBOX
19305 ) |
19306 sed "s/^/$as_me: WARNING: /" >&2
19307 ;;
19308 no:yes )
19309 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19310echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19311 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19312echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19313 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19314echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19315 (
19316 cat <<\_ASBOX
19317## ------------------------------------ ##
19318## Report this to bug-autoconf@gnu.org. ##
19319## ------------------------------------ ##
19320_ASBOX
19321 ) |
19322 sed "s/^/$as_me: WARNING: /" >&2
19323 ;;
19324esac
19325echo "$as_me:$LINENO: checking for expat.h" >&5
19326echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19327if test "${ac_cv_header_expat_h+set}" = set; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19329else
19330 ac_cv_header_expat_h=$ac_header_preproc
19331fi
19332echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19333echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19334
19335fi
19336if test $ac_cv_header_expat_h = yes; then
19337 found_expat_h=1
19338fi
19339
19340
19341 if test "x$found_expat_h" = "x1"; then
19342 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19343echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19344if test "${wx_cv_expat_is_not_broken+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19346else
19347
19348
19349
19350 ac_ext=cc
19351ac_cpp='$CXXCPP $CPPFLAGS'
19352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19355
19356 cat >conftest.$ac_ext <<_ACEOF
19357#line $LINENO "configure"
19358/* confdefs.h. */
19359_ACEOF
19360cat confdefs.h >>conftest.$ac_ext
19361cat >>conftest.$ac_ext <<_ACEOF
19362/* end confdefs.h. */
19363#include <expat.h>
19364int
19365main ()
19366{
19367
19368 ;
19369 return 0;
19370}
19371_ACEOF
19372rm -f conftest.$ac_objext
19373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19374 (eval $ac_compile) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 wx_cv_expat_is_not_broken=yes
19385else
19386 echo "$as_me: failed program was:" >&5
19387sed 's/^/| /' conftest.$ac_ext >&5
19388
19389wx_cv_expat_is_not_broken=no
19390
19391fi
19392rm -f conftest.$ac_objext conftest.$ac_ext
19393 ac_ext=c
19394ac_cpp='$CPP $CPPFLAGS'
19395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397ac_compiler_gnu=$ac_cv_c_compiler_gnu
19398
19399
19400
19401fi
19402echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19403echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19404 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19405 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19406echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19407if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19408 echo $ECHO_N "(cached) $ECHO_C" >&6
19409else
19410 ac_check_lib_save_LIBS=$LIBS
19411LIBS="-lexpat $LIBS"
19412cat >conftest.$ac_ext <<_ACEOF
19413#line $LINENO "configure"
19414/* confdefs.h. */
19415_ACEOF
19416cat confdefs.h >>conftest.$ac_ext
19417cat >>conftest.$ac_ext <<_ACEOF
19418/* end confdefs.h. */
19419
19420/* Override any gcc2 internal prototype to avoid an error. */
19421#ifdef __cplusplus
19422extern "C"
19423#endif
19424/* We use char because int might match the return type of a gcc2
19425 builtin and then its argument prototype would still apply. */
19426char XML_ParserCreate ();
19427int
19428main ()
19429{
19430XML_ParserCreate ();
19431 ;
19432 return 0;
19433}
19434_ACEOF
19435rm -f conftest.$ac_objext conftest$ac_exeext
19436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19437 (eval $ac_link) 2>&5
19438 ac_status=$?
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try='test -s conftest$ac_exeext'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19444 ac_status=$?
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; }; then
19447 ac_cv_lib_expat_XML_ParserCreate=yes
19448else
19449 echo "$as_me: failed program was:" >&5
19450sed 's/^/| /' conftest.$ac_ext >&5
19451
19452ac_cv_lib_expat_XML_ParserCreate=no
19453fi
19454rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19455LIBS=$ac_check_lib_save_LIBS
19456fi
19457echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19458echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19459if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19460 EXPAT_LINK=" -lexpat"
19461fi
19462
19463 fi
19464 fi
19465 if test "x$EXPAT_LINK" = "x" ; then
19466 if test "$wxUSE_EXPAT" = "sys" ; then
19467 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19468echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19469 { (exit 1); exit 1; }; }
19470 else
19471 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19472echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19473 wxUSE_EXPAT=builtin
19474 fi
19475 else
19476 wxUSE_EXPAT=sys
19477 fi
19478 fi
19479 if test "$wxUSE_EXPAT" = "builtin" ; then
19480
19481
19482subdirs="$subdirs src/expat"
19483
19484 fi
19485fi
19486
19487
19488
19489AFMINSTALL=
19490WIN32INSTALL=
19491
19492TOOLKIT=
19493TOOLKIT_INCLUDE=
19494WIDGET_SET=
19495
19496if test "$USE_WIN32" = 1 ; then
19497
19498for ac_header in w32api.h
19499do
19500as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19501if eval "test \"\${$as_ac_Header+set}\" = set"; then
19502 echo "$as_me:$LINENO: checking for $ac_header" >&5
19503echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19504if eval "test \"\${$as_ac_Header+set}\" = set"; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19506fi
19507echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19508echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19509else
19510 # Is the header compilable?
19511echo "$as_me:$LINENO: checking $ac_header usability" >&5
19512echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19513cat >conftest.$ac_ext <<_ACEOF
19514#line $LINENO "configure"
19515/* confdefs.h. */
19516_ACEOF
19517cat confdefs.h >>conftest.$ac_ext
19518cat >>conftest.$ac_ext <<_ACEOF
19519/* end confdefs.h. */
19520$ac_includes_default
19521#include <$ac_header>
19522_ACEOF
19523rm -f conftest.$ac_objext
19524if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>&5
19526 ac_status=$?
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); } &&
19529 { ac_try='test -s conftest.$ac_objext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_header_compiler=yes
19536else
19537 echo "$as_me: failed program was:" >&5
19538sed 's/^/| /' conftest.$ac_ext >&5
19539
19540ac_header_compiler=no
19541fi
19542rm -f conftest.$ac_objext conftest.$ac_ext
19543echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19544echo "${ECHO_T}$ac_header_compiler" >&6
19545
19546# Is the header present?
19547echo "$as_me:$LINENO: checking $ac_header presence" >&5
19548echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19549cat >conftest.$ac_ext <<_ACEOF
19550#line $LINENO "configure"
19551/* confdefs.h. */
19552_ACEOF
19553cat confdefs.h >>conftest.$ac_ext
19554cat >>conftest.$ac_ext <<_ACEOF
19555/* end confdefs.h. */
19556#include <$ac_header>
19557_ACEOF
19558if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19560 ac_status=$?
19561 grep -v '^ *+' conftest.er1 >conftest.err
19562 rm -f conftest.er1
19563 cat conftest.err >&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } >/dev/null; then
19566 if test -s conftest.err; then
19567 ac_cpp_err=$ac_c_preproc_warn_flag
19568 else
19569 ac_cpp_err=
19570 fi
19571else
19572 ac_cpp_err=yes
19573fi
19574if test -z "$ac_cpp_err"; then
19575 ac_header_preproc=yes
19576else
19577 echo "$as_me: failed program was:" >&5
19578sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 ac_header_preproc=no
19581fi
19582rm -f conftest.err conftest.$ac_ext
19583echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19584echo "${ECHO_T}$ac_header_preproc" >&6
19585
19586# So? What about this header?
19587case $ac_header_compiler:$ac_header_preproc in
19588 yes:no )
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19590echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19592echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19593 (
19594 cat <<\_ASBOX
19595## ------------------------------------ ##
19596## Report this to bug-autoconf@gnu.org. ##
19597## ------------------------------------ ##
19598_ASBOX
19599 ) |
19600 sed "s/^/$as_me: WARNING: /" >&2
19601 ;;
19602 no:yes )
19603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19604echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19606echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19608echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19609 (
19610 cat <<\_ASBOX
19611## ------------------------------------ ##
19612## Report this to bug-autoconf@gnu.org. ##
19613## ------------------------------------ ##
19614_ASBOX
19615 ) |
19616 sed "s/^/$as_me: WARNING: /" >&2
19617 ;;
19618esac
19619echo "$as_me:$LINENO: checking for $ac_header" >&5
19620echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19621if eval "test \"\${$as_ac_Header+set}\" = set"; then
19622 echo $ECHO_N "(cached) $ECHO_C" >&6
19623else
19624 eval "$as_ac_Header=$ac_header_preproc"
19625fi
19626echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19627echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19628
19629fi
19630if test `eval echo '${'$as_ac_Header'}'` = yes; then
19631 cat >>confdefs.h <<_ACEOF
19632#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19633_ACEOF
19634
19635fi
19636
19637done
19638
19639 if test "${ac_cv_header_windows_h+set}" = set; then
19640 echo "$as_me:$LINENO: checking for windows.h" >&5
19641echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19642if test "${ac_cv_header_windows_h+set}" = set; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19644fi
19645echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19646echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19647else
19648 # Is the header compilable?
19649echo "$as_me:$LINENO: checking windows.h usability" >&5
19650echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19651cat >conftest.$ac_ext <<_ACEOF
19652#line $LINENO "configure"
19653/* confdefs.h. */
19654_ACEOF
19655cat confdefs.h >>conftest.$ac_ext
19656cat >>conftest.$ac_ext <<_ACEOF
19657/* end confdefs.h. */
19658$ac_includes_default
19659#include <windows.h>
19660_ACEOF
19661rm -f conftest.$ac_objext
19662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663 (eval $ac_compile) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19670 ac_status=$?
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_header_compiler=yes
19674else
19675 echo "$as_me: failed program was:" >&5
19676sed 's/^/| /' conftest.$ac_ext >&5
19677
19678ac_header_compiler=no
19679fi
19680rm -f conftest.$ac_objext conftest.$ac_ext
19681echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19682echo "${ECHO_T}$ac_header_compiler" >&6
19683
19684# Is the header present?
19685echo "$as_me:$LINENO: checking windows.h presence" >&5
19686echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19687cat >conftest.$ac_ext <<_ACEOF
19688#line $LINENO "configure"
19689/* confdefs.h. */
19690_ACEOF
19691cat confdefs.h >>conftest.$ac_ext
19692cat >>conftest.$ac_ext <<_ACEOF
19693/* end confdefs.h. */
19694#include <windows.h>
19695_ACEOF
19696if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } >/dev/null; then
19704 if test -s conftest.err; then
19705 ac_cpp_err=$ac_c_preproc_warn_flag
19706 else
19707 ac_cpp_err=
19708 fi
19709else
19710 ac_cpp_err=yes
19711fi
19712if test -z "$ac_cpp_err"; then
19713 ac_header_preproc=yes
19714else
19715 echo "$as_me: failed program was:" >&5
19716sed 's/^/| /' conftest.$ac_ext >&5
19717
19718 ac_header_preproc=no
19719fi
19720rm -f conftest.err conftest.$ac_ext
19721echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19722echo "${ECHO_T}$ac_header_preproc" >&6
19723
19724# So? What about this header?
19725case $ac_header_compiler:$ac_header_preproc in
19726 yes:no )
19727 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19728echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19729 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19730echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19731 (
19732 cat <<\_ASBOX
19733## ------------------------------------ ##
19734## Report this to bug-autoconf@gnu.org. ##
19735## ------------------------------------ ##
19736_ASBOX
19737 ) |
19738 sed "s/^/$as_me: WARNING: /" >&2
19739 ;;
19740 no:yes )
19741 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19742echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19744echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19745 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19746echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19747 (
19748 cat <<\_ASBOX
19749## ------------------------------------ ##
19750## Report this to bug-autoconf@gnu.org. ##
19751## ------------------------------------ ##
19752_ASBOX
19753 ) |
19754 sed "s/^/$as_me: WARNING: /" >&2
19755 ;;
19756esac
19757echo "$as_me:$LINENO: checking for windows.h" >&5
19758echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19759if test "${ac_cv_header_windows_h+set}" = set; then
19760 echo $ECHO_N "(cached) $ECHO_C" >&6
19761else
19762 ac_cv_header_windows_h=$ac_header_preproc
19763fi
19764echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19765echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19766
19767fi
19768if test $ac_cv_header_windows_h = yes; then
19769 :
19770else
19771
19772 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19773echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19774 { (exit 1); exit 1; }; }
19775
19776fi
19777
19778
19779
19780 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19781
19782 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19783 LIBS="$LIBS -loleacc"
19784 fi
19785
19786 case "${host}" in
19787 *-*-cygwin* )
19788 LIBS="$LIBS -lkernel32 -luser32"
19789 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19790 esac
19791
19792 if test "$wxUSE_ODBC" = "sys" ; then
19793 wxUSE_ODBC = "yes"
19794 fi
19795 if test "$wxUSE_ODBC" = "yes" ; then
19796 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19797 cat >>confdefs.h <<\_ACEOF
19798#define wxUSE_ODBC 1
19799_ACEOF
19800
19801 fi
19802
19803 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19804 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19805
19806 WIN32INSTALL=win32install
19807fi
19808
19809if test "$wxUSE_GUI" = "yes"; then
19810 USE_GUI=1
19811
19812 GUI_TK_LIBRARY=
19813
19814 WXGTK12=
19815 WXGTK127=
19816 WXGTK20=
19817
19818 if test "$wxUSE_MSW" = 1 ; then
19819 TOOLKIT=MSW
19820 GUIDIST=MSW_DIST
19821
19822 case "${host}" in
19823 *-*-mingw32* )
19824 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19825 esac
19826 fi
19827
19828 if test "$wxUSE_GTK" = 1; then
19829 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19830echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19831
19832 gtk_version_cached=1
19833 if test "${wx_cv_lib_gtk+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19835else
19836
19837 gtk_version_cached=0
19838 echo "$as_me:$LINENO: result: " >&5
19839echo "${ECHO_T}" >&6
19840
19841 GTK_MODULES=
19842 if test "$wxUSE_THREADS" = "yes"; then
19843 GTK_MODULES=gthread
19844 fi
19845
19846 wx_cv_lib_gtk=
19847 if test "x$wxUSE_GTK2" = "xyes"; then
19848 # Check whether --enable-gtktest or --disable-gtktest was given.
19849if test "${enable_gtktest+set}" = set; then
19850 enableval="$enable_gtktest"
19851
19852else
19853 enable_gtktest=yes
19854fi;
19855
19856 pkg_config_args=gtk+-2.0
19857 for module in . $GTK_MODULES
19858 do
19859 case "$module" in
19860 gthread)
19861 pkg_config_args="$pkg_config_args gthread-2.0"
19862 ;;
19863 esac
19864 done
19865
19866 no_gtk=""
19867
19868 # Extract the first word of "pkg-config", so it can be a program name with args.
19869set dummy pkg-config; ac_word=$2
19870echo "$as_me:$LINENO: checking for $ac_word" >&5
19871echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19872if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19874else
19875 case $PKG_CONFIG in
19876 [\\/]* | ?:[\\/]*)
19877 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19878 ;;
19879 *)
19880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19881for as_dir in $PATH
19882do
19883 IFS=$as_save_IFS
19884 test -z "$as_dir" && as_dir=.
19885 for ac_exec_ext in '' $ac_executable_extensions; do
19886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19887 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19889 break 2
19890 fi
19891done
19892done
19893
19894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19895 ;;
19896esac
19897fi
19898PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19899
19900if test -n "$PKG_CONFIG"; then
19901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19902echo "${ECHO_T}$PKG_CONFIG" >&6
19903else
19904 echo "$as_me:$LINENO: result: no" >&5
19905echo "${ECHO_T}no" >&6
19906fi
19907
19908
19909 if test x$PKG_CONFIG != xno ; then
19910 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19911 :
19912 else
19913 echo *** pkg-config too old; version 0.7 or better required.
19914 no_gtk=yes
19915 PKG_CONFIG=no
19916 fi
19917 else
19918 no_gtk=yes
19919 fi
19920
19921 min_gtk_version=2.0.0
19922 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19923echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19924
19925 if test x$PKG_CONFIG != xno ; then
19926 ## don't try to run the test against uninstalled libtool libs
19927 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19928 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19929 enable_gtktest=no
19930 fi
19931
19932 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19933 :
19934 else
19935 no_gtk=yes
19936 fi
19937 fi
19938
19939 if test x"$no_gtk" = x ; then
19940 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19941 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19942 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19944 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19946 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19948 if test "x$enable_gtktest" = "xyes" ; then
19949 ac_save_CFLAGS="$CFLAGS"
19950 ac_save_LIBS="$LIBS"
19951 CFLAGS="$CFLAGS $GTK_CFLAGS"
19952 LIBS="$GTK_LIBS $LIBS"
19953 rm -f conf.gtktest
19954 if test "$cross_compiling" = yes; then
19955 echo $ac_n "cross compiling; assumed OK... $ac_c"
19956else
19957 cat >conftest.$ac_ext <<_ACEOF
19958#line $LINENO "configure"
19959/* confdefs.h. */
19960_ACEOF
19961cat confdefs.h >>conftest.$ac_ext
19962cat >>conftest.$ac_ext <<_ACEOF
19963/* end confdefs.h. */
19964
19965#include <gtk/gtk.h>
19966#include <stdio.h>
19967#include <stdlib.h>
19968
19969int
19970main ()
19971{
19972 int major, minor, micro;
19973 char *tmp_version;
19974
19975 system ("touch conf.gtktest");
19976
19977 /* HP/UX 9 (%@#!) writes to sscanf strings */
19978 tmp_version = g_strdup("$min_gtk_version");
19979 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19980 printf("%s, bad version string\n", "$min_gtk_version");
19981 exit(1);
19982 }
19983
19984 if ((gtk_major_version != $gtk_config_major_version) ||
19985 (gtk_minor_version != $gtk_config_minor_version) ||
19986 (gtk_micro_version != $gtk_config_micro_version))
19987 {
19988 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19989 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19990 gtk_major_version, gtk_minor_version, gtk_micro_version);
19991 printf ("*** was found! If pkg-config was correct, then it is best\n");
19992 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19993 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19994 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19995 printf("*** required on your system.\n");
19996 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19997 printf("*** to point to the correct configuration files\n");
19998 }
19999 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20000 (gtk_minor_version != GTK_MINOR_VERSION) ||
20001 (gtk_micro_version != GTK_MICRO_VERSION))
20002 {
20003 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20004 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20005 printf("*** library (version %d.%d.%d)\n",
20006 gtk_major_version, gtk_minor_version, gtk_micro_version);
20007 }
20008 else
20009 {
20010 if ((gtk_major_version > major) ||
20011 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20012 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20013 {
20014 return 0;
20015 }
20016 else
20017 {
20018 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20019 gtk_major_version, gtk_minor_version, gtk_micro_version);
20020 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20021 major, minor, micro);
20022 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20023 printf("***\n");
20024 printf("*** If you have already installed a sufficiently new version, this error\n");
20025 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20026 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20027 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20028 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20029 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20030 printf("*** so that the correct libraries are found at run-time))\n");
20031 }
20032 }
20033 return 1;
20034}
20035
20036_ACEOF
20037rm -f conftest$ac_exeext
20038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20039 (eval $ac_link) 2>&5
20040 ac_status=$?
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20045 ac_status=$?
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20048 :
20049else
20050 echo "$as_me: program exited with status $ac_status" >&5
20051echo "$as_me: failed program was:" >&5
20052sed 's/^/| /' conftest.$ac_ext >&5
20053
20054( exit $ac_status )
20055no_gtk=yes
20056fi
20057rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20058fi
20059 CFLAGS="$ac_save_CFLAGS"
20060 LIBS="$ac_save_LIBS"
20061 fi
20062 fi
20063 if test "x$no_gtk" = x ; then
20064 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20065echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20066 wx_cv_lib_gtk=2.0
20067 else
20068 echo "$as_me:$LINENO: result: no" >&5
20069echo "${ECHO_T}no" >&6
20070 if test "$PKG_CONFIG" = "no" ; then
20071 echo "*** A new enough version of pkg-config was not found."
20072 echo "*** See http://pkgconfig.sourceforge.net"
20073 else
20074 if test -f conf.gtktest ; then
20075 :
20076 else
20077 echo "*** Could not run GTK+ test program, checking why..."
20078 ac_save_CFLAGS="$CFLAGS"
20079 ac_save_LIBS="$LIBS"
20080 CFLAGS="$CFLAGS $GTK_CFLAGS"
20081 LIBS="$LIBS $GTK_LIBS"
20082 cat >conftest.$ac_ext <<_ACEOF
20083#line $LINENO "configure"
20084/* confdefs.h. */
20085_ACEOF
20086cat confdefs.h >>conftest.$ac_ext
20087cat >>conftest.$ac_ext <<_ACEOF
20088/* end confdefs.h. */
20089
20090#include <gtk/gtk.h>
20091#include <stdio.h>
20092
20093int
20094main ()
20095{
20096 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20097 ;
20098 return 0;
20099}
20100_ACEOF
20101rm -f conftest.$ac_objext conftest$ac_exeext
20102if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20103 (eval $ac_link) 2>&5
20104 ac_status=$?
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } &&
20107 { ac_try='test -s conftest$ac_exeext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 echo "*** The test program compiled, but did not run. This usually means"
20114 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20115 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20118 echo "*** is required on your system"
20119 echo "***"
20120 echo "*** If you have an old version installed, it is best to remove it, although"
20121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20122else
20123 echo "$as_me: failed program was:" >&5
20124sed 's/^/| /' conftest.$ac_ext >&5
20125
20126 echo "*** The test program failed to compile or link. See the file config.log for the"
20127 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20128fi
20129rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20130 CFLAGS="$ac_save_CFLAGS"
20131 LIBS="$ac_save_LIBS"
20132 fi
20133 fi
20134 GTK_CFLAGS=""
20135 GTK_LIBS=""
20136 :
20137 fi
20138
20139
20140 rm -f conf.gtktest
20141
20142 else
20143
20144# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20145if test "${with_gtk_prefix+set}" = set; then
20146 withval="$with_gtk_prefix"
20147 gtk_config_prefix="$withval"
20148else
20149 gtk_config_prefix=""
20150fi;
20151
20152# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20153if test "${with_gtk_exec_prefix+set}" = set; then
20154 withval="$with_gtk_exec_prefix"
20155 gtk_config_exec_prefix="$withval"
20156else
20157 gtk_config_exec_prefix=""
20158fi;
20159# Check whether --enable-gtktest or --disable-gtktest was given.
20160if test "${enable_gtktest+set}" = set; then
20161 enableval="$enable_gtktest"
20162
20163else
20164 enable_gtktest=yes
20165fi;
20166
20167 for module in . $GTK_MODULES
20168 do
20169 case "$module" in
20170 gthread)
20171 gtk_config_args="$gtk_config_args gthread"
20172 ;;
20173 esac
20174 done
20175
20176 if test x$gtk_config_exec_prefix != x ; then
20177 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20178 if test x${GTK_CONFIG+set} != xset ; then
20179 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20180 fi
20181 fi
20182 if test x$gtk_config_prefix != x ; then
20183 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20184 if test x${GTK_CONFIG+set} != xset ; then
20185 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20186 fi
20187 fi
20188
20189 # Extract the first word of "gtk-config", so it can be a program name with args.
20190set dummy gtk-config; ac_word=$2
20191echo "$as_me:$LINENO: checking for $ac_word" >&5
20192echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20193if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195else
20196 case $GTK_CONFIG in
20197 [\\/]* | ?:[\\/]*)
20198 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20199 ;;
20200 *)
20201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20202for as_dir in $PATH
20203do
20204 IFS=$as_save_IFS
20205 test -z "$as_dir" && as_dir=.
20206 for ac_exec_ext in '' $ac_executable_extensions; do
20207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20208 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20210 break 2
20211 fi
20212done
20213done
20214
20215 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20216 ;;
20217esac
20218fi
20219GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20220
20221if test -n "$GTK_CONFIG"; then
20222 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20223echo "${ECHO_T}$GTK_CONFIG" >&6
20224else
20225 echo "$as_me:$LINENO: result: no" >&5
20226echo "${ECHO_T}no" >&6
20227fi
20228
20229 min_gtk_version=1.2.7
20230 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20231echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20232 no_gtk=""
20233 if test "$GTK_CONFIG" = "no" ; then
20234 no_gtk=yes
20235 else
20236 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20237 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20238 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20240 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20242 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20244 if test "x$enable_gtktest" = "xyes" ; then
20245 ac_save_CFLAGS="$CFLAGS"
20246 ac_save_LIBS="$LIBS"
20247 CFLAGS="$CFLAGS $GTK_CFLAGS"
20248 LIBS="$GTK_LIBS $LIBS"
20249 rm -f conf.gtktest
20250 if test "$cross_compiling" = yes; then
20251 echo $ac_n "cross compiling; assumed OK... $ac_c"
20252else
20253 cat >conftest.$ac_ext <<_ACEOF
20254#line $LINENO "configure"
20255/* confdefs.h. */
20256_ACEOF
20257cat confdefs.h >>conftest.$ac_ext
20258cat >>conftest.$ac_ext <<_ACEOF
20259/* end confdefs.h. */
20260
20261#include <gtk/gtk.h>
20262#include <stdio.h>
20263#include <stdlib.h>
20264
20265int
20266main ()
20267{
20268 int major, minor, micro;
20269 char *tmp_version;
20270
20271 system ("touch conf.gtktest");
20272
20273 /* HP/UX 9 (%@#!) writes to sscanf strings */
20274 tmp_version = g_strdup("$min_gtk_version");
20275 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20276 printf("%s, bad version string\n", "$min_gtk_version");
20277 exit(1);
20278 }
20279
20280 if ((gtk_major_version != $gtk_config_major_version) ||
20281 (gtk_minor_version != $gtk_config_minor_version) ||
20282 (gtk_micro_version != $gtk_config_micro_version))
20283 {
20284 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20285 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20286 gtk_major_version, gtk_minor_version, gtk_micro_version);
20287 printf ("*** was found! If gtk-config was correct, then it is best\n");
20288 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20289 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20290 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20291 printf("*** required on your system.\n");
20292 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20293 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20294 printf("*** before re-running configure\n");
20295 }
20296#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20297 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20298 (gtk_minor_version != GTK_MINOR_VERSION) ||
20299 (gtk_micro_version != GTK_MICRO_VERSION))
20300 {
20301 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20302 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20303 printf("*** library (version %d.%d.%d)\n",
20304 gtk_major_version, gtk_minor_version, gtk_micro_version);
20305 }
20306#endif /* defined (GTK_MAJOR_VERSION) ... */
20307 else
20308 {
20309 if ((gtk_major_version > major) ||
20310 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20311 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20312 {
20313 return 0;
20314 }
20315 else
20316 {
20317 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20318 gtk_major_version, gtk_minor_version, gtk_micro_version);
20319 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20320 major, minor, micro);
20321 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20322 printf("***\n");
20323 printf("*** If you have already installed a sufficiently new version, this error\n");
20324 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20325 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20326 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20327 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20328 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20329 printf("*** so that the correct libraries are found at run-time))\n");
20330 }
20331 }
20332 return 1;
20333}
20334
20335_ACEOF
20336rm -f conftest$ac_exeext
20337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20338 (eval $ac_link) 2>&5
20339 ac_status=$?
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 :
20348else
20349 echo "$as_me: program exited with status $ac_status" >&5
20350echo "$as_me: failed program was:" >&5
20351sed 's/^/| /' conftest.$ac_ext >&5
20352
20353( exit $ac_status )
20354no_gtk=yes
20355fi
20356rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20357fi
20358 CFLAGS="$ac_save_CFLAGS"
20359 LIBS="$ac_save_LIBS"
20360 fi
20361 fi
20362 if test "x$no_gtk" = x ; then
20363 echo "$as_me:$LINENO: result: yes" >&5
20364echo "${ECHO_T}yes" >&6
20365 wx_cv_lib_gtk=1.2.7
20366 else
20367 echo "$as_me:$LINENO: result: no" >&5
20368echo "${ECHO_T}no" >&6
20369 if test "$GTK_CONFIG" = "no" ; then
20370 echo "*** The gtk-config script installed by GTK could not be found"
20371 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20372 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20373 echo "*** full path to gtk-config."
20374 else
20375 if test -f conf.gtktest ; then
20376 :
20377 else
20378 echo "*** Could not run GTK test program, checking why..."
20379 CFLAGS="$CFLAGS $GTK_CFLAGS"
20380 LIBS="$LIBS $GTK_LIBS"
20381 cat >conftest.$ac_ext <<_ACEOF
20382#line $LINENO "configure"
20383/* confdefs.h. */
20384_ACEOF
20385cat confdefs.h >>conftest.$ac_ext
20386cat >>conftest.$ac_ext <<_ACEOF
20387/* end confdefs.h. */
20388
20389#include <gtk/gtk.h>
20390#include <stdio.h>
20391
20392int
20393main ()
20394{
20395 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20396 ;
20397 return 0;
20398}
20399_ACEOF
20400rm -f conftest.$ac_objext conftest$ac_exeext
20401if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20402 (eval $ac_link) 2>&5
20403 ac_status=$?
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } &&
20406 { ac_try='test -s conftest$ac_exeext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 echo "*** The test program compiled, but did not run. This usually means"
20413 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20414 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20415 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20416 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20417 echo "*** is required on your system"
20418 echo "***"
20419 echo "*** If you have an old version installed, it is best to remove it, although"
20420 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20421 echo "***"
20422 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20423 echo "*** came with the system with the command"
20424 echo "***"
20425 echo "*** rpm --erase --nodeps gtk gtk-devel"
20426else
20427 echo "$as_me: failed program was:" >&5
20428sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 echo "*** The test program failed to compile or link. See the file config.log for the"
20431 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20432 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20433 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20434fi
20435rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20436 CFLAGS="$ac_save_CFLAGS"
20437 LIBS="$ac_save_LIBS"
20438 fi
20439 fi
20440 GTK_CFLAGS=""
20441 GTK_LIBS=""
20442 :
20443 fi
20444
20445
20446 rm -f conf.gtktest
20447
20448
20449 if test -z "$wx_cv_lib_gtk"; then
20450
20451# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20452if test "${with_gtk_prefix+set}" = set; then
20453 withval="$with_gtk_prefix"
20454 gtk_config_prefix="$withval"
20455else
20456 gtk_config_prefix=""
20457fi;
20458
20459# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20460if test "${with_gtk_exec_prefix+set}" = set; then
20461 withval="$with_gtk_exec_prefix"
20462 gtk_config_exec_prefix="$withval"
20463else
20464 gtk_config_exec_prefix=""
20465fi;
20466# Check whether --enable-gtktest or --disable-gtktest was given.
20467if test "${enable_gtktest+set}" = set; then
20468 enableval="$enable_gtktest"
20469
20470else
20471 enable_gtktest=yes
20472fi;
20473
20474 for module in . $GTK_MODULES
20475 do
20476 case "$module" in
20477 gthread)
20478 gtk_config_args="$gtk_config_args gthread"
20479 ;;
20480 esac
20481 done
20482
20483 if test x$gtk_config_exec_prefix != x ; then
20484 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20485 if test x${GTK_CONFIG+set} != xset ; then
20486 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20487 fi
20488 fi
20489 if test x$gtk_config_prefix != x ; then
20490 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20491 if test x${GTK_CONFIG+set} != xset ; then
20492 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20493 fi
20494 fi
20495
20496 # Extract the first word of "gtk-config", so it can be a program name with args.
20497set dummy gtk-config; ac_word=$2
20498echo "$as_me:$LINENO: checking for $ac_word" >&5
20499echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20500if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20502else
20503 case $GTK_CONFIG in
20504 [\\/]* | ?:[\\/]*)
20505 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20506 ;;
20507 *)
20508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20509for as_dir in $PATH
20510do
20511 IFS=$as_save_IFS
20512 test -z "$as_dir" && as_dir=.
20513 for ac_exec_ext in '' $ac_executable_extensions; do
20514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20515 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20517 break 2
20518 fi
20519done
20520done
20521
20522 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20523 ;;
20524esac
20525fi
20526GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20527
20528if test -n "$GTK_CONFIG"; then
20529 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20530echo "${ECHO_T}$GTK_CONFIG" >&6
20531else
20532 echo "$as_me:$LINENO: result: no" >&5
20533echo "${ECHO_T}no" >&6
20534fi
20535
20536 min_gtk_version=1.2.3
20537 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20538echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20539 no_gtk=""
20540 if test "$GTK_CONFIG" = "no" ; then
20541 no_gtk=yes
20542 else
20543 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20544 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20545 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20547 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20549 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20551 if test "x$enable_gtktest" = "xyes" ; then
20552 ac_save_CFLAGS="$CFLAGS"
20553 ac_save_LIBS="$LIBS"
20554 CFLAGS="$CFLAGS $GTK_CFLAGS"
20555 LIBS="$GTK_LIBS $LIBS"
20556 rm -f conf.gtktest
20557 if test "$cross_compiling" = yes; then
20558 echo $ac_n "cross compiling; assumed OK... $ac_c"
20559else
20560 cat >conftest.$ac_ext <<_ACEOF
20561#line $LINENO "configure"
20562/* confdefs.h. */
20563_ACEOF
20564cat confdefs.h >>conftest.$ac_ext
20565cat >>conftest.$ac_ext <<_ACEOF
20566/* end confdefs.h. */
20567
20568#include <gtk/gtk.h>
20569#include <stdio.h>
20570#include <stdlib.h>
20571
20572int
20573main ()
20574{
20575 int major, minor, micro;
20576 char *tmp_version;
20577
20578 system ("touch conf.gtktest");
20579
20580 /* HP/UX 9 (%@#!) writes to sscanf strings */
20581 tmp_version = g_strdup("$min_gtk_version");
20582 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20583 printf("%s, bad version string\n", "$min_gtk_version");
20584 exit(1);
20585 }
20586
20587 if ((gtk_major_version != $gtk_config_major_version) ||
20588 (gtk_minor_version != $gtk_config_minor_version) ||
20589 (gtk_micro_version != $gtk_config_micro_version))
20590 {
20591 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20592 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20593 gtk_major_version, gtk_minor_version, gtk_micro_version);
20594 printf ("*** was found! If gtk-config was correct, then it is best\n");
20595 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20596 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20597 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20598 printf("*** required on your system.\n");
20599 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20600 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20601 printf("*** before re-running configure\n");
20602 }
20603#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20604 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20605 (gtk_minor_version != GTK_MINOR_VERSION) ||
20606 (gtk_micro_version != GTK_MICRO_VERSION))
20607 {
20608 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20609 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20610 printf("*** library (version %d.%d.%d)\n",
20611 gtk_major_version, gtk_minor_version, gtk_micro_version);
20612 }
20613#endif /* defined (GTK_MAJOR_VERSION) ... */
20614 else
20615 {
20616 if ((gtk_major_version > major) ||
20617 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20618 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20619 {
20620 return 0;
20621 }
20622 else
20623 {
20624 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20625 gtk_major_version, gtk_minor_version, gtk_micro_version);
20626 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20627 major, minor, micro);
20628 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20629 printf("***\n");
20630 printf("*** If you have already installed a sufficiently new version, this error\n");
20631 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20632 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20633 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20634 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20635 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20636 printf("*** so that the correct libraries are found at run-time))\n");
20637 }
20638 }
20639 return 1;
20640}
20641
20642_ACEOF
20643rm -f conftest$ac_exeext
20644if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20645 (eval $ac_link) 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20651 ac_status=$?
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; }; then
20654 :
20655else
20656 echo "$as_me: program exited with status $ac_status" >&5
20657echo "$as_me: failed program was:" >&5
20658sed 's/^/| /' conftest.$ac_ext >&5
20659
20660( exit $ac_status )
20661no_gtk=yes
20662fi
20663rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20664fi
20665 CFLAGS="$ac_save_CFLAGS"
20666 LIBS="$ac_save_LIBS"
20667 fi
20668 fi
20669 if test "x$no_gtk" = x ; then
20670 echo "$as_me:$LINENO: result: yes" >&5
20671echo "${ECHO_T}yes" >&6
20672 wx_cv_lib_gtk=1.2.3
20673 else
20674 echo "$as_me:$LINENO: result: no" >&5
20675echo "${ECHO_T}no" >&6
20676 if test "$GTK_CONFIG" = "no" ; then
20677 echo "*** The gtk-config script installed by GTK could not be found"
20678 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20679 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20680 echo "*** full path to gtk-config."
20681 else
20682 if test -f conf.gtktest ; then
20683 :
20684 else
20685 echo "*** Could not run GTK test program, checking why..."
20686 CFLAGS="$CFLAGS $GTK_CFLAGS"
20687 LIBS="$LIBS $GTK_LIBS"
20688 cat >conftest.$ac_ext <<_ACEOF
20689#line $LINENO "configure"
20690/* confdefs.h. */
20691_ACEOF
20692cat confdefs.h >>conftest.$ac_ext
20693cat >>conftest.$ac_ext <<_ACEOF
20694/* end confdefs.h. */
20695
20696#include <gtk/gtk.h>
20697#include <stdio.h>
20698
20699int
20700main ()
20701{
20702 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20703 ;
20704 return 0;
20705}
20706_ACEOF
20707rm -f conftest.$ac_objext conftest$ac_exeext
20708if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20709 (eval $ac_link) 2>&5
20710 ac_status=$?
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } &&
20713 { ac_try='test -s conftest$ac_exeext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 echo "*** The test program compiled, but did not run. This usually means"
20720 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20721 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20722 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20723 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20724 echo "*** is required on your system"
20725 echo "***"
20726 echo "*** If you have an old version installed, it is best to remove it, although"
20727 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20728 echo "***"
20729 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20730 echo "*** came with the system with the command"
20731 echo "***"
20732 echo "*** rpm --erase --nodeps gtk gtk-devel"
20733else
20734 echo "$as_me: failed program was:" >&5
20735sed 's/^/| /' conftest.$ac_ext >&5
20736
20737 echo "*** The test program failed to compile or link. See the file config.log for the"
20738 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20739 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20740 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20741fi
20742rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20743 CFLAGS="$ac_save_CFLAGS"
20744 LIBS="$ac_save_LIBS"
20745 fi
20746 fi
20747 GTK_CFLAGS=""
20748 GTK_LIBS=""
20749 :
20750 fi
20751
20752
20753 rm -f conf.gtktest
20754
20755 fi
20756 fi
20757
20758 if test -z "$wx_cv_lib_gtk"; then
20759 wx_cv_lib_gtk=none
20760 else
20761 wx_cv_cflags_gtk=$GTK_CFLAGS
20762 wx_cv_libs_gtk=$GTK_LIBS
20763 fi
20764
20765
20766fi
20767
20768
20769 if test "$gtk_version_cached" = 1; then
20770 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20771echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20772 fi
20773
20774 case "$wx_cv_lib_gtk" in
20775 2.0) WXGTK20=1
20776 TOOLKIT_VERSION=2
20777 ;;
20778 1.2.7) WXGTK127=1
20779 WXGTK12=1
20780 ;;
20781 1.2.3) WXGTK12=1
20782 ;;
20783 *) { { echo "$as_me:$LINENO: error:
20784Please check that gtk-config is in path, the directory
20785where GTK+ libraries are installed (returned by
20786'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20787equivalent variable and GTK+ is version 1.2.3 or above.
20788 " >&5
20789echo "$as_me: error:
20790Please check that gtk-config is in path, the directory
20791where GTK+ libraries are installed (returned by
20792'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20793equivalent variable and GTK+ is version 1.2.3 or above.
20794 " >&2;}
20795 { (exit 1); exit 1; }; }
20796 ;;
20797 esac
20798
20799 if test "$WXGTK20" = 1; then
20800 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20801
20802 succeeded=no
20803
20804 if test -z "$PKG_CONFIG"; then
20805 # Extract the first word of "pkg-config", so it can be a program name with args.
20806set dummy pkg-config; ac_word=$2
20807echo "$as_me:$LINENO: checking for $ac_word" >&5
20808echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20809if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20811else
20812 case $PKG_CONFIG in
20813 [\\/]* | ?:[\\/]*)
20814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20815 ;;
20816 *)
20817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20818for as_dir in $PATH
20819do
20820 IFS=$as_save_IFS
20821 test -z "$as_dir" && as_dir=.
20822 for ac_exec_ext in '' $ac_executable_extensions; do
20823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20826 break 2
20827 fi
20828done
20829done
20830
20831 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20832 ;;
20833esac
20834fi
20835PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20836
20837if test -n "$PKG_CONFIG"; then
20838 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20839echo "${ECHO_T}$PKG_CONFIG" >&6
20840else
20841 echo "$as_me:$LINENO: result: no" >&5
20842echo "${ECHO_T}no" >&6
20843fi
20844
20845 fi
20846
20847 if test "$PKG_CONFIG" = "no" ; then
20848 echo "*** The pkg-config script could not be found. Make sure it is"
20849 echo "*** in your path, or set the PKG_CONFIG environment variable"
20850 echo "*** to the full path to pkg-config."
20851 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20852 else
20853 PKG_CONFIG_MIN_VERSION=0.9.0
20854 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20855 echo "$as_me:$LINENO: checking for pangoft2" >&5
20856echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20857
20858 if $PKG_CONFIG --exists "pangoft2" ; then
20859 echo "$as_me:$LINENO: result: yes" >&5
20860echo "${ECHO_T}yes" >&6
20861 succeeded=yes
20862
20863 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20864echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20865 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20866 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20867echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20868
20869 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20870echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20871 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20872 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20873echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20874 else
20875 PANGOFT2_CFLAGS=""
20876 PANGOFT2_LIBS=""
20877 ## If we have a custom action on failure, don't print errors, but
20878 ## do set a variable so people can do so.
20879 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20880
20881 fi
20882
20883
20884
20885 else
20886 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20887 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20888 fi
20889 fi
20890
20891 if test $succeeded = yes; then
20892
20893 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20894 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20895
20896 else
20897
20898 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20899echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20900 wxUSE_PRINTING_ARCHITECTURE="no"
20901
20902
20903 fi
20904
20905 fi
20906 else
20907 if test "$wxUSE_UNICODE" = "yes"; then
20908 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20909echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20910 wxUSE_UNICODE=no
20911 fi
20912 fi
20913
20914 if test "$USE_DARWIN" != 1; then
20915
20916for ac_func in poll
20917do
20918as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20919echo "$as_me:$LINENO: checking for $ac_func" >&5
20920echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20921if eval "test \"\${$as_ac_var+set}\" = set"; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20923else
20924 cat >conftest.$ac_ext <<_ACEOF
20925#line $LINENO "configure"
20926/* confdefs.h. */
20927_ACEOF
20928cat confdefs.h >>conftest.$ac_ext
20929cat >>conftest.$ac_ext <<_ACEOF
20930/* end confdefs.h. */
20931/* System header to define __stub macros and hopefully few prototypes,
20932 which can conflict with char $ac_func (); below.
20933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20934 <limits.h> exists even on freestanding compilers. */
20935#ifdef __STDC__
20936# include <limits.h>
20937#else
20938# include <assert.h>
20939#endif
20940/* Override any gcc2 internal prototype to avoid an error. */
20941#ifdef __cplusplus
20942extern "C"
20943{
20944#endif
20945/* We use char because int might match the return type of a gcc2
20946 builtin and then its argument prototype would still apply. */
20947char $ac_func ();
20948/* The GNU C library defines this for functions which it implements
20949 to always fail with ENOSYS. Some functions are actually named
20950 something starting with __ and the normal name is an alias. */
20951#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20952choke me
20953#else
20954char (*f) () = $ac_func;
20955#endif
20956#ifdef __cplusplus
20957}
20958#endif
20959
20960int
20961main ()
20962{
20963return f != $ac_func;
20964 ;
20965 return 0;
20966}
20967_ACEOF
20968rm -f conftest.$ac_objext conftest$ac_exeext
20969if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20970 (eval $ac_link) 2>&5
20971 ac_status=$?
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try='test -s conftest$ac_exeext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20977 ac_status=$?
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 eval "$as_ac_var=yes"
20981else
20982 echo "$as_me: failed program was:" >&5
20983sed 's/^/| /' conftest.$ac_ext >&5
20984
20985eval "$as_ac_var=no"
20986fi
20987rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20988fi
20989echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20990echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20991if test `eval echo '${'$as_ac_var'}'` = yes; then
20992 cat >>confdefs.h <<_ACEOF
20993#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20994_ACEOF
20995
20996fi
20997done
20998
20999 fi
21000
21001 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21002 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21003
21004 AFMINSTALL=afminstall
21005 TOOLKIT=GTK
21006 GUIDIST=GTK_DIST
21007
21008 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21009echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21010if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21012else
21013 ac_check_lib_save_LIBS=$LIBS
21014LIBS="-lgdk $LIBS"
21015cat >conftest.$ac_ext <<_ACEOF
21016#line $LINENO "configure"
21017/* confdefs.h. */
21018_ACEOF
21019cat confdefs.h >>conftest.$ac_ext
21020cat >>conftest.$ac_ext <<_ACEOF
21021/* end confdefs.h. */
21022
21023/* Override any gcc2 internal prototype to avoid an error. */
21024#ifdef __cplusplus
21025extern "C"
21026#endif
21027/* We use char because int might match the return type of a gcc2
21028 builtin and then its argument prototype would still apply. */
21029char gdk_im_open ();
21030int
21031main ()
21032{
21033gdk_im_open ();
21034 ;
21035 return 0;
21036}
21037_ACEOF
21038rm -f conftest.$ac_objext conftest$ac_exeext
21039if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21040 (eval $ac_link) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } &&
21044 { ac_try='test -s conftest$ac_exeext'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21047 ac_status=$?
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; }; then
21050 ac_cv_lib_gdk_gdk_im_open=yes
21051else
21052 echo "$as_me: failed program was:" >&5
21053sed 's/^/| /' conftest.$ac_ext >&5
21054
21055ac_cv_lib_gdk_gdk_im_open=no
21056fi
21057rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21058LIBS=$ac_check_lib_save_LIBS
21059fi
21060echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21061echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21062if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21063 cat >>confdefs.h <<\_ACEOF
21064#define HAVE_XIM 1
21065_ACEOF
21066
21067fi
21068
21069 fi
21070
21071 if test "$wxUSE_MGL" = 1; then
21072 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21073echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21074 if test "x$MGL_ROOT" = x ; then
21075 echo "$as_me:$LINENO: result: not found" >&5
21076echo "${ECHO_T}not found" >&6
21077 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21078echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21079 { (exit 1); exit 1; }; }
21080 else
21081 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21082echo "${ECHO_T}$MGL_ROOT" >&6
21083 fi
21084
21085 echo "$as_me:$LINENO: checking for libmgl location" >&5
21086echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21087 case "${host}" in
21088 *-*-linux* )
21089 if test "x$wxUSE_SHARED" = xyes ; then
21090 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21091 else
21092 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21093 fi
21094 ;;
21095 *-pc-msdosdjgpp )
21096 mgl_os_candidates="dos32/dj2"
21097 ;;
21098 *)
21099 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21100echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21101 { (exit 1); exit 1; }; }
21102 esac
21103
21104 mgl_lib_type=""
21105 mgl_os=""
21106
21107 for mgl_os_i in $mgl_os_candidates ; do
21108 if test "x$mgl_os" = x ; then
21109 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21110 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21111 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21112 mgl_lib_type=debug
21113 mgl_os=$mgl_os_i
21114 fi
21115 fi
21116 if test "x$mgl_lib_type" = x ; then
21117 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21118 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21119 mgl_lib_type=release
21120 mgl_os=$mgl_os_i
21121 fi
21122 fi
21123 fi
21124 done
21125
21126 if test "x$mgl_os" = x ; then
21127 echo "$as_me:$LINENO: result: not found" >&5
21128echo "${ECHO_T}not found" >&6
21129 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21130echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21131 { (exit 1); exit 1; }; }
21132 fi
21133 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21134echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21135
21136 wxUSE_UNIVERSAL="yes"
21137
21138 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21139 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21140
21141 AFMINSTALL=afminstall
21142 TOOLKIT=MGL
21143 GUIDIST=MGL_DIST
21144 fi
21145
21146 if test "$wxUSE_MICROWIN" = 1; then
21147 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21148echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21149 if test "x$MICROWINDOWS" = x ; then
21150 echo "$as_me:$LINENO: result: not found" >&5
21151echo "${ECHO_T}not found" >&6
21152 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21153echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21154 { (exit 1); exit 1; }; }
21155 else
21156 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21157echo "${ECHO_T}$MICROWINDOWS" >&6
21158 fi
21159
21160 if test -f $MICROWINDOWS/lib/libmwin.a; then
21161 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21162echo "${ECHO_T}MicroWindows' libraries found." >&6
21163 else
21164 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21165echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21166 { (exit 1); exit 1; }; }
21167 fi
21168
21169 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21170 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21171
21172 wxUSE_UNIVERSAL="yes"
21173
21174 AFMINSTALL=afminstall
21175 TOOLKIT=MICROWIN
21176 GUIDIST=MICROWIN_DIST
21177
21178 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21179 fi
21180
21181 if test "$wxUSE_X11" = 1; then
21182 echo "$as_me:$LINENO: checking for X" >&5
21183echo $ECHO_N "checking for X... $ECHO_C" >&6
21184
21185
21186# Check whether --with-x or --without-x was given.
21187if test "${with_x+set}" = set; then
21188 withval="$with_x"
21189
21190fi;
21191# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21192if test "x$with_x" = xno; then
21193 # The user explicitly disabled X.
21194 have_x=disabled
21195else
21196 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21197 # Both variables are already set.
21198 have_x=yes
21199 else
21200 if test "${ac_cv_have_x+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202else
21203 # One or both of the vars are not set, and there is no cached value.
21204ac_x_includes=no ac_x_libraries=no
21205rm -fr conftest.dir
21206if mkdir conftest.dir; then
21207 cd conftest.dir
21208 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21209 cat >Imakefile <<'_ACEOF'
21210acfindx:
21211 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21212_ACEOF
21213 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21215 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21216 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21217 for ac_extension in a so sl; do
21218 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21219 test -f $ac_im_libdir/libX11.$ac_extension; then
21220 ac_im_usrlibdir=$ac_im_libdir; break
21221 fi
21222 done
21223 # Screen out bogus values from the imake configuration. They are
21224 # bogus both because they are the default anyway, and because
21225 # using them would break gcc on systems where it needs fixed includes.
21226 case $ac_im_incroot in
21227 /usr/include) ;;
21228 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21229 esac
21230 case $ac_im_usrlibdir in
21231 /usr/lib | /lib) ;;
21232 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21233 esac
21234 fi
21235 cd ..
21236 rm -fr conftest.dir
21237fi
21238
21239# Standard set of common directories for X headers.
21240# Check X11 before X11Rn because it is often a symlink to the current release.
21241ac_x_header_dirs='
21242/usr/X11/include
21243/usr/X11R6/include
21244/usr/X11R5/include
21245/usr/X11R4/include
21246
21247/usr/include/X11
21248/usr/include/X11R6
21249/usr/include/X11R5
21250/usr/include/X11R4
21251
21252/usr/local/X11/include
21253/usr/local/X11R6/include
21254/usr/local/X11R5/include
21255/usr/local/X11R4/include
21256
21257/usr/local/include/X11
21258/usr/local/include/X11R6
21259/usr/local/include/X11R5
21260/usr/local/include/X11R4
21261
21262/usr/X386/include
21263/usr/x386/include
21264/usr/XFree86/include/X11
21265
21266/usr/include
21267/usr/local/include
21268/usr/unsupported/include
21269/usr/athena/include
21270/usr/local/x11r5/include
21271/usr/lpp/Xamples/include
21272
21273/usr/openwin/include
21274/usr/openwin/share/include'
21275
21276if test "$ac_x_includes" = no; then
21277 # Guess where to find include files, by looking for Intrinsic.h.
21278 # First, try using that file with no special directory specified.
21279 cat >conftest.$ac_ext <<_ACEOF
21280#line $LINENO "configure"
21281/* confdefs.h. */
21282_ACEOF
21283cat confdefs.h >>conftest.$ac_ext
21284cat >>conftest.$ac_ext <<_ACEOF
21285/* end confdefs.h. */
21286#include <X11/Intrinsic.h>
21287_ACEOF
21288if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } >/dev/null; then
21296 if test -s conftest.err; then
21297 ac_cpp_err=$ac_c_preproc_warn_flag
21298 else
21299 ac_cpp_err=
21300 fi
21301else
21302 ac_cpp_err=yes
21303fi
21304if test -z "$ac_cpp_err"; then
21305 # We can compile using X headers with no special include directory.
21306ac_x_includes=
21307else
21308 echo "$as_me: failed program was:" >&5
21309sed 's/^/| /' conftest.$ac_ext >&5
21310
21311 for ac_dir in $ac_x_header_dirs; do
21312 if test -r "$ac_dir/X11/Intrinsic.h"; then
21313 ac_x_includes=$ac_dir
21314 break
21315 fi
21316done
21317fi
21318rm -f conftest.err conftest.$ac_ext
21319fi # $ac_x_includes = no
21320
21321if test "$ac_x_libraries" = no; then
21322 # Check for the libraries.
21323 # See if we find them without any special options.
21324 # Don't add to $LIBS permanently.
21325 ac_save_LIBS=$LIBS
21326 LIBS="-lXt $LIBS"
21327 cat >conftest.$ac_ext <<_ACEOF
21328#line $LINENO "configure"
21329/* confdefs.h. */
21330_ACEOF
21331cat confdefs.h >>conftest.$ac_ext
21332cat >>conftest.$ac_ext <<_ACEOF
21333/* end confdefs.h. */
21334#include <X11/Intrinsic.h>
21335int
21336main ()
21337{
21338XtMalloc (0)
21339 ;
21340 return 0;
21341}
21342_ACEOF
21343rm -f conftest.$ac_objext conftest$ac_exeext
21344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21345 (eval $ac_link) 2>&5
21346 ac_status=$?
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try='test -s conftest$ac_exeext'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 LIBS=$ac_save_LIBS
21356# We can link X programs with no special library path.
21357ac_x_libraries=
21358else
21359 echo "$as_me: failed program was:" >&5
21360sed 's/^/| /' conftest.$ac_ext >&5
21361
21362LIBS=$ac_save_LIBS
21363for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21364do
21365 # Don't even attempt the hair of trying to link an X program!
21366 for ac_extension in a so sl; do
21367 if test -r $ac_dir/libXt.$ac_extension; then
21368 ac_x_libraries=$ac_dir
21369 break 2
21370 fi
21371 done
21372done
21373fi
21374rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21375fi # $ac_x_libraries = no
21376
21377if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21378 # Didn't find X anywhere. Cache the known absence of X.
21379 ac_cv_have_x="have_x=no"
21380else
21381 # Record where we found X for the cache.
21382 ac_cv_have_x="have_x=yes \
21383 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21384fi
21385fi
21386
21387 fi
21388 eval "$ac_cv_have_x"
21389fi # $with_x != no
21390
21391if test "$have_x" != yes; then
21392 echo "$as_me:$LINENO: result: $have_x" >&5
21393echo "${ECHO_T}$have_x" >&6
21394 no_x=yes
21395else
21396 # If each of the values was on the command line, it overrides each guess.
21397 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21398 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21399 # Update the cache value to reflect the command line values.
21400 ac_cv_have_x="have_x=yes \
21401 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21402 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21403echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21404fi
21405
21406if test "$no_x" = yes; then
21407 # Not all programs may use this symbol, but it does not hurt to define it.
21408
21409cat >>confdefs.h <<\_ACEOF
21410#define X_DISPLAY_MISSING 1
21411_ACEOF
21412
21413 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21414else
21415 if test -n "$x_includes"; then
21416 X_CFLAGS="$X_CFLAGS -I$x_includes"
21417 fi
21418
21419 # It would also be nice to do this for all -L options, not just this one.
21420 if test -n "$x_libraries"; then
21421 X_LIBS="$X_LIBS -L$x_libraries"
21422 # For Solaris; some versions of Sun CC require a space after -R and
21423 # others require no space. Words are not sufficient . . . .
21424 case `(uname -sr) 2>/dev/null` in
21425 "SunOS 5"*)
21426 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21427echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21428 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21429 cat >conftest.$ac_ext <<_ACEOF
21430#line $LINENO "configure"
21431/* confdefs.h. */
21432_ACEOF
21433cat confdefs.h >>conftest.$ac_ext
21434cat >>conftest.$ac_ext <<_ACEOF
21435/* end confdefs.h. */
21436
21437int
21438main ()
21439{
21440
21441 ;
21442 return 0;
21443}
21444_ACEOF
21445rm -f conftest.$ac_objext conftest$ac_exeext
21446if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447 (eval $ac_link) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -s conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_R_nospace=yes
21458else
21459 echo "$as_me: failed program was:" >&5
21460sed 's/^/| /' conftest.$ac_ext >&5
21461
21462ac_R_nospace=no
21463fi
21464rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21465 if test $ac_R_nospace = yes; then
21466 echo "$as_me:$LINENO: result: no" >&5
21467echo "${ECHO_T}no" >&6
21468 X_LIBS="$X_LIBS -R$x_libraries"
21469 else
21470 LIBS="$ac_xsave_LIBS -R $x_libraries"
21471 cat >conftest.$ac_ext <<_ACEOF
21472#line $LINENO "configure"
21473/* confdefs.h. */
21474_ACEOF
21475cat confdefs.h >>conftest.$ac_ext
21476cat >>conftest.$ac_ext <<_ACEOF
21477/* end confdefs.h. */
21478
21479int
21480main ()
21481{
21482
21483 ;
21484 return 0;
21485}
21486_ACEOF
21487rm -f conftest.$ac_objext conftest$ac_exeext
21488if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21489 (eval $ac_link) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 ac_R_space=yes
21500else
21501 echo "$as_me: failed program was:" >&5
21502sed 's/^/| /' conftest.$ac_ext >&5
21503
21504ac_R_space=no
21505fi
21506rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21507 if test $ac_R_space = yes; then
21508 echo "$as_me:$LINENO: result: yes" >&5
21509echo "${ECHO_T}yes" >&6
21510 X_LIBS="$X_LIBS -R $x_libraries"
21511 else
21512 echo "$as_me:$LINENO: result: neither works" >&5
21513echo "${ECHO_T}neither works" >&6
21514 fi
21515 fi
21516 LIBS=$ac_xsave_LIBS
21517 esac
21518 fi
21519
21520 # Check for system-dependent libraries X programs must link with.
21521 # Do this before checking for the system-independent R6 libraries
21522 # (-lICE), since we may need -lsocket or whatever for X linking.
21523
21524 if test "$ISC" = yes; then
21525 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21526 else
21527 # Martyn Johnson says this is needed for Ultrix, if the X
21528 # libraries were built with DECnet support. And Karl Berry says
21529 # the Alpha needs dnet_stub (dnet does not exist).
21530 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21531 cat >conftest.$ac_ext <<_ACEOF
21532#line $LINENO "configure"
21533/* confdefs.h. */
21534_ACEOF
21535cat confdefs.h >>conftest.$ac_ext
21536cat >>conftest.$ac_ext <<_ACEOF
21537/* end confdefs.h. */
21538
21539/* Override any gcc2 internal prototype to avoid an error. */
21540#ifdef __cplusplus
21541extern "C"
21542#endif
21543/* We use char because int might match the return type of a gcc2
21544 builtin and then its argument prototype would still apply. */
21545char XOpenDisplay ();
21546int
21547main ()
21548{
21549XOpenDisplay ();
21550 ;
21551 return 0;
21552}
21553_ACEOF
21554rm -f conftest.$ac_objext conftest$ac_exeext
21555if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21556 (eval $ac_link) 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try='test -s conftest$ac_exeext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 :
21567else
21568 echo "$as_me: failed program was:" >&5
21569sed 's/^/| /' conftest.$ac_ext >&5
21570
21571echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21572echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21573if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21574 echo $ECHO_N "(cached) $ECHO_C" >&6
21575else
21576 ac_check_lib_save_LIBS=$LIBS
21577LIBS="-ldnet $LIBS"
21578cat >conftest.$ac_ext <<_ACEOF
21579#line $LINENO "configure"
21580/* confdefs.h. */
21581_ACEOF
21582cat confdefs.h >>conftest.$ac_ext
21583cat >>conftest.$ac_ext <<_ACEOF
21584/* end confdefs.h. */
21585
21586/* Override any gcc2 internal prototype to avoid an error. */
21587#ifdef __cplusplus
21588extern "C"
21589#endif
21590/* We use char because int might match the return type of a gcc2
21591 builtin and then its argument prototype would still apply. */
21592char dnet_ntoa ();
21593int
21594main ()
21595{
21596dnet_ntoa ();
21597 ;
21598 return 0;
21599}
21600_ACEOF
21601rm -f conftest.$ac_objext conftest$ac_exeext
21602if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21603 (eval $ac_link) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } &&
21607 { ac_try='test -s conftest$ac_exeext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_cv_lib_dnet_dnet_ntoa=yes
21614else
21615 echo "$as_me: failed program was:" >&5
21616sed 's/^/| /' conftest.$ac_ext >&5
21617
21618ac_cv_lib_dnet_dnet_ntoa=no
21619fi
21620rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21621LIBS=$ac_check_lib_save_LIBS
21622fi
21623echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21624echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21625if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21626 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21627fi
21628
21629 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21630 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21631echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21632if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21634else
21635 ac_check_lib_save_LIBS=$LIBS
21636LIBS="-ldnet_stub $LIBS"
21637cat >conftest.$ac_ext <<_ACEOF
21638#line $LINENO "configure"
21639/* confdefs.h. */
21640_ACEOF
21641cat confdefs.h >>conftest.$ac_ext
21642cat >>conftest.$ac_ext <<_ACEOF
21643/* end confdefs.h. */
21644
21645/* Override any gcc2 internal prototype to avoid an error. */
21646#ifdef __cplusplus
21647extern "C"
21648#endif
21649/* We use char because int might match the return type of a gcc2
21650 builtin and then its argument prototype would still apply. */
21651char dnet_ntoa ();
21652int
21653main ()
21654{
21655dnet_ntoa ();
21656 ;
21657 return 0;
21658}
21659_ACEOF
21660rm -f conftest.$ac_objext conftest$ac_exeext
21661if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662 (eval $ac_link) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try='test -s conftest$ac_exeext'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21669 ac_status=$?
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; }; then
21672 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21673else
21674 echo "$as_me: failed program was:" >&5
21675sed 's/^/| /' conftest.$ac_ext >&5
21676
21677ac_cv_lib_dnet_stub_dnet_ntoa=no
21678fi
21679rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21680LIBS=$ac_check_lib_save_LIBS
21681fi
21682echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21683echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21684if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21685 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21686fi
21687
21688 fi
21689fi
21690rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21691 LIBS="$ac_xsave_LIBS"
21692
21693 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21694 # to get the SysV transport functions.
21695 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21696 # needs -lnsl.
21697 # The nsl library prevents programs from opening the X display
21698 # on Irix 5.2, according to T.E. Dickey.
21699 # The functions gethostbyname, getservbyname, and inet_addr are
21700 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21701 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21702echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21703if test "${ac_cv_func_gethostbyname+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21705else
21706 cat >conftest.$ac_ext <<_ACEOF
21707#line $LINENO "configure"
21708/* confdefs.h. */
21709_ACEOF
21710cat confdefs.h >>conftest.$ac_ext
21711cat >>conftest.$ac_ext <<_ACEOF
21712/* end confdefs.h. */
21713/* System header to define __stub macros and hopefully few prototypes,
21714 which can conflict with char gethostbyname (); below.
21715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21716 <limits.h> exists even on freestanding compilers. */
21717#ifdef __STDC__
21718# include <limits.h>
21719#else
21720# include <assert.h>
21721#endif
21722/* Override any gcc2 internal prototype to avoid an error. */
21723#ifdef __cplusplus
21724extern "C"
21725{
21726#endif
21727/* We use char because int might match the return type of a gcc2
21728 builtin and then its argument prototype would still apply. */
21729char gethostbyname ();
21730/* The GNU C library defines this for functions which it implements
21731 to always fail with ENOSYS. Some functions are actually named
21732 something starting with __ and the normal name is an alias. */
21733#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21734choke me
21735#else
21736char (*f) () = gethostbyname;
21737#endif
21738#ifdef __cplusplus
21739}
21740#endif
21741
21742int
21743main ()
21744{
21745return f != gethostbyname;
21746 ;
21747 return 0;
21748}
21749_ACEOF
21750rm -f conftest.$ac_objext conftest$ac_exeext
21751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21752 (eval $ac_link) 2>&5
21753 ac_status=$?
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } &&
21756 { ac_try='test -s conftest$ac_exeext'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21759 ac_status=$?
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; }; then
21762 ac_cv_func_gethostbyname=yes
21763else
21764 echo "$as_me: failed program was:" >&5
21765sed 's/^/| /' conftest.$ac_ext >&5
21766
21767ac_cv_func_gethostbyname=no
21768fi
21769rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21770fi
21771echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21772echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21773
21774 if test $ac_cv_func_gethostbyname = no; then
21775 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21776echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21777if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21778 echo $ECHO_N "(cached) $ECHO_C" >&6
21779else
21780 ac_check_lib_save_LIBS=$LIBS
21781LIBS="-lnsl $LIBS"
21782cat >conftest.$ac_ext <<_ACEOF
21783#line $LINENO "configure"
21784/* confdefs.h. */
21785_ACEOF
21786cat confdefs.h >>conftest.$ac_ext
21787cat >>conftest.$ac_ext <<_ACEOF
21788/* end confdefs.h. */
21789
21790/* Override any gcc2 internal prototype to avoid an error. */
21791#ifdef __cplusplus
21792extern "C"
21793#endif
21794/* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21796char gethostbyname ();
21797int
21798main ()
21799{
21800gethostbyname ();
21801 ;
21802 return 0;
21803}
21804_ACEOF
21805rm -f conftest.$ac_objext conftest$ac_exeext
21806if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try='test -s conftest$ac_exeext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21814 ac_status=$?
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 ac_cv_lib_nsl_gethostbyname=yes
21818else
21819 echo "$as_me: failed program was:" >&5
21820sed 's/^/| /' conftest.$ac_ext >&5
21821
21822ac_cv_lib_nsl_gethostbyname=no
21823fi
21824rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21825LIBS=$ac_check_lib_save_LIBS
21826fi
21827echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21828echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21829if test $ac_cv_lib_nsl_gethostbyname = yes; then
21830 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21831fi
21832
21833 if test $ac_cv_lib_nsl_gethostbyname = no; then
21834 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21835echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21836if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21837 echo $ECHO_N "(cached) $ECHO_C" >&6
21838else
21839 ac_check_lib_save_LIBS=$LIBS
21840LIBS="-lbsd $LIBS"
21841cat >conftest.$ac_ext <<_ACEOF
21842#line $LINENO "configure"
21843/* confdefs.h. */
21844_ACEOF
21845cat confdefs.h >>conftest.$ac_ext
21846cat >>conftest.$ac_ext <<_ACEOF
21847/* end confdefs.h. */
21848
21849/* Override any gcc2 internal prototype to avoid an error. */
21850#ifdef __cplusplus
21851extern "C"
21852#endif
21853/* We use char because int might match the return type of a gcc2
21854 builtin and then its argument prototype would still apply. */
21855char gethostbyname ();
21856int
21857main ()
21858{
21859gethostbyname ();
21860 ;
21861 return 0;
21862}
21863_ACEOF
21864rm -f conftest.$ac_objext conftest$ac_exeext
21865if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21866 (eval $ac_link) 2>&5
21867 ac_status=$?
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); } &&
21870 { ac_try='test -s conftest$ac_exeext'
21871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21872 (eval $ac_try) 2>&5
21873 ac_status=$?
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_lib_bsd_gethostbyname=yes
21877else
21878 echo "$as_me: failed program was:" >&5
21879sed 's/^/| /' conftest.$ac_ext >&5
21880
21881ac_cv_lib_bsd_gethostbyname=no
21882fi
21883rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21884LIBS=$ac_check_lib_save_LIBS
21885fi
21886echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21887echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21888if test $ac_cv_lib_bsd_gethostbyname = yes; then
21889 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21890fi
21891
21892 fi
21893 fi
21894
21895 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21896 # socket/setsockopt and other routines are undefined under SCO ODT
21897 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21898 # on later versions), says Simon Leinen: it contains gethostby*
21899 # variants that don't use the name server (or something). -lsocket
21900 # must be given before -lnsl if both are needed. We assume that
21901 # if connect needs -lnsl, so does gethostbyname.
21902 echo "$as_me:$LINENO: checking for connect" >&5
21903echo $ECHO_N "checking for connect... $ECHO_C" >&6
21904if test "${ac_cv_func_connect+set}" = set; then
21905 echo $ECHO_N "(cached) $ECHO_C" >&6
21906else
21907 cat >conftest.$ac_ext <<_ACEOF
21908#line $LINENO "configure"
21909/* confdefs.h. */
21910_ACEOF
21911cat confdefs.h >>conftest.$ac_ext
21912cat >>conftest.$ac_ext <<_ACEOF
21913/* end confdefs.h. */
21914/* System header to define __stub macros and hopefully few prototypes,
21915 which can conflict with char connect (); below.
21916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21917 <limits.h> exists even on freestanding compilers. */
21918#ifdef __STDC__
21919# include <limits.h>
21920#else
21921# include <assert.h>
21922#endif
21923/* Override any gcc2 internal prototype to avoid an error. */
21924#ifdef __cplusplus
21925extern "C"
21926{
21927#endif
21928/* We use char because int might match the return type of a gcc2
21929 builtin and then its argument prototype would still apply. */
21930char connect ();
21931/* The GNU C library defines this for functions which it implements
21932 to always fail with ENOSYS. Some functions are actually named
21933 something starting with __ and the normal name is an alias. */
21934#if defined (__stub_connect) || defined (__stub___connect)
21935choke me
21936#else
21937char (*f) () = connect;
21938#endif
21939#ifdef __cplusplus
21940}
21941#endif
21942
21943int
21944main ()
21945{
21946return f != connect;
21947 ;
21948 return 0;
21949}
21950_ACEOF
21951rm -f conftest.$ac_objext conftest$ac_exeext
21952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953 (eval $ac_link) 2>&5
21954 ac_status=$?
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try='test -s conftest$ac_exeext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_cv_func_connect=yes
21964else
21965 echo "$as_me: failed program was:" >&5
21966sed 's/^/| /' conftest.$ac_ext >&5
21967
21968ac_cv_func_connect=no
21969fi
21970rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21971fi
21972echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21973echo "${ECHO_T}$ac_cv_func_connect" >&6
21974
21975 if test $ac_cv_func_connect = no; then
21976 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21977echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21978if test "${ac_cv_lib_socket_connect+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980else
21981 ac_check_lib_save_LIBS=$LIBS
21982LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21983cat >conftest.$ac_ext <<_ACEOF
21984#line $LINENO "configure"
21985/* confdefs.h. */
21986_ACEOF
21987cat confdefs.h >>conftest.$ac_ext
21988cat >>conftest.$ac_ext <<_ACEOF
21989/* end confdefs.h. */
21990
21991/* Override any gcc2 internal prototype to avoid an error. */
21992#ifdef __cplusplus
21993extern "C"
21994#endif
21995/* We use char because int might match the return type of a gcc2
21996 builtin and then its argument prototype would still apply. */
21997char connect ();
21998int
21999main ()
22000{
22001connect ();
22002 ;
22003 return 0;
22004}
22005_ACEOF
22006rm -f conftest.$ac_objext conftest$ac_exeext
22007if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22008 (eval $ac_link) 2>&5
22009 ac_status=$?
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } &&
22012 { ac_try='test -s conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22015 ac_status=$?
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_cv_lib_socket_connect=yes
22019else
22020 echo "$as_me: failed program was:" >&5
22021sed 's/^/| /' conftest.$ac_ext >&5
22022
22023ac_cv_lib_socket_connect=no
22024fi
22025rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22026LIBS=$ac_check_lib_save_LIBS
22027fi
22028echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22029echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22030if test $ac_cv_lib_socket_connect = yes; then
22031 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22032fi
22033
22034 fi
22035
22036 # Guillermo Gomez says -lposix is necessary on A/UX.
22037 echo "$as_me:$LINENO: checking for remove" >&5
22038echo $ECHO_N "checking for remove... $ECHO_C" >&6
22039if test "${ac_cv_func_remove+set}" = set; then
22040 echo $ECHO_N "(cached) $ECHO_C" >&6
22041else
22042 cat >conftest.$ac_ext <<_ACEOF
22043#line $LINENO "configure"
22044/* confdefs.h. */
22045_ACEOF
22046cat confdefs.h >>conftest.$ac_ext
22047cat >>conftest.$ac_ext <<_ACEOF
22048/* end confdefs.h. */
22049/* System header to define __stub macros and hopefully few prototypes,
22050 which can conflict with char remove (); below.
22051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22052 <limits.h> exists even on freestanding compilers. */
22053#ifdef __STDC__
22054# include <limits.h>
22055#else
22056# include <assert.h>
22057#endif
22058/* Override any gcc2 internal prototype to avoid an error. */
22059#ifdef __cplusplus
22060extern "C"
22061{
22062#endif
22063/* We use char because int might match the return type of a gcc2
22064 builtin and then its argument prototype would still apply. */
22065char remove ();
22066/* The GNU C library defines this for functions which it implements
22067 to always fail with ENOSYS. Some functions are actually named
22068 something starting with __ and the normal name is an alias. */
22069#if defined (__stub_remove) || defined (__stub___remove)
22070choke me
22071#else
22072char (*f) () = remove;
22073#endif
22074#ifdef __cplusplus
22075}
22076#endif
22077
22078int
22079main ()
22080{
22081return f != remove;
22082 ;
22083 return 0;
22084}
22085_ACEOF
22086rm -f conftest.$ac_objext conftest$ac_exeext
22087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22088 (eval $ac_link) 2>&5
22089 ac_status=$?
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } &&
22092 { ac_try='test -s conftest$ac_exeext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22095 ac_status=$?
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22098 ac_cv_func_remove=yes
22099else
22100 echo "$as_me: failed program was:" >&5
22101sed 's/^/| /' conftest.$ac_ext >&5
22102
22103ac_cv_func_remove=no
22104fi
22105rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22106fi
22107echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22108echo "${ECHO_T}$ac_cv_func_remove" >&6
22109
22110 if test $ac_cv_func_remove = no; then
22111 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22112echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22113if test "${ac_cv_lib_posix_remove+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22115else
22116 ac_check_lib_save_LIBS=$LIBS
22117LIBS="-lposix $LIBS"
22118cat >conftest.$ac_ext <<_ACEOF
22119#line $LINENO "configure"
22120/* confdefs.h. */
22121_ACEOF
22122cat confdefs.h >>conftest.$ac_ext
22123cat >>conftest.$ac_ext <<_ACEOF
22124/* end confdefs.h. */
22125
22126/* Override any gcc2 internal prototype to avoid an error. */
22127#ifdef __cplusplus
22128extern "C"
22129#endif
22130/* We use char because int might match the return type of a gcc2
22131 builtin and then its argument prototype would still apply. */
22132char remove ();
22133int
22134main ()
22135{
22136remove ();
22137 ;
22138 return 0;
22139}
22140_ACEOF
22141rm -f conftest.$ac_objext conftest$ac_exeext
22142if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22143 (eval $ac_link) 2>&5
22144 ac_status=$?
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } &&
22147 { ac_try='test -s conftest$ac_exeext'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; }; then
22153 ac_cv_lib_posix_remove=yes
22154else
22155 echo "$as_me: failed program was:" >&5
22156sed 's/^/| /' conftest.$ac_ext >&5
22157
22158ac_cv_lib_posix_remove=no
22159fi
22160rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22161LIBS=$ac_check_lib_save_LIBS
22162fi
22163echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22164echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22165if test $ac_cv_lib_posix_remove = yes; then
22166 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22167fi
22168
22169 fi
22170
22171 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22172 echo "$as_me:$LINENO: checking for shmat" >&5
22173echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22174if test "${ac_cv_func_shmat+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22176else
22177 cat >conftest.$ac_ext <<_ACEOF
22178#line $LINENO "configure"
22179/* confdefs.h. */
22180_ACEOF
22181cat confdefs.h >>conftest.$ac_ext
22182cat >>conftest.$ac_ext <<_ACEOF
22183/* end confdefs.h. */
22184/* System header to define __stub macros and hopefully few prototypes,
22185 which can conflict with char shmat (); below.
22186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22187 <limits.h> exists even on freestanding compilers. */
22188#ifdef __STDC__
22189# include <limits.h>
22190#else
22191# include <assert.h>
22192#endif
22193/* Override any gcc2 internal prototype to avoid an error. */
22194#ifdef __cplusplus
22195extern "C"
22196{
22197#endif
22198/* We use char because int might match the return type of a gcc2
22199 builtin and then its argument prototype would still apply. */
22200char shmat ();
22201/* The GNU C library defines this for functions which it implements
22202 to always fail with ENOSYS. Some functions are actually named
22203 something starting with __ and the normal name is an alias. */
22204#if defined (__stub_shmat) || defined (__stub___shmat)
22205choke me
22206#else
22207char (*f) () = shmat;
22208#endif
22209#ifdef __cplusplus
22210}
22211#endif
22212
22213int
22214main ()
22215{
22216return f != shmat;
22217 ;
22218 return 0;
22219}
22220_ACEOF
22221rm -f conftest.$ac_objext conftest$ac_exeext
22222if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22223 (eval $ac_link) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try='test -s conftest$ac_exeext'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 ac_cv_func_shmat=yes
22234else
22235 echo "$as_me: failed program was:" >&5
22236sed 's/^/| /' conftest.$ac_ext >&5
22237
22238ac_cv_func_shmat=no
22239fi
22240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22241fi
22242echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22243echo "${ECHO_T}$ac_cv_func_shmat" >&6
22244
22245 if test $ac_cv_func_shmat = no; then
22246 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22247echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22248if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22250else
22251 ac_check_lib_save_LIBS=$LIBS
22252LIBS="-lipc $LIBS"
22253cat >conftest.$ac_ext <<_ACEOF
22254#line $LINENO "configure"
22255/* confdefs.h. */
22256_ACEOF
22257cat confdefs.h >>conftest.$ac_ext
22258cat >>conftest.$ac_ext <<_ACEOF
22259/* end confdefs.h. */
22260
22261/* Override any gcc2 internal prototype to avoid an error. */
22262#ifdef __cplusplus
22263extern "C"
22264#endif
22265/* We use char because int might match the return type of a gcc2
22266 builtin and then its argument prototype would still apply. */
22267char shmat ();
22268int
22269main ()
22270{
22271shmat ();
22272 ;
22273 return 0;
22274}
22275_ACEOF
22276rm -f conftest.$ac_objext conftest$ac_exeext
22277if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22278 (eval $ac_link) 2>&5
22279 ac_status=$?
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } &&
22282 { ac_try='test -s conftest$ac_exeext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_lib_ipc_shmat=yes
22289else
22290 echo "$as_me: failed program was:" >&5
22291sed 's/^/| /' conftest.$ac_ext >&5
22292
22293ac_cv_lib_ipc_shmat=no
22294fi
22295rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22296LIBS=$ac_check_lib_save_LIBS
22297fi
22298echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22299echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22300if test $ac_cv_lib_ipc_shmat = yes; then
22301 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22302fi
22303
22304 fi
22305 fi
22306
22307 # Check for libraries that X11R6 Xt/Xaw programs need.
22308 ac_save_LDFLAGS=$LDFLAGS
22309 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22310 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22311 # check for ICE first), but we must link in the order -lSM -lICE or
22312 # we get undefined symbols. So assume we have SM if we have ICE.
22313 # These have to be linked with before -lX11, unlike the other
22314 # libraries we check for below, so use a different variable.
22315 # John Interrante, Karl Berry
22316 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22317echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22318if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320else
22321 ac_check_lib_save_LIBS=$LIBS
22322LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22323cat >conftest.$ac_ext <<_ACEOF
22324#line $LINENO "configure"
22325/* confdefs.h. */
22326_ACEOF
22327cat confdefs.h >>conftest.$ac_ext
22328cat >>conftest.$ac_ext <<_ACEOF
22329/* end confdefs.h. */
22330
22331/* Override any gcc2 internal prototype to avoid an error. */
22332#ifdef __cplusplus
22333extern "C"
22334#endif
22335/* We use char because int might match the return type of a gcc2
22336 builtin and then its argument prototype would still apply. */
22337char IceConnectionNumber ();
22338int
22339main ()
22340{
22341IceConnectionNumber ();
22342 ;
22343 return 0;
22344}
22345_ACEOF
22346rm -f conftest.$ac_objext conftest$ac_exeext
22347if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22348 (eval $ac_link) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -s conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_lib_ICE_IceConnectionNumber=yes
22359else
22360 echo "$as_me: failed program was:" >&5
22361sed 's/^/| /' conftest.$ac_ext >&5
22362
22363ac_cv_lib_ICE_IceConnectionNumber=no
22364fi
22365rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22366LIBS=$ac_check_lib_save_LIBS
22367fi
22368echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22369echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22370if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22371 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22372fi
22373
22374 LDFLAGS=$ac_save_LDFLAGS
22375
22376fi
22377
22378
22379 if test "$no_x" = "yes"; then
22380 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22381echo "$as_me: error: X11 not found" >&2;}
22382 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22383 fi
22384
22385 GUI_TK_LIBRARY="$X_LIBS"
22386 TOOLKIT_INCLUDE="$X_CFLAGS"
22387 AFMINSTALL=afminstall
22388 COMPILED_X_PROGRAM=0
22389
22390 if test "$wxUSE_NANOX" = "yes"; then
22391 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22392echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22393 if test "x$MICROWIN" = x ; then
22394 echo "$as_me:$LINENO: result: not found" >&5
22395echo "${ECHO_T}not found" >&6
22396 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22397echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22398 { (exit 1); exit 1; }; }
22399 else
22400 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22401echo "${ECHO_T}$MICROWIN" >&6
22402 cat >>confdefs.h <<\_ACEOF
22403#define wxUSE_NANOX 1
22404_ACEOF
22405
22406 fi
22407 fi
22408
22409 xpm_link=
22410 echo "$as_me:$LINENO: checking for Xpm library" >&5
22411echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22412
22413ac_find_libraries=
22414for ac_dir in $SEARCH_LIB /usr/lib;
22415 do
22416 for ac_extension in a so sl dylib; do
22417 if test -f "$ac_dir/libXpm.$ac_extension"; then
22418 ac_find_libraries=$ac_dir
22419 break 2
22420 fi
22421 done
22422 done
22423
22424 if test "$ac_find_libraries" != "" ; then
22425
22426 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22427 result=$?
22428 if test $result = 0; then
22429 ac_path_to_link=""
22430 else
22431 ac_path_to_link=" -L$ac_find_libraries"
22432 fi
22433
22434 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22435 xpm_link=" -lXpm"
22436 cat >>confdefs.h <<\_ACEOF
22437#define wxHAVE_LIB_XPM 1
22438_ACEOF
22439
22440 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22441echo "${ECHO_T}found at $ac_find_libraries" >&6
22442 else
22443 cat >conftest.$ac_ext <<_ACEOF
22444#line $LINENO "configure"
22445/* confdefs.h. */
22446_ACEOF
22447cat confdefs.h >>conftest.$ac_ext
22448cat >>conftest.$ac_ext <<_ACEOF
22449/* end confdefs.h. */
22450
22451 #include <X11/xpm.h>
22452
22453int
22454main ()
22455{
22456
22457 int version;
22458 version = XpmLibraryVersion();
22459
22460 ;
22461 return 0;
22462}
22463_ACEOF
22464rm -f conftest.$ac_objext
22465if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22466 (eval $ac_compile) 2>&5
22467 ac_status=$?
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try='test -s conftest.$ac_objext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22476
22477 xpm_link=" -lXpm"
22478 cat >>confdefs.h <<\_ACEOF
22479#define wxHAVE_LIB_XPM 1
22480_ACEOF
22481
22482 echo "$as_me:$LINENO: result: found in default search path" >&5
22483echo "${ECHO_T}found in default search path" >&6
22484 COMPILED_X_PROGRAM=0
22485
22486else
22487 echo "$as_me: failed program was:" >&5
22488sed 's/^/| /' conftest.$ac_ext >&5
22489
22490
22491 echo "$as_me:$LINENO: result: no" >&5
22492echo "${ECHO_T}no" >&6
22493 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22494echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22495
22496
22497fi
22498rm -f conftest.$ac_objext conftest.$ac_ext
22499 fi
22500
22501 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22502echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22503if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22505else
22506 ac_check_lib_save_LIBS=$LIBS
22507LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22508cat >conftest.$ac_ext <<_ACEOF
22509#line $LINENO "configure"
22510/* confdefs.h. */
22511_ACEOF
22512cat confdefs.h >>conftest.$ac_ext
22513cat >>conftest.$ac_ext <<_ACEOF
22514/* end confdefs.h. */
22515
22516/* Override any gcc2 internal prototype to avoid an error. */
22517#ifdef __cplusplus
22518extern "C"
22519#endif
22520/* We use char because int might match the return type of a gcc2
22521 builtin and then its argument prototype would still apply. */
22522char XShapeQueryExtension ();
22523int
22524main ()
22525{
22526XShapeQueryExtension ();
22527 ;
22528 return 0;
22529}
22530_ACEOF
22531rm -f conftest.$ac_objext conftest$ac_exeext
22532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try='test -s conftest$ac_exeext'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22540 ac_status=$?
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 ac_cv_lib_Xext_XShapeQueryExtension=yes
22544else
22545 echo "$as_me: failed program was:" >&5
22546sed 's/^/| /' conftest.$ac_ext >&5
22547
22548ac_cv_lib_Xext_XShapeQueryExtension=no
22549fi
22550rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22551LIBS=$ac_check_lib_save_LIBS
22552fi
22553echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22554echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22555if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22556
22557 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22558 wxHAVE_XEXT_LIB=1
22559
22560fi
22561
22562
22563 if test "$wxUSE_UNICODE" = "yes"; then
22564
22565 succeeded=no
22566
22567 if test -z "$PKG_CONFIG"; then
22568 # Extract the first word of "pkg-config", so it can be a program name with args.
22569set dummy pkg-config; ac_word=$2
22570echo "$as_me:$LINENO: checking for $ac_word" >&5
22571echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22572if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22574else
22575 case $PKG_CONFIG in
22576 [\\/]* | ?:[\\/]*)
22577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22578 ;;
22579 *)
22580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22581for as_dir in $PATH
22582do
22583 IFS=$as_save_IFS
22584 test -z "$as_dir" && as_dir=.
22585 for ac_exec_ext in '' $ac_executable_extensions; do
22586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22589 break 2
22590 fi
22591done
22592done
22593
22594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22595 ;;
22596esac
22597fi
22598PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22599
22600if test -n "$PKG_CONFIG"; then
22601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22602echo "${ECHO_T}$PKG_CONFIG" >&6
22603else
22604 echo "$as_me:$LINENO: result: no" >&5
22605echo "${ECHO_T}no" >&6
22606fi
22607
22608 fi
22609
22610 if test "$PKG_CONFIG" = "no" ; then
22611 echo "*** The pkg-config script could not be found. Make sure it is"
22612 echo "*** in your path, or set the PKG_CONFIG environment variable"
22613 echo "*** to the full path to pkg-config."
22614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22615 else
22616 PKG_CONFIG_MIN_VERSION=0.9.0
22617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22618 echo "$as_me:$LINENO: checking for pangox" >&5
22619echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22620
22621 if $PKG_CONFIG --exists "pangox" ; then
22622 echo "$as_me:$LINENO: result: yes" >&5
22623echo "${ECHO_T}yes" >&6
22624 succeeded=yes
22625
22626 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22627echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22628 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22629 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22630echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22631
22632 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22633echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22634 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22635 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22636echo "${ECHO_T}$PANGOX_LIBS" >&6
22637 else
22638 PANGOX_CFLAGS=""
22639 PANGOX_LIBS=""
22640 ## If we have a custom action on failure, don't print errors, but
22641 ## do set a variable so people can do so.
22642 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22643
22644 fi
22645
22646
22647
22648 else
22649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22651 fi
22652 fi
22653
22654 if test $succeeded = yes; then
22655
22656 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22658
22659 else
22660
22661 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22662echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22663 { (exit 1); exit 1; }; }
22664
22665
22666 fi
22667
22668
22669 succeeded=no
22670
22671 if test -z "$PKG_CONFIG"; then
22672 # Extract the first word of "pkg-config", so it can be a program name with args.
22673set dummy pkg-config; ac_word=$2
22674echo "$as_me:$LINENO: checking for $ac_word" >&5
22675echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22676if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678else
22679 case $PKG_CONFIG in
22680 [\\/]* | ?:[\\/]*)
22681 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22682 ;;
22683 *)
22684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22685for as_dir in $PATH
22686do
22687 IFS=$as_save_IFS
22688 test -z "$as_dir" && as_dir=.
22689 for ac_exec_ext in '' $ac_executable_extensions; do
22690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22691 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22693 break 2
22694 fi
22695done
22696done
22697
22698 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22699 ;;
22700esac
22701fi
22702PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22703
22704if test -n "$PKG_CONFIG"; then
22705 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22706echo "${ECHO_T}$PKG_CONFIG" >&6
22707else
22708 echo "$as_me:$LINENO: result: no" >&5
22709echo "${ECHO_T}no" >&6
22710fi
22711
22712 fi
22713
22714 if test "$PKG_CONFIG" = "no" ; then
22715 echo "*** The pkg-config script could not be found. Make sure it is"
22716 echo "*** in your path, or set the PKG_CONFIG environment variable"
22717 echo "*** to the full path to pkg-config."
22718 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22719 else
22720 PKG_CONFIG_MIN_VERSION=0.9.0
22721 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22722 echo "$as_me:$LINENO: checking for pangoft2" >&5
22723echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22724
22725 if $PKG_CONFIG --exists "pangoft2" ; then
22726 echo "$as_me:$LINENO: result: yes" >&5
22727echo "${ECHO_T}yes" >&6
22728 succeeded=yes
22729
22730 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22731echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22732 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22733 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22734echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22735
22736 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22737echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22738 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22739 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22740echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22741 else
22742 PANGOFT2_CFLAGS=""
22743 PANGOFT2_LIBS=""
22744 ## If we have a custom action on failure, don't print errors, but
22745 ## do set a variable so people can do so.
22746 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22747
22748 fi
22749
22750
22751
22752 else
22753 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22754 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22755 fi
22756 fi
22757
22758 if test $succeeded = yes; then
22759
22760 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22761 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22762
22763 else
22764
22765 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22766echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22767 wxUSE_PRINTING_ARCHITECTURE="no"
22768
22769
22770 fi
22771
22772
22773 succeeded=no
22774
22775 if test -z "$PKG_CONFIG"; then
22776 # Extract the first word of "pkg-config", so it can be a program name with args.
22777set dummy pkg-config; ac_word=$2
22778echo "$as_me:$LINENO: checking for $ac_word" >&5
22779echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22780if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22781 echo $ECHO_N "(cached) $ECHO_C" >&6
22782else
22783 case $PKG_CONFIG in
22784 [\\/]* | ?:[\\/]*)
22785 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22786 ;;
22787 *)
22788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22789for as_dir in $PATH
22790do
22791 IFS=$as_save_IFS
22792 test -z "$as_dir" && as_dir=.
22793 for ac_exec_ext in '' $ac_executable_extensions; do
22794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22795 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22797 break 2
22798 fi
22799done
22800done
22801
22802 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22803 ;;
22804esac
22805fi
22806PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22807
22808if test -n "$PKG_CONFIG"; then
22809 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22810echo "${ECHO_T}$PKG_CONFIG" >&6
22811else
22812 echo "$as_me:$LINENO: result: no" >&5
22813echo "${ECHO_T}no" >&6
22814fi
22815
22816 fi
22817
22818 if test "$PKG_CONFIG" = "no" ; then
22819 echo "*** The pkg-config script could not be found. Make sure it is"
22820 echo "*** in your path, or set the PKG_CONFIG environment variable"
22821 echo "*** to the full path to pkg-config."
22822 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22823 else
22824 PKG_CONFIG_MIN_VERSION=0.9.0
22825 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22826 echo "$as_me:$LINENO: checking for pangoxft" >&5
22827echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22828
22829 if $PKG_CONFIG --exists "pangoxft" ; then
22830 echo "$as_me:$LINENO: result: yes" >&5
22831echo "${ECHO_T}yes" >&6
22832 succeeded=yes
22833
22834 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22835echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22836 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22837 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22838echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22839
22840 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22841echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22842 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22843 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22844echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22845 else
22846 PANGOXFT_CFLAGS=""
22847 PANGOXFT_LIBS=""
22848 ## If we have a custom action on failure, don't print errors, but
22849 ## do set a variable so people can do so.
22850 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22851
22852 fi
22853
22854
22855
22856 else
22857 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22858 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22859 fi
22860 fi
22861
22862 if test $succeeded = yes; then
22863
22864 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22865 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22866
22867 else
22868
22869 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22870echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22871
22872
22873 fi
22874
22875 fi
22876
22877 wxUSE_UNIVERSAL="yes"
22878
22879 if test "$wxUSE_NANOX" = "yes"; then
22880 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22881 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"
22882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22883 else
22884 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22885 fi
22886
22887 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22888 TOOLKIT=X11
22889 GUIDIST=X11_DIST
22890 fi
22891
22892 if test "$wxUSE_MOTIF" = 1; then
22893 if test "$no_x" = yes; then
22894 # Not all programs may use this symbol, but it does not hurt to define it.
22895
22896cat >>confdefs.h <<\_ACEOF
22897#define X_DISPLAY_MISSING 1
22898_ACEOF
22899
22900 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22901else
22902 if test -n "$x_includes"; then
22903 X_CFLAGS="$X_CFLAGS -I$x_includes"
22904 fi
22905
22906 # It would also be nice to do this for all -L options, not just this one.
22907 if test -n "$x_libraries"; then
22908 X_LIBS="$X_LIBS -L$x_libraries"
22909 # For Solaris; some versions of Sun CC require a space after -R and
22910 # others require no space. Words are not sufficient . . . .
22911 case `(uname -sr) 2>/dev/null` in
22912 "SunOS 5"*)
22913 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22914echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22915 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22916 cat >conftest.$ac_ext <<_ACEOF
22917#line $LINENO "configure"
22918/* confdefs.h. */
22919_ACEOF
22920cat confdefs.h >>conftest.$ac_ext
22921cat >>conftest.$ac_ext <<_ACEOF
22922/* end confdefs.h. */
22923
22924int
22925main ()
22926{
22927
22928 ;
22929 return 0;
22930}
22931_ACEOF
22932rm -f conftest.$ac_objext conftest$ac_exeext
22933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22934 (eval $ac_link) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_R_nospace=yes
22945else
22946 echo "$as_me: failed program was:" >&5
22947sed 's/^/| /' conftest.$ac_ext >&5
22948
22949ac_R_nospace=no
22950fi
22951rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22952 if test $ac_R_nospace = yes; then
22953 echo "$as_me:$LINENO: result: no" >&5
22954echo "${ECHO_T}no" >&6
22955 X_LIBS="$X_LIBS -R$x_libraries"
22956 else
22957 LIBS="$ac_xsave_LIBS -R $x_libraries"
22958 cat >conftest.$ac_ext <<_ACEOF
22959#line $LINENO "configure"
22960/* confdefs.h. */
22961_ACEOF
22962cat confdefs.h >>conftest.$ac_ext
22963cat >>conftest.$ac_ext <<_ACEOF
22964/* end confdefs.h. */
22965
22966int
22967main ()
22968{
22969
22970 ;
22971 return 0;
22972}
22973_ACEOF
22974rm -f conftest.$ac_objext conftest$ac_exeext
22975if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
22986 ac_R_space=yes
22987else
22988 echo "$as_me: failed program was:" >&5
22989sed 's/^/| /' conftest.$ac_ext >&5
22990
22991ac_R_space=no
22992fi
22993rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22994 if test $ac_R_space = yes; then
22995 echo "$as_me:$LINENO: result: yes" >&5
22996echo "${ECHO_T}yes" >&6
22997 X_LIBS="$X_LIBS -R $x_libraries"
22998 else
22999 echo "$as_me:$LINENO: result: neither works" >&5
23000echo "${ECHO_T}neither works" >&6
23001 fi
23002 fi
23003 LIBS=$ac_xsave_LIBS
23004 esac
23005 fi
23006
23007 # Check for system-dependent libraries X programs must link with.
23008 # Do this before checking for the system-independent R6 libraries
23009 # (-lICE), since we may need -lsocket or whatever for X linking.
23010
23011 if test "$ISC" = yes; then
23012 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23013 else
23014 # Martyn Johnson says this is needed for Ultrix, if the X
23015 # libraries were built with DECnet support. And Karl Berry says
23016 # the Alpha needs dnet_stub (dnet does not exist).
23017 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23018 cat >conftest.$ac_ext <<_ACEOF
23019#line $LINENO "configure"
23020/* confdefs.h. */
23021_ACEOF
23022cat confdefs.h >>conftest.$ac_ext
23023cat >>conftest.$ac_ext <<_ACEOF
23024/* end confdefs.h. */
23025
23026/* Override any gcc2 internal prototype to avoid an error. */
23027#ifdef __cplusplus
23028extern "C"
23029#endif
23030/* We use char because int might match the return type of a gcc2
23031 builtin and then its argument prototype would still apply. */
23032char XOpenDisplay ();
23033int
23034main ()
23035{
23036XOpenDisplay ();
23037 ;
23038 return 0;
23039}
23040_ACEOF
23041rm -f conftest.$ac_objext conftest$ac_exeext
23042if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23043 (eval $ac_link) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } &&
23047 { ac_try='test -s conftest$ac_exeext'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23050 ac_status=$?
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; }; then
23053 :
23054else
23055 echo "$as_me: failed program was:" >&5
23056sed 's/^/| /' conftest.$ac_ext >&5
23057
23058echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23059echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23060if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062else
23063 ac_check_lib_save_LIBS=$LIBS
23064LIBS="-ldnet $LIBS"
23065cat >conftest.$ac_ext <<_ACEOF
23066#line $LINENO "configure"
23067/* confdefs.h. */
23068_ACEOF
23069cat confdefs.h >>conftest.$ac_ext
23070cat >>conftest.$ac_ext <<_ACEOF
23071/* end confdefs.h. */
23072
23073/* Override any gcc2 internal prototype to avoid an error. */
23074#ifdef __cplusplus
23075extern "C"
23076#endif
23077/* We use char because int might match the return type of a gcc2
23078 builtin and then its argument prototype would still apply. */
23079char dnet_ntoa ();
23080int
23081main ()
23082{
23083dnet_ntoa ();
23084 ;
23085 return 0;
23086}
23087_ACEOF
23088rm -f conftest.$ac_objext conftest$ac_exeext
23089if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23090 (eval $ac_link) 2>&5
23091 ac_status=$?
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } &&
23094 { ac_try='test -s conftest$ac_exeext'
23095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23096 (eval $ac_try) 2>&5
23097 ac_status=$?
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); }; }; then
23100 ac_cv_lib_dnet_dnet_ntoa=yes
23101else
23102 echo "$as_me: failed program was:" >&5
23103sed 's/^/| /' conftest.$ac_ext >&5
23104
23105ac_cv_lib_dnet_dnet_ntoa=no
23106fi
23107rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23108LIBS=$ac_check_lib_save_LIBS
23109fi
23110echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23111echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23112if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23113 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23114fi
23115
23116 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23117 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23118echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23119if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23121else
23122 ac_check_lib_save_LIBS=$LIBS
23123LIBS="-ldnet_stub $LIBS"
23124cat >conftest.$ac_ext <<_ACEOF
23125#line $LINENO "configure"
23126/* confdefs.h. */
23127_ACEOF
23128cat confdefs.h >>conftest.$ac_ext
23129cat >>conftest.$ac_ext <<_ACEOF
23130/* end confdefs.h. */
23131
23132/* Override any gcc2 internal prototype to avoid an error. */
23133#ifdef __cplusplus
23134extern "C"
23135#endif
23136/* We use char because int might match the return type of a gcc2
23137 builtin and then its argument prototype would still apply. */
23138char dnet_ntoa ();
23139int
23140main ()
23141{
23142dnet_ntoa ();
23143 ;
23144 return 0;
23145}
23146_ACEOF
23147rm -f conftest.$ac_objext conftest$ac_exeext
23148if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23149 (eval $ac_link) 2>&5
23150 ac_status=$?
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } &&
23153 { ac_try='test -s conftest$ac_exeext'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23160else
23161 echo "$as_me: failed program was:" >&5
23162sed 's/^/| /' conftest.$ac_ext >&5
23163
23164ac_cv_lib_dnet_stub_dnet_ntoa=no
23165fi
23166rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23167LIBS=$ac_check_lib_save_LIBS
23168fi
23169echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23170echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23171if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23172 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23173fi
23174
23175 fi
23176fi
23177rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23178 LIBS="$ac_xsave_LIBS"
23179
23180 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23181 # to get the SysV transport functions.
23182 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23183 # needs -lnsl.
23184 # The nsl library prevents programs from opening the X display
23185 # on Irix 5.2, according to T.E. Dickey.
23186 # The functions gethostbyname, getservbyname, and inet_addr are
23187 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23188 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23189echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23190if test "${ac_cv_func_gethostbyname+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23192else
23193 cat >conftest.$ac_ext <<_ACEOF
23194#line $LINENO "configure"
23195/* confdefs.h. */
23196_ACEOF
23197cat confdefs.h >>conftest.$ac_ext
23198cat >>conftest.$ac_ext <<_ACEOF
23199/* end confdefs.h. */
23200/* System header to define __stub macros and hopefully few prototypes,
23201 which can conflict with char gethostbyname (); below.
23202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23203 <limits.h> exists even on freestanding compilers. */
23204#ifdef __STDC__
23205# include <limits.h>
23206#else
23207# include <assert.h>
23208#endif
23209/* Override any gcc2 internal prototype to avoid an error. */
23210#ifdef __cplusplus
23211extern "C"
23212{
23213#endif
23214/* We use char because int might match the return type of a gcc2
23215 builtin and then its argument prototype would still apply. */
23216char gethostbyname ();
23217/* The GNU C library defines this for functions which it implements
23218 to always fail with ENOSYS. Some functions are actually named
23219 something starting with __ and the normal name is an alias. */
23220#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23221choke me
23222#else
23223char (*f) () = gethostbyname;
23224#endif
23225#ifdef __cplusplus
23226}
23227#endif
23228
23229int
23230main ()
23231{
23232return f != gethostbyname;
23233 ;
23234 return 0;
23235}
23236_ACEOF
23237rm -f conftest.$ac_objext conftest$ac_exeext
23238if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23239 (eval $ac_link) 2>&5
23240 ac_status=$?
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } &&
23243 { ac_try='test -s conftest$ac_exeext'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 ac_cv_func_gethostbyname=yes
23250else
23251 echo "$as_me: failed program was:" >&5
23252sed 's/^/| /' conftest.$ac_ext >&5
23253
23254ac_cv_func_gethostbyname=no
23255fi
23256rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23257fi
23258echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23259echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23260
23261 if test $ac_cv_func_gethostbyname = no; then
23262 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23263echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23264if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23266else
23267 ac_check_lib_save_LIBS=$LIBS
23268LIBS="-lnsl $LIBS"
23269cat >conftest.$ac_ext <<_ACEOF
23270#line $LINENO "configure"
23271/* confdefs.h. */
23272_ACEOF
23273cat confdefs.h >>conftest.$ac_ext
23274cat >>conftest.$ac_ext <<_ACEOF
23275/* end confdefs.h. */
23276
23277/* Override any gcc2 internal prototype to avoid an error. */
23278#ifdef __cplusplus
23279extern "C"
23280#endif
23281/* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23283char gethostbyname ();
23284int
23285main ()
23286{
23287gethostbyname ();
23288 ;
23289 return 0;
23290}
23291_ACEOF
23292rm -f conftest.$ac_objext conftest$ac_exeext
23293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294 (eval $ac_link) 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } &&
23298 { ac_try='test -s conftest$ac_exeext'
23299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23300 (eval $ac_try) 2>&5
23301 ac_status=$?
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; }; then
23304 ac_cv_lib_nsl_gethostbyname=yes
23305else
23306 echo "$as_me: failed program was:" >&5
23307sed 's/^/| /' conftest.$ac_ext >&5
23308
23309ac_cv_lib_nsl_gethostbyname=no
23310fi
23311rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23312LIBS=$ac_check_lib_save_LIBS
23313fi
23314echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23315echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23316if test $ac_cv_lib_nsl_gethostbyname = yes; then
23317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23318fi
23319
23320 if test $ac_cv_lib_nsl_gethostbyname = no; then
23321 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23322echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23323if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325else
23326 ac_check_lib_save_LIBS=$LIBS
23327LIBS="-lbsd $LIBS"
23328cat >conftest.$ac_ext <<_ACEOF
23329#line $LINENO "configure"
23330/* confdefs.h. */
23331_ACEOF
23332cat confdefs.h >>conftest.$ac_ext
23333cat >>conftest.$ac_ext <<_ACEOF
23334/* end confdefs.h. */
23335
23336/* Override any gcc2 internal prototype to avoid an error. */
23337#ifdef __cplusplus
23338extern "C"
23339#endif
23340/* We use char because int might match the return type of a gcc2
23341 builtin and then its argument prototype would still apply. */
23342char gethostbyname ();
23343int
23344main ()
23345{
23346gethostbyname ();
23347 ;
23348 return 0;
23349}
23350_ACEOF
23351rm -f conftest.$ac_objext conftest$ac_exeext
23352if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23353 (eval $ac_link) 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); } &&
23357 { ac_try='test -s conftest$ac_exeext'
23358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359 (eval $ac_try) 2>&5
23360 ac_status=$?
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); }; }; then
23363 ac_cv_lib_bsd_gethostbyname=yes
23364else
23365 echo "$as_me: failed program was:" >&5
23366sed 's/^/| /' conftest.$ac_ext >&5
23367
23368ac_cv_lib_bsd_gethostbyname=no
23369fi
23370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23371LIBS=$ac_check_lib_save_LIBS
23372fi
23373echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23374echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23375if test $ac_cv_lib_bsd_gethostbyname = yes; then
23376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23377fi
23378
23379 fi
23380 fi
23381
23382 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23383 # socket/setsockopt and other routines are undefined under SCO ODT
23384 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23385 # on later versions), says Simon Leinen: it contains gethostby*
23386 # variants that don't use the name server (or something). -lsocket
23387 # must be given before -lnsl if both are needed. We assume that
23388 # if connect needs -lnsl, so does gethostbyname.
23389 echo "$as_me:$LINENO: checking for connect" >&5
23390echo $ECHO_N "checking for connect... $ECHO_C" >&6
23391if test "${ac_cv_func_connect+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23393else
23394 cat >conftest.$ac_ext <<_ACEOF
23395#line $LINENO "configure"
23396/* confdefs.h. */
23397_ACEOF
23398cat confdefs.h >>conftest.$ac_ext
23399cat >>conftest.$ac_ext <<_ACEOF
23400/* end confdefs.h. */
23401/* System header to define __stub macros and hopefully few prototypes,
23402 which can conflict with char connect (); below.
23403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23404 <limits.h> exists even on freestanding compilers. */
23405#ifdef __STDC__
23406# include <limits.h>
23407#else
23408# include <assert.h>
23409#endif
23410/* Override any gcc2 internal prototype to avoid an error. */
23411#ifdef __cplusplus
23412extern "C"
23413{
23414#endif
23415/* We use char because int might match the return type of a gcc2
23416 builtin and then its argument prototype would still apply. */
23417char connect ();
23418/* The GNU C library defines this for functions which it implements
23419 to always fail with ENOSYS. Some functions are actually named
23420 something starting with __ and the normal name is an alias. */
23421#if defined (__stub_connect) || defined (__stub___connect)
23422choke me
23423#else
23424char (*f) () = connect;
23425#endif
23426#ifdef __cplusplus
23427}
23428#endif
23429
23430int
23431main ()
23432{
23433return f != connect;
23434 ;
23435 return 0;
23436}
23437_ACEOF
23438rm -f conftest.$ac_objext conftest$ac_exeext
23439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23440 (eval $ac_link) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -s conftest$ac_exeext'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23450 ac_cv_func_connect=yes
23451else
23452 echo "$as_me: failed program was:" >&5
23453sed 's/^/| /' conftest.$ac_ext >&5
23454
23455ac_cv_func_connect=no
23456fi
23457rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23458fi
23459echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23460echo "${ECHO_T}$ac_cv_func_connect" >&6
23461
23462 if test $ac_cv_func_connect = no; then
23463 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23464echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23465if test "${ac_cv_lib_socket_connect+set}" = set; then
23466 echo $ECHO_N "(cached) $ECHO_C" >&6
23467else
23468 ac_check_lib_save_LIBS=$LIBS
23469LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23470cat >conftest.$ac_ext <<_ACEOF
23471#line $LINENO "configure"
23472/* confdefs.h. */
23473_ACEOF
23474cat confdefs.h >>conftest.$ac_ext
23475cat >>conftest.$ac_ext <<_ACEOF
23476/* end confdefs.h. */
23477
23478/* Override any gcc2 internal prototype to avoid an error. */
23479#ifdef __cplusplus
23480extern "C"
23481#endif
23482/* We use char because int might match the return type of a gcc2
23483 builtin and then its argument prototype would still apply. */
23484char connect ();
23485int
23486main ()
23487{
23488connect ();
23489 ;
23490 return 0;
23491}
23492_ACEOF
23493rm -f conftest.$ac_objext conftest$ac_exeext
23494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23495 (eval $ac_link) 2>&5
23496 ac_status=$?
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -s conftest$ac_exeext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23502 ac_status=$?
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_cv_lib_socket_connect=yes
23506else
23507 echo "$as_me: failed program was:" >&5
23508sed 's/^/| /' conftest.$ac_ext >&5
23509
23510ac_cv_lib_socket_connect=no
23511fi
23512rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23513LIBS=$ac_check_lib_save_LIBS
23514fi
23515echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23516echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23517if test $ac_cv_lib_socket_connect = yes; then
23518 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23519fi
23520
23521 fi
23522
23523 # Guillermo Gomez says -lposix is necessary on A/UX.
23524 echo "$as_me:$LINENO: checking for remove" >&5
23525echo $ECHO_N "checking for remove... $ECHO_C" >&6
23526if test "${ac_cv_func_remove+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23528else
23529 cat >conftest.$ac_ext <<_ACEOF
23530#line $LINENO "configure"
23531/* confdefs.h. */
23532_ACEOF
23533cat confdefs.h >>conftest.$ac_ext
23534cat >>conftest.$ac_ext <<_ACEOF
23535/* end confdefs.h. */
23536/* System header to define __stub macros and hopefully few prototypes,
23537 which can conflict with char remove (); below.
23538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23539 <limits.h> exists even on freestanding compilers. */
23540#ifdef __STDC__
23541# include <limits.h>
23542#else
23543# include <assert.h>
23544#endif
23545/* Override any gcc2 internal prototype to avoid an error. */
23546#ifdef __cplusplus
23547extern "C"
23548{
23549#endif
23550/* We use char because int might match the return type of a gcc2
23551 builtin and then its argument prototype would still apply. */
23552char remove ();
23553/* The GNU C library defines this for functions which it implements
23554 to always fail with ENOSYS. Some functions are actually named
23555 something starting with __ and the normal name is an alias. */
23556#if defined (__stub_remove) || defined (__stub___remove)
23557choke me
23558#else
23559char (*f) () = remove;
23560#endif
23561#ifdef __cplusplus
23562}
23563#endif
23564
23565int
23566main ()
23567{
23568return f != remove;
23569 ;
23570 return 0;
23571}
23572_ACEOF
23573rm -f conftest.$ac_objext conftest$ac_exeext
23574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23575 (eval $ac_link) 2>&5
23576 ac_status=$?
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try='test -s conftest$ac_exeext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23582 ac_status=$?
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 ac_cv_func_remove=yes
23586else
23587 echo "$as_me: failed program was:" >&5
23588sed 's/^/| /' conftest.$ac_ext >&5
23589
23590ac_cv_func_remove=no
23591fi
23592rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23593fi
23594echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23595echo "${ECHO_T}$ac_cv_func_remove" >&6
23596
23597 if test $ac_cv_func_remove = no; then
23598 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23599echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23600if test "${ac_cv_lib_posix_remove+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23602else
23603 ac_check_lib_save_LIBS=$LIBS
23604LIBS="-lposix $LIBS"
23605cat >conftest.$ac_ext <<_ACEOF
23606#line $LINENO "configure"
23607/* confdefs.h. */
23608_ACEOF
23609cat confdefs.h >>conftest.$ac_ext
23610cat >>conftest.$ac_ext <<_ACEOF
23611/* end confdefs.h. */
23612
23613/* Override any gcc2 internal prototype to avoid an error. */
23614#ifdef __cplusplus
23615extern "C"
23616#endif
23617/* We use char because int might match the return type of a gcc2
23618 builtin and then its argument prototype would still apply. */
23619char remove ();
23620int
23621main ()
23622{
23623remove ();
23624 ;
23625 return 0;
23626}
23627_ACEOF
23628rm -f conftest.$ac_objext conftest$ac_exeext
23629if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23630 (eval $ac_link) 2>&5
23631 ac_status=$?
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try='test -s conftest$ac_exeext'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23637 ac_status=$?
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; }; then
23640 ac_cv_lib_posix_remove=yes
23641else
23642 echo "$as_me: failed program was:" >&5
23643sed 's/^/| /' conftest.$ac_ext >&5
23644
23645ac_cv_lib_posix_remove=no
23646fi
23647rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23648LIBS=$ac_check_lib_save_LIBS
23649fi
23650echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23651echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23652if test $ac_cv_lib_posix_remove = yes; then
23653 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23654fi
23655
23656 fi
23657
23658 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23659 echo "$as_me:$LINENO: checking for shmat" >&5
23660echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23661if test "${ac_cv_func_shmat+set}" = set; then
23662 echo $ECHO_N "(cached) $ECHO_C" >&6
23663else
23664 cat >conftest.$ac_ext <<_ACEOF
23665#line $LINENO "configure"
23666/* confdefs.h. */
23667_ACEOF
23668cat confdefs.h >>conftest.$ac_ext
23669cat >>conftest.$ac_ext <<_ACEOF
23670/* end confdefs.h. */
23671/* System header to define __stub macros and hopefully few prototypes,
23672 which can conflict with char shmat (); below.
23673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23674 <limits.h> exists even on freestanding compilers. */
23675#ifdef __STDC__
23676# include <limits.h>
23677#else
23678# include <assert.h>
23679#endif
23680/* Override any gcc2 internal prototype to avoid an error. */
23681#ifdef __cplusplus
23682extern "C"
23683{
23684#endif
23685/* We use char because int might match the return type of a gcc2
23686 builtin and then its argument prototype would still apply. */
23687char shmat ();
23688/* The GNU C library defines this for functions which it implements
23689 to always fail with ENOSYS. Some functions are actually named
23690 something starting with __ and the normal name is an alias. */
23691#if defined (__stub_shmat) || defined (__stub___shmat)
23692choke me
23693#else
23694char (*f) () = shmat;
23695#endif
23696#ifdef __cplusplus
23697}
23698#endif
23699
23700int
23701main ()
23702{
23703return f != shmat;
23704 ;
23705 return 0;
23706}
23707_ACEOF
23708rm -f conftest.$ac_objext conftest$ac_exeext
23709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23710 (eval $ac_link) 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try='test -s conftest$ac_exeext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 ac_cv_func_shmat=yes
23721else
23722 echo "$as_me: failed program was:" >&5
23723sed 's/^/| /' conftest.$ac_ext >&5
23724
23725ac_cv_func_shmat=no
23726fi
23727rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23728fi
23729echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23730echo "${ECHO_T}$ac_cv_func_shmat" >&6
23731
23732 if test $ac_cv_func_shmat = no; then
23733 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23734echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23735if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23736 echo $ECHO_N "(cached) $ECHO_C" >&6
23737else
23738 ac_check_lib_save_LIBS=$LIBS
23739LIBS="-lipc $LIBS"
23740cat >conftest.$ac_ext <<_ACEOF
23741#line $LINENO "configure"
23742/* confdefs.h. */
23743_ACEOF
23744cat confdefs.h >>conftest.$ac_ext
23745cat >>conftest.$ac_ext <<_ACEOF
23746/* end confdefs.h. */
23747
23748/* Override any gcc2 internal prototype to avoid an error. */
23749#ifdef __cplusplus
23750extern "C"
23751#endif
23752/* We use char because int might match the return type of a gcc2
23753 builtin and then its argument prototype would still apply. */
23754char shmat ();
23755int
23756main ()
23757{
23758shmat ();
23759 ;
23760 return 0;
23761}
23762_ACEOF
23763rm -f conftest.$ac_objext conftest$ac_exeext
23764if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23765 (eval $ac_link) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); } &&
23769 { ac_try='test -s conftest$ac_exeext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_cv_lib_ipc_shmat=yes
23776else
23777 echo "$as_me: failed program was:" >&5
23778sed 's/^/| /' conftest.$ac_ext >&5
23779
23780ac_cv_lib_ipc_shmat=no
23781fi
23782rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23783LIBS=$ac_check_lib_save_LIBS
23784fi
23785echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23786echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23787if test $ac_cv_lib_ipc_shmat = yes; then
23788 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23789fi
23790
23791 fi
23792 fi
23793
23794 # Check for libraries that X11R6 Xt/Xaw programs need.
23795 ac_save_LDFLAGS=$LDFLAGS
23796 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23797 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23798 # check for ICE first), but we must link in the order -lSM -lICE or
23799 # we get undefined symbols. So assume we have SM if we have ICE.
23800 # These have to be linked with before -lX11, unlike the other
23801 # libraries we check for below, so use a different variable.
23802 # John Interrante, Karl Berry
23803 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23804echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23805if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23806 echo $ECHO_N "(cached) $ECHO_C" >&6
23807else
23808 ac_check_lib_save_LIBS=$LIBS
23809LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23810cat >conftest.$ac_ext <<_ACEOF
23811#line $LINENO "configure"
23812/* confdefs.h. */
23813_ACEOF
23814cat confdefs.h >>conftest.$ac_ext
23815cat >>conftest.$ac_ext <<_ACEOF
23816/* end confdefs.h. */
23817
23818/* Override any gcc2 internal prototype to avoid an error. */
23819#ifdef __cplusplus
23820extern "C"
23821#endif
23822/* We use char because int might match the return type of a gcc2
23823 builtin and then its argument prototype would still apply. */
23824char IceConnectionNumber ();
23825int
23826main ()
23827{
23828IceConnectionNumber ();
23829 ;
23830 return 0;
23831}
23832_ACEOF
23833rm -f conftest.$ac_objext conftest$ac_exeext
23834if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23835 (eval $ac_link) 2>&5
23836 ac_status=$?
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } &&
23839 { ac_try='test -s conftest$ac_exeext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23842 ac_status=$?
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_lib_ICE_IceConnectionNumber=yes
23846else
23847 echo "$as_me: failed program was:" >&5
23848sed 's/^/| /' conftest.$ac_ext >&5
23849
23850ac_cv_lib_ICE_IceConnectionNumber=no
23851fi
23852rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23853LIBS=$ac_check_lib_save_LIBS
23854fi
23855echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23856echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23857if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23858 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23859fi
23860
23861 LDFLAGS=$ac_save_LDFLAGS
23862
23863fi
23864
23865
23866 if test "$no_x" = "yes"; then
23867 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23868echo "$as_me: error: X11 not found" >&2;}
23869 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23870 fi
23871
23872 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23873 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23874 AFMINSTALL=afminstall
23875 COMPILED_X_PROGRAM=0
23876
23877 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23878echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23879
23880ac_find_includes=
23881for ac_dir in $SEARCH_INCLUDE /usr/include;
23882 do
23883 if test -f "$ac_dir/Xm/Xm.h"; then
23884 ac_find_includes=$ac_dir
23885 break
23886 fi
23887 done
23888
23889 if test "$ac_find_includes" != "" ; then
23890 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23891echo "${ECHO_T}found in $ac_find_includes" >&6
23892
23893 if test "x$ac_find_includes" = "x/usr/include"; then
23894 ac_path_to_include=""
23895 else
23896 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23897 result=$?
23898 if test $result = 0; then
23899 ac_path_to_include=""
23900 else
23901 ac_path_to_include=" -I$ac_find_includes"
23902 fi
23903 fi
23904
23905 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23906 else
23907 cat >conftest.$ac_ext <<_ACEOF
23908#line $LINENO "configure"
23909/* confdefs.h. */
23910_ACEOF
23911cat confdefs.h >>conftest.$ac_ext
23912cat >>conftest.$ac_ext <<_ACEOF
23913/* end confdefs.h. */
23914
23915 #include <Xm/Xm.h>
23916
23917int
23918main ()
23919{
23920
23921 int version;
23922 version = xmUseVersion;
23923
23924 ;
23925 return 0;
23926}
23927_ACEOF
23928rm -f conftest.$ac_objext
23929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23930 (eval $ac_compile) 2>&5
23931 ac_status=$?
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } &&
23934 { ac_try='test -s conftest.$ac_objext'
23935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23936 (eval $ac_try) 2>&5
23937 ac_status=$?
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23940
23941 echo "$as_me:$LINENO: result: found in default search path" >&5
23942echo "${ECHO_T}found in default search path" >&6
23943 COMPILED_X_PROGRAM=1
23944
23945else
23946 echo "$as_me: failed program was:" >&5
23947sed 's/^/| /' conftest.$ac_ext >&5
23948
23949
23950 echo "$as_me:$LINENO: result: no" >&5
23951echo "${ECHO_T}no" >&6
23952 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23953echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23954 { (exit 1); exit 1; }; }
23955
23956
23957fi
23958rm -f conftest.$ac_objext conftest.$ac_ext
23959 fi
23960
23961 if test "$COMPILED_X_PROGRAM" = 0; then
23962 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23963echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23964
23965ac_find_libraries=
23966for ac_dir in $SEARCH_LIB /usr/lib;
23967 do
23968 for ac_extension in a so sl dylib; do
23969 if test -f "$ac_dir/libXm.$ac_extension"; then
23970 ac_find_libraries=$ac_dir
23971 break 2
23972 fi
23973 done
23974 done
23975
23976 if test "$ac_find_libraries" != "" ; then
23977 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23978echo "${ECHO_T}found at $ac_find_libraries" >&6
23979
23980
23981 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23982 result=$?
23983 if test $result = 0; then
23984 ac_path_to_link=""
23985 else
23986 ac_path_to_link=" -L$ac_find_libraries"
23987 fi
23988
23989 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23990 else
23991 save_CFLAGS=$CFLAGS
23992 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23993
23994 cat >conftest.$ac_ext <<_ACEOF
23995#line $LINENO "configure"
23996/* confdefs.h. */
23997_ACEOF
23998cat confdefs.h >>conftest.$ac_ext
23999cat >>conftest.$ac_ext <<_ACEOF
24000/* end confdefs.h. */
24001
24002 #include <Xm/Xm.h>
24003
24004int
24005main ()
24006{
24007
24008 int version;
24009 version = xmUseVersion;
24010
24011 ;
24012 return 0;
24013}
24014_ACEOF
24015rm -f conftest.$ac_objext
24016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24017 (eval $ac_compile) 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try='test -s conftest.$ac_objext'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24027
24028 echo "$as_me:$LINENO: result: found in default search path" >&5
24029echo "${ECHO_T}found in default search path" >&6
24030 COMPILED_X_PROGRAM=1
24031
24032else
24033 echo "$as_me: failed program was:" >&5
24034sed 's/^/| /' conftest.$ac_ext >&5
24035
24036
24037 echo "$as_me:$LINENO: result: no" >&5
24038echo "${ECHO_T}no" >&6
24039 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24040echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24041 { (exit 1); exit 1; }; }
24042
24043
24044fi
24045rm -f conftest.$ac_objext conftest.$ac_ext
24046
24047 CFLAGS=$save_CFLAGS
24048 fi
24049 fi
24050
24051 xpm_link=
24052 echo "$as_me:$LINENO: checking for Xpm library" >&5
24053echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24054
24055ac_find_libraries=
24056for ac_dir in $SEARCH_LIB /usr/lib;
24057 do
24058 for ac_extension in a so sl dylib; do
24059 if test -f "$ac_dir/libXpm.$ac_extension"; then
24060 ac_find_libraries=$ac_dir
24061 break 2
24062 fi
24063 done
24064 done
24065
24066 if test "$ac_find_libraries" != "" ; then
24067
24068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24069 result=$?
24070 if test $result = 0; then
24071 ac_path_to_link=""
24072 else
24073 ac_path_to_link=" -L$ac_find_libraries"
24074 fi
24075
24076 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24077
24078 xpm_link=" -lXpm"
24079 cat >>confdefs.h <<\_ACEOF
24080#define wxHAVE_LIB_XPM 1
24081_ACEOF
24082
24083 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24084echo "${ECHO_T}found at $ac_find_libraries" >&6
24085 else
24086 save_CFLAGS=$CFLAGS
24087 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24088
24089 cat >conftest.$ac_ext <<_ACEOF
24090#line $LINENO "configure"
24091/* confdefs.h. */
24092_ACEOF
24093cat confdefs.h >>conftest.$ac_ext
24094cat >>conftest.$ac_ext <<_ACEOF
24095/* end confdefs.h. */
24096
24097 #include <X11/xpm.h>
24098
24099int
24100main ()
24101{
24102
24103 int version;
24104 version = XpmLibraryVersion();
24105
24106 ;
24107 return 0;
24108}
24109_ACEOF
24110rm -f conftest.$ac_objext
24111if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24112 (eval $ac_compile) 2>&5
24113 ac_status=$?
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); } &&
24116 { ac_try='test -s conftest.$ac_objext'
24117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118 (eval $ac_try) 2>&5
24119 ac_status=$?
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; }; then
24122
24123 xpm_link=" -lXpm"
24124 cat >>confdefs.h <<\_ACEOF
24125#define wxHAVE_LIB_XPM 1
24126_ACEOF
24127
24128 echo "$as_me:$LINENO: result: found in default search path" >&5
24129echo "${ECHO_T}found in default search path" >&6
24130 COMPILED_X_PROGRAM=0
24131
24132else
24133 echo "$as_me: failed program was:" >&5
24134sed 's/^/| /' conftest.$ac_ext >&5
24135
24136
24137 echo "$as_me:$LINENO: result: no" >&5
24138echo "${ECHO_T}no" >&6
24139 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24140echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24141
24142
24143fi
24144rm -f conftest.$ac_objext conftest.$ac_ext
24145
24146 CFLAGS=$save_CFLAGS
24147 fi
24148
24149 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24150echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24151 libp_link=""
24152 libsm_ice_link=""
24153 libs_found=0
24154 for libp in "" " -lXp"; do
24155 if test "$libs_found" = "0"; then
24156 for libsm_ice in "" " -lSM -lICE"; do
24157 if test "$libs_found" = "0"; then
24158 save_LIBS="$LIBS"
24159 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24160 save_CFLAGS=$CFLAGS
24161 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24162
24163 cat >conftest.$ac_ext <<_ACEOF
24164#line $LINENO "configure"
24165/* confdefs.h. */
24166_ACEOF
24167cat confdefs.h >>conftest.$ac_ext
24168cat >>conftest.$ac_ext <<_ACEOF
24169/* end confdefs.h. */
24170
24171 #include <Xm/Xm.h>
24172 #include <Xm/List.h>
24173
24174int
24175main ()
24176{
24177
24178 XmString string = NULL;
24179 Widget w = NULL;
24180 int position = 0;
24181 XmListAddItem(w, string, position);
24182
24183 ;
24184 return 0;
24185}
24186_ACEOF
24187rm -f conftest.$ac_objext conftest$ac_exeext
24188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>&5
24190 ac_status=$?
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } &&
24193 { ac_try='test -s conftest$ac_exeext'
24194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195 (eval $ac_try) 2>&5
24196 ac_status=$?
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); }; }; then
24199
24200 libp_link="$libp"
24201 libsm_ice_link="$libsm_ice"
24202 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24203echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24204 libs_found=1
24205
24206else
24207 echo "$as_me: failed program was:" >&5
24208sed 's/^/| /' conftest.$ac_ext >&5
24209
24210
24211
24212fi
24213rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24214
24215 LIBS="$save_LIBS"
24216 CFLAGS=$save_CFLAGS
24217 fi
24218 done
24219 fi
24220 done
24221
24222 if test "$libs_found" = "0"; then
24223 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24224echo "${ECHO_T}can't find the right libraries" >&6
24225 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24226echo "$as_me: error: can't link a simple motif program" >&2;}
24227 { (exit 1); exit 1; }; }
24228 fi
24229
24230 save_CFLAGS=$CFLAGS
24231 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24232 echo "$as_me:$LINENO: checking for Motif 2" >&5
24233echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24234 cat >conftest.$ac_ext <<_ACEOF
24235#line $LINENO "configure"
24236/* confdefs.h. */
24237_ACEOF
24238cat confdefs.h >>conftest.$ac_ext
24239cat >>conftest.$ac_ext <<_ACEOF
24240/* end confdefs.h. */
24241
24242 #include <Xm/Xm.h>
24243
24244int
24245main ()
24246{
24247
24248 #if XmVersion < 2000
24249 #error "Not Motif 2"
24250 #endif
24251
24252 ;
24253 return 0;
24254}
24255_ACEOF
24256rm -f conftest.$ac_objext
24257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 (eval $ac_compile) 2>&5
24259 ac_status=$?
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } &&
24262 { ac_try='test -s conftest.$ac_objext'
24263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24264 (eval $ac_try) 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268
24269 cat >>confdefs.h <<\_ACEOF
24270#define __WXMOTIF20__ 1
24271_ACEOF
24272
24273 echo "$as_me:$LINENO: result: found" >&5
24274echo "${ECHO_T}found" >&6
24275
24276else
24277 echo "$as_me: failed program was:" >&5
24278sed 's/^/| /' conftest.$ac_ext >&5
24279
24280
24281 cat >>confdefs.h <<\_ACEOF
24282#define __WXMOTIF20__ 0
24283_ACEOF
24284
24285 echo "$as_me:$LINENO: result: not found" >&5
24286echo "${ECHO_T}not found" >&6
24287
24288fi
24289rm -f conftest.$ac_objext conftest.$ac_ext
24290 CFLAGS=$save_CFLAGS
24291
24292 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24293 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24294 TOOLKIT=MOTIF
24295 GUIDIST=MOTIF_DIST
24296 wxHAVE_XEXT_LIB=1
24297 fi
24298
24299 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24300 test "$wxHAVE_XEXT_LIB" = 1; then
24301 save_CFLAGS="$CFLAGS"
24302 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24303
24304 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24305echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24306 cat >conftest.$ac_ext <<_ACEOF
24307#line $LINENO "configure"
24308/* confdefs.h. */
24309_ACEOF
24310cat confdefs.h >>conftest.$ac_ext
24311cat >>conftest.$ac_ext <<_ACEOF
24312/* end confdefs.h. */
24313
24314 #include <X11/Xlib.h>
24315 #include <X11/extensions/shape.h>
24316
24317int
24318main ()
24319{
24320
24321 int dummy1, dummy2;
24322 XShapeQueryExtension((Display*)NULL,
24323 (int*)NULL, (int*)NULL);
24324
24325 ;
24326 return 0;
24327}
24328_ACEOF
24329rm -f conftest.$ac_objext
24330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24331 (eval $ac_compile) 2>&5
24332 ac_status=$?
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try='test -s conftest.$ac_objext'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24338 ac_status=$?
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; }; then
24341
24342 cat >>confdefs.h <<\_ACEOF
24343#define HAVE_XSHAPE 1
24344_ACEOF
24345
24346 echo "$as_me:$LINENO: result: found" >&5
24347echo "${ECHO_T}found" >&6
24348
24349else
24350 echo "$as_me: failed program was:" >&5
24351sed 's/^/| /' conftest.$ac_ext >&5
24352
24353
24354 echo "$as_me:$LINENO: result: not found" >&5
24355echo "${ECHO_T}not found" >&6
24356
24357fi
24358rm -f conftest.$ac_objext conftest.$ac_ext
24359 CFLAGS="$save_CFLAGS"
24360 fi
24361
24362 if test "$wxUSE_MAC" = 1; then
24363 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24364echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24365 if test "$GCC" = yes; then
24366 echo "$as_me:$LINENO: result: gcc" >&5
24367echo "${ECHO_T}gcc" >&6
24368 CPPFLAGS_PASCAL="-fpascal-strings"
24369 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24370 echo "$as_me:$LINENO: result: xlc" >&5
24371echo "${ECHO_T}xlc" >&6
24372 CPPFLAGS_PASCAL="-qmacpstr"
24373 else
24374 echo "$as_me:$LINENO: result: none" >&5
24375echo "${ECHO_T}none" >&6
24376 fi
24377
24378 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24379
24380 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24381 TOOLKIT=MAC
24382 GUIDIST=MACX_DIST
24383 WXBASEPORT="_carbon"
24384 fi
24385
24386 if test "$wxUSE_COCOA" = 1; then
24387 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24388 TOOLKIT=COCOA
24389 GUIDIST=COCOA_DIST
24390 fi
24391
24392 if test "$wxUSE_PM" = 1; then
24393 TOOLKIT=PM
24394 GUIDIST=GTK_DIST
24395 fi
24396
24397 if test "$TOOLKIT" = "PM" ; then
24398 TOOLKIT_DIR="os2"
24399 else
24400 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24401 fi
24402
24403 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24404
24405 if test "$wxUSE_UNIVERSAL" = "yes"; then
24406 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24407
24408 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24409 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24410
24411 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24412 if test "$wxUSE_X11" = 1; then
24413 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24414 else
24415 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24416 fi
24417 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24418 WIDGET_SET=univ
24419 else
24420 ALL_OBJECTS="\$(GUIOBJS)"
24421 ALL_SOURCES="\$(ALL_SOURCES)"
24422 ALL_HEADERS="\$(ALL_HEADERS)"
24423 fi
24424
24425 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24426
24427 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24428 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24429 fi
24430
24431 if test "$wxUSE_HTML" = "yes"; then
24432 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24433 fi
24434
24435 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24436 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24437 fi
24438 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24439 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24440 fi
24441 if test "$wxUSE_LIBPNG" = "builtin" ; then
24442 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24443 fi
24444
24445 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24446 DISTDIR="wx\$(TOOLKIT)"
24447else
24448 USE_GUI=0
24449
24450 TOOLKIT_DIR="base"
24451
24452 if test "$USE_WIN32" = 1 ; then
24453 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24454 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24455
24456 TOOLKIT="MSW"
24457 else
24458 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24459 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24460 fi
24461
24462 ALL_SOURCES="\$(ALL_SOURCES)"
24463 ALL_HEADERS="\$(ALL_HEADERS)"
24464
24465 PORT_FILES="\${top_srcdir}/src/files.lst"
24466
24467 GUIDIST="BASE_DIST"
24468 DISTDIR="wxBase"
24469fi
24470
24471
24472
24473
24474IODBC_C_SRC=""
24475
24476
24477if test "$TOOLKIT" != "MSW" ; then
24478
24479 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24480
24481 if test "${ac_cv_header_sql_h+set}" = set; then
24482 echo "$as_me:$LINENO: checking for sql.h" >&5
24483echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24484if test "${ac_cv_header_sql_h+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24486fi
24487echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24488echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24489else
24490 # Is the header compilable?
24491echo "$as_me:$LINENO: checking sql.h usability" >&5
24492echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24493cat >conftest.$ac_ext <<_ACEOF
24494#line $LINENO "configure"
24495/* confdefs.h. */
24496_ACEOF
24497cat confdefs.h >>conftest.$ac_ext
24498cat >>conftest.$ac_ext <<_ACEOF
24499/* end confdefs.h. */
24500$ac_includes_default
24501#include <sql.h>
24502_ACEOF
24503rm -f conftest.$ac_objext
24504if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24505 (eval $ac_compile) 2>&5
24506 ac_status=$?
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } &&
24509 { ac_try='test -s conftest.$ac_objext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24512 ac_status=$?
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 ac_header_compiler=yes
24516else
24517 echo "$as_me: failed program was:" >&5
24518sed 's/^/| /' conftest.$ac_ext >&5
24519
24520ac_header_compiler=no
24521fi
24522rm -f conftest.$ac_objext conftest.$ac_ext
24523echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24524echo "${ECHO_T}$ac_header_compiler" >&6
24525
24526# Is the header present?
24527echo "$as_me:$LINENO: checking sql.h presence" >&5
24528echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24529cat >conftest.$ac_ext <<_ACEOF
24530#line $LINENO "configure"
24531/* confdefs.h. */
24532_ACEOF
24533cat confdefs.h >>conftest.$ac_ext
24534cat >>conftest.$ac_ext <<_ACEOF
24535/* end confdefs.h. */
24536#include <sql.h>
24537_ACEOF
24538if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24540 ac_status=$?
24541 grep -v '^ *+' conftest.er1 >conftest.err
24542 rm -f conftest.er1
24543 cat conftest.err >&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); } >/dev/null; then
24546 if test -s conftest.err; then
24547 ac_cpp_err=$ac_c_preproc_warn_flag
24548 else
24549 ac_cpp_err=
24550 fi
24551else
24552 ac_cpp_err=yes
24553fi
24554if test -z "$ac_cpp_err"; then
24555 ac_header_preproc=yes
24556else
24557 echo "$as_me: failed program was:" >&5
24558sed 's/^/| /' conftest.$ac_ext >&5
24559
24560 ac_header_preproc=no
24561fi
24562rm -f conftest.err conftest.$ac_ext
24563echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24564echo "${ECHO_T}$ac_header_preproc" >&6
24565
24566# So? What about this header?
24567case $ac_header_compiler:$ac_header_preproc in
24568 yes:no )
24569 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24570echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24571 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24572echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24573 (
24574 cat <<\_ASBOX
24575## ------------------------------------ ##
24576## Report this to bug-autoconf@gnu.org. ##
24577## ------------------------------------ ##
24578_ASBOX
24579 ) |
24580 sed "s/^/$as_me: WARNING: /" >&2
24581 ;;
24582 no:yes )
24583 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24584echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24585 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24586echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24587 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24588echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24589 (
24590 cat <<\_ASBOX
24591## ------------------------------------ ##
24592## Report this to bug-autoconf@gnu.org. ##
24593## ------------------------------------ ##
24594_ASBOX
24595 ) |
24596 sed "s/^/$as_me: WARNING: /" >&2
24597 ;;
24598esac
24599echo "$as_me:$LINENO: checking for sql.h" >&5
24600echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24601if test "${ac_cv_header_sql_h+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24603else
24604 ac_cv_header_sql_h=$ac_header_preproc
24605fi
24606echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24607echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24608
24609fi
24610if test $ac_cv_header_sql_h = yes; then
24611 found_sql_h=1
24612fi
24613
24614
24615 if test "x$found_sql_h" = "x1" ; then
24616 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24617echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24618if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24620else
24621 ac_check_lib_save_LIBS=$LIBS
24622LIBS="-liodbc $LIBS"
24623cat >conftest.$ac_ext <<_ACEOF
24624#line $LINENO "configure"
24625/* confdefs.h. */
24626_ACEOF
24627cat confdefs.h >>conftest.$ac_ext
24628cat >>conftest.$ac_ext <<_ACEOF
24629/* end confdefs.h. */
24630
24631/* Override any gcc2 internal prototype to avoid an error. */
24632#ifdef __cplusplus
24633extern "C"
24634#endif
24635/* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24637char SQLAllocEnv ();
24638int
24639main ()
24640{
24641SQLAllocEnv ();
24642 ;
24643 return 0;
24644}
24645_ACEOF
24646rm -f conftest.$ac_objext conftest$ac_exeext
24647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } &&
24652 { ac_try='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24655 ac_status=$?
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 ac_cv_lib_iodbc_SQLAllocEnv=yes
24659else
24660 echo "$as_me: failed program was:" >&5
24661sed 's/^/| /' conftest.$ac_ext >&5
24662
24663ac_cv_lib_iodbc_SQLAllocEnv=no
24664fi
24665rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24666LIBS=$ac_check_lib_save_LIBS
24667fi
24668echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24669echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24670if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24671 ODBC_LINK=" -liodbc"
24672else
24673
24674 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24675echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24676if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678else
24679 ac_check_lib_save_LIBS=$LIBS
24680LIBS="-lunixodbc $LIBS"
24681cat >conftest.$ac_ext <<_ACEOF
24682#line $LINENO "configure"
24683/* confdefs.h. */
24684_ACEOF
24685cat confdefs.h >>conftest.$ac_ext
24686cat >>conftest.$ac_ext <<_ACEOF
24687/* end confdefs.h. */
24688
24689/* Override any gcc2 internal prototype to avoid an error. */
24690#ifdef __cplusplus
24691extern "C"
24692#endif
24693/* We use char because int might match the return type of a gcc2
24694 builtin and then its argument prototype would still apply. */
24695char SQLAllocEnv ();
24696int
24697main ()
24698{
24699SQLAllocEnv ();
24700 ;
24701 return 0;
24702}
24703_ACEOF
24704rm -f conftest.$ac_objext conftest$ac_exeext
24705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24706 (eval $ac_link) 2>&5
24707 ac_status=$?
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } &&
24710 { ac_try='test -s conftest$ac_exeext'
24711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24712 (eval $ac_try) 2>&5
24713 ac_status=$?
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); }; }; then
24716 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24717else
24718 echo "$as_me: failed program was:" >&5
24719sed 's/^/| /' conftest.$ac_ext >&5
24720
24721ac_cv_lib_unixodbc_SQLAllocEnv=no
24722fi
24723rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24724LIBS=$ac_check_lib_save_LIBS
24725fi
24726echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24727echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24728if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24729 ODBC_LINK=" -lunixodbc"
24730else
24731
24732 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24733echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24734if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24735 echo $ECHO_N "(cached) $ECHO_C" >&6
24736else
24737 ac_check_lib_save_LIBS=$LIBS
24738LIBS="-lodbc $LIBS"
24739cat >conftest.$ac_ext <<_ACEOF
24740#line $LINENO "configure"
24741/* confdefs.h. */
24742_ACEOF
24743cat confdefs.h >>conftest.$ac_ext
24744cat >>conftest.$ac_ext <<_ACEOF
24745/* end confdefs.h. */
24746
24747/* Override any gcc2 internal prototype to avoid an error. */
24748#ifdef __cplusplus
24749extern "C"
24750#endif
24751/* We use char because int might match the return type of a gcc2
24752 builtin and then its argument prototype would still apply. */
24753char SQLAllocEnv ();
24754int
24755main ()
24756{
24757SQLAllocEnv ();
24758 ;
24759 return 0;
24760}
24761_ACEOF
24762rm -f conftest.$ac_objext conftest$ac_exeext
24763if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24764 (eval $ac_link) 2>&5
24765 ac_status=$?
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } &&
24768 { ac_try='test -s conftest$ac_exeext'
24769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24770 (eval $ac_try) 2>&5
24771 ac_status=$?
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); }; }; then
24774 ac_cv_lib_odbc_SQLAllocEnv=yes
24775else
24776 echo "$as_me: failed program was:" >&5
24777sed 's/^/| /' conftest.$ac_ext >&5
24778
24779ac_cv_lib_odbc_SQLAllocEnv=no
24780fi
24781rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24782LIBS=$ac_check_lib_save_LIBS
24783fi
24784echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24785echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24786if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24787 ODBC_LINK=" -lodbc"
24788fi
24789
24790
24791fi
24792
24793
24794fi
24795
24796 fi
24797 if test "x$ODBC_LINK" = "x" ; then
24798 if test "$wxUSE_ODBC" = "sys" ; then
24799 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24800echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24801 { (exit 1); exit 1; }; }
24802 else
24803 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24804echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24805 wxUSE_ODBC=builtin
24806 fi
24807 else
24808 wxUSE_ODBC=sys
24809 fi
24810 fi
24811 if test "$wxUSE_ODBC" != "no" ; then
24812 cat >>confdefs.h <<\_ACEOF
24813#define wxUSE_ODBC 1
24814_ACEOF
24815
24816 if test "$wxUSE_ODBC" = "builtin" ; then
24817 cat >>confdefs.h <<\_ACEOF
24818#define wxUSE_BUILTIN_IODBC 1
24819_ACEOF
24820
24821 fi
24822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24823
24824 WXODBCFLAG="-D_IODBC_"
24825 fi
24826fi
24827
24828if test "$wxUSE_REGEX" = "builtin" ; then
24829 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24830fi
24831if test "$wxUSE_ZLIB" = "builtin" ; then
24832 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24833fi
24834
24835
24836USE_OPENGL=0
24837if test "$wxUSE_OPENGL" = "yes"; then
24838 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24839 OPENGL_LIBS="-framework OpenGL -framework AGL"
24840 elif test "$wxUSE_MSW" = 1; then
24841 OPENGL_LIBS="-lopengl32 -lglu32"
24842 else
24843
24844
24845ac_find_includes=
24846for ac_dir in $SEARCH_INCLUDE /usr/include;
24847 do
24848 if test -f "$ac_dir/GL/gl.h"; then
24849 ac_find_includes=$ac_dir
24850 break
24851 fi
24852 done
24853
24854 if test "$ac_find_includes" != "" ; then
24855 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24856echo "${ECHO_T}found in $ac_find_includes" >&6
24857
24858 if test "x$ac_find_includes" = "x/usr/include"; then
24859 ac_path_to_include=""
24860 else
24861 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24862 result=$?
24863 if test $result = 0; then
24864 ac_path_to_include=""
24865 else
24866 ac_path_to_include=" -I$ac_find_includes"
24867 fi
24868 fi
24869
24870 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24871 fi
24872
24873 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24874 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24875echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24876if test "${ac_cv_header_GL_gl_h+set}" = set; then
24877 echo $ECHO_N "(cached) $ECHO_C" >&6
24878fi
24879echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24880echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24881else
24882 # Is the header compilable?
24883echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24884echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24885cat >conftest.$ac_ext <<_ACEOF
24886#line $LINENO "configure"
24887/* confdefs.h. */
24888_ACEOF
24889cat confdefs.h >>conftest.$ac_ext
24890cat >>conftest.$ac_ext <<_ACEOF
24891/* end confdefs.h. */
24892$ac_includes_default
24893#include <GL/gl.h>
24894_ACEOF
24895rm -f conftest.$ac_objext
24896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24897 (eval $ac_compile) 2>&5
24898 ac_status=$?
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try='test -s conftest.$ac_objext'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24904 ac_status=$?
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; }; then
24907 ac_header_compiler=yes
24908else
24909 echo "$as_me: failed program was:" >&5
24910sed 's/^/| /' conftest.$ac_ext >&5
24911
24912ac_header_compiler=no
24913fi
24914rm -f conftest.$ac_objext conftest.$ac_ext
24915echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24916echo "${ECHO_T}$ac_header_compiler" >&6
24917
24918# Is the header present?
24919echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24920echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24921cat >conftest.$ac_ext <<_ACEOF
24922#line $LINENO "configure"
24923/* confdefs.h. */
24924_ACEOF
24925cat confdefs.h >>conftest.$ac_ext
24926cat >>conftest.$ac_ext <<_ACEOF
24927/* end confdefs.h. */
24928#include <GL/gl.h>
24929_ACEOF
24930if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24932 ac_status=$?
24933 grep -v '^ *+' conftest.er1 >conftest.err
24934 rm -f conftest.er1
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } >/dev/null; then
24938 if test -s conftest.err; then
24939 ac_cpp_err=$ac_c_preproc_warn_flag
24940 else
24941 ac_cpp_err=
24942 fi
24943else
24944 ac_cpp_err=yes
24945fi
24946if test -z "$ac_cpp_err"; then
24947 ac_header_preproc=yes
24948else
24949 echo "$as_me: failed program was:" >&5
24950sed 's/^/| /' conftest.$ac_ext >&5
24951
24952 ac_header_preproc=no
24953fi
24954rm -f conftest.err conftest.$ac_ext
24955echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24956echo "${ECHO_T}$ac_header_preproc" >&6
24957
24958# So? What about this header?
24959case $ac_header_compiler:$ac_header_preproc in
24960 yes:no )
24961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24962echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24963 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24964echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24965 (
24966 cat <<\_ASBOX
24967## ------------------------------------ ##
24968## Report this to bug-autoconf@gnu.org. ##
24969## ------------------------------------ ##
24970_ASBOX
24971 ) |
24972 sed "s/^/$as_me: WARNING: /" >&2
24973 ;;
24974 no:yes )
24975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24976echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24978echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24979 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24980echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24981 (
24982 cat <<\_ASBOX
24983## ------------------------------------ ##
24984## Report this to bug-autoconf@gnu.org. ##
24985## ------------------------------------ ##
24986_ASBOX
24987 ) |
24988 sed "s/^/$as_me: WARNING: /" >&2
24989 ;;
24990esac
24991echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24992echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24993if test "${ac_cv_header_GL_gl_h+set}" = set; then
24994 echo $ECHO_N "(cached) $ECHO_C" >&6
24995else
24996 ac_cv_header_GL_gl_h=$ac_header_preproc
24997fi
24998echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24999echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25000
25001fi
25002if test $ac_cv_header_GL_gl_h = yes; then
25003
25004 found_gl=0
25005
25006 echo "$as_me:$LINENO: checking for -lGL" >&5
25007echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25008
25009ac_find_libraries=
25010for ac_dir in $SEARCH_LIB /usr/lib;
25011 do
25012 for ac_extension in a so sl dylib; do
25013 if test -f "$ac_dir/libGL.$ac_extension"; then
25014 ac_find_libraries=$ac_dir
25015 break 2
25016 fi
25017 done
25018 done
25019
25020 if test "$ac_find_libraries" != "" ; then
25021
25022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25023 result=$?
25024 if test $result = 0; then
25025 ac_path_to_link=""
25026 else
25027 ac_path_to_link=" -L$ac_find_libraries"
25028 fi
25029
25030 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25031 LDFLAGS_GL="$ac_path_to_link"
25032 fi
25033
25034
25035ac_find_libraries=
25036for ac_dir in $SEARCH_LIB /usr/lib;
25037 do
25038 for ac_extension in a so sl dylib; do
25039 if test -f "$ac_dir/libGLU.$ac_extension"; then
25040 ac_find_libraries=$ac_dir
25041 break 2
25042 fi
25043 done
25044 done
25045
25046 if test "$ac_find_libraries" != "" ; then
25047
25048 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25049 result=$?
25050 if test $result = 0; then
25051 ac_path_to_link=""
25052 else
25053 ac_path_to_link=" -L$ac_find_libraries"
25054 fi
25055
25056 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25057 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25058 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25059 fi
25060
25061 found_gl=1
25062 OPENGL_LIBS="-lGL -lGLU"
25063 echo "$as_me:$LINENO: result: yes" >&5
25064echo "${ECHO_T}yes" >&6
25065 fi
25066 fi
25067
25068 if test "$found_gl" != 1; then
25069 echo "$as_me:$LINENO: result: no" >&5
25070echo "${ECHO_T}no" >&6
25071 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25072echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25073
25074ac_find_libraries=
25075for ac_dir in $SEARCH_LIB /usr/lib;
25076 do
25077 for ac_extension in a so sl dylib; do
25078 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25079 ac_find_libraries=$ac_dir
25080 break 2
25081 fi
25082 done
25083 done
25084
25085 if test "$ac_find_libraries" != "" ; then
25086
25087 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25088 result=$?
25089 if test $result = 0; then
25090 ac_path_to_link=""
25091 else
25092 ac_path_to_link=" -L$ac_find_libraries"
25093 fi
25094
25095 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25096 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25097 echo "$as_me:$LINENO: result: yes" >&5
25098echo "${ECHO_T}yes" >&6
25099 else
25100 echo "$as_me:$LINENO: result: no" >&5
25101echo "${ECHO_T}no" >&6
25102 fi
25103 fi
25104
25105fi
25106
25107
25108
25109 if test "x$OPENGL_LIBS" = "x"; then
25110 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25111echo "$as_me: error: OpenGL libraries not available" >&2;}
25112 { (exit 1); exit 1; }; }
25113 fi
25114 fi
25115
25116 if test "$wxUSE_OPENGL" = "yes"; then
25117 USE_OPENGL=1
25118 cat >>confdefs.h <<\_ACEOF
25119#define wxUSE_OPENGL 1
25120_ACEOF
25121
25122 cat >>confdefs.h <<\_ACEOF
25123#define wxUSE_GLCANVAS 1
25124_ACEOF
25125
25126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25127 fi
25128fi
25129
25130if test -z "$TOOLKIT_VPATH" ; then
25131 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25132fi
25133
25134if test -n "$TOOLKIT" ; then
25135 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25136fi
25137
25138UNICODE=0
25139lib_unicode_suffix=
25140if test "$wxUSE_UNICODE" = "yes"; then
25141 lib_unicode_suffix=u
25142 UNICODE=1
25143fi
25144
25145lib_debug_suffix=
25146DEBUG_FLAG=0
25147if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25148 lib_debug_suffix=d
25149 DEBUG_FLAG=1
25150fi
25151
25152DEBUG_INFO=0
25153if test "$wxUSE_DEBUG_INFO" = "yes"; then
25154 DEBUG_INFO=1
25155fi
25156
25157WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25158
25159TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25160TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25161
25162if test "$cross_compiling" = "yes"; then
25163 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25164 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25165 HOST_SUFFIX="-${host_alias}"
25166fi
25167
25168WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25169WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25170WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25171WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25172
25173WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25174WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25175
25176WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25177WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25178WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25179WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25180
25181case "${host}" in
25182 *-*-cygwin* | *-*-mingw32* )
25183 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25184 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25185 ;;
25186
25187 *-*-darwin* )
25188
25189 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25190 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25191
25192 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25193 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25194 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25195 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25196
25197 if test "$wxUSE_MAC" = 1; then
25198 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25199 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25200 fi
25201 ;;
25202esac
25203
25204WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25205WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25206
25207WXCONFIG_LIBS="-l${WX_LIBRARY}"
25208WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25209
25210if test "$wxUSE_OPENGL" = "yes"; then
25211 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25212 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25213fi
25214
25215
25216
25217if test "$wxUSE_SHARED" = "yes"; then
25218 case "${host}" in
25219 *-pc-os2_emx | *-pc-os2-emx | \
25220 *-pc-msdosdjgpp )
25221 wxUSE_SHARED=no
25222 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25223echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25224 ;;
25225 esac
25226fi
25227
25228SHARED=0
25229if test "$wxUSE_SHARED" = "yes"; then
25230 SHARED=1
25231
25232
25233 found_versioning=no
25234
25235
25236 if test $found_versioning = no ; then
25237 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25238echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25239if test "${wx_cv_version_script+set}" = set; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25241else
25242
25243 echo "VER_1 { *; };" >conftest.sym
25244 echo "int main() { return 0; }" >conftest.cpp
25245
25246 if { ac_try='
25247 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25248 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25251 ac_status=$?
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; } ; then
25254 if test -s conftest.stderr ; then
25255 wx_cv_version_script=no
25256 else
25257 wx_cv_version_script=yes
25258 fi
25259 else
25260 wx_cv_version_script=no
25261 fi
25262 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25263
25264fi
25265echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25266echo "${ECHO_T}$wx_cv_version_script" >&6
25267 if test $wx_cv_version_script = yes ; then
25268 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25269 fi
25270 fi
25271
25272
25273 case "${host}" in
25274 *-*-linux* | *-*-gnu* )
25275 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25276 ;;
25277
25278 *-*-solaris2* )
25279 if test "$GCC" = yes ; then
25280 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25281
25282 saveLdflags="$LDFLAGS"
25283 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25284 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25285echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25286 cat >conftest.$ac_ext <<_ACEOF
25287#line $LINENO "configure"
25288/* confdefs.h. */
25289_ACEOF
25290cat confdefs.h >>conftest.$ac_ext
25291cat >>conftest.$ac_ext <<_ACEOF
25292/* end confdefs.h. */
25293
25294int
25295main ()
25296{
25297
25298 ;
25299 return 0;
25300}
25301_ACEOF
25302rm -f conftest.$ac_objext conftest$ac_exeext
25303if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25304 (eval $ac_link) 2>&5
25305 ac_status=$?
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } &&
25308 { ac_try='test -s conftest$ac_exeext'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25311 ac_status=$?
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; }; then
25314
25315 echo "$as_me:$LINENO: result: yes" >&5
25316echo "${ECHO_T}yes" >&6
25317 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25318
25319else
25320 echo "$as_me: failed program was:" >&5
25321sed 's/^/| /' conftest.$ac_ext >&5
25322
25323
25324 echo "$as_me:$LINENO: result: no" >&5
25325echo "${ECHO_T}no" >&6
25326 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25327echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25328 LDFLAGS="$saveLdflags -Wl,-R,/"
25329 cat >conftest.$ac_ext <<_ACEOF
25330#line $LINENO "configure"
25331/* confdefs.h. */
25332_ACEOF
25333cat confdefs.h >>conftest.$ac_ext
25334cat >>conftest.$ac_ext <<_ACEOF
25335/* end confdefs.h. */
25336
25337int
25338main ()
25339{
25340
25341 ;
25342 return 0;
25343}
25344_ACEOF
25345rm -f conftest.$ac_objext conftest$ac_exeext
25346if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25347 (eval $ac_link) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357
25358 echo "$as_me:$LINENO: result: yes" >&5
25359echo "${ECHO_T}yes" >&6
25360 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25361else
25362 echo "$as_me: failed program was:" >&5
25363sed 's/^/| /' conftest.$ac_ext >&5
25364
25365
25366 echo "$as_me:$LINENO: result: no" >&5
25367echo "${ECHO_T}no" >&6
25368
25369fi
25370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25371
25372fi
25373rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25374 LDFLAGS="$saveLdflags"
25375 else
25376 SHARED_LD="${CXX} -G -o"
25377 PIC_FLAG="-KPIC"
25378 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25379 fi
25380 ;;
25381
25382 powerpc-*-darwin* )
25383 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25384 cat <<EOF >change-install-names
25385#!/bin/sh
25386libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25387inst_cmd="install_name_tool "
25388for i in \${libnames} ; do
25389 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25390done
25391\${inst_cmd} \${3}
25392EOF
25393 chmod +x change-install-names
25394 ;;
25395
25396 esac
25397
25398 if test "x$WX_TARGET_LIBRARY" = "x"; then
25399 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25400 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25401 fi
25402
25403 WX_TARGET_LIBRARY_TYPE="so"
25404 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25405fi
25406
25407if test "$wxUSE_SHARED" = "no"; then
25408
25409 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25410 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25411 fi
25412
25413 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25414 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25415 fi
25416
25417 if test "$wxUSE_OPENGL" = "yes"; then
25418 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25419 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25420 else
25421 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25422 fi
25423
25424 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25425 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25426
25427 WX_TARGET_LIBRARY_TYPE="a"
25428 INSTALL_LIBRARY='$(INSTALL_DATA)'
25429
25430 STATIC_FLAG="yes"
25431else
25432 STATIC_FLAG="no"
25433fi
25434
25435MACRESCOMP="@#"
25436MACSETFILE="@#"
25437MACRESWXCONFIG="#"
25438if test "$wxUSE_MAC" = 1; then
25439 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25440 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25441 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25442 # Extract the first word of "Rez", so it can be a program name with args.
25443set dummy Rez; ac_word=$2
25444echo "$as_me:$LINENO: checking for $ac_word" >&5
25445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25446if test "${ac_cv_prog_RESCOMP+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25448else
25449 if test -n "$RESCOMP"; then
25450 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25451else
25452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25453for as_dir in $PATH
25454do
25455 IFS=$as_save_IFS
25456 test -z "$as_dir" && as_dir=.
25457 for ac_exec_ext in '' $ac_executable_extensions; do
25458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25459 ac_cv_prog_RESCOMP="Rez"
25460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25461 break 2
25462 fi
25463done
25464done
25465
25466 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25467fi
25468fi
25469RESCOMP=$ac_cv_prog_RESCOMP
25470if test -n "$RESCOMP"; then
25471 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25472echo "${ECHO_T}$RESCOMP" >&6
25473else
25474 echo "$as_me:$LINENO: result: no" >&5
25475echo "${ECHO_T}no" >&6
25476fi
25477
25478 # Extract the first word of "DeRez", so it can be a program name with args.
25479set dummy DeRez; ac_word=$2
25480echo "$as_me:$LINENO: checking for $ac_word" >&5
25481echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25482if test "${ac_cv_prog_DEREZ+set}" = set; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25484else
25485 if test -n "$DEREZ"; then
25486 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25487else
25488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25489for as_dir in $PATH
25490do
25491 IFS=$as_save_IFS
25492 test -z "$as_dir" && as_dir=.
25493 for ac_exec_ext in '' $ac_executable_extensions; do
25494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25495 ac_cv_prog_DEREZ="DeRez"
25496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25497 break 2
25498 fi
25499done
25500done
25501
25502 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25503fi
25504fi
25505DEREZ=$ac_cv_prog_DEREZ
25506if test -n "$DEREZ"; then
25507 echo "$as_me:$LINENO: result: $DEREZ" >&5
25508echo "${ECHO_T}$DEREZ" >&6
25509else
25510 echo "$as_me:$LINENO: result: no" >&5
25511echo "${ECHO_T}no" >&6
25512fi
25513
25514 # Extract the first word of "SetFile", so it can be a program name with args.
25515set dummy SetFile; ac_word=$2
25516echo "$as_me:$LINENO: checking for $ac_word" >&5
25517echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25518if test "${ac_cv_prog_SETFILE+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25520else
25521 if test -n "$SETFILE"; then
25522 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25523else
25524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25525for as_dir in $PATH
25526do
25527 IFS=$as_save_IFS
25528 test -z "$as_dir" && as_dir=.
25529 for ac_exec_ext in '' $ac_executable_extensions; do
25530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25531 ac_cv_prog_SETFILE="SetFile"
25532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25533 break 2
25534 fi
25535done
25536done
25537
25538 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25539fi
25540fi
25541SETFILE=$ac_cv_prog_SETFILE
25542if test -n "$SETFILE"; then
25543 echo "$as_me:$LINENO: result: $SETFILE" >&5
25544echo "${ECHO_T}$SETFILE" >&6
25545else
25546 echo "$as_me:$LINENO: result: no" >&5
25547echo "${ECHO_T}no" >&6
25548fi
25549
25550 MACOSX_BUNDLE="bundle"
25551 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25552 MACSETFILE="\$(SETFILE)"
25553 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25554elif test "$wxUSE_COCOA" = 1; then
25555 # Extract the first word of "Rez", so it can be a program name with args.
25556set dummy Rez; ac_word=$2
25557echo "$as_me:$LINENO: checking for $ac_word" >&5
25558echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25559if test "${ac_cv_prog_RESCOMP+set}" = set; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25561else
25562 if test -n "$RESCOMP"; then
25563 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25564else
25565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25566for as_dir in $PATH
25567do
25568 IFS=$as_save_IFS
25569 test -z "$as_dir" && as_dir=.
25570 for ac_exec_ext in '' $ac_executable_extensions; do
25571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25572 ac_cv_prog_RESCOMP="Rez"
25573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25574 break 2
25575 fi
25576done
25577done
25578
25579 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25580fi
25581fi
25582RESCOMP=$ac_cv_prog_RESCOMP
25583if test -n "$RESCOMP"; then
25584 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25585echo "${ECHO_T}$RESCOMP" >&6
25586else
25587 echo "$as_me:$LINENO: result: no" >&5
25588echo "${ECHO_T}no" >&6
25589fi
25590
25591 # Extract the first word of "DeRez", so it can be a program name with args.
25592set dummy DeRez; ac_word=$2
25593echo "$as_me:$LINENO: checking for $ac_word" >&5
25594echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25595if test "${ac_cv_prog_DEREZ+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597else
25598 if test -n "$DEREZ"; then
25599 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25600else
25601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25602for as_dir in $PATH
25603do
25604 IFS=$as_save_IFS
25605 test -z "$as_dir" && as_dir=.
25606 for ac_exec_ext in '' $ac_executable_extensions; do
25607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25608 ac_cv_prog_DEREZ="DeRez"
25609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25610 break 2
25611 fi
25612done
25613done
25614
25615 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25616fi
25617fi
25618DEREZ=$ac_cv_prog_DEREZ
25619if test -n "$DEREZ"; then
25620 echo "$as_me:$LINENO: result: $DEREZ" >&5
25621echo "${ECHO_T}$DEREZ" >&6
25622else
25623 echo "$as_me:$LINENO: result: no" >&5
25624echo "${ECHO_T}no" >&6
25625fi
25626
25627 # Extract the first word of "SetFile", so it can be a program name with args.
25628set dummy SetFile; ac_word=$2
25629echo "$as_me:$LINENO: checking for $ac_word" >&5
25630echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25631if test "${ac_cv_prog_SETFILE+set}" = set; then
25632 echo $ECHO_N "(cached) $ECHO_C" >&6
25633else
25634 if test -n "$SETFILE"; then
25635 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25636else
25637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25638for as_dir in $PATH
25639do
25640 IFS=$as_save_IFS
25641 test -z "$as_dir" && as_dir=.
25642 for ac_exec_ext in '' $ac_executable_extensions; do
25643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25644 ac_cv_prog_SETFILE="SetFile"
25645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25646 break 2
25647 fi
25648done
25649done
25650
25651 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25652fi
25653fi
25654SETFILE=$ac_cv_prog_SETFILE
25655if test -n "$SETFILE"; then
25656 echo "$as_me:$LINENO: result: $SETFILE" >&5
25657echo "${ECHO_T}$SETFILE" >&6
25658else
25659 echo "$as_me:$LINENO: result: no" >&5
25660echo "${ECHO_T}no" >&6
25661fi
25662
25663 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25664 MACSETFILE="\$(SETFILE)"
25665 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25666else
25667 if test "$wxUSE_PM" = 1; then
25668 MACRESCOMP="emxbind -ep"
25669 fi
25670fi
25671
25672
25673echo "$as_me:$LINENO: checking for mode_t" >&5
25674echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25675if test "${ac_cv_type_mode_t+set}" = set; then
25676 echo $ECHO_N "(cached) $ECHO_C" >&6
25677else
25678 cat >conftest.$ac_ext <<_ACEOF
25679#line $LINENO "configure"
25680/* confdefs.h. */
25681_ACEOF
25682cat confdefs.h >>conftest.$ac_ext
25683cat >>conftest.$ac_ext <<_ACEOF
25684/* end confdefs.h. */
25685$ac_includes_default
25686int
25687main ()
25688{
25689if ((mode_t *) 0)
25690 return 0;
25691if (sizeof (mode_t))
25692 return 0;
25693 ;
25694 return 0;
25695}
25696_ACEOF
25697rm -f conftest.$ac_objext
25698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25699 (eval $ac_compile) 2>&5
25700 ac_status=$?
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); } &&
25703 { ac_try='test -s conftest.$ac_objext'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25706 ac_status=$?
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; }; then
25709 ac_cv_type_mode_t=yes
25710else
25711 echo "$as_me: failed program was:" >&5
25712sed 's/^/| /' conftest.$ac_ext >&5
25713
25714ac_cv_type_mode_t=no
25715fi
25716rm -f conftest.$ac_objext conftest.$ac_ext
25717fi
25718echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25719echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25720if test $ac_cv_type_mode_t = yes; then
25721 :
25722else
25723
25724cat >>confdefs.h <<_ACEOF
25725#define mode_t int
25726_ACEOF
25727
25728fi
25729
25730echo "$as_me:$LINENO: checking for off_t" >&5
25731echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25732if test "${ac_cv_type_off_t+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734else
25735 cat >conftest.$ac_ext <<_ACEOF
25736#line $LINENO "configure"
25737/* confdefs.h. */
25738_ACEOF
25739cat confdefs.h >>conftest.$ac_ext
25740cat >>conftest.$ac_ext <<_ACEOF
25741/* end confdefs.h. */
25742$ac_includes_default
25743int
25744main ()
25745{
25746if ((off_t *) 0)
25747 return 0;
25748if (sizeof (off_t))
25749 return 0;
25750 ;
25751 return 0;
25752}
25753_ACEOF
25754rm -f conftest.$ac_objext
25755if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>&5
25757 ac_status=$?
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } &&
25760 { ac_try='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25763 ac_status=$?
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 ac_cv_type_off_t=yes
25767else
25768 echo "$as_me: failed program was:" >&5
25769sed 's/^/| /' conftest.$ac_ext >&5
25770
25771ac_cv_type_off_t=no
25772fi
25773rm -f conftest.$ac_objext conftest.$ac_ext
25774fi
25775echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25776echo "${ECHO_T}$ac_cv_type_off_t" >&6
25777if test $ac_cv_type_off_t = yes; then
25778 :
25779else
25780
25781cat >>confdefs.h <<_ACEOF
25782#define off_t long
25783_ACEOF
25784
25785fi
25786
25787echo "$as_me:$LINENO: checking for pid_t" >&5
25788echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25789if test "${ac_cv_type_pid_t+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25791else
25792 cat >conftest.$ac_ext <<_ACEOF
25793#line $LINENO "configure"
25794/* confdefs.h. */
25795_ACEOF
25796cat confdefs.h >>conftest.$ac_ext
25797cat >>conftest.$ac_ext <<_ACEOF
25798/* end confdefs.h. */
25799$ac_includes_default
25800int
25801main ()
25802{
25803if ((pid_t *) 0)
25804 return 0;
25805if (sizeof (pid_t))
25806 return 0;
25807 ;
25808 return 0;
25809}
25810_ACEOF
25811rm -f conftest.$ac_objext
25812if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25813 (eval $ac_compile) 2>&5
25814 ac_status=$?
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } &&
25817 { ac_try='test -s conftest.$ac_objext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25820 ac_status=$?
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_type_pid_t=yes
25824else
25825 echo "$as_me: failed program was:" >&5
25826sed 's/^/| /' conftest.$ac_ext >&5
25827
25828ac_cv_type_pid_t=no
25829fi
25830rm -f conftest.$ac_objext conftest.$ac_ext
25831fi
25832echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25833echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25834if test $ac_cv_type_pid_t = yes; then
25835 :
25836else
25837
25838cat >>confdefs.h <<_ACEOF
25839#define pid_t int
25840_ACEOF
25841
25842fi
25843
25844echo "$as_me:$LINENO: checking for size_t" >&5
25845echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25846if test "${ac_cv_type_size_t+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25848else
25849 cat >conftest.$ac_ext <<_ACEOF
25850#line $LINENO "configure"
25851/* confdefs.h. */
25852_ACEOF
25853cat confdefs.h >>conftest.$ac_ext
25854cat >>conftest.$ac_ext <<_ACEOF
25855/* end confdefs.h. */
25856$ac_includes_default
25857int
25858main ()
25859{
25860if ((size_t *) 0)
25861 return 0;
25862if (sizeof (size_t))
25863 return 0;
25864 ;
25865 return 0;
25866}
25867_ACEOF
25868rm -f conftest.$ac_objext
25869if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>&5
25871 ac_status=$?
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try='test -s conftest.$ac_objext'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25877 ac_status=$?
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; }; then
25880 ac_cv_type_size_t=yes
25881else
25882 echo "$as_me: failed program was:" >&5
25883sed 's/^/| /' conftest.$ac_ext >&5
25884
25885ac_cv_type_size_t=no
25886fi
25887rm -f conftest.$ac_objext conftest.$ac_ext
25888fi
25889echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25890echo "${ECHO_T}$ac_cv_type_size_t" >&6
25891if test $ac_cv_type_size_t = yes; then
25892 :
25893else
25894
25895cat >>confdefs.h <<_ACEOF
25896#define size_t unsigned
25897_ACEOF
25898
25899fi
25900
25901echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25902echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25903if test "${ac_cv_type_uid_t+set}" = set; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25905else
25906 cat >conftest.$ac_ext <<_ACEOF
25907#line $LINENO "configure"
25908/* confdefs.h. */
25909_ACEOF
25910cat confdefs.h >>conftest.$ac_ext
25911cat >>conftest.$ac_ext <<_ACEOF
25912/* end confdefs.h. */
25913#include <sys/types.h>
25914
25915_ACEOF
25916if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25917 $EGREP "uid_t" >/dev/null 2>&1; then
25918 ac_cv_type_uid_t=yes
25919else
25920 ac_cv_type_uid_t=no
25921fi
25922rm -f conftest*
25923
25924fi
25925echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25926echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25927if test $ac_cv_type_uid_t = no; then
25928
25929cat >>confdefs.h <<\_ACEOF
25930#define uid_t int
25931_ACEOF
25932
25933
25934cat >>confdefs.h <<\_ACEOF
25935#define gid_t int
25936_ACEOF
25937
25938fi
25939
25940
25941
25942
25943ac_ext=cc
25944ac_cpp='$CXXCPP $CPPFLAGS'
25945ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25948
25949echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25950echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25951if test "${wx_cv_size_t_is_uint+set}" = set; then
25952 echo $ECHO_N "(cached) $ECHO_C" >&6
25953else
25954
25955 cat >conftest.$ac_ext <<_ACEOF
25956#line $LINENO "configure"
25957/* confdefs.h. */
25958_ACEOF
25959cat confdefs.h >>conftest.$ac_ext
25960cat >>conftest.$ac_ext <<_ACEOF
25961/* end confdefs.h. */
25962#include <stddef.h>
25963int
25964main ()
25965{
25966
25967 return 0; }
25968
25969 struct Foo { void foo(size_t); void foo(unsigned int); };
25970
25971 int bar() {
25972
25973 ;
25974 return 0;
25975}
25976_ACEOF
25977rm -f conftest.$ac_objext
25978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25979 (eval $ac_compile) 2>&5
25980 ac_status=$?
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } &&
25983 { ac_try='test -s conftest.$ac_objext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25986 ac_status=$?
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 wx_cv_size_t_is_uint=no
25990else
25991 echo "$as_me: failed program was:" >&5
25992sed 's/^/| /' conftest.$ac_ext >&5
25993
25994wx_cv_size_t_is_uint=yes
25995
25996fi
25997rm -f conftest.$ac_objext conftest.$ac_ext
25998
25999
26000fi
26001echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26002echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26003
26004if test "$wx_cv_size_t_is_uint" = "yes"; then
26005 cat >>confdefs.h <<\_ACEOF
26006#define wxSIZE_T_IS_UINT 1
26007_ACEOF
26008
26009else
26010 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26011echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26012if test "${wx_cv_size_t_is_ulong+set}" = set; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26014else
26015 cat >conftest.$ac_ext <<_ACEOF
26016#line $LINENO "configure"
26017/* confdefs.h. */
26018_ACEOF
26019cat confdefs.h >>conftest.$ac_ext
26020cat >>conftest.$ac_ext <<_ACEOF
26021/* end confdefs.h. */
26022#include <stddef.h>
26023int
26024main ()
26025{
26026
26027 return 0; }
26028
26029 struct Foo { void foo(size_t); void foo(unsigned long); };
26030
26031 int bar() {
26032
26033 ;
26034 return 0;
26035}
26036_ACEOF
26037rm -f conftest.$ac_objext
26038if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 wx_cv_size_t_is_ulong=no
26050else
26051 echo "$as_me: failed program was:" >&5
26052sed 's/^/| /' conftest.$ac_ext >&5
26053
26054wx_cv_size_t_is_ulong=yes
26055
26056fi
26057rm -f conftest.$ac_objext conftest.$ac_ext
26058
26059fi
26060echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26061echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26062
26063 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26064 cat >>confdefs.h <<\_ACEOF
26065#define wxSIZE_T_IS_ULONG 1
26066_ACEOF
26067
26068 fi
26069fi
26070
26071ac_ext=c
26072ac_cpp='$CPP $CPPFLAGS'
26073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075ac_compiler_gnu=$ac_cv_c_compiler_gnu
26076
26077
26078
26079echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26080echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26081if test "${wx_cv_struct_pw_gecos+set}" = set; then
26082 echo $ECHO_N "(cached) $ECHO_C" >&6
26083else
26084
26085 cat >conftest.$ac_ext <<_ACEOF
26086#line $LINENO "configure"
26087/* confdefs.h. */
26088_ACEOF
26089cat confdefs.h >>conftest.$ac_ext
26090cat >>conftest.$ac_ext <<_ACEOF
26091/* end confdefs.h. */
26092#include <pwd.h>
26093int
26094main ()
26095{
26096
26097 char *p;
26098 struct passwd *pw;
26099 p = pw->pw_gecos;
26100
26101 ;
26102 return 0;
26103}
26104_ACEOF
26105rm -f conftest.$ac_objext
26106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26107 (eval $ac_compile) 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } &&
26111 { ac_try='test -s conftest.$ac_objext'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26114 ac_status=$?
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; }; then
26117
26118 wx_cv_struct_pw_gecos=yes
26119
26120else
26121 echo "$as_me: failed program was:" >&5
26122sed 's/^/| /' conftest.$ac_ext >&5
26123
26124
26125 wx_cv_struct_pw_gecos=no
26126
26127
26128fi
26129rm -f conftest.$ac_objext conftest.$ac_ext
26130
26131
26132fi
26133echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26134echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26135
26136if test "$wx_cv_struct_pw_gecos" = "yes"; then
26137 cat >>confdefs.h <<\_ACEOF
26138#define HAVE_PW_GECOS 1
26139_ACEOF
26140
26141fi
26142
26143
26144if test "$wx_cv_sizeof_wchar_t" != "0"; then
26145 cat >>confdefs.h <<\_ACEOF
26146#define wxUSE_WCHAR_T 1
26147_ACEOF
26148
26149
26150 WCSLEN_FOUND=0
26151 WCHAR_LINK=
26152
26153for ac_func in wcslen
26154do
26155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26156echo "$as_me:$LINENO: checking for $ac_func" >&5
26157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26158if eval "test \"\${$as_ac_var+set}\" = set"; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26160else
26161 cat >conftest.$ac_ext <<_ACEOF
26162#line $LINENO "configure"
26163/* confdefs.h. */
26164_ACEOF
26165cat confdefs.h >>conftest.$ac_ext
26166cat >>conftest.$ac_ext <<_ACEOF
26167/* end confdefs.h. */
26168/* System header to define __stub macros and hopefully few prototypes,
26169 which can conflict with char $ac_func (); below.
26170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26171 <limits.h> exists even on freestanding compilers. */
26172#ifdef __STDC__
26173# include <limits.h>
26174#else
26175# include <assert.h>
26176#endif
26177/* Override any gcc2 internal prototype to avoid an error. */
26178#ifdef __cplusplus
26179extern "C"
26180{
26181#endif
26182/* We use char because int might match the return type of a gcc2
26183 builtin and then its argument prototype would still apply. */
26184char $ac_func ();
26185/* The GNU C library defines this for functions which it implements
26186 to always fail with ENOSYS. Some functions are actually named
26187 something starting with __ and the normal name is an alias. */
26188#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26189choke me
26190#else
26191char (*f) () = $ac_func;
26192#endif
26193#ifdef __cplusplus
26194}
26195#endif
26196
26197int
26198main ()
26199{
26200return f != $ac_func;
26201 ;
26202 return 0;
26203}
26204_ACEOF
26205rm -f conftest.$ac_objext conftest$ac_exeext
26206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26207 (eval $ac_link) 2>&5
26208 ac_status=$?
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); } &&
26211 { ac_try='test -s conftest$ac_exeext'
26212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26213 (eval $ac_try) 2>&5
26214 ac_status=$?
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); }; }; then
26217 eval "$as_ac_var=yes"
26218else
26219 echo "$as_me: failed program was:" >&5
26220sed 's/^/| /' conftest.$ac_ext >&5
26221
26222eval "$as_ac_var=no"
26223fi
26224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26225fi
26226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26227echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26228if test `eval echo '${'$as_ac_var'}'` = yes; then
26229 cat >>confdefs.h <<_ACEOF
26230#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26231_ACEOF
26232 WCSLEN_FOUND=1
26233fi
26234done
26235
26236
26237 if test "$WCSLEN_FOUND" = 0; then
26238 if test "$TOOLKIT" = "MSW"; then
26239 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26240echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26241if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26243else
26244 ac_check_lib_save_LIBS=$LIBS
26245LIBS="-lmsvcrt $LIBS"
26246cat >conftest.$ac_ext <<_ACEOF
26247#line $LINENO "configure"
26248/* confdefs.h. */
26249_ACEOF
26250cat confdefs.h >>conftest.$ac_ext
26251cat >>conftest.$ac_ext <<_ACEOF
26252/* end confdefs.h. */
26253
26254/* Override any gcc2 internal prototype to avoid an error. */
26255#ifdef __cplusplus
26256extern "C"
26257#endif
26258/* We use char because int might match the return type of a gcc2
26259 builtin and then its argument prototype would still apply. */
26260char wcslen ();
26261int
26262main ()
26263{
26264wcslen ();
26265 ;
26266 return 0;
26267}
26268_ACEOF
26269rm -f conftest.$ac_objext conftest$ac_exeext
26270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26271 (eval $ac_link) 2>&5
26272 ac_status=$?
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); } &&
26275 { ac_try='test -s conftest$ac_exeext'
26276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26277 (eval $ac_try) 2>&5
26278 ac_status=$?
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); }; }; then
26281 ac_cv_lib_msvcrt_wcslen=yes
26282else
26283 echo "$as_me: failed program was:" >&5
26284sed 's/^/| /' conftest.$ac_ext >&5
26285
26286ac_cv_lib_msvcrt_wcslen=no
26287fi
26288rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26289LIBS=$ac_check_lib_save_LIBS
26290fi
26291echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26292echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26293if test $ac_cv_lib_msvcrt_wcslen = yes; then
26294 WCHAR_OK=1
26295fi
26296
26297 else
26298 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26299echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26300if test "${ac_cv_lib_w_wcslen+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26302else
26303 ac_check_lib_save_LIBS=$LIBS
26304LIBS="-lw $LIBS"
26305cat >conftest.$ac_ext <<_ACEOF
26306#line $LINENO "configure"
26307/* confdefs.h. */
26308_ACEOF
26309cat confdefs.h >>conftest.$ac_ext
26310cat >>conftest.$ac_ext <<_ACEOF
26311/* end confdefs.h. */
26312
26313/* Override any gcc2 internal prototype to avoid an error. */
26314#ifdef __cplusplus
26315extern "C"
26316#endif
26317/* We use char because int might match the return type of a gcc2
26318 builtin and then its argument prototype would still apply. */
26319char wcslen ();
26320int
26321main ()
26322{
26323wcslen ();
26324 ;
26325 return 0;
26326}
26327_ACEOF
26328rm -f conftest.$ac_objext conftest$ac_exeext
26329if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26330 (eval $ac_link) 2>&5
26331 ac_status=$?
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try='test -s conftest$ac_exeext'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; }; then
26340 ac_cv_lib_w_wcslen=yes
26341else
26342 echo "$as_me: failed program was:" >&5
26343sed 's/^/| /' conftest.$ac_ext >&5
26344
26345ac_cv_lib_w_wcslen=no
26346fi
26347rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26348LIBS=$ac_check_lib_save_LIBS
26349fi
26350echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26351echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26352if test $ac_cv_lib_w_wcslen = yes; then
26353
26354 WCHAR_LINK=" -lw"
26355 WCSLEN_FOUND=1
26356
26357fi
26358
26359 fi
26360 fi
26361
26362 if test "$WCSLEN_FOUND" = 1; then
26363 cat >>confdefs.h <<\_ACEOF
26364#define HAVE_WCSLEN 1
26365_ACEOF
26366
26367 fi
26368
26369
26370for ac_func in wcsrtombs
26371do
26372as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26373echo "$as_me:$LINENO: checking for $ac_func" >&5
26374echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26375if eval "test \"\${$as_ac_var+set}\" = set"; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26377else
26378 cat >conftest.$ac_ext <<_ACEOF
26379#line $LINENO "configure"
26380/* confdefs.h. */
26381_ACEOF
26382cat confdefs.h >>conftest.$ac_ext
26383cat >>conftest.$ac_ext <<_ACEOF
26384/* end confdefs.h. */
26385/* System header to define __stub macros and hopefully few prototypes,
26386 which can conflict with char $ac_func (); below.
26387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26388 <limits.h> exists even on freestanding compilers. */
26389#ifdef __STDC__
26390# include <limits.h>
26391#else
26392# include <assert.h>
26393#endif
26394/* Override any gcc2 internal prototype to avoid an error. */
26395#ifdef __cplusplus
26396extern "C"
26397{
26398#endif
26399/* We use char because int might match the return type of a gcc2
26400 builtin and then its argument prototype would still apply. */
26401char $ac_func ();
26402/* The GNU C library defines this for functions which it implements
26403 to always fail with ENOSYS. Some functions are actually named
26404 something starting with __ and the normal name is an alias. */
26405#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26406choke me
26407#else
26408char (*f) () = $ac_func;
26409#endif
26410#ifdef __cplusplus
26411}
26412#endif
26413
26414int
26415main ()
26416{
26417return f != $ac_func;
26418 ;
26419 return 0;
26420}
26421_ACEOF
26422rm -f conftest.$ac_objext conftest$ac_exeext
26423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26424 (eval $ac_link) 2>&5
26425 ac_status=$?
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try='test -s conftest$ac_exeext'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26431 ac_status=$?
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; }; then
26434 eval "$as_ac_var=yes"
26435else
26436 echo "$as_me: failed program was:" >&5
26437sed 's/^/| /' conftest.$ac_ext >&5
26438
26439eval "$as_ac_var=no"
26440fi
26441rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26442fi
26443echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26444echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26445if test `eval echo '${'$as_ac_var'}'` = yes; then
26446 cat >>confdefs.h <<_ACEOF
26447#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26448_ACEOF
26449
26450fi
26451done
26452
26453else
26454 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26455echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26456fi
26457
26458
26459
26460ac_ext=cc
26461ac_cpp='$CXXCPP $CPPFLAGS'
26462ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26465
26466
26467
26468for ac_func in vsnprintf
26469do
26470as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26471echo "$as_me:$LINENO: checking for $ac_func" >&5
26472echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26473if eval "test \"\${$as_ac_var+set}\" = set"; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26475else
26476 cat >conftest.$ac_ext <<_ACEOF
26477#line $LINENO "configure"
26478/* confdefs.h. */
26479_ACEOF
26480cat confdefs.h >>conftest.$ac_ext
26481cat >>conftest.$ac_ext <<_ACEOF
26482/* end confdefs.h. */
26483/* System header to define __stub macros and hopefully few prototypes,
26484 which can conflict with char $ac_func (); below.
26485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26486 <limits.h> exists even on freestanding compilers. */
26487#ifdef __STDC__
26488# include <limits.h>
26489#else
26490# include <assert.h>
26491#endif
26492/* Override any gcc2 internal prototype to avoid an error. */
26493#ifdef __cplusplus
26494extern "C"
26495{
26496#endif
26497/* We use char because int might match the return type of a gcc2
26498 builtin and then its argument prototype would still apply. */
26499char $ac_func ();
26500/* The GNU C library defines this for functions which it implements
26501 to always fail with ENOSYS. Some functions are actually named
26502 something starting with __ and the normal name is an alias. */
26503#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26504choke me
26505#else
26506char (*f) () = $ac_func;
26507#endif
26508#ifdef __cplusplus
26509}
26510#endif
26511
26512int
26513main ()
26514{
26515return f != $ac_func;
26516 ;
26517 return 0;
26518}
26519_ACEOF
26520rm -f conftest.$ac_objext conftest$ac_exeext
26521if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26529 ac_status=$?
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 eval "$as_ac_var=yes"
26533else
26534 echo "$as_me: failed program was:" >&5
26535sed 's/^/| /' conftest.$ac_ext >&5
26536
26537eval "$as_ac_var=no"
26538fi
26539rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26540fi
26541echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26542echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26543if test `eval echo '${'$as_ac_var'}'` = yes; then
26544 cat >>confdefs.h <<_ACEOF
26545#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26546_ACEOF
26547
26548fi
26549done
26550
26551
26552if test "$ac_cv_func_vsnprintf" = "yes"; then
26553 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26554echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26555if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26557else
26558
26559 cat >conftest.$ac_ext <<_ACEOF
26560#line $LINENO "configure"
26561/* confdefs.h. */
26562_ACEOF
26563cat confdefs.h >>conftest.$ac_ext
26564cat >>conftest.$ac_ext <<_ACEOF
26565/* end confdefs.h. */
26566
26567 #include <stdio.h>
26568 #include <stdarg.h>
26569
26570int
26571main ()
26572{
26573
26574 char *buf;
26575 va_list ap;
26576 vsnprintf(buf, 10u, "%s", ap);
26577
26578 ;
26579 return 0;
26580}
26581_ACEOF
26582rm -f conftest.$ac_objext
26583if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26584 (eval $ac_compile) 2>&5
26585 ac_status=$?
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); } &&
26588 { ac_try='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26591 ac_status=$?
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 wx_cv_func_vsnprintf_decl=yes
26595else
26596 echo "$as_me: failed program was:" >&5
26597sed 's/^/| /' conftest.$ac_ext >&5
26598
26599wx_cv_func_vsnprintf_decl=no
26600
26601fi
26602rm -f conftest.$ac_objext conftest.$ac_ext
26603
26604
26605fi
26606echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26607echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26608
26609 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26610 cat >>confdefs.h <<\_ACEOF
26611#define HAVE_VSNPRINTF_DECL 1
26612_ACEOF
26613
26614 fi
26615fi
26616
26617if test "$wxUSE_UNICODE" = yes; then
26618
26619
26620
26621for ac_func in fputwc wprintf vswprintf
26622do
26623as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26624echo "$as_me:$LINENO: checking for $ac_func" >&5
26625echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26626if eval "test \"\${$as_ac_var+set}\" = set"; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26628else
26629 cat >conftest.$ac_ext <<_ACEOF
26630#line $LINENO "configure"
26631/* confdefs.h. */
26632_ACEOF
26633cat confdefs.h >>conftest.$ac_ext
26634cat >>conftest.$ac_ext <<_ACEOF
26635/* end confdefs.h. */
26636/* System header to define __stub macros and hopefully few prototypes,
26637 which can conflict with char $ac_func (); below.
26638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26639 <limits.h> exists even on freestanding compilers. */
26640#ifdef __STDC__
26641# include <limits.h>
26642#else
26643# include <assert.h>
26644#endif
26645/* Override any gcc2 internal prototype to avoid an error. */
26646#ifdef __cplusplus
26647extern "C"
26648{
26649#endif
26650/* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26652char $ac_func ();
26653/* The GNU C library defines this for functions which it implements
26654 to always fail with ENOSYS. Some functions are actually named
26655 something starting with __ and the normal name is an alias. */
26656#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26657choke me
26658#else
26659char (*f) () = $ac_func;
26660#endif
26661#ifdef __cplusplus
26662}
26663#endif
26664
26665int
26666main ()
26667{
26668return f != $ac_func;
26669 ;
26670 return 0;
26671}
26672_ACEOF
26673rm -f conftest.$ac_objext conftest$ac_exeext
26674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 eval "$as_ac_var=yes"
26686else
26687 echo "$as_me: failed program was:" >&5
26688sed 's/^/| /' conftest.$ac_ext >&5
26689
26690eval "$as_ac_var=no"
26691fi
26692rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26693fi
26694echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26695echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26696if test `eval echo '${'$as_ac_var'}'` = yes; then
26697 cat >>confdefs.h <<_ACEOF
26698#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26699_ACEOF
26700
26701fi
26702done
26703
26704
26705 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26706echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26707 cat >conftest.$ac_ext <<_ACEOF
26708#line $LINENO "configure"
26709/* confdefs.h. */
26710_ACEOF
26711cat confdefs.h >>conftest.$ac_ext
26712cat >>conftest.$ac_ext <<_ACEOF
26713/* end confdefs.h. */
26714#include <wchar.h>
26715int
26716main ()
26717{
26718&_vsnwprintf;
26719 ;
26720 return 0;
26721}
26722_ACEOF
26723rm -f conftest.$ac_objext
26724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26725 (eval $ac_compile) 2>&5
26726 ac_status=$?
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try='test -s conftest.$ac_objext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26735 echo "$as_me:$LINENO: result: yes" >&5
26736echo "${ECHO_T}yes" >&6
26737 cat >>confdefs.h <<\_ACEOF
26738#define HAVE__VSNWPRINTF 1
26739_ACEOF
26740
26741else
26742 echo "$as_me: failed program was:" >&5
26743sed 's/^/| /' conftest.$ac_ext >&5
26744
26745echo "$as_me:$LINENO: result: no" >&5
26746echo "${ECHO_T}no" >&6
26747fi
26748rm -f conftest.$ac_objext conftest.$ac_ext;
26749fi
26750
26751ac_ext=c
26752ac_cpp='$CPP $CPPFLAGS'
26753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755ac_compiler_gnu=$ac_cv_c_compiler_gnu
26756
26757
26758
26759
26760if test "$TOOLKIT" != "MSW"; then
26761
26762
26763
26764
26765ac_ext=cc
26766ac_cpp='$CXXCPP $CPPFLAGS'
26767ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26768ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26769ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26770
26771
26772
26773
26774# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26775if test "${with_libiconv_prefix+set}" = set; then
26776 withval="$with_libiconv_prefix"
26777
26778 for dir in `echo "$withval" | tr : ' '`; do
26779 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26780 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26781 done
26782
26783fi;
26784
26785 echo "$as_me:$LINENO: checking for iconv" >&5
26786echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26787if test "${am_cv_func_iconv+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26789else
26790
26791 am_cv_func_iconv="no, consider installing GNU libiconv"
26792 am_cv_lib_iconv=no
26793 cat >conftest.$ac_ext <<_ACEOF
26794#line $LINENO "configure"
26795/* confdefs.h. */
26796_ACEOF
26797cat confdefs.h >>conftest.$ac_ext
26798cat >>conftest.$ac_ext <<_ACEOF
26799/* end confdefs.h. */
26800#include <stdlib.h>
26801#include <iconv.h>
26802int
26803main ()
26804{
26805iconv_t cd = iconv_open("","");
26806 iconv(cd,NULL,NULL,NULL,NULL);
26807 iconv_close(cd);
26808 ;
26809 return 0;
26810}
26811_ACEOF
26812rm -f conftest.$ac_objext conftest$ac_exeext
26813if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26814 (eval $ac_link) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 am_cv_func_iconv=yes
26825else
26826 echo "$as_me: failed program was:" >&5
26827sed 's/^/| /' conftest.$ac_ext >&5
26828
26829fi
26830rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26831 if test "$am_cv_func_iconv" != yes; then
26832 am_save_LIBS="$LIBS"
26833 LIBS="$LIBS -liconv"
26834 cat >conftest.$ac_ext <<_ACEOF
26835#line $LINENO "configure"
26836/* confdefs.h. */
26837_ACEOF
26838cat confdefs.h >>conftest.$ac_ext
26839cat >>conftest.$ac_ext <<_ACEOF
26840/* end confdefs.h. */
26841#include <stdlib.h>
26842#include <iconv.h>
26843int
26844main ()
26845{
26846iconv_t cd = iconv_open("","");
26847 iconv(cd,NULL,NULL,NULL,NULL);
26848 iconv_close(cd);
26849 ;
26850 return 0;
26851}
26852_ACEOF
26853rm -f conftest.$ac_objext conftest$ac_exeext
26854if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26855 (eval $ac_link) 2>&5
26856 ac_status=$?
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } &&
26859 { ac_try='test -s conftest$ac_exeext'
26860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861 (eval $ac_try) 2>&5
26862 ac_status=$?
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); }; }; then
26865 am_cv_lib_iconv=yes
26866 am_cv_func_iconv=yes
26867else
26868 echo "$as_me: failed program was:" >&5
26869sed 's/^/| /' conftest.$ac_ext >&5
26870
26871fi
26872rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26873 LIBS="$am_save_LIBS"
26874 fi
26875
26876fi
26877echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26878echo "${ECHO_T}$am_cv_func_iconv" >&6
26879 if test "$am_cv_func_iconv" = yes; then
26880
26881cat >>confdefs.h <<\_ACEOF
26882#define HAVE_ICONV 1
26883_ACEOF
26884
26885 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26886echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26887if test "${wx_cv_func_iconv_const+set}" = set; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26889else
26890 cat >conftest.$ac_ext <<_ACEOF
26891#line $LINENO "configure"
26892/* confdefs.h. */
26893_ACEOF
26894cat confdefs.h >>conftest.$ac_ext
26895cat >>conftest.$ac_ext <<_ACEOF
26896/* end confdefs.h. */
26897
26898#include <stdlib.h>
26899#include <iconv.h>
26900extern
26901#ifdef __cplusplus
26902"C"
26903#endif
26904#if defined(__STDC__) || defined(__cplusplus)
26905size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26906#else
26907size_t iconv();
26908#endif
26909
26910int
26911main ()
26912{
26913
26914 ;
26915 return 0;
26916}
26917_ACEOF
26918rm -f conftest.$ac_objext
26919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920 (eval $ac_compile) 2>&5
26921 ac_status=$?
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } &&
26924 { ac_try='test -s conftest.$ac_objext'
26925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26926 (eval $ac_try) 2>&5
26927 ac_status=$?
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); }; }; then
26930 wx_cv_func_iconv_const="no"
26931else
26932 echo "$as_me: failed program was:" >&5
26933sed 's/^/| /' conftest.$ac_ext >&5
26934
26935wx_cv_func_iconv_const="yes"
26936
26937fi
26938rm -f conftest.$ac_objext conftest.$ac_ext
26939
26940fi
26941echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26942echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26943
26944 iconv_const=
26945 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26946 iconv_const="const"
26947 fi
26948
26949
26950cat >>confdefs.h <<_ACEOF
26951#define ICONV_CONST $iconv_const
26952_ACEOF
26953
26954 fi
26955 LIBICONV=
26956 if test "$am_cv_lib_iconv" = yes; then
26957 LIBICONV="-liconv"
26958 fi
26959
26960
26961LIBS="$LIBICONV $LIBS"
26962ac_ext=c
26963ac_cpp='$CPP $CPPFLAGS'
26964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26966ac_compiler_gnu=$ac_cv_c_compiler_gnu
26967
26968
26969if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26970
26971for ac_func in sigaction
26972do
26973as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26974echo "$as_me:$LINENO: checking for $ac_func" >&5
26975echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26976if eval "test \"\${$as_ac_var+set}\" = set"; then
26977 echo $ECHO_N "(cached) $ECHO_C" >&6
26978else
26979 cat >conftest.$ac_ext <<_ACEOF
26980#line $LINENO "configure"
26981/* confdefs.h. */
26982_ACEOF
26983cat confdefs.h >>conftest.$ac_ext
26984cat >>conftest.$ac_ext <<_ACEOF
26985/* end confdefs.h. */
26986/* System header to define __stub macros and hopefully few prototypes,
26987 which can conflict with char $ac_func (); below.
26988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26989 <limits.h> exists even on freestanding compilers. */
26990#ifdef __STDC__
26991# include <limits.h>
26992#else
26993# include <assert.h>
26994#endif
26995/* Override any gcc2 internal prototype to avoid an error. */
26996#ifdef __cplusplus
26997extern "C"
26998{
26999#endif
27000/* We use char because int might match the return type of a gcc2
27001 builtin and then its argument prototype would still apply. */
27002char $ac_func ();
27003/* The GNU C library defines this for functions which it implements
27004 to always fail with ENOSYS. Some functions are actually named
27005 something starting with __ and the normal name is an alias. */
27006#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27007choke me
27008#else
27009char (*f) () = $ac_func;
27010#endif
27011#ifdef __cplusplus
27012}
27013#endif
27014
27015int
27016main ()
27017{
27018return f != $ac_func;
27019 ;
27020 return 0;
27021}
27022_ACEOF
27023rm -f conftest.$ac_objext conftest$ac_exeext
27024if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27025 (eval $ac_link) 2>&5
27026 ac_status=$?
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } &&
27029 { ac_try='test -s conftest$ac_exeext'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27032 ac_status=$?
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; }; then
27035 eval "$as_ac_var=yes"
27036else
27037 echo "$as_me: failed program was:" >&5
27038sed 's/^/| /' conftest.$ac_ext >&5
27039
27040eval "$as_ac_var=no"
27041fi
27042rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27043fi
27044echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27045echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27046if test `eval echo '${'$as_ac_var'}'` = yes; then
27047 cat >>confdefs.h <<_ACEOF
27048#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27049_ACEOF
27050
27051fi
27052done
27053
27054
27055 if test "$ac_cv_func_sigaction" = "no"; then
27056 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27057echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27058 wxUSE_ON_FATAL_EXCEPTION=no
27059 fi
27060
27061 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27062
27063
27064 ac_ext=cc
27065ac_cpp='$CXXCPP $CPPFLAGS'
27066ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27067ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27068ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27069
27070
27071 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27072echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27073if test "${wx_cv_type_sa_handler+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27075else
27076
27077 cat >conftest.$ac_ext <<_ACEOF
27078#line $LINENO "configure"
27079/* confdefs.h. */
27080_ACEOF
27081cat confdefs.h >>conftest.$ac_ext
27082cat >>conftest.$ac_ext <<_ACEOF
27083/* end confdefs.h. */
27084#include <signal.h>
27085int
27086main ()
27087{
27088
27089 extern void testSigHandler(int);
27090
27091 struct sigaction sa;
27092 sa.sa_handler = testSigHandler;
27093
27094 ;
27095 return 0;
27096}
27097_ACEOF
27098rm -f conftest.$ac_objext
27099if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27100 (eval $ac_compile) 2>&5
27101 ac_status=$?
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } &&
27104 { ac_try='test -s conftest.$ac_objext'
27105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27106 (eval $ac_try) 2>&5
27107 ac_status=$?
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; }; then
27110
27111 wx_cv_type_sa_handler=int
27112
27113else
27114 echo "$as_me: failed program was:" >&5
27115sed 's/^/| /' conftest.$ac_ext >&5
27116
27117
27118 wx_cv_type_sa_handler=void
27119
27120fi
27121rm -f conftest.$ac_objext conftest.$ac_ext
27122
27123fi
27124echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27125echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27126
27127 ac_ext=c
27128ac_cpp='$CPP $CPPFLAGS'
27129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27131ac_compiler_gnu=$ac_cv_c_compiler_gnu
27132
27133
27134 cat >>confdefs.h <<_ACEOF
27135#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27136_ACEOF
27137
27138 fi
27139fi
27140
27141
27142
27143for ac_func in mkstemp mktemp
27144do
27145as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27146echo "$as_me:$LINENO: checking for $ac_func" >&5
27147echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27148if eval "test \"\${$as_ac_var+set}\" = set"; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27150else
27151 cat >conftest.$ac_ext <<_ACEOF
27152#line $LINENO "configure"
27153/* confdefs.h. */
27154_ACEOF
27155cat confdefs.h >>conftest.$ac_ext
27156cat >>conftest.$ac_ext <<_ACEOF
27157/* end confdefs.h. */
27158/* System header to define __stub macros and hopefully few prototypes,
27159 which can conflict with char $ac_func (); below.
27160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27161 <limits.h> exists even on freestanding compilers. */
27162#ifdef __STDC__
27163# include <limits.h>
27164#else
27165# include <assert.h>
27166#endif
27167/* Override any gcc2 internal prototype to avoid an error. */
27168#ifdef __cplusplus
27169extern "C"
27170{
27171#endif
27172/* We use char because int might match the return type of a gcc2
27173 builtin and then its argument prototype would still apply. */
27174char $ac_func ();
27175/* The GNU C library defines this for functions which it implements
27176 to always fail with ENOSYS. Some functions are actually named
27177 something starting with __ and the normal name is an alias. */
27178#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27179choke me
27180#else
27181char (*f) () = $ac_func;
27182#endif
27183#ifdef __cplusplus
27184}
27185#endif
27186
27187int
27188main ()
27189{
27190return f != $ac_func;
27191 ;
27192 return 0;
27193}
27194_ACEOF
27195rm -f conftest.$ac_objext conftest$ac_exeext
27196if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27197 (eval $ac_link) 2>&5
27198 ac_status=$?
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try='test -s conftest$ac_exeext'
27202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203 (eval $ac_try) 2>&5
27204 ac_status=$?
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; }; then
27207 eval "$as_ac_var=yes"
27208else
27209 echo "$as_me: failed program was:" >&5
27210sed 's/^/| /' conftest.$ac_ext >&5
27211
27212eval "$as_ac_var=no"
27213fi
27214rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27215fi
27216echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27217echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27218if test `eval echo '${'$as_ac_var'}'` = yes; then
27219 cat >>confdefs.h <<_ACEOF
27220#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27221_ACEOF
27222 break
27223fi
27224done
27225
27226
27227echo "$as_me:$LINENO: checking for statfs" >&5
27228echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27229if test "${wx_cv_func_statfs+set}" = set; then
27230 echo $ECHO_N "(cached) $ECHO_C" >&6
27231else
27232 cat >conftest.$ac_ext <<_ACEOF
27233#line $LINENO "configure"
27234/* confdefs.h. */
27235_ACEOF
27236cat confdefs.h >>conftest.$ac_ext
27237cat >>conftest.$ac_ext <<_ACEOF
27238/* end confdefs.h. */
27239
27240 #if defined(__BSD__)
27241 #include <sys/param.h>
27242 #include <sys/mount.h>
27243 #else
27244 #include <sys/vfs.h>
27245 #endif
27246
27247int
27248main ()
27249{
27250
27251 long l;
27252 struct statfs fs;
27253 statfs("/", &fs);
27254 l = fs.f_bsize;
27255 l += fs.f_blocks;
27256 l += fs.f_bavail;
27257
27258 ;
27259 return 0;
27260}
27261_ACEOF
27262rm -f conftest.$ac_objext
27263if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27264 (eval $ac_compile) 2>&5
27265 ac_status=$?
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); } &&
27268 { ac_try='test -s conftest.$ac_objext'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27271 ac_status=$?
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; }; then
27274
27275 wx_cv_func_statfs=yes
27276
27277else
27278 echo "$as_me: failed program was:" >&5
27279sed 's/^/| /' conftest.$ac_ext >&5
27280
27281
27282 wx_cv_func_statfs=no
27283
27284
27285fi
27286rm -f conftest.$ac_objext conftest.$ac_ext
27287
27288fi
27289echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27290echo "${ECHO_T}$wx_cv_func_statfs" >&6
27291
27292if test "$wx_cv_func_statfs" = "yes"; then
27293 wx_cv_type_statvfs_t="struct statfs"
27294 cat >>confdefs.h <<\_ACEOF
27295#define HAVE_STATFS 1
27296_ACEOF
27297
27298else
27299 echo "$as_me:$LINENO: checking for statvfs" >&5
27300echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27301if test "${wx_cv_func_statvfs+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27303else
27304 cat >conftest.$ac_ext <<_ACEOF
27305#line $LINENO "configure"
27306/* confdefs.h. */
27307_ACEOF
27308cat confdefs.h >>conftest.$ac_ext
27309cat >>conftest.$ac_ext <<_ACEOF
27310/* end confdefs.h. */
27311
27312 #include <stddef.h>
27313 #include <sys/statvfs.h>
27314
27315int
27316main ()
27317{
27318
27319 statvfs("/", NULL);
27320
27321 ;
27322 return 0;
27323}
27324_ACEOF
27325rm -f conftest.$ac_objext
27326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27327 (eval $ac_compile) 2>&5
27328 ac_status=$?
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try='test -s conftest.$ac_objext'
27332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27333 (eval $ac_try) 2>&5
27334 ac_status=$?
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); }; }; then
27337 wx_cv_func_statvfs=yes
27338else
27339 echo "$as_me: failed program was:" >&5
27340sed 's/^/| /' conftest.$ac_ext >&5
27341
27342wx_cv_func_statvfs=no
27343
27344fi
27345rm -f conftest.$ac_objext conftest.$ac_ext
27346
27347fi
27348echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27349echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27350
27351 if test "$wx_cv_func_statvfs" = "yes"; then
27352
27353
27354 ac_ext=cc
27355ac_cpp='$CXXCPP $CPPFLAGS'
27356ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27357ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27358ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27359
27360
27361 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27362echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27363if test "${wx_cv_type_statvfs_t+set}" = set; then
27364 echo $ECHO_N "(cached) $ECHO_C" >&6
27365else
27366 cat >conftest.$ac_ext <<_ACEOF
27367#line $LINENO "configure"
27368/* confdefs.h. */
27369_ACEOF
27370cat confdefs.h >>conftest.$ac_ext
27371cat >>conftest.$ac_ext <<_ACEOF
27372/* end confdefs.h. */
27373
27374 #include <sys/statvfs.h>
27375
27376int
27377main ()
27378{
27379
27380 long l;
27381 statvfs_t fs;
27382 statvfs("/", &fs);
27383 l = fs.f_bsize;
27384 l += fs.f_blocks;
27385 l += fs.f_bavail;
27386
27387 ;
27388 return 0;
27389}
27390_ACEOF
27391rm -f conftest.$ac_objext
27392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27393 (eval $ac_compile) 2>&5
27394 ac_status=$?
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try='test -s conftest.$ac_objext'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27400 ac_status=$?
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; }; then
27403 wx_cv_type_statvfs_t=statvfs_t
27404else
27405 echo "$as_me: failed program was:" >&5
27406sed 's/^/| /' conftest.$ac_ext >&5
27407
27408
27409 cat >conftest.$ac_ext <<_ACEOF
27410#line $LINENO "configure"
27411/* confdefs.h. */
27412_ACEOF
27413cat confdefs.h >>conftest.$ac_ext
27414cat >>conftest.$ac_ext <<_ACEOF
27415/* end confdefs.h. */
27416
27417 #include <sys/statvfs.h>
27418
27419int
27420main ()
27421{
27422
27423 long l;
27424 struct statvfs fs;
27425 statvfs("/", &fs);
27426 l = fs.f_bsize;
27427 l += fs.f_blocks;
27428 l += fs.f_bavail;
27429
27430 ;
27431 return 0;
27432}
27433_ACEOF
27434rm -f conftest.$ac_objext
27435if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27436 (eval $ac_compile) 2>&5
27437 ac_status=$?
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try='test -s conftest.$ac_objext'
27441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442 (eval $ac_try) 2>&5
27443 ac_status=$?
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); }; }; then
27446 wx_cv_type_statvfs_t="struct statvfs"
27447else
27448 echo "$as_me: failed program was:" >&5
27449sed 's/^/| /' conftest.$ac_ext >&5
27450
27451wx_cv_type_statvfs_t="unknown"
27452
27453fi
27454rm -f conftest.$ac_objext conftest.$ac_ext
27455
27456
27457fi
27458rm -f conftest.$ac_objext conftest.$ac_ext
27459
27460fi
27461echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27462echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27463
27464 ac_ext=c
27465ac_cpp='$CPP $CPPFLAGS'
27466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27468ac_compiler_gnu=$ac_cv_c_compiler_gnu
27469
27470
27471 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27472 cat >>confdefs.h <<\_ACEOF
27473#define HAVE_STATVFS 1
27474_ACEOF
27475
27476 fi
27477 else
27478 wx_cv_type_statvfs_t="unknown"
27479 fi
27480fi
27481
27482if test "$wx_cv_type_statvfs_t" != "unknown"; then
27483 cat >>confdefs.h <<_ACEOF
27484#define WX_STATFS_T $wx_cv_type_statvfs_t
27485_ACEOF
27486
27487else
27488 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27489echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27490fi
27491
27492if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27493
27494
27495for ac_func in fcntl flock
27496do
27497as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27498echo "$as_me:$LINENO: checking for $ac_func" >&5
27499echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27500if eval "test \"\${$as_ac_var+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502else
27503 cat >conftest.$ac_ext <<_ACEOF
27504#line $LINENO "configure"
27505/* confdefs.h. */
27506_ACEOF
27507cat confdefs.h >>conftest.$ac_ext
27508cat >>conftest.$ac_ext <<_ACEOF
27509/* end confdefs.h. */
27510/* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27514#ifdef __STDC__
27515# include <limits.h>
27516#else
27517# include <assert.h>
27518#endif
27519/* Override any gcc2 internal prototype to avoid an error. */
27520#ifdef __cplusplus
27521extern "C"
27522{
27523#endif
27524/* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27526char $ac_func ();
27527/* The GNU C library defines this for functions which it implements
27528 to always fail with ENOSYS. Some functions are actually named
27529 something starting with __ and the normal name is an alias. */
27530#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27531choke me
27532#else
27533char (*f) () = $ac_func;
27534#endif
27535#ifdef __cplusplus
27536}
27537#endif
27538
27539int
27540main ()
27541{
27542return f != $ac_func;
27543 ;
27544 return 0;
27545}
27546_ACEOF
27547rm -f conftest.$ac_objext conftest$ac_exeext
27548if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>&5
27550 ac_status=$?
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } &&
27553 { ac_try='test -s conftest$ac_exeext'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27556 ac_status=$?
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; }; then
27559 eval "$as_ac_var=yes"
27560else
27561 echo "$as_me: failed program was:" >&5
27562sed 's/^/| /' conftest.$ac_ext >&5
27563
27564eval "$as_ac_var=no"
27565fi
27566rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27567fi
27568echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27569echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27570if test `eval echo '${'$as_ac_var'}'` = yes; then
27571 cat >>confdefs.h <<_ACEOF
27572#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27573_ACEOF
27574 break
27575fi
27576done
27577
27578
27579 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27580 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27581echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27582 wxUSE_SNGLINST_CHECKER=no
27583 fi
27584fi
27585
27586
27587for ac_func in timegm
27588do
27589as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27590echo "$as_me:$LINENO: checking for $ac_func" >&5
27591echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27592if eval "test \"\${$as_ac_var+set}\" = set"; then
27593 echo $ECHO_N "(cached) $ECHO_C" >&6
27594else
27595 cat >conftest.$ac_ext <<_ACEOF
27596#line $LINENO "configure"
27597/* confdefs.h. */
27598_ACEOF
27599cat confdefs.h >>conftest.$ac_ext
27600cat >>conftest.$ac_ext <<_ACEOF
27601/* end confdefs.h. */
27602/* System header to define __stub macros and hopefully few prototypes,
27603 which can conflict with char $ac_func (); below.
27604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27605 <limits.h> exists even on freestanding compilers. */
27606#ifdef __STDC__
27607# include <limits.h>
27608#else
27609# include <assert.h>
27610#endif
27611/* Override any gcc2 internal prototype to avoid an error. */
27612#ifdef __cplusplus
27613extern "C"
27614{
27615#endif
27616/* We use char because int might match the return type of a gcc2
27617 builtin and then its argument prototype would still apply. */
27618char $ac_func ();
27619/* The GNU C library defines this for functions which it implements
27620 to always fail with ENOSYS. Some functions are actually named
27621 something starting with __ and the normal name is an alias. */
27622#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27623choke me
27624#else
27625char (*f) () = $ac_func;
27626#endif
27627#ifdef __cplusplus
27628}
27629#endif
27630
27631int
27632main ()
27633{
27634return f != $ac_func;
27635 ;
27636 return 0;
27637}
27638_ACEOF
27639rm -f conftest.$ac_objext conftest$ac_exeext
27640if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27641 (eval $ac_link) 2>&5
27642 ac_status=$?
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); } &&
27645 { ac_try='test -s conftest$ac_exeext'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; }; then
27651 eval "$as_ac_var=yes"
27652else
27653 echo "$as_me: failed program was:" >&5
27654sed 's/^/| /' conftest.$ac_ext >&5
27655
27656eval "$as_ac_var=no"
27657fi
27658rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27659fi
27660echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27661echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27662if test `eval echo '${'$as_ac_var'}'` = yes; then
27663 cat >>confdefs.h <<_ACEOF
27664#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27665_ACEOF
27666
27667fi
27668done
27669
27670
27671
27672
27673for ac_func in putenv setenv
27674do
27675as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27676echo "$as_me:$LINENO: checking for $ac_func" >&5
27677echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27678if eval "test \"\${$as_ac_var+set}\" = set"; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27680else
27681 cat >conftest.$ac_ext <<_ACEOF
27682#line $LINENO "configure"
27683/* confdefs.h. */
27684_ACEOF
27685cat confdefs.h >>conftest.$ac_ext
27686cat >>conftest.$ac_ext <<_ACEOF
27687/* end confdefs.h. */
27688/* System header to define __stub macros and hopefully few prototypes,
27689 which can conflict with char $ac_func (); below.
27690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27691 <limits.h> exists even on freestanding compilers. */
27692#ifdef __STDC__
27693# include <limits.h>
27694#else
27695# include <assert.h>
27696#endif
27697/* Override any gcc2 internal prototype to avoid an error. */
27698#ifdef __cplusplus
27699extern "C"
27700{
27701#endif
27702/* We use char because int might match the return type of a gcc2
27703 builtin and then its argument prototype would still apply. */
27704char $ac_func ();
27705/* The GNU C library defines this for functions which it implements
27706 to always fail with ENOSYS. Some functions are actually named
27707 something starting with __ and the normal name is an alias. */
27708#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27709choke me
27710#else
27711char (*f) () = $ac_func;
27712#endif
27713#ifdef __cplusplus
27714}
27715#endif
27716
27717int
27718main ()
27719{
27720return f != $ac_func;
27721 ;
27722 return 0;
27723}
27724_ACEOF
27725rm -f conftest.$ac_objext conftest$ac_exeext
27726if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27727 (eval $ac_link) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } &&
27731 { ac_try='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 eval "$as_ac_var=yes"
27738else
27739 echo "$as_me: failed program was:" >&5
27740sed 's/^/| /' conftest.$ac_ext >&5
27741
27742eval "$as_ac_var=no"
27743fi
27744rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27745fi
27746echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27747echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27748if test `eval echo '${'$as_ac_var'}'` = yes; then
27749 cat >>confdefs.h <<_ACEOF
27750#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27751_ACEOF
27752 break
27753fi
27754done
27755
27756
27757HAVE_SOME_SLEEP_FUNC=0
27758if test "$USE_BEOS" = 1; then
27759 cat >>confdefs.h <<\_ACEOF
27760#define HAVE_SLEEP 1
27761_ACEOF
27762
27763 HAVE_SOME_SLEEP_FUNC=1
27764fi
27765
27766if test "$USE_DARWIN" = 1; then
27767 cat >>confdefs.h <<\_ACEOF
27768#define HAVE_USLEEP 1
27769_ACEOF
27770
27771 HAVE_SOME_SLEEP_FUNC=1
27772fi
27773
27774if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27775 POSIX4_LINK=
27776
27777for ac_func in nanosleep
27778do
27779as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27780echo "$as_me:$LINENO: checking for $ac_func" >&5
27781echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27782if eval "test \"\${$as_ac_var+set}\" = set"; then
27783 echo $ECHO_N "(cached) $ECHO_C" >&6
27784else
27785 cat >conftest.$ac_ext <<_ACEOF
27786#line $LINENO "configure"
27787/* confdefs.h. */
27788_ACEOF
27789cat confdefs.h >>conftest.$ac_ext
27790cat >>conftest.$ac_ext <<_ACEOF
27791/* end confdefs.h. */
27792/* System header to define __stub macros and hopefully few prototypes,
27793 which can conflict with char $ac_func (); below.
27794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27795 <limits.h> exists even on freestanding compilers. */
27796#ifdef __STDC__
27797# include <limits.h>
27798#else
27799# include <assert.h>
27800#endif
27801/* Override any gcc2 internal prototype to avoid an error. */
27802#ifdef __cplusplus
27803extern "C"
27804{
27805#endif
27806/* We use char because int might match the return type of a gcc2
27807 builtin and then its argument prototype would still apply. */
27808char $ac_func ();
27809/* The GNU C library defines this for functions which it implements
27810 to always fail with ENOSYS. Some functions are actually named
27811 something starting with __ and the normal name is an alias. */
27812#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27813choke me
27814#else
27815char (*f) () = $ac_func;
27816#endif
27817#ifdef __cplusplus
27818}
27819#endif
27820
27821int
27822main ()
27823{
27824return f != $ac_func;
27825 ;
27826 return 0;
27827}
27828_ACEOF
27829rm -f conftest.$ac_objext conftest$ac_exeext
27830if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27831 (eval $ac_link) 2>&5
27832 ac_status=$?
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27838 ac_status=$?
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 eval "$as_ac_var=yes"
27842else
27843 echo "$as_me: failed program was:" >&5
27844sed 's/^/| /' conftest.$ac_ext >&5
27845
27846eval "$as_ac_var=no"
27847fi
27848rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27849fi
27850echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27851echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27852if test `eval echo '${'$as_ac_var'}'` = yes; then
27853 cat >>confdefs.h <<_ACEOF
27854#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27855_ACEOF
27856 cat >>confdefs.h <<\_ACEOF
27857#define HAVE_NANOSLEEP 1
27858_ACEOF
27859
27860else
27861
27862 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27863echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27864if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27866else
27867 ac_check_lib_save_LIBS=$LIBS
27868LIBS="-lposix4 $LIBS"
27869cat >conftest.$ac_ext <<_ACEOF
27870#line $LINENO "configure"
27871/* confdefs.h. */
27872_ACEOF
27873cat confdefs.h >>conftest.$ac_ext
27874cat >>conftest.$ac_ext <<_ACEOF
27875/* end confdefs.h. */
27876
27877/* Override any gcc2 internal prototype to avoid an error. */
27878#ifdef __cplusplus
27879extern "C"
27880#endif
27881/* We use char because int might match the return type of a gcc2
27882 builtin and then its argument prototype would still apply. */
27883char nanosleep ();
27884int
27885main ()
27886{
27887nanosleep ();
27888 ;
27889 return 0;
27890}
27891_ACEOF
27892rm -f conftest.$ac_objext conftest$ac_exeext
27893if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27894 (eval $ac_link) 2>&5
27895 ac_status=$?
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); } &&
27898 { ac_try='test -s conftest$ac_exeext'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27901 ac_status=$?
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; }; then
27904 ac_cv_lib_posix4_nanosleep=yes
27905else
27906 echo "$as_me: failed program was:" >&5
27907sed 's/^/| /' conftest.$ac_ext >&5
27908
27909ac_cv_lib_posix4_nanosleep=no
27910fi
27911rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27912LIBS=$ac_check_lib_save_LIBS
27913fi
27914echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27915echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27916if test $ac_cv_lib_posix4_nanosleep = yes; then
27917
27918 cat >>confdefs.h <<\_ACEOF
27919#define HAVE_NANOSLEEP 1
27920_ACEOF
27921
27922 POSIX4_LINK=" -lposix4"
27923
27924else
27925
27926
27927for ac_func in usleep
27928do
27929as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27930echo "$as_me:$LINENO: checking for $ac_func" >&5
27931echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27932if eval "test \"\${$as_ac_var+set}\" = set"; then
27933 echo $ECHO_N "(cached) $ECHO_C" >&6
27934else
27935 cat >conftest.$ac_ext <<_ACEOF
27936#line $LINENO "configure"
27937/* confdefs.h. */
27938_ACEOF
27939cat confdefs.h >>conftest.$ac_ext
27940cat >>conftest.$ac_ext <<_ACEOF
27941/* end confdefs.h. */
27942/* System header to define __stub macros and hopefully few prototypes,
27943 which can conflict with char $ac_func (); below.
27944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27945 <limits.h> exists even on freestanding compilers. */
27946#ifdef __STDC__
27947# include <limits.h>
27948#else
27949# include <assert.h>
27950#endif
27951/* Override any gcc2 internal prototype to avoid an error. */
27952#ifdef __cplusplus
27953extern "C"
27954{
27955#endif
27956/* We use char because int might match the return type of a gcc2
27957 builtin and then its argument prototype would still apply. */
27958char $ac_func ();
27959/* The GNU C library defines this for functions which it implements
27960 to always fail with ENOSYS. Some functions are actually named
27961 something starting with __ and the normal name is an alias. */
27962#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27963choke me
27964#else
27965char (*f) () = $ac_func;
27966#endif
27967#ifdef __cplusplus
27968}
27969#endif
27970
27971int
27972main ()
27973{
27974return f != $ac_func;
27975 ;
27976 return 0;
27977}
27978_ACEOF
27979rm -f conftest.$ac_objext conftest$ac_exeext
27980if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27981 (eval $ac_link) 2>&5
27982 ac_status=$?
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try='test -s conftest$ac_exeext'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27988 ac_status=$?
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; }; then
27991 eval "$as_ac_var=yes"
27992else
27993 echo "$as_me: failed program was:" >&5
27994sed 's/^/| /' conftest.$ac_ext >&5
27995
27996eval "$as_ac_var=no"
27997fi
27998rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27999fi
28000echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28001echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28002if test `eval echo '${'$as_ac_var'}'` = yes; then
28003 cat >>confdefs.h <<_ACEOF
28004#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28005_ACEOF
28006 cat >>confdefs.h <<\_ACEOF
28007#define HAVE_USLEEP 1
28008_ACEOF
28009
28010else
28011 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28012echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28013
28014fi
28015done
28016
28017
28018
28019fi
28020
28021
28022
28023fi
28024done
28025
28026fi
28027
28028
28029
28030for ac_func in uname gethostname
28031do
28032as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28033echo "$as_me:$LINENO: checking for $ac_func" >&5
28034echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28035if eval "test \"\${$as_ac_var+set}\" = set"; then
28036 echo $ECHO_N "(cached) $ECHO_C" >&6
28037else
28038 cat >conftest.$ac_ext <<_ACEOF
28039#line $LINENO "configure"
28040/* confdefs.h. */
28041_ACEOF
28042cat confdefs.h >>conftest.$ac_ext
28043cat >>conftest.$ac_ext <<_ACEOF
28044/* end confdefs.h. */
28045/* System header to define __stub macros and hopefully few prototypes,
28046 which can conflict with char $ac_func (); below.
28047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28048 <limits.h> exists even on freestanding compilers. */
28049#ifdef __STDC__
28050# include <limits.h>
28051#else
28052# include <assert.h>
28053#endif
28054/* Override any gcc2 internal prototype to avoid an error. */
28055#ifdef __cplusplus
28056extern "C"
28057{
28058#endif
28059/* We use char because int might match the return type of a gcc2
28060 builtin and then its argument prototype would still apply. */
28061char $ac_func ();
28062/* The GNU C library defines this for functions which it implements
28063 to always fail with ENOSYS. Some functions are actually named
28064 something starting with __ and the normal name is an alias. */
28065#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28066choke me
28067#else
28068char (*f) () = $ac_func;
28069#endif
28070#ifdef __cplusplus
28071}
28072#endif
28073
28074int
28075main ()
28076{
28077return f != $ac_func;
28078 ;
28079 return 0;
28080}
28081_ACEOF
28082rm -f conftest.$ac_objext conftest$ac_exeext
28083if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28084 (eval $ac_link) 2>&5
28085 ac_status=$?
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); } &&
28088 { ac_try='test -s conftest$ac_exeext'
28089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28090 (eval $ac_try) 2>&5
28091 ac_status=$?
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); }; }; then
28094 eval "$as_ac_var=yes"
28095else
28096 echo "$as_me: failed program was:" >&5
28097sed 's/^/| /' conftest.$ac_ext >&5
28098
28099eval "$as_ac_var=no"
28100fi
28101rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28102fi
28103echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28104echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28105if test `eval echo '${'$as_ac_var'}'` = yes; then
28106 cat >>confdefs.h <<_ACEOF
28107#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28108_ACEOF
28109 break
28110fi
28111done
28112
28113
28114
28115
28116ac_ext=cc
28117ac_cpp='$CXXCPP $CPPFLAGS'
28118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28121
28122
28123
28124for ac_func in strtok_r
28125do
28126as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28127echo "$as_me:$LINENO: checking for $ac_func" >&5
28128echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28129if eval "test \"\${$as_ac_var+set}\" = set"; then
28130 echo $ECHO_N "(cached) $ECHO_C" >&6
28131else
28132 cat >conftest.$ac_ext <<_ACEOF
28133#line $LINENO "configure"
28134/* confdefs.h. */
28135_ACEOF
28136cat confdefs.h >>conftest.$ac_ext
28137cat >>conftest.$ac_ext <<_ACEOF
28138/* end confdefs.h. */
28139/* System header to define __stub macros and hopefully few prototypes,
28140 which can conflict with char $ac_func (); below.
28141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28142 <limits.h> exists even on freestanding compilers. */
28143#ifdef __STDC__
28144# include <limits.h>
28145#else
28146# include <assert.h>
28147#endif
28148/* Override any gcc2 internal prototype to avoid an error. */
28149#ifdef __cplusplus
28150extern "C"
28151{
28152#endif
28153/* We use char because int might match the return type of a gcc2
28154 builtin and then its argument prototype would still apply. */
28155char $ac_func ();
28156/* The GNU C library defines this for functions which it implements
28157 to always fail with ENOSYS. Some functions are actually named
28158 something starting with __ and the normal name is an alias. */
28159#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28160choke me
28161#else
28162char (*f) () = $ac_func;
28163#endif
28164#ifdef __cplusplus
28165}
28166#endif
28167
28168int
28169main ()
28170{
28171return f != $ac_func;
28172 ;
28173 return 0;
28174}
28175_ACEOF
28176rm -f conftest.$ac_objext conftest$ac_exeext
28177if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28178 (eval $ac_link) 2>&5
28179 ac_status=$?
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); } &&
28182 { ac_try='test -s conftest$ac_exeext'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28185 ac_status=$?
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; }; then
28188 eval "$as_ac_var=yes"
28189else
28190 echo "$as_me: failed program was:" >&5
28191sed 's/^/| /' conftest.$ac_ext >&5
28192
28193eval "$as_ac_var=no"
28194fi
28195rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28196fi
28197echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28198echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28199if test `eval echo '${'$as_ac_var'}'` = yes; then
28200 cat >>confdefs.h <<_ACEOF
28201#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28202_ACEOF
28203
28204fi
28205done
28206
28207
28208ac_ext=c
28209ac_cpp='$CPP $CPPFLAGS'
28210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212ac_compiler_gnu=$ac_cv_c_compiler_gnu
28213
28214
28215INET_LINK=
28216
28217for ac_func in inet_addr
28218do
28219as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28220echo "$as_me:$LINENO: checking for $ac_func" >&5
28221echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28222if eval "test \"\${$as_ac_var+set}\" = set"; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28224else
28225 cat >conftest.$ac_ext <<_ACEOF
28226#line $LINENO "configure"
28227/* confdefs.h. */
28228_ACEOF
28229cat confdefs.h >>conftest.$ac_ext
28230cat >>conftest.$ac_ext <<_ACEOF
28231/* end confdefs.h. */
28232/* System header to define __stub macros and hopefully few prototypes,
28233 which can conflict with char $ac_func (); below.
28234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28235 <limits.h> exists even on freestanding compilers. */
28236#ifdef __STDC__
28237# include <limits.h>
28238#else
28239# include <assert.h>
28240#endif
28241/* Override any gcc2 internal prototype to avoid an error. */
28242#ifdef __cplusplus
28243extern "C"
28244{
28245#endif
28246/* We use char because int might match the return type of a gcc2
28247 builtin and then its argument prototype would still apply. */
28248char $ac_func ();
28249/* The GNU C library defines this for functions which it implements
28250 to always fail with ENOSYS. Some functions are actually named
28251 something starting with __ and the normal name is an alias. */
28252#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28253choke me
28254#else
28255char (*f) () = $ac_func;
28256#endif
28257#ifdef __cplusplus
28258}
28259#endif
28260
28261int
28262main ()
28263{
28264return f != $ac_func;
28265 ;
28266 return 0;
28267}
28268_ACEOF
28269rm -f conftest.$ac_objext conftest$ac_exeext
28270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28271 (eval $ac_link) 2>&5
28272 ac_status=$?
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } &&
28275 { ac_try='test -s conftest$ac_exeext'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28278 ac_status=$?
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; }; then
28281 eval "$as_ac_var=yes"
28282else
28283 echo "$as_me: failed program was:" >&5
28284sed 's/^/| /' conftest.$ac_ext >&5
28285
28286eval "$as_ac_var=no"
28287fi
28288rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28289fi
28290echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28291echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28292if test `eval echo '${'$as_ac_var'}'` = yes; then
28293 cat >>confdefs.h <<_ACEOF
28294#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28295_ACEOF
28296 cat >>confdefs.h <<\_ACEOF
28297#define HAVE_INET_ADDR 1
28298_ACEOF
28299
28300else
28301
28302 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28303echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28304if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28306else
28307 ac_check_lib_save_LIBS=$LIBS
28308LIBS="-lnsl $LIBS"
28309cat >conftest.$ac_ext <<_ACEOF
28310#line $LINENO "configure"
28311/* confdefs.h. */
28312_ACEOF
28313cat confdefs.h >>conftest.$ac_ext
28314cat >>conftest.$ac_ext <<_ACEOF
28315/* end confdefs.h. */
28316
28317/* Override any gcc2 internal prototype to avoid an error. */
28318#ifdef __cplusplus
28319extern "C"
28320#endif
28321/* We use char because int might match the return type of a gcc2
28322 builtin and then its argument prototype would still apply. */
28323char inet_addr ();
28324int
28325main ()
28326{
28327inet_addr ();
28328 ;
28329 return 0;
28330}
28331_ACEOF
28332rm -f conftest.$ac_objext conftest$ac_exeext
28333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334 (eval $ac_link) 2>&5
28335 ac_status=$?
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); } &&
28338 { ac_try='test -s conftest$ac_exeext'
28339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28340 (eval $ac_try) 2>&5
28341 ac_status=$?
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); }; }; then
28344 ac_cv_lib_nsl_inet_addr=yes
28345else
28346 echo "$as_me: failed program was:" >&5
28347sed 's/^/| /' conftest.$ac_ext >&5
28348
28349ac_cv_lib_nsl_inet_addr=no
28350fi
28351rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28352LIBS=$ac_check_lib_save_LIBS
28353fi
28354echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28355echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28356if test $ac_cv_lib_nsl_inet_addr = yes; then
28357 INET_LINK="nsl"
28358else
28359
28360 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28361echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28362if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28364else
28365 ac_check_lib_save_LIBS=$LIBS
28366LIBS="-lresolv $LIBS"
28367cat >conftest.$ac_ext <<_ACEOF
28368#line $LINENO "configure"
28369/* confdefs.h. */
28370_ACEOF
28371cat confdefs.h >>conftest.$ac_ext
28372cat >>conftest.$ac_ext <<_ACEOF
28373/* end confdefs.h. */
28374
28375/* Override any gcc2 internal prototype to avoid an error. */
28376#ifdef __cplusplus
28377extern "C"
28378#endif
28379/* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28381char inet_addr ();
28382int
28383main ()
28384{
28385inet_addr ();
28386 ;
28387 return 0;
28388}
28389_ACEOF
28390rm -f conftest.$ac_objext conftest$ac_exeext
28391if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28392 (eval $ac_link) 2>&5
28393 ac_status=$?
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } &&
28396 { ac_try='test -s conftest$ac_exeext'
28397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398 (eval $ac_try) 2>&5
28399 ac_status=$?
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); }; }; then
28402 ac_cv_lib_resolv_inet_addr=yes
28403else
28404 echo "$as_me: failed program was:" >&5
28405sed 's/^/| /' conftest.$ac_ext >&5
28406
28407ac_cv_lib_resolv_inet_addr=no
28408fi
28409rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28410LIBS=$ac_check_lib_save_LIBS
28411fi
28412echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28413echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28414if test $ac_cv_lib_resolv_inet_addr = yes; then
28415 INET_LINK="resolv"
28416else
28417
28418 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28419echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28420if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28422else
28423 ac_check_lib_save_LIBS=$LIBS
28424LIBS="-lsocket $LIBS"
28425cat >conftest.$ac_ext <<_ACEOF
28426#line $LINENO "configure"
28427/* confdefs.h. */
28428_ACEOF
28429cat confdefs.h >>conftest.$ac_ext
28430cat >>conftest.$ac_ext <<_ACEOF
28431/* end confdefs.h. */
28432
28433/* Override any gcc2 internal prototype to avoid an error. */
28434#ifdef __cplusplus
28435extern "C"
28436#endif
28437/* We use char because int might match the return type of a gcc2
28438 builtin and then its argument prototype would still apply. */
28439char inet_addr ();
28440int
28441main ()
28442{
28443inet_addr ();
28444 ;
28445 return 0;
28446}
28447_ACEOF
28448rm -f conftest.$ac_objext conftest$ac_exeext
28449if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28450 (eval $ac_link) 2>&5
28451 ac_status=$?
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); } &&
28454 { ac_try='test -s conftest$ac_exeext'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28457 ac_status=$?
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; }; then
28460 ac_cv_lib_socket_inet_addr=yes
28461else
28462 echo "$as_me: failed program was:" >&5
28463sed 's/^/| /' conftest.$ac_ext >&5
28464
28465ac_cv_lib_socket_inet_addr=no
28466fi
28467rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28468LIBS=$ac_check_lib_save_LIBS
28469fi
28470echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28471echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28472if test $ac_cv_lib_socket_inet_addr = yes; then
28473 INET_LINK="socket"
28474
28475fi
28476
28477
28478
28479fi
28480
28481
28482
28483fi
28484
28485
28486
28487fi
28488done
28489
28490
28491
28492for ac_func in inet_aton
28493do
28494as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28495echo "$as_me:$LINENO: checking for $ac_func" >&5
28496echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28497if eval "test \"\${$as_ac_var+set}\" = set"; then
28498 echo $ECHO_N "(cached) $ECHO_C" >&6
28499else
28500 cat >conftest.$ac_ext <<_ACEOF
28501#line $LINENO "configure"
28502/* confdefs.h. */
28503_ACEOF
28504cat confdefs.h >>conftest.$ac_ext
28505cat >>conftest.$ac_ext <<_ACEOF
28506/* end confdefs.h. */
28507/* System header to define __stub macros and hopefully few prototypes,
28508 which can conflict with char $ac_func (); below.
28509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28510 <limits.h> exists even on freestanding compilers. */
28511#ifdef __STDC__
28512# include <limits.h>
28513#else
28514# include <assert.h>
28515#endif
28516/* Override any gcc2 internal prototype to avoid an error. */
28517#ifdef __cplusplus
28518extern "C"
28519{
28520#endif
28521/* We use char because int might match the return type of a gcc2
28522 builtin and then its argument prototype would still apply. */
28523char $ac_func ();
28524/* The GNU C library defines this for functions which it implements
28525 to always fail with ENOSYS. Some functions are actually named
28526 something starting with __ and the normal name is an alias. */
28527#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28528choke me
28529#else
28530char (*f) () = $ac_func;
28531#endif
28532#ifdef __cplusplus
28533}
28534#endif
28535
28536int
28537main ()
28538{
28539return f != $ac_func;
28540 ;
28541 return 0;
28542}
28543_ACEOF
28544rm -f conftest.$ac_objext conftest$ac_exeext
28545if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28546 (eval $ac_link) 2>&5
28547 ac_status=$?
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); } &&
28550 { ac_try='test -s conftest$ac_exeext'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28553 ac_status=$?
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; }; then
28556 eval "$as_ac_var=yes"
28557else
28558 echo "$as_me: failed program was:" >&5
28559sed 's/^/| /' conftest.$ac_ext >&5
28560
28561eval "$as_ac_var=no"
28562fi
28563rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28564fi
28565echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28566echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28567if test `eval echo '${'$as_ac_var'}'` = yes; then
28568 cat >>confdefs.h <<_ACEOF
28569#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28570_ACEOF
28571 cat >>confdefs.h <<\_ACEOF
28572#define HAVE_INET_ATON 1
28573_ACEOF
28574
28575else
28576
28577 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28578echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28579echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28580if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28582else
28583 ac_check_lib_save_LIBS=$LIBS
28584LIBS="-l$INET_LINK $LIBS"
28585cat >conftest.$ac_ext <<_ACEOF
28586#line $LINENO "configure"
28587/* confdefs.h. */
28588_ACEOF
28589cat confdefs.h >>conftest.$ac_ext
28590cat >>conftest.$ac_ext <<_ACEOF
28591/* end confdefs.h. */
28592
28593/* Override any gcc2 internal prototype to avoid an error. */
28594#ifdef __cplusplus
28595extern "C"
28596#endif
28597/* We use char because int might match the return type of a gcc2
28598 builtin and then its argument prototype would still apply. */
28599char inet_aton ();
28600int
28601main ()
28602{
28603inet_aton ();
28604 ;
28605 return 0;
28606}
28607_ACEOF
28608rm -f conftest.$ac_objext conftest$ac_exeext
28609if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28610 (eval $ac_link) 2>&5
28611 ac_status=$?
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } &&
28614 { ac_try='test -s conftest$ac_exeext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28620 eval "$as_ac_Lib=yes"
28621else
28622 echo "$as_me: failed program was:" >&5
28623sed 's/^/| /' conftest.$ac_ext >&5
28624
28625eval "$as_ac_Lib=no"
28626fi
28627rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28628LIBS=$ac_check_lib_save_LIBS
28629fi
28630echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28631echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28632if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28633 cat >>confdefs.h <<\_ACEOF
28634#define HAVE_INET_ATON 1
28635_ACEOF
28636
28637fi
28638
28639
28640fi
28641done
28642
28643
28644if test "x$INET_LINK" != "x"; then
28645 cat >>confdefs.h <<\_ACEOF
28646#define HAVE_INET_ADDR 1
28647_ACEOF
28648
28649 INET_LINK=" -l$INET_LINK"
28650fi
28651
28652fi
28653
28654
28655
28656EXTRALIBS_ESD=
28657echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28658echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28659if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28660 echo $ECHO_N "(cached) $ECHO_C" >&6
28661else
28662 ac_check_lib_save_LIBS=$LIBS
28663LIBS="-lesd $LIBS"
28664cat >conftest.$ac_ext <<_ACEOF
28665#line $LINENO "configure"
28666/* confdefs.h. */
28667_ACEOF
28668cat confdefs.h >>conftest.$ac_ext
28669cat >>conftest.$ac_ext <<_ACEOF
28670/* end confdefs.h. */
28671
28672/* Override any gcc2 internal prototype to avoid an error. */
28673#ifdef __cplusplus
28674extern "C"
28675#endif
28676/* We use char because int might match the return type of a gcc2
28677 builtin and then its argument prototype would still apply. */
28678char esd_close ();
28679int
28680main ()
28681{
28682esd_close ();
28683 ;
28684 return 0;
28685}
28686_ACEOF
28687rm -f conftest.$ac_objext conftest$ac_exeext
28688if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28689 (eval $ac_link) 2>&5
28690 ac_status=$?
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try='test -s conftest$ac_exeext'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28696 ac_status=$?
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; }; then
28699 ac_cv_lib_esd_esd_close=yes
28700else
28701 echo "$as_me: failed program was:" >&5
28702sed 's/^/| /' conftest.$ac_ext >&5
28703
28704ac_cv_lib_esd_esd_close=no
28705fi
28706rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28707LIBS=$ac_check_lib_save_LIBS
28708fi
28709echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28710echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28711if test $ac_cv_lib_esd_esd_close = yes; then
28712
28713
28714for ac_header in esd.h
28715do
28716as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28717if eval "test \"\${$as_ac_Header+set}\" = set"; then
28718 echo "$as_me:$LINENO: checking for $ac_header" >&5
28719echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28720if eval "test \"\${$as_ac_Header+set}\" = set"; then
28721 echo $ECHO_N "(cached) $ECHO_C" >&6
28722fi
28723echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28724echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28725else
28726 # Is the header compilable?
28727echo "$as_me:$LINENO: checking $ac_header usability" >&5
28728echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28729cat >conftest.$ac_ext <<_ACEOF
28730#line $LINENO "configure"
28731/* confdefs.h. */
28732_ACEOF
28733cat confdefs.h >>conftest.$ac_ext
28734cat >>conftest.$ac_ext <<_ACEOF
28735/* end confdefs.h. */
28736$ac_includes_default
28737#include <$ac_header>
28738_ACEOF
28739rm -f conftest.$ac_objext
28740if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 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'
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 ac_header_compiler=yes
28752else
28753 echo "$as_me: failed program was:" >&5
28754sed 's/^/| /' conftest.$ac_ext >&5
28755
28756ac_header_compiler=no
28757fi
28758rm -f conftest.$ac_objext conftest.$ac_ext
28759echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28760echo "${ECHO_T}$ac_header_compiler" >&6
28761
28762# Is the header present?
28763echo "$as_me:$LINENO: checking $ac_header presence" >&5
28764echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28765cat >conftest.$ac_ext <<_ACEOF
28766#line $LINENO "configure"
28767/* confdefs.h. */
28768_ACEOF
28769cat confdefs.h >>conftest.$ac_ext
28770cat >>conftest.$ac_ext <<_ACEOF
28771/* end confdefs.h. */
28772#include <$ac_header>
28773_ACEOF
28774if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28776 ac_status=$?
28777 grep -v '^ *+' conftest.er1 >conftest.err
28778 rm -f conftest.er1
28779 cat conftest.err >&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } >/dev/null; then
28782 if test -s conftest.err; then
28783 ac_cpp_err=$ac_c_preproc_warn_flag
28784 else
28785 ac_cpp_err=
28786 fi
28787else
28788 ac_cpp_err=yes
28789fi
28790if test -z "$ac_cpp_err"; then
28791 ac_header_preproc=yes
28792else
28793 echo "$as_me: failed program was:" >&5
28794sed 's/^/| /' conftest.$ac_ext >&5
28795
28796 ac_header_preproc=no
28797fi
28798rm -f conftest.err conftest.$ac_ext
28799echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28800echo "${ECHO_T}$ac_header_preproc" >&6
28801
28802# So? What about this header?
28803case $ac_header_compiler:$ac_header_preproc in
28804 yes:no )
28805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28806echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28808echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28809 (
28810 cat <<\_ASBOX
28811## ------------------------------------ ##
28812## Report this to bug-autoconf@gnu.org. ##
28813## ------------------------------------ ##
28814_ASBOX
28815 ) |
28816 sed "s/^/$as_me: WARNING: /" >&2
28817 ;;
28818 no:yes )
28819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28820echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28822echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28824echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28825 (
28826 cat <<\_ASBOX
28827## ------------------------------------ ##
28828## Report this to bug-autoconf@gnu.org. ##
28829## ------------------------------------ ##
28830_ASBOX
28831 ) |
28832 sed "s/^/$as_me: WARNING: /" >&2
28833 ;;
28834esac
28835echo "$as_me:$LINENO: checking for $ac_header" >&5
28836echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28837if eval "test \"\${$as_ac_Header+set}\" = set"; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28839else
28840 eval "$as_ac_Header=$ac_header_preproc"
28841fi
28842echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28843echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28844
28845fi
28846if test `eval echo '${'$as_ac_Header'}'` = yes; then
28847 cat >>confdefs.h <<_ACEOF
28848#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28849_ACEOF
28850
28851 EXTRALIBS_ESD="-lesd"
28852
28853fi
28854
28855done
28856
28857
28858fi
28859
28860
28861
28862echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
28863echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
28864cat >conftest.$ac_ext <<_ACEOF
28865#line $LINENO "configure"
28866/* confdefs.h. */
28867_ACEOF
28868cat confdefs.h >>conftest.$ac_ext
28869cat >>conftest.$ac_ext <<_ACEOF
28870/* end confdefs.h. */
28871#ifdef __linux__
28872 #include <linux/cdrom.h>
28873 #else
28874 /* For Solaris */
28875 #include <sys/cdio.h>
28876 #endif
28877
28878int
28879main ()
28880{
28881struct cdrom_tocentry entry, old_entry;
28882 ;
28883 return 0;
28884}
28885_ACEOF
28886rm -f conftest.$ac_objext
28887if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28888 (eval $ac_compile) 2>&5
28889 ac_status=$?
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); } &&
28892 { ac_try='test -s conftest.$ac_objext'
28893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28894 (eval $ac_try) 2>&5
28895 ac_status=$?
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898 echo "$as_me:$LINENO: result: yes" >&5
28899echo "${ECHO_T}yes" >&6
28900 cat >>confdefs.h <<\_ACEOF
28901#define HAVE_KNOWN_CDROM_INTERFACE 1
28902_ACEOF
28903
28904else
28905 echo "$as_me: failed program was:" >&5
28906sed 's/^/| /' conftest.$ac_ext >&5
28907
28908echo "$as_me:$LINENO: result: no" >&5
28909echo "${ECHO_T}no" >&6
28910fi
28911rm -f conftest.$ac_objext conftest.$ac_ext
28912
28913
28914cat >confcache <<\_ACEOF
28915# This file is a shell script that caches the results of configure
28916# tests run on this system so they can be shared between configure
28917# scripts and configure runs, see configure's option --config-cache.
28918# It is not useful on other systems. If it contains results you don't
28919# want to keep, you may remove or edit it.
28920#
28921# config.status only pays attention to the cache file if you give it
28922# the --recheck option to rerun configure.
28923#
28924# `ac_cv_env_foo' variables (set or unset) will be overridden when
28925# loading this file, other *unset* `ac_cv_foo' will be assigned the
28926# following values.
28927
28928_ACEOF
28929
28930# The following way of writing the cache mishandles newlines in values,
28931# but we know of no workaround that is simple, portable, and efficient.
28932# So, don't put newlines in cache variables' values.
28933# Ultrix sh set writes to stderr and can't be redirected directly,
28934# and sets the high bit in the cache file unless we assign to the vars.
28935{
28936 (set) 2>&1 |
28937 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28938 *ac_space=\ *)
28939 # `set' does not quote correctly, so add quotes (double-quote
28940 # substitution turns \\\\ into \\, and sed turns \\ into \).
28941 sed -n \
28942 "s/'/'\\\\''/g;
28943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28944 ;;
28945 *)
28946 # `set' quotes correctly as required by POSIX, so do not add quotes.
28947 sed -n \
28948 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28949 ;;
28950 esac;
28951} |
28952 sed '
28953 t clear
28954 : clear
28955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28956 t end
28957 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28958 : end' >>confcache
28959if diff $cache_file confcache >/dev/null 2>&1; then :; else
28960 if test -w $cache_file; then
28961 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28962 cat confcache >$cache_file
28963 else
28964 echo "not updating unwritable cache $cache_file"
28965 fi
28966fi
28967rm -f confcache
28968
28969
28970CPP_MT_FLAG=
28971if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
28972
28973
28974 THREADS_LINK=
28975 THREADS_CFLAGS=
28976
28977 if test "$wxUSE_THREADS" = "yes" ; then
28978 if test "$USE_BEOS" = 1; then
28979 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28980echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28981 wxUSE_THREADS="no"
28982 fi
28983 fi
28984
28985 if test "$wxUSE_THREADS" = "yes" ; then
28986
28987
28988 THREAD_OPTS="-pthread"
28989 case "${host}" in
28990 *-*-solaris2* | *-*-sunos4* )
28991 if test "x$GCC" = "xyes"; then
28992 THREAD_OPTS="-pthreads $THREAD_OPTS"
28993 else
28994 THREAD_OPTS="-mt $THREAD_OPTS"
28995 fi
28996 ;;
28997 *-*-freebsd*)
28998 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28999 ;;
29000 *-*-darwin* | *-*-cygwin* )
29001 THREAD_OPTS=""
29002 ;;
29003 *-*-aix*)
29004 THREAD_OPTS="pthreads"
29005 ;;
29006 *-hp-hpux* )
29007 if test "x$GCC" != "xyes"; then
29008 THREAD_OPTS=""
29009 fi
29010 ;;
29011
29012 *-*-irix* )
29013 if test "x$GCC" = "xyes"; then
29014 THREAD_OPTS=""
29015 fi
29016 ;;
29017
29018 *-*-*UnixWare*)
29019 if test "x$GCC" != "xyes"; then
29020 THREAD_OPTS="-Ethread"
29021 fi
29022 ;;
29023 esac
29024
29025 THREAD_OPTS="$THREAD_OPTS pthread none"
29026
29027 THREADS_OK=no
29028 for flag in $THREAD_OPTS; do
29029 case $flag in
29030 none)
29031 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29032echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29033 ;;
29034
29035 -*)
29036 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29037echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29038 THREADS_CFLAGS="$flag"
29039 ;;
29040
29041 *)
29042 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29043echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29044 THREADS_LINK="-l$flag"
29045 ;;
29046 esac
29047
29048 save_LIBS="$LIBS"
29049 save_CFLAGS="$CFLAGS"
29050 LIBS="$THREADS_LINK $LIBS"
29051 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29052
29053 cat >conftest.$ac_ext <<_ACEOF
29054#line $LINENO "configure"
29055/* confdefs.h. */
29056_ACEOF
29057cat confdefs.h >>conftest.$ac_ext
29058cat >>conftest.$ac_ext <<_ACEOF
29059/* end confdefs.h. */
29060#include <pthread.h>
29061int
29062main ()
29063{
29064pthread_create(0,0,0,0);
29065 ;
29066 return 0;
29067}
29068_ACEOF
29069rm -f conftest.$ac_objext conftest$ac_exeext
29070if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29071 (eval $ac_link) 2>&5
29072 ac_status=$?
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); } &&
29075 { ac_try='test -s conftest$ac_exeext'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29078 ac_status=$?
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; }; then
29081 THREADS_OK=yes
29082else
29083 echo "$as_me: failed program was:" >&5
29084sed 's/^/| /' conftest.$ac_ext >&5
29085
29086fi
29087rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29088
29089 LIBS="$save_LIBS"
29090 CFLAGS="$save_CFLAGS"
29091
29092 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29093echo "${ECHO_T}$THREADS_OK" >&6
29094 if test "x$THREADS_OK" = "xyes"; then
29095 break;
29096 fi
29097
29098 THREADS_LINK=""
29099 THREADS_CFLAGS=""
29100 done
29101
29102 if test "x$THREADS_OK" != "xyes"; then
29103 wxUSE_THREADS=no
29104 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29105echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29106 else
29107 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29108 LIBS="$THREADS_LINK $LIBS"
29109
29110 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29111echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29112 flag=no
29113 case "${host}" in
29114 *-aix*)
29115 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29116 flag="-D_THREAD_SAFE"
29117 ;;
29118 *-freebsd*)
29119 flag="-D_THREAD_SAFE"
29120 ;;
29121 *-hp-hpux* )
29122 flag="-D_REENTRANT"
29123 if test "x$GCC" != "xyes"; then
29124 flag="$flag -D_RWSTD_MULTI_THREAD"
29125 fi
29126 ;;
29127 *solaris* | alpha*-osf*)
29128 flag="-D_REENTRANT"
29129 ;;
29130 esac
29131 echo "$as_me:$LINENO: result: ${flag}" >&5
29132echo "${ECHO_T}${flag}" >&6
29133 if test "x$flag" != xno; then
29134 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29135 fi
29136
29137 if test "x$THREADS_CFLAGS" != "x"; then
29138 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29139 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29140 fi
29141 fi
29142 fi
29143
29144 if test "$wxUSE_THREADS" = "yes" ; then
29145
29146for ac_func in thr_setconcurrency
29147do
29148as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29149echo "$as_me:$LINENO: checking for $ac_func" >&5
29150echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29151if eval "test \"\${$as_ac_var+set}\" = set"; then
29152 echo $ECHO_N "(cached) $ECHO_C" >&6
29153else
29154 cat >conftest.$ac_ext <<_ACEOF
29155#line $LINENO "configure"
29156/* confdefs.h. */
29157_ACEOF
29158cat confdefs.h >>conftest.$ac_ext
29159cat >>conftest.$ac_ext <<_ACEOF
29160/* end confdefs.h. */
29161/* System header to define __stub macros and hopefully few prototypes,
29162 which can conflict with char $ac_func (); below.
29163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29164 <limits.h> exists even on freestanding compilers. */
29165#ifdef __STDC__
29166# include <limits.h>
29167#else
29168# include <assert.h>
29169#endif
29170/* Override any gcc2 internal prototype to avoid an error. */
29171#ifdef __cplusplus
29172extern "C"
29173{
29174#endif
29175/* We use char because int might match the return type of a gcc2
29176 builtin and then its argument prototype would still apply. */
29177char $ac_func ();
29178/* The GNU C library defines this for functions which it implements
29179 to always fail with ENOSYS. Some functions are actually named
29180 something starting with __ and the normal name is an alias. */
29181#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29182choke me
29183#else
29184char (*f) () = $ac_func;
29185#endif
29186#ifdef __cplusplus
29187}
29188#endif
29189
29190int
29191main ()
29192{
29193return f != $ac_func;
29194 ;
29195 return 0;
29196}
29197_ACEOF
29198rm -f conftest.$ac_objext conftest$ac_exeext
29199if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29200 (eval $ac_link) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } &&
29204 { ac_try='test -s conftest$ac_exeext'
29205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29206 (eval $ac_try) 2>&5
29207 ac_status=$?
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; }; then
29210 eval "$as_ac_var=yes"
29211else
29212 echo "$as_me: failed program was:" >&5
29213sed 's/^/| /' conftest.$ac_ext >&5
29214
29215eval "$as_ac_var=no"
29216fi
29217rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29218fi
29219echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29220echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29221if test `eval echo '${'$as_ac_var'}'` = yes; then
29222 cat >>confdefs.h <<_ACEOF
29223#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29224_ACEOF
29225
29226fi
29227done
29228
29229
29230
29231for ac_header in sched.h
29232do
29233as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29234if eval "test \"\${$as_ac_Header+set}\" = set"; then
29235 echo "$as_me:$LINENO: checking for $ac_header" >&5
29236echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29237if eval "test \"\${$as_ac_Header+set}\" = set"; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29239fi
29240echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29241echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29242else
29243 # Is the header compilable?
29244echo "$as_me:$LINENO: checking $ac_header usability" >&5
29245echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29246cat >conftest.$ac_ext <<_ACEOF
29247#line $LINENO "configure"
29248/* confdefs.h. */
29249_ACEOF
29250cat confdefs.h >>conftest.$ac_ext
29251cat >>conftest.$ac_ext <<_ACEOF
29252/* end confdefs.h. */
29253$ac_includes_default
29254#include <$ac_header>
29255_ACEOF
29256rm -f conftest.$ac_objext
29257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29258 (eval $ac_compile) 2>&5
29259 ac_status=$?
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); } &&
29262 { ac_try='test -s conftest.$ac_objext'
29263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264 (eval $ac_try) 2>&5
29265 ac_status=$?
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); }; }; then
29268 ac_header_compiler=yes
29269else
29270 echo "$as_me: failed program was:" >&5
29271sed 's/^/| /' conftest.$ac_ext >&5
29272
29273ac_header_compiler=no
29274fi
29275rm -f conftest.$ac_objext conftest.$ac_ext
29276echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29277echo "${ECHO_T}$ac_header_compiler" >&6
29278
29279# Is the header present?
29280echo "$as_me:$LINENO: checking $ac_header presence" >&5
29281echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29282cat >conftest.$ac_ext <<_ACEOF
29283#line $LINENO "configure"
29284/* confdefs.h. */
29285_ACEOF
29286cat confdefs.h >>conftest.$ac_ext
29287cat >>conftest.$ac_ext <<_ACEOF
29288/* end confdefs.h. */
29289#include <$ac_header>
29290_ACEOF
29291if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29293 ac_status=$?
29294 grep -v '^ *+' conftest.er1 >conftest.err
29295 rm -f conftest.er1
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } >/dev/null; then
29299 if test -s conftest.err; then
29300 ac_cpp_err=$ac_c_preproc_warn_flag
29301 else
29302 ac_cpp_err=
29303 fi
29304else
29305 ac_cpp_err=yes
29306fi
29307if test -z "$ac_cpp_err"; then
29308 ac_header_preproc=yes
29309else
29310 echo "$as_me: failed program was:" >&5
29311sed 's/^/| /' conftest.$ac_ext >&5
29312
29313 ac_header_preproc=no
29314fi
29315rm -f conftest.err conftest.$ac_ext
29316echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29317echo "${ECHO_T}$ac_header_preproc" >&6
29318
29319# So? What about this header?
29320case $ac_header_compiler:$ac_header_preproc in
29321 yes:no )
29322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29323echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29325echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29326 (
29327 cat <<\_ASBOX
29328## ------------------------------------ ##
29329## Report this to bug-autoconf@gnu.org. ##
29330## ------------------------------------ ##
29331_ASBOX
29332 ) |
29333 sed "s/^/$as_me: WARNING: /" >&2
29334 ;;
29335 no:yes )
29336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29337echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29339echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29341echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29342 (
29343 cat <<\_ASBOX
29344## ------------------------------------ ##
29345## Report this to bug-autoconf@gnu.org. ##
29346## ------------------------------------ ##
29347_ASBOX
29348 ) |
29349 sed "s/^/$as_me: WARNING: /" >&2
29350 ;;
29351esac
29352echo "$as_me:$LINENO: checking for $ac_header" >&5
29353echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29354if eval "test \"\${$as_ac_Header+set}\" = set"; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356else
29357 eval "$as_ac_Header=$ac_header_preproc"
29358fi
29359echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29360echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29361
29362fi
29363if test `eval echo '${'$as_ac_Header'}'` = yes; then
29364 cat >>confdefs.h <<_ACEOF
29365#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29366_ACEOF
29367
29368fi
29369
29370done
29371
29372 if test "$ac_cv_header_sched_h" = "yes"; then
29373 echo "$as_me:$LINENO: checking for sched_yield" >&5
29374echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29375if test "${ac_cv_func_sched_yield+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377else
29378 cat >conftest.$ac_ext <<_ACEOF
29379#line $LINENO "configure"
29380/* confdefs.h. */
29381_ACEOF
29382cat confdefs.h >>conftest.$ac_ext
29383cat >>conftest.$ac_ext <<_ACEOF
29384/* end confdefs.h. */
29385/* System header to define __stub macros and hopefully few prototypes,
29386 which can conflict with char sched_yield (); below.
29387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29388 <limits.h> exists even on freestanding compilers. */
29389#ifdef __STDC__
29390# include <limits.h>
29391#else
29392# include <assert.h>
29393#endif
29394/* Override any gcc2 internal prototype to avoid an error. */
29395#ifdef __cplusplus
29396extern "C"
29397{
29398#endif
29399/* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29401char sched_yield ();
29402/* The GNU C library defines this for functions which it implements
29403 to always fail with ENOSYS. Some functions are actually named
29404 something starting with __ and the normal name is an alias. */
29405#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29406choke me
29407#else
29408char (*f) () = sched_yield;
29409#endif
29410#ifdef __cplusplus
29411}
29412#endif
29413
29414int
29415main ()
29416{
29417return f != sched_yield;
29418 ;
29419 return 0;
29420}
29421_ACEOF
29422rm -f conftest.$ac_objext conftest$ac_exeext
29423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29424 (eval $ac_link) 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try='test -s conftest$ac_exeext'
29429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29430 (eval $ac_try) 2>&5
29431 ac_status=$?
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); }; }; then
29434 ac_cv_func_sched_yield=yes
29435else
29436 echo "$as_me: failed program was:" >&5
29437sed 's/^/| /' conftest.$ac_ext >&5
29438
29439ac_cv_func_sched_yield=no
29440fi
29441rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29442fi
29443echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29444echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29445if test $ac_cv_func_sched_yield = yes; then
29446 cat >>confdefs.h <<\_ACEOF
29447#define HAVE_SCHED_YIELD 1
29448_ACEOF
29449
29450else
29451
29452 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29453echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29454if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29455 echo $ECHO_N "(cached) $ECHO_C" >&6
29456else
29457 ac_check_lib_save_LIBS=$LIBS
29458LIBS="-lposix4 $LIBS"
29459cat >conftest.$ac_ext <<_ACEOF
29460#line $LINENO "configure"
29461/* confdefs.h. */
29462_ACEOF
29463cat confdefs.h >>conftest.$ac_ext
29464cat >>conftest.$ac_ext <<_ACEOF
29465/* end confdefs.h. */
29466
29467/* Override any gcc2 internal prototype to avoid an error. */
29468#ifdef __cplusplus
29469extern "C"
29470#endif
29471/* We use char because int might match the return type of a gcc2
29472 builtin and then its argument prototype would still apply. */
29473char sched_yield ();
29474int
29475main ()
29476{
29477sched_yield ();
29478 ;
29479 return 0;
29480}
29481_ACEOF
29482rm -f conftest.$ac_objext conftest$ac_exeext
29483if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_cv_lib_posix4_sched_yield=yes
29495else
29496 echo "$as_me: failed program was:" >&5
29497sed 's/^/| /' conftest.$ac_ext >&5
29498
29499ac_cv_lib_posix4_sched_yield=no
29500fi
29501rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29502LIBS=$ac_check_lib_save_LIBS
29503fi
29504echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29505echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29506if test $ac_cv_lib_posix4_sched_yield = yes; then
29507 cat >>confdefs.h <<\_ACEOF
29508#define HAVE_SCHED_YIELD 1
29509_ACEOF
29510 POSIX4_LINK=" -lposix4"
29511else
29512 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29513echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29514
29515fi
29516
29517
29518
29519fi
29520
29521 fi
29522
29523 HAVE_PRIOR_FUNCS=0
29524 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29525echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29526if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528else
29529 cat >conftest.$ac_ext <<_ACEOF
29530#line $LINENO "configure"
29531/* confdefs.h. */
29532_ACEOF
29533cat confdefs.h >>conftest.$ac_ext
29534cat >>conftest.$ac_ext <<_ACEOF
29535/* end confdefs.h. */
29536/* System header to define __stub macros and hopefully few prototypes,
29537 which can conflict with char pthread_attr_getschedpolicy (); below.
29538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29539 <limits.h> exists even on freestanding compilers. */
29540#ifdef __STDC__
29541# include <limits.h>
29542#else
29543# include <assert.h>
29544#endif
29545/* Override any gcc2 internal prototype to avoid an error. */
29546#ifdef __cplusplus
29547extern "C"
29548{
29549#endif
29550/* We use char because int might match the return type of a gcc2
29551 builtin and then its argument prototype would still apply. */
29552char pthread_attr_getschedpolicy ();
29553/* The GNU C library defines this for functions which it implements
29554 to always fail with ENOSYS. Some functions are actually named
29555 something starting with __ and the normal name is an alias. */
29556#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29557choke me
29558#else
29559char (*f) () = pthread_attr_getschedpolicy;
29560#endif
29561#ifdef __cplusplus
29562}
29563#endif
29564
29565int
29566main ()
29567{
29568return f != pthread_attr_getschedpolicy;
29569 ;
29570 return 0;
29571}
29572_ACEOF
29573rm -f conftest.$ac_objext conftest$ac_exeext
29574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29575 (eval $ac_link) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try='test -s conftest$ac_exeext'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; }; then
29585 ac_cv_func_pthread_attr_getschedpolicy=yes
29586else
29587 echo "$as_me: failed program was:" >&5
29588sed 's/^/| /' conftest.$ac_ext >&5
29589
29590ac_cv_func_pthread_attr_getschedpolicy=no
29591fi
29592rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29593fi
29594echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29595echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29596if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29597 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29598echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29599if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601else
29602 cat >conftest.$ac_ext <<_ACEOF
29603#line $LINENO "configure"
29604/* confdefs.h. */
29605_ACEOF
29606cat confdefs.h >>conftest.$ac_ext
29607cat >>conftest.$ac_ext <<_ACEOF
29608/* end confdefs.h. */
29609/* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char pthread_attr_setschedparam (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29613#ifdef __STDC__
29614# include <limits.h>
29615#else
29616# include <assert.h>
29617#endif
29618/* Override any gcc2 internal prototype to avoid an error. */
29619#ifdef __cplusplus
29620extern "C"
29621{
29622#endif
29623/* We use char because int might match the return type of a gcc2
29624 builtin and then its argument prototype would still apply. */
29625char pthread_attr_setschedparam ();
29626/* The GNU C library defines this for functions which it implements
29627 to always fail with ENOSYS. Some functions are actually named
29628 something starting with __ and the normal name is an alias. */
29629#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29630choke me
29631#else
29632char (*f) () = pthread_attr_setschedparam;
29633#endif
29634#ifdef __cplusplus
29635}
29636#endif
29637
29638int
29639main ()
29640{
29641return f != pthread_attr_setschedparam;
29642 ;
29643 return 0;
29644}
29645_ACEOF
29646rm -f conftest.$ac_objext conftest$ac_exeext
29647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>&5
29649 ac_status=$?
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try='test -s conftest$ac_exeext'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29655 ac_status=$?
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; }; then
29658 ac_cv_func_pthread_attr_setschedparam=yes
29659else
29660 echo "$as_me: failed program was:" >&5
29661sed 's/^/| /' conftest.$ac_ext >&5
29662
29663ac_cv_func_pthread_attr_setschedparam=no
29664fi
29665rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29666fi
29667echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29668echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29669if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29670 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29671echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29672if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29673 echo $ECHO_N "(cached) $ECHO_C" >&6
29674else
29675 cat >conftest.$ac_ext <<_ACEOF
29676#line $LINENO "configure"
29677/* confdefs.h. */
29678_ACEOF
29679cat confdefs.h >>conftest.$ac_ext
29680cat >>conftest.$ac_ext <<_ACEOF
29681/* end confdefs.h. */
29682/* System header to define __stub macros and hopefully few prototypes,
29683 which can conflict with char sched_get_priority_max (); below.
29684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29685 <limits.h> exists even on freestanding compilers. */
29686#ifdef __STDC__
29687# include <limits.h>
29688#else
29689# include <assert.h>
29690#endif
29691/* Override any gcc2 internal prototype to avoid an error. */
29692#ifdef __cplusplus
29693extern "C"
29694{
29695#endif
29696/* We use char because int might match the return type of a gcc2
29697 builtin and then its argument prototype would still apply. */
29698char sched_get_priority_max ();
29699/* The GNU C library defines this for functions which it implements
29700 to always fail with ENOSYS. Some functions are actually named
29701 something starting with __ and the normal name is an alias. */
29702#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29703choke me
29704#else
29705char (*f) () = sched_get_priority_max;
29706#endif
29707#ifdef __cplusplus
29708}
29709#endif
29710
29711int
29712main ()
29713{
29714return f != sched_get_priority_max;
29715 ;
29716 return 0;
29717}
29718_ACEOF
29719rm -f conftest.$ac_objext conftest$ac_exeext
29720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29721 (eval $ac_link) 2>&5
29722 ac_status=$?
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } &&
29725 { ac_try='test -s conftest$ac_exeext'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; }; then
29731 ac_cv_func_sched_get_priority_max=yes
29732else
29733 echo "$as_me: failed program was:" >&5
29734sed 's/^/| /' conftest.$ac_ext >&5
29735
29736ac_cv_func_sched_get_priority_max=no
29737fi
29738rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29739fi
29740echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29741echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29742if test $ac_cv_func_sched_get_priority_max = yes; then
29743 HAVE_PRIOR_FUNCS=1
29744else
29745 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29746echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29747if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29749else
29750 ac_check_lib_save_LIBS=$LIBS
29751LIBS="-lposix4 $LIBS"
29752cat >conftest.$ac_ext <<_ACEOF
29753#line $LINENO "configure"
29754/* confdefs.h. */
29755_ACEOF
29756cat confdefs.h >>conftest.$ac_ext
29757cat >>conftest.$ac_ext <<_ACEOF
29758/* end confdefs.h. */
29759
29760/* Override any gcc2 internal prototype to avoid an error. */
29761#ifdef __cplusplus
29762extern "C"
29763#endif
29764/* We use char because int might match the return type of a gcc2
29765 builtin and then its argument prototype would still apply. */
29766char sched_get_priority_max ();
29767int
29768main ()
29769{
29770sched_get_priority_max ();
29771 ;
29772 return 0;
29773}
29774_ACEOF
29775rm -f conftest.$ac_objext conftest$ac_exeext
29776if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>&5
29778 ac_status=$?
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } &&
29781 { ac_try='test -s conftest$ac_exeext'
29782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29783 (eval $ac_try) 2>&5
29784 ac_status=$?
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; }; then
29787 ac_cv_lib_posix4_sched_get_priority_max=yes
29788else
29789 echo "$as_me: failed program was:" >&5
29790sed 's/^/| /' conftest.$ac_ext >&5
29791
29792ac_cv_lib_posix4_sched_get_priority_max=no
29793fi
29794rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29795LIBS=$ac_check_lib_save_LIBS
29796fi
29797echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29798echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29799if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29800
29801 HAVE_PRIOR_FUNCS=1
29802 POSIX4_LINK=" -lposix4"
29803
29804fi
29805
29806
29807fi
29808
29809
29810fi
29811
29812
29813fi
29814
29815
29816 if test "$HAVE_PRIOR_FUNCS" = 1; then
29817 cat >>confdefs.h <<\_ACEOF
29818#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29819_ACEOF
29820
29821 else
29822 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29823echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29824 fi
29825
29826 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29827echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29828if test "${ac_cv_func_pthread_cancel+set}" = set; then
29829 echo $ECHO_N "(cached) $ECHO_C" >&6
29830else
29831 cat >conftest.$ac_ext <<_ACEOF
29832#line $LINENO "configure"
29833/* confdefs.h. */
29834_ACEOF
29835cat confdefs.h >>conftest.$ac_ext
29836cat >>conftest.$ac_ext <<_ACEOF
29837/* end confdefs.h. */
29838/* System header to define __stub macros and hopefully few prototypes,
29839 which can conflict with char pthread_cancel (); below.
29840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29841 <limits.h> exists even on freestanding compilers. */
29842#ifdef __STDC__
29843# include <limits.h>
29844#else
29845# include <assert.h>
29846#endif
29847/* Override any gcc2 internal prototype to avoid an error. */
29848#ifdef __cplusplus
29849extern "C"
29850{
29851#endif
29852/* We use char because int might match the return type of a gcc2
29853 builtin and then its argument prototype would still apply. */
29854char pthread_cancel ();
29855/* The GNU C library defines this for functions which it implements
29856 to always fail with ENOSYS. Some functions are actually named
29857 something starting with __ and the normal name is an alias. */
29858#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29859choke me
29860#else
29861char (*f) () = pthread_cancel;
29862#endif
29863#ifdef __cplusplus
29864}
29865#endif
29866
29867int
29868main ()
29869{
29870return f != pthread_cancel;
29871 ;
29872 return 0;
29873}
29874_ACEOF
29875rm -f conftest.$ac_objext conftest$ac_exeext
29876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29877 (eval $ac_link) 2>&5
29878 ac_status=$?
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); } &&
29881 { ac_try='test -s conftest$ac_exeext'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29884 ac_status=$?
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; }; then
29887 ac_cv_func_pthread_cancel=yes
29888else
29889 echo "$as_me: failed program was:" >&5
29890sed 's/^/| /' conftest.$ac_ext >&5
29891
29892ac_cv_func_pthread_cancel=no
29893fi
29894rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29895fi
29896echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29897echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29898if test $ac_cv_func_pthread_cancel = yes; then
29899 cat >>confdefs.h <<\_ACEOF
29900#define HAVE_PTHREAD_CANCEL 1
29901_ACEOF
29902
29903else
29904 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29905echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29906fi
29907
29908
29909
29910
29911 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29912echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29913if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29914 echo $ECHO_N "(cached) $ECHO_C" >&6
29915else
29916
29917 cat >conftest.$ac_ext <<_ACEOF
29918#line $LINENO "configure"
29919/* confdefs.h. */
29920_ACEOF
29921cat confdefs.h >>conftest.$ac_ext
29922cat >>conftest.$ac_ext <<_ACEOF
29923/* end confdefs.h. */
29924#include <pthread.h>
29925int
29926main ()
29927{
29928
29929 pthread_mutexattr_t attr;
29930 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29931
29932 ;
29933 return 0;
29934}
29935_ACEOF
29936rm -f conftest.$ac_objext
29937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29938 (eval $ac_compile) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try='test -s conftest.$ac_objext'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29945 ac_status=$?
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; }; then
29948
29949 wx_cv_type_pthread_mutexattr_t=yes
29950
29951else
29952 echo "$as_me: failed program was:" >&5
29953sed 's/^/| /' conftest.$ac_ext >&5
29954
29955
29956 wx_cv_type_pthread_mutexattr_t=no
29957
29958
29959fi
29960rm -f conftest.$ac_objext conftest.$ac_ext
29961
29962fi
29963echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29964echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29965
29966 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29967 cat >>confdefs.h <<\_ACEOF
29968#define HAVE_PTHREAD_MUTEXATTR_T 1
29969_ACEOF
29970
29971 else
29972 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29973echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29974if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29976else
29977
29978 cat >conftest.$ac_ext <<_ACEOF
29979#line $LINENO "configure"
29980/* confdefs.h. */
29981_ACEOF
29982cat confdefs.h >>conftest.$ac_ext
29983cat >>conftest.$ac_ext <<_ACEOF
29984/* end confdefs.h. */
29985#include <pthread.h>
29986int
29987main ()
29988{
29989
29990 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29991
29992 ;
29993 return 0;
29994}
29995_ACEOF
29996rm -f conftest.$ac_objext
29997if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29998 (eval $ac_compile) 2>&5
29999 ac_status=$?
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try='test -s conftest.$ac_objext'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30005 ac_status=$?
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; }; then
30008
30009 wx_cv_type_pthread_rec_mutex_init=yes
30010
30011else
30012 echo "$as_me: failed program was:" >&5
30013sed 's/^/| /' conftest.$ac_ext >&5
30014
30015
30016 wx_cv_type_pthread_rec_mutex_init=no
30017
30018
30019fi
30020rm -f conftest.$ac_objext conftest.$ac_ext
30021
30022fi
30023echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30024echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30025 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30026 cat >>confdefs.h <<\_ACEOF
30027#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30028_ACEOF
30029
30030 else
30031 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30032echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30033 fi
30034 fi
30035 fi
30036
30037else
30038 if test "$wxUSE_THREADS" = "yes" ; then
30039 case "${host}" in
30040 *-*-mingw32* )
30041 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30042echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30043if test "${wx_cv_cflags_mthread+set}" = set; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30045else
30046
30047 CFLAGS_OLD="$CFLAGS"
30048 CFLAGS="$CFLAGS -mthreads"
30049 cat >conftest.$ac_ext <<_ACEOF
30050#line $LINENO "configure"
30051/* confdefs.h. */
30052_ACEOF
30053cat confdefs.h >>conftest.$ac_ext
30054cat >>conftest.$ac_ext <<_ACEOF
30055/* end confdefs.h. */
30056
30057int
30058main ()
30059{
30060
30061 ;
30062 return 0;
30063}
30064_ACEOF
30065rm -f conftest.$ac_objext
30066if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30067 (eval $ac_compile) 2>&5
30068 ac_status=$?
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } &&
30071 { ac_try='test -s conftest.$ac_objext'
30072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30073 (eval $ac_try) 2>&5
30074 ac_status=$?
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); }; }; then
30077 wx_cv_cflags_mthread=yes
30078else
30079 echo "$as_me: failed program was:" >&5
30080sed 's/^/| /' conftest.$ac_ext >&5
30081
30082wx_cv_cflags_mthread=no
30083
30084fi
30085rm -f conftest.$ac_objext conftest.$ac_ext
30086
30087
30088fi
30089echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30090echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30091
30092 if test "$wx_cv_cflags_mthread" = "yes"; then
30093 CXXFLAGS="$CXXFLAGS -mthreads"
30094 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30095 LDFLAGS="$LDFLAGS -mthreads"
30096 else
30097 CFLAGS="$CFLAGS_OLD"
30098 fi
30099 ;;
30100 *-pc-os2*emx )
30101 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30102 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30103 LDFLAGS="$LDFLAGS -Zmt"
30104 ;;
30105 esac
30106 fi
30107fi
30108
30109if test "$wxUSE_THREADS" = "yes"; then
30110 cat >>confdefs.h <<\_ACEOF
30111#define wxUSE_THREADS 1
30112_ACEOF
30113
30114
30115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30116else
30117 if test "$ac_cv_func_strtok_r" = "yes"; then
30118 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30119echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30120 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30121 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30122 echo "$as_me:$LINENO: result: yes" >&5
30123echo "${ECHO_T}yes" >&6
30124 else
30125 echo "$as_me:$LINENO: result: no" >&5
30126echo "${ECHO_T}no" >&6
30127 fi
30128 fi
30129fi
30130
30131if test "$WXGTK20" = 1 ; then
30132 cat >>confdefs.h <<_ACEOF
30133#define __WXGTK20__ $WXGTK20
30134_ACEOF
30135
30136 WXGTK12=1
30137fi
30138
30139if test "$WXGTK12" = 1 ; then
30140 cat >>confdefs.h <<_ACEOF
30141#define __WXGTK12__ $WXGTK12
30142_ACEOF
30143
30144fi
30145
30146if test "$WXGTK127" = 1 ; then
30147 cat >>confdefs.h <<_ACEOF
30148#define __WXGTK127__ $WXGTK127
30149_ACEOF
30150
30151fi
30152
30153WXDEBUG=
30154
30155if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30156 WXDEBUG="-g"
30157 wxUSE_OPTIMISE=no
30158fi
30159
30160if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30161 wxUSE_DEBUG_INFO=yes
30162 WXDEBUG="-ggdb"
30163fi
30164
30165if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30166 cat >>confdefs.h <<\_ACEOF
30167#define WXDEBUG 1
30168_ACEOF
30169
30170 WXDEBUG_DEFINE="-D__WXDEBUG__"
30171else
30172 if test "$wxUSE_GTK" = 1 ; then
30173 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30174 fi
30175fi
30176
30177if test "$wxUSE_MEM_TRACING" = "yes" ; then
30178 cat >>confdefs.h <<\_ACEOF
30179#define wxUSE_MEMORY_TRACING 1
30180_ACEOF
30181
30182 cat >>confdefs.h <<\_ACEOF
30183#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30184_ACEOF
30185
30186 cat >>confdefs.h <<\_ACEOF
30187#define wxUSE_DEBUG_NEW_ALWAYS 1
30188_ACEOF
30189
30190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30191fi
30192
30193if test "$wxUSE_DMALLOC" = "yes" ; then
30194 DMALLOC_LIBS="-ldmalloc"
30195fi
30196
30197PROFILE=
30198if test "$wxUSE_PROFILE" = "yes" ; then
30199 PROFILE=" -pg"
30200fi
30201
30202CODE_GEN_FLAGS=
30203CODE_GEN_FLAGS_CXX=
30204if test "$GCC" = "yes" ; then
30205 if test "$wxUSE_NO_RTTI" = "yes" ; then
30206 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30207 fi
30208 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30209 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30210 fi
30211 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30212 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30213 fi
30214
30215 case "${host}" in
30216 powerpc*-*-aix* )
30217 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30218 ;;
30219 *-hppa* )
30220 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30221 ;;
30222 esac
30223fi
30224
30225OPTIMISE=
30226if test "$wxUSE_OPTIMISE" = "no" ; then
30227 if test "$GCC" = yes ; then
30228 OPTIMISE="-O0"
30229 fi
30230else
30231 if test "$GCC" = yes ; then
30232 OPTIMISE="-O2"
30233
30234 case "${host}" in
30235 i586-*-*|i686-*-* )
30236 OPTIMISE="${OPTIMISE} "
30237 ;;
30238 esac
30239 else
30240 OPTIMISE="-O"
30241 fi
30242fi
30243
30244
30245if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30246 cat >>confdefs.h <<\_ACEOF
30247#define WXWIN_COMPATIBILITY_2_2 1
30248_ACEOF
30249
30250
30251 WXWIN_COMPATIBILITY_2_4="yes"
30252fi
30253
30254if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30255 cat >>confdefs.h <<\_ACEOF
30256#define WXWIN_COMPATIBILITY_2_4 1
30257_ACEOF
30258
30259fi
30260
30261
30262if test "$wxUSE_GUI" = "yes"; then
30263 cat >>confdefs.h <<\_ACEOF
30264#define wxUSE_GUI 1
30265_ACEOF
30266
30267
30268 else
30269 cat >>confdefs.h <<\_ACEOF
30270#define wxUSE_NOGUI 1
30271_ACEOF
30272
30273fi
30274
30275
30276if test "$wxUSE_UNIX" = "yes"; then
30277 cat >>confdefs.h <<\_ACEOF
30278#define wxUSE_UNIX 1
30279_ACEOF
30280
30281fi
30282
30283
30284if test "$wxUSE_STL" = "yes"; then
30285 cat >>confdefs.h <<\_ACEOF
30286#define wxUSE_STL 1
30287_ACEOF
30288
30289fi
30290
30291if test "$wxUSE_APPLE_IEEE" = "yes"; then
30292 cat >>confdefs.h <<\_ACEOF
30293#define wxUSE_APPLE_IEEE 1
30294_ACEOF
30295
30296fi
30297
30298if test "$wxUSE_TIMER" = "yes"; then
30299 cat >>confdefs.h <<\_ACEOF
30300#define wxUSE_TIMER 1
30301_ACEOF
30302
30303fi
30304
30305if test "$wxUSE_WAVE" = "yes"; then
30306 cat >>confdefs.h <<\_ACEOF
30307#define wxUSE_WAVE 1
30308_ACEOF
30309
30310fi
30311
30312if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30313 cat >>confdefs.h <<\_ACEOF
30314#define wxUSE_CMDLINE_PARSER 1
30315_ACEOF
30316
30317fi
30318
30319if test "$wxUSE_STOPWATCH" = "yes"; then
30320 cat >>confdefs.h <<\_ACEOF
30321#define wxUSE_STOPWATCH 1
30322_ACEOF
30323
30324fi
30325
30326if test "$wxUSE_DATETIME" = "yes"; then
30327 cat >>confdefs.h <<\_ACEOF
30328#define wxUSE_DATETIME 1
30329_ACEOF
30330
30331fi
30332
30333if test "$wxUSE_FILE" = "yes"; then
30334 cat >>confdefs.h <<\_ACEOF
30335#define wxUSE_FILE 1
30336_ACEOF
30337
30338fi
30339
30340if test "$wxUSE_FFILE" = "yes"; then
30341 cat >>confdefs.h <<\_ACEOF
30342#define wxUSE_FFILE 1
30343_ACEOF
30344
30345fi
30346
30347if test "$wxUSE_FILESYSTEM" = "yes"; then
30348 cat >>confdefs.h <<\_ACEOF
30349#define wxUSE_FILESYSTEM 1
30350_ACEOF
30351
30352fi
30353
30354if test "$wxUSE_FS_ZIP" = "yes"; then
30355 cat >>confdefs.h <<\_ACEOF
30356#define wxUSE_FS_ZIP 1
30357_ACEOF
30358
30359fi
30360
30361if test "$wxUSE_ZIPSTREAM" = "yes"; then
30362 cat >>confdefs.h <<\_ACEOF
30363#define wxUSE_ZIPSTREAM 1
30364_ACEOF
30365
30366fi
30367
30368if test "$wxUSE_GZSTREAM" = "yes"; then
30369 cat >>confdefs.h <<\_ACEOF
30370#define wxUSE_GZSTREAM 1
30371_ACEOF
30372
30373fi
30374
30375if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30376 cat >>confdefs.h <<\_ACEOF
30377#define wxUSE_ON_FATAL_EXCEPTION 1
30378_ACEOF
30379
30380fi
30381
30382if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30383 cat >>confdefs.h <<\_ACEOF
30384#define wxUSE_SNGLINST_CHECKER 1
30385_ACEOF
30386
30387fi
30388
30389if test "$wxUSE_BUSYINFO" = "yes"; then
30390 cat >>confdefs.h <<\_ACEOF
30391#define wxUSE_BUSYINFO 1
30392_ACEOF
30393
30394fi
30395
30396if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30397 cat >>confdefs.h <<\_ACEOF
30398#define wxUSE_STD_IOSTREAM 1
30399_ACEOF
30400
30401fi
30402
30403if test "$wxUSE_TEXTBUFFER" = "yes"; then
30404 cat >>confdefs.h <<\_ACEOF
30405#define wxUSE_TEXTBUFFER 1
30406_ACEOF
30407
30408fi
30409
30410if test "$wxUSE_TEXTFILE" = "yes"; then
30411 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30412 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30413echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30414 else
30415 cat >>confdefs.h <<\_ACEOF
30416#define wxUSE_TEXTFILE 1
30417_ACEOF
30418
30419 fi
30420fi
30421
30422if test "$wxUSE_CONFIG" = "yes" ; then
30423 if test "$wxUSE_TEXTFILE" != "yes"; then
30424 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30425echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30426 else
30427 cat >>confdefs.h <<\_ACEOF
30428#define wxUSE_CONFIG 1
30429_ACEOF
30430
30431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30432 fi
30433fi
30434
30435if test "$wxUSE_INTL" = "yes" ; then
30436 if test "$wxUSE_FILE" != "yes"; then
30437 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30438echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30439 else
30440 cat >>confdefs.h <<\_ACEOF
30441#define wxUSE_INTL 1
30442_ACEOF
30443
30444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30445 GUIDIST="$GUIDIST INTL_DIST"
30446 fi
30447fi
30448
30449if test "$wxUSE_LOG" = "yes"; then
30450 cat >>confdefs.h <<\_ACEOF
30451#define wxUSE_LOG 1
30452_ACEOF
30453
30454
30455 if test "$wxUSE_LOGGUI" = "yes"; then
30456 cat >>confdefs.h <<\_ACEOF
30457#define wxUSE_LOGGUI 1
30458_ACEOF
30459
30460 fi
30461
30462 if test "$wxUSE_LOGWINDOW" = "yes"; then
30463 cat >>confdefs.h <<\_ACEOF
30464#define wxUSE_LOGWINDOW 1
30465_ACEOF
30466
30467 fi
30468
30469 if test "$wxUSE_LOGDIALOG" = "yes"; then
30470 cat >>confdefs.h <<\_ACEOF
30471#define wxUSE_LOG_DIALOG 1
30472_ACEOF
30473
30474 fi
30475fi
30476
30477if test "$wxUSE_LONGLONG" = "yes"; then
30478 cat >>confdefs.h <<\_ACEOF
30479#define wxUSE_LONGLONG 1
30480_ACEOF
30481
30482fi
30483
30484if test "$wxUSE_GEOMETRY" = "yes"; then
30485 cat >>confdefs.h <<\_ACEOF
30486#define wxUSE_GEOMETRY 1
30487_ACEOF
30488
30489fi
30490
30491if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30492 cat >>confdefs.h <<\_ACEOF
30493#define wxUSE_DIALUP_MANAGER 1
30494_ACEOF
30495
30496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30497fi
30498
30499if test "$wxUSE_STREAMS" = "yes" ; then
30500 cat >>confdefs.h <<\_ACEOF
30501#define wxUSE_STREAMS 1
30502_ACEOF
30503
30504fi
30505
30506
30507if test "$wxUSE_DATETIME" = "yes"; then
30508
30509for ac_func in strptime
30510do
30511as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30512echo "$as_me:$LINENO: checking for $ac_func" >&5
30513echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30514if eval "test \"\${$as_ac_var+set}\" = set"; then
30515 echo $ECHO_N "(cached) $ECHO_C" >&6
30516else
30517 cat >conftest.$ac_ext <<_ACEOF
30518#line $LINENO "configure"
30519/* confdefs.h. */
30520_ACEOF
30521cat confdefs.h >>conftest.$ac_ext
30522cat >>conftest.$ac_ext <<_ACEOF
30523/* end confdefs.h. */
30524/* System header to define __stub macros and hopefully few prototypes,
30525 which can conflict with char $ac_func (); below.
30526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30527 <limits.h> exists even on freestanding compilers. */
30528#ifdef __STDC__
30529# include <limits.h>
30530#else
30531# include <assert.h>
30532#endif
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
30563 (eval $ac_link) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } &&
30567 { ac_try='test -s conftest$ac_exeext'
30568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30569 (eval $ac_try) 2>&5
30570 ac_status=$?
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); }; }; then
30573 eval "$as_ac_var=yes"
30574else
30575 echo "$as_me: failed program was:" >&5
30576sed 's/^/| /' conftest.$ac_ext >&5
30577
30578eval "$as_ac_var=no"
30579fi
30580rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30581fi
30582echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30583echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30584if test `eval echo '${'$as_ac_var'}'` = yes; then
30585 cat >>confdefs.h <<_ACEOF
30586#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30587_ACEOF
30588
30589fi
30590done
30591
30592
30593 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30594echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30595if test "${wx_cv_var_timezone+set}" = set; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30597else
30598
30599 cat >conftest.$ac_ext <<_ACEOF
30600#line $LINENO "configure"
30601/* confdefs.h. */
30602_ACEOF
30603cat confdefs.h >>conftest.$ac_ext
30604cat >>conftest.$ac_ext <<_ACEOF
30605/* end confdefs.h. */
30606
30607 #include <time.h>
30608
30609int
30610main ()
30611{
30612
30613 int tz;
30614 tz = timezone;
30615
30616 ;
30617 return 0;
30618}
30619_ACEOF
30620rm -f conftest.$ac_objext
30621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30622 (eval $ac_compile) 2>&5
30623 ac_status=$?
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } &&
30626 { ac_try='test -s conftest.$ac_objext'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30629 ac_status=$?
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30632
30633 wx_cv_var_timezone=timezone
30634
30635else
30636 echo "$as_me: failed program was:" >&5
30637sed 's/^/| /' conftest.$ac_ext >&5
30638
30639
30640 cat >conftest.$ac_ext <<_ACEOF
30641#line $LINENO "configure"
30642/* confdefs.h. */
30643_ACEOF
30644cat confdefs.h >>conftest.$ac_ext
30645cat >>conftest.$ac_ext <<_ACEOF
30646/* end confdefs.h. */
30647
30648 #include <time.h>
30649
30650int
30651main ()
30652{
30653
30654 int tz;
30655 tz = _timezone;
30656
30657 ;
30658 return 0;
30659}
30660_ACEOF
30661rm -f conftest.$ac_objext
30662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30663 (eval $ac_compile) 2>&5
30664 ac_status=$?
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } &&
30667 { ac_try='test -s conftest.$ac_objext'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30670 ac_status=$?
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; }; then
30673
30674 wx_cv_var_timezone=_timezone
30675
30676else
30677 echo "$as_me: failed program was:" >&5
30678sed 's/^/| /' conftest.$ac_ext >&5
30679
30680
30681 cat >conftest.$ac_ext <<_ACEOF
30682#line $LINENO "configure"
30683/* confdefs.h. */
30684_ACEOF
30685cat confdefs.h >>conftest.$ac_ext
30686cat >>conftest.$ac_ext <<_ACEOF
30687/* end confdefs.h. */
30688
30689 #include <time.h>
30690
30691int
30692main ()
30693{
30694
30695 int tz;
30696 tz = __timezone;
30697
30698 ;
30699 return 0;
30700}
30701_ACEOF
30702rm -f conftest.$ac_objext
30703if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30704 (eval $ac_compile) 2>&5
30705 ac_status=$?
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } &&
30708 { ac_try='test -s conftest.$ac_objext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30711 ac_status=$?
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714
30715 wx_cv_var_timezone=__timezone
30716
30717else
30718 echo "$as_me: failed program was:" >&5
30719sed 's/^/| /' conftest.$ac_ext >&5
30720
30721
30722 if test "$USE_DOS" = 0 ; then
30723 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30724echo "$as_me: WARNING: no timezone variable" >&2;}
30725 fi
30726
30727
30728fi
30729rm -f conftest.$ac_objext conftest.$ac_ext
30730
30731
30732fi
30733rm -f conftest.$ac_objext conftest.$ac_ext
30734
30735
30736fi
30737rm -f conftest.$ac_objext conftest.$ac_ext
30738
30739
30740fi
30741echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30742echo "${ECHO_T}$wx_cv_var_timezone" >&6
30743
30744 if test "x$wx_cv_var_timezone" != x ; then
30745 cat >>confdefs.h <<_ACEOF
30746#define WX_TIMEZONE $wx_cv_var_timezone
30747_ACEOF
30748
30749 fi
30750
30751
30752for ac_func in localtime
30753do
30754as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30755echo "$as_me:$LINENO: checking for $ac_func" >&5
30756echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30757if eval "test \"\${$as_ac_var+set}\" = set"; then
30758 echo $ECHO_N "(cached) $ECHO_C" >&6
30759else
30760 cat >conftest.$ac_ext <<_ACEOF
30761#line $LINENO "configure"
30762/* confdefs.h. */
30763_ACEOF
30764cat confdefs.h >>conftest.$ac_ext
30765cat >>conftest.$ac_ext <<_ACEOF
30766/* end confdefs.h. */
30767/* System header to define __stub macros and hopefully few prototypes,
30768 which can conflict with char $ac_func (); below.
30769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30770 <limits.h> exists even on freestanding compilers. */
30771#ifdef __STDC__
30772# include <limits.h>
30773#else
30774# include <assert.h>
30775#endif
30776/* Override any gcc2 internal prototype to avoid an error. */
30777#ifdef __cplusplus
30778extern "C"
30779{
30780#endif
30781/* We use char because int might match the return type of a gcc2
30782 builtin and then its argument prototype would still apply. */
30783char $ac_func ();
30784/* The GNU C library defines this for functions which it implements
30785 to always fail with ENOSYS. Some functions are actually named
30786 something starting with __ and the normal name is an alias. */
30787#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30788choke me
30789#else
30790char (*f) () = $ac_func;
30791#endif
30792#ifdef __cplusplus
30793}
30794#endif
30795
30796int
30797main ()
30798{
30799return f != $ac_func;
30800 ;
30801 return 0;
30802}
30803_ACEOF
30804rm -f conftest.$ac_objext conftest$ac_exeext
30805if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30806 (eval $ac_link) 2>&5
30807 ac_status=$?
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); } &&
30810 { ac_try='test -s conftest$ac_exeext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30813 ac_status=$?
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30816 eval "$as_ac_var=yes"
30817else
30818 echo "$as_me: failed program was:" >&5
30819sed 's/^/| /' conftest.$ac_ext >&5
30820
30821eval "$as_ac_var=no"
30822fi
30823rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30824fi
30825echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30826echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30827if test `eval echo '${'$as_ac_var'}'` = yes; then
30828 cat >>confdefs.h <<_ACEOF
30829#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30830_ACEOF
30831
30832fi
30833done
30834
30835
30836 if test "$ac_cv_func_localtime" = "yes"; then
30837 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30838echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30839if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30840 echo $ECHO_N "(cached) $ECHO_C" >&6
30841else
30842
30843 cat >conftest.$ac_ext <<_ACEOF
30844#line $LINENO "configure"
30845/* confdefs.h. */
30846_ACEOF
30847cat confdefs.h >>conftest.$ac_ext
30848cat >>conftest.$ac_ext <<_ACEOF
30849/* end confdefs.h. */
30850
30851 #include <time.h>
30852
30853int
30854main ()
30855{
30856
30857 struct tm tm;
30858 tm.tm_gmtoff++;
30859
30860 ;
30861 return 0;
30862}
30863_ACEOF
30864rm -f conftest.$ac_objext
30865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30866 (eval $ac_compile) 2>&5
30867 ac_status=$?
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } &&
30870 { ac_try='test -s conftest.$ac_objext'
30871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30872 (eval $ac_try) 2>&5
30873 ac_status=$?
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); }; }; then
30876
30877 wx_cv_struct_tm_has_gmtoff=yes
30878
30879else
30880 echo "$as_me: failed program was:" >&5
30881sed 's/^/| /' conftest.$ac_ext >&5
30882
30883wx_cv_struct_tm_has_gmtoff=no
30884
30885fi
30886rm -f conftest.$ac_objext conftest.$ac_ext
30887
30888fi
30889echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30890echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30891 fi
30892
30893 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30894 cat >>confdefs.h <<\_ACEOF
30895#define WX_GMTOFF_IN_TM 1
30896_ACEOF
30897
30898 fi
30899
30900
30901
30902for ac_func in gettimeofday ftime
30903do
30904as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30905echo "$as_me:$LINENO: checking for $ac_func" >&5
30906echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30907if eval "test \"\${$as_ac_var+set}\" = set"; then
30908 echo $ECHO_N "(cached) $ECHO_C" >&6
30909else
30910 cat >conftest.$ac_ext <<_ACEOF
30911#line $LINENO "configure"
30912/* confdefs.h. */
30913_ACEOF
30914cat confdefs.h >>conftest.$ac_ext
30915cat >>conftest.$ac_ext <<_ACEOF
30916/* end confdefs.h. */
30917/* System header to define __stub macros and hopefully few prototypes,
30918 which can conflict with char $ac_func (); below.
30919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30920 <limits.h> exists even on freestanding compilers. */
30921#ifdef __STDC__
30922# include <limits.h>
30923#else
30924# include <assert.h>
30925#endif
30926/* Override any gcc2 internal prototype to avoid an error. */
30927#ifdef __cplusplus
30928extern "C"
30929{
30930#endif
30931/* We use char because int might match the return type of a gcc2
30932 builtin and then its argument prototype would still apply. */
30933char $ac_func ();
30934/* The GNU C library defines this for functions which it implements
30935 to always fail with ENOSYS. Some functions are actually named
30936 something starting with __ and the normal name is an alias. */
30937#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30938choke me
30939#else
30940char (*f) () = $ac_func;
30941#endif
30942#ifdef __cplusplus
30943}
30944#endif
30945
30946int
30947main ()
30948{
30949return f != $ac_func;
30950 ;
30951 return 0;
30952}
30953_ACEOF
30954rm -f conftest.$ac_objext conftest$ac_exeext
30955if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30956 (eval $ac_link) 2>&5
30957 ac_status=$?
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); } &&
30960 { ac_try='test -s conftest$ac_exeext'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30963 ac_status=$?
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; }; then
30966 eval "$as_ac_var=yes"
30967else
30968 echo "$as_me: failed program was:" >&5
30969sed 's/^/| /' conftest.$ac_ext >&5
30970
30971eval "$as_ac_var=no"
30972fi
30973rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30974fi
30975echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30976echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30977if test `eval echo '${'$as_ac_var'}'` = yes; then
30978 cat >>confdefs.h <<_ACEOF
30979#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30980_ACEOF
30981 break
30982fi
30983done
30984
30985
30986 if test "$ac_cv_func_gettimeofday" = "yes"; then
30987 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30988echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30989if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991else
30992
30993
30994
30995 ac_ext=cc
30996ac_cpp='$CXXCPP $CPPFLAGS'
30997ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30998ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30999ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31000
31001
31002 cat >conftest.$ac_ext <<_ACEOF
31003#line $LINENO "configure"
31004/* confdefs.h. */
31005_ACEOF
31006cat confdefs.h >>conftest.$ac_ext
31007cat >>conftest.$ac_ext <<_ACEOF
31008/* end confdefs.h. */
31009
31010 #include <sys/time.h>
31011 #include <unistd.h>
31012
31013int
31014main ()
31015{
31016
31017 struct timeval tv;
31018 gettimeofday(&tv, NULL);
31019
31020 ;
31021 return 0;
31022}
31023_ACEOF
31024rm -f conftest.$ac_objext
31025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31026 (eval $ac_compile) 2>&5
31027 ac_status=$?
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } &&
31030 { ac_try='test -s conftest.$ac_objext'
31031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31032 (eval $ac_try) 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); }; }; then
31036 wx_cv_func_gettimeofday_has_2_args=yes
31037else
31038 echo "$as_me: failed program was:" >&5
31039sed 's/^/| /' conftest.$ac_ext >&5
31040
31041cat >conftest.$ac_ext <<_ACEOF
31042#line $LINENO "configure"
31043/* confdefs.h. */
31044_ACEOF
31045cat confdefs.h >>conftest.$ac_ext
31046cat >>conftest.$ac_ext <<_ACEOF
31047/* end confdefs.h. */
31048
31049 #include <sys/time.h>
31050 #include <unistd.h>
31051
31052int
31053main ()
31054{
31055
31056 struct timeval tv;
31057 gettimeofday(&tv);
31058
31059 ;
31060 return 0;
31061}
31062_ACEOF
31063rm -f conftest.$ac_objext
31064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31065 (eval $ac_compile) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } &&
31069 { ac_try='test -s conftest.$ac_objext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31072 ac_status=$?
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 wx_cv_func_gettimeofday_has_2_args=no
31076else
31077 echo "$as_me: failed program was:" >&5
31078sed 's/^/| /' conftest.$ac_ext >&5
31079
31080
31081 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31082echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31083 wx_cv_func_gettimeofday_has_2_args=unknown
31084
31085
31086fi
31087rm -f conftest.$ac_objext conftest.$ac_ext
31088
31089fi
31090rm -f conftest.$ac_objext conftest.$ac_ext
31091 ac_ext=c
31092ac_cpp='$CPP $CPPFLAGS'
31093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31095ac_compiler_gnu=$ac_cv_c_compiler_gnu
31096
31097
31098fi
31099echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31100echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31101
31102 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31103 cat >>confdefs.h <<\_ACEOF
31104#define WX_GETTIMEOFDAY_NO_TZ 1
31105_ACEOF
31106
31107 fi
31108 fi
31109
31110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31111fi
31112
31113
31114if test "$wxUSE_SOCKETS" = "yes"; then
31115 if test "$wxUSE_MGL" = "1"; then
31116 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31117echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31118 wxUSE_SOCKETS="no"
31119 fi
31120 if test "$wxUSE_COCOA" = "1"; then
31121 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31122echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31123 wxUSE_SOCKETS="no"
31124 fi
31125fi
31126
31127if test "$wxUSE_SOCKETS" = "yes"; then
31128 if test "$TOOLKIT" != "MSW"; then
31129 echo "$as_me:$LINENO: checking for socket" >&5
31130echo $ECHO_N "checking for socket... $ECHO_C" >&6
31131if test "${ac_cv_func_socket+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133else
31134 cat >conftest.$ac_ext <<_ACEOF
31135#line $LINENO "configure"
31136/* confdefs.h. */
31137_ACEOF
31138cat confdefs.h >>conftest.$ac_ext
31139cat >>conftest.$ac_ext <<_ACEOF
31140/* end confdefs.h. */
31141/* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char socket (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31145#ifdef __STDC__
31146# include <limits.h>
31147#else
31148# include <assert.h>
31149#endif
31150/* Override any gcc2 internal prototype to avoid an error. */
31151#ifdef __cplusplus
31152extern "C"
31153{
31154#endif
31155/* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31157char socket ();
31158/* The GNU C library defines this for functions which it implements
31159 to always fail with ENOSYS. Some functions are actually named
31160 something starting with __ and the normal name is an alias. */
31161#if defined (__stub_socket) || defined (__stub___socket)
31162choke me
31163#else
31164char (*f) () = socket;
31165#endif
31166#ifdef __cplusplus
31167}
31168#endif
31169
31170int
31171main ()
31172{
31173return f != socket;
31174 ;
31175 return 0;
31176}
31177_ACEOF
31178rm -f conftest.$ac_objext conftest$ac_exeext
31179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180 (eval $ac_link) 2>&5
31181 ac_status=$?
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try='test -s conftest$ac_exeext'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31187 ac_status=$?
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; }; then
31190 ac_cv_func_socket=yes
31191else
31192 echo "$as_me: failed program was:" >&5
31193sed 's/^/| /' conftest.$ac_ext >&5
31194
31195ac_cv_func_socket=no
31196fi
31197rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31198fi
31199echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31200echo "${ECHO_T}$ac_cv_func_socket" >&6
31201if test $ac_cv_func_socket = yes; then
31202 :
31203else
31204
31205 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31206echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31207if test "${ac_cv_lib_socket_socket+set}" = set; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31209else
31210 ac_check_lib_save_LIBS=$LIBS
31211LIBS="-lsocket $LIBS"
31212cat >conftest.$ac_ext <<_ACEOF
31213#line $LINENO "configure"
31214/* confdefs.h. */
31215_ACEOF
31216cat confdefs.h >>conftest.$ac_ext
31217cat >>conftest.$ac_ext <<_ACEOF
31218/* end confdefs.h. */
31219
31220/* Override any gcc2 internal prototype to avoid an error. */
31221#ifdef __cplusplus
31222extern "C"
31223#endif
31224/* We use char because int might match the return type of a gcc2
31225 builtin and then its argument prototype would still apply. */
31226char socket ();
31227int
31228main ()
31229{
31230socket ();
31231 ;
31232 return 0;
31233}
31234_ACEOF
31235rm -f conftest.$ac_objext conftest$ac_exeext
31236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31237 (eval $ac_link) 2>&5
31238 ac_status=$?
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); } &&
31241 { ac_try='test -s conftest$ac_exeext'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; }; then
31247 ac_cv_lib_socket_socket=yes
31248else
31249 echo "$as_me: failed program was:" >&5
31250sed 's/^/| /' conftest.$ac_ext >&5
31251
31252ac_cv_lib_socket_socket=no
31253fi
31254rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31255LIBS=$ac_check_lib_save_LIBS
31256fi
31257echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31258echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31259if test $ac_cv_lib_socket_socket = yes; then
31260 if test "$INET_LINK" != " -lsocket"; then
31261 INET_LINK="$INET_LINK -lsocket"
31262 fi
31263else
31264
31265 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31266echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31267 wxUSE_SOCKETS=no
31268
31269
31270fi
31271
31272
31273
31274fi
31275
31276 fi
31277fi
31278
31279if test "$wxUSE_SOCKETS" = "yes" ; then
31280 if test "$TOOLKIT" != "MSW"; then
31281 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31282echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31283if test "${wx_cv_type_getsockname3+set}" = set; then
31284 echo $ECHO_N "(cached) $ECHO_C" >&6
31285else
31286
31287 cat >conftest.$ac_ext <<_ACEOF
31288#line $LINENO "configure"
31289/* confdefs.h. */
31290_ACEOF
31291cat confdefs.h >>conftest.$ac_ext
31292cat >>conftest.$ac_ext <<_ACEOF
31293/* end confdefs.h. */
31294
31295 #include <sys/types.h>
31296 #include <sys/socket.h>
31297
31298int
31299main ()
31300{
31301
31302 socklen_t len;
31303 getsockname(0, 0, &len);
31304
31305 ;
31306 return 0;
31307}
31308_ACEOF
31309rm -f conftest.$ac_objext
31310if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31311 (eval $ac_compile) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } &&
31315 { ac_try='test -s conftest.$ac_objext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 wx_cv_type_getsockname3=socklen_t
31322else
31323 echo "$as_me: failed program was:" >&5
31324sed 's/^/| /' conftest.$ac_ext >&5
31325
31326
31327 CFLAGS_OLD="$CFLAGS"
31328 if test "$GCC" = yes ; then
31329 CFLAGS="$CFLAGS -Werror"
31330 fi
31331
31332 cat >conftest.$ac_ext <<_ACEOF
31333#line $LINENO "configure"
31334/* confdefs.h. */
31335_ACEOF
31336cat confdefs.h >>conftest.$ac_ext
31337cat >>conftest.$ac_ext <<_ACEOF
31338/* end confdefs.h. */
31339
31340 #include <sys/types.h>
31341 #include <sys/socket.h>
31342
31343int
31344main ()
31345{
31346
31347 size_t len;
31348 getsockname(0, 0, &len);
31349
31350 ;
31351 return 0;
31352}
31353_ACEOF
31354rm -f conftest.$ac_objext
31355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31356 (eval $ac_compile) 2>&5
31357 ac_status=$?
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try='test -s conftest.$ac_objext'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31363 ac_status=$?
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; }; then
31366 wx_cv_type_getsockname3=size_t
31367else
31368 echo "$as_me: failed program was:" >&5
31369sed 's/^/| /' conftest.$ac_ext >&5
31370
31371cat >conftest.$ac_ext <<_ACEOF
31372#line $LINENO "configure"
31373/* confdefs.h. */
31374_ACEOF
31375cat confdefs.h >>conftest.$ac_ext
31376cat >>conftest.$ac_ext <<_ACEOF
31377/* end confdefs.h. */
31378
31379 #include <sys/types.h>
31380 #include <sys/socket.h>
31381
31382int
31383main ()
31384{
31385
31386 int len;
31387 getsockname(0, 0, &len);
31388
31389 ;
31390 return 0;
31391}
31392_ACEOF
31393rm -f conftest.$ac_objext
31394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31395 (eval $ac_compile) 2>&5
31396 ac_status=$?
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try='test -s conftest.$ac_objext'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31402 ac_status=$?
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; }; then
31405 wx_cv_type_getsockname3=int
31406else
31407 echo "$as_me: failed program was:" >&5
31408sed 's/^/| /' conftest.$ac_ext >&5
31409
31410wx_cv_type_getsockname3=unknown
31411
31412fi
31413rm -f conftest.$ac_objext conftest.$ac_ext
31414
31415fi
31416rm -f conftest.$ac_objext conftest.$ac_ext
31417
31418 CFLAGS="$CFLAGS_OLD"
31419
31420
31421fi
31422rm -f conftest.$ac_objext conftest.$ac_ext
31423
31424fi
31425echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31426echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31427
31428 if test "$wx_cv_type_getsockname3" = "unknown"; then
31429 wxUSE_SOCKETS=no
31430 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31431echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31432 else
31433 cat >>confdefs.h <<_ACEOF
31434#define SOCKLEN_T $wx_cv_type_getsockname3
31435_ACEOF
31436
31437 fi
31438 fi
31439fi
31440
31441if test "$wxUSE_SOCKETS" = "yes" ; then
31442 cat >>confdefs.h <<\_ACEOF
31443#define wxUSE_SOCKETS 1
31444_ACEOF
31445
31446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31447fi
31448
31449if test "$wxUSE_PROTOCOL" = "yes"; then
31450 if test "$wxUSE_SOCKETS" != "yes"; then
31451 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31452echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31453 wxUSE_PROTOCOL=no
31454 fi
31455fi
31456
31457if test "$wxUSE_PROTOCOL" = "yes"; then
31458 cat >>confdefs.h <<\_ACEOF
31459#define wxUSE_PROTOCOL 1
31460_ACEOF
31461
31462
31463 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31464 cat >>confdefs.h <<\_ACEOF
31465#define wxUSE_PROTOCOL_HTTP 1
31466_ACEOF
31467
31468 fi
31469 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31470 cat >>confdefs.h <<\_ACEOF
31471#define wxUSE_PROTOCOL_FTP 1
31472_ACEOF
31473
31474 fi
31475 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31476 cat >>confdefs.h <<\_ACEOF
31477#define wxUSE_PROTOCOL_FILE 1
31478_ACEOF
31479
31480 fi
31481else
31482 if test "$wxUSE_FS_INET" = "yes"; then
31483 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31484echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31485 wxUSE_FS_INET="no"
31486 fi
31487fi
31488
31489if test "$wxUSE_URL" = "yes"; then
31490 if test "$wxUSE_PROTOCOL" != "yes"; then
31491 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31492echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31493 wxUSE_URL=no
31494 fi
31495 if test "$wxUSE_URL" = "yes"; then
31496 cat >>confdefs.h <<\_ACEOF
31497#define wxUSE_URL 1
31498_ACEOF
31499
31500 fi
31501fi
31502
31503if test "$wxUSE_FS_INET" = "yes"; then
31504 cat >>confdefs.h <<\_ACEOF
31505#define wxUSE_FS_INET 1
31506_ACEOF
31507
31508fi
31509
31510
31511if test "$wxUSE_GUI" = "yes"; then
31512
31513 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31514 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31515echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31516 wxUSE_JOYSTICK=no
31517 fi
31518
31519 if test "$TOOLKIT" != "MSW"; then
31520 if test "$wxUSE_JOYSTICK" = "yes"; then
31521
31522for ac_header in linux/joystick.h
31523do
31524as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31525if eval "test \"\${$as_ac_Header+set}\" = set"; then
31526 echo "$as_me:$LINENO: checking for $ac_header" >&5
31527echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31528if eval "test \"\${$as_ac_Header+set}\" = set"; then
31529 echo $ECHO_N "(cached) $ECHO_C" >&6
31530fi
31531echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31532echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31533else
31534 # Is the header compilable?
31535echo "$as_me:$LINENO: checking $ac_header usability" >&5
31536echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31537cat >conftest.$ac_ext <<_ACEOF
31538#line $LINENO "configure"
31539/* confdefs.h. */
31540_ACEOF
31541cat confdefs.h >>conftest.$ac_ext
31542cat >>conftest.$ac_ext <<_ACEOF
31543/* end confdefs.h. */
31544$ac_includes_default
31545#include <$ac_header>
31546_ACEOF
31547rm -f conftest.$ac_objext
31548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31549 (eval $ac_compile) 2>&5
31550 ac_status=$?
31551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552 (exit $ac_status); } &&
31553 { ac_try='test -s conftest.$ac_objext'
31554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31555 (eval $ac_try) 2>&5
31556 ac_status=$?
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); }; }; then
31559 ac_header_compiler=yes
31560else
31561 echo "$as_me: failed program was:" >&5
31562sed 's/^/| /' conftest.$ac_ext >&5
31563
31564ac_header_compiler=no
31565fi
31566rm -f conftest.$ac_objext conftest.$ac_ext
31567echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31568echo "${ECHO_T}$ac_header_compiler" >&6
31569
31570# Is the header present?
31571echo "$as_me:$LINENO: checking $ac_header presence" >&5
31572echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31573cat >conftest.$ac_ext <<_ACEOF
31574#line $LINENO "configure"
31575/* confdefs.h. */
31576_ACEOF
31577cat confdefs.h >>conftest.$ac_ext
31578cat >>conftest.$ac_ext <<_ACEOF
31579/* end confdefs.h. */
31580#include <$ac_header>
31581_ACEOF
31582if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31584 ac_status=$?
31585 grep -v '^ *+' conftest.er1 >conftest.err
31586 rm -f conftest.er1
31587 cat conftest.err >&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); } >/dev/null; then
31590 if test -s conftest.err; then
31591 ac_cpp_err=$ac_c_preproc_warn_flag
31592 else
31593 ac_cpp_err=
31594 fi
31595else
31596 ac_cpp_err=yes
31597fi
31598if test -z "$ac_cpp_err"; then
31599 ac_header_preproc=yes
31600else
31601 echo "$as_me: failed program was:" >&5
31602sed 's/^/| /' conftest.$ac_ext >&5
31603
31604 ac_header_preproc=no
31605fi
31606rm -f conftest.err conftest.$ac_ext
31607echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31608echo "${ECHO_T}$ac_header_preproc" >&6
31609
31610# So? What about this header?
31611case $ac_header_compiler:$ac_header_preproc in
31612 yes:no )
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31614echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31616echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31617 (
31618 cat <<\_ASBOX
31619## ------------------------------------ ##
31620## Report this to bug-autoconf@gnu.org. ##
31621## ------------------------------------ ##
31622_ASBOX
31623 ) |
31624 sed "s/^/$as_me: WARNING: /" >&2
31625 ;;
31626 no:yes )
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31628echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31630echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31632echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31633 (
31634 cat <<\_ASBOX
31635## ------------------------------------ ##
31636## Report this to bug-autoconf@gnu.org. ##
31637## ------------------------------------ ##
31638_ASBOX
31639 ) |
31640 sed "s/^/$as_me: WARNING: /" >&2
31641 ;;
31642esac
31643echo "$as_me:$LINENO: checking for $ac_header" >&5
31644echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31645if eval "test \"\${$as_ac_Header+set}\" = set"; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31647else
31648 eval "$as_ac_Header=$ac_header_preproc"
31649fi
31650echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31651echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31652
31653fi
31654if test `eval echo '${'$as_ac_Header'}'` = yes; then
31655 cat >>confdefs.h <<_ACEOF
31656#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31657_ACEOF
31658
31659fi
31660
31661done
31662
31663 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31664 wxUSE_JOYSTICK=no
31665 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31666echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31667 fi
31668 fi
31669 fi
31670
31671 if test "$wxUSE_JOYSTICK" = "yes"; then
31672 cat >>confdefs.h <<\_ACEOF
31673#define wxUSE_JOYSTICK 1
31674_ACEOF
31675
31676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31677 fi
31678fi
31679
31680
31681if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31682
31683 HAVE_DL_FUNCS=0
31684 HAVE_SHL_FUNCS=0
31685 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31686 if test "$USE_DARWIN" = 1; then
31687 HAVE_DL_FUNCS=1
31688 else
31689
31690for ac_func in dlopen
31691do
31692as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31693echo "$as_me:$LINENO: checking for $ac_func" >&5
31694echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31695if eval "test \"\${$as_ac_var+set}\" = set"; then
31696 echo $ECHO_N "(cached) $ECHO_C" >&6
31697else
31698 cat >conftest.$ac_ext <<_ACEOF
31699#line $LINENO "configure"
31700/* confdefs.h. */
31701_ACEOF
31702cat confdefs.h >>conftest.$ac_ext
31703cat >>conftest.$ac_ext <<_ACEOF
31704/* end confdefs.h. */
31705/* System header to define __stub macros and hopefully few prototypes,
31706 which can conflict with char $ac_func (); below.
31707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31708 <limits.h> exists even on freestanding compilers. */
31709#ifdef __STDC__
31710# include <limits.h>
31711#else
31712# include <assert.h>
31713#endif
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
31744 (eval $ac_link) 2>&5
31745 ac_status=$?
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } &&
31748 { ac_try='test -s conftest$ac_exeext'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31751 ac_status=$?
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; }; then
31754 eval "$as_ac_var=yes"
31755else
31756 echo "$as_me: failed program was:" >&5
31757sed 's/^/| /' conftest.$ac_ext >&5
31758
31759eval "$as_ac_var=no"
31760fi
31761rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31762fi
31763echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31764echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31765if test `eval echo '${'$as_ac_var'}'` = yes; then
31766 cat >>confdefs.h <<_ACEOF
31767#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31768_ACEOF
31769
31770 cat >>confdefs.h <<\_ACEOF
31771#define HAVE_DLOPEN 1
31772_ACEOF
31773
31774 HAVE_DL_FUNCS=1
31775
31776else
31777
31778 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31779echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31780if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31781 echo $ECHO_N "(cached) $ECHO_C" >&6
31782else
31783 ac_check_lib_save_LIBS=$LIBS
31784LIBS="-ldl $LIBS"
31785cat >conftest.$ac_ext <<_ACEOF
31786#line $LINENO "configure"
31787/* confdefs.h. */
31788_ACEOF
31789cat confdefs.h >>conftest.$ac_ext
31790cat >>conftest.$ac_ext <<_ACEOF
31791/* end confdefs.h. */
31792
31793/* Override any gcc2 internal prototype to avoid an error. */
31794#ifdef __cplusplus
31795extern "C"
31796#endif
31797/* We use char because int might match the return type of a gcc2
31798 builtin and then its argument prototype would still apply. */
31799char dlopen ();
31800int
31801main ()
31802{
31803dlopen ();
31804 ;
31805 return 0;
31806}
31807_ACEOF
31808rm -f conftest.$ac_objext conftest$ac_exeext
31809if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31810 (eval $ac_link) 2>&5
31811 ac_status=$?
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } &&
31814 { ac_try='test -s conftest$ac_exeext'
31815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31816 (eval $ac_try) 2>&5
31817 ac_status=$?
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); }; }; then
31820 ac_cv_lib_dl_dlopen=yes
31821else
31822 echo "$as_me: failed program was:" >&5
31823sed 's/^/| /' conftest.$ac_ext >&5
31824
31825ac_cv_lib_dl_dlopen=no
31826fi
31827rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31828LIBS=$ac_check_lib_save_LIBS
31829fi
31830echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31831echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31832if test $ac_cv_lib_dl_dlopen = yes; then
31833
31834 cat >>confdefs.h <<\_ACEOF
31835#define HAVE_DLOPEN 1
31836_ACEOF
31837
31838 HAVE_DL_FUNCS=1
31839 DL_LINK=" -ldl$DL_LINK"
31840
31841else
31842
31843
31844for ac_func in shl_load
31845do
31846as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31847echo "$as_me:$LINENO: checking for $ac_func" >&5
31848echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31849if eval "test \"\${$as_ac_var+set}\" = set"; then
31850 echo $ECHO_N "(cached) $ECHO_C" >&6
31851else
31852 cat >conftest.$ac_ext <<_ACEOF
31853#line $LINENO "configure"
31854/* confdefs.h. */
31855_ACEOF
31856cat confdefs.h >>conftest.$ac_ext
31857cat >>conftest.$ac_ext <<_ACEOF
31858/* end confdefs.h. */
31859/* System header to define __stub macros and hopefully few prototypes,
31860 which can conflict with char $ac_func (); below.
31861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31862 <limits.h> exists even on freestanding compilers. */
31863#ifdef __STDC__
31864# include <limits.h>
31865#else
31866# include <assert.h>
31867#endif
31868/* Override any gcc2 internal prototype to avoid an error. */
31869#ifdef __cplusplus
31870extern "C"
31871{
31872#endif
31873/* We use char because int might match the return type of a gcc2
31874 builtin and then its argument prototype would still apply. */
31875char $ac_func ();
31876/* The GNU C library defines this for functions which it implements
31877 to always fail with ENOSYS. Some functions are actually named
31878 something starting with __ and the normal name is an alias. */
31879#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31880choke me
31881#else
31882char (*f) () = $ac_func;
31883#endif
31884#ifdef __cplusplus
31885}
31886#endif
31887
31888int
31889main ()
31890{
31891return f != $ac_func;
31892 ;
31893 return 0;
31894}
31895_ACEOF
31896rm -f conftest.$ac_objext conftest$ac_exeext
31897if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31898 (eval $ac_link) 2>&5
31899 ac_status=$?
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try='test -s conftest$ac_exeext'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31905 ac_status=$?
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; }; then
31908 eval "$as_ac_var=yes"
31909else
31910 echo "$as_me: failed program was:" >&5
31911sed 's/^/| /' conftest.$ac_ext >&5
31912
31913eval "$as_ac_var=no"
31914fi
31915rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31916fi
31917echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31918echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31919if test `eval echo '${'$as_ac_var'}'` = yes; then
31920 cat >>confdefs.h <<_ACEOF
31921#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31922_ACEOF
31923
31924 cat >>confdefs.h <<\_ACEOF
31925#define HAVE_SHL_LOAD 1
31926_ACEOF
31927
31928 HAVE_SHL_FUNCS=1
31929
31930else
31931
31932 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31933echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31934if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31935 echo $ECHO_N "(cached) $ECHO_C" >&6
31936else
31937 ac_check_lib_save_LIBS=$LIBS
31938LIBS="-lshl_load $LIBS"
31939cat >conftest.$ac_ext <<_ACEOF
31940#line $LINENO "configure"
31941/* confdefs.h. */
31942_ACEOF
31943cat confdefs.h >>conftest.$ac_ext
31944cat >>conftest.$ac_ext <<_ACEOF
31945/* end confdefs.h. */
31946
31947/* Override any gcc2 internal prototype to avoid an error. */
31948#ifdef __cplusplus
31949extern "C"
31950#endif
31951/* We use char because int might match the return type of a gcc2
31952 builtin and then its argument prototype would still apply. */
31953char dld ();
31954int
31955main ()
31956{
31957dld ();
31958 ;
31959 return 0;
31960}
31961_ACEOF
31962rm -f conftest.$ac_objext conftest$ac_exeext
31963if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31964 (eval $ac_link) 2>&5
31965 ac_status=$?
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } &&
31968 { ac_try='test -s conftest$ac_exeext'
31969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31970 (eval $ac_try) 2>&5
31971 ac_status=$?
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); }; }; then
31974 ac_cv_lib_shl_load_dld=yes
31975else
31976 echo "$as_me: failed program was:" >&5
31977sed 's/^/| /' conftest.$ac_ext >&5
31978
31979ac_cv_lib_shl_load_dld=no
31980fi
31981rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31982LIBS=$ac_check_lib_save_LIBS
31983fi
31984echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31985echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31986if test $ac_cv_lib_shl_load_dld = yes; then
31987
31988 HAVE_SHL_FUNCS=1
31989 DL_LINK=" -ldld$DL_LINK"
31990
31991fi
31992
31993
31994fi
31995done
31996
31997
31998fi
31999
32000
32001fi
32002done
32003
32004
32005 if test "$HAVE_DL_FUNCS" = 1; then
32006
32007for ac_func in dlerror
32008do
32009as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32010echo "$as_me:$LINENO: checking for $ac_func" >&5
32011echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32012if eval "test \"\${$as_ac_var+set}\" = set"; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32014else
32015 cat >conftest.$ac_ext <<_ACEOF
32016#line $LINENO "configure"
32017/* confdefs.h. */
32018_ACEOF
32019cat confdefs.h >>conftest.$ac_ext
32020cat >>conftest.$ac_ext <<_ACEOF
32021/* end confdefs.h. */
32022/* System header to define __stub macros and hopefully few prototypes,
32023 which can conflict with char $ac_func (); below.
32024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32025 <limits.h> exists even on freestanding compilers. */
32026#ifdef __STDC__
32027# include <limits.h>
32028#else
32029# include <assert.h>
32030#endif
32031/* Override any gcc2 internal prototype to avoid an error. */
32032#ifdef __cplusplus
32033extern "C"
32034{
32035#endif
32036/* We use char because int might match the return type of a gcc2
32037 builtin and then its argument prototype would still apply. */
32038char $ac_func ();
32039/* The GNU C library defines this for functions which it implements
32040 to always fail with ENOSYS. Some functions are actually named
32041 something starting with __ and the normal name is an alias. */
32042#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32043choke me
32044#else
32045char (*f) () = $ac_func;
32046#endif
32047#ifdef __cplusplus
32048}
32049#endif
32050
32051int
32052main ()
32053{
32054return f != $ac_func;
32055 ;
32056 return 0;
32057}
32058_ACEOF
32059rm -f conftest.$ac_objext conftest$ac_exeext
32060if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32061 (eval $ac_link) 2>&5
32062 ac_status=$?
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32068 ac_status=$?
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 eval "$as_ac_var=yes"
32072else
32073 echo "$as_me: failed program was:" >&5
32074sed 's/^/| /' conftest.$ac_ext >&5
32075
32076eval "$as_ac_var=no"
32077fi
32078rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32079fi
32080echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32081echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32082if test `eval echo '${'$as_ac_var'}'` = yes; then
32083 cat >>confdefs.h <<_ACEOF
32084#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32085_ACEOF
32086 cat >>confdefs.h <<\_ACEOF
32087#define HAVE_DLERROR 1
32088_ACEOF
32089
32090else
32091
32092 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32093echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32094if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32095 echo $ECHO_N "(cached) $ECHO_C" >&6
32096else
32097 ac_check_lib_save_LIBS=$LIBS
32098LIBS="-ldl $LIBS"
32099cat >conftest.$ac_ext <<_ACEOF
32100#line $LINENO "configure"
32101/* confdefs.h. */
32102_ACEOF
32103cat confdefs.h >>conftest.$ac_ext
32104cat >>conftest.$ac_ext <<_ACEOF
32105/* end confdefs.h. */
32106
32107/* Override any gcc2 internal prototype to avoid an error. */
32108#ifdef __cplusplus
32109extern "C"
32110#endif
32111/* We use char because int might match the return type of a gcc2
32112 builtin and then its argument prototype would still apply. */
32113char dlerror ();
32114int
32115main ()
32116{
32117dlerror ();
32118 ;
32119 return 0;
32120}
32121_ACEOF
32122rm -f conftest.$ac_objext conftest$ac_exeext
32123if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124 (eval $ac_link) 2>&5
32125 ac_status=$?
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } &&
32128 { ac_try='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32131 ac_status=$?
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 ac_cv_lib_dl_dlerror=yes
32135else
32136 echo "$as_me: failed program was:" >&5
32137sed 's/^/| /' conftest.$ac_ext >&5
32138
32139ac_cv_lib_dl_dlerror=no
32140fi
32141rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32142LIBS=$ac_check_lib_save_LIBS
32143fi
32144echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32145echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32146if test $ac_cv_lib_dl_dlerror = yes; then
32147 cat >>confdefs.h <<\_ACEOF
32148#define HAVE_DLERROR 1
32149_ACEOF
32150
32151fi
32152
32153
32154
32155fi
32156done
32157
32158 fi
32159 fi
32160
32161 if test "$HAVE_DL_FUNCS" = 0; then
32162 if test "$HAVE_SHL_FUNCS" = 0; then
32163 if test "$USE_UNIX" = 1; then
32164 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32165echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32166 wxUSE_DYNAMIC_LOADER=no
32167 wxUSE_DYNLIB_CLASS=no
32168 else
32169 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32170echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32171 fi
32172 fi
32173 fi
32174 fi
32175fi
32176
32177if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32178 cat >>confdefs.h <<\_ACEOF
32179#define wxUSE_DYNAMIC_LOADER 1
32180_ACEOF
32181
32182fi
32183if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32184 cat >>confdefs.h <<\_ACEOF
32185#define wxUSE_DYNLIB_CLASS 1
32186_ACEOF
32187
32188fi
32189
32190
32191if test "$wxUSE_FONTMAP" = "yes" ; then
32192 cat >>confdefs.h <<\_ACEOF
32193#define wxUSE_FONTMAP 1
32194_ACEOF
32195
32196fi
32197
32198if test "$wxUSE_UNICODE" = "yes" ; then
32199 cat >>confdefs.h <<\_ACEOF
32200#define wxUSE_UNICODE 1
32201_ACEOF
32202
32203
32204 if test "$USE_WIN32" != 1; then
32205 wxUSE_UNICODE_MSLU=no
32206 fi
32207
32208 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32209 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32210echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32211if test "${ac_cv_lib_unicows_main+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32213else
32214 ac_check_lib_save_LIBS=$LIBS
32215LIBS="-lunicows $LIBS"
32216cat >conftest.$ac_ext <<_ACEOF
32217#line $LINENO "configure"
32218/* confdefs.h. */
32219_ACEOF
32220cat confdefs.h >>conftest.$ac_ext
32221cat >>conftest.$ac_ext <<_ACEOF
32222/* end confdefs.h. */
32223
32224
32225int
32226main ()
32227{
32228main ();
32229 ;
32230 return 0;
32231}
32232_ACEOF
32233rm -f conftest.$ac_objext conftest$ac_exeext
32234if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32235 (eval $ac_link) 2>&5
32236 ac_status=$?
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); } &&
32239 { ac_try='test -s conftest$ac_exeext'
32240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32241 (eval $ac_try) 2>&5
32242 ac_status=$?
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; }; then
32245 ac_cv_lib_unicows_main=yes
32246else
32247 echo "$as_me: failed program was:" >&5
32248sed 's/^/| /' conftest.$ac_ext >&5
32249
32250ac_cv_lib_unicows_main=no
32251fi
32252rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32253LIBS=$ac_check_lib_save_LIBS
32254fi
32255echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32256echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32257if test $ac_cv_lib_unicows_main = yes; then
32258
32259 cat >>confdefs.h <<\_ACEOF
32260#define wxUSE_UNICODE_MSLU 1
32261_ACEOF
32262
32263
32264else
32265
32266 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32267 Applications will only run on Windows NT/2000/XP!" >&5
32268echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32269 Applications will only run on Windows NT/2000/XP!" >&2;}
32270 wxUSE_UNICODE_MSLU=no
32271
32272fi
32273
32274 fi
32275fi
32276
32277if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32278 cat >>confdefs.h <<\_ACEOF
32279#define wxUSE_EXPERIMENTAL_PRINTF 1
32280_ACEOF
32281
32282fi
32283
32284
32285if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32286 cat >>confdefs.h <<\_ACEOF
32287#define wxUSE_POSTSCRIPT 1
32288_ACEOF
32289
32290fi
32291
32292cat >>confdefs.h <<\_ACEOF
32293#define wxUSE_AFM_FOR_POSTSCRIPT 1
32294_ACEOF
32295
32296
32297cat >>confdefs.h <<\_ACEOF
32298#define wxUSE_NORMALIZED_PS_FONTS 1
32299_ACEOF
32300
32301
32302
32303if test "$wxUSE_CONSTRAINTS" = "yes"; then
32304 cat >>confdefs.h <<\_ACEOF
32305#define wxUSE_CONSTRAINTS 1
32306_ACEOF
32307
32308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32309fi
32310
32311if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32312 cat >>confdefs.h <<\_ACEOF
32313#define wxUSE_MDI_ARCHITECTURE 1
32314_ACEOF
32315
32316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32317fi
32318
32319if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32320 cat >>confdefs.h <<\_ACEOF
32321#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32322_ACEOF
32323
32324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32325 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32327 fi
32328fi
32329
32330if test "$wxUSE_HELP" = "yes"; then
32331 cat >>confdefs.h <<\_ACEOF
32332#define wxUSE_HELP 1
32333_ACEOF
32334
32335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32336
32337 if test "$wxUSE_MSW" = 1; then
32338 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32339 cat >>confdefs.h <<\_ACEOF
32340#define wxUSE_MS_HTML_HELP 1
32341_ACEOF
32342
32343 fi
32344 fi
32345
32346 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32347 if test "$wxUSE_HTML" = "yes"; then
32348 cat >>confdefs.h <<\_ACEOF
32349#define wxUSE_WXHTML_HELP 1
32350_ACEOF
32351
32352 else
32353 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32354echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32355 wxUSE_WXHTML_HELP=no
32356 fi
32357 fi
32358fi
32359
32360if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32361 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32362 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32363echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32364 else
32365 cat >>confdefs.h <<\_ACEOF
32366#define wxUSE_PRINTING_ARCHITECTURE 1
32367_ACEOF
32368
32369 fi
32370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32371fi
32372
32373if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32374 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32375echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32376 { (exit 1); exit 1; }; }
32377fi
32378
32379
32380if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32381 -o "$wxUSE_CLIPBOARD" = "yes" \
32382 -o "$wxUSE_OLE" = "yes" \
32383 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32384
32385for ac_header in ole2.h
32386do
32387as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32388if eval "test \"\${$as_ac_Header+set}\" = set"; then
32389 echo "$as_me:$LINENO: checking for $ac_header" >&5
32390echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32391if eval "test \"\${$as_ac_Header+set}\" = set"; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32393fi
32394echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32395echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32396else
32397 # Is the header compilable?
32398echo "$as_me:$LINENO: checking $ac_header usability" >&5
32399echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32400cat >conftest.$ac_ext <<_ACEOF
32401#line $LINENO "configure"
32402/* confdefs.h. */
32403_ACEOF
32404cat confdefs.h >>conftest.$ac_ext
32405cat >>conftest.$ac_ext <<_ACEOF
32406/* end confdefs.h. */
32407$ac_includes_default
32408#include <$ac_header>
32409_ACEOF
32410rm -f conftest.$ac_objext
32411if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32412 (eval $ac_compile) 2>&5
32413 ac_status=$?
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } &&
32416 { ac_try='test -s conftest.$ac_objext'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32419 ac_status=$?
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; }; then
32422 ac_header_compiler=yes
32423else
32424 echo "$as_me: failed program was:" >&5
32425sed 's/^/| /' conftest.$ac_ext >&5
32426
32427ac_header_compiler=no
32428fi
32429rm -f conftest.$ac_objext conftest.$ac_ext
32430echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32431echo "${ECHO_T}$ac_header_compiler" >&6
32432
32433# Is the header present?
32434echo "$as_me:$LINENO: checking $ac_header presence" >&5
32435echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32436cat >conftest.$ac_ext <<_ACEOF
32437#line $LINENO "configure"
32438/* confdefs.h. */
32439_ACEOF
32440cat confdefs.h >>conftest.$ac_ext
32441cat >>conftest.$ac_ext <<_ACEOF
32442/* end confdefs.h. */
32443#include <$ac_header>
32444_ACEOF
32445if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32447 ac_status=$?
32448 grep -v '^ *+' conftest.er1 >conftest.err
32449 rm -f conftest.er1
32450 cat conftest.err >&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } >/dev/null; then
32453 if test -s conftest.err; then
32454 ac_cpp_err=$ac_c_preproc_warn_flag
32455 else
32456 ac_cpp_err=
32457 fi
32458else
32459 ac_cpp_err=yes
32460fi
32461if test -z "$ac_cpp_err"; then
32462 ac_header_preproc=yes
32463else
32464 echo "$as_me: failed program was:" >&5
32465sed 's/^/| /' conftest.$ac_ext >&5
32466
32467 ac_header_preproc=no
32468fi
32469rm -f conftest.err conftest.$ac_ext
32470echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32471echo "${ECHO_T}$ac_header_preproc" >&6
32472
32473# So? What about this header?
32474case $ac_header_compiler:$ac_header_preproc in
32475 yes:no )
32476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32477echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32479echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32480 (
32481 cat <<\_ASBOX
32482## ------------------------------------ ##
32483## Report this to bug-autoconf@gnu.org. ##
32484## ------------------------------------ ##
32485_ASBOX
32486 ) |
32487 sed "s/^/$as_me: WARNING: /" >&2
32488 ;;
32489 no:yes )
32490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32491echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32493echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32495echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32496 (
32497 cat <<\_ASBOX
32498## ------------------------------------ ##
32499## Report this to bug-autoconf@gnu.org. ##
32500## ------------------------------------ ##
32501_ASBOX
32502 ) |
32503 sed "s/^/$as_me: WARNING: /" >&2
32504 ;;
32505esac
32506echo "$as_me:$LINENO: checking for $ac_header" >&5
32507echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32508if eval "test \"\${$as_ac_Header+set}\" = set"; then
32509 echo $ECHO_N "(cached) $ECHO_C" >&6
32510else
32511 eval "$as_ac_Header=$ac_header_preproc"
32512fi
32513echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32514echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32515
32516fi
32517if test `eval echo '${'$as_ac_Header'}'` = yes; then
32518 cat >>confdefs.h <<_ACEOF
32519#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32520_ACEOF
32521
32522fi
32523
32524done
32525
32526
32527 if test "$ac_cv_header_ole2_h" = "yes" ; then
32528 if test "$GCC" = yes ; then
32529
32530
32531 ac_ext=cc
32532ac_cpp='$CXXCPP $CPPFLAGS'
32533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32536
32537
32538 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32539echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32540 cat >conftest.$ac_ext <<_ACEOF
32541#line $LINENO "configure"
32542/* confdefs.h. */
32543_ACEOF
32544cat confdefs.h >>conftest.$ac_ext
32545cat >>conftest.$ac_ext <<_ACEOF
32546/* end confdefs.h. */
32547#include <windows.h>
32548 #include <ole2.h>
32549int
32550main ()
32551{
32552
32553 ;
32554 return 0;
32555}
32556_ACEOF
32557rm -f conftest.$ac_objext
32558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32559 (eval $ac_compile) 2>&5
32560 ac_status=$?
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try='test -s conftest.$ac_objext'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32566 ac_status=$?
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; }; then
32569 echo "$as_me:$LINENO: result: no" >&5
32570echo "${ECHO_T}no" >&6
32571else
32572 echo "$as_me: failed program was:" >&5
32573sed 's/^/| /' conftest.$ac_ext >&5
32574
32575echo "$as_me:$LINENO: result: yes" >&5
32576echo "${ECHO_T}yes" >&6
32577 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32578fi
32579rm -f conftest.$ac_objext conftest.$ac_ext
32580 ac_ext=c
32581ac_cpp='$CPP $CPPFLAGS'
32582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584ac_compiler_gnu=$ac_cv_c_compiler_gnu
32585
32586 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32587 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32588 cat >>confdefs.h <<\_ACEOF
32589#define wxUSE_OLE 1
32590_ACEOF
32591
32592
32593 fi
32594
32595 cat >>confdefs.h <<\_ACEOF
32596#define wxUSE_DATAOBJ 1
32597_ACEOF
32598
32599 else
32600 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32601echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32602
32603 wxUSE_CLIPBOARD=no
32604 wxUSE_DRAG_AND_DROP=no
32605 wxUSE_DATAOBJ=no
32606 wxUSE_OLE=no
32607 fi
32608
32609 if test "$wxUSE_METAFILE" = "yes"; then
32610 cat >>confdefs.h <<\_ACEOF
32611#define wxUSE_METAFILE 1
32612_ACEOF
32613
32614
32615 cat >>confdefs.h <<\_ACEOF
32616#define wxUSE_ENH_METAFILE 1
32617_ACEOF
32618
32619 fi
32620fi
32621
32622if test "$wxUSE_IPC" = "yes"; then
32623 if test "$wxUSE_SOCKETS" != "yes"; then
32624 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32625echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32626 fi
32627
32628 cat >>confdefs.h <<\_ACEOF
32629#define wxUSE_IPC 1
32630_ACEOF
32631
32632fi
32633
32634if test "$wxUSE_CLIPBOARD" = "yes"; then
32635 if test "$wxUSE_MGL" = 1; then
32636 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32637echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32638 wxUSE_CLIPBOARD=no
32639 fi
32640
32641 if test "$wxUSE_CLIPBOARD" = "yes"; then
32642 cat >>confdefs.h <<\_ACEOF
32643#define wxUSE_CLIPBOARD 1
32644_ACEOF
32645
32646
32647 cat >>confdefs.h <<\_ACEOF
32648#define wxUSE_DATAOBJ 1
32649_ACEOF
32650
32651 fi
32652fi
32653
32654if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32655 if test "$wxUSE_GTK" = 1; then
32656 if test "$WXGTK12" != 1; then
32657 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32658echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32659 wxUSE_DRAG_AND_DROP=no
32660 fi
32661 fi
32662
32663 if test "$wxUSE_MOTIF" = 1; then
32664 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32665echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32666 wxUSE_DRAG_AND_DROP=no
32667 fi
32668
32669 if test "$wxUSE_X11" = 1; then
32670 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32671echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32672 wxUSE_DRAG_AND_DROP=no
32673 fi
32674
32675 if test "$wxUSE_MGL" = 1; then
32676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32677echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32678 wxUSE_DRAG_AND_DROP=no
32679 fi
32680
32681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32682 cat >>confdefs.h <<\_ACEOF
32683#define wxUSE_DRAG_AND_DROP 1
32684_ACEOF
32685
32686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32687 fi
32688
32689fi
32690
32691if test "$wxUSE_SPLINES" = "yes" ; then
32692 cat >>confdefs.h <<\_ACEOF
32693#define wxUSE_SPLINES 1
32694_ACEOF
32695
32696fi
32697
32698
32699USES_CONTROLS=0
32700if test "$wxUSE_CONTROLS" = "yes"; then
32701 USES_CONTROLS=1
32702fi
32703
32704if test "$wxUSE_ACCEL" = "yes"; then
32705 cat >>confdefs.h <<\_ACEOF
32706#define wxUSE_ACCEL 1
32707_ACEOF
32708
32709 USES_CONTROLS=1
32710fi
32711
32712if test "$wxUSE_BUTTON" = "yes"; then
32713 cat >>confdefs.h <<\_ACEOF
32714#define wxUSE_BUTTON 1
32715_ACEOF
32716
32717 USES_CONTROLS=1
32718fi
32719
32720if test "$wxUSE_BMPBUTTON" = "yes"; then
32721 cat >>confdefs.h <<\_ACEOF
32722#define wxUSE_BMPBUTTON 1
32723_ACEOF
32724
32725 USES_CONTROLS=1
32726fi
32727
32728if test "$wxUSE_CALCTRL" = "yes"; then
32729 cat >>confdefs.h <<\_ACEOF
32730#define wxUSE_CALENDARCTRL 1
32731_ACEOF
32732
32733 USES_CONTROLS=1
32734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32735fi
32736
32737if test "$wxUSE_CARET" = "yes"; then
32738 cat >>confdefs.h <<\_ACEOF
32739#define wxUSE_CARET 1
32740_ACEOF
32741
32742 USES_CONTROLS=1
32743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32744fi
32745
32746if test "$wxUSE_COMBOBOX" = "yes"; then
32747 cat >>confdefs.h <<\_ACEOF
32748#define wxUSE_COMBOBOX 1
32749_ACEOF
32750
32751 USES_CONTROLS=1
32752fi
32753
32754if test "$wxUSE_CHOICE" = "yes"; then
32755 cat >>confdefs.h <<\_ACEOF
32756#define wxUSE_CHOICE 1
32757_ACEOF
32758
32759 USES_CONTROLS=1
32760fi
32761
32762if test "$wxUSE_CHECKBOX" = "yes"; then
32763 cat >>confdefs.h <<\_ACEOF
32764#define wxUSE_CHECKBOX 1
32765_ACEOF
32766
32767 USES_CONTROLS=1
32768fi
32769
32770if test "$wxUSE_CHECKLST" = "yes"; then
32771 cat >>confdefs.h <<\_ACEOF
32772#define wxUSE_CHECKLISTBOX 1
32773_ACEOF
32774
32775 USES_CONTROLS=1
32776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32777fi
32778
32779if test "$wxUSE_DISPLAY" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781#define wxUSE_DISPLAY 1
32782_ACEOF
32783
32784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32785fi
32786
32787if test "$wxUSE_GAUGE" = "yes"; then
32788 cat >>confdefs.h <<\_ACEOF
32789#define wxUSE_GAUGE 1
32790_ACEOF
32791
32792 USES_CONTROLS=1
32793fi
32794
32795if test "$wxUSE_GRID" = "yes"; then
32796 cat >>confdefs.h <<\_ACEOF
32797#define wxUSE_GRID 1
32798_ACEOF
32799
32800 USES_CONTROLS=1
32801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32802fi
32803
32804if test "$wxUSE_IMAGLIST" = "yes"; then
32805 cat >>confdefs.h <<\_ACEOF
32806#define wxUSE_IMAGLIST 1
32807_ACEOF
32808
32809fi
32810
32811if test "$wxUSE_LISTBOOK" = "yes"; then
32812 cat >>confdefs.h <<\_ACEOF
32813#define wxUSE_LISTBOOK 1
32814_ACEOF
32815
32816 USES_CONTROLS=1
32817fi
32818
32819if test "$wxUSE_LISTBOX" = "yes"; then
32820 cat >>confdefs.h <<\_ACEOF
32821#define wxUSE_LISTBOX 1
32822_ACEOF
32823
32824 USES_CONTROLS=1
32825fi
32826
32827if test "$wxUSE_LISTCTRL" = "yes"; then
32828 if test "$wxUSE_IMAGLIST" = "yes"; then
32829 cat >>confdefs.h <<\_ACEOF
32830#define wxUSE_LISTCTRL 1
32831_ACEOF
32832
32833 USES_CONTROLS=1
32834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32835 else
32836 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32837echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32838 fi
32839fi
32840
32841if test "$wxUSE_NOTEBOOK" = "yes"; then
32842 cat >>confdefs.h <<\_ACEOF
32843#define wxUSE_NOTEBOOK 1
32844_ACEOF
32845
32846 USES_CONTROLS=1
32847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32848fi
32849
32850
32851if test "$wxUSE_RADIOBOX" = "yes"; then
32852 cat >>confdefs.h <<\_ACEOF
32853#define wxUSE_RADIOBOX 1
32854_ACEOF
32855
32856 USES_CONTROLS=1
32857fi
32858
32859if test "$wxUSE_RADIOBTN" = "yes"; then
32860 cat >>confdefs.h <<\_ACEOF
32861#define wxUSE_RADIOBTN 1
32862_ACEOF
32863
32864 USES_CONTROLS=1
32865fi
32866
32867if test "$wxUSE_SASH" = "yes"; then
32868 cat >>confdefs.h <<\_ACEOF
32869#define wxUSE_SASH 1
32870_ACEOF
32871
32872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32873fi
32874
32875if test "$wxUSE_SCROLLBAR" = "yes"; then
32876 cat >>confdefs.h <<\_ACEOF
32877#define wxUSE_SCROLLBAR 1
32878_ACEOF
32879
32880 USES_CONTROLS=1
32881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32882fi
32883
32884if test "$wxUSE_SLIDER" = "yes"; then
32885 cat >>confdefs.h <<\_ACEOF
32886#define wxUSE_SLIDER 1
32887_ACEOF
32888
32889 USES_CONTROLS=1
32890fi
32891
32892if test "$wxUSE_SPINBTN" = "yes"; then
32893 cat >>confdefs.h <<\_ACEOF
32894#define wxUSE_SPINBTN 1
32895_ACEOF
32896
32897 USES_CONTROLS=1
32898fi
32899
32900if test "$wxUSE_SPINCTRL" = "yes"; then
32901 cat >>confdefs.h <<\_ACEOF
32902#define wxUSE_SPINCTRL 1
32903_ACEOF
32904
32905 USES_CONTROLS=1
32906fi
32907
32908if test "$wxUSE_SPLITTER" = "yes"; then
32909 cat >>confdefs.h <<\_ACEOF
32910#define wxUSE_SPLITTER 1
32911_ACEOF
32912
32913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32914fi
32915
32916if test "$wxUSE_STATBMP" = "yes"; then
32917 cat >>confdefs.h <<\_ACEOF
32918#define wxUSE_STATBMP 1
32919_ACEOF
32920
32921 USES_CONTROLS=1
32922fi
32923
32924if test "$wxUSE_STATBOX" = "yes"; then
32925 cat >>confdefs.h <<\_ACEOF
32926#define wxUSE_STATBOX 1
32927_ACEOF
32928
32929 USES_CONTROLS=1
32930fi
32931
32932if test "$wxUSE_STATTEXT" = "yes"; then
32933 cat >>confdefs.h <<\_ACEOF
32934#define wxUSE_STATTEXT 1
32935_ACEOF
32936
32937 USES_CONTROLS=1
32938fi
32939
32940if test "$wxUSE_STATLINE" = "yes"; then
32941 cat >>confdefs.h <<\_ACEOF
32942#define wxUSE_STATLINE 1
32943_ACEOF
32944
32945 USES_CONTROLS=1
32946fi
32947
32948if test "$wxUSE_STATUSBAR" = "yes"; then
32949 cat >>confdefs.h <<\_ACEOF
32950#define wxUSE_STATUSBAR 1
32951_ACEOF
32952
32953 USES_CONTROLS=1
32954
32955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32956fi
32957
32958if test "$wxUSE_TABDIALOG" = "yes"; then
32959 cat >>confdefs.h <<\_ACEOF
32960#define wxUSE_TAB_DIALOG 1
32961_ACEOF
32962
32963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32964fi
32965
32966if test "$wxUSE_TEXTCTRL" = "yes"; then
32967 cat >>confdefs.h <<\_ACEOF
32968#define wxUSE_TEXTCTRL 1
32969_ACEOF
32970
32971 USES_CONTROLS=1
32972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32973fi
32974
32975if test "$wxUSE_TOGGLEBTN" = "yes"; then
32976 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32977 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32978echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32979 wxUSE_TOGGLEBTN=no
32980 fi
32981 if test "$wxUSE_UNIVERSAL" = "yes"; then
32982 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32983echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32984 wxUSE_TOGGLEBTN=no
32985 fi
32986
32987 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32988 cat >>confdefs.h <<\_ACEOF
32989#define wxUSE_TOGGLEBTN 1
32990_ACEOF
32991
32992 USES_CONTROLS=1
32993 fi
32994fi
32995
32996if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32997 cat >>confdefs.h <<\_ACEOF
32998#define wxUSE_TOOLBAR_SIMPLE 1
32999_ACEOF
33000
33001 wxUSE_TOOLBAR="yes"
33002 USES_CONTROLS=1
33003fi
33004
33005if test "$wxUSE_TOOLBAR" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007#define wxUSE_TOOLBAR 1
33008_ACEOF
33009
33010 USES_CONTROLS=1
33011
33012 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33013 wxUSE_TOOLBAR_NATIVE="yes"
33014 fi
33015
33016 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33017 cat >>confdefs.h <<\_ACEOF
33018#define wxUSE_TOOLBAR_NATIVE 1
33019_ACEOF
33020
33021 USES_CONTROLS=1
33022 fi
33023
33024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33025fi
33026
33027if test "$wxUSE_TOOLTIPS" = "yes"; then
33028 if test "$wxUSE_MOTIF" = 1; then
33029 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33030echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33031 else
33032 if test "$wxUSE_UNIVERSAL" = "yes"; then
33033 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33034echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33035 else
33036 cat >>confdefs.h <<\_ACEOF
33037#define wxUSE_TOOLTIPS 1
33038_ACEOF
33039
33040 fi
33041 fi
33042fi
33043
33044if test "$wxUSE_TREECTRL" = "yes"; then
33045 if test "$wxUSE_IMAGLIST" = "yes"; then
33046 cat >>confdefs.h <<\_ACEOF
33047#define wxUSE_TREECTRL 1
33048_ACEOF
33049
33050 USES_CONTROLS=1
33051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33052 else
33053 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33054echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33055 fi
33056fi
33057
33058if test "$wxUSE_POPUPWIN" = "yes"; then
33059 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33060 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33061echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33062 else
33063 if test "$wxUSE_MOTIF" = 1; then
33064 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33065echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33066 else
33067 if test "$wxUSE_PM" = 1; then
33068 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33069echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33070 else
33071 cat >>confdefs.h <<\_ACEOF
33072#define wxUSE_POPUPWIN 1
33073_ACEOF
33074
33075
33076 USES_CONTROLS=1
33077 fi
33078 fi
33079 fi
33080fi
33081
33082if test "$wxUSE_TIPWINDOW" = "yes"; then
33083 if test "$wxUSE_PM" = 1; then
33084 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33085echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33086 else
33087 cat >>confdefs.h <<\_ACEOF
33088#define wxUSE_TIPWINDOW 1
33089_ACEOF
33090
33091 fi
33092fi
33093
33094if test "$USES_CONTROLS" = 1; then
33095 cat >>confdefs.h <<\_ACEOF
33096#define wxUSE_CONTROLS 1
33097_ACEOF
33098
33099fi
33100
33101
33102if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33103 cat >>confdefs.h <<\_ACEOF
33104#define wxUSE_ACCESSIBILITY 1
33105_ACEOF
33106
33107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33108fi
33109
33110if test "$wxUSE_DRAGIMAGE" = "yes"; then
33111 cat >>confdefs.h <<\_ACEOF
33112#define wxUSE_DRAGIMAGE 1
33113_ACEOF
33114
33115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33116fi
33117
33118if test "$wxUSE_EXCEPTIONS" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120#define wxUSE_EXCEPTIONS 1
33121_ACEOF
33122
33123fi
33124
33125USE_HTML=0
33126if test "$wxUSE_HTML" = "yes"; then
33127 cat >>confdefs.h <<\_ACEOF
33128#define wxUSE_HTML 1
33129_ACEOF
33130
33131 USE_HTML=1
33132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33133fi
33134
33135if test "$wxUSE_MENUS" = "yes"; then
33136 cat >>confdefs.h <<\_ACEOF
33137#define wxUSE_MENUS 1
33138_ACEOF
33139
33140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33141fi
33142
33143if test "$wxUSE_METAFILE" = "yes"; then
33144 cat >>confdefs.h <<\_ACEOF
33145#define wxUSE_METAFILE 1
33146_ACEOF
33147
33148fi
33149
33150if test "$wxUSE_MIMETYPE" = "yes"; then
33151 cat >>confdefs.h <<\_ACEOF
33152#define wxUSE_MIMETYPE 1
33153_ACEOF
33154
33155fi
33156
33157if test "$wxUSE_MINIFRAME" = "yes"; then
33158 cat >>confdefs.h <<\_ACEOF
33159#define wxUSE_MINIFRAME 1
33160_ACEOF
33161
33162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33163fi
33164
33165if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33166 cat >>confdefs.h <<\_ACEOF
33167#define wxUSE_SYSTEM_OPTIONS 1
33168_ACEOF
33169
33170 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33171 "$TOOLKIT" = "MOTIF"; then
33172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33173 fi
33174fi
33175
33176
33177if test "$wxUSE_VALIDATORS" = "yes"; then
33178 cat >>confdefs.h <<\_ACEOF
33179#define wxUSE_VALIDATORS 1
33180_ACEOF
33181
33182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33183fi
33184
33185if test "$wxUSE_PALETTE" = "yes" ; then
33186 cat >>confdefs.h <<\_ACEOF
33187#define wxUSE_PALETTE 1
33188_ACEOF
33189
33190fi
33191
33192if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33193 LIBS=" -lunicows $LIBS"
33194fi
33195
33196
33197if test "$wxUSE_IMAGE" = "yes" ; then
33198 cat >>confdefs.h <<\_ACEOF
33199#define wxUSE_IMAGE 1
33200_ACEOF
33201
33202
33203 if test "$wxUSE_GIF" = "yes" ; then
33204 cat >>confdefs.h <<\_ACEOF
33205#define wxUSE_GIF 1
33206_ACEOF
33207
33208 fi
33209
33210 if test "$wxUSE_PCX" = "yes" ; then
33211 cat >>confdefs.h <<\_ACEOF
33212#define wxUSE_PCX 1
33213_ACEOF
33214
33215 fi
33216
33217 if test "$wxUSE_IFF" = "yes" ; then
33218 cat >>confdefs.h <<\_ACEOF
33219#define wxUSE_IFF 1
33220_ACEOF
33221
33222 fi
33223
33224 if test "$wxUSE_PNM" = "yes" ; then
33225 cat >>confdefs.h <<\_ACEOF
33226#define wxUSE_PNM 1
33227_ACEOF
33228
33229 fi
33230
33231 if test "$wxUSE_XPM" = "yes" ; then
33232 cat >>confdefs.h <<\_ACEOF
33233#define wxUSE_XPM 1
33234_ACEOF
33235
33236 fi
33237
33238 if test "$wxUSE_ICO_CUR" = "yes" ; then
33239 cat >>confdefs.h <<\_ACEOF
33240#define wxUSE_ICO_CUR 1
33241_ACEOF
33242
33243 fi
33244fi
33245
33246
33247if test "$wxUSE_CHOICEDLG" = "yes"; then
33248 cat >>confdefs.h <<\_ACEOF
33249#define wxUSE_CHOICEDLG 1
33250_ACEOF
33251
33252fi
33253
33254if test "$wxUSE_COLOURDLG" = "yes"; then
33255 cat >>confdefs.h <<\_ACEOF
33256#define wxUSE_COLOURDLG 1
33257_ACEOF
33258
33259fi
33260
33261if test "$wxUSE_FILEDLG" = "yes"; then
33262 cat >>confdefs.h <<\_ACEOF
33263#define wxUSE_FILEDLG 1
33264_ACEOF
33265
33266fi
33267
33268if test "$wxUSE_FINDREPLDLG" = "yes"; then
33269 cat >>confdefs.h <<\_ACEOF
33270#define wxUSE_FINDREPLDLG 1
33271_ACEOF
33272
33273fi
33274
33275if test "$wxUSE_FONTDLG" = "yes"; then
33276 cat >>confdefs.h <<\_ACEOF
33277#define wxUSE_FONTDLG 1
33278_ACEOF
33279
33280fi
33281
33282if test "$wxUSE_DIRDLG" = "yes"; then
33283 if test "$wxUSE_TREECTRL" != "yes"; then
33284 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33285echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33286 else
33287 cat >>confdefs.h <<\_ACEOF
33288#define wxUSE_DIRDLG 1
33289_ACEOF
33290
33291 fi
33292fi
33293
33294if test "$wxUSE_MSGDLG" = "yes"; then
33295 cat >>confdefs.h <<\_ACEOF
33296#define wxUSE_MSGDLG 1
33297_ACEOF
33298
33299fi
33300
33301if test "$wxUSE_NUMBERDLG" = "yes"; then
33302 cat >>confdefs.h <<\_ACEOF
33303#define wxUSE_NUMBERDLG 1
33304_ACEOF
33305
33306fi
33307
33308if test "$wxUSE_PROGRESSDLG" = "yes"; then
33309 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33310 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33311echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33312 else
33313 cat >>confdefs.h <<\_ACEOF
33314#define wxUSE_PROGRESSDLG 1
33315_ACEOF
33316
33317 fi
33318fi
33319
33320if test "$wxUSE_SPLASH" = "yes"; then
33321 cat >>confdefs.h <<\_ACEOF
33322#define wxUSE_SPLASH 1
33323_ACEOF
33324
33325fi
33326
33327if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33328 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33329 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33330echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33331 else
33332 cat >>confdefs.h <<\_ACEOF
33333#define wxUSE_STARTUP_TIPS 1
33334_ACEOF
33335
33336 fi
33337fi
33338
33339if test "$wxUSE_TEXTDLG" = "yes"; then
33340 cat >>confdefs.h <<\_ACEOF
33341#define wxUSE_TEXTDLG 1
33342_ACEOF
33343
33344fi
33345
33346if test "$wxUSE_WIZARDDLG" = "yes"; then
33347 cat >>confdefs.h <<\_ACEOF
33348#define wxUSE_WIZARDDLG 1
33349_ACEOF
33350
33351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33352fi
33353
33354
33355if test "$cross_compiling" = "yes"; then
33356 OSINFO="\"$host\""
33357else
33358 OSINFO=`uname -s -r -m`
33359 OSINFO="\"$OSINFO\""
33360fi
33361
33362cat >>confdefs.h <<_ACEOF
33363#define WXWIN_OS_DESCRIPTION $OSINFO
33364_ACEOF
33365
33366
33367
33368if test "x$prefix" != "xNONE"; then
33369 wxPREFIX=$prefix
33370else
33371 wxPREFIX=$ac_default_prefix
33372fi
33373
33374cat >>confdefs.h <<_ACEOF
33375#define wxINSTALL_PREFIX "$wxPREFIX"
33376_ACEOF
33377
33378
33379top_builddir_wxconfig=`pwd`
33380
33381
33382
33383CORE_BASE_LIBS="net base"
33384CORE_GUI_LIBS="adv core"
33385
33386if test "$wxUSE_XML" = "yes" ; then
33387 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33388fi
33389if test "$wxUSE_ODBC" != "no" ; then
33390 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33391 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33392fi
33393if test "$wxUSE_HTML" = "yes" ; then
33394 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33395fi
33396
33397if test "$wxUSE_GUI" != "yes"; then
33398 CORE_GUI_LIBS=""
33399fi
33400
33401
33402
33403
33404
33405
33406
33407
33408if test "$wxUSE_MAC" = 1 ; then
33409 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33410fi
33411if test "$wxUSE_COCOA" = 1 ; then
33412 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33413fi
33414
33415
33416LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33417
33418have_cos=0
33419have_floor=0
33420
33421for ac_func in cos
33422do
33423as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33424echo "$as_me:$LINENO: checking for $ac_func" >&5
33425echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33426if eval "test \"\${$as_ac_var+set}\" = set"; then
33427 echo $ECHO_N "(cached) $ECHO_C" >&6
33428else
33429 cat >conftest.$ac_ext <<_ACEOF
33430#line $LINENO "configure"
33431/* confdefs.h. */
33432_ACEOF
33433cat confdefs.h >>conftest.$ac_ext
33434cat >>conftest.$ac_ext <<_ACEOF
33435/* end confdefs.h. */
33436/* System header to define __stub macros and hopefully few prototypes,
33437 which can conflict with char $ac_func (); below.
33438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33439 <limits.h> exists even on freestanding compilers. */
33440#ifdef __STDC__
33441# include <limits.h>
33442#else
33443# include <assert.h>
33444#endif
33445/* Override any gcc2 internal prototype to avoid an error. */
33446#ifdef __cplusplus
33447extern "C"
33448{
33449#endif
33450/* We use char because int might match the return type of a gcc2
33451 builtin and then its argument prototype would still apply. */
33452char $ac_func ();
33453/* The GNU C library defines this for functions which it implements
33454 to always fail with ENOSYS. Some functions are actually named
33455 something starting with __ and the normal name is an alias. */
33456#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33457choke me
33458#else
33459char (*f) () = $ac_func;
33460#endif
33461#ifdef __cplusplus
33462}
33463#endif
33464
33465int
33466main ()
33467{
33468return f != $ac_func;
33469 ;
33470 return 0;
33471}
33472_ACEOF
33473rm -f conftest.$ac_objext conftest$ac_exeext
33474if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33475 (eval $ac_link) 2>&5
33476 ac_status=$?
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } &&
33479 { ac_try='test -s conftest$ac_exeext'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33482 ac_status=$?
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; }; then
33485 eval "$as_ac_var=yes"
33486else
33487 echo "$as_me: failed program was:" >&5
33488sed 's/^/| /' conftest.$ac_ext >&5
33489
33490eval "$as_ac_var=no"
33491fi
33492rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33493fi
33494echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33495echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33496if test `eval echo '${'$as_ac_var'}'` = yes; then
33497 cat >>confdefs.h <<_ACEOF
33498#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33499_ACEOF
33500 have_cos=1
33501fi
33502done
33503
33504
33505for ac_func in floor
33506do
33507as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33508echo "$as_me:$LINENO: checking for $ac_func" >&5
33509echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33510if eval "test \"\${$as_ac_var+set}\" = set"; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33512else
33513 cat >conftest.$ac_ext <<_ACEOF
33514#line $LINENO "configure"
33515/* confdefs.h. */
33516_ACEOF
33517cat confdefs.h >>conftest.$ac_ext
33518cat >>conftest.$ac_ext <<_ACEOF
33519/* end confdefs.h. */
33520/* System header to define __stub macros and hopefully few prototypes,
33521 which can conflict with char $ac_func (); below.
33522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33523 <limits.h> exists even on freestanding compilers. */
33524#ifdef __STDC__
33525# include <limits.h>
33526#else
33527# include <assert.h>
33528#endif
33529/* Override any gcc2 internal prototype to avoid an error. */
33530#ifdef __cplusplus
33531extern "C"
33532{
33533#endif
33534/* We use char because int might match the return type of a gcc2
33535 builtin and then its argument prototype would still apply. */
33536char $ac_func ();
33537/* The GNU C library defines this for functions which it implements
33538 to always fail with ENOSYS. Some functions are actually named
33539 something starting with __ and the normal name is an alias. */
33540#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33541choke me
33542#else
33543char (*f) () = $ac_func;
33544#endif
33545#ifdef __cplusplus
33546}
33547#endif
33548
33549int
33550main ()
33551{
33552return f != $ac_func;
33553 ;
33554 return 0;
33555}
33556_ACEOF
33557rm -f conftest.$ac_objext conftest$ac_exeext
33558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33559 (eval $ac_link) 2>&5
33560 ac_status=$?
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } &&
33563 { ac_try='test -s conftest$ac_exeext'
33564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33565 (eval $ac_try) 2>&5
33566 ac_status=$?
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); }; }; then
33569 eval "$as_ac_var=yes"
33570else
33571 echo "$as_me: failed program was:" >&5
33572sed 's/^/| /' conftest.$ac_ext >&5
33573
33574eval "$as_ac_var=no"
33575fi
33576rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33577fi
33578echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33579echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33580if test `eval echo '${'$as_ac_var'}'` = yes; then
33581 cat >>confdefs.h <<_ACEOF
33582#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33583_ACEOF
33584 have_floor=1
33585fi
33586done
33587
33588echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33589echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33590if test "$have_cos" = 1 -a "$have_floor" = 1; then
33591 echo "$as_me:$LINENO: result: yes" >&5
33592echo "${ECHO_T}yes" >&6
33593else
33594 echo "$as_me:$LINENO: result: no" >&5
33595echo "${ECHO_T}no" >&6
33596 LIBS="$LIBS -lm"
33597 # use different functions to avoid configure caching
33598 have_sin=0
33599 have_ceil=0
33600
33601for ac_func in sin
33602do
33603as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33604echo "$as_me:$LINENO: checking for $ac_func" >&5
33605echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33606if eval "test \"\${$as_ac_var+set}\" = set"; then
33607 echo $ECHO_N "(cached) $ECHO_C" >&6
33608else
33609 cat >conftest.$ac_ext <<_ACEOF
33610#line $LINENO "configure"
33611/* confdefs.h. */
33612_ACEOF
33613cat confdefs.h >>conftest.$ac_ext
33614cat >>conftest.$ac_ext <<_ACEOF
33615/* end confdefs.h. */
33616/* System header to define __stub macros and hopefully few prototypes,
33617 which can conflict with char $ac_func (); below.
33618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33619 <limits.h> exists even on freestanding compilers. */
33620#ifdef __STDC__
33621# include <limits.h>
33622#else
33623# include <assert.h>
33624#endif
33625/* Override any gcc2 internal prototype to avoid an error. */
33626#ifdef __cplusplus
33627extern "C"
33628{
33629#endif
33630/* We use char because int might match the return type of a gcc2
33631 builtin and then its argument prototype would still apply. */
33632char $ac_func ();
33633/* The GNU C library defines this for functions which it implements
33634 to always fail with ENOSYS. Some functions are actually named
33635 something starting with __ and the normal name is an alias. */
33636#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33637choke me
33638#else
33639char (*f) () = $ac_func;
33640#endif
33641#ifdef __cplusplus
33642}
33643#endif
33644
33645int
33646main ()
33647{
33648return f != $ac_func;
33649 ;
33650 return 0;
33651}
33652_ACEOF
33653rm -f conftest.$ac_objext conftest$ac_exeext
33654if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33655 (eval $ac_link) 2>&5
33656 ac_status=$?
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } &&
33659 { ac_try='test -s conftest$ac_exeext'
33660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33661 (eval $ac_try) 2>&5
33662 ac_status=$?
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); }; }; then
33665 eval "$as_ac_var=yes"
33666else
33667 echo "$as_me: failed program was:" >&5
33668sed 's/^/| /' conftest.$ac_ext >&5
33669
33670eval "$as_ac_var=no"
33671fi
33672rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33673fi
33674echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33675echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33676if test `eval echo '${'$as_ac_var'}'` = yes; then
33677 cat >>confdefs.h <<_ACEOF
33678#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33679_ACEOF
33680 have_sin=1
33681fi
33682done
33683
33684
33685for ac_func in ceil
33686do
33687as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33688echo "$as_me:$LINENO: checking for $ac_func" >&5
33689echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33690if eval "test \"\${$as_ac_var+set}\" = set"; then
33691 echo $ECHO_N "(cached) $ECHO_C" >&6
33692else
33693 cat >conftest.$ac_ext <<_ACEOF
33694#line $LINENO "configure"
33695/* confdefs.h. */
33696_ACEOF
33697cat confdefs.h >>conftest.$ac_ext
33698cat >>conftest.$ac_ext <<_ACEOF
33699/* end confdefs.h. */
33700/* System header to define __stub macros and hopefully few prototypes,
33701 which can conflict with char $ac_func (); below.
33702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33703 <limits.h> exists even on freestanding compilers. */
33704#ifdef __STDC__
33705# include <limits.h>
33706#else
33707# include <assert.h>
33708#endif
33709/* Override any gcc2 internal prototype to avoid an error. */
33710#ifdef __cplusplus
33711extern "C"
33712{
33713#endif
33714/* We use char because int might match the return type of a gcc2
33715 builtin and then its argument prototype would still apply. */
33716char $ac_func ();
33717/* The GNU C library defines this for functions which it implements
33718 to always fail with ENOSYS. Some functions are actually named
33719 something starting with __ and the normal name is an alias. */
33720#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33721choke me
33722#else
33723char (*f) () = $ac_func;
33724#endif
33725#ifdef __cplusplus
33726}
33727#endif
33728
33729int
33730main ()
33731{
33732return f != $ac_func;
33733 ;
33734 return 0;
33735}
33736_ACEOF
33737rm -f conftest.$ac_objext conftest$ac_exeext
33738if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33739 (eval $ac_link) 2>&5
33740 ac_status=$?
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } &&
33743 { ac_try='test -s conftest$ac_exeext'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33746 ac_status=$?
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; }; then
33749 eval "$as_ac_var=yes"
33750else
33751 echo "$as_me: failed program was:" >&5
33752sed 's/^/| /' conftest.$ac_ext >&5
33753
33754eval "$as_ac_var=no"
33755fi
33756rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33757fi
33758echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33759echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33760if test `eval echo '${'$as_ac_var'}'` = yes; then
33761 cat >>confdefs.h <<_ACEOF
33762#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33763_ACEOF
33764 have_ceil=1
33765fi
33766done
33767
33768 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33769echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33770 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33771 echo "$as_me:$LINENO: result: yes" >&5
33772echo "${ECHO_T}yes" >&6
33773 else
33774 echo "$as_me:$LINENO: result: no" >&5
33775echo "${ECHO_T}no" >&6
33776 # not sure we should warn the user, crash, etc.
33777 fi
33778fi
33779
33780if test "$wxUSE_GUI" = "yes"; then
33781
33782
33783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33784 drawing dynamic erase event exec font image \
33785 minimal propsize rotate shaped widgets render"
33786
33787 if test "$wxUSE_MONOLITHIC" != "yes"; then
33788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33789 fi
33790else
33791 SAMPLES_SUBDIRS="console"
33792fi
33793
33794
33795INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33796-I\${top_srcdir}/include \
33797$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33798$TOOLKIT_INCLUDE"
33799
33800if test "$GXX" = yes ; then
33801 CXXWARNINGS="-Wall"
33802 fi
33803
33804EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33805
33806CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33807CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33808CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33809
33810
33811LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33812EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33813EXTRALIBS_XML="$EXPAT_LINK"
33814EXTRALIBS_ODBC="$ODBC_LINK"
33815if test "$wxUSE_GUI" = "yes"; then
33816 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33817fi
33818if test "$wxUSE_OPENGL" = "yes"; then
33819 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33820fi
33821
33822LDFLAGS="$LDFLAGS $PROFILE"
33823
33824if test "$wxUSE_GTK" = 1; then
33825 WXCONFIG_INCLUDE=
33826else
33827 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33828fi
33829
33830WXCONFIG_EXTRALIBS="$LIBS"
33831
33832if test "$wxUSE_REGEX" = "builtin" ; then
33833 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33834fi
33835if test "$wxUSE_EXPAT" = "builtin" ; then
33836 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33837fi
33838if test "$wxUSE_ODBC" = "builtin" ; then
33839 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33840fi
33841if test "$wxUSE_LIBTIFF" = "builtin" ; then
33842 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33843fi
33844if test "$wxUSE_LIBJPEG" = "builtin" ; then
33845 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33846fi
33847if test "$wxUSE_LIBPNG" = "builtin" ; then
33848 wxconfig_3rdparty="$wxconfig_3rdparty png"
33849fi
33850if test "$wxUSE_ZLIB" = "builtin" ; then
33851 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33852fi
33853if test "$wxUSE_ODBC" = "builtin" ; then
33854 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33855fi
33856
33857for i in $wxconfig_3rdparty ; do
33858 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33859done
33860
33861
33862if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33863 WXUNIV=1
33864else
33865 WXUNIV=0
33866fi
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876if test $wxUSE_MONOLITHIC = "yes" ; then
33877 MONOLITHIC=1
33878else
33879 MONOLITHIC=0
33880fi
33881
33882if test $wxUSE_ODBC != "no" ; then
33883 USE_ODBC=1
33884else
33885 USE_ODBC=0
33886fi
33887
33888if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33889 OFFICIAL_BUILD=1
33890else
33891 OFFICIAL_BUILD=0
33892fi
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33911
33912
33913
33914
33915
33916
33917
33918 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33919
33920 if test -n "$ac_tool_prefix"; then
33921 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33922set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33923echo "$as_me:$LINENO: checking for $ac_word" >&5
33924echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33925if test "${ac_cv_prog_RANLIB+set}" = set; then
33926 echo $ECHO_N "(cached) $ECHO_C" >&6
33927else
33928 if test -n "$RANLIB"; then
33929 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33930else
33931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33932for as_dir in $PATH
33933do
33934 IFS=$as_save_IFS
33935 test -z "$as_dir" && as_dir=.
33936 for ac_exec_ext in '' $ac_executable_extensions; do
33937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33938 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33940 break 2
33941 fi
33942done
33943done
33944
33945fi
33946fi
33947RANLIB=$ac_cv_prog_RANLIB
33948if test -n "$RANLIB"; then
33949 echo "$as_me:$LINENO: result: $RANLIB" >&5
33950echo "${ECHO_T}$RANLIB" >&6
33951else
33952 echo "$as_me:$LINENO: result: no" >&5
33953echo "${ECHO_T}no" >&6
33954fi
33955
33956fi
33957if test -z "$ac_cv_prog_RANLIB"; then
33958 ac_ct_RANLIB=$RANLIB
33959 # Extract the first word of "ranlib", so it can be a program name with args.
33960set dummy ranlib; ac_word=$2
33961echo "$as_me:$LINENO: checking for $ac_word" >&5
33962echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33963if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33964 echo $ECHO_N "(cached) $ECHO_C" >&6
33965else
33966 if test -n "$ac_ct_RANLIB"; then
33967 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33968else
33969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33970for as_dir in $PATH
33971do
33972 IFS=$as_save_IFS
33973 test -z "$as_dir" && as_dir=.
33974 for ac_exec_ext in '' $ac_executable_extensions; do
33975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33976 ac_cv_prog_ac_ct_RANLIB="ranlib"
33977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33978 break 2
33979 fi
33980done
33981done
33982
33983 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33984fi
33985fi
33986ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33987if test -n "$ac_ct_RANLIB"; then
33988 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33989echo "${ECHO_T}$ac_ct_RANLIB" >&6
33990else
33991 echo "$as_me:$LINENO: result: no" >&5
33992echo "${ECHO_T}no" >&6
33993fi
33994
33995 RANLIB=$ac_ct_RANLIB
33996else
33997 RANLIB="$ac_cv_prog_RANLIB"
33998fi
33999
34000 # Find a good install program. We prefer a C program (faster),
34001# so one script is as good as another. But avoid the broken or
34002# incompatible versions:
34003# SysV /etc/install, /usr/sbin/install
34004# SunOS /usr/etc/install
34005# IRIX /sbin/install
34006# AIX /bin/install
34007# AmigaOS /C/install, which installs bootblocks on floppy discs
34008# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34009# AFS /usr/afsws/bin/install, which mishandles nonexistent args
34010# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34011# ./install, which can be erroneously created by make from ./install.sh.
34012echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34013echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34014if test -z "$INSTALL"; then
34015if test "${ac_cv_path_install+set}" = set; then
34016 echo $ECHO_N "(cached) $ECHO_C" >&6
34017else
34018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34019for as_dir in $PATH
34020do
34021 IFS=$as_save_IFS
34022 test -z "$as_dir" && as_dir=.
34023 # Account for people who put trailing slashes in PATH elements.
34024case $as_dir/ in
34025 ./ | .// | /cC/* | \
34026 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34027 /usr/ucb/* ) ;;
34028 *)
34029 # OSF1 and SCO ODT 3.0 have their own names for install.
34030 # Don't use installbsd from OSF since it installs stuff as root
34031 # by default.
34032 for ac_prog in ginstall scoinst install; do
34033 for ac_exec_ext in '' $ac_executable_extensions; do
34034 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34035 if test $ac_prog = install &&
34036 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34037 # AIX install. It has an incompatible calling convention.
34038 :
34039 elif test $ac_prog = install &&
34040 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34041 # program-specific install script used by HP pwplus--don't use.
34042 :
34043 else
34044 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34045 break 3
34046 fi
34047 fi
34048 done
34049 done
34050 ;;
34051esac
34052done
34053
34054
34055fi
34056 if test "${ac_cv_path_install+set}" = set; then
34057 INSTALL=$ac_cv_path_install
34058 else
34059 # As a last resort, use the slow shell script. We don't cache a
34060 # path for INSTALL within a source directory, because that will
34061 # break other packages using the cache if that directory is
34062 # removed, or if the path is relative.
34063 INSTALL=$ac_install_sh
34064 fi
34065fi
34066echo "$as_me:$LINENO: result: $INSTALL" >&5
34067echo "${ECHO_T}$INSTALL" >&6
34068
34069# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34070# It thinks the first close brace ends the variable substitution.
34071test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34072
34073test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34074
34075test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34076
34077 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34078echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34079LN_S=$as_ln_s
34080if test "$LN_S" = "ln -s"; then
34081 echo "$as_me:$LINENO: result: yes" >&5
34082echo "${ECHO_T}yes" >&6
34083else
34084 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34085echo "${ECHO_T}no, using $LN_S" >&6
34086fi
34087
34088
34089 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34090echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34091set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34092if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34093 echo $ECHO_N "(cached) $ECHO_C" >&6
34094else
34095 cat >conftest.make <<\_ACEOF
34096all:
34097 @echo 'ac_maketemp="$(MAKE)"'
34098_ACEOF
34099# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34100eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34101if test -n "$ac_maketemp"; then
34102 eval ac_cv_prog_make_${ac_make}_set=yes
34103else
34104 eval ac_cv_prog_make_${ac_make}_set=no
34105fi
34106rm -f conftest.make
34107fi
34108if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34109 echo "$as_me:$LINENO: result: yes" >&5
34110echo "${ECHO_T}yes" >&6
34111 SET_MAKE=
34112else
34113 echo "$as_me:$LINENO: result: no" >&5
34114echo "${ECHO_T}no" >&6
34115 SET_MAKE="MAKE=${MAKE-make}"
34116fi
34117
34118
34119
34120 if test -n "$ac_tool_prefix"; then
34121 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34122set dummy ${ac_tool_prefix}ar; ac_word=$2
34123echo "$as_me:$LINENO: checking for $ac_word" >&5
34124echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34125if test "${ac_cv_prog_AR+set}" = set; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34127else
34128 if test -n "$AR"; then
34129 ac_cv_prog_AR="$AR" # Let the user override the test.
34130else
34131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34132for as_dir in $PATH
34133do
34134 IFS=$as_save_IFS
34135 test -z "$as_dir" && as_dir=.
34136 for ac_exec_ext in '' $ac_executable_extensions; do
34137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34138 ac_cv_prog_AR="${ac_tool_prefix}ar"
34139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34140 break 2
34141 fi
34142done
34143done
34144
34145fi
34146fi
34147AR=$ac_cv_prog_AR
34148if test -n "$AR"; then
34149 echo "$as_me:$LINENO: result: $AR" >&5
34150echo "${ECHO_T}$AR" >&6
34151else
34152 echo "$as_me:$LINENO: result: no" >&5
34153echo "${ECHO_T}no" >&6
34154fi
34155
34156fi
34157if test -z "$ac_cv_prog_AR"; then
34158 ac_ct_AR=$AR
34159 # Extract the first word of "ar", so it can be a program name with args.
34160set dummy ar; ac_word=$2
34161echo "$as_me:$LINENO: checking for $ac_word" >&5
34162echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34163if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34165else
34166 if test -n "$ac_ct_AR"; then
34167 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34168else
34169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34170for as_dir in $PATH
34171do
34172 IFS=$as_save_IFS
34173 test -z "$as_dir" && as_dir=.
34174 for ac_exec_ext in '' $ac_executable_extensions; do
34175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34176 ac_cv_prog_ac_ct_AR="ar"
34177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34178 break 2
34179 fi
34180done
34181done
34182
34183 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34184fi
34185fi
34186ac_ct_AR=$ac_cv_prog_ac_ct_AR
34187if test -n "$ac_ct_AR"; then
34188 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34189echo "${ECHO_T}$ac_ct_AR" >&6
34190else
34191 echo "$as_me:$LINENO: result: no" >&5
34192echo "${ECHO_T}no" >&6
34193fi
34194
34195 AR=$ac_ct_AR
34196else
34197 AR="$ac_cv_prog_AR"
34198fi
34199
34200 if test -n "$ac_tool_prefix"; then
34201 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34202set dummy ${ac_tool_prefix}strip; ac_word=$2
34203echo "$as_me:$LINENO: checking for $ac_word" >&5
34204echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34205if test "${ac_cv_prog_STRIP+set}" = set; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34207else
34208 if test -n "$STRIP"; then
34209 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34210else
34211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34212for as_dir in $PATH
34213do
34214 IFS=$as_save_IFS
34215 test -z "$as_dir" && as_dir=.
34216 for ac_exec_ext in '' $ac_executable_extensions; do
34217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34218 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34220 break 2
34221 fi
34222done
34223done
34224
34225fi
34226fi
34227STRIP=$ac_cv_prog_STRIP
34228if test -n "$STRIP"; then
34229 echo "$as_me:$LINENO: result: $STRIP" >&5
34230echo "${ECHO_T}$STRIP" >&6
34231else
34232 echo "$as_me:$LINENO: result: no" >&5
34233echo "${ECHO_T}no" >&6
34234fi
34235
34236fi
34237if test -z "$ac_cv_prog_STRIP"; then
34238 ac_ct_STRIP=$STRIP
34239 # Extract the first word of "strip", so it can be a program name with args.
34240set dummy strip; ac_word=$2
34241echo "$as_me:$LINENO: checking for $ac_word" >&5
34242echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34243if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245else
34246 if test -n "$ac_ct_STRIP"; then
34247 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34248else
34249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34250for as_dir in $PATH
34251do
34252 IFS=$as_save_IFS
34253 test -z "$as_dir" && as_dir=.
34254 for ac_exec_ext in '' $ac_executable_extensions; do
34255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34256 ac_cv_prog_ac_ct_STRIP="strip"
34257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34258 break 2
34259 fi
34260done
34261done
34262
34263 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34264fi
34265fi
34266ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34267if test -n "$ac_ct_STRIP"; then
34268 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34269echo "${ECHO_T}$ac_ct_STRIP" >&6
34270else
34271 echo "$as_me:$LINENO: result: no" >&5
34272echo "${ECHO_T}no" >&6
34273fi
34274
34275 STRIP=$ac_ct_STRIP
34276else
34277 STRIP="$ac_cv_prog_STRIP"
34278fi
34279
34280 if test -n "$ac_tool_prefix"; then
34281 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34282set dummy ${ac_tool_prefix}nm; ac_word=$2
34283echo "$as_me:$LINENO: checking for $ac_word" >&5
34284echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34285if test "${ac_cv_prog_NM+set}" = set; then
34286 echo $ECHO_N "(cached) $ECHO_C" >&6
34287else
34288 if test -n "$NM"; then
34289 ac_cv_prog_NM="$NM" # Let the user override the test.
34290else
34291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34292for as_dir in $PATH
34293do
34294 IFS=$as_save_IFS
34295 test -z "$as_dir" && as_dir=.
34296 for ac_exec_ext in '' $ac_executable_extensions; do
34297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34298 ac_cv_prog_NM="${ac_tool_prefix}nm"
34299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34300 break 2
34301 fi
34302done
34303done
34304
34305fi
34306fi
34307NM=$ac_cv_prog_NM
34308if test -n "$NM"; then
34309 echo "$as_me:$LINENO: result: $NM" >&5
34310echo "${ECHO_T}$NM" >&6
34311else
34312 echo "$as_me:$LINENO: result: no" >&5
34313echo "${ECHO_T}no" >&6
34314fi
34315
34316fi
34317if test -z "$ac_cv_prog_NM"; then
34318 ac_ct_NM=$NM
34319 # Extract the first word of "nm", so it can be a program name with args.
34320set dummy nm; ac_word=$2
34321echo "$as_me:$LINENO: checking for $ac_word" >&5
34322echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34323if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34324 echo $ECHO_N "(cached) $ECHO_C" >&6
34325else
34326 if test -n "$ac_ct_NM"; then
34327 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34328else
34329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34330for as_dir in $PATH
34331do
34332 IFS=$as_save_IFS
34333 test -z "$as_dir" && as_dir=.
34334 for ac_exec_ext in '' $ac_executable_extensions; do
34335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34336 ac_cv_prog_ac_ct_NM="nm"
34337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34338 break 2
34339 fi
34340done
34341done
34342
34343 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34344fi
34345fi
34346ac_ct_NM=$ac_cv_prog_ac_ct_NM
34347if test -n "$ac_ct_NM"; then
34348 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34349echo "${ECHO_T}$ac_ct_NM" >&6
34350else
34351 echo "$as_me:$LINENO: result: no" >&5
34352echo "${ECHO_T}no" >&6
34353fi
34354
34355 NM=$ac_ct_NM
34356else
34357 NM="$ac_cv_prog_NM"
34358fi
34359
34360
34361 case ${host} in
34362 *-hp-hpux* )
34363 INSTALL_DIR="mkdir"
34364 ;;
34365 *) INSTALL_DIR="$INSTALL -d"
34366 ;;
34367 esac
34368
34369
34370 LDFLAGS_GUI=
34371 case ${host} in
34372 *-*-cygwin* | *-*-mingw32* )
34373 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34374 esac
34375
34376
34377 fi
34378
34379 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34380echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34381if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34383else
34384
34385 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34386 egrep -s GNU > /dev/null); then
34387 bakefile_cv_prog_makeisgnu="yes"
34388 else
34389 bakefile_cv_prog_makeisgnu="no"
34390 fi
34391
34392fi
34393echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34394echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34395
34396 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34397 IF_GNU_MAKE=""
34398 else
34399 IF_GNU_MAKE="#"
34400 fi
34401
34402
34403
34404 PLATFORM_UNIX=0
34405 PLATFORM_WIN32=0
34406 PLATFORM_MSDOS=0
34407 PLATFORM_MAC=0
34408 PLATFORM_MACOSX=0
34409 PLATFORM_OS2=0
34410
34411 case "${host}" in
34412 *-*-cygwin* | *-*-mingw32* )
34413 PLATFORM_WIN32=1
34414 ;;
34415 *-pc-msdosdjgpp )
34416 PLATFORM_MSDOS=1
34417 ;;
34418 *-pc-os2_emx | *-pc-os2-emx )
34419 PLATFORM_OS2=1
34420 ;;
34421 powerpc-*-darwin* )
34422 PLATFORM_MAC=1
34423 PLATFORM_MACOSX=1
34424 ;;
34425 * )
34426 PLATFORM_UNIX=1
34427 ;;
34428 esac
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438 SO_SUFFIX="so"
34439 SO_SUFFIX_MODULE="so"
34440 EXEEXT=""
34441 LIBPREFIX=lib
34442 DLLPREFIX=lib
34443 DLLPREFIX_MODULE=
34444
34445 case "${host}" in
34446 *-hp-hpux* )
34447 SO_SUFFIX="sl"
34448 SO_SUFFIX_MODULE="sl"
34449 ;;
34450 *-*-aix* )
34451 SO_SUFFIX="a"
34452 SO_SUFFIX_MODULE="a"
34453 ;;
34454 *-*-cygwin* | *-*-mingw32* )
34455 SO_SUFFIX="dll"
34456 SO_SUFFIX_MODULE="dll"
34457 EXEEXT=".exe"
34458 DLLPREFIX=""
34459 ;;
34460 *-pc-msdosdjgpp )
34461 EXEEXT=".exe"
34462 DLLPREFIX=""
34463 ;;
34464 *-pc-os2_emx | *-pc-os2-emx )
34465 EXEEXT=".exe"
34466 DLLPREFIX=""
34467 LIBPREFIX=""
34468 ;;
34469 powerpc-*-darwin* )
34470 SO_SUFFIX="dylib"
34471 SO_SUFFIX_MODULE="bundle"
34472 ;;
34473 esac
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483 SHARED_LD_CC="\$(CC) -shared -o"
34484 SHARED_LD_CXX="\$(CXX) -shared -o"
34485
34486 if test "x$GCC" = "xyes"; then
34487 PIC_FLAG="-fPIC"
34488 fi
34489
34490 case "${host}" in
34491 *-hp-hpux* )
34492 if test "x$GCC" = "xyes"; then
34493 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34494 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34495 else
34496 LDFLAGS="$LDFLAGS -L/usr/lib"
34497
34498 SHARED_LD_CC="${CC} -b -o"
34499 SHARED_LD_CXX="${CXX} -b -o"
34500 PIC_FLAG="+Z"
34501 fi
34502 ;;
34503
34504 *-*-linux* )
34505 if test "x$GCC" != "xyes"; then
34506 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34507echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34508if test "${bakefile_cv_prog_icc+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34510else
34511
34512 cat >conftest.$ac_ext <<_ACEOF
34513#line $LINENO "configure"
34514/* confdefs.h. */
34515_ACEOF
34516cat confdefs.h >>conftest.$ac_ext
34517cat >>conftest.$ac_ext <<_ACEOF
34518/* end confdefs.h. */
34519
34520int
34521main ()
34522{
34523
34524 #ifndef __INTEL_COMPILER
34525 #error Not icc
34526 #endif
34527
34528 ;
34529 return 0;
34530}
34531_ACEOF
34532rm -f conftest.$ac_objext
34533if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34534 (eval $ac_compile) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } &&
34538 { ac_try='test -s conftest.$ac_objext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34541 ac_status=$?
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34544 bakefile_cv_prog_icc=yes
34545else
34546 echo "$as_me: failed program was:" >&5
34547sed 's/^/| /' conftest.$ac_ext >&5
34548
34549bakefile_cv_prog_icc=no
34550
34551fi
34552rm -f conftest.$ac_objext conftest.$ac_ext
34553
34554fi
34555echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34556echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34557 if test "$bakefile_cv_prog_icc" = "yes"; then
34558 PIC_FLAG="-KPIC"
34559 fi
34560 fi
34561 ;;
34562
34563 *-*-solaris2* )
34564 if test "x$GCC" != xyes ; then
34565 SHARED_LD_CC="${CC} -G -o"
34566 SHARED_LD_CXX="${CXX} -G -o"
34567 PIC_FLAG="-KPIC"
34568 fi
34569 ;;
34570
34571 *-*-darwin* )
34572 CFLAGS="$CFLAGS -fno-common"
34573 CXXFLAGS="$CXXFLAGS -fno-common"
34574
34575
34576 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34577echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34578if test "${wx_cv_gcc31+set}" = set; then
34579 echo $ECHO_N "(cached) $ECHO_C" >&6
34580else
34581
34582 cat >conftest.$ac_ext <<_ACEOF
34583#line $LINENO "configure"
34584/* confdefs.h. */
34585_ACEOF
34586cat confdefs.h >>conftest.$ac_ext
34587cat >>conftest.$ac_ext <<_ACEOF
34588/* end confdefs.h. */
34589
34590int
34591main ()
34592{
34593
34594 #if (__GNUC__ < 3) || \
34595 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34596 #error old gcc
34597 #endif
34598
34599 ;
34600 return 0;
34601}
34602_ACEOF
34603rm -f conftest.$ac_objext
34604if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34605 (eval $ac_compile) 2>&5
34606 ac_status=$?
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } &&
34609 { ac_try='test -s conftest.$ac_objext'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34612 ac_status=$?
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; }; then
34615
34616 wx_cv_gcc31=yes
34617
34618else
34619 echo "$as_me: failed program was:" >&5
34620sed 's/^/| /' conftest.$ac_ext >&5
34621
34622
34623 wx_cv_gcc31=no
34624
34625
34626fi
34627rm -f conftest.$ac_objext conftest.$ac_ext
34628
34629fi
34630echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34631echo "${ECHO_T}$wx_cv_gcc31" >&6
34632 if test "$wx_cv_gcc31" = "no"; then
34633 cat <<EOF >shared-ld-sh
34634#!/bin/sh
34635#-----------------------------------------------------------------------------
34636#-- Name: distrib/mac/shared-ld-sh
34637#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34638#-- Author: Gilles Depeyrot
34639#-- Copyright: (c) 2002 Gilles Depeyrot
34640#-- Licence: any use permitted
34641#-----------------------------------------------------------------------------
34642
34643verbose=0
34644args=""
34645objects=""
34646linking_flag="-dynamiclib"
34647
34648while test \${#} -gt 0; do
34649 case \${1} in
34650
34651 -v)
34652 verbose=1
34653 ;;
34654
34655 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34656 # collect these options and values
34657 args="\${args} \${1} \${2}"
34658 shift
34659 ;;
34660
34661 -l*|-L*|-flat_namespace)
34662 # collect these options
34663 args="\${args} \${1}"
34664 ;;
34665
34666 -dynamiclib|-bundle)
34667 linking_flag="\${1}"
34668 ;;
34669
34670 -*)
34671 echo "shared-ld: unhandled option '\${1}'"
34672 exit 1
34673 ;;
34674
34675 *.o | *.a | *.dylib)
34676 # collect object files
34677 objects="\${objects} \${1}"
34678 ;;
34679
34680 *)
34681 echo "shared-ld: unhandled argument '\${1}'"
34682 exit 1
34683 ;;
34684
34685 esac
34686 shift
34687done
34688
34689#
34690# Link one module containing all the others
34691#
34692if test \${verbose} = 1; then
34693 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34694fi
34695c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34696status=\$?
34697if test \${status} != 0; then
34698 exit \${status}
34699fi
34700
34701#
34702# Link the shared library from the single module created
34703#
34704if test \${verbose} = 1; then
34705 echo "cc \${linking_flag} master.\$\$.o \${args}"
34706fi
34707c++ \${linking_flag} master.\$\$.o \${args}
34708status=\$?
34709if test \${status} != 0; then
34710 exit \${status}
34711fi
34712
34713#
34714# Remove intermediate module
34715#
34716rm -f master.\$\$.o
34717
34718exit 0
34719EOF
34720 chmod +x shared-ld-sh
34721
34722 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o"
34723 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o"
34724 SHARED_LD_CXX="$SHARED_LD_CC"
34725 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34726 else
34727 SHARED_LD_CC="\${CC} -dynamiclib -single_module -o"
34728 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o"
34729 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o"
34730 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o"
34731 fi
34732
34733 PIC_FLAG="-dynamic -fPIC"
34734 ;;
34735
34736 *-*-aix* )
34737 if test "x$GCC" != "xyes"; then
34738 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34739set dummy makeC++SharedLib; ac_word=$2
34740echo "$as_me:$LINENO: checking for $ac_word" >&5
34741echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34742if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34744else
34745 if test -n "$AIX_CXX_LD"; then
34746 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34747else
34748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34749for as_dir in $PATH
34750do
34751 IFS=$as_save_IFS
34752 test -z "$as_dir" && as_dir=.
34753 for ac_exec_ext in '' $ac_executable_extensions; do
34754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34755 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34757 break 2
34758 fi
34759done
34760done
34761
34762 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34763fi
34764fi
34765AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34766if test -n "$AIX_CXX_LD"; then
34767 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34768echo "${ECHO_T}$AIX_CXX_LD" >&6
34769else
34770 echo "$as_me:$LINENO: result: no" >&5
34771echo "${ECHO_T}no" >&6
34772fi
34773
34774 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34775 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34776 fi
34777 ;;
34778
34779 *-*-beos* )
34780 SHARED_LD_CC="${LD} -shared -o"
34781 SHARED_LD_CXX="${LD} -shared -o"
34782 ;;
34783
34784 *-*-irix* )
34785 if test "x$GCC" != "xyes"; then
34786 PIC_FLAG="-KPIC"
34787 fi
34788 ;;
34789
34790 *-*-cygwin* | *-*-mingw32* )
34791 PIC_FLAG=""
34792 ;;
34793
34794 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34795 *-*-sunos4* | \
34796 *-*-osf* | \
34797 *-*-dgux5* | \
34798 *-pc-os2_emx | *-pc-os2-emx | \
34799 *-*-sysv5* )
34800 ;;
34801
34802 *)
34803 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34804echo "$as_me: error: unknown system type $host." >&2;}
34805 { (exit 1); exit 1; }; }
34806 esac
34807
34808 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34809 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34810 fi
34811 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34812 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34813 fi
34814
34815
34816
34817
34818
34819
34820
34821
34822 USE_SOVERSION=0
34823 USE_SOVERLINUX=0
34824 USE_SOVERSOLARIS=0
34825 USE_SOSYMLINKS=0
34826 USE_MACVERSION=0
34827 SONAME_FLAG=
34828
34829 case "${host}" in
34830 *-*-linux* )
34831 SONAME_FLAG="-Wl,-soname,"
34832 USE_SOVERSION=1
34833 USE_SOVERLINUX=1
34834 USE_SOSYMLINKS=1
34835 ;;
34836
34837 *-*-solaris2* )
34838 SONAME_FLAG="-h "
34839 USE_SOVERSION=1
34840 USE_SOVERSOLARIS=1
34841 USE_SOSYMLINKS=1
34842 ;;
34843
34844 *-*-darwin* )
34845 USE_MACVERSION=1
34846 USE_SOVERSION=1
34847 USE_SOSYMLINKS=1
34848 ;;
34849 esac
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34860echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34861 DEPS_TRACKING=0
34862
34863 if test "x$GCC" = "xyes"; then
34864 DEPSMODE=gcc
34865 DEPS_TRACKING=1
34866 case "${host}" in
34867 powerpc-*-darwin* )
34868 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34869 ;;
34870 * )
34871 DEPSFLAG_GCC="-MMD"
34872 ;;
34873 esac
34874 echo "$as_me:$LINENO: result: gcc" >&5
34875echo "${ECHO_T}gcc" >&6
34876 else
34877 echo "$as_me:$LINENO: result: none" >&5
34878echo "${ECHO_T}none" >&6
34879 fi
34880
34881 if test $DEPS_TRACKING = 1 ; then
34882 cat <<EOF >bk-deps
34883#!/bin/sh
34884
34885# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34886# script. It is used to track C/C++ files dependencies in portable way.
34887#
34888# Permission is given to use this file in any way.
34889
34890DEPSMODE=$DEPSMODE
34891DEPSDIR=.deps
34892DEPSFLAG_GCC="$DEPSFLAG_GCC"
34893
34894mkdir -p \$DEPSDIR
34895
34896if test \$DEPSMODE = gcc ; then
34897 \${*} \${DEPSFLAG_GCC}
34898 status=\${?}
34899 if test \${status} != 0 ; then
34900 exit \${status}
34901 fi
34902 # move created file to the location we want it in:
34903 while test \${#} -gt 0; do
34904 case "\${1}" in
34905 -o )
34906 shift
34907 objfile=\${1}
34908 ;;
34909 -* )
34910 ;;
34911 * )
34912 srcfile=\${1}
34913 ;;
34914 esac
34915 shift
34916 done
34917 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34918 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34919 if test -f \$depfile ; then
34920 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34921 rm -f \$depfile
34922 else
34923 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34924 if test -f \$depfile ; then
34925 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34926 rm -f \$depfile
34927 fi
34928 fi
34929 exit 0
34930else
34931 \${*}
34932 exit \${?}
34933fi
34934EOF
34935 chmod +x bk-deps
34936 fi
34937
34938
34939
34940
34941 RESCOMP=
34942 SETFILE=
34943
34944 case ${host} in
34945 *-*-cygwin* | *-*-mingw32* )
34946 if test "$build" != "$host" ; then
34947 RESCOMP=$host_alias-windres
34948 else
34949 # Extract the first word of "windres", so it can be a program name with args.
34950set dummy windres; ac_word=$2
34951echo "$as_me:$LINENO: checking for $ac_word" >&5
34952echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34953if test "${ac_cv_prog_RESCOMP+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34955else
34956 if test -n "$RESCOMP"; then
34957 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34958else
34959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34960for as_dir in $PATH
34961do
34962 IFS=$as_save_IFS
34963 test -z "$as_dir" && as_dir=.
34964 for ac_exec_ext in '' $ac_executable_extensions; do
34965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34966 ac_cv_prog_RESCOMP="windres"
34967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34968 break 2
34969 fi
34970done
34971done
34972
34973 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34974fi
34975fi
34976RESCOMP=$ac_cv_prog_RESCOMP
34977if test -n "$RESCOMP"; then
34978 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34979echo "${ECHO_T}$RESCOMP" >&6
34980else
34981 echo "$as_me:$LINENO: result: no" >&5
34982echo "${ECHO_T}no" >&6
34983fi
34984
34985 fi
34986 ;;
34987
34988 *-*-darwin* )
34989 # Extract the first word of "Rez", so it can be a program name with args.
34990set dummy Rez; ac_word=$2
34991echo "$as_me:$LINENO: checking for $ac_word" >&5
34992echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34993if test "${ac_cv_prog_RESCOMP+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995else
34996 if test -n "$RESCOMP"; then
34997 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34998else
34999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35000for as_dir in $PATH
35001do
35002 IFS=$as_save_IFS
35003 test -z "$as_dir" && as_dir=.
35004 for ac_exec_ext in '' $ac_executable_extensions; do
35005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35006 ac_cv_prog_RESCOMP="Rez"
35007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35008 break 2
35009 fi
35010done
35011done
35012
35013 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35014fi
35015fi
35016RESCOMP=$ac_cv_prog_RESCOMP
35017if test -n "$RESCOMP"; then
35018 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35019echo "${ECHO_T}$RESCOMP" >&6
35020else
35021 echo "$as_me:$LINENO: result: no" >&5
35022echo "${ECHO_T}no" >&6
35023fi
35024
35025 # Extract the first word of "SetFile", so it can be a program name with args.
35026set dummy SetFile; ac_word=$2
35027echo "$as_me:$LINENO: checking for $ac_word" >&5
35028echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35029if test "${ac_cv_prog_SETFILE+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031else
35032 if test -n "$SETFILE"; then
35033 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35034else
35035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35036for as_dir in $PATH
35037do
35038 IFS=$as_save_IFS
35039 test -z "$as_dir" && as_dir=.
35040 for ac_exec_ext in '' $ac_executable_extensions; do
35041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35042 ac_cv_prog_SETFILE="SetFile"
35043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35044 break 2
35045 fi
35046done
35047done
35048
35049 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35050fi
35051fi
35052SETFILE=$ac_cv_prog_SETFILE
35053if test -n "$SETFILE"; then
35054 echo "$as_me:$LINENO: result: $SETFILE" >&5
35055echo "${ECHO_T}$SETFILE" >&6
35056else
35057 echo "$as_me:$LINENO: result: no" >&5
35058echo "${ECHO_T}no" >&6
35059fi
35060
35061 ;;
35062 esac
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35074if test "${enable_precomp_headers+set}" = set; then
35075 enableval="$enable_precomp_headers"
35076 bk_use_pch="$enableval"
35077fi;
35078
35079 GCC_PCH=0
35080
35081 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35082 if test "x$GCC" = "xyes"; then
35083 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35084echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35085 cat >conftest.$ac_ext <<_ACEOF
35086#line $LINENO "configure"
35087/* confdefs.h. */
35088_ACEOF
35089cat confdefs.h >>conftest.$ac_ext
35090cat >>conftest.$ac_ext <<_ACEOF
35091/* end confdefs.h. */
35092
35093int
35094main ()
35095{
35096
35097 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35098 #error "no pch support"
35099 #endif
35100 #if (__GNUC__ < 3)
35101 #error "no pch support"
35102 #endif
35103 #if (__GNUC__ == 3) && \
35104 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35105 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35106 #error "no pch support"
35107 #endif
35108
35109 ;
35110 return 0;
35111}
35112_ACEOF
35113rm -f conftest.$ac_objext
35114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35115 (eval $ac_compile) 2>&5
35116 ac_status=$?
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try='test -s conftest.$ac_objext'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35122 ac_status=$?
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; }; then
35125
35126 echo "$as_me:$LINENO: result: yes" >&5
35127echo "${ECHO_T}yes" >&6
35128 CPPFLAGS="-fpch-deps $CPPFLAGS"
35129 GCC_PCH=1
35130
35131else
35132 echo "$as_me: failed program was:" >&5
35133sed 's/^/| /' conftest.$ac_ext >&5
35134
35135
35136 echo "$as_me:$LINENO: result: no" >&5
35137echo "${ECHO_T}no" >&6
35138
35139fi
35140rm -f conftest.$ac_objext conftest.$ac_ext
35141 if test $GCC_PCH = 1 ; then
35142 cat <<EOF >bk-make-pch
35143#!/bin/sh
35144
35145# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35146# script. It is used to generated precompiled headers.
35147#
35148# Permission is given to use this file in any way.
35149
35150outfile="\${1}"
35151header="\${2}"
35152shift
35153shift
35154
35155compiler=
35156headerfile=
35157while test \${#} -gt 0; do
35158 case "\${1}" in
35159 -I* )
35160 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35161 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35162 headerfile="\${incdir}/\${header}"
35163 fi
35164 ;;
35165 esac
35166 compiler="\${compiler} \${1}"
35167 shift
35168done
35169
35170if test "x\${headerfile}" = "x" ; then
35171 echo "error: can't find header \${header} in include paths" >2
35172else
35173 if test -f \${outfile} ; then
35174 rm -f \${outfile}
35175 else
35176 mkdir -p \`dirname \${outfile}\`
35177 fi
35178 depsfile=".deps/\`basename \${outfile}\`.d"
35179 mkdir -p .deps
35180 # can do this because gcc is >= 3.4:
35181 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35182 exit \${?}
35183fi
35184EOF
35185 chmod +x bk-make-pch
35186 fi
35187 fi
35188 fi
35189
35190
35191
35192
35193
35194 COND_BUILD_DEBUG="#"
35195 if test "x$BUILD" = "xdebug" ; then
35196 COND_BUILD_DEBUG=""
35197 fi
35198
35199 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35200 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35201 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35202 fi
35203
35204 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35205 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35206 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35207 fi
35208
35209 COND_BUILD_RELEASE="#"
35210 if test "x$BUILD" = "xrelease" ; then
35211 COND_BUILD_RELEASE=""
35212 fi
35213
35214 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35215 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35216 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35217 fi
35218
35219 COND_DEBUG_FLAG_1="#"
35220 if test "x$DEBUG_FLAG" = "x1" ; then
35221 COND_DEBUG_FLAG_1=""
35222 fi
35223
35224 COND_DEBUG_INFO_0="#"
35225 if test "x$DEBUG_INFO" = "x0" ; then
35226 COND_DEBUG_INFO_0=""
35227 fi
35228
35229 COND_DEBUG_INFO_1="#"
35230 if test "x$DEBUG_INFO" = "x1" ; then
35231 COND_DEBUG_INFO_1=""
35232 fi
35233
35234 COND_DEPS_TRACKING_0="#"
35235 if test "x$DEPS_TRACKING" = "x0" ; then
35236 COND_DEPS_TRACKING_0=""
35237 fi
35238
35239 COND_DEPS_TRACKING_1="#"
35240 if test "x$DEPS_TRACKING" = "x1" ; then
35241 COND_DEPS_TRACKING_1=""
35242 fi
35243
35244 COND_GCC_PCH_1="#"
35245 if test "x$GCC_PCH" = "x1" ; then
35246 COND_GCC_PCH_1=""
35247 fi
35248
35249 COND_MONOLITHIC_0="#"
35250 if test "x$MONOLITHIC" = "x0" ; then
35251 COND_MONOLITHIC_0=""
35252 fi
35253
35254 COND_MONOLITHIC_0_SHARED_0="#"
35255 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35256 COND_MONOLITHIC_0_SHARED_0=""
35257 fi
35258
35259 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35260 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35261 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35262 fi
35263
35264 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35265 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35267 fi
35268
35269 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35270 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35271 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35272 fi
35273
35274 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35275 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35276 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35277 fi
35278
35279 COND_MONOLITHIC_0_SHARED_1="#"
35280 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35281 COND_MONOLITHIC_0_SHARED_1=""
35282 fi
35283
35284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35285 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35286 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35287 fi
35288
35289 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35290 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35291 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35292 fi
35293
35294 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35295 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35296 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35297 fi
35298
35299 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35300 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35301 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35302 fi
35303
35304 COND_MONOLITHIC_1="#"
35305 if test "x$MONOLITHIC" = "x1" ; then
35306 COND_MONOLITHIC_1=""
35307 fi
35308
35309 COND_MONOLITHIC_1_SHARED_0="#"
35310 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35311 COND_MONOLITHIC_1_SHARED_0=""
35312 fi
35313
35314 COND_MONOLITHIC_1_SHARED_1="#"
35315 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35316 COND_MONOLITHIC_1_SHARED_1=""
35317 fi
35318
35319 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35320 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35321 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35322 fi
35323
35324 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35325 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35326 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35327 fi
35328
35329 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35330 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35331 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35332 fi
35333
35334 COND_PLATFORM_MACOSX_1="#"
35335 if test "x$PLATFORM_MACOSX" = "x1" ; then
35336 COND_PLATFORM_MACOSX_1=""
35337 fi
35338
35339 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35340 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35341 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35342 fi
35343
35344 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35345 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35346 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35347 fi
35348
35349 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35350 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35351 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35352 fi
35353
35354 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35355 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35356 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35357 fi
35358
35359 COND_PLATFORM_MAC_1="#"
35360 if test "x$PLATFORM_MAC" = "x1" ; then
35361 COND_PLATFORM_MAC_1=""
35362 fi
35363
35364 COND_PLATFORM_OS2_1="#"
35365 if test "x$PLATFORM_OS2" = "x1" ; then
35366 COND_PLATFORM_OS2_1=""
35367 fi
35368
35369 COND_PLATFORM_UNIX_0="#"
35370 if test "x$PLATFORM_UNIX" = "x0" ; then
35371 COND_PLATFORM_UNIX_0=""
35372 fi
35373
35374 COND_PLATFORM_UNIX_1="#"
35375 if test "x$PLATFORM_UNIX" = "x1" ; then
35376 COND_PLATFORM_UNIX_1=""
35377 fi
35378
35379 COND_PLATFORM_WIN32_0="#"
35380 if test "x$PLATFORM_WIN32" = "x0" ; then
35381 COND_PLATFORM_WIN32_0=""
35382 fi
35383
35384 COND_PLATFORM_WIN32_1="#"
35385 if test "x$PLATFORM_WIN32" = "x1" ; then
35386 COND_PLATFORM_WIN32_1=""
35387 fi
35388
35389 COND_SHARED_0="#"
35390 if test "x$SHARED" = "x0" ; then
35391 COND_SHARED_0=""
35392 fi
35393
35394 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35395 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35396 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35397 fi
35398
35399 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35400 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35402 fi
35403
35404 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35405 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35406 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35407 fi
35408
35409 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35410 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35411 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35412 fi
35413
35414 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35415 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35416 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35417 fi
35418
35419 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35420 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35421 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35422 fi
35423
35424 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35425 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35426 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35427 fi
35428
35429 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35430 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35431 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35432 fi
35433
35434 COND_SHARED_1="#"
35435 if test "x$SHARED" = "x1" ; then
35436 COND_SHARED_1=""
35437 fi
35438
35439 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35440 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35441 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35442 fi
35443
35444 COND_TOOLKIT_COCOA="#"
35445 if test "x$TOOLKIT" = "xCOCOA" ; then
35446 COND_TOOLKIT_COCOA=""
35447 fi
35448
35449 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35450 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35451 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35452 fi
35453
35454 COND_TOOLKIT_GTK="#"
35455 if test "x$TOOLKIT" = "xGTK" ; then
35456 COND_TOOLKIT_GTK=""
35457 fi
35458
35459 COND_TOOLKIT_GTK_USE_GUI_1="#"
35460 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35461 COND_TOOLKIT_GTK_USE_GUI_1=""
35462 fi
35463
35464 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35465 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35466 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35467 fi
35468
35469 COND_TOOLKIT_MAC="#"
35470 if test "x$TOOLKIT" = "xMAC" ; then
35471 COND_TOOLKIT_MAC=""
35472 fi
35473
35474 COND_TOOLKIT_MAC_USE_GUI_1="#"
35475 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35476 COND_TOOLKIT_MAC_USE_GUI_1=""
35477 fi
35478
35479 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35480 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35481 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35482 fi
35483
35484 COND_TOOLKIT_MGL="#"
35485 if test "x$TOOLKIT" = "xMGL" ; then
35486 COND_TOOLKIT_MGL=""
35487 fi
35488
35489 COND_TOOLKIT_MGL_USE_GUI_1="#"
35490 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35491 COND_TOOLKIT_MGL_USE_GUI_1=""
35492 fi
35493
35494 COND_TOOLKIT_MOTIF="#"
35495 if test "x$TOOLKIT" = "xMOTIF" ; then
35496 COND_TOOLKIT_MOTIF=""
35497 fi
35498
35499 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35500 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35501 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35502 fi
35503
35504 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35505 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35506 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35507 fi
35508
35509 COND_TOOLKIT_MSW="#"
35510 if test "x$TOOLKIT" = "xMSW" ; then
35511 COND_TOOLKIT_MSW=""
35512 fi
35513
35514 COND_TOOLKIT_MSW_USE_GUI_1="#"
35515 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35516 COND_TOOLKIT_MSW_USE_GUI_1=""
35517 fi
35518
35519 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35520 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35521 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35522 fi
35523
35524 COND_TOOLKIT_PM="#"
35525 if test "x$TOOLKIT" = "xPM" ; then
35526 COND_TOOLKIT_PM=""
35527 fi
35528
35529 COND_TOOLKIT_PM_USE_GUI_1="#"
35530 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35531 COND_TOOLKIT_PM_USE_GUI_1=""
35532 fi
35533
35534 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35535 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35536 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35537 fi
35538
35539 COND_TOOLKIT_X11="#"
35540 if test "x$TOOLKIT" = "xX11" ; then
35541 COND_TOOLKIT_X11=""
35542 fi
35543
35544 COND_TOOLKIT_X11_USE_GUI_1="#"
35545 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35546 COND_TOOLKIT_X11_USE_GUI_1=""
35547 fi
35548
35549 COND_UNICODE_1="#"
35550 if test "x$UNICODE" = "x1" ; then
35551 COND_UNICODE_1=""
35552 fi
35553
35554 COND_USE_EXCEPTIONS_0="#"
35555 if test "x$USE_EXCEPTIONS" = "x0" ; then
35556 COND_USE_EXCEPTIONS_0=""
35557 fi
35558
35559 COND_USE_EXCEPTIONS_1="#"
35560 if test "x$USE_EXCEPTIONS" = "x1" ; then
35561 COND_USE_EXCEPTIONS_1=""
35562 fi
35563
35564 COND_USE_GUI_0="#"
35565 if test "x$USE_GUI" = "x0" ; then
35566 COND_USE_GUI_0=""
35567 fi
35568
35569 COND_USE_GUI_1="#"
35570 if test "x$USE_GUI" = "x1" ; then
35571 COND_USE_GUI_1=""
35572 fi
35573
35574 COND_USE_GUI_1_WXUNIV_0="#"
35575 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35576 COND_USE_GUI_1_WXUNIV_0=""
35577 fi
35578
35579 COND_USE_GUI_1_WXUNIV_1="#"
35580 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35581 COND_USE_GUI_1_WXUNIV_1=""
35582 fi
35583
35584 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35585 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35586 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35587 fi
35588
35589 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35590 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35591 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35592 fi
35593
35594 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35595 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35596 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35597 fi
35598
35599 COND_USE_ODBC_1="#"
35600 if test "x$USE_ODBC" = "x1" ; then
35601 COND_USE_ODBC_1=""
35602 fi
35603
35604 COND_USE_SOSYMLINKS_1="#"
35605 if test "x$USE_SOSYMLINKS" = "x1" ; then
35606 COND_USE_SOSYMLINKS_1=""
35607 fi
35608
35609 COND_USE_SOVERLINUX_1="#"
35610 if test "x$USE_SOVERLINUX" = "x1" ; then
35611 COND_USE_SOVERLINUX_1=""
35612 fi
35613
35614 COND_USE_SOVERSION_0="#"
35615 if test "x$USE_SOVERSION" = "x0" ; then
35616 COND_USE_SOVERSION_0=""
35617 fi
35618
35619 COND_USE_SOVERSOLARIS_1="#"
35620 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35621 COND_USE_SOVERSOLARIS_1=""
35622 fi
35623
35624 COND_WXUNIV_1="#"
35625 if test "x$WXUNIV" = "x1" ; then
35626 COND_WXUNIV_1=""
35627 fi
35628
35629 COND_WXUSE_EXPAT_BUILTIN="#"
35630 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35631 COND_WXUSE_EXPAT_BUILTIN=""
35632 fi
35633
35634 COND_WXUSE_LIBJPEG_BUILTIN="#"
35635 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35636 COND_WXUSE_LIBJPEG_BUILTIN=""
35637 fi
35638
35639 COND_WXUSE_LIBPNG_BUILTIN="#"
35640 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35641 COND_WXUSE_LIBPNG_BUILTIN=""
35642 fi
35643
35644 COND_WXUSE_LIBTIFF_BUILTIN="#"
35645 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35646 COND_WXUSE_LIBTIFF_BUILTIN=""
35647 fi
35648
35649 COND_WXUSE_ODBC_BUILTIN="#"
35650 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35651 COND_WXUSE_ODBC_BUILTIN=""
35652 fi
35653
35654 COND_WXUSE_REGEX_BUILTIN="#"
35655 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35656 COND_WXUSE_REGEX_BUILTIN=""
35657 fi
35658
35659 COND_WXUSE_ZLIB_BUILTIN="#"
35660 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35661 COND_WXUSE_ZLIB_BUILTIN=""
35662 fi
35663
35664
35665
35666
35667
35668if test $GCC_PCH = 1 ; then
35669 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35670else
35671 case "${host}" in
35672 powerpc-*-darwin* )
35673 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35674 ;;
35675 esac
35676fi
35677case "${host}" in
35678 powerpc-*-darwin* )
35679 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35680 ;;
35681esac
35682
35683
35684SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35786echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35787set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35788if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35790else
35791 cat >conftest.make <<\_ACEOF
35792all:
35793 @echo 'ac_maketemp="$(MAKE)"'
35794_ACEOF
35795# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35796eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35797if test -n "$ac_maketemp"; then
35798 eval ac_cv_prog_make_${ac_make}_set=yes
35799else
35800 eval ac_cv_prog_make_${ac_make}_set=no
35801fi
35802rm -f conftest.make
35803fi
35804if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35805 echo "$as_me:$LINENO: result: yes" >&5
35806echo "${ECHO_T}yes" >&6
35807 SET_MAKE=
35808else
35809 echo "$as_me:$LINENO: result: no" >&5
35810echo "${ECHO_T}no" >&6
35811 SET_MAKE="MAKE=${MAKE-make}"
35812fi
35813
35814
35815if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35816 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35817fi
35818
35819 ac_config_headers="$ac_config_headers setup.h"
35820
35821
35822 ac_config_files="$ac_config_files wx-config version-script Makefile"
35823
35824
35825 ac_config_commands="$ac_config_commands default"
35826
35827
35828
35829if test "$wxUSE_GUI" = "yes"; then
35830 SUBDIRS="samples demos utils contrib"
35831else SUBDIRS="samples utils"
35832fi
35833
35834for subdir in `echo $SUBDIRS`; do
35835 if test -d ${srcdir}/${subdir} ; then
35836 if test "$wxUSE_GUI" = "yes"; then
35837 if test ${subdir} = "samples"; then
35838 makefiles="samples/Makefile.in $makefiles"
35839 for sample in `echo $SAMPLES_SUBDIRS`; do
35840 if test -d $srcdir/samples/$sample; then
35841 makefiles="samples/$sample/Makefile.in $makefiles"
35842 fi
35843 done
35844 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35845 fi
35846 else if test ${subdir} = "samples"; then
35847 makefiles="samples/Makefile.in samples/console/Makefile.in"
35848 else makefiles="utils/HelpGen/Makefile.in \
35849 utils/HelpGen/src/Makefile.in \
35850 utils/tex2rtf/Makefile.in \
35851 utils/tex2rtf/src/Makefile.in"
35852 fi
35853 fi
35854
35855 for mkin in $makefiles ; do
35856 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35857 ac_config_files="$ac_config_files $mk"
35858
35859 done
35860 fi
35861done
35862
35863
35864cat >confcache <<\_ACEOF
35865# This file is a shell script that caches the results of configure
35866# tests run on this system so they can be shared between configure
35867# scripts and configure runs, see configure's option --config-cache.
35868# It is not useful on other systems. If it contains results you don't
35869# want to keep, you may remove or edit it.
35870#
35871# config.status only pays attention to the cache file if you give it
35872# the --recheck option to rerun configure.
35873#
35874# `ac_cv_env_foo' variables (set or unset) will be overridden when
35875# loading this file, other *unset* `ac_cv_foo' will be assigned the
35876# following values.
35877
35878_ACEOF
35879
35880# The following way of writing the cache mishandles newlines in values,
35881# but we know of no workaround that is simple, portable, and efficient.
35882# So, don't put newlines in cache variables' values.
35883# Ultrix sh set writes to stderr and can't be redirected directly,
35884# and sets the high bit in the cache file unless we assign to the vars.
35885{
35886 (set) 2>&1 |
35887 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35888 *ac_space=\ *)
35889 # `set' does not quote correctly, so add quotes (double-quote
35890 # substitution turns \\\\ into \\, and sed turns \\ into \).
35891 sed -n \
35892 "s/'/'\\\\''/g;
35893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35894 ;;
35895 *)
35896 # `set' quotes correctly as required by POSIX, so do not add quotes.
35897 sed -n \
35898 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35899 ;;
35900 esac;
35901} |
35902 sed '
35903 t clear
35904 : clear
35905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35906 t end
35907 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35908 : end' >>confcache
35909if diff $cache_file confcache >/dev/null 2>&1; then :; else
35910 if test -w $cache_file; then
35911 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35912 cat confcache >$cache_file
35913 else
35914 echo "not updating unwritable cache $cache_file"
35915 fi
35916fi
35917rm -f confcache
35918
35919test "x$prefix" = xNONE && prefix=$ac_default_prefix
35920# Let make expand exec_prefix.
35921test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35922
35923# VPATH may cause trouble with some makes, so we remove $(srcdir),
35924# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35925# trailing colons and then remove the whole line if VPATH becomes empty
35926# (actually we leave an empty line to preserve line numbers).
35927if test "x$srcdir" = x.; then
35928 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35929s/:*\$(srcdir):*/:/;
35930s/:*\${srcdir}:*/:/;
35931s/:*@srcdir@:*/:/;
35932s/^\([^=]*=[ ]*\):*/\1/;
35933s/:*$//;
35934s/^[^=]*=[ ]*$//;
35935}'
35936fi
35937
35938DEFS=-DHAVE_CONFIG_H
35939
35940ac_libobjs=
35941ac_ltlibobjs=
35942for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35943 # 1. Remove the extension, and $U if already installed.
35944 ac_i=`echo "$ac_i" |
35945 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35946 # 2. Add them.
35947 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35948 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35949done
35950LIBOBJS=$ac_libobjs
35951
35952LTLIBOBJS=$ac_ltlibobjs
35953
35954
35955
35956: ${CONFIG_STATUS=./config.status}
35957ac_clean_files_save=$ac_clean_files
35958ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35959{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35960echo "$as_me: creating $CONFIG_STATUS" >&6;}
35961cat >$CONFIG_STATUS <<_ACEOF
35962#! $SHELL
35963# Generated by $as_me.
35964# Run this file to recreate the current configuration.
35965# Compiler output produced by configure, useful for debugging
35966# configure, is in config.log if it exists.
35967
35968debug=false
35969ac_cs_recheck=false
35970ac_cs_silent=false
35971SHELL=\${CONFIG_SHELL-$SHELL}
35972_ACEOF
35973
35974cat >>$CONFIG_STATUS <<\_ACEOF
35975## --------------------- ##
35976## M4sh Initialization. ##
35977## --------------------- ##
35978
35979# Be Bourne compatible
35980if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35981 emulate sh
35982 NULLCMD=:
35983 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35984 # is contrary to our usage. Disable this feature.
35985 alias -g '${1+"$@"}'='"$@"'
35986elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35987 set -o posix
35988fi
35989
35990# Support unset when possible.
35991if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35992 as_unset=unset
35993else
35994 as_unset=false
35995fi
35996
35997
35998# Work around bugs in pre-3.0 UWIN ksh.
35999$as_unset ENV MAIL MAILPATH
36000PS1='$ '
36001PS2='> '
36002PS4='+ '
36003
36004# NLS nuisances.
36005for as_var in \
36006 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36007 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36008 LC_TELEPHONE LC_TIME
36009do
36010 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36011 eval $as_var=C; export $as_var
36012 else
36013 $as_unset $as_var
36014 fi
36015done
36016
36017# Required to use basename.
36018if expr a : '\(a\)' >/dev/null 2>&1; then
36019 as_expr=expr
36020else
36021 as_expr=false
36022fi
36023
36024if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36025 as_basename=basename
36026else
36027 as_basename=false
36028fi
36029
36030
36031# Name of the executable.
36032as_me=`$as_basename "$0" ||
36033$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36034 X"$0" : 'X\(//\)$' \| \
36035 X"$0" : 'X\(/\)$' \| \
36036 . : '\(.\)' 2>/dev/null ||
36037echo X/"$0" |
36038 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36039 /^X\/\(\/\/\)$/{ s//\1/; q; }
36040 /^X\/\(\/\).*/{ s//\1/; q; }
36041 s/.*/./; q'`
36042
36043
36044# PATH needs CR, and LINENO needs CR and PATH.
36045# Avoid depending upon Character Ranges.
36046as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36047as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36048as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36049as_cr_digits='0123456789'
36050as_cr_alnum=$as_cr_Letters$as_cr_digits
36051
36052# The user is always right.
36053if test "${PATH_SEPARATOR+set}" != set; then
36054 echo "#! /bin/sh" >conf$$.sh
36055 echo "exit 0" >>conf$$.sh
36056 chmod +x conf$$.sh
36057 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36058 PATH_SEPARATOR=';'
36059 else
36060 PATH_SEPARATOR=:
36061 fi
36062 rm -f conf$$.sh
36063fi
36064
36065
36066 as_lineno_1=$LINENO
36067 as_lineno_2=$LINENO
36068 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36069 test "x$as_lineno_1" != "x$as_lineno_2" &&
36070 test "x$as_lineno_3" = "x$as_lineno_2" || {
36071 # Find who we are. Look in the path if we contain no path at all
36072 # relative or not.
36073 case $0 in
36074 *[\\/]* ) as_myself=$0 ;;
36075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36076for as_dir in $PATH
36077do
36078 IFS=$as_save_IFS
36079 test -z "$as_dir" && as_dir=.
36080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36081done
36082
36083 ;;
36084 esac
36085 # We did not find ourselves, most probably we were run as `sh COMMAND'
36086 # in which case we are not to be found in the path.
36087 if test "x$as_myself" = x; then
36088 as_myself=$0
36089 fi
36090 if test ! -f "$as_myself"; then
36091 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36092echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36093 { (exit 1); exit 1; }; }
36094 fi
36095 case $CONFIG_SHELL in
36096 '')
36097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36098for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36099do
36100 IFS=$as_save_IFS
36101 test -z "$as_dir" && as_dir=.
36102 for as_base in sh bash ksh sh5; do
36103 case $as_dir in
36104 /*)
36105 if ("$as_dir/$as_base" -c '
36106 as_lineno_1=$LINENO
36107 as_lineno_2=$LINENO
36108 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36109 test "x$as_lineno_1" != "x$as_lineno_2" &&
36110 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36111 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36112 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36113 CONFIG_SHELL=$as_dir/$as_base
36114 export CONFIG_SHELL
36115 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36116 fi;;
36117 esac
36118 done
36119done
36120;;
36121 esac
36122
36123 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36124 # uniformly replaced by the line number. The first 'sed' inserts a
36125 # line-number line before each line; the second 'sed' does the real
36126 # work. The second script uses 'N' to pair each line-number line
36127 # with the numbered line, and appends trailing '-' during
36128 # substitution so that $LINENO is not a special case at line end.
36129 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36130 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36131 sed '=' <$as_myself |
36132 sed '
36133 N
36134 s,$,-,
36135 : loop
36136 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36137 t loop
36138 s,-$,,
36139 s,^['$as_cr_digits']*\n,,
36140 ' >$as_me.lineno &&
36141 chmod +x $as_me.lineno ||
36142 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36143echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36144 { (exit 1); exit 1; }; }
36145
36146 # Don't try to exec as it changes $[0], causing all sort of problems
36147 # (the dirname of $[0] is not the place where we might find the
36148 # original and so on. Autoconf is especially sensible to this).
36149 . ./$as_me.lineno
36150 # Exit status is that of the last command.
36151 exit
36152}
36153
36154
36155case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36156 *c*,-n*) ECHO_N= ECHO_C='
36157' ECHO_T=' ' ;;
36158 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36159 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36160esac
36161
36162if expr a : '\(a\)' >/dev/null 2>&1; then
36163 as_expr=expr
36164else
36165 as_expr=false
36166fi
36167
36168rm -f conf$$ conf$$.exe conf$$.file
36169echo >conf$$.file
36170if ln -s conf$$.file conf$$ 2>/dev/null; then
36171 # We could just check for DJGPP; but this test a) works b) is more generic
36172 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36173 if test -f conf$$.exe; then
36174 # Don't use ln at all; we don't have any links
36175 as_ln_s='cp -p'
36176 else
36177 as_ln_s='ln -s'
36178 fi
36179elif ln conf$$.file conf$$ 2>/dev/null; then
36180 as_ln_s=ln
36181else
36182 as_ln_s='cp -p'
36183fi
36184rm -f conf$$ conf$$.exe conf$$.file
36185
36186if mkdir -p . 2>/dev/null; then
36187 as_mkdir_p=:
36188else
36189 as_mkdir_p=false
36190fi
36191
36192as_executable_p="test -f"
36193
36194# Sed expression to map a string onto a valid CPP name.
36195as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36196
36197# Sed expression to map a string onto a valid variable name.
36198as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36199
36200
36201# IFS
36202# We need space, tab and new line, in precisely that order.
36203as_nl='
36204'
36205IFS=" $as_nl"
36206
36207# CDPATH.
36208$as_unset CDPATH
36209
36210exec 6>&1
36211
36212# Open the log real soon, to keep \$[0] and so on meaningful, and to
36213# report actual input values of CONFIG_FILES etc. instead of their
36214# values after options handling. Logging --version etc. is OK.
36215exec 5>>config.log
36216{
36217 echo
36218 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36219## Running $as_me. ##
36220_ASBOX
36221} >&5
36222cat >&5 <<_CSEOF
36223
36224This file was extended by wxWindows $as_me 2.5.1, which was
36225generated by GNU Autoconf 2.57. Invocation command line was
36226
36227 CONFIG_FILES = $CONFIG_FILES
36228 CONFIG_HEADERS = $CONFIG_HEADERS
36229 CONFIG_LINKS = $CONFIG_LINKS
36230 CONFIG_COMMANDS = $CONFIG_COMMANDS
36231 $ $0 $@
36232
36233_CSEOF
36234echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36235echo >&5
36236_ACEOF
36237
36238# Files that config.status was made for.
36239if test -n "$ac_config_files"; then
36240 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36241fi
36242
36243if test -n "$ac_config_headers"; then
36244 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36245fi
36246
36247if test -n "$ac_config_links"; then
36248 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36249fi
36250
36251if test -n "$ac_config_commands"; then
36252 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36253fi
36254
36255cat >>$CONFIG_STATUS <<\_ACEOF
36256
36257ac_cs_usage="\
36258\`$as_me' instantiates files from templates according to the
36259current configuration.
36260
36261Usage: $0 [OPTIONS] [FILE]...
36262
36263 -h, --help print this help, then exit
36264 -V, --version print version number, then exit
36265 -q, --quiet do not print progress messages
36266 -d, --debug don't remove temporary files
36267 --recheck update $as_me by reconfiguring in the same conditions
36268 --file=FILE[:TEMPLATE]
36269 instantiate the configuration file FILE
36270 --header=FILE[:TEMPLATE]
36271 instantiate the configuration header FILE
36272
36273Configuration files:
36274$config_files
36275
36276Configuration headers:
36277$config_headers
36278
36279Configuration commands:
36280$config_commands
36281
36282Report bugs to <bug-autoconf@gnu.org>."
36283_ACEOF
36284
36285cat >>$CONFIG_STATUS <<_ACEOF
36286ac_cs_version="\\
36287wxWindows config.status 2.5.1
36288configured by $0, generated by GNU Autoconf 2.57,
36289 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36290
36291Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36292Free Software Foundation, Inc.
36293This config.status script is free software; the Free Software Foundation
36294gives unlimited permission to copy, distribute and modify it."
36295srcdir=$srcdir
36296INSTALL="$INSTALL"
36297_ACEOF
36298
36299cat >>$CONFIG_STATUS <<\_ACEOF
36300# If no file are specified by the user, then we need to provide default
36301# value. By we need to know if files were specified by the user.
36302ac_need_defaults=:
36303while test $# != 0
36304do
36305 case $1 in
36306 --*=*)
36307 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36308 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36309 ac_shift=:
36310 ;;
36311 -*)
36312 ac_option=$1
36313 ac_optarg=$2
36314 ac_shift=shift
36315 ;;
36316 *) # This is not an option, so the user has probably given explicit
36317 # arguments.
36318 ac_option=$1
36319 ac_need_defaults=false;;
36320 esac
36321
36322 case $ac_option in
36323 # Handling of the options.
36324_ACEOF
36325cat >>$CONFIG_STATUS <<\_ACEOF
36326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36327 ac_cs_recheck=: ;;
36328 --version | --vers* | -V )
36329 echo "$ac_cs_version"; exit 0 ;;
36330 --he | --h)
36331 # Conflict between --help and --header
36332 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36333Try \`$0 --help' for more information." >&5
36334echo "$as_me: error: ambiguous option: $1
36335Try \`$0 --help' for more information." >&2;}
36336 { (exit 1); exit 1; }; };;
36337 --help | --hel | -h )
36338 echo "$ac_cs_usage"; exit 0 ;;
36339 --debug | --d* | -d )
36340 debug=: ;;
36341 --file | --fil | --fi | --f )
36342 $ac_shift
36343 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36344 ac_need_defaults=false;;
36345 --header | --heade | --head | --hea )
36346 $ac_shift
36347 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36348 ac_need_defaults=false;;
36349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36350 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36351 ac_cs_silent=: ;;
36352
36353 # This is an error.
36354 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36355Try \`$0 --help' for more information." >&5
36356echo "$as_me: error: unrecognized option: $1
36357Try \`$0 --help' for more information." >&2;}
36358 { (exit 1); exit 1; }; } ;;
36359
36360 *) ac_config_targets="$ac_config_targets $1" ;;
36361
36362 esac
36363 shift
36364done
36365
36366ac_configure_extra_args=
36367
36368if $ac_cs_silent; then
36369 exec 6>/dev/null
36370 ac_configure_extra_args="$ac_configure_extra_args --silent"
36371fi
36372
36373_ACEOF
36374cat >>$CONFIG_STATUS <<_ACEOF
36375if \$ac_cs_recheck; then
36376 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36377 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36378fi
36379
36380_ACEOF
36381
36382cat >>$CONFIG_STATUS <<_ACEOF
36383#
36384# INIT-COMMANDS section.
36385#
36386
36387
36388 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36389 LN_S="${LN_S}"
36390
36391
36392
36393_ACEOF
36394
36395
36396
36397cat >>$CONFIG_STATUS <<\_ACEOF
36398for ac_config_target in $ac_config_targets
36399do
36400 case "$ac_config_target" in
36401 # Handling of arguments.
36402 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36403 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36404 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36405 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36406 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36407 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36408 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36409echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36410 { (exit 1); exit 1; }; };;
36411 esac
36412done
36413
36414# If the user did not use the arguments to specify the items to instantiate,
36415# then the envvar interface is used. Set only those that are not.
36416# We use the long form for the default assignment because of an extremely
36417# bizarre bug on SunOS 4.1.3.
36418if $ac_need_defaults; then
36419 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36420 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36421 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36422fi
36423
36424# Have a temporary directory for convenience. Make it in the build tree
36425# simply because there is no reason to put it here, and in addition,
36426# creating and moving files from /tmp can sometimes cause problems.
36427# Create a temporary directory, and hook for its removal unless debugging.
36428$debug ||
36429{
36430 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36431 trap '{ (exit 1); exit 1; }' 1 2 13 15
36432}
36433
36434# Create a (secure) tmp directory for tmp files.
36435
36436{
36437 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36438 test -n "$tmp" && test -d "$tmp"
36439} ||
36440{
36441 tmp=./confstat$$-$RANDOM
36442 (umask 077 && mkdir $tmp)
36443} ||
36444{
36445 echo "$me: cannot create a temporary directory in ." >&2
36446 { (exit 1); exit 1; }
36447}
36448
36449_ACEOF
36450
36451cat >>$CONFIG_STATUS <<_ACEOF
36452
36453#
36454# CONFIG_FILES section.
36455#
36456
36457# No need to generate the scripts if there are no CONFIG_FILES.
36458# This happens for instance when ./config.status config.h
36459if test -n "\$CONFIG_FILES"; then
36460 # Protect against being on the right side of a sed subst in config.status.
36461 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36462 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36463s,@SHELL@,$SHELL,;t t
36464s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36465s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36466s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36467s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36468s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36469s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36470s,@exec_prefix@,$exec_prefix,;t t
36471s,@prefix@,$prefix,;t t
36472s,@program_transform_name@,$program_transform_name,;t t
36473s,@bindir@,$bindir,;t t
36474s,@sbindir@,$sbindir,;t t
36475s,@libexecdir@,$libexecdir,;t t
36476s,@datadir@,$datadir,;t t
36477s,@sysconfdir@,$sysconfdir,;t t
36478s,@sharedstatedir@,$sharedstatedir,;t t
36479s,@localstatedir@,$localstatedir,;t t
36480s,@libdir@,$libdir,;t t
36481s,@includedir@,$includedir,;t t
36482s,@oldincludedir@,$oldincludedir,;t t
36483s,@infodir@,$infodir,;t t
36484s,@mandir@,$mandir,;t t
36485s,@build_alias@,$build_alias,;t t
36486s,@host_alias@,$host_alias,;t t
36487s,@target_alias@,$target_alias,;t t
36488s,@DEFS@,$DEFS,;t t
36489s,@ECHO_C@,$ECHO_C,;t t
36490s,@ECHO_N@,$ECHO_N,;t t
36491s,@ECHO_T@,$ECHO_T,;t t
36492s,@LIBS@,$LIBS,;t t
36493s,@build@,$build,;t t
36494s,@build_cpu@,$build_cpu,;t t
36495s,@build_vendor@,$build_vendor,;t t
36496s,@build_os@,$build_os,;t t
36497s,@host@,$host,;t t
36498s,@host_cpu@,$host_cpu,;t t
36499s,@host_vendor@,$host_vendor,;t t
36500s,@host_os@,$host_os,;t t
36501s,@target@,$target,;t t
36502s,@target_cpu@,$target_cpu,;t t
36503s,@target_vendor@,$target_vendor,;t t
36504s,@target_os@,$target_os,;t t
36505s,@CC@,$CC,;t t
36506s,@CFLAGS@,$CFLAGS,;t t
36507s,@LDFLAGS@,$LDFLAGS,;t t
36508s,@CPPFLAGS@,$CPPFLAGS,;t t
36509s,@ac_ct_CC@,$ac_ct_CC,;t t
36510s,@EXEEXT@,$EXEEXT,;t t
36511s,@OBJEXT@,$OBJEXT,;t t
36512s,@CPP@,$CPP,;t t
36513s,@EGREP@,$EGREP,;t t
36514s,@CXX@,$CXX,;t t
36515s,@CXXFLAGS@,$CXXFLAGS,;t t
36516s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36517s,@RANLIB@,$RANLIB,;t t
36518s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36519s,@AR@,$AR,;t t
36520s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36521s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36522s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36523s,@STRIP@,$STRIP,;t t
36524s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36525s,@LN_S@,$LN_S,;t t
36526s,@CXXCPP@,$CXXCPP,;t t
36527s,@subdirs@,$subdirs,;t t
36528s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36529s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36530s,@GTK_LIBS@,$GTK_LIBS,;t t
36531s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36532s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36533s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36534s,@X_CFLAGS@,$X_CFLAGS,;t t
36535s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36536s,@X_LIBS@,$X_LIBS,;t t
36537s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36538s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36539s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36540s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36541s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36542s,@RESCOMP@,$RESCOMP,;t t
36543s,@DEREZ@,$DEREZ,;t t
36544s,@SETFILE@,$SETFILE,;t t
36545s,@LIBICONV@,$LIBICONV,;t t
36546s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36547s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36548s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36549s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36550s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36551s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36552s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36553s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36554s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36555s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36556s,@VENDOR@,$VENDOR,;t t
36557s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36558s,@WXUNIV@,$WXUNIV,;t t
36559s,@MONOLITHIC@,$MONOLITHIC,;t t
36560s,@EXTRALIBS@,$EXTRALIBS,;t t
36561s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36562s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36563s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36564s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36565s,@UNICODE@,$UNICODE,;t t
36566s,@BUILD@,$BUILD,;t t
36567s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36568s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36569s,@SHARED@,$SHARED,;t t
36570s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36571s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36572s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36573s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36574s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36575s,@SET_MAKE@,$SET_MAKE,;t t
36576s,@MAKE_SET@,$MAKE_SET,;t t
36577s,@ac_ct_AR@,$ac_ct_AR,;t t
36578s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36579s,@NM@,$NM,;t t
36580s,@ac_ct_NM@,$ac_ct_NM,;t t
36581s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36582s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36583s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36584s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36585s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36586s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36587s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36588s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36589s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36590s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36591s,@LIBPREFIX@,$LIBPREFIX,;t t
36592s,@DLLPREFIX@,$DLLPREFIX,;t t
36593s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36594s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36595s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36596s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36597s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36598s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36599s,@PIC_FLAG@,$PIC_FLAG,;t t
36600s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36601s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36602s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36603s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36604s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36605s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36606s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36607s,@GCC_PCH@,$GCC_PCH,;t t
36608s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36609s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36610s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36611s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36612s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36613s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36614s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36615s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36616s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36617s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36618s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36619s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36620s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36621s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36622s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36623s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36624s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36625s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36626s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36627s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36628s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36629s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36630s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36631s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36632s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36633s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36634s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36635s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36636s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36637s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36638s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36639s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36640s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36641s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36642s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36643s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36644s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36645s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36646s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36647s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36648s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36649s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36650s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36651s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36652s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36653s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36654s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36655s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36656s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36657s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36658s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36659s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36660s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36661s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36662s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36663s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36664s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36665s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36666s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36667s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36668s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36669s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36670s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36671s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36672s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36673s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36674s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36675s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36676s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36677s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36678s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36679s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36680s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36681s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36682s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36683s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36684s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36685s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36686s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36687s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36688s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36689s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36690s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36691s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36692s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36693s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36694s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36695s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36696s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36697s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36698s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36699s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36700s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36701s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36702s,@PATH_IFS@,$PATH_IFS,;t t
36703s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36704s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36705s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36706s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36707s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36708s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36709s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36710s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36711s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36712s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36713s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36714s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36715s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36716s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36717s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36718s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36719s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36720s,@WX_ALL@,$WX_ALL,;t t
36721s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36722s,@SHARED_LD@,$SHARED_LD,;t t
36723s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36724s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36725s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36726s,@USE_GUI@,$USE_GUI,;t t
36727s,@AFMINSTALL@,$AFMINSTALL,;t t
36728s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36729s,@TOOLKIT@,$TOOLKIT,;t t
36730s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36731s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36732s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36733s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36734s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36735s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36736s,@cross_compiling@,$cross_compiling,;t t
36737s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36738s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36739s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36740s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36741s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36742s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36743s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36744s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36745s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36746s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36747s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36748s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36749s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36750s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36751s,@GUIDIST@,$GUIDIST,;t t
36752s,@PORT_FILES@,$PORT_FILES,;t t
36753s,@DISTDIR@,$DISTDIR,;t t
36754s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36755s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36756s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36757s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36758s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36759s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36760s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36761s,@RESFLAGS@,$RESFLAGS,;t t
36762s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36763s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36764s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36765s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36766s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36767s,@MACRESCOMP@,$MACRESCOMP,;t t
36768s,@MACSETFILE@,$MACSETFILE,;t t
36769s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36770s,@GCC@,$GCC,;t t
36771s,@DLLTOOL@,$DLLTOOL,;t t
36772s,@AS@,$AS,;t t
36773s,@LD@,$LD,;t t
36774s,@MAKEINFO@,$MAKEINFO,;t t
36775s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36776s,@LIBOBJS@,$LIBOBJS,;t t
36777s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36778CEOF
36779
36780_ACEOF
36781
36782 cat >>$CONFIG_STATUS <<\_ACEOF
36783 # Split the substitutions into bite-sized pieces for seds with
36784 # small command number limits, like on Digital OSF/1 and HP-UX.
36785 ac_max_sed_lines=48
36786 ac_sed_frag=1 # Number of current file.
36787 ac_beg=1 # First line for current file.
36788 ac_end=$ac_max_sed_lines # Line after last line for current file.
36789 ac_more_lines=:
36790 ac_sed_cmds=
36791 while $ac_more_lines; do
36792 if test $ac_beg -gt 1; then
36793 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36794 else
36795 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36796 fi
36797 if test ! -s $tmp/subs.frag; then
36798 ac_more_lines=false
36799 else
36800 # The purpose of the label and of the branching condition is to
36801 # speed up the sed processing (if there are no `@' at all, there
36802 # is no need to browse any of the substitutions).
36803 # These are the two extra sed commands mentioned above.
36804 (echo ':t
36805 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36806 if test -z "$ac_sed_cmds"; then
36807 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36808 else
36809 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36810 fi
36811 ac_sed_frag=`expr $ac_sed_frag + 1`
36812 ac_beg=$ac_end
36813 ac_end=`expr $ac_end + $ac_max_sed_lines`
36814 fi
36815 done
36816 if test -z "$ac_sed_cmds"; then
36817 ac_sed_cmds=cat
36818 fi
36819fi # test -n "$CONFIG_FILES"
36820
36821_ACEOF
36822cat >>$CONFIG_STATUS <<\_ACEOF
36823for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36824 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36825 case $ac_file in
36826 - | *:- | *:-:* ) # input from stdin
36827 cat >$tmp/stdin
36828 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36829 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36830 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36831 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36832 * ) ac_file_in=$ac_file.in ;;
36833 esac
36834
36835 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36836 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36837$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36838 X"$ac_file" : 'X\(//\)[^/]' \| \
36839 X"$ac_file" : 'X\(//\)$' \| \
36840 X"$ac_file" : 'X\(/\)' \| \
36841 . : '\(.\)' 2>/dev/null ||
36842echo X"$ac_file" |
36843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36845 /^X\(\/\/\)$/{ s//\1/; q; }
36846 /^X\(\/\).*/{ s//\1/; q; }
36847 s/.*/./; q'`
36848 { if $as_mkdir_p; then
36849 mkdir -p "$ac_dir"
36850 else
36851 as_dir="$ac_dir"
36852 as_dirs=
36853 while test ! -d "$as_dir"; do
36854 as_dirs="$as_dir $as_dirs"
36855 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36856$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36857 X"$as_dir" : 'X\(//\)[^/]' \| \
36858 X"$as_dir" : 'X\(//\)$' \| \
36859 X"$as_dir" : 'X\(/\)' \| \
36860 . : '\(.\)' 2>/dev/null ||
36861echo X"$as_dir" |
36862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36864 /^X\(\/\/\)$/{ s//\1/; q; }
36865 /^X\(\/\).*/{ s//\1/; q; }
36866 s/.*/./; q'`
36867 done
36868 test ! -n "$as_dirs" || mkdir $as_dirs
36869 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36870echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36871 { (exit 1); exit 1; }; }; }
36872
36873 ac_builddir=.
36874
36875if test "$ac_dir" != .; then
36876 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36877 # A "../" for each directory in $ac_dir_suffix.
36878 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36879else
36880 ac_dir_suffix= ac_top_builddir=
36881fi
36882
36883case $srcdir in
36884 .) # No --srcdir option. We are building in place.
36885 ac_srcdir=.
36886 if test -z "$ac_top_builddir"; then
36887 ac_top_srcdir=.
36888 else
36889 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36890 fi ;;
36891 [\\/]* | ?:[\\/]* ) # Absolute path.
36892 ac_srcdir=$srcdir$ac_dir_suffix;
36893 ac_top_srcdir=$srcdir ;;
36894 *) # Relative path.
36895 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36896 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36897esac
36898# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36899# absolute.
36900ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36901ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36902ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36903ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36904
36905
36906 case $INSTALL in
36907 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36908 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36909 esac
36910
36911 if test x"$ac_file" != x-; then
36912 { echo "$as_me:$LINENO: creating $ac_file" >&5
36913echo "$as_me: creating $ac_file" >&6;}
36914 rm -f "$ac_file"
36915 fi
36916 # Let's still pretend it is `configure' which instantiates (i.e., don't
36917 # use $as_me), people would be surprised to read:
36918 # /* config.h. Generated by config.status. */
36919 if test x"$ac_file" = x-; then
36920 configure_input=
36921 else
36922 configure_input="$ac_file. "
36923 fi
36924 configure_input=$configure_input"Generated from `echo $ac_file_in |
36925 sed 's,.*/,,'` by configure."
36926
36927 # First look for the input files in the build tree, otherwise in the
36928 # src tree.
36929 ac_file_inputs=`IFS=:
36930 for f in $ac_file_in; do
36931 case $f in
36932 -) echo $tmp/stdin ;;
36933 [\\/$]*)
36934 # Absolute (can't be DOS-style, as IFS=:)
36935 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36936echo "$as_me: error: cannot find input file: $f" >&2;}
36937 { (exit 1); exit 1; }; }
36938 echo $f;;
36939 *) # Relative
36940 if test -f "$f"; then
36941 # Build tree
36942 echo $f
36943 elif test -f "$srcdir/$f"; then
36944 # Source tree
36945 echo $srcdir/$f
36946 else
36947 # /dev/null tree
36948 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36949echo "$as_me: error: cannot find input file: $f" >&2;}
36950 { (exit 1); exit 1; }; }
36951 fi;;
36952 esac
36953 done` || { (exit 1); exit 1; }
36954_ACEOF
36955cat >>$CONFIG_STATUS <<_ACEOF
36956 sed "$ac_vpsub
36957$extrasub
36958_ACEOF
36959cat >>$CONFIG_STATUS <<\_ACEOF
36960:t
36961/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36962s,@configure_input@,$configure_input,;t t
36963s,@srcdir@,$ac_srcdir,;t t
36964s,@abs_srcdir@,$ac_abs_srcdir,;t t
36965s,@top_srcdir@,$ac_top_srcdir,;t t
36966s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36967s,@builddir@,$ac_builddir,;t t
36968s,@abs_builddir@,$ac_abs_builddir,;t t
36969s,@top_builddir@,$ac_top_builddir,;t t
36970s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36971s,@INSTALL@,$ac_INSTALL,;t t
36972" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36973 rm -f $tmp/stdin
36974 if test x"$ac_file" != x-; then
36975 mv $tmp/out $ac_file
36976 else
36977 cat $tmp/out
36978 rm -f $tmp/out
36979 fi
36980
36981done
36982_ACEOF
36983cat >>$CONFIG_STATUS <<\_ACEOF
36984
36985#
36986# CONFIG_HEADER section.
36987#
36988
36989# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36990# NAME is the cpp macro being defined and VALUE is the value it is being given.
36991#
36992# ac_d sets the value in "#define NAME VALUE" lines.
36993ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36994ac_dB='[ ].*$,\1#\2'
36995ac_dC=' '
36996ac_dD=',;t'
36997# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36998ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36999ac_uB='$,\1#\2define\3'
37000ac_uC=' '
37001ac_uD=',;t'
37002
37003for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37004 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37005 case $ac_file in
37006 - | *:- | *:-:* ) # input from stdin
37007 cat >$tmp/stdin
37008 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37010 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37011 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37012 * ) ac_file_in=$ac_file.in ;;
37013 esac
37014
37015 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37016echo "$as_me: creating $ac_file" >&6;}
37017
37018 # First look for the input files in the build tree, otherwise in the
37019 # src tree.
37020 ac_file_inputs=`IFS=:
37021 for f in $ac_file_in; do
37022 case $f in
37023 -) echo $tmp/stdin ;;
37024 [\\/$]*)
37025 # Absolute (can't be DOS-style, as IFS=:)
37026 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37027echo "$as_me: error: cannot find input file: $f" >&2;}
37028 { (exit 1); exit 1; }; }
37029 echo $f;;
37030 *) # Relative
37031 if test -f "$f"; then
37032 # Build tree
37033 echo $f
37034 elif test -f "$srcdir/$f"; then
37035 # Source tree
37036 echo $srcdir/$f
37037 else
37038 # /dev/null tree
37039 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37040echo "$as_me: error: cannot find input file: $f" >&2;}
37041 { (exit 1); exit 1; }; }
37042 fi;;
37043 esac
37044 done` || { (exit 1); exit 1; }
37045 # Remove the trailing spaces.
37046 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37047
37048_ACEOF
37049
37050# Transform confdefs.h into two sed scripts, `conftest.defines' and
37051# `conftest.undefs', that substitutes the proper values into
37052# config.h.in to produce config.h. The first handles `#define'
37053# templates, and the second `#undef' templates.
37054# And first: Protect against being on the right side of a sed subst in
37055# config.status. Protect against being in an unquoted here document
37056# in config.status.
37057rm -f conftest.defines conftest.undefs
37058# Using a here document instead of a string reduces the quoting nightmare.
37059# Putting comments in sed scripts is not portable.
37060#
37061# `end' is used to avoid that the second main sed command (meant for
37062# 0-ary CPP macros) applies to n-ary macro definitions.
37063# See the Autoconf documentation for `clear'.
37064cat >confdef2sed.sed <<\_ACEOF
37065s/[\\&,]/\\&/g
37066s,[\\$`],\\&,g
37067t clear
37068: clear
37069s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37070t end
37071s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37072: end
37073_ACEOF
37074# If some macros were called several times there might be several times
37075# the same #defines, which is useless. Nevertheless, we may not want to
37076# sort them, since we want the *last* AC-DEFINE to be honored.
37077uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37078sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37079rm -f confdef2sed.sed
37080
37081# This sed command replaces #undef with comments. This is necessary, for
37082# example, in the case of _POSIX_SOURCE, which is predefined and required
37083# on some systems where configure will not decide to define it.
37084cat >>conftest.undefs <<\_ACEOF
37085s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37086_ACEOF
37087
37088# Break up conftest.defines because some shells have a limit on the size
37089# of here documents, and old seds have small limits too (100 cmds).
37090echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37091echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37092echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37093echo ' :' >>$CONFIG_STATUS
37094rm -f conftest.tail
37095while grep . conftest.defines >/dev/null
37096do
37097 # Write a limited-size here document to $tmp/defines.sed.
37098 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37099 # Speed up: don't consider the non `#define' lines.
37100 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37101 # Work around the forget-to-reset-the-flag bug.
37102 echo 't clr' >>$CONFIG_STATUS
37103 echo ': clr' >>$CONFIG_STATUS
37104 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37105 echo 'CEOF
37106 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37107 rm -f $tmp/in
37108 mv $tmp/out $tmp/in
37109' >>$CONFIG_STATUS
37110 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37111 rm -f conftest.defines
37112 mv conftest.tail conftest.defines
37113done
37114rm -f conftest.defines
37115echo ' fi # grep' >>$CONFIG_STATUS
37116echo >>$CONFIG_STATUS
37117
37118# Break up conftest.undefs because some shells have a limit on the size
37119# of here documents, and old seds have small limits too (100 cmds).
37120echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37121rm -f conftest.tail
37122while grep . conftest.undefs >/dev/null
37123do
37124 # Write a limited-size here document to $tmp/undefs.sed.
37125 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37126 # Speed up: don't consider the non `#undef'
37127 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37128 # Work around the forget-to-reset-the-flag bug.
37129 echo 't clr' >>$CONFIG_STATUS
37130 echo ': clr' >>$CONFIG_STATUS
37131 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37132 echo 'CEOF
37133 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37134 rm -f $tmp/in
37135 mv $tmp/out $tmp/in
37136' >>$CONFIG_STATUS
37137 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37138 rm -f conftest.undefs
37139 mv conftest.tail conftest.undefs
37140done
37141rm -f conftest.undefs
37142
37143cat >>$CONFIG_STATUS <<\_ACEOF
37144 # Let's still pretend it is `configure' which instantiates (i.e., don't
37145 # use $as_me), people would be surprised to read:
37146 # /* config.h. Generated by config.status. */
37147 if test x"$ac_file" = x-; then
37148 echo "/* Generated by configure. */" >$tmp/config.h
37149 else
37150 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37151 fi
37152 cat $tmp/in >>$tmp/config.h
37153 rm -f $tmp/in
37154 if test x"$ac_file" != x-; then
37155 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37156 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37157echo "$as_me: $ac_file is unchanged" >&6;}
37158 else
37159 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37160$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37161 X"$ac_file" : 'X\(//\)[^/]' \| \
37162 X"$ac_file" : 'X\(//\)$' \| \
37163 X"$ac_file" : 'X\(/\)' \| \
37164 . : '\(.\)' 2>/dev/null ||
37165echo X"$ac_file" |
37166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37168 /^X\(\/\/\)$/{ s//\1/; q; }
37169 /^X\(\/\).*/{ s//\1/; q; }
37170 s/.*/./; q'`
37171 { if $as_mkdir_p; then
37172 mkdir -p "$ac_dir"
37173 else
37174 as_dir="$ac_dir"
37175 as_dirs=
37176 while test ! -d "$as_dir"; do
37177 as_dirs="$as_dir $as_dirs"
37178 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37179$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37180 X"$as_dir" : 'X\(//\)[^/]' \| \
37181 X"$as_dir" : 'X\(//\)$' \| \
37182 X"$as_dir" : 'X\(/\)' \| \
37183 . : '\(.\)' 2>/dev/null ||
37184echo X"$as_dir" |
37185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37187 /^X\(\/\/\)$/{ s//\1/; q; }
37188 /^X\(\/\).*/{ s//\1/; q; }
37189 s/.*/./; q'`
37190 done
37191 test ! -n "$as_dirs" || mkdir $as_dirs
37192 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37193echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37194 { (exit 1); exit 1; }; }; }
37195
37196 rm -f $ac_file
37197 mv $tmp/config.h $ac_file
37198 fi
37199 else
37200 cat $tmp/config.h
37201 rm -f $tmp/config.h
37202 fi
37203done
37204_ACEOF
37205cat >>$CONFIG_STATUS <<\_ACEOF
37206
37207#
37208# CONFIG_COMMANDS section.
37209#
37210for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37211 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37212 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37213 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37214$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37215 X"$ac_dest" : 'X\(//\)[^/]' \| \
37216 X"$ac_dest" : 'X\(//\)$' \| \
37217 X"$ac_dest" : 'X\(/\)' \| \
37218 . : '\(.\)' 2>/dev/null ||
37219echo X"$ac_dest" |
37220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37222 /^X\(\/\/\)$/{ s//\1/; q; }
37223 /^X\(\/\).*/{ s//\1/; q; }
37224 s/.*/./; q'`
37225 ac_builddir=.
37226
37227if test "$ac_dir" != .; then
37228 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37229 # A "../" for each directory in $ac_dir_suffix.
37230 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37231else
37232 ac_dir_suffix= ac_top_builddir=
37233fi
37234
37235case $srcdir in
37236 .) # No --srcdir option. We are building in place.
37237 ac_srcdir=.
37238 if test -z "$ac_top_builddir"; then
37239 ac_top_srcdir=.
37240 else
37241 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37242 fi ;;
37243 [\\/]* | ?:[\\/]* ) # Absolute path.
37244 ac_srcdir=$srcdir$ac_dir_suffix;
37245 ac_top_srcdir=$srcdir ;;
37246 *) # Relative path.
37247 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37248 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37249esac
37250# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37251# absolute.
37252ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37253ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37254ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37255ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37256
37257
37258 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37259echo "$as_me: executing $ac_dest commands" >&6;}
37260 case $ac_dest in
37261 default )
37262 if test ! -h wx-config; then
37263 chmod +x wx-config
37264 mv wx-config wx${TOOLCHAIN_NAME}-config
37265 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37266 fi
37267
37268 if test ! -d lib; then
37269 mkdir lib
37270 fi
37271 if test ! -d lib/wx; then
37272 mkdir lib/wx
37273 fi
37274 if test ! -d lib/wx/include; then
37275 mkdir lib/wx/include
37276 fi
37277 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37278 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37279 fi
37280 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37281 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37282 fi
37283 if test -f setup.h; then
37284 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37285 fi
37286 ;;
37287 esac
37288done
37289_ACEOF
37290
37291cat >>$CONFIG_STATUS <<\_ACEOF
37292
37293{ (exit 0); exit 0; }
37294_ACEOF
37295chmod +x $CONFIG_STATUS
37296ac_clean_files=$ac_clean_files_save
37297
37298
37299# configure is writing to config.log, and then calls config.status.
37300# config.status does its own redirection, appending to config.log.
37301# Unfortunately, on DOS this fails, as config.log is still kept open
37302# by configure, so config.status won't be able to write to it; its
37303# output is simply discarded. So we exec the FD to /dev/null,
37304# effectively closing config.log, so it can be properly (re)opened and
37305# appended to by config.status. When coming back to configure, we
37306# need to make the FD available again.
37307if test "$no_create" != yes; then
37308 ac_cs_success=:
37309 ac_config_status_args=
37310 test "$silent" = yes &&
37311 ac_config_status_args="$ac_config_status_args --quiet"
37312 exec 5>/dev/null
37313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37314 exec 5>>config.log
37315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37316 # would make configure fail if this is the last instruction.
37317 $ac_cs_success || { (exit 1); exit 1; }
37318fi
37319
37320#
37321# CONFIG_SUBDIRS section.
37322#
37323if test "$no_recursion" != yes; then
37324
37325 # Remove --cache-file and --srcdir arguments so they do not pile up.
37326 ac_sub_configure_args=
37327 ac_prev=
37328 for ac_arg in $ac_configure_args; do
37329 if test -n "$ac_prev"; then
37330 ac_prev=
37331 continue
37332 fi
37333 case $ac_arg in
37334 -cache-file | --cache-file | --cache-fil | --cache-fi \
37335 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37336 ac_prev=cache_file ;;
37337 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37338 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37339 | --c=*)
37340 ;;
37341 --config-cache | -C)
37342 ;;
37343 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37344 ac_prev=srcdir ;;
37345 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37346 ;;
37347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37348 ac_prev=prefix ;;
37349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37350 ;;
37351 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37352 esac
37353 done
37354
37355 # Always prepend --prefix to ensure using the same prefix
37356 # in subdir configurations.
37357 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37358
37359 ac_popdir=`pwd`
37360 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37361
37362 # Do not complain, so a configure script can configure whichever
37363 # parts of a large source tree are present.
37364 test -d $srcdir/$ac_dir || continue
37365
37366 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37367echo "$as_me: configuring in $ac_dir" >&6;}
37368 { if $as_mkdir_p; then
37369 mkdir -p "$ac_dir"
37370 else
37371 as_dir="$ac_dir"
37372 as_dirs=
37373 while test ! -d "$as_dir"; do
37374 as_dirs="$as_dir $as_dirs"
37375 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37376$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37377 X"$as_dir" : 'X\(//\)[^/]' \| \
37378 X"$as_dir" : 'X\(//\)$' \| \
37379 X"$as_dir" : 'X\(/\)' \| \
37380 . : '\(.\)' 2>/dev/null ||
37381echo X"$as_dir" |
37382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37384 /^X\(\/\/\)$/{ s//\1/; q; }
37385 /^X\(\/\).*/{ s//\1/; q; }
37386 s/.*/./; q'`
37387 done
37388 test ! -n "$as_dirs" || mkdir $as_dirs
37389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37390echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37391 { (exit 1); exit 1; }; }; }
37392
37393 ac_builddir=.
37394
37395if test "$ac_dir" != .; then
37396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37397 # A "../" for each directory in $ac_dir_suffix.
37398 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37399else
37400 ac_dir_suffix= ac_top_builddir=
37401fi
37402
37403case $srcdir in
37404 .) # No --srcdir option. We are building in place.
37405 ac_srcdir=.
37406 if test -z "$ac_top_builddir"; then
37407 ac_top_srcdir=.
37408 else
37409 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37410 fi ;;
37411 [\\/]* | ?:[\\/]* ) # Absolute path.
37412 ac_srcdir=$srcdir$ac_dir_suffix;
37413 ac_top_srcdir=$srcdir ;;
37414 *) # Relative path.
37415 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37416 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37417esac
37418# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37419# absolute.
37420ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37421ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37422ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37423ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37424
37425
37426 cd $ac_dir
37427
37428 # Check for guested configure; otherwise get Cygnus style configure.
37429 if test -f $ac_srcdir/configure.gnu; then
37430 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37431 elif test -f $ac_srcdir/configure; then
37432 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37433 elif test -f $ac_srcdir/configure.in; then
37434 ac_sub_configure=$ac_configure
37435 else
37436 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37437echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37438 ac_sub_configure=
37439 fi
37440
37441 # The recursion is here.
37442 if test -n "$ac_sub_configure"; then
37443 # Make the cache file name correct relative to the subdirectory.
37444 case $cache_file in
37445 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37446 *) # Relative path.
37447 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37448 esac
37449
37450 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37451echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37452 # The eval makes quoting arguments work.
37453 eval $ac_sub_configure $ac_sub_configure_args \
37454 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37455 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37456echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37457 { (exit 1); exit 1; }; }
37458 fi
37459
37460 cd $ac_popdir
37461 done
37462fi
37463
37464
37465echo
37466echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37467echo ""
37468echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37469echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37470
37471echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37472echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37473echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37474
37475echo " What level of wxWindows compatibility should be enabled?"
37476echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37477echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37478
37479echo " Which libraries should wxWindows use?"
37480echo " jpeg ${wxUSE_LIBJPEG-none}"
37481echo " png ${wxUSE_LIBPNG-none}"
37482echo " regex ${wxUSE_REGEX}"
37483echo " tiff ${wxUSE_LIBTIFF-none}"
37484echo " zlib ${wxUSE_ZLIB}"
37485echo " odbc ${wxUSE_ODBC}"
37486echo " expat ${wxUSE_EXPAT}"
37487
37488echo ""
37489