]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
moved wxWave, wxJoystick and wxTaskBarIcon to wxAdvanced
[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.0.
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.0'
273PACKAGE_STRING='wxWindows 2.5.0'
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 YACC LEX LEXLIB LEX_OUTPUT_ROOT 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 wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE 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 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_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_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_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0_USE_GUI_1_USE_OPENGL_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_GTK_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_UNICODE_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_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 COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1 LEX_STEM 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 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 NM LD MAKEINFO INSTALL_LIBRARY ESD_LINK 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.0 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.0:";;
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-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
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-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032
1033Optional Packages:
1034 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1035 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1036 --with-gtk use GTK+
1037 --with-motif use Motif/Lesstif
1038 --with-mac use Mac OS X
1039 --with-cocoa use Cocoa
1040 --with-wine use Wine
1041 --with-msw use MS-Windows
1042 --with-pm use OS/2 Presentation Manager
1043 --with-mgl use SciTech MGL
1044 --with-microwin use MicroWindows
1045 --with-x11 use X11
1046 --with-libpng use libpng (PNG image format)
1047 --with-libjpeg use libjpeg (JPEG file format)
1048 --with-libtiff use libtiff (TIFF file format)
1049 --with-opengl use OpenGL (or Mesa)
1050 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1051 --with-regex enable support for wxRegEx class
1052 --with-zlib use zlib for LZW compression
1053 --with-odbc use the IODBC and wxODBC classes
1054 --with-expat enable XML support using expat parser
1055 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1056 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1057 --with-x use the X Window System
1058 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1059
1060Some influential environment variables:
1061 CC C compiler command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1064 nonstandard directory <lib dir>
1065 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1066 headers in a nonstandard directory <include dir>
1067 CPP C preprocessor
1068 CXX C++ compiler command
1069 CXXFLAGS C++ compiler flags
1070 CXXCPP C++ preprocessor
1071
1072Use these variables to override the choices made by `configure' or to help
1073it to find libraries and programs with nonstandard names/locations.
1074
1075Report bugs to <wx-dev@lists.wxwindows.org>.
1076_ACEOF
1077fi
1078
1079if test "$ac_init_help" = "recursive"; then
1080 # If there are subdirs, report their specific --help.
1081 ac_popdir=`pwd`
1082 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083 test -d $ac_dir || continue
1084 ac_builddir=.
1085
1086if test "$ac_dir" != .; then
1087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090else
1091 ac_dir_suffix= ac_top_builddir=
1092fi
1093
1094case $srcdir in
1095 .) # No --srcdir option. We are building in place.
1096 ac_srcdir=.
1097 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=.
1099 else
1100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101 fi ;;
1102 [\\/]* | ?:[\\/]* ) # Absolute path.
1103 ac_srcdir=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir=$srcdir ;;
1105 *) # Relative path.
1106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108esac
1109# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1110# absolute.
1111ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115
1116 cd $ac_dir
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu; then
1119 echo
1120 $SHELL $ac_srcdir/configure.gnu --help=recursive
1121 elif test -f $ac_srcdir/configure; then
1122 echo
1123 $SHELL $ac_srcdir/configure --help=recursive
1124 elif test -f $ac_srcdir/configure.ac ||
1125 test -f $ac_srcdir/configure.in; then
1126 echo
1127 $ac_configure --help
1128 else
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 fi
1131 cd $ac_popdir
1132 done
1133fi
1134
1135test -n "$ac_init_help" && exit 0
1136if $ac_init_version; then
1137 cat <<\_ACEOF
1138wxWindows configure 2.5.0
1139generated by GNU Autoconf 2.57
1140
1141Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142Free Software Foundation, Inc.
1143This configure script is free software; the Free Software Foundation
1144gives unlimited permission to copy, distribute and modify it.
1145_ACEOF
1146 exit 0
1147fi
1148exec 5>config.log
1149cat >&5 <<_ACEOF
1150This file contains any messages produced by compilers while
1151running configure, to aid debugging if configure makes a mistake.
1152
1153It was created by wxWindows $as_me 2.5.0, which was
1154generated by GNU Autoconf 2.57. Invocation command line was
1155
1156 $ $0 $@
1157
1158_ACEOF
1159{
1160cat <<_ASUNAME
1161## --------- ##
1162## Platform. ##
1163## --------- ##
1164
1165hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1166uname -m = `(uname -m) 2>/dev/null || echo unknown`
1167uname -r = `(uname -r) 2>/dev/null || echo unknown`
1168uname -s = `(uname -s) 2>/dev/null || echo unknown`
1169uname -v = `(uname -v) 2>/dev/null || echo unknown`
1170
1171/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1172/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1173
1174/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1175/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1176/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1177hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1178/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1179/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1180/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181
1182_ASUNAME
1183
1184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185for as_dir in $PATH
1186do
1187 IFS=$as_save_IFS
1188 test -z "$as_dir" && as_dir=.
1189 echo "PATH: $as_dir"
1190done
1191
1192} >&5
1193
1194cat >&5 <<_ACEOF
1195
1196
1197## ----------- ##
1198## Core tests. ##
1199## ----------- ##
1200
1201_ACEOF
1202
1203
1204# Keep a trace of the command line.
1205# Strip out --no-create and --no-recursion so they do not pile up.
1206# Strip out --silent because we don't want to record it for future runs.
1207# Also quote any args containing shell meta-characters.
1208# Make two passes to allow for proper duplicate-argument suppression.
1209ac_configure_args=
1210ac_configure_args0=
1211ac_configure_args1=
1212ac_sep=
1213ac_must_keep_next=false
1214for ac_pass in 1 2
1215do
1216 for ac_arg
1217 do
1218 case $ac_arg in
1219 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1222 continue ;;
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 esac
1226 case $ac_pass in
1227 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1228 2)
1229 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1230 if test $ac_must_keep_next = true; then
1231 ac_must_keep_next=false # Got value, back to normal.
1232 else
1233 case $ac_arg in
1234 *=* | --config-cache | -C | -disable-* | --disable-* \
1235 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237 | -with-* | --with-* | -without-* | --without-* | --x)
1238 case "$ac_configure_args0 " in
1239 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 esac
1241 ;;
1242 -* ) ac_must_keep_next=true ;;
1243 esac
1244 fi
1245 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1246 # Get rid of the leading space.
1247 ac_sep=" "
1248 ;;
1249 esac
1250 done
1251done
1252$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1253$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1254
1255# When interrupted or exit'd, cleanup temporary files, and complete
1256# config.log. We remove comments because anyway the quotes in there
1257# would cause problems or look ugly.
1258# WARNING: Be sure not to use single quotes in there, as some shells,
1259# such as our DU 5.0 friend, will then `close' the trap.
1260trap 'exit_status=$?
1261 # Save into config.log some information that might help in debugging.
1262 {
1263 echo
1264
1265 cat <<\_ASBOX
1266## ---------------- ##
1267## Cache variables. ##
1268## ---------------- ##
1269_ASBOX
1270 echo
1271 # The following way of writing the cache mishandles newlines in values,
1272{
1273 (set) 2>&1 |
1274 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 *ac_space=\ *)
1276 sed -n \
1277 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 ;;
1280 *)
1281 sed -n \
1282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ;;
1284 esac;
1285}
1286 echo
1287
1288 cat <<\_ASBOX
1289## ----------------- ##
1290## Output variables. ##
1291## ----------------- ##
1292_ASBOX
1293 echo
1294 for ac_var in $ac_subst_vars
1295 do
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1298 done | sort
1299 echo
1300
1301 if test -n "$ac_subst_files"; then
1302 cat <<\_ASBOX
1303## ------------- ##
1304## Output files. ##
1305## ------------- ##
1306_ASBOX
1307 echo
1308 for ac_var in $ac_subst_files
1309 do
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1312 done | sort
1313 echo
1314 fi
1315
1316 if test -s confdefs.h; then
1317 cat <<\_ASBOX
1318## ----------- ##
1319## confdefs.h. ##
1320## ----------- ##
1321_ASBOX
1322 echo
1323 sed "/^$/d" confdefs.h | sort
1324 echo
1325 fi
1326 test "$ac_signal" != 0 &&
1327 echo "$as_me: caught signal $ac_signal"
1328 echo "$as_me: exit $exit_status"
1329 } >&5
1330 rm -f core core.* *.core &&
1331 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 exit $exit_status
1333 ' 0
1334for ac_signal in 1 2 13 15; do
1335 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336done
1337ac_signal=0
1338
1339# confdefs.h avoids OS command line length limits that DEFS can exceed.
1340rm -rf conftest* confdefs.h
1341# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342echo >confdefs.h
1343
1344# Predefined preprocessor variables.
1345
1346cat >>confdefs.h <<_ACEOF
1347#define PACKAGE_NAME "$PACKAGE_NAME"
1348_ACEOF
1349
1350
1351cat >>confdefs.h <<_ACEOF
1352#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353_ACEOF
1354
1355
1356cat >>confdefs.h <<_ACEOF
1357#define PACKAGE_VERSION "$PACKAGE_VERSION"
1358_ACEOF
1359
1360
1361cat >>confdefs.h <<_ACEOF
1362#define PACKAGE_STRING "$PACKAGE_STRING"
1363_ACEOF
1364
1365
1366cat >>confdefs.h <<_ACEOF
1367#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368_ACEOF
1369
1370
1371# Let the site file select an alternate cache file if it wants to.
1372# Prefer explicitly selected file to automatically selected ones.
1373if test -z "$CONFIG_SITE"; then
1374 if test "x$prefix" != xNONE; then
1375 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1376 else
1377 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 fi
1379fi
1380for ac_site_file in $CONFIG_SITE; do
1381 if test -r "$ac_site_file"; then
1382 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383echo "$as_me: loading site script $ac_site_file" >&6;}
1384 sed 's/^/| /' "$ac_site_file" >&5
1385 . "$ac_site_file"
1386 fi
1387done
1388
1389if test -r "$cache_file"; then
1390 # Some versions of bash will fail to source /dev/null (special
1391 # files actually), so we avoid doing that.
1392 if test -f "$cache_file"; then
1393 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394echo "$as_me: loading cache $cache_file" >&6;}
1395 case $cache_file in
1396 [\\/]* | ?:[\\/]* ) . $cache_file;;
1397 *) . ./$cache_file;;
1398 esac
1399 fi
1400else
1401 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1402echo "$as_me: creating cache $cache_file" >&6;}
1403 >$cache_file
1404fi
1405
1406# Check that the precious variables saved in the cache have kept the same
1407# value.
1408ac_cache_corrupted=false
1409for ac_var in `(set) 2>&1 |
1410 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1411 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1412 eval ac_new_set=\$ac_env_${ac_var}_set
1413 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1414 eval ac_new_val="\$ac_env_${ac_var}_value"
1415 case $ac_old_set,$ac_new_set in
1416 set,)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1418echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,set)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1422echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,);;
1425 *)
1426 if test "x$ac_old_val" != "x$ac_new_val"; then
1427 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1428echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1429 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1430echo "$as_me: former value: $ac_old_val" >&2;}
1431 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1432echo "$as_me: current value: $ac_new_val" >&2;}
1433 ac_cache_corrupted=:
1434 fi;;
1435 esac
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1438 case $ac_new_val in
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg=$ac_var=$ac_new_val ;;
1442 esac
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 esac
1447 fi
1448done
1449if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1453echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1455fi
1456
1457ac_ext=c
1458ac_cpp='$CPP $CPPFLAGS'
1459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461ac_compiler_gnu=$ac_cv_c_compiler_gnu
1462
1463
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
1492ac_aux_dir=
1493for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1494 if test -f $ac_dir/install-sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install-sh -c"
1497 break
1498 elif test -f $ac_dir/install.sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install.sh -c"
1501 break
1502 elif test -f $ac_dir/shtool; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 break
1506 fi
1507done
1508if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1512fi
1513ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1514ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1515ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1516
1517# Make sure we can run config.sub.
1518$ac_config_sub sun4 >/dev/null 2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1522
1523echo "$as_me:$LINENO: checking build system type" >&5
1524echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1527else
1528 ac_cv_build_alias=$build_alias
1529test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias=`$ac_config_guess`
1531test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1539
1540fi
1541echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542echo "${ECHO_T}$ac_cv_build" >&6
1543build=$ac_cv_build
1544build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547
1548
1549echo "$as_me:$LINENO: checking host system type" >&5
1550echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1553else
1554 ac_cv_host_alias=$host_alias
1555test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias=$ac_cv_build_alias
1557ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1561
1562fi
1563echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564echo "${ECHO_T}$ac_cv_host" >&6
1565host=$ac_cv_host
1566host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569
1570
1571echo "$as_me:$LINENO: checking target system type" >&5
1572echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575else
1576 ac_cv_target_alias=$target_alias
1577test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias=$ac_cv_host_alias
1579ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584fi
1585echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586echo "${ECHO_T}$ac_cv_target" >&6
1587target=$ac_cv_target
1588target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1591
1592
1593# The aliases save the names the user supplied, while $host etc.
1594# will get canonicalized.
1595test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1597 NONENONEs,x,x, &&
1598 program_prefix=${target_alias}-
1599
1600
1601
1602WX_MAJOR_VERSION_NUMBER=2
1603WX_MINOR_VERSION_NUMBER=5
1604WX_RELEASE_NUMBER=0
1605
1606WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1607WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1608
1609WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1610
1611WX_CURRENT=0
1612WX_REVISION=0
1613WX_AGE=0
1614
1615
1616
1617USE_UNIX=1
1618USE_WIN32=0
1619USE_DOS=0
1620USE_BEOS=0
1621USE_MAC=0
1622
1623USE_AIX=
1624USE_BSD= USE_DARWIN= USE_FREEBSD=
1625USE_GNU= USE_HPUX=
1626USE_LINUX=
1627USE_NETBSD=
1628USE_OPENBSD=
1629USE_OSF= USE_SGI=
1630USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1631USE_ULTRIX=
1632USE_UNIXWARE=
1633
1634USE_ALPHA=
1635
1636NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1637
1638ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1639
1640DEFAULT_wxUSE_COCOA=0
1641DEFAULT_wxUSE_GTK=0
1642DEFAULT_wxUSE_MAC=0
1643DEFAULT_wxUSE_MGL=0
1644DEFAULT_wxUSE_MICROWIN=0
1645DEFAULT_wxUSE_MOTIF=0
1646DEFAULT_wxUSE_MSW=0
1647DEFAULT_wxUSE_PM=0
1648DEFAULT_wxUSE_X11=0
1649
1650DEFAULT_DEFAULT_wxUSE_COCOA=0
1651DEFAULT_DEFAULT_wxUSE_GTK=0
1652DEFAULT_DEFAULT_wxUSE_MAC=0
1653DEFAULT_DEFAULT_wxUSE_MGL=0
1654DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1655DEFAULT_DEFAULT_wxUSE_MOTIF=0
1656DEFAULT_DEFAULT_wxUSE_MSW=0
1657DEFAULT_DEFAULT_wxUSE_PM=0
1658DEFAULT_DEFAULT_wxUSE_X11=0
1659
1660PROGRAM_EXT=
1661SO_SUFFIX=so
1662SAMPLES_RPATH_FLAG=
1663
1664case "${host}" in
1665 *-hp-hpux* )
1666 USE_HPUX=1
1667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1669 SO_SUFFIX=sl
1670 cat >>confdefs.h <<\_ACEOF
1671#define __HPUX__ 1
1672_ACEOF
1673
1674 ;;
1675 *-*-linux* )
1676 USE_LINUX=1
1677 cat >>confdefs.h <<\_ACEOF
1678#define __LINUX__ 1
1679_ACEOF
1680
1681 TMP=`uname -m`
1682 if test "x$TMP" = "xalpha"; then
1683 USE_ALPHA=1
1684 cat >>confdefs.h <<\_ACEOF
1685#define __ALPHA__ 1
1686_ACEOF
1687
1688 fi
1689 DEFAULT_DEFAULT_wxUSE_GTK=1
1690 ;;
1691 *-*-gnu* )
1692 USE_GNU=1
1693 cat >>confdefs.h <<\_ACEOF
1694#define __GNU__ 1
1695_ACEOF
1696
1697 TMP=`uname -m`
1698 if test "x$TMP" = "xalpha"; then
1699 USE_ALPHA=1
1700 cat >>confdefs.h <<\_ACEOF
1701#define __ALPHA__ 1
1702_ACEOF
1703
1704 fi
1705 DEFAULT_DEFAULT_wxUSE_GTK=1
1706 ;;
1707 *-*-irix5* | *-*-irix6* )
1708 USE_SGI=1
1709 USE_SVR4=1
1710 cat >>confdefs.h <<\_ACEOF
1711#define __SGI__ 1
1712_ACEOF
1713
1714 cat >>confdefs.h <<\_ACEOF
1715#define __SVR4__ 1
1716_ACEOF
1717
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1719 ;;
1720 *-*-solaris2* )
1721 USE_SUN=1
1722 USE_SOLARIS=1
1723 USE_SVR4=1
1724 cat >>confdefs.h <<\_ACEOF
1725#define __SUN__ 1
1726_ACEOF
1727
1728 cat >>confdefs.h <<\_ACEOF
1729#define __SOLARIS__ 1
1730_ACEOF
1731
1732 cat >>confdefs.h <<\_ACEOF
1733#define __SVR4__ 1
1734_ACEOF
1735
1736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1738 ;;
1739 *-*-sunos4* )
1740 USE_SUN=1
1741 USE_SUNOS=1
1742 USE_BSD=1
1743 cat >>confdefs.h <<\_ACEOF
1744#define __SUN__ 1
1745_ACEOF
1746
1747 cat >>confdefs.h <<\_ACEOF
1748#define __SUNOS__ 1
1749_ACEOF
1750
1751 cat >>confdefs.h <<\_ACEOF
1752#define __BSD__ 1
1753_ACEOF
1754
1755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1756 ;;
1757 *-*-freebsd*)
1758 USE_BSD=1
1759 USE_FREEBSD=1
1760 cat >>confdefs.h <<\_ACEOF
1761#define __FREEBSD__ 1
1762_ACEOF
1763
1764 cat >>confdefs.h <<\_ACEOF
1765#define __BSD__ 1
1766_ACEOF
1767
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-openbsd*)
1771 USE_BSD=1
1772 USE_OPENBSD=1
1773 cat >>confdefs.h <<\_ACEOF
1774#define __OPENBSD__ 1
1775_ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778#define __BSD__ 1
1779_ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_GTK=1
1782 ;;
1783 *-*-netbsd*)
1784 USE_BSD=1
1785 USE_NETBSD=1
1786 cat >>confdefs.h <<\_ACEOF
1787#define __NETBSD__ 1
1788_ACEOF
1789
1790 cat >>confdefs.h <<\_ACEOF
1791#define __BSD__ 1
1792_ACEOF
1793
1794 DEFAULT_DEFAULT_wxUSE_GTK=1
1795 ;;
1796 *-*-osf* )
1797 USE_ALPHA=1
1798 USE_OSF=1
1799 cat >>confdefs.h <<\_ACEOF
1800#define __ALPHA__ 1
1801_ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804#define __OSF__ 1
1805_ACEOF
1806
1807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1808 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1809 ;;
1810 *-*-dgux5* )
1811 USE_ALPHA=1
1812 USE_SVR4=1
1813 cat >>confdefs.h <<\_ACEOF
1814#define __ALPHA__ 1
1815_ACEOF
1816
1817 cat >>confdefs.h <<\_ACEOF
1818#define __SVR4__ 1
1819_ACEOF
1820
1821 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1822 ;;
1823 *-*-sysv5* )
1824 USE_SYSV=1
1825 USE_SVR4=1
1826 cat >>confdefs.h <<\_ACEOF
1827#define __SYSV__ 1
1828_ACEOF
1829
1830 cat >>confdefs.h <<\_ACEOF
1831#define __SVR4__ 1
1832_ACEOF
1833
1834 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1835 ;;
1836 *-*-aix* )
1837 USE_AIX=1
1838 USE_SYSV=1
1839 USE_SVR4=1
1840 SO_SUFFIX=a
1841 cat >>confdefs.h <<\_ACEOF
1842#define __AIX__ 1
1843_ACEOF
1844
1845 cat >>confdefs.h <<\_ACEOF
1846#define __SYSV__ 1
1847_ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850#define __SVR4__ 1
1851_ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1854 ;;
1855
1856 *-*-*UnixWare*)
1857 USE_SYSV=1
1858 USE_SVR4=1
1859 USE_UNIXWARE=1
1860 cat >>confdefs.h <<\_ACEOF
1861#define __UNIXWARE__ 1
1862_ACEOF
1863
1864 ;;
1865
1866 *-*-cygwin* | *-*-mingw32* )
1867 SO_SUFFIX=dll
1868 PROGRAM_EXT=".exe"
1869 RESCOMP=windres
1870 DEFAULT_DEFAULT_wxUSE_MSW=1
1871 ;;
1872
1873 *-pc-msdosdjgpp )
1874 USE_UNIX=0
1875 USE_DOS=1
1876 cat >>confdefs.h <<\_ACEOF
1877#define __DOS__ 1
1878_ACEOF
1879
1880 PROGRAM_EXT=".exe"
1881 DEFAULT_DEFAULT_wxUSE_MGL=1
1882 LIBS="$LIBS -lstdc++"
1883 ;;
1884
1885 *-pc-os2_emx | *-pc-os2-emx )
1886 cat >>confdefs.h <<\_ACEOF
1887#define __EMX__ 1
1888_ACEOF
1889
1890 PROGRAM_EXT=".exe"
1891 DEFAULT_DEFAULT_wxUSE_PM=1
1892 ;;
1893
1894 powerpc-*-darwin* )
1895 USE_BSD=1
1896 USE_DARWIN=1
1897 SO_SUFFIX=dylib
1898 cat >>confdefs.h <<\_ACEOF
1899#define __BSD__ 1
1900_ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903#define __DARWIN__ 1
1904_ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907#define __POWERPC__ 1
1908_ACEOF
1909
1910 cat >>confdefs.h <<\_ACEOF
1911#define TARGET_CARBON 1
1912_ACEOF
1913
1914 DEFAULT_DEFAULT_wxUSE_MAC=1
1915 ;;
1916
1917 *-*-beos* )
1918 USE_BEOS=1
1919 cat >>confdefs.h <<\_ACEOF
1920#define __BEOS__ 1
1921_ACEOF
1922
1923 ;;
1924
1925 *)
1926 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1927echo "$as_me: error: unknown system type ${host}." >&2;}
1928 { (exit 1); exit 1; }; }
1929esac
1930
1931
1932
1933
1934 wx_arg_cache_file="configarg.cache"
1935 echo "loading argument cache $wx_arg_cache_file"
1936 rm -f ${wx_arg_cache_file}.tmp
1937 touch ${wx_arg_cache_file}.tmp
1938 touch ${wx_arg_cache_file}
1939
1940
1941DEBUG_CONFIGURE=0
1942if test $DEBUG_CONFIGURE = 1; then
1943 DEFAULT_wxUSE_UNIVERSAL=no
1944 DEFAULT_wxUSE_STL=no
1945
1946 DEFAULT_wxUSE_NANOX=no
1947
1948 DEFAULT_wxUSE_THREADS=yes
1949
1950 DEFAULT_wxUSE_SHARED=yes
1951 DEFAULT_wxUSE_OPTIMISE=no
1952 DEFAULT_wxUSE_PROFILE=no
1953 DEFAULT_wxUSE_NO_DEPS=no
1954 DEFAULT_wxUSE_NO_RTTI=no
1955 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1956 DEFAULT_wxUSE_PERMISSIVE=no
1957 DEFAULT_wxUSE_DEBUG_FLAG=yes
1958 DEFAULT_wxUSE_DEBUG_INFO=yes
1959 DEFAULT_wxUSE_DEBUG_GDB=yes
1960 DEFAULT_wxUSE_MEM_TRACING=no
1961 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1962 DEFAULT_wxUSE_DMALLOC=no
1963 DEFAULT_wxUSE_APPLE_IEEE=no
1964
1965 DEFAULT_wxUSE_LOG=yes
1966 DEFAULT_wxUSE_LOGWINDOW=no
1967 DEFAULT_wxUSE_LOGGUI=no
1968 DEFAULT_wxUSE_LOGDIALOG=no
1969
1970 DEFAULT_wxUSE_GUI=yes
1971 DEFAULT_wxUSE_CONTROLS=no
1972
1973 DEFAULT_wxUSE_REGEX=no
1974 DEFAULT_wxUSE_XML=no
1975 DEFAULT_wxUSE_EXPAT=no
1976 DEFAULT_wxUSE_ZLIB=no
1977 DEFAULT_wxUSE_LIBPNG=no
1978 DEFAULT_wxUSE_LIBJPEG=no
1979 DEFAULT_wxUSE_LIBTIFF=no
1980 DEFAULT_wxUSE_ODBC=no
1981 DEFAULT_wxUSE_OPENGL=no
1982
1983 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1984 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1985 DEFAULT_wxUSE_STD_IOSTREAM=no
1986 DEFAULT_wxUSE_CMDLINE_PARSER=no
1987 DEFAULT_wxUSE_DATETIME=no
1988 DEFAULT_wxUSE_TIMER=no
1989 DEFAULT_wxUSE_STOPWATCH=no
1990 DEFAULT_wxUSE_FILE=no
1991 DEFAULT_wxUSE_FFILE=no
1992 DEFAULT_wxUSE_TEXTBUFFER=no
1993 DEFAULT_wxUSE_TEXTFILE=no
1994 DEFAULT_wxUSE_WAVE=no
1995 DEFAULT_wxUSE_INTL=no
1996 DEFAULT_wxUSE_CONFIG=no
1997 DEFAULT_wxUSE_FONTMAP=no
1998 DEFAULT_wxUSE_STREAMS=no
1999 DEFAULT_wxUSE_SOCKETS=no
2000 DEFAULT_wxUSE_OLE=no
2001 DEFAULT_wxUSE_DATAOBJ=no
2002 DEFAULT_wxUSE_DIALUP_MANAGER=no
2003 DEFAULT_wxUSE_JOYSTICK=no
2004 DEFAULT_wxUSE_DYNLIB_CLASS=no
2005 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2006 DEFAULT_wxUSE_LONGLONG=no
2007 DEFAULT_wxUSE_GEOMETRY=no
2008
2009 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2010 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2011 DEFAULT_wxUSE_POSTSCRIPT=no
2012
2013 DEFAULT_wxUSE_CLIPBOARD=no
2014 DEFAULT_wxUSE_TOOLTIPS=no
2015 DEFAULT_wxUSE_DRAG_AND_DROP=no
2016 DEFAULT_wxUSE_DRAGIMAGE=no
2017 DEFAULT_wxUSE_SPLINES=no
2018
2019 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2020 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2021 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2022
2023 DEFAULT_wxUSE_RESOURCES=no
2024 DEFAULT_wxUSE_CONSTRAINTS=no
2025 DEFAULT_wxUSE_IPC=no
2026 DEFAULT_wxUSE_HELP=no
2027 DEFAULT_wxUSE_MS_HTML_HELP=no
2028 DEFAULT_wxUSE_WXHTML_HELP=no
2029 DEFAULT_wxUSE_TREELAYOUT=no
2030 DEFAULT_wxUSE_METAFILE=no
2031 DEFAULT_wxUSE_MIMETYPE=no
2032 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2033 DEFAULT_wxUSE_PROTOCOL=no
2034 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2035 DEFAULT_wxUSE_PROTOCOL_FTP=no
2036 DEFAULT_wxUSE_PROTOCOL_FILE=no
2037 DEFAULT_wxUSE_URL=no
2038
2039 DEFAULT_wxUSE_COMMONDLGS=no
2040 DEFAULT_wxUSE_CHOICEDLG=no
2041 DEFAULT_wxUSE_COLOURDLG=no
2042 DEFAULT_wxUSE_DIRDLG=no
2043 DEFAULT_wxUSE_FILEDLG=no
2044 DEFAULT_wxUSE_FINDREPLDLG=no
2045 DEFAULT_wxUSE_FONTDLG=no
2046 DEFAULT_wxUSE_MSGDLG=no
2047 DEFAULT_wxUSE_NUMBERDLG=no
2048 DEFAULT_wxUSE_TEXTDLG=no
2049 DEFAULT_wxUSE_SPLASH=no
2050 DEFAULT_wxUSE_STARTUP_TIPS=no
2051 DEFAULT_wxUSE_PROGRESSDLG=no
2052 DEFAULT_wxUSE_WIZARDDLG=no
2053
2054 DEFAULT_wxUSE_MENUS=no
2055 DEFAULT_wxUSE_MINIFRAME=no
2056 DEFAULT_wxUSE_HTML=no
2057 DEFAULT_wxUSE_FILESYSTEM=no
2058 DEFAULT_wxUSE_FS_INET=no
2059 DEFAULT_wxUSE_FS_ZIP=no
2060 DEFAULT_wxUSE_BUSYINFO=no
2061 DEFAULT_wxUSE_ZIPSTREAM=no
2062 DEFAULT_wxUSE_VALIDATORS=no
2063
2064 DEFAULT_wxUSE_ACCEL=no
2065 DEFAULT_wxUSE_BUTTON=no
2066 DEFAULT_wxUSE_BMPBUTTON=no
2067 DEFAULT_wxUSE_CALCTRL=no
2068 DEFAULT_wxUSE_CARET=no
2069 DEFAULT_wxUSE_CHECKBOX=no
2070 DEFAULT_wxUSE_CHECKLST=no
2071 DEFAULT_wxUSE_CHOICE=no
2072 DEFAULT_wxUSE_COMBOBOX=no
2073 DEFAULT_wxUSE_DISPLAY=no
2074 DEFAULT_wxUSE_GAUGE=no
2075 DEFAULT_wxUSE_GRID=no
2076 DEFAULT_wxUSE_IMAGLIST=no
2077 DEFAULT_wxUSE_LISTBOX=no
2078 DEFAULT_wxUSE_LISTCTRL=no
2079 DEFAULT_wxUSE_NOTEBOOK=no
2080 DEFAULT_wxUSE_RADIOBOX=no
2081 DEFAULT_wxUSE_RADIOBTN=no
2082 DEFAULT_wxUSE_SASH=no
2083 DEFAULT_wxUSE_SCROLLBAR=no
2084 DEFAULT_wxUSE_SLIDER=no
2085 DEFAULT_wxUSE_SPINBTN=no
2086 DEFAULT_wxUSE_SPINCTRL=no
2087 DEFAULT_wxUSE_SPLITTER=no
2088 DEFAULT_wxUSE_STATBMP=no
2089 DEFAULT_wxUSE_STATBOX=no
2090 DEFAULT_wxUSE_STATLINE=no
2091 DEFAULT_wxUSE_STATTEXT=no
2092 DEFAULT_wxUSE_STATUSBAR=yes
2093 DEFAULT_wxUSE_TABDIALOG=no
2094 DEFAULT_wxUSE_TEXTCTRL=no
2095 DEFAULT_wxUSE_TOGGLEBTN=no
2096 DEFAULT_wxUSE_TOOLBAR=no
2097 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2098 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2099 DEFAULT_wxUSE_TREECTRL=no
2100 DEFAULT_wxUSE_POPUPWIN=no
2101 DEFAULT_wxUSE_TIPWINDOW=no
2102
2103 DEFAULT_wxUSE_UNICODE=no
2104 DEFAULT_wxUSE_UNICODE_MSLU=no
2105 DEFAULT_wxUSE_WCSRTOMBS=no
2106
2107 DEFAULT_wxUSE_PALETTE=no
2108 DEFAULT_wxUSE_IMAGE=no
2109 DEFAULT_wxUSE_GIF=no
2110 DEFAULT_wxUSE_PCX=no
2111 DEFAULT_wxUSE_PNM=no
2112 DEFAULT_wxUSE_IFF=no
2113 DEFAULT_wxUSE_XPM=no
2114 DEFAULT_wxUSE_ICO_CUR=no
2115 DEFAULT_wxUSE_ACCESSIBILITY=no
2116
2117 DEFAULT_wxUSE_MONOLITHIC=yes
2118 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2119else
2120 DEFAULT_wxUSE_UNIVERSAL=no
2121 DEFAULT_wxUSE_STL=no
2122
2123 DEFAULT_wxUSE_NANOX=no
2124
2125 DEFAULT_wxUSE_THREADS=yes
2126
2127 DEFAULT_wxUSE_SHARED=yes
2128 DEFAULT_wxUSE_OPTIMISE=yes
2129 DEFAULT_wxUSE_PROFILE=no
2130 DEFAULT_wxUSE_NO_DEPS=no
2131 DEFAULT_wxUSE_NO_RTTI=no
2132 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2133 DEFAULT_wxUSE_PERMISSIVE=no
2134 DEFAULT_wxUSE_DEBUG_FLAG=no
2135 DEFAULT_wxUSE_DEBUG_INFO=no
2136 DEFAULT_wxUSE_DEBUG_GDB=no
2137 DEFAULT_wxUSE_MEM_TRACING=no
2138 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2139 DEFAULT_wxUSE_DMALLOC=no
2140 DEFAULT_wxUSE_APPLE_IEEE=yes
2141
2142 DEFAULT_wxUSE_LOG=yes
2143 DEFAULT_wxUSE_LOGWINDOW=yes
2144 DEFAULT_wxUSE_LOGGUI=yes
2145 DEFAULT_wxUSE_LOGDIALOG=yes
2146
2147 DEFAULT_wxUSE_GUI=yes
2148
2149 DEFAULT_wxUSE_REGEX=yes
2150 DEFAULT_wxUSE_XML=yes
2151 DEFAULT_wxUSE_EXPAT=yes
2152 DEFAULT_wxUSE_ZLIB=yes
2153 DEFAULT_wxUSE_LIBPNG=yes
2154 DEFAULT_wxUSE_LIBJPEG=yes
2155 DEFAULT_wxUSE_LIBTIFF=yes
2156 DEFAULT_wxUSE_ODBC=no
2157 DEFAULT_wxUSE_OPENGL=no
2158
2159 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2160 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2161 DEFAULT_wxUSE_STD_IOSTREAM=no
2162 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2163 DEFAULT_wxUSE_DATETIME=yes
2164 DEFAULT_wxUSE_TIMER=yes
2165 DEFAULT_wxUSE_STOPWATCH=yes
2166 DEFAULT_wxUSE_FILE=yes
2167 DEFAULT_wxUSE_FFILE=yes
2168 DEFAULT_wxUSE_TEXTBUFFER=yes
2169 DEFAULT_wxUSE_TEXTFILE=yes
2170 DEFAULT_wxUSE_WAVE=no
2171 DEFAULT_wxUSE_INTL=yes
2172 DEFAULT_wxUSE_CONFIG=yes
2173 DEFAULT_wxUSE_FONTMAP=yes
2174 DEFAULT_wxUSE_STREAMS=yes
2175 DEFAULT_wxUSE_SOCKETS=yes
2176 DEFAULT_wxUSE_OLE=yes
2177 DEFAULT_wxUSE_DATAOBJ=yes
2178 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2179 DEFAULT_wxUSE_JOYSTICK=yes
2180 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2181 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2182 DEFAULT_wxUSE_LONGLONG=yes
2183 DEFAULT_wxUSE_GEOMETRY=yes
2184
2185 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2186 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2187 DEFAULT_wxUSE_POSTSCRIPT=yes
2188
2189 DEFAULT_wxUSE_CLIPBOARD=yes
2190 DEFAULT_wxUSE_TOOLTIPS=yes
2191 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2192 DEFAULT_wxUSE_DRAGIMAGE=yes
2193 DEFAULT_wxUSE_SPLINES=yes
2194
2195 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2196 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2197 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2198
2199 DEFAULT_wxUSE_RESOURCES=no
2200 DEFAULT_wxUSE_CONSTRAINTS=yes
2201 DEFAULT_wxUSE_IPC=yes
2202 DEFAULT_wxUSE_HELP=yes
2203 DEFAULT_wxUSE_MS_HTML_HELP=yes
2204 DEFAULT_wxUSE_WXHTML_HELP=yes
2205 DEFAULT_wxUSE_TREELAYOUT=yes
2206 DEFAULT_wxUSE_METAFILE=yes
2207 DEFAULT_wxUSE_MIMETYPE=yes
2208 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2209 DEFAULT_wxUSE_PROTOCOL=yes
2210 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2211 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2212 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2213 DEFAULT_wxUSE_URL=yes
2214
2215 DEFAULT_wxUSE_COMMONDLGS=yes
2216 DEFAULT_wxUSE_CHOICEDLG=yes
2217 DEFAULT_wxUSE_COLOURDLG=yes
2218 DEFAULT_wxUSE_DIRDLG=yes
2219 DEFAULT_wxUSE_FILEDLG=yes
2220 DEFAULT_wxUSE_FINDREPLDLG=yes
2221 DEFAULT_wxUSE_FONTDLG=yes
2222 DEFAULT_wxUSE_MSGDLG=yes
2223 DEFAULT_wxUSE_NUMBERDLG=yes
2224 DEFAULT_wxUSE_TEXTDLG=yes
2225 DEFAULT_wxUSE_SPLASH=yes
2226 DEFAULT_wxUSE_STARTUP_TIPS=yes
2227 DEFAULT_wxUSE_PROGRESSDLG=yes
2228 DEFAULT_wxUSE_WIZARDDLG=yes
2229
2230 DEFAULT_wxUSE_MENUS=yes
2231 DEFAULT_wxUSE_MINIFRAME=yes
2232 DEFAULT_wxUSE_HTML=yes
2233 DEFAULT_wxUSE_FILESYSTEM=yes
2234 DEFAULT_wxUSE_FS_INET=yes
2235 DEFAULT_wxUSE_FS_ZIP=yes
2236 DEFAULT_wxUSE_BUSYINFO=yes
2237 DEFAULT_wxUSE_ZIPSTREAM=yes
2238 DEFAULT_wxUSE_VALIDATORS=yes
2239
2240 DEFAULT_wxUSE_ACCEL=yes
2241 DEFAULT_wxUSE_BUTTON=yes
2242 DEFAULT_wxUSE_BMPBUTTON=yes
2243 DEFAULT_wxUSE_CALCTRL=yes
2244 DEFAULT_wxUSE_CARET=yes
2245 DEFAULT_wxUSE_CHECKBOX=yes
2246 DEFAULT_wxUSE_CHECKLST=yes
2247 DEFAULT_wxUSE_CHOICE=yes
2248 DEFAULT_wxUSE_COMBOBOX=yes
2249 DEFAULT_wxUSE_DISPLAY=no
2250 DEFAULT_wxUSE_GAUGE=yes
2251 DEFAULT_wxUSE_GRID=yes
2252 DEFAULT_wxUSE_IMAGLIST=yes
2253 DEFAULT_wxUSE_LISTBOX=yes
2254 DEFAULT_wxUSE_LISTCTRL=yes
2255 DEFAULT_wxUSE_NOTEBOOK=yes
2256 DEFAULT_wxUSE_RADIOBOX=yes
2257 DEFAULT_wxUSE_RADIOBTN=yes
2258 DEFAULT_wxUSE_SASH=yes
2259 DEFAULT_wxUSE_SCROLLBAR=yes
2260 DEFAULT_wxUSE_SLIDER=yes
2261 DEFAULT_wxUSE_SPINBTN=yes
2262 DEFAULT_wxUSE_SPINCTRL=yes
2263 DEFAULT_wxUSE_SPLITTER=yes
2264 DEFAULT_wxUSE_STATBMP=yes
2265 DEFAULT_wxUSE_STATBOX=yes
2266 DEFAULT_wxUSE_STATLINE=yes
2267 DEFAULT_wxUSE_STATTEXT=yes
2268 DEFAULT_wxUSE_STATUSBAR=yes
2269 DEFAULT_wxUSE_TABDIALOG=no
2270 DEFAULT_wxUSE_TEXTCTRL=yes
2271 DEFAULT_wxUSE_TOGGLEBTN=yes
2272 DEFAULT_wxUSE_TOOLBAR=yes
2273 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2274 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2275 DEFAULT_wxUSE_TREECTRL=yes
2276 DEFAULT_wxUSE_POPUPWIN=yes
2277 DEFAULT_wxUSE_TIPWINDOW=yes
2278
2279 DEFAULT_wxUSE_UNICODE=no
2280 DEFAULT_wxUSE_UNICODE_MSLU=yes
2281 DEFAULT_wxUSE_WCSRTOMBS=no
2282
2283 DEFAULT_wxUSE_PALETTE=yes
2284 DEFAULT_wxUSE_IMAGE=yes
2285 DEFAULT_wxUSE_GIF=yes
2286 DEFAULT_wxUSE_PCX=yes
2287 DEFAULT_wxUSE_IFF=no
2288 DEFAULT_wxUSE_PNM=yes
2289 DEFAULT_wxUSE_XPM=yes
2290 DEFAULT_wxUSE_ICO_CUR=yes
2291 DEFAULT_wxUSE_ACCESSIBILITY=no
2292
2293 DEFAULT_wxUSE_MONOLITHIC=yes
2294 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2295fi
2296
2297
2298
2299for toolkit in `echo $ALL_TOOLKITS`; do
2300 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2301 if test "x$LINE" != "x" ; then
2302 has_toolkit_in_cache=1
2303 eval "DEFAULT_$LINE"
2304 eval "CACHE_$toolkit=1"
2305 fi
2306done
2307
2308
2309
2310 enablestring=
2311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2312echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2313 no_cache=0
2314 # Check whether --enable-gui or --disable-gui was given.
2315if test "${enable_gui+set}" = set; then
2316 enableval="$enable_gui"
2317
2318 if test "$enableval" = yes; then
2319 ac_cv_use_gui='wxUSE_GUI=yes'
2320 else
2321 ac_cv_use_gui='wxUSE_GUI=no'
2322 fi
2323
2324else
2325
2326 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2327 if test "x$LINE" != x ; then
2328 eval "DEFAULT_$LINE"
2329 else
2330 no_cache=1
2331 fi
2332
2333 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2334
2335fi;
2336
2337 eval "$ac_cv_use_gui"
2338 if test "$no_cache" != 1; then
2339 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2340 fi
2341
2342 if test "$wxUSE_GUI" = yes; then
2343 echo "$as_me:$LINENO: result: yes" >&5
2344echo "${ECHO_T}yes" >&6
2345 else
2346 echo "$as_me:$LINENO: result: no" >&5
2347echo "${ECHO_T}no" >&6
2348 fi
2349
2350
2351 enablestring=
2352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2353echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2354 no_cache=0
2355 # Check whether --enable-monolithic or --disable-monolithic was given.
2356if test "${enable_monolithic+set}" = set; then
2357 enableval="$enable_monolithic"
2358
2359 if test "$enableval" = yes; then
2360 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2361 else
2362 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2363 fi
2364
2365else
2366
2367 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2368 if test "x$LINE" != x ; then
2369 eval "DEFAULT_$LINE"
2370 else
2371 no_cache=1
2372 fi
2373
2374 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2375
2376fi;
2377
2378 eval "$ac_cv_use_monolithic"
2379 if test "$no_cache" != 1; then
2380 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2381 fi
2382
2383 if test "$wxUSE_MONOLITHIC" = yes; then
2384 echo "$as_me:$LINENO: result: yes" >&5
2385echo "${ECHO_T}yes" >&6
2386 else
2387 echo "$as_me:$LINENO: result: no" >&5
2388echo "${ECHO_T}no" >&6
2389 fi
2390
2391
2392if test "$wxUSE_GUI" = "yes"; then
2393
2394
2395 enablestring=
2396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2397echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2398 no_cache=0
2399 # Check whether --enable-universal or --disable-universal was given.
2400if test "${enable_universal+set}" = set; then
2401 enableval="$enable_universal"
2402
2403 if test "$enableval" = yes; then
2404 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2405 else
2406 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2407 fi
2408
2409else
2410
2411 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2412 if test "x$LINE" != x ; then
2413 eval "DEFAULT_$LINE"
2414 else
2415 no_cache=1
2416 fi
2417
2418 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2419
2420fi;
2421
2422 eval "$ac_cv_use_universal"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2425 fi
2426
2427 if test "$wxUSE_UNIVERSAL" = yes; then
2428 echo "$as_me:$LINENO: result: yes" >&5
2429echo "${ECHO_T}yes" >&6
2430 else
2431 echo "$as_me:$LINENO: result: no" >&5
2432echo "${ECHO_T}no" >&6
2433 fi
2434
2435
2436# Check whether --with-gtk or --without-gtk was given.
2437if test "${with_gtk+set}" = set; then
2438 withval="$with_gtk"
2439 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2440fi;
2441
2442# Check whether --with-motif or --without-motif was given.
2443if test "${with_motif+set}" = set; then
2444 withval="$with_motif"
2445 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2446fi;
2447
2448# Check whether --with-mac or --without-mac was given.
2449if test "${with_mac+set}" = set; then
2450 withval="$with_mac"
2451 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2452fi;
2453
2454# Check whether --with-cocoa or --without-cocoa was given.
2455if test "${with_cocoa+set}" = set; then
2456 withval="$with_cocoa"
2457 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2458fi;
2459
2460# Check whether --with-wine or --without-wine was given.
2461if test "${with_wine+set}" = set; then
2462 withval="$with_wine"
2463 wxUSE_WINE="$withval" CACHE_WINE=1
2464fi;
2465
2466# Check whether --with-msw or --without-msw was given.
2467if test "${with_msw+set}" = set; then
2468 withval="$with_msw"
2469 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2470fi;
2471
2472# Check whether --with-pm or --without-pm was given.
2473if test "${with_pm+set}" = set; then
2474 withval="$with_pm"
2475 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2476fi;
2477
2478# Check whether --with-mgl or --without-mgl was given.
2479if test "${with_mgl+set}" = set; then
2480 withval="$with_mgl"
2481 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2482fi;
2483
2484# Check whether --with-microwin or --without-microwin was given.
2485if test "${with_microwin+set}" = set; then
2486 withval="$with_microwin"
2487 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2488fi;
2489
2490# Check whether --with-x11 or --without-x11 was given.
2491if test "${with_x11+set}" = set; then
2492 withval="$with_x11"
2493 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2494fi;
2495
2496 enablestring=
2497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2498echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2499 no_cache=0
2500 # Check whether --enable-nanox or --disable-nanox was given.
2501if test "${enable_nanox+set}" = set; then
2502 enableval="$enable_nanox"
2503
2504 if test "$enableval" = yes; then
2505 ac_cv_use_nanox='wxUSE_NANOX=yes'
2506 else
2507 ac_cv_use_nanox='wxUSE_NANOX=no'
2508 fi
2509
2510else
2511
2512 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x ; then
2514 eval "DEFAULT_$LINE"
2515 else
2516 no_cache=1
2517 fi
2518
2519 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2520
2521fi;
2522
2523 eval "$ac_cv_use_nanox"
2524 if test "$no_cache" != 1; then
2525 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2526 fi
2527
2528 if test "$wxUSE_NANOX" = yes; then
2529 echo "$as_me:$LINENO: result: yes" >&5
2530echo "${ECHO_T}yes" >&6
2531 else
2532 echo "$as_me:$LINENO: result: no" >&5
2533echo "${ECHO_T}no" >&6
2534 fi
2535
2536
2537
2538 enablestring=
2539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2540echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2541 no_cache=0
2542 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2543if test "${enable_gtk2+set}" = set; then
2544 enableval="$enable_gtk2"
2545
2546 if test "$enableval" = yes; then
2547 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2548 else
2549 ac_cv_use_gtk2='wxUSE_GTK2=no'
2550 fi
2551
2552else
2553
2554 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x ; then
2556 eval "DEFAULT_$LINE"
2557 else
2558 no_cache=1
2559 fi
2560
2561 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2562
2563fi;
2564
2565 eval "$ac_cv_use_gtk2"
2566 if test "$no_cache" != 1; then
2567 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2568 fi
2569
2570 if test "$wxUSE_GTK2" = yes; then
2571 echo "$as_me:$LINENO: result: yes" >&5
2572echo "${ECHO_T}yes" >&6
2573 else
2574 echo "$as_me:$LINENO: result: no" >&5
2575echo "${ECHO_T}no" >&6
2576 fi
2577
2578
2579
2580 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2581echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2582 no_cache=0
2583
2584# Check whether --with-libpng or --without-libpng was given.
2585if test "${with_libpng+set}" = set; then
2586 withval="$with_libpng"
2587
2588 if test "$withval" = yes; then
2589 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2590 elif test "$withval" = no; then
2591 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2592 elif test "$withval" = sys; then
2593 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2594 elif test "$withval" = builtin; then
2595 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2596 else
2597 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2598echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2599 { (exit 1); exit 1; }; }
2600 fi
2601
2602else
2603
2604 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x ; then
2606 eval "DEFAULT_$LINE"
2607 else
2608 no_cache=1
2609 fi
2610
2611 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2612
2613fi;
2614
2615 eval "$ac_cv_use_libpng"
2616 if test "$no_cache" != 1; then
2617 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2618 fi
2619
2620 if test "$wxUSE_LIBPNG" = yes; then
2621 echo "$as_me:$LINENO: result: yes" >&5
2622echo "${ECHO_T}yes" >&6
2623 elif test "$wxUSE_LIBPNG" = no; then
2624 echo "$as_me:$LINENO: result: no" >&5
2625echo "${ECHO_T}no" >&6
2626 elif test "$wxUSE_LIBPNG" = sys; then
2627 echo "$as_me:$LINENO: result: system version" >&5
2628echo "${ECHO_T}system version" >&6
2629 elif test "$wxUSE_LIBPNG" = builtin; then
2630 echo "$as_me:$LINENO: result: builtin version" >&5
2631echo "${ECHO_T}builtin version" >&6
2632 else
2633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2634echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2635 { (exit 1); exit 1; }; }
2636 fi
2637
2638
2639 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2640echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2641 no_cache=0
2642
2643# Check whether --with-libjpeg or --without-libjpeg was given.
2644if test "${with_libjpeg+set}" = set; then
2645 withval="$with_libjpeg"
2646
2647 if test "$withval" = yes; then
2648 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2649 elif test "$withval" = no; then
2650 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2651 elif test "$withval" = sys; then
2652 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2653 elif test "$withval" = builtin; then
2654 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2655 else
2656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2657echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2658 { (exit 1); exit 1; }; }
2659 fi
2660
2661else
2662
2663 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x ; then
2665 eval "DEFAULT_$LINE"
2666 else
2667 no_cache=1
2668 fi
2669
2670 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2671
2672fi;
2673
2674 eval "$ac_cv_use_libjpeg"
2675 if test "$no_cache" != 1; then
2676 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2677 fi
2678
2679 if test "$wxUSE_LIBJPEG" = yes; then
2680 echo "$as_me:$LINENO: result: yes" >&5
2681echo "${ECHO_T}yes" >&6
2682 elif test "$wxUSE_LIBJPEG" = no; then
2683 echo "$as_me:$LINENO: result: no" >&5
2684echo "${ECHO_T}no" >&6
2685 elif test "$wxUSE_LIBJPEG" = sys; then
2686 echo "$as_me:$LINENO: result: system version" >&5
2687echo "${ECHO_T}system version" >&6
2688 elif test "$wxUSE_LIBJPEG" = builtin; then
2689 echo "$as_me:$LINENO: result: builtin version" >&5
2690echo "${ECHO_T}builtin version" >&6
2691 else
2692 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2693echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2694 { (exit 1); exit 1; }; }
2695 fi
2696
2697
2698 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2699echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2700 no_cache=0
2701
2702# Check whether --with-libtiff or --without-libtiff was given.
2703if test "${with_libtiff+set}" = set; then
2704 withval="$with_libtiff"
2705
2706 if test "$withval" = yes; then
2707 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2708 elif test "$withval" = no; then
2709 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2710 elif test "$withval" = sys; then
2711 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2712 elif test "$withval" = builtin; then
2713 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2714 else
2715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2716echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2717 { (exit 1); exit 1; }; }
2718 fi
2719
2720else
2721
2722 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x ; then
2724 eval "DEFAULT_$LINE"
2725 else
2726 no_cache=1
2727 fi
2728
2729 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2730
2731fi;
2732
2733 eval "$ac_cv_use_libtiff"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2736 fi
2737
2738 if test "$wxUSE_LIBTIFF" = yes; then
2739 echo "$as_me:$LINENO: result: yes" >&5
2740echo "${ECHO_T}yes" >&6
2741 elif test "$wxUSE_LIBTIFF" = no; then
2742 echo "$as_me:$LINENO: result: no" >&5
2743echo "${ECHO_T}no" >&6
2744 elif test "$wxUSE_LIBTIFF" = sys; then
2745 echo "$as_me:$LINENO: result: system version" >&5
2746echo "${ECHO_T}system version" >&6
2747 elif test "$wxUSE_LIBTIFF" = builtin; then
2748 echo "$as_me:$LINENO: result: builtin version" >&5
2749echo "${ECHO_T}builtin version" >&6
2750 else
2751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2752echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2753 { (exit 1); exit 1; }; }
2754 fi
2755
2756
2757 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2758echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2759 no_cache=0
2760
2761# Check whether --with-opengl or --without-opengl was given.
2762if test "${with_opengl+set}" = set; then
2763 withval="$with_opengl"
2764
2765 if test "$withval" = yes; then
2766 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2767 else
2768 ac_cv_use_opengl='wxUSE_OPENGL=no'
2769 fi
2770
2771else
2772
2773 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x ; then
2775 eval "DEFAULT_$LINE"
2776 else
2777 no_cache=1
2778 fi
2779
2780 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2781
2782fi;
2783
2784 eval "$ac_cv_use_opengl"
2785 if test "$no_cache" != 1; then
2786 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2787 fi
2788
2789 if test "$wxUSE_OPENGL" = yes; then
2790 echo "$as_me:$LINENO: result: yes" >&5
2791echo "${ECHO_T}yes" >&6
2792 else
2793 echo "$as_me:$LINENO: result: no" >&5
2794echo "${ECHO_T}no" >&6
2795 fi
2796
2797
2798fi
2799
2800
2801 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2802echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2803 no_cache=0
2804
2805# Check whether --with-dmalloc or --without-dmalloc was given.
2806if test "${with_dmalloc+set}" = set; then
2807 withval="$with_dmalloc"
2808
2809 if test "$withval" = yes; then
2810 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2811 else
2812 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2813 fi
2814
2815else
2816
2817 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x ; then
2819 eval "DEFAULT_$LINE"
2820 else
2821 no_cache=1
2822 fi
2823
2824 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2825
2826fi;
2827
2828 eval "$ac_cv_use_dmalloc"
2829 if test "$no_cache" != 1; then
2830 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2831 fi
2832
2833 if test "$wxUSE_DMALLOC" = yes; then
2834 echo "$as_me:$LINENO: result: yes" >&5
2835echo "${ECHO_T}yes" >&6
2836 else
2837 echo "$as_me:$LINENO: result: no" >&5
2838echo "${ECHO_T}no" >&6
2839 fi
2840
2841
2842 echo "$as_me:$LINENO: checking for --with-regex" >&5
2843echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2844 no_cache=0
2845
2846# Check whether --with-regex or --without-regex was given.
2847if test "${with_regex+set}" = set; then
2848 withval="$with_regex"
2849
2850 if test "$withval" = yes; then
2851 ac_cv_use_regex='wxUSE_REGEX=yes'
2852 elif test "$withval" = no; then
2853 ac_cv_use_regex='wxUSE_REGEX=no'
2854 elif test "$withval" = sys; then
2855 ac_cv_use_regex='wxUSE_REGEX=sys'
2856 elif test "$withval" = builtin; then
2857 ac_cv_use_regex='wxUSE_REGEX=builtin'
2858 else
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2860echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2862 fi
2863
2864else
2865
2866 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x ; then
2868 eval "DEFAULT_$LINE"
2869 else
2870 no_cache=1
2871 fi
2872
2873 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2874
2875fi;
2876
2877 eval "$ac_cv_use_regex"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2880 fi
2881
2882 if test "$wxUSE_REGEX" = yes; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884echo "${ECHO_T}yes" >&6
2885 elif test "$wxUSE_REGEX" = no; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887echo "${ECHO_T}no" >&6
2888 elif test "$wxUSE_REGEX" = sys; then
2889 echo "$as_me:$LINENO: result: system version" >&5
2890echo "${ECHO_T}system version" >&6
2891 elif test "$wxUSE_REGEX" = builtin; then
2892 echo "$as_me:$LINENO: result: builtin version" >&5
2893echo "${ECHO_T}builtin version" >&6
2894 else
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2896echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2898 fi
2899
2900
2901 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2902echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2903 no_cache=0
2904
2905# Check whether --with-zlib or --without-zlib was given.
2906if test "${with_zlib+set}" = set; then
2907 withval="$with_zlib"
2908
2909 if test "$withval" = yes; then
2910 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2911 elif test "$withval" = no; then
2912 ac_cv_use_zlib='wxUSE_ZLIB=no'
2913 elif test "$withval" = sys; then
2914 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2915 elif test "$withval" = builtin; then
2916 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2917 else
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2919echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2921 fi
2922
2923else
2924
2925 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x ; then
2927 eval "DEFAULT_$LINE"
2928 else
2929 no_cache=1
2930 fi
2931
2932 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2933
2934fi;
2935
2936 eval "$ac_cv_use_zlib"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2939 fi
2940
2941 if test "$wxUSE_ZLIB" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943echo "${ECHO_T}yes" >&6
2944 elif test "$wxUSE_ZLIB" = no; then
2945 echo "$as_me:$LINENO: result: no" >&5
2946echo "${ECHO_T}no" >&6
2947 elif test "$wxUSE_ZLIB" = sys; then
2948 echo "$as_me:$LINENO: result: system version" >&5
2949echo "${ECHO_T}system version" >&6
2950 elif test "$wxUSE_ZLIB" = builtin; then
2951 echo "$as_me:$LINENO: result: builtin version" >&5
2952echo "${ECHO_T}builtin version" >&6
2953 else
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2955echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2957 fi
2958
2959
2960 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2961echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2962 no_cache=0
2963
2964# Check whether --with-odbc or --without-odbc was given.
2965if test "${with_odbc+set}" = set; then
2966 withval="$with_odbc"
2967
2968 if test "$withval" = yes; then
2969 ac_cv_use_odbc='wxUSE_ODBC=yes'
2970 elif test "$withval" = no; then
2971 ac_cv_use_odbc='wxUSE_ODBC=no'
2972 elif test "$withval" = sys; then
2973 ac_cv_use_odbc='wxUSE_ODBC=sys'
2974 elif test "$withval" = builtin; then
2975 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2976 else
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2978echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2980 fi
2981
2982else
2983
2984 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2987 else
2988 no_cache=1
2989 fi
2990
2991 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2992
2993fi;
2994
2995 eval "$ac_cv_use_odbc"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2998 fi
2999
3000 if test "$wxUSE_ODBC" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002echo "${ECHO_T}yes" >&6
3003 elif test "$wxUSE_ODBC" = no; then
3004 echo "$as_me:$LINENO: result: no" >&5
3005echo "${ECHO_T}no" >&6
3006 elif test "$wxUSE_ODBC" = sys; then
3007 echo "$as_me:$LINENO: result: system version" >&5
3008echo "${ECHO_T}system version" >&6
3009 elif test "$wxUSE_ODBC" = builtin; then
3010 echo "$as_me:$LINENO: result: builtin version" >&5
3011echo "${ECHO_T}builtin version" >&6
3012 else
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3014echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3016 fi
3017
3018
3019 echo "$as_me:$LINENO: checking for --with-expat" >&5
3020echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3021 no_cache=0
3022
3023# Check whether --with-expat or --without-expat was given.
3024if test "${with_expat+set}" = set; then
3025 withval="$with_expat"
3026
3027 if test "$withval" = yes; then
3028 ac_cv_use_expat='wxUSE_EXPAT=yes'
3029 elif test "$withval" = no; then
3030 ac_cv_use_expat='wxUSE_EXPAT=no'
3031 elif test "$withval" = sys; then
3032 ac_cv_use_expat='wxUSE_EXPAT=sys'
3033 elif test "$withval" = builtin; then
3034 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3035 else
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3037echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3039 fi
3040
3041else
3042
3043 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x ; then
3045 eval "DEFAULT_$LINE"
3046 else
3047 no_cache=1
3048 fi
3049
3050 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3051
3052fi;
3053
3054 eval "$ac_cv_use_expat"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3057 fi
3058
3059 if test "$wxUSE_EXPAT" = yes; then
3060 echo "$as_me:$LINENO: result: yes" >&5
3061echo "${ECHO_T}yes" >&6
3062 elif test "$wxUSE_EXPAT" = no; then
3063 echo "$as_me:$LINENO: result: no" >&5
3064echo "${ECHO_T}no" >&6
3065 elif test "$wxUSE_EXPAT" = sys; then
3066 echo "$as_me:$LINENO: result: system version" >&5
3067echo "${ECHO_T}system version" >&6
3068 elif test "$wxUSE_EXPAT" = builtin; then
3069 echo "$as_me:$LINENO: result: builtin version" >&5
3070echo "${ECHO_T}builtin version" >&6
3071 else
3072 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3073echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3074 { (exit 1); exit 1; }; }
3075 fi
3076
3077
3078
3079
3080 enablestring=
3081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3082echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3083 no_cache=0
3084 # Check whether --enable-shared or --disable-shared was given.
3085if test "${enable_shared+set}" = set; then
3086 enableval="$enable_shared"
3087
3088 if test "$enableval" = yes; then
3089 ac_cv_use_shared='wxUSE_SHARED=yes'
3090 else
3091 ac_cv_use_shared='wxUSE_SHARED=no'
3092 fi
3093
3094else
3095
3096 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x ; then
3098 eval "DEFAULT_$LINE"
3099 else
3100 no_cache=1
3101 fi
3102
3103 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3104
3105fi;
3106
3107 eval "$ac_cv_use_shared"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3110 fi
3111
3112 if test "$wxUSE_SHARED" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114echo "${ECHO_T}yes" >&6
3115 else
3116 echo "$as_me:$LINENO: result: no" >&5
3117echo "${ECHO_T}no" >&6
3118 fi
3119
3120
3121 enablestring=
3122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3123echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3124 no_cache=0
3125 # Check whether --enable-optimise or --disable-optimise was given.
3126if test "${enable_optimise+set}" = set; then
3127 enableval="$enable_optimise"
3128
3129 if test "$enableval" = yes; then
3130 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3131 else
3132 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3133 fi
3134
3135else
3136
3137 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x ; then
3139 eval "DEFAULT_$LINE"
3140 else
3141 no_cache=1
3142 fi
3143
3144 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3145
3146fi;
3147
3148 eval "$ac_cv_use_optimise"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3151 fi
3152
3153 if test "$wxUSE_OPTIMISE" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155echo "${ECHO_T}yes" >&6
3156 else
3157 echo "$as_me:$LINENO: result: no" >&5
3158echo "${ECHO_T}no" >&6
3159 fi
3160
3161
3162 enablestring=
3163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3164echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3165 no_cache=0
3166 # Check whether --enable-debug or --disable-debug was given.
3167if test "${enable_debug+set}" = set; then
3168 enableval="$enable_debug"
3169
3170 if test "$enableval" = yes; then
3171 ac_cv_use_debug='wxUSE_DEBUG=yes'
3172 else
3173 ac_cv_use_debug='wxUSE_DEBUG=no'
3174 fi
3175
3176else
3177
3178 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x ; then
3180 eval "DEFAULT_$LINE"
3181 else
3182 no_cache=1
3183 fi
3184
3185 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3186
3187fi;
3188
3189 eval "$ac_cv_use_debug"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3192 fi
3193
3194 if test "$wxUSE_DEBUG" = yes; then
3195 echo "$as_me:$LINENO: result: yes" >&5
3196echo "${ECHO_T}yes" >&6
3197 else
3198 echo "$as_me:$LINENO: result: no" >&5
3199echo "${ECHO_T}no" >&6
3200 fi
3201
3202
3203 enablestring=
3204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3205echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3206 no_cache=0
3207 # Check whether --enable-stl or --disable-stl was given.
3208if test "${enable_stl+set}" = set; then
3209 enableval="$enable_stl"
3210
3211 if test "$enableval" = yes; then
3212 ac_cv_use_stl='wxUSE_STL=yes'
3213 else
3214 ac_cv_use_stl='wxUSE_STL=no'
3215 fi
3216
3217else
3218
3219 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x ; then
3221 eval "DEFAULT_$LINE"
3222 else
3223 no_cache=1
3224 fi
3225
3226 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3227
3228fi;
3229
3230 eval "$ac_cv_use_stl"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3233 fi
3234
3235 if test "$wxUSE_STL" = yes; then
3236 echo "$as_me:$LINENO: result: yes" >&5
3237echo "${ECHO_T}yes" >&6
3238 else
3239 echo "$as_me:$LINENO: result: no" >&5
3240echo "${ECHO_T}no" >&6
3241 fi
3242
3243
3244if test "$wxUSE_DEBUG" = "yes"; then
3245 DEFAULT_wxUSE_DEBUG_FLAG=yes
3246 DEFAULT_wxUSE_DEBUG_INFO=yes
3247 BUILD=debug
3248elif test "$wxUSE_DEBUG" = "no"; then
3249 DEFAULT_wxUSE_DEBUG_FLAG=no
3250 DEFAULT_wxUSE_DEBUG_INFO=no
3251 BUILD=release
3252fi
3253
3254
3255 enablestring=
3256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3257echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3258 no_cache=0
3259 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3260if test "${enable_debug_flag+set}" = set; then
3261 enableval="$enable_debug_flag"
3262
3263 if test "$enableval" = yes; then
3264 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3265 else
3266 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3267 fi
3268
3269else
3270
3271 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x ; then
3273 eval "DEFAULT_$LINE"
3274 else
3275 no_cache=1
3276 fi
3277
3278 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3279
3280fi;
3281
3282 eval "$ac_cv_use_debug_flag"
3283 if test "$no_cache" != 1; then
3284 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3285 fi
3286
3287 if test "$wxUSE_DEBUG_FLAG" = yes; then
3288 echo "$as_me:$LINENO: result: yes" >&5
3289echo "${ECHO_T}yes" >&6
3290 else
3291 echo "$as_me:$LINENO: result: no" >&5
3292echo "${ECHO_T}no" >&6
3293 fi
3294
3295
3296 enablestring=
3297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3298echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3299 no_cache=0
3300 # Check whether --enable-debug_info or --disable-debug_info was given.
3301if test "${enable_debug_info+set}" = set; then
3302 enableval="$enable_debug_info"
3303
3304 if test "$enableval" = yes; then
3305 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3306 else
3307 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3308 fi
3309
3310else
3311
3312 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3320
3321fi;
3322
3323 eval "$ac_cv_use_debug_info"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3326 fi
3327
3328 if test "$wxUSE_DEBUG_INFO" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330echo "${ECHO_T}yes" >&6
3331 else
3332 echo "$as_me:$LINENO: result: no" >&5
3333echo "${ECHO_T}no" >&6
3334 fi
3335
3336
3337 enablestring=
3338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3339echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3340 no_cache=0
3341 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3342if test "${enable_debug_gdb+set}" = set; then
3343 enableval="$enable_debug_gdb"
3344
3345 if test "$enableval" = yes; then
3346 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3347 else
3348 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3349 fi
3350
3351else
3352
3353 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3354 if test "x$LINE" != x ; then
3355 eval "DEFAULT_$LINE"
3356 else
3357 no_cache=1
3358 fi
3359
3360 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3361
3362fi;
3363
3364 eval "$ac_cv_use_debug_gdb"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3367 fi
3368
3369 if test "$wxUSE_DEBUG_GDB" = yes; then
3370 echo "$as_me:$LINENO: result: yes" >&5
3371echo "${ECHO_T}yes" >&6
3372 else
3373 echo "$as_me:$LINENO: result: no" >&5
3374echo "${ECHO_T}no" >&6
3375 fi
3376
3377
3378 enablestring=
3379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3380echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3381 no_cache=0
3382 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3383if test "${enable_debug_cntxt+set}" = set; then
3384 enableval="$enable_debug_cntxt"
3385
3386 if test "$enableval" = yes; then
3387 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3388 else
3389 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3390 fi
3391
3392else
3393
3394 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3395 if test "x$LINE" != x ; then
3396 eval "DEFAULT_$LINE"
3397 else
3398 no_cache=1
3399 fi
3400
3401 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3402
3403fi;
3404
3405 eval "$ac_cv_use_debug_cntxt"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3408 fi
3409
3410 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3411 echo "$as_me:$LINENO: result: yes" >&5
3412echo "${ECHO_T}yes" >&6
3413 else
3414 echo "$as_me:$LINENO: result: no" >&5
3415echo "${ECHO_T}no" >&6
3416 fi
3417
3418
3419 enablestring=
3420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3421echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3422 no_cache=0
3423 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3424if test "${enable_mem_tracing+set}" = set; then
3425 enableval="$enable_mem_tracing"
3426
3427 if test "$enableval" = yes; then
3428 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3429 else
3430 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3431 fi
3432
3433else
3434
3435 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3436 if test "x$LINE" != x ; then
3437 eval "DEFAULT_$LINE"
3438 else
3439 no_cache=1
3440 fi
3441
3442 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3443
3444fi;
3445
3446 eval "$ac_cv_use_mem_tracing"
3447 if test "$no_cache" != 1; then
3448 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3449 fi
3450
3451 if test "$wxUSE_MEM_TRACING" = yes; then
3452 echo "$as_me:$LINENO: result: yes" >&5
3453echo "${ECHO_T}yes" >&6
3454 else
3455 echo "$as_me:$LINENO: result: no" >&5
3456echo "${ECHO_T}no" >&6
3457 fi
3458
3459
3460 enablestring=
3461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3462echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3463 no_cache=0
3464 # Check whether --enable-profile or --disable-profile was given.
3465if test "${enable_profile+set}" = set; then
3466 enableval="$enable_profile"
3467
3468 if test "$enableval" = yes; then
3469 ac_cv_use_profile='wxUSE_PROFILE=yes'
3470 else
3471 ac_cv_use_profile='wxUSE_PROFILE=no'
3472 fi
3473
3474else
3475
3476 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3477 if test "x$LINE" != x ; then
3478 eval "DEFAULT_$LINE"
3479 else
3480 no_cache=1
3481 fi
3482
3483 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3484
3485fi;
3486
3487 eval "$ac_cv_use_profile"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3490 fi
3491
3492 if test "$wxUSE_PROFILE" = yes; then
3493 echo "$as_me:$LINENO: result: yes" >&5
3494echo "${ECHO_T}yes" >&6
3495 else
3496 echo "$as_me:$LINENO: result: no" >&5
3497echo "${ECHO_T}no" >&6
3498 fi
3499
3500
3501 enablestring=
3502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3503echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3504 no_cache=0
3505 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3506if test "${enable_no_rtti+set}" = set; then
3507 enableval="$enable_no_rtti"
3508
3509 if test "$enableval" = yes; then
3510 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3511 else
3512 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3513 fi
3514
3515else
3516
3517 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x ; then
3519 eval "DEFAULT_$LINE"
3520 else
3521 no_cache=1
3522 fi
3523
3524 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3525
3526fi;
3527
3528 eval "$ac_cv_use_no_rtti"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3531 fi
3532
3533 if test "$wxUSE_NO_RTTI" = yes; then
3534 echo "$as_me:$LINENO: result: yes" >&5
3535echo "${ECHO_T}yes" >&6
3536 else
3537 echo "$as_me:$LINENO: result: no" >&5
3538echo "${ECHO_T}no" >&6
3539 fi
3540
3541
3542 enablestring=
3543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3544echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3545 no_cache=0
3546 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3547if test "${enable_no_exceptions+set}" = set; then
3548 enableval="$enable_no_exceptions"
3549
3550 if test "$enableval" = yes; then
3551 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3552 else
3553 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3554 fi
3555
3556else
3557
3558 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3559 if test "x$LINE" != x ; then
3560 eval "DEFAULT_$LINE"
3561 else
3562 no_cache=1
3563 fi
3564
3565 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3566
3567fi;
3568
3569 eval "$ac_cv_use_no_exceptions"
3570 if test "$no_cache" != 1; then
3571 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3572 fi
3573
3574 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3575 echo "$as_me:$LINENO: result: yes" >&5
3576echo "${ECHO_T}yes" >&6
3577 else
3578 echo "$as_me:$LINENO: result: no" >&5
3579echo "${ECHO_T}no" >&6
3580 fi
3581
3582
3583 enablestring=
3584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3585echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3586 no_cache=0
3587 # Check whether --enable-permissive or --disable-permissive was given.
3588if test "${enable_permissive+set}" = set; then
3589 enableval="$enable_permissive"
3590
3591 if test "$enableval" = yes; then
3592 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3593 else
3594 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3595 fi
3596
3597else
3598
3599 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3600 if test "x$LINE" != x ; then
3601 eval "DEFAULT_$LINE"
3602 else
3603 no_cache=1
3604 fi
3605
3606 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3607
3608fi;
3609
3610 eval "$ac_cv_use_permissive"
3611 if test "$no_cache" != 1; then
3612 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3613 fi
3614
3615 if test "$wxUSE_PERMISSIVE" = yes; then
3616 echo "$as_me:$LINENO: result: yes" >&5
3617echo "${ECHO_T}yes" >&6
3618 else
3619 echo "$as_me:$LINENO: result: no" >&5
3620echo "${ECHO_T}no" >&6
3621 fi
3622
3623
3624 enablestring=
3625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3626echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3627 no_cache=0
3628 # Check whether --enable-no_deps or --disable-no_deps was given.
3629if test "${enable_no_deps+set}" = set; then
3630 enableval="$enable_no_deps"
3631
3632 if test "$enableval" = yes; then
3633 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3634 else
3635 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3636 fi
3637
3638else
3639
3640 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3643 else
3644 no_cache=1
3645 fi
3646
3647 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3648
3649fi;
3650
3651 eval "$ac_cv_use_no_deps"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3654 fi
3655
3656 if test "$wxUSE_NO_DEPS" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658echo "${ECHO_T}yes" >&6
3659 else
3660 echo "$as_me:$LINENO: result: no" >&5
3661echo "${ECHO_T}no" >&6
3662 fi
3663
3664
3665
3666 enablestring=
3667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3668echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3669 no_cache=0
3670 # Check whether --enable-compat20 or --disable-compat20 was given.
3671if test "${enable_compat20+set}" = set; then
3672 enableval="$enable_compat20"
3673
3674 if test "$enableval" = yes; then
3675 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3676 else
3677 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3678 fi
3679
3680else
3681
3682 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3685 else
3686 no_cache=1
3687 fi
3688
3689 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3690
3691fi;
3692
3693 eval "$ac_cv_use_compat20"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3696 fi
3697
3698 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3699 echo "$as_me:$LINENO: result: yes" >&5
3700echo "${ECHO_T}yes" >&6
3701 else
3702 echo "$as_me:$LINENO: result: no" >&5
3703echo "${ECHO_T}no" >&6
3704 fi
3705
3706
3707 enablestring=
3708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3709echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3710 no_cache=0
3711 # Check whether --enable-compat22 or --disable-compat22 was given.
3712if test "${enable_compat22+set}" = set; then
3713 enableval="$enable_compat22"
3714
3715 if test "$enableval" = yes; then
3716 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3717 else
3718 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3719 fi
3720
3721else
3722
3723 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x ; then
3725 eval "DEFAULT_$LINE"
3726 else
3727 no_cache=1
3728 fi
3729
3730 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3731
3732fi;
3733
3734 eval "$ac_cv_use_compat22"
3735 if test "$no_cache" != 1; then
3736 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3737 fi
3738
3739 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3740 echo "$as_me:$LINENO: result: yes" >&5
3741echo "${ECHO_T}yes" >&6
3742 else
3743 echo "$as_me:$LINENO: result: no" >&5
3744echo "${ECHO_T}no" >&6
3745 fi
3746
3747
3748 enablestring=disable
3749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3750echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3751 no_cache=0
3752 # Check whether --enable-compat24 or --disable-compat24 was given.
3753if test "${enable_compat24+set}" = set; then
3754 enableval="$enable_compat24"
3755
3756 if test "$enableval" = yes; then
3757 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3758 else
3759 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3760 fi
3761
3762else
3763
3764 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x ; then
3766 eval "DEFAULT_$LINE"
3767 else
3768 no_cache=1
3769 fi
3770
3771 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3772
3773fi;
3774
3775 eval "$ac_cv_use_compat24"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3778 fi
3779
3780 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3781 echo "$as_me:$LINENO: result: yes" >&5
3782echo "${ECHO_T}yes" >&6
3783 else
3784 echo "$as_me:$LINENO: result: no" >&5
3785echo "${ECHO_T}no" >&6
3786 fi
3787
3788
3789# Check whether --enable-rpath or --disable-rpath was given.
3790if test "${enable_rpath+set}" = set; then
3791 enableval="$enable_rpath"
3792 wxRPATH_DIR="$enableval"
3793fi;
3794
3795if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3796 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3797fi
3798
3799
3800
3801
3802 enablestring=
3803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3804echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3805 no_cache=0
3806 # Check whether --enable-intl or --disable-intl was given.
3807if test "${enable_intl+set}" = set; then
3808 enableval="$enable_intl"
3809
3810 if test "$enableval" = yes; then
3811 ac_cv_use_intl='wxUSE_INTL=yes'
3812 else
3813 ac_cv_use_intl='wxUSE_INTL=no'
3814 fi
3815
3816else
3817
3818 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3819 if test "x$LINE" != x ; then
3820 eval "DEFAULT_$LINE"
3821 else
3822 no_cache=1
3823 fi
3824
3825 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3826
3827fi;
3828
3829 eval "$ac_cv_use_intl"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3832 fi
3833
3834 if test "$wxUSE_INTL" = yes; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836echo "${ECHO_T}yes" >&6
3837 else
3838 echo "$as_me:$LINENO: result: no" >&5
3839echo "${ECHO_T}no" >&6
3840 fi
3841
3842
3843 enablestring=
3844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3845echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3846 no_cache=0
3847 # Check whether --enable-config or --disable-config was given.
3848if test "${enable_config+set}" = set; then
3849 enableval="$enable_config"
3850
3851 if test "$enableval" = yes; then
3852 ac_cv_use_config='wxUSE_CONFIG=yes'
3853 else
3854 ac_cv_use_config='wxUSE_CONFIG=no'
3855 fi
3856
3857else
3858
3859 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x ; then
3861 eval "DEFAULT_$LINE"
3862 else
3863 no_cache=1
3864 fi
3865
3866 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3867
3868fi;
3869
3870 eval "$ac_cv_use_config"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3873 fi
3874
3875 if test "$wxUSE_CONFIG" = yes; then
3876 echo "$as_me:$LINENO: result: yes" >&5
3877echo "${ECHO_T}yes" >&6
3878 else
3879 echo "$as_me:$LINENO: result: no" >&5
3880echo "${ECHO_T}no" >&6
3881 fi
3882
3883
3884
3885 enablestring=
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3887echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3888 no_cache=0
3889 # Check whether --enable-protocols or --disable-protocols was given.
3890if test "${enable_protocols+set}" = set; then
3891 enableval="$enable_protocols"
3892
3893 if test "$enableval" = yes; then
3894 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3895 else
3896 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3897 fi
3898
3899else
3900
3901 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 else
3905 no_cache=1
3906 fi
3907
3908 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3909
3910fi;
3911
3912 eval "$ac_cv_use_protocols"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3915 fi
3916
3917 if test "$wxUSE_PROTOCOL" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919echo "${ECHO_T}yes" >&6
3920 else
3921 echo "$as_me:$LINENO: result: no" >&5
3922echo "${ECHO_T}no" >&6
3923 fi
3924
3925
3926 enablestring=
3927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3928echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3929 no_cache=0
3930 # Check whether --enable-ftp or --disable-ftp was given.
3931if test "${enable_ftp+set}" = set; then
3932 enableval="$enable_ftp"
3933
3934 if test "$enableval" = yes; then
3935 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3936 else
3937 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3938 fi
3939
3940else
3941
3942 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3945 else
3946 no_cache=1
3947 fi
3948
3949 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3950
3951fi;
3952
3953 eval "$ac_cv_use_ftp"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3956 fi
3957
3958 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3959 echo "$as_me:$LINENO: result: yes" >&5
3960echo "${ECHO_T}yes" >&6
3961 else
3962 echo "$as_me:$LINENO: result: no" >&5
3963echo "${ECHO_T}no" >&6
3964 fi
3965
3966
3967 enablestring=
3968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3969echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3970 no_cache=0
3971 # Check whether --enable-http or --disable-http was given.
3972if test "${enable_http+set}" = set; then
3973 enableval="$enable_http"
3974
3975 if test "$enableval" = yes; then
3976 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3977 else
3978 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3979 fi
3980
3981else
3982
3983 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3984 if test "x$LINE" != x ; then
3985 eval "DEFAULT_$LINE"
3986 else
3987 no_cache=1
3988 fi
3989
3990 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3991
3992fi;
3993
3994 eval "$ac_cv_use_http"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3997 fi
3998
3999 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4000 echo "$as_me:$LINENO: result: yes" >&5
4001echo "${ECHO_T}yes" >&6
4002 else
4003 echo "$as_me:$LINENO: result: no" >&5
4004echo "${ECHO_T}no" >&6
4005 fi
4006
4007
4008 enablestring=
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4010echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4011 no_cache=0
4012 # Check whether --enable-fileproto or --disable-fileproto was given.
4013if test "${enable_fileproto+set}" = set; then
4014 enableval="$enable_fileproto"
4015
4016 if test "$enableval" = yes; then
4017 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4018 else
4019 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4020 fi
4021
4022else
4023
4024 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4027 else
4028 no_cache=1
4029 fi
4030
4031 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4032
4033fi;
4034
4035 eval "$ac_cv_use_fileproto"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4038 fi
4039
4040 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042echo "${ECHO_T}yes" >&6
4043 else
4044 echo "$as_me:$LINENO: result: no" >&5
4045echo "${ECHO_T}no" >&6
4046 fi
4047
4048
4049 enablestring=
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4051echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4052 no_cache=0
4053 # Check whether --enable-sockets or --disable-sockets was given.
4054if test "${enable_sockets+set}" = set; then
4055 enableval="$enable_sockets"
4056
4057 if test "$enableval" = yes; then
4058 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4059 else
4060 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4061 fi
4062
4063else
4064
4065 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x ; then
4067 eval "DEFAULT_$LINE"
4068 else
4069 no_cache=1
4070 fi
4071
4072 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4073
4074fi;
4075
4076 eval "$ac_cv_use_sockets"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4079 fi
4080
4081 if test "$wxUSE_SOCKETS" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083echo "${ECHO_T}yes" >&6
4084 else
4085 echo "$as_me:$LINENO: result: no" >&5
4086echo "${ECHO_T}no" >&6
4087 fi
4088
4089
4090 enablestring=
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4092echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4093 no_cache=0
4094 # Check whether --enable-ole or --disable-ole was given.
4095if test "${enable_ole+set}" = set; then
4096 enableval="$enable_ole"
4097
4098 if test "$enableval" = yes; then
4099 ac_cv_use_ole='wxUSE_OLE=yes'
4100 else
4101 ac_cv_use_ole='wxUSE_OLE=no'
4102 fi
4103
4104else
4105
4106 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x ; then
4108 eval "DEFAULT_$LINE"
4109 else
4110 no_cache=1
4111 fi
4112
4113 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4114
4115fi;
4116
4117 eval "$ac_cv_use_ole"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4120 fi
4121
4122 if test "$wxUSE_OLE" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124echo "${ECHO_T}yes" >&6
4125 else
4126 echo "$as_me:$LINENO: result: no" >&5
4127echo "${ECHO_T}no" >&6
4128 fi
4129
4130
4131 enablestring=
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4133echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4134 no_cache=0
4135 # Check whether --enable-dataobj or --disable-dataobj was given.
4136if test "${enable_dataobj+set}" = set; then
4137 enableval="$enable_dataobj"
4138
4139 if test "$enableval" = yes; then
4140 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4141 else
4142 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4143 fi
4144
4145else
4146
4147 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x ; then
4149 eval "DEFAULT_$LINE"
4150 else
4151 no_cache=1
4152 fi
4153
4154 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4155
4156fi;
4157
4158 eval "$ac_cv_use_dataobj"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4161 fi
4162
4163 if test "$wxUSE_DATAOBJ" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165echo "${ECHO_T}yes" >&6
4166 else
4167 echo "$as_me:$LINENO: result: no" >&5
4168echo "${ECHO_T}no" >&6
4169 fi
4170
4171
4172
4173 enablestring=
4174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4175echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4176 no_cache=0
4177 # Check whether --enable-ipc or --disable-ipc was given.
4178if test "${enable_ipc+set}" = set; then
4179 enableval="$enable_ipc"
4180
4181 if test "$enableval" = yes; then
4182 ac_cv_use_ipc='wxUSE_IPC=yes'
4183 else
4184 ac_cv_use_ipc='wxUSE_IPC=no'
4185 fi
4186
4187else
4188
4189 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x ; then
4191 eval "DEFAULT_$LINE"
4192 else
4193 no_cache=1
4194 fi
4195
4196 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4197
4198fi;
4199
4200 eval "$ac_cv_use_ipc"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4203 fi
4204
4205 if test "$wxUSE_IPC" = yes; then
4206 echo "$as_me:$LINENO: result: yes" >&5
4207echo "${ECHO_T}yes" >&6
4208 else
4209 echo "$as_me:$LINENO: result: no" >&5
4210echo "${ECHO_T}no" >&6
4211 fi
4212
4213
4214
4215 enablestring=
4216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4217echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4218 no_cache=0
4219 # Check whether --enable-cmdline or --disable-cmdline was given.
4220if test "${enable_cmdline+set}" = set; then
4221 enableval="$enable_cmdline"
4222
4223 if test "$enableval" = yes; then
4224 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4225 else
4226 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4227 fi
4228
4229else
4230
4231 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4234 else
4235 no_cache=1
4236 fi
4237
4238 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4239
4240fi;
4241
4242 eval "$ac_cv_use_cmdline"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4245 fi
4246
4247 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4248 echo "$as_me:$LINENO: result: yes" >&5
4249echo "${ECHO_T}yes" >&6
4250 else
4251 echo "$as_me:$LINENO: result: no" >&5
4252echo "${ECHO_T}no" >&6
4253 fi
4254
4255
4256 enablestring=
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4258echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4259 no_cache=0
4260 # Check whether --enable-datetime or --disable-datetime was given.
4261if test "${enable_datetime+set}" = set; then
4262 enableval="$enable_datetime"
4263
4264 if test "$enableval" = yes; then
4265 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4266 else
4267 ac_cv_use_datetime='wxUSE_DATETIME=no'
4268 fi
4269
4270else
4271
4272 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x ; then
4274 eval "DEFAULT_$LINE"
4275 else
4276 no_cache=1
4277 fi
4278
4279 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4280
4281fi;
4282
4283 eval "$ac_cv_use_datetime"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4286 fi
4287
4288 if test "$wxUSE_DATETIME" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290echo "${ECHO_T}yes" >&6
4291 else
4292 echo "$as_me:$LINENO: result: no" >&5
4293echo "${ECHO_T}no" >&6
4294 fi
4295
4296
4297 enablestring=
4298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4299echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4300 no_cache=0
4301 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4302if test "${enable_stopwatch+set}" = set; then
4303 enableval="$enable_stopwatch"
4304
4305 if test "$enableval" = yes; then
4306 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4307 else
4308 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4309 fi
4310
4311else
4312
4313 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 else
4317 no_cache=1
4318 fi
4319
4320 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4321
4322fi;
4323
4324 eval "$ac_cv_use_stopwatch"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4327 fi
4328
4329 if test "$wxUSE_STOPWATCH" = yes; then
4330 echo "$as_me:$LINENO: result: yes" >&5
4331echo "${ECHO_T}yes" >&6
4332 else
4333 echo "$as_me:$LINENO: result: no" >&5
4334echo "${ECHO_T}no" >&6
4335 fi
4336
4337
4338 enablestring=
4339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4340echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4341 no_cache=0
4342 # Check whether --enable-dialupman or --disable-dialupman was given.
4343if test "${enable_dialupman+set}" = set; then
4344 enableval="$enable_dialupman"
4345
4346 if test "$enableval" = yes; then
4347 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4348 else
4349 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4350 fi
4351
4352else
4353
4354 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4355 if test "x$LINE" != x ; then
4356 eval "DEFAULT_$LINE"
4357 else
4358 no_cache=1
4359 fi
4360
4361 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4362
4363fi;
4364
4365 eval "$ac_cv_use_dialupman"
4366 if test "$no_cache" != 1; then
4367 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4368 fi
4369
4370 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4371 echo "$as_me:$LINENO: result: yes" >&5
4372echo "${ECHO_T}yes" >&6
4373 else
4374 echo "$as_me:$LINENO: result: no" >&5
4375echo "${ECHO_T}no" >&6
4376 fi
4377
4378
4379 enablestring=
4380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4381echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4382 no_cache=0
4383 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4384if test "${enable_apple_ieee+set}" = set; then
4385 enableval="$enable_apple_ieee"
4386
4387 if test "$enableval" = yes; then
4388 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4389 else
4390 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4391 fi
4392
4393else
4394
4395 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4396 if test "x$LINE" != x ; then
4397 eval "DEFAULT_$LINE"
4398 else
4399 no_cache=1
4400 fi
4401
4402 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4403
4404fi;
4405
4406 eval "$ac_cv_use_apple_ieee"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4409 fi
4410
4411 if test "$wxUSE_APPLE_IEEE" = yes; then
4412 echo "$as_me:$LINENO: result: yes" >&5
4413echo "${ECHO_T}yes" >&6
4414 else
4415 echo "$as_me:$LINENO: result: no" >&5
4416echo "${ECHO_T}no" >&6
4417 fi
4418
4419
4420 enablestring=
4421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4422echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4423 no_cache=0
4424 # Check whether --enable-timer or --disable-timer was given.
4425if test "${enable_timer+set}" = set; then
4426 enableval="$enable_timer"
4427
4428 if test "$enableval" = yes; then
4429 ac_cv_use_timer='wxUSE_TIMER=yes'
4430 else
4431 ac_cv_use_timer='wxUSE_TIMER=no'
4432 fi
4433
4434else
4435
4436 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4437 if test "x$LINE" != x ; then
4438 eval "DEFAULT_$LINE"
4439 else
4440 no_cache=1
4441 fi
4442
4443 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4444
4445fi;
4446
4447 eval "$ac_cv_use_timer"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4450 fi
4451
4452 if test "$wxUSE_TIMER" = yes; then
4453 echo "$as_me:$LINENO: result: yes" >&5
4454echo "${ECHO_T}yes" >&6
4455 else
4456 echo "$as_me:$LINENO: result: no" >&5
4457echo "${ECHO_T}no" >&6
4458 fi
4459
4460
4461 enablestring=
4462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4463echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4464 no_cache=0
4465 # Check whether --enable-wave or --disable-wave was given.
4466if test "${enable_wave+set}" = set; then
4467 enableval="$enable_wave"
4468
4469 if test "$enableval" = yes; then
4470 ac_cv_use_wave='wxUSE_WAVE=yes'
4471 else
4472 ac_cv_use_wave='wxUSE_WAVE=no'
4473 fi
4474
4475else
4476
4477 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4480 else
4481 no_cache=1
4482 fi
4483
4484 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4485
4486fi;
4487
4488 eval "$ac_cv_use_wave"
4489 if test "$no_cache" != 1; then
4490 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4491 fi
4492
4493 if test "$wxUSE_WAVE" = yes; then
4494 echo "$as_me:$LINENO: result: yes" >&5
4495echo "${ECHO_T}yes" >&6
4496 else
4497 echo "$as_me:$LINENO: result: no" >&5
4498echo "${ECHO_T}no" >&6
4499 fi
4500
4501
4502 enablestring=
4503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4504echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4505 no_cache=0
4506 # Check whether --enable-fraction or --disable-fraction was given.
4507if test "${enable_fraction+set}" = set; then
4508 enableval="$enable_fraction"
4509
4510 if test "$enableval" = yes; then
4511 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4512 else
4513 ac_cv_use_fraction='wxUSE_FRACTION=no'
4514 fi
4515
4516else
4517
4518 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4519 if test "x$LINE" != x ; then
4520 eval "DEFAULT_$LINE"
4521 else
4522 no_cache=1
4523 fi
4524
4525 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4526
4527fi;
4528
4529 eval "$ac_cv_use_fraction"
4530 if test "$no_cache" != 1; then
4531 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4532 fi
4533
4534 if test "$wxUSE_FRACTION" = yes; then
4535 echo "$as_me:$LINENO: result: yes" >&5
4536echo "${ECHO_T}yes" >&6
4537 else
4538 echo "$as_me:$LINENO: result: no" >&5
4539echo "${ECHO_T}no" >&6
4540 fi
4541
4542
4543 enablestring=
4544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4545echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4546 no_cache=0
4547 # Check whether --enable-dynlib or --disable-dynlib was given.
4548if test "${enable_dynlib+set}" = set; then
4549 enableval="$enable_dynlib"
4550
4551 if test "$enableval" = yes; then
4552 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4553 else
4554 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4555 fi
4556
4557else
4558
4559 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x ; then
4561 eval "DEFAULT_$LINE"
4562 else
4563 no_cache=1
4564 fi
4565
4566 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4567
4568fi;
4569
4570 eval "$ac_cv_use_dynlib"
4571 if test "$no_cache" != 1; then
4572 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4573 fi
4574
4575 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4576 echo "$as_me:$LINENO: result: yes" >&5
4577echo "${ECHO_T}yes" >&6
4578 else
4579 echo "$as_me:$LINENO: result: no" >&5
4580echo "${ECHO_T}no" >&6
4581 fi
4582
4583
4584 enablestring=
4585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4586echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4587 no_cache=0
4588 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4589if test "${enable_dynamicloader+set}" = set; then
4590 enableval="$enable_dynamicloader"
4591
4592 if test "$enableval" = yes; then
4593 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4594 else
4595 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4596 fi
4597
4598else
4599
4600 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x ; then
4602 eval "DEFAULT_$LINE"
4603 else
4604 no_cache=1
4605 fi
4606
4607 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4608
4609fi;
4610
4611 eval "$ac_cv_use_dynamicloader"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4614 fi
4615
4616 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4617 echo "$as_me:$LINENO: result: yes" >&5
4618echo "${ECHO_T}yes" >&6
4619 else
4620 echo "$as_me:$LINENO: result: no" >&5
4621echo "${ECHO_T}no" >&6
4622 fi
4623
4624
4625 enablestring=
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4627echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4628 no_cache=0
4629 # Check whether --enable-longlong or --disable-longlong was given.
4630if test "${enable_longlong+set}" = set; then
4631 enableval="$enable_longlong"
4632
4633 if test "$enableval" = yes; then
4634 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4635 else
4636 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4637 fi
4638
4639else
4640
4641 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4649
4650fi;
4651
4652 eval "$ac_cv_use_longlong"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test "$wxUSE_LONGLONG" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659echo "${ECHO_T}yes" >&6
4660 else
4661 echo "$as_me:$LINENO: result: no" >&5
4662echo "${ECHO_T}no" >&6
4663 fi
4664
4665
4666 enablestring=
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4668echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4669 no_cache=0
4670 # Check whether --enable-geometry or --disable-geometry was given.
4671if test "${enable_geometry+set}" = set; then
4672 enableval="$enable_geometry"
4673
4674 if test "$enableval" = yes; then
4675 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4676 else
4677 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4678 fi
4679
4680else
4681
4682 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4685 else
4686 no_cache=1
4687 fi
4688
4689 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4690
4691fi;
4692
4693 eval "$ac_cv_use_geometry"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4696 fi
4697
4698 if test "$wxUSE_GEOMETRY" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700echo "${ECHO_T}yes" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703echo "${ECHO_T}no" >&6
4704 fi
4705
4706
4707 enablestring=
4708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4709echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4710 no_cache=0
4711 # Check whether --enable-log or --disable-log was given.
4712if test "${enable_log+set}" = set; then
4713 enableval="$enable_log"
4714
4715 if test "$enableval" = yes; then
4716 ac_cv_use_log='wxUSE_LOG=yes'
4717 else
4718 ac_cv_use_log='wxUSE_LOG=no'
4719 fi
4720
4721else
4722
4723 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4726 else
4727 no_cache=1
4728 fi
4729
4730 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4731
4732fi;
4733
4734 eval "$ac_cv_use_log"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4737 fi
4738
4739 if test "$wxUSE_LOG" = yes; then
4740 echo "$as_me:$LINENO: result: yes" >&5
4741echo "${ECHO_T}yes" >&6
4742 else
4743 echo "$as_me:$LINENO: result: no" >&5
4744echo "${ECHO_T}no" >&6
4745 fi
4746
4747
4748 enablestring=
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4750echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4751 no_cache=0
4752 # Check whether --enable-streams or --disable-streams was given.
4753if test "${enable_streams+set}" = set; then
4754 enableval="$enable_streams"
4755
4756 if test "$enableval" = yes; then
4757 ac_cv_use_streams='wxUSE_STREAMS=yes'
4758 else
4759 ac_cv_use_streams='wxUSE_STREAMS=no'
4760 fi
4761
4762else
4763
4764 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 else
4768 no_cache=1
4769 fi
4770
4771 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4772
4773fi;
4774
4775 eval "$ac_cv_use_streams"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4778 fi
4779
4780 if test "$wxUSE_STREAMS" = yes; then
4781 echo "$as_me:$LINENO: result: yes" >&5
4782echo "${ECHO_T}yes" >&6
4783 else
4784 echo "$as_me:$LINENO: result: no" >&5
4785echo "${ECHO_T}no" >&6
4786 fi
4787
4788
4789 enablestring=
4790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4791echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4792 no_cache=0
4793 # Check whether --enable-file or --disable-file was given.
4794if test "${enable_file+set}" = set; then
4795 enableval="$enable_file"
4796
4797 if test "$enableval" = yes; then
4798 ac_cv_use_file='wxUSE_FILE=yes'
4799 else
4800 ac_cv_use_file='wxUSE_FILE=no'
4801 fi
4802
4803else
4804
4805 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4808 else
4809 no_cache=1
4810 fi
4811
4812 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4813
4814fi;
4815
4816 eval "$ac_cv_use_file"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4819 fi
4820
4821 if test "$wxUSE_FILE" = yes; then
4822 echo "$as_me:$LINENO: result: yes" >&5
4823echo "${ECHO_T}yes" >&6
4824 else
4825 echo "$as_me:$LINENO: result: no" >&5
4826echo "${ECHO_T}no" >&6
4827 fi
4828
4829
4830 enablestring=
4831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4832echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4833 no_cache=0
4834 # Check whether --enable-ffile or --disable-ffile was given.
4835if test "${enable_ffile+set}" = set; then
4836 enableval="$enable_ffile"
4837
4838 if test "$enableval" = yes; then
4839 ac_cv_use_ffile='wxUSE_FFILE=yes'
4840 else
4841 ac_cv_use_ffile='wxUSE_FFILE=no'
4842 fi
4843
4844else
4845
4846 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4849 else
4850 no_cache=1
4851 fi
4852
4853 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4854
4855fi;
4856
4857 eval "$ac_cv_use_ffile"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4860 fi
4861
4862 if test "$wxUSE_FFILE" = yes; then
4863 echo "$as_me:$LINENO: result: yes" >&5
4864echo "${ECHO_T}yes" >&6
4865 else
4866 echo "$as_me:$LINENO: result: no" >&5
4867echo "${ECHO_T}no" >&6
4868 fi
4869
4870
4871 enablestring=
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4873echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4874 no_cache=0
4875 # Check whether --enable-textbuf or --disable-textbuf was given.
4876if test "${enable_textbuf+set}" = set; then
4877 enableval="$enable_textbuf"
4878
4879 if test "$enableval" = yes; then
4880 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4881 else
4882 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4883 fi
4884
4885else
4886
4887 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4890 else
4891 no_cache=1
4892 fi
4893
4894 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4895
4896fi;
4897
4898 eval "$ac_cv_use_textbuf"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4901 fi
4902
4903 if test "$wxUSE_TEXTBUFFER" = yes; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905echo "${ECHO_T}yes" >&6
4906 else
4907 echo "$as_me:$LINENO: result: no" >&5
4908echo "${ECHO_T}no" >&6
4909 fi
4910
4911
4912 enablestring=
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4914echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4915 no_cache=0
4916 # Check whether --enable-textfile or --disable-textfile was given.
4917if test "${enable_textfile+set}" = set; then
4918 enableval="$enable_textfile"
4919
4920 if test "$enableval" = yes; then
4921 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4922 else
4923 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4924 fi
4925
4926else
4927
4928 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4931 else
4932 no_cache=1
4933 fi
4934
4935 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4936
4937fi;
4938
4939 eval "$ac_cv_use_textfile"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4942 fi
4943
4944 if test "$wxUSE_TEXTFILE" = yes; then
4945 echo "$as_me:$LINENO: result: yes" >&5
4946echo "${ECHO_T}yes" >&6
4947 else
4948 echo "$as_me:$LINENO: result: no" >&5
4949echo "${ECHO_T}no" >&6
4950 fi
4951
4952
4953 enablestring=
4954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4955echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4956 no_cache=0
4957 # Check whether --enable-fontmap or --disable-fontmap was given.
4958if test "${enable_fontmap+set}" = set; then
4959 enableval="$enable_fontmap"
4960
4961 if test "$enableval" = yes; then
4962 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4963 else
4964 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4965 fi
4966
4967else
4968
4969 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x ; then
4971 eval "DEFAULT_$LINE"
4972 else
4973 no_cache=1
4974 fi
4975
4976 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4977
4978fi;
4979
4980 eval "$ac_cv_use_fontmap"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4983 fi
4984
4985 if test "$wxUSE_FONTMAP" = yes; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987echo "${ECHO_T}yes" >&6
4988 else
4989 echo "$as_me:$LINENO: result: no" >&5
4990echo "${ECHO_T}no" >&6
4991 fi
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4996echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-unicode or --disable-unicode was given.
4999if test "${enable_unicode+set}" = set; then
5000 enableval="$enable_unicode"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5004 else
5005 ac_cv_use_unicode='wxUSE_UNICODE=no'
5006 fi
5007
5008else
5009
5010 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5018
5019fi;
5020
5021 eval "$ac_cv_use_unicode"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_UNICODE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5037echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-mslu or --disable-mslu was given.
5040if test "${enable_mslu+set}" = set; then
5041 enableval="$enable_mslu"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5045 else
5046 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5047 fi
5048
5049else
5050
5051 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5059
5060fi;
5061
5062 eval "$ac_cv_use_mslu"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_UNICODE_MSLU" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5078echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5081if test "${enable_wxprintfv+set}" = set; then
5082 enableval="$enable_wxprintfv"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5086 else
5087 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5088 fi
5089
5090else
5091
5092 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5100
5101fi;
5102
5103 eval "$ac_cv_use_wxprintfv"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5119echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5122if test "${enable_std_iostreams+set}" = set; then
5123 enableval="$enable_std_iostreams"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5127 else
5128 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5129 fi
5130
5131else
5132
5133 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5141
5142fi;
5143
5144 eval "$ac_cv_use_std_iostreams"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_STD_IOSTREAM" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5160echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-filesystem or --disable-filesystem was given.
5163if test "${enable_filesystem+set}" = set; then
5164 enableval="$enable_filesystem"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5168 else
5169 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5170 fi
5171
5172else
5173
5174 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5182
5183fi;
5184
5185 eval "$ac_cv_use_filesystem"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_FILESYSTEM" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5201echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5204if test "${enable_fs_inet+set}" = set; then
5205 enableval="$enable_fs_inet"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5209 else
5210 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5211 fi
5212
5213else
5214
5215 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5223
5224fi;
5225
5226 eval "$ac_cv_use_fs_inet"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_FS_INET" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5242echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5245if test "${enable_fs_zip+set}" = set; then
5246 enableval="$enable_fs_zip"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5250 else
5251 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5252 fi
5253
5254else
5255
5256 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5264
5265fi;
5266
5267 eval "$ac_cv_use_fs_zip"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_FS_ZIP" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5283echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-zipstream or --disable-zipstream was given.
5286if test "${enable_zipstream+set}" = set; then
5287 enableval="$enable_zipstream"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5291 else
5292 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5293 fi
5294
5295else
5296
5297 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5305
5306fi;
5307
5308 eval "$ac_cv_use_zipstream"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_ZIPSTREAM" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322
5323 enablestring=
5324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5325echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5326 no_cache=0
5327 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5328if test "${enable_catch_segvs+set}" = set; then
5329 enableval="$enable_catch_segvs"
5330
5331 if test "$enableval" = yes; then
5332 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5333 else
5334 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5335 fi
5336
5337else
5338
5339 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5340 if test "x$LINE" != x ; then
5341 eval "DEFAULT_$LINE"
5342 else
5343 no_cache=1
5344 fi
5345
5346 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5347
5348fi;
5349
5350 eval "$ac_cv_use_catch_segvs"
5351 if test "$no_cache" != 1; then
5352 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5353 fi
5354
5355 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5356 echo "$as_me:$LINENO: result: yes" >&5
5357echo "${ECHO_T}yes" >&6
5358 else
5359 echo "$as_me:$LINENO: result: no" >&5
5360echo "${ECHO_T}no" >&6
5361 fi
5362
5363
5364 enablestring=
5365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5366echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5367 no_cache=0
5368 # Check whether --enable-snglinst or --disable-snglinst was given.
5369if test "${enable_snglinst+set}" = set; then
5370 enableval="$enable_snglinst"
5371
5372 if test "$enableval" = yes; then
5373 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5374 else
5375 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5376 fi
5377
5378else
5379
5380 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5381 if test "x$LINE" != x ; then
5382 eval "DEFAULT_$LINE"
5383 else
5384 no_cache=1
5385 fi
5386
5387 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5388
5389fi;
5390
5391 eval "$ac_cv_use_snglinst"
5392 if test "$no_cache" != 1; then
5393 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5394 fi
5395
5396 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5397 echo "$as_me:$LINENO: result: yes" >&5
5398echo "${ECHO_T}yes" >&6
5399 else
5400 echo "$as_me:$LINENO: result: no" >&5
5401echo "${ECHO_T}no" >&6
5402 fi
5403
5404
5405
5406 enablestring=
5407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5408echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5409 no_cache=0
5410 # Check whether --enable-mimetype or --disable-mimetype was given.
5411if test "${enable_mimetype+set}" = set; then
5412 enableval="$enable_mimetype"
5413
5414 if test "$enableval" = yes; then
5415 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5416 else
5417 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5418 fi
5419
5420else
5421
5422 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x ; then
5424 eval "DEFAULT_$LINE"
5425 else
5426 no_cache=1
5427 fi
5428
5429 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5430
5431fi;
5432
5433 eval "$ac_cv_use_mimetype"
5434 if test "$no_cache" != 1; then
5435 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5436 fi
5437
5438 if test "$wxUSE_MIMETYPE" = yes; then
5439 echo "$as_me:$LINENO: result: yes" >&5
5440echo "${ECHO_T}yes" >&6
5441 else
5442 echo "$as_me:$LINENO: result: no" >&5
5443echo "${ECHO_T}no" >&6
5444 fi
5445
5446
5447 enablestring=
5448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5449echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5450 no_cache=0
5451 # Check whether --enable-system_options or --disable-system_options was given.
5452if test "${enable_system_options+set}" = set; then
5453 enableval="$enable_system_options"
5454
5455 if test "$enableval" = yes; then
5456 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5457 else
5458 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5459 fi
5460
5461else
5462
5463 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5464 if test "x$LINE" != x ; then
5465 eval "DEFAULT_$LINE"
5466 else
5467 no_cache=1
5468 fi
5469
5470 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5471
5472fi;
5473
5474 eval "$ac_cv_use_system_options"
5475 if test "$no_cache" != 1; then
5476 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5477 fi
5478
5479 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5480 echo "$as_me:$LINENO: result: yes" >&5
5481echo "${ECHO_T}yes" >&6
5482 else
5483 echo "$as_me:$LINENO: result: no" >&5
5484echo "${ECHO_T}no" >&6
5485 fi
5486
5487
5488
5489 enablestring=
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5491echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5492 no_cache=0
5493 # Check whether --enable-url or --disable-url was given.
5494if test "${enable_url+set}" = set; then
5495 enableval="$enable_url"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_url='wxUSE_URL=yes'
5499 else
5500 ac_cv_use_url='wxUSE_URL=no'
5501 fi
5502
5503else
5504
5505 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5513
5514fi;
5515
5516 eval "$ac_cv_use_url"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5519 fi
5520
5521 if test "$wxUSE_URL" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523echo "${ECHO_T}yes" >&6
5524 else
5525 echo "$as_me:$LINENO: result: no" >&5
5526echo "${ECHO_T}no" >&6
5527 fi
5528
5529
5530 enablestring=
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5532echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5533 no_cache=0
5534 # Check whether --enable-protocol or --disable-protocol was given.
5535if test "${enable_protocol+set}" = set; then
5536 enableval="$enable_protocol"
5537
5538 if test "$enableval" = yes; then
5539 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5540 else
5541 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5542 fi
5543
5544else
5545
5546 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 else
5550 no_cache=1
5551 fi
5552
5553 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5554
5555fi;
5556
5557 eval "$ac_cv_use_protocol"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test "$wxUSE_PROTOCOL" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564echo "${ECHO_T}yes" >&6
5565 else
5566 echo "$as_me:$LINENO: result: no" >&5
5567echo "${ECHO_T}no" >&6
5568 fi
5569
5570
5571 enablestring=
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5573echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5574 no_cache=0
5575 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5576if test "${enable_protocol_http+set}" = set; then
5577 enableval="$enable_protocol_http"
5578
5579 if test "$enableval" = yes; then
5580 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5581 else
5582 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5583 fi
5584
5585else
5586
5587 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5590 else
5591 no_cache=1
5592 fi
5593
5594 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5595
5596fi;
5597
5598 eval "$ac_cv_use_protocol_http"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5601 fi
5602
5603 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605echo "${ECHO_T}yes" >&6
5606 else
5607 echo "$as_me:$LINENO: result: no" >&5
5608echo "${ECHO_T}no" >&6
5609 fi
5610
5611
5612 enablestring=
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5614echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5615 no_cache=0
5616 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5617if test "${enable_protocol_ftp+set}" = set; then
5618 enableval="$enable_protocol_ftp"
5619
5620 if test "$enableval" = yes; then
5621 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5622 else
5623 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5624 fi
5625
5626else
5627
5628 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5636
5637fi;
5638
5639 eval "$ac_cv_use_protocol_ftp"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5642 fi
5643
5644 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646echo "${ECHO_T}yes" >&6
5647 else
5648 echo "$as_me:$LINENO: result: no" >&5
5649echo "${ECHO_T}no" >&6
5650 fi
5651
5652
5653 enablestring=
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5655echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5656 no_cache=0
5657 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5658if test "${enable_protocol_file+set}" = set; then
5659 enableval="$enable_protocol_file"
5660
5661 if test "$enableval" = yes; then
5662 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5663 else
5664 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5665 fi
5666
5667else
5668
5669 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5672 else
5673 no_cache=1
5674 fi
5675
5676 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5677
5678fi;
5679
5680 eval "$ac_cv_use_protocol_file"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5683 fi
5684
5685 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687echo "${ECHO_T}yes" >&6
5688 else
5689 echo "$as_me:$LINENO: result: no" >&5
5690echo "${ECHO_T}no" >&6
5691 fi
5692
5693
5694
5695
5696
5697 enablestring=
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5699echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5700 no_cache=0
5701 # Check whether --enable-threads or --disable-threads was given.
5702if test "${enable_threads+set}" = set; then
5703 enableval="$enable_threads"
5704
5705 if test "$enableval" = yes; then
5706 ac_cv_use_threads='wxUSE_THREADS=yes'
5707 else
5708 ac_cv_use_threads='wxUSE_THREADS=no'
5709 fi
5710
5711else
5712
5713 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5716 else
5717 no_cache=1
5718 fi
5719
5720 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5721
5722fi;
5723
5724 eval "$ac_cv_use_threads"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5727 fi
5728
5729 if test "$wxUSE_THREADS" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731echo "${ECHO_T}yes" >&6
5732 else
5733 echo "$as_me:$LINENO: result: no" >&5
5734echo "${ECHO_T}no" >&6
5735 fi
5736
5737
5738if test "$wxUSE_GUI" = "yes"; then
5739
5740
5741
5742 enablestring=
5743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5744echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5745 no_cache=0
5746 # Check whether --enable-docview or --disable-docview was given.
5747if test "${enable_docview+set}" = set; then
5748 enableval="$enable_docview"
5749
5750 if test "$enableval" = yes; then
5751 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5752 else
5753 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5754 fi
5755
5756else
5757
5758 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5761 else
5762 no_cache=1
5763 fi
5764
5765 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5766
5767fi;
5768
5769 eval "$ac_cv_use_docview"
5770 if test "$no_cache" != 1; then
5771 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5772 fi
5773
5774 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5775 echo "$as_me:$LINENO: result: yes" >&5
5776echo "${ECHO_T}yes" >&6
5777 else
5778 echo "$as_me:$LINENO: result: no" >&5
5779echo "${ECHO_T}no" >&6
5780 fi
5781
5782
5783 enablestring=
5784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5785echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5786 no_cache=0
5787 # Check whether --enable-help or --disable-help was given.
5788if test "${enable_help+set}" = set; then
5789 enableval="$enable_help"
5790
5791 if test "$enableval" = yes; then
5792 ac_cv_use_help='wxUSE_HELP=yes'
5793 else
5794 ac_cv_use_help='wxUSE_HELP=no'
5795 fi
5796
5797else
5798
5799 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5800 if test "x$LINE" != x ; then
5801 eval "DEFAULT_$LINE"
5802 else
5803 no_cache=1
5804 fi
5805
5806 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5807
5808fi;
5809
5810 eval "$ac_cv_use_help"
5811 if test "$no_cache" != 1; then
5812 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5813 fi
5814
5815 if test "$wxUSE_HELP" = yes; then
5816 echo "$as_me:$LINENO: result: yes" >&5
5817echo "${ECHO_T}yes" >&6
5818 else
5819 echo "$as_me:$LINENO: result: no" >&5
5820echo "${ECHO_T}no" >&6
5821 fi
5822
5823
5824 enablestring=
5825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5826echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5827 no_cache=0
5828 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5829if test "${enable_mshtmlhelp+set}" = set; then
5830 enableval="$enable_mshtmlhelp"
5831
5832 if test "$enableval" = yes; then
5833 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5834 else
5835 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5836 fi
5837
5838else
5839
5840 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x ; then
5842 eval "DEFAULT_$LINE"
5843 else
5844 no_cache=1
5845 fi
5846
5847 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5848
5849fi;
5850
5851 eval "$ac_cv_use_mshtmlhelp"
5852 if test "$no_cache" != 1; then
5853 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5854 fi
5855
5856 if test "$wxUSE_MS_HTML_HELP" = yes; then
5857 echo "$as_me:$LINENO: result: yes" >&5
5858echo "${ECHO_T}yes" >&6
5859 else
5860 echo "$as_me:$LINENO: result: no" >&5
5861echo "${ECHO_T}no" >&6
5862 fi
5863
5864
5865 enablestring=
5866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5867echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5868 no_cache=0
5869 # Check whether --enable-html or --disable-html was given.
5870if test "${enable_html+set}" = set; then
5871 enableval="$enable_html"
5872
5873 if test "$enableval" = yes; then
5874 ac_cv_use_html='wxUSE_HTML=yes'
5875 else
5876 ac_cv_use_html='wxUSE_HTML=no'
5877 fi
5878
5879else
5880
5881 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x ; then
5883 eval "DEFAULT_$LINE"
5884 else
5885 no_cache=1
5886 fi
5887
5888 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5889
5890fi;
5891
5892 eval "$ac_cv_use_html"
5893 if test "$no_cache" != 1; then
5894 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5895 fi
5896
5897 if test "$wxUSE_HTML" = yes; then
5898 echo "$as_me:$LINENO: result: yes" >&5
5899echo "${ECHO_T}yes" >&6
5900 else
5901 echo "$as_me:$LINENO: result: no" >&5
5902echo "${ECHO_T}no" >&6
5903 fi
5904
5905
5906 enablestring=
5907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5908echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5909 no_cache=0
5910 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5911if test "${enable_htmlhelp+set}" = set; then
5912 enableval="$enable_htmlhelp"
5913
5914 if test "$enableval" = yes; then
5915 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5916 else
5917 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5918 fi
5919
5920else
5921
5922 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x ; then
5924 eval "DEFAULT_$LINE"
5925 else
5926 no_cache=1
5927 fi
5928
5929 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5930
5931fi;
5932
5933 eval "$ac_cv_use_htmlhelp"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5936 fi
5937
5938 if test "$wxUSE_WXHTML_HELP" = yes; then
5939 echo "$as_me:$LINENO: result: yes" >&5
5940echo "${ECHO_T}yes" >&6
5941 else
5942 echo "$as_me:$LINENO: result: no" >&5
5943echo "${ECHO_T}no" >&6
5944 fi
5945
5946
5947 enablestring=
5948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5949echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5950 no_cache=0
5951 # Check whether --enable-constraints or --disable-constraints was given.
5952if test "${enable_constraints+set}" = set; then
5953 enableval="$enable_constraints"
5954
5955 if test "$enableval" = yes; then
5956 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5957 else
5958 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5959 fi
5960
5961else
5962
5963 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x ; then
5965 eval "DEFAULT_$LINE"
5966 else
5967 no_cache=1
5968 fi
5969
5970 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5971
5972fi;
5973
5974 eval "$ac_cv_use_constraints"
5975 if test "$no_cache" != 1; then
5976 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5977 fi
5978
5979 if test "$wxUSE_CONSTRAINTS" = yes; then
5980 echo "$as_me:$LINENO: result: yes" >&5
5981echo "${ECHO_T}yes" >&6
5982 else
5983 echo "$as_me:$LINENO: result: no" >&5
5984echo "${ECHO_T}no" >&6
5985 fi
5986
5987
5988 enablestring=
5989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5990echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5991 no_cache=0
5992 # Check whether --enable-printarch or --disable-printarch was given.
5993if test "${enable_printarch+set}" = set; then
5994 enableval="$enable_printarch"
5995
5996 if test "$enableval" = yes; then
5997 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5998 else
5999 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6000 fi
6001
6002else
6003
6004 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x ; then
6006 eval "DEFAULT_$LINE"
6007 else
6008 no_cache=1
6009 fi
6010
6011 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6012
6013fi;
6014
6015 eval "$ac_cv_use_printarch"
6016 if test "$no_cache" != 1; then
6017 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6018 fi
6019
6020 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6021 echo "$as_me:$LINENO: result: yes" >&5
6022echo "${ECHO_T}yes" >&6
6023 else
6024 echo "$as_me:$LINENO: result: no" >&5
6025echo "${ECHO_T}no" >&6
6026 fi
6027
6028
6029 enablestring=
6030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6031echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6032 no_cache=0
6033 # Check whether --enable-mdi or --disable-mdi was given.
6034if test "${enable_mdi+set}" = set; then
6035 enableval="$enable_mdi"
6036
6037 if test "$enableval" = yes; then
6038 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6039 else
6040 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6041 fi
6042
6043else
6044
6045 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6048 else
6049 no_cache=1
6050 fi
6051
6052 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6053
6054fi;
6055
6056 eval "$ac_cv_use_mdi"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6059 fi
6060
6061 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6062 echo "$as_me:$LINENO: result: yes" >&5
6063echo "${ECHO_T}yes" >&6
6064 else
6065 echo "$as_me:$LINENO: result: no" >&5
6066echo "${ECHO_T}no" >&6
6067 fi
6068
6069
6070 enablestring=
6071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6072echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6073 no_cache=0
6074 # Check whether --enable-loggui or --disable-loggui was given.
6075if test "${enable_loggui+set}" = set; then
6076 enableval="$enable_loggui"
6077
6078 if test "$enableval" = yes; then
6079 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6080 else
6081 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6082 fi
6083
6084else
6085
6086 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x ; then
6088 eval "DEFAULT_$LINE"
6089 else
6090 no_cache=1
6091 fi
6092
6093 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6094
6095fi;
6096
6097 eval "$ac_cv_use_loggui"
6098 if test "$no_cache" != 1; then
6099 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6100 fi
6101
6102 if test "$wxUSE_LOGGUI" = yes; then
6103 echo "$as_me:$LINENO: result: yes" >&5
6104echo "${ECHO_T}yes" >&6
6105 else
6106 echo "$as_me:$LINENO: result: no" >&5
6107echo "${ECHO_T}no" >&6
6108 fi
6109
6110
6111 enablestring=
6112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6113echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6114 no_cache=0
6115 # Check whether --enable-logwin or --disable-logwin was given.
6116if test "${enable_logwin+set}" = set; then
6117 enableval="$enable_logwin"
6118
6119 if test "$enableval" = yes; then
6120 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6121 else
6122 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6123 fi
6124
6125else
6126
6127 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6130 else
6131 no_cache=1
6132 fi
6133
6134 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6135
6136fi;
6137
6138 eval "$ac_cv_use_logwin"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6141 fi
6142
6143 if test "$wxUSE_LOGWINDOW" = yes; then
6144 echo "$as_me:$LINENO: result: yes" >&5
6145echo "${ECHO_T}yes" >&6
6146 else
6147 echo "$as_me:$LINENO: result: no" >&5
6148echo "${ECHO_T}no" >&6
6149 fi
6150
6151
6152 enablestring=
6153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6154echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6155 no_cache=0
6156 # Check whether --enable-logdialog or --disable-logdialog was given.
6157if test "${enable_logdialog+set}" = set; then
6158 enableval="$enable_logdialog"
6159
6160 if test "$enableval" = yes; then
6161 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6162 else
6163 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6164 fi
6165
6166else
6167
6168 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x ; then
6170 eval "DEFAULT_$LINE"
6171 else
6172 no_cache=1
6173 fi
6174
6175 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6176
6177fi;
6178
6179 eval "$ac_cv_use_logdialog"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6182 fi
6183
6184 if test "$wxUSE_LOGDIALOG" = yes; then
6185 echo "$as_me:$LINENO: result: yes" >&5
6186echo "${ECHO_T}yes" >&6
6187 else
6188 echo "$as_me:$LINENO: result: no" >&5
6189echo "${ECHO_T}no" >&6
6190 fi
6191
6192
6193
6194 enablestring=
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6196echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6197 no_cache=0
6198 # Check whether --enable-postscript or --disable-postscript was given.
6199if test "${enable_postscript+set}" = set; then
6200 enableval="$enable_postscript"
6201
6202 if test "$enableval" = yes; then
6203 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6204 else
6205 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6206 fi
6207
6208else
6209
6210 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x ; then
6212 eval "DEFAULT_$LINE"
6213 else
6214 no_cache=1
6215 fi
6216
6217 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6218
6219fi;
6220
6221 eval "$ac_cv_use_postscript"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6224 fi
6225
6226 if test "$wxUSE_POSTSCRIPT" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228echo "${ECHO_T}yes" >&6
6229 else
6230 echo "$as_me:$LINENO: result: no" >&5
6231echo "${ECHO_T}no" >&6
6232 fi
6233
6234
6235
6236
6237
6238 enablestring=
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6240echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6241 no_cache=0
6242 # Check whether --enable-prologio or --disable-prologio was given.
6243if test "${enable_prologio+set}" = set; then
6244 enableval="$enable_prologio"
6245
6246 if test "$enableval" = yes; then
6247 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6248 else
6249 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6250 fi
6251
6252else
6253
6254 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x ; then
6256 eval "DEFAULT_$LINE"
6257 else
6258 no_cache=1
6259 fi
6260
6261 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6262
6263fi;
6264
6265 eval "$ac_cv_use_prologio"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6268 fi
6269
6270 if test "$wxUSE_PROLOGIO" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272echo "${ECHO_T}yes" >&6
6273 else
6274 echo "$as_me:$LINENO: result: no" >&5
6275echo "${ECHO_T}no" >&6
6276 fi
6277
6278
6279 enablestring=
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6281echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6282 no_cache=0
6283 # Check whether --enable-resources or --disable-resources was given.
6284if test "${enable_resources+set}" = set; then
6285 enableval="$enable_resources"
6286
6287 if test "$enableval" = yes; then
6288 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6289 else
6290 ac_cv_use_resources='wxUSE_RESOURCES=no'
6291 fi
6292
6293else
6294
6295 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x ; then
6297 eval "DEFAULT_$LINE"
6298 else
6299 no_cache=1
6300 fi
6301
6302 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6303
6304fi;
6305
6306 eval "$ac_cv_use_resources"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6309 fi
6310
6311 if test "$wxUSE_RESOURCES" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313echo "${ECHO_T}yes" >&6
6314 else
6315 echo "$as_me:$LINENO: result: no" >&5
6316echo "${ECHO_T}no" >&6
6317 fi
6318
6319
6320
6321
6322 enablestring=
6323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6324echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6325 no_cache=0
6326 # Check whether --enable-clipboard or --disable-clipboard was given.
6327if test "${enable_clipboard+set}" = set; then
6328 enableval="$enable_clipboard"
6329
6330 if test "$enableval" = yes; then
6331 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6332 else
6333 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6334 fi
6335
6336else
6337
6338 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x ; then
6340 eval "DEFAULT_$LINE"
6341 else
6342 no_cache=1
6343 fi
6344
6345 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6346
6347fi;
6348
6349 eval "$ac_cv_use_clipboard"
6350 if test "$no_cache" != 1; then
6351 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6352 fi
6353
6354 if test "$wxUSE_CLIPBOARD" = yes; then
6355 echo "$as_me:$LINENO: result: yes" >&5
6356echo "${ECHO_T}yes" >&6
6357 else
6358 echo "$as_me:$LINENO: result: no" >&5
6359echo "${ECHO_T}no" >&6
6360 fi
6361
6362
6363 enablestring=
6364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6365echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6366 no_cache=0
6367 # Check whether --enable-dnd or --disable-dnd was given.
6368if test "${enable_dnd+set}" = set; then
6369 enableval="$enable_dnd"
6370
6371 if test "$enableval" = yes; then
6372 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6373 else
6374 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6375 fi
6376
6377else
6378
6379 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x ; then
6381 eval "DEFAULT_$LINE"
6382 else
6383 no_cache=1
6384 fi
6385
6386 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6387
6388fi;
6389
6390 eval "$ac_cv_use_dnd"
6391 if test "$no_cache" != 1; then
6392 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6393 fi
6394
6395 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6396 echo "$as_me:$LINENO: result: yes" >&5
6397echo "${ECHO_T}yes" >&6
6398 else
6399 echo "$as_me:$LINENO: result: no" >&5
6400echo "${ECHO_T}no" >&6
6401 fi
6402
6403
6404 enablestring=
6405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6406echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6407 no_cache=0
6408 # Check whether --enable-metafile or --disable-metafile was given.
6409if test "${enable_metafile+set}" = set; then
6410 enableval="$enable_metafile"
6411
6412 if test "$enableval" = yes; then
6413 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6414 else
6415 ac_cv_use_metafile='wxUSE_METAFILE=no'
6416 fi
6417
6418else
6419
6420 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x ; then
6422 eval "DEFAULT_$LINE"
6423 else
6424 no_cache=1
6425 fi
6426
6427 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6428
6429fi;
6430
6431 eval "$ac_cv_use_metafile"
6432 if test "$no_cache" != 1; then
6433 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6434 fi
6435
6436 if test "$wxUSE_METAFILE" = yes; then
6437 echo "$as_me:$LINENO: result: yes" >&5
6438echo "${ECHO_T}yes" >&6
6439 else
6440 echo "$as_me:$LINENO: result: no" >&5
6441echo "${ECHO_T}no" >&6
6442 fi
6443
6444
6445
6446
6447
6448 enablestring=
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6450echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6451 no_cache=0
6452 # Check whether --enable-controls or --disable-controls was given.
6453if test "${enable_controls+set}" = set; then
6454 enableval="$enable_controls"
6455
6456 if test "$enableval" = yes; then
6457 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6458 else
6459 ac_cv_use_controls='wxUSE_CONTROLS=no'
6460 fi
6461
6462else
6463
6464 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x ; then
6466 eval "DEFAULT_$LINE"
6467 else
6468 no_cache=1
6469 fi
6470
6471 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6472
6473fi;
6474
6475 eval "$ac_cv_use_controls"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6478 fi
6479
6480 if test "$wxUSE_CONTROLS" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482echo "${ECHO_T}yes" >&6
6483 else
6484 echo "$as_me:$LINENO: result: no" >&5
6485echo "${ECHO_T}no" >&6
6486 fi
6487
6488
6489if test "$wxUSE_CONTROLS" = "yes"; then
6490 DEFAULT_wxUSE_ACCEL=yes
6491 DEFAULT_wxUSE_BMPBUTTON=yes
6492 DEFAULT_wxUSE_BUTTON=yes
6493 DEFAULT_wxUSE_CALCTRL=no
6494 DEFAULT_wxUSE_CARET=yes
6495 DEFAULT_wxUSE_COMBOBOX=yes
6496 DEFAULT_wxUSE_CHECKBOX=yes
6497 DEFAULT_wxUSE_CHECKLISTBOX=yes
6498 DEFAULT_wxUSE_CHOICE=yes
6499 DEFAULT_wxUSE_GAUGE=yes
6500 DEFAULT_wxUSE_GRID=yes
6501 DEFAULT_wxUSE_IMAGLIST=yes
6502 DEFAULT_wxUSE_LISTBOX=yes
6503 DEFAULT_wxUSE_LISTCTRL=yes
6504 DEFAULT_wxUSE_NOTEBOOK=yes
6505 DEFAULT_wxUSE_RADIOBOX=yes
6506 DEFAULT_wxUSE_RADIOBTN=yes
6507 DEFAULT_wxUSE_SASH=yes
6508 DEFAULT_wxUSE_SCROLLBAR=yes
6509 DEFAULT_wxUSE_SLIDER=yes
6510 DEFAULT_wxUSE_SPINBTN=yes
6511 DEFAULT_wxUSE_SPINCTRL=yes
6512 DEFAULT_wxUSE_SPLITTER=yes
6513 DEFAULT_wxUSE_STATBMP=yes
6514 DEFAULT_wxUSE_STATBOX=yes
6515 DEFAULT_wxUSE_STATLINE=yes
6516 DEFAULT_wxUSE_STATUSBAR=yes
6517 DEFAULT_wxUSE_TAB_DIALOG=yes
6518 DEFAULT_wxUSE_TOGGLEBTN=yes
6519 DEFAULT_wxUSE_TOOLBAR=yes
6520 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6521 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6522 DEFAULT_wxUSE_TOOLTIPS=yes
6523 DEFAULT_wxUSE_TREECTRL=yes
6524 DEFAULT_wxUSE_POPUPWIN=yes
6525 DEFAULT_wxUSE_TIPWINDOW=yes
6526elif test "$wxUSE_CONTROLS" = "no"; then
6527 DEFAULT_wxUSE_ACCEL=no
6528 DEFAULT_wxUSE_BMPBUTTON=no
6529 DEFAULT_wxUSE_BUTTON=no
6530 DEFAULT_wxUSE_CALCTRL=no
6531 DEFAULT_wxUSE_CARET=no
6532 DEFAULT_wxUSE_COMBOBOX=no
6533 DEFAULT_wxUSE_CHECKBOX=no
6534 DEFAULT_wxUSE_CHECKLISTBOX=no
6535 DEFAULT_wxUSE_CHOICE=no
6536 DEFAULT_wxUSE_GAUGE=no
6537 DEFAULT_wxUSE_GRID=no
6538 DEFAULT_wxUSE_IMAGLIST=no
6539 DEFAULT_wxUSE_LISTBOX=no
6540 DEFAULT_wxUSE_LISTCTRL=no
6541 DEFAULT_wxUSE_NOTEBOOK=no
6542 DEFAULT_wxUSE_RADIOBOX=no
6543 DEFAULT_wxUSE_RADIOBTN=no
6544 DEFAULT_wxUSE_SASH=no
6545 DEFAULT_wxUSE_SCROLLBAR=no
6546 DEFAULT_wxUSE_SLIDER=no
6547 DEFAULT_wxUSE_SPINBTN=no
6548 DEFAULT_wxUSE_SPINCTRL=no
6549 DEFAULT_wxUSE_SPLITTER=no
6550 DEFAULT_wxUSE_STATBMP=no
6551 DEFAULT_wxUSE_STATBOX=no
6552 DEFAULT_wxUSE_STATLINE=no
6553 DEFAULT_wxUSE_STATUSBAR=no
6554 DEFAULT_wxUSE_TAB_DIALOG=no
6555 DEFAULT_wxUSE_TOGGLEBTN=no
6556 DEFAULT_wxUSE_TOOLBAR=no
6557 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6558 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6559 DEFAULT_wxUSE_TOOLTIPS=no
6560 DEFAULT_wxUSE_TREECTRL=no
6561 DEFAULT_wxUSE_POPUPWIN=no
6562 DEFAULT_wxUSE_TIPWINDOW=no
6563fi
6564
6565## FIXME: This is a blatant hack
6566if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6567 wxUSE_PRINTING_ARCHITECTURE=no
6568 wxUSE_DRAG_AND_DROP=no
6569 # Generic notebook requires tab dialog
6570 DEFAULT_wxUSE_TABDIALOG=yes
6571 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6572 DEFAULT_wxUSE_SCROLLBAR=no
6573 DEFAULT_wxUSE_TOOLTIPS=no
6574 DEFAULT_wxUSE_DRAGIMAGE=no
6575fi
6576
6577
6578 enablestring=
6579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6580echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6581 no_cache=0
6582 # Check whether --enable-accel or --disable-accel was given.
6583if test "${enable_accel+set}" = set; then
6584 enableval="$enable_accel"
6585
6586 if test "$enableval" = yes; then
6587 ac_cv_use_accel='wxUSE_ACCEL=yes'
6588 else
6589 ac_cv_use_accel='wxUSE_ACCEL=no'
6590 fi
6591
6592else
6593
6594 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6595 if test "x$LINE" != x ; then
6596 eval "DEFAULT_$LINE"
6597 else
6598 no_cache=1
6599 fi
6600
6601 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6602
6603fi;
6604
6605 eval "$ac_cv_use_accel"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6608 fi
6609
6610 if test "$wxUSE_ACCEL" = yes; then
6611 echo "$as_me:$LINENO: result: yes" >&5
6612echo "${ECHO_T}yes" >&6
6613 else
6614 echo "$as_me:$LINENO: result: no" >&5
6615echo "${ECHO_T}no" >&6
6616 fi
6617
6618
6619 enablestring=
6620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6621echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6622 no_cache=0
6623 # Check whether --enable-button or --disable-button was given.
6624if test "${enable_button+set}" = set; then
6625 enableval="$enable_button"
6626
6627 if test "$enableval" = yes; then
6628 ac_cv_use_button='wxUSE_BUTTON=yes'
6629 else
6630 ac_cv_use_button='wxUSE_BUTTON=no'
6631 fi
6632
6633else
6634
6635 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6636 if test "x$LINE" != x ; then
6637 eval "DEFAULT_$LINE"
6638 else
6639 no_cache=1
6640 fi
6641
6642 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6643
6644fi;
6645
6646 eval "$ac_cv_use_button"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6649 fi
6650
6651 if test "$wxUSE_BUTTON" = yes; then
6652 echo "$as_me:$LINENO: result: yes" >&5
6653echo "${ECHO_T}yes" >&6
6654 else
6655 echo "$as_me:$LINENO: result: no" >&5
6656echo "${ECHO_T}no" >&6
6657 fi
6658
6659
6660 enablestring=
6661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6662echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6663 no_cache=0
6664 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6665if test "${enable_bmpbutton+set}" = set; then
6666 enableval="$enable_bmpbutton"
6667
6668 if test "$enableval" = yes; then
6669 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6670 else
6671 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6672 fi
6673
6674else
6675
6676 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6677 if test "x$LINE" != x ; then
6678 eval "DEFAULT_$LINE"
6679 else
6680 no_cache=1
6681 fi
6682
6683 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6684
6685fi;
6686
6687 eval "$ac_cv_use_bmpbutton"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6690 fi
6691
6692 if test "$wxUSE_BMPBUTTON" = yes; then
6693 echo "$as_me:$LINENO: result: yes" >&5
6694echo "${ECHO_T}yes" >&6
6695 else
6696 echo "$as_me:$LINENO: result: no" >&5
6697echo "${ECHO_T}no" >&6
6698 fi
6699
6700
6701 enablestring=
6702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6703echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6704 no_cache=0
6705 # Check whether --enable-calendar or --disable-calendar was given.
6706if test "${enable_calendar+set}" = set; then
6707 enableval="$enable_calendar"
6708
6709 if test "$enableval" = yes; then
6710 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6711 else
6712 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6713 fi
6714
6715else
6716
6717 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6718 if test "x$LINE" != x ; then
6719 eval "DEFAULT_$LINE"
6720 else
6721 no_cache=1
6722 fi
6723
6724 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6725
6726fi;
6727
6728 eval "$ac_cv_use_calendar"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6731 fi
6732
6733 if test "$wxUSE_CALCTRL" = yes; then
6734 echo "$as_me:$LINENO: result: yes" >&5
6735echo "${ECHO_T}yes" >&6
6736 else
6737 echo "$as_me:$LINENO: result: no" >&5
6738echo "${ECHO_T}no" >&6
6739 fi
6740
6741
6742 enablestring=
6743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6744echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6745 no_cache=0
6746 # Check whether --enable-caret or --disable-caret was given.
6747if test "${enable_caret+set}" = set; then
6748 enableval="$enable_caret"
6749
6750 if test "$enableval" = yes; then
6751 ac_cv_use_caret='wxUSE_CARET=yes'
6752 else
6753 ac_cv_use_caret='wxUSE_CARET=no'
6754 fi
6755
6756else
6757
6758 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6759 if test "x$LINE" != x ; then
6760 eval "DEFAULT_$LINE"
6761 else
6762 no_cache=1
6763 fi
6764
6765 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6766
6767fi;
6768
6769 eval "$ac_cv_use_caret"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6772 fi
6773
6774 if test "$wxUSE_CARET" = yes; then
6775 echo "$as_me:$LINENO: result: yes" >&5
6776echo "${ECHO_T}yes" >&6
6777 else
6778 echo "$as_me:$LINENO: result: no" >&5
6779echo "${ECHO_T}no" >&6
6780 fi
6781
6782
6783 enablestring=
6784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6785echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6786 no_cache=0
6787 # Check whether --enable-checkbox or --disable-checkbox was given.
6788if test "${enable_checkbox+set}" = set; then
6789 enableval="$enable_checkbox"
6790
6791 if test "$enableval" = yes; then
6792 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6793 else
6794 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6795 fi
6796
6797else
6798
6799 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6800 if test "x$LINE" != x ; then
6801 eval "DEFAULT_$LINE"
6802 else
6803 no_cache=1
6804 fi
6805
6806 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6807
6808fi;
6809
6810 eval "$ac_cv_use_checkbox"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6813 fi
6814
6815 if test "$wxUSE_CHECKBOX" = yes; then
6816 echo "$as_me:$LINENO: result: yes" >&5
6817echo "${ECHO_T}yes" >&6
6818 else
6819 echo "$as_me:$LINENO: result: no" >&5
6820echo "${ECHO_T}no" >&6
6821 fi
6822
6823
6824 enablestring=
6825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6826echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6827 no_cache=0
6828 # Check whether --enable-checklst or --disable-checklst was given.
6829if test "${enable_checklst+set}" = set; then
6830 enableval="$enable_checklst"
6831
6832 if test "$enableval" = yes; then
6833 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6834 else
6835 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6836 fi
6837
6838else
6839
6840 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x ; then
6842 eval "DEFAULT_$LINE"
6843 else
6844 no_cache=1
6845 fi
6846
6847 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6848
6849fi;
6850
6851 eval "$ac_cv_use_checklst"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6854 fi
6855
6856 if test "$wxUSE_CHECKLST" = yes; then
6857 echo "$as_me:$LINENO: result: yes" >&5
6858echo "${ECHO_T}yes" >&6
6859 else
6860 echo "$as_me:$LINENO: result: no" >&5
6861echo "${ECHO_T}no" >&6
6862 fi
6863
6864
6865 enablestring=
6866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6867echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6868 no_cache=0
6869 # Check whether --enable-choice or --disable-choice was given.
6870if test "${enable_choice+set}" = set; then
6871 enableval="$enable_choice"
6872
6873 if test "$enableval" = yes; then
6874 ac_cv_use_choice='wxUSE_CHOICE=yes'
6875 else
6876 ac_cv_use_choice='wxUSE_CHOICE=no'
6877 fi
6878
6879else
6880
6881 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6882 if test "x$LINE" != x ; then
6883 eval "DEFAULT_$LINE"
6884 else
6885 no_cache=1
6886 fi
6887
6888 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6889
6890fi;
6891
6892 eval "$ac_cv_use_choice"
6893 if test "$no_cache" != 1; then
6894 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6895 fi
6896
6897 if test "$wxUSE_CHOICE" = yes; then
6898 echo "$as_me:$LINENO: result: yes" >&5
6899echo "${ECHO_T}yes" >&6
6900 else
6901 echo "$as_me:$LINENO: result: no" >&5
6902echo "${ECHO_T}no" >&6
6903 fi
6904
6905
6906 enablestring=
6907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6908echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6909 no_cache=0
6910 # Check whether --enable-combobox or --disable-combobox was given.
6911if test "${enable_combobox+set}" = set; then
6912 enableval="$enable_combobox"
6913
6914 if test "$enableval" = yes; then
6915 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6916 else
6917 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6918 fi
6919
6920else
6921
6922 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6923 if test "x$LINE" != x ; then
6924 eval "DEFAULT_$LINE"
6925 else
6926 no_cache=1
6927 fi
6928
6929 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6930
6931fi;
6932
6933 eval "$ac_cv_use_combobox"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6936 fi
6937
6938 if test "$wxUSE_COMBOBOX" = yes; then
6939 echo "$as_me:$LINENO: result: yes" >&5
6940echo "${ECHO_T}yes" >&6
6941 else
6942 echo "$as_me:$LINENO: result: no" >&5
6943echo "${ECHO_T}no" >&6
6944 fi
6945
6946
6947 enablestring=
6948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6949echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6950 no_cache=0
6951 # Check whether --enable-display or --disable-display was given.
6952if test "${enable_display+set}" = set; then
6953 enableval="$enable_display"
6954
6955 if test "$enableval" = yes; then
6956 ac_cv_use_display='wxUSE_DISPLAY=yes'
6957 else
6958 ac_cv_use_display='wxUSE_DISPLAY=no'
6959 fi
6960
6961else
6962
6963 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6964 if test "x$LINE" != x ; then
6965 eval "DEFAULT_$LINE"
6966 else
6967 no_cache=1
6968 fi
6969
6970 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6971
6972fi;
6973
6974 eval "$ac_cv_use_display"
6975 if test "$no_cache" != 1; then
6976 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6977 fi
6978
6979 if test "$wxUSE_DISPLAY" = yes; then
6980 echo "$as_me:$LINENO: result: yes" >&5
6981echo "${ECHO_T}yes" >&6
6982 else
6983 echo "$as_me:$LINENO: result: no" >&5
6984echo "${ECHO_T}no" >&6
6985 fi
6986
6987
6988 enablestring=
6989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6990echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6991 no_cache=0
6992 # Check whether --enable-gauge or --disable-gauge was given.
6993if test "${enable_gauge+set}" = set; then
6994 enableval="$enable_gauge"
6995
6996 if test "$enableval" = yes; then
6997 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6998 else
6999 ac_cv_use_gauge='wxUSE_GAUGE=no'
7000 fi
7001
7002else
7003
7004 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7005 if test "x$LINE" != x ; then
7006 eval "DEFAULT_$LINE"
7007 else
7008 no_cache=1
7009 fi
7010
7011 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7012
7013fi;
7014
7015 eval "$ac_cv_use_gauge"
7016 if test "$no_cache" != 1; then
7017 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7018 fi
7019
7020 if test "$wxUSE_GAUGE" = yes; then
7021 echo "$as_me:$LINENO: result: yes" >&5
7022echo "${ECHO_T}yes" >&6
7023 else
7024 echo "$as_me:$LINENO: result: no" >&5
7025echo "${ECHO_T}no" >&6
7026 fi
7027
7028
7029 enablestring=
7030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7031echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7032 no_cache=0
7033 # Check whether --enable-grid or --disable-grid was given.
7034if test "${enable_grid+set}" = set; then
7035 enableval="$enable_grid"
7036
7037 if test "$enableval" = yes; then
7038 ac_cv_use_grid='wxUSE_GRID=yes'
7039 else
7040 ac_cv_use_grid='wxUSE_GRID=no'
7041 fi
7042
7043else
7044
7045 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7046 if test "x$LINE" != x ; then
7047 eval "DEFAULT_$LINE"
7048 else
7049 no_cache=1
7050 fi
7051
7052 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7053
7054fi;
7055
7056 eval "$ac_cv_use_grid"
7057 if test "$no_cache" != 1; then
7058 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7059 fi
7060
7061 if test "$wxUSE_GRID" = yes; then
7062 echo "$as_me:$LINENO: result: yes" >&5
7063echo "${ECHO_T}yes" >&6
7064 else
7065 echo "$as_me:$LINENO: result: no" >&5
7066echo "${ECHO_T}no" >&6
7067 fi
7068
7069
7070 enablestring=
7071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7072echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7073 no_cache=0
7074 # Check whether --enable-imaglist or --disable-imaglist was given.
7075if test "${enable_imaglist+set}" = set; then
7076 enableval="$enable_imaglist"
7077
7078 if test "$enableval" = yes; then
7079 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7080 else
7081 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7082 fi
7083
7084else
7085
7086 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x ; then
7088 eval "DEFAULT_$LINE"
7089 else
7090 no_cache=1
7091 fi
7092
7093 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7094
7095fi;
7096
7097 eval "$ac_cv_use_imaglist"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7100 fi
7101
7102 if test "$wxUSE_IMAGLIST" = yes; then
7103 echo "$as_me:$LINENO: result: yes" >&5
7104echo "${ECHO_T}yes" >&6
7105 else
7106 echo "$as_me:$LINENO: result: no" >&5
7107echo "${ECHO_T}no" >&6
7108 fi
7109
7110
7111 enablestring=
7112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7113echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7114 no_cache=0
7115 # Check whether --enable-listbox or --disable-listbox was given.
7116if test "${enable_listbox+set}" = set; then
7117 enableval="$enable_listbox"
7118
7119 if test "$enableval" = yes; then
7120 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7121 else
7122 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7123 fi
7124
7125else
7126
7127 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7128 if test "x$LINE" != x ; then
7129 eval "DEFAULT_$LINE"
7130 else
7131 no_cache=1
7132 fi
7133
7134 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7135
7136fi;
7137
7138 eval "$ac_cv_use_listbox"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7141 fi
7142
7143 if test "$wxUSE_LISTBOX" = yes; then
7144 echo "$as_me:$LINENO: result: yes" >&5
7145echo "${ECHO_T}yes" >&6
7146 else
7147 echo "$as_me:$LINENO: result: no" >&5
7148echo "${ECHO_T}no" >&6
7149 fi
7150
7151
7152 enablestring=
7153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7154echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7155 no_cache=0
7156 # Check whether --enable-listctrl or --disable-listctrl was given.
7157if test "${enable_listctrl+set}" = set; then
7158 enableval="$enable_listctrl"
7159
7160 if test "$enableval" = yes; then
7161 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7162 else
7163 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7164 fi
7165
7166else
7167
7168 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x ; then
7170 eval "DEFAULT_$LINE"
7171 else
7172 no_cache=1
7173 fi
7174
7175 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7176
7177fi;
7178
7179 eval "$ac_cv_use_listctrl"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7182 fi
7183
7184 if test "$wxUSE_LISTCTRL" = yes; then
7185 echo "$as_me:$LINENO: result: yes" >&5
7186echo "${ECHO_T}yes" >&6
7187 else
7188 echo "$as_me:$LINENO: result: no" >&5
7189echo "${ECHO_T}no" >&6
7190 fi
7191
7192
7193 enablestring=
7194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7195echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7196 no_cache=0
7197 # Check whether --enable-notebook or --disable-notebook was given.
7198if test "${enable_notebook+set}" = set; then
7199 enableval="$enable_notebook"
7200
7201 if test "$enableval" = yes; then
7202 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7203 else
7204 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7205 fi
7206
7207else
7208
7209 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7210 if test "x$LINE" != x ; then
7211 eval "DEFAULT_$LINE"
7212 else
7213 no_cache=1
7214 fi
7215
7216 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7217
7218fi;
7219
7220 eval "$ac_cv_use_notebook"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7223 fi
7224
7225 if test "$wxUSE_NOTEBOOK" = yes; then
7226 echo "$as_me:$LINENO: result: yes" >&5
7227echo "${ECHO_T}yes" >&6
7228 else
7229 echo "$as_me:$LINENO: result: no" >&5
7230echo "${ECHO_T}no" >&6
7231 fi
7232
7233
7234 enablestring=
7235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7236echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7237 no_cache=0
7238 # Check whether --enable-radiobox or --disable-radiobox was given.
7239if test "${enable_radiobox+set}" = set; then
7240 enableval="$enable_radiobox"
7241
7242 if test "$enableval" = yes; then
7243 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7244 else
7245 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7246 fi
7247
7248else
7249
7250 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7251 if test "x$LINE" != x ; then
7252 eval "DEFAULT_$LINE"
7253 else
7254 no_cache=1
7255 fi
7256
7257 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7258
7259fi;
7260
7261 eval "$ac_cv_use_radiobox"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7264 fi
7265
7266 if test "$wxUSE_RADIOBOX" = yes; then
7267 echo "$as_me:$LINENO: result: yes" >&5
7268echo "${ECHO_T}yes" >&6
7269 else
7270 echo "$as_me:$LINENO: result: no" >&5
7271echo "${ECHO_T}no" >&6
7272 fi
7273
7274
7275 enablestring=
7276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7277echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7278 no_cache=0
7279 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7280if test "${enable_radiobtn+set}" = set; then
7281 enableval="$enable_radiobtn"
7282
7283 if test "$enableval" = yes; then
7284 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7285 else
7286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7287 fi
7288
7289else
7290
7291 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x ; then
7293 eval "DEFAULT_$LINE"
7294 else
7295 no_cache=1
7296 fi
7297
7298 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7299
7300fi;
7301
7302 eval "$ac_cv_use_radiobtn"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7305 fi
7306
7307 if test "$wxUSE_RADIOBTN" = yes; then
7308 echo "$as_me:$LINENO: result: yes" >&5
7309echo "${ECHO_T}yes" >&6
7310 else
7311 echo "$as_me:$LINENO: result: no" >&5
7312echo "${ECHO_T}no" >&6
7313 fi
7314
7315
7316 enablestring=
7317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7318echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7319 no_cache=0
7320 # Check whether --enable-sash or --disable-sash was given.
7321if test "${enable_sash+set}" = set; then
7322 enableval="$enable_sash"
7323
7324 if test "$enableval" = yes; then
7325 ac_cv_use_sash='wxUSE_SASH=yes'
7326 else
7327 ac_cv_use_sash='wxUSE_SASH=no'
7328 fi
7329
7330else
7331
7332 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7333 if test "x$LINE" != x ; then
7334 eval "DEFAULT_$LINE"
7335 else
7336 no_cache=1
7337 fi
7338
7339 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7340
7341fi;
7342
7343 eval "$ac_cv_use_sash"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7346 fi
7347
7348 if test "$wxUSE_SASH" = yes; then
7349 echo "$as_me:$LINENO: result: yes" >&5
7350echo "${ECHO_T}yes" >&6
7351 else
7352 echo "$as_me:$LINENO: result: no" >&5
7353echo "${ECHO_T}no" >&6
7354 fi
7355
7356
7357 enablestring=
7358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7359echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7360 no_cache=0
7361 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7362if test "${enable_scrollbar+set}" = set; then
7363 enableval="$enable_scrollbar"
7364
7365 if test "$enableval" = yes; then
7366 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7367 else
7368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7369 fi
7370
7371else
7372
7373 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x ; then
7375 eval "DEFAULT_$LINE"
7376 else
7377 no_cache=1
7378 fi
7379
7380 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7381
7382fi;
7383
7384 eval "$ac_cv_use_scrollbar"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7387 fi
7388
7389 if test "$wxUSE_SCROLLBAR" = yes; then
7390 echo "$as_me:$LINENO: result: yes" >&5
7391echo "${ECHO_T}yes" >&6
7392 else
7393 echo "$as_me:$LINENO: result: no" >&5
7394echo "${ECHO_T}no" >&6
7395 fi
7396
7397
7398 enablestring=
7399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7400echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7401 no_cache=0
7402 # Check whether --enable-slider or --disable-slider was given.
7403if test "${enable_slider+set}" = set; then
7404 enableval="$enable_slider"
7405
7406 if test "$enableval" = yes; then
7407 ac_cv_use_slider='wxUSE_SLIDER=yes'
7408 else
7409 ac_cv_use_slider='wxUSE_SLIDER=no'
7410 fi
7411
7412else
7413
7414 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x ; then
7416 eval "DEFAULT_$LINE"
7417 else
7418 no_cache=1
7419 fi
7420
7421 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7422
7423fi;
7424
7425 eval "$ac_cv_use_slider"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7428 fi
7429
7430 if test "$wxUSE_SLIDER" = yes; then
7431 echo "$as_me:$LINENO: result: yes" >&5
7432echo "${ECHO_T}yes" >&6
7433 else
7434 echo "$as_me:$LINENO: result: no" >&5
7435echo "${ECHO_T}no" >&6
7436 fi
7437
7438
7439 enablestring=
7440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7441echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7442 no_cache=0
7443 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7444if test "${enable_spinbtn+set}" = set; then
7445 enableval="$enable_spinbtn"
7446
7447 if test "$enableval" = yes; then
7448 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7449 else
7450 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7451 fi
7452
7453else
7454
7455 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x ; then
7457 eval "DEFAULT_$LINE"
7458 else
7459 no_cache=1
7460 fi
7461
7462 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7463
7464fi;
7465
7466 eval "$ac_cv_use_spinbtn"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7469 fi
7470
7471 if test "$wxUSE_SPINBTN" = yes; then
7472 echo "$as_me:$LINENO: result: yes" >&5
7473echo "${ECHO_T}yes" >&6
7474 else
7475 echo "$as_me:$LINENO: result: no" >&5
7476echo "${ECHO_T}no" >&6
7477 fi
7478
7479
7480 enablestring=
7481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7482echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7483 no_cache=0
7484 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7485if test "${enable_spinctrl+set}" = set; then
7486 enableval="$enable_spinctrl"
7487
7488 if test "$enableval" = yes; then
7489 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7490 else
7491 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7492 fi
7493
7494else
7495
7496 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x ; then
7498 eval "DEFAULT_$LINE"
7499 else
7500 no_cache=1
7501 fi
7502
7503 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7504
7505fi;
7506
7507 eval "$ac_cv_use_spinctrl"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7510 fi
7511
7512 if test "$wxUSE_SPINCTRL" = yes; then
7513 echo "$as_me:$LINENO: result: yes" >&5
7514echo "${ECHO_T}yes" >&6
7515 else
7516 echo "$as_me:$LINENO: result: no" >&5
7517echo "${ECHO_T}no" >&6
7518 fi
7519
7520
7521 enablestring=
7522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7523echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7524 no_cache=0
7525 # Check whether --enable-splitter or --disable-splitter was given.
7526if test "${enable_splitter+set}" = set; then
7527 enableval="$enable_splitter"
7528
7529 if test "$enableval" = yes; then
7530 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7531 else
7532 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7533 fi
7534
7535else
7536
7537 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7540 else
7541 no_cache=1
7542 fi
7543
7544 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7545
7546fi;
7547
7548 eval "$ac_cv_use_splitter"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7551 fi
7552
7553 if test "$wxUSE_SPLITTER" = yes; then
7554 echo "$as_me:$LINENO: result: yes" >&5
7555echo "${ECHO_T}yes" >&6
7556 else
7557 echo "$as_me:$LINENO: result: no" >&5
7558echo "${ECHO_T}no" >&6
7559 fi
7560
7561
7562 enablestring=
7563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7564echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7565 no_cache=0
7566 # Check whether --enable-statbmp or --disable-statbmp was given.
7567if test "${enable_statbmp+set}" = set; then
7568 enableval="$enable_statbmp"
7569
7570 if test "$enableval" = yes; then
7571 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7572 else
7573 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7574 fi
7575
7576else
7577
7578 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x ; then
7580 eval "DEFAULT_$LINE"
7581 else
7582 no_cache=1
7583 fi
7584
7585 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7586
7587fi;
7588
7589 eval "$ac_cv_use_statbmp"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7592 fi
7593
7594 if test "$wxUSE_STATBMP" = yes; then
7595 echo "$as_me:$LINENO: result: yes" >&5
7596echo "${ECHO_T}yes" >&6
7597 else
7598 echo "$as_me:$LINENO: result: no" >&5
7599echo "${ECHO_T}no" >&6
7600 fi
7601
7602
7603 enablestring=
7604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7605echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7606 no_cache=0
7607 # Check whether --enable-statbox or --disable-statbox was given.
7608if test "${enable_statbox+set}" = set; then
7609 enableval="$enable_statbox"
7610
7611 if test "$enableval" = yes; then
7612 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7613 else
7614 ac_cv_use_statbox='wxUSE_STATBOX=no'
7615 fi
7616
7617else
7618
7619 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x ; then
7621 eval "DEFAULT_$LINE"
7622 else
7623 no_cache=1
7624 fi
7625
7626 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7627
7628fi;
7629
7630 eval "$ac_cv_use_statbox"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7633 fi
7634
7635 if test "$wxUSE_STATBOX" = yes; then
7636 echo "$as_me:$LINENO: result: yes" >&5
7637echo "${ECHO_T}yes" >&6
7638 else
7639 echo "$as_me:$LINENO: result: no" >&5
7640echo "${ECHO_T}no" >&6
7641 fi
7642
7643
7644 enablestring=
7645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7646echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7647 no_cache=0
7648 # Check whether --enable-statline or --disable-statline was given.
7649if test "${enable_statline+set}" = set; then
7650 enableval="$enable_statline"
7651
7652 if test "$enableval" = yes; then
7653 ac_cv_use_statline='wxUSE_STATLINE=yes'
7654 else
7655 ac_cv_use_statline='wxUSE_STATLINE=no'
7656 fi
7657
7658else
7659
7660 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7663 else
7664 no_cache=1
7665 fi
7666
7667 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7668
7669fi;
7670
7671 eval "$ac_cv_use_statline"
7672 if test "$no_cache" != 1; then
7673 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7674 fi
7675
7676 if test "$wxUSE_STATLINE" = yes; then
7677 echo "$as_me:$LINENO: result: yes" >&5
7678echo "${ECHO_T}yes" >&6
7679 else
7680 echo "$as_me:$LINENO: result: no" >&5
7681echo "${ECHO_T}no" >&6
7682 fi
7683
7684
7685 enablestring=
7686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7687echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7688 no_cache=0
7689 # Check whether --enable-stattext or --disable-stattext was given.
7690if test "${enable_stattext+set}" = set; then
7691 enableval="$enable_stattext"
7692
7693 if test "$enableval" = yes; then
7694 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7695 else
7696 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7697 fi
7698
7699else
7700
7701 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7702 if test "x$LINE" != x ; then
7703 eval "DEFAULT_$LINE"
7704 else
7705 no_cache=1
7706 fi
7707
7708 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7709
7710fi;
7711
7712 eval "$ac_cv_use_stattext"
7713 if test "$no_cache" != 1; then
7714 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7715 fi
7716
7717 if test "$wxUSE_STATTEXT" = yes; then
7718 echo "$as_me:$LINENO: result: yes" >&5
7719echo "${ECHO_T}yes" >&6
7720 else
7721 echo "$as_me:$LINENO: result: no" >&5
7722echo "${ECHO_T}no" >&6
7723 fi
7724
7725
7726 enablestring=
7727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7728echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7729 no_cache=0
7730 # Check whether --enable-statusbar or --disable-statusbar was given.
7731if test "${enable_statusbar+set}" = set; then
7732 enableval="$enable_statusbar"
7733
7734 if test "$enableval" = yes; then
7735 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7736 else
7737 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7738 fi
7739
7740else
7741
7742 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7743 if test "x$LINE" != x ; then
7744 eval "DEFAULT_$LINE"
7745 else
7746 no_cache=1
7747 fi
7748
7749 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7750
7751fi;
7752
7753 eval "$ac_cv_use_statusbar"
7754 if test "$no_cache" != 1; then
7755 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7756 fi
7757
7758 if test "$wxUSE_STATUSBAR" = yes; then
7759 echo "$as_me:$LINENO: result: yes" >&5
7760echo "${ECHO_T}yes" >&6
7761 else
7762 echo "$as_me:$LINENO: result: no" >&5
7763echo "${ECHO_T}no" >&6
7764 fi
7765
7766
7767 enablestring=
7768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7769echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7770 no_cache=0
7771 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7772if test "${enable_tabdialog+set}" = set; then
7773 enableval="$enable_tabdialog"
7774
7775 if test "$enableval" = yes; then
7776 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7777 else
7778 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7779 fi
7780
7781else
7782
7783 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7784 if test "x$LINE" != x ; then
7785 eval "DEFAULT_$LINE"
7786 else
7787 no_cache=1
7788 fi
7789
7790 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7791
7792fi;
7793
7794 eval "$ac_cv_use_tabdialog"
7795 if test "$no_cache" != 1; then
7796 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7797 fi
7798
7799 if test "$wxUSE_TABDIALOG" = yes; then
7800 echo "$as_me:$LINENO: result: yes" >&5
7801echo "${ECHO_T}yes" >&6
7802 else
7803 echo "$as_me:$LINENO: result: no" >&5
7804echo "${ECHO_T}no" >&6
7805 fi
7806
7807
7808 enablestring=
7809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7810echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7811 no_cache=0
7812 # Check whether --enable-textctrl or --disable-textctrl was given.
7813if test "${enable_textctrl+set}" = set; then
7814 enableval="$enable_textctrl"
7815
7816 if test "$enableval" = yes; then
7817 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7818 else
7819 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7820 fi
7821
7822else
7823
7824 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7825 if test "x$LINE" != x ; then
7826 eval "DEFAULT_$LINE"
7827 else
7828 no_cache=1
7829 fi
7830
7831 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7832
7833fi;
7834
7835 eval "$ac_cv_use_textctrl"
7836 if test "$no_cache" != 1; then
7837 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7838 fi
7839
7840 if test "$wxUSE_TEXTCTRL" = yes; then
7841 echo "$as_me:$LINENO: result: yes" >&5
7842echo "${ECHO_T}yes" >&6
7843 else
7844 echo "$as_me:$LINENO: result: no" >&5
7845echo "${ECHO_T}no" >&6
7846 fi
7847
7848
7849 enablestring=
7850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7851echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7852 no_cache=0
7853 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7854if test "${enable_togglebtn+set}" = set; then
7855 enableval="$enable_togglebtn"
7856
7857 if test "$enableval" = yes; then
7858 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7859 else
7860 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7861 fi
7862
7863else
7864
7865 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7866 if test "x$LINE" != x ; then
7867 eval "DEFAULT_$LINE"
7868 else
7869 no_cache=1
7870 fi
7871
7872 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7873
7874fi;
7875
7876 eval "$ac_cv_use_togglebtn"
7877 if test "$no_cache" != 1; then
7878 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7879 fi
7880
7881 if test "$wxUSE_TOGGLEBTN" = yes; then
7882 echo "$as_me:$LINENO: result: yes" >&5
7883echo "${ECHO_T}yes" >&6
7884 else
7885 echo "$as_me:$LINENO: result: no" >&5
7886echo "${ECHO_T}no" >&6
7887 fi
7888
7889
7890 enablestring=
7891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7892echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7893 no_cache=0
7894 # Check whether --enable-toolbar or --disable-toolbar was given.
7895if test "${enable_toolbar+set}" = set; then
7896 enableval="$enable_toolbar"
7897
7898 if test "$enableval" = yes; then
7899 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7900 else
7901 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7902 fi
7903
7904else
7905
7906 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x ; then
7908 eval "DEFAULT_$LINE"
7909 else
7910 no_cache=1
7911 fi
7912
7913 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7914
7915fi;
7916
7917 eval "$ac_cv_use_toolbar"
7918 if test "$no_cache" != 1; then
7919 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7920 fi
7921
7922 if test "$wxUSE_TOOLBAR" = yes; then
7923 echo "$as_me:$LINENO: result: yes" >&5
7924echo "${ECHO_T}yes" >&6
7925 else
7926 echo "$as_me:$LINENO: result: no" >&5
7927echo "${ECHO_T}no" >&6
7928 fi
7929
7930
7931 enablestring=
7932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7933echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7934 no_cache=0
7935 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7936if test "${enable_tbarnative+set}" = set; then
7937 enableval="$enable_tbarnative"
7938
7939 if test "$enableval" = yes; then
7940 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7941 else
7942 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7943 fi
7944
7945else
7946
7947 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7948 if test "x$LINE" != x ; then
7949 eval "DEFAULT_$LINE"
7950 else
7951 no_cache=1
7952 fi
7953
7954 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7955
7956fi;
7957
7958 eval "$ac_cv_use_tbarnative"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7961 fi
7962
7963 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7964 echo "$as_me:$LINENO: result: yes" >&5
7965echo "${ECHO_T}yes" >&6
7966 else
7967 echo "$as_me:$LINENO: result: no" >&5
7968echo "${ECHO_T}no" >&6
7969 fi
7970
7971
7972 enablestring=
7973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7974echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7975 no_cache=0
7976 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7977if test "${enable_tbarsmpl+set}" = set; then
7978 enableval="$enable_tbarsmpl"
7979
7980 if test "$enableval" = yes; then
7981 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7982 else
7983 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7984 fi
7985
7986else
7987
7988 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x ; then
7990 eval "DEFAULT_$LINE"
7991 else
7992 no_cache=1
7993 fi
7994
7995 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7996
7997fi;
7998
7999 eval "$ac_cv_use_tbarsmpl"
8000 if test "$no_cache" != 1; then
8001 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8002 fi
8003
8004 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8005 echo "$as_me:$LINENO: result: yes" >&5
8006echo "${ECHO_T}yes" >&6
8007 else
8008 echo "$as_me:$LINENO: result: no" >&5
8009echo "${ECHO_T}no" >&6
8010 fi
8011
8012
8013 enablestring=
8014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8015echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8016 no_cache=0
8017 # Check whether --enable-treectrl or --disable-treectrl was given.
8018if test "${enable_treectrl+set}" = set; then
8019 enableval="$enable_treectrl"
8020
8021 if test "$enableval" = yes; then
8022 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8023 else
8024 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8025 fi
8026
8027else
8028
8029 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8030 if test "x$LINE" != x ; then
8031 eval "DEFAULT_$LINE"
8032 else
8033 no_cache=1
8034 fi
8035
8036 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8037
8038fi;
8039
8040 eval "$ac_cv_use_treectrl"
8041 if test "$no_cache" != 1; then
8042 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8043 fi
8044
8045 if test "$wxUSE_TREECTRL" = yes; then
8046 echo "$as_me:$LINENO: result: yes" >&5
8047echo "${ECHO_T}yes" >&6
8048 else
8049 echo "$as_me:$LINENO: result: no" >&5
8050echo "${ECHO_T}no" >&6
8051 fi
8052
8053
8054 enablestring=
8055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8056echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8057 no_cache=0
8058 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8059if test "${enable_tipwindow+set}" = set; then
8060 enableval="$enable_tipwindow"
8061
8062 if test "$enableval" = yes; then
8063 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8064 else
8065 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8066 fi
8067
8068else
8069
8070 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8071 if test "x$LINE" != x ; then
8072 eval "DEFAULT_$LINE"
8073 else
8074 no_cache=1
8075 fi
8076
8077 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8078
8079fi;
8080
8081 eval "$ac_cv_use_tipwindow"
8082 if test "$no_cache" != 1; then
8083 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8084 fi
8085
8086 if test "$wxUSE_TIPWINDOW" = yes; then
8087 echo "$as_me:$LINENO: result: yes" >&5
8088echo "${ECHO_T}yes" >&6
8089 else
8090 echo "$as_me:$LINENO: result: no" >&5
8091echo "${ECHO_T}no" >&6
8092 fi
8093
8094
8095 enablestring=
8096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8097echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8098 no_cache=0
8099 # Check whether --enable-popupwin or --disable-popupwin was given.
8100if test "${enable_popupwin+set}" = set; then
8101 enableval="$enable_popupwin"
8102
8103 if test "$enableval" = yes; then
8104 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8105 else
8106 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8107 fi
8108
8109else
8110
8111 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8112 if test "x$LINE" != x ; then
8113 eval "DEFAULT_$LINE"
8114 else
8115 no_cache=1
8116 fi
8117
8118 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8119
8120fi;
8121
8122 eval "$ac_cv_use_popupwin"
8123 if test "$no_cache" != 1; then
8124 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8125 fi
8126
8127 if test "$wxUSE_POPUPWIN" = yes; then
8128 echo "$as_me:$LINENO: result: yes" >&5
8129echo "${ECHO_T}yes" >&6
8130 else
8131 echo "$as_me:$LINENO: result: no" >&5
8132echo "${ECHO_T}no" >&6
8133 fi
8134
8135
8136
8137
8138 enablestring=
8139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8140echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8141 no_cache=0
8142 # Check whether --enable-commondlg or --disable-commondlg was given.
8143if test "${enable_commondlg+set}" = set; then
8144 enableval="$enable_commondlg"
8145
8146 if test "$enableval" = yes; then
8147 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8148 else
8149 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8150 fi
8151
8152else
8153
8154 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8155 if test "x$LINE" != x ; then
8156 eval "DEFAULT_$LINE"
8157 else
8158 no_cache=1
8159 fi
8160
8161 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8162
8163fi;
8164
8165 eval "$ac_cv_use_commondlg"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8168 fi
8169
8170 if test "$wxUSE_COMMONDLGS" = yes; then
8171 echo "$as_me:$LINENO: result: yes" >&5
8172echo "${ECHO_T}yes" >&6
8173 else
8174 echo "$as_me:$LINENO: result: no" >&5
8175echo "${ECHO_T}no" >&6
8176 fi
8177
8178
8179 enablestring=
8180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8181echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8182 no_cache=0
8183 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8184if test "${enable_choicedlg+set}" = set; then
8185 enableval="$enable_choicedlg"
8186
8187 if test "$enableval" = yes; then
8188 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8189 else
8190 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8191 fi
8192
8193else
8194
8195 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8196 if test "x$LINE" != x ; then
8197 eval "DEFAULT_$LINE"
8198 else
8199 no_cache=1
8200 fi
8201
8202 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8203
8204fi;
8205
8206 eval "$ac_cv_use_choicedlg"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8209 fi
8210
8211 if test "$wxUSE_CHOICEDLG" = yes; then
8212 echo "$as_me:$LINENO: result: yes" >&5
8213echo "${ECHO_T}yes" >&6
8214 else
8215 echo "$as_me:$LINENO: result: no" >&5
8216echo "${ECHO_T}no" >&6
8217 fi
8218
8219
8220 enablestring=
8221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8222echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8223 no_cache=0
8224 # Check whether --enable-coldlg or --disable-coldlg was given.
8225if test "${enable_coldlg+set}" = set; then
8226 enableval="$enable_coldlg"
8227
8228 if test "$enableval" = yes; then
8229 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8230 else
8231 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8232 fi
8233
8234else
8235
8236 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8237 if test "x$LINE" != x ; then
8238 eval "DEFAULT_$LINE"
8239 else
8240 no_cache=1
8241 fi
8242
8243 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8244
8245fi;
8246
8247 eval "$ac_cv_use_coldlg"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8250 fi
8251
8252 if test "$wxUSE_COLOURDLG" = yes; then
8253 echo "$as_me:$LINENO: result: yes" >&5
8254echo "${ECHO_T}yes" >&6
8255 else
8256 echo "$as_me:$LINENO: result: no" >&5
8257echo "${ECHO_T}no" >&6
8258 fi
8259
8260
8261 enablestring=
8262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8263echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8264 no_cache=0
8265 # Check whether --enable-filedlg or --disable-filedlg was given.
8266if test "${enable_filedlg+set}" = set; then
8267 enableval="$enable_filedlg"
8268
8269 if test "$enableval" = yes; then
8270 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8271 else
8272 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8273 fi
8274
8275else
8276
8277 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x ; then
8279 eval "DEFAULT_$LINE"
8280 else
8281 no_cache=1
8282 fi
8283
8284 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8285
8286fi;
8287
8288 eval "$ac_cv_use_filedlg"
8289 if test "$no_cache" != 1; then
8290 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8291 fi
8292
8293 if test "$wxUSE_FILEDLG" = yes; then
8294 echo "$as_me:$LINENO: result: yes" >&5
8295echo "${ECHO_T}yes" >&6
8296 else
8297 echo "$as_me:$LINENO: result: no" >&5
8298echo "${ECHO_T}no" >&6
8299 fi
8300
8301
8302 enablestring=
8303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8304echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8305 no_cache=0
8306 # Check whether --enable-finddlg or --disable-finddlg was given.
8307if test "${enable_finddlg+set}" = set; then
8308 enableval="$enable_finddlg"
8309
8310 if test "$enableval" = yes; then
8311 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8312 else
8313 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8314 fi
8315
8316else
8317
8318 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8319 if test "x$LINE" != x ; then
8320 eval "DEFAULT_$LINE"
8321 else
8322 no_cache=1
8323 fi
8324
8325 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8326
8327fi;
8328
8329 eval "$ac_cv_use_finddlg"
8330 if test "$no_cache" != 1; then
8331 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8332 fi
8333
8334 if test "$wxUSE_FINDREPLDLG" = yes; then
8335 echo "$as_me:$LINENO: result: yes" >&5
8336echo "${ECHO_T}yes" >&6
8337 else
8338 echo "$as_me:$LINENO: result: no" >&5
8339echo "${ECHO_T}no" >&6
8340 fi
8341
8342
8343 enablestring=
8344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8345echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8346 no_cache=0
8347 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8348if test "${enable_fontdlg+set}" = set; then
8349 enableval="$enable_fontdlg"
8350
8351 if test "$enableval" = yes; then
8352 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8353 else
8354 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8355 fi
8356
8357else
8358
8359 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8360 if test "x$LINE" != x ; then
8361 eval "DEFAULT_$LINE"
8362 else
8363 no_cache=1
8364 fi
8365
8366 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8367
8368fi;
8369
8370 eval "$ac_cv_use_fontdlg"
8371 if test "$no_cache" != 1; then
8372 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8373 fi
8374
8375 if test "$wxUSE_FONTDLG" = yes; then
8376 echo "$as_me:$LINENO: result: yes" >&5
8377echo "${ECHO_T}yes" >&6
8378 else
8379 echo "$as_me:$LINENO: result: no" >&5
8380echo "${ECHO_T}no" >&6
8381 fi
8382
8383
8384 enablestring=
8385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8386echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8387 no_cache=0
8388 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8389if test "${enable_dirdlg+set}" = set; then
8390 enableval="$enable_dirdlg"
8391
8392 if test "$enableval" = yes; then
8393 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8394 else
8395 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8396 fi
8397
8398else
8399
8400 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8401 if test "x$LINE" != x ; then
8402 eval "DEFAULT_$LINE"
8403 else
8404 no_cache=1
8405 fi
8406
8407 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8408
8409fi;
8410
8411 eval "$ac_cv_use_dirdlg"
8412 if test "$no_cache" != 1; then
8413 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8414 fi
8415
8416 if test "$wxUSE_DIRDLG" = yes; then
8417 echo "$as_me:$LINENO: result: yes" >&5
8418echo "${ECHO_T}yes" >&6
8419 else
8420 echo "$as_me:$LINENO: result: no" >&5
8421echo "${ECHO_T}no" >&6
8422 fi
8423
8424
8425 enablestring=
8426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8427echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8428 no_cache=0
8429 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8430if test "${enable_msgdlg+set}" = set; then
8431 enableval="$enable_msgdlg"
8432
8433 if test "$enableval" = yes; then
8434 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8435 else
8436 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8437 fi
8438
8439else
8440
8441 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x ; then
8443 eval "DEFAULT_$LINE"
8444 else
8445 no_cache=1
8446 fi
8447
8448 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8449
8450fi;
8451
8452 eval "$ac_cv_use_msgdlg"
8453 if test "$no_cache" != 1; then
8454 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8455 fi
8456
8457 if test "$wxUSE_MSGDLG" = yes; then
8458 echo "$as_me:$LINENO: result: yes" >&5
8459echo "${ECHO_T}yes" >&6
8460 else
8461 echo "$as_me:$LINENO: result: no" >&5
8462echo "${ECHO_T}no" >&6
8463 fi
8464
8465
8466 enablestring=
8467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8468echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8469 no_cache=0
8470 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8471if test "${enable_numberdlg+set}" = set; then
8472 enableval="$enable_numberdlg"
8473
8474 if test "$enableval" = yes; then
8475 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8476 else
8477 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8478 fi
8479
8480else
8481
8482 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8483 if test "x$LINE" != x ; then
8484 eval "DEFAULT_$LINE"
8485 else
8486 no_cache=1
8487 fi
8488
8489 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8490
8491fi;
8492
8493 eval "$ac_cv_use_numberdlg"
8494 if test "$no_cache" != 1; then
8495 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8496 fi
8497
8498 if test "$wxUSE_NUMBERDLG" = yes; then
8499 echo "$as_me:$LINENO: result: yes" >&5
8500echo "${ECHO_T}yes" >&6
8501 else
8502 echo "$as_me:$LINENO: result: no" >&5
8503echo "${ECHO_T}no" >&6
8504 fi
8505
8506
8507 enablestring=
8508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8509echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8510 no_cache=0
8511 # Check whether --enable-splash or --disable-splash was given.
8512if test "${enable_splash+set}" = set; then
8513 enableval="$enable_splash"
8514
8515 if test "$enableval" = yes; then
8516 ac_cv_use_splash='wxUSE_SPLASH=yes'
8517 else
8518 ac_cv_use_splash='wxUSE_SPLASH=no'
8519 fi
8520
8521else
8522
8523 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8524 if test "x$LINE" != x ; then
8525 eval "DEFAULT_$LINE"
8526 else
8527 no_cache=1
8528 fi
8529
8530 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8531
8532fi;
8533
8534 eval "$ac_cv_use_splash"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8537 fi
8538
8539 if test "$wxUSE_SPLASH" = yes; then
8540 echo "$as_me:$LINENO: result: yes" >&5
8541echo "${ECHO_T}yes" >&6
8542 else
8543 echo "$as_me:$LINENO: result: no" >&5
8544echo "${ECHO_T}no" >&6
8545 fi
8546
8547
8548 enablestring=
8549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8550echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8551 no_cache=0
8552 # Check whether --enable-textdlg or --disable-textdlg was given.
8553if test "${enable_textdlg+set}" = set; then
8554 enableval="$enable_textdlg"
8555
8556 if test "$enableval" = yes; then
8557 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8558 else
8559 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8560 fi
8561
8562else
8563
8564 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8565 if test "x$LINE" != x ; then
8566 eval "DEFAULT_$LINE"
8567 else
8568 no_cache=1
8569 fi
8570
8571 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8572
8573fi;
8574
8575 eval "$ac_cv_use_textdlg"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8578 fi
8579
8580 if test "$wxUSE_TEXTDLG" = yes; then
8581 echo "$as_me:$LINENO: result: yes" >&5
8582echo "${ECHO_T}yes" >&6
8583 else
8584 echo "$as_me:$LINENO: result: no" >&5
8585echo "${ECHO_T}no" >&6
8586 fi
8587
8588
8589 enablestring=
8590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8591echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8592 no_cache=0
8593 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8594if test "${enable_tipdlg+set}" = set; then
8595 enableval="$enable_tipdlg"
8596
8597 if test "$enableval" = yes; then
8598 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8599 else
8600 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8601 fi
8602
8603else
8604
8605 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x ; then
8607 eval "DEFAULT_$LINE"
8608 else
8609 no_cache=1
8610 fi
8611
8612 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8613
8614fi;
8615
8616 eval "$ac_cv_use_tipdlg"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8619 fi
8620
8621 if test "$wxUSE_STARTUP_TIPS" = yes; then
8622 echo "$as_me:$LINENO: result: yes" >&5
8623echo "${ECHO_T}yes" >&6
8624 else
8625 echo "$as_me:$LINENO: result: no" >&5
8626echo "${ECHO_T}no" >&6
8627 fi
8628
8629
8630 enablestring=
8631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8632echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8633 no_cache=0
8634 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8635if test "${enable_progressdlg+set}" = set; then
8636 enableval="$enable_progressdlg"
8637
8638 if test "$enableval" = yes; then
8639 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8640 else
8641 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8642 fi
8643
8644else
8645
8646 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8647 if test "x$LINE" != x ; then
8648 eval "DEFAULT_$LINE"
8649 else
8650 no_cache=1
8651 fi
8652
8653 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8654
8655fi;
8656
8657 eval "$ac_cv_use_progressdlg"
8658 if test "$no_cache" != 1; then
8659 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8660 fi
8661
8662 if test "$wxUSE_PROGRESSDLG" = yes; then
8663 echo "$as_me:$LINENO: result: yes" >&5
8664echo "${ECHO_T}yes" >&6
8665 else
8666 echo "$as_me:$LINENO: result: no" >&5
8667echo "${ECHO_T}no" >&6
8668 fi
8669
8670
8671 enablestring=
8672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8673echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8674 no_cache=0
8675 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8676if test "${enable_wizarddlg+set}" = set; then
8677 enableval="$enable_wizarddlg"
8678
8679 if test "$enableval" = yes; then
8680 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8681 else
8682 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8683 fi
8684
8685else
8686
8687 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8688 if test "x$LINE" != x ; then
8689 eval "DEFAULT_$LINE"
8690 else
8691 no_cache=1
8692 fi
8693
8694 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8695
8696fi;
8697
8698 eval "$ac_cv_use_wizarddlg"
8699 if test "$no_cache" != 1; then
8700 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8701 fi
8702
8703 if test "$wxUSE_WIZARDDLG" = yes; then
8704 echo "$as_me:$LINENO: result: yes" >&5
8705echo "${ECHO_T}yes" >&6
8706 else
8707 echo "$as_me:$LINENO: result: no" >&5
8708echo "${ECHO_T}no" >&6
8709 fi
8710
8711
8712
8713
8714 enablestring=
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8716echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8717 no_cache=0
8718 # Check whether --enable-menus or --disable-menus was given.
8719if test "${enable_menus+set}" = set; then
8720 enableval="$enable_menus"
8721
8722 if test "$enableval" = yes; then
8723 ac_cv_use_menus='wxUSE_MENUS=yes'
8724 else
8725 ac_cv_use_menus='wxUSE_MENUS=no'
8726 fi
8727
8728else
8729
8730 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x ; then
8732 eval "DEFAULT_$LINE"
8733 else
8734 no_cache=1
8735 fi
8736
8737 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8738
8739fi;
8740
8741 eval "$ac_cv_use_menus"
8742 if test "$no_cache" != 1; then
8743 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8744 fi
8745
8746 if test "$wxUSE_MENUS" = yes; then
8747 echo "$as_me:$LINENO: result: yes" >&5
8748echo "${ECHO_T}yes" >&6
8749 else
8750 echo "$as_me:$LINENO: result: no" >&5
8751echo "${ECHO_T}no" >&6
8752 fi
8753
8754
8755 enablestring=
8756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8757echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8758 no_cache=0
8759 # Check whether --enable-miniframe or --disable-miniframe was given.
8760if test "${enable_miniframe+set}" = set; then
8761 enableval="$enable_miniframe"
8762
8763 if test "$enableval" = yes; then
8764 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8765 else
8766 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8767 fi
8768
8769else
8770
8771 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x ; then
8773 eval "DEFAULT_$LINE"
8774 else
8775 no_cache=1
8776 fi
8777
8778 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8779
8780fi;
8781
8782 eval "$ac_cv_use_miniframe"
8783 if test "$no_cache" != 1; then
8784 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8785 fi
8786
8787 if test "$wxUSE_MINIFRAME" = yes; then
8788 echo "$as_me:$LINENO: result: yes" >&5
8789echo "${ECHO_T}yes" >&6
8790 else
8791 echo "$as_me:$LINENO: result: no" >&5
8792echo "${ECHO_T}no" >&6
8793 fi
8794
8795
8796 enablestring=
8797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8798echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8799 no_cache=0
8800 # Check whether --enable-tooltips or --disable-tooltips was given.
8801if test "${enable_tooltips+set}" = set; then
8802 enableval="$enable_tooltips"
8803
8804 if test "$enableval" = yes; then
8805 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8806 else
8807 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8808 fi
8809
8810else
8811
8812 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x ; then
8814 eval "DEFAULT_$LINE"
8815 else
8816 no_cache=1
8817 fi
8818
8819 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8820
8821fi;
8822
8823 eval "$ac_cv_use_tooltips"
8824 if test "$no_cache" != 1; then
8825 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8826 fi
8827
8828 if test "$wxUSE_TOOLTIPS" = yes; then
8829 echo "$as_me:$LINENO: result: yes" >&5
8830echo "${ECHO_T}yes" >&6
8831 else
8832 echo "$as_me:$LINENO: result: no" >&5
8833echo "${ECHO_T}no" >&6
8834 fi
8835
8836
8837 enablestring=
8838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8839echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8840 no_cache=0
8841 # Check whether --enable-splines or --disable-splines was given.
8842if test "${enable_splines+set}" = set; then
8843 enableval="$enable_splines"
8844
8845 if test "$enableval" = yes; then
8846 ac_cv_use_splines='wxUSE_SPLINES=yes'
8847 else
8848 ac_cv_use_splines='wxUSE_SPLINES=no'
8849 fi
8850
8851else
8852
8853 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8854 if test "x$LINE" != x ; then
8855 eval "DEFAULT_$LINE"
8856 else
8857 no_cache=1
8858 fi
8859
8860 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8861
8862fi;
8863
8864 eval "$ac_cv_use_splines"
8865 if test "$no_cache" != 1; then
8866 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8867 fi
8868
8869 if test "$wxUSE_SPLINES" = yes; then
8870 echo "$as_me:$LINENO: result: yes" >&5
8871echo "${ECHO_T}yes" >&6
8872 else
8873 echo "$as_me:$LINENO: result: no" >&5
8874echo "${ECHO_T}no" >&6
8875 fi
8876
8877
8878 enablestring=
8879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8880echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8881 no_cache=0
8882 # Check whether --enable-validators or --disable-validators was given.
8883if test "${enable_validators+set}" = set; then
8884 enableval="$enable_validators"
8885
8886 if test "$enableval" = yes; then
8887 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8888 else
8889 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8890 fi
8891
8892else
8893
8894 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8897 else
8898 no_cache=1
8899 fi
8900
8901 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8902
8903fi;
8904
8905 eval "$ac_cv_use_validators"
8906 if test "$no_cache" != 1; then
8907 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8908 fi
8909
8910 if test "$wxUSE_VALIDATORS" = yes; then
8911 echo "$as_me:$LINENO: result: yes" >&5
8912echo "${ECHO_T}yes" >&6
8913 else
8914 echo "$as_me:$LINENO: result: no" >&5
8915echo "${ECHO_T}no" >&6
8916 fi
8917
8918
8919 enablestring=
8920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8921echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8922 no_cache=0
8923 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8924if test "${enable_busyinfo+set}" = set; then
8925 enableval="$enable_busyinfo"
8926
8927 if test "$enableval" = yes; then
8928 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8929 else
8930 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8931 fi
8932
8933else
8934
8935 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8938 else
8939 no_cache=1
8940 fi
8941
8942 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8943
8944fi;
8945
8946 eval "$ac_cv_use_busyinfo"
8947 if test "$no_cache" != 1; then
8948 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8949 fi
8950
8951 if test "$wxUSE_BUSYINFO" = yes; then
8952 echo "$as_me:$LINENO: result: yes" >&5
8953echo "${ECHO_T}yes" >&6
8954 else
8955 echo "$as_me:$LINENO: result: no" >&5
8956echo "${ECHO_T}no" >&6
8957 fi
8958
8959
8960 enablestring=
8961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8962echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8963 no_cache=0
8964 # Check whether --enable-joystick or --disable-joystick was given.
8965if test "${enable_joystick+set}" = set; then
8966 enableval="$enable_joystick"
8967
8968 if test "$enableval" = yes; then
8969 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8970 else
8971 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8972 fi
8973
8974else
8975
8976 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8979 else
8980 no_cache=1
8981 fi
8982
8983 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8984
8985fi;
8986
8987 eval "$ac_cv_use_joystick"
8988 if test "$no_cache" != 1; then
8989 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8990 fi
8991
8992 if test "$wxUSE_JOYSTICK" = yes; then
8993 echo "$as_me:$LINENO: result: yes" >&5
8994echo "${ECHO_T}yes" >&6
8995 else
8996 echo "$as_me:$LINENO: result: no" >&5
8997echo "${ECHO_T}no" >&6
8998 fi
8999
9000
9001 enablestring=
9002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9003echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9004 no_cache=0
9005 # Check whether --enable-metafile or --disable-metafile was given.
9006if test "${enable_metafile+set}" = set; then
9007 enableval="$enable_metafile"
9008
9009 if test "$enableval" = yes; then
9010 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9011 else
9012 ac_cv_use_metafile='wxUSE_METAFILE=no'
9013 fi
9014
9015else
9016
9017 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x ; then
9019 eval "DEFAULT_$LINE"
9020 else
9021 no_cache=1
9022 fi
9023
9024 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9025
9026fi;
9027
9028 eval "$ac_cv_use_metafile"
9029 if test "$no_cache" != 1; then
9030 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9031 fi
9032
9033 if test "$wxUSE_METAFILE" = yes; then
9034 echo "$as_me:$LINENO: result: yes" >&5
9035echo "${ECHO_T}yes" >&6
9036 else
9037 echo "$as_me:$LINENO: result: no" >&5
9038echo "${ECHO_T}no" >&6
9039 fi
9040
9041
9042 enablestring=
9043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9044echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9045 no_cache=0
9046 # Check whether --enable-dragimage or --disable-dragimage was given.
9047if test "${enable_dragimage+set}" = set; then
9048 enableval="$enable_dragimage"
9049
9050 if test "$enableval" = yes; then
9051 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9052 else
9053 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9054 fi
9055
9056else
9057
9058 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x ; then
9060 eval "DEFAULT_$LINE"
9061 else
9062 no_cache=1
9063 fi
9064
9065 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9066
9067fi;
9068
9069 eval "$ac_cv_use_dragimage"
9070 if test "$no_cache" != 1; then
9071 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9072 fi
9073
9074 if test "$wxUSE_DRAGIMAGE" = yes; then
9075 echo "$as_me:$LINENO: result: yes" >&5
9076echo "${ECHO_T}yes" >&6
9077 else
9078 echo "$as_me:$LINENO: result: no" >&5
9079echo "${ECHO_T}no" >&6
9080 fi
9081
9082
9083 enablestring=
9084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9085echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9086 no_cache=0
9087 # Check whether --enable-accessibility or --disable-accessibility was given.
9088if test "${enable_accessibility+set}" = set; then
9089 enableval="$enable_accessibility"
9090
9091 if test "$enableval" = yes; then
9092 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9093 else
9094 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9095 fi
9096
9097else
9098
9099 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x ; then
9101 eval "DEFAULT_$LINE"
9102 else
9103 no_cache=1
9104 fi
9105
9106 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9107
9108fi;
9109
9110 eval "$ac_cv_use_accessibility"
9111 if test "$no_cache" != 1; then
9112 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9113 fi
9114
9115 if test "$wxUSE_ACCESSIBILITY" = yes; then
9116 echo "$as_me:$LINENO: result: yes" >&5
9117echo "${ECHO_T}yes" >&6
9118 else
9119 echo "$as_me:$LINENO: result: no" >&5
9120echo "${ECHO_T}no" >&6
9121 fi
9122
9123
9124
9125
9126 enablestring=
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9128echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9129 no_cache=0
9130 # Check whether --enable-palette or --disable-palette was given.
9131if test "${enable_palette+set}" = set; then
9132 enableval="$enable_palette"
9133
9134 if test "$enableval" = yes; then
9135 ac_cv_use_palette='wxUSE_PALETTE=yes'
9136 else
9137 ac_cv_use_palette='wxUSE_PALETTE=no'
9138 fi
9139
9140else
9141
9142 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x ; then
9144 eval "DEFAULT_$LINE"
9145 else
9146 no_cache=1
9147 fi
9148
9149 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9150
9151fi;
9152
9153 eval "$ac_cv_use_palette"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9156 fi
9157
9158 if test "$wxUSE_PALETTE" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160echo "${ECHO_T}yes" >&6
9161 else
9162 echo "$as_me:$LINENO: result: no" >&5
9163echo "${ECHO_T}no" >&6
9164 fi
9165
9166
9167 enablestring=
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9169echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9170 no_cache=0
9171 # Check whether --enable-image or --disable-image was given.
9172if test "${enable_image+set}" = set; then
9173 enableval="$enable_image"
9174
9175 if test "$enableval" = yes; then
9176 ac_cv_use_image='wxUSE_IMAGE=yes'
9177 else
9178 ac_cv_use_image='wxUSE_IMAGE=no'
9179 fi
9180
9181else
9182
9183 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x ; then
9185 eval "DEFAULT_$LINE"
9186 else
9187 no_cache=1
9188 fi
9189
9190 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9191
9192fi;
9193
9194 eval "$ac_cv_use_image"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9197 fi
9198
9199 if test "$wxUSE_IMAGE" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201echo "${ECHO_T}yes" >&6
9202 else
9203 echo "$as_me:$LINENO: result: no" >&5
9204echo "${ECHO_T}no" >&6
9205 fi
9206
9207
9208 enablestring=
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9210echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9211 no_cache=0
9212 # Check whether --enable-gif or --disable-gif was given.
9213if test "${enable_gif+set}" = set; then
9214 enableval="$enable_gif"
9215
9216 if test "$enableval" = yes; then
9217 ac_cv_use_gif='wxUSE_GIF=yes'
9218 else
9219 ac_cv_use_gif='wxUSE_GIF=no'
9220 fi
9221
9222else
9223
9224 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9227 else
9228 no_cache=1
9229 fi
9230
9231 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9232
9233fi;
9234
9235 eval "$ac_cv_use_gif"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9238 fi
9239
9240 if test "$wxUSE_GIF" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242echo "${ECHO_T}yes" >&6
9243 else
9244 echo "$as_me:$LINENO: result: no" >&5
9245echo "${ECHO_T}no" >&6
9246 fi
9247
9248
9249 enablestring=
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9251echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9252 no_cache=0
9253 # Check whether --enable-pcx or --disable-pcx was given.
9254if test "${enable_pcx+set}" = set; then
9255 enableval="$enable_pcx"
9256
9257 if test "$enableval" = yes; then
9258 ac_cv_use_pcx='wxUSE_PCX=yes'
9259 else
9260 ac_cv_use_pcx='wxUSE_PCX=no'
9261 fi
9262
9263else
9264
9265 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9268 else
9269 no_cache=1
9270 fi
9271
9272 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9273
9274fi;
9275
9276 eval "$ac_cv_use_pcx"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9279 fi
9280
9281 if test "$wxUSE_PCX" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283echo "${ECHO_T}yes" >&6
9284 else
9285 echo "$as_me:$LINENO: result: no" >&5
9286echo "${ECHO_T}no" >&6
9287 fi
9288
9289
9290 enablestring=
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9292echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9293 no_cache=0
9294 # Check whether --enable-iff or --disable-iff was given.
9295if test "${enable_iff+set}" = set; then
9296 enableval="$enable_iff"
9297
9298 if test "$enableval" = yes; then
9299 ac_cv_use_iff='wxUSE_IFF=yes'
9300 else
9301 ac_cv_use_iff='wxUSE_IFF=no'
9302 fi
9303
9304else
9305
9306 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x ; then
9308 eval "DEFAULT_$LINE"
9309 else
9310 no_cache=1
9311 fi
9312
9313 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9314
9315fi;
9316
9317 eval "$ac_cv_use_iff"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9320 fi
9321
9322 if test "$wxUSE_IFF" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324echo "${ECHO_T}yes" >&6
9325 else
9326 echo "$as_me:$LINENO: result: no" >&5
9327echo "${ECHO_T}no" >&6
9328 fi
9329
9330
9331 enablestring=
9332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9333echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9334 no_cache=0
9335 # Check whether --enable-pnm or --disable-pnm was given.
9336if test "${enable_pnm+set}" = set; then
9337 enableval="$enable_pnm"
9338
9339 if test "$enableval" = yes; then
9340 ac_cv_use_pnm='wxUSE_PNM=yes'
9341 else
9342 ac_cv_use_pnm='wxUSE_PNM=no'
9343 fi
9344
9345else
9346
9347 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x ; then
9349 eval "DEFAULT_$LINE"
9350 else
9351 no_cache=1
9352 fi
9353
9354 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9355
9356fi;
9357
9358 eval "$ac_cv_use_pnm"
9359 if test "$no_cache" != 1; then
9360 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9361 fi
9362
9363 if test "$wxUSE_PNM" = yes; then
9364 echo "$as_me:$LINENO: result: yes" >&5
9365echo "${ECHO_T}yes" >&6
9366 else
9367 echo "$as_me:$LINENO: result: no" >&5
9368echo "${ECHO_T}no" >&6
9369 fi
9370
9371
9372 enablestring=
9373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9374echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9375 no_cache=0
9376 # Check whether --enable-xpm or --disable-xpm was given.
9377if test "${enable_xpm+set}" = set; then
9378 enableval="$enable_xpm"
9379
9380 if test "$enableval" = yes; then
9381 ac_cv_use_xpm='wxUSE_XPM=yes'
9382 else
9383 ac_cv_use_xpm='wxUSE_XPM=no'
9384 fi
9385
9386else
9387
9388 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9391 else
9392 no_cache=1
9393 fi
9394
9395 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9396
9397fi;
9398
9399 eval "$ac_cv_use_xpm"
9400 if test "$no_cache" != 1; then
9401 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9402 fi
9403
9404 if test "$wxUSE_XPM" = yes; then
9405 echo "$as_me:$LINENO: result: yes" >&5
9406echo "${ECHO_T}yes" >&6
9407 else
9408 echo "$as_me:$LINENO: result: no" >&5
9409echo "${ECHO_T}no" >&6
9410 fi
9411
9412
9413 enablestring=
9414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9415echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9416 no_cache=0
9417 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9418if test "${enable_ico_cur+set}" = set; then
9419 enableval="$enable_ico_cur"
9420
9421 if test "$enableval" = yes; then
9422 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9423 else
9424 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9425 fi
9426
9427else
9428
9429 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x ; then
9431 eval "DEFAULT_$LINE"
9432 else
9433 no_cache=1
9434 fi
9435
9436 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9437
9438fi;
9439
9440 eval "$ac_cv_use_ico_cur"
9441 if test "$no_cache" != 1; then
9442 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9443 fi
9444
9445 if test "$wxUSE_ICO_CUR" = yes; then
9446 echo "$as_me:$LINENO: result: yes" >&5
9447echo "${ECHO_T}yes" >&6
9448 else
9449 echo "$as_me:$LINENO: result: no" >&5
9450echo "${ECHO_T}no" >&6
9451 fi
9452
9453
9454fi
9455
9456
9457
9458 enablestring=
9459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9460echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9461 no_cache=0
9462 # Check whether --enable-official_build or --disable-official_build was given.
9463if test "${enable_official_build+set}" = set; then
9464 enableval="$enable_official_build"
9465
9466 if test "$enableval" = yes; then
9467 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9468 else
9469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9470 fi
9471
9472else
9473
9474 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9475 if test "x$LINE" != x ; then
9476 eval "DEFAULT_$LINE"
9477 else
9478 no_cache=1
9479 fi
9480
9481 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9482
9483fi;
9484
9485 eval "$ac_cv_use_official_build"
9486 if test "$no_cache" != 1; then
9487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9488 fi
9489
9490 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9491 echo "$as_me:$LINENO: result: yes" >&5
9492echo "${ECHO_T}yes" >&6
9493 else
9494 echo "$as_me:$LINENO: result: no" >&5
9495echo "${ECHO_T}no" >&6
9496 fi
9497
9498# Check whether --enable-vendor or --disable-vendor was given.
9499if test "${enable_vendor+set}" = set; then
9500 enableval="$enable_vendor"
9501 VENDOR="$enableval"
9502fi;
9503if test "x$VENDOR" = "x"; then
9504 VENDOR="custom"
9505fi
9506
9507case "${host}" in
9508 *-pc-os2_emx | *-pc-os2-emx )
9509 PATH_IFS=';'
9510 LEX_STEM="lexyy"
9511 ;;
9512 *)
9513 PATH_IFS=':'
9514 LEX_STEM="lex.yy"
9515 ;;
9516esac
9517
9518
9519
9520 echo "saving argument cache $wx_arg_cache_file"
9521 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9522
9523
9524
9525echo "$as_me:$LINENO: checking for toolkit" >&5
9526echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9527
9528# In Wine, we need to default to MSW, not GTK or MOTIF
9529if test "$wxUSE_WINE" = "yes"; then
9530 DEFAULT_DEFAULT_wxUSE_GTK=0
9531 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9532 DEFAULT_DEFAULT_wxUSE_MSW=1
9533fi
9534
9535if test "$wxUSE_GUI" = "yes"; then
9536
9537 if test "$USE_BEOS" = 1; then
9538 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9539echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9540 { (exit 1); exit 1; }; }
9541 fi
9542
9543 if test "$TOOLKIT_GIVEN" = 1; then
9544 for toolkit in `echo $ALL_TOOLKITS`; do
9545 var=wxUSE_$toolkit
9546 eval "value=\$${var}"
9547 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9548 done
9549 else
9550 for toolkit in `echo $ALL_TOOLKITS`; do
9551 if test "$has_toolkit_in_cache" != 1; then
9552 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9553 else
9554 var=DEFAULT_wxUSE_$toolkit
9555 fi
9556 eval "wxUSE_$toolkit=\$${var}"
9557 done
9558 fi
9559
9560 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9561 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9562 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9563
9564 case "${host}" in
9565 *-pc-os2_emx | *-pc-os2-emx )
9566 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9567 esac
9568
9569 case "$NUM_TOOLKITS" in
9570 1)
9571 ;;
9572 0)
9573 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9574echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9575 { (exit 1); exit 1; }; }
9576 ;;
9577 *)
9578 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9579echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9580 { (exit 1); exit 1; }; }
9581 esac
9582
9583 for toolkit in `echo $ALL_TOOLKITS`; do
9584 var=wxUSE_$toolkit
9585 eval "value=\$${var}"
9586 if test "x$value" != x; then
9587 cache_var=CACHE_$toolkit
9588 eval "cache=\$${cache_var}"
9589 if test "$cache" = 1; then
9590 echo "$var=$value" >> ${wx_arg_cache_file}
9591 fi
9592 if test "$value" = 1; then
9593 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9594 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9595echo "${ECHO_T}$toolkit_echo" >&6
9596 fi
9597 fi
9598 done
9599else
9600 if test "x$host_alias" != "x"; then
9601 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9602echo "${ECHO_T}base ($host_alias hosted) only" >&6
9603 else
9604 echo "$as_me:$LINENO: result: base only" >&5
9605echo "${ECHO_T}base only" >&6
9606 fi
9607fi
9608
9609wants_win32=0
9610doesnt_want_win32=0
9611case "${host}" in
9612 *-*-cygwin*)
9613 if test "$wxUSE_MSW" = 1 ; then
9614 wants_win32=1
9615 else
9616 doesnt_want_win32=1
9617 fi
9618 ;;
9619 *-*-mingw*)
9620 wants_win32=1
9621 ;;
9622esac
9623
9624if test "$wxUSE_WINE" = "yes"; then
9625 wants_win32=1
9626 CC=winegcc
9627 CXX=wineg++
9628 RESCOMP=wrc
9629fi
9630
9631if test "$wants_win32" = 1 ; then
9632 USE_UNIX=0
9633 USE_WIN32=1
9634 cat >>confdefs.h <<\_ACEOF
9635#define __WIN32__ 1
9636_ACEOF
9637
9638 cat >>confdefs.h <<\_ACEOF
9639#define __WIN95__ 1
9640_ACEOF
9641
9642 cat >>confdefs.h <<\_ACEOF
9643#define __WINDOWS__ 1
9644_ACEOF
9645
9646 cat >>confdefs.h <<\_ACEOF
9647#define __GNUWIN32__ 1
9648_ACEOF
9649
9650 cat >>confdefs.h <<\_ACEOF
9651#define STRICT 1
9652_ACEOF
9653
9654 cat >>confdefs.h <<\_ACEOF
9655#define WINVER 0x0400
9656_ACEOF
9657
9658fi
9659if test "$doesnt_want_win32" = 1 ; then
9660 USE_UNIX=1
9661 USE_WIN32=0
9662fi
9663
9664if test "$USE_UNIX" = 1 ; then
9665 wxUSE_UNIX=yes
9666 cat >>confdefs.h <<\_ACEOF
9667#define __UNIX__ 1
9668_ACEOF
9669
9670fi
9671
9672
9673cat >confcache <<\_ACEOF
9674# This file is a shell script that caches the results of configure
9675# tests run on this system so they can be shared between configure
9676# scripts and configure runs, see configure's option --config-cache.
9677# It is not useful on other systems. If it contains results you don't
9678# want to keep, you may remove or edit it.
9679#
9680# config.status only pays attention to the cache file if you give it
9681# the --recheck option to rerun configure.
9682#
9683# `ac_cv_env_foo' variables (set or unset) will be overridden when
9684# loading this file, other *unset* `ac_cv_foo' will be assigned the
9685# following values.
9686
9687_ACEOF
9688
9689# The following way of writing the cache mishandles newlines in values,
9690# but we know of no workaround that is simple, portable, and efficient.
9691# So, don't put newlines in cache variables' values.
9692# Ultrix sh set writes to stderr and can't be redirected directly,
9693# and sets the high bit in the cache file unless we assign to the vars.
9694{
9695 (set) 2>&1 |
9696 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9697 *ac_space=\ *)
9698 # `set' does not quote correctly, so add quotes (double-quote
9699 # substitution turns \\\\ into \\, and sed turns \\ into \).
9700 sed -n \
9701 "s/'/'\\\\''/g;
9702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9703 ;;
9704 *)
9705 # `set' quotes correctly as required by POSIX, so do not add quotes.
9706 sed -n \
9707 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9708 ;;
9709 esac;
9710} |
9711 sed '
9712 t clear
9713 : clear
9714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9715 t end
9716 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9717 : end' >>confcache
9718if diff $cache_file confcache >/dev/null 2>&1; then :; else
9719 if test -w $cache_file; then
9720 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9721 cat confcache >$cache_file
9722 else
9723 echo "not updating unwritable cache $cache_file"
9724 fi
9725fi
9726rm -f confcache
9727
9728if test "$build" != "$host" ; then
9729 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9730 CC=$host_alias-gcc
9731 CXX=$host_alias-c++
9732 AR=$host_alias-ar
9733 RANLIB=$host_alias-ranlib
9734 DLLTOOL=$host_alias-dlltool
9735 RESCOMP=$host_alias-windres
9736 LD=$host_alias-ld
9737 NM=$host_alias-nm
9738 STRIP=$host_alias-strip
9739 else
9740 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9741echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9742 { (exit 1); exit 1; }; }
9743 fi
9744fi
9745
9746CFLAGS=${CFLAGS:=}
9747ac_ext=c
9748ac_cpp='$CPP $CPPFLAGS'
9749ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9750ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9751ac_compiler_gnu=$ac_cv_c_compiler_gnu
9752if test -n "$ac_tool_prefix"; then
9753 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9754set dummy ${ac_tool_prefix}gcc; ac_word=$2
9755echo "$as_me:$LINENO: checking for $ac_word" >&5
9756echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9757if test "${ac_cv_prog_CC+set}" = set; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9759else
9760 if test -n "$CC"; then
9761 ac_cv_prog_CC="$CC" # Let the user override the test.
9762else
9763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9764for as_dir in $PATH
9765do
9766 IFS=$as_save_IFS
9767 test -z "$as_dir" && as_dir=.
9768 for ac_exec_ext in '' $ac_executable_extensions; do
9769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9770 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9772 break 2
9773 fi
9774done
9775done
9776
9777fi
9778fi
9779CC=$ac_cv_prog_CC
9780if test -n "$CC"; then
9781 echo "$as_me:$LINENO: result: $CC" >&5
9782echo "${ECHO_T}$CC" >&6
9783else
9784 echo "$as_me:$LINENO: result: no" >&5
9785echo "${ECHO_T}no" >&6
9786fi
9787
9788fi
9789if test -z "$ac_cv_prog_CC"; then
9790 ac_ct_CC=$CC
9791 # Extract the first word of "gcc", so it can be a program name with args.
9792set dummy gcc; ac_word=$2
9793echo "$as_me:$LINENO: checking for $ac_word" >&5
9794echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9795if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9796 echo $ECHO_N "(cached) $ECHO_C" >&6
9797else
9798 if test -n "$ac_ct_CC"; then
9799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9800else
9801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9802for as_dir in $PATH
9803do
9804 IFS=$as_save_IFS
9805 test -z "$as_dir" && as_dir=.
9806 for ac_exec_ext in '' $ac_executable_extensions; do
9807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9808 ac_cv_prog_ac_ct_CC="gcc"
9809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9810 break 2
9811 fi
9812done
9813done
9814
9815fi
9816fi
9817ac_ct_CC=$ac_cv_prog_ac_ct_CC
9818if test -n "$ac_ct_CC"; then
9819 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9820echo "${ECHO_T}$ac_ct_CC" >&6
9821else
9822 echo "$as_me:$LINENO: result: no" >&5
9823echo "${ECHO_T}no" >&6
9824fi
9825
9826 CC=$ac_ct_CC
9827else
9828 CC="$ac_cv_prog_CC"
9829fi
9830
9831if test -z "$CC"; then
9832 if test -n "$ac_tool_prefix"; then
9833 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9834set dummy ${ac_tool_prefix}cc; ac_word=$2
9835echo "$as_me:$LINENO: checking for $ac_word" >&5
9836echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9837if test "${ac_cv_prog_CC+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9839else
9840 if test -n "$CC"; then
9841 ac_cv_prog_CC="$CC" # Let the user override the test.
9842else
9843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9844for as_dir in $PATH
9845do
9846 IFS=$as_save_IFS
9847 test -z "$as_dir" && as_dir=.
9848 for ac_exec_ext in '' $ac_executable_extensions; do
9849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9850 ac_cv_prog_CC="${ac_tool_prefix}cc"
9851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9852 break 2
9853 fi
9854done
9855done
9856
9857fi
9858fi
9859CC=$ac_cv_prog_CC
9860if test -n "$CC"; then
9861 echo "$as_me:$LINENO: result: $CC" >&5
9862echo "${ECHO_T}$CC" >&6
9863else
9864 echo "$as_me:$LINENO: result: no" >&5
9865echo "${ECHO_T}no" >&6
9866fi
9867
9868fi
9869if test -z "$ac_cv_prog_CC"; then
9870 ac_ct_CC=$CC
9871 # Extract the first word of "cc", so it can be a program name with args.
9872set dummy cc; ac_word=$2
9873echo "$as_me:$LINENO: checking for $ac_word" >&5
9874echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9875if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9877else
9878 if test -n "$ac_ct_CC"; then
9879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9880else
9881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9882for as_dir in $PATH
9883do
9884 IFS=$as_save_IFS
9885 test -z "$as_dir" && as_dir=.
9886 for ac_exec_ext in '' $ac_executable_extensions; do
9887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9888 ac_cv_prog_ac_ct_CC="cc"
9889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9890 break 2
9891 fi
9892done
9893done
9894
9895fi
9896fi
9897ac_ct_CC=$ac_cv_prog_ac_ct_CC
9898if test -n "$ac_ct_CC"; then
9899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9900echo "${ECHO_T}$ac_ct_CC" >&6
9901else
9902 echo "$as_me:$LINENO: result: no" >&5
9903echo "${ECHO_T}no" >&6
9904fi
9905
9906 CC=$ac_ct_CC
9907else
9908 CC="$ac_cv_prog_CC"
9909fi
9910
9911fi
9912if test -z "$CC"; then
9913 # Extract the first word of "cc", so it can be a program name with args.
9914set dummy cc; ac_word=$2
9915echo "$as_me:$LINENO: checking for $ac_word" >&5
9916echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9917if test "${ac_cv_prog_CC+set}" = set; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9919else
9920 if test -n "$CC"; then
9921 ac_cv_prog_CC="$CC" # Let the user override the test.
9922else
9923 ac_prog_rejected=no
9924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9925for as_dir in $PATH
9926do
9927 IFS=$as_save_IFS
9928 test -z "$as_dir" && as_dir=.
9929 for ac_exec_ext in '' $ac_executable_extensions; do
9930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9932 ac_prog_rejected=yes
9933 continue
9934 fi
9935 ac_cv_prog_CC="cc"
9936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9937 break 2
9938 fi
9939done
9940done
9941
9942if test $ac_prog_rejected = yes; then
9943 # We found a bogon in the path, so make sure we never use it.
9944 set dummy $ac_cv_prog_CC
9945 shift
9946 if test $# != 0; then
9947 # We chose a different compiler from the bogus one.
9948 # However, it has the same basename, so the bogon will be chosen
9949 # first if we set CC to just the basename; use the full file name.
9950 shift
9951 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9952 fi
9953fi
9954fi
9955fi
9956CC=$ac_cv_prog_CC
9957if test -n "$CC"; then
9958 echo "$as_me:$LINENO: result: $CC" >&5
9959echo "${ECHO_T}$CC" >&6
9960else
9961 echo "$as_me:$LINENO: result: no" >&5
9962echo "${ECHO_T}no" >&6
9963fi
9964
9965fi
9966if test -z "$CC"; then
9967 if test -n "$ac_tool_prefix"; then
9968 for ac_prog in cl
9969 do
9970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9971set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9972echo "$as_me:$LINENO: checking for $ac_word" >&5
9973echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9974if test "${ac_cv_prog_CC+set}" = set; then
9975 echo $ECHO_N "(cached) $ECHO_C" >&6
9976else
9977 if test -n "$CC"; then
9978 ac_cv_prog_CC="$CC" # Let the user override the test.
9979else
9980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9981for as_dir in $PATH
9982do
9983 IFS=$as_save_IFS
9984 test -z "$as_dir" && as_dir=.
9985 for ac_exec_ext in '' $ac_executable_extensions; do
9986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9987 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9989 break 2
9990 fi
9991done
9992done
9993
9994fi
9995fi
9996CC=$ac_cv_prog_CC
9997if test -n "$CC"; then
9998 echo "$as_me:$LINENO: result: $CC" >&5
9999echo "${ECHO_T}$CC" >&6
10000else
10001 echo "$as_me:$LINENO: result: no" >&5
10002echo "${ECHO_T}no" >&6
10003fi
10004
10005 test -n "$CC" && break
10006 done
10007fi
10008if test -z "$CC"; then
10009 ac_ct_CC=$CC
10010 for ac_prog in cl
10011do
10012 # Extract the first word of "$ac_prog", so it can be a program name with args.
10013set dummy $ac_prog; ac_word=$2
10014echo "$as_me:$LINENO: checking for $ac_word" >&5
10015echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10016if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6
10018else
10019 if test -n "$ac_ct_CC"; then
10020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10021else
10022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10023for as_dir in $PATH
10024do
10025 IFS=$as_save_IFS
10026 test -z "$as_dir" && as_dir=.
10027 for ac_exec_ext in '' $ac_executable_extensions; do
10028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10029 ac_cv_prog_ac_ct_CC="$ac_prog"
10030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10031 break 2
10032 fi
10033done
10034done
10035
10036fi
10037fi
10038ac_ct_CC=$ac_cv_prog_ac_ct_CC
10039if test -n "$ac_ct_CC"; then
10040 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10041echo "${ECHO_T}$ac_ct_CC" >&6
10042else
10043 echo "$as_me:$LINENO: result: no" >&5
10044echo "${ECHO_T}no" >&6
10045fi
10046
10047 test -n "$ac_ct_CC" && break
10048done
10049
10050 CC=$ac_ct_CC
10051fi
10052
10053fi
10054
10055
10056test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10057See \`config.log' for more details." >&5
10058echo "$as_me: error: no acceptable C compiler found in \$PATH
10059See \`config.log' for more details." >&2;}
10060 { (exit 1); exit 1; }; }
10061
10062# Provide some information about the compiler.
10063echo "$as_me:$LINENO:" \
10064 "checking for C compiler version" >&5
10065ac_compiler=`set X $ac_compile; echo $2`
10066{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10067 (eval $ac_compiler --version </dev/null >&5) 2>&5
10068 ac_status=$?
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }
10071{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10072 (eval $ac_compiler -v </dev/null >&5) 2>&5
10073 ac_status=$?
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }
10076{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10077 (eval $ac_compiler -V </dev/null >&5) 2>&5
10078 ac_status=$?
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); }
10081
10082cat >conftest.$ac_ext <<_ACEOF
10083#line $LINENO "configure"
10084/* confdefs.h. */
10085_ACEOF
10086cat confdefs.h >>conftest.$ac_ext
10087cat >>conftest.$ac_ext <<_ACEOF
10088/* end confdefs.h. */
10089
10090int
10091main ()
10092{
10093
10094 ;
10095 return 0;
10096}
10097_ACEOF
10098ac_clean_files_save=$ac_clean_files
10099ac_clean_files="$ac_clean_files a.out a.exe b.out"
10100# Try to create an executable without -o first, disregard a.out.
10101# It will help us diagnose broken compilers, and finding out an intuition
10102# of exeext.
10103echo "$as_me:$LINENO: checking for C compiler default output" >&5
10104echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10105ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10106if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10107 (eval $ac_link_default) 2>&5
10108 ac_status=$?
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; then
10111 # Find the output, starting from the most likely. This scheme is
10112# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10113# resort.
10114
10115# Be careful to initialize this variable, since it used to be cached.
10116# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10117ac_cv_exeext=
10118# b.out is created by i960 compilers.
10119for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10120do
10121 test -f "$ac_file" || continue
10122 case $ac_file in
10123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10124 ;;
10125 conftest.$ac_ext )
10126 # This is the source file.
10127 ;;
10128 [ab].out )
10129 # We found the default executable, but exeext='' is most
10130 # certainly right.
10131 break;;
10132 *.* )
10133 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10134 # FIXME: I believe we export ac_cv_exeext for Libtool,
10135 # but it would be cool to find out if it's true. Does anybody
10136 # maintain Libtool? --akim.
10137 export ac_cv_exeext
10138 break;;
10139 * )
10140 break;;
10141 esac
10142done
10143else
10144 echo "$as_me: failed program was:" >&5
10145sed 's/^/| /' conftest.$ac_ext >&5
10146
10147{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10148See \`config.log' for more details." >&5
10149echo "$as_me: error: C compiler cannot create executables
10150See \`config.log' for more details." >&2;}
10151 { (exit 77); exit 77; }; }
10152fi
10153
10154ac_exeext=$ac_cv_exeext
10155echo "$as_me:$LINENO: result: $ac_file" >&5
10156echo "${ECHO_T}$ac_file" >&6
10157
10158# Check the compiler produces executables we can run. If not, either
10159# the compiler is broken, or we cross compile.
10160echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10161echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10162# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10163# If not cross compiling, check that we can run a simple program.
10164if test "$cross_compiling" != yes; then
10165 if { ac_try='./$ac_file'
10166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10167 (eval $ac_try) 2>&5
10168 ac_status=$?
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); }; }; then
10171 cross_compiling=no
10172 else
10173 if test "$cross_compiling" = maybe; then
10174 cross_compiling=yes
10175 else
10176 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10177If you meant to cross compile, use \`--host'.
10178See \`config.log' for more details." >&5
10179echo "$as_me: error: cannot run C compiled programs.
10180If you meant to cross compile, use \`--host'.
10181See \`config.log' for more details." >&2;}
10182 { (exit 1); exit 1; }; }
10183 fi
10184 fi
10185fi
10186echo "$as_me:$LINENO: result: yes" >&5
10187echo "${ECHO_T}yes" >&6
10188
10189rm -f a.out a.exe conftest$ac_cv_exeext b.out
10190ac_clean_files=$ac_clean_files_save
10191# Check the compiler produces executables we can run. If not, either
10192# the compiler is broken, or we cross compile.
10193echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10194echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10195echo "$as_me:$LINENO: result: $cross_compiling" >&5
10196echo "${ECHO_T}$cross_compiling" >&6
10197
10198echo "$as_me:$LINENO: checking for suffix of executables" >&5
10199echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10200if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10201 (eval $ac_link) 2>&5
10202 ac_status=$?
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; then
10205 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10206# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10207# work properly (i.e., refer to `conftest.exe'), while it won't with
10208# `rm'.
10209for ac_file in conftest.exe conftest conftest.*; do
10210 test -f "$ac_file" || continue
10211 case $ac_file in
10212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10213 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10214 export ac_cv_exeext
10215 break;;
10216 * ) break;;
10217 esac
10218done
10219else
10220 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10221See \`config.log' for more details." >&5
10222echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10223See \`config.log' for more details." >&2;}
10224 { (exit 1); exit 1; }; }
10225fi
10226
10227rm -f conftest$ac_cv_exeext
10228echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10229echo "${ECHO_T}$ac_cv_exeext" >&6
10230
10231rm -f conftest.$ac_ext
10232EXEEXT=$ac_cv_exeext
10233ac_exeext=$EXEEXT
10234echo "$as_me:$LINENO: checking for suffix of object files" >&5
10235echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10236if test "${ac_cv_objext+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10238else
10239 cat >conftest.$ac_ext <<_ACEOF
10240#line $LINENO "configure"
10241/* confdefs.h. */
10242_ACEOF
10243cat confdefs.h >>conftest.$ac_ext
10244cat >>conftest.$ac_ext <<_ACEOF
10245/* end confdefs.h. */
10246
10247int
10248main ()
10249{
10250
10251 ;
10252 return 0;
10253}
10254_ACEOF
10255rm -f conftest.o conftest.obj
10256if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10257 (eval $ac_compile) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; then
10261 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10262 case $ac_file in
10263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10264 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10265 break;;
10266 esac
10267done
10268else
10269 echo "$as_me: failed program was:" >&5
10270sed 's/^/| /' conftest.$ac_ext >&5
10271
10272{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10273See \`config.log' for more details." >&5
10274echo "$as_me: error: cannot compute suffix of object files: cannot compile
10275See \`config.log' for more details." >&2;}
10276 { (exit 1); exit 1; }; }
10277fi
10278
10279rm -f conftest.$ac_cv_objext conftest.$ac_ext
10280fi
10281echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10282echo "${ECHO_T}$ac_cv_objext" >&6
10283OBJEXT=$ac_cv_objext
10284ac_objext=$OBJEXT
10285echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10286echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10287if test "${ac_cv_c_compiler_gnu+set}" = set; then
10288 echo $ECHO_N "(cached) $ECHO_C" >&6
10289else
10290 cat >conftest.$ac_ext <<_ACEOF
10291#line $LINENO "configure"
10292/* confdefs.h. */
10293_ACEOF
10294cat confdefs.h >>conftest.$ac_ext
10295cat >>conftest.$ac_ext <<_ACEOF
10296/* end confdefs.h. */
10297
10298int
10299main ()
10300{
10301#ifndef __GNUC__
10302 choke me
10303#endif
10304
10305 ;
10306 return 0;
10307}
10308_ACEOF
10309rm -f conftest.$ac_objext
10310if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10311 (eval $ac_compile) 2>&5
10312 ac_status=$?
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } &&
10315 { ac_try='test -s conftest.$ac_objext'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10318 ac_status=$?
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 ac_compiler_gnu=yes
10322else
10323 echo "$as_me: failed program was:" >&5
10324sed 's/^/| /' conftest.$ac_ext >&5
10325
10326ac_compiler_gnu=no
10327fi
10328rm -f conftest.$ac_objext conftest.$ac_ext
10329ac_cv_c_compiler_gnu=$ac_compiler_gnu
10330
10331fi
10332echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10333echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10334GCC=`test $ac_compiler_gnu = yes && echo yes`
10335ac_test_CFLAGS=${CFLAGS+set}
10336ac_save_CFLAGS=$CFLAGS
10337CFLAGS="-g"
10338echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10339echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10340if test "${ac_cv_prog_cc_g+set}" = set; then
10341 echo $ECHO_N "(cached) $ECHO_C" >&6
10342else
10343 cat >conftest.$ac_ext <<_ACEOF
10344#line $LINENO "configure"
10345/* confdefs.h. */
10346_ACEOF
10347cat confdefs.h >>conftest.$ac_ext
10348cat >>conftest.$ac_ext <<_ACEOF
10349/* end confdefs.h. */
10350
10351int
10352main ()
10353{
10354
10355 ;
10356 return 0;
10357}
10358_ACEOF
10359rm -f conftest.$ac_objext
10360if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10361 (eval $ac_compile) 2>&5
10362 ac_status=$?
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } &&
10365 { ac_try='test -s conftest.$ac_objext'
10366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367 (eval $ac_try) 2>&5
10368 ac_status=$?
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; }; then
10371 ac_cv_prog_cc_g=yes
10372else
10373 echo "$as_me: failed program was:" >&5
10374sed 's/^/| /' conftest.$ac_ext >&5
10375
10376ac_cv_prog_cc_g=no
10377fi
10378rm -f conftest.$ac_objext conftest.$ac_ext
10379fi
10380echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10381echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10382if test "$ac_test_CFLAGS" = set; then
10383 CFLAGS=$ac_save_CFLAGS
10384elif test $ac_cv_prog_cc_g = yes; then
10385 if test "$GCC" = yes; then
10386 CFLAGS="-g -O2"
10387 else
10388 CFLAGS="-g"
10389 fi
10390else
10391 if test "$GCC" = yes; then
10392 CFLAGS="-O2"
10393 else
10394 CFLAGS=
10395 fi
10396fi
10397echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10398echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10399if test "${ac_cv_prog_cc_stdc+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10401else
10402 ac_cv_prog_cc_stdc=no
10403ac_save_CC=$CC
10404cat >conftest.$ac_ext <<_ACEOF
10405#line $LINENO "configure"
10406/* confdefs.h. */
10407_ACEOF
10408cat confdefs.h >>conftest.$ac_ext
10409cat >>conftest.$ac_ext <<_ACEOF
10410/* end confdefs.h. */
10411#include <stdarg.h>
10412#include <stdio.h>
10413#include <sys/types.h>
10414#include <sys/stat.h>
10415/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10416struct buf { int x; };
10417FILE * (*rcsopen) (struct buf *, struct stat *, int);
10418static char *e (p, i)
10419 char **p;
10420 int i;
10421{
10422 return p[i];
10423}
10424static char *f (char * (*g) (char **, int), char **p, ...)
10425{
10426 char *s;
10427 va_list v;
10428 va_start (v,p);
10429 s = g (p, va_arg (v,int));
10430 va_end (v);
10431 return s;
10432}
10433int test (int i, double x);
10434struct s1 {int (*f) (int a);};
10435struct s2 {int (*f) (double a);};
10436int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10437int argc;
10438char **argv;
10439int
10440main ()
10441{
10442return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10443 ;
10444 return 0;
10445}
10446_ACEOF
10447# Don't try gcc -ansi; that turns off useful extensions and
10448# breaks some systems' header files.
10449# AIX -qlanglvl=ansi
10450# Ultrix and OSF/1 -std1
10451# HP-UX 10.20 and later -Ae
10452# HP-UX older versions -Aa -D_HPUX_SOURCE
10453# SVR4 -Xc -D__EXTENSIONS__
10454for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10455do
10456 CC="$ac_save_CC $ac_arg"
10457 rm -f conftest.$ac_objext
10458if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10459 (eval $ac_compile) 2>&5
10460 ac_status=$?
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try='test -s conftest.$ac_objext'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10466 ac_status=$?
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; }; then
10469 ac_cv_prog_cc_stdc=$ac_arg
10470break
10471else
10472 echo "$as_me: failed program was:" >&5
10473sed 's/^/| /' conftest.$ac_ext >&5
10474
10475fi
10476rm -f conftest.$ac_objext
10477done
10478rm -f conftest.$ac_ext conftest.$ac_objext
10479CC=$ac_save_CC
10480
10481fi
10482
10483case "x$ac_cv_prog_cc_stdc" in
10484 x|xno)
10485 echo "$as_me:$LINENO: result: none needed" >&5
10486echo "${ECHO_T}none needed" >&6 ;;
10487 *)
10488 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10489echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10490 CC="$CC $ac_cv_prog_cc_stdc" ;;
10491esac
10492
10493# Some people use a C++ compiler to compile C. Since we use `exit',
10494# in C++ we need to declare it. In case someone uses the same compiler
10495# for both compiling C and C++ we need to have the C++ compiler decide
10496# the declaration of exit, since it's the most demanding environment.
10497cat >conftest.$ac_ext <<_ACEOF
10498#ifndef __cplusplus
10499 choke me
10500#endif
10501_ACEOF
10502rm -f conftest.$ac_objext
10503if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10504 (eval $ac_compile) 2>&5
10505 ac_status=$?
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); } &&
10508 { ac_try='test -s conftest.$ac_objext'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10511 ac_status=$?
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; }; then
10514 for ac_declaration in \
10515 ''\
10516 '#include <stdlib.h>' \
10517 'extern "C" void std::exit (int) throw (); using std::exit;' \
10518 'extern "C" void std::exit (int); using std::exit;' \
10519 'extern "C" void exit (int) throw ();' \
10520 'extern "C" void exit (int);' \
10521 'void exit (int);'
10522do
10523 cat >conftest.$ac_ext <<_ACEOF
10524#line $LINENO "configure"
10525/* confdefs.h. */
10526_ACEOF
10527cat confdefs.h >>conftest.$ac_ext
10528cat >>conftest.$ac_ext <<_ACEOF
10529/* end confdefs.h. */
10530#include <stdlib.h>
10531$ac_declaration
10532int
10533main ()
10534{
10535exit (42);
10536 ;
10537 return 0;
10538}
10539_ACEOF
10540rm -f conftest.$ac_objext
10541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10542 (eval $ac_compile) 2>&5
10543 ac_status=$?
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } &&
10546 { ac_try='test -s conftest.$ac_objext'
10547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10548 (eval $ac_try) 2>&5
10549 ac_status=$?
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); }; }; then
10552 :
10553else
10554 echo "$as_me: failed program was:" >&5
10555sed 's/^/| /' conftest.$ac_ext >&5
10556
10557continue
10558fi
10559rm -f conftest.$ac_objext conftest.$ac_ext
10560 cat >conftest.$ac_ext <<_ACEOF
10561#line $LINENO "configure"
10562/* confdefs.h. */
10563_ACEOF
10564cat confdefs.h >>conftest.$ac_ext
10565cat >>conftest.$ac_ext <<_ACEOF
10566/* end confdefs.h. */
10567$ac_declaration
10568int
10569main ()
10570{
10571exit (42);
10572 ;
10573 return 0;
10574}
10575_ACEOF
10576rm -f conftest.$ac_objext
10577if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10578 (eval $ac_compile) 2>&5
10579 ac_status=$?
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); } &&
10582 { ac_try='test -s conftest.$ac_objext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10585 ac_status=$?
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 break
10589else
10590 echo "$as_me: failed program was:" >&5
10591sed 's/^/| /' conftest.$ac_ext >&5
10592
10593fi
10594rm -f conftest.$ac_objext conftest.$ac_ext
10595done
10596rm -f conftest*
10597if test -n "$ac_declaration"; then
10598 echo '#ifdef __cplusplus' >>confdefs.h
10599 echo $ac_declaration >>confdefs.h
10600 echo '#endif' >>confdefs.h
10601fi
10602
10603else
10604 echo "$as_me: failed program was:" >&5
10605sed 's/^/| /' conftest.$ac_ext >&5
10606
10607fi
10608rm -f conftest.$ac_objext conftest.$ac_ext
10609ac_ext=c
10610ac_cpp='$CPP $CPPFLAGS'
10611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10613ac_compiler_gnu=$ac_cv_c_compiler_gnu
10614
10615
10616
10617ac_ext=c
10618ac_cpp='$CPP $CPPFLAGS'
10619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10621ac_compiler_gnu=$ac_cv_c_compiler_gnu
10622echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10623echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10624# On Suns, sometimes $CPP names a directory.
10625if test -n "$CPP" && test -d "$CPP"; then
10626 CPP=
10627fi
10628if test -z "$CPP"; then
10629 if test "${ac_cv_prog_CPP+set}" = set; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10631else
10632 # Double quotes because CPP needs to be expanded
10633 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10634 do
10635 ac_preproc_ok=false
10636for ac_c_preproc_warn_flag in '' yes
10637do
10638 # Use a header file that comes with gcc, so configuring glibc
10639 # with a fresh cross-compiler works.
10640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10641 # <limits.h> exists even on freestanding compilers.
10642 # On the NeXT, cc -E runs the code through the compiler's parser,
10643 # not just through cpp. "Syntax error" is here to catch this case.
10644 cat >conftest.$ac_ext <<_ACEOF
10645#line $LINENO "configure"
10646/* confdefs.h. */
10647_ACEOF
10648cat confdefs.h >>conftest.$ac_ext
10649cat >>conftest.$ac_ext <<_ACEOF
10650/* end confdefs.h. */
10651#ifdef __STDC__
10652# include <limits.h>
10653#else
10654# include <assert.h>
10655#endif
10656 Syntax error
10657_ACEOF
10658if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10660 ac_status=$?
10661 grep -v '^ *+' conftest.er1 >conftest.err
10662 rm -f conftest.er1
10663 cat conftest.err >&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); } >/dev/null; then
10666 if test -s conftest.err; then
10667 ac_cpp_err=$ac_c_preproc_warn_flag
10668 else
10669 ac_cpp_err=
10670 fi
10671else
10672 ac_cpp_err=yes
10673fi
10674if test -z "$ac_cpp_err"; then
10675 :
10676else
10677 echo "$as_me: failed program was:" >&5
10678sed 's/^/| /' conftest.$ac_ext >&5
10679
10680 # Broken: fails on valid input.
10681continue
10682fi
10683rm -f conftest.err conftest.$ac_ext
10684
10685 # OK, works on sane cases. Now check whether non-existent headers
10686 # can be detected and how.
10687 cat >conftest.$ac_ext <<_ACEOF
10688#line $LINENO "configure"
10689/* confdefs.h. */
10690_ACEOF
10691cat confdefs.h >>conftest.$ac_ext
10692cat >>conftest.$ac_ext <<_ACEOF
10693/* end confdefs.h. */
10694#include <ac_nonexistent.h>
10695_ACEOF
10696if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10698 ac_status=$?
10699 grep -v '^ *+' conftest.er1 >conftest.err
10700 rm -f conftest.er1
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } >/dev/null; then
10704 if test -s conftest.err; then
10705 ac_cpp_err=$ac_c_preproc_warn_flag
10706 else
10707 ac_cpp_err=
10708 fi
10709else
10710 ac_cpp_err=yes
10711fi
10712if test -z "$ac_cpp_err"; then
10713 # Broken: success on invalid input.
10714continue
10715else
10716 echo "$as_me: failed program was:" >&5
10717sed 's/^/| /' conftest.$ac_ext >&5
10718
10719 # Passes both tests.
10720ac_preproc_ok=:
10721break
10722fi
10723rm -f conftest.err conftest.$ac_ext
10724
10725done
10726# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10727rm -f conftest.err conftest.$ac_ext
10728if $ac_preproc_ok; then
10729 break
10730fi
10731
10732 done
10733 ac_cv_prog_CPP=$CPP
10734
10735fi
10736 CPP=$ac_cv_prog_CPP
10737else
10738 ac_cv_prog_CPP=$CPP
10739fi
10740echo "$as_me:$LINENO: result: $CPP" >&5
10741echo "${ECHO_T}$CPP" >&6
10742ac_preproc_ok=false
10743for ac_c_preproc_warn_flag in '' yes
10744do
10745 # Use a header file that comes with gcc, so configuring glibc
10746 # with a fresh cross-compiler works.
10747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10748 # <limits.h> exists even on freestanding compilers.
10749 # On the NeXT, cc -E runs the code through the compiler's parser,
10750 # not just through cpp. "Syntax error" is here to catch this case.
10751 cat >conftest.$ac_ext <<_ACEOF
10752#line $LINENO "configure"
10753/* confdefs.h. */
10754_ACEOF
10755cat confdefs.h >>conftest.$ac_ext
10756cat >>conftest.$ac_ext <<_ACEOF
10757/* end confdefs.h. */
10758#ifdef __STDC__
10759# include <limits.h>
10760#else
10761# include <assert.h>
10762#endif
10763 Syntax error
10764_ACEOF
10765if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10767 ac_status=$?
10768 grep -v '^ *+' conftest.er1 >conftest.err
10769 rm -f conftest.er1
10770 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } >/dev/null; then
10773 if test -s conftest.err; then
10774 ac_cpp_err=$ac_c_preproc_warn_flag
10775 else
10776 ac_cpp_err=
10777 fi
10778else
10779 ac_cpp_err=yes
10780fi
10781if test -z "$ac_cpp_err"; then
10782 :
10783else
10784 echo "$as_me: failed program was:" >&5
10785sed 's/^/| /' conftest.$ac_ext >&5
10786
10787 # Broken: fails on valid input.
10788continue
10789fi
10790rm -f conftest.err conftest.$ac_ext
10791
10792 # OK, works on sane cases. Now check whether non-existent headers
10793 # can be detected and how.
10794 cat >conftest.$ac_ext <<_ACEOF
10795#line $LINENO "configure"
10796/* confdefs.h. */
10797_ACEOF
10798cat confdefs.h >>conftest.$ac_ext
10799cat >>conftest.$ac_ext <<_ACEOF
10800/* end confdefs.h. */
10801#include <ac_nonexistent.h>
10802_ACEOF
10803if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10805 ac_status=$?
10806 grep -v '^ *+' conftest.er1 >conftest.err
10807 rm -f conftest.er1
10808 cat conftest.err >&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } >/dev/null; then
10811 if test -s conftest.err; then
10812 ac_cpp_err=$ac_c_preproc_warn_flag
10813 else
10814 ac_cpp_err=
10815 fi
10816else
10817 ac_cpp_err=yes
10818fi
10819if test -z "$ac_cpp_err"; then
10820 # Broken: success on invalid input.
10821continue
10822else
10823 echo "$as_me: failed program was:" >&5
10824sed 's/^/| /' conftest.$ac_ext >&5
10825
10826 # Passes both tests.
10827ac_preproc_ok=:
10828break
10829fi
10830rm -f conftest.err conftest.$ac_ext
10831
10832done
10833# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10834rm -f conftest.err conftest.$ac_ext
10835if $ac_preproc_ok; then
10836 :
10837else
10838 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10839See \`config.log' for more details." >&5
10840echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10841See \`config.log' for more details." >&2;}
10842 { (exit 1); exit 1; }; }
10843fi
10844
10845ac_ext=c
10846ac_cpp='$CPP $CPPFLAGS'
10847ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10848ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10849ac_compiler_gnu=$ac_cv_c_compiler_gnu
10850
10851
10852echo "$as_me:$LINENO: checking for egrep" >&5
10853echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10854if test "${ac_cv_prog_egrep+set}" = set; then
10855 echo $ECHO_N "(cached) $ECHO_C" >&6
10856else
10857 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10858 then ac_cv_prog_egrep='grep -E'
10859 else ac_cv_prog_egrep='egrep'
10860 fi
10861fi
10862echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10863echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10864 EGREP=$ac_cv_prog_egrep
10865
10866
10867if test $ac_cv_c_compiler_gnu = yes; then
10868 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10869echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10870if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872else
10873 ac_pattern="Autoconf.*'x'"
10874 cat >conftest.$ac_ext <<_ACEOF
10875#line $LINENO "configure"
10876/* confdefs.h. */
10877_ACEOF
10878cat confdefs.h >>conftest.$ac_ext
10879cat >>conftest.$ac_ext <<_ACEOF
10880/* end confdefs.h. */
10881#include <sgtty.h>
10882Autoconf TIOCGETP
10883_ACEOF
10884if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10885 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10886 ac_cv_prog_gcc_traditional=yes
10887else
10888 ac_cv_prog_gcc_traditional=no
10889fi
10890rm -f conftest*
10891
10892
10893 if test $ac_cv_prog_gcc_traditional = no; then
10894 cat >conftest.$ac_ext <<_ACEOF
10895#line $LINENO "configure"
10896/* confdefs.h. */
10897_ACEOF
10898cat confdefs.h >>conftest.$ac_ext
10899cat >>conftest.$ac_ext <<_ACEOF
10900/* end confdefs.h. */
10901#include <termio.h>
10902Autoconf TCGETA
10903_ACEOF
10904if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10905 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10906 ac_cv_prog_gcc_traditional=yes
10907fi
10908rm -f conftest*
10909
10910 fi
10911fi
10912echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10913echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10914 if test $ac_cv_prog_gcc_traditional = yes; then
10915 CC="$CC -traditional"
10916 fi
10917fi
10918
10919
10920
10921
10922ac_ext=cc
10923ac_cpp='$CXXCPP $CPPFLAGS'
10924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10927
10928
10929CXXFLAGS=${CXXFLAGS:=}
10930ac_ext=cc
10931ac_cpp='$CXXCPP $CPPFLAGS'
10932ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10933ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10934ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10935if test -n "$ac_tool_prefix"; then
10936 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10937 do
10938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10939set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10940echo "$as_me:$LINENO: checking for $ac_word" >&5
10941echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10942if test "${ac_cv_prog_CXX+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10944else
10945 if test -n "$CXX"; then
10946 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10947else
10948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10949for as_dir in $PATH
10950do
10951 IFS=$as_save_IFS
10952 test -z "$as_dir" && as_dir=.
10953 for ac_exec_ext in '' $ac_executable_extensions; do
10954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10955 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10957 break 2
10958 fi
10959done
10960done
10961
10962fi
10963fi
10964CXX=$ac_cv_prog_CXX
10965if test -n "$CXX"; then
10966 echo "$as_me:$LINENO: result: $CXX" >&5
10967echo "${ECHO_T}$CXX" >&6
10968else
10969 echo "$as_me:$LINENO: result: no" >&5
10970echo "${ECHO_T}no" >&6
10971fi
10972
10973 test -n "$CXX" && break
10974 done
10975fi
10976if test -z "$CXX"; then
10977 ac_ct_CXX=$CXX
10978 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10979do
10980 # Extract the first word of "$ac_prog", so it can be a program name with args.
10981set dummy $ac_prog; ac_word=$2
10982echo "$as_me:$LINENO: checking for $ac_word" >&5
10983echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10984if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986else
10987 if test -n "$ac_ct_CXX"; then
10988 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10989else
10990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10991for as_dir in $PATH
10992do
10993 IFS=$as_save_IFS
10994 test -z "$as_dir" && as_dir=.
10995 for ac_exec_ext in '' $ac_executable_extensions; do
10996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10997 ac_cv_prog_ac_ct_CXX="$ac_prog"
10998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10999 break 2
11000 fi
11001done
11002done
11003
11004fi
11005fi
11006ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11007if test -n "$ac_ct_CXX"; then
11008 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11009echo "${ECHO_T}$ac_ct_CXX" >&6
11010else
11011 echo "$as_me:$LINENO: result: no" >&5
11012echo "${ECHO_T}no" >&6
11013fi
11014
11015 test -n "$ac_ct_CXX" && break
11016done
11017test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11018
11019 CXX=$ac_ct_CXX
11020fi
11021
11022
11023# Provide some information about the compiler.
11024echo "$as_me:$LINENO:" \
11025 "checking for C++ compiler version" >&5
11026ac_compiler=`set X $ac_compile; echo $2`
11027{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11028 (eval $ac_compiler --version </dev/null >&5) 2>&5
11029 ac_status=$?
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }
11032{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11033 (eval $ac_compiler -v </dev/null >&5) 2>&5
11034 ac_status=$?
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }
11037{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11038 (eval $ac_compiler -V </dev/null >&5) 2>&5
11039 ac_status=$?
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }
11042
11043echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11044echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11045if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11047else
11048 cat >conftest.$ac_ext <<_ACEOF
11049#line $LINENO "configure"
11050/* confdefs.h. */
11051_ACEOF
11052cat confdefs.h >>conftest.$ac_ext
11053cat >>conftest.$ac_ext <<_ACEOF
11054/* end confdefs.h. */
11055
11056int
11057main ()
11058{
11059#ifndef __GNUC__
11060 choke me
11061#endif
11062
11063 ;
11064 return 0;
11065}
11066_ACEOF
11067rm -f conftest.$ac_objext
11068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11069 (eval $ac_compile) 2>&5
11070 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } &&
11073 { ac_try='test -s conftest.$ac_objext'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11076 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then
11079 ac_compiler_gnu=yes
11080else
11081 echo "$as_me: failed program was:" >&5
11082sed 's/^/| /' conftest.$ac_ext >&5
11083
11084ac_compiler_gnu=no
11085fi
11086rm -f conftest.$ac_objext conftest.$ac_ext
11087ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11088
11089fi
11090echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11091echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11092GXX=`test $ac_compiler_gnu = yes && echo yes`
11093ac_test_CXXFLAGS=${CXXFLAGS+set}
11094ac_save_CXXFLAGS=$CXXFLAGS
11095CXXFLAGS="-g"
11096echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11097echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11098if test "${ac_cv_prog_cxx_g+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11100else
11101 cat >conftest.$ac_ext <<_ACEOF
11102#line $LINENO "configure"
11103/* confdefs.h. */
11104_ACEOF
11105cat confdefs.h >>conftest.$ac_ext
11106cat >>conftest.$ac_ext <<_ACEOF
11107/* end confdefs.h. */
11108
11109int
11110main ()
11111{
11112
11113 ;
11114 return 0;
11115}
11116_ACEOF
11117rm -f conftest.$ac_objext
11118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11120 ac_status=$?
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } &&
11123 { ac_try='test -s conftest.$ac_objext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11126 ac_status=$?
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 ac_cv_prog_cxx_g=yes
11130else
11131 echo "$as_me: failed program was:" >&5
11132sed 's/^/| /' conftest.$ac_ext >&5
11133
11134ac_cv_prog_cxx_g=no
11135fi
11136rm -f conftest.$ac_objext conftest.$ac_ext
11137fi
11138echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11139echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11140if test "$ac_test_CXXFLAGS" = set; then
11141 CXXFLAGS=$ac_save_CXXFLAGS
11142elif test $ac_cv_prog_cxx_g = yes; then
11143 if test "$GXX" = yes; then
11144 CXXFLAGS="-g -O2"
11145 else
11146 CXXFLAGS="-g"
11147 fi
11148else
11149 if test "$GXX" = yes; then
11150 CXXFLAGS="-O2"
11151 else
11152 CXXFLAGS=
11153 fi
11154fi
11155for ac_declaration in \
11156 ''\
11157 '#include <stdlib.h>' \
11158 'extern "C" void std::exit (int) throw (); using std::exit;' \
11159 'extern "C" void std::exit (int); using std::exit;' \
11160 'extern "C" void exit (int) throw ();' \
11161 'extern "C" void exit (int);' \
11162 'void exit (int);'
11163do
11164 cat >conftest.$ac_ext <<_ACEOF
11165#line $LINENO "configure"
11166/* confdefs.h. */
11167_ACEOF
11168cat confdefs.h >>conftest.$ac_ext
11169cat >>conftest.$ac_ext <<_ACEOF
11170/* end confdefs.h. */
11171#include <stdlib.h>
11172$ac_declaration
11173int
11174main ()
11175{
11176exit (42);
11177 ;
11178 return 0;
11179}
11180_ACEOF
11181rm -f conftest.$ac_objext
11182if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11183 (eval $ac_compile) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 :
11194else
11195 echo "$as_me: failed program was:" >&5
11196sed 's/^/| /' conftest.$ac_ext >&5
11197
11198continue
11199fi
11200rm -f conftest.$ac_objext conftest.$ac_ext
11201 cat >conftest.$ac_ext <<_ACEOF
11202#line $LINENO "configure"
11203/* confdefs.h. */
11204_ACEOF
11205cat confdefs.h >>conftest.$ac_ext
11206cat >>conftest.$ac_ext <<_ACEOF
11207/* end confdefs.h. */
11208$ac_declaration
11209int
11210main ()
11211{
11212exit (42);
11213 ;
11214 return 0;
11215}
11216_ACEOF
11217rm -f conftest.$ac_objext
11218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219 (eval $ac_compile) 2>&5
11220 ac_status=$?
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } &&
11223 { ac_try='test -s conftest.$ac_objext'
11224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11225 (eval $ac_try) 2>&5
11226 ac_status=$?
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; }; then
11229 break
11230else
11231 echo "$as_me: failed program was:" >&5
11232sed 's/^/| /' conftest.$ac_ext >&5
11233
11234fi
11235rm -f conftest.$ac_objext conftest.$ac_ext
11236done
11237rm -f conftest*
11238if test -n "$ac_declaration"; then
11239 echo '#ifdef __cplusplus' >>confdefs.h
11240 echo $ac_declaration >>confdefs.h
11241 echo '#endif' >>confdefs.h
11242fi
11243
11244ac_ext=cc
11245ac_cpp='$CXXCPP $CPPFLAGS'
11246ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11247ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11248ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11249
11250
11251ac_ext=c
11252ac_cpp='$CPP $CPPFLAGS'
11253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11255ac_compiler_gnu=$ac_cv_c_compiler_gnu
11256
11257
11258if test -n "$ac_tool_prefix"; then
11259 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11260set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11261echo "$as_me:$LINENO: checking for $ac_word" >&5
11262echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11263if test "${ac_cv_prog_RANLIB+set}" = set; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11265else
11266 if test -n "$RANLIB"; then
11267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11268else
11269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11270for as_dir in $PATH
11271do
11272 IFS=$as_save_IFS
11273 test -z "$as_dir" && as_dir=.
11274 for ac_exec_ext in '' $ac_executable_extensions; do
11275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11276 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11278 break 2
11279 fi
11280done
11281done
11282
11283fi
11284fi
11285RANLIB=$ac_cv_prog_RANLIB
11286if test -n "$RANLIB"; then
11287 echo "$as_me:$LINENO: result: $RANLIB" >&5
11288echo "${ECHO_T}$RANLIB" >&6
11289else
11290 echo "$as_me:$LINENO: result: no" >&5
11291echo "${ECHO_T}no" >&6
11292fi
11293
11294fi
11295if test -z "$ac_cv_prog_RANLIB"; then
11296 ac_ct_RANLIB=$RANLIB
11297 # Extract the first word of "ranlib", so it can be a program name with args.
11298set dummy ranlib; ac_word=$2
11299echo "$as_me:$LINENO: checking for $ac_word" >&5
11300echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11301if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11303else
11304 if test -n "$ac_ct_RANLIB"; then
11305 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11306else
11307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11308for as_dir in $PATH
11309do
11310 IFS=$as_save_IFS
11311 test -z "$as_dir" && as_dir=.
11312 for ac_exec_ext in '' $ac_executable_extensions; do
11313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11314 ac_cv_prog_ac_ct_RANLIB="ranlib"
11315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11316 break 2
11317 fi
11318done
11319done
11320
11321 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11322fi
11323fi
11324ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11325if test -n "$ac_ct_RANLIB"; then
11326 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11327echo "${ECHO_T}$ac_ct_RANLIB" >&6
11328else
11329 echo "$as_me:$LINENO: result: no" >&5
11330echo "${ECHO_T}no" >&6
11331fi
11332
11333 RANLIB=$ac_ct_RANLIB
11334else
11335 RANLIB="$ac_cv_prog_RANLIB"
11336fi
11337
11338
11339# Extract the first word of "ar", so it can be a program name with args.
11340set dummy ar; ac_word=$2
11341echo "$as_me:$LINENO: checking for $ac_word" >&5
11342echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11343if test "${ac_cv_prog_AR+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11345else
11346 if test -n "$AR"; then
11347 ac_cv_prog_AR="$AR" # Let the user override the test.
11348else
11349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11350for as_dir in $PATH
11351do
11352 IFS=$as_save_IFS
11353 test -z "$as_dir" && as_dir=.
11354 for ac_exec_ext in '' $ac_executable_extensions; do
11355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11356 ac_cv_prog_AR="ar"
11357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11358 break 2
11359 fi
11360done
11361done
11362
11363 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11364fi
11365fi
11366AR=$ac_cv_prog_AR
11367if test -n "$AR"; then
11368 echo "$as_me:$LINENO: result: $AR" >&5
11369echo "${ECHO_T}$AR" >&6
11370else
11371 echo "$as_me:$LINENO: result: no" >&5
11372echo "${ECHO_T}no" >&6
11373fi
11374
11375
11376# Find a good install program. We prefer a C program (faster),
11377# so one script is as good as another. But avoid the broken or
11378# incompatible versions:
11379# SysV /etc/install, /usr/sbin/install
11380# SunOS /usr/etc/install
11381# IRIX /sbin/install
11382# AIX /bin/install
11383# AmigaOS /C/install, which installs bootblocks on floppy discs
11384# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11385# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11386# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11387# ./install, which can be erroneously created by make from ./install.sh.
11388echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11389echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11390if test -z "$INSTALL"; then
11391if test "${ac_cv_path_install+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11393else
11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11395for as_dir in $PATH
11396do
11397 IFS=$as_save_IFS
11398 test -z "$as_dir" && as_dir=.
11399 # Account for people who put trailing slashes in PATH elements.
11400case $as_dir/ in
11401 ./ | .// | /cC/* | \
11402 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11403 /usr/ucb/* ) ;;
11404 *)
11405 # OSF1 and SCO ODT 3.0 have their own names for install.
11406 # Don't use installbsd from OSF since it installs stuff as root
11407 # by default.
11408 for ac_prog in ginstall scoinst install; do
11409 for ac_exec_ext in '' $ac_executable_extensions; do
11410 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11411 if test $ac_prog = install &&
11412 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11413 # AIX install. It has an incompatible calling convention.
11414 :
11415 elif test $ac_prog = install &&
11416 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11417 # program-specific install script used by HP pwplus--don't use.
11418 :
11419 else
11420 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11421 break 3
11422 fi
11423 fi
11424 done
11425 done
11426 ;;
11427esac
11428done
11429
11430
11431fi
11432 if test "${ac_cv_path_install+set}" = set; then
11433 INSTALL=$ac_cv_path_install
11434 else
11435 # As a last resort, use the slow shell script. We don't cache a
11436 # path for INSTALL within a source directory, because that will
11437 # break other packages using the cache if that directory is
11438 # removed, or if the path is relative.
11439 INSTALL=$ac_install_sh
11440 fi
11441fi
11442echo "$as_me:$LINENO: result: $INSTALL" >&5
11443echo "${ECHO_T}$INSTALL" >&6
11444
11445# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11446# It thinks the first close brace ends the variable substitution.
11447test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11448
11449test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11450
11451test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11452
11453
11454case ${INSTALL} in
11455 /* ) # Absolute
11456 ;;
11457 ?:* ) # Drive letter, considered as absolute.
11458 ;;
11459 *)
11460 INSTALL=`pwd`/${INSTALL} ;;
11461esac
11462
11463case ${host} in
11464 *-hp-hpux* )
11465 INSTALL_DIR="mkdir"
11466 ;;
11467
11468 *) INSTALL_DIR="$INSTALL -d"
11469 ;;
11470esac
11471
11472
11473case "${host}" in
11474
11475 powerpc-*-darwin* )
11476 INSTALL_PROGRAM="cp -fp"
11477 INSTALL_DATA="cp -fp"
11478 ;;
11479 *)
11480 ;;
11481esac
11482
11483# Extract the first word of "strip", so it can be a program name with args.
11484set dummy strip; ac_word=$2
11485echo "$as_me:$LINENO: checking for $ac_word" >&5
11486echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11487if test "${ac_cv_prog_STRIP+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11489else
11490 if test -n "$STRIP"; then
11491 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11492else
11493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11494for as_dir in $PATH
11495do
11496 IFS=$as_save_IFS
11497 test -z "$as_dir" && as_dir=.
11498 for ac_exec_ext in '' $ac_executable_extensions; do
11499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11500 ac_cv_prog_STRIP="strip"
11501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11502 break 2
11503 fi
11504done
11505done
11506
11507 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11508fi
11509fi
11510STRIP=$ac_cv_prog_STRIP
11511if test -n "$STRIP"; then
11512 echo "$as_me:$LINENO: result: $STRIP" >&5
11513echo "${ECHO_T}$STRIP" >&6
11514else
11515 echo "$as_me:$LINENO: result: no" >&5
11516echo "${ECHO_T}no" >&6
11517fi
11518
11519
11520echo "$as_me:$LINENO: checking if make is GNU make" >&5
11521echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11522if test "${wx_cv_prog_makeisgnu+set}" = set; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11524else
11525
11526 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11527 egrep -s GNU > /dev/null); then
11528 wx_cv_prog_makeisgnu="yes"
11529 else
11530 wx_cv_prog_makeisgnu="no"
11531 fi
11532
11533fi
11534echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11535echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11536
11537if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11538 IF_GNU_MAKE=""
11539else
11540 IF_GNU_MAKE="#"
11541fi
11542
11543
11544
11545if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11546echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11547echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11548if test "${wx_cv_prog_makevpath+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11550else
11551
11552cat - << EOF > confMake
11553check : file
11554 cp \$? \$@
11555 cp \$? final_file
11556EOF
11557
11558if test ! -d sub ; then
11559 mkdir sub
11560fi
11561echo dummy > sub/file
11562${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11563RESULT=$?
11564rm -f sub/file check final_file confMake
11565rmdir sub
11566if test "$RESULT" = 0; then
11567 wx_cv_prog_makevpath="yes"
11568else
11569 wx_cv_prog_makevpath="no"
11570fi
11571
11572fi
11573echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11574echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11575
11576if test "x$wx_cv_prog_makevpath" != "xyes"; then
11577{ { echo "$as_me:$LINENO: error:
11578You need a make-utility that is able to use the variable
11579VPATH correctly.
11580If your version of make does not support VPATH correctly,
11581please install GNU-make (possibly as gmake), and start
11582configure with the following command:
11583export MAKE=gmake; ./configure for sh-type shells
11584setenv MAKE gmake; ./configure for csh-type shells
11585Also please do remember to use gmake in this case every time
11586you are trying to compile.
11587" >&5
11588echo "$as_me: error:
11589You need a make-utility that is able to use the variable
11590VPATH correctly.
11591If your version of make does not support VPATH correctly,
11592please install GNU-make (possibly as gmake), and start
11593configure with the following command:
11594export MAKE=gmake; ./configure for sh-type shells
11595setenv MAKE gmake; ./configure for csh-type shells
11596Also please do remember to use gmake in this case every time
11597you are trying to compile.
11598" >&2;}
11599 { (exit 1); exit 1; }; }
11600fi fi
11601for ac_prog in 'bison -y' byacc
11602do
11603 # Extract the first word of "$ac_prog", so it can be a program name with args.
11604set dummy $ac_prog; ac_word=$2
11605echo "$as_me:$LINENO: checking for $ac_word" >&5
11606echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11607if test "${ac_cv_prog_YACC+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11609else
11610 if test -n "$YACC"; then
11611 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11612else
11613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11614for as_dir in $PATH
11615do
11616 IFS=$as_save_IFS
11617 test -z "$as_dir" && as_dir=.
11618 for ac_exec_ext in '' $ac_executable_extensions; do
11619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11620 ac_cv_prog_YACC="$ac_prog"
11621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11622 break 2
11623 fi
11624done
11625done
11626
11627fi
11628fi
11629YACC=$ac_cv_prog_YACC
11630if test -n "$YACC"; then
11631 echo "$as_me:$LINENO: result: $YACC" >&5
11632echo "${ECHO_T}$YACC" >&6
11633else
11634 echo "$as_me:$LINENO: result: no" >&5
11635echo "${ECHO_T}no" >&6
11636fi
11637
11638 test -n "$YACC" && break
11639done
11640test -n "$YACC" || YACC="yacc"
11641
11642
11643for ac_prog in flex lex
11644do
11645 # Extract the first word of "$ac_prog", so it can be a program name with args.
11646set dummy $ac_prog; ac_word=$2
11647echo "$as_me:$LINENO: checking for $ac_word" >&5
11648echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11649if test "${ac_cv_prog_LEX+set}" = set; then
11650 echo $ECHO_N "(cached) $ECHO_C" >&6
11651else
11652 if test -n "$LEX"; then
11653 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11654else
11655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11656for as_dir in $PATH
11657do
11658 IFS=$as_save_IFS
11659 test -z "$as_dir" && as_dir=.
11660 for ac_exec_ext in '' $ac_executable_extensions; do
11661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11662 ac_cv_prog_LEX="$ac_prog"
11663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11664 break 2
11665 fi
11666done
11667done
11668
11669fi
11670fi
11671LEX=$ac_cv_prog_LEX
11672if test -n "$LEX"; then
11673 echo "$as_me:$LINENO: result: $LEX" >&5
11674echo "${ECHO_T}$LEX" >&6
11675else
11676 echo "$as_me:$LINENO: result: no" >&5
11677echo "${ECHO_T}no" >&6
11678fi
11679
11680 test -n "$LEX" && break
11681done
11682test -n "$LEX" || LEX=":"
11683
11684if test -z "$LEXLIB"
11685then
11686 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11687echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11688if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11690else
11691 ac_check_lib_save_LIBS=$LIBS
11692LIBS="-lfl $LIBS"
11693cat >conftest.$ac_ext <<_ACEOF
11694#line $LINENO "configure"
11695/* confdefs.h. */
11696_ACEOF
11697cat confdefs.h >>conftest.$ac_ext
11698cat >>conftest.$ac_ext <<_ACEOF
11699/* end confdefs.h. */
11700
11701/* Override any gcc2 internal prototype to avoid an error. */
11702#ifdef __cplusplus
11703extern "C"
11704#endif
11705/* We use char because int might match the return type of a gcc2
11706 builtin and then its argument prototype would still apply. */
11707char yywrap ();
11708int
11709main ()
11710{
11711yywrap ();
11712 ;
11713 return 0;
11714}
11715_ACEOF
11716rm -f conftest.$ac_objext conftest$ac_exeext
11717if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11718 (eval $ac_link) 2>&5
11719 ac_status=$?
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try='test -s conftest$ac_exeext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11725 ac_status=$?
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_cv_lib_fl_yywrap=yes
11729else
11730 echo "$as_me: failed program was:" >&5
11731sed 's/^/| /' conftest.$ac_ext >&5
11732
11733ac_cv_lib_fl_yywrap=no
11734fi
11735rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11736LIBS=$ac_check_lib_save_LIBS
11737fi
11738echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11739echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11740if test $ac_cv_lib_fl_yywrap = yes; then
11741 LEXLIB="-lfl"
11742else
11743 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11744echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11745if test "${ac_cv_lib_l_yywrap+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11747else
11748 ac_check_lib_save_LIBS=$LIBS
11749LIBS="-ll $LIBS"
11750cat >conftest.$ac_ext <<_ACEOF
11751#line $LINENO "configure"
11752/* confdefs.h. */
11753_ACEOF
11754cat confdefs.h >>conftest.$ac_ext
11755cat >>conftest.$ac_ext <<_ACEOF
11756/* end confdefs.h. */
11757
11758/* Override any gcc2 internal prototype to avoid an error. */
11759#ifdef __cplusplus
11760extern "C"
11761#endif
11762/* We use char because int might match the return type of a gcc2
11763 builtin and then its argument prototype would still apply. */
11764char yywrap ();
11765int
11766main ()
11767{
11768yywrap ();
11769 ;
11770 return 0;
11771}
11772_ACEOF
11773rm -f conftest.$ac_objext conftest$ac_exeext
11774if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11775 (eval $ac_link) 2>&5
11776 ac_status=$?
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } &&
11779 { ac_try='test -s conftest$ac_exeext'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11782 ac_status=$?
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 ac_cv_lib_l_yywrap=yes
11786else
11787 echo "$as_me: failed program was:" >&5
11788sed 's/^/| /' conftest.$ac_ext >&5
11789
11790ac_cv_lib_l_yywrap=no
11791fi
11792rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11793LIBS=$ac_check_lib_save_LIBS
11794fi
11795echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11796echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11797if test $ac_cv_lib_l_yywrap = yes; then
11798 LEXLIB="-ll"
11799fi
11800
11801fi
11802
11803fi
11804
11805if test "x$LEX" != "x:"; then
11806 echo "$as_me:$LINENO: checking lex output file root" >&5
11807echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11808if test "${ac_cv_prog_lex_root+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11810else
11811 # The minimal lex program is just a single line: %%. But some broken lexes
11812# (Solaris, I think it was) want two %% lines, so accommodate them.
11813cat >conftest.l <<_ACEOF
11814%%
11815%%
11816_ACEOF
11817{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11818 (eval $LEX conftest.l) 2>&5
11819 ac_status=$?
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }
11822if test -f lex.yy.c; then
11823 ac_cv_prog_lex_root=lex.yy
11824elif test -f lexyy.c; then
11825 ac_cv_prog_lex_root=lexyy
11826else
11827 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11828echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11829 { (exit 1); exit 1; }; }
11830fi
11831fi
11832echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11833echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11834rm -f conftest.l
11835LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11836
11837echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11838echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11839if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11841else
11842 # POSIX says lex can declare yytext either as a pointer or an array; the
11843# default is implementation-dependent. Figure out which it is, since
11844# not all implementations provide the %pointer and %array declarations.
11845ac_cv_prog_lex_yytext_pointer=no
11846echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11847ac_save_LIBS=$LIBS
11848LIBS="$LIBS $LEXLIB"
11849cat >conftest.$ac_ext <<_ACEOF
11850`cat $LEX_OUTPUT_ROOT.c`
11851_ACEOF
11852rm -f conftest.$ac_objext conftest$ac_exeext
11853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11854 (eval $ac_link) 2>&5
11855 ac_status=$?
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); } &&
11858 { ac_try='test -s conftest$ac_exeext'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11861 ac_status=$?
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; }; then
11864 ac_cv_prog_lex_yytext_pointer=yes
11865else
11866 echo "$as_me: failed program was:" >&5
11867sed 's/^/| /' conftest.$ac_ext >&5
11868
11869fi
11870rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11871LIBS=$ac_save_LIBS
11872rm -f "${LEX_OUTPUT_ROOT}.c"
11873
11874fi
11875echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11876echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11877if test $ac_cv_prog_lex_yytext_pointer = yes; then
11878
11879cat >>confdefs.h <<\_ACEOF
11880#define YYTEXT_POINTER 1
11881_ACEOF
11882
11883fi
11884
11885fi
11886
11887echo "$as_me:$LINENO: checking whether ln -s works" >&5
11888echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11889LN_S=$as_ln_s
11890if test "$LN_S" = "ln -s"; then
11891 echo "$as_me:$LINENO: result: yes" >&5
11892echo "${ECHO_T}yes" >&6
11893else
11894 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11895echo "${ECHO_T}no, using $LN_S" >&6
11896fi
11897
11898
11899case "${host}" in
11900 *-pc-os2_emx | *-pc-os2-emx )
11901 LIBS="$LIBS -lstdcpp"
11902 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11903 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11904echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11905if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11907else
11908 ac_check_lib_save_LIBS=$LIBS
11909LIBS="-lcExt $LIBS"
11910cat >conftest.$ac_ext <<_ACEOF
11911#line $LINENO "configure"
11912/* confdefs.h. */
11913_ACEOF
11914cat confdefs.h >>conftest.$ac_ext
11915cat >>conftest.$ac_ext <<_ACEOF
11916/* end confdefs.h. */
11917
11918/* Override any gcc2 internal prototype to avoid an error. */
11919#ifdef __cplusplus
11920extern "C"
11921#endif
11922/* We use char because int might match the return type of a gcc2
11923 builtin and then its argument prototype would still apply. */
11924char drand48 ();
11925int
11926main ()
11927{
11928drand48 ();
11929 ;
11930 return 0;
11931}
11932_ACEOF
11933rm -f conftest.$ac_objext conftest$ac_exeext
11934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11935 (eval $ac_link) 2>&5
11936 ac_status=$?
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try='test -s conftest$ac_exeext'
11940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5
11942 ac_status=$?
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }; }; then
11945 ac_cv_lib_cExt_drand48=yes
11946else
11947 echo "$as_me: failed program was:" >&5
11948sed 's/^/| /' conftest.$ac_ext >&5
11949
11950ac_cv_lib_cExt_drand48=no
11951fi
11952rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11953LIBS=$ac_check_lib_save_LIBS
11954fi
11955echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11956echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11957if test $ac_cv_lib_cExt_drand48 = yes; then
11958 LIBS="$LIBS -lcExt"
11959fi
11960
11961 else
11962 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11963 fi
11964 ;;
11965esac
11966
11967
11968if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11969 echo "$as_me:$LINENO: checking for strings.h" >&5
11970echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11971if test "${ac_cv_header_strings_h+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11973else
11974 ac_cv_header_strings_h=no
11975fi
11976echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11977echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11978 if test "$ac_cv_header_strings_h" = "no"; then
11979 echo "$as_me:$LINENO: result: forced no into cache" >&5
11980echo "${ECHO_T}forced no into cache" >&6
11981 else
11982 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11983echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11984 fi
11985fi
11986echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11987echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11988if test "${ac_cv_header_stdc+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11990else
11991 cat >conftest.$ac_ext <<_ACEOF
11992#line $LINENO "configure"
11993/* confdefs.h. */
11994_ACEOF
11995cat confdefs.h >>conftest.$ac_ext
11996cat >>conftest.$ac_ext <<_ACEOF
11997/* end confdefs.h. */
11998#include <stdlib.h>
11999#include <stdarg.h>
12000#include <string.h>
12001#include <float.h>
12002
12003int
12004main ()
12005{
12006
12007 ;
12008 return 0;
12009}
12010_ACEOF
12011rm -f conftest.$ac_objext
12012if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12013 (eval $ac_compile) 2>&5
12014 ac_status=$?
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try='test -s conftest.$ac_objext'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12020 ac_status=$?
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; }; then
12023 ac_cv_header_stdc=yes
12024else
12025 echo "$as_me: failed program was:" >&5
12026sed 's/^/| /' conftest.$ac_ext >&5
12027
12028ac_cv_header_stdc=no
12029fi
12030rm -f conftest.$ac_objext conftest.$ac_ext
12031
12032if test $ac_cv_header_stdc = yes; then
12033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12034 cat >conftest.$ac_ext <<_ACEOF
12035#line $LINENO "configure"
12036/* confdefs.h. */
12037_ACEOF
12038cat confdefs.h >>conftest.$ac_ext
12039cat >>conftest.$ac_ext <<_ACEOF
12040/* end confdefs.h. */
12041#include <string.h>
12042
12043_ACEOF
12044if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12045 $EGREP "memchr" >/dev/null 2>&1; then
12046 :
12047else
12048 ac_cv_header_stdc=no
12049fi
12050rm -f conftest*
12051
12052fi
12053
12054if test $ac_cv_header_stdc = yes; then
12055 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12056 cat >conftest.$ac_ext <<_ACEOF
12057#line $LINENO "configure"
12058/* confdefs.h. */
12059_ACEOF
12060cat confdefs.h >>conftest.$ac_ext
12061cat >>conftest.$ac_ext <<_ACEOF
12062/* end confdefs.h. */
12063#include <stdlib.h>
12064
12065_ACEOF
12066if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12067 $EGREP "free" >/dev/null 2>&1; then
12068 :
12069else
12070 ac_cv_header_stdc=no
12071fi
12072rm -f conftest*
12073
12074fi
12075
12076if test $ac_cv_header_stdc = yes; then
12077 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12078 if test "$cross_compiling" = yes; then
12079 :
12080else
12081 cat >conftest.$ac_ext <<_ACEOF
12082#line $LINENO "configure"
12083/* confdefs.h. */
12084_ACEOF
12085cat confdefs.h >>conftest.$ac_ext
12086cat >>conftest.$ac_ext <<_ACEOF
12087/* end confdefs.h. */
12088#include <ctype.h>
12089#if ((' ' & 0x0FF) == 0x020)
12090# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12091# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12092#else
12093# define ISLOWER(c) \
12094 (('a' <= (c) && (c) <= 'i') \
12095 || ('j' <= (c) && (c) <= 'r') \
12096 || ('s' <= (c) && (c) <= 'z'))
12097# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12098#endif
12099
12100#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12101int
12102main ()
12103{
12104 int i;
12105 for (i = 0; i < 256; i++)
12106 if (XOR (islower (i), ISLOWER (i))
12107 || toupper (i) != TOUPPER (i))
12108 exit(2);
12109 exit (0);
12110}
12111_ACEOF
12112rm -f conftest$ac_exeext
12113if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12120 ac_status=$?
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12123 :
12124else
12125 echo "$as_me: program exited with status $ac_status" >&5
12126echo "$as_me: failed program was:" >&5
12127sed 's/^/| /' conftest.$ac_ext >&5
12128
12129( exit $ac_status )
12130ac_cv_header_stdc=no
12131fi
12132rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12133fi
12134fi
12135fi
12136echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12137echo "${ECHO_T}$ac_cv_header_stdc" >&6
12138if test $ac_cv_header_stdc = yes; then
12139
12140cat >>confdefs.h <<\_ACEOF
12141#define STDC_HEADERS 1
12142_ACEOF
12143
12144fi
12145
12146# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12157 inttypes.h stdint.h unistd.h
12158do
12159as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12160echo "$as_me:$LINENO: checking for $ac_header" >&5
12161echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12162if eval "test \"\${$as_ac_Header+set}\" = set"; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12164else
12165 cat >conftest.$ac_ext <<_ACEOF
12166#line $LINENO "configure"
12167/* confdefs.h. */
12168_ACEOF
12169cat confdefs.h >>conftest.$ac_ext
12170cat >>conftest.$ac_ext <<_ACEOF
12171/* end confdefs.h. */
12172$ac_includes_default
12173
12174#include <$ac_header>
12175_ACEOF
12176rm -f conftest.$ac_objext
12177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12178 (eval $ac_compile) 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } &&
12182 { ac_try='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12185 ac_status=$?
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 eval "$as_ac_Header=yes"
12189else
12190 echo "$as_me: failed program was:" >&5
12191sed 's/^/| /' conftest.$ac_ext >&5
12192
12193eval "$as_ac_Header=no"
12194fi
12195rm -f conftest.$ac_objext conftest.$ac_ext
12196fi
12197echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12198echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12199if test `eval echo '${'$as_ac_Header'}'` = yes; then
12200 cat >>confdefs.h <<_ACEOF
12201#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12202_ACEOF
12203
12204fi
12205
12206done
12207
12208
12209
12210for ac_header in strings.h
12211do
12212as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12213if eval "test \"\${$as_ac_Header+set}\" = set"; then
12214 echo "$as_me:$LINENO: checking for $ac_header" >&5
12215echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12216if eval "test \"\${$as_ac_Header+set}\" = set"; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12218fi
12219echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12220echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12221else
12222 # Is the header compilable?
12223echo "$as_me:$LINENO: checking $ac_header usability" >&5
12224echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12225cat >conftest.$ac_ext <<_ACEOF
12226#line $LINENO "configure"
12227/* confdefs.h. */
12228_ACEOF
12229cat confdefs.h >>conftest.$ac_ext
12230cat >>conftest.$ac_ext <<_ACEOF
12231/* end confdefs.h. */
12232$ac_includes_default
12233#include <$ac_header>
12234_ACEOF
12235rm -f conftest.$ac_objext
12236if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12237 (eval $ac_compile) 2>&5
12238 ac_status=$?
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } &&
12241 { ac_try='test -s conftest.$ac_objext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12244 ac_status=$?
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 ac_header_compiler=yes
12248else
12249 echo "$as_me: failed program was:" >&5
12250sed 's/^/| /' conftest.$ac_ext >&5
12251
12252ac_header_compiler=no
12253fi
12254rm -f conftest.$ac_objext conftest.$ac_ext
12255echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12256echo "${ECHO_T}$ac_header_compiler" >&6
12257
12258# Is the header present?
12259echo "$as_me:$LINENO: checking $ac_header presence" >&5
12260echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12261cat >conftest.$ac_ext <<_ACEOF
12262#line $LINENO "configure"
12263/* confdefs.h. */
12264_ACEOF
12265cat confdefs.h >>conftest.$ac_ext
12266cat >>conftest.$ac_ext <<_ACEOF
12267/* end confdefs.h. */
12268#include <$ac_header>
12269_ACEOF
12270if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12272 ac_status=$?
12273 grep -v '^ *+' conftest.er1 >conftest.err
12274 rm -f conftest.er1
12275 cat conftest.err >&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } >/dev/null; then
12278 if test -s conftest.err; then
12279 ac_cpp_err=$ac_c_preproc_warn_flag
12280 else
12281 ac_cpp_err=
12282 fi
12283else
12284 ac_cpp_err=yes
12285fi
12286if test -z "$ac_cpp_err"; then
12287 ac_header_preproc=yes
12288else
12289 echo "$as_me: failed program was:" >&5
12290sed 's/^/| /' conftest.$ac_ext >&5
12291
12292 ac_header_preproc=no
12293fi
12294rm -f conftest.err conftest.$ac_ext
12295echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12296echo "${ECHO_T}$ac_header_preproc" >&6
12297
12298# So? What about this header?
12299case $ac_header_compiler:$ac_header_preproc in
12300 yes:no )
12301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12302echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12304echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12305 (
12306 cat <<\_ASBOX
12307## ------------------------------------ ##
12308## Report this to bug-autoconf@gnu.org. ##
12309## ------------------------------------ ##
12310_ASBOX
12311 ) |
12312 sed "s/^/$as_me: WARNING: /" >&2
12313 ;;
12314 no:yes )
12315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12316echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12318echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12320echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12321 (
12322 cat <<\_ASBOX
12323## ------------------------------------ ##
12324## Report this to bug-autoconf@gnu.org. ##
12325## ------------------------------------ ##
12326_ASBOX
12327 ) |
12328 sed "s/^/$as_me: WARNING: /" >&2
12329 ;;
12330esac
12331echo "$as_me:$LINENO: checking for $ac_header" >&5
12332echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12333if eval "test \"\${$as_ac_Header+set}\" = set"; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12335else
12336 eval "$as_ac_Header=$ac_header_preproc"
12337fi
12338echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12339echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12340
12341fi
12342if test `eval echo '${'$as_ac_Header'}'` = yes; then
12343 cat >>confdefs.h <<_ACEOF
12344#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12345_ACEOF
12346
12347fi
12348
12349done
12350
12351
12352
12353for ac_header in stdlib.h
12354do
12355as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12356if eval "test \"\${$as_ac_Header+set}\" = set"; then
12357 echo "$as_me:$LINENO: checking for $ac_header" >&5
12358echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12359if eval "test \"\${$as_ac_Header+set}\" = set"; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6
12361fi
12362echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12363echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12364else
12365 # Is the header compilable?
12366echo "$as_me:$LINENO: checking $ac_header usability" >&5
12367echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12368cat >conftest.$ac_ext <<_ACEOF
12369#line $LINENO "configure"
12370/* confdefs.h. */
12371_ACEOF
12372cat confdefs.h >>conftest.$ac_ext
12373cat >>conftest.$ac_ext <<_ACEOF
12374/* end confdefs.h. */
12375$ac_includes_default
12376#include <$ac_header>
12377_ACEOF
12378rm -f conftest.$ac_objext
12379if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12380 (eval $ac_compile) 2>&5
12381 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try='test -s conftest.$ac_objext'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 ac_header_compiler=yes
12391else
12392 echo "$as_me: failed program was:" >&5
12393sed 's/^/| /' conftest.$ac_ext >&5
12394
12395ac_header_compiler=no
12396fi
12397rm -f conftest.$ac_objext conftest.$ac_ext
12398echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12399echo "${ECHO_T}$ac_header_compiler" >&6
12400
12401# Is the header present?
12402echo "$as_me:$LINENO: checking $ac_header presence" >&5
12403echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12404cat >conftest.$ac_ext <<_ACEOF
12405#line $LINENO "configure"
12406/* confdefs.h. */
12407_ACEOF
12408cat confdefs.h >>conftest.$ac_ext
12409cat >>conftest.$ac_ext <<_ACEOF
12410/* end confdefs.h. */
12411#include <$ac_header>
12412_ACEOF
12413if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12415 ac_status=$?
12416 grep -v '^ *+' conftest.er1 >conftest.err
12417 rm -f conftest.er1
12418 cat conftest.err >&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); } >/dev/null; then
12421 if test -s conftest.err; then
12422 ac_cpp_err=$ac_c_preproc_warn_flag
12423 else
12424 ac_cpp_err=
12425 fi
12426else
12427 ac_cpp_err=yes
12428fi
12429if test -z "$ac_cpp_err"; then
12430 ac_header_preproc=yes
12431else
12432 echo "$as_me: failed program was:" >&5
12433sed 's/^/| /' conftest.$ac_ext >&5
12434
12435 ac_header_preproc=no
12436fi
12437rm -f conftest.err conftest.$ac_ext
12438echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12439echo "${ECHO_T}$ac_header_preproc" >&6
12440
12441# So? What about this header?
12442case $ac_header_compiler:$ac_header_preproc in
12443 yes:no )
12444 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12445echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12447echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12448 (
12449 cat <<\_ASBOX
12450## ------------------------------------ ##
12451## Report this to bug-autoconf@gnu.org. ##
12452## ------------------------------------ ##
12453_ASBOX
12454 ) |
12455 sed "s/^/$as_me: WARNING: /" >&2
12456 ;;
12457 no:yes )
12458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12459echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12461echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12463echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12464 (
12465 cat <<\_ASBOX
12466## ------------------------------------ ##
12467## Report this to bug-autoconf@gnu.org. ##
12468## ------------------------------------ ##
12469_ASBOX
12470 ) |
12471 sed "s/^/$as_me: WARNING: /" >&2
12472 ;;
12473esac
12474echo "$as_me:$LINENO: checking for $ac_header" >&5
12475echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12476if eval "test \"\${$as_ac_Header+set}\" = set"; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12478else
12479 eval "$as_ac_Header=$ac_header_preproc"
12480fi
12481echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12482echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12483
12484fi
12485if test `eval echo '${'$as_ac_Header'}'` = yes; then
12486 cat >>confdefs.h <<_ACEOF
12487#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12488_ACEOF
12489
12490fi
12491
12492done
12493
12494
12495for ac_header in malloc.h
12496do
12497as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12498if eval "test \"\${$as_ac_Header+set}\" = set"; then
12499 echo "$as_me:$LINENO: checking for $ac_header" >&5
12500echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12501if eval "test \"\${$as_ac_Header+set}\" = set"; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12503fi
12504echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12505echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12506else
12507 # Is the header compilable?
12508echo "$as_me:$LINENO: checking $ac_header usability" >&5
12509echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12510cat >conftest.$ac_ext <<_ACEOF
12511#line $LINENO "configure"
12512/* confdefs.h. */
12513_ACEOF
12514cat confdefs.h >>conftest.$ac_ext
12515cat >>conftest.$ac_ext <<_ACEOF
12516/* end confdefs.h. */
12517$ac_includes_default
12518#include <$ac_header>
12519_ACEOF
12520rm -f conftest.$ac_objext
12521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12522 (eval $ac_compile) 2>&5
12523 ac_status=$?
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } &&
12526 { ac_try='test -s conftest.$ac_objext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12529 ac_status=$?
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_header_compiler=yes
12533else
12534 echo "$as_me: failed program was:" >&5
12535sed 's/^/| /' conftest.$ac_ext >&5
12536
12537ac_header_compiler=no
12538fi
12539rm -f conftest.$ac_objext conftest.$ac_ext
12540echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12541echo "${ECHO_T}$ac_header_compiler" >&6
12542
12543# Is the header present?
12544echo "$as_me:$LINENO: checking $ac_header presence" >&5
12545echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12546cat >conftest.$ac_ext <<_ACEOF
12547#line $LINENO "configure"
12548/* confdefs.h. */
12549_ACEOF
12550cat confdefs.h >>conftest.$ac_ext
12551cat >>conftest.$ac_ext <<_ACEOF
12552/* end confdefs.h. */
12553#include <$ac_header>
12554_ACEOF
12555if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12557 ac_status=$?
12558 grep -v '^ *+' conftest.er1 >conftest.err
12559 rm -f conftest.er1
12560 cat conftest.err >&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } >/dev/null; then
12563 if test -s conftest.err; then
12564 ac_cpp_err=$ac_c_preproc_warn_flag
12565 else
12566 ac_cpp_err=
12567 fi
12568else
12569 ac_cpp_err=yes
12570fi
12571if test -z "$ac_cpp_err"; then
12572 ac_header_preproc=yes
12573else
12574 echo "$as_me: failed program was:" >&5
12575sed 's/^/| /' conftest.$ac_ext >&5
12576
12577 ac_header_preproc=no
12578fi
12579rm -f conftest.err conftest.$ac_ext
12580echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12581echo "${ECHO_T}$ac_header_preproc" >&6
12582
12583# So? What about this header?
12584case $ac_header_compiler:$ac_header_preproc in
12585 yes:no )
12586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12587echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12589echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12590 (
12591 cat <<\_ASBOX
12592## ------------------------------------ ##
12593## Report this to bug-autoconf@gnu.org. ##
12594## ------------------------------------ ##
12595_ASBOX
12596 ) |
12597 sed "s/^/$as_me: WARNING: /" >&2
12598 ;;
12599 no:yes )
12600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12601echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12603echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12605echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12606 (
12607 cat <<\_ASBOX
12608## ------------------------------------ ##
12609## Report this to bug-autoconf@gnu.org. ##
12610## ------------------------------------ ##
12611_ASBOX
12612 ) |
12613 sed "s/^/$as_me: WARNING: /" >&2
12614 ;;
12615esac
12616echo "$as_me:$LINENO: checking for $ac_header" >&5
12617echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12618if eval "test \"\${$as_ac_Header+set}\" = set"; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12620else
12621 eval "$as_ac_Header=$ac_header_preproc"
12622fi
12623echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12624echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12625
12626fi
12627if test `eval echo '${'$as_ac_Header'}'` = yes; then
12628 cat >>confdefs.h <<_ACEOF
12629#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12630_ACEOF
12631
12632fi
12633
12634done
12635
12636
12637for ac_header in unistd.h
12638do
12639as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12640if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo "$as_me:$LINENO: checking for $ac_header" >&5
12642echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12643if eval "test \"\${$as_ac_Header+set}\" = set"; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12645fi
12646echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12647echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12648else
12649 # Is the header compilable?
12650echo "$as_me:$LINENO: checking $ac_header usability" >&5
12651echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12652cat >conftest.$ac_ext <<_ACEOF
12653#line $LINENO "configure"
12654/* confdefs.h. */
12655_ACEOF
12656cat confdefs.h >>conftest.$ac_ext
12657cat >>conftest.$ac_ext <<_ACEOF
12658/* end confdefs.h. */
12659$ac_includes_default
12660#include <$ac_header>
12661_ACEOF
12662rm -f conftest.$ac_objext
12663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12664 (eval $ac_compile) 2>&5
12665 ac_status=$?
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } &&
12668 { ac_try='test -s conftest.$ac_objext'
12669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12670 (eval $ac_try) 2>&5
12671 ac_status=$?
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); }; }; then
12674 ac_header_compiler=yes
12675else
12676 echo "$as_me: failed program was:" >&5
12677sed 's/^/| /' conftest.$ac_ext >&5
12678
12679ac_header_compiler=no
12680fi
12681rm -f conftest.$ac_objext conftest.$ac_ext
12682echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12683echo "${ECHO_T}$ac_header_compiler" >&6
12684
12685# Is the header present?
12686echo "$as_me:$LINENO: checking $ac_header presence" >&5
12687echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12688cat >conftest.$ac_ext <<_ACEOF
12689#line $LINENO "configure"
12690/* confdefs.h. */
12691_ACEOF
12692cat confdefs.h >>conftest.$ac_ext
12693cat >>conftest.$ac_ext <<_ACEOF
12694/* end confdefs.h. */
12695#include <$ac_header>
12696_ACEOF
12697if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12699 ac_status=$?
12700 grep -v '^ *+' conftest.er1 >conftest.err
12701 rm -f conftest.er1
12702 cat conftest.err >&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } >/dev/null; then
12705 if test -s conftest.err; then
12706 ac_cpp_err=$ac_c_preproc_warn_flag
12707 else
12708 ac_cpp_err=
12709 fi
12710else
12711 ac_cpp_err=yes
12712fi
12713if test -z "$ac_cpp_err"; then
12714 ac_header_preproc=yes
12715else
12716 echo "$as_me: failed program was:" >&5
12717sed 's/^/| /' conftest.$ac_ext >&5
12718
12719 ac_header_preproc=no
12720fi
12721rm -f conftest.err conftest.$ac_ext
12722echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12723echo "${ECHO_T}$ac_header_preproc" >&6
12724
12725# So? What about this header?
12726case $ac_header_compiler:$ac_header_preproc in
12727 yes:no )
12728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12729echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12731echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12732 (
12733 cat <<\_ASBOX
12734## ------------------------------------ ##
12735## Report this to bug-autoconf@gnu.org. ##
12736## ------------------------------------ ##
12737_ASBOX
12738 ) |
12739 sed "s/^/$as_me: WARNING: /" >&2
12740 ;;
12741 no:yes )
12742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12743echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12745echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12747echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12748 (
12749 cat <<\_ASBOX
12750## ------------------------------------ ##
12751## Report this to bug-autoconf@gnu.org. ##
12752## ------------------------------------ ##
12753_ASBOX
12754 ) |
12755 sed "s/^/$as_me: WARNING: /" >&2
12756 ;;
12757esac
12758echo "$as_me:$LINENO: checking for $ac_header" >&5
12759echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12760if eval "test \"\${$as_ac_Header+set}\" = set"; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12762else
12763 eval "$as_ac_Header=$ac_header_preproc"
12764fi
12765echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12766echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12767
12768fi
12769if test `eval echo '${'$as_ac_Header'}'` = yes; then
12770 cat >>confdefs.h <<_ACEOF
12771#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12772_ACEOF
12773
12774fi
12775
12776done
12777
12778
12779for ac_header in wchar.h
12780do
12781as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12782if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo "$as_me:$LINENO: checking for $ac_header" >&5
12784echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12785if eval "test \"\${$as_ac_Header+set}\" = set"; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12787fi
12788echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12789echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12790else
12791 # Is the header compilable?
12792echo "$as_me:$LINENO: checking $ac_header usability" >&5
12793echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12794cat >conftest.$ac_ext <<_ACEOF
12795#line $LINENO "configure"
12796/* confdefs.h. */
12797_ACEOF
12798cat confdefs.h >>conftest.$ac_ext
12799cat >>conftest.$ac_ext <<_ACEOF
12800/* end confdefs.h. */
12801$ac_includes_default
12802#include <$ac_header>
12803_ACEOF
12804rm -f conftest.$ac_objext
12805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>&5
12807 ac_status=$?
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } &&
12810 { ac_try='test -s conftest.$ac_objext'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12813 ac_status=$?
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; }; then
12816 ac_header_compiler=yes
12817else
12818 echo "$as_me: failed program was:" >&5
12819sed 's/^/| /' conftest.$ac_ext >&5
12820
12821ac_header_compiler=no
12822fi
12823rm -f conftest.$ac_objext conftest.$ac_ext
12824echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12825echo "${ECHO_T}$ac_header_compiler" >&6
12826
12827# Is the header present?
12828echo "$as_me:$LINENO: checking $ac_header presence" >&5
12829echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12830cat >conftest.$ac_ext <<_ACEOF
12831#line $LINENO "configure"
12832/* confdefs.h. */
12833_ACEOF
12834cat confdefs.h >>conftest.$ac_ext
12835cat >>conftest.$ac_ext <<_ACEOF
12836/* end confdefs.h. */
12837#include <$ac_header>
12838_ACEOF
12839if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12841 ac_status=$?
12842 grep -v '^ *+' conftest.er1 >conftest.err
12843 rm -f conftest.er1
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } >/dev/null; then
12847 if test -s conftest.err; then
12848 ac_cpp_err=$ac_c_preproc_warn_flag
12849 else
12850 ac_cpp_err=
12851 fi
12852else
12853 ac_cpp_err=yes
12854fi
12855if test -z "$ac_cpp_err"; then
12856 ac_header_preproc=yes
12857else
12858 echo "$as_me: failed program was:" >&5
12859sed 's/^/| /' conftest.$ac_ext >&5
12860
12861 ac_header_preproc=no
12862fi
12863rm -f conftest.err conftest.$ac_ext
12864echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12865echo "${ECHO_T}$ac_header_preproc" >&6
12866
12867# So? What about this header?
12868case $ac_header_compiler:$ac_header_preproc in
12869 yes:no )
12870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12871echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12873echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12874 (
12875 cat <<\_ASBOX
12876## ------------------------------------ ##
12877## Report this to bug-autoconf@gnu.org. ##
12878## ------------------------------------ ##
12879_ASBOX
12880 ) |
12881 sed "s/^/$as_me: WARNING: /" >&2
12882 ;;
12883 no:yes )
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12885echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12887echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12889echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12890 (
12891 cat <<\_ASBOX
12892## ------------------------------------ ##
12893## Report this to bug-autoconf@gnu.org. ##
12894## ------------------------------------ ##
12895_ASBOX
12896 ) |
12897 sed "s/^/$as_me: WARNING: /" >&2
12898 ;;
12899esac
12900echo "$as_me:$LINENO: checking for $ac_header" >&5
12901echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12902if eval "test \"\${$as_ac_Header+set}\" = set"; then
12903 echo $ECHO_N "(cached) $ECHO_C" >&6
12904else
12905 eval "$as_ac_Header=$ac_header_preproc"
12906fi
12907echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12908echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12909
12910fi
12911if test `eval echo '${'$as_ac_Header'}'` = yes; then
12912 cat >>confdefs.h <<_ACEOF
12913#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12914_ACEOF
12915
12916fi
12917
12918done
12919
12920
12921if test "$ac_cv_header_wchar_h" != "yes"; then
12922
12923for ac_header in wcstr.h
12924do
12925as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12926if eval "test \"\${$as_ac_Header+set}\" = set"; then
12927 echo "$as_me:$LINENO: checking for $ac_header" >&5
12928echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12929if eval "test \"\${$as_ac_Header+set}\" = set"; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12931fi
12932echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12933echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12934else
12935 # Is the header compilable?
12936echo "$as_me:$LINENO: checking $ac_header usability" >&5
12937echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12938cat >conftest.$ac_ext <<_ACEOF
12939#line $LINENO "configure"
12940/* confdefs.h. */
12941_ACEOF
12942cat confdefs.h >>conftest.$ac_ext
12943cat >>conftest.$ac_ext <<_ACEOF
12944/* end confdefs.h. */
12945$ac_includes_default
12946#include <$ac_header>
12947_ACEOF
12948rm -f conftest.$ac_objext
12949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12950 (eval $ac_compile) 2>&5
12951 ac_status=$?
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } &&
12954 { ac_try='test -s conftest.$ac_objext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12957 ac_status=$?
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 ac_header_compiler=yes
12961else
12962 echo "$as_me: failed program was:" >&5
12963sed 's/^/| /' conftest.$ac_ext >&5
12964
12965ac_header_compiler=no
12966fi
12967rm -f conftest.$ac_objext conftest.$ac_ext
12968echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12969echo "${ECHO_T}$ac_header_compiler" >&6
12970
12971# Is the header present?
12972echo "$as_me:$LINENO: checking $ac_header presence" >&5
12973echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12974cat >conftest.$ac_ext <<_ACEOF
12975#line $LINENO "configure"
12976/* confdefs.h. */
12977_ACEOF
12978cat confdefs.h >>conftest.$ac_ext
12979cat >>conftest.$ac_ext <<_ACEOF
12980/* end confdefs.h. */
12981#include <$ac_header>
12982_ACEOF
12983if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12985 ac_status=$?
12986 grep -v '^ *+' conftest.er1 >conftest.err
12987 rm -f conftest.er1
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } >/dev/null; then
12991 if test -s conftest.err; then
12992 ac_cpp_err=$ac_c_preproc_warn_flag
12993 else
12994 ac_cpp_err=
12995 fi
12996else
12997 ac_cpp_err=yes
12998fi
12999if test -z "$ac_cpp_err"; then
13000 ac_header_preproc=yes
13001else
13002 echo "$as_me: failed program was:" >&5
13003sed 's/^/| /' conftest.$ac_ext >&5
13004
13005 ac_header_preproc=no
13006fi
13007rm -f conftest.err conftest.$ac_ext
13008echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13009echo "${ECHO_T}$ac_header_preproc" >&6
13010
13011# So? What about this header?
13012case $ac_header_compiler:$ac_header_preproc in
13013 yes:no )
13014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13015echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13017echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13018 (
13019 cat <<\_ASBOX
13020## ------------------------------------ ##
13021## Report this to bug-autoconf@gnu.org. ##
13022## ------------------------------------ ##
13023_ASBOX
13024 ) |
13025 sed "s/^/$as_me: WARNING: /" >&2
13026 ;;
13027 no:yes )
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13029echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13031echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13033echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13034 (
13035 cat <<\_ASBOX
13036## ------------------------------------ ##
13037## Report this to bug-autoconf@gnu.org. ##
13038## ------------------------------------ ##
13039_ASBOX
13040 ) |
13041 sed "s/^/$as_me: WARNING: /" >&2
13042 ;;
13043esac
13044echo "$as_me:$LINENO: checking for $ac_header" >&5
13045echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13046if eval "test \"\${$as_ac_Header+set}\" = set"; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13048else
13049 eval "$as_ac_Header=$ac_header_preproc"
13050fi
13051echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13052echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13053
13054fi
13055if test `eval echo '${'$as_ac_Header'}'` = yes; then
13056 cat >>confdefs.h <<_ACEOF
13057#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13058_ACEOF
13059
13060fi
13061
13062done
13063
13064fi
13065
13066
13067for ac_header in fnmatch.h
13068do
13069as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13070if eval "test \"\${$as_ac_Header+set}\" = set"; then
13071 echo "$as_me:$LINENO: checking for $ac_header" >&5
13072echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13073if eval "test \"\${$as_ac_Header+set}\" = set"; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13075fi
13076echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13077echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13078else
13079 # Is the header compilable?
13080echo "$as_me:$LINENO: checking $ac_header usability" >&5
13081echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13082cat >conftest.$ac_ext <<_ACEOF
13083#line $LINENO "configure"
13084/* confdefs.h. */
13085_ACEOF
13086cat confdefs.h >>conftest.$ac_ext
13087cat >>conftest.$ac_ext <<_ACEOF
13088/* end confdefs.h. */
13089$ac_includes_default
13090#include <$ac_header>
13091_ACEOF
13092rm -f conftest.$ac_objext
13093if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13094 (eval $ac_compile) 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } &&
13098 { ac_try='test -s conftest.$ac_objext'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13101 ac_status=$?
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13104 ac_header_compiler=yes
13105else
13106 echo "$as_me: failed program was:" >&5
13107sed 's/^/| /' conftest.$ac_ext >&5
13108
13109ac_header_compiler=no
13110fi
13111rm -f conftest.$ac_objext conftest.$ac_ext
13112echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13113echo "${ECHO_T}$ac_header_compiler" >&6
13114
13115# Is the header present?
13116echo "$as_me:$LINENO: checking $ac_header presence" >&5
13117echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13118cat >conftest.$ac_ext <<_ACEOF
13119#line $LINENO "configure"
13120/* confdefs.h. */
13121_ACEOF
13122cat confdefs.h >>conftest.$ac_ext
13123cat >>conftest.$ac_ext <<_ACEOF
13124/* end confdefs.h. */
13125#include <$ac_header>
13126_ACEOF
13127if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13129 ac_status=$?
13130 grep -v '^ *+' conftest.er1 >conftest.err
13131 rm -f conftest.er1
13132 cat conftest.err >&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); } >/dev/null; then
13135 if test -s conftest.err; then
13136 ac_cpp_err=$ac_c_preproc_warn_flag
13137 else
13138 ac_cpp_err=
13139 fi
13140else
13141 ac_cpp_err=yes
13142fi
13143if test -z "$ac_cpp_err"; then
13144 ac_header_preproc=yes
13145else
13146 echo "$as_me: failed program was:" >&5
13147sed 's/^/| /' conftest.$ac_ext >&5
13148
13149 ac_header_preproc=no
13150fi
13151rm -f conftest.err conftest.$ac_ext
13152echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13153echo "${ECHO_T}$ac_header_preproc" >&6
13154
13155# So? What about this header?
13156case $ac_header_compiler:$ac_header_preproc in
13157 yes:no )
13158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13159echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13161echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13162 (
13163 cat <<\_ASBOX
13164## ------------------------------------ ##
13165## Report this to bug-autoconf@gnu.org. ##
13166## ------------------------------------ ##
13167_ASBOX
13168 ) |
13169 sed "s/^/$as_me: WARNING: /" >&2
13170 ;;
13171 no:yes )
13172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13173echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13175echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13177echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13178 (
13179 cat <<\_ASBOX
13180## ------------------------------------ ##
13181## Report this to bug-autoconf@gnu.org. ##
13182## ------------------------------------ ##
13183_ASBOX
13184 ) |
13185 sed "s/^/$as_me: WARNING: /" >&2
13186 ;;
13187esac
13188echo "$as_me:$LINENO: checking for $ac_header" >&5
13189echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13190if eval "test \"\${$as_ac_Header+set}\" = set"; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192else
13193 eval "$as_ac_Header=$ac_header_preproc"
13194fi
13195echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13196echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13197
13198fi
13199if test `eval echo '${'$as_ac_Header'}'` = yes; then
13200 cat >>confdefs.h <<_ACEOF
13201#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13202_ACEOF
13203
13204fi
13205
13206done
13207
13208
13209if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13210
13211for ac_func in fnmatch
13212do
13213as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13214echo "$as_me:$LINENO: checking for $ac_func" >&5
13215echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13216if eval "test \"\${$as_ac_var+set}\" = set"; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13218else
13219 cat >conftest.$ac_ext <<_ACEOF
13220#line $LINENO "configure"
13221/* confdefs.h. */
13222_ACEOF
13223cat confdefs.h >>conftest.$ac_ext
13224cat >>conftest.$ac_ext <<_ACEOF
13225/* end confdefs.h. */
13226/* System header to define __stub macros and hopefully few prototypes,
13227 which can conflict with char $ac_func (); below.
13228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13229 <limits.h> exists even on freestanding compilers. */
13230#ifdef __STDC__
13231# include <limits.h>
13232#else
13233# include <assert.h>
13234#endif
13235/* Override any gcc2 internal prototype to avoid an error. */
13236#ifdef __cplusplus
13237extern "C"
13238{
13239#endif
13240/* We use char because int might match the return type of a gcc2
13241 builtin and then its argument prototype would still apply. */
13242char $ac_func ();
13243/* The GNU C library defines this for functions which it implements
13244 to always fail with ENOSYS. Some functions are actually named
13245 something starting with __ and the normal name is an alias. */
13246#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13247choke me
13248#else
13249char (*f) () = $ac_func;
13250#endif
13251#ifdef __cplusplus
13252}
13253#endif
13254
13255int
13256main ()
13257{
13258return f != $ac_func;
13259 ;
13260 return 0;
13261}
13262_ACEOF
13263rm -f conftest.$ac_objext conftest$ac_exeext
13264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13265 (eval $ac_link) 2>&5
13266 ac_status=$?
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); } &&
13269 { ac_try='test -s conftest$ac_exeext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13272 ac_status=$?
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 eval "$as_ac_var=yes"
13276else
13277 echo "$as_me: failed program was:" >&5
13278sed 's/^/| /' conftest.$ac_ext >&5
13279
13280eval "$as_ac_var=no"
13281fi
13282rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13283fi
13284echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13285echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13286if test `eval echo '${'$as_ac_var'}'` = yes; then
13287 cat >>confdefs.h <<_ACEOF
13288#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13289_ACEOF
13290
13291fi
13292done
13293
13294fi
13295
13296
13297for ac_header in langinfo.h
13298do
13299as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13300if eval "test \"\${$as_ac_Header+set}\" = set"; then
13301 echo "$as_me:$LINENO: checking for $ac_header" >&5
13302echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13303if eval "test \"\${$as_ac_Header+set}\" = set"; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13305fi
13306echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13307echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13308else
13309 # Is the header compilable?
13310echo "$as_me:$LINENO: checking $ac_header usability" >&5
13311echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13312cat >conftest.$ac_ext <<_ACEOF
13313#line $LINENO "configure"
13314/* confdefs.h. */
13315_ACEOF
13316cat confdefs.h >>conftest.$ac_ext
13317cat >>conftest.$ac_ext <<_ACEOF
13318/* end confdefs.h. */
13319$ac_includes_default
13320#include <$ac_header>
13321_ACEOF
13322rm -f conftest.$ac_objext
13323if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13324 (eval $ac_compile) 2>&5
13325 ac_status=$?
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } &&
13328 { ac_try='test -s conftest.$ac_objext'
13329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13330 (eval $ac_try) 2>&5
13331 ac_status=$?
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; }; then
13334 ac_header_compiler=yes
13335else
13336 echo "$as_me: failed program was:" >&5
13337sed 's/^/| /' conftest.$ac_ext >&5
13338
13339ac_header_compiler=no
13340fi
13341rm -f conftest.$ac_objext conftest.$ac_ext
13342echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13343echo "${ECHO_T}$ac_header_compiler" >&6
13344
13345# Is the header present?
13346echo "$as_me:$LINENO: checking $ac_header presence" >&5
13347echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13348cat >conftest.$ac_ext <<_ACEOF
13349#line $LINENO "configure"
13350/* confdefs.h. */
13351_ACEOF
13352cat confdefs.h >>conftest.$ac_ext
13353cat >>conftest.$ac_ext <<_ACEOF
13354/* end confdefs.h. */
13355#include <$ac_header>
13356_ACEOF
13357if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13359 ac_status=$?
13360 grep -v '^ *+' conftest.er1 >conftest.err
13361 rm -f conftest.er1
13362 cat conftest.err >&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } >/dev/null; then
13365 if test -s conftest.err; then
13366 ac_cpp_err=$ac_c_preproc_warn_flag
13367 else
13368 ac_cpp_err=
13369 fi
13370else
13371 ac_cpp_err=yes
13372fi
13373if test -z "$ac_cpp_err"; then
13374 ac_header_preproc=yes
13375else
13376 echo "$as_me: failed program was:" >&5
13377sed 's/^/| /' conftest.$ac_ext >&5
13378
13379 ac_header_preproc=no
13380fi
13381rm -f conftest.err conftest.$ac_ext
13382echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13383echo "${ECHO_T}$ac_header_preproc" >&6
13384
13385# So? What about this header?
13386case $ac_header_compiler:$ac_header_preproc in
13387 yes:no )
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13389echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13391echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13392 (
13393 cat <<\_ASBOX
13394## ------------------------------------ ##
13395## Report this to bug-autoconf@gnu.org. ##
13396## ------------------------------------ ##
13397_ASBOX
13398 ) |
13399 sed "s/^/$as_me: WARNING: /" >&2
13400 ;;
13401 no:yes )
13402 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13403echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13404 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13405echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13407echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13408 (
13409 cat <<\_ASBOX
13410## ------------------------------------ ##
13411## Report this to bug-autoconf@gnu.org. ##
13412## ------------------------------------ ##
13413_ASBOX
13414 ) |
13415 sed "s/^/$as_me: WARNING: /" >&2
13416 ;;
13417esac
13418echo "$as_me:$LINENO: checking for $ac_header" >&5
13419echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13420if eval "test \"\${$as_ac_Header+set}\" = set"; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13422else
13423 eval "$as_ac_Header=$ac_header_preproc"
13424fi
13425echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13426echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13427
13428fi
13429if test `eval echo '${'$as_ac_Header'}'` = yes; then
13430 cat >>confdefs.h <<_ACEOF
13431#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13432_ACEOF
13433
13434fi
13435
13436done
13437
13438
13439case "${host}" in
13440 *-pc-os2_emx | *-pc-os2-emx )
13441 if test $ac_cv_header_langinfo_h = "yes"; then
13442 LIBS="$LIBS -lintl"
13443 fi
13444 ;;
13445esac
13446
13447if test "$wxUSE_GUI" = "yes"; then
13448 if test "$wxUSE_UNIX" = "yes"; then
13449
13450for ac_header in X11/XKBlib.h
13451do
13452as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13453if eval "test \"\${$as_ac_Header+set}\" = set"; then
13454 echo "$as_me:$LINENO: checking for $ac_header" >&5
13455echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13456if eval "test \"\${$as_ac_Header+set}\" = set"; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13458fi
13459echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13460echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13461else
13462 # Is the header compilable?
13463echo "$as_me:$LINENO: checking $ac_header usability" >&5
13464echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13465cat >conftest.$ac_ext <<_ACEOF
13466#line $LINENO "configure"
13467/* confdefs.h. */
13468_ACEOF
13469cat confdefs.h >>conftest.$ac_ext
13470cat >>conftest.$ac_ext <<_ACEOF
13471/* end confdefs.h. */
13472$ac_includes_default
13473#include <$ac_header>
13474_ACEOF
13475rm -f conftest.$ac_objext
13476if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13477 (eval $ac_compile) 2>&5
13478 ac_status=$?
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); } &&
13481 { ac_try='test -s conftest.$ac_objext'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13484 ac_status=$?
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; }; then
13487 ac_header_compiler=yes
13488else
13489 echo "$as_me: failed program was:" >&5
13490sed 's/^/| /' conftest.$ac_ext >&5
13491
13492ac_header_compiler=no
13493fi
13494rm -f conftest.$ac_objext conftest.$ac_ext
13495echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13496echo "${ECHO_T}$ac_header_compiler" >&6
13497
13498# Is the header present?
13499echo "$as_me:$LINENO: checking $ac_header presence" >&5
13500echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13501cat >conftest.$ac_ext <<_ACEOF
13502#line $LINENO "configure"
13503/* confdefs.h. */
13504_ACEOF
13505cat confdefs.h >>conftest.$ac_ext
13506cat >>conftest.$ac_ext <<_ACEOF
13507/* end confdefs.h. */
13508#include <$ac_header>
13509_ACEOF
13510if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13512 ac_status=$?
13513 grep -v '^ *+' conftest.er1 >conftest.err
13514 rm -f conftest.er1
13515 cat conftest.err >&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } >/dev/null; then
13518 if test -s conftest.err; then
13519 ac_cpp_err=$ac_c_preproc_warn_flag
13520 else
13521 ac_cpp_err=
13522 fi
13523else
13524 ac_cpp_err=yes
13525fi
13526if test -z "$ac_cpp_err"; then
13527 ac_header_preproc=yes
13528else
13529 echo "$as_me: failed program was:" >&5
13530sed 's/^/| /' conftest.$ac_ext >&5
13531
13532 ac_header_preproc=no
13533fi
13534rm -f conftest.err conftest.$ac_ext
13535echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13536echo "${ECHO_T}$ac_header_preproc" >&6
13537
13538# So? What about this header?
13539case $ac_header_compiler:$ac_header_preproc in
13540 yes:no )
13541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13542echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13544echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13545 (
13546 cat <<\_ASBOX
13547## ------------------------------------ ##
13548## Report this to bug-autoconf@gnu.org. ##
13549## ------------------------------------ ##
13550_ASBOX
13551 ) |
13552 sed "s/^/$as_me: WARNING: /" >&2
13553 ;;
13554 no:yes )
13555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13556echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13558echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13560echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13561 (
13562 cat <<\_ASBOX
13563## ------------------------------------ ##
13564## Report this to bug-autoconf@gnu.org. ##
13565## ------------------------------------ ##
13566_ASBOX
13567 ) |
13568 sed "s/^/$as_me: WARNING: /" >&2
13569 ;;
13570esac
13571echo "$as_me:$LINENO: checking for $ac_header" >&5
13572echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13573if eval "test \"\${$as_ac_Header+set}\" = set"; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13575else
13576 eval "$as_ac_Header=$ac_header_preproc"
13577fi
13578echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13579echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13580
13581fi
13582if test `eval echo '${'$as_ac_Header'}'` = yes; then
13583 cat >>confdefs.h <<_ACEOF
13584#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13585_ACEOF
13586
13587fi
13588
13589done
13590
13591 fi
13592fi
13593
13594
13595echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13596echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13597if test "${ac_cv_c_const+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13599else
13600 cat >conftest.$ac_ext <<_ACEOF
13601#line $LINENO "configure"
13602/* confdefs.h. */
13603_ACEOF
13604cat confdefs.h >>conftest.$ac_ext
13605cat >>conftest.$ac_ext <<_ACEOF
13606/* end confdefs.h. */
13607
13608int
13609main ()
13610{
13611/* FIXME: Include the comments suggested by Paul. */
13612#ifndef __cplusplus
13613 /* Ultrix mips cc rejects this. */
13614 typedef int charset[2];
13615 const charset x;
13616 /* SunOS 4.1.1 cc rejects this. */
13617 char const *const *ccp;
13618 char **p;
13619 /* NEC SVR4.0.2 mips cc rejects this. */
13620 struct point {int x, y;};
13621 static struct point const zero = {0,0};
13622 /* AIX XL C 1.02.0.0 rejects this.
13623 It does not let you subtract one const X* pointer from another in
13624 an arm of an if-expression whose if-part is not a constant
13625 expression */
13626 const char *g = "string";
13627 ccp = &g + (g ? g-g : 0);
13628 /* HPUX 7.0 cc rejects these. */
13629 ++ccp;
13630 p = (char**) ccp;
13631 ccp = (char const *const *) p;
13632 { /* SCO 3.2v4 cc rejects this. */
13633 char *t;
13634 char const *s = 0 ? (char *) 0 : (char const *) 0;
13635
13636 *t++ = 0;
13637 }
13638 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13639 int x[] = {25, 17};
13640 const int *foo = &x[0];
13641 ++foo;
13642 }
13643 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13644 typedef const int *iptr;
13645 iptr p = 0;
13646 ++p;
13647 }
13648 { /* AIX XL C 1.02.0.0 rejects this saying
13649 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13650 struct s { int j; const int *ap[3]; };
13651 struct s *b; b->j = 5;
13652 }
13653 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13654 const int foo = 10;
13655 }
13656#endif
13657
13658 ;
13659 return 0;
13660}
13661_ACEOF
13662rm -f conftest.$ac_objext
13663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13664 (eval $ac_compile) 2>&5
13665 ac_status=$?
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); } &&
13668 { ac_try='test -s conftest.$ac_objext'
13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670 (eval $ac_try) 2>&5
13671 ac_status=$?
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; }; then
13674 ac_cv_c_const=yes
13675else
13676 echo "$as_me: failed program was:" >&5
13677sed 's/^/| /' conftest.$ac_ext >&5
13678
13679ac_cv_c_const=no
13680fi
13681rm -f conftest.$ac_objext conftest.$ac_ext
13682fi
13683echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13684echo "${ECHO_T}$ac_cv_c_const" >&6
13685if test $ac_cv_c_const = no; then
13686
13687cat >>confdefs.h <<\_ACEOF
13688#define const
13689_ACEOF
13690
13691fi
13692
13693echo "$as_me:$LINENO: checking for inline" >&5
13694echo $ECHO_N "checking for inline... $ECHO_C" >&6
13695if test "${ac_cv_c_inline+set}" = set; then
13696 echo $ECHO_N "(cached) $ECHO_C" >&6
13697else
13698 ac_cv_c_inline=no
13699for ac_kw in inline __inline__ __inline; do
13700 cat >conftest.$ac_ext <<_ACEOF
13701#line $LINENO "configure"
13702/* confdefs.h. */
13703_ACEOF
13704cat confdefs.h >>conftest.$ac_ext
13705cat >>conftest.$ac_ext <<_ACEOF
13706/* end confdefs.h. */
13707#ifndef __cplusplus
13708typedef int foo_t;
13709static $ac_kw foo_t static_foo () {return 0; }
13710$ac_kw foo_t foo () {return 0; }
13711#endif
13712
13713_ACEOF
13714rm -f conftest.$ac_objext
13715if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13716 (eval $ac_compile) 2>&5
13717 ac_status=$?
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } &&
13720 { ac_try='test -s conftest.$ac_objext'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13723 ac_status=$?
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; }; then
13726 ac_cv_c_inline=$ac_kw; break
13727else
13728 echo "$as_me: failed program was:" >&5
13729sed 's/^/| /' conftest.$ac_ext >&5
13730
13731fi
13732rm -f conftest.$ac_objext conftest.$ac_ext
13733done
13734
13735fi
13736echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13737echo "${ECHO_T}$ac_cv_c_inline" >&6
13738case $ac_cv_c_inline in
13739 inline | yes) ;;
13740 no)
13741cat >>confdefs.h <<\_ACEOF
13742#define inline
13743_ACEOF
13744 ;;
13745 *) cat >>confdefs.h <<_ACEOF
13746#define inline $ac_cv_c_inline
13747_ACEOF
13748 ;;
13749esac
13750
13751
13752echo "$as_me:$LINENO: checking for char" >&5
13753echo $ECHO_N "checking for char... $ECHO_C" >&6
13754if test "${ac_cv_type_char+set}" = set; then
13755 echo $ECHO_N "(cached) $ECHO_C" >&6
13756else
13757 cat >conftest.$ac_ext <<_ACEOF
13758#line $LINENO "configure"
13759/* confdefs.h. */
13760_ACEOF
13761cat confdefs.h >>conftest.$ac_ext
13762cat >>conftest.$ac_ext <<_ACEOF
13763/* end confdefs.h. */
13764$ac_includes_default
13765int
13766main ()
13767{
13768if ((char *) 0)
13769 return 0;
13770if (sizeof (char))
13771 return 0;
13772 ;
13773 return 0;
13774}
13775_ACEOF
13776rm -f conftest.$ac_objext
13777if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13778 (eval $ac_compile) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } &&
13782 { ac_try='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_type_char=yes
13789else
13790 echo "$as_me: failed program was:" >&5
13791sed 's/^/| /' conftest.$ac_ext >&5
13792
13793ac_cv_type_char=no
13794fi
13795rm -f conftest.$ac_objext conftest.$ac_ext
13796fi
13797echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13798echo "${ECHO_T}$ac_cv_type_char" >&6
13799
13800echo "$as_me:$LINENO: checking size of char" >&5
13801echo $ECHO_N "checking size of char... $ECHO_C" >&6
13802if test "${ac_cv_sizeof_char+set}" = set; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13804else
13805 if test "$ac_cv_type_char" = yes; then
13806 # The cast to unsigned long works around a bug in the HP C Compiler
13807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13808 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13809 # This bug is HP SR number 8606223364.
13810 if test "$cross_compiling" = yes; then
13811 # Depending upon the size, compute the lo and hi bounds.
13812cat >conftest.$ac_ext <<_ACEOF
13813#line $LINENO "configure"
13814/* confdefs.h. */
13815_ACEOF
13816cat confdefs.h >>conftest.$ac_ext
13817cat >>conftest.$ac_ext <<_ACEOF
13818/* end confdefs.h. */
13819$ac_includes_default
13820int
13821main ()
13822{
13823static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13824test_array [0] = 0
13825
13826 ;
13827 return 0;
13828}
13829_ACEOF
13830rm -f conftest.$ac_objext
13831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13832 (eval $ac_compile) 2>&5
13833 ac_status=$?
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } &&
13836 { ac_try='test -s conftest.$ac_objext'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13839 ac_status=$?
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; }; then
13842 ac_lo=0 ac_mid=0
13843 while :; do
13844 cat >conftest.$ac_ext <<_ACEOF
13845#line $LINENO "configure"
13846/* confdefs.h. */
13847_ACEOF
13848cat confdefs.h >>conftest.$ac_ext
13849cat >>conftest.$ac_ext <<_ACEOF
13850/* end confdefs.h. */
13851$ac_includes_default
13852int
13853main ()
13854{
13855static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13856test_array [0] = 0
13857
13858 ;
13859 return 0;
13860}
13861_ACEOF
13862rm -f conftest.$ac_objext
13863if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13864 (eval $ac_compile) 2>&5
13865 ac_status=$?
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); } &&
13868 { ac_try='test -s conftest.$ac_objext'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13871 ac_status=$?
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; }; then
13874 ac_hi=$ac_mid; break
13875else
13876 echo "$as_me: failed program was:" >&5
13877sed 's/^/| /' conftest.$ac_ext >&5
13878
13879ac_lo=`expr $ac_mid + 1`
13880 if test $ac_lo -le $ac_mid; then
13881 ac_lo= ac_hi=
13882 break
13883 fi
13884 ac_mid=`expr 2 '*' $ac_mid + 1`
13885fi
13886rm -f conftest.$ac_objext conftest.$ac_ext
13887 done
13888else
13889 echo "$as_me: failed program was:" >&5
13890sed 's/^/| /' conftest.$ac_ext >&5
13891
13892cat >conftest.$ac_ext <<_ACEOF
13893#line $LINENO "configure"
13894/* confdefs.h. */
13895_ACEOF
13896cat confdefs.h >>conftest.$ac_ext
13897cat >>conftest.$ac_ext <<_ACEOF
13898/* end confdefs.h. */
13899$ac_includes_default
13900int
13901main ()
13902{
13903static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13904test_array [0] = 0
13905
13906 ;
13907 return 0;
13908}
13909_ACEOF
13910rm -f conftest.$ac_objext
13911if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13912 (eval $ac_compile) 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try='test -s conftest.$ac_objext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13919 ac_status=$?
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13922 ac_hi=-1 ac_mid=-1
13923 while :; do
13924 cat >conftest.$ac_ext <<_ACEOF
13925#line $LINENO "configure"
13926/* confdefs.h. */
13927_ACEOF
13928cat confdefs.h >>conftest.$ac_ext
13929cat >>conftest.$ac_ext <<_ACEOF
13930/* end confdefs.h. */
13931$ac_includes_default
13932int
13933main ()
13934{
13935static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13936test_array [0] = 0
13937
13938 ;
13939 return 0;
13940}
13941_ACEOF
13942rm -f conftest.$ac_objext
13943if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13944 (eval $ac_compile) 2>&5
13945 ac_status=$?
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try='test -s conftest.$ac_objext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13951 ac_status=$?
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 ac_lo=$ac_mid; break
13955else
13956 echo "$as_me: failed program was:" >&5
13957sed 's/^/| /' conftest.$ac_ext >&5
13958
13959ac_hi=`expr '(' $ac_mid ')' - 1`
13960 if test $ac_mid -le $ac_hi; then
13961 ac_lo= ac_hi=
13962 break
13963 fi
13964 ac_mid=`expr 2 '*' $ac_mid`
13965fi
13966rm -f conftest.$ac_objext conftest.$ac_ext
13967 done
13968else
13969 echo "$as_me: failed program was:" >&5
13970sed 's/^/| /' conftest.$ac_ext >&5
13971
13972ac_lo= ac_hi=
13973fi
13974rm -f conftest.$ac_objext conftest.$ac_ext
13975fi
13976rm -f conftest.$ac_objext conftest.$ac_ext
13977# Binary search between lo and hi bounds.
13978while test "x$ac_lo" != "x$ac_hi"; do
13979 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13980 cat >conftest.$ac_ext <<_ACEOF
13981#line $LINENO "configure"
13982/* confdefs.h. */
13983_ACEOF
13984cat confdefs.h >>conftest.$ac_ext
13985cat >>conftest.$ac_ext <<_ACEOF
13986/* end confdefs.h. */
13987$ac_includes_default
13988int
13989main ()
13990{
13991static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13992test_array [0] = 0
13993
13994 ;
13995 return 0;
13996}
13997_ACEOF
13998rm -f conftest.$ac_objext
13999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000 (eval $ac_compile) 2>&5
14001 ac_status=$?
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } &&
14004 { ac_try='test -s conftest.$ac_objext'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14007 ac_status=$?
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; }; then
14010 ac_hi=$ac_mid
14011else
14012 echo "$as_me: failed program was:" >&5
14013sed 's/^/| /' conftest.$ac_ext >&5
14014
14015ac_lo=`expr '(' $ac_mid ')' + 1`
14016fi
14017rm -f conftest.$ac_objext conftest.$ac_ext
14018done
14019case $ac_lo in
14020?*) ac_cv_sizeof_char=$ac_lo;;
14021'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14022See \`config.log' for more details." >&5
14023echo "$as_me: error: cannot compute sizeof (char), 77
14024See \`config.log' for more details." >&2;}
14025 { (exit 1); exit 1; }; } ;;
14026esac
14027else
14028 if test "$cross_compiling" = yes; then
14029 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14030See \`config.log' for more details." >&5
14031echo "$as_me: error: cannot run test program while cross compiling
14032See \`config.log' for more details." >&2;}
14033 { (exit 1); exit 1; }; }
14034else
14035 cat >conftest.$ac_ext <<_ACEOF
14036#line $LINENO "configure"
14037/* confdefs.h. */
14038_ACEOF
14039cat confdefs.h >>conftest.$ac_ext
14040cat >>conftest.$ac_ext <<_ACEOF
14041/* end confdefs.h. */
14042$ac_includes_default
14043long longval () { return (long) (sizeof (char)); }
14044unsigned long ulongval () { return (long) (sizeof (char)); }
14045#include <stdio.h>
14046#include <stdlib.h>
14047int
14048main ()
14049{
14050
14051 FILE *f = fopen ("conftest.val", "w");
14052 if (! f)
14053 exit (1);
14054 if (((long) (sizeof (char))) < 0)
14055 {
14056 long i = longval ();
14057 if (i != ((long) (sizeof (char))))
14058 exit (1);
14059 fprintf (f, "%ld\n", i);
14060 }
14061 else
14062 {
14063 unsigned long i = ulongval ();
14064 if (i != ((long) (sizeof (char))))
14065 exit (1);
14066 fprintf (f, "%lu\n", i);
14067 }
14068 exit (ferror (f) || fclose (f) != 0);
14069
14070 ;
14071 return 0;
14072}
14073_ACEOF
14074rm -f conftest$ac_exeext
14075if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14076 (eval $ac_link) 2>&5
14077 ac_status=$?
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14082 ac_status=$?
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; }; then
14085 ac_cv_sizeof_char=`cat conftest.val`
14086else
14087 echo "$as_me: program exited with status $ac_status" >&5
14088echo "$as_me: failed program was:" >&5
14089sed 's/^/| /' conftest.$ac_ext >&5
14090
14091( exit $ac_status )
14092{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14093See \`config.log' for more details." >&5
14094echo "$as_me: error: cannot compute sizeof (char), 77
14095See \`config.log' for more details." >&2;}
14096 { (exit 1); exit 1; }; }
14097fi
14098rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14099fi
14100fi
14101rm -f conftest.val
14102else
14103 ac_cv_sizeof_char=0
14104fi
14105fi
14106echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14107echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14108cat >>confdefs.h <<_ACEOF
14109#define SIZEOF_CHAR $ac_cv_sizeof_char
14110_ACEOF
14111
14112
14113echo "$as_me:$LINENO: checking for short" >&5
14114echo $ECHO_N "checking for short... $ECHO_C" >&6
14115if test "${ac_cv_type_short+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14117else
14118 cat >conftest.$ac_ext <<_ACEOF
14119#line $LINENO "configure"
14120/* confdefs.h. */
14121_ACEOF
14122cat confdefs.h >>conftest.$ac_ext
14123cat >>conftest.$ac_ext <<_ACEOF
14124/* end confdefs.h. */
14125$ac_includes_default
14126int
14127main ()
14128{
14129if ((short *) 0)
14130 return 0;
14131if (sizeof (short))
14132 return 0;
14133 ;
14134 return 0;
14135}
14136_ACEOF
14137rm -f conftest.$ac_objext
14138if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>&5
14140 ac_status=$?
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } &&
14143 { ac_try='test -s conftest.$ac_objext'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14146 ac_status=$?
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14149 ac_cv_type_short=yes
14150else
14151 echo "$as_me: failed program was:" >&5
14152sed 's/^/| /' conftest.$ac_ext >&5
14153
14154ac_cv_type_short=no
14155fi
14156rm -f conftest.$ac_objext conftest.$ac_ext
14157fi
14158echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14159echo "${ECHO_T}$ac_cv_type_short" >&6
14160
14161echo "$as_me:$LINENO: checking size of short" >&5
14162echo $ECHO_N "checking size of short... $ECHO_C" >&6
14163if test "${ac_cv_sizeof_short+set}" = set; then
14164 echo $ECHO_N "(cached) $ECHO_C" >&6
14165else
14166 if test "$ac_cv_type_short" = yes; then
14167 # The cast to unsigned long works around a bug in the HP C Compiler
14168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14170 # This bug is HP SR number 8606223364.
14171 if test "$cross_compiling" = yes; then
14172 # Depending upon the size, compute the lo and hi bounds.
14173cat >conftest.$ac_ext <<_ACEOF
14174#line $LINENO "configure"
14175/* confdefs.h. */
14176_ACEOF
14177cat confdefs.h >>conftest.$ac_ext
14178cat >>conftest.$ac_ext <<_ACEOF
14179/* end confdefs.h. */
14180$ac_includes_default
14181int
14182main ()
14183{
14184static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14185test_array [0] = 0
14186
14187 ;
14188 return 0;
14189}
14190_ACEOF
14191rm -f conftest.$ac_objext
14192if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14193 (eval $ac_compile) 2>&5
14194 ac_status=$?
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } &&
14197 { ac_try='test -s conftest.$ac_objext'
14198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14199 (eval $ac_try) 2>&5
14200 ac_status=$?
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14203 ac_lo=0 ac_mid=0
14204 while :; do
14205 cat >conftest.$ac_ext <<_ACEOF
14206#line $LINENO "configure"
14207/* confdefs.h. */
14208_ACEOF
14209cat confdefs.h >>conftest.$ac_ext
14210cat >>conftest.$ac_ext <<_ACEOF
14211/* end confdefs.h. */
14212$ac_includes_default
14213int
14214main ()
14215{
14216static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14217test_array [0] = 0
14218
14219 ;
14220 return 0;
14221}
14222_ACEOF
14223rm -f conftest.$ac_objext
14224if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14225 (eval $ac_compile) 2>&5
14226 ac_status=$?
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } &&
14229 { ac_try='test -s conftest.$ac_objext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 ac_hi=$ac_mid; break
14236else
14237 echo "$as_me: failed program was:" >&5
14238sed 's/^/| /' conftest.$ac_ext >&5
14239
14240ac_lo=`expr $ac_mid + 1`
14241 if test $ac_lo -le $ac_mid; then
14242 ac_lo= ac_hi=
14243 break
14244 fi
14245 ac_mid=`expr 2 '*' $ac_mid + 1`
14246fi
14247rm -f conftest.$ac_objext conftest.$ac_ext
14248 done
14249else
14250 echo "$as_me: failed program was:" >&5
14251sed 's/^/| /' conftest.$ac_ext >&5
14252
14253cat >conftest.$ac_ext <<_ACEOF
14254#line $LINENO "configure"
14255/* confdefs.h. */
14256_ACEOF
14257cat confdefs.h >>conftest.$ac_ext
14258cat >>conftest.$ac_ext <<_ACEOF
14259/* end confdefs.h. */
14260$ac_includes_default
14261int
14262main ()
14263{
14264static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14265test_array [0] = 0
14266
14267 ;
14268 return 0;
14269}
14270_ACEOF
14271rm -f conftest.$ac_objext
14272if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>&5
14274 ac_status=$?
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } &&
14277 { ac_try='test -s conftest.$ac_objext'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14280 ac_status=$?
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; }; then
14283 ac_hi=-1 ac_mid=-1
14284 while :; do
14285 cat >conftest.$ac_ext <<_ACEOF
14286#line $LINENO "configure"
14287/* confdefs.h. */
14288_ACEOF
14289cat confdefs.h >>conftest.$ac_ext
14290cat >>conftest.$ac_ext <<_ACEOF
14291/* end confdefs.h. */
14292$ac_includes_default
14293int
14294main ()
14295{
14296static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14297test_array [0] = 0
14298
14299 ;
14300 return 0;
14301}
14302_ACEOF
14303rm -f conftest.$ac_objext
14304if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14305 (eval $ac_compile) 2>&5
14306 ac_status=$?
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } &&
14309 { ac_try='test -s conftest.$ac_objext'
14310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14311 (eval $ac_try) 2>&5
14312 ac_status=$?
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); }; }; then
14315 ac_lo=$ac_mid; break
14316else
14317 echo "$as_me: failed program was:" >&5
14318sed 's/^/| /' conftest.$ac_ext >&5
14319
14320ac_hi=`expr '(' $ac_mid ')' - 1`
14321 if test $ac_mid -le $ac_hi; then
14322 ac_lo= ac_hi=
14323 break
14324 fi
14325 ac_mid=`expr 2 '*' $ac_mid`
14326fi
14327rm -f conftest.$ac_objext conftest.$ac_ext
14328 done
14329else
14330 echo "$as_me: failed program was:" >&5
14331sed 's/^/| /' conftest.$ac_ext >&5
14332
14333ac_lo= ac_hi=
14334fi
14335rm -f conftest.$ac_objext conftest.$ac_ext
14336fi
14337rm -f conftest.$ac_objext conftest.$ac_ext
14338# Binary search between lo and hi bounds.
14339while test "x$ac_lo" != "x$ac_hi"; do
14340 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14341 cat >conftest.$ac_ext <<_ACEOF
14342#line $LINENO "configure"
14343/* confdefs.h. */
14344_ACEOF
14345cat confdefs.h >>conftest.$ac_ext
14346cat >>conftest.$ac_ext <<_ACEOF
14347/* end confdefs.h. */
14348$ac_includes_default
14349int
14350main ()
14351{
14352static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14353test_array [0] = 0
14354
14355 ;
14356 return 0;
14357}
14358_ACEOF
14359rm -f conftest.$ac_objext
14360if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14361 (eval $ac_compile) 2>&5
14362 ac_status=$?
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try='test -s conftest.$ac_objext'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14368 ac_status=$?
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; }; then
14371 ac_hi=$ac_mid
14372else
14373 echo "$as_me: failed program was:" >&5
14374sed 's/^/| /' conftest.$ac_ext >&5
14375
14376ac_lo=`expr '(' $ac_mid ')' + 1`
14377fi
14378rm -f conftest.$ac_objext conftest.$ac_ext
14379done
14380case $ac_lo in
14381?*) ac_cv_sizeof_short=$ac_lo;;
14382'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14383See \`config.log' for more details." >&5
14384echo "$as_me: error: cannot compute sizeof (short), 77
14385See \`config.log' for more details." >&2;}
14386 { (exit 1); exit 1; }; } ;;
14387esac
14388else
14389 if test "$cross_compiling" = yes; then
14390 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14391See \`config.log' for more details." >&5
14392echo "$as_me: error: cannot run test program while cross compiling
14393See \`config.log' for more details." >&2;}
14394 { (exit 1); exit 1; }; }
14395else
14396 cat >conftest.$ac_ext <<_ACEOF
14397#line $LINENO "configure"
14398/* confdefs.h. */
14399_ACEOF
14400cat confdefs.h >>conftest.$ac_ext
14401cat >>conftest.$ac_ext <<_ACEOF
14402/* end confdefs.h. */
14403$ac_includes_default
14404long longval () { return (long) (sizeof (short)); }
14405unsigned long ulongval () { return (long) (sizeof (short)); }
14406#include <stdio.h>
14407#include <stdlib.h>
14408int
14409main ()
14410{
14411
14412 FILE *f = fopen ("conftest.val", "w");
14413 if (! f)
14414 exit (1);
14415 if (((long) (sizeof (short))) < 0)
14416 {
14417 long i = longval ();
14418 if (i != ((long) (sizeof (short))))
14419 exit (1);
14420 fprintf (f, "%ld\n", i);
14421 }
14422 else
14423 {
14424 unsigned long i = ulongval ();
14425 if (i != ((long) (sizeof (short))))
14426 exit (1);
14427 fprintf (f, "%lu\n", i);
14428 }
14429 exit (ferror (f) || fclose (f) != 0);
14430
14431 ;
14432 return 0;
14433}
14434_ACEOF
14435rm -f conftest$ac_exeext
14436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14437 (eval $ac_link) 2>&5
14438 ac_status=$?
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14443 ac_status=$?
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_cv_sizeof_short=`cat conftest.val`
14447else
14448 echo "$as_me: program exited with status $ac_status" >&5
14449echo "$as_me: failed program was:" >&5
14450sed 's/^/| /' conftest.$ac_ext >&5
14451
14452( exit $ac_status )
14453{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14454See \`config.log' for more details." >&5
14455echo "$as_me: error: cannot compute sizeof (short), 77
14456See \`config.log' for more details." >&2;}
14457 { (exit 1); exit 1; }; }
14458fi
14459rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14460fi
14461fi
14462rm -f conftest.val
14463else
14464 ac_cv_sizeof_short=0
14465fi
14466fi
14467echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14468echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14469cat >>confdefs.h <<_ACEOF
14470#define SIZEOF_SHORT $ac_cv_sizeof_short
14471_ACEOF
14472
14473
14474echo "$as_me:$LINENO: checking for void *" >&5
14475echo $ECHO_N "checking for void *... $ECHO_C" >&6
14476if test "${ac_cv_type_void_p+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14478else
14479 cat >conftest.$ac_ext <<_ACEOF
14480#line $LINENO "configure"
14481/* confdefs.h. */
14482_ACEOF
14483cat confdefs.h >>conftest.$ac_ext
14484cat >>conftest.$ac_ext <<_ACEOF
14485/* end confdefs.h. */
14486$ac_includes_default
14487int
14488main ()
14489{
14490if ((void * *) 0)
14491 return 0;
14492if (sizeof (void *))
14493 return 0;
14494 ;
14495 return 0;
14496}
14497_ACEOF
14498rm -f conftest.$ac_objext
14499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14500 (eval $ac_compile) 2>&5
14501 ac_status=$?
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); } &&
14504 { ac_try='test -s conftest.$ac_objext'
14505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14506 (eval $ac_try) 2>&5
14507 ac_status=$?
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); }; }; then
14510 ac_cv_type_void_p=yes
14511else
14512 echo "$as_me: failed program was:" >&5
14513sed 's/^/| /' conftest.$ac_ext >&5
14514
14515ac_cv_type_void_p=no
14516fi
14517rm -f conftest.$ac_objext conftest.$ac_ext
14518fi
14519echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14520echo "${ECHO_T}$ac_cv_type_void_p" >&6
14521
14522echo "$as_me:$LINENO: checking size of void *" >&5
14523echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14524if test "${ac_cv_sizeof_void_p+set}" = set; then
14525 echo $ECHO_N "(cached) $ECHO_C" >&6
14526else
14527 if test "$ac_cv_type_void_p" = yes; then
14528 # The cast to unsigned long works around a bug in the HP C Compiler
14529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14531 # This bug is HP SR number 8606223364.
14532 if test "$cross_compiling" = yes; then
14533 # Depending upon the size, compute the lo and hi bounds.
14534cat >conftest.$ac_ext <<_ACEOF
14535#line $LINENO "configure"
14536/* confdefs.h. */
14537_ACEOF
14538cat confdefs.h >>conftest.$ac_ext
14539cat >>conftest.$ac_ext <<_ACEOF
14540/* end confdefs.h. */
14541$ac_includes_default
14542int
14543main ()
14544{
14545static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14546test_array [0] = 0
14547
14548 ;
14549 return 0;
14550}
14551_ACEOF
14552rm -f conftest.$ac_objext
14553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14554 (eval $ac_compile) 2>&5
14555 ac_status=$?
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } &&
14558 { ac_try='test -s conftest.$ac_objext'
14559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560 (eval $ac_try) 2>&5
14561 ac_status=$?
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); }; }; then
14564 ac_lo=0 ac_mid=0
14565 while :; do
14566 cat >conftest.$ac_ext <<_ACEOF
14567#line $LINENO "configure"
14568/* confdefs.h. */
14569_ACEOF
14570cat confdefs.h >>conftest.$ac_ext
14571cat >>conftest.$ac_ext <<_ACEOF
14572/* end confdefs.h. */
14573$ac_includes_default
14574int
14575main ()
14576{
14577static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14578test_array [0] = 0
14579
14580 ;
14581 return 0;
14582}
14583_ACEOF
14584rm -f conftest.$ac_objext
14585if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14586 (eval $ac_compile) 2>&5
14587 ac_status=$?
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try='test -s conftest.$ac_objext'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; }; then
14596 ac_hi=$ac_mid; break
14597else
14598 echo "$as_me: failed program was:" >&5
14599sed 's/^/| /' conftest.$ac_ext >&5
14600
14601ac_lo=`expr $ac_mid + 1`
14602 if test $ac_lo -le $ac_mid; then
14603 ac_lo= ac_hi=
14604 break
14605 fi
14606 ac_mid=`expr 2 '*' $ac_mid + 1`
14607fi
14608rm -f conftest.$ac_objext conftest.$ac_ext
14609 done
14610else
14611 echo "$as_me: failed program was:" >&5
14612sed 's/^/| /' conftest.$ac_ext >&5
14613
14614cat >conftest.$ac_ext <<_ACEOF
14615#line $LINENO "configure"
14616/* confdefs.h. */
14617_ACEOF
14618cat confdefs.h >>conftest.$ac_ext
14619cat >>conftest.$ac_ext <<_ACEOF
14620/* end confdefs.h. */
14621$ac_includes_default
14622int
14623main ()
14624{
14625static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14626test_array [0] = 0
14627
14628 ;
14629 return 0;
14630}
14631_ACEOF
14632rm -f conftest.$ac_objext
14633if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14634 (eval $ac_compile) 2>&5
14635 ac_status=$?
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try='test -s conftest.$ac_objext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14641 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14644 ac_hi=-1 ac_mid=-1
14645 while :; do
14646 cat >conftest.$ac_ext <<_ACEOF
14647#line $LINENO "configure"
14648/* confdefs.h. */
14649_ACEOF
14650cat confdefs.h >>conftest.$ac_ext
14651cat >>conftest.$ac_ext <<_ACEOF
14652/* end confdefs.h. */
14653$ac_includes_default
14654int
14655main ()
14656{
14657static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14658test_array [0] = 0
14659
14660 ;
14661 return 0;
14662}
14663_ACEOF
14664rm -f conftest.$ac_objext
14665if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14666 (eval $ac_compile) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } &&
14670 { ac_try='test -s conftest.$ac_objext'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14673 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14676 ac_lo=$ac_mid; break
14677else
14678 echo "$as_me: failed program was:" >&5
14679sed 's/^/| /' conftest.$ac_ext >&5
14680
14681ac_hi=`expr '(' $ac_mid ')' - 1`
14682 if test $ac_mid -le $ac_hi; then
14683 ac_lo= ac_hi=
14684 break
14685 fi
14686 ac_mid=`expr 2 '*' $ac_mid`
14687fi
14688rm -f conftest.$ac_objext conftest.$ac_ext
14689 done
14690else
14691 echo "$as_me: failed program was:" >&5
14692sed 's/^/| /' conftest.$ac_ext >&5
14693
14694ac_lo= ac_hi=
14695fi
14696rm -f conftest.$ac_objext conftest.$ac_ext
14697fi
14698rm -f conftest.$ac_objext conftest.$ac_ext
14699# Binary search between lo and hi bounds.
14700while test "x$ac_lo" != "x$ac_hi"; do
14701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14702 cat >conftest.$ac_ext <<_ACEOF
14703#line $LINENO "configure"
14704/* confdefs.h. */
14705_ACEOF
14706cat confdefs.h >>conftest.$ac_ext
14707cat >>conftest.$ac_ext <<_ACEOF
14708/* end confdefs.h. */
14709$ac_includes_default
14710int
14711main ()
14712{
14713static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14714test_array [0] = 0
14715
14716 ;
14717 return 0;
14718}
14719_ACEOF
14720rm -f conftest.$ac_objext
14721if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14722 (eval $ac_compile) 2>&5
14723 ac_status=$?
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } &&
14726 { ac_try='test -s conftest.$ac_objext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14732 ac_hi=$ac_mid
14733else
14734 echo "$as_me: failed program was:" >&5
14735sed 's/^/| /' conftest.$ac_ext >&5
14736
14737ac_lo=`expr '(' $ac_mid ')' + 1`
14738fi
14739rm -f conftest.$ac_objext conftest.$ac_ext
14740done
14741case $ac_lo in
14742?*) ac_cv_sizeof_void_p=$ac_lo;;
14743'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14744See \`config.log' for more details." >&5
14745echo "$as_me: error: cannot compute sizeof (void *), 77
14746See \`config.log' for more details." >&2;}
14747 { (exit 1); exit 1; }; } ;;
14748esac
14749else
14750 if test "$cross_compiling" = yes; then
14751 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14752See \`config.log' for more details." >&5
14753echo "$as_me: error: cannot run test program while cross compiling
14754See \`config.log' for more details." >&2;}
14755 { (exit 1); exit 1; }; }
14756else
14757 cat >conftest.$ac_ext <<_ACEOF
14758#line $LINENO "configure"
14759/* confdefs.h. */
14760_ACEOF
14761cat confdefs.h >>conftest.$ac_ext
14762cat >>conftest.$ac_ext <<_ACEOF
14763/* end confdefs.h. */
14764$ac_includes_default
14765long longval () { return (long) (sizeof (void *)); }
14766unsigned long ulongval () { return (long) (sizeof (void *)); }
14767#include <stdio.h>
14768#include <stdlib.h>
14769int
14770main ()
14771{
14772
14773 FILE *f = fopen ("conftest.val", "w");
14774 if (! f)
14775 exit (1);
14776 if (((long) (sizeof (void *))) < 0)
14777 {
14778 long i = longval ();
14779 if (i != ((long) (sizeof (void *))))
14780 exit (1);
14781 fprintf (f, "%ld\n", i);
14782 }
14783 else
14784 {
14785 unsigned long i = ulongval ();
14786 if (i != ((long) (sizeof (void *))))
14787 exit (1);
14788 fprintf (f, "%lu\n", i);
14789 }
14790 exit (ferror (f) || fclose (f) != 0);
14791
14792 ;
14793 return 0;
14794}
14795_ACEOF
14796rm -f conftest$ac_exeext
14797if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14798 (eval $ac_link) 2>&5
14799 ac_status=$?
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; }; then
14807 ac_cv_sizeof_void_p=`cat conftest.val`
14808else
14809 echo "$as_me: program exited with status $ac_status" >&5
14810echo "$as_me: failed program was:" >&5
14811sed 's/^/| /' conftest.$ac_ext >&5
14812
14813( exit $ac_status )
14814{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14815See \`config.log' for more details." >&5
14816echo "$as_me: error: cannot compute sizeof (void *), 77
14817See \`config.log' for more details." >&2;}
14818 { (exit 1); exit 1; }; }
14819fi
14820rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14821fi
14822fi
14823rm -f conftest.val
14824else
14825 ac_cv_sizeof_void_p=0
14826fi
14827fi
14828echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14829echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14830cat >>confdefs.h <<_ACEOF
14831#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14832_ACEOF
14833
14834
14835echo "$as_me:$LINENO: checking for int" >&5
14836echo $ECHO_N "checking for int... $ECHO_C" >&6
14837if test "${ac_cv_type_int+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839else
14840 cat >conftest.$ac_ext <<_ACEOF
14841#line $LINENO "configure"
14842/* confdefs.h. */
14843_ACEOF
14844cat confdefs.h >>conftest.$ac_ext
14845cat >>conftest.$ac_ext <<_ACEOF
14846/* end confdefs.h. */
14847$ac_includes_default
14848int
14849main ()
14850{
14851if ((int *) 0)
14852 return 0;
14853if (sizeof (int))
14854 return 0;
14855 ;
14856 return 0;
14857}
14858_ACEOF
14859rm -f conftest.$ac_objext
14860if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14861 (eval $ac_compile) 2>&5
14862 ac_status=$?
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } &&
14865 { ac_try='test -s conftest.$ac_objext'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14868 ac_status=$?
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; }; then
14871 ac_cv_type_int=yes
14872else
14873 echo "$as_me: failed program was:" >&5
14874sed 's/^/| /' conftest.$ac_ext >&5
14875
14876ac_cv_type_int=no
14877fi
14878rm -f conftest.$ac_objext conftest.$ac_ext
14879fi
14880echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14881echo "${ECHO_T}$ac_cv_type_int" >&6
14882
14883echo "$as_me:$LINENO: checking size of int" >&5
14884echo $ECHO_N "checking size of int... $ECHO_C" >&6
14885if test "${ac_cv_sizeof_int+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887else
14888 if test "$ac_cv_type_int" = yes; then
14889 # The cast to unsigned long works around a bug in the HP C Compiler
14890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14892 # This bug is HP SR number 8606223364.
14893 if test "$cross_compiling" = yes; then
14894 # Depending upon the size, compute the lo and hi bounds.
14895cat >conftest.$ac_ext <<_ACEOF
14896#line $LINENO "configure"
14897/* confdefs.h. */
14898_ACEOF
14899cat confdefs.h >>conftest.$ac_ext
14900cat >>conftest.$ac_ext <<_ACEOF
14901/* end confdefs.h. */
14902$ac_includes_default
14903int
14904main ()
14905{
14906static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14907test_array [0] = 0
14908
14909 ;
14910 return 0;
14911}
14912_ACEOF
14913rm -f conftest.$ac_objext
14914if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14915 (eval $ac_compile) 2>&5
14916 ac_status=$?
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } &&
14919 { ac_try='test -s conftest.$ac_objext'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14922 ac_status=$?
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14925 ac_lo=0 ac_mid=0
14926 while :; do
14927 cat >conftest.$ac_ext <<_ACEOF
14928#line $LINENO "configure"
14929/* confdefs.h. */
14930_ACEOF
14931cat confdefs.h >>conftest.$ac_ext
14932cat >>conftest.$ac_ext <<_ACEOF
14933/* end confdefs.h. */
14934$ac_includes_default
14935int
14936main ()
14937{
14938static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14939test_array [0] = 0
14940
14941 ;
14942 return 0;
14943}
14944_ACEOF
14945rm -f conftest.$ac_objext
14946if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947 (eval $ac_compile) 2>&5
14948 ac_status=$?
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } &&
14951 { ac_try='test -s conftest.$ac_objext'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14954 ac_status=$?
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; }; then
14957 ac_hi=$ac_mid; break
14958else
14959 echo "$as_me: failed program was:" >&5
14960sed 's/^/| /' conftest.$ac_ext >&5
14961
14962ac_lo=`expr $ac_mid + 1`
14963 if test $ac_lo -le $ac_mid; then
14964 ac_lo= ac_hi=
14965 break
14966 fi
14967 ac_mid=`expr 2 '*' $ac_mid + 1`
14968fi
14969rm -f conftest.$ac_objext conftest.$ac_ext
14970 done
14971else
14972 echo "$as_me: failed program was:" >&5
14973sed 's/^/| /' conftest.$ac_ext >&5
14974
14975cat >conftest.$ac_ext <<_ACEOF
14976#line $LINENO "configure"
14977/* confdefs.h. */
14978_ACEOF
14979cat confdefs.h >>conftest.$ac_ext
14980cat >>conftest.$ac_ext <<_ACEOF
14981/* end confdefs.h. */
14982$ac_includes_default
14983int
14984main ()
14985{
14986static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14987test_array [0] = 0
14988
14989 ;
14990 return 0;
14991}
14992_ACEOF
14993rm -f conftest.$ac_objext
14994if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14995 (eval $ac_compile) 2>&5
14996 ac_status=$?
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -s conftest.$ac_objext'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15002 ac_status=$?
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; }; then
15005 ac_hi=-1 ac_mid=-1
15006 while :; do
15007 cat >conftest.$ac_ext <<_ACEOF
15008#line $LINENO "configure"
15009/* confdefs.h. */
15010_ACEOF
15011cat confdefs.h >>conftest.$ac_ext
15012cat >>conftest.$ac_ext <<_ACEOF
15013/* end confdefs.h. */
15014$ac_includes_default
15015int
15016main ()
15017{
15018static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15019test_array [0] = 0
15020
15021 ;
15022 return 0;
15023}
15024_ACEOF
15025rm -f conftest.$ac_objext
15026if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15027 (eval $ac_compile) 2>&5
15028 ac_status=$?
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } &&
15031 { ac_try='test -s conftest.$ac_objext'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; }; then
15037 ac_lo=$ac_mid; break
15038else
15039 echo "$as_me: failed program was:" >&5
15040sed 's/^/| /' conftest.$ac_ext >&5
15041
15042ac_hi=`expr '(' $ac_mid ')' - 1`
15043 if test $ac_mid -le $ac_hi; then
15044 ac_lo= ac_hi=
15045 break
15046 fi
15047 ac_mid=`expr 2 '*' $ac_mid`
15048fi
15049rm -f conftest.$ac_objext conftest.$ac_ext
15050 done
15051else
15052 echo "$as_me: failed program was:" >&5
15053sed 's/^/| /' conftest.$ac_ext >&5
15054
15055ac_lo= ac_hi=
15056fi
15057rm -f conftest.$ac_objext conftest.$ac_ext
15058fi
15059rm -f conftest.$ac_objext conftest.$ac_ext
15060# Binary search between lo and hi bounds.
15061while test "x$ac_lo" != "x$ac_hi"; do
15062 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15063 cat >conftest.$ac_ext <<_ACEOF
15064#line $LINENO "configure"
15065/* confdefs.h. */
15066_ACEOF
15067cat confdefs.h >>conftest.$ac_ext
15068cat >>conftest.$ac_ext <<_ACEOF
15069/* end confdefs.h. */
15070$ac_includes_default
15071int
15072main ()
15073{
15074static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15075test_array [0] = 0
15076
15077 ;
15078 return 0;
15079}
15080_ACEOF
15081rm -f conftest.$ac_objext
15082if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083 (eval $ac_compile) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 ac_hi=$ac_mid
15094else
15095 echo "$as_me: failed program was:" >&5
15096sed 's/^/| /' conftest.$ac_ext >&5
15097
15098ac_lo=`expr '(' $ac_mid ')' + 1`
15099fi
15100rm -f conftest.$ac_objext conftest.$ac_ext
15101done
15102case $ac_lo in
15103?*) ac_cv_sizeof_int=$ac_lo;;
15104'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15105See \`config.log' for more details." >&5
15106echo "$as_me: error: cannot compute sizeof (int), 77
15107See \`config.log' for more details." >&2;}
15108 { (exit 1); exit 1; }; } ;;
15109esac
15110else
15111 if test "$cross_compiling" = yes; then
15112 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15113See \`config.log' for more details." >&5
15114echo "$as_me: error: cannot run test program while cross compiling
15115See \`config.log' for more details." >&2;}
15116 { (exit 1); exit 1; }; }
15117else
15118 cat >conftest.$ac_ext <<_ACEOF
15119#line $LINENO "configure"
15120/* confdefs.h. */
15121_ACEOF
15122cat confdefs.h >>conftest.$ac_ext
15123cat >>conftest.$ac_ext <<_ACEOF
15124/* end confdefs.h. */
15125$ac_includes_default
15126long longval () { return (long) (sizeof (int)); }
15127unsigned long ulongval () { return (long) (sizeof (int)); }
15128#include <stdio.h>
15129#include <stdlib.h>
15130int
15131main ()
15132{
15133
15134 FILE *f = fopen ("conftest.val", "w");
15135 if (! f)
15136 exit (1);
15137 if (((long) (sizeof (int))) < 0)
15138 {
15139 long i = longval ();
15140 if (i != ((long) (sizeof (int))))
15141 exit (1);
15142 fprintf (f, "%ld\n", i);
15143 }
15144 else
15145 {
15146 unsigned long i = ulongval ();
15147 if (i != ((long) (sizeof (int))))
15148 exit (1);
15149 fprintf (f, "%lu\n", i);
15150 }
15151 exit (ferror (f) || fclose (f) != 0);
15152
15153 ;
15154 return 0;
15155}
15156_ACEOF
15157rm -f conftest$ac_exeext
15158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15159 (eval $ac_link) 2>&5
15160 ac_status=$?
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15165 ac_status=$?
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_sizeof_int=`cat conftest.val`
15169else
15170 echo "$as_me: program exited with status $ac_status" >&5
15171echo "$as_me: failed program was:" >&5
15172sed 's/^/| /' conftest.$ac_ext >&5
15173
15174( exit $ac_status )
15175{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15176See \`config.log' for more details." >&5
15177echo "$as_me: error: cannot compute sizeof (int), 77
15178See \`config.log' for more details." >&2;}
15179 { (exit 1); exit 1; }; }
15180fi
15181rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15182fi
15183fi
15184rm -f conftest.val
15185else
15186 ac_cv_sizeof_int=0
15187fi
15188fi
15189echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15190echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15191cat >>confdefs.h <<_ACEOF
15192#define SIZEOF_INT $ac_cv_sizeof_int
15193_ACEOF
15194
15195
15196echo "$as_me:$LINENO: checking for long" >&5
15197echo $ECHO_N "checking for long... $ECHO_C" >&6
15198if test "${ac_cv_type_long+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15200else
15201 cat >conftest.$ac_ext <<_ACEOF
15202#line $LINENO "configure"
15203/* confdefs.h. */
15204_ACEOF
15205cat confdefs.h >>conftest.$ac_ext
15206cat >>conftest.$ac_ext <<_ACEOF
15207/* end confdefs.h. */
15208$ac_includes_default
15209int
15210main ()
15211{
15212if ((long *) 0)
15213 return 0;
15214if (sizeof (long))
15215 return 0;
15216 ;
15217 return 0;
15218}
15219_ACEOF
15220rm -f conftest.$ac_objext
15221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15222 (eval $ac_compile) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } &&
15226 { ac_try='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15229 ac_status=$?
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_type_long=yes
15233else
15234 echo "$as_me: failed program was:" >&5
15235sed 's/^/| /' conftest.$ac_ext >&5
15236
15237ac_cv_type_long=no
15238fi
15239rm -f conftest.$ac_objext conftest.$ac_ext
15240fi
15241echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15242echo "${ECHO_T}$ac_cv_type_long" >&6
15243
15244echo "$as_me:$LINENO: checking size of long" >&5
15245echo $ECHO_N "checking size of long... $ECHO_C" >&6
15246if test "${ac_cv_sizeof_long+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15248else
15249 if test "$ac_cv_type_long" = yes; then
15250 # The cast to unsigned long works around a bug in the HP C Compiler
15251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15253 # This bug is HP SR number 8606223364.
15254 if test "$cross_compiling" = yes; then
15255 # Depending upon the size, compute the lo and hi bounds.
15256cat >conftest.$ac_ext <<_ACEOF
15257#line $LINENO "configure"
15258/* confdefs.h. */
15259_ACEOF
15260cat confdefs.h >>conftest.$ac_ext
15261cat >>conftest.$ac_ext <<_ACEOF
15262/* end confdefs.h. */
15263$ac_includes_default
15264int
15265main ()
15266{
15267static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15268test_array [0] = 0
15269
15270 ;
15271 return 0;
15272}
15273_ACEOF
15274rm -f conftest.$ac_objext
15275if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15276 (eval $ac_compile) 2>&5
15277 ac_status=$?
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } &&
15280 { ac_try='test -s conftest.$ac_objext'
15281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 (eval $ac_try) 2>&5
15283 ac_status=$?
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); }; }; then
15286 ac_lo=0 ac_mid=0
15287 while :; do
15288 cat >conftest.$ac_ext <<_ACEOF
15289#line $LINENO "configure"
15290/* confdefs.h. */
15291_ACEOF
15292cat confdefs.h >>conftest.$ac_ext
15293cat >>conftest.$ac_ext <<_ACEOF
15294/* end confdefs.h. */
15295$ac_includes_default
15296int
15297main ()
15298{
15299static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15300test_array [0] = 0
15301
15302 ;
15303 return 0;
15304}
15305_ACEOF
15306rm -f conftest.$ac_objext
15307if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>&5
15309 ac_status=$?
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); } &&
15312 { ac_try='test -s conftest.$ac_objext'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15315 ac_status=$?
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; }; then
15318 ac_hi=$ac_mid; break
15319else
15320 echo "$as_me: failed program was:" >&5
15321sed 's/^/| /' conftest.$ac_ext >&5
15322
15323ac_lo=`expr $ac_mid + 1`
15324 if test $ac_lo -le $ac_mid; then
15325 ac_lo= ac_hi=
15326 break
15327 fi
15328 ac_mid=`expr 2 '*' $ac_mid + 1`
15329fi
15330rm -f conftest.$ac_objext conftest.$ac_ext
15331 done
15332else
15333 echo "$as_me: failed program was:" >&5
15334sed 's/^/| /' conftest.$ac_ext >&5
15335
15336cat >conftest.$ac_ext <<_ACEOF
15337#line $LINENO "configure"
15338/* confdefs.h. */
15339_ACEOF
15340cat confdefs.h >>conftest.$ac_ext
15341cat >>conftest.$ac_ext <<_ACEOF
15342/* end confdefs.h. */
15343$ac_includes_default
15344int
15345main ()
15346{
15347static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15348test_array [0] = 0
15349
15350 ;
15351 return 0;
15352}
15353_ACEOF
15354rm -f conftest.$ac_objext
15355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15356 (eval $ac_compile) 2>&5
15357 ac_status=$?
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try='test -s conftest.$ac_objext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15363 ac_status=$?
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; }; then
15366 ac_hi=-1 ac_mid=-1
15367 while :; do
15368 cat >conftest.$ac_ext <<_ACEOF
15369#line $LINENO "configure"
15370/* confdefs.h. */
15371_ACEOF
15372cat confdefs.h >>conftest.$ac_ext
15373cat >>conftest.$ac_ext <<_ACEOF
15374/* end confdefs.h. */
15375$ac_includes_default
15376int
15377main ()
15378{
15379static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15380test_array [0] = 0
15381
15382 ;
15383 return 0;
15384}
15385_ACEOF
15386rm -f conftest.$ac_objext
15387if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>&5
15389 ac_status=$?
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } &&
15392 { ac_try='test -s conftest.$ac_objext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15395 ac_status=$?
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15398 ac_lo=$ac_mid; break
15399else
15400 echo "$as_me: failed program was:" >&5
15401sed 's/^/| /' conftest.$ac_ext >&5
15402
15403ac_hi=`expr '(' $ac_mid ')' - 1`
15404 if test $ac_mid -le $ac_hi; then
15405 ac_lo= ac_hi=
15406 break
15407 fi
15408 ac_mid=`expr 2 '*' $ac_mid`
15409fi
15410rm -f conftest.$ac_objext conftest.$ac_ext
15411 done
15412else
15413 echo "$as_me: failed program was:" >&5
15414sed 's/^/| /' conftest.$ac_ext >&5
15415
15416ac_lo= ac_hi=
15417fi
15418rm -f conftest.$ac_objext conftest.$ac_ext
15419fi
15420rm -f conftest.$ac_objext conftest.$ac_ext
15421# Binary search between lo and hi bounds.
15422while test "x$ac_lo" != "x$ac_hi"; do
15423 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15424 cat >conftest.$ac_ext <<_ACEOF
15425#line $LINENO "configure"
15426/* confdefs.h. */
15427_ACEOF
15428cat confdefs.h >>conftest.$ac_ext
15429cat >>conftest.$ac_ext <<_ACEOF
15430/* end confdefs.h. */
15431$ac_includes_default
15432int
15433main ()
15434{
15435static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15436test_array [0] = 0
15437
15438 ;
15439 return 0;
15440}
15441_ACEOF
15442rm -f conftest.$ac_objext
15443if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try='test -s conftest.$ac_objext'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15451 ac_status=$?
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; }; then
15454 ac_hi=$ac_mid
15455else
15456 echo "$as_me: failed program was:" >&5
15457sed 's/^/| /' conftest.$ac_ext >&5
15458
15459ac_lo=`expr '(' $ac_mid ')' + 1`
15460fi
15461rm -f conftest.$ac_objext conftest.$ac_ext
15462done
15463case $ac_lo in
15464?*) ac_cv_sizeof_long=$ac_lo;;
15465'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15466See \`config.log' for more details." >&5
15467echo "$as_me: error: cannot compute sizeof (long), 77
15468See \`config.log' for more details." >&2;}
15469 { (exit 1); exit 1; }; } ;;
15470esac
15471else
15472 if test "$cross_compiling" = yes; then
15473 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15474See \`config.log' for more details." >&5
15475echo "$as_me: error: cannot run test program while cross compiling
15476See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; }
15478else
15479 cat >conftest.$ac_ext <<_ACEOF
15480#line $LINENO "configure"
15481/* confdefs.h. */
15482_ACEOF
15483cat confdefs.h >>conftest.$ac_ext
15484cat >>conftest.$ac_ext <<_ACEOF
15485/* end confdefs.h. */
15486$ac_includes_default
15487long longval () { return (long) (sizeof (long)); }
15488unsigned long ulongval () { return (long) (sizeof (long)); }
15489#include <stdio.h>
15490#include <stdlib.h>
15491int
15492main ()
15493{
15494
15495 FILE *f = fopen ("conftest.val", "w");
15496 if (! f)
15497 exit (1);
15498 if (((long) (sizeof (long))) < 0)
15499 {
15500 long i = longval ();
15501 if (i != ((long) (sizeof (long))))
15502 exit (1);
15503 fprintf (f, "%ld\n", i);
15504 }
15505 else
15506 {
15507 unsigned long i = ulongval ();
15508 if (i != ((long) (sizeof (long))))
15509 exit (1);
15510 fprintf (f, "%lu\n", i);
15511 }
15512 exit (ferror (f) || fclose (f) != 0);
15513
15514 ;
15515 return 0;
15516}
15517_ACEOF
15518rm -f conftest$ac_exeext
15519if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15520 (eval $ac_link) 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15526 ac_status=$?
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; }; then
15529 ac_cv_sizeof_long=`cat conftest.val`
15530else
15531 echo "$as_me: program exited with status $ac_status" >&5
15532echo "$as_me: failed program was:" >&5
15533sed 's/^/| /' conftest.$ac_ext >&5
15534
15535( exit $ac_status )
15536{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15537See \`config.log' for more details." >&5
15538echo "$as_me: error: cannot compute sizeof (long), 77
15539See \`config.log' for more details." >&2;}
15540 { (exit 1); exit 1; }; }
15541fi
15542rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15543fi
15544fi
15545rm -f conftest.val
15546else
15547 ac_cv_sizeof_long=0
15548fi
15549fi
15550echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15551echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15552cat >>confdefs.h <<_ACEOF
15553#define SIZEOF_LONG $ac_cv_sizeof_long
15554_ACEOF
15555
15556
15557
15558case "${host}" in
15559 arm-*-linux* )
15560 echo "$as_me:$LINENO: checking for long long" >&5
15561echo $ECHO_N "checking for long long... $ECHO_C" >&6
15562if test "${ac_cv_type_long_long+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15564else
15565 cat >conftest.$ac_ext <<_ACEOF
15566#line $LINENO "configure"
15567/* confdefs.h. */
15568_ACEOF
15569cat confdefs.h >>conftest.$ac_ext
15570cat >>conftest.$ac_ext <<_ACEOF
15571/* end confdefs.h. */
15572$ac_includes_default
15573int
15574main ()
15575{
15576if ((long long *) 0)
15577 return 0;
15578if (sizeof (long long))
15579 return 0;
15580 ;
15581 return 0;
15582}
15583_ACEOF
15584rm -f conftest.$ac_objext
15585if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); } &&
15590 { ac_try='test -s conftest.$ac_objext'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15593 ac_status=$?
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 ac_cv_type_long_long=yes
15597else
15598 echo "$as_me: failed program was:" >&5
15599sed 's/^/| /' conftest.$ac_ext >&5
15600
15601ac_cv_type_long_long=no
15602fi
15603rm -f conftest.$ac_objext conftest.$ac_ext
15604fi
15605echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15606echo "${ECHO_T}$ac_cv_type_long_long" >&6
15607
15608echo "$as_me:$LINENO: checking size of long long" >&5
15609echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15610if test "${ac_cv_sizeof_long_long+set}" = set; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15612else
15613 if test "$ac_cv_type_long_long" = yes; then
15614 # The cast to unsigned long works around a bug in the HP C Compiler
15615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15617 # This bug is HP SR number 8606223364.
15618 if test "$cross_compiling" = yes; then
15619 # Depending upon the size, compute the lo and hi bounds.
15620cat >conftest.$ac_ext <<_ACEOF
15621#line $LINENO "configure"
15622/* confdefs.h. */
15623_ACEOF
15624cat confdefs.h >>conftest.$ac_ext
15625cat >>conftest.$ac_ext <<_ACEOF
15626/* end confdefs.h. */
15627$ac_includes_default
15628int
15629main ()
15630{
15631static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15632test_array [0] = 0
15633
15634 ;
15635 return 0;
15636}
15637_ACEOF
15638rm -f conftest.$ac_objext
15639if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15640 (eval $ac_compile) 2>&5
15641 ac_status=$?
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } &&
15644 { ac_try='test -s conftest.$ac_objext'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15647 ac_status=$?
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; }; then
15650 ac_lo=0 ac_mid=0
15651 while :; do
15652 cat >conftest.$ac_ext <<_ACEOF
15653#line $LINENO "configure"
15654/* confdefs.h. */
15655_ACEOF
15656cat confdefs.h >>conftest.$ac_ext
15657cat >>conftest.$ac_ext <<_ACEOF
15658/* end confdefs.h. */
15659$ac_includes_default
15660int
15661main ()
15662{
15663static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15664test_array [0] = 0
15665
15666 ;
15667 return 0;
15668}
15669_ACEOF
15670rm -f conftest.$ac_objext
15671if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15672 (eval $ac_compile) 2>&5
15673 ac_status=$?
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try='test -s conftest.$ac_objext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15682 ac_hi=$ac_mid; break
15683else
15684 echo "$as_me: failed program was:" >&5
15685sed 's/^/| /' conftest.$ac_ext >&5
15686
15687ac_lo=`expr $ac_mid + 1`
15688 if test $ac_lo -le $ac_mid; then
15689 ac_lo= ac_hi=
15690 break
15691 fi
15692 ac_mid=`expr 2 '*' $ac_mid + 1`
15693fi
15694rm -f conftest.$ac_objext conftest.$ac_ext
15695 done
15696else
15697 echo "$as_me: failed program was:" >&5
15698sed 's/^/| /' conftest.$ac_ext >&5
15699
15700cat >conftest.$ac_ext <<_ACEOF
15701#line $LINENO "configure"
15702/* confdefs.h. */
15703_ACEOF
15704cat confdefs.h >>conftest.$ac_ext
15705cat >>conftest.$ac_ext <<_ACEOF
15706/* end confdefs.h. */
15707$ac_includes_default
15708int
15709main ()
15710{
15711static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15712test_array [0] = 0
15713
15714 ;
15715 return 0;
15716}
15717_ACEOF
15718rm -f conftest.$ac_objext
15719if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15720 (eval $ac_compile) 2>&5
15721 ac_status=$?
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try='test -s conftest.$ac_objext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15727 ac_status=$?
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15730 ac_hi=-1 ac_mid=-1
15731 while :; do
15732 cat >conftest.$ac_ext <<_ACEOF
15733#line $LINENO "configure"
15734/* confdefs.h. */
15735_ACEOF
15736cat confdefs.h >>conftest.$ac_ext
15737cat >>conftest.$ac_ext <<_ACEOF
15738/* end confdefs.h. */
15739$ac_includes_default
15740int
15741main ()
15742{
15743static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15744test_array [0] = 0
15745
15746 ;
15747 return 0;
15748}
15749_ACEOF
15750rm -f conftest.$ac_objext
15751if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15752 (eval $ac_compile) 2>&5
15753 ac_status=$?
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } &&
15756 { ac_try='test -s conftest.$ac_objext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15759 ac_status=$?
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15762 ac_lo=$ac_mid; break
15763else
15764 echo "$as_me: failed program was:" >&5
15765sed 's/^/| /' conftest.$ac_ext >&5
15766
15767ac_hi=`expr '(' $ac_mid ')' - 1`
15768 if test $ac_mid -le $ac_hi; then
15769 ac_lo= ac_hi=
15770 break
15771 fi
15772 ac_mid=`expr 2 '*' $ac_mid`
15773fi
15774rm -f conftest.$ac_objext conftest.$ac_ext
15775 done
15776else
15777 echo "$as_me: failed program was:" >&5
15778sed 's/^/| /' conftest.$ac_ext >&5
15779
15780ac_lo= ac_hi=
15781fi
15782rm -f conftest.$ac_objext conftest.$ac_ext
15783fi
15784rm -f conftest.$ac_objext conftest.$ac_ext
15785# Binary search between lo and hi bounds.
15786while test "x$ac_lo" != "x$ac_hi"; do
15787 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15788 cat >conftest.$ac_ext <<_ACEOF
15789#line $LINENO "configure"
15790/* confdefs.h. */
15791_ACEOF
15792cat confdefs.h >>conftest.$ac_ext
15793cat >>conftest.$ac_ext <<_ACEOF
15794/* end confdefs.h. */
15795$ac_includes_default
15796int
15797main ()
15798{
15799static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15800test_array [0] = 0
15801
15802 ;
15803 return 0;
15804}
15805_ACEOF
15806rm -f conftest.$ac_objext
15807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15808 (eval $ac_compile) 2>&5
15809 ac_status=$?
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } &&
15812 { ac_try='test -s conftest.$ac_objext'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15815 ac_status=$?
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; }; then
15818 ac_hi=$ac_mid
15819else
15820 echo "$as_me: failed program was:" >&5
15821sed 's/^/| /' conftest.$ac_ext >&5
15822
15823ac_lo=`expr '(' $ac_mid ')' + 1`
15824fi
15825rm -f conftest.$ac_objext conftest.$ac_ext
15826done
15827case $ac_lo in
15828?*) ac_cv_sizeof_long_long=$ac_lo;;
15829'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15830See \`config.log' for more details." >&5
15831echo "$as_me: error: cannot compute sizeof (long long), 77
15832See \`config.log' for more details." >&2;}
15833 { (exit 1); exit 1; }; } ;;
15834esac
15835else
15836 if test "$cross_compiling" = yes; then
15837 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15838See \`config.log' for more details." >&5
15839echo "$as_me: error: cannot run test program while cross compiling
15840See \`config.log' for more details." >&2;}
15841 { (exit 1); exit 1; }; }
15842else
15843 cat >conftest.$ac_ext <<_ACEOF
15844#line $LINENO "configure"
15845/* confdefs.h. */
15846_ACEOF
15847cat confdefs.h >>conftest.$ac_ext
15848cat >>conftest.$ac_ext <<_ACEOF
15849/* end confdefs.h. */
15850$ac_includes_default
15851long longval () { return (long) (sizeof (long long)); }
15852unsigned long ulongval () { return (long) (sizeof (long long)); }
15853#include <stdio.h>
15854#include <stdlib.h>
15855int
15856main ()
15857{
15858
15859 FILE *f = fopen ("conftest.val", "w");
15860 if (! f)
15861 exit (1);
15862 if (((long) (sizeof (long long))) < 0)
15863 {
15864 long i = longval ();
15865 if (i != ((long) (sizeof (long long))))
15866 exit (1);
15867 fprintf (f, "%ld\n", i);
15868 }
15869 else
15870 {
15871 unsigned long i = ulongval ();
15872 if (i != ((long) (sizeof (long long))))
15873 exit (1);
15874 fprintf (f, "%lu\n", i);
15875 }
15876 exit (ferror (f) || fclose (f) != 0);
15877
15878 ;
15879 return 0;
15880}
15881_ACEOF
15882rm -f conftest$ac_exeext
15883if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884 (eval $ac_link) 2>&5
15885 ac_status=$?
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15890 ac_status=$?
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15893 ac_cv_sizeof_long_long=`cat conftest.val`
15894else
15895 echo "$as_me: program exited with status $ac_status" >&5
15896echo "$as_me: failed program was:" >&5
15897sed 's/^/| /' conftest.$ac_ext >&5
15898
15899( exit $ac_status )
15900{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15901See \`config.log' for more details." >&5
15902echo "$as_me: error: cannot compute sizeof (long long), 77
15903See \`config.log' for more details." >&2;}
15904 { (exit 1); exit 1; }; }
15905fi
15906rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15907fi
15908fi
15909rm -f conftest.val
15910else
15911 ac_cv_sizeof_long_long=0
15912fi
15913fi
15914echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15915echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15916cat >>confdefs.h <<_ACEOF
15917#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15918_ACEOF
15919
15920
15921 ;;
15922 *-hp-hpux* )
15923 echo "$as_me:$LINENO: checking for long long" >&5
15924echo $ECHO_N "checking for long long... $ECHO_C" >&6
15925if test "${ac_cv_type_long_long+set}" = set; then
15926 echo $ECHO_N "(cached) $ECHO_C" >&6
15927else
15928 cat >conftest.$ac_ext <<_ACEOF
15929#line $LINENO "configure"
15930/* confdefs.h. */
15931_ACEOF
15932cat confdefs.h >>conftest.$ac_ext
15933cat >>conftest.$ac_ext <<_ACEOF
15934/* end confdefs.h. */
15935$ac_includes_default
15936int
15937main ()
15938{
15939if ((long long *) 0)
15940 return 0;
15941if (sizeof (long long))
15942 return 0;
15943 ;
15944 return 0;
15945}
15946_ACEOF
15947rm -f conftest.$ac_objext
15948if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15949 (eval $ac_compile) 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
15953 { ac_try='test -s conftest.$ac_objext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15956 ac_status=$?
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 ac_cv_type_long_long=yes
15960else
15961 echo "$as_me: failed program was:" >&5
15962sed 's/^/| /' conftest.$ac_ext >&5
15963
15964ac_cv_type_long_long=no
15965fi
15966rm -f conftest.$ac_objext conftest.$ac_ext
15967fi
15968echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15969echo "${ECHO_T}$ac_cv_type_long_long" >&6
15970
15971echo "$as_me:$LINENO: checking size of long long" >&5
15972echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15973if test "${ac_cv_sizeof_long_long+set}" = set; then
15974 echo $ECHO_N "(cached) $ECHO_C" >&6
15975else
15976 if test "$ac_cv_type_long_long" = yes; then
15977 # The cast to unsigned long works around a bug in the HP C Compiler
15978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15979 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15980 # This bug is HP SR number 8606223364.
15981 if test "$cross_compiling" = yes; then
15982 # Depending upon the size, compute the lo and hi bounds.
15983cat >conftest.$ac_ext <<_ACEOF
15984#line $LINENO "configure"
15985/* confdefs.h. */
15986_ACEOF
15987cat confdefs.h >>conftest.$ac_ext
15988cat >>conftest.$ac_ext <<_ACEOF
15989/* end confdefs.h. */
15990$ac_includes_default
15991int
15992main ()
15993{
15994static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15995test_array [0] = 0
15996
15997 ;
15998 return 0;
15999}
16000_ACEOF
16001rm -f conftest.$ac_objext
16002if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16003 (eval $ac_compile) 2>&5
16004 ac_status=$?
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } &&
16007 { ac_try='test -s conftest.$ac_objext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16010 ac_status=$?
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 ac_lo=0 ac_mid=0
16014 while :; do
16015 cat >conftest.$ac_ext <<_ACEOF
16016#line $LINENO "configure"
16017/* confdefs.h. */
16018_ACEOF
16019cat confdefs.h >>conftest.$ac_ext
16020cat >>conftest.$ac_ext <<_ACEOF
16021/* end confdefs.h. */
16022$ac_includes_default
16023int
16024main ()
16025{
16026static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16027test_array [0] = 0
16028
16029 ;
16030 return 0;
16031}
16032_ACEOF
16033rm -f conftest.$ac_objext
16034if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16035 (eval $ac_compile) 2>&5
16036 ac_status=$?
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try='test -s conftest.$ac_objext'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16042 ac_status=$?
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; }; then
16045 ac_hi=$ac_mid; break
16046else
16047 echo "$as_me: failed program was:" >&5
16048sed 's/^/| /' conftest.$ac_ext >&5
16049
16050ac_lo=`expr $ac_mid + 1`
16051 if test $ac_lo -le $ac_mid; then
16052 ac_lo= ac_hi=
16053 break
16054 fi
16055 ac_mid=`expr 2 '*' $ac_mid + 1`
16056fi
16057rm -f conftest.$ac_objext conftest.$ac_ext
16058 done
16059else
16060 echo "$as_me: failed program was:" >&5
16061sed 's/^/| /' conftest.$ac_ext >&5
16062
16063cat >conftest.$ac_ext <<_ACEOF
16064#line $LINENO "configure"
16065/* confdefs.h. */
16066_ACEOF
16067cat confdefs.h >>conftest.$ac_ext
16068cat >>conftest.$ac_ext <<_ACEOF
16069/* end confdefs.h. */
16070$ac_includes_default
16071int
16072main ()
16073{
16074static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16075test_array [0] = 0
16076
16077 ;
16078 return 0;
16079}
16080_ACEOF
16081rm -f conftest.$ac_objext
16082if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>&5
16084 ac_status=$?
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try='test -s conftest.$ac_objext'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16090 ac_status=$?
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16093 ac_hi=-1 ac_mid=-1
16094 while :; do
16095 cat >conftest.$ac_ext <<_ACEOF
16096#line $LINENO "configure"
16097/* confdefs.h. */
16098_ACEOF
16099cat confdefs.h >>conftest.$ac_ext
16100cat >>conftest.$ac_ext <<_ACEOF
16101/* end confdefs.h. */
16102$ac_includes_default
16103int
16104main ()
16105{
16106static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16107test_array [0] = 0
16108
16109 ;
16110 return 0;
16111}
16112_ACEOF
16113rm -f conftest.$ac_objext
16114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16115 (eval $ac_compile) 2>&5
16116 ac_status=$?
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try='test -s conftest.$ac_objext'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16122 ac_status=$?
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; }; then
16125 ac_lo=$ac_mid; break
16126else
16127 echo "$as_me: failed program was:" >&5
16128sed 's/^/| /' conftest.$ac_ext >&5
16129
16130ac_hi=`expr '(' $ac_mid ')' - 1`
16131 if test $ac_mid -le $ac_hi; then
16132 ac_lo= ac_hi=
16133 break
16134 fi
16135 ac_mid=`expr 2 '*' $ac_mid`
16136fi
16137rm -f conftest.$ac_objext conftest.$ac_ext
16138 done
16139else
16140 echo "$as_me: failed program was:" >&5
16141sed 's/^/| /' conftest.$ac_ext >&5
16142
16143ac_lo= ac_hi=
16144fi
16145rm -f conftest.$ac_objext conftest.$ac_ext
16146fi
16147rm -f conftest.$ac_objext conftest.$ac_ext
16148# Binary search between lo and hi bounds.
16149while test "x$ac_lo" != "x$ac_hi"; do
16150 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16151 cat >conftest.$ac_ext <<_ACEOF
16152#line $LINENO "configure"
16153/* confdefs.h. */
16154_ACEOF
16155cat confdefs.h >>conftest.$ac_ext
16156cat >>conftest.$ac_ext <<_ACEOF
16157/* end confdefs.h. */
16158$ac_includes_default
16159int
16160main ()
16161{
16162static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16163test_array [0] = 0
16164
16165 ;
16166 return 0;
16167}
16168_ACEOF
16169rm -f conftest.$ac_objext
16170if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16171 (eval $ac_compile) 2>&5
16172 ac_status=$?
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try='test -s conftest.$ac_objext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 ac_hi=$ac_mid
16182else
16183 echo "$as_me: failed program was:" >&5
16184sed 's/^/| /' conftest.$ac_ext >&5
16185
16186ac_lo=`expr '(' $ac_mid ')' + 1`
16187fi
16188rm -f conftest.$ac_objext conftest.$ac_ext
16189done
16190case $ac_lo in
16191?*) ac_cv_sizeof_long_long=$ac_lo;;
16192'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16193See \`config.log' for more details." >&5
16194echo "$as_me: error: cannot compute sizeof (long long), 77
16195See \`config.log' for more details." >&2;}
16196 { (exit 1); exit 1; }; } ;;
16197esac
16198else
16199 if test "$cross_compiling" = yes; then
16200 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16201See \`config.log' for more details." >&5
16202echo "$as_me: error: cannot run test program while cross compiling
16203See \`config.log' for more details." >&2;}
16204 { (exit 1); exit 1; }; }
16205else
16206 cat >conftest.$ac_ext <<_ACEOF
16207#line $LINENO "configure"
16208/* confdefs.h. */
16209_ACEOF
16210cat confdefs.h >>conftest.$ac_ext
16211cat >>conftest.$ac_ext <<_ACEOF
16212/* end confdefs.h. */
16213$ac_includes_default
16214long longval () { return (long) (sizeof (long long)); }
16215unsigned long ulongval () { return (long) (sizeof (long long)); }
16216#include <stdio.h>
16217#include <stdlib.h>
16218int
16219main ()
16220{
16221
16222 FILE *f = fopen ("conftest.val", "w");
16223 if (! f)
16224 exit (1);
16225 if (((long) (sizeof (long long))) < 0)
16226 {
16227 long i = longval ();
16228 if (i != ((long) (sizeof (long long))))
16229 exit (1);
16230 fprintf (f, "%ld\n", i);
16231 }
16232 else
16233 {
16234 unsigned long i = ulongval ();
16235 if (i != ((long) (sizeof (long long))))
16236 exit (1);
16237 fprintf (f, "%lu\n", i);
16238 }
16239 exit (ferror (f) || fclose (f) != 0);
16240
16241 ;
16242 return 0;
16243}
16244_ACEOF
16245rm -f conftest$ac_exeext
16246if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16247 (eval $ac_link) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16253 ac_status=$?
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; }; then
16256 ac_cv_sizeof_long_long=`cat conftest.val`
16257else
16258 echo "$as_me: program exited with status $ac_status" >&5
16259echo "$as_me: failed program was:" >&5
16260sed 's/^/| /' conftest.$ac_ext >&5
16261
16262( exit $ac_status )
16263{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16264See \`config.log' for more details." >&5
16265echo "$as_me: error: cannot compute sizeof (long long), 77
16266See \`config.log' for more details." >&2;}
16267 { (exit 1); exit 1; }; }
16268fi
16269rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16270fi
16271fi
16272rm -f conftest.val
16273else
16274 ac_cv_sizeof_long_long=0
16275fi
16276fi
16277echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16278echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16279cat >>confdefs.h <<_ACEOF
16280#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16281_ACEOF
16282
16283
16284 if test "$ac_cv_sizeof_long_long" != "0"; then
16285 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16286 fi
16287 ;;
16288 * )
16289 echo "$as_me:$LINENO: checking for long long" >&5
16290echo $ECHO_N "checking for long long... $ECHO_C" >&6
16291if test "${ac_cv_type_long_long+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16293else
16294 cat >conftest.$ac_ext <<_ACEOF
16295#line $LINENO "configure"
16296/* confdefs.h. */
16297_ACEOF
16298cat confdefs.h >>conftest.$ac_ext
16299cat >>conftest.$ac_ext <<_ACEOF
16300/* end confdefs.h. */
16301$ac_includes_default
16302int
16303main ()
16304{
16305if ((long long *) 0)
16306 return 0;
16307if (sizeof (long long))
16308 return 0;
16309 ;
16310 return 0;
16311}
16312_ACEOF
16313rm -f conftest.$ac_objext
16314if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16315 (eval $ac_compile) 2>&5
16316 ac_status=$?
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } &&
16319 { ac_try='test -s conftest.$ac_objext'
16320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16321 (eval $ac_try) 2>&5
16322 ac_status=$?
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; }; then
16325 ac_cv_type_long_long=yes
16326else
16327 echo "$as_me: failed program was:" >&5
16328sed 's/^/| /' conftest.$ac_ext >&5
16329
16330ac_cv_type_long_long=no
16331fi
16332rm -f conftest.$ac_objext conftest.$ac_ext
16333fi
16334echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16335echo "${ECHO_T}$ac_cv_type_long_long" >&6
16336
16337echo "$as_me:$LINENO: checking size of long long" >&5
16338echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16339if test "${ac_cv_sizeof_long_long+set}" = set; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16341else
16342 if test "$ac_cv_type_long_long" = yes; then
16343 # The cast to unsigned long works around a bug in the HP C Compiler
16344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16346 # This bug is HP SR number 8606223364.
16347 if test "$cross_compiling" = yes; then
16348 # Depending upon the size, compute the lo and hi bounds.
16349cat >conftest.$ac_ext <<_ACEOF
16350#line $LINENO "configure"
16351/* confdefs.h. */
16352_ACEOF
16353cat confdefs.h >>conftest.$ac_ext
16354cat >>conftest.$ac_ext <<_ACEOF
16355/* end confdefs.h. */
16356$ac_includes_default
16357int
16358main ()
16359{
16360static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16361test_array [0] = 0
16362
16363 ;
16364 return 0;
16365}
16366_ACEOF
16367rm -f conftest.$ac_objext
16368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16369 (eval $ac_compile) 2>&5
16370 ac_status=$?
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } &&
16373 { ac_try='test -s conftest.$ac_objext'
16374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375 (eval $ac_try) 2>&5
16376 ac_status=$?
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }; }; then
16379 ac_lo=0 ac_mid=0
16380 while :; do
16381 cat >conftest.$ac_ext <<_ACEOF
16382#line $LINENO "configure"
16383/* confdefs.h. */
16384_ACEOF
16385cat confdefs.h >>conftest.$ac_ext
16386cat >>conftest.$ac_ext <<_ACEOF
16387/* end confdefs.h. */
16388$ac_includes_default
16389int
16390main ()
16391{
16392static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16393test_array [0] = 0
16394
16395 ;
16396 return 0;
16397}
16398_ACEOF
16399rm -f conftest.$ac_objext
16400if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>&5
16402 ac_status=$?
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } &&
16405 { ac_try='test -s conftest.$ac_objext'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16408 ac_status=$?
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 ac_hi=$ac_mid; break
16412else
16413 echo "$as_me: failed program was:" >&5
16414sed 's/^/| /' conftest.$ac_ext >&5
16415
16416ac_lo=`expr $ac_mid + 1`
16417 if test $ac_lo -le $ac_mid; then
16418 ac_lo= ac_hi=
16419 break
16420 fi
16421 ac_mid=`expr 2 '*' $ac_mid + 1`
16422fi
16423rm -f conftest.$ac_objext conftest.$ac_ext
16424 done
16425else
16426 echo "$as_me: failed program was:" >&5
16427sed 's/^/| /' conftest.$ac_ext >&5
16428
16429cat >conftest.$ac_ext <<_ACEOF
16430#line $LINENO "configure"
16431/* confdefs.h. */
16432_ACEOF
16433cat confdefs.h >>conftest.$ac_ext
16434cat >>conftest.$ac_ext <<_ACEOF
16435/* end confdefs.h. */
16436$ac_includes_default
16437int
16438main ()
16439{
16440static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16441test_array [0] = 0
16442
16443 ;
16444 return 0;
16445}
16446_ACEOF
16447rm -f conftest.$ac_objext
16448if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>&5
16450 ac_status=$?
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try='test -s conftest.$ac_objext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_hi=-1 ac_mid=-1
16460 while :; do
16461 cat >conftest.$ac_ext <<_ACEOF
16462#line $LINENO "configure"
16463/* confdefs.h. */
16464_ACEOF
16465cat confdefs.h >>conftest.$ac_ext
16466cat >>conftest.$ac_ext <<_ACEOF
16467/* end confdefs.h. */
16468$ac_includes_default
16469int
16470main ()
16471{
16472static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16473test_array [0] = 0
16474
16475 ;
16476 return 0;
16477}
16478_ACEOF
16479rm -f conftest.$ac_objext
16480if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>&5
16482 ac_status=$?
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
16485 { ac_try='test -s conftest.$ac_objext'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 ac_lo=$ac_mid; break
16492else
16493 echo "$as_me: failed program was:" >&5
16494sed 's/^/| /' conftest.$ac_ext >&5
16495
16496ac_hi=`expr '(' $ac_mid ')' - 1`
16497 if test $ac_mid -le $ac_hi; then
16498 ac_lo= ac_hi=
16499 break
16500 fi
16501 ac_mid=`expr 2 '*' $ac_mid`
16502fi
16503rm -f conftest.$ac_objext conftest.$ac_ext
16504 done
16505else
16506 echo "$as_me: failed program was:" >&5
16507sed 's/^/| /' conftest.$ac_ext >&5
16508
16509ac_lo= ac_hi=
16510fi
16511rm -f conftest.$ac_objext conftest.$ac_ext
16512fi
16513rm -f conftest.$ac_objext conftest.$ac_ext
16514# Binary search between lo and hi bounds.
16515while test "x$ac_lo" != "x$ac_hi"; do
16516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16517 cat >conftest.$ac_ext <<_ACEOF
16518#line $LINENO "configure"
16519/* confdefs.h. */
16520_ACEOF
16521cat confdefs.h >>conftest.$ac_ext
16522cat >>conftest.$ac_ext <<_ACEOF
16523/* end confdefs.h. */
16524$ac_includes_default
16525int
16526main ()
16527{
16528static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16529test_array [0] = 0
16530
16531 ;
16532 return 0;
16533}
16534_ACEOF
16535rm -f conftest.$ac_objext
16536if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16537 (eval $ac_compile) 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try='test -s conftest.$ac_objext'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16544 ac_status=$?
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; }; then
16547 ac_hi=$ac_mid
16548else
16549 echo "$as_me: failed program was:" >&5
16550sed 's/^/| /' conftest.$ac_ext >&5
16551
16552ac_lo=`expr '(' $ac_mid ')' + 1`
16553fi
16554rm -f conftest.$ac_objext conftest.$ac_ext
16555done
16556case $ac_lo in
16557?*) ac_cv_sizeof_long_long=$ac_lo;;
16558'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16559See \`config.log' for more details." >&5
16560echo "$as_me: error: cannot compute sizeof (long long), 77
16561See \`config.log' for more details." >&2;}
16562 { (exit 1); exit 1; }; } ;;
16563esac
16564else
16565 if test "$cross_compiling" = yes; then
16566 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16567See \`config.log' for more details." >&5
16568echo "$as_me: error: cannot run test program while cross compiling
16569See \`config.log' for more details." >&2;}
16570 { (exit 1); exit 1; }; }
16571else
16572 cat >conftest.$ac_ext <<_ACEOF
16573#line $LINENO "configure"
16574/* confdefs.h. */
16575_ACEOF
16576cat confdefs.h >>conftest.$ac_ext
16577cat >>conftest.$ac_ext <<_ACEOF
16578/* end confdefs.h. */
16579$ac_includes_default
16580long longval () { return (long) (sizeof (long long)); }
16581unsigned long ulongval () { return (long) (sizeof (long long)); }
16582#include <stdio.h>
16583#include <stdlib.h>
16584int
16585main ()
16586{
16587
16588 FILE *f = fopen ("conftest.val", "w");
16589 if (! f)
16590 exit (1);
16591 if (((long) (sizeof (long long))) < 0)
16592 {
16593 long i = longval ();
16594 if (i != ((long) (sizeof (long long))))
16595 exit (1);
16596 fprintf (f, "%ld\n", i);
16597 }
16598 else
16599 {
16600 unsigned long i = ulongval ();
16601 if (i != ((long) (sizeof (long long))))
16602 exit (1);
16603 fprintf (f, "%lu\n", i);
16604 }
16605 exit (ferror (f) || fclose (f) != 0);
16606
16607 ;
16608 return 0;
16609}
16610_ACEOF
16611rm -f conftest$ac_exeext
16612if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_cv_sizeof_long_long=`cat conftest.val`
16623else
16624 echo "$as_me: program exited with status $ac_status" >&5
16625echo "$as_me: failed program was:" >&5
16626sed 's/^/| /' conftest.$ac_ext >&5
16627
16628( exit $ac_status )
16629{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16630See \`config.log' for more details." >&5
16631echo "$as_me: error: cannot compute sizeof (long long), 77
16632See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; }
16634fi
16635rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16636fi
16637fi
16638rm -f conftest.val
16639else
16640 ac_cv_sizeof_long_long=0
16641fi
16642fi
16643echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16644echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16645cat >>confdefs.h <<_ACEOF
16646#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16647_ACEOF
16648
16649
16650esac
16651
16652echo "$as_me:$LINENO: checking size of wchar_t" >&5
16653echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16654if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16656else
16657
16658 if test "$cross_compiling" = yes; then
16659
16660 case "${host}" in
16661 *-pc-msdosdjgpp )
16662 wx_cv_sizeof_wchar_t=0
16663 ;;
16664 * )
16665 wx_cv_sizeof_wchar_t=4
16666 ;;
16667 esac
16668
16669
16670else
16671 cat >conftest.$ac_ext <<_ACEOF
16672#line $LINENO "configure"
16673/* confdefs.h. */
16674_ACEOF
16675cat confdefs.h >>conftest.$ac_ext
16676cat >>conftest.$ac_ext <<_ACEOF
16677/* end confdefs.h. */
16678
16679 /* DJGPP only has fake wchar_t: */
16680 #ifdef __DJGPP__
16681 # error "fake wchar_t"
16682 #endif
16683 #ifdef HAVE_WCHAR_H
16684 # ifdef __CYGWIN__
16685 # include <stddef.h>
16686 # endif
16687 # include <wchar.h>
16688 #endif
16689 #ifdef HAVE_STDLIB_H
16690 # include <stdlib.h>
16691 #endif
16692 #include <stdio.h>
16693 int main()
16694 {
16695 FILE *f=fopen("conftestval", "w");
16696 if (!f) exit(1);
16697 fprintf(f, "%i", sizeof(wchar_t));
16698 exit(0);
16699 }
16700
16701_ACEOF
16702rm -f conftest$ac_exeext
16703if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16704 (eval $ac_link) 2>&5
16705 ac_status=$?
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 wx_cv_sizeof_wchar_t=`cat conftestval`
16714else
16715 echo "$as_me: program exited with status $ac_status" >&5
16716echo "$as_me: failed program was:" >&5
16717sed 's/^/| /' conftest.$ac_ext >&5
16718
16719( exit $ac_status )
16720wx_cv_sizeof_wchar_t=0
16721fi
16722rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16723fi
16724
16725fi
16726echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16727echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16728
16729cat >>confdefs.h <<_ACEOF
16730#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16731_ACEOF
16732
16733
16734# Check whether --enable-largefile or --disable-largefile was given.
16735if test "${enable_largefile+set}" = set; then
16736 enableval="$enable_largefile"
16737
16738fi;
16739if test "$enable_largefile" != no; then
16740 wx_largefile=no
16741
16742 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16743echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16744if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16746else
16747
16748 cat >conftest.$ac_ext <<_ACEOF
16749#line $LINENO "configure"
16750/* confdefs.h. */
16751_ACEOF
16752cat confdefs.h >>conftest.$ac_ext
16753cat >>conftest.$ac_ext <<_ACEOF
16754/* end confdefs.h. */
16755#define _FILE_OFFSET_BITS 64
16756 #include <sys/types.h>
16757int
16758main ()
16759{
16760typedef struct {
16761 unsigned int field: sizeof(off_t) == 8;
16762} wxlf;
16763
16764 ;
16765 return 0;
16766}
16767_ACEOF
16768rm -f conftest.$ac_objext
16769if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16770 (eval $ac_compile) 2>&5
16771 ac_status=$?
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } &&
16774 { ac_try='test -s conftest.$ac_objext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_cv_sys_file_offset_bits=64
16781else
16782 echo "$as_me: failed program was:" >&5
16783sed 's/^/| /' conftest.$ac_ext >&5
16784
16785ac_cv_sys_file_offset_bits=no
16786fi
16787rm -f conftest.$ac_objext conftest.$ac_ext
16788
16789
16790fi
16791echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16792echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16793
16794 if test "$ac_cv_sys_file_offset_bits" != no; then
16795 wx_largefile=yes
16796 cat >>confdefs.h <<_ACEOF
16797#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16798_ACEOF
16799
16800 fi
16801
16802 if test "x$wx_largefile" != "xyes"; then
16803
16804 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16805echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16806if test "${ac_cv_sys_large_files+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16808else
16809
16810 cat >conftest.$ac_ext <<_ACEOF
16811#line $LINENO "configure"
16812/* confdefs.h. */
16813_ACEOF
16814cat confdefs.h >>conftest.$ac_ext
16815cat >>conftest.$ac_ext <<_ACEOF
16816/* end confdefs.h. */
16817#define _LARGE_FILES 1
16818 #include <sys/types.h>
16819int
16820main ()
16821{
16822typedef struct {
16823 unsigned int field: sizeof(off_t) == 8;
16824} wxlf;
16825
16826 ;
16827 return 0;
16828}
16829_ACEOF
16830rm -f conftest.$ac_objext
16831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16832 (eval $ac_compile) 2>&5
16833 ac_status=$?
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); } &&
16836 { ac_try='test -s conftest.$ac_objext'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16839 ac_status=$?
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; }; then
16842 ac_cv_sys_large_files=1
16843else
16844 echo "$as_me: failed program was:" >&5
16845sed 's/^/| /' conftest.$ac_ext >&5
16846
16847ac_cv_sys_large_files=no
16848fi
16849rm -f conftest.$ac_objext conftest.$ac_ext
16850
16851
16852fi
16853echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16854echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16855
16856 if test "$ac_cv_sys_large_files" != no; then
16857 wx_largefile=yes
16858 cat >>confdefs.h <<_ACEOF
16859#define _LARGE_FILES $ac_cv_sys_large_files
16860_ACEOF
16861
16862 fi
16863
16864 fi
16865
16866 echo "$as_me:$LINENO: checking if large file support is available" >&5
16867echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16868 if test "x$wx_largefile" = "xyes"; then
16869 cat >>confdefs.h <<\_ACEOF
16870#define HAVE_LARGEFILE_SUPPORT 1
16871_ACEOF
16872
16873 fi
16874 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16875echo "${ECHO_T}$wx_largefile" >&6
16876fi
16877
16878
16879if test "x$wx_largefile" = "xyes"; then
16880 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16881 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16882 else
16883 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16884 fi
16885 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16886fi
16887
16888echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16889echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16890if test "${ac_cv_c_bigendian+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16892else
16893 ac_cv_c_bigendian=unknown
16894# See if sys/param.h defines the BYTE_ORDER macro.
16895cat >conftest.$ac_ext <<_ACEOF
16896#line $LINENO "configure"
16897/* confdefs.h. */
16898_ACEOF
16899cat confdefs.h >>conftest.$ac_ext
16900cat >>conftest.$ac_ext <<_ACEOF
16901/* end confdefs.h. */
16902#include <sys/types.h>
16903#include <sys/param.h>
16904int
16905main ()
16906{
16907
16908#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16909 bogus endian macros
16910#endif
16911 ;
16912 return 0;
16913}
16914_ACEOF
16915rm -f conftest.$ac_objext
16916if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16917 (eval $ac_compile) 2>&5
16918 ac_status=$?
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -s conftest.$ac_objext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 # It does; now see whether it defined to BIG_ENDIAN or not.
16928cat >conftest.$ac_ext <<_ACEOF
16929#line $LINENO "configure"
16930/* confdefs.h. */
16931_ACEOF
16932cat confdefs.h >>conftest.$ac_ext
16933cat >>conftest.$ac_ext <<_ACEOF
16934/* end confdefs.h. */
16935#include <sys/types.h>
16936#include <sys/param.h>
16937int
16938main ()
16939{
16940
16941#if BYTE_ORDER != BIG_ENDIAN
16942 not big endian
16943#endif
16944 ;
16945 return 0;
16946}
16947_ACEOF
16948rm -f conftest.$ac_objext
16949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950 (eval $ac_compile) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try='test -s conftest.$ac_objext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16957 ac_status=$?
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_cv_c_bigendian=yes
16961else
16962 echo "$as_me: failed program was:" >&5
16963sed 's/^/| /' conftest.$ac_ext >&5
16964
16965ac_cv_c_bigendian=no
16966fi
16967rm -f conftest.$ac_objext conftest.$ac_ext
16968else
16969 echo "$as_me: failed program was:" >&5
16970sed 's/^/| /' conftest.$ac_ext >&5
16971
16972fi
16973rm -f conftest.$ac_objext conftest.$ac_ext
16974if test $ac_cv_c_bigendian = unknown; then
16975if test "$cross_compiling" = yes; then
16976 ac_cv_c_bigendian=unknown
16977else
16978 cat >conftest.$ac_ext <<_ACEOF
16979#line $LINENO "configure"
16980/* confdefs.h. */
16981_ACEOF
16982cat confdefs.h >>conftest.$ac_ext
16983cat >>conftest.$ac_ext <<_ACEOF
16984/* end confdefs.h. */
16985main () {
16986 /* Are we little or big endian? From Harbison&Steele. */
16987 union
16988 {
16989 long l;
16990 char c[sizeof (long)];
16991 } u;
16992 u.l = 1;
16993 exit (u.c[sizeof (long) - 1] == 1);
16994}
16995_ACEOF
16996rm -f conftest$ac_exeext
16997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16998 (eval $ac_link) 2>&5
16999 ac_status=$?
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_c_bigendian=no
17008else
17009 echo "$as_me: program exited with status $ac_status" >&5
17010echo "$as_me: failed program was:" >&5
17011sed 's/^/| /' conftest.$ac_ext >&5
17012
17013( exit $ac_status )
17014ac_cv_c_bigendian=yes
17015fi
17016rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17017fi
17018fi
17019fi
17020echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17021echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17022if test $ac_cv_c_bigendian = unknown; then
17023 { 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
17024echo "$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;}
17025fi
17026if test $ac_cv_c_bigendian = yes; then
17027 cat >>confdefs.h <<\_ACEOF
17028#define WORDS_BIGENDIAN 1
17029_ACEOF
17030
17031fi
17032
17033
17034
17035ac_ext=cc
17036ac_cpp='$CXXCPP $CPPFLAGS'
17037ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17040echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17041echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17042if test -z "$CXXCPP"; then
17043 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17045else
17046 # Double quotes because CXXCPP needs to be expanded
17047 for CXXCPP in "$CXX -E" "/lib/cpp"
17048 do
17049 ac_preproc_ok=false
17050for ac_cxx_preproc_warn_flag in '' yes
17051do
17052 # Use a header file that comes with gcc, so configuring glibc
17053 # with a fresh cross-compiler works.
17054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17055 # <limits.h> exists even on freestanding compilers.
17056 # On the NeXT, cc -E runs the code through the compiler's parser,
17057 # not just through cpp. "Syntax error" is here to catch this case.
17058 cat >conftest.$ac_ext <<_ACEOF
17059#line $LINENO "configure"
17060/* confdefs.h. */
17061_ACEOF
17062cat confdefs.h >>conftest.$ac_ext
17063cat >>conftest.$ac_ext <<_ACEOF
17064/* end confdefs.h. */
17065#ifdef __STDC__
17066# include <limits.h>
17067#else
17068# include <assert.h>
17069#endif
17070 Syntax error
17071_ACEOF
17072if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } >/dev/null; then
17080 if test -s conftest.err; then
17081 ac_cpp_err=$ac_cxx_preproc_warn_flag
17082 else
17083 ac_cpp_err=
17084 fi
17085else
17086 ac_cpp_err=yes
17087fi
17088if test -z "$ac_cpp_err"; then
17089 :
17090else
17091 echo "$as_me: failed program was:" >&5
17092sed 's/^/| /' conftest.$ac_ext >&5
17093
17094 # Broken: fails on valid input.
17095continue
17096fi
17097rm -f conftest.err conftest.$ac_ext
17098
17099 # OK, works on sane cases. Now check whether non-existent headers
17100 # can be detected and how.
17101 cat >conftest.$ac_ext <<_ACEOF
17102#line $LINENO "configure"
17103/* confdefs.h. */
17104_ACEOF
17105cat confdefs.h >>conftest.$ac_ext
17106cat >>conftest.$ac_ext <<_ACEOF
17107/* end confdefs.h. */
17108#include <ac_nonexistent.h>
17109_ACEOF
17110if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17112 ac_status=$?
17113 grep -v '^ *+' conftest.er1 >conftest.err
17114 rm -f conftest.er1
17115 cat conftest.err >&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); } >/dev/null; then
17118 if test -s conftest.err; then
17119 ac_cpp_err=$ac_cxx_preproc_warn_flag
17120 else
17121 ac_cpp_err=
17122 fi
17123else
17124 ac_cpp_err=yes
17125fi
17126if test -z "$ac_cpp_err"; then
17127 # Broken: success on invalid input.
17128continue
17129else
17130 echo "$as_me: failed program was:" >&5
17131sed 's/^/| /' conftest.$ac_ext >&5
17132
17133 # Passes both tests.
17134ac_preproc_ok=:
17135break
17136fi
17137rm -f conftest.err conftest.$ac_ext
17138
17139done
17140# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17141rm -f conftest.err conftest.$ac_ext
17142if $ac_preproc_ok; then
17143 break
17144fi
17145
17146 done
17147 ac_cv_prog_CXXCPP=$CXXCPP
17148
17149fi
17150 CXXCPP=$ac_cv_prog_CXXCPP
17151else
17152 ac_cv_prog_CXXCPP=$CXXCPP
17153fi
17154echo "$as_me:$LINENO: result: $CXXCPP" >&5
17155echo "${ECHO_T}$CXXCPP" >&6
17156ac_preproc_ok=false
17157for ac_cxx_preproc_warn_flag in '' yes
17158do
17159 # Use a header file that comes with gcc, so configuring glibc
17160 # with a fresh cross-compiler works.
17161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17162 # <limits.h> exists even on freestanding compilers.
17163 # On the NeXT, cc -E runs the code through the compiler's parser,
17164 # not just through cpp. "Syntax error" is here to catch this case.
17165 cat >conftest.$ac_ext <<_ACEOF
17166#line $LINENO "configure"
17167/* confdefs.h. */
17168_ACEOF
17169cat confdefs.h >>conftest.$ac_ext
17170cat >>conftest.$ac_ext <<_ACEOF
17171/* end confdefs.h. */
17172#ifdef __STDC__
17173# include <limits.h>
17174#else
17175# include <assert.h>
17176#endif
17177 Syntax error
17178_ACEOF
17179if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } >/dev/null; then
17187 if test -s conftest.err; then
17188 ac_cpp_err=$ac_cxx_preproc_warn_flag
17189 else
17190 ac_cpp_err=
17191 fi
17192else
17193 ac_cpp_err=yes
17194fi
17195if test -z "$ac_cpp_err"; then
17196 :
17197else
17198 echo "$as_me: failed program was:" >&5
17199sed 's/^/| /' conftest.$ac_ext >&5
17200
17201 # Broken: fails on valid input.
17202continue
17203fi
17204rm -f conftest.err conftest.$ac_ext
17205
17206 # OK, works on sane cases. Now check whether non-existent headers
17207 # can be detected and how.
17208 cat >conftest.$ac_ext <<_ACEOF
17209#line $LINENO "configure"
17210/* confdefs.h. */
17211_ACEOF
17212cat confdefs.h >>conftest.$ac_ext
17213cat >>conftest.$ac_ext <<_ACEOF
17214/* end confdefs.h. */
17215#include <ac_nonexistent.h>
17216_ACEOF
17217if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } >/dev/null; then
17225 if test -s conftest.err; then
17226 ac_cpp_err=$ac_cxx_preproc_warn_flag
17227 else
17228 ac_cpp_err=
17229 fi
17230else
17231 ac_cpp_err=yes
17232fi
17233if test -z "$ac_cpp_err"; then
17234 # Broken: success on invalid input.
17235continue
17236else
17237 echo "$as_me: failed program was:" >&5
17238sed 's/^/| /' conftest.$ac_ext >&5
17239
17240 # Passes both tests.
17241ac_preproc_ok=:
17242break
17243fi
17244rm -f conftest.err conftest.$ac_ext
17245
17246done
17247# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17248rm -f conftest.err conftest.$ac_ext
17249if $ac_preproc_ok; then
17250 :
17251else
17252 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17253See \`config.log' for more details." >&5
17254echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17255See \`config.log' for more details." >&2;}
17256 { (exit 1); exit 1; }; }
17257fi
17258
17259ac_ext=cc
17260ac_cpp='$CXXCPP $CPPFLAGS'
17261ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17264
17265
17266
17267 if test "$cross_compiling" = "yes"; then
17268 cat >>confdefs.h <<\_ACEOF
17269#define wxUSE_IOSTREAMH 1
17270_ACEOF
17271
17272 else
17273
17274
17275 ac_ext=cc
17276ac_cpp='$CXXCPP $CPPFLAGS'
17277ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17278ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17279ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17280
17281
17282
17283for ac_header in iostream
17284do
17285as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17286if eval "test \"\${$as_ac_Header+set}\" = set"; then
17287 echo "$as_me:$LINENO: checking for $ac_header" >&5
17288echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17289if eval "test \"\${$as_ac_Header+set}\" = set"; then
17290 echo $ECHO_N "(cached) $ECHO_C" >&6
17291fi
17292echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17293echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17294else
17295 # Is the header compilable?
17296echo "$as_me:$LINENO: checking $ac_header usability" >&5
17297echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17298cat >conftest.$ac_ext <<_ACEOF
17299#line $LINENO "configure"
17300/* confdefs.h. */
17301_ACEOF
17302cat confdefs.h >>conftest.$ac_ext
17303cat >>conftest.$ac_ext <<_ACEOF
17304/* end confdefs.h. */
17305$ac_includes_default
17306#include <$ac_header>
17307_ACEOF
17308rm -f conftest.$ac_objext
17309if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17310 (eval $ac_compile) 2>&5
17311 ac_status=$?
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } &&
17314 { ac_try='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17317 ac_status=$?
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17320 ac_header_compiler=yes
17321else
17322 echo "$as_me: failed program was:" >&5
17323sed 's/^/| /' conftest.$ac_ext >&5
17324
17325ac_header_compiler=no
17326fi
17327rm -f conftest.$ac_objext conftest.$ac_ext
17328echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17329echo "${ECHO_T}$ac_header_compiler" >&6
17330
17331# Is the header present?
17332echo "$as_me:$LINENO: checking $ac_header presence" >&5
17333echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17334cat >conftest.$ac_ext <<_ACEOF
17335#line $LINENO "configure"
17336/* confdefs.h. */
17337_ACEOF
17338cat confdefs.h >>conftest.$ac_ext
17339cat >>conftest.$ac_ext <<_ACEOF
17340/* end confdefs.h. */
17341#include <$ac_header>
17342_ACEOF
17343if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17345 ac_status=$?
17346 grep -v '^ *+' conftest.er1 >conftest.err
17347 rm -f conftest.er1
17348 cat conftest.err >&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } >/dev/null; then
17351 if test -s conftest.err; then
17352 ac_cpp_err=$ac_cxx_preproc_warn_flag
17353 else
17354 ac_cpp_err=
17355 fi
17356else
17357 ac_cpp_err=yes
17358fi
17359if test -z "$ac_cpp_err"; then
17360 ac_header_preproc=yes
17361else
17362 echo "$as_me: failed program was:" >&5
17363sed 's/^/| /' conftest.$ac_ext >&5
17364
17365 ac_header_preproc=no
17366fi
17367rm -f conftest.err conftest.$ac_ext
17368echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17369echo "${ECHO_T}$ac_header_preproc" >&6
17370
17371# So? What about this header?
17372case $ac_header_compiler:$ac_header_preproc in
17373 yes:no )
17374 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17375echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17377echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17378 (
17379 cat <<\_ASBOX
17380## ------------------------------------ ##
17381## Report this to bug-autoconf@gnu.org. ##
17382## ------------------------------------ ##
17383_ASBOX
17384 ) |
17385 sed "s/^/$as_me: WARNING: /" >&2
17386 ;;
17387 no:yes )
17388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17389echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17391echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17393echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17394 (
17395 cat <<\_ASBOX
17396## ------------------------------------ ##
17397## Report this to bug-autoconf@gnu.org. ##
17398## ------------------------------------ ##
17399_ASBOX
17400 ) |
17401 sed "s/^/$as_me: WARNING: /" >&2
17402 ;;
17403esac
17404echo "$as_me:$LINENO: checking for $ac_header" >&5
17405echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17406if eval "test \"\${$as_ac_Header+set}\" = set"; then
17407 echo $ECHO_N "(cached) $ECHO_C" >&6
17408else
17409 eval "$as_ac_Header=$ac_header_preproc"
17410fi
17411echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17412echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17413
17414fi
17415if test `eval echo '${'$as_ac_Header'}'` = yes; then
17416 cat >>confdefs.h <<_ACEOF
17417#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17418_ACEOF
17419
17420fi
17421
17422done
17423
17424
17425 if test "$ac_cv_header_iostream" = "yes" ; then
17426 :
17427 else
17428 cat >>confdefs.h <<\_ACEOF
17429#define wxUSE_IOSTREAMH 1
17430_ACEOF
17431
17432 fi
17433
17434 ac_ext=c
17435ac_cpp='$CPP $CPPFLAGS'
17436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438ac_compiler_gnu=$ac_cv_c_compiler_gnu
17439
17440 fi
17441
17442
17443
17444 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17445echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17446if test "${wx_cv_cpp_bool+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17448else
17449
17450
17451
17452 ac_ext=cc
17453ac_cpp='$CXXCPP $CPPFLAGS'
17454ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17455ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17456ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17457
17458
17459 cat >conftest.$ac_ext <<_ACEOF
17460#line $LINENO "configure"
17461/* confdefs.h. */
17462_ACEOF
17463cat confdefs.h >>conftest.$ac_ext
17464cat >>conftest.$ac_ext <<_ACEOF
17465/* end confdefs.h. */
17466
17467
17468int
17469main ()
17470{
17471
17472 bool b = true;
17473
17474 return 0;
17475
17476 ;
17477 return 0;
17478}
17479_ACEOF
17480rm -f conftest.$ac_objext
17481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>&5
17483 ac_status=$?
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try='test -s conftest.$ac_objext'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17489 ac_status=$?
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; }; then
17492
17493 wx_cv_cpp_bool=yes
17494
17495else
17496 echo "$as_me: failed program was:" >&5
17497sed 's/^/| /' conftest.$ac_ext >&5
17498
17499
17500 wx_cv_cpp_bool=no
17501
17502
17503fi
17504rm -f conftest.$ac_objext conftest.$ac_ext
17505
17506 ac_ext=c
17507ac_cpp='$CPP $CPPFLAGS'
17508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510ac_compiler_gnu=$ac_cv_c_compiler_gnu
17511
17512
17513fi
17514echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17515echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17516
17517 if test "$wx_cv_cpp_bool" = "yes"; then
17518 cat >>confdefs.h <<\_ACEOF
17519#define HAVE_BOOL 1
17520_ACEOF
17521
17522 fi
17523
17524
17525
17526 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17527echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17528if test "${wx_cv_explicit+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17530else
17531
17532
17533
17534 ac_ext=cc
17535ac_cpp='$CXXCPP $CPPFLAGS'
17536ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17539
17540
17541 cat >conftest.$ac_ext <<_ACEOF
17542#line $LINENO "configure"
17543/* confdefs.h. */
17544_ACEOF
17545cat confdefs.h >>conftest.$ac_ext
17546cat >>conftest.$ac_ext <<_ACEOF
17547/* end confdefs.h. */
17548
17549 class Foo { public: explicit Foo(int) {} };
17550
17551int
17552main ()
17553{
17554
17555 return 0;
17556
17557 ;
17558 return 0;
17559}
17560_ACEOF
17561rm -f conftest.$ac_objext
17562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>&5
17564 ac_status=$?
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573
17574 cat >conftest.$ac_ext <<_ACEOF
17575#line $LINENO "configure"
17576/* confdefs.h. */
17577_ACEOF
17578cat confdefs.h >>conftest.$ac_ext
17579cat >>conftest.$ac_ext <<_ACEOF
17580/* end confdefs.h. */
17581
17582 class Foo { public: explicit Foo(int) {} };
17583 static void TakeFoo(const Foo& foo) { }
17584
17585int
17586main ()
17587{
17588
17589 TakeFoo(17);
17590 return 0;
17591
17592 ;
17593 return 0;
17594}
17595_ACEOF
17596rm -f conftest.$ac_objext
17597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17598 (eval $ac_compile) 2>&5
17599 ac_status=$?
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try='test -s conftest.$ac_objext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17605 ac_status=$?
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17608 wx_cv_explicit=no
17609else
17610 echo "$as_me: failed program was:" >&5
17611sed 's/^/| /' conftest.$ac_ext >&5
17612
17613wx_cv_explicit=yes
17614
17615fi
17616rm -f conftest.$ac_objext conftest.$ac_ext
17617
17618else
17619 echo "$as_me: failed program was:" >&5
17620sed 's/^/| /' conftest.$ac_ext >&5
17621
17622wx_cv_explicit=no
17623
17624fi
17625rm -f conftest.$ac_objext conftest.$ac_ext
17626
17627 ac_ext=c
17628ac_cpp='$CPP $CPPFLAGS'
17629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631ac_compiler_gnu=$ac_cv_c_compiler_gnu
17632
17633
17634fi
17635echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17636echo "${ECHO_T}$wx_cv_explicit" >&6
17637
17638 if test "$wx_cv_explicit" = "yes"; then
17639 cat >>confdefs.h <<\_ACEOF
17640#define HAVE_EXPLICIT 1
17641_ACEOF
17642
17643 fi
17644
17645
17646echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17647echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17648if test "${ac_cv_cxx_const_cast+set}" = set; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17650else
17651
17652
17653 ac_ext=cc
17654ac_cpp='$CXXCPP $CPPFLAGS'
17655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17658
17659 cat >conftest.$ac_ext <<_ACEOF
17660#line $LINENO "configure"
17661/* confdefs.h. */
17662_ACEOF
17663cat confdefs.h >>conftest.$ac_ext
17664cat >>conftest.$ac_ext <<_ACEOF
17665/* end confdefs.h. */
17666
17667int
17668main ()
17669{
17670int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17671 ;
17672 return 0;
17673}
17674_ACEOF
17675rm -f conftest.$ac_objext
17676if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17677 (eval $ac_compile) 2>&5
17678 ac_status=$?
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try='test -s conftest.$ac_objext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 ac_cv_cxx_const_cast=yes
17688else
17689 echo "$as_me: failed program was:" >&5
17690sed 's/^/| /' conftest.$ac_ext >&5
17691
17692ac_cv_cxx_const_cast=no
17693fi
17694rm -f conftest.$ac_objext conftest.$ac_ext
17695 ac_ext=c
17696ac_cpp='$CPP $CPPFLAGS'
17697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699ac_compiler_gnu=$ac_cv_c_compiler_gnu
17700
17701
17702fi
17703echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17704echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17705if test "$ac_cv_cxx_const_cast" = yes; then
17706
17707cat >>confdefs.h <<\_ACEOF
17708#define HAVE_CONST_CAST
17709_ACEOF
17710
17711fi
17712
17713
17714if test "$wxUSE_STL" = "yes"; then
17715 ac_ext=cc
17716ac_cpp='$CXXCPP $CPPFLAGS'
17717ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17720
17721
17722 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17723echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17724 cat >conftest.$ac_ext <<_ACEOF
17725#line $LINENO "configure"
17726/* confdefs.h. */
17727_ACEOF
17728cat confdefs.h >>conftest.$ac_ext
17729cat >>conftest.$ac_ext <<_ACEOF
17730/* end confdefs.h. */
17731#include <string>
17732 #include <functional>
17733 #include <algorithm>
17734 #include <vector>
17735 #include <list>
17736int
17737main ()
17738{
17739std::vector<int> moo;
17740 std::list<int> foo;
17741 std::vector<int>::iterator it =
17742 std::find_if(moo.begin(), moo.end(),
17743 std::bind2nd(std::less<int>(), 3));
17744 ;
17745 return 0;
17746}
17747_ACEOF
17748rm -f conftest.$ac_objext
17749if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>&5
17751 ac_status=$?
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try='test -s conftest.$ac_objext'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; }; then
17760 echo "$as_me:$LINENO: result: yes" >&5
17761echo "${ECHO_T}yes" >&6
17762else
17763 echo "$as_me: failed program was:" >&5
17764sed 's/^/| /' conftest.$ac_ext >&5
17765
17766echo "$as_me:$LINENO: result: no" >&5
17767echo "${ECHO_T}no" >&6
17768 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17769echo "$as_me: error: Basic STL functionality missing" >&2;}
17770 { (exit 1); exit 1; }; }
17771fi
17772rm -f conftest.$ac_objext conftest.$ac_ext
17773
17774 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17775echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17776 cat >conftest.$ac_ext <<_ACEOF
17777#line $LINENO "configure"
17778/* confdefs.h. */
17779_ACEOF
17780cat confdefs.h >>conftest.$ac_ext
17781cat >>conftest.$ac_ext <<_ACEOF
17782/* end confdefs.h. */
17783#include <string>
17784int
17785main ()
17786{
17787std::wstring foo;
17788 ;
17789 return 0;
17790}
17791_ACEOF
17792rm -f conftest.$ac_objext
17793if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17794 (eval $ac_compile) 2>&5
17795 ac_status=$?
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } &&
17798 { ac_try='test -s conftest.$ac_objext'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17801 ac_status=$?
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; }; then
17804 echo "$as_me:$LINENO: result: yes" >&5
17805echo "${ECHO_T}yes" >&6
17806 cat >>confdefs.h <<\_ACEOF
17807#define HAVE_STD_WSTRING 1
17808_ACEOF
17809
17810else
17811 echo "$as_me: failed program was:" >&5
17812sed 's/^/| /' conftest.$ac_ext >&5
17813
17814echo "$as_me:$LINENO: result: no" >&5
17815echo "${ECHO_T}no" >&6
17816fi
17817rm -f conftest.$ac_objext conftest.$ac_ext
17818
17819 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17820echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17821 cat >conftest.$ac_ext <<_ACEOF
17822#line $LINENO "configure"
17823/* confdefs.h. */
17824_ACEOF
17825cat confdefs.h >>conftest.$ac_ext
17826cat >>conftest.$ac_ext <<_ACEOF
17827/* end confdefs.h. */
17828#include <string>
17829int
17830main ()
17831{
17832std::string foo, bar;
17833 foo.compare(bar);
17834 foo.compare(1, 1, bar);
17835 foo.compare(1, 1, bar, 1, 1);
17836 foo.compare("");
17837 foo.compare(1, 1, "");
17838 foo.compare(1, 1, "", 2);
17839 ;
17840 return 0;
17841}
17842_ACEOF
17843rm -f conftest.$ac_objext
17844if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>&5
17846 ac_status=$?
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try='test -s conftest.$ac_objext'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 echo "$as_me:$LINENO: result: yes" >&5
17856echo "${ECHO_T}yes" >&6
17857 cat >>confdefs.h <<\_ACEOF
17858#define HAVE_STD_STRING_COMPARE 1
17859_ACEOF
17860
17861else
17862 echo "$as_me: failed program was:" >&5
17863sed 's/^/| /' conftest.$ac_ext >&5
17864
17865echo "$as_me:$LINENO: result: no" >&5
17866echo "${ECHO_T}no" >&6
17867fi
17868rm -f conftest.$ac_objext conftest.$ac_ext
17869
17870 ac_ext=c
17871ac_cpp='$CPP $CPPFLAGS'
17872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17874ac_compiler_gnu=$ac_cv_c_compiler_gnu
17875
17876fi
17877
17878
17879SEARCH_INCLUDE="\
17880 /usr/local/include \
17881 \
17882 /usr/Motif-1.2/include \
17883 /usr/Motif-2.1/include \
17884 \
17885 /usr/include/Motif1.2 \
17886 /opt/xpm/include/X11 \
17887 /opt/GBxpm/include/ \
17888 /opt/GBxpm/X11/include/ \
17889 \
17890 /usr/Motif1.2/include \
17891 /usr/dt/include \
17892 /usr/openwin/include \
17893 \
17894 /usr/include/Xm \
17895 \
17896 /usr/X11R6/include \
17897 /usr/X11R6.4/include \
17898 /usr/X11R5/include \
17899 /usr/X11R4/include \
17900 \
17901 /usr/include/X11R6 \
17902 /usr/include/X11R5 \
17903 /usr/include/X11R4 \
17904 \
17905 /usr/local/X11R6/include \
17906 /usr/local/X11R5/include \
17907 /usr/local/X11R4/include \
17908 \
17909 /usr/local/include/X11R6 \
17910 /usr/local/include/X11R5 \
17911 /usr/local/include/X11R4 \
17912 \
17913 /usr/X11/include \
17914 /usr/include/X11 \
17915 /usr/local/X11/include \
17916 /usr/local/include/X11 \
17917 \
17918 /usr/X386/include \
17919 /usr/x386/include \
17920 /usr/XFree86/include/X11 \
17921 \
17922 X:/XFree86/include \
17923 X:/XFree86/include/X11 \
17924 \
17925 /usr/include/gtk \
17926 /usr/local/include/gtk \
17927 /usr/include/glib \
17928 /usr/local/include/glib \
17929 \
17930 /usr/include/qt \
17931 /usr/local/include/qt \
17932 \
17933 /usr/include/windows \
17934 /usr/include/wine \
17935 /usr/local/include/wine \
17936 \
17937 /usr/unsupported/include \
17938 /usr/athena/include \
17939 /usr/local/x11r5/include \
17940 /usr/lpp/Xamples/include \
17941 \
17942 /usr/openwin/share/include"
17943
17944SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17945
17946
17947cat >confcache <<\_ACEOF
17948# This file is a shell script that caches the results of configure
17949# tests run on this system so they can be shared between configure
17950# scripts and configure runs, see configure's option --config-cache.
17951# It is not useful on other systems. If it contains results you don't
17952# want to keep, you may remove or edit it.
17953#
17954# config.status only pays attention to the cache file if you give it
17955# the --recheck option to rerun configure.
17956#
17957# `ac_cv_env_foo' variables (set or unset) will be overridden when
17958# loading this file, other *unset* `ac_cv_foo' will be assigned the
17959# following values.
17960
17961_ACEOF
17962
17963# The following way of writing the cache mishandles newlines in values,
17964# but we know of no workaround that is simple, portable, and efficient.
17965# So, don't put newlines in cache variables' values.
17966# Ultrix sh set writes to stderr and can't be redirected directly,
17967# and sets the high bit in the cache file unless we assign to the vars.
17968{
17969 (set) 2>&1 |
17970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17971 *ac_space=\ *)
17972 # `set' does not quote correctly, so add quotes (double-quote
17973 # substitution turns \\\\ into \\, and sed turns \\ into \).
17974 sed -n \
17975 "s/'/'\\\\''/g;
17976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17977 ;;
17978 *)
17979 # `set' quotes correctly as required by POSIX, so do not add quotes.
17980 sed -n \
17981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17982 ;;
17983 esac;
17984} |
17985 sed '
17986 t clear
17987 : clear
17988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17989 t end
17990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17991 : end' >>confcache
17992if diff $cache_file confcache >/dev/null 2>&1; then :; else
17993 if test -w $cache_file; then
17994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17995 cat confcache >$cache_file
17996 else
17997 echo "not updating unwritable cache $cache_file"
17998 fi
17999fi
18000rm -f confcache
18001
18002if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18003 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18004echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18005if test "${wx_cv_lib_glibc21+set}" = set; then
18006 echo $ECHO_N "(cached) $ECHO_C" >&6
18007else
18008
18009 cat >conftest.$ac_ext <<_ACEOF
18010#line $LINENO "configure"
18011/* confdefs.h. */
18012_ACEOF
18013cat confdefs.h >>conftest.$ac_ext
18014cat >>conftest.$ac_ext <<_ACEOF
18015/* end confdefs.h. */
18016#include <features.h>
18017int
18018main ()
18019{
18020
18021 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18022 #error not glibc2.1
18023 #endif
18024
18025 ;
18026 return 0;
18027}
18028_ACEOF
18029rm -f conftest.$ac_objext
18030if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18031 (eval $ac_compile) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } &&
18035 { ac_try='test -s conftest.$ac_objext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18041
18042 wx_cv_lib_glibc21=yes
18043
18044else
18045 echo "$as_me: failed program was:" >&5
18046sed 's/^/| /' conftest.$ac_ext >&5
18047
18048
18049 wx_cv_lib_glibc21=no
18050
18051
18052fi
18053rm -f conftest.$ac_objext conftest.$ac_ext
18054
18055fi
18056echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18057echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18058 if test "$wx_cv_lib_glibc21" = "yes"; then
18059 cat >>confdefs.h <<\_ACEOF
18060#define wxHAVE_GLIBC2 1
18061_ACEOF
18062
18063 fi
18064fi
18065
18066if test "x$wx_cv_lib_glibc21" = "xyes"; then
18067 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18068 cat >>confdefs.h <<\_ACEOF
18069#define _GNU_SOURCE 1
18070_ACEOF
18071
18072 fi
18073fi
18074
18075
18076
18077REGEX_INCLUDE=
18078if test "$wxUSE_REGEX" != "no"; then
18079 cat >>confdefs.h <<\_ACEOF
18080#define wxUSE_REGEX 1
18081_ACEOF
18082
18083
18084 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18085 if test "${ac_cv_header_regex_h+set}" = set; then
18086 echo "$as_me:$LINENO: checking for regex.h" >&5
18087echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18088if test "${ac_cv_header_regex_h+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090fi
18091echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18092echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18093else
18094 # Is the header compilable?
18095echo "$as_me:$LINENO: checking regex.h usability" >&5
18096echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18097cat >conftest.$ac_ext <<_ACEOF
18098#line $LINENO "configure"
18099/* confdefs.h. */
18100_ACEOF
18101cat confdefs.h >>conftest.$ac_ext
18102cat >>conftest.$ac_ext <<_ACEOF
18103/* end confdefs.h. */
18104$ac_includes_default
18105#include <regex.h>
18106_ACEOF
18107rm -f conftest.$ac_objext
18108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 ac_header_compiler=yes
18120else
18121 echo "$as_me: failed program was:" >&5
18122sed 's/^/| /' conftest.$ac_ext >&5
18123
18124ac_header_compiler=no
18125fi
18126rm -f conftest.$ac_objext conftest.$ac_ext
18127echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18128echo "${ECHO_T}$ac_header_compiler" >&6
18129
18130# Is the header present?
18131echo "$as_me:$LINENO: checking regex.h presence" >&5
18132echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18133cat >conftest.$ac_ext <<_ACEOF
18134#line $LINENO "configure"
18135/* confdefs.h. */
18136_ACEOF
18137cat confdefs.h >>conftest.$ac_ext
18138cat >>conftest.$ac_ext <<_ACEOF
18139/* end confdefs.h. */
18140#include <regex.h>
18141_ACEOF
18142if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18144 ac_status=$?
18145 grep -v '^ *+' conftest.er1 >conftest.err
18146 rm -f conftest.er1
18147 cat conftest.err >&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } >/dev/null; then
18150 if test -s conftest.err; then
18151 ac_cpp_err=$ac_c_preproc_warn_flag
18152 else
18153 ac_cpp_err=
18154 fi
18155else
18156 ac_cpp_err=yes
18157fi
18158if test -z "$ac_cpp_err"; then
18159 ac_header_preproc=yes
18160else
18161 echo "$as_me: failed program was:" >&5
18162sed 's/^/| /' conftest.$ac_ext >&5
18163
18164 ac_header_preproc=no
18165fi
18166rm -f conftest.err conftest.$ac_ext
18167echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18168echo "${ECHO_T}$ac_header_preproc" >&6
18169
18170# So? What about this header?
18171case $ac_header_compiler:$ac_header_preproc in
18172 yes:no )
18173 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18174echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18175 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18176echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18177 (
18178 cat <<\_ASBOX
18179## ------------------------------------ ##
18180## Report this to bug-autoconf@gnu.org. ##
18181## ------------------------------------ ##
18182_ASBOX
18183 ) |
18184 sed "s/^/$as_me: WARNING: /" >&2
18185 ;;
18186 no:yes )
18187 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18188echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18189 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18190echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18191 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18192echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18193 (
18194 cat <<\_ASBOX
18195## ------------------------------------ ##
18196## Report this to bug-autoconf@gnu.org. ##
18197## ------------------------------------ ##
18198_ASBOX
18199 ) |
18200 sed "s/^/$as_me: WARNING: /" >&2
18201 ;;
18202esac
18203echo "$as_me:$LINENO: checking for regex.h" >&5
18204echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18205if test "${ac_cv_header_regex_h+set}" = set; then
18206 echo $ECHO_N "(cached) $ECHO_C" >&6
18207else
18208 ac_cv_header_regex_h=$ac_header_preproc
18209fi
18210echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18211echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18212
18213fi
18214if test $ac_cv_header_regex_h = yes; then
18215
18216for ac_func in regcomp
18217do
18218as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18219echo "$as_me:$LINENO: checking for $ac_func" >&5
18220echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18221if eval "test \"\${$as_ac_var+set}\" = set"; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18223else
18224 cat >conftest.$ac_ext <<_ACEOF
18225#line $LINENO "configure"
18226/* confdefs.h. */
18227_ACEOF
18228cat confdefs.h >>conftest.$ac_ext
18229cat >>conftest.$ac_ext <<_ACEOF
18230/* end confdefs.h. */
18231/* System header to define __stub macros and hopefully few prototypes,
18232 which can conflict with char $ac_func (); below.
18233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18234 <limits.h> exists even on freestanding compilers. */
18235#ifdef __STDC__
18236# include <limits.h>
18237#else
18238# include <assert.h>
18239#endif
18240/* Override any gcc2 internal prototype to avoid an error. */
18241#ifdef __cplusplus
18242extern "C"
18243{
18244#endif
18245/* We use char because int might match the return type of a gcc2
18246 builtin and then its argument prototype would still apply. */
18247char $ac_func ();
18248/* The GNU C library defines this for functions which it implements
18249 to always fail with ENOSYS. Some functions are actually named
18250 something starting with __ and the normal name is an alias. */
18251#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18252choke me
18253#else
18254char (*f) () = $ac_func;
18255#endif
18256#ifdef __cplusplus
18257}
18258#endif
18259
18260int
18261main ()
18262{
18263return f != $ac_func;
18264 ;
18265 return 0;
18266}
18267_ACEOF
18268rm -f conftest.$ac_objext conftest$ac_exeext
18269if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18270 (eval $ac_link) 2>&5
18271 ac_status=$?
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try='test -s conftest$ac_exeext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18277 ac_status=$?
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 eval "$as_ac_var=yes"
18281else
18282 echo "$as_me: failed program was:" >&5
18283sed 's/^/| /' conftest.$ac_ext >&5
18284
18285eval "$as_ac_var=no"
18286fi
18287rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18288fi
18289echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18290echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18291if test `eval echo '${'$as_ac_var'}'` = yes; then
18292 cat >>confdefs.h <<_ACEOF
18293#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18294_ACEOF
18295
18296fi
18297done
18298
18299fi
18300
18301
18302
18303 if test "x$ac_cv_func_regcomp" != "xyes"; then
18304 if test "$wxUSE_REGEX" = "sys" ; then
18305 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18306echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18307 { (exit 1); exit 1; }; }
18308 else
18309 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18310echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18311 wxUSE_REGEX=builtin
18312 fi
18313 else
18314 wxUSE_REGEX=sys
18315 fi
18316 fi
18317
18318 if test "$wxUSE_REGEX" = "builtin" ; then
18319 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18320 fi
18321fi
18322
18323
18324ZLIB_INCLUDE=
18325ZLIB_LINK=
18326if test "$wxUSE_ZLIB" != "no" ; then
18327 cat >>confdefs.h <<\_ACEOF
18328#define wxUSE_ZLIB 1
18329_ACEOF
18330
18331
18332 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18333 if test "$USE_DARWIN" = 1; then
18334 system_zlib_h_ok="yes"
18335 else
18336 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18337echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18338if test "${ac_cv_header_zlib_h+set}" = set; then
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18340else
18341 if test "$cross_compiling" = yes; then
18342 unset ac_cv_header_zlib_h
18343
18344else
18345 cat >conftest.$ac_ext <<_ACEOF
18346#line $LINENO "configure"
18347/* confdefs.h. */
18348_ACEOF
18349cat confdefs.h >>conftest.$ac_ext
18350cat >>conftest.$ac_ext <<_ACEOF
18351/* end confdefs.h. */
18352
18353 #include <zlib.h>
18354 #include <stdio.h>
18355
18356 int main()
18357 {
18358 FILE *f=fopen("conftestval", "w");
18359 if (!f) exit(1);
18360 fprintf(f, "%s",
18361 ZLIB_VERSION[0] == '1' &&
18362 (ZLIB_VERSION[2] > '1' ||
18363 (ZLIB_VERSION[2] == '1' &&
18364 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18365 exit(0);
18366 }
18367
18368_ACEOF
18369rm -f conftest$ac_exeext
18370if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18371 (eval $ac_link) 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18377 ac_status=$?
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 ac_cv_header_zlib_h=`cat conftestval`
18381else
18382 echo "$as_me: program exited with status $ac_status" >&5
18383echo "$as_me: failed program was:" >&5
18384sed 's/^/| /' conftest.$ac_ext >&5
18385
18386( exit $ac_status )
18387ac_cv_header_zlib_h=no
18388fi
18389rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18390fi
18391
18392fi
18393echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18394echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18395 if test "${ac_cv_header_zlib_h+set}" = set; then
18396 echo "$as_me:$LINENO: checking for zlib.h" >&5
18397echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18398if test "${ac_cv_header_zlib_h+set}" = set; then
18399 echo $ECHO_N "(cached) $ECHO_C" >&6
18400fi
18401echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18402echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18403else
18404 # Is the header compilable?
18405echo "$as_me:$LINENO: checking zlib.h usability" >&5
18406echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18407cat >conftest.$ac_ext <<_ACEOF
18408#line $LINENO "configure"
18409/* confdefs.h. */
18410_ACEOF
18411cat confdefs.h >>conftest.$ac_ext
18412cat >>conftest.$ac_ext <<_ACEOF
18413/* end confdefs.h. */
18414$ac_includes_default
18415#include <zlib.h>
18416_ACEOF
18417rm -f conftest.$ac_objext
18418if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>&5
18420 ac_status=$?
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } &&
18423 { ac_try='test -s conftest.$ac_objext'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18426 ac_status=$?
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; }; then
18429 ac_header_compiler=yes
18430else
18431 echo "$as_me: failed program was:" >&5
18432sed 's/^/| /' conftest.$ac_ext >&5
18433
18434ac_header_compiler=no
18435fi
18436rm -f conftest.$ac_objext conftest.$ac_ext
18437echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18438echo "${ECHO_T}$ac_header_compiler" >&6
18439
18440# Is the header present?
18441echo "$as_me:$LINENO: checking zlib.h presence" >&5
18442echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18443cat >conftest.$ac_ext <<_ACEOF
18444#line $LINENO "configure"
18445/* confdefs.h. */
18446_ACEOF
18447cat confdefs.h >>conftest.$ac_ext
18448cat >>conftest.$ac_ext <<_ACEOF
18449/* end confdefs.h. */
18450#include <zlib.h>
18451_ACEOF
18452if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18454 ac_status=$?
18455 grep -v '^ *+' conftest.er1 >conftest.err
18456 rm -f conftest.er1
18457 cat conftest.err >&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } >/dev/null; then
18460 if test -s conftest.err; then
18461 ac_cpp_err=$ac_c_preproc_warn_flag
18462 else
18463 ac_cpp_err=
18464 fi
18465else
18466 ac_cpp_err=yes
18467fi
18468if test -z "$ac_cpp_err"; then
18469 ac_header_preproc=yes
18470else
18471 echo "$as_me: failed program was:" >&5
18472sed 's/^/| /' conftest.$ac_ext >&5
18473
18474 ac_header_preproc=no
18475fi
18476rm -f conftest.err conftest.$ac_ext
18477echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18478echo "${ECHO_T}$ac_header_preproc" >&6
18479
18480# So? What about this header?
18481case $ac_header_compiler:$ac_header_preproc in
18482 yes:no )
18483 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18484echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18485 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18486echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18487 (
18488 cat <<\_ASBOX
18489## ------------------------------------ ##
18490## Report this to bug-autoconf@gnu.org. ##
18491## ------------------------------------ ##
18492_ASBOX
18493 ) |
18494 sed "s/^/$as_me: WARNING: /" >&2
18495 ;;
18496 no:yes )
18497 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18498echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18499 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18500echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18501 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18502echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18503 (
18504 cat <<\_ASBOX
18505## ------------------------------------ ##
18506## Report this to bug-autoconf@gnu.org. ##
18507## ------------------------------------ ##
18508_ASBOX
18509 ) |
18510 sed "s/^/$as_me: WARNING: /" >&2
18511 ;;
18512esac
18513echo "$as_me:$LINENO: checking for zlib.h" >&5
18514echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18515if test "${ac_cv_header_zlib_h+set}" = set; then
18516 echo $ECHO_N "(cached) $ECHO_C" >&6
18517else
18518 ac_cv_header_zlib_h=$ac_header_preproc
18519fi
18520echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18521echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18522
18523fi
18524
18525
18526
18527 system_zlib_h_ok=$ac_cv_header_zlib_h
18528 fi
18529
18530 if test "$system_zlib_h_ok" = "yes"; then
18531 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18532echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18533if test "${ac_cv_lib_z_deflate+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18535else
18536 ac_check_lib_save_LIBS=$LIBS
18537LIBS="-lz $LIBS"
18538cat >conftest.$ac_ext <<_ACEOF
18539#line $LINENO "configure"
18540/* confdefs.h. */
18541_ACEOF
18542cat confdefs.h >>conftest.$ac_ext
18543cat >>conftest.$ac_ext <<_ACEOF
18544/* end confdefs.h. */
18545
18546/* Override any gcc2 internal prototype to avoid an error. */
18547#ifdef __cplusplus
18548extern "C"
18549#endif
18550/* We use char because int might match the return type of a gcc2
18551 builtin and then its argument prototype would still apply. */
18552char deflate ();
18553int
18554main ()
18555{
18556deflate ();
18557 ;
18558 return 0;
18559}
18560_ACEOF
18561rm -f conftest.$ac_objext conftest$ac_exeext
18562if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18563 (eval $ac_link) 2>&5
18564 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); } &&
18567 { ac_try='test -s conftest$ac_exeext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18570 ac_status=$?
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_cv_lib_z_deflate=yes
18574else
18575 echo "$as_me: failed program was:" >&5
18576sed 's/^/| /' conftest.$ac_ext >&5
18577
18578ac_cv_lib_z_deflate=no
18579fi
18580rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18581LIBS=$ac_check_lib_save_LIBS
18582fi
18583echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18584echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18585if test $ac_cv_lib_z_deflate = yes; then
18586 ZLIB_LINK=" -lz"
18587fi
18588
18589 fi
18590
18591 if test "x$ZLIB_LINK" = "x" ; then
18592 if test "$wxUSE_ZLIB" = "sys" ; then
18593 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18594echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18595 { (exit 1); exit 1; }; }
18596 else
18597 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18598echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18599 wxUSE_ZLIB=builtin
18600 fi
18601 else
18602 wxUSE_ZLIB=sys
18603 fi
18604 fi
18605
18606 if test "$wxUSE_ZLIB" = "builtin" ; then
18607 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18608 fi
18609fi
18610
18611
18612PNG_INCLUDE=
18613PNG_LINK=
18614if test "$wxUSE_LIBPNG" != "no" ; then
18615 cat >>confdefs.h <<\_ACEOF
18616#define wxUSE_LIBPNG 1
18617_ACEOF
18618
18619
18620 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18621 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18622echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18623 wxUSE_LIBPNG=sys
18624 fi
18625
18626 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18627 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18628echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18629 wxUSE_LIBPNG=builtin
18630 fi
18631
18632 if test "$wxUSE_MGL" != 1 ; then
18633 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18634 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18635echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18636if test "${ac_cv_header_png_h+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18638else
18639 if test "$cross_compiling" = yes; then
18640 unset ac_cv_header_png_h
18641
18642else
18643 cat >conftest.$ac_ext <<_ACEOF
18644#line $LINENO "configure"
18645/* confdefs.h. */
18646_ACEOF
18647cat confdefs.h >>conftest.$ac_ext
18648cat >>conftest.$ac_ext <<_ACEOF
18649/* end confdefs.h. */
18650
18651 #include <png.h>
18652 #include <stdio.h>
18653
18654 int main()
18655 {
18656 FILE *f=fopen("conftestval", "w");
18657 if (!f) exit(1);
18658 fprintf(f, "%s",
18659 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18660 exit(0);
18661 }
18662
18663_ACEOF
18664rm -f conftest$ac_exeext
18665if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18666 (eval $ac_link) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18672 ac_status=$?
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; }; then
18675 ac_cv_header_png_h=`cat conftestval`
18676else
18677 echo "$as_me: program exited with status $ac_status" >&5
18678echo "$as_me: failed program was:" >&5
18679sed 's/^/| /' conftest.$ac_ext >&5
18680
18681( exit $ac_status )
18682ac_cv_header_png_h=no
18683fi
18684rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18685fi
18686
18687fi
18688echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18689echo "${ECHO_T}$ac_cv_header_png_h" >&6
18690 if test "${ac_cv_header_png_h+set}" = set; then
18691 echo "$as_me:$LINENO: checking for png.h" >&5
18692echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18693if test "${ac_cv_header_png_h+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18695fi
18696echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18697echo "${ECHO_T}$ac_cv_header_png_h" >&6
18698else
18699 # Is the header compilable?
18700echo "$as_me:$LINENO: checking png.h usability" >&5
18701echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18702cat >conftest.$ac_ext <<_ACEOF
18703#line $LINENO "configure"
18704/* confdefs.h. */
18705_ACEOF
18706cat confdefs.h >>conftest.$ac_ext
18707cat >>conftest.$ac_ext <<_ACEOF
18708/* end confdefs.h. */
18709$ac_includes_default
18710#include <png.h>
18711_ACEOF
18712rm -f conftest.$ac_objext
18713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18714 (eval $ac_compile) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); } &&
18718 { ac_try='test -s conftest.$ac_objext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18721 ac_status=$?
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 ac_header_compiler=yes
18725else
18726 echo "$as_me: failed program was:" >&5
18727sed 's/^/| /' conftest.$ac_ext >&5
18728
18729ac_header_compiler=no
18730fi
18731rm -f conftest.$ac_objext conftest.$ac_ext
18732echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18733echo "${ECHO_T}$ac_header_compiler" >&6
18734
18735# Is the header present?
18736echo "$as_me:$LINENO: checking png.h presence" >&5
18737echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18738cat >conftest.$ac_ext <<_ACEOF
18739#line $LINENO "configure"
18740/* confdefs.h. */
18741_ACEOF
18742cat confdefs.h >>conftest.$ac_ext
18743cat >>conftest.$ac_ext <<_ACEOF
18744/* end confdefs.h. */
18745#include <png.h>
18746_ACEOF
18747if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } >/dev/null; then
18755 if test -s conftest.err; then
18756 ac_cpp_err=$ac_c_preproc_warn_flag
18757 else
18758 ac_cpp_err=
18759 fi
18760else
18761 ac_cpp_err=yes
18762fi
18763if test -z "$ac_cpp_err"; then
18764 ac_header_preproc=yes
18765else
18766 echo "$as_me: failed program was:" >&5
18767sed 's/^/| /' conftest.$ac_ext >&5
18768
18769 ac_header_preproc=no
18770fi
18771rm -f conftest.err conftest.$ac_ext
18772echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18773echo "${ECHO_T}$ac_header_preproc" >&6
18774
18775# So? What about this header?
18776case $ac_header_compiler:$ac_header_preproc in
18777 yes:no )
18778 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18779echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18780 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18781echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18782 (
18783 cat <<\_ASBOX
18784## ------------------------------------ ##
18785## Report this to bug-autoconf@gnu.org. ##
18786## ------------------------------------ ##
18787_ASBOX
18788 ) |
18789 sed "s/^/$as_me: WARNING: /" >&2
18790 ;;
18791 no:yes )
18792 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18793echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18794 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18795echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18796 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18797echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18798 (
18799 cat <<\_ASBOX
18800## ------------------------------------ ##
18801## Report this to bug-autoconf@gnu.org. ##
18802## ------------------------------------ ##
18803_ASBOX
18804 ) |
18805 sed "s/^/$as_me: WARNING: /" >&2
18806 ;;
18807esac
18808echo "$as_me:$LINENO: checking for png.h" >&5
18809echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18810if test "${ac_cv_header_png_h+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18812else
18813 ac_cv_header_png_h=$ac_header_preproc
18814fi
18815echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18816echo "${ECHO_T}$ac_cv_header_png_h" >&6
18817
18818fi
18819
18820
18821
18822 if test "$ac_cv_header_png_h" = "yes"; then
18823 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18824echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18825if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18827else
18828 ac_check_lib_save_LIBS=$LIBS
18829LIBS="-lpng -lz -lm $LIBS"
18830cat >conftest.$ac_ext <<_ACEOF
18831#line $LINENO "configure"
18832/* confdefs.h. */
18833_ACEOF
18834cat confdefs.h >>conftest.$ac_ext
18835cat >>conftest.$ac_ext <<_ACEOF
18836/* end confdefs.h. */
18837
18838/* Override any gcc2 internal prototype to avoid an error. */
18839#ifdef __cplusplus
18840extern "C"
18841#endif
18842/* We use char because int might match the return type of a gcc2
18843 builtin and then its argument prototype would still apply. */
18844char png_check_sig ();
18845int
18846main ()
18847{
18848png_check_sig ();
18849 ;
18850 return 0;
18851}
18852_ACEOF
18853rm -f conftest.$ac_objext conftest$ac_exeext
18854if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18855 (eval $ac_link) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try='test -s conftest$ac_exeext'
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_lib_png_png_check_sig=yes
18866else
18867 echo "$as_me: failed program was:" >&5
18868sed 's/^/| /' conftest.$ac_ext >&5
18869
18870ac_cv_lib_png_png_check_sig=no
18871fi
18872rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18873LIBS=$ac_check_lib_save_LIBS
18874fi
18875echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18876echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18877if test $ac_cv_lib_png_png_check_sig = yes; then
18878 PNG_LINK=" -lpng"
18879fi
18880
18881 fi
18882
18883 if test "x$PNG_LINK" = "x" ; then
18884 if test "$wxUSE_LIBPNG" = "sys" ; then
18885 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18886echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18887 { (exit 1); exit 1; }; }
18888 else
18889 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18890echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18891 wxUSE_LIBPNG=builtin
18892 fi
18893 else
18894 wxUSE_LIBPNG=sys
18895 fi
18896 fi
18897 fi
18898
18899 if test "$wxUSE_LIBPNG" = "builtin" ; then
18900 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18901 fi
18902
18903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18904fi
18905
18906
18907JPEG_INCLUDE=
18908JPEG_LINK=
18909if test "$wxUSE_LIBJPEG" != "no" ; then
18910 cat >>confdefs.h <<\_ACEOF
18911#define wxUSE_LIBJPEG 1
18912_ACEOF
18913
18914
18915 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18916 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18917echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18918 wxUSE_LIBJPEG=sys
18919 fi
18920
18921 if test "$wxUSE_MGL" != 1 ; then
18922 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18923 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18924echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18925 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927else
18928 cat >conftest.$ac_ext <<_ACEOF
18929#line $LINENO "configure"
18930/* confdefs.h. */
18931_ACEOF
18932cat confdefs.h >>conftest.$ac_ext
18933cat >>conftest.$ac_ext <<_ACEOF
18934/* end confdefs.h. */
18935
18936 #undef HAVE_STDLIB_H
18937 #include <stdio.h>
18938 #include <jpeglib.h>
18939
18940int
18941main ()
18942{
18943
18944
18945 ;
18946 return 0;
18947}
18948_ACEOF
18949rm -f conftest.$ac_objext
18950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>&5
18952 ac_status=$?
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18958 ac_status=$?
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_cv_header_jpeglib_h=yes
18962else
18963 echo "$as_me: failed program was:" >&5
18964sed 's/^/| /' conftest.$ac_ext >&5
18965
18966ac_cv_header_jpeglib_h=no
18967
18968fi
18969rm -f conftest.$ac_objext conftest.$ac_ext
18970
18971fi
18972
18973 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18974echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18975
18976 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18977 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18978echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18979if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18981else
18982 ac_check_lib_save_LIBS=$LIBS
18983LIBS="-ljpeg $LIBS"
18984cat >conftest.$ac_ext <<_ACEOF
18985#line $LINENO "configure"
18986/* confdefs.h. */
18987_ACEOF
18988cat confdefs.h >>conftest.$ac_ext
18989cat >>conftest.$ac_ext <<_ACEOF
18990/* end confdefs.h. */
18991
18992/* Override any gcc2 internal prototype to avoid an error. */
18993#ifdef __cplusplus
18994extern "C"
18995#endif
18996/* We use char because int might match the return type of a gcc2
18997 builtin and then its argument prototype would still apply. */
18998char jpeg_read_header ();
18999int
19000main ()
19001{
19002jpeg_read_header ();
19003 ;
19004 return 0;
19005}
19006_ACEOF
19007rm -f conftest.$ac_objext conftest$ac_exeext
19008if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -s conftest$ac_exeext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19016 ac_status=$?
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_cv_lib_jpeg_jpeg_read_header=yes
19020else
19021 echo "$as_me: failed program was:" >&5
19022sed 's/^/| /' conftest.$ac_ext >&5
19023
19024ac_cv_lib_jpeg_jpeg_read_header=no
19025fi
19026rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19027LIBS=$ac_check_lib_save_LIBS
19028fi
19029echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19030echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19031if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19032 JPEG_LINK=" -ljpeg"
19033fi
19034
19035 fi
19036
19037 if test "x$JPEG_LINK" = "x" ; then
19038 if test "$wxUSE_LIBJPEG" = "sys" ; then
19039 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19040echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19041 { (exit 1); exit 1; }; }
19042 else
19043 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19044echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19045 wxUSE_LIBJPEG=builtin
19046 fi
19047 else
19048 wxUSE_LIBJPEG=sys
19049 fi
19050 fi
19051 fi
19052
19053 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19054 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19055 fi
19056fi
19057
19058
19059TIFF_INCLUDE=
19060TIFF_LINK=
19061TIFF_PREREQ_LINKS=-lm
19062if test "$wxUSE_LIBTIFF" != "no" ; then
19063 cat >>confdefs.h <<\_ACEOF
19064#define wxUSE_LIBTIFF 1
19065_ACEOF
19066
19067
19068 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19069 if test "$wxUSE_LIBJPEG" = "sys"; then
19070 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19071 fi
19072 if test "$wxUSE_ZLIB" = "sys"; then
19073 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19074 fi
19075 if test "${ac_cv_header_tiffio_h+set}" = set; then
19076 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19077echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19078if test "${ac_cv_header_tiffio_h+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19080fi
19081echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19082echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19083else
19084 # Is the header compilable?
19085echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19086echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19087cat >conftest.$ac_ext <<_ACEOF
19088#line $LINENO "configure"
19089/* confdefs.h. */
19090_ACEOF
19091cat confdefs.h >>conftest.$ac_ext
19092cat >>conftest.$ac_ext <<_ACEOF
19093/* end confdefs.h. */
19094$ac_includes_default
19095#include <tiffio.h>
19096_ACEOF
19097rm -f conftest.$ac_objext
19098if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19099 (eval $ac_compile) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try='test -s conftest.$ac_objext'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19106 ac_status=$?
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; }; then
19109 ac_header_compiler=yes
19110else
19111 echo "$as_me: failed program was:" >&5
19112sed 's/^/| /' conftest.$ac_ext >&5
19113
19114ac_header_compiler=no
19115fi
19116rm -f conftest.$ac_objext conftest.$ac_ext
19117echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19118echo "${ECHO_T}$ac_header_compiler" >&6
19119
19120# Is the header present?
19121echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19122echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19123cat >conftest.$ac_ext <<_ACEOF
19124#line $LINENO "configure"
19125/* confdefs.h. */
19126_ACEOF
19127cat confdefs.h >>conftest.$ac_ext
19128cat >>conftest.$ac_ext <<_ACEOF
19129/* end confdefs.h. */
19130#include <tiffio.h>
19131_ACEOF
19132if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19134 ac_status=$?
19135 grep -v '^ *+' conftest.er1 >conftest.err
19136 rm -f conftest.er1
19137 cat conftest.err >&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } >/dev/null; then
19140 if test -s conftest.err; then
19141 ac_cpp_err=$ac_c_preproc_warn_flag
19142 else
19143 ac_cpp_err=
19144 fi
19145else
19146 ac_cpp_err=yes
19147fi
19148if test -z "$ac_cpp_err"; then
19149 ac_header_preproc=yes
19150else
19151 echo "$as_me: failed program was:" >&5
19152sed 's/^/| /' conftest.$ac_ext >&5
19153
19154 ac_header_preproc=no
19155fi
19156rm -f conftest.err conftest.$ac_ext
19157echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19158echo "${ECHO_T}$ac_header_preproc" >&6
19159
19160# So? What about this header?
19161case $ac_header_compiler:$ac_header_preproc in
19162 yes:no )
19163 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19164echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19165 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19166echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19167 (
19168 cat <<\_ASBOX
19169## ------------------------------------ ##
19170## Report this to bug-autoconf@gnu.org. ##
19171## ------------------------------------ ##
19172_ASBOX
19173 ) |
19174 sed "s/^/$as_me: WARNING: /" >&2
19175 ;;
19176 no:yes )
19177 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19178echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19179 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19180echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19181 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19182echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19183 (
19184 cat <<\_ASBOX
19185## ------------------------------------ ##
19186## Report this to bug-autoconf@gnu.org. ##
19187## ------------------------------------ ##
19188_ASBOX
19189 ) |
19190 sed "s/^/$as_me: WARNING: /" >&2
19191 ;;
19192esac
19193echo "$as_me:$LINENO: checking for tiffio.h" >&5
19194echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19195if test "${ac_cv_header_tiffio_h+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19197else
19198 ac_cv_header_tiffio_h=$ac_header_preproc
19199fi
19200echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19201echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19202
19203fi
19204if test $ac_cv_header_tiffio_h = yes; then
19205 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19206echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19207if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19208 echo $ECHO_N "(cached) $ECHO_C" >&6
19209else
19210 ac_check_lib_save_LIBS=$LIBS
19211LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19212cat >conftest.$ac_ext <<_ACEOF
19213#line $LINENO "configure"
19214/* confdefs.h. */
19215_ACEOF
19216cat confdefs.h >>conftest.$ac_ext
19217cat >>conftest.$ac_ext <<_ACEOF
19218/* end confdefs.h. */
19219
19220/* Override any gcc2 internal prototype to avoid an error. */
19221#ifdef __cplusplus
19222extern "C"
19223#endif
19224/* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19226char TIFFError ();
19227int
19228main ()
19229{
19230TIFFError ();
19231 ;
19232 return 0;
19233}
19234_ACEOF
19235rm -f conftest.$ac_objext conftest$ac_exeext
19236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19237 (eval $ac_link) 2>&5
19238 ac_status=$?
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } &&
19241 { ac_try='test -s conftest$ac_exeext'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19244 ac_status=$?
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; }; then
19247 ac_cv_lib_tiff_TIFFError=yes
19248else
19249 echo "$as_me: failed program was:" >&5
19250sed 's/^/| /' conftest.$ac_ext >&5
19251
19252ac_cv_lib_tiff_TIFFError=no
19253fi
19254rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19255LIBS=$ac_check_lib_save_LIBS
19256fi
19257echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19258echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19259if test $ac_cv_lib_tiff_TIFFError = yes; then
19260 TIFF_LINK=" -ltiff"
19261fi
19262
19263
19264fi
19265
19266
19267
19268 if test "x$TIFF_LINK" = "x" ; then
19269 if test "$wxUSE_LIBTIFF" = "sys" ; then
19270 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19271echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19272 { (exit 1); exit 1; }; }
19273 else
19274 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19275echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19276 wxUSE_LIBTIFF=builtin
19277 fi
19278 else
19279 wxUSE_LIBTIFF=sys
19280 fi
19281 fi
19282
19283 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19284 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19285 fi
19286fi
19287
19288
19289if test "$wxUSE_EXPAT" != "no"; then
19290 wxUSE_XML=1
19291 cat >>confdefs.h <<\_ACEOF
19292#define wxUSE_EXPAT 1
19293_ACEOF
19294
19295 cat >>confdefs.h <<\_ACEOF
19296#define wxUSE_XML 1
19297_ACEOF
19298
19299
19300 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19301 if test "${ac_cv_header_expat_h+set}" = set; then
19302 echo "$as_me:$LINENO: checking for expat.h" >&5
19303echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19304if test "${ac_cv_header_expat_h+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306fi
19307echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19308echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19309else
19310 # Is the header compilable?
19311echo "$as_me:$LINENO: checking expat.h usability" >&5
19312echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19313cat >conftest.$ac_ext <<_ACEOF
19314#line $LINENO "configure"
19315/* confdefs.h. */
19316_ACEOF
19317cat confdefs.h >>conftest.$ac_ext
19318cat >>conftest.$ac_ext <<_ACEOF
19319/* end confdefs.h. */
19320$ac_includes_default
19321#include <expat.h>
19322_ACEOF
19323rm -f conftest.$ac_objext
19324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19325 (eval $ac_compile) 2>&5
19326 ac_status=$?
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } &&
19329 { ac_try='test -s conftest.$ac_objext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_header_compiler=yes
19336else
19337 echo "$as_me: failed program was:" >&5
19338sed 's/^/| /' conftest.$ac_ext >&5
19339
19340ac_header_compiler=no
19341fi
19342rm -f conftest.$ac_objext conftest.$ac_ext
19343echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19344echo "${ECHO_T}$ac_header_compiler" >&6
19345
19346# Is the header present?
19347echo "$as_me:$LINENO: checking expat.h presence" >&5
19348echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19349cat >conftest.$ac_ext <<_ACEOF
19350#line $LINENO "configure"
19351/* confdefs.h. */
19352_ACEOF
19353cat confdefs.h >>conftest.$ac_ext
19354cat >>conftest.$ac_ext <<_ACEOF
19355/* end confdefs.h. */
19356#include <expat.h>
19357_ACEOF
19358if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19360 ac_status=$?
19361 grep -v '^ *+' conftest.er1 >conftest.err
19362 rm -f conftest.er1
19363 cat conftest.err >&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } >/dev/null; then
19366 if test -s conftest.err; then
19367 ac_cpp_err=$ac_c_preproc_warn_flag
19368 else
19369 ac_cpp_err=
19370 fi
19371else
19372 ac_cpp_err=yes
19373fi
19374if test -z "$ac_cpp_err"; then
19375 ac_header_preproc=yes
19376else
19377 echo "$as_me: failed program was:" >&5
19378sed 's/^/| /' conftest.$ac_ext >&5
19379
19380 ac_header_preproc=no
19381fi
19382rm -f conftest.err conftest.$ac_ext
19383echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19384echo "${ECHO_T}$ac_header_preproc" >&6
19385
19386# So? What about this header?
19387case $ac_header_compiler:$ac_header_preproc in
19388 yes:no )
19389 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19390echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19391 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19392echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19393 (
19394 cat <<\_ASBOX
19395## ------------------------------------ ##
19396## Report this to bug-autoconf@gnu.org. ##
19397## ------------------------------------ ##
19398_ASBOX
19399 ) |
19400 sed "s/^/$as_me: WARNING: /" >&2
19401 ;;
19402 no:yes )
19403 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19404echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19405 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19406echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19407 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19408echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19409 (
19410 cat <<\_ASBOX
19411## ------------------------------------ ##
19412## Report this to bug-autoconf@gnu.org. ##
19413## ------------------------------------ ##
19414_ASBOX
19415 ) |
19416 sed "s/^/$as_me: WARNING: /" >&2
19417 ;;
19418esac
19419echo "$as_me:$LINENO: checking for expat.h" >&5
19420echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19421if test "${ac_cv_header_expat_h+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19423else
19424 ac_cv_header_expat_h=$ac_header_preproc
19425fi
19426echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19427echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19428
19429fi
19430if test $ac_cv_header_expat_h = yes; then
19431 found_expat_h=1
19432fi
19433
19434
19435 if test "x$found_expat_h" = "x1"; then
19436 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19437echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19438if test "${wx_cv_expat_is_not_broken+set}" = set; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19440else
19441
19442
19443
19444 ac_ext=cc
19445ac_cpp='$CXXCPP $CPPFLAGS'
19446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19449
19450 cat >conftest.$ac_ext <<_ACEOF
19451#line $LINENO "configure"
19452/* confdefs.h. */
19453_ACEOF
19454cat confdefs.h >>conftest.$ac_ext
19455cat >>conftest.$ac_ext <<_ACEOF
19456/* end confdefs.h. */
19457#include <expat.h>
19458int
19459main ()
19460{
19461
19462 ;
19463 return 0;
19464}
19465_ACEOF
19466rm -f conftest.$ac_objext
19467if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19468 (eval $ac_compile) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19475 ac_status=$?
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 wx_cv_expat_is_not_broken=yes
19479else
19480 echo "$as_me: failed program was:" >&5
19481sed 's/^/| /' conftest.$ac_ext >&5
19482
19483wx_cv_expat_is_not_broken=no
19484
19485fi
19486rm -f conftest.$ac_objext conftest.$ac_ext
19487 ac_ext=c
19488ac_cpp='$CPP $CPPFLAGS'
19489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19491ac_compiler_gnu=$ac_cv_c_compiler_gnu
19492
19493
19494
19495fi
19496echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19497echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19498 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19499 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19500echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19501if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19503else
19504 ac_check_lib_save_LIBS=$LIBS
19505LIBS="-lexpat $LIBS"
19506cat >conftest.$ac_ext <<_ACEOF
19507#line $LINENO "configure"
19508/* confdefs.h. */
19509_ACEOF
19510cat confdefs.h >>conftest.$ac_ext
19511cat >>conftest.$ac_ext <<_ACEOF
19512/* end confdefs.h. */
19513
19514/* Override any gcc2 internal prototype to avoid an error. */
19515#ifdef __cplusplus
19516extern "C"
19517#endif
19518/* We use char because int might match the return type of a gcc2
19519 builtin and then its argument prototype would still apply. */
19520char XML_ParserCreate ();
19521int
19522main ()
19523{
19524XML_ParserCreate ();
19525 ;
19526 return 0;
19527}
19528_ACEOF
19529rm -f conftest.$ac_objext conftest$ac_exeext
19530if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19531 (eval $ac_link) 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } &&
19535 { ac_try='test -s conftest$ac_exeext'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19538 ac_status=$?
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; }; then
19541 ac_cv_lib_expat_XML_ParserCreate=yes
19542else
19543 echo "$as_me: failed program was:" >&5
19544sed 's/^/| /' conftest.$ac_ext >&5
19545
19546ac_cv_lib_expat_XML_ParserCreate=no
19547fi
19548rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19549LIBS=$ac_check_lib_save_LIBS
19550fi
19551echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19552echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19553if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19554 EXPAT_LINK=" -lexpat"
19555fi
19556
19557 fi
19558 fi
19559 if test "x$EXPAT_LINK" = "x" ; then
19560 if test "$wxUSE_EXPAT" = "sys" ; then
19561 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19562echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19563 { (exit 1); exit 1; }; }
19564 else
19565 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19566echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19567 wxUSE_EXPAT=builtin
19568 fi
19569 else
19570 wxUSE_EXPAT=sys
19571 fi
19572 fi
19573 if test "$wxUSE_EXPAT" = "builtin" ; then
19574
19575
19576subdirs="$subdirs src/expat"
19577
19578 fi
19579fi
19580
19581
19582
19583AFMINSTALL=
19584WIN32INSTALL=
19585
19586TOOLKIT=
19587TOOLKIT_INCLUDE=
19588WIDGET_SET=
19589
19590if test "$USE_WIN32" = 1 ; then
19591
19592for ac_header in w32api.h
19593do
19594as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19595if eval "test \"\${$as_ac_Header+set}\" = set"; then
19596 echo "$as_me:$LINENO: checking for $ac_header" >&5
19597echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19598if eval "test \"\${$as_ac_Header+set}\" = set"; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19600fi
19601echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19602echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19603else
19604 # Is the header compilable?
19605echo "$as_me:$LINENO: checking $ac_header usability" >&5
19606echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19607cat >conftest.$ac_ext <<_ACEOF
19608#line $LINENO "configure"
19609/* confdefs.h. */
19610_ACEOF
19611cat confdefs.h >>conftest.$ac_ext
19612cat >>conftest.$ac_ext <<_ACEOF
19613/* end confdefs.h. */
19614$ac_includes_default
19615#include <$ac_header>
19616_ACEOF
19617rm -f conftest.$ac_objext
19618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19619 (eval $ac_compile) 2>&5
19620 ac_status=$?
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try='test -s conftest.$ac_objext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 ac_header_compiler=yes
19630else
19631 echo "$as_me: failed program was:" >&5
19632sed 's/^/| /' conftest.$ac_ext >&5
19633
19634ac_header_compiler=no
19635fi
19636rm -f conftest.$ac_objext conftest.$ac_ext
19637echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19638echo "${ECHO_T}$ac_header_compiler" >&6
19639
19640# Is the header present?
19641echo "$as_me:$LINENO: checking $ac_header presence" >&5
19642echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19643cat >conftest.$ac_ext <<_ACEOF
19644#line $LINENO "configure"
19645/* confdefs.h. */
19646_ACEOF
19647cat confdefs.h >>conftest.$ac_ext
19648cat >>conftest.$ac_ext <<_ACEOF
19649/* end confdefs.h. */
19650#include <$ac_header>
19651_ACEOF
19652if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } >/dev/null; then
19660 if test -s conftest.err; then
19661 ac_cpp_err=$ac_c_preproc_warn_flag
19662 else
19663 ac_cpp_err=
19664 fi
19665else
19666 ac_cpp_err=yes
19667fi
19668if test -z "$ac_cpp_err"; then
19669 ac_header_preproc=yes
19670else
19671 echo "$as_me: failed program was:" >&5
19672sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 ac_header_preproc=no
19675fi
19676rm -f conftest.err conftest.$ac_ext
19677echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19678echo "${ECHO_T}$ac_header_preproc" >&6
19679
19680# So? What about this header?
19681case $ac_header_compiler:$ac_header_preproc in
19682 yes:no )
19683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19684echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19686echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19687 (
19688 cat <<\_ASBOX
19689## ------------------------------------ ##
19690## Report this to bug-autoconf@gnu.org. ##
19691## ------------------------------------ ##
19692_ASBOX
19693 ) |
19694 sed "s/^/$as_me: WARNING: /" >&2
19695 ;;
19696 no:yes )
19697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19698echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19700echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19702echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19703 (
19704 cat <<\_ASBOX
19705## ------------------------------------ ##
19706## Report this to bug-autoconf@gnu.org. ##
19707## ------------------------------------ ##
19708_ASBOX
19709 ) |
19710 sed "s/^/$as_me: WARNING: /" >&2
19711 ;;
19712esac
19713echo "$as_me:$LINENO: checking for $ac_header" >&5
19714echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19715if eval "test \"\${$as_ac_Header+set}\" = set"; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19717else
19718 eval "$as_ac_Header=$ac_header_preproc"
19719fi
19720echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19721echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19722
19723fi
19724if test `eval echo '${'$as_ac_Header'}'` = yes; then
19725 cat >>confdefs.h <<_ACEOF
19726#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19727_ACEOF
19728
19729fi
19730
19731done
19732
19733 if test "${ac_cv_header_windows_h+set}" = set; then
19734 echo "$as_me:$LINENO: checking for windows.h" >&5
19735echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19736if test "${ac_cv_header_windows_h+set}" = set; then
19737 echo $ECHO_N "(cached) $ECHO_C" >&6
19738fi
19739echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19740echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19741else
19742 # Is the header compilable?
19743echo "$as_me:$LINENO: checking windows.h usability" >&5
19744echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19745cat >conftest.$ac_ext <<_ACEOF
19746#line $LINENO "configure"
19747/* confdefs.h. */
19748_ACEOF
19749cat confdefs.h >>conftest.$ac_ext
19750cat >>conftest.$ac_ext <<_ACEOF
19751/* end confdefs.h. */
19752$ac_includes_default
19753#include <windows.h>
19754_ACEOF
19755rm -f conftest.$ac_objext
19756if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19757 (eval $ac_compile) 2>&5
19758 ac_status=$?
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } &&
19761 { ac_try='test -s conftest.$ac_objext'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19764 ac_status=$?
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; }; then
19767 ac_header_compiler=yes
19768else
19769 echo "$as_me: failed program was:" >&5
19770sed 's/^/| /' conftest.$ac_ext >&5
19771
19772ac_header_compiler=no
19773fi
19774rm -f conftest.$ac_objext conftest.$ac_ext
19775echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19776echo "${ECHO_T}$ac_header_compiler" >&6
19777
19778# Is the header present?
19779echo "$as_me:$LINENO: checking windows.h presence" >&5
19780echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19781cat >conftest.$ac_ext <<_ACEOF
19782#line $LINENO "configure"
19783/* confdefs.h. */
19784_ACEOF
19785cat confdefs.h >>conftest.$ac_ext
19786cat >>conftest.$ac_ext <<_ACEOF
19787/* end confdefs.h. */
19788#include <windows.h>
19789_ACEOF
19790if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19792 ac_status=$?
19793 grep -v '^ *+' conftest.er1 >conftest.err
19794 rm -f conftest.er1
19795 cat conftest.err >&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } >/dev/null; then
19798 if test -s conftest.err; then
19799 ac_cpp_err=$ac_c_preproc_warn_flag
19800 else
19801 ac_cpp_err=
19802 fi
19803else
19804 ac_cpp_err=yes
19805fi
19806if test -z "$ac_cpp_err"; then
19807 ac_header_preproc=yes
19808else
19809 echo "$as_me: failed program was:" >&5
19810sed 's/^/| /' conftest.$ac_ext >&5
19811
19812 ac_header_preproc=no
19813fi
19814rm -f conftest.err conftest.$ac_ext
19815echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19816echo "${ECHO_T}$ac_header_preproc" >&6
19817
19818# So? What about this header?
19819case $ac_header_compiler:$ac_header_preproc in
19820 yes:no )
19821 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19822echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19823 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19824echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19825 (
19826 cat <<\_ASBOX
19827## ------------------------------------ ##
19828## Report this to bug-autoconf@gnu.org. ##
19829## ------------------------------------ ##
19830_ASBOX
19831 ) |
19832 sed "s/^/$as_me: WARNING: /" >&2
19833 ;;
19834 no:yes )
19835 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19836echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19837 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19838echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19839 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19840echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19841 (
19842 cat <<\_ASBOX
19843## ------------------------------------ ##
19844## Report this to bug-autoconf@gnu.org. ##
19845## ------------------------------------ ##
19846_ASBOX
19847 ) |
19848 sed "s/^/$as_me: WARNING: /" >&2
19849 ;;
19850esac
19851echo "$as_me:$LINENO: checking for windows.h" >&5
19852echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19853if test "${ac_cv_header_windows_h+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19855else
19856 ac_cv_header_windows_h=$ac_header_preproc
19857fi
19858echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19859echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19860
19861fi
19862if test $ac_cv_header_windows_h = yes; then
19863 :
19864else
19865
19866 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19867echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19868 { (exit 1); exit 1; }; }
19869
19870fi
19871
19872
19873
19874 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19875
19876 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19877 LIBS="$LIBS -loleacc"
19878 fi
19879
19880 case "${host}" in
19881 *-*-cygwin* )
19882 LIBS="$LIBS -lkernel32 -luser32"
19883 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19884 esac
19885
19886 if test "$wxUSE_ODBC" = "sys" ; then
19887 wxUSE_ODBC = "yes"
19888 fi
19889 if test "$wxUSE_ODBC" = "yes" ; then
19890 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19891 cat >>confdefs.h <<\_ACEOF
19892#define wxUSE_ODBC 1
19893_ACEOF
19894
19895 fi
19896
19897 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19898 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19899
19900 WIN32INSTALL=win32install
19901fi
19902
19903if test "$wxUSE_GUI" = "yes"; then
19904 USE_GUI=1
19905
19906 GUI_TK_LIBRARY=
19907
19908 WXGTK12=
19909 WXGTK127=
19910 WXGTK20=
19911
19912 if test "$wxUSE_MSW" = 1 ; then
19913 TOOLKIT=MSW
19914 GUIDIST=MSW_DIST
19915 fi
19916
19917 if test "$wxUSE_GTK" = 1; then
19918 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19919echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19920
19921 gtk_version_cached=1
19922 if test "${wx_cv_lib_gtk+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19924else
19925
19926 gtk_version_cached=0
19927 echo "$as_me:$LINENO: result: " >&5
19928echo "${ECHO_T}" >&6
19929
19930 GTK_MODULES=
19931 if test "$wxUSE_THREADS" = "yes"; then
19932 GTK_MODULES=gthread
19933 fi
19934
19935 wx_cv_lib_gtk=
19936 if test "x$wxUSE_GTK2" = "xyes"; then
19937 # Check whether --enable-gtktest or --disable-gtktest was given.
19938if test "${enable_gtktest+set}" = set; then
19939 enableval="$enable_gtktest"
19940
19941else
19942 enable_gtktest=yes
19943fi;
19944
19945 pkg_config_args=gtk+-2.0
19946 for module in . $GTK_MODULES
19947 do
19948 case "$module" in
19949 gthread)
19950 pkg_config_args="$pkg_config_args gthread-2.0"
19951 ;;
19952 esac
19953 done
19954
19955 no_gtk=""
19956
19957 # Extract the first word of "pkg-config", so it can be a program name with args.
19958set dummy pkg-config; ac_word=$2
19959echo "$as_me:$LINENO: checking for $ac_word" >&5
19960echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19961if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19963else
19964 case $PKG_CONFIG in
19965 [\\/]* | ?:[\\/]*)
19966 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19967 ;;
19968 *)
19969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19970for as_dir in $PATH
19971do
19972 IFS=$as_save_IFS
19973 test -z "$as_dir" && as_dir=.
19974 for ac_exec_ext in '' $ac_executable_extensions; do
19975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19976 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19978 break 2
19979 fi
19980done
19981done
19982
19983 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19984 ;;
19985esac
19986fi
19987PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19988
19989if test -n "$PKG_CONFIG"; then
19990 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19991echo "${ECHO_T}$PKG_CONFIG" >&6
19992else
19993 echo "$as_me:$LINENO: result: no" >&5
19994echo "${ECHO_T}no" >&6
19995fi
19996
19997
19998 if test x$PKG_CONFIG != xno ; then
19999 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20000 :
20001 else
20002 echo *** pkg-config too old; version 0.7 or better required.
20003 no_gtk=yes
20004 PKG_CONFIG=no
20005 fi
20006 else
20007 no_gtk=yes
20008 fi
20009
20010 min_gtk_version=2.0.0
20011 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20012echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20013
20014 if test x$PKG_CONFIG != xno ; then
20015 ## don't try to run the test against uninstalled libtool libs
20016 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20017 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20018 enable_gtktest=no
20019 fi
20020
20021 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20022 :
20023 else
20024 no_gtk=yes
20025 fi
20026 fi
20027
20028 if test x"$no_gtk" = x ; then
20029 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20030 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20031 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20033 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20035 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20037 if test "x$enable_gtktest" = "xyes" ; then
20038 ac_save_CFLAGS="$CFLAGS"
20039 ac_save_LIBS="$LIBS"
20040 CFLAGS="$CFLAGS $GTK_CFLAGS"
20041 LIBS="$GTK_LIBS $LIBS"
20042 rm -f conf.gtktest
20043 if test "$cross_compiling" = yes; then
20044 echo $ac_n "cross compiling; assumed OK... $ac_c"
20045else
20046 cat >conftest.$ac_ext <<_ACEOF
20047#line $LINENO "configure"
20048/* confdefs.h. */
20049_ACEOF
20050cat confdefs.h >>conftest.$ac_ext
20051cat >>conftest.$ac_ext <<_ACEOF
20052/* end confdefs.h. */
20053
20054#include <gtk/gtk.h>
20055#include <stdio.h>
20056#include <stdlib.h>
20057
20058int
20059main ()
20060{
20061 int major, minor, micro;
20062 char *tmp_version;
20063
20064 system ("touch conf.gtktest");
20065
20066 /* HP/UX 9 (%@#!) writes to sscanf strings */
20067 tmp_version = g_strdup("$min_gtk_version");
20068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20069 printf("%s, bad version string\n", "$min_gtk_version");
20070 exit(1);
20071 }
20072
20073 if ((gtk_major_version != $gtk_config_major_version) ||
20074 (gtk_minor_version != $gtk_config_minor_version) ||
20075 (gtk_micro_version != $gtk_config_micro_version))
20076 {
20077 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20079 gtk_major_version, gtk_minor_version, gtk_micro_version);
20080 printf ("*** was found! If pkg-config was correct, then it is best\n");
20081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20082 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20084 printf("*** required on your system.\n");
20085 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20086 printf("*** to point to the correct configuration files\n");
20087 }
20088 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20089 (gtk_minor_version != GTK_MINOR_VERSION) ||
20090 (gtk_micro_version != GTK_MICRO_VERSION))
20091 {
20092 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20093 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20094 printf("*** library (version %d.%d.%d)\n",
20095 gtk_major_version, gtk_minor_version, gtk_micro_version);
20096 }
20097 else
20098 {
20099 if ((gtk_major_version > major) ||
20100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20102 {
20103 return 0;
20104 }
20105 else
20106 {
20107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20108 gtk_major_version, gtk_minor_version, gtk_micro_version);
20109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20110 major, minor, micro);
20111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20112 printf("***\n");
20113 printf("*** If you have already installed a sufficiently new version, this error\n");
20114 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20116 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20117 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20119 printf("*** so that the correct libraries are found at run-time))\n");
20120 }
20121 }
20122 return 1;
20123}
20124
20125_ACEOF
20126rm -f conftest$ac_exeext
20127if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20128 (eval $ac_link) 2>&5
20129 ac_status=$?
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20134 ac_status=$?
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; }; then
20137 :
20138else
20139 echo "$as_me: program exited with status $ac_status" >&5
20140echo "$as_me: failed program was:" >&5
20141sed 's/^/| /' conftest.$ac_ext >&5
20142
20143( exit $ac_status )
20144no_gtk=yes
20145fi
20146rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20147fi
20148 CFLAGS="$ac_save_CFLAGS"
20149 LIBS="$ac_save_LIBS"
20150 fi
20151 fi
20152 if test "x$no_gtk" = x ; then
20153 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20154echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20155 wx_cv_lib_gtk=2.0
20156 else
20157 echo "$as_me:$LINENO: result: no" >&5
20158echo "${ECHO_T}no" >&6
20159 if test "$PKG_CONFIG" = "no" ; then
20160 echo "*** A new enough version of pkg-config was not found."
20161 echo "*** See http://pkgconfig.sourceforge.net"
20162 else
20163 if test -f conf.gtktest ; then
20164 :
20165 else
20166 echo "*** Could not run GTK+ test program, checking why..."
20167 ac_save_CFLAGS="$CFLAGS"
20168 ac_save_LIBS="$LIBS"
20169 CFLAGS="$CFLAGS $GTK_CFLAGS"
20170 LIBS="$LIBS $GTK_LIBS"
20171 cat >conftest.$ac_ext <<_ACEOF
20172#line $LINENO "configure"
20173/* confdefs.h. */
20174_ACEOF
20175cat confdefs.h >>conftest.$ac_ext
20176cat >>conftest.$ac_ext <<_ACEOF
20177/* end confdefs.h. */
20178
20179#include <gtk/gtk.h>
20180#include <stdio.h>
20181
20182int
20183main ()
20184{
20185 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20186 ;
20187 return 0;
20188}
20189_ACEOF
20190rm -f conftest.$ac_objext conftest$ac_exeext
20191if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20192 (eval $ac_link) 2>&5
20193 ac_status=$?
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -s conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20199 ac_status=$?
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 echo "*** The test program compiled, but did not run. This usually means"
20203 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20204 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20207 echo "*** is required on your system"
20208 echo "***"
20209 echo "*** If you have an old version installed, it is best to remove it, although"
20210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20211else
20212 echo "$as_me: failed program was:" >&5
20213sed 's/^/| /' conftest.$ac_ext >&5
20214
20215 echo "*** The test program failed to compile or link. See the file config.log for the"
20216 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20217fi
20218rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20219 CFLAGS="$ac_save_CFLAGS"
20220 LIBS="$ac_save_LIBS"
20221 fi
20222 fi
20223 GTK_CFLAGS=""
20224 GTK_LIBS=""
20225 :
20226 fi
20227
20228
20229 rm -f conf.gtktest
20230
20231 else
20232
20233# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20234if test "${with_gtk_prefix+set}" = set; then
20235 withval="$with_gtk_prefix"
20236 gtk_config_prefix="$withval"
20237else
20238 gtk_config_prefix=""
20239fi;
20240
20241# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20242if test "${with_gtk_exec_prefix+set}" = set; then
20243 withval="$with_gtk_exec_prefix"
20244 gtk_config_exec_prefix="$withval"
20245else
20246 gtk_config_exec_prefix=""
20247fi;
20248# Check whether --enable-gtktest or --disable-gtktest was given.
20249if test "${enable_gtktest+set}" = set; then
20250 enableval="$enable_gtktest"
20251
20252else
20253 enable_gtktest=yes
20254fi;
20255
20256 for module in . $GTK_MODULES
20257 do
20258 case "$module" in
20259 gthread)
20260 gtk_config_args="$gtk_config_args gthread"
20261 ;;
20262 esac
20263 done
20264
20265 if test x$gtk_config_exec_prefix != x ; then
20266 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20267 if test x${GTK_CONFIG+set} != xset ; then
20268 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20269 fi
20270 fi
20271 if test x$gtk_config_prefix != x ; then
20272 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20273 if test x${GTK_CONFIG+set} != xset ; then
20274 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20275 fi
20276 fi
20277
20278 # Extract the first word of "gtk-config", so it can be a program name with args.
20279set dummy gtk-config; ac_word=$2
20280echo "$as_me:$LINENO: checking for $ac_word" >&5
20281echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20282if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20284else
20285 case $GTK_CONFIG in
20286 [\\/]* | ?:[\\/]*)
20287 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20288 ;;
20289 *)
20290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20291for as_dir in $PATH
20292do
20293 IFS=$as_save_IFS
20294 test -z "$as_dir" && as_dir=.
20295 for ac_exec_ext in '' $ac_executable_extensions; do
20296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20297 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20299 break 2
20300 fi
20301done
20302done
20303
20304 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20305 ;;
20306esac
20307fi
20308GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20309
20310if test -n "$GTK_CONFIG"; then
20311 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20312echo "${ECHO_T}$GTK_CONFIG" >&6
20313else
20314 echo "$as_me:$LINENO: result: no" >&5
20315echo "${ECHO_T}no" >&6
20316fi
20317
20318 min_gtk_version=1.2.7
20319 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20320echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20321 no_gtk=""
20322 if test "$GTK_CONFIG" = "no" ; then
20323 no_gtk=yes
20324 else
20325 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20326 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20327 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20329 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20331 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20333 if test "x$enable_gtktest" = "xyes" ; then
20334 ac_save_CFLAGS="$CFLAGS"
20335 ac_save_LIBS="$LIBS"
20336 CFLAGS="$CFLAGS $GTK_CFLAGS"
20337 LIBS="$GTK_LIBS $LIBS"
20338 rm -f conf.gtktest
20339 if test "$cross_compiling" = yes; then
20340 echo $ac_n "cross compiling; assumed OK... $ac_c"
20341else
20342 cat >conftest.$ac_ext <<_ACEOF
20343#line $LINENO "configure"
20344/* confdefs.h. */
20345_ACEOF
20346cat confdefs.h >>conftest.$ac_ext
20347cat >>conftest.$ac_ext <<_ACEOF
20348/* end confdefs.h. */
20349
20350#include <gtk/gtk.h>
20351#include <stdio.h>
20352#include <stdlib.h>
20353
20354int
20355main ()
20356{
20357 int major, minor, micro;
20358 char *tmp_version;
20359
20360 system ("touch conf.gtktest");
20361
20362 /* HP/UX 9 (%@#!) writes to sscanf strings */
20363 tmp_version = g_strdup("$min_gtk_version");
20364 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20365 printf("%s, bad version string\n", "$min_gtk_version");
20366 exit(1);
20367 }
20368
20369 if ((gtk_major_version != $gtk_config_major_version) ||
20370 (gtk_minor_version != $gtk_config_minor_version) ||
20371 (gtk_micro_version != $gtk_config_micro_version))
20372 {
20373 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20374 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20375 gtk_major_version, gtk_minor_version, gtk_micro_version);
20376 printf ("*** was found! If gtk-config was correct, then it is best\n");
20377 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20378 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20379 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20380 printf("*** required on your system.\n");
20381 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20382 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20383 printf("*** before re-running configure\n");
20384 }
20385#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20386 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20387 (gtk_minor_version != GTK_MINOR_VERSION) ||
20388 (gtk_micro_version != GTK_MICRO_VERSION))
20389 {
20390 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20391 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20392 printf("*** library (version %d.%d.%d)\n",
20393 gtk_major_version, gtk_minor_version, gtk_micro_version);
20394 }
20395#endif /* defined (GTK_MAJOR_VERSION) ... */
20396 else
20397 {
20398 if ((gtk_major_version > major) ||
20399 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20400 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20401 {
20402 return 0;
20403 }
20404 else
20405 {
20406 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20407 gtk_major_version, gtk_minor_version, gtk_micro_version);
20408 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20409 major, minor, micro);
20410 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20411 printf("***\n");
20412 printf("*** If you have already installed a sufficiently new version, this error\n");
20413 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20414 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20415 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20416 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20417 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20418 printf("*** so that the correct libraries are found at run-time))\n");
20419 }
20420 }
20421 return 1;
20422}
20423
20424_ACEOF
20425rm -f conftest$ac_exeext
20426if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20427 (eval $ac_link) 2>&5
20428 ac_status=$?
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20433 ac_status=$?
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; }; then
20436 :
20437else
20438 echo "$as_me: program exited with status $ac_status" >&5
20439echo "$as_me: failed program was:" >&5
20440sed 's/^/| /' conftest.$ac_ext >&5
20441
20442( exit $ac_status )
20443no_gtk=yes
20444fi
20445rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20446fi
20447 CFLAGS="$ac_save_CFLAGS"
20448 LIBS="$ac_save_LIBS"
20449 fi
20450 fi
20451 if test "x$no_gtk" = x ; then
20452 echo "$as_me:$LINENO: result: yes" >&5
20453echo "${ECHO_T}yes" >&6
20454 wx_cv_lib_gtk=1.2.7
20455 else
20456 echo "$as_me:$LINENO: result: no" >&5
20457echo "${ECHO_T}no" >&6
20458 if test "$GTK_CONFIG" = "no" ; then
20459 echo "*** The gtk-config script installed by GTK could not be found"
20460 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20461 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20462 echo "*** full path to gtk-config."
20463 else
20464 if test -f conf.gtktest ; then
20465 :
20466 else
20467 echo "*** Could not run GTK test program, checking why..."
20468 CFLAGS="$CFLAGS $GTK_CFLAGS"
20469 LIBS="$LIBS $GTK_LIBS"
20470 cat >conftest.$ac_ext <<_ACEOF
20471#line $LINENO "configure"
20472/* confdefs.h. */
20473_ACEOF
20474cat confdefs.h >>conftest.$ac_ext
20475cat >>conftest.$ac_ext <<_ACEOF
20476/* end confdefs.h. */
20477
20478#include <gtk/gtk.h>
20479#include <stdio.h>
20480
20481int
20482main ()
20483{
20484 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20485 ;
20486 return 0;
20487}
20488_ACEOF
20489rm -f conftest.$ac_objext conftest$ac_exeext
20490if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20491 (eval $ac_link) 2>&5
20492 ac_status=$?
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); } &&
20495 { ac_try='test -s conftest$ac_exeext'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20498 ac_status=$?
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; }; then
20501 echo "*** The test program compiled, but did not run. This usually means"
20502 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20503 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20504 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20505 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20506 echo "*** is required on your system"
20507 echo "***"
20508 echo "*** If you have an old version installed, it is best to remove it, although"
20509 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20510 echo "***"
20511 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20512 echo "*** came with the system with the command"
20513 echo "***"
20514 echo "*** rpm --erase --nodeps gtk gtk-devel"
20515else
20516 echo "$as_me: failed program was:" >&5
20517sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 echo "*** The test program failed to compile or link. See the file config.log for the"
20520 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20521 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20522 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20523fi
20524rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20525 CFLAGS="$ac_save_CFLAGS"
20526 LIBS="$ac_save_LIBS"
20527 fi
20528 fi
20529 GTK_CFLAGS=""
20530 GTK_LIBS=""
20531 :
20532 fi
20533
20534
20535 rm -f conf.gtktest
20536
20537
20538 if test -z "$wx_cv_lib_gtk"; then
20539
20540# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20541if test "${with_gtk_prefix+set}" = set; then
20542 withval="$with_gtk_prefix"
20543 gtk_config_prefix="$withval"
20544else
20545 gtk_config_prefix=""
20546fi;
20547
20548# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20549if test "${with_gtk_exec_prefix+set}" = set; then
20550 withval="$with_gtk_exec_prefix"
20551 gtk_config_exec_prefix="$withval"
20552else
20553 gtk_config_exec_prefix=""
20554fi;
20555# Check whether --enable-gtktest or --disable-gtktest was given.
20556if test "${enable_gtktest+set}" = set; then
20557 enableval="$enable_gtktest"
20558
20559else
20560 enable_gtktest=yes
20561fi;
20562
20563 for module in . $GTK_MODULES
20564 do
20565 case "$module" in
20566 gthread)
20567 gtk_config_args="$gtk_config_args gthread"
20568 ;;
20569 esac
20570 done
20571
20572 if test x$gtk_config_exec_prefix != x ; then
20573 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20574 if test x${GTK_CONFIG+set} != xset ; then
20575 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20576 fi
20577 fi
20578 if test x$gtk_config_prefix != x ; then
20579 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20580 if test x${GTK_CONFIG+set} != xset ; then
20581 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20582 fi
20583 fi
20584
20585 # Extract the first word of "gtk-config", so it can be a program name with args.
20586set dummy gtk-config; ac_word=$2
20587echo "$as_me:$LINENO: checking for $ac_word" >&5
20588echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20589if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20590 echo $ECHO_N "(cached) $ECHO_C" >&6
20591else
20592 case $GTK_CONFIG in
20593 [\\/]* | ?:[\\/]*)
20594 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20595 ;;
20596 *)
20597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20598for as_dir in $PATH
20599do
20600 IFS=$as_save_IFS
20601 test -z "$as_dir" && as_dir=.
20602 for ac_exec_ext in '' $ac_executable_extensions; do
20603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20604 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20606 break 2
20607 fi
20608done
20609done
20610
20611 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20612 ;;
20613esac
20614fi
20615GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20616
20617if test -n "$GTK_CONFIG"; then
20618 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20619echo "${ECHO_T}$GTK_CONFIG" >&6
20620else
20621 echo "$as_me:$LINENO: result: no" >&5
20622echo "${ECHO_T}no" >&6
20623fi
20624
20625 min_gtk_version=1.2.3
20626 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20627echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20628 no_gtk=""
20629 if test "$GTK_CONFIG" = "no" ; then
20630 no_gtk=yes
20631 else
20632 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20633 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20634 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20635 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20636 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20638 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20640 if test "x$enable_gtktest" = "xyes" ; then
20641 ac_save_CFLAGS="$CFLAGS"
20642 ac_save_LIBS="$LIBS"
20643 CFLAGS="$CFLAGS $GTK_CFLAGS"
20644 LIBS="$GTK_LIBS $LIBS"
20645 rm -f conf.gtktest
20646 if test "$cross_compiling" = yes; then
20647 echo $ac_n "cross compiling; assumed OK... $ac_c"
20648else
20649 cat >conftest.$ac_ext <<_ACEOF
20650#line $LINENO "configure"
20651/* confdefs.h. */
20652_ACEOF
20653cat confdefs.h >>conftest.$ac_ext
20654cat >>conftest.$ac_ext <<_ACEOF
20655/* end confdefs.h. */
20656
20657#include <gtk/gtk.h>
20658#include <stdio.h>
20659#include <stdlib.h>
20660
20661int
20662main ()
20663{
20664 int major, minor, micro;
20665 char *tmp_version;
20666
20667 system ("touch conf.gtktest");
20668
20669 /* HP/UX 9 (%@#!) writes to sscanf strings */
20670 tmp_version = g_strdup("$min_gtk_version");
20671 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20672 printf("%s, bad version string\n", "$min_gtk_version");
20673 exit(1);
20674 }
20675
20676 if ((gtk_major_version != $gtk_config_major_version) ||
20677 (gtk_minor_version != $gtk_config_minor_version) ||
20678 (gtk_micro_version != $gtk_config_micro_version))
20679 {
20680 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20681 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20682 gtk_major_version, gtk_minor_version, gtk_micro_version);
20683 printf ("*** was found! If gtk-config was correct, then it is best\n");
20684 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20685 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20686 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20687 printf("*** required on your system.\n");
20688 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20689 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20690 printf("*** before re-running configure\n");
20691 }
20692#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20693 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20694 (gtk_minor_version != GTK_MINOR_VERSION) ||
20695 (gtk_micro_version != GTK_MICRO_VERSION))
20696 {
20697 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20698 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20699 printf("*** library (version %d.%d.%d)\n",
20700 gtk_major_version, gtk_minor_version, gtk_micro_version);
20701 }
20702#endif /* defined (GTK_MAJOR_VERSION) ... */
20703 else
20704 {
20705 if ((gtk_major_version > major) ||
20706 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20707 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20708 {
20709 return 0;
20710 }
20711 else
20712 {
20713 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20714 gtk_major_version, gtk_minor_version, gtk_micro_version);
20715 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20716 major, minor, micro);
20717 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20718 printf("***\n");
20719 printf("*** If you have already installed a sufficiently new version, this error\n");
20720 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20721 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20722 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20723 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20724 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20725 printf("*** so that the correct libraries are found at run-time))\n");
20726 }
20727 }
20728 return 1;
20729}
20730
20731_ACEOF
20732rm -f conftest$ac_exeext
20733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20734 (eval $ac_link) 2>&5
20735 ac_status=$?
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739 (eval $ac_try) 2>&5
20740 ac_status=$?
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); }; }; then
20743 :
20744else
20745 echo "$as_me: program exited with status $ac_status" >&5
20746echo "$as_me: failed program was:" >&5
20747sed 's/^/| /' conftest.$ac_ext >&5
20748
20749( exit $ac_status )
20750no_gtk=yes
20751fi
20752rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20753fi
20754 CFLAGS="$ac_save_CFLAGS"
20755 LIBS="$ac_save_LIBS"
20756 fi
20757 fi
20758 if test "x$no_gtk" = x ; then
20759 echo "$as_me:$LINENO: result: yes" >&5
20760echo "${ECHO_T}yes" >&6
20761 wx_cv_lib_gtk=1.2.3
20762 else
20763 echo "$as_me:$LINENO: result: no" >&5
20764echo "${ECHO_T}no" >&6
20765 if test "$GTK_CONFIG" = "no" ; then
20766 echo "*** The gtk-config script installed by GTK could not be found"
20767 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20768 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20769 echo "*** full path to gtk-config."
20770 else
20771 if test -f conf.gtktest ; then
20772 :
20773 else
20774 echo "*** Could not run GTK test program, checking why..."
20775 CFLAGS="$CFLAGS $GTK_CFLAGS"
20776 LIBS="$LIBS $GTK_LIBS"
20777 cat >conftest.$ac_ext <<_ACEOF
20778#line $LINENO "configure"
20779/* confdefs.h. */
20780_ACEOF
20781cat confdefs.h >>conftest.$ac_ext
20782cat >>conftest.$ac_ext <<_ACEOF
20783/* end confdefs.h. */
20784
20785#include <gtk/gtk.h>
20786#include <stdio.h>
20787
20788int
20789main ()
20790{
20791 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20792 ;
20793 return 0;
20794}
20795_ACEOF
20796rm -f conftest.$ac_objext conftest$ac_exeext
20797if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798 (eval $ac_link) 2>&5
20799 ac_status=$?
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } &&
20802 { ac_try='test -s conftest$ac_exeext'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20805 ac_status=$?
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20808 echo "*** The test program compiled, but did not run. This usually means"
20809 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20810 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20811 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20812 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20813 echo "*** is required on your system"
20814 echo "***"
20815 echo "*** If you have an old version installed, it is best to remove it, although"
20816 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20817 echo "***"
20818 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20819 echo "*** came with the system with the command"
20820 echo "***"
20821 echo "*** rpm --erase --nodeps gtk gtk-devel"
20822else
20823 echo "$as_me: failed program was:" >&5
20824sed 's/^/| /' conftest.$ac_ext >&5
20825
20826 echo "*** The test program failed to compile or link. See the file config.log for the"
20827 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20828 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20829 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20830fi
20831rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20832 CFLAGS="$ac_save_CFLAGS"
20833 LIBS="$ac_save_LIBS"
20834 fi
20835 fi
20836 GTK_CFLAGS=""
20837 GTK_LIBS=""
20838 :
20839 fi
20840
20841
20842 rm -f conf.gtktest
20843
20844 fi
20845 fi
20846
20847 if test -z "$wx_cv_lib_gtk"; then
20848 wx_cv_lib_gtk=none
20849 else
20850 wx_cv_cflags_gtk=$GTK_CFLAGS
20851 wx_cv_libs_gtk=$GTK_LIBS
20852 fi
20853
20854
20855fi
20856
20857
20858 if test "$gtk_version_cached" = 1; then
20859 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20860echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20861 fi
20862
20863 case "$wx_cv_lib_gtk" in
20864 2.0) WXGTK20=1
20865 TOOLKIT_VERSION=2
20866 ;;
20867 1.2.7) WXGTK127=1
20868 WXGTK12=1
20869 ;;
20870 1.2.3) WXGTK12=1
20871 ;;
20872 *) { { echo "$as_me:$LINENO: error:
20873Please check that gtk-config is in path, the directory
20874where GTK+ libraries are installed (returned by
20875'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20876equivalent variable and GTK+ is version 1.2.3 or above.
20877 " >&5
20878echo "$as_me: error:
20879Please check that gtk-config is in path, the directory
20880where GTK+ libraries are installed (returned by
20881'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20882equivalent variable and GTK+ is version 1.2.3 or above.
20883 " >&2;}
20884 { (exit 1); exit 1; }; }
20885 ;;
20886 esac
20887
20888 if test "$WXGTK20" = 1; then
20889 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20890
20891 succeeded=no
20892
20893 if test -z "$PKG_CONFIG"; then
20894 # Extract the first word of "pkg-config", so it can be a program name with args.
20895set dummy pkg-config; ac_word=$2
20896echo "$as_me:$LINENO: checking for $ac_word" >&5
20897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20898if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20900else
20901 case $PKG_CONFIG in
20902 [\\/]* | ?:[\\/]*)
20903 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20904 ;;
20905 *)
20906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20907for as_dir in $PATH
20908do
20909 IFS=$as_save_IFS
20910 test -z "$as_dir" && as_dir=.
20911 for ac_exec_ext in '' $ac_executable_extensions; do
20912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20913 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20915 break 2
20916 fi
20917done
20918done
20919
20920 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20921 ;;
20922esac
20923fi
20924PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20925
20926if test -n "$PKG_CONFIG"; then
20927 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20928echo "${ECHO_T}$PKG_CONFIG" >&6
20929else
20930 echo "$as_me:$LINENO: result: no" >&5
20931echo "${ECHO_T}no" >&6
20932fi
20933
20934 fi
20935
20936 if test "$PKG_CONFIG" = "no" ; then
20937 echo "*** The pkg-config script could not be found. Make sure it is"
20938 echo "*** in your path, or set the PKG_CONFIG environment variable"
20939 echo "*** to the full path to pkg-config."
20940 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20941 else
20942 PKG_CONFIG_MIN_VERSION=0.9.0
20943 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20944 echo "$as_me:$LINENO: checking for pangoft2" >&5
20945echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20946
20947 if $PKG_CONFIG --exists "pangoft2" ; then
20948 echo "$as_me:$LINENO: result: yes" >&5
20949echo "${ECHO_T}yes" >&6
20950 succeeded=yes
20951
20952 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20953echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20954 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20955 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20956echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20957
20958 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20959echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20960 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20961 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20962echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20963 else
20964 PANGOFT2_CFLAGS=""
20965 PANGOFT2_LIBS=""
20966 ## If we have a custom action on failure, don't print errors, but
20967 ## do set a variable so people can do so.
20968 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20969
20970 fi
20971
20972
20973
20974 else
20975 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20976 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20977 fi
20978 fi
20979
20980 if test $succeeded = yes; then
20981
20982 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20983 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20984
20985 else
20986
20987 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20988echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20989 wxUSE_PRINTING_ARCHITECTURE="no"
20990
20991
20992 fi
20993
20994 fi
20995 else
20996 if test "$wxUSE_UNICODE" = "yes"; then
20997 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20998echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20999 wxUSE_UNICODE=no
21000 fi
21001 fi
21002
21003 if test "$USE_DARWIN" != 1; then
21004
21005for ac_func in poll
21006do
21007as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21008echo "$as_me:$LINENO: checking for $ac_func" >&5
21009echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21010if eval "test \"\${$as_ac_var+set}\" = set"; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21012else
21013 cat >conftest.$ac_ext <<_ACEOF
21014#line $LINENO "configure"
21015/* confdefs.h. */
21016_ACEOF
21017cat confdefs.h >>conftest.$ac_ext
21018cat >>conftest.$ac_ext <<_ACEOF
21019/* end confdefs.h. */
21020/* System header to define __stub macros and hopefully few prototypes,
21021 which can conflict with char $ac_func (); below.
21022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21023 <limits.h> exists even on freestanding compilers. */
21024#ifdef __STDC__
21025# include <limits.h>
21026#else
21027# include <assert.h>
21028#endif
21029/* Override any gcc2 internal prototype to avoid an error. */
21030#ifdef __cplusplus
21031extern "C"
21032{
21033#endif
21034/* We use char because int might match the return type of a gcc2
21035 builtin and then its argument prototype would still apply. */
21036char $ac_func ();
21037/* The GNU C library defines this for functions which it implements
21038 to always fail with ENOSYS. Some functions are actually named
21039 something starting with __ and the normal name is an alias. */
21040#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21041choke me
21042#else
21043char (*f) () = $ac_func;
21044#endif
21045#ifdef __cplusplus
21046}
21047#endif
21048
21049int
21050main ()
21051{
21052return f != $ac_func;
21053 ;
21054 return 0;
21055}
21056_ACEOF
21057rm -f conftest.$ac_objext conftest$ac_exeext
21058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059 (eval $ac_link) 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } &&
21063 { ac_try='test -s conftest$ac_exeext'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21066 ac_status=$?
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; }; then
21069 eval "$as_ac_var=yes"
21070else
21071 echo "$as_me: failed program was:" >&5
21072sed 's/^/| /' conftest.$ac_ext >&5
21073
21074eval "$as_ac_var=no"
21075fi
21076rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21077fi
21078echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21079echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21080if test `eval echo '${'$as_ac_var'}'` = yes; then
21081 cat >>confdefs.h <<_ACEOF
21082#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21083_ACEOF
21084
21085fi
21086done
21087
21088 fi
21089
21090 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21091 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21092
21093 AFMINSTALL=afminstall
21094 TOOLKIT=GTK
21095 GUIDIST=GTK_DIST
21096
21097 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21098echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21099if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21101else
21102 ac_check_lib_save_LIBS=$LIBS
21103LIBS="-lgdk $LIBS"
21104cat >conftest.$ac_ext <<_ACEOF
21105#line $LINENO "configure"
21106/* confdefs.h. */
21107_ACEOF
21108cat confdefs.h >>conftest.$ac_ext
21109cat >>conftest.$ac_ext <<_ACEOF
21110/* end confdefs.h. */
21111
21112/* Override any gcc2 internal prototype to avoid an error. */
21113#ifdef __cplusplus
21114extern "C"
21115#endif
21116/* We use char because int might match the return type of a gcc2
21117 builtin and then its argument prototype would still apply. */
21118char gdk_im_open ();
21119int
21120main ()
21121{
21122gdk_im_open ();
21123 ;
21124 return 0;
21125}
21126_ACEOF
21127rm -f conftest.$ac_objext conftest$ac_exeext
21128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21129 (eval $ac_link) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try='test -s conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_cv_lib_gdk_gdk_im_open=yes
21140else
21141 echo "$as_me: failed program was:" >&5
21142sed 's/^/| /' conftest.$ac_ext >&5
21143
21144ac_cv_lib_gdk_gdk_im_open=no
21145fi
21146rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21147LIBS=$ac_check_lib_save_LIBS
21148fi
21149echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21150echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21151if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21152 cat >>confdefs.h <<\_ACEOF
21153#define HAVE_XIM 1
21154_ACEOF
21155
21156fi
21157
21158 fi
21159
21160 if test "$wxUSE_MGL" = 1; then
21161 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21162echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21163 if test "x$MGL_ROOT" = x ; then
21164 echo "$as_me:$LINENO: result: not found" >&5
21165echo "${ECHO_T}not found" >&6
21166 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21167echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21168 { (exit 1); exit 1; }; }
21169 else
21170 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21171echo "${ECHO_T}$MGL_ROOT" >&6
21172 fi
21173
21174 echo "$as_me:$LINENO: checking for libmgl location" >&5
21175echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21176 case "${host}" in
21177 *-*-linux* )
21178 if test "x$wxUSE_SHARED" = xyes ; then
21179 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
21180 else
21181 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
21182 fi
21183 ;;
21184 *-pc-msdosdjgpp )
21185 mgl_os_candidates="dos32/dj2"
21186 ;;
21187 *)
21188 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21189echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21190 { (exit 1); exit 1; }; }
21191 esac
21192
21193 mgl_lib_type=""
21194 mgl_os=""
21195
21196 for mgl_os_i in $mgl_os_candidates ; do
21197 if test "x$mgl_os" = x ; then
21198 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21199 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21200 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21201 mgl_lib_type=debug
21202 mgl_os=$mgl_os_i
21203 fi
21204 fi
21205 if test "x$mgl_lib_type" = x ; then
21206 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21207 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21208 mgl_lib_type=release
21209 mgl_os=$mgl_os_i
21210 fi
21211 fi
21212 fi
21213 done
21214
21215 if test "x$mgl_os" = x ; then
21216 echo "$as_me:$LINENO: result: not found" >&5
21217echo "${ECHO_T}not found" >&6
21218 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21219echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21220 { (exit 1); exit 1; }; }
21221 fi
21222 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21223echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21224
21225 wxUSE_UNIVERSAL="yes"
21226
21227 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21228 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21229
21230 AFMINSTALL=afminstall
21231 TOOLKIT=MGL
21232 GUIDIST=MGL_DIST
21233 fi
21234
21235 if test "$wxUSE_MICROWIN" = 1; then
21236 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21237echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21238 if test "x$MICROWINDOWS" = x ; then
21239 echo "$as_me:$LINENO: result: not found" >&5
21240echo "${ECHO_T}not found" >&6
21241 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21242echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21243 { (exit 1); exit 1; }; }
21244 else
21245 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21246echo "${ECHO_T}$MICROWINDOWS" >&6
21247 fi
21248
21249 if test -f $MICROWINDOWS/lib/libmwin.a; then
21250 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21251echo "${ECHO_T}MicroWindows' libraries found." >&6
21252 else
21253 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21254echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21255 { (exit 1); exit 1; }; }
21256 fi
21257
21258 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21259 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21260
21261 wxUSE_UNIVERSAL="yes"
21262
21263 AFMINSTALL=afminstall
21264 TOOLKIT=MICROWIN
21265 GUIDIST=MICROWIN_DIST
21266
21267 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21268 fi
21269
21270 if test "$wxUSE_X11" = 1; then
21271 echo "$as_me:$LINENO: checking for X" >&5
21272echo $ECHO_N "checking for X... $ECHO_C" >&6
21273
21274
21275# Check whether --with-x or --without-x was given.
21276if test "${with_x+set}" = set; then
21277 withval="$with_x"
21278
21279fi;
21280# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21281if test "x$with_x" = xno; then
21282 # The user explicitly disabled X.
21283 have_x=disabled
21284else
21285 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21286 # Both variables are already set.
21287 have_x=yes
21288 else
21289 if test "${ac_cv_have_x+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21291else
21292 # One or both of the vars are not set, and there is no cached value.
21293ac_x_includes=no ac_x_libraries=no
21294rm -fr conftest.dir
21295if mkdir conftest.dir; then
21296 cd conftest.dir
21297 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21298 cat >Imakefile <<'_ACEOF'
21299acfindx:
21300 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21301_ACEOF
21302 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21303 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21304 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21305 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21306 for ac_extension in a so sl; do
21307 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21308 test -f $ac_im_libdir/libX11.$ac_extension; then
21309 ac_im_usrlibdir=$ac_im_libdir; break
21310 fi
21311 done
21312 # Screen out bogus values from the imake configuration. They are
21313 # bogus both because they are the default anyway, and because
21314 # using them would break gcc on systems where it needs fixed includes.
21315 case $ac_im_incroot in
21316 /usr/include) ;;
21317 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21318 esac
21319 case $ac_im_usrlibdir in
21320 /usr/lib | /lib) ;;
21321 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21322 esac
21323 fi
21324 cd ..
21325 rm -fr conftest.dir
21326fi
21327
21328# Standard set of common directories for X headers.
21329# Check X11 before X11Rn because it is often a symlink to the current release.
21330ac_x_header_dirs='
21331/usr/X11/include
21332/usr/X11R6/include
21333/usr/X11R5/include
21334/usr/X11R4/include
21335
21336/usr/include/X11
21337/usr/include/X11R6
21338/usr/include/X11R5
21339/usr/include/X11R4
21340
21341/usr/local/X11/include
21342/usr/local/X11R6/include
21343/usr/local/X11R5/include
21344/usr/local/X11R4/include
21345
21346/usr/local/include/X11
21347/usr/local/include/X11R6
21348/usr/local/include/X11R5
21349/usr/local/include/X11R4
21350
21351/usr/X386/include
21352/usr/x386/include
21353/usr/XFree86/include/X11
21354
21355/usr/include
21356/usr/local/include
21357/usr/unsupported/include
21358/usr/athena/include
21359/usr/local/x11r5/include
21360/usr/lpp/Xamples/include
21361
21362/usr/openwin/include
21363/usr/openwin/share/include'
21364
21365if test "$ac_x_includes" = no; then
21366 # Guess where to find include files, by looking for Intrinsic.h.
21367 # First, try using that file with no special directory specified.
21368 cat >conftest.$ac_ext <<_ACEOF
21369#line $LINENO "configure"
21370/* confdefs.h. */
21371_ACEOF
21372cat confdefs.h >>conftest.$ac_ext
21373cat >>conftest.$ac_ext <<_ACEOF
21374/* end confdefs.h. */
21375#include <X11/Intrinsic.h>
21376_ACEOF
21377if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21379 ac_status=$?
21380 grep -v '^ *+' conftest.er1 >conftest.err
21381 rm -f conftest.er1
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } >/dev/null; then
21385 if test -s conftest.err; then
21386 ac_cpp_err=$ac_c_preproc_warn_flag
21387 else
21388 ac_cpp_err=
21389 fi
21390else
21391 ac_cpp_err=yes
21392fi
21393if test -z "$ac_cpp_err"; then
21394 # We can compile using X headers with no special include directory.
21395ac_x_includes=
21396else
21397 echo "$as_me: failed program was:" >&5
21398sed 's/^/| /' conftest.$ac_ext >&5
21399
21400 for ac_dir in $ac_x_header_dirs; do
21401 if test -r "$ac_dir/X11/Intrinsic.h"; then
21402 ac_x_includes=$ac_dir
21403 break
21404 fi
21405done
21406fi
21407rm -f conftest.err conftest.$ac_ext
21408fi # $ac_x_includes = no
21409
21410if test "$ac_x_libraries" = no; then
21411 # Check for the libraries.
21412 # See if we find them without any special options.
21413 # Don't add to $LIBS permanently.
21414 ac_save_LIBS=$LIBS
21415 LIBS="-lXt $LIBS"
21416 cat >conftest.$ac_ext <<_ACEOF
21417#line $LINENO "configure"
21418/* confdefs.h. */
21419_ACEOF
21420cat confdefs.h >>conftest.$ac_ext
21421cat >>conftest.$ac_ext <<_ACEOF
21422/* end confdefs.h. */
21423#include <X11/Intrinsic.h>
21424int
21425main ()
21426{
21427XtMalloc (0)
21428 ;
21429 return 0;
21430}
21431_ACEOF
21432rm -f conftest.$ac_objext conftest$ac_exeext
21433if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21434 (eval $ac_link) 2>&5
21435 ac_status=$?
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -s conftest$ac_exeext'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21441 ac_status=$?
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; }; then
21444 LIBS=$ac_save_LIBS
21445# We can link X programs with no special library path.
21446ac_x_libraries=
21447else
21448 echo "$as_me: failed program was:" >&5
21449sed 's/^/| /' conftest.$ac_ext >&5
21450
21451LIBS=$ac_save_LIBS
21452for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21453do
21454 # Don't even attempt the hair of trying to link an X program!
21455 for ac_extension in a so sl; do
21456 if test -r $ac_dir/libXt.$ac_extension; then
21457 ac_x_libraries=$ac_dir
21458 break 2
21459 fi
21460 done
21461done
21462fi
21463rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21464fi # $ac_x_libraries = no
21465
21466if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21467 # Didn't find X anywhere. Cache the known absence of X.
21468 ac_cv_have_x="have_x=no"
21469else
21470 # Record where we found X for the cache.
21471 ac_cv_have_x="have_x=yes \
21472 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21473fi
21474fi
21475
21476 fi
21477 eval "$ac_cv_have_x"
21478fi # $with_x != no
21479
21480if test "$have_x" != yes; then
21481 echo "$as_me:$LINENO: result: $have_x" >&5
21482echo "${ECHO_T}$have_x" >&6
21483 no_x=yes
21484else
21485 # If each of the values was on the command line, it overrides each guess.
21486 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21487 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21488 # Update the cache value to reflect the command line values.
21489 ac_cv_have_x="have_x=yes \
21490 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21491 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21492echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21493fi
21494
21495if test "$no_x" = yes; then
21496 # Not all programs may use this symbol, but it does not hurt to define it.
21497
21498cat >>confdefs.h <<\_ACEOF
21499#define X_DISPLAY_MISSING 1
21500_ACEOF
21501
21502 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21503else
21504 if test -n "$x_includes"; then
21505 X_CFLAGS="$X_CFLAGS -I$x_includes"
21506 fi
21507
21508 # It would also be nice to do this for all -L options, not just this one.
21509 if test -n "$x_libraries"; then
21510 X_LIBS="$X_LIBS -L$x_libraries"
21511 # For Solaris; some versions of Sun CC require a space after -R and
21512 # others require no space. Words are not sufficient . . . .
21513 case `(uname -sr) 2>/dev/null` in
21514 "SunOS 5"*)
21515 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21516echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21517 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21518 cat >conftest.$ac_ext <<_ACEOF
21519#line $LINENO "configure"
21520/* confdefs.h. */
21521_ACEOF
21522cat confdefs.h >>conftest.$ac_ext
21523cat >>conftest.$ac_ext <<_ACEOF
21524/* end confdefs.h. */
21525
21526int
21527main ()
21528{
21529
21530 ;
21531 return 0;
21532}
21533_ACEOF
21534rm -f conftest.$ac_objext conftest$ac_exeext
21535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21536 (eval $ac_link) 2>&5
21537 ac_status=$?
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); } &&
21540 { ac_try='test -s conftest$ac_exeext'
21541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542 (eval $ac_try) 2>&5
21543 ac_status=$?
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 ac_R_nospace=yes
21547else
21548 echo "$as_me: failed program was:" >&5
21549sed 's/^/| /' conftest.$ac_ext >&5
21550
21551ac_R_nospace=no
21552fi
21553rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21554 if test $ac_R_nospace = yes; then
21555 echo "$as_me:$LINENO: result: no" >&5
21556echo "${ECHO_T}no" >&6
21557 X_LIBS="$X_LIBS -R$x_libraries"
21558 else
21559 LIBS="$ac_xsave_LIBS -R $x_libraries"
21560 cat >conftest.$ac_ext <<_ACEOF
21561#line $LINENO "configure"
21562/* confdefs.h. */
21563_ACEOF
21564cat confdefs.h >>conftest.$ac_ext
21565cat >>conftest.$ac_ext <<_ACEOF
21566/* end confdefs.h. */
21567
21568int
21569main ()
21570{
21571
21572 ;
21573 return 0;
21574}
21575_ACEOF
21576rm -f conftest.$ac_objext conftest$ac_exeext
21577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21578 (eval $ac_link) 2>&5
21579 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21585 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 ac_R_space=yes
21589else
21590 echo "$as_me: failed program was:" >&5
21591sed 's/^/| /' conftest.$ac_ext >&5
21592
21593ac_R_space=no
21594fi
21595rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21596 if test $ac_R_space = yes; then
21597 echo "$as_me:$LINENO: result: yes" >&5
21598echo "${ECHO_T}yes" >&6
21599 X_LIBS="$X_LIBS -R $x_libraries"
21600 else
21601 echo "$as_me:$LINENO: result: neither works" >&5
21602echo "${ECHO_T}neither works" >&6
21603 fi
21604 fi
21605 LIBS=$ac_xsave_LIBS
21606 esac
21607 fi
21608
21609 # Check for system-dependent libraries X programs must link with.
21610 # Do this before checking for the system-independent R6 libraries
21611 # (-lICE), since we may need -lsocket or whatever for X linking.
21612
21613 if test "$ISC" = yes; then
21614 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21615 else
21616 # Martyn Johnson says this is needed for Ultrix, if the X
21617 # libraries were built with DECnet support. And Karl Berry says
21618 # the Alpha needs dnet_stub (dnet does not exist).
21619 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21620 cat >conftest.$ac_ext <<_ACEOF
21621#line $LINENO "configure"
21622/* confdefs.h. */
21623_ACEOF
21624cat confdefs.h >>conftest.$ac_ext
21625cat >>conftest.$ac_ext <<_ACEOF
21626/* end confdefs.h. */
21627
21628/* Override any gcc2 internal prototype to avoid an error. */
21629#ifdef __cplusplus
21630extern "C"
21631#endif
21632/* We use char because int might match the return type of a gcc2
21633 builtin and then its argument prototype would still apply. */
21634char XOpenDisplay ();
21635int
21636main ()
21637{
21638XOpenDisplay ();
21639 ;
21640 return 0;
21641}
21642_ACEOF
21643rm -f conftest.$ac_objext conftest$ac_exeext
21644if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21645 (eval $ac_link) 2>&5
21646 ac_status=$?
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } &&
21649 { ac_try='test -s conftest$ac_exeext'
21650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21651 (eval $ac_try) 2>&5
21652 ac_status=$?
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); }; }; then
21655 :
21656else
21657 echo "$as_me: failed program was:" >&5
21658sed 's/^/| /' conftest.$ac_ext >&5
21659
21660echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21661echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21662if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21663 echo $ECHO_N "(cached) $ECHO_C" >&6
21664else
21665 ac_check_lib_save_LIBS=$LIBS
21666LIBS="-ldnet $LIBS"
21667cat >conftest.$ac_ext <<_ACEOF
21668#line $LINENO "configure"
21669/* confdefs.h. */
21670_ACEOF
21671cat confdefs.h >>conftest.$ac_ext
21672cat >>conftest.$ac_ext <<_ACEOF
21673/* end confdefs.h. */
21674
21675/* Override any gcc2 internal prototype to avoid an error. */
21676#ifdef __cplusplus
21677extern "C"
21678#endif
21679/* We use char because int might match the return type of a gcc2
21680 builtin and then its argument prototype would still apply. */
21681char dnet_ntoa ();
21682int
21683main ()
21684{
21685dnet_ntoa ();
21686 ;
21687 return 0;
21688}
21689_ACEOF
21690rm -f conftest.$ac_objext conftest$ac_exeext
21691if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21692 (eval $ac_link) 2>&5
21693 ac_status=$?
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } &&
21696 { ac_try='test -s conftest$ac_exeext'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21699 ac_status=$?
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; }; then
21702 ac_cv_lib_dnet_dnet_ntoa=yes
21703else
21704 echo "$as_me: failed program was:" >&5
21705sed 's/^/| /' conftest.$ac_ext >&5
21706
21707ac_cv_lib_dnet_dnet_ntoa=no
21708fi
21709rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21710LIBS=$ac_check_lib_save_LIBS
21711fi
21712echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21713echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21714if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21715 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21716fi
21717
21718 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21719 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21720echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21721if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21722 echo $ECHO_N "(cached) $ECHO_C" >&6
21723else
21724 ac_check_lib_save_LIBS=$LIBS
21725LIBS="-ldnet_stub $LIBS"
21726cat >conftest.$ac_ext <<_ACEOF
21727#line $LINENO "configure"
21728/* confdefs.h. */
21729_ACEOF
21730cat confdefs.h >>conftest.$ac_ext
21731cat >>conftest.$ac_ext <<_ACEOF
21732/* end confdefs.h. */
21733
21734/* Override any gcc2 internal prototype to avoid an error. */
21735#ifdef __cplusplus
21736extern "C"
21737#endif
21738/* We use char because int might match the return type of a gcc2
21739 builtin and then its argument prototype would still apply. */
21740char dnet_ntoa ();
21741int
21742main ()
21743{
21744dnet_ntoa ();
21745 ;
21746 return 0;
21747}
21748_ACEOF
21749rm -f conftest.$ac_objext conftest$ac_exeext
21750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21751 (eval $ac_link) 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } &&
21755 { ac_try='test -s conftest$ac_exeext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21762else
21763 echo "$as_me: failed program was:" >&5
21764sed 's/^/| /' conftest.$ac_ext >&5
21765
21766ac_cv_lib_dnet_stub_dnet_ntoa=no
21767fi
21768rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21769LIBS=$ac_check_lib_save_LIBS
21770fi
21771echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21772echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21773if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21774 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21775fi
21776
21777 fi
21778fi
21779rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21780 LIBS="$ac_xsave_LIBS"
21781
21782 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21783 # to get the SysV transport functions.
21784 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21785 # needs -lnsl.
21786 # The nsl library prevents programs from opening the X display
21787 # on Irix 5.2, according to T.E. Dickey.
21788 # The functions gethostbyname, getservbyname, and inet_addr are
21789 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21790 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21791echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21792if test "${ac_cv_func_gethostbyname+set}" = set; then
21793 echo $ECHO_N "(cached) $ECHO_C" >&6
21794else
21795 cat >conftest.$ac_ext <<_ACEOF
21796#line $LINENO "configure"
21797/* confdefs.h. */
21798_ACEOF
21799cat confdefs.h >>conftest.$ac_ext
21800cat >>conftest.$ac_ext <<_ACEOF
21801/* end confdefs.h. */
21802/* System header to define __stub macros and hopefully few prototypes,
21803 which can conflict with char gethostbyname (); below.
21804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21805 <limits.h> exists even on freestanding compilers. */
21806#ifdef __STDC__
21807# include <limits.h>
21808#else
21809# include <assert.h>
21810#endif
21811/* Override any gcc2 internal prototype to avoid an error. */
21812#ifdef __cplusplus
21813extern "C"
21814{
21815#endif
21816/* We use char because int might match the return type of a gcc2
21817 builtin and then its argument prototype would still apply. */
21818char gethostbyname ();
21819/* The GNU C library defines this for functions which it implements
21820 to always fail with ENOSYS. Some functions are actually named
21821 something starting with __ and the normal name is an alias. */
21822#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21823choke me
21824#else
21825char (*f) () = gethostbyname;
21826#endif
21827#ifdef __cplusplus
21828}
21829#endif
21830
21831int
21832main ()
21833{
21834return f != gethostbyname;
21835 ;
21836 return 0;
21837}
21838_ACEOF
21839rm -f conftest.$ac_objext conftest$ac_exeext
21840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21841 (eval $ac_link) 2>&5
21842 ac_status=$?
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } &&
21845 { ac_try='test -s conftest$ac_exeext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21848 ac_status=$?
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 ac_cv_func_gethostbyname=yes
21852else
21853 echo "$as_me: failed program was:" >&5
21854sed 's/^/| /' conftest.$ac_ext >&5
21855
21856ac_cv_func_gethostbyname=no
21857fi
21858rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21859fi
21860echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21861echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21862
21863 if test $ac_cv_func_gethostbyname = no; then
21864 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21865echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21866if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21868else
21869 ac_check_lib_save_LIBS=$LIBS
21870LIBS="-lnsl $LIBS"
21871cat >conftest.$ac_ext <<_ACEOF
21872#line $LINENO "configure"
21873/* confdefs.h. */
21874_ACEOF
21875cat confdefs.h >>conftest.$ac_ext
21876cat >>conftest.$ac_ext <<_ACEOF
21877/* end confdefs.h. */
21878
21879/* Override any gcc2 internal prototype to avoid an error. */
21880#ifdef __cplusplus
21881extern "C"
21882#endif
21883/* We use char because int might match the return type of a gcc2
21884 builtin and then its argument prototype would still apply. */
21885char gethostbyname ();
21886int
21887main ()
21888{
21889gethostbyname ();
21890 ;
21891 return 0;
21892}
21893_ACEOF
21894rm -f conftest.$ac_objext conftest$ac_exeext
21895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21896 (eval $ac_link) 2>&5
21897 ac_status=$?
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try='test -s conftest$ac_exeext'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21903 ac_status=$?
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; }; then
21906 ac_cv_lib_nsl_gethostbyname=yes
21907else
21908 echo "$as_me: failed program was:" >&5
21909sed 's/^/| /' conftest.$ac_ext >&5
21910
21911ac_cv_lib_nsl_gethostbyname=no
21912fi
21913rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21914LIBS=$ac_check_lib_save_LIBS
21915fi
21916echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21917echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21918if test $ac_cv_lib_nsl_gethostbyname = yes; then
21919 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21920fi
21921
21922 if test $ac_cv_lib_nsl_gethostbyname = no; then
21923 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21924echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21925if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21926 echo $ECHO_N "(cached) $ECHO_C" >&6
21927else
21928 ac_check_lib_save_LIBS=$LIBS
21929LIBS="-lbsd $LIBS"
21930cat >conftest.$ac_ext <<_ACEOF
21931#line $LINENO "configure"
21932/* confdefs.h. */
21933_ACEOF
21934cat confdefs.h >>conftest.$ac_ext
21935cat >>conftest.$ac_ext <<_ACEOF
21936/* end confdefs.h. */
21937
21938/* Override any gcc2 internal prototype to avoid an error. */
21939#ifdef __cplusplus
21940extern "C"
21941#endif
21942/* We use char because int might match the return type of a gcc2
21943 builtin and then its argument prototype would still apply. */
21944char gethostbyname ();
21945int
21946main ()
21947{
21948gethostbyname ();
21949 ;
21950 return 0;
21951}
21952_ACEOF
21953rm -f conftest.$ac_objext conftest$ac_exeext
21954if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21955 (eval $ac_link) 2>&5
21956 ac_status=$?
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); } &&
21959 { ac_try='test -s conftest$ac_exeext'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 ac_cv_lib_bsd_gethostbyname=yes
21966else
21967 echo "$as_me: failed program was:" >&5
21968sed 's/^/| /' conftest.$ac_ext >&5
21969
21970ac_cv_lib_bsd_gethostbyname=no
21971fi
21972rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21973LIBS=$ac_check_lib_save_LIBS
21974fi
21975echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21976echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21977if test $ac_cv_lib_bsd_gethostbyname = yes; then
21978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21979fi
21980
21981 fi
21982 fi
21983
21984 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21985 # socket/setsockopt and other routines are undefined under SCO ODT
21986 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21987 # on later versions), says Simon Leinen: it contains gethostby*
21988 # variants that don't use the name server (or something). -lsocket
21989 # must be given before -lnsl if both are needed. We assume that
21990 # if connect needs -lnsl, so does gethostbyname.
21991 echo "$as_me:$LINENO: checking for connect" >&5
21992echo $ECHO_N "checking for connect... $ECHO_C" >&6
21993if test "${ac_cv_func_connect+set}" = set; then
21994 echo $ECHO_N "(cached) $ECHO_C" >&6
21995else
21996 cat >conftest.$ac_ext <<_ACEOF
21997#line $LINENO "configure"
21998/* confdefs.h. */
21999_ACEOF
22000cat confdefs.h >>conftest.$ac_ext
22001cat >>conftest.$ac_ext <<_ACEOF
22002/* end confdefs.h. */
22003/* System header to define __stub macros and hopefully few prototypes,
22004 which can conflict with char connect (); below.
22005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22006 <limits.h> exists even on freestanding compilers. */
22007#ifdef __STDC__
22008# include <limits.h>
22009#else
22010# include <assert.h>
22011#endif
22012/* Override any gcc2 internal prototype to avoid an error. */
22013#ifdef __cplusplus
22014extern "C"
22015{
22016#endif
22017/* We use char because int might match the return type of a gcc2
22018 builtin and then its argument prototype would still apply. */
22019char connect ();
22020/* The GNU C library defines this for functions which it implements
22021 to always fail with ENOSYS. Some functions are actually named
22022 something starting with __ and the normal name is an alias. */
22023#if defined (__stub_connect) || defined (__stub___connect)
22024choke me
22025#else
22026char (*f) () = connect;
22027#endif
22028#ifdef __cplusplus
22029}
22030#endif
22031
22032int
22033main ()
22034{
22035return f != connect;
22036 ;
22037 return 0;
22038}
22039_ACEOF
22040rm -f conftest.$ac_objext conftest$ac_exeext
22041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22042 (eval $ac_link) 2>&5
22043 ac_status=$?
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try='test -s conftest$ac_exeext'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22049 ac_status=$?
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; }; then
22052 ac_cv_func_connect=yes
22053else
22054 echo "$as_me: failed program was:" >&5
22055sed 's/^/| /' conftest.$ac_ext >&5
22056
22057ac_cv_func_connect=no
22058fi
22059rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22060fi
22061echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22062echo "${ECHO_T}$ac_cv_func_connect" >&6
22063
22064 if test $ac_cv_func_connect = no; then
22065 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22066echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22067if test "${ac_cv_lib_socket_connect+set}" = set; then
22068 echo $ECHO_N "(cached) $ECHO_C" >&6
22069else
22070 ac_check_lib_save_LIBS=$LIBS
22071LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22072cat >conftest.$ac_ext <<_ACEOF
22073#line $LINENO "configure"
22074/* confdefs.h. */
22075_ACEOF
22076cat confdefs.h >>conftest.$ac_ext
22077cat >>conftest.$ac_ext <<_ACEOF
22078/* end confdefs.h. */
22079
22080/* Override any gcc2 internal prototype to avoid an error. */
22081#ifdef __cplusplus
22082extern "C"
22083#endif
22084/* We use char because int might match the return type of a gcc2
22085 builtin and then its argument prototype would still apply. */
22086char connect ();
22087int
22088main ()
22089{
22090connect ();
22091 ;
22092 return 0;
22093}
22094_ACEOF
22095rm -f conftest.$ac_objext conftest$ac_exeext
22096if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22097 (eval $ac_link) 2>&5
22098 ac_status=$?
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
22101 { ac_try='test -s conftest$ac_exeext'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22104 ac_status=$?
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; }; then
22107 ac_cv_lib_socket_connect=yes
22108else
22109 echo "$as_me: failed program was:" >&5
22110sed 's/^/| /' conftest.$ac_ext >&5
22111
22112ac_cv_lib_socket_connect=no
22113fi
22114rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22115LIBS=$ac_check_lib_save_LIBS
22116fi
22117echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22118echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22119if test $ac_cv_lib_socket_connect = yes; then
22120 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22121fi
22122
22123 fi
22124
22125 # Guillermo Gomez says -lposix is necessary on A/UX.
22126 echo "$as_me:$LINENO: checking for remove" >&5
22127echo $ECHO_N "checking for remove... $ECHO_C" >&6
22128if test "${ac_cv_func_remove+set}" = set; then
22129 echo $ECHO_N "(cached) $ECHO_C" >&6
22130else
22131 cat >conftest.$ac_ext <<_ACEOF
22132#line $LINENO "configure"
22133/* confdefs.h. */
22134_ACEOF
22135cat confdefs.h >>conftest.$ac_ext
22136cat >>conftest.$ac_ext <<_ACEOF
22137/* end confdefs.h. */
22138/* System header to define __stub macros and hopefully few prototypes,
22139 which can conflict with char remove (); below.
22140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22141 <limits.h> exists even on freestanding compilers. */
22142#ifdef __STDC__
22143# include <limits.h>
22144#else
22145# include <assert.h>
22146#endif
22147/* Override any gcc2 internal prototype to avoid an error. */
22148#ifdef __cplusplus
22149extern "C"
22150{
22151#endif
22152/* We use char because int might match the return type of a gcc2
22153 builtin and then its argument prototype would still apply. */
22154char remove ();
22155/* The GNU C library defines this for functions which it implements
22156 to always fail with ENOSYS. Some functions are actually named
22157 something starting with __ and the normal name is an alias. */
22158#if defined (__stub_remove) || defined (__stub___remove)
22159choke me
22160#else
22161char (*f) () = remove;
22162#endif
22163#ifdef __cplusplus
22164}
22165#endif
22166
22167int
22168main ()
22169{
22170return f != remove;
22171 ;
22172 return 0;
22173}
22174_ACEOF
22175rm -f conftest.$ac_objext conftest$ac_exeext
22176if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22177 (eval $ac_link) 2>&5
22178 ac_status=$?
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try='test -s conftest$ac_exeext'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_cv_func_remove=yes
22188else
22189 echo "$as_me: failed program was:" >&5
22190sed 's/^/| /' conftest.$ac_ext >&5
22191
22192ac_cv_func_remove=no
22193fi
22194rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22195fi
22196echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22197echo "${ECHO_T}$ac_cv_func_remove" >&6
22198
22199 if test $ac_cv_func_remove = no; then
22200 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22201echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22202if test "${ac_cv_lib_posix_remove+set}" = set; then
22203 echo $ECHO_N "(cached) $ECHO_C" >&6
22204else
22205 ac_check_lib_save_LIBS=$LIBS
22206LIBS="-lposix $LIBS"
22207cat >conftest.$ac_ext <<_ACEOF
22208#line $LINENO "configure"
22209/* confdefs.h. */
22210_ACEOF
22211cat confdefs.h >>conftest.$ac_ext
22212cat >>conftest.$ac_ext <<_ACEOF
22213/* end confdefs.h. */
22214
22215/* Override any gcc2 internal prototype to avoid an error. */
22216#ifdef __cplusplus
22217extern "C"
22218#endif
22219/* We use char because int might match the return type of a gcc2
22220 builtin and then its argument prototype would still apply. */
22221char remove ();
22222int
22223main ()
22224{
22225remove ();
22226 ;
22227 return 0;
22228}
22229_ACEOF
22230rm -f conftest.$ac_objext conftest$ac_exeext
22231if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22232 (eval $ac_link) 2>&5
22233 ac_status=$?
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } &&
22236 { ac_try='test -s conftest$ac_exeext'
22237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22238 (eval $ac_try) 2>&5
22239 ac_status=$?
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); }; }; then
22242 ac_cv_lib_posix_remove=yes
22243else
22244 echo "$as_me: failed program was:" >&5
22245sed 's/^/| /' conftest.$ac_ext >&5
22246
22247ac_cv_lib_posix_remove=no
22248fi
22249rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22250LIBS=$ac_check_lib_save_LIBS
22251fi
22252echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22253echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22254if test $ac_cv_lib_posix_remove = yes; then
22255 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22256fi
22257
22258 fi
22259
22260 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22261 echo "$as_me:$LINENO: checking for shmat" >&5
22262echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22263if test "${ac_cv_func_shmat+set}" = set; then
22264 echo $ECHO_N "(cached) $ECHO_C" >&6
22265else
22266 cat >conftest.$ac_ext <<_ACEOF
22267#line $LINENO "configure"
22268/* confdefs.h. */
22269_ACEOF
22270cat confdefs.h >>conftest.$ac_ext
22271cat >>conftest.$ac_ext <<_ACEOF
22272/* end confdefs.h. */
22273/* System header to define __stub macros and hopefully few prototypes,
22274 which can conflict with char shmat (); below.
22275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22276 <limits.h> exists even on freestanding compilers. */
22277#ifdef __STDC__
22278# include <limits.h>
22279#else
22280# include <assert.h>
22281#endif
22282/* Override any gcc2 internal prototype to avoid an error. */
22283#ifdef __cplusplus
22284extern "C"
22285{
22286#endif
22287/* We use char because int might match the return type of a gcc2
22288 builtin and then its argument prototype would still apply. */
22289char shmat ();
22290/* The GNU C library defines this for functions which it implements
22291 to always fail with ENOSYS. Some functions are actually named
22292 something starting with __ and the normal name is an alias. */
22293#if defined (__stub_shmat) || defined (__stub___shmat)
22294choke me
22295#else
22296char (*f) () = shmat;
22297#endif
22298#ifdef __cplusplus
22299}
22300#endif
22301
22302int
22303main ()
22304{
22305return f != shmat;
22306 ;
22307 return 0;
22308}
22309_ACEOF
22310rm -f conftest.$ac_objext conftest$ac_exeext
22311if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22312 (eval $ac_link) 2>&5
22313 ac_status=$?
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } &&
22316 { ac_try='test -s conftest$ac_exeext'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22319 ac_status=$?
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; }; then
22322 ac_cv_func_shmat=yes
22323else
22324 echo "$as_me: failed program was:" >&5
22325sed 's/^/| /' conftest.$ac_ext >&5
22326
22327ac_cv_func_shmat=no
22328fi
22329rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22330fi
22331echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22332echo "${ECHO_T}$ac_cv_func_shmat" >&6
22333
22334 if test $ac_cv_func_shmat = no; then
22335 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22336echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22337if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22339else
22340 ac_check_lib_save_LIBS=$LIBS
22341LIBS="-lipc $LIBS"
22342cat >conftest.$ac_ext <<_ACEOF
22343#line $LINENO "configure"
22344/* confdefs.h. */
22345_ACEOF
22346cat confdefs.h >>conftest.$ac_ext
22347cat >>conftest.$ac_ext <<_ACEOF
22348/* end confdefs.h. */
22349
22350/* Override any gcc2 internal prototype to avoid an error. */
22351#ifdef __cplusplus
22352extern "C"
22353#endif
22354/* We use char because int might match the return type of a gcc2
22355 builtin and then its argument prototype would still apply. */
22356char shmat ();
22357int
22358main ()
22359{
22360shmat ();
22361 ;
22362 return 0;
22363}
22364_ACEOF
22365rm -f conftest.$ac_objext conftest$ac_exeext
22366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22367 (eval $ac_link) 2>&5
22368 ac_status=$?
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } &&
22371 { ac_try='test -s conftest$ac_exeext'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22374 ac_status=$?
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; }; then
22377 ac_cv_lib_ipc_shmat=yes
22378else
22379 echo "$as_me: failed program was:" >&5
22380sed 's/^/| /' conftest.$ac_ext >&5
22381
22382ac_cv_lib_ipc_shmat=no
22383fi
22384rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22385LIBS=$ac_check_lib_save_LIBS
22386fi
22387echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22388echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22389if test $ac_cv_lib_ipc_shmat = yes; then
22390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22391fi
22392
22393 fi
22394 fi
22395
22396 # Check for libraries that X11R6 Xt/Xaw programs need.
22397 ac_save_LDFLAGS=$LDFLAGS
22398 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22399 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22400 # check for ICE first), but we must link in the order -lSM -lICE or
22401 # we get undefined symbols. So assume we have SM if we have ICE.
22402 # These have to be linked with before -lX11, unlike the other
22403 # libraries we check for below, so use a different variable.
22404 # John Interrante, Karl Berry
22405 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22406echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22407if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22408 echo $ECHO_N "(cached) $ECHO_C" >&6
22409else
22410 ac_check_lib_save_LIBS=$LIBS
22411LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22412cat >conftest.$ac_ext <<_ACEOF
22413#line $LINENO "configure"
22414/* confdefs.h. */
22415_ACEOF
22416cat confdefs.h >>conftest.$ac_ext
22417cat >>conftest.$ac_ext <<_ACEOF
22418/* end confdefs.h. */
22419
22420/* Override any gcc2 internal prototype to avoid an error. */
22421#ifdef __cplusplus
22422extern "C"
22423#endif
22424/* We use char because int might match the return type of a gcc2
22425 builtin and then its argument prototype would still apply. */
22426char IceConnectionNumber ();
22427int
22428main ()
22429{
22430IceConnectionNumber ();
22431 ;
22432 return 0;
22433}
22434_ACEOF
22435rm -f conftest.$ac_objext conftest$ac_exeext
22436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22437 (eval $ac_link) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } &&
22441 { ac_try='test -s conftest$ac_exeext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22444 ac_status=$?
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 ac_cv_lib_ICE_IceConnectionNumber=yes
22448else
22449 echo "$as_me: failed program was:" >&5
22450sed 's/^/| /' conftest.$ac_ext >&5
22451
22452ac_cv_lib_ICE_IceConnectionNumber=no
22453fi
22454rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22455LIBS=$ac_check_lib_save_LIBS
22456fi
22457echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22458echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22459if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22460 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22461fi
22462
22463 LDFLAGS=$ac_save_LDFLAGS
22464
22465fi
22466
22467
22468 if test "$no_x" = "yes"; then
22469 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22470echo "$as_me: error: X11 not found" >&2;}
22471 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22472 fi
22473
22474 GUI_TK_LIBRARY="$X_LIBS"
22475 TOOLKIT_INCLUDE="$X_CFLAGS"
22476 AFMINSTALL=afminstall
22477 COMPILED_X_PROGRAM=0
22478
22479 if test "$wxUSE_NANOX" = "yes"; then
22480 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22481echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22482 if test "x$MICROWIN" = x ; then
22483 echo "$as_me:$LINENO: result: not found" >&5
22484echo "${ECHO_T}not found" >&6
22485 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22486echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22487 { (exit 1); exit 1; }; }
22488 else
22489 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22490echo "${ECHO_T}$MICROWIN" >&6
22491 cat >>confdefs.h <<\_ACEOF
22492#define wxUSE_NANOX 1
22493_ACEOF
22494
22495 fi
22496 fi
22497
22498 xpm_link=
22499 echo "$as_me:$LINENO: checking for Xpm library" >&5
22500echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22501
22502ac_find_libraries=
22503for ac_dir in $SEARCH_LIB /usr/lib;
22504 do
22505 for ac_extension in a so sl dylib; do
22506 if test -f "$ac_dir/libXpm.$ac_extension"; then
22507 ac_find_libraries=$ac_dir
22508 break 2
22509 fi
22510 done
22511 done
22512
22513 if test "$ac_find_libraries" != "" ; then
22514
22515 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22516 result=$?
22517 if test $result = 0; then
22518 ac_path_to_link=""
22519 else
22520 ac_path_to_link=" -L$ac_find_libraries"
22521 fi
22522
22523 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22524 xpm_link=" -lXpm"
22525 cat >>confdefs.h <<\_ACEOF
22526#define wxHAVE_LIB_XPM 1
22527_ACEOF
22528
22529 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22530echo "${ECHO_T}found at $ac_find_libraries" >&6
22531 else
22532 cat >conftest.$ac_ext <<_ACEOF
22533#line $LINENO "configure"
22534/* confdefs.h. */
22535_ACEOF
22536cat confdefs.h >>conftest.$ac_ext
22537cat >>conftest.$ac_ext <<_ACEOF
22538/* end confdefs.h. */
22539
22540 #include <X11/xpm.h>
22541
22542int
22543main ()
22544{
22545
22546 int version;
22547 version = XpmLibraryVersion();
22548
22549 ;
22550 return 0;
22551}
22552_ACEOF
22553rm -f conftest.$ac_objext
22554if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22555 (eval $ac_compile) 2>&5
22556 ac_status=$?
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } &&
22559 { ac_try='test -s conftest.$ac_objext'
22560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561 (eval $ac_try) 2>&5
22562 ac_status=$?
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); }; }; then
22565
22566 xpm_link=" -lXpm"
22567 cat >>confdefs.h <<\_ACEOF
22568#define wxHAVE_LIB_XPM 1
22569_ACEOF
22570
22571 echo "$as_me:$LINENO: result: found in default search path" >&5
22572echo "${ECHO_T}found in default search path" >&6
22573 COMPILED_X_PROGRAM=0
22574
22575else
22576 echo "$as_me: failed program was:" >&5
22577sed 's/^/| /' conftest.$ac_ext >&5
22578
22579
22580 echo "$as_me:$LINENO: result: no" >&5
22581echo "${ECHO_T}no" >&6
22582 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22583echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22584
22585
22586fi
22587rm -f conftest.$ac_objext conftest.$ac_ext
22588 fi
22589
22590 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22591echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22592if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22593 echo $ECHO_N "(cached) $ECHO_C" >&6
22594else
22595 ac_check_lib_save_LIBS=$LIBS
22596LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22597cat >conftest.$ac_ext <<_ACEOF
22598#line $LINENO "configure"
22599/* confdefs.h. */
22600_ACEOF
22601cat confdefs.h >>conftest.$ac_ext
22602cat >>conftest.$ac_ext <<_ACEOF
22603/* end confdefs.h. */
22604
22605/* Override any gcc2 internal prototype to avoid an error. */
22606#ifdef __cplusplus
22607extern "C"
22608#endif
22609/* We use char because int might match the return type of a gcc2
22610 builtin and then its argument prototype would still apply. */
22611char XShapeQueryExtension ();
22612int
22613main ()
22614{
22615XShapeQueryExtension ();
22616 ;
22617 return 0;
22618}
22619_ACEOF
22620rm -f conftest.$ac_objext conftest$ac_exeext
22621if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22622 (eval $ac_link) 2>&5
22623 ac_status=$?
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } &&
22626 { ac_try='test -s conftest$ac_exeext'
22627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628 (eval $ac_try) 2>&5
22629 ac_status=$?
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); }; }; then
22632 ac_cv_lib_Xext_XShapeQueryExtension=yes
22633else
22634 echo "$as_me: failed program was:" >&5
22635sed 's/^/| /' conftest.$ac_ext >&5
22636
22637ac_cv_lib_Xext_XShapeQueryExtension=no
22638fi
22639rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22640LIBS=$ac_check_lib_save_LIBS
22641fi
22642echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22643echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22644if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22645
22646 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22647 wxHAVE_XEXT_LIB=1
22648
22649fi
22650
22651
22652 if test "$wxUSE_UNICODE" = "yes"; then
22653
22654 succeeded=no
22655
22656 if test -z "$PKG_CONFIG"; then
22657 # Extract the first word of "pkg-config", so it can be a program name with args.
22658set dummy pkg-config; ac_word=$2
22659echo "$as_me:$LINENO: checking for $ac_word" >&5
22660echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22661if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22663else
22664 case $PKG_CONFIG in
22665 [\\/]* | ?:[\\/]*)
22666 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22667 ;;
22668 *)
22669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22670for as_dir in $PATH
22671do
22672 IFS=$as_save_IFS
22673 test -z "$as_dir" && as_dir=.
22674 for ac_exec_ext in '' $ac_executable_extensions; do
22675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22676 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22678 break 2
22679 fi
22680done
22681done
22682
22683 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22684 ;;
22685esac
22686fi
22687PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22688
22689if test -n "$PKG_CONFIG"; then
22690 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22691echo "${ECHO_T}$PKG_CONFIG" >&6
22692else
22693 echo "$as_me:$LINENO: result: no" >&5
22694echo "${ECHO_T}no" >&6
22695fi
22696
22697 fi
22698
22699 if test "$PKG_CONFIG" = "no" ; then
22700 echo "*** The pkg-config script could not be found. Make sure it is"
22701 echo "*** in your path, or set the PKG_CONFIG environment variable"
22702 echo "*** to the full path to pkg-config."
22703 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22704 else
22705 PKG_CONFIG_MIN_VERSION=0.9.0
22706 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22707 echo "$as_me:$LINENO: checking for pangox" >&5
22708echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22709
22710 if $PKG_CONFIG --exists "pangox" ; then
22711 echo "$as_me:$LINENO: result: yes" >&5
22712echo "${ECHO_T}yes" >&6
22713 succeeded=yes
22714
22715 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22716echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22717 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22718 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22719echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22720
22721 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22722echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22723 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22724 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22725echo "${ECHO_T}$PANGOX_LIBS" >&6
22726 else
22727 PANGOX_CFLAGS=""
22728 PANGOX_LIBS=""
22729 ## If we have a custom action on failure, don't print errors, but
22730 ## do set a variable so people can do so.
22731 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22732
22733 fi
22734
22735
22736
22737 else
22738 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22739 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22740 fi
22741 fi
22742
22743 if test $succeeded = yes; then
22744
22745 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22746 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22747
22748 else
22749
22750 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22751echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22752 { (exit 1); exit 1; }; }
22753
22754
22755 fi
22756
22757
22758 succeeded=no
22759
22760 if test -z "$PKG_CONFIG"; then
22761 # Extract the first word of "pkg-config", so it can be a program name with args.
22762set dummy pkg-config; ac_word=$2
22763echo "$as_me:$LINENO: checking for $ac_word" >&5
22764echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22765if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22766 echo $ECHO_N "(cached) $ECHO_C" >&6
22767else
22768 case $PKG_CONFIG in
22769 [\\/]* | ?:[\\/]*)
22770 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22771 ;;
22772 *)
22773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22774for as_dir in $PATH
22775do
22776 IFS=$as_save_IFS
22777 test -z "$as_dir" && as_dir=.
22778 for ac_exec_ext in '' $ac_executable_extensions; do
22779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22780 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22782 break 2
22783 fi
22784done
22785done
22786
22787 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22788 ;;
22789esac
22790fi
22791PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22792
22793if test -n "$PKG_CONFIG"; then
22794 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22795echo "${ECHO_T}$PKG_CONFIG" >&6
22796else
22797 echo "$as_me:$LINENO: result: no" >&5
22798echo "${ECHO_T}no" >&6
22799fi
22800
22801 fi
22802
22803 if test "$PKG_CONFIG" = "no" ; then
22804 echo "*** The pkg-config script could not be found. Make sure it is"
22805 echo "*** in your path, or set the PKG_CONFIG environment variable"
22806 echo "*** to the full path to pkg-config."
22807 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22808 else
22809 PKG_CONFIG_MIN_VERSION=0.9.0
22810 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22811 echo "$as_me:$LINENO: checking for pangoft2" >&5
22812echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22813
22814 if $PKG_CONFIG --exists "pangoft2" ; then
22815 echo "$as_me:$LINENO: result: yes" >&5
22816echo "${ECHO_T}yes" >&6
22817 succeeded=yes
22818
22819 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22820echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22821 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22822 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22823echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22824
22825 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22826echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22827 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22828 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22829echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22830 else
22831 PANGOFT2_CFLAGS=""
22832 PANGOFT2_LIBS=""
22833 ## If we have a custom action on failure, don't print errors, but
22834 ## do set a variable so people can do so.
22835 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22836
22837 fi
22838
22839
22840
22841 else
22842 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22843 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22844 fi
22845 fi
22846
22847 if test $succeeded = yes; then
22848
22849 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22850 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22851
22852 else
22853
22854 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22855echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22856 wxUSE_PRINTING_ARCHITECTURE="no"
22857
22858
22859 fi
22860
22861
22862 succeeded=no
22863
22864 if test -z "$PKG_CONFIG"; then
22865 # Extract the first word of "pkg-config", so it can be a program name with args.
22866set dummy pkg-config; ac_word=$2
22867echo "$as_me:$LINENO: checking for $ac_word" >&5
22868echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22869if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22871else
22872 case $PKG_CONFIG in
22873 [\\/]* | ?:[\\/]*)
22874 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22875 ;;
22876 *)
22877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22878for as_dir in $PATH
22879do
22880 IFS=$as_save_IFS
22881 test -z "$as_dir" && as_dir=.
22882 for ac_exec_ext in '' $ac_executable_extensions; do
22883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22884 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22886 break 2
22887 fi
22888done
22889done
22890
22891 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22892 ;;
22893esac
22894fi
22895PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22896
22897if test -n "$PKG_CONFIG"; then
22898 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22899echo "${ECHO_T}$PKG_CONFIG" >&6
22900else
22901 echo "$as_me:$LINENO: result: no" >&5
22902echo "${ECHO_T}no" >&6
22903fi
22904
22905 fi
22906
22907 if test "$PKG_CONFIG" = "no" ; then
22908 echo "*** The pkg-config script could not be found. Make sure it is"
22909 echo "*** in your path, or set the PKG_CONFIG environment variable"
22910 echo "*** to the full path to pkg-config."
22911 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22912 else
22913 PKG_CONFIG_MIN_VERSION=0.9.0
22914 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22915 echo "$as_me:$LINENO: checking for pangoxft" >&5
22916echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22917
22918 if $PKG_CONFIG --exists "pangoxft" ; then
22919 echo "$as_me:$LINENO: result: yes" >&5
22920echo "${ECHO_T}yes" >&6
22921 succeeded=yes
22922
22923 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22924echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22925 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22926 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22927echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22928
22929 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22930echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22931 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22932 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22933echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22934 else
22935 PANGOXFT_CFLAGS=""
22936 PANGOXFT_LIBS=""
22937 ## If we have a custom action on failure, don't print errors, but
22938 ## do set a variable so people can do so.
22939 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22940
22941 fi
22942
22943
22944
22945 else
22946 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22947 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22948 fi
22949 fi
22950
22951 if test $succeeded = yes; then
22952
22953 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22954 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22955
22956 else
22957
22958 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22959echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22960
22961
22962 fi
22963
22964 fi
22965
22966 wxUSE_UNIVERSAL="yes"
22967
22968 if test "$wxUSE_NANOX" = "yes"; then
22969 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22970 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"
22971 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22972 else
22973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22974 fi
22975
22976 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22977 TOOLKIT=X11
22978 GUIDIST=X11_DIST
22979 fi
22980
22981 if test "$wxUSE_MOTIF" = 1; then
22982 if test "$no_x" = yes; then
22983 # Not all programs may use this symbol, but it does not hurt to define it.
22984
22985cat >>confdefs.h <<\_ACEOF
22986#define X_DISPLAY_MISSING 1
22987_ACEOF
22988
22989 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22990else
22991 if test -n "$x_includes"; then
22992 X_CFLAGS="$X_CFLAGS -I$x_includes"
22993 fi
22994
22995 # It would also be nice to do this for all -L options, not just this one.
22996 if test -n "$x_libraries"; then
22997 X_LIBS="$X_LIBS -L$x_libraries"
22998 # For Solaris; some versions of Sun CC require a space after -R and
22999 # others require no space. Words are not sufficient . . . .
23000 case `(uname -sr) 2>/dev/null` in
23001 "SunOS 5"*)
23002 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23003echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23004 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23005 cat >conftest.$ac_ext <<_ACEOF
23006#line $LINENO "configure"
23007/* confdefs.h. */
23008_ACEOF
23009cat confdefs.h >>conftest.$ac_ext
23010cat >>conftest.$ac_ext <<_ACEOF
23011/* end confdefs.h. */
23012
23013int
23014main ()
23015{
23016
23017 ;
23018 return 0;
23019}
23020_ACEOF
23021rm -f conftest.$ac_objext conftest$ac_exeext
23022if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23023 (eval $ac_link) 2>&5
23024 ac_status=$?
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } &&
23027 { ac_try='test -s conftest$ac_exeext'
23028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23029 (eval $ac_try) 2>&5
23030 ac_status=$?
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; }; then
23033 ac_R_nospace=yes
23034else
23035 echo "$as_me: failed program was:" >&5
23036sed 's/^/| /' conftest.$ac_ext >&5
23037
23038ac_R_nospace=no
23039fi
23040rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23041 if test $ac_R_nospace = yes; then
23042 echo "$as_me:$LINENO: result: no" >&5
23043echo "${ECHO_T}no" >&6
23044 X_LIBS="$X_LIBS -R$x_libraries"
23045 else
23046 LIBS="$ac_xsave_LIBS -R $x_libraries"
23047 cat >conftest.$ac_ext <<_ACEOF
23048#line $LINENO "configure"
23049/* confdefs.h. */
23050_ACEOF
23051cat confdefs.h >>conftest.$ac_ext
23052cat >>conftest.$ac_ext <<_ACEOF
23053/* end confdefs.h. */
23054
23055int
23056main ()
23057{
23058
23059 ;
23060 return 0;
23061}
23062_ACEOF
23063rm -f conftest.$ac_objext conftest$ac_exeext
23064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23065 (eval $ac_link) 2>&5
23066 ac_status=$?
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } &&
23069 { ac_try='test -s conftest$ac_exeext'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23072 ac_status=$?
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; }; then
23075 ac_R_space=yes
23076else
23077 echo "$as_me: failed program was:" >&5
23078sed 's/^/| /' conftest.$ac_ext >&5
23079
23080ac_R_space=no
23081fi
23082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23083 if test $ac_R_space = yes; then
23084 echo "$as_me:$LINENO: result: yes" >&5
23085echo "${ECHO_T}yes" >&6
23086 X_LIBS="$X_LIBS -R $x_libraries"
23087 else
23088 echo "$as_me:$LINENO: result: neither works" >&5
23089echo "${ECHO_T}neither works" >&6
23090 fi
23091 fi
23092 LIBS=$ac_xsave_LIBS
23093 esac
23094 fi
23095
23096 # Check for system-dependent libraries X programs must link with.
23097 # Do this before checking for the system-independent R6 libraries
23098 # (-lICE), since we may need -lsocket or whatever for X linking.
23099
23100 if test "$ISC" = yes; then
23101 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23102 else
23103 # Martyn Johnson says this is needed for Ultrix, if the X
23104 # libraries were built with DECnet support. And Karl Berry says
23105 # the Alpha needs dnet_stub (dnet does not exist).
23106 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23107 cat >conftest.$ac_ext <<_ACEOF
23108#line $LINENO "configure"
23109/* confdefs.h. */
23110_ACEOF
23111cat confdefs.h >>conftest.$ac_ext
23112cat >>conftest.$ac_ext <<_ACEOF
23113/* end confdefs.h. */
23114
23115/* Override any gcc2 internal prototype to avoid an error. */
23116#ifdef __cplusplus
23117extern "C"
23118#endif
23119/* We use char because int might match the return type of a gcc2
23120 builtin and then its argument prototype would still apply. */
23121char XOpenDisplay ();
23122int
23123main ()
23124{
23125XOpenDisplay ();
23126 ;
23127 return 0;
23128}
23129_ACEOF
23130rm -f conftest.$ac_objext conftest$ac_exeext
23131if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23132 (eval $ac_link) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try='test -s conftest$ac_exeext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23139 ac_status=$?
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 :
23143else
23144 echo "$as_me: failed program was:" >&5
23145sed 's/^/| /' conftest.$ac_ext >&5
23146
23147echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23148echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23149if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23151else
23152 ac_check_lib_save_LIBS=$LIBS
23153LIBS="-ldnet $LIBS"
23154cat >conftest.$ac_ext <<_ACEOF
23155#line $LINENO "configure"
23156/* confdefs.h. */
23157_ACEOF
23158cat confdefs.h >>conftest.$ac_ext
23159cat >>conftest.$ac_ext <<_ACEOF
23160/* end confdefs.h. */
23161
23162/* Override any gcc2 internal prototype to avoid an error. */
23163#ifdef __cplusplus
23164extern "C"
23165#endif
23166/* We use char because int might match the return type of a gcc2
23167 builtin and then its argument prototype would still apply. */
23168char dnet_ntoa ();
23169int
23170main ()
23171{
23172dnet_ntoa ();
23173 ;
23174 return 0;
23175}
23176_ACEOF
23177rm -f conftest.$ac_objext conftest$ac_exeext
23178if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23179 (eval $ac_link) 2>&5
23180 ac_status=$?
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } &&
23183 { ac_try='test -s conftest$ac_exeext'
23184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23185 (eval $ac_try) 2>&5
23186 ac_status=$?
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); }; }; then
23189 ac_cv_lib_dnet_dnet_ntoa=yes
23190else
23191 echo "$as_me: failed program was:" >&5
23192sed 's/^/| /' conftest.$ac_ext >&5
23193
23194ac_cv_lib_dnet_dnet_ntoa=no
23195fi
23196rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23197LIBS=$ac_check_lib_save_LIBS
23198fi
23199echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23200echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23201if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23202 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23203fi
23204
23205 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23206 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23207echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23208if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23210else
23211 ac_check_lib_save_LIBS=$LIBS
23212LIBS="-ldnet_stub $LIBS"
23213cat >conftest.$ac_ext <<_ACEOF
23214#line $LINENO "configure"
23215/* confdefs.h. */
23216_ACEOF
23217cat confdefs.h >>conftest.$ac_ext
23218cat >>conftest.$ac_ext <<_ACEOF
23219/* end confdefs.h. */
23220
23221/* Override any gcc2 internal prototype to avoid an error. */
23222#ifdef __cplusplus
23223extern "C"
23224#endif
23225/* We use char because int might match the return type of a gcc2
23226 builtin and then its argument prototype would still apply. */
23227char dnet_ntoa ();
23228int
23229main ()
23230{
23231dnet_ntoa ();
23232 ;
23233 return 0;
23234}
23235_ACEOF
23236rm -f conftest.$ac_objext conftest$ac_exeext
23237if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23238 (eval $ac_link) 2>&5
23239 ac_status=$?
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try='test -s conftest$ac_exeext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23245 ac_status=$?
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23249else
23250 echo "$as_me: failed program was:" >&5
23251sed 's/^/| /' conftest.$ac_ext >&5
23252
23253ac_cv_lib_dnet_stub_dnet_ntoa=no
23254fi
23255rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23256LIBS=$ac_check_lib_save_LIBS
23257fi
23258echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23259echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23260if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23261 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23262fi
23263
23264 fi
23265fi
23266rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23267 LIBS="$ac_xsave_LIBS"
23268
23269 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23270 # to get the SysV transport functions.
23271 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23272 # needs -lnsl.
23273 # The nsl library prevents programs from opening the X display
23274 # on Irix 5.2, according to T.E. Dickey.
23275 # The functions gethostbyname, getservbyname, and inet_addr are
23276 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23277 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23278echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23279if test "${ac_cv_func_gethostbyname+set}" = set; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23281else
23282 cat >conftest.$ac_ext <<_ACEOF
23283#line $LINENO "configure"
23284/* confdefs.h. */
23285_ACEOF
23286cat confdefs.h >>conftest.$ac_ext
23287cat >>conftest.$ac_ext <<_ACEOF
23288/* end confdefs.h. */
23289/* System header to define __stub macros and hopefully few prototypes,
23290 which can conflict with char gethostbyname (); below.
23291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23292 <limits.h> exists even on freestanding compilers. */
23293#ifdef __STDC__
23294# include <limits.h>
23295#else
23296# include <assert.h>
23297#endif
23298/* Override any gcc2 internal prototype to avoid an error. */
23299#ifdef __cplusplus
23300extern "C"
23301{
23302#endif
23303/* We use char because int might match the return type of a gcc2
23304 builtin and then its argument prototype would still apply. */
23305char gethostbyname ();
23306/* The GNU C library defines this for functions which it implements
23307 to always fail with ENOSYS. Some functions are actually named
23308 something starting with __ and the normal name is an alias. */
23309#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23310choke me
23311#else
23312char (*f) () = gethostbyname;
23313#endif
23314#ifdef __cplusplus
23315}
23316#endif
23317
23318int
23319main ()
23320{
23321return f != gethostbyname;
23322 ;
23323 return 0;
23324}
23325_ACEOF
23326rm -f conftest.$ac_objext conftest$ac_exeext
23327if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23328 (eval $ac_link) 2>&5
23329 ac_status=$?
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try='test -s conftest$ac_exeext'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23335 ac_status=$?
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; }; then
23338 ac_cv_func_gethostbyname=yes
23339else
23340 echo "$as_me: failed program was:" >&5
23341sed 's/^/| /' conftest.$ac_ext >&5
23342
23343ac_cv_func_gethostbyname=no
23344fi
23345rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23346fi
23347echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23348echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23349
23350 if test $ac_cv_func_gethostbyname = no; then
23351 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23352echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23353if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23355else
23356 ac_check_lib_save_LIBS=$LIBS
23357LIBS="-lnsl $LIBS"
23358cat >conftest.$ac_ext <<_ACEOF
23359#line $LINENO "configure"
23360/* confdefs.h. */
23361_ACEOF
23362cat confdefs.h >>conftest.$ac_ext
23363cat >>conftest.$ac_ext <<_ACEOF
23364/* end confdefs.h. */
23365
23366/* Override any gcc2 internal prototype to avoid an error. */
23367#ifdef __cplusplus
23368extern "C"
23369#endif
23370/* We use char because int might match the return type of a gcc2
23371 builtin and then its argument prototype would still apply. */
23372char gethostbyname ();
23373int
23374main ()
23375{
23376gethostbyname ();
23377 ;
23378 return 0;
23379}
23380_ACEOF
23381rm -f conftest.$ac_objext conftest$ac_exeext
23382if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23383 (eval $ac_link) 2>&5
23384 ac_status=$?
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try='test -s conftest$ac_exeext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23390 ac_status=$?
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 ac_cv_lib_nsl_gethostbyname=yes
23394else
23395 echo "$as_me: failed program was:" >&5
23396sed 's/^/| /' conftest.$ac_ext >&5
23397
23398ac_cv_lib_nsl_gethostbyname=no
23399fi
23400rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23401LIBS=$ac_check_lib_save_LIBS
23402fi
23403echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23404echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23405if test $ac_cv_lib_nsl_gethostbyname = yes; then
23406 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23407fi
23408
23409 if test $ac_cv_lib_nsl_gethostbyname = no; then
23410 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23411echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23412if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23413 echo $ECHO_N "(cached) $ECHO_C" >&6
23414else
23415 ac_check_lib_save_LIBS=$LIBS
23416LIBS="-lbsd $LIBS"
23417cat >conftest.$ac_ext <<_ACEOF
23418#line $LINENO "configure"
23419/* confdefs.h. */
23420_ACEOF
23421cat confdefs.h >>conftest.$ac_ext
23422cat >>conftest.$ac_ext <<_ACEOF
23423/* end confdefs.h. */
23424
23425/* Override any gcc2 internal prototype to avoid an error. */
23426#ifdef __cplusplus
23427extern "C"
23428#endif
23429/* We use char because int might match the return type of a gcc2
23430 builtin and then its argument prototype would still apply. */
23431char gethostbyname ();
23432int
23433main ()
23434{
23435gethostbyname ();
23436 ;
23437 return 0;
23438}
23439_ACEOF
23440rm -f conftest.$ac_objext conftest$ac_exeext
23441if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23442 (eval $ac_link) 2>&5
23443 ac_status=$?
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } &&
23446 { ac_try='test -s conftest$ac_exeext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23449 ac_status=$?
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 ac_cv_lib_bsd_gethostbyname=yes
23453else
23454 echo "$as_me: failed program was:" >&5
23455sed 's/^/| /' conftest.$ac_ext >&5
23456
23457ac_cv_lib_bsd_gethostbyname=no
23458fi
23459rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23460LIBS=$ac_check_lib_save_LIBS
23461fi
23462echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23463echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23464if test $ac_cv_lib_bsd_gethostbyname = yes; then
23465 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23466fi
23467
23468 fi
23469 fi
23470
23471 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23472 # socket/setsockopt and other routines are undefined under SCO ODT
23473 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23474 # on later versions), says Simon Leinen: it contains gethostby*
23475 # variants that don't use the name server (or something). -lsocket
23476 # must be given before -lnsl if both are needed. We assume that
23477 # if connect needs -lnsl, so does gethostbyname.
23478 echo "$as_me:$LINENO: checking for connect" >&5
23479echo $ECHO_N "checking for connect... $ECHO_C" >&6
23480if test "${ac_cv_func_connect+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482else
23483 cat >conftest.$ac_ext <<_ACEOF
23484#line $LINENO "configure"
23485/* confdefs.h. */
23486_ACEOF
23487cat confdefs.h >>conftest.$ac_ext
23488cat >>conftest.$ac_ext <<_ACEOF
23489/* end confdefs.h. */
23490/* System header to define __stub macros and hopefully few prototypes,
23491 which can conflict with char connect (); below.
23492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23493 <limits.h> exists even on freestanding compilers. */
23494#ifdef __STDC__
23495# include <limits.h>
23496#else
23497# include <assert.h>
23498#endif
23499/* Override any gcc2 internal prototype to avoid an error. */
23500#ifdef __cplusplus
23501extern "C"
23502{
23503#endif
23504/* We use char because int might match the return type of a gcc2
23505 builtin and then its argument prototype would still apply. */
23506char connect ();
23507/* The GNU C library defines this for functions which it implements
23508 to always fail with ENOSYS. Some functions are actually named
23509 something starting with __ and the normal name is an alias. */
23510#if defined (__stub_connect) || defined (__stub___connect)
23511choke me
23512#else
23513char (*f) () = connect;
23514#endif
23515#ifdef __cplusplus
23516}
23517#endif
23518
23519int
23520main ()
23521{
23522return f != connect;
23523 ;
23524 return 0;
23525}
23526_ACEOF
23527rm -f conftest.$ac_objext conftest$ac_exeext
23528if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23529 (eval $ac_link) 2>&5
23530 ac_status=$?
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); } &&
23533 { ac_try='test -s conftest$ac_exeext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 ac_cv_func_connect=yes
23540else
23541 echo "$as_me: failed program was:" >&5
23542sed 's/^/| /' conftest.$ac_ext >&5
23543
23544ac_cv_func_connect=no
23545fi
23546rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23547fi
23548echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23549echo "${ECHO_T}$ac_cv_func_connect" >&6
23550
23551 if test $ac_cv_func_connect = no; then
23552 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23553echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23554if test "${ac_cv_lib_socket_connect+set}" = set; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23556else
23557 ac_check_lib_save_LIBS=$LIBS
23558LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23559cat >conftest.$ac_ext <<_ACEOF
23560#line $LINENO "configure"
23561/* confdefs.h. */
23562_ACEOF
23563cat confdefs.h >>conftest.$ac_ext
23564cat >>conftest.$ac_ext <<_ACEOF
23565/* end confdefs.h. */
23566
23567/* Override any gcc2 internal prototype to avoid an error. */
23568#ifdef __cplusplus
23569extern "C"
23570#endif
23571/* We use char because int might match the return type of a gcc2
23572 builtin and then its argument prototype would still apply. */
23573char connect ();
23574int
23575main ()
23576{
23577connect ();
23578 ;
23579 return 0;
23580}
23581_ACEOF
23582rm -f conftest.$ac_objext conftest$ac_exeext
23583if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23584 (eval $ac_link) 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try='test -s conftest$ac_exeext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 ac_cv_lib_socket_connect=yes
23595else
23596 echo "$as_me: failed program was:" >&5
23597sed 's/^/| /' conftest.$ac_ext >&5
23598
23599ac_cv_lib_socket_connect=no
23600fi
23601rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23602LIBS=$ac_check_lib_save_LIBS
23603fi
23604echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23605echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23606if test $ac_cv_lib_socket_connect = yes; then
23607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23608fi
23609
23610 fi
23611
23612 # Guillermo Gomez says -lposix is necessary on A/UX.
23613 echo "$as_me:$LINENO: checking for remove" >&5
23614echo $ECHO_N "checking for remove... $ECHO_C" >&6
23615if test "${ac_cv_func_remove+set}" = set; then
23616 echo $ECHO_N "(cached) $ECHO_C" >&6
23617else
23618 cat >conftest.$ac_ext <<_ACEOF
23619#line $LINENO "configure"
23620/* confdefs.h. */
23621_ACEOF
23622cat confdefs.h >>conftest.$ac_ext
23623cat >>conftest.$ac_ext <<_ACEOF
23624/* end confdefs.h. */
23625/* System header to define __stub macros and hopefully few prototypes,
23626 which can conflict with char remove (); below.
23627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23628 <limits.h> exists even on freestanding compilers. */
23629#ifdef __STDC__
23630# include <limits.h>
23631#else
23632# include <assert.h>
23633#endif
23634/* Override any gcc2 internal prototype to avoid an error. */
23635#ifdef __cplusplus
23636extern "C"
23637{
23638#endif
23639/* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23641char remove ();
23642/* The GNU C library defines this for functions which it implements
23643 to always fail with ENOSYS. Some functions are actually named
23644 something starting with __ and the normal name is an alias. */
23645#if defined (__stub_remove) || defined (__stub___remove)
23646choke me
23647#else
23648char (*f) () = remove;
23649#endif
23650#ifdef __cplusplus
23651}
23652#endif
23653
23654int
23655main ()
23656{
23657return f != remove;
23658 ;
23659 return 0;
23660}
23661_ACEOF
23662rm -f conftest.$ac_objext conftest$ac_exeext
23663if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23664 (eval $ac_link) 2>&5
23665 ac_status=$?
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } &&
23668 { ac_try='test -s conftest$ac_exeext'
23669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23670 (eval $ac_try) 2>&5
23671 ac_status=$?
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); }; }; then
23674 ac_cv_func_remove=yes
23675else
23676 echo "$as_me: failed program was:" >&5
23677sed 's/^/| /' conftest.$ac_ext >&5
23678
23679ac_cv_func_remove=no
23680fi
23681rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23682fi
23683echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23684echo "${ECHO_T}$ac_cv_func_remove" >&6
23685
23686 if test $ac_cv_func_remove = no; then
23687 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23688echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23689if test "${ac_cv_lib_posix_remove+set}" = set; then
23690 echo $ECHO_N "(cached) $ECHO_C" >&6
23691else
23692 ac_check_lib_save_LIBS=$LIBS
23693LIBS="-lposix $LIBS"
23694cat >conftest.$ac_ext <<_ACEOF
23695#line $LINENO "configure"
23696/* confdefs.h. */
23697_ACEOF
23698cat confdefs.h >>conftest.$ac_ext
23699cat >>conftest.$ac_ext <<_ACEOF
23700/* end confdefs.h. */
23701
23702/* Override any gcc2 internal prototype to avoid an error. */
23703#ifdef __cplusplus
23704extern "C"
23705#endif
23706/* We use char because int might match the return type of a gcc2
23707 builtin and then its argument prototype would still apply. */
23708char remove ();
23709int
23710main ()
23711{
23712remove ();
23713 ;
23714 return 0;
23715}
23716_ACEOF
23717rm -f conftest.$ac_objext conftest$ac_exeext
23718if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23719 (eval $ac_link) 2>&5
23720 ac_status=$?
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try='test -s conftest$ac_exeext'
23724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23725 (eval $ac_try) 2>&5
23726 ac_status=$?
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); }; }; then
23729 ac_cv_lib_posix_remove=yes
23730else
23731 echo "$as_me: failed program was:" >&5
23732sed 's/^/| /' conftest.$ac_ext >&5
23733
23734ac_cv_lib_posix_remove=no
23735fi
23736rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23737LIBS=$ac_check_lib_save_LIBS
23738fi
23739echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23740echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23741if test $ac_cv_lib_posix_remove = yes; then
23742 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23743fi
23744
23745 fi
23746
23747 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23748 echo "$as_me:$LINENO: checking for shmat" >&5
23749echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23750if test "${ac_cv_func_shmat+set}" = set; then
23751 echo $ECHO_N "(cached) $ECHO_C" >&6
23752else
23753 cat >conftest.$ac_ext <<_ACEOF
23754#line $LINENO "configure"
23755/* confdefs.h. */
23756_ACEOF
23757cat confdefs.h >>conftest.$ac_ext
23758cat >>conftest.$ac_ext <<_ACEOF
23759/* end confdefs.h. */
23760/* System header to define __stub macros and hopefully few prototypes,
23761 which can conflict with char shmat (); below.
23762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23763 <limits.h> exists even on freestanding compilers. */
23764#ifdef __STDC__
23765# include <limits.h>
23766#else
23767# include <assert.h>
23768#endif
23769/* Override any gcc2 internal prototype to avoid an error. */
23770#ifdef __cplusplus
23771extern "C"
23772{
23773#endif
23774/* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23776char shmat ();
23777/* The GNU C library defines this for functions which it implements
23778 to always fail with ENOSYS. Some functions are actually named
23779 something starting with __ and the normal name is an alias. */
23780#if defined (__stub_shmat) || defined (__stub___shmat)
23781choke me
23782#else
23783char (*f) () = shmat;
23784#endif
23785#ifdef __cplusplus
23786}
23787#endif
23788
23789int
23790main ()
23791{
23792return f != shmat;
23793 ;
23794 return 0;
23795}
23796_ACEOF
23797rm -f conftest.$ac_objext conftest$ac_exeext
23798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23799 (eval $ac_link) 2>&5
23800 ac_status=$?
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); } &&
23803 { ac_try='test -s conftest$ac_exeext'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23806 ac_status=$?
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
23809 ac_cv_func_shmat=yes
23810else
23811 echo "$as_me: failed program was:" >&5
23812sed 's/^/| /' conftest.$ac_ext >&5
23813
23814ac_cv_func_shmat=no
23815fi
23816rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23817fi
23818echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23819echo "${ECHO_T}$ac_cv_func_shmat" >&6
23820
23821 if test $ac_cv_func_shmat = no; then
23822 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23823echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23824if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23825 echo $ECHO_N "(cached) $ECHO_C" >&6
23826else
23827 ac_check_lib_save_LIBS=$LIBS
23828LIBS="-lipc $LIBS"
23829cat >conftest.$ac_ext <<_ACEOF
23830#line $LINENO "configure"
23831/* confdefs.h. */
23832_ACEOF
23833cat confdefs.h >>conftest.$ac_ext
23834cat >>conftest.$ac_ext <<_ACEOF
23835/* end confdefs.h. */
23836
23837/* Override any gcc2 internal prototype to avoid an error. */
23838#ifdef __cplusplus
23839extern "C"
23840#endif
23841/* We use char because int might match the return type of a gcc2
23842 builtin and then its argument prototype would still apply. */
23843char shmat ();
23844int
23845main ()
23846{
23847shmat ();
23848 ;
23849 return 0;
23850}
23851_ACEOF
23852rm -f conftest.$ac_objext conftest$ac_exeext
23853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23854 (eval $ac_link) 2>&5
23855 ac_status=$?
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } &&
23858 { ac_try='test -s conftest$ac_exeext'
23859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23860 (eval $ac_try) 2>&5
23861 ac_status=$?
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; }; then
23864 ac_cv_lib_ipc_shmat=yes
23865else
23866 echo "$as_me: failed program was:" >&5
23867sed 's/^/| /' conftest.$ac_ext >&5
23868
23869ac_cv_lib_ipc_shmat=no
23870fi
23871rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23872LIBS=$ac_check_lib_save_LIBS
23873fi
23874echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23875echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23876if test $ac_cv_lib_ipc_shmat = yes; then
23877 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23878fi
23879
23880 fi
23881 fi
23882
23883 # Check for libraries that X11R6 Xt/Xaw programs need.
23884 ac_save_LDFLAGS=$LDFLAGS
23885 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23886 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23887 # check for ICE first), but we must link in the order -lSM -lICE or
23888 # we get undefined symbols. So assume we have SM if we have ICE.
23889 # These have to be linked with before -lX11, unlike the other
23890 # libraries we check for below, so use a different variable.
23891 # John Interrante, Karl Berry
23892 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23893echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23894if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23896else
23897 ac_check_lib_save_LIBS=$LIBS
23898LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23899cat >conftest.$ac_ext <<_ACEOF
23900#line $LINENO "configure"
23901/* confdefs.h. */
23902_ACEOF
23903cat confdefs.h >>conftest.$ac_ext
23904cat >>conftest.$ac_ext <<_ACEOF
23905/* end confdefs.h. */
23906
23907/* Override any gcc2 internal prototype to avoid an error. */
23908#ifdef __cplusplus
23909extern "C"
23910#endif
23911/* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913char IceConnectionNumber ();
23914int
23915main ()
23916{
23917IceConnectionNumber ();
23918 ;
23919 return 0;
23920}
23921_ACEOF
23922rm -f conftest.$ac_objext conftest$ac_exeext
23923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23924 (eval $ac_link) 2>&5
23925 ac_status=$?
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } &&
23928 { ac_try='test -s conftest$ac_exeext'
23929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23930 (eval $ac_try) 2>&5
23931 ac_status=$?
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); }; }; then
23934 ac_cv_lib_ICE_IceConnectionNumber=yes
23935else
23936 echo "$as_me: failed program was:" >&5
23937sed 's/^/| /' conftest.$ac_ext >&5
23938
23939ac_cv_lib_ICE_IceConnectionNumber=no
23940fi
23941rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23942LIBS=$ac_check_lib_save_LIBS
23943fi
23944echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23945echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23946if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23947 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23948fi
23949
23950 LDFLAGS=$ac_save_LDFLAGS
23951
23952fi
23953
23954
23955 if test "$no_x" = "yes"; then
23956 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23957echo "$as_me: error: X11 not found" >&2;}
23958 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23959 fi
23960
23961 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23962 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23963 AFMINSTALL=afminstall
23964 COMPILED_X_PROGRAM=0
23965
23966 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23967echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23968
23969ac_find_includes=
23970for ac_dir in $SEARCH_INCLUDE /usr/include;
23971 do
23972 if test -f "$ac_dir/Xm/Xm.h"; then
23973 ac_find_includes=$ac_dir
23974 break
23975 fi
23976 done
23977
23978 if test "$ac_find_includes" != "" ; then
23979 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23980echo "${ECHO_T}found in $ac_find_includes" >&6
23981
23982 if test "x$ac_find_includes" = "x/usr/include"; then
23983 ac_path_to_include=""
23984 else
23985 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23986 result=$?
23987 if test $result = 0; then
23988 ac_path_to_include=""
23989 else
23990 ac_path_to_include=" -I$ac_find_includes"
23991 fi
23992 fi
23993
23994 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23995 else
23996 cat >conftest.$ac_ext <<_ACEOF
23997#line $LINENO "configure"
23998/* confdefs.h. */
23999_ACEOF
24000cat confdefs.h >>conftest.$ac_ext
24001cat >>conftest.$ac_ext <<_ACEOF
24002/* end confdefs.h. */
24003
24004 #include <Xm/Xm.h>
24005
24006int
24007main ()
24008{
24009
24010 int version;
24011 version = xmUseVersion;
24012
24013 ;
24014 return 0;
24015}
24016_ACEOF
24017rm -f conftest.$ac_objext
24018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24019 (eval $ac_compile) 2>&5
24020 ac_status=$?
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); } &&
24023 { ac_try='test -s conftest.$ac_objext'
24024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24025 (eval $ac_try) 2>&5
24026 ac_status=$?
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; }; then
24029
24030 echo "$as_me:$LINENO: result: found in default search path" >&5
24031echo "${ECHO_T}found in default search path" >&6
24032 COMPILED_X_PROGRAM=1
24033
24034else
24035 echo "$as_me: failed program was:" >&5
24036sed 's/^/| /' conftest.$ac_ext >&5
24037
24038
24039 echo "$as_me:$LINENO: result: no" >&5
24040echo "${ECHO_T}no" >&6
24041 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24042echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24043 { (exit 1); exit 1; }; }
24044
24045
24046fi
24047rm -f conftest.$ac_objext conftest.$ac_ext
24048 fi
24049
24050 if test "$COMPILED_X_PROGRAM" = 0; then
24051 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24052echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24053
24054ac_find_libraries=
24055for ac_dir in $SEARCH_LIB /usr/lib;
24056 do
24057 for ac_extension in a so sl dylib; do
24058 if test -f "$ac_dir/libXm.$ac_extension"; then
24059 ac_find_libraries=$ac_dir
24060 break 2
24061 fi
24062 done
24063 done
24064
24065 if test "$ac_find_libraries" != "" ; then
24066 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24067echo "${ECHO_T}found at $ac_find_libraries" >&6
24068
24069
24070 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24071 result=$?
24072 if test $result = 0; then
24073 ac_path_to_link=""
24074 else
24075 ac_path_to_link=" -L$ac_find_libraries"
24076 fi
24077
24078 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24079 else
24080 save_CFLAGS=$CFLAGS
24081 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24082
24083 cat >conftest.$ac_ext <<_ACEOF
24084#line $LINENO "configure"
24085/* confdefs.h. */
24086_ACEOF
24087cat confdefs.h >>conftest.$ac_ext
24088cat >>conftest.$ac_ext <<_ACEOF
24089/* end confdefs.h. */
24090
24091 #include <Xm/Xm.h>
24092
24093int
24094main ()
24095{
24096
24097 int version;
24098 version = xmUseVersion;
24099
24100 ;
24101 return 0;
24102}
24103_ACEOF
24104rm -f conftest.$ac_objext
24105if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24106 (eval $ac_compile) 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } &&
24110 { ac_try='test -s conftest.$ac_objext'
24111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24112 (eval $ac_try) 2>&5
24113 ac_status=$?
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); }; }; then
24116
24117 echo "$as_me:$LINENO: result: found in default search path" >&5
24118echo "${ECHO_T}found in default search path" >&6
24119 COMPILED_X_PROGRAM=1
24120
24121else
24122 echo "$as_me: failed program was:" >&5
24123sed 's/^/| /' conftest.$ac_ext >&5
24124
24125
24126 echo "$as_me:$LINENO: result: no" >&5
24127echo "${ECHO_T}no" >&6
24128 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24129echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24130 { (exit 1); exit 1; }; }
24131
24132
24133fi
24134rm -f conftest.$ac_objext conftest.$ac_ext
24135
24136 CFLAGS=$save_CFLAGS
24137 fi
24138 fi
24139
24140 xpm_link=
24141 echo "$as_me:$LINENO: checking for Xpm library" >&5
24142echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24143
24144ac_find_libraries=
24145for ac_dir in $SEARCH_LIB /usr/lib;
24146 do
24147 for ac_extension in a so sl dylib; do
24148 if test -f "$ac_dir/libXpm.$ac_extension"; then
24149 ac_find_libraries=$ac_dir
24150 break 2
24151 fi
24152 done
24153 done
24154
24155 if test "$ac_find_libraries" != "" ; then
24156
24157 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24158 result=$?
24159 if test $result = 0; then
24160 ac_path_to_link=""
24161 else
24162 ac_path_to_link=" -L$ac_find_libraries"
24163 fi
24164
24165 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24166
24167 xpm_link=" -lXpm"
24168 cat >>confdefs.h <<\_ACEOF
24169#define wxHAVE_LIB_XPM 1
24170_ACEOF
24171
24172 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24173echo "${ECHO_T}found at $ac_find_libraries" >&6
24174 else
24175 save_CFLAGS=$CFLAGS
24176 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24177
24178 cat >conftest.$ac_ext <<_ACEOF
24179#line $LINENO "configure"
24180/* confdefs.h. */
24181_ACEOF
24182cat confdefs.h >>conftest.$ac_ext
24183cat >>conftest.$ac_ext <<_ACEOF
24184/* end confdefs.h. */
24185
24186 #include <X11/xpm.h>
24187
24188int
24189main ()
24190{
24191
24192 int version;
24193 version = XpmLibraryVersion();
24194
24195 ;
24196 return 0;
24197}
24198_ACEOF
24199rm -f conftest.$ac_objext
24200if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24201 (eval $ac_compile) 2>&5
24202 ac_status=$?
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try='test -s conftest.$ac_objext'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24208 ac_status=$?
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; }; then
24211
24212 xpm_link=" -lXpm"
24213 cat >>confdefs.h <<\_ACEOF
24214#define wxHAVE_LIB_XPM 1
24215_ACEOF
24216
24217 echo "$as_me:$LINENO: result: found in default search path" >&5
24218echo "${ECHO_T}found in default search path" >&6
24219 COMPILED_X_PROGRAM=0
24220
24221else
24222 echo "$as_me: failed program was:" >&5
24223sed 's/^/| /' conftest.$ac_ext >&5
24224
24225
24226 echo "$as_me:$LINENO: result: no" >&5
24227echo "${ECHO_T}no" >&6
24228 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24229echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24230
24231
24232fi
24233rm -f conftest.$ac_objext conftest.$ac_ext
24234
24235 CFLAGS=$save_CFLAGS
24236 fi
24237
24238 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24239echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24240 libp_link=""
24241 libsm_ice_link=""
24242 libs_found=0
24243 for libp in "" " -lXp"; do
24244 if test "$libs_found" = "0"; then
24245 for libsm_ice in " -lSM -lICE"; do
24246 if test "$libs_found" = "0"; then
24247 save_LIBS="$LIBS"
24248 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24249 save_CFLAGS=$CFLAGS
24250 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24251
24252 cat >conftest.$ac_ext <<_ACEOF
24253#line $LINENO "configure"
24254/* confdefs.h. */
24255_ACEOF
24256cat confdefs.h >>conftest.$ac_ext
24257cat >>conftest.$ac_ext <<_ACEOF
24258/* end confdefs.h. */
24259
24260 #include <Xm/Xm.h>
24261 #include <Xm/List.h>
24262
24263int
24264main ()
24265{
24266
24267 XmString string = NULL;
24268 Widget w = NULL;
24269 int position = 0;
24270 XmListAddItem(w, string, position);
24271
24272 ;
24273 return 0;
24274}
24275_ACEOF
24276rm -f conftest.$ac_objext conftest$ac_exeext
24277if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24278 (eval $ac_link) 2>&5
24279 ac_status=$?
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } &&
24282 { ac_try='test -s conftest$ac_exeext'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24285 ac_status=$?
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; }; then
24288
24289 libp_link="$libp"
24290 libsm_ice_link="$libsm_ice"
24291 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24292echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24293 libs_found=1
24294
24295else
24296 echo "$as_me: failed program was:" >&5
24297sed 's/^/| /' conftest.$ac_ext >&5
24298
24299
24300
24301fi
24302rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24303
24304 LIBS="$save_LIBS"
24305 CFLAGS=$save_CFLAGS
24306 fi
24307 done
24308 fi
24309 done
24310
24311 if test "$libs_found" = "0"; then
24312 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24313echo "${ECHO_T}can't find the right libraries" >&6
24314 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24315echo "$as_me: error: can't link a simple motif program" >&2;}
24316 { (exit 1); exit 1; }; }
24317 fi
24318
24319 save_CFLAGS=$CFLAGS
24320 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24321 echo "$as_me:$LINENO: checking for Motif 2" >&5
24322echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24323 cat >conftest.$ac_ext <<_ACEOF
24324#line $LINENO "configure"
24325/* confdefs.h. */
24326_ACEOF
24327cat confdefs.h >>conftest.$ac_ext
24328cat >>conftest.$ac_ext <<_ACEOF
24329/* end confdefs.h. */
24330
24331 #include <Xm/Xm.h>
24332
24333int
24334main ()
24335{
24336
24337 #if XmVersion < 2000
24338 #error "Not Motif 2"
24339 #endif
24340
24341 ;
24342 return 0;
24343}
24344_ACEOF
24345rm -f conftest.$ac_objext
24346if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24347 (eval $ac_compile) 2>&5
24348 ac_status=$?
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } &&
24351 { ac_try='test -s conftest.$ac_objext'
24352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353 (eval $ac_try) 2>&5
24354 ac_status=$?
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; }; then
24357
24358 cat >>confdefs.h <<\_ACEOF
24359#define __WXMOTIF20__ 1
24360_ACEOF
24361
24362 echo "$as_me:$LINENO: result: found" >&5
24363echo "${ECHO_T}found" >&6
24364
24365else
24366 echo "$as_me: failed program was:" >&5
24367sed 's/^/| /' conftest.$ac_ext >&5
24368
24369
24370 cat >>confdefs.h <<\_ACEOF
24371#define __WXMOTIF20__ 0
24372_ACEOF
24373
24374 echo "$as_me:$LINENO: result: not found" >&5
24375echo "${ECHO_T}not found" >&6
24376
24377fi
24378rm -f conftest.$ac_objext conftest.$ac_ext
24379 CFLAGS=$save_CFLAGS
24380
24381 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24382 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24383 TOOLKIT=MOTIF
24384 GUIDIST=MOTIF_DIST
24385 wxHAVE_XEXT_LIB=1
24386 fi
24387
24388 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24389 test "$wxHAVE_XEXT_LIB" = 1; then
24390 save_CFLAGS="$CFLAGS"
24391 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24392
24393 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24394echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24395 cat >conftest.$ac_ext <<_ACEOF
24396#line $LINENO "configure"
24397/* confdefs.h. */
24398_ACEOF
24399cat confdefs.h >>conftest.$ac_ext
24400cat >>conftest.$ac_ext <<_ACEOF
24401/* end confdefs.h. */
24402
24403 #include <X11/Xlib.h>
24404 #include <X11/extensions/shape.h>
24405
24406int
24407main ()
24408{
24409
24410 int dummy1, dummy2;
24411 XShapeQueryExtension((Display*)NULL,
24412 (int*)NULL, (int*)NULL);
24413
24414 ;
24415 return 0;
24416}
24417_ACEOF
24418rm -f conftest.$ac_objext
24419if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24420 (eval $ac_compile) 2>&5
24421 ac_status=$?
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -s conftest.$ac_objext'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24427 ac_status=$?
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; }; then
24430
24431 cat >>confdefs.h <<\_ACEOF
24432#define HAVE_XSHAPE 1
24433_ACEOF
24434
24435 echo "$as_me:$LINENO: result: found" >&5
24436echo "${ECHO_T}found" >&6
24437
24438else
24439 echo "$as_me: failed program was:" >&5
24440sed 's/^/| /' conftest.$ac_ext >&5
24441
24442
24443 echo "$as_me:$LINENO: result: not found" >&5
24444echo "${ECHO_T}not found" >&6
24445
24446fi
24447rm -f conftest.$ac_objext conftest.$ac_ext
24448 CFLAGS="$save_CFLAGS"
24449 fi
24450
24451 if test "$wxUSE_MAC" = 1; then
24452 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24453
24454 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24455 TOOLKIT=MAC
24456 GUIDIST=MACX_DIST
24457 WXBASEPORT="_carbon"
24458 fi
24459
24460 if test "$wxUSE_COCOA" = 1; then
24461 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24462 TOOLKIT=COCOA
24463 GUIDIST=COCOA_DIST
24464 fi
24465
24466 if test "$wxUSE_PM" = 1; then
24467 TOOLKIT=PM
24468 GUIDIST=GTK_DIST
24469 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24470echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24471 wxUSE_THREADS="no"
24472 fi
24473
24474 if test "$TOOLKIT" = "PM" ; then
24475 TOOLKIT_DIR="os2"
24476 else
24477 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24478 fi
24479
24480 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24481
24482 if test "$wxUSE_UNIVERSAL" = "yes"; then
24483 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24484
24485 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24486 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24487
24488 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24489 if test "$wxUSE_X11" = 1; then
24490 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24491 else
24492 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24493 fi
24494 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24495 WIDGET_SET=univ
24496 else
24497 ALL_OBJECTS="\$(GUIOBJS)"
24498 ALL_SOURCES="\$(ALL_SOURCES)"
24499 ALL_HEADERS="\$(ALL_HEADERS)"
24500 fi
24501
24502 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24503
24504 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24505 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24506 fi
24507
24508 if test "$wxUSE_HTML" = "yes"; then
24509 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24510 fi
24511
24512 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24513 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24514 fi
24515 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24516 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24517 fi
24518 if test "$wxUSE_LIBPNG" = "builtin" ; then
24519 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24520 fi
24521
24522 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24523 DISTDIR="wx\$(TOOLKIT)"
24524else
24525 USE_GUI=0
24526
24527 TOOLKIT_DIR="base"
24528
24529 if test "$USE_WIN32" = 1 ; then
24530 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24531 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24532
24533 TOOLKIT="MSW"
24534 else
24535 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24536 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24537 fi
24538
24539 ALL_SOURCES="\$(ALL_SOURCES)"
24540 ALL_HEADERS="\$(ALL_HEADERS)"
24541
24542 PORT_FILES="\${top_srcdir}/src/files.lst"
24543
24544 GUIDIST="BASE_DIST"
24545 DISTDIR="wxBase"
24546fi
24547
24548
24549
24550
24551IODBC_C_SRC=""
24552
24553
24554if test "$TOOLKIT" != "MSW" ; then
24555
24556 if test "$wxUSE_ODBC" != "no" ; then
24557 cat >>confdefs.h <<\_ACEOF
24558#define wxUSE_ODBC 1
24559_ACEOF
24560
24561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24562
24563 WXODBCFLAG="-D_IODBC_"
24564
24565
24566 if test "$wxUSE_ODBC" = "sys" ; then
24567
24568 if test "${ac_cv_header_sql_h+set}" = set; then
24569 echo "$as_me:$LINENO: checking for sql.h" >&5
24570echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24571if test "${ac_cv_header_sql_h+set}" = set; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24573fi
24574echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24575echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24576else
24577 # Is the header compilable?
24578echo "$as_me:$LINENO: checking sql.h usability" >&5
24579echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24580cat >conftest.$ac_ext <<_ACEOF
24581#line $LINENO "configure"
24582/* confdefs.h. */
24583_ACEOF
24584cat confdefs.h >>conftest.$ac_ext
24585cat >>conftest.$ac_ext <<_ACEOF
24586/* end confdefs.h. */
24587$ac_includes_default
24588#include <sql.h>
24589_ACEOF
24590rm -f conftest.$ac_objext
24591if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24592 (eval $ac_compile) 2>&5
24593 ac_status=$?
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } &&
24596 { ac_try='test -s conftest.$ac_objext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24599 ac_status=$?
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 ac_header_compiler=yes
24603else
24604 echo "$as_me: failed program was:" >&5
24605sed 's/^/| /' conftest.$ac_ext >&5
24606
24607ac_header_compiler=no
24608fi
24609rm -f conftest.$ac_objext conftest.$ac_ext
24610echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24611echo "${ECHO_T}$ac_header_compiler" >&6
24612
24613# Is the header present?
24614echo "$as_me:$LINENO: checking sql.h presence" >&5
24615echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24616cat >conftest.$ac_ext <<_ACEOF
24617#line $LINENO "configure"
24618/* confdefs.h. */
24619_ACEOF
24620cat confdefs.h >>conftest.$ac_ext
24621cat >>conftest.$ac_ext <<_ACEOF
24622/* end confdefs.h. */
24623#include <sql.h>
24624_ACEOF
24625if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24627 ac_status=$?
24628 grep -v '^ *+' conftest.er1 >conftest.err
24629 rm -f conftest.er1
24630 cat conftest.err >&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } >/dev/null; then
24633 if test -s conftest.err; then
24634 ac_cpp_err=$ac_c_preproc_warn_flag
24635 else
24636 ac_cpp_err=
24637 fi
24638else
24639 ac_cpp_err=yes
24640fi
24641if test -z "$ac_cpp_err"; then
24642 ac_header_preproc=yes
24643else
24644 echo "$as_me: failed program was:" >&5
24645sed 's/^/| /' conftest.$ac_ext >&5
24646
24647 ac_header_preproc=no
24648fi
24649rm -f conftest.err conftest.$ac_ext
24650echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24651echo "${ECHO_T}$ac_header_preproc" >&6
24652
24653# So? What about this header?
24654case $ac_header_compiler:$ac_header_preproc in
24655 yes:no )
24656 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24657echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24658 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24659echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24660 (
24661 cat <<\_ASBOX
24662## ------------------------------------ ##
24663## Report this to bug-autoconf@gnu.org. ##
24664## ------------------------------------ ##
24665_ASBOX
24666 ) |
24667 sed "s/^/$as_me: WARNING: /" >&2
24668 ;;
24669 no:yes )
24670 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24671echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24672 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24673echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24674 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24675echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24676 (
24677 cat <<\_ASBOX
24678## ------------------------------------ ##
24679## Report this to bug-autoconf@gnu.org. ##
24680## ------------------------------------ ##
24681_ASBOX
24682 ) |
24683 sed "s/^/$as_me: WARNING: /" >&2
24684 ;;
24685esac
24686echo "$as_me:$LINENO: checking for sql.h" >&5
24687echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24688if test "${ac_cv_header_sql_h+set}" = set; then
24689 echo $ECHO_N "(cached) $ECHO_C" >&6
24690else
24691 ac_cv_header_sql_h=$ac_header_preproc
24692fi
24693echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24694echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24695
24696fi
24697
24698
24699 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24700echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24701if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24702 echo $ECHO_N "(cached) $ECHO_C" >&6
24703else
24704 ac_func_search_save_LIBS=$LIBS
24705ac_cv_search_SQLAllocEnv=no
24706cat >conftest.$ac_ext <<_ACEOF
24707#line $LINENO "configure"
24708/* confdefs.h. */
24709_ACEOF
24710cat confdefs.h >>conftest.$ac_ext
24711cat >>conftest.$ac_ext <<_ACEOF
24712/* end confdefs.h. */
24713
24714/* Override any gcc2 internal prototype to avoid an error. */
24715#ifdef __cplusplus
24716extern "C"
24717#endif
24718/* We use char because int might match the return type of a gcc2
24719 builtin and then its argument prototype would still apply. */
24720char SQLAllocEnv ();
24721int
24722main ()
24723{
24724SQLAllocEnv ();
24725 ;
24726 return 0;
24727}
24728_ACEOF
24729rm -f conftest.$ac_objext conftest$ac_exeext
24730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24731 (eval $ac_link) 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try='test -s conftest$ac_exeext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_cv_search_SQLAllocEnv="none required"
24742else
24743 echo "$as_me: failed program was:" >&5
24744sed 's/^/| /' conftest.$ac_ext >&5
24745
24746fi
24747rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24748if test "$ac_cv_search_SQLAllocEnv" = no; then
24749 for ac_lib in iodbc unixodbc odbc ; do
24750 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24751 cat >conftest.$ac_ext <<_ACEOF
24752#line $LINENO "configure"
24753/* confdefs.h. */
24754_ACEOF
24755cat confdefs.h >>conftest.$ac_ext
24756cat >>conftest.$ac_ext <<_ACEOF
24757/* end confdefs.h. */
24758
24759/* Override any gcc2 internal prototype to avoid an error. */
24760#ifdef __cplusplus
24761extern "C"
24762#endif
24763/* We use char because int might match the return type of a gcc2
24764 builtin and then its argument prototype would still apply. */
24765char SQLAllocEnv ();
24766int
24767main ()
24768{
24769SQLAllocEnv ();
24770 ;
24771 return 0;
24772}
24773_ACEOF
24774rm -f conftest.$ac_objext conftest$ac_exeext
24775if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24776 (eval $ac_link) 2>&5
24777 ac_status=$?
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); } &&
24780 { ac_try='test -s conftest$ac_exeext'
24781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782 (eval $ac_try) 2>&5
24783 ac_status=$?
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); }; }; then
24786 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24787break
24788else
24789 echo "$as_me: failed program was:" >&5
24790sed 's/^/| /' conftest.$ac_ext >&5
24791
24792fi
24793rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24794 done
24795fi
24796LIBS=$ac_func_search_save_LIBS
24797fi
24798echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24799echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24800if test "$ac_cv_search_SQLAllocEnv" != no; then
24801 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24802
24803else
24804
24805 wxUSE_ODBC=builtin;
24806 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24807echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24808
24809fi
24810
24811 fi
24812 if test "$wxUSE_ODBC" != "sys" ; then
24813 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24814 fi
24815
24816 fi
24817
24818fi
24819
24820if test "$wxUSE_REGEX" = "builtin" ; then
24821 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24822fi
24823if test "$wxUSE_ZLIB" = "builtin" ; then
24824 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24825fi
24826
24827
24828USE_OPENGL=0
24829if test "$wxUSE_OPENGL" = "yes"; then
24830 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24831 OPENGL_LIBS="-framework OpenGL -framework AGL"
24832 elif test "$wxUSE_MSW" = 1; then
24833 OPENGL_LIBS="-lopengl32 -lglu32"
24834 else
24835
24836
24837ac_find_includes=
24838for ac_dir in $SEARCH_INCLUDE /usr/include;
24839 do
24840 if test -f "$ac_dir/GL/gl.h"; then
24841 ac_find_includes=$ac_dir
24842 break
24843 fi
24844 done
24845
24846 if test "$ac_find_includes" != "" ; then
24847 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24848echo "${ECHO_T}found in $ac_find_includes" >&6
24849 set -x
24850
24851 if test "x$ac_find_includes" = "x/usr/include"; then
24852 ac_path_to_include=""
24853 else
24854 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24855 result=$?
24856 if test $result = 0; then
24857 ac_path_to_include=""
24858 else
24859 ac_path_to_include=" -I$ac_find_includes"
24860 fi
24861 fi
24862
24863 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24864 set +x
24865 fi
24866
24867 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24868 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24869echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24870if test "${ac_cv_header_GL_gl_h+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872fi
24873echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24874echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24875else
24876 # Is the header compilable?
24877echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24878echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24879cat >conftest.$ac_ext <<_ACEOF
24880#line $LINENO "configure"
24881/* confdefs.h. */
24882_ACEOF
24883cat confdefs.h >>conftest.$ac_ext
24884cat >>conftest.$ac_ext <<_ACEOF
24885/* end confdefs.h. */
24886$ac_includes_default
24887#include <GL/gl.h>
24888_ACEOF
24889rm -f conftest.$ac_objext
24890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24891 (eval $ac_compile) 2>&5
24892 ac_status=$?
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); } &&
24895 { ac_try='test -s conftest.$ac_objext'
24896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24897 (eval $ac_try) 2>&5
24898 ac_status=$?
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); }; }; then
24901 ac_header_compiler=yes
24902else
24903 echo "$as_me: failed program was:" >&5
24904sed 's/^/| /' conftest.$ac_ext >&5
24905
24906ac_header_compiler=no
24907fi
24908rm -f conftest.$ac_objext conftest.$ac_ext
24909echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24910echo "${ECHO_T}$ac_header_compiler" >&6
24911
24912# Is the header present?
24913echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24914echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24915cat >conftest.$ac_ext <<_ACEOF
24916#line $LINENO "configure"
24917/* confdefs.h. */
24918_ACEOF
24919cat confdefs.h >>conftest.$ac_ext
24920cat >>conftest.$ac_ext <<_ACEOF
24921/* end confdefs.h. */
24922#include <GL/gl.h>
24923_ACEOF
24924if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24926 ac_status=$?
24927 grep -v '^ *+' conftest.er1 >conftest.err
24928 rm -f conftest.er1
24929 cat conftest.err >&5
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); } >/dev/null; then
24932 if test -s conftest.err; then
24933 ac_cpp_err=$ac_c_preproc_warn_flag
24934 else
24935 ac_cpp_err=
24936 fi
24937else
24938 ac_cpp_err=yes
24939fi
24940if test -z "$ac_cpp_err"; then
24941 ac_header_preproc=yes
24942else
24943 echo "$as_me: failed program was:" >&5
24944sed 's/^/| /' conftest.$ac_ext >&5
24945
24946 ac_header_preproc=no
24947fi
24948rm -f conftest.err conftest.$ac_ext
24949echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24950echo "${ECHO_T}$ac_header_preproc" >&6
24951
24952# So? What about this header?
24953case $ac_header_compiler:$ac_header_preproc in
24954 yes:no )
24955 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24956echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24957 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24958echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24959 (
24960 cat <<\_ASBOX
24961## ------------------------------------ ##
24962## Report this to bug-autoconf@gnu.org. ##
24963## ------------------------------------ ##
24964_ASBOX
24965 ) |
24966 sed "s/^/$as_me: WARNING: /" >&2
24967 ;;
24968 no:yes )
24969 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24970echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24971 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24972echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24973 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24974echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24975 (
24976 cat <<\_ASBOX
24977## ------------------------------------ ##
24978## Report this to bug-autoconf@gnu.org. ##
24979## ------------------------------------ ##
24980_ASBOX
24981 ) |
24982 sed "s/^/$as_me: WARNING: /" >&2
24983 ;;
24984esac
24985echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24986echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24987if test "${ac_cv_header_GL_gl_h+set}" = set; then
24988 echo $ECHO_N "(cached) $ECHO_C" >&6
24989else
24990 ac_cv_header_GL_gl_h=$ac_header_preproc
24991fi
24992echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24993echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24994
24995fi
24996if test $ac_cv_header_GL_gl_h = yes; then
24997
24998 found_gl=0
24999
25000 echo "$as_me:$LINENO: checking for -lGL" >&5
25001echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25002
25003ac_find_libraries=
25004for ac_dir in $SEARCH_LIB /usr/lib;
25005 do
25006 for ac_extension in a so sl dylib; do
25007 if test -f "$ac_dir/libGL.$ac_extension"; then
25008 ac_find_libraries=$ac_dir
25009 break 2
25010 fi
25011 done
25012 done
25013
25014 if test "$ac_find_libraries" != "" ; then
25015
25016 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25017 result=$?
25018 if test $result = 0; then
25019 ac_path_to_link=""
25020 else
25021 ac_path_to_link=" -L$ac_find_libraries"
25022 fi
25023
25024 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25025 LDFLAGS_GL="$ac_path_to_link"
25026 fi
25027
25028
25029ac_find_libraries=
25030for ac_dir in $SEARCH_LIB /usr/lib;
25031 do
25032 for ac_extension in a so sl dylib; do
25033 if test -f "$ac_dir/libGLU.$ac_extension"; then
25034 ac_find_libraries=$ac_dir
25035 break 2
25036 fi
25037 done
25038 done
25039
25040 if test "$ac_find_libraries" != "" ; then
25041
25042 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25043 result=$?
25044 if test $result = 0; then
25045 ac_path_to_link=""
25046 else
25047 ac_path_to_link=" -L$ac_find_libraries"
25048 fi
25049
25050 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25051 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25052 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25053 fi
25054
25055 found_gl=1
25056 OPENGL_LIBS="-lGL -lGLU"
25057 echo "$as_me:$LINENO: result: yes" >&5
25058echo "${ECHO_T}yes" >&6
25059 fi
25060 fi
25061
25062 if "$found_gl" != 1; then
25063 echo "$as_me:$LINENO: result: no" >&5
25064echo "${ECHO_T}no" >&6
25065 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25066echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25067
25068ac_find_libraries=
25069for ac_dir in $SEARCH_LIB /usr/lib;
25070 do
25071 for ac_extension in a so sl dylib; do
25072 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25073 ac_find_libraries=$ac_dir
25074 break 2
25075 fi
25076 done
25077 done
25078
25079 if test "$ac_find_libraries" != "" ; then
25080
25081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25082 result=$?
25083 if test $result = 0; then
25084 ac_path_to_link=""
25085 else
25086 ac_path_to_link=" -L$ac_find_libraries"
25087 fi
25088
25089 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25090 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25091 echo "$as_me:$LINENO: result: yes" >&5
25092echo "${ECHO_T}yes" >&6
25093 else
25094 echo "$as_me:$LINENO: result: no" >&5
25095echo "${ECHO_T}no" >&6
25096 fi
25097 fi
25098
25099fi
25100
25101
25102
25103 if test "x$OPENGL_LIBS" = "x"; then
25104 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25105echo "$as_me: error: OpenGL libraries not available" >&2;}
25106 { (exit 1); exit 1; }; }
25107 fi
25108 fi
25109
25110 if test "$wxUSE_OPENGL" = "yes"; then
25111 USE_OPENGL=1
25112 cat >>confdefs.h <<\_ACEOF
25113#define wxUSE_OPENGL 1
25114_ACEOF
25115
25116 cat >>confdefs.h <<\_ACEOF
25117#define wxUSE_GLCANVAS 1
25118_ACEOF
25119
25120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
25121 fi
25122fi
25123
25124if test -z "$TOOLKIT_VPATH" ; then
25125 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25126fi
25127
25128if test -n "$TOOLKIT" ; then
25129 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25130fi
25131
25132UNICODE=0
25133lib_unicode_suffix=
25134if test "$wxUSE_UNICODE" = "yes"; then
25135 lib_unicode_suffix=u
25136 UNICODE=1
25137fi
25138
25139lib_debug_suffix=
25140DEBUG_FLAG=0
25141if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25142 lib_debug_suffix=d
25143 DEBUG_FLAG=1
25144fi
25145
25146DEBUG_INFO=0
25147if test "$wxUSE_DEBUG_INFO" = "yes"; then
25148 DEBUG_INFO=1
25149fi
25150
25151WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25152
25153TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25154TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25155
25156if test "$cross_compiling" = "yes"; then
25157 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25158 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25159 HOST_SUFFIX="-${host_alias}"
25160fi
25161
25162WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25163WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25164WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25165WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25166
25167WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25168WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25169
25170WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25171WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25172WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25173WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25174
25175case "${host}" in
25176 *-*-cygwin* | *-*-mingw32* )
25177 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25178 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25179 ;;
25180
25181 *-*-darwin* )
25182
25183 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25184 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25185
25186 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25187 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25188 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25189 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25190
25191 if test "$wxUSE_MAC" = 1; then
25192 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25193 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25194 fi
25195 ;;
25196esac
25197
25198WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25199WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25200
25201WXCONFIG_LIBS="-l${WX_LIBRARY}"
25202WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25203
25204if test "$wxUSE_OPENGL" = "yes"; then
25205 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25206 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25207fi
25208
25209
25210
25211if test "$wxUSE_SHARED" = "yes"; then
25212 case "${host}" in
25213 *-pc-os2_emx | *-pc-os2-emx | \
25214 *-pc-msdosdjgpp )
25215 wxUSE_SHARED=no
25216 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25217echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25218 ;;
25219 esac
25220fi
25221
25222SHARED=0
25223if test "$wxUSE_SHARED" = "yes"; then
25224 SHARED=1
25225
25226
25227 found_versioning=no
25228
25229
25230 if test $found_versioning = no ; then
25231 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25232echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25233if test "${wx_cv_version_script+set}" = set; then
25234 echo $ECHO_N "(cached) $ECHO_C" >&6
25235else
25236
25237 echo "VER_1 { *; };" >conftest.sym
25238 echo "int main() { return 0; }" >conftest.cpp
25239
25240 if { ac_try='
25241 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25242 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25245 ac_status=$?
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; } ; then
25248 if test -s conftest.stderr ; then
25249 wx_cv_version_script=no
25250 else
25251 wx_cv_version_script=yes
25252 fi
25253 else
25254 wx_cv_version_script=no
25255 fi
25256 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25257
25258fi
25259echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25260echo "${ECHO_T}$wx_cv_version_script" >&6
25261 if test $wx_cv_version_script = yes ; then
25262 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25263 fi
25264 fi
25265
25266
25267 case "${host}" in
25268 *-*-linux* | *-*-gnu* )
25269 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25270 ;;
25271
25272 *-*-solaris2* )
25273 if test "$GCC" = yes ; then
25274 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25275
25276 saveLdflags="$LDFLAGS"
25277 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25278 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25279echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25280 cat >conftest.$ac_ext <<_ACEOF
25281#line $LINENO "configure"
25282/* confdefs.h. */
25283_ACEOF
25284cat confdefs.h >>conftest.$ac_ext
25285cat >>conftest.$ac_ext <<_ACEOF
25286/* end confdefs.h. */
25287
25288int
25289main ()
25290{
25291
25292 ;
25293 return 0;
25294}
25295_ACEOF
25296rm -f conftest.$ac_objext conftest$ac_exeext
25297if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25298 (eval $ac_link) 2>&5
25299 ac_status=$?
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); } &&
25302 { ac_try='test -s conftest$ac_exeext'
25303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304 (eval $ac_try) 2>&5
25305 ac_status=$?
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; }; then
25308
25309 echo "$as_me:$LINENO: result: yes" >&5
25310echo "${ECHO_T}yes" >&6
25311 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25312
25313else
25314 echo "$as_me: failed program was:" >&5
25315sed 's/^/| /' conftest.$ac_ext >&5
25316
25317
25318 echo "$as_me:$LINENO: result: no" >&5
25319echo "${ECHO_T}no" >&6
25320 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25321echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25322 LDFLAGS="$saveLdflags -Wl,-R,/"
25323 cat >conftest.$ac_ext <<_ACEOF
25324#line $LINENO "configure"
25325/* confdefs.h. */
25326_ACEOF
25327cat confdefs.h >>conftest.$ac_ext
25328cat >>conftest.$ac_ext <<_ACEOF
25329/* end confdefs.h. */
25330
25331int
25332main ()
25333{
25334
25335 ;
25336 return 0;
25337}
25338_ACEOF
25339rm -f conftest.$ac_objext conftest$ac_exeext
25340if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25341 (eval $ac_link) 2>&5
25342 ac_status=$?
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); } &&
25345 { ac_try='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351
25352 echo "$as_me:$LINENO: result: yes" >&5
25353echo "${ECHO_T}yes" >&6
25354 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25355else
25356 echo "$as_me: failed program was:" >&5
25357sed 's/^/| /' conftest.$ac_ext >&5
25358
25359
25360 echo "$as_me:$LINENO: result: no" >&5
25361echo "${ECHO_T}no" >&6
25362
25363fi
25364rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25365
25366fi
25367rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25368 LDFLAGS="$saveLdflags"
25369 else
25370 SHARED_LD="${CXX} -G -o"
25371 PIC_FLAG="-KPIC"
25372 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25373 fi
25374 ;;
25375 esac
25376
25377 if test "x$WX_TARGET_LIBRARY" = "x"; then
25378 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25379 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25380 fi
25381
25382 WX_TARGET_LIBRARY_TYPE="so"
25383 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25384fi
25385
25386if test "$wxUSE_SHARED" = "no"; then
25387
25388 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25389 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25390 fi
25391
25392 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25393 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25394 fi
25395
25396 if test "$wxUSE_OPENGL" = "yes"; then
25397 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25398 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25399 else
25400 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25401 fi
25402
25403 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25404 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25405
25406 WX_TARGET_LIBRARY_TYPE="a"
25407 INSTALL_LIBRARY='$(INSTALL_DATA)'
25408
25409 STATIC_FLAG="yes"
25410else
25411 STATIC_FLAG="no"
25412fi
25413
25414MACRESCOMP="@#"
25415MACSETFILE="@#"
25416MACRESWXCONFIG="#"
25417if test "$wxUSE_MAC" = 1; then
25418 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25419 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25420 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25421 # Extract the first word of "Rez", so it can be a program name with args.
25422set dummy Rez; ac_word=$2
25423echo "$as_me:$LINENO: checking for $ac_word" >&5
25424echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25425if test "${ac_cv_prog_RESCOMP+set}" = set; then
25426 echo $ECHO_N "(cached) $ECHO_C" >&6
25427else
25428 if test -n "$RESCOMP"; then
25429 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25430else
25431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25432for as_dir in $PATH
25433do
25434 IFS=$as_save_IFS
25435 test -z "$as_dir" && as_dir=.
25436 for ac_exec_ext in '' $ac_executable_extensions; do
25437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25438 ac_cv_prog_RESCOMP="Rez"
25439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25440 break 2
25441 fi
25442done
25443done
25444
25445 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25446fi
25447fi
25448RESCOMP=$ac_cv_prog_RESCOMP
25449if test -n "$RESCOMP"; then
25450 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25451echo "${ECHO_T}$RESCOMP" >&6
25452else
25453 echo "$as_me:$LINENO: result: no" >&5
25454echo "${ECHO_T}no" >&6
25455fi
25456
25457 # Extract the first word of "DeRez", so it can be a program name with args.
25458set dummy DeRez; ac_word=$2
25459echo "$as_me:$LINENO: checking for $ac_word" >&5
25460echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25461if test "${ac_cv_prog_DEREZ+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25463else
25464 if test -n "$DEREZ"; then
25465 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25466else
25467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25468for as_dir in $PATH
25469do
25470 IFS=$as_save_IFS
25471 test -z "$as_dir" && as_dir=.
25472 for ac_exec_ext in '' $ac_executable_extensions; do
25473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25474 ac_cv_prog_DEREZ="DeRez"
25475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25476 break 2
25477 fi
25478done
25479done
25480
25481 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25482fi
25483fi
25484DEREZ=$ac_cv_prog_DEREZ
25485if test -n "$DEREZ"; then
25486 echo "$as_me:$LINENO: result: $DEREZ" >&5
25487echo "${ECHO_T}$DEREZ" >&6
25488else
25489 echo "$as_me:$LINENO: result: no" >&5
25490echo "${ECHO_T}no" >&6
25491fi
25492
25493 # Extract the first word of "SetFile", so it can be a program name with args.
25494set dummy SetFile; ac_word=$2
25495echo "$as_me:$LINENO: checking for $ac_word" >&5
25496echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25497if test "${ac_cv_prog_SETFILE+set}" = set; then
25498 echo $ECHO_N "(cached) $ECHO_C" >&6
25499else
25500 if test -n "$SETFILE"; then
25501 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25502else
25503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25504for as_dir in $PATH
25505do
25506 IFS=$as_save_IFS
25507 test -z "$as_dir" && as_dir=.
25508 for ac_exec_ext in '' $ac_executable_extensions; do
25509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25510 ac_cv_prog_SETFILE="SetFile"
25511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25512 break 2
25513 fi
25514done
25515done
25516
25517 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25518fi
25519fi
25520SETFILE=$ac_cv_prog_SETFILE
25521if test -n "$SETFILE"; then
25522 echo "$as_me:$LINENO: result: $SETFILE" >&5
25523echo "${ECHO_T}$SETFILE" >&6
25524else
25525 echo "$as_me:$LINENO: result: no" >&5
25526echo "${ECHO_T}no" >&6
25527fi
25528
25529 MACOSX_BUNDLE="bundle"
25530 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25531 MACSETFILE="\$(SETFILE)"
25532 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25533elif test "$wxUSE_COCOA" = 1; then
25534 # Extract the first word of "Rez", so it can be a program name with args.
25535set dummy Rez; ac_word=$2
25536echo "$as_me:$LINENO: checking for $ac_word" >&5
25537echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25538if test "${ac_cv_prog_RESCOMP+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25540else
25541 if test -n "$RESCOMP"; then
25542 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25543else
25544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25545for as_dir in $PATH
25546do
25547 IFS=$as_save_IFS
25548 test -z "$as_dir" && as_dir=.
25549 for ac_exec_ext in '' $ac_executable_extensions; do
25550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25551 ac_cv_prog_RESCOMP="Rez"
25552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25553 break 2
25554 fi
25555done
25556done
25557
25558 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25559fi
25560fi
25561RESCOMP=$ac_cv_prog_RESCOMP
25562if test -n "$RESCOMP"; then
25563 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25564echo "${ECHO_T}$RESCOMP" >&6
25565else
25566 echo "$as_me:$LINENO: result: no" >&5
25567echo "${ECHO_T}no" >&6
25568fi
25569
25570 # Extract the first word of "DeRez", so it can be a program name with args.
25571set dummy DeRez; ac_word=$2
25572echo "$as_me:$LINENO: checking for $ac_word" >&5
25573echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25574if test "${ac_cv_prog_DEREZ+set}" = set; then
25575 echo $ECHO_N "(cached) $ECHO_C" >&6
25576else
25577 if test -n "$DEREZ"; then
25578 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25579else
25580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25581for as_dir in $PATH
25582do
25583 IFS=$as_save_IFS
25584 test -z "$as_dir" && as_dir=.
25585 for ac_exec_ext in '' $ac_executable_extensions; do
25586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25587 ac_cv_prog_DEREZ="DeRez"
25588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25589 break 2
25590 fi
25591done
25592done
25593
25594 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25595fi
25596fi
25597DEREZ=$ac_cv_prog_DEREZ
25598if test -n "$DEREZ"; then
25599 echo "$as_me:$LINENO: result: $DEREZ" >&5
25600echo "${ECHO_T}$DEREZ" >&6
25601else
25602 echo "$as_me:$LINENO: result: no" >&5
25603echo "${ECHO_T}no" >&6
25604fi
25605
25606 # Extract the first word of "SetFile", so it can be a program name with args.
25607set dummy SetFile; ac_word=$2
25608echo "$as_me:$LINENO: checking for $ac_word" >&5
25609echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25610if test "${ac_cv_prog_SETFILE+set}" = set; then
25611 echo $ECHO_N "(cached) $ECHO_C" >&6
25612else
25613 if test -n "$SETFILE"; then
25614 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25615else
25616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25617for as_dir in $PATH
25618do
25619 IFS=$as_save_IFS
25620 test -z "$as_dir" && as_dir=.
25621 for ac_exec_ext in '' $ac_executable_extensions; do
25622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25623 ac_cv_prog_SETFILE="SetFile"
25624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25625 break 2
25626 fi
25627done
25628done
25629
25630 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25631fi
25632fi
25633SETFILE=$ac_cv_prog_SETFILE
25634if test -n "$SETFILE"; then
25635 echo "$as_me:$LINENO: result: $SETFILE" >&5
25636echo "${ECHO_T}$SETFILE" >&6
25637else
25638 echo "$as_me:$LINENO: result: no" >&5
25639echo "${ECHO_T}no" >&6
25640fi
25641
25642 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25643 MACSETFILE="\$(SETFILE)"
25644 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25645else
25646 if test "$wxUSE_PM" = 1; then
25647 MACRESCOMP="emxbind -ep"
25648 fi
25649fi
25650
25651
25652echo "$as_me:$LINENO: checking for mode_t" >&5
25653echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25654if test "${ac_cv_type_mode_t+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25656else
25657 cat >conftest.$ac_ext <<_ACEOF
25658#line $LINENO "configure"
25659/* confdefs.h. */
25660_ACEOF
25661cat confdefs.h >>conftest.$ac_ext
25662cat >>conftest.$ac_ext <<_ACEOF
25663/* end confdefs.h. */
25664$ac_includes_default
25665int
25666main ()
25667{
25668if ((mode_t *) 0)
25669 return 0;
25670if (sizeof (mode_t))
25671 return 0;
25672 ;
25673 return 0;
25674}
25675_ACEOF
25676rm -f conftest.$ac_objext
25677if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25678 (eval $ac_compile) 2>&5
25679 ac_status=$?
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } &&
25682 { ac_try='test -s conftest.$ac_objext'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25685 ac_status=$?
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; }; then
25688 ac_cv_type_mode_t=yes
25689else
25690 echo "$as_me: failed program was:" >&5
25691sed 's/^/| /' conftest.$ac_ext >&5
25692
25693ac_cv_type_mode_t=no
25694fi
25695rm -f conftest.$ac_objext conftest.$ac_ext
25696fi
25697echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25698echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25699if test $ac_cv_type_mode_t = yes; then
25700 :
25701else
25702
25703cat >>confdefs.h <<_ACEOF
25704#define mode_t int
25705_ACEOF
25706
25707fi
25708
25709echo "$as_me:$LINENO: checking for off_t" >&5
25710echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25711if test "${ac_cv_type_off_t+set}" = set; then
25712 echo $ECHO_N "(cached) $ECHO_C" >&6
25713else
25714 cat >conftest.$ac_ext <<_ACEOF
25715#line $LINENO "configure"
25716/* confdefs.h. */
25717_ACEOF
25718cat confdefs.h >>conftest.$ac_ext
25719cat >>conftest.$ac_ext <<_ACEOF
25720/* end confdefs.h. */
25721$ac_includes_default
25722int
25723main ()
25724{
25725if ((off_t *) 0)
25726 return 0;
25727if (sizeof (off_t))
25728 return 0;
25729 ;
25730 return 0;
25731}
25732_ACEOF
25733rm -f conftest.$ac_objext
25734if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25735 (eval $ac_compile) 2>&5
25736 ac_status=$?
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try='test -s conftest.$ac_objext'
25740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25741 (eval $ac_try) 2>&5
25742 ac_status=$?
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; }; then
25745 ac_cv_type_off_t=yes
25746else
25747 echo "$as_me: failed program was:" >&5
25748sed 's/^/| /' conftest.$ac_ext >&5
25749
25750ac_cv_type_off_t=no
25751fi
25752rm -f conftest.$ac_objext conftest.$ac_ext
25753fi
25754echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25755echo "${ECHO_T}$ac_cv_type_off_t" >&6
25756if test $ac_cv_type_off_t = yes; then
25757 :
25758else
25759
25760cat >>confdefs.h <<_ACEOF
25761#define off_t long
25762_ACEOF
25763
25764fi
25765
25766echo "$as_me:$LINENO: checking for pid_t" >&5
25767echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25768if test "${ac_cv_type_pid_t+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25770else
25771 cat >conftest.$ac_ext <<_ACEOF
25772#line $LINENO "configure"
25773/* confdefs.h. */
25774_ACEOF
25775cat confdefs.h >>conftest.$ac_ext
25776cat >>conftest.$ac_ext <<_ACEOF
25777/* end confdefs.h. */
25778$ac_includes_default
25779int
25780main ()
25781{
25782if ((pid_t *) 0)
25783 return 0;
25784if (sizeof (pid_t))
25785 return 0;
25786 ;
25787 return 0;
25788}
25789_ACEOF
25790rm -f conftest.$ac_objext
25791if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25792 (eval $ac_compile) 2>&5
25793 ac_status=$?
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } &&
25796 { ac_try='test -s conftest.$ac_objext'
25797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25798 (eval $ac_try) 2>&5
25799 ac_status=$?
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); }; }; then
25802 ac_cv_type_pid_t=yes
25803else
25804 echo "$as_me: failed program was:" >&5
25805sed 's/^/| /' conftest.$ac_ext >&5
25806
25807ac_cv_type_pid_t=no
25808fi
25809rm -f conftest.$ac_objext conftest.$ac_ext
25810fi
25811echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25812echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25813if test $ac_cv_type_pid_t = yes; then
25814 :
25815else
25816
25817cat >>confdefs.h <<_ACEOF
25818#define pid_t int
25819_ACEOF
25820
25821fi
25822
25823echo "$as_me:$LINENO: checking for size_t" >&5
25824echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25825if test "${ac_cv_type_size_t+set}" = set; then
25826 echo $ECHO_N "(cached) $ECHO_C" >&6
25827else
25828 cat >conftest.$ac_ext <<_ACEOF
25829#line $LINENO "configure"
25830/* confdefs.h. */
25831_ACEOF
25832cat confdefs.h >>conftest.$ac_ext
25833cat >>conftest.$ac_ext <<_ACEOF
25834/* end confdefs.h. */
25835$ac_includes_default
25836int
25837main ()
25838{
25839if ((size_t *) 0)
25840 return 0;
25841if (sizeof (size_t))
25842 return 0;
25843 ;
25844 return 0;
25845}
25846_ACEOF
25847rm -f conftest.$ac_objext
25848if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25849 (eval $ac_compile) 2>&5
25850 ac_status=$?
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -s conftest.$ac_objext'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25856 ac_status=$?
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; }; then
25859 ac_cv_type_size_t=yes
25860else
25861 echo "$as_me: failed program was:" >&5
25862sed 's/^/| /' conftest.$ac_ext >&5
25863
25864ac_cv_type_size_t=no
25865fi
25866rm -f conftest.$ac_objext conftest.$ac_ext
25867fi
25868echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25869echo "${ECHO_T}$ac_cv_type_size_t" >&6
25870if test $ac_cv_type_size_t = yes; then
25871 :
25872else
25873
25874cat >>confdefs.h <<_ACEOF
25875#define size_t unsigned
25876_ACEOF
25877
25878fi
25879
25880echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25881echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25882if test "${ac_cv_type_uid_t+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25884else
25885 cat >conftest.$ac_ext <<_ACEOF
25886#line $LINENO "configure"
25887/* confdefs.h. */
25888_ACEOF
25889cat confdefs.h >>conftest.$ac_ext
25890cat >>conftest.$ac_ext <<_ACEOF
25891/* end confdefs.h. */
25892#include <sys/types.h>
25893
25894_ACEOF
25895if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25896 $EGREP "uid_t" >/dev/null 2>&1; then
25897 ac_cv_type_uid_t=yes
25898else
25899 ac_cv_type_uid_t=no
25900fi
25901rm -f conftest*
25902
25903fi
25904echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25905echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25906if test $ac_cv_type_uid_t = no; then
25907
25908cat >>confdefs.h <<\_ACEOF
25909#define uid_t int
25910_ACEOF
25911
25912
25913cat >>confdefs.h <<\_ACEOF
25914#define gid_t int
25915_ACEOF
25916
25917fi
25918
25919
25920
25921
25922ac_ext=cc
25923ac_cpp='$CXXCPP $CPPFLAGS'
25924ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25927
25928echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25929echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25930if test "${wx_cv_size_t_is_uint+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25932else
25933
25934 cat >conftest.$ac_ext <<_ACEOF
25935#line $LINENO "configure"
25936/* confdefs.h. */
25937_ACEOF
25938cat confdefs.h >>conftest.$ac_ext
25939cat >>conftest.$ac_ext <<_ACEOF
25940/* end confdefs.h. */
25941#include <stddef.h>
25942int
25943main ()
25944{
25945
25946 return 0; }
25947
25948 struct Foo { void foo(size_t); void foo(unsigned int); };
25949
25950 int bar() {
25951
25952 ;
25953 return 0;
25954}
25955_ACEOF
25956rm -f conftest.$ac_objext
25957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25958 (eval $ac_compile) 2>&5
25959 ac_status=$?
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try='test -s conftest.$ac_objext'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25965 ac_status=$?
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; }; then
25968 wx_cv_size_t_is_uint=no
25969else
25970 echo "$as_me: failed program was:" >&5
25971sed 's/^/| /' conftest.$ac_ext >&5
25972
25973wx_cv_size_t_is_uint=yes
25974
25975fi
25976rm -f conftest.$ac_objext conftest.$ac_ext
25977
25978
25979fi
25980echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25981echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25982
25983if test "$wx_cv_size_t_is_uint" = "yes"; then
25984 cat >>confdefs.h <<\_ACEOF
25985#define wxSIZE_T_IS_UINT 1
25986_ACEOF
25987
25988else
25989 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25990echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25991if test "${wx_cv_size_t_is_ulong+set}" = set; then
25992 echo $ECHO_N "(cached) $ECHO_C" >&6
25993else
25994 cat >conftest.$ac_ext <<_ACEOF
25995#line $LINENO "configure"
25996/* confdefs.h. */
25997_ACEOF
25998cat confdefs.h >>conftest.$ac_ext
25999cat >>conftest.$ac_ext <<_ACEOF
26000/* end confdefs.h. */
26001#include <stddef.h>
26002int
26003main ()
26004{
26005
26006 return 0; }
26007
26008 struct Foo { void foo(size_t); void foo(unsigned long); };
26009
26010 int bar() {
26011
26012 ;
26013 return 0;
26014}
26015_ACEOF
26016rm -f conftest.$ac_objext
26017if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26018 (eval $ac_compile) 2>&5
26019 ac_status=$?
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } &&
26022 { ac_try='test -s conftest.$ac_objext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 wx_cv_size_t_is_ulong=no
26029else
26030 echo "$as_me: failed program was:" >&5
26031sed 's/^/| /' conftest.$ac_ext >&5
26032
26033wx_cv_size_t_is_ulong=yes
26034
26035fi
26036rm -f conftest.$ac_objext conftest.$ac_ext
26037
26038fi
26039echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26040echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26041
26042 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26043 cat >>confdefs.h <<\_ACEOF
26044#define wxSIZE_T_IS_ULONG 1
26045_ACEOF
26046
26047 fi
26048fi
26049
26050ac_ext=c
26051ac_cpp='$CPP $CPPFLAGS'
26052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054ac_compiler_gnu=$ac_cv_c_compiler_gnu
26055
26056
26057
26058echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26059echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26060if test "${wx_cv_struct_pw_gecos+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26062else
26063
26064 cat >conftest.$ac_ext <<_ACEOF
26065#line $LINENO "configure"
26066/* confdefs.h. */
26067_ACEOF
26068cat confdefs.h >>conftest.$ac_ext
26069cat >>conftest.$ac_ext <<_ACEOF
26070/* end confdefs.h. */
26071#include <pwd.h>
26072int
26073main ()
26074{
26075
26076 char *p;
26077 struct passwd *pw;
26078 p = pw->pw_gecos;
26079
26080 ;
26081 return 0;
26082}
26083_ACEOF
26084rm -f conftest.$ac_objext
26085if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26086 (eval $ac_compile) 2>&5
26087 ac_status=$?
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); } &&
26090 { ac_try='test -s conftest.$ac_objext'
26091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26092 (eval $ac_try) 2>&5
26093 ac_status=$?
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); }; }; then
26096
26097 wx_cv_struct_pw_gecos=yes
26098
26099else
26100 echo "$as_me: failed program was:" >&5
26101sed 's/^/| /' conftest.$ac_ext >&5
26102
26103
26104 wx_cv_struct_pw_gecos=no
26105
26106
26107fi
26108rm -f conftest.$ac_objext conftest.$ac_ext
26109
26110
26111fi
26112echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26113echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26114
26115if test "$wx_cv_struct_pw_gecos" = "yes"; then
26116 cat >>confdefs.h <<\_ACEOF
26117#define HAVE_PW_GECOS 1
26118_ACEOF
26119
26120fi
26121
26122
26123if test "$wx_cv_sizeof_wchar_t" != "0"; then
26124 cat >>confdefs.h <<\_ACEOF
26125#define wxUSE_WCHAR_T 1
26126_ACEOF
26127
26128
26129 WCSLEN_FOUND=0
26130 WCHAR_LINK=
26131
26132for ac_func in wcslen
26133do
26134as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26135echo "$as_me:$LINENO: checking for $ac_func" >&5
26136echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26137if eval "test \"\${$as_ac_var+set}\" = set"; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139else
26140 cat >conftest.$ac_ext <<_ACEOF
26141#line $LINENO "configure"
26142/* confdefs.h. */
26143_ACEOF
26144cat confdefs.h >>conftest.$ac_ext
26145cat >>conftest.$ac_ext <<_ACEOF
26146/* end confdefs.h. */
26147/* System header to define __stub macros and hopefully few prototypes,
26148 which can conflict with char $ac_func (); below.
26149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26150 <limits.h> exists even on freestanding compilers. */
26151#ifdef __STDC__
26152# include <limits.h>
26153#else
26154# include <assert.h>
26155#endif
26156/* Override any gcc2 internal prototype to avoid an error. */
26157#ifdef __cplusplus
26158extern "C"
26159{
26160#endif
26161/* We use char because int might match the return type of a gcc2
26162 builtin and then its argument prototype would still apply. */
26163char $ac_func ();
26164/* The GNU C library defines this for functions which it implements
26165 to always fail with ENOSYS. Some functions are actually named
26166 something starting with __ and the normal name is an alias. */
26167#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26168choke me
26169#else
26170char (*f) () = $ac_func;
26171#endif
26172#ifdef __cplusplus
26173}
26174#endif
26175
26176int
26177main ()
26178{
26179return f != $ac_func;
26180 ;
26181 return 0;
26182}
26183_ACEOF
26184rm -f conftest.$ac_objext conftest$ac_exeext
26185if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26186 (eval $ac_link) 2>&5
26187 ac_status=$?
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); } &&
26190 { ac_try='test -s conftest$ac_exeext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26193 ac_status=$?
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 eval "$as_ac_var=yes"
26197else
26198 echo "$as_me: failed program was:" >&5
26199sed 's/^/| /' conftest.$ac_ext >&5
26200
26201eval "$as_ac_var=no"
26202fi
26203rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26204fi
26205echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26206echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26207if test `eval echo '${'$as_ac_var'}'` = yes; then
26208 cat >>confdefs.h <<_ACEOF
26209#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26210_ACEOF
26211 WCSLEN_FOUND=1
26212fi
26213done
26214
26215
26216 if test "$WCSLEN_FOUND" = 0; then
26217 if test "$TOOLKIT" = "MSW"; then
26218 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26219echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26220if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26222else
26223 ac_check_lib_save_LIBS=$LIBS
26224LIBS="-lmsvcrt $LIBS"
26225cat >conftest.$ac_ext <<_ACEOF
26226#line $LINENO "configure"
26227/* confdefs.h. */
26228_ACEOF
26229cat confdefs.h >>conftest.$ac_ext
26230cat >>conftest.$ac_ext <<_ACEOF
26231/* end confdefs.h. */
26232
26233/* Override any gcc2 internal prototype to avoid an error. */
26234#ifdef __cplusplus
26235extern "C"
26236#endif
26237/* We use char because int might match the return type of a gcc2
26238 builtin and then its argument prototype would still apply. */
26239char wcslen ();
26240int
26241main ()
26242{
26243wcslen ();
26244 ;
26245 return 0;
26246}
26247_ACEOF
26248rm -f conftest.$ac_objext conftest$ac_exeext
26249if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26250 (eval $ac_link) 2>&5
26251 ac_status=$?
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } &&
26254 { ac_try='test -s conftest$ac_exeext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26257 ac_status=$?
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 ac_cv_lib_msvcrt_wcslen=yes
26261else
26262 echo "$as_me: failed program was:" >&5
26263sed 's/^/| /' conftest.$ac_ext >&5
26264
26265ac_cv_lib_msvcrt_wcslen=no
26266fi
26267rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26268LIBS=$ac_check_lib_save_LIBS
26269fi
26270echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26271echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26272if test $ac_cv_lib_msvcrt_wcslen = yes; then
26273 WCHAR_OK=1
26274fi
26275
26276 else
26277 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26278echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26279if test "${ac_cv_lib_w_wcslen+set}" = set; then
26280 echo $ECHO_N "(cached) $ECHO_C" >&6
26281else
26282 ac_check_lib_save_LIBS=$LIBS
26283LIBS="-lw $LIBS"
26284cat >conftest.$ac_ext <<_ACEOF
26285#line $LINENO "configure"
26286/* confdefs.h. */
26287_ACEOF
26288cat confdefs.h >>conftest.$ac_ext
26289cat >>conftest.$ac_ext <<_ACEOF
26290/* end confdefs.h. */
26291
26292/* Override any gcc2 internal prototype to avoid an error. */
26293#ifdef __cplusplus
26294extern "C"
26295#endif
26296/* We use char because int might match the return type of a gcc2
26297 builtin and then its argument prototype would still apply. */
26298char wcslen ();
26299int
26300main ()
26301{
26302wcslen ();
26303 ;
26304 return 0;
26305}
26306_ACEOF
26307rm -f conftest.$ac_objext conftest$ac_exeext
26308if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26309 (eval $ac_link) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try='test -s conftest$ac_exeext'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; }; then
26319 ac_cv_lib_w_wcslen=yes
26320else
26321 echo "$as_me: failed program was:" >&5
26322sed 's/^/| /' conftest.$ac_ext >&5
26323
26324ac_cv_lib_w_wcslen=no
26325fi
26326rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26327LIBS=$ac_check_lib_save_LIBS
26328fi
26329echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26330echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26331if test $ac_cv_lib_w_wcslen = yes; then
26332
26333 WCHAR_LINK=" -lw"
26334 WCSLEN_FOUND=1
26335
26336fi
26337
26338 fi
26339 fi
26340
26341 if test "$WCSLEN_FOUND" = 1; then
26342 cat >>confdefs.h <<\_ACEOF
26343#define HAVE_WCSLEN 1
26344_ACEOF
26345
26346 fi
26347
26348
26349for ac_func in wcsrtombs
26350do
26351as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26352echo "$as_me:$LINENO: checking for $ac_func" >&5
26353echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26354if eval "test \"\${$as_ac_var+set}\" = set"; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26356else
26357 cat >conftest.$ac_ext <<_ACEOF
26358#line $LINENO "configure"
26359/* confdefs.h. */
26360_ACEOF
26361cat confdefs.h >>conftest.$ac_ext
26362cat >>conftest.$ac_ext <<_ACEOF
26363/* end confdefs.h. */
26364/* System header to define __stub macros and hopefully few prototypes,
26365 which can conflict with char $ac_func (); below.
26366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26367 <limits.h> exists even on freestanding compilers. */
26368#ifdef __STDC__
26369# include <limits.h>
26370#else
26371# include <assert.h>
26372#endif
26373/* Override any gcc2 internal prototype to avoid an error. */
26374#ifdef __cplusplus
26375extern "C"
26376{
26377#endif
26378/* We use char because int might match the return type of a gcc2
26379 builtin and then its argument prototype would still apply. */
26380char $ac_func ();
26381/* The GNU C library defines this for functions which it implements
26382 to always fail with ENOSYS. Some functions are actually named
26383 something starting with __ and the normal name is an alias. */
26384#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26385choke me
26386#else
26387char (*f) () = $ac_func;
26388#endif
26389#ifdef __cplusplus
26390}
26391#endif
26392
26393int
26394main ()
26395{
26396return f != $ac_func;
26397 ;
26398 return 0;
26399}
26400_ACEOF
26401rm -f conftest.$ac_objext conftest$ac_exeext
26402if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26403 (eval $ac_link) 2>&5
26404 ac_status=$?
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); } &&
26407 { ac_try='test -s conftest$ac_exeext'
26408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26409 (eval $ac_try) 2>&5
26410 ac_status=$?
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); }; }; then
26413 eval "$as_ac_var=yes"
26414else
26415 echo "$as_me: failed program was:" >&5
26416sed 's/^/| /' conftest.$ac_ext >&5
26417
26418eval "$as_ac_var=no"
26419fi
26420rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26421fi
26422echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26423echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26424if test `eval echo '${'$as_ac_var'}'` = yes; then
26425 cat >>confdefs.h <<_ACEOF
26426#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26427_ACEOF
26428
26429fi
26430done
26431
26432else
26433 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26434echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26435fi
26436
26437
26438
26439ac_ext=cc
26440ac_cpp='$CXXCPP $CPPFLAGS'
26441ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26442ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26443ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26444
26445
26446
26447for ac_func in vsnprintf
26448do
26449as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26450echo "$as_me:$LINENO: checking for $ac_func" >&5
26451echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26452if eval "test \"\${$as_ac_var+set}\" = set"; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26454else
26455 cat >conftest.$ac_ext <<_ACEOF
26456#line $LINENO "configure"
26457/* confdefs.h. */
26458_ACEOF
26459cat confdefs.h >>conftest.$ac_ext
26460cat >>conftest.$ac_ext <<_ACEOF
26461/* end confdefs.h. */
26462/* System header to define __stub macros and hopefully few prototypes,
26463 which can conflict with char $ac_func (); below.
26464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26465 <limits.h> exists even on freestanding compilers. */
26466#ifdef __STDC__
26467# include <limits.h>
26468#else
26469# include <assert.h>
26470#endif
26471/* Override any gcc2 internal prototype to avoid an error. */
26472#ifdef __cplusplus
26473extern "C"
26474{
26475#endif
26476/* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26478char $ac_func ();
26479/* The GNU C library defines this for functions which it implements
26480 to always fail with ENOSYS. Some functions are actually named
26481 something starting with __ and the normal name is an alias. */
26482#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26483choke me
26484#else
26485char (*f) () = $ac_func;
26486#endif
26487#ifdef __cplusplus
26488}
26489#endif
26490
26491int
26492main ()
26493{
26494return f != $ac_func;
26495 ;
26496 return 0;
26497}
26498_ACEOF
26499rm -f conftest.$ac_objext conftest$ac_exeext
26500if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26501 (eval $ac_link) 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try='test -s conftest$ac_exeext'
26506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26507 (eval $ac_try) 2>&5
26508 ac_status=$?
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); }; }; then
26511 eval "$as_ac_var=yes"
26512else
26513 echo "$as_me: failed program was:" >&5
26514sed 's/^/| /' conftest.$ac_ext >&5
26515
26516eval "$as_ac_var=no"
26517fi
26518rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26519fi
26520echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26521echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26522if test `eval echo '${'$as_ac_var'}'` = yes; then
26523 cat >>confdefs.h <<_ACEOF
26524#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26525_ACEOF
26526
26527fi
26528done
26529
26530
26531if test "$ac_cv_func_vsnprintf" = "yes"; then
26532 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26533echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26534if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26536else
26537
26538 cat >conftest.$ac_ext <<_ACEOF
26539#line $LINENO "configure"
26540/* confdefs.h. */
26541_ACEOF
26542cat confdefs.h >>conftest.$ac_ext
26543cat >>conftest.$ac_ext <<_ACEOF
26544/* end confdefs.h. */
26545
26546 #include <stdio.h>
26547 #include <stdarg.h>
26548
26549int
26550main ()
26551{
26552
26553 char *buf;
26554 va_list ap;
26555 vsnprintf(buf, 10u, "%s", ap);
26556
26557 ;
26558 return 0;
26559}
26560_ACEOF
26561rm -f conftest.$ac_objext
26562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26563 (eval $ac_compile) 2>&5
26564 ac_status=$?
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } &&
26567 { ac_try='test -s conftest.$ac_objext'
26568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26569 (eval $ac_try) 2>&5
26570 ac_status=$?
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); }; }; then
26573 wx_cv_func_vsnprintf_decl=yes
26574else
26575 echo "$as_me: failed program was:" >&5
26576sed 's/^/| /' conftest.$ac_ext >&5
26577
26578wx_cv_func_vsnprintf_decl=no
26579
26580fi
26581rm -f conftest.$ac_objext conftest.$ac_ext
26582
26583
26584fi
26585echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26586echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26587
26588 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26589 cat >>confdefs.h <<\_ACEOF
26590#define HAVE_VSNPRINTF_DECL 1
26591_ACEOF
26592
26593 fi
26594fi
26595
26596if test "$wxUSE_UNICODE" = yes; then
26597
26598
26599
26600for ac_func in fputwc wprintf vswprintf
26601do
26602as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26603echo "$as_me:$LINENO: checking for $ac_func" >&5
26604echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26605if eval "test \"\${$as_ac_var+set}\" = set"; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26607else
26608 cat >conftest.$ac_ext <<_ACEOF
26609#line $LINENO "configure"
26610/* confdefs.h. */
26611_ACEOF
26612cat confdefs.h >>conftest.$ac_ext
26613cat >>conftest.$ac_ext <<_ACEOF
26614/* end confdefs.h. */
26615/* System header to define __stub macros and hopefully few prototypes,
26616 which can conflict with char $ac_func (); below.
26617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26618 <limits.h> exists even on freestanding compilers. */
26619#ifdef __STDC__
26620# include <limits.h>
26621#else
26622# include <assert.h>
26623#endif
26624/* Override any gcc2 internal prototype to avoid an error. */
26625#ifdef __cplusplus
26626extern "C"
26627{
26628#endif
26629/* We use char because int might match the return type of a gcc2
26630 builtin and then its argument prototype would still apply. */
26631char $ac_func ();
26632/* The GNU C library defines this for functions which it implements
26633 to always fail with ENOSYS. Some functions are actually named
26634 something starting with __ and the normal name is an alias. */
26635#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26636choke me
26637#else
26638char (*f) () = $ac_func;
26639#endif
26640#ifdef __cplusplus
26641}
26642#endif
26643
26644int
26645main ()
26646{
26647return f != $ac_func;
26648 ;
26649 return 0;
26650}
26651_ACEOF
26652rm -f conftest.$ac_objext conftest$ac_exeext
26653if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26654 (eval $ac_link) 2>&5
26655 ac_status=$?
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } &&
26658 { ac_try='test -s conftest$ac_exeext'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26661 ac_status=$?
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; }; then
26664 eval "$as_ac_var=yes"
26665else
26666 echo "$as_me: failed program was:" >&5
26667sed 's/^/| /' conftest.$ac_ext >&5
26668
26669eval "$as_ac_var=no"
26670fi
26671rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26672fi
26673echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26674echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26675if test `eval echo '${'$as_ac_var'}'` = yes; then
26676 cat >>confdefs.h <<_ACEOF
26677#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26678_ACEOF
26679
26680fi
26681done
26682
26683
26684 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26685echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26686 cat >conftest.$ac_ext <<_ACEOF
26687#line $LINENO "configure"
26688/* confdefs.h. */
26689_ACEOF
26690cat confdefs.h >>conftest.$ac_ext
26691cat >>conftest.$ac_ext <<_ACEOF
26692/* end confdefs.h. */
26693#include <wchar.h>
26694int
26695main ()
26696{
26697&_vsnwprintf;
26698 ;
26699 return 0;
26700}
26701_ACEOF
26702rm -f conftest.$ac_objext
26703if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26704 (eval $ac_compile) 2>&5
26705 ac_status=$?
26706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26707 (exit $ac_status); } &&
26708 { ac_try='test -s conftest.$ac_objext'
26709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26710 (eval $ac_try) 2>&5
26711 ac_status=$?
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); }; }; then
26714 echo "$as_me:$LINENO: result: yes" >&5
26715echo "${ECHO_T}yes" >&6
26716 cat >>confdefs.h <<\_ACEOF
26717#define HAVE__VSNWPRINTF 1
26718_ACEOF
26719
26720else
26721 echo "$as_me: failed program was:" >&5
26722sed 's/^/| /' conftest.$ac_ext >&5
26723
26724echo "$as_me:$LINENO: result: no" >&5
26725echo "${ECHO_T}no" >&6
26726fi
26727rm -f conftest.$ac_objext conftest.$ac_ext;
26728fi
26729
26730ac_ext=c
26731ac_cpp='$CPP $CPPFLAGS'
26732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26734ac_compiler_gnu=$ac_cv_c_compiler_gnu
26735
26736
26737
26738
26739if test "$TOOLKIT" != "MSW"; then
26740
26741
26742
26743
26744ac_ext=cc
26745ac_cpp='$CXXCPP $CPPFLAGS'
26746ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26747ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26748ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26749
26750
26751
26752
26753# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26754if test "${with_libiconv_prefix+set}" = set; then
26755 withval="$with_libiconv_prefix"
26756
26757 for dir in `echo "$withval" | tr : ' '`; do
26758 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26759 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26760 done
26761
26762fi;
26763
26764 echo "$as_me:$LINENO: checking for iconv" >&5
26765echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26766if test "${am_cv_func_iconv+set}" = set; then
26767 echo $ECHO_N "(cached) $ECHO_C" >&6
26768else
26769
26770 am_cv_func_iconv="no, consider installing GNU libiconv"
26771 am_cv_lib_iconv=no
26772 cat >conftest.$ac_ext <<_ACEOF
26773#line $LINENO "configure"
26774/* confdefs.h. */
26775_ACEOF
26776cat confdefs.h >>conftest.$ac_ext
26777cat >>conftest.$ac_ext <<_ACEOF
26778/* end confdefs.h. */
26779#include <stdlib.h>
26780#include <iconv.h>
26781int
26782main ()
26783{
26784iconv_t cd = iconv_open("","");
26785 iconv(cd,NULL,NULL,NULL,NULL);
26786 iconv_close(cd);
26787 ;
26788 return 0;
26789}
26790_ACEOF
26791rm -f conftest.$ac_objext conftest$ac_exeext
26792if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26793 (eval $ac_link) 2>&5
26794 ac_status=$?
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } &&
26797 { ac_try='test -s conftest$ac_exeext'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26800 ac_status=$?
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; }; then
26803 am_cv_func_iconv=yes
26804else
26805 echo "$as_me: failed program was:" >&5
26806sed 's/^/| /' conftest.$ac_ext >&5
26807
26808fi
26809rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26810 if test "$am_cv_func_iconv" != yes; then
26811 am_save_LIBS="$LIBS"
26812 LIBS="$LIBS -liconv"
26813 cat >conftest.$ac_ext <<_ACEOF
26814#line $LINENO "configure"
26815/* confdefs.h. */
26816_ACEOF
26817cat confdefs.h >>conftest.$ac_ext
26818cat >>conftest.$ac_ext <<_ACEOF
26819/* end confdefs.h. */
26820#include <stdlib.h>
26821#include <iconv.h>
26822int
26823main ()
26824{
26825iconv_t cd = iconv_open("","");
26826 iconv(cd,NULL,NULL,NULL,NULL);
26827 iconv_close(cd);
26828 ;
26829 return 0;
26830}
26831_ACEOF
26832rm -f conftest.$ac_objext conftest$ac_exeext
26833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26834 (eval $ac_link) 2>&5
26835 ac_status=$?
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try='test -s conftest$ac_exeext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26841 ac_status=$?
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 am_cv_lib_iconv=yes
26845 am_cv_func_iconv=yes
26846else
26847 echo "$as_me: failed program was:" >&5
26848sed 's/^/| /' conftest.$ac_ext >&5
26849
26850fi
26851rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26852 LIBS="$am_save_LIBS"
26853 fi
26854
26855fi
26856echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26857echo "${ECHO_T}$am_cv_func_iconv" >&6
26858 if test "$am_cv_func_iconv" = yes; then
26859
26860cat >>confdefs.h <<\_ACEOF
26861#define HAVE_ICONV 1
26862_ACEOF
26863
26864 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26865echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26866if test "${wx_cv_func_iconv_const+set}" = set; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26868else
26869 cat >conftest.$ac_ext <<_ACEOF
26870#line $LINENO "configure"
26871/* confdefs.h. */
26872_ACEOF
26873cat confdefs.h >>conftest.$ac_ext
26874cat >>conftest.$ac_ext <<_ACEOF
26875/* end confdefs.h. */
26876
26877#include <stdlib.h>
26878#include <iconv.h>
26879extern
26880#ifdef __cplusplus
26881"C"
26882#endif
26883#if defined(__STDC__) || defined(__cplusplus)
26884size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26885#else
26886size_t iconv();
26887#endif
26888
26889int
26890main ()
26891{
26892
26893 ;
26894 return 0;
26895}
26896_ACEOF
26897rm -f conftest.$ac_objext
26898if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26899 (eval $ac_compile) 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try='test -s conftest.$ac_objext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 wx_cv_func_iconv_const="no"
26910else
26911 echo "$as_me: failed program was:" >&5
26912sed 's/^/| /' conftest.$ac_ext >&5
26913
26914wx_cv_func_iconv_const="yes"
26915
26916fi
26917rm -f conftest.$ac_objext conftest.$ac_ext
26918
26919fi
26920echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26921echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26922
26923 iconv_const=
26924 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26925 iconv_const="const"
26926 fi
26927
26928
26929cat >>confdefs.h <<_ACEOF
26930#define ICONV_CONST $iconv_const
26931_ACEOF
26932
26933 fi
26934 LIBICONV=
26935 if test "$am_cv_lib_iconv" = yes; then
26936 LIBICONV="-liconv"
26937 fi
26938
26939
26940LIBS="$LIBICONV $LIBS"
26941ac_ext=c
26942ac_cpp='$CPP $CPPFLAGS'
26943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26945ac_compiler_gnu=$ac_cv_c_compiler_gnu
26946
26947
26948if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26949
26950for ac_func in sigaction
26951do
26952as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26953echo "$as_me:$LINENO: checking for $ac_func" >&5
26954echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26955if eval "test \"\${$as_ac_var+set}\" = set"; then
26956 echo $ECHO_N "(cached) $ECHO_C" >&6
26957else
26958 cat >conftest.$ac_ext <<_ACEOF
26959#line $LINENO "configure"
26960/* confdefs.h. */
26961_ACEOF
26962cat confdefs.h >>conftest.$ac_ext
26963cat >>conftest.$ac_ext <<_ACEOF
26964/* end confdefs.h. */
26965/* System header to define __stub macros and hopefully few prototypes,
26966 which can conflict with char $ac_func (); below.
26967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26968 <limits.h> exists even on freestanding compilers. */
26969#ifdef __STDC__
26970# include <limits.h>
26971#else
26972# include <assert.h>
26973#endif
26974/* Override any gcc2 internal prototype to avoid an error. */
26975#ifdef __cplusplus
26976extern "C"
26977{
26978#endif
26979/* We use char because int might match the return type of a gcc2
26980 builtin and then its argument prototype would still apply. */
26981char $ac_func ();
26982/* The GNU C library defines this for functions which it implements
26983 to always fail with ENOSYS. Some functions are actually named
26984 something starting with __ and the normal name is an alias. */
26985#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26986choke me
26987#else
26988char (*f) () = $ac_func;
26989#endif
26990#ifdef __cplusplus
26991}
26992#endif
26993
26994int
26995main ()
26996{
26997return f != $ac_func;
26998 ;
26999 return 0;
27000}
27001_ACEOF
27002rm -f conftest.$ac_objext conftest$ac_exeext
27003if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27004 (eval $ac_link) 2>&5
27005 ac_status=$?
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } &&
27008 { ac_try='test -s conftest$ac_exeext'
27009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27010 (eval $ac_try) 2>&5
27011 ac_status=$?
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); }; }; then
27014 eval "$as_ac_var=yes"
27015else
27016 echo "$as_me: failed program was:" >&5
27017sed 's/^/| /' conftest.$ac_ext >&5
27018
27019eval "$as_ac_var=no"
27020fi
27021rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27022fi
27023echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27024echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27025if test `eval echo '${'$as_ac_var'}'` = yes; then
27026 cat >>confdefs.h <<_ACEOF
27027#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27028_ACEOF
27029
27030fi
27031done
27032
27033
27034 if test "$ac_cv_func_sigaction" = "no"; then
27035 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27036echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27037 wxUSE_ON_FATAL_EXCEPTION=no
27038 fi
27039
27040 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27041
27042
27043 ac_ext=cc
27044ac_cpp='$CXXCPP $CPPFLAGS'
27045ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27048
27049
27050 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27051echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27052if test "${wx_cv_type_sa_handler+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27054else
27055
27056 cat >conftest.$ac_ext <<_ACEOF
27057#line $LINENO "configure"
27058/* confdefs.h. */
27059_ACEOF
27060cat confdefs.h >>conftest.$ac_ext
27061cat >>conftest.$ac_ext <<_ACEOF
27062/* end confdefs.h. */
27063#include <signal.h>
27064int
27065main ()
27066{
27067
27068 extern void testSigHandler(int);
27069
27070 struct sigaction sa;
27071 sa.sa_handler = testSigHandler;
27072
27073 ;
27074 return 0;
27075}
27076_ACEOF
27077rm -f conftest.$ac_objext
27078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27079 (eval $ac_compile) 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try='test -s conftest.$ac_objext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089
27090 wx_cv_type_sa_handler=int
27091
27092else
27093 echo "$as_me: failed program was:" >&5
27094sed 's/^/| /' conftest.$ac_ext >&5
27095
27096
27097 wx_cv_type_sa_handler=void
27098
27099fi
27100rm -f conftest.$ac_objext conftest.$ac_ext
27101
27102fi
27103echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27104echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27105
27106 ac_ext=c
27107ac_cpp='$CPP $CPPFLAGS'
27108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27110ac_compiler_gnu=$ac_cv_c_compiler_gnu
27111
27112
27113 cat >>confdefs.h <<_ACEOF
27114#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27115_ACEOF
27116
27117 fi
27118fi
27119
27120
27121
27122for ac_func in mkstemp mktemp
27123do
27124as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27125echo "$as_me:$LINENO: checking for $ac_func" >&5
27126echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27127if eval "test \"\${$as_ac_var+set}\" = set"; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27129else
27130 cat >conftest.$ac_ext <<_ACEOF
27131#line $LINENO "configure"
27132/* confdefs.h. */
27133_ACEOF
27134cat confdefs.h >>conftest.$ac_ext
27135cat >>conftest.$ac_ext <<_ACEOF
27136/* end confdefs.h. */
27137/* System header to define __stub macros and hopefully few prototypes,
27138 which can conflict with char $ac_func (); below.
27139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27140 <limits.h> exists even on freestanding compilers. */
27141#ifdef __STDC__
27142# include <limits.h>
27143#else
27144# include <assert.h>
27145#endif
27146/* Override any gcc2 internal prototype to avoid an error. */
27147#ifdef __cplusplus
27148extern "C"
27149{
27150#endif
27151/* We use char because int might match the return type of a gcc2
27152 builtin and then its argument prototype would still apply. */
27153char $ac_func ();
27154/* The GNU C library defines this for functions which it implements
27155 to always fail with ENOSYS. Some functions are actually named
27156 something starting with __ and the normal name is an alias. */
27157#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27158choke me
27159#else
27160char (*f) () = $ac_func;
27161#endif
27162#ifdef __cplusplus
27163}
27164#endif
27165
27166int
27167main ()
27168{
27169return f != $ac_func;
27170 ;
27171 return 0;
27172}
27173_ACEOF
27174rm -f conftest.$ac_objext conftest$ac_exeext
27175if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27176 (eval $ac_link) 2>&5
27177 ac_status=$?
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try='test -s conftest$ac_exeext'
27181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182 (eval $ac_try) 2>&5
27183 ac_status=$?
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); }; }; then
27186 eval "$as_ac_var=yes"
27187else
27188 echo "$as_me: failed program was:" >&5
27189sed 's/^/| /' conftest.$ac_ext >&5
27190
27191eval "$as_ac_var=no"
27192fi
27193rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27194fi
27195echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27196echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27197if test `eval echo '${'$as_ac_var'}'` = yes; then
27198 cat >>confdefs.h <<_ACEOF
27199#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27200_ACEOF
27201 break
27202fi
27203done
27204
27205
27206echo "$as_me:$LINENO: checking for statfs" >&5
27207echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27208if test "${wx_cv_func_statfs+set}" = set; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27210else
27211 cat >conftest.$ac_ext <<_ACEOF
27212#line $LINENO "configure"
27213/* confdefs.h. */
27214_ACEOF
27215cat confdefs.h >>conftest.$ac_ext
27216cat >>conftest.$ac_ext <<_ACEOF
27217/* end confdefs.h. */
27218
27219 #if defined(__BSD__)
27220 #include <sys/param.h>
27221 #include <sys/mount.h>
27222 #else
27223 #include <sys/vfs.h>
27224 #endif
27225
27226int
27227main ()
27228{
27229
27230 long l;
27231 struct statfs fs;
27232 statfs("/", &fs);
27233 l = fs.f_bsize;
27234 l += fs.f_blocks;
27235 l += fs.f_bavail;
27236
27237 ;
27238 return 0;
27239}
27240_ACEOF
27241rm -f conftest.$ac_objext
27242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27243 (eval $ac_compile) 2>&5
27244 ac_status=$?
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } &&
27247 { ac_try='test -s conftest.$ac_objext'
27248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27249 (eval $ac_try) 2>&5
27250 ac_status=$?
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); }; }; then
27253
27254 wx_cv_func_statfs=yes
27255
27256else
27257 echo "$as_me: failed program was:" >&5
27258sed 's/^/| /' conftest.$ac_ext >&5
27259
27260
27261 wx_cv_func_statfs=no
27262
27263
27264fi
27265rm -f conftest.$ac_objext conftest.$ac_ext
27266
27267fi
27268echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27269echo "${ECHO_T}$wx_cv_func_statfs" >&6
27270
27271if test "$wx_cv_func_statfs" = "yes"; then
27272 wx_cv_type_statvfs_t="struct statfs"
27273 cat >>confdefs.h <<\_ACEOF
27274#define HAVE_STATFS 1
27275_ACEOF
27276
27277else
27278 echo "$as_me:$LINENO: checking for statvfs" >&5
27279echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27280if test "${wx_cv_func_statvfs+set}" = set; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27282else
27283 cat >conftest.$ac_ext <<_ACEOF
27284#line $LINENO "configure"
27285/* confdefs.h. */
27286_ACEOF
27287cat confdefs.h >>conftest.$ac_ext
27288cat >>conftest.$ac_ext <<_ACEOF
27289/* end confdefs.h. */
27290
27291 #include <stddef.h>
27292 #include <sys/statvfs.h>
27293
27294int
27295main ()
27296{
27297
27298 statvfs("/", NULL);
27299
27300 ;
27301 return 0;
27302}
27303_ACEOF
27304rm -f conftest.$ac_objext
27305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27306 (eval $ac_compile) 2>&5
27307 ac_status=$?
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } &&
27310 { ac_try='test -s conftest.$ac_objext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27313 ac_status=$?
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 wx_cv_func_statvfs=yes
27317else
27318 echo "$as_me: failed program was:" >&5
27319sed 's/^/| /' conftest.$ac_ext >&5
27320
27321wx_cv_func_statvfs=no
27322
27323fi
27324rm -f conftest.$ac_objext conftest.$ac_ext
27325
27326fi
27327echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27328echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27329
27330 if test "$wx_cv_func_statvfs" = "yes"; then
27331
27332
27333 ac_ext=cc
27334ac_cpp='$CXXCPP $CPPFLAGS'
27335ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27336ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27337ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27338
27339
27340 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27341echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27342if test "${wx_cv_type_statvfs_t+set}" = set; then
27343 echo $ECHO_N "(cached) $ECHO_C" >&6
27344else
27345 cat >conftest.$ac_ext <<_ACEOF
27346#line $LINENO "configure"
27347/* confdefs.h. */
27348_ACEOF
27349cat confdefs.h >>conftest.$ac_ext
27350cat >>conftest.$ac_ext <<_ACEOF
27351/* end confdefs.h. */
27352
27353 #include <sys/statvfs.h>
27354
27355int
27356main ()
27357{
27358
27359 long l;
27360 statvfs_t fs;
27361 statvfs("/", &fs);
27362 l = fs.f_bsize;
27363 l += fs.f_blocks;
27364 l += fs.f_bavail;
27365
27366 ;
27367 return 0;
27368}
27369_ACEOF
27370rm -f conftest.$ac_objext
27371if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27372 (eval $ac_compile) 2>&5
27373 ac_status=$?
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } &&
27376 { ac_try='test -s conftest.$ac_objext'
27377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27378 (eval $ac_try) 2>&5
27379 ac_status=$?
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); }; }; then
27382 wx_cv_type_statvfs_t=statvfs_t
27383else
27384 echo "$as_me: failed program was:" >&5
27385sed 's/^/| /' conftest.$ac_ext >&5
27386
27387
27388 cat >conftest.$ac_ext <<_ACEOF
27389#line $LINENO "configure"
27390/* confdefs.h. */
27391_ACEOF
27392cat confdefs.h >>conftest.$ac_ext
27393cat >>conftest.$ac_ext <<_ACEOF
27394/* end confdefs.h. */
27395
27396 #include <sys/statvfs.h>
27397
27398int
27399main ()
27400{
27401
27402 long l;
27403 struct statvfs fs;
27404 statvfs("/", &fs);
27405 l = fs.f_bsize;
27406 l += fs.f_blocks;
27407 l += fs.f_bavail;
27408
27409 ;
27410 return 0;
27411}
27412_ACEOF
27413rm -f conftest.$ac_objext
27414if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27415 (eval $ac_compile) 2>&5
27416 ac_status=$?
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); } &&
27419 { ac_try='test -s conftest.$ac_objext'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; }; then
27425 wx_cv_type_statvfs_t="struct statvfs"
27426else
27427 echo "$as_me: failed program was:" >&5
27428sed 's/^/| /' conftest.$ac_ext >&5
27429
27430wx_cv_type_statvfs_t="unknown"
27431
27432fi
27433rm -f conftest.$ac_objext conftest.$ac_ext
27434
27435
27436fi
27437rm -f conftest.$ac_objext conftest.$ac_ext
27438
27439fi
27440echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27441echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27442
27443 ac_ext=c
27444ac_cpp='$CPP $CPPFLAGS'
27445ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27446ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27447ac_compiler_gnu=$ac_cv_c_compiler_gnu
27448
27449
27450 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27451 cat >>confdefs.h <<\_ACEOF
27452#define HAVE_STATVFS 1
27453_ACEOF
27454
27455 fi
27456 else
27457 wx_cv_type_statvfs_t="unknown"
27458 fi
27459fi
27460
27461if test "$wx_cv_type_statvfs_t" != "unknown"; then
27462 cat >>confdefs.h <<_ACEOF
27463#define WX_STATFS_T $wx_cv_type_statvfs_t
27464_ACEOF
27465
27466else
27467 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27468echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27469fi
27470
27471if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27472
27473
27474for ac_func in fcntl flock
27475do
27476as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27477echo "$as_me:$LINENO: checking for $ac_func" >&5
27478echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27479if eval "test \"\${$as_ac_var+set}\" = set"; then
27480 echo $ECHO_N "(cached) $ECHO_C" >&6
27481else
27482 cat >conftest.$ac_ext <<_ACEOF
27483#line $LINENO "configure"
27484/* confdefs.h. */
27485_ACEOF
27486cat confdefs.h >>conftest.$ac_ext
27487cat >>conftest.$ac_ext <<_ACEOF
27488/* end confdefs.h. */
27489/* System header to define __stub macros and hopefully few prototypes,
27490 which can conflict with char $ac_func (); below.
27491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27492 <limits.h> exists even on freestanding compilers. */
27493#ifdef __STDC__
27494# include <limits.h>
27495#else
27496# include <assert.h>
27497#endif
27498/* Override any gcc2 internal prototype to avoid an error. */
27499#ifdef __cplusplus
27500extern "C"
27501{
27502#endif
27503/* We use char because int might match the return type of a gcc2
27504 builtin and then its argument prototype would still apply. */
27505char $ac_func ();
27506/* The GNU C library defines this for functions which it implements
27507 to always fail with ENOSYS. Some functions are actually named
27508 something starting with __ and the normal name is an alias. */
27509#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27510choke me
27511#else
27512char (*f) () = $ac_func;
27513#endif
27514#ifdef __cplusplus
27515}
27516#endif
27517
27518int
27519main ()
27520{
27521return f != $ac_func;
27522 ;
27523 return 0;
27524}
27525_ACEOF
27526rm -f conftest.$ac_objext conftest$ac_exeext
27527if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27528 (eval $ac_link) 2>&5
27529 ac_status=$?
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); } &&
27532 { ac_try='test -s conftest$ac_exeext'
27533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27534 (eval $ac_try) 2>&5
27535 ac_status=$?
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; }; then
27538 eval "$as_ac_var=yes"
27539else
27540 echo "$as_me: failed program was:" >&5
27541sed 's/^/| /' conftest.$ac_ext >&5
27542
27543eval "$as_ac_var=no"
27544fi
27545rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27546fi
27547echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27548echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27549if test `eval echo '${'$as_ac_var'}'` = yes; then
27550 cat >>confdefs.h <<_ACEOF
27551#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27552_ACEOF
27553 break
27554fi
27555done
27556
27557
27558 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27559 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27560echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27561 wxUSE_SNGLINST_CHECKER=no
27562 fi
27563fi
27564
27565
27566for ac_func in timegm
27567do
27568as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27569echo "$as_me:$LINENO: checking for $ac_func" >&5
27570echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27571if eval "test \"\${$as_ac_var+set}\" = set"; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27573else
27574 cat >conftest.$ac_ext <<_ACEOF
27575#line $LINENO "configure"
27576/* confdefs.h. */
27577_ACEOF
27578cat confdefs.h >>conftest.$ac_ext
27579cat >>conftest.$ac_ext <<_ACEOF
27580/* end confdefs.h. */
27581/* System header to define __stub macros and hopefully few prototypes,
27582 which can conflict with char $ac_func (); below.
27583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27584 <limits.h> exists even on freestanding compilers. */
27585#ifdef __STDC__
27586# include <limits.h>
27587#else
27588# include <assert.h>
27589#endif
27590/* Override any gcc2 internal prototype to avoid an error. */
27591#ifdef __cplusplus
27592extern "C"
27593{
27594#endif
27595/* We use char because int might match the return type of a gcc2
27596 builtin and then its argument prototype would still apply. */
27597char $ac_func ();
27598/* The GNU C library defines this for functions which it implements
27599 to always fail with ENOSYS. Some functions are actually named
27600 something starting with __ and the normal name is an alias. */
27601#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27602choke me
27603#else
27604char (*f) () = $ac_func;
27605#endif
27606#ifdef __cplusplus
27607}
27608#endif
27609
27610int
27611main ()
27612{
27613return f != $ac_func;
27614 ;
27615 return 0;
27616}
27617_ACEOF
27618rm -f conftest.$ac_objext conftest$ac_exeext
27619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27620 (eval $ac_link) 2>&5
27621 ac_status=$?
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } &&
27624 { ac_try='test -s conftest$ac_exeext'
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27627 ac_status=$?
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; }; then
27630 eval "$as_ac_var=yes"
27631else
27632 echo "$as_me: failed program was:" >&5
27633sed 's/^/| /' conftest.$ac_ext >&5
27634
27635eval "$as_ac_var=no"
27636fi
27637rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27638fi
27639echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27640echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27641if test `eval echo '${'$as_ac_var'}'` = yes; then
27642 cat >>confdefs.h <<_ACEOF
27643#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27644_ACEOF
27645
27646fi
27647done
27648
27649
27650
27651
27652for ac_func in putenv setenv
27653do
27654as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27655echo "$as_me:$LINENO: checking for $ac_func" >&5
27656echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27657if eval "test \"\${$as_ac_var+set}\" = set"; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27659else
27660 cat >conftest.$ac_ext <<_ACEOF
27661#line $LINENO "configure"
27662/* confdefs.h. */
27663_ACEOF
27664cat confdefs.h >>conftest.$ac_ext
27665cat >>conftest.$ac_ext <<_ACEOF
27666/* end confdefs.h. */
27667/* System header to define __stub macros and hopefully few prototypes,
27668 which can conflict with char $ac_func (); below.
27669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27670 <limits.h> exists even on freestanding compilers. */
27671#ifdef __STDC__
27672# include <limits.h>
27673#else
27674# include <assert.h>
27675#endif
27676/* Override any gcc2 internal prototype to avoid an error. */
27677#ifdef __cplusplus
27678extern "C"
27679{
27680#endif
27681/* We use char because int might match the return type of a gcc2
27682 builtin and then its argument prototype would still apply. */
27683char $ac_func ();
27684/* The GNU C library defines this for functions which it implements
27685 to always fail with ENOSYS. Some functions are actually named
27686 something starting with __ and the normal name is an alias. */
27687#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27688choke me
27689#else
27690char (*f) () = $ac_func;
27691#endif
27692#ifdef __cplusplus
27693}
27694#endif
27695
27696int
27697main ()
27698{
27699return f != $ac_func;
27700 ;
27701 return 0;
27702}
27703_ACEOF
27704rm -f conftest.$ac_objext conftest$ac_exeext
27705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27706 (eval $ac_link) 2>&5
27707 ac_status=$?
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try='test -s conftest$ac_exeext'
27711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27712 (eval $ac_try) 2>&5
27713 ac_status=$?
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); }; }; then
27716 eval "$as_ac_var=yes"
27717else
27718 echo "$as_me: failed program was:" >&5
27719sed 's/^/| /' conftest.$ac_ext >&5
27720
27721eval "$as_ac_var=no"
27722fi
27723rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27724fi
27725echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27726echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27727if test `eval echo '${'$as_ac_var'}'` = yes; then
27728 cat >>confdefs.h <<_ACEOF
27729#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27730_ACEOF
27731 break
27732fi
27733done
27734
27735
27736HAVE_SOME_SLEEP_FUNC=0
27737if test "$USE_BEOS" = 1; then
27738 cat >>confdefs.h <<\_ACEOF
27739#define HAVE_SLEEP 1
27740_ACEOF
27741
27742 HAVE_SOME_SLEEP_FUNC=1
27743fi
27744
27745if test "$USE_DARWIN" = 1; then
27746 cat >>confdefs.h <<\_ACEOF
27747#define HAVE_USLEEP 1
27748_ACEOF
27749
27750 HAVE_SOME_SLEEP_FUNC=1
27751fi
27752
27753if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27754 POSIX4_LINK=
27755
27756for ac_func in nanosleep
27757do
27758as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27759echo "$as_me:$LINENO: checking for $ac_func" >&5
27760echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27761if eval "test \"\${$as_ac_var+set}\" = set"; then
27762 echo $ECHO_N "(cached) $ECHO_C" >&6
27763else
27764 cat >conftest.$ac_ext <<_ACEOF
27765#line $LINENO "configure"
27766/* confdefs.h. */
27767_ACEOF
27768cat confdefs.h >>conftest.$ac_ext
27769cat >>conftest.$ac_ext <<_ACEOF
27770/* end confdefs.h. */
27771/* System header to define __stub macros and hopefully few prototypes,
27772 which can conflict with char $ac_func (); below.
27773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27774 <limits.h> exists even on freestanding compilers. */
27775#ifdef __STDC__
27776# include <limits.h>
27777#else
27778# include <assert.h>
27779#endif
27780/* Override any gcc2 internal prototype to avoid an error. */
27781#ifdef __cplusplus
27782extern "C"
27783{
27784#endif
27785/* We use char because int might match the return type of a gcc2
27786 builtin and then its argument prototype would still apply. */
27787char $ac_func ();
27788/* The GNU C library defines this for functions which it implements
27789 to always fail with ENOSYS. Some functions are actually named
27790 something starting with __ and the normal name is an alias. */
27791#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27792choke me
27793#else
27794char (*f) () = $ac_func;
27795#endif
27796#ifdef __cplusplus
27797}
27798#endif
27799
27800int
27801main ()
27802{
27803return f != $ac_func;
27804 ;
27805 return 0;
27806}
27807_ACEOF
27808rm -f conftest.$ac_objext conftest$ac_exeext
27809if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27810 (eval $ac_link) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try='test -s conftest$ac_exeext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27817 ac_status=$?
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 eval "$as_ac_var=yes"
27821else
27822 echo "$as_me: failed program was:" >&5
27823sed 's/^/| /' conftest.$ac_ext >&5
27824
27825eval "$as_ac_var=no"
27826fi
27827rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27828fi
27829echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27830echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27831if test `eval echo '${'$as_ac_var'}'` = yes; then
27832 cat >>confdefs.h <<_ACEOF
27833#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27834_ACEOF
27835 cat >>confdefs.h <<\_ACEOF
27836#define HAVE_NANOSLEEP 1
27837_ACEOF
27838
27839else
27840
27841 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27842echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27843if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27845else
27846 ac_check_lib_save_LIBS=$LIBS
27847LIBS="-lposix4 $LIBS"
27848cat >conftest.$ac_ext <<_ACEOF
27849#line $LINENO "configure"
27850/* confdefs.h. */
27851_ACEOF
27852cat confdefs.h >>conftest.$ac_ext
27853cat >>conftest.$ac_ext <<_ACEOF
27854/* end confdefs.h. */
27855
27856/* Override any gcc2 internal prototype to avoid an error. */
27857#ifdef __cplusplus
27858extern "C"
27859#endif
27860/* We use char because int might match the return type of a gcc2
27861 builtin and then its argument prototype would still apply. */
27862char nanosleep ();
27863int
27864main ()
27865{
27866nanosleep ();
27867 ;
27868 return 0;
27869}
27870_ACEOF
27871rm -f conftest.$ac_objext conftest$ac_exeext
27872if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27873 (eval $ac_link) 2>&5
27874 ac_status=$?
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try='test -s conftest$ac_exeext'
27878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879 (eval $ac_try) 2>&5
27880 ac_status=$?
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; }; then
27883 ac_cv_lib_posix4_nanosleep=yes
27884else
27885 echo "$as_me: failed program was:" >&5
27886sed 's/^/| /' conftest.$ac_ext >&5
27887
27888ac_cv_lib_posix4_nanosleep=no
27889fi
27890rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27891LIBS=$ac_check_lib_save_LIBS
27892fi
27893echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27894echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27895if test $ac_cv_lib_posix4_nanosleep = yes; then
27896
27897 cat >>confdefs.h <<\_ACEOF
27898#define HAVE_NANOSLEEP 1
27899_ACEOF
27900
27901 POSIX4_LINK=" -lposix4"
27902
27903else
27904
27905
27906for ac_func in usleep
27907do
27908as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27909echo "$as_me:$LINENO: checking for $ac_func" >&5
27910echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27911if eval "test \"\${$as_ac_var+set}\" = set"; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27913else
27914 cat >conftest.$ac_ext <<_ACEOF
27915#line $LINENO "configure"
27916/* confdefs.h. */
27917_ACEOF
27918cat confdefs.h >>conftest.$ac_ext
27919cat >>conftest.$ac_ext <<_ACEOF
27920/* end confdefs.h. */
27921/* System header to define __stub macros and hopefully few prototypes,
27922 which can conflict with char $ac_func (); below.
27923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27924 <limits.h> exists even on freestanding compilers. */
27925#ifdef __STDC__
27926# include <limits.h>
27927#else
27928# include <assert.h>
27929#endif
27930/* Override any gcc2 internal prototype to avoid an error. */
27931#ifdef __cplusplus
27932extern "C"
27933{
27934#endif
27935/* We use char because int might match the return type of a gcc2
27936 builtin and then its argument prototype would still apply. */
27937char $ac_func ();
27938/* The GNU C library defines this for functions which it implements
27939 to always fail with ENOSYS. Some functions are actually named
27940 something starting with __ and the normal name is an alias. */
27941#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27942choke me
27943#else
27944char (*f) () = $ac_func;
27945#endif
27946#ifdef __cplusplus
27947}
27948#endif
27949
27950int
27951main ()
27952{
27953return f != $ac_func;
27954 ;
27955 return 0;
27956}
27957_ACEOF
27958rm -f conftest.$ac_objext conftest$ac_exeext
27959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27960 (eval $ac_link) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } &&
27964 { ac_try='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 eval "$as_ac_var=yes"
27971else
27972 echo "$as_me: failed program was:" >&5
27973sed 's/^/| /' conftest.$ac_ext >&5
27974
27975eval "$as_ac_var=no"
27976fi
27977rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27978fi
27979echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27980echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27981if test `eval echo '${'$as_ac_var'}'` = yes; then
27982 cat >>confdefs.h <<_ACEOF
27983#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27984_ACEOF
27985 cat >>confdefs.h <<\_ACEOF
27986#define HAVE_USLEEP 1
27987_ACEOF
27988
27989else
27990 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27991echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27992
27993fi
27994done
27995
27996
27997
27998fi
27999
28000
28001
28002fi
28003done
28004
28005fi
28006
28007
28008
28009for ac_func in uname gethostname
28010do
28011as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28012echo "$as_me:$LINENO: checking for $ac_func" >&5
28013echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28014if eval "test \"\${$as_ac_var+set}\" = set"; then
28015 echo $ECHO_N "(cached) $ECHO_C" >&6
28016else
28017 cat >conftest.$ac_ext <<_ACEOF
28018#line $LINENO "configure"
28019/* confdefs.h. */
28020_ACEOF
28021cat confdefs.h >>conftest.$ac_ext
28022cat >>conftest.$ac_ext <<_ACEOF
28023/* end confdefs.h. */
28024/* System header to define __stub macros and hopefully few prototypes,
28025 which can conflict with char $ac_func (); below.
28026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28027 <limits.h> exists even on freestanding compilers. */
28028#ifdef __STDC__
28029# include <limits.h>
28030#else
28031# include <assert.h>
28032#endif
28033/* Override any gcc2 internal prototype to avoid an error. */
28034#ifdef __cplusplus
28035extern "C"
28036{
28037#endif
28038/* We use char because int might match the return type of a gcc2
28039 builtin and then its argument prototype would still apply. */
28040char $ac_func ();
28041/* The GNU C library defines this for functions which it implements
28042 to always fail with ENOSYS. Some functions are actually named
28043 something starting with __ and the normal name is an alias. */
28044#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28045choke me
28046#else
28047char (*f) () = $ac_func;
28048#endif
28049#ifdef __cplusplus
28050}
28051#endif
28052
28053int
28054main ()
28055{
28056return f != $ac_func;
28057 ;
28058 return 0;
28059}
28060_ACEOF
28061rm -f conftest.$ac_objext conftest$ac_exeext
28062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28063 (eval $ac_link) 2>&5
28064 ac_status=$?
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try='test -s conftest$ac_exeext'
28068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28069 (eval $ac_try) 2>&5
28070 ac_status=$?
28071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28072 (exit $ac_status); }; }; then
28073 eval "$as_ac_var=yes"
28074else
28075 echo "$as_me: failed program was:" >&5
28076sed 's/^/| /' conftest.$ac_ext >&5
28077
28078eval "$as_ac_var=no"
28079fi
28080rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28081fi
28082echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28083echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28084if test `eval echo '${'$as_ac_var'}'` = yes; then
28085 cat >>confdefs.h <<_ACEOF
28086#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28087_ACEOF
28088 break
28089fi
28090done
28091
28092
28093
28094
28095ac_ext=cc
28096ac_cpp='$CXXCPP $CPPFLAGS'
28097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28100
28101
28102
28103for ac_func in strtok_r
28104do
28105as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28106echo "$as_me:$LINENO: checking for $ac_func" >&5
28107echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28108if eval "test \"\${$as_ac_var+set}\" = set"; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110else
28111 cat >conftest.$ac_ext <<_ACEOF
28112#line $LINENO "configure"
28113/* confdefs.h. */
28114_ACEOF
28115cat confdefs.h >>conftest.$ac_ext
28116cat >>conftest.$ac_ext <<_ACEOF
28117/* end confdefs.h. */
28118/* System header to define __stub macros and hopefully few prototypes,
28119 which can conflict with char $ac_func (); below.
28120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28121 <limits.h> exists even on freestanding compilers. */
28122#ifdef __STDC__
28123# include <limits.h>
28124#else
28125# include <assert.h>
28126#endif
28127/* Override any gcc2 internal prototype to avoid an error. */
28128#ifdef __cplusplus
28129extern "C"
28130{
28131#endif
28132/* We use char because int might match the return type of a gcc2
28133 builtin and then its argument prototype would still apply. */
28134char $ac_func ();
28135/* The GNU C library defines this for functions which it implements
28136 to always fail with ENOSYS. Some functions are actually named
28137 something starting with __ and the normal name is an alias. */
28138#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28139choke me
28140#else
28141char (*f) () = $ac_func;
28142#endif
28143#ifdef __cplusplus
28144}
28145#endif
28146
28147int
28148main ()
28149{
28150return f != $ac_func;
28151 ;
28152 return 0;
28153}
28154_ACEOF
28155rm -f conftest.$ac_objext conftest$ac_exeext
28156if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28157 (eval $ac_link) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -s conftest$ac_exeext'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28164 ac_status=$?
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; }; then
28167 eval "$as_ac_var=yes"
28168else
28169 echo "$as_me: failed program was:" >&5
28170sed 's/^/| /' conftest.$ac_ext >&5
28171
28172eval "$as_ac_var=no"
28173fi
28174rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28175fi
28176echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28177echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28178if test `eval echo '${'$as_ac_var'}'` = yes; then
28179 cat >>confdefs.h <<_ACEOF
28180#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28181_ACEOF
28182
28183fi
28184done
28185
28186
28187ac_ext=c
28188ac_cpp='$CPP $CPPFLAGS'
28189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191ac_compiler_gnu=$ac_cv_c_compiler_gnu
28192
28193
28194INET_LINK=
28195
28196for ac_func in inet_addr
28197do
28198as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28199echo "$as_me:$LINENO: checking for $ac_func" >&5
28200echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28201if eval "test \"\${$as_ac_var+set}\" = set"; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28203else
28204 cat >conftest.$ac_ext <<_ACEOF
28205#line $LINENO "configure"
28206/* confdefs.h. */
28207_ACEOF
28208cat confdefs.h >>conftest.$ac_ext
28209cat >>conftest.$ac_ext <<_ACEOF
28210/* end confdefs.h. */
28211/* System header to define __stub macros and hopefully few prototypes,
28212 which can conflict with char $ac_func (); below.
28213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28214 <limits.h> exists even on freestanding compilers. */
28215#ifdef __STDC__
28216# include <limits.h>
28217#else
28218# include <assert.h>
28219#endif
28220/* Override any gcc2 internal prototype to avoid an error. */
28221#ifdef __cplusplus
28222extern "C"
28223{
28224#endif
28225/* We use char because int might match the return type of a gcc2
28226 builtin and then its argument prototype would still apply. */
28227char $ac_func ();
28228/* The GNU C library defines this for functions which it implements
28229 to always fail with ENOSYS. Some functions are actually named
28230 something starting with __ and the normal name is an alias. */
28231#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28232choke me
28233#else
28234char (*f) () = $ac_func;
28235#endif
28236#ifdef __cplusplus
28237}
28238#endif
28239
28240int
28241main ()
28242{
28243return f != $ac_func;
28244 ;
28245 return 0;
28246}
28247_ACEOF
28248rm -f conftest.$ac_objext conftest$ac_exeext
28249if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28250 (eval $ac_link) 2>&5
28251 ac_status=$?
28252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253 (exit $ac_status); } &&
28254 { ac_try='test -s conftest$ac_exeext'
28255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28256 (eval $ac_try) 2>&5
28257 ac_status=$?
28258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28259 (exit $ac_status); }; }; then
28260 eval "$as_ac_var=yes"
28261else
28262 echo "$as_me: failed program was:" >&5
28263sed 's/^/| /' conftest.$ac_ext >&5
28264
28265eval "$as_ac_var=no"
28266fi
28267rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28268fi
28269echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28270echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28271if test `eval echo '${'$as_ac_var'}'` = yes; then
28272 cat >>confdefs.h <<_ACEOF
28273#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28274_ACEOF
28275 cat >>confdefs.h <<\_ACEOF
28276#define HAVE_INET_ADDR 1
28277_ACEOF
28278
28279else
28280
28281 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28282echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28283if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28285else
28286 ac_check_lib_save_LIBS=$LIBS
28287LIBS="-lnsl $LIBS"
28288cat >conftest.$ac_ext <<_ACEOF
28289#line $LINENO "configure"
28290/* confdefs.h. */
28291_ACEOF
28292cat confdefs.h >>conftest.$ac_ext
28293cat >>conftest.$ac_ext <<_ACEOF
28294/* end confdefs.h. */
28295
28296/* Override any gcc2 internal prototype to avoid an error. */
28297#ifdef __cplusplus
28298extern "C"
28299#endif
28300/* We use char because int might match the return type of a gcc2
28301 builtin and then its argument prototype would still apply. */
28302char inet_addr ();
28303int
28304main ()
28305{
28306inet_addr ();
28307 ;
28308 return 0;
28309}
28310_ACEOF
28311rm -f conftest.$ac_objext conftest$ac_exeext
28312if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>&5
28314 ac_status=$?
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } &&
28317 { ac_try='test -s conftest$ac_exeext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28320 ac_status=$?
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 ac_cv_lib_nsl_inet_addr=yes
28324else
28325 echo "$as_me: failed program was:" >&5
28326sed 's/^/| /' conftest.$ac_ext >&5
28327
28328ac_cv_lib_nsl_inet_addr=no
28329fi
28330rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28331LIBS=$ac_check_lib_save_LIBS
28332fi
28333echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28334echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28335if test $ac_cv_lib_nsl_inet_addr = yes; then
28336 INET_LINK="nsl"
28337else
28338 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28339echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28340if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28341 echo $ECHO_N "(cached) $ECHO_C" >&6
28342else
28343 ac_check_lib_save_LIBS=$LIBS
28344LIBS="-lresolv $LIBS"
28345cat >conftest.$ac_ext <<_ACEOF
28346#line $LINENO "configure"
28347/* confdefs.h. */
28348_ACEOF
28349cat confdefs.h >>conftest.$ac_ext
28350cat >>conftest.$ac_ext <<_ACEOF
28351/* end confdefs.h. */
28352
28353/* Override any gcc2 internal prototype to avoid an error. */
28354#ifdef __cplusplus
28355extern "C"
28356#endif
28357/* We use char because int might match the return type of a gcc2
28358 builtin and then its argument prototype would still apply. */
28359char inet_addr ();
28360int
28361main ()
28362{
28363inet_addr ();
28364 ;
28365 return 0;
28366}
28367_ACEOF
28368rm -f conftest.$ac_objext conftest$ac_exeext
28369if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28370 (eval $ac_link) 2>&5
28371 ac_status=$?
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } &&
28374 { ac_try='test -s conftest$ac_exeext'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28377 ac_status=$?
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; }; then
28380 ac_cv_lib_resolv_inet_addr=yes
28381else
28382 echo "$as_me: failed program was:" >&5
28383sed 's/^/| /' conftest.$ac_ext >&5
28384
28385ac_cv_lib_resolv_inet_addr=no
28386fi
28387rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28388LIBS=$ac_check_lib_save_LIBS
28389fi
28390echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28391echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28392if test $ac_cv_lib_resolv_inet_addr = yes; then
28393 INET_LINK="resolv"
28394else
28395 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28396echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28397if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28398 echo $ECHO_N "(cached) $ECHO_C" >&6
28399else
28400 ac_check_lib_save_LIBS=$LIBS
28401LIBS="-lsocket $LIBS"
28402cat >conftest.$ac_ext <<_ACEOF
28403#line $LINENO "configure"
28404/* confdefs.h. */
28405_ACEOF
28406cat confdefs.h >>conftest.$ac_ext
28407cat >>conftest.$ac_ext <<_ACEOF
28408/* end confdefs.h. */
28409
28410/* Override any gcc2 internal prototype to avoid an error. */
28411#ifdef __cplusplus
28412extern "C"
28413#endif
28414/* We use char because int might match the return type of a gcc2
28415 builtin and then its argument prototype would still apply. */
28416char inet_addr ();
28417int
28418main ()
28419{
28420inet_addr ();
28421 ;
28422 return 0;
28423}
28424_ACEOF
28425rm -f conftest.$ac_objext conftest$ac_exeext
28426if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28427 (eval $ac_link) 2>&5
28428 ac_status=$?
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } &&
28431 { ac_try='test -s conftest$ac_exeext'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28434 ac_status=$?
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 ac_cv_lib_socket_inet_addr=yes
28438else
28439 echo "$as_me: failed program was:" >&5
28440sed 's/^/| /' conftest.$ac_ext >&5
28441
28442ac_cv_lib_socket_inet_addr=no
28443fi
28444rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28445LIBS=$ac_check_lib_save_LIBS
28446fi
28447echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28448echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28449if test $ac_cv_lib_socket_inet_addr = yes; then
28450 INET_LINK="socket"
28451
28452fi
28453
28454
28455fi
28456
28457
28458fi
28459
28460
28461
28462fi
28463done
28464
28465
28466
28467for ac_func in inet_aton
28468do
28469as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28470echo "$as_me:$LINENO: checking for $ac_func" >&5
28471echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28472if eval "test \"\${$as_ac_var+set}\" = set"; then
28473 echo $ECHO_N "(cached) $ECHO_C" >&6
28474else
28475 cat >conftest.$ac_ext <<_ACEOF
28476#line $LINENO "configure"
28477/* confdefs.h. */
28478_ACEOF
28479cat confdefs.h >>conftest.$ac_ext
28480cat >>conftest.$ac_ext <<_ACEOF
28481/* end confdefs.h. */
28482/* System header to define __stub macros and hopefully few prototypes,
28483 which can conflict with char $ac_func (); below.
28484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28485 <limits.h> exists even on freestanding compilers. */
28486#ifdef __STDC__
28487# include <limits.h>
28488#else
28489# include <assert.h>
28490#endif
28491/* Override any gcc2 internal prototype to avoid an error. */
28492#ifdef __cplusplus
28493extern "C"
28494{
28495#endif
28496/* We use char because int might match the return type of a gcc2
28497 builtin and then its argument prototype would still apply. */
28498char $ac_func ();
28499/* The GNU C library defines this for functions which it implements
28500 to always fail with ENOSYS. Some functions are actually named
28501 something starting with __ and the normal name is an alias. */
28502#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28503choke me
28504#else
28505char (*f) () = $ac_func;
28506#endif
28507#ifdef __cplusplus
28508}
28509#endif
28510
28511int
28512main ()
28513{
28514return f != $ac_func;
28515 ;
28516 return 0;
28517}
28518_ACEOF
28519rm -f conftest.$ac_objext conftest$ac_exeext
28520if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28521 (eval $ac_link) 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } &&
28525 { ac_try='test -s conftest$ac_exeext'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28528 ac_status=$?
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 eval "$as_ac_var=yes"
28532else
28533 echo "$as_me: failed program was:" >&5
28534sed 's/^/| /' conftest.$ac_ext >&5
28535
28536eval "$as_ac_var=no"
28537fi
28538rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28539fi
28540echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28541echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28542if test `eval echo '${'$as_ac_var'}'` = yes; then
28543 cat >>confdefs.h <<_ACEOF
28544#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28545_ACEOF
28546 cat >>confdefs.h <<\_ACEOF
28547#define HAVE_INET_ATON 1
28548_ACEOF
28549
28550else
28551
28552 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28553echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28554echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28555if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28556 echo $ECHO_N "(cached) $ECHO_C" >&6
28557else
28558 ac_check_lib_save_LIBS=$LIBS
28559LIBS="-l$INET_LINK $LIBS"
28560cat >conftest.$ac_ext <<_ACEOF
28561#line $LINENO "configure"
28562/* confdefs.h. */
28563_ACEOF
28564cat confdefs.h >>conftest.$ac_ext
28565cat >>conftest.$ac_ext <<_ACEOF
28566/* end confdefs.h. */
28567
28568/* Override any gcc2 internal prototype to avoid an error. */
28569#ifdef __cplusplus
28570extern "C"
28571#endif
28572/* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28574char inet_aton ();
28575int
28576main ()
28577{
28578inet_aton ();
28579 ;
28580 return 0;
28581}
28582_ACEOF
28583rm -f conftest.$ac_objext conftest$ac_exeext
28584if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28585 (eval $ac_link) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try='test -s conftest$ac_exeext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 eval "$as_ac_Lib=yes"
28596else
28597 echo "$as_me: failed program was:" >&5
28598sed 's/^/| /' conftest.$ac_ext >&5
28599
28600eval "$as_ac_Lib=no"
28601fi
28602rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28603LIBS=$ac_check_lib_save_LIBS
28604fi
28605echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28606echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28607if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28608 cat >>confdefs.h <<\_ACEOF
28609#define HAVE_INET_ATON 1
28610_ACEOF
28611
28612fi
28613
28614
28615fi
28616done
28617
28618
28619if test "x$INET_LINK" != "x"; then
28620 cat >>confdefs.h <<\_ACEOF
28621#define HAVE_INET_ADDR 1
28622_ACEOF
28623
28624 INET_LINK=" -l$INET_LINK"
28625fi
28626
28627fi
28628
28629
28630
28631ESD_LINK=
28632if test "${ac_cv_header_esd_h+set}" = set; then
28633 echo "$as_me:$LINENO: checking for esd.h" >&5
28634echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28635if test "${ac_cv_header_esd_h+set}" = set; then
28636 echo $ECHO_N "(cached) $ECHO_C" >&6
28637fi
28638echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28639echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28640else
28641 # Is the header compilable?
28642echo "$as_me:$LINENO: checking esd.h usability" >&5
28643echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28644cat >conftest.$ac_ext <<_ACEOF
28645#line $LINENO "configure"
28646/* confdefs.h. */
28647_ACEOF
28648cat confdefs.h >>conftest.$ac_ext
28649cat >>conftest.$ac_ext <<_ACEOF
28650/* end confdefs.h. */
28651$ac_includes_default
28652#include <esd.h>
28653_ACEOF
28654rm -f conftest.$ac_objext
28655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28656 (eval $ac_compile) 2>&5
28657 ac_status=$?
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); } &&
28660 { ac_try='test -s conftest.$ac_objext'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28663 ac_status=$?
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; }; then
28666 ac_header_compiler=yes
28667else
28668 echo "$as_me: failed program was:" >&5
28669sed 's/^/| /' conftest.$ac_ext >&5
28670
28671ac_header_compiler=no
28672fi
28673rm -f conftest.$ac_objext conftest.$ac_ext
28674echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28675echo "${ECHO_T}$ac_header_compiler" >&6
28676
28677# Is the header present?
28678echo "$as_me:$LINENO: checking esd.h presence" >&5
28679echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28680cat >conftest.$ac_ext <<_ACEOF
28681#line $LINENO "configure"
28682/* confdefs.h. */
28683_ACEOF
28684cat confdefs.h >>conftest.$ac_ext
28685cat >>conftest.$ac_ext <<_ACEOF
28686/* end confdefs.h. */
28687#include <esd.h>
28688_ACEOF
28689if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28691 ac_status=$?
28692 grep -v '^ *+' conftest.er1 >conftest.err
28693 rm -f conftest.er1
28694 cat conftest.err >&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); } >/dev/null; then
28697 if test -s conftest.err; then
28698 ac_cpp_err=$ac_c_preproc_warn_flag
28699 else
28700 ac_cpp_err=
28701 fi
28702else
28703 ac_cpp_err=yes
28704fi
28705if test -z "$ac_cpp_err"; then
28706 ac_header_preproc=yes
28707else
28708 echo "$as_me: failed program was:" >&5
28709sed 's/^/| /' conftest.$ac_ext >&5
28710
28711 ac_header_preproc=no
28712fi
28713rm -f conftest.err conftest.$ac_ext
28714echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28715echo "${ECHO_T}$ac_header_preproc" >&6
28716
28717# So? What about this header?
28718case $ac_header_compiler:$ac_header_preproc in
28719 yes:no )
28720 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28721echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28722 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28723echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28724 (
28725 cat <<\_ASBOX
28726## ------------------------------------ ##
28727## Report this to bug-autoconf@gnu.org. ##
28728## ------------------------------------ ##
28729_ASBOX
28730 ) |
28731 sed "s/^/$as_me: WARNING: /" >&2
28732 ;;
28733 no:yes )
28734 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28735echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28736 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28737echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28738 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28739echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28740 (
28741 cat <<\_ASBOX
28742## ------------------------------------ ##
28743## Report this to bug-autoconf@gnu.org. ##
28744## ------------------------------------ ##
28745_ASBOX
28746 ) |
28747 sed "s/^/$as_me: WARNING: /" >&2
28748 ;;
28749esac
28750echo "$as_me:$LINENO: checking for esd.h" >&5
28751echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28752if test "${ac_cv_header_esd_h+set}" = set; then
28753 echo $ECHO_N "(cached) $ECHO_C" >&6
28754else
28755 ac_cv_header_esd_h=$ac_header_preproc
28756fi
28757echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28758echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28759
28760fi
28761if test $ac_cv_header_esd_h = yes; then
28762
28763 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28764echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28765if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28766 echo $ECHO_N "(cached) $ECHO_C" >&6
28767else
28768 ac_check_lib_save_LIBS=$LIBS
28769LIBS="-lesd $LIBS"
28770cat >conftest.$ac_ext <<_ACEOF
28771#line $LINENO "configure"
28772/* confdefs.h. */
28773_ACEOF
28774cat confdefs.h >>conftest.$ac_ext
28775cat >>conftest.$ac_ext <<_ACEOF
28776/* end confdefs.h. */
28777
28778/* Override any gcc2 internal prototype to avoid an error. */
28779#ifdef __cplusplus
28780extern "C"
28781#endif
28782/* We use char because int might match the return type of a gcc2
28783 builtin and then its argument prototype would still apply. */
28784char esd_close ();
28785int
28786main ()
28787{
28788esd_close ();
28789 ;
28790 return 0;
28791}
28792_ACEOF
28793rm -f conftest.$ac_objext conftest$ac_exeext
28794if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28795 (eval $ac_link) 2>&5
28796 ac_status=$?
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); } &&
28799 { ac_try='test -s conftest$ac_exeext'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; }; then
28805 ac_cv_lib_esd_esd_close=yes
28806else
28807 echo "$as_me: failed program was:" >&5
28808sed 's/^/| /' conftest.$ac_ext >&5
28809
28810ac_cv_lib_esd_esd_close=no
28811fi
28812rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28813LIBS=$ac_check_lib_save_LIBS
28814fi
28815echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28816echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28817if test $ac_cv_lib_esd_esd_close = yes; then
28818
28819 ESD_LINK="-lesd"
28820
28821fi
28822
28823
28824fi
28825
28826
28827
28828
28829
28830cat >confcache <<\_ACEOF
28831# This file is a shell script that caches the results of configure
28832# tests run on this system so they can be shared between configure
28833# scripts and configure runs, see configure's option --config-cache.
28834# It is not useful on other systems. If it contains results you don't
28835# want to keep, you may remove or edit it.
28836#
28837# config.status only pays attention to the cache file if you give it
28838# the --recheck option to rerun configure.
28839#
28840# `ac_cv_env_foo' variables (set or unset) will be overridden when
28841# loading this file, other *unset* `ac_cv_foo' will be assigned the
28842# following values.
28843
28844_ACEOF
28845
28846# The following way of writing the cache mishandles newlines in values,
28847# but we know of no workaround that is simple, portable, and efficient.
28848# So, don't put newlines in cache variables' values.
28849# Ultrix sh set writes to stderr and can't be redirected directly,
28850# and sets the high bit in the cache file unless we assign to the vars.
28851{
28852 (set) 2>&1 |
28853 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28854 *ac_space=\ *)
28855 # `set' does not quote correctly, so add quotes (double-quote
28856 # substitution turns \\\\ into \\, and sed turns \\ into \).
28857 sed -n \
28858 "s/'/'\\\\''/g;
28859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28860 ;;
28861 *)
28862 # `set' quotes correctly as required by POSIX, so do not add quotes.
28863 sed -n \
28864 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28865 ;;
28866 esac;
28867} |
28868 sed '
28869 t clear
28870 : clear
28871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28872 t end
28873 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28874 : end' >>confcache
28875if diff $cache_file confcache >/dev/null 2>&1; then :; else
28876 if test -w $cache_file; then
28877 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28878 cat confcache >$cache_file
28879 else
28880 echo "not updating unwritable cache $cache_file"
28881 fi
28882fi
28883rm -f confcache
28884
28885
28886CPP_MT_FLAG=
28887if test "$TOOLKIT" != "MSW"; then
28888
28889
28890 THREADS_LINK=
28891 THREADS_CFLAGS=
28892
28893 if test "$wxUSE_THREADS" = "yes" ; then
28894 if test "$USE_BEOS" = 1; then
28895 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28896echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28897 wxUSE_THREADS="no"
28898 fi
28899 fi
28900
28901 if test "$wxUSE_THREADS" = "yes" ; then
28902
28903
28904 THREAD_OPTS="-pthread"
28905 case "${host}" in
28906 *-*-solaris2* | *-*-sunos4* )
28907 if test "x$GCC" = "xyes"; then
28908 THREAD_OPTS="-pthreads $THREAD_OPTS"
28909 else
28910 THREAD_OPTS="-mt $THREAD_OPTS"
28911 fi
28912 ;;
28913 *-*-freebsd*)
28914 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28915 ;;
28916 *-*-darwin* | *-*-cygwin* )
28917 THREAD_OPTS=""
28918 ;;
28919 *-*-aix*)
28920 THREAD_OPTS="pthreads"
28921 ;;
28922 *-hp-hpux* )
28923 if test "x$GCC" != "xyes"; then
28924 THREAD_OPTS=""
28925 fi
28926 ;;
28927
28928 *-*-irix* )
28929 if test "x$GCC" = "xyes"; then
28930 THREAD_OPTS=""
28931 fi
28932 ;;
28933
28934 *-*-*UnixWare*)
28935 if test "x$GCC" != "xyes"; then
28936 THREAD_OPTS="-Ethread"
28937 fi
28938 ;;
28939 esac
28940
28941 THREAD_OPTS="$THREAD_OPTS pthread none"
28942
28943 THREADS_OK=no
28944 for flag in $THREAD_OPTS; do
28945 case $flag in
28946 none)
28947 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28948echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28949 ;;
28950
28951 -*)
28952 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28953echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28954 THREADS_CFLAGS="$flag"
28955 ;;
28956
28957 *)
28958 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28959echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28960 THREADS_LINK="-l$flag"
28961 ;;
28962 esac
28963
28964 save_LIBS="$LIBS"
28965 save_CFLAGS="$CFLAGS"
28966 LIBS="$THREADS_LINK $LIBS"
28967 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28968
28969 cat >conftest.$ac_ext <<_ACEOF
28970#line $LINENO "configure"
28971/* confdefs.h. */
28972_ACEOF
28973cat confdefs.h >>conftest.$ac_ext
28974cat >>conftest.$ac_ext <<_ACEOF
28975/* end confdefs.h. */
28976#include <pthread.h>
28977int
28978main ()
28979{
28980pthread_create(0,0,0,0);
28981 ;
28982 return 0;
28983}
28984_ACEOF
28985rm -f conftest.$ac_objext conftest$ac_exeext
28986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28987 (eval $ac_link) 2>&5
28988 ac_status=$?
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } &&
28991 { ac_try='test -s conftest$ac_exeext'
28992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28993 (eval $ac_try) 2>&5
28994 ac_status=$?
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); }; }; then
28997 THREADS_OK=yes
28998else
28999 echo "$as_me: failed program was:" >&5
29000sed 's/^/| /' conftest.$ac_ext >&5
29001
29002fi
29003rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29004
29005 LIBS="$save_LIBS"
29006 CFLAGS="$save_CFLAGS"
29007
29008 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29009echo "${ECHO_T}$THREADS_OK" >&6
29010 if test "x$THREADS_OK" = "xyes"; then
29011 break;
29012 fi
29013
29014 THREADS_LINK=""
29015 THREADS_CFLAGS=""
29016 done
29017
29018 if test "x$THREADS_OK" != "xyes"; then
29019 wxUSE_THREADS=no
29020 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29021echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29022 else
29023 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29024 LIBS="$THREADS_LINK $LIBS"
29025
29026 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29027echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29028 flag=no
29029 case "${host}" in
29030 *-aix*)
29031 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29032 flag="-D_THREAD_SAFE"
29033 ;;
29034 *-freebsd*)
29035 flag="-D_THREAD_SAFE"
29036 ;;
29037 *-hp-hpux* )
29038 flag="-D_REENTRANT"
29039 if test "x$GCC" != "xyes"; then
29040 flag="$flag -D_RWSTD_MULTI_THREAD"
29041 fi
29042 ;;
29043 *solaris* | alpha*-osf*)
29044 flag="-D_REENTRANT"
29045 ;;
29046 esac
29047 echo "$as_me:$LINENO: result: ${flag}" >&5
29048echo "${ECHO_T}${flag}" >&6
29049 if test "x$flag" != xno; then
29050 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29051 fi
29052
29053 if test "x$THREADS_CFLAGS" != "x"; then
29054 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29055 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29056 fi
29057 fi
29058 fi
29059
29060 if test "$wxUSE_THREADS" = "yes" ; then
29061
29062for ac_func in thr_setconcurrency
29063do
29064as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29065echo "$as_me:$LINENO: checking for $ac_func" >&5
29066echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29067if eval "test \"\${$as_ac_var+set}\" = set"; then
29068 echo $ECHO_N "(cached) $ECHO_C" >&6
29069else
29070 cat >conftest.$ac_ext <<_ACEOF
29071#line $LINENO "configure"
29072/* confdefs.h. */
29073_ACEOF
29074cat confdefs.h >>conftest.$ac_ext
29075cat >>conftest.$ac_ext <<_ACEOF
29076/* end confdefs.h. */
29077/* System header to define __stub macros and hopefully few prototypes,
29078 which can conflict with char $ac_func (); below.
29079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29080 <limits.h> exists even on freestanding compilers. */
29081#ifdef __STDC__
29082# include <limits.h>
29083#else
29084# include <assert.h>
29085#endif
29086/* Override any gcc2 internal prototype to avoid an error. */
29087#ifdef __cplusplus
29088extern "C"
29089{
29090#endif
29091/* We use char because int might match the return type of a gcc2
29092 builtin and then its argument prototype would still apply. */
29093char $ac_func ();
29094/* The GNU C library defines this for functions which it implements
29095 to always fail with ENOSYS. Some functions are actually named
29096 something starting with __ and the normal name is an alias. */
29097#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29098choke me
29099#else
29100char (*f) () = $ac_func;
29101#endif
29102#ifdef __cplusplus
29103}
29104#endif
29105
29106int
29107main ()
29108{
29109return f != $ac_func;
29110 ;
29111 return 0;
29112}
29113_ACEOF
29114rm -f conftest.$ac_objext conftest$ac_exeext
29115if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29116 (eval $ac_link) 2>&5
29117 ac_status=$?
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); } &&
29120 { ac_try='test -s conftest$ac_exeext'
29121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29122 (eval $ac_try) 2>&5
29123 ac_status=$?
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29126 eval "$as_ac_var=yes"
29127else
29128 echo "$as_me: failed program was:" >&5
29129sed 's/^/| /' conftest.$ac_ext >&5
29130
29131eval "$as_ac_var=no"
29132fi
29133rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29134fi
29135echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29136echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29137if test `eval echo '${'$as_ac_var'}'` = yes; then
29138 cat >>confdefs.h <<_ACEOF
29139#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29140_ACEOF
29141
29142fi
29143done
29144
29145
29146
29147for ac_header in sched.h
29148do
29149as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29150if eval "test \"\${$as_ac_Header+set}\" = set"; then
29151 echo "$as_me:$LINENO: checking for $ac_header" >&5
29152echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29153if eval "test \"\${$as_ac_Header+set}\" = set"; then
29154 echo $ECHO_N "(cached) $ECHO_C" >&6
29155fi
29156echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29157echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29158else
29159 # Is the header compilable?
29160echo "$as_me:$LINENO: checking $ac_header usability" >&5
29161echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29162cat >conftest.$ac_ext <<_ACEOF
29163#line $LINENO "configure"
29164/* confdefs.h. */
29165_ACEOF
29166cat confdefs.h >>conftest.$ac_ext
29167cat >>conftest.$ac_ext <<_ACEOF
29168/* end confdefs.h. */
29169$ac_includes_default
29170#include <$ac_header>
29171_ACEOF
29172rm -f conftest.$ac_objext
29173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29174 (eval $ac_compile) 2>&5
29175 ac_status=$?
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); } &&
29178 { ac_try='test -s conftest.$ac_objext'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 ac_header_compiler=yes
29185else
29186 echo "$as_me: failed program was:" >&5
29187sed 's/^/| /' conftest.$ac_ext >&5
29188
29189ac_header_compiler=no
29190fi
29191rm -f conftest.$ac_objext conftest.$ac_ext
29192echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29193echo "${ECHO_T}$ac_header_compiler" >&6
29194
29195# Is the header present?
29196echo "$as_me:$LINENO: checking $ac_header presence" >&5
29197echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29198cat >conftest.$ac_ext <<_ACEOF
29199#line $LINENO "configure"
29200/* confdefs.h. */
29201_ACEOF
29202cat confdefs.h >>conftest.$ac_ext
29203cat >>conftest.$ac_ext <<_ACEOF
29204/* end confdefs.h. */
29205#include <$ac_header>
29206_ACEOF
29207if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29209 ac_status=$?
29210 grep -v '^ *+' conftest.er1 >conftest.err
29211 rm -f conftest.er1
29212 cat conftest.err >&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } >/dev/null; then
29215 if test -s conftest.err; then
29216 ac_cpp_err=$ac_c_preproc_warn_flag
29217 else
29218 ac_cpp_err=
29219 fi
29220else
29221 ac_cpp_err=yes
29222fi
29223if test -z "$ac_cpp_err"; then
29224 ac_header_preproc=yes
29225else
29226 echo "$as_me: failed program was:" >&5
29227sed 's/^/| /' conftest.$ac_ext >&5
29228
29229 ac_header_preproc=no
29230fi
29231rm -f conftest.err conftest.$ac_ext
29232echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29233echo "${ECHO_T}$ac_header_preproc" >&6
29234
29235# So? What about this header?
29236case $ac_header_compiler:$ac_header_preproc in
29237 yes:no )
29238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29239echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29241echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29242 (
29243 cat <<\_ASBOX
29244## ------------------------------------ ##
29245## Report this to bug-autoconf@gnu.org. ##
29246## ------------------------------------ ##
29247_ASBOX
29248 ) |
29249 sed "s/^/$as_me: WARNING: /" >&2
29250 ;;
29251 no:yes )
29252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29253echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29255echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29257echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29258 (
29259 cat <<\_ASBOX
29260## ------------------------------------ ##
29261## Report this to bug-autoconf@gnu.org. ##
29262## ------------------------------------ ##
29263_ASBOX
29264 ) |
29265 sed "s/^/$as_me: WARNING: /" >&2
29266 ;;
29267esac
29268echo "$as_me:$LINENO: checking for $ac_header" >&5
29269echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29270if eval "test \"\${$as_ac_Header+set}\" = set"; then
29271 echo $ECHO_N "(cached) $ECHO_C" >&6
29272else
29273 eval "$as_ac_Header=$ac_header_preproc"
29274fi
29275echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29276echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29277
29278fi
29279if test `eval echo '${'$as_ac_Header'}'` = yes; then
29280 cat >>confdefs.h <<_ACEOF
29281#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29282_ACEOF
29283
29284fi
29285
29286done
29287
29288 if test "$ac_cv_header_sched_h" = "yes"; then
29289 echo "$as_me:$LINENO: checking for sched_yield" >&5
29290echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29291if test "${ac_cv_func_sched_yield+set}" = set; then
29292 echo $ECHO_N "(cached) $ECHO_C" >&6
29293else
29294 cat >conftest.$ac_ext <<_ACEOF
29295#line $LINENO "configure"
29296/* confdefs.h. */
29297_ACEOF
29298cat confdefs.h >>conftest.$ac_ext
29299cat >>conftest.$ac_ext <<_ACEOF
29300/* end confdefs.h. */
29301/* System header to define __stub macros and hopefully few prototypes,
29302 which can conflict with char sched_yield (); below.
29303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29304 <limits.h> exists even on freestanding compilers. */
29305#ifdef __STDC__
29306# include <limits.h>
29307#else
29308# include <assert.h>
29309#endif
29310/* Override any gcc2 internal prototype to avoid an error. */
29311#ifdef __cplusplus
29312extern "C"
29313{
29314#endif
29315/* We use char because int might match the return type of a gcc2
29316 builtin and then its argument prototype would still apply. */
29317char sched_yield ();
29318/* The GNU C library defines this for functions which it implements
29319 to always fail with ENOSYS. Some functions are actually named
29320 something starting with __ and the normal name is an alias. */
29321#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29322choke me
29323#else
29324char (*f) () = sched_yield;
29325#endif
29326#ifdef __cplusplus
29327}
29328#endif
29329
29330int
29331main ()
29332{
29333return f != sched_yield;
29334 ;
29335 return 0;
29336}
29337_ACEOF
29338rm -f conftest.$ac_objext conftest$ac_exeext
29339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29340 (eval $ac_link) 2>&5
29341 ac_status=$?
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); } &&
29344 { ac_try='test -s conftest$ac_exeext'
29345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29346 (eval $ac_try) 2>&5
29347 ac_status=$?
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); }; }; then
29350 ac_cv_func_sched_yield=yes
29351else
29352 echo "$as_me: failed program was:" >&5
29353sed 's/^/| /' conftest.$ac_ext >&5
29354
29355ac_cv_func_sched_yield=no
29356fi
29357rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29358fi
29359echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29360echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29361if test $ac_cv_func_sched_yield = yes; then
29362 cat >>confdefs.h <<\_ACEOF
29363#define HAVE_SCHED_YIELD 1
29364_ACEOF
29365
29366else
29367
29368 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29369echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29370if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29371 echo $ECHO_N "(cached) $ECHO_C" >&6
29372else
29373 ac_check_lib_save_LIBS=$LIBS
29374LIBS="-lposix4 $LIBS"
29375cat >conftest.$ac_ext <<_ACEOF
29376#line $LINENO "configure"
29377/* confdefs.h. */
29378_ACEOF
29379cat confdefs.h >>conftest.$ac_ext
29380cat >>conftest.$ac_ext <<_ACEOF
29381/* end confdefs.h. */
29382
29383/* Override any gcc2 internal prototype to avoid an error. */
29384#ifdef __cplusplus
29385extern "C"
29386#endif
29387/* We use char because int might match the return type of a gcc2
29388 builtin and then its argument prototype would still apply. */
29389char sched_yield ();
29390int
29391main ()
29392{
29393sched_yield ();
29394 ;
29395 return 0;
29396}
29397_ACEOF
29398rm -f conftest.$ac_objext conftest$ac_exeext
29399if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29400 (eval $ac_link) 2>&5
29401 ac_status=$?
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } &&
29404 { ac_try='test -s conftest$ac_exeext'
29405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29406 (eval $ac_try) 2>&5
29407 ac_status=$?
29408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409 (exit $ac_status); }; }; then
29410 ac_cv_lib_posix4_sched_yield=yes
29411else
29412 echo "$as_me: failed program was:" >&5
29413sed 's/^/| /' conftest.$ac_ext >&5
29414
29415ac_cv_lib_posix4_sched_yield=no
29416fi
29417rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29418LIBS=$ac_check_lib_save_LIBS
29419fi
29420echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29421echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29422if test $ac_cv_lib_posix4_sched_yield = yes; then
29423 cat >>confdefs.h <<\_ACEOF
29424#define HAVE_SCHED_YIELD 1
29425_ACEOF
29426 POSIX4_LINK=" -lposix4"
29427else
29428 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29429echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29430
29431fi
29432
29433
29434
29435fi
29436
29437 fi
29438
29439 HAVE_PRIOR_FUNCS=0
29440 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29441echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29442if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29444else
29445 cat >conftest.$ac_ext <<_ACEOF
29446#line $LINENO "configure"
29447/* confdefs.h. */
29448_ACEOF
29449cat confdefs.h >>conftest.$ac_ext
29450cat >>conftest.$ac_ext <<_ACEOF
29451/* end confdefs.h. */
29452/* System header to define __stub macros and hopefully few prototypes,
29453 which can conflict with char pthread_attr_getschedpolicy (); below.
29454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29455 <limits.h> exists even on freestanding compilers. */
29456#ifdef __STDC__
29457# include <limits.h>
29458#else
29459# include <assert.h>
29460#endif
29461/* Override any gcc2 internal prototype to avoid an error. */
29462#ifdef __cplusplus
29463extern "C"
29464{
29465#endif
29466/* We use char because int might match the return type of a gcc2
29467 builtin and then its argument prototype would still apply. */
29468char pthread_attr_getschedpolicy ();
29469/* The GNU C library defines this for functions which it implements
29470 to always fail with ENOSYS. Some functions are actually named
29471 something starting with __ and the normal name is an alias. */
29472#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29473choke me
29474#else
29475char (*f) () = pthread_attr_getschedpolicy;
29476#endif
29477#ifdef __cplusplus
29478}
29479#endif
29480
29481int
29482main ()
29483{
29484return f != pthread_attr_getschedpolicy;
29485 ;
29486 return 0;
29487}
29488_ACEOF
29489rm -f conftest.$ac_objext conftest$ac_exeext
29490if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29491 (eval $ac_link) 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try='test -s conftest$ac_exeext'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29498 ac_status=$?
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 ac_cv_func_pthread_attr_getschedpolicy=yes
29502else
29503 echo "$as_me: failed program was:" >&5
29504sed 's/^/| /' conftest.$ac_ext >&5
29505
29506ac_cv_func_pthread_attr_getschedpolicy=no
29507fi
29508rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29509fi
29510echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29511echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29512if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29513 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29514echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29515if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29517else
29518 cat >conftest.$ac_ext <<_ACEOF
29519#line $LINENO "configure"
29520/* confdefs.h. */
29521_ACEOF
29522cat confdefs.h >>conftest.$ac_ext
29523cat >>conftest.$ac_ext <<_ACEOF
29524/* end confdefs.h. */
29525/* System header to define __stub macros and hopefully few prototypes,
29526 which can conflict with char pthread_attr_setschedparam (); below.
29527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29528 <limits.h> exists even on freestanding compilers. */
29529#ifdef __STDC__
29530# include <limits.h>
29531#else
29532# include <assert.h>
29533#endif
29534/* Override any gcc2 internal prototype to avoid an error. */
29535#ifdef __cplusplus
29536extern "C"
29537{
29538#endif
29539/* We use char because int might match the return type of a gcc2
29540 builtin and then its argument prototype would still apply. */
29541char pthread_attr_setschedparam ();
29542/* The GNU C library defines this for functions which it implements
29543 to always fail with ENOSYS. Some functions are actually named
29544 something starting with __ and the normal name is an alias. */
29545#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29546choke me
29547#else
29548char (*f) () = pthread_attr_setschedparam;
29549#endif
29550#ifdef __cplusplus
29551}
29552#endif
29553
29554int
29555main ()
29556{
29557return f != pthread_attr_setschedparam;
29558 ;
29559 return 0;
29560}
29561_ACEOF
29562rm -f conftest.$ac_objext conftest$ac_exeext
29563if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29564 (eval $ac_link) 2>&5
29565 ac_status=$?
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } &&
29568 { ac_try='test -s conftest$ac_exeext'
29569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29570 (eval $ac_try) 2>&5
29571 ac_status=$?
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; }; then
29574 ac_cv_func_pthread_attr_setschedparam=yes
29575else
29576 echo "$as_me: failed program was:" >&5
29577sed 's/^/| /' conftest.$ac_ext >&5
29578
29579ac_cv_func_pthread_attr_setschedparam=no
29580fi
29581rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29582fi
29583echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29584echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29585if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29586 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29587echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29588if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29590else
29591 cat >conftest.$ac_ext <<_ACEOF
29592#line $LINENO "configure"
29593/* confdefs.h. */
29594_ACEOF
29595cat confdefs.h >>conftest.$ac_ext
29596cat >>conftest.$ac_ext <<_ACEOF
29597/* end confdefs.h. */
29598/* System header to define __stub macros and hopefully few prototypes,
29599 which can conflict with char sched_get_priority_max (); below.
29600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29601 <limits.h> exists even on freestanding compilers. */
29602#ifdef __STDC__
29603# include <limits.h>
29604#else
29605# include <assert.h>
29606#endif
29607/* Override any gcc2 internal prototype to avoid an error. */
29608#ifdef __cplusplus
29609extern "C"
29610{
29611#endif
29612/* We use char because int might match the return type of a gcc2
29613 builtin and then its argument prototype would still apply. */
29614char sched_get_priority_max ();
29615/* The GNU C library defines this for functions which it implements
29616 to always fail with ENOSYS. Some functions are actually named
29617 something starting with __ and the normal name is an alias. */
29618#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29619choke me
29620#else
29621char (*f) () = sched_get_priority_max;
29622#endif
29623#ifdef __cplusplus
29624}
29625#endif
29626
29627int
29628main ()
29629{
29630return f != sched_get_priority_max;
29631 ;
29632 return 0;
29633}
29634_ACEOF
29635rm -f conftest.$ac_objext conftest$ac_exeext
29636if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29637 (eval $ac_link) 2>&5
29638 ac_status=$?
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } &&
29641 { ac_try='test -s conftest$ac_exeext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29644 ac_status=$?
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29647 ac_cv_func_sched_get_priority_max=yes
29648else
29649 echo "$as_me: failed program was:" >&5
29650sed 's/^/| /' conftest.$ac_ext >&5
29651
29652ac_cv_func_sched_get_priority_max=no
29653fi
29654rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29655fi
29656echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29657echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29658if test $ac_cv_func_sched_get_priority_max = yes; then
29659 HAVE_PRIOR_FUNCS=1
29660else
29661 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29662echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29663if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29664 echo $ECHO_N "(cached) $ECHO_C" >&6
29665else
29666 ac_check_lib_save_LIBS=$LIBS
29667LIBS="-lposix4 $LIBS"
29668cat >conftest.$ac_ext <<_ACEOF
29669#line $LINENO "configure"
29670/* confdefs.h. */
29671_ACEOF
29672cat confdefs.h >>conftest.$ac_ext
29673cat >>conftest.$ac_ext <<_ACEOF
29674/* end confdefs.h. */
29675
29676/* Override any gcc2 internal prototype to avoid an error. */
29677#ifdef __cplusplus
29678extern "C"
29679#endif
29680/* We use char because int might match the return type of a gcc2
29681 builtin and then its argument prototype would still apply. */
29682char sched_get_priority_max ();
29683int
29684main ()
29685{
29686sched_get_priority_max ();
29687 ;
29688 return 0;
29689}
29690_ACEOF
29691rm -f conftest.$ac_objext conftest$ac_exeext
29692if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693 (eval $ac_link) 2>&5
29694 ac_status=$?
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } &&
29697 { ac_try='test -s conftest$ac_exeext'
29698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699 (eval $ac_try) 2>&5
29700 ac_status=$?
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); }; }; then
29703 ac_cv_lib_posix4_sched_get_priority_max=yes
29704else
29705 echo "$as_me: failed program was:" >&5
29706sed 's/^/| /' conftest.$ac_ext >&5
29707
29708ac_cv_lib_posix4_sched_get_priority_max=no
29709fi
29710rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29711LIBS=$ac_check_lib_save_LIBS
29712fi
29713echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29714echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29715if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29716
29717 HAVE_PRIOR_FUNCS=1
29718 POSIX4_LINK=" -lposix4"
29719
29720fi
29721
29722
29723fi
29724
29725
29726fi
29727
29728
29729fi
29730
29731
29732 if test "$HAVE_PRIOR_FUNCS" = 1; then
29733 cat >>confdefs.h <<\_ACEOF
29734#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29735_ACEOF
29736
29737 else
29738 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29739echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29740 fi
29741
29742 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29743echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29744if test "${ac_cv_func_pthread_cancel+set}" = set; then
29745 echo $ECHO_N "(cached) $ECHO_C" >&6
29746else
29747 cat >conftest.$ac_ext <<_ACEOF
29748#line $LINENO "configure"
29749/* confdefs.h. */
29750_ACEOF
29751cat confdefs.h >>conftest.$ac_ext
29752cat >>conftest.$ac_ext <<_ACEOF
29753/* end confdefs.h. */
29754/* System header to define __stub macros and hopefully few prototypes,
29755 which can conflict with char pthread_cancel (); below.
29756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29757 <limits.h> exists even on freestanding compilers. */
29758#ifdef __STDC__
29759# include <limits.h>
29760#else
29761# include <assert.h>
29762#endif
29763/* Override any gcc2 internal prototype to avoid an error. */
29764#ifdef __cplusplus
29765extern "C"
29766{
29767#endif
29768/* We use char because int might match the return type of a gcc2
29769 builtin and then its argument prototype would still apply. */
29770char pthread_cancel ();
29771/* The GNU C library defines this for functions which it implements
29772 to always fail with ENOSYS. Some functions are actually named
29773 something starting with __ and the normal name is an alias. */
29774#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29775choke me
29776#else
29777char (*f) () = pthread_cancel;
29778#endif
29779#ifdef __cplusplus
29780}
29781#endif
29782
29783int
29784main ()
29785{
29786return f != pthread_cancel;
29787 ;
29788 return 0;
29789}
29790_ACEOF
29791rm -f conftest.$ac_objext conftest$ac_exeext
29792if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29793 (eval $ac_link) 2>&5
29794 ac_status=$?
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } &&
29797 { ac_try='test -s conftest$ac_exeext'
29798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799 (eval $ac_try) 2>&5
29800 ac_status=$?
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); }; }; then
29803 ac_cv_func_pthread_cancel=yes
29804else
29805 echo "$as_me: failed program was:" >&5
29806sed 's/^/| /' conftest.$ac_ext >&5
29807
29808ac_cv_func_pthread_cancel=no
29809fi
29810rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29811fi
29812echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29813echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29814if test $ac_cv_func_pthread_cancel = yes; then
29815 cat >>confdefs.h <<\_ACEOF
29816#define HAVE_PTHREAD_CANCEL 1
29817_ACEOF
29818
29819else
29820 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29821echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29822fi
29823
29824
29825 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29826echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29827if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29829else
29830
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#include <pthread.h>
29839int
29840main ()
29841{
29842
29843 pthread_cleanup_push(NULL, NULL);
29844 pthread_cleanup_pop(0);
29845
29846 ;
29847 return 0;
29848}
29849_ACEOF
29850rm -f conftest.$ac_objext
29851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29852 (eval $ac_compile) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); } &&
29856 { ac_try='test -s conftest.$ac_objext'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; }; then
29862
29863 wx_cv_func_pthread_cleanup_push=yes
29864
29865else
29866 echo "$as_me: failed program was:" >&5
29867sed 's/^/| /' conftest.$ac_ext >&5
29868
29869
29870 wx_cv_func_pthread_cleanup_push=no
29871
29872fi
29873rm -f conftest.$ac_objext conftest.$ac_ext
29874
29875fi
29876echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29877echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29878
29879 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29880 cat >>confdefs.h <<\_ACEOF
29881#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29882_ACEOF
29883
29884 fi
29885
29886
29887 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29888echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29889if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29891else
29892
29893 cat >conftest.$ac_ext <<_ACEOF
29894#line $LINENO "configure"
29895/* confdefs.h. */
29896_ACEOF
29897cat confdefs.h >>conftest.$ac_ext
29898cat >>conftest.$ac_ext <<_ACEOF
29899/* end confdefs.h. */
29900#include <pthread.h>
29901int
29902main ()
29903{
29904
29905 pthread_mutexattr_t attr;
29906 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29907
29908 ;
29909 return 0;
29910}
29911_ACEOF
29912rm -f conftest.$ac_objext
29913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29914 (eval $ac_compile) 2>&5
29915 ac_status=$?
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } &&
29918 { ac_try='test -s conftest.$ac_objext'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29921 ac_status=$?
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; }; then
29924
29925 wx_cv_type_pthread_mutexattr_t=yes
29926
29927else
29928 echo "$as_me: failed program was:" >&5
29929sed 's/^/| /' conftest.$ac_ext >&5
29930
29931
29932 wx_cv_type_pthread_mutexattr_t=no
29933
29934
29935fi
29936rm -f conftest.$ac_objext conftest.$ac_ext
29937
29938fi
29939echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29940echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29941
29942 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29943 cat >>confdefs.h <<\_ACEOF
29944#define HAVE_PTHREAD_MUTEXATTR_T 1
29945_ACEOF
29946
29947 else
29948 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29949echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29950if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29951 echo $ECHO_N "(cached) $ECHO_C" >&6
29952else
29953
29954 cat >conftest.$ac_ext <<_ACEOF
29955#line $LINENO "configure"
29956/* confdefs.h. */
29957_ACEOF
29958cat confdefs.h >>conftest.$ac_ext
29959cat >>conftest.$ac_ext <<_ACEOF
29960/* end confdefs.h. */
29961#include <pthread.h>
29962int
29963main ()
29964{
29965
29966 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29967
29968 ;
29969 return 0;
29970}
29971_ACEOF
29972rm -f conftest.$ac_objext
29973if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29974 (eval $ac_compile) 2>&5
29975 ac_status=$?
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); } &&
29978 { ac_try='test -s conftest.$ac_objext'
29979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29980 (eval $ac_try) 2>&5
29981 ac_status=$?
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; }; then
29984
29985 wx_cv_type_pthread_rec_mutex_init=yes
29986
29987else
29988 echo "$as_me: failed program was:" >&5
29989sed 's/^/| /' conftest.$ac_ext >&5
29990
29991
29992 wx_cv_type_pthread_rec_mutex_init=no
29993
29994
29995fi
29996rm -f conftest.$ac_objext conftest.$ac_ext
29997
29998fi
29999echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30000echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30001 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30002 cat >>confdefs.h <<\_ACEOF
30003#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30004_ACEOF
30005
30006 else
30007 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30008echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30009 fi
30010 fi
30011 fi
30012
30013else
30014 if test "$wxUSE_THREADS" = "yes" ; then
30015 case "${host}" in
30016 *-*-mingw32* )
30017 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30018echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30019if test "${wx_cv_cflags_mthread+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30021else
30022
30023 CFLAGS_OLD="$CFLAGS"
30024 CFLAGS="$CFLAGS -mthreads"
30025 cat >conftest.$ac_ext <<_ACEOF
30026#line $LINENO "configure"
30027/* confdefs.h. */
30028_ACEOF
30029cat confdefs.h >>conftest.$ac_ext
30030cat >>conftest.$ac_ext <<_ACEOF
30031/* end confdefs.h. */
30032
30033int
30034main ()
30035{
30036
30037 ;
30038 return 0;
30039}
30040_ACEOF
30041rm -f conftest.$ac_objext
30042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30043 (eval $ac_compile) 2>&5
30044 ac_status=$?
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } &&
30047 { ac_try='test -s conftest.$ac_objext'
30048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30049 (eval $ac_try) 2>&5
30050 ac_status=$?
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); }; }; then
30053 wx_cv_cflags_mthread=yes
30054else
30055 echo "$as_me: failed program was:" >&5
30056sed 's/^/| /' conftest.$ac_ext >&5
30057
30058wx_cv_cflags_mthread=no
30059
30060fi
30061rm -f conftest.$ac_objext conftest.$ac_ext
30062
30063
30064fi
30065echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30066echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30067
30068 if test "$wx_cv_cflags_mthread" = "yes"; then
30069 CXXFLAGS="$CXXFLAGS -mthreads"
30070 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30071 LDFLAGS="$LDFLAGS -mthreads"
30072 else
30073 CFLAGS="$CFLAGS_OLD"
30074 fi
30075 ;;
30076 esac
30077 fi
30078fi
30079
30080if test "$wxUSE_THREADS" = "yes"; then
30081 cat >>confdefs.h <<\_ACEOF
30082#define wxUSE_THREADS 1
30083_ACEOF
30084
30085
30086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30087else
30088 if test "$ac_cv_func_strtok_r" = "yes"; then
30089 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30090echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30091 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30092 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30093 echo "$as_me:$LINENO: result: yes" >&5
30094echo "${ECHO_T}yes" >&6
30095 else
30096 echo "$as_me:$LINENO: result: no" >&5
30097echo "${ECHO_T}no" >&6
30098 fi
30099 fi
30100fi
30101
30102if test "$WXGTK20" = 1 ; then
30103 cat >>confdefs.h <<_ACEOF
30104#define __WXGTK20__ $WXGTK20
30105_ACEOF
30106
30107 WXGTK12=1
30108fi
30109
30110if test "$WXGTK12" = 1 ; then
30111 cat >>confdefs.h <<_ACEOF
30112#define __WXGTK12__ $WXGTK12
30113_ACEOF
30114
30115fi
30116
30117if test "$WXGTK127" = 1 ; then
30118 cat >>confdefs.h <<_ACEOF
30119#define __WXGTK127__ $WXGTK127
30120_ACEOF
30121
30122fi
30123
30124WXDEBUG=
30125
30126if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30127 WXDEBUG="-g"
30128 wxUSE_OPTIMISE=no
30129fi
30130
30131if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30132 wxUSE_DEBUG_INFO=yes
30133 WXDEBUG="-ggdb"
30134fi
30135
30136if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30137 cat >>confdefs.h <<\_ACEOF
30138#define WXDEBUG 1
30139_ACEOF
30140
30141 WXDEBUG_DEFINE="-D__WXDEBUG__"
30142else
30143 if test "$wxUSE_GTK" = 1 ; then
30144 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30145 fi
30146fi
30147
30148if test "$wxUSE_MEM_TRACING" = "yes" ; then
30149 cat >>confdefs.h <<\_ACEOF
30150#define wxUSE_MEMORY_TRACING 1
30151_ACEOF
30152
30153 cat >>confdefs.h <<\_ACEOF
30154#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30155_ACEOF
30156
30157 cat >>confdefs.h <<\_ACEOF
30158#define wxUSE_DEBUG_NEW_ALWAYS 1
30159_ACEOF
30160
30161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30162fi
30163
30164if test "$wxUSE_DMALLOC" = "yes" ; then
30165 DMALLOC_LIBS="-ldmalloc"
30166fi
30167
30168PROFILE=
30169if test "$wxUSE_PROFILE" = "yes" ; then
30170 PROFILE=" -pg"
30171fi
30172
30173CODE_GEN_FLAGS=
30174CODE_GEN_FLAGS_CXX=
30175if test "$GCC" = "yes" ; then
30176 if test "$wxUSE_NO_RTTI" = "yes" ; then
30177 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30178 fi
30179 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30180 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30181 fi
30182 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30183 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30184 fi
30185
30186 case "${host}" in
30187 powerpc*-*-aix* )
30188 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30189 ;;
30190 *-hppa* )
30191 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30192 ;;
30193 esac
30194fi
30195
30196OPTIMISE=
30197if test "$wxUSE_OPTIMISE" = "no" ; then
30198 if test "$GCC" = yes ; then
30199 OPTIMISE="-O0"
30200 fi
30201else
30202 if test "$GCC" = yes ; then
30203 OPTIMISE="-O2"
30204
30205 case "${host}" in
30206 i586-*-*|i686-*-* )
30207 OPTIMISE="${OPTIMISE} "
30208 ;;
30209 esac
30210 else
30211 OPTIMISE="-O"
30212 fi
30213fi
30214
30215
30216if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30217 cat >>confdefs.h <<\_ACEOF
30218#define WXWIN_COMPATIBILITY_2 1
30219_ACEOF
30220
30221
30222 WXWIN_COMPATIBILITY_2_2="yes"
30223fi
30224
30225if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30226 cat >>confdefs.h <<\_ACEOF
30227#define WXWIN_COMPATIBILITY_2_2 1
30228_ACEOF
30229
30230
30231 WXWIN_COMPATIBILITY_2_4="yes"
30232fi
30233
30234if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30235 cat >>confdefs.h <<\_ACEOF
30236#define WXWIN_COMPATIBILITY_2_4 1
30237_ACEOF
30238
30239fi
30240
30241
30242if test "$wxUSE_GUI" = "yes"; then
30243 cat >>confdefs.h <<\_ACEOF
30244#define wxUSE_GUI 1
30245_ACEOF
30246
30247
30248 else
30249 cat >>confdefs.h <<\_ACEOF
30250#define wxUSE_NOGUI 1
30251_ACEOF
30252
30253fi
30254
30255
30256if test "$wxUSE_UNIX" = "yes"; then
30257 cat >>confdefs.h <<\_ACEOF
30258#define wxUSE_UNIX 1
30259_ACEOF
30260
30261fi
30262
30263
30264if test "$wxUSE_STL" = "yes"; then
30265 cat >>confdefs.h <<\_ACEOF
30266#define wxUSE_STL 1
30267_ACEOF
30268
30269fi
30270
30271if test "$wxUSE_APPLE_IEEE" = "yes"; then
30272 cat >>confdefs.h <<\_ACEOF
30273#define wxUSE_APPLE_IEEE 1
30274_ACEOF
30275
30276fi
30277
30278if test "$wxUSE_TIMER" = "yes"; then
30279 cat >>confdefs.h <<\_ACEOF
30280#define wxUSE_TIMER 1
30281_ACEOF
30282
30283fi
30284
30285if test "$wxUSE_WAVE" = "yes"; then
30286 cat >>confdefs.h <<\_ACEOF
30287#define wxUSE_WAVE 1
30288_ACEOF
30289
30290fi
30291
30292if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30293 cat >>confdefs.h <<\_ACEOF
30294#define wxUSE_CMDLINE_PARSER 1
30295_ACEOF
30296
30297fi
30298
30299if test "$wxUSE_STOPWATCH" = "yes"; then
30300 cat >>confdefs.h <<\_ACEOF
30301#define wxUSE_STOPWATCH 1
30302_ACEOF
30303
30304fi
30305
30306if test "$wxUSE_DATETIME" = "yes"; then
30307 cat >>confdefs.h <<\_ACEOF
30308#define wxUSE_DATETIME 1
30309_ACEOF
30310
30311fi
30312
30313if test "$wxUSE_FILE" = "yes"; then
30314 cat >>confdefs.h <<\_ACEOF
30315#define wxUSE_FILE 1
30316_ACEOF
30317
30318fi
30319
30320if test "$wxUSE_FFILE" = "yes"; then
30321 cat >>confdefs.h <<\_ACEOF
30322#define wxUSE_FFILE 1
30323_ACEOF
30324
30325fi
30326
30327if test "$wxUSE_FILESYSTEM" = "yes"; then
30328 cat >>confdefs.h <<\_ACEOF
30329#define wxUSE_FILESYSTEM 1
30330_ACEOF
30331
30332fi
30333
30334if test "$wxUSE_FS_ZIP" = "yes"; then
30335 cat >>confdefs.h <<\_ACEOF
30336#define wxUSE_FS_ZIP 1
30337_ACEOF
30338
30339fi
30340
30341if test "$wxUSE_ZIPSTREAM" = "yes"; then
30342 cat >>confdefs.h <<\_ACEOF
30343#define wxUSE_ZIPSTREAM 1
30344_ACEOF
30345
30346fi
30347
30348if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30349 cat >>confdefs.h <<\_ACEOF
30350#define wxUSE_ON_FATAL_EXCEPTION 1
30351_ACEOF
30352
30353fi
30354
30355if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30356 cat >>confdefs.h <<\_ACEOF
30357#define wxUSE_SNGLINST_CHECKER 1
30358_ACEOF
30359
30360fi
30361
30362if test "$wxUSE_BUSYINFO" = "yes"; then
30363 cat >>confdefs.h <<\_ACEOF
30364#define wxUSE_BUSYINFO 1
30365_ACEOF
30366
30367fi
30368
30369if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30370 cat >>confdefs.h <<\_ACEOF
30371#define wxUSE_STD_IOSTREAM 1
30372_ACEOF
30373
30374fi
30375
30376if test "$wxUSE_TEXTBUFFER" = "yes"; then
30377 cat >>confdefs.h <<\_ACEOF
30378#define wxUSE_TEXTBUFFER 1
30379_ACEOF
30380
30381fi
30382
30383if test "$wxUSE_TEXTFILE" = "yes"; then
30384 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30385 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30386echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30387 else
30388 cat >>confdefs.h <<\_ACEOF
30389#define wxUSE_TEXTFILE 1
30390_ACEOF
30391
30392 fi
30393fi
30394
30395if test "$wxUSE_CONFIG" = "yes" ; then
30396 if test "$wxUSE_TEXTFILE" != "yes"; then
30397 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30398echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30399 else
30400 cat >>confdefs.h <<\_ACEOF
30401#define wxUSE_CONFIG 1
30402_ACEOF
30403
30404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30405 fi
30406fi
30407
30408if test "$wxUSE_INTL" = "yes" ; then
30409 if test "$wxUSE_FILE" != "yes"; then
30410 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30411echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30412 else
30413 cat >>confdefs.h <<\_ACEOF
30414#define wxUSE_INTL 1
30415_ACEOF
30416
30417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30418 GUIDIST="$GUIDIST INTL_DIST"
30419 fi
30420fi
30421
30422if test "$wxUSE_LOG" = "yes"; then
30423 cat >>confdefs.h <<\_ACEOF
30424#define wxUSE_LOG 1
30425_ACEOF
30426
30427
30428 if test "$wxUSE_LOGGUI" = "yes"; then
30429 cat >>confdefs.h <<\_ACEOF
30430#define wxUSE_LOGGUI 1
30431_ACEOF
30432
30433 fi
30434
30435 if test "$wxUSE_LOGWINDOW" = "yes"; then
30436 cat >>confdefs.h <<\_ACEOF
30437#define wxUSE_LOGWINDOW 1
30438_ACEOF
30439
30440 fi
30441
30442 if test "$wxUSE_LOGDIALOG" = "yes"; then
30443 cat >>confdefs.h <<\_ACEOF
30444#define wxUSE_LOG_DIALOG 1
30445_ACEOF
30446
30447 fi
30448fi
30449
30450if test "$wxUSE_LONGLONG" = "yes"; then
30451 cat >>confdefs.h <<\_ACEOF
30452#define wxUSE_LONGLONG 1
30453_ACEOF
30454
30455fi
30456
30457if test "$wxUSE_GEOMETRY" = "yes"; then
30458 cat >>confdefs.h <<\_ACEOF
30459#define wxUSE_GEOMETRY 1
30460_ACEOF
30461
30462fi
30463
30464if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30465 cat >>confdefs.h <<\_ACEOF
30466#define wxUSE_DIALUP_MANAGER 1
30467_ACEOF
30468
30469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30470fi
30471
30472if test "$wxUSE_STREAMS" = "yes" ; then
30473 cat >>confdefs.h <<\_ACEOF
30474#define wxUSE_STREAMS 1
30475_ACEOF
30476
30477fi
30478
30479
30480if test "$wxUSE_DATETIME" = "yes"; then
30481
30482for ac_func in strptime
30483do
30484as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30485echo "$as_me:$LINENO: checking for $ac_func" >&5
30486echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30487if eval "test \"\${$as_ac_var+set}\" = set"; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30489else
30490 cat >conftest.$ac_ext <<_ACEOF
30491#line $LINENO "configure"
30492/* confdefs.h. */
30493_ACEOF
30494cat confdefs.h >>conftest.$ac_ext
30495cat >>conftest.$ac_ext <<_ACEOF
30496/* end confdefs.h. */
30497/* System header to define __stub macros and hopefully few prototypes,
30498 which can conflict with char $ac_func (); below.
30499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30500 <limits.h> exists even on freestanding compilers. */
30501#ifdef __STDC__
30502# include <limits.h>
30503#else
30504# include <assert.h>
30505#endif
30506/* Override any gcc2 internal prototype to avoid an error. */
30507#ifdef __cplusplus
30508extern "C"
30509{
30510#endif
30511/* We use char because int might match the return type of a gcc2
30512 builtin and then its argument prototype would still apply. */
30513char $ac_func ();
30514/* The GNU C library defines this for functions which it implements
30515 to always fail with ENOSYS. Some functions are actually named
30516 something starting with __ and the normal name is an alias. */
30517#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30518choke me
30519#else
30520char (*f) () = $ac_func;
30521#endif
30522#ifdef __cplusplus
30523}
30524#endif
30525
30526int
30527main ()
30528{
30529return f != $ac_func;
30530 ;
30531 return 0;
30532}
30533_ACEOF
30534rm -f conftest.$ac_objext conftest$ac_exeext
30535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30536 (eval $ac_link) 2>&5
30537 ac_status=$?
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } &&
30540 { ac_try='test -s conftest$ac_exeext'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30543 ac_status=$?
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; }; then
30546 eval "$as_ac_var=yes"
30547else
30548 echo "$as_me: failed program was:" >&5
30549sed 's/^/| /' conftest.$ac_ext >&5
30550
30551eval "$as_ac_var=no"
30552fi
30553rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30554fi
30555echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30556echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30557if test `eval echo '${'$as_ac_var'}'` = yes; then
30558 cat >>confdefs.h <<_ACEOF
30559#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30560_ACEOF
30561
30562fi
30563done
30564
30565
30566 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30567echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30568if test "${wx_cv_var_timezone+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30570else
30571
30572 cat >conftest.$ac_ext <<_ACEOF
30573#line $LINENO "configure"
30574/* confdefs.h. */
30575_ACEOF
30576cat confdefs.h >>conftest.$ac_ext
30577cat >>conftest.$ac_ext <<_ACEOF
30578/* end confdefs.h. */
30579
30580 #include <time.h>
30581
30582int
30583main ()
30584{
30585
30586 int tz;
30587 tz = timezone;
30588
30589 ;
30590 return 0;
30591}
30592_ACEOF
30593rm -f conftest.$ac_objext
30594if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30595 (eval $ac_compile) 2>&5
30596 ac_status=$?
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); } &&
30599 { ac_try='test -s conftest.$ac_objext'
30600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30601 (eval $ac_try) 2>&5
30602 ac_status=$?
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); }; }; then
30605
30606 wx_cv_var_timezone=timezone
30607
30608else
30609 echo "$as_me: failed program was:" >&5
30610sed 's/^/| /' conftest.$ac_ext >&5
30611
30612
30613 cat >conftest.$ac_ext <<_ACEOF
30614#line $LINENO "configure"
30615/* confdefs.h. */
30616_ACEOF
30617cat confdefs.h >>conftest.$ac_ext
30618cat >>conftest.$ac_ext <<_ACEOF
30619/* end confdefs.h. */
30620
30621 #include <time.h>
30622
30623int
30624main ()
30625{
30626
30627 int tz;
30628 tz = _timezone;
30629
30630 ;
30631 return 0;
30632}
30633_ACEOF
30634rm -f conftest.$ac_objext
30635if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30636 (eval $ac_compile) 2>&5
30637 ac_status=$?
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } &&
30640 { ac_try='test -s conftest.$ac_objext'
30641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30642 (eval $ac_try) 2>&5
30643 ac_status=$?
30644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645 (exit $ac_status); }; }; then
30646
30647 wx_cv_var_timezone=_timezone
30648
30649else
30650 echo "$as_me: failed program was:" >&5
30651sed 's/^/| /' conftest.$ac_ext >&5
30652
30653
30654 cat >conftest.$ac_ext <<_ACEOF
30655#line $LINENO "configure"
30656/* confdefs.h. */
30657_ACEOF
30658cat confdefs.h >>conftest.$ac_ext
30659cat >>conftest.$ac_ext <<_ACEOF
30660/* end confdefs.h. */
30661
30662 #include <time.h>
30663
30664int
30665main ()
30666{
30667
30668 int tz;
30669 tz = __timezone;
30670
30671 ;
30672 return 0;
30673}
30674_ACEOF
30675rm -f conftest.$ac_objext
30676if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30677 (eval $ac_compile) 2>&5
30678 ac_status=$?
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try='test -s conftest.$ac_objext'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30684 ac_status=$?
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; }; then
30687
30688 wx_cv_var_timezone=__timezone
30689
30690else
30691 echo "$as_me: failed program was:" >&5
30692sed 's/^/| /' conftest.$ac_ext >&5
30693
30694
30695 if test "$USE_DOS" = 0 ; then
30696 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30697echo "$as_me: WARNING: no timezone variable" >&2;}
30698 fi
30699
30700
30701fi
30702rm -f conftest.$ac_objext conftest.$ac_ext
30703
30704
30705fi
30706rm -f conftest.$ac_objext conftest.$ac_ext
30707
30708
30709fi
30710rm -f conftest.$ac_objext conftest.$ac_ext
30711
30712
30713fi
30714echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30715echo "${ECHO_T}$wx_cv_var_timezone" >&6
30716
30717 if test "x$wx_cv_var_timezone" != x ; then
30718 cat >>confdefs.h <<_ACEOF
30719#define WX_TIMEZONE $wx_cv_var_timezone
30720_ACEOF
30721
30722 fi
30723
30724
30725for ac_func in localtime
30726do
30727as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30728echo "$as_me:$LINENO: checking for $ac_func" >&5
30729echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30730if eval "test \"\${$as_ac_var+set}\" = set"; then
30731 echo $ECHO_N "(cached) $ECHO_C" >&6
30732else
30733 cat >conftest.$ac_ext <<_ACEOF
30734#line $LINENO "configure"
30735/* confdefs.h. */
30736_ACEOF
30737cat confdefs.h >>conftest.$ac_ext
30738cat >>conftest.$ac_ext <<_ACEOF
30739/* end confdefs.h. */
30740/* System header to define __stub macros and hopefully few prototypes,
30741 which can conflict with char $ac_func (); below.
30742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30743 <limits.h> exists even on freestanding compilers. */
30744#ifdef __STDC__
30745# include <limits.h>
30746#else
30747# include <assert.h>
30748#endif
30749/* Override any gcc2 internal prototype to avoid an error. */
30750#ifdef __cplusplus
30751extern "C"
30752{
30753#endif
30754/* We use char because int might match the return type of a gcc2
30755 builtin and then its argument prototype would still apply. */
30756char $ac_func ();
30757/* The GNU C library defines this for functions which it implements
30758 to always fail with ENOSYS. Some functions are actually named
30759 something starting with __ and the normal name is an alias. */
30760#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30761choke me
30762#else
30763char (*f) () = $ac_func;
30764#endif
30765#ifdef __cplusplus
30766}
30767#endif
30768
30769int
30770main ()
30771{
30772return f != $ac_func;
30773 ;
30774 return 0;
30775}
30776_ACEOF
30777rm -f conftest.$ac_objext conftest$ac_exeext
30778if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30779 (eval $ac_link) 2>&5
30780 ac_status=$?
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } &&
30783 { ac_try='test -s conftest$ac_exeext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30786 ac_status=$?
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30789 eval "$as_ac_var=yes"
30790else
30791 echo "$as_me: failed program was:" >&5
30792sed 's/^/| /' conftest.$ac_ext >&5
30793
30794eval "$as_ac_var=no"
30795fi
30796rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30797fi
30798echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30799echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30800if test `eval echo '${'$as_ac_var'}'` = yes; then
30801 cat >>confdefs.h <<_ACEOF
30802#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30803_ACEOF
30804
30805fi
30806done
30807
30808
30809 if test "$ac_cv_func_localtime" = "yes"; then
30810 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30811echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30812if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30813 echo $ECHO_N "(cached) $ECHO_C" >&6
30814else
30815
30816 cat >conftest.$ac_ext <<_ACEOF
30817#line $LINENO "configure"
30818/* confdefs.h. */
30819_ACEOF
30820cat confdefs.h >>conftest.$ac_ext
30821cat >>conftest.$ac_ext <<_ACEOF
30822/* end confdefs.h. */
30823
30824 #include <time.h>
30825
30826int
30827main ()
30828{
30829
30830 struct tm tm;
30831 tm.tm_gmtoff++;
30832
30833 ;
30834 return 0;
30835}
30836_ACEOF
30837rm -f conftest.$ac_objext
30838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30839 (eval $ac_compile) 2>&5
30840 ac_status=$?
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } &&
30843 { ac_try='test -s conftest.$ac_objext'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30846 ac_status=$?
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; }; then
30849
30850 wx_cv_struct_tm_has_gmtoff=yes
30851
30852else
30853 echo "$as_me: failed program was:" >&5
30854sed 's/^/| /' conftest.$ac_ext >&5
30855
30856wx_cv_struct_tm_has_gmtoff=no
30857
30858fi
30859rm -f conftest.$ac_objext conftest.$ac_ext
30860
30861fi
30862echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30863echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30864 fi
30865
30866 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30867 cat >>confdefs.h <<\_ACEOF
30868#define WX_GMTOFF_IN_TM 1
30869_ACEOF
30870
30871 fi
30872
30873
30874
30875for ac_func in gettimeofday ftime
30876do
30877as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30878echo "$as_me:$LINENO: checking for $ac_func" >&5
30879echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30880if eval "test \"\${$as_ac_var+set}\" = set"; then
30881 echo $ECHO_N "(cached) $ECHO_C" >&6
30882else
30883 cat >conftest.$ac_ext <<_ACEOF
30884#line $LINENO "configure"
30885/* confdefs.h. */
30886_ACEOF
30887cat confdefs.h >>conftest.$ac_ext
30888cat >>conftest.$ac_ext <<_ACEOF
30889/* end confdefs.h. */
30890/* System header to define __stub macros and hopefully few prototypes,
30891 which can conflict with char $ac_func (); below.
30892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30893 <limits.h> exists even on freestanding compilers. */
30894#ifdef __STDC__
30895# include <limits.h>
30896#else
30897# include <assert.h>
30898#endif
30899/* Override any gcc2 internal prototype to avoid an error. */
30900#ifdef __cplusplus
30901extern "C"
30902{
30903#endif
30904/* We use char because int might match the return type of a gcc2
30905 builtin and then its argument prototype would still apply. */
30906char $ac_func ();
30907/* The GNU C library defines this for functions which it implements
30908 to always fail with ENOSYS. Some functions are actually named
30909 something starting with __ and the normal name is an alias. */
30910#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30911choke me
30912#else
30913char (*f) () = $ac_func;
30914#endif
30915#ifdef __cplusplus
30916}
30917#endif
30918
30919int
30920main ()
30921{
30922return f != $ac_func;
30923 ;
30924 return 0;
30925}
30926_ACEOF
30927rm -f conftest.$ac_objext conftest$ac_exeext
30928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30929 (eval $ac_link) 2>&5
30930 ac_status=$?
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); } &&
30933 { ac_try='test -s conftest$ac_exeext'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; }; then
30939 eval "$as_ac_var=yes"
30940else
30941 echo "$as_me: failed program was:" >&5
30942sed 's/^/| /' conftest.$ac_ext >&5
30943
30944eval "$as_ac_var=no"
30945fi
30946rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30947fi
30948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30949echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30950if test `eval echo '${'$as_ac_var'}'` = yes; then
30951 cat >>confdefs.h <<_ACEOF
30952#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30953_ACEOF
30954 break
30955fi
30956done
30957
30958
30959 if test "$ac_cv_func_gettimeofday" = "yes"; then
30960 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30961echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30962if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30963 echo $ECHO_N "(cached) $ECHO_C" >&6
30964else
30965
30966
30967
30968 ac_ext=cc
30969ac_cpp='$CXXCPP $CPPFLAGS'
30970ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30973
30974
30975 cat >conftest.$ac_ext <<_ACEOF
30976#line $LINENO "configure"
30977/* confdefs.h. */
30978_ACEOF
30979cat confdefs.h >>conftest.$ac_ext
30980cat >>conftest.$ac_ext <<_ACEOF
30981/* end confdefs.h. */
30982
30983 #include <sys/time.h>
30984 #include <unistd.h>
30985
30986int
30987main ()
30988{
30989
30990 struct timeval tv;
30991 gettimeofday(&tv, NULL);
30992
30993 ;
30994 return 0;
30995}
30996_ACEOF
30997rm -f conftest.$ac_objext
30998if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30999 (eval $ac_compile) 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); } &&
31003 { ac_try='test -s conftest.$ac_objext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 wx_cv_func_gettimeofday_has_2_args=yes
31010else
31011 echo "$as_me: failed program was:" >&5
31012sed 's/^/| /' conftest.$ac_ext >&5
31013
31014cat >conftest.$ac_ext <<_ACEOF
31015#line $LINENO "configure"
31016/* confdefs.h. */
31017_ACEOF
31018cat confdefs.h >>conftest.$ac_ext
31019cat >>conftest.$ac_ext <<_ACEOF
31020/* end confdefs.h. */
31021
31022 #include <sys/time.h>
31023 #include <unistd.h>
31024
31025int
31026main ()
31027{
31028
31029 struct timeval tv;
31030 gettimeofday(&tv);
31031
31032 ;
31033 return 0;
31034}
31035_ACEOF
31036rm -f conftest.$ac_objext
31037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31038 (eval $ac_compile) 2>&5
31039 ac_status=$?
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } &&
31042 { ac_try='test -s conftest.$ac_objext'
31043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31045 ac_status=$?
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); }; }; then
31048 wx_cv_func_gettimeofday_has_2_args=no
31049else
31050 echo "$as_me: failed program was:" >&5
31051sed 's/^/| /' conftest.$ac_ext >&5
31052
31053
31054 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31055echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31056 wx_cv_func_gettimeofday_has_2_args=unknown
31057
31058
31059fi
31060rm -f conftest.$ac_objext conftest.$ac_ext
31061
31062fi
31063rm -f conftest.$ac_objext conftest.$ac_ext
31064 ac_ext=c
31065ac_cpp='$CPP $CPPFLAGS'
31066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068ac_compiler_gnu=$ac_cv_c_compiler_gnu
31069
31070
31071fi
31072echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31073echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31074
31075 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31076 cat >>confdefs.h <<\_ACEOF
31077#define WX_GETTIMEOFDAY_NO_TZ 1
31078_ACEOF
31079
31080 fi
31081 fi
31082
31083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31084fi
31085
31086
31087if test "$wxUSE_SOCKETS" = "yes"; then
31088 if test "$wxUSE_MGL" = "1"; then
31089 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31090echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31091 wxUSE_SOCKETS="no"
31092 fi
31093 if test "$wxUSE_COCOA" = "1"; then
31094 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31095echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31096 wxUSE_SOCKETS="no"
31097 fi
31098fi
31099
31100if test "$wxUSE_SOCKETS" = "yes"; then
31101 if test "$TOOLKIT" != "MSW"; then
31102 echo "$as_me:$LINENO: checking for socket" >&5
31103echo $ECHO_N "checking for socket... $ECHO_C" >&6
31104if test "${ac_cv_func_socket+set}" = set; then
31105 echo $ECHO_N "(cached) $ECHO_C" >&6
31106else
31107 cat >conftest.$ac_ext <<_ACEOF
31108#line $LINENO "configure"
31109/* confdefs.h. */
31110_ACEOF
31111cat confdefs.h >>conftest.$ac_ext
31112cat >>conftest.$ac_ext <<_ACEOF
31113/* end confdefs.h. */
31114/* System header to define __stub macros and hopefully few prototypes,
31115 which can conflict with char socket (); below.
31116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31117 <limits.h> exists even on freestanding compilers. */
31118#ifdef __STDC__
31119# include <limits.h>
31120#else
31121# include <assert.h>
31122#endif
31123/* Override any gcc2 internal prototype to avoid an error. */
31124#ifdef __cplusplus
31125extern "C"
31126{
31127#endif
31128/* We use char because int might match the return type of a gcc2
31129 builtin and then its argument prototype would still apply. */
31130char socket ();
31131/* The GNU C library defines this for functions which it implements
31132 to always fail with ENOSYS. Some functions are actually named
31133 something starting with __ and the normal name is an alias. */
31134#if defined (__stub_socket) || defined (__stub___socket)
31135choke me
31136#else
31137char (*f) () = socket;
31138#endif
31139#ifdef __cplusplus
31140}
31141#endif
31142
31143int
31144main ()
31145{
31146return f != socket;
31147 ;
31148 return 0;
31149}
31150_ACEOF
31151rm -f conftest.$ac_objext conftest$ac_exeext
31152if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31153 (eval $ac_link) 2>&5
31154 ac_status=$?
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); } &&
31157 { ac_try='test -s conftest$ac_exeext'
31158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31159 (eval $ac_try) 2>&5
31160 ac_status=$?
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); }; }; then
31163 ac_cv_func_socket=yes
31164else
31165 echo "$as_me: failed program was:" >&5
31166sed 's/^/| /' conftest.$ac_ext >&5
31167
31168ac_cv_func_socket=no
31169fi
31170rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31171fi
31172echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31173echo "${ECHO_T}$ac_cv_func_socket" >&6
31174if test $ac_cv_func_socket = yes; then
31175 :
31176else
31177 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31178echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31179if test "${ac_cv_lib_socket_socket+set}" = set; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31181else
31182 ac_check_lib_save_LIBS=$LIBS
31183LIBS="-lsocket $LIBS"
31184cat >conftest.$ac_ext <<_ACEOF
31185#line $LINENO "configure"
31186/* confdefs.h. */
31187_ACEOF
31188cat confdefs.h >>conftest.$ac_ext
31189cat >>conftest.$ac_ext <<_ACEOF
31190/* end confdefs.h. */
31191
31192/* Override any gcc2 internal prototype to avoid an error. */
31193#ifdef __cplusplus
31194extern "C"
31195#endif
31196/* We use char because int might match the return type of a gcc2
31197 builtin and then its argument prototype would still apply. */
31198char socket ();
31199int
31200main ()
31201{
31202socket ();
31203 ;
31204 return 0;
31205}
31206_ACEOF
31207rm -f conftest.$ac_objext conftest$ac_exeext
31208if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -s conftest$ac_exeext'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31216 ac_status=$?
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; }; then
31219 ac_cv_lib_socket_socket=yes
31220else
31221 echo "$as_me: failed program was:" >&5
31222sed 's/^/| /' conftest.$ac_ext >&5
31223
31224ac_cv_lib_socket_socket=no
31225fi
31226rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31227LIBS=$ac_check_lib_save_LIBS
31228fi
31229echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31230echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31231if test $ac_cv_lib_socket_socket = yes; then
31232 if test "$INET_LINK" != " -lsocket"; then
31233 INET_LINK="$INET_LINK -lsocket"
31234 fi
31235else
31236
31237 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31238echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31239 wxUSE_SOCKETS=no
31240
31241
31242fi
31243
31244
31245fi
31246
31247 fi
31248fi
31249
31250if test "$wxUSE_SOCKETS" = "yes" ; then
31251 if test "$TOOLKIT" != "MSW"; then
31252 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31253echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31254if test "${wx_cv_type_getsockname3+set}" = set; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31256else
31257
31258 cat >conftest.$ac_ext <<_ACEOF
31259#line $LINENO "configure"
31260/* confdefs.h. */
31261_ACEOF
31262cat confdefs.h >>conftest.$ac_ext
31263cat >>conftest.$ac_ext <<_ACEOF
31264/* end confdefs.h. */
31265
31266 #include <sys/types.h>
31267 #include <sys/socket.h>
31268
31269int
31270main ()
31271{
31272
31273 socklen_t len;
31274 getsockname(0, 0, &len);
31275
31276 ;
31277 return 0;
31278}
31279_ACEOF
31280rm -f conftest.$ac_objext
31281if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31282 (eval $ac_compile) 2>&5
31283 ac_status=$?
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); } &&
31286 { ac_try='test -s conftest.$ac_objext'
31287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31288 (eval $ac_try) 2>&5
31289 ac_status=$?
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); }; }; then
31292 wx_cv_type_getsockname3=socklen_t
31293else
31294 echo "$as_me: failed program was:" >&5
31295sed 's/^/| /' conftest.$ac_ext >&5
31296
31297
31298 CFLAGS_OLD="$CFLAGS"
31299 if test "$GCC" = yes ; then
31300 CFLAGS="$CFLAGS -Werror"
31301 fi
31302
31303 cat >conftest.$ac_ext <<_ACEOF
31304#line $LINENO "configure"
31305/* confdefs.h. */
31306_ACEOF
31307cat confdefs.h >>conftest.$ac_ext
31308cat >>conftest.$ac_ext <<_ACEOF
31309/* end confdefs.h. */
31310
31311 #include <sys/types.h>
31312 #include <sys/socket.h>
31313
31314int
31315main ()
31316{
31317
31318 size_t len;
31319 getsockname(0, 0, &len);
31320
31321 ;
31322 return 0;
31323}
31324_ACEOF
31325rm -f conftest.$ac_objext
31326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31327 (eval $ac_compile) 2>&5
31328 ac_status=$?
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try='test -s conftest.$ac_objext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31334 ac_status=$?
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 wx_cv_type_getsockname3=size_t
31338else
31339 echo "$as_me: failed program was:" >&5
31340sed 's/^/| /' conftest.$ac_ext >&5
31341
31342cat >conftest.$ac_ext <<_ACEOF
31343#line $LINENO "configure"
31344/* confdefs.h. */
31345_ACEOF
31346cat confdefs.h >>conftest.$ac_ext
31347cat >>conftest.$ac_ext <<_ACEOF
31348/* end confdefs.h. */
31349
31350 #include <sys/types.h>
31351 #include <sys/socket.h>
31352
31353int
31354main ()
31355{
31356
31357 int len;
31358 getsockname(0, 0, &len);
31359
31360 ;
31361 return 0;
31362}
31363_ACEOF
31364rm -f conftest.$ac_objext
31365if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31366 (eval $ac_compile) 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); } &&
31370 { ac_try='test -s conftest.$ac_objext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31373 ac_status=$?
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 wx_cv_type_getsockname3=int
31377else
31378 echo "$as_me: failed program was:" >&5
31379sed 's/^/| /' conftest.$ac_ext >&5
31380
31381wx_cv_type_getsockname3=unknown
31382
31383fi
31384rm -f conftest.$ac_objext conftest.$ac_ext
31385
31386fi
31387rm -f conftest.$ac_objext conftest.$ac_ext
31388
31389 CFLAGS="$CFLAGS_OLD"
31390
31391
31392fi
31393rm -f conftest.$ac_objext conftest.$ac_ext
31394
31395fi
31396echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31397echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31398
31399 if test "$wx_cv_type_getsockname3" = "unknown"; then
31400 wxUSE_SOCKETS=no
31401 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31402echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31403 else
31404 cat >>confdefs.h <<_ACEOF
31405#define SOCKLEN_T $wx_cv_type_getsockname3
31406_ACEOF
31407
31408 fi
31409 fi
31410fi
31411
31412if test "$wxUSE_SOCKETS" = "yes" ; then
31413 cat >>confdefs.h <<\_ACEOF
31414#define wxUSE_SOCKETS 1
31415_ACEOF
31416
31417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31418fi
31419
31420if test "$wxUSE_PROTOCOL" = "yes"; then
31421 if test "$wxUSE_SOCKETS" != "yes"; then
31422 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31423echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31424 wxUSE_PROTOCOL=no
31425 fi
31426fi
31427
31428if test "$wxUSE_PROTOCOL" = "yes"; then
31429 cat >>confdefs.h <<\_ACEOF
31430#define wxUSE_PROTOCOL 1
31431_ACEOF
31432
31433
31434 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31435 cat >>confdefs.h <<\_ACEOF
31436#define wxUSE_PROTOCOL_HTTP 1
31437_ACEOF
31438
31439 fi
31440 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31441 cat >>confdefs.h <<\_ACEOF
31442#define wxUSE_PROTOCOL_FTP 1
31443_ACEOF
31444
31445 fi
31446 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31447 cat >>confdefs.h <<\_ACEOF
31448#define wxUSE_PROTOCOL_FILE 1
31449_ACEOF
31450
31451 fi
31452else
31453 if test "$wxUSE_FS_INET" = "yes"; then
31454 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31455echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31456 wxUSE_FS_INET="no"
31457 fi
31458fi
31459
31460if test "$wxUSE_URL" = "yes"; then
31461 if test "$wxUSE_PROTOCOL" != "yes"; then
31462 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31463echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31464 wxUSE_URL=no
31465 fi
31466 if test "$wxUSE_URL" = "yes"; then
31467 cat >>confdefs.h <<\_ACEOF
31468#define wxUSE_URL 1
31469_ACEOF
31470
31471 fi
31472fi
31473
31474if test "$wxUSE_FS_INET" = "yes"; then
31475 cat >>confdefs.h <<\_ACEOF
31476#define wxUSE_FS_INET 1
31477_ACEOF
31478
31479fi
31480
31481
31482if test "$wxUSE_GUI" = "yes"; then
31483
31484 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31485 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31486echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31487 wxUSE_JOYSTICK=no
31488 fi
31489
31490 if test "$TOOLKIT" != "MSW"; then
31491 if test "$wxUSE_JOYSTICK" = "yes"; then
31492
31493for ac_header in linux/joystick.h
31494do
31495as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31496if eval "test \"\${$as_ac_Header+set}\" = set"; then
31497 echo "$as_me:$LINENO: checking for $ac_header" >&5
31498echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31499if eval "test \"\${$as_ac_Header+set}\" = set"; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31501fi
31502echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31503echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31504else
31505 # Is the header compilable?
31506echo "$as_me:$LINENO: checking $ac_header usability" >&5
31507echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31508cat >conftest.$ac_ext <<_ACEOF
31509#line $LINENO "configure"
31510/* confdefs.h. */
31511_ACEOF
31512cat confdefs.h >>conftest.$ac_ext
31513cat >>conftest.$ac_ext <<_ACEOF
31514/* end confdefs.h. */
31515$ac_includes_default
31516#include <$ac_header>
31517_ACEOF
31518rm -f conftest.$ac_objext
31519if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31520 (eval $ac_compile) 2>&5
31521 ac_status=$?
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); } &&
31524 { ac_try='test -s conftest.$ac_objext'
31525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31526 (eval $ac_try) 2>&5
31527 ac_status=$?
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; }; then
31530 ac_header_compiler=yes
31531else
31532 echo "$as_me: failed program was:" >&5
31533sed 's/^/| /' conftest.$ac_ext >&5
31534
31535ac_header_compiler=no
31536fi
31537rm -f conftest.$ac_objext conftest.$ac_ext
31538echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31539echo "${ECHO_T}$ac_header_compiler" >&6
31540
31541# Is the header present?
31542echo "$as_me:$LINENO: checking $ac_header presence" >&5
31543echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31544cat >conftest.$ac_ext <<_ACEOF
31545#line $LINENO "configure"
31546/* confdefs.h. */
31547_ACEOF
31548cat confdefs.h >>conftest.$ac_ext
31549cat >>conftest.$ac_ext <<_ACEOF
31550/* end confdefs.h. */
31551#include <$ac_header>
31552_ACEOF
31553if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31555 ac_status=$?
31556 grep -v '^ *+' conftest.er1 >conftest.err
31557 rm -f conftest.er1
31558 cat conftest.err >&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); } >/dev/null; then
31561 if test -s conftest.err; then
31562 ac_cpp_err=$ac_c_preproc_warn_flag
31563 else
31564 ac_cpp_err=
31565 fi
31566else
31567 ac_cpp_err=yes
31568fi
31569if test -z "$ac_cpp_err"; then
31570 ac_header_preproc=yes
31571else
31572 echo "$as_me: failed program was:" >&5
31573sed 's/^/| /' conftest.$ac_ext >&5
31574
31575 ac_header_preproc=no
31576fi
31577rm -f conftest.err conftest.$ac_ext
31578echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31579echo "${ECHO_T}$ac_header_preproc" >&6
31580
31581# So? What about this header?
31582case $ac_header_compiler:$ac_header_preproc in
31583 yes:no )
31584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31585echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31587echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31588 (
31589 cat <<\_ASBOX
31590## ------------------------------------ ##
31591## Report this to bug-autoconf@gnu.org. ##
31592## ------------------------------------ ##
31593_ASBOX
31594 ) |
31595 sed "s/^/$as_me: WARNING: /" >&2
31596 ;;
31597 no:yes )
31598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31599echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31601echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31603echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31604 (
31605 cat <<\_ASBOX
31606## ------------------------------------ ##
31607## Report this to bug-autoconf@gnu.org. ##
31608## ------------------------------------ ##
31609_ASBOX
31610 ) |
31611 sed "s/^/$as_me: WARNING: /" >&2
31612 ;;
31613esac
31614echo "$as_me:$LINENO: checking for $ac_header" >&5
31615echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31616if eval "test \"\${$as_ac_Header+set}\" = set"; then
31617 echo $ECHO_N "(cached) $ECHO_C" >&6
31618else
31619 eval "$as_ac_Header=$ac_header_preproc"
31620fi
31621echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31622echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31623
31624fi
31625if test `eval echo '${'$as_ac_Header'}'` = yes; then
31626 cat >>confdefs.h <<_ACEOF
31627#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31628_ACEOF
31629
31630fi
31631
31632done
31633
31634 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31635 wxUSE_JOYSTICK=no
31636 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31637echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31638 fi
31639 fi
31640 fi
31641
31642 if test "$wxUSE_JOYSTICK" = "yes"; then
31643 cat >>confdefs.h <<\_ACEOF
31644#define wxUSE_JOYSTICK 1
31645_ACEOF
31646
31647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31648 fi
31649fi
31650
31651
31652if test "$TOOLKIT" != "MSW"; then
31653
31654 HAVE_DL_FUNCS=0
31655 HAVE_SHL_FUNCS=0
31656 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31657 if test "$USE_DARWIN" = 1; then
31658 HAVE_DL_FUNCS=1
31659 else
31660
31661for ac_func in dlopen
31662do
31663as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31664echo "$as_me:$LINENO: checking for $ac_func" >&5
31665echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31666if eval "test \"\${$as_ac_var+set}\" = set"; then
31667 echo $ECHO_N "(cached) $ECHO_C" >&6
31668else
31669 cat >conftest.$ac_ext <<_ACEOF
31670#line $LINENO "configure"
31671/* confdefs.h. */
31672_ACEOF
31673cat confdefs.h >>conftest.$ac_ext
31674cat >>conftest.$ac_ext <<_ACEOF
31675/* end confdefs.h. */
31676/* System header to define __stub macros and hopefully few prototypes,
31677 which can conflict with char $ac_func (); below.
31678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31679 <limits.h> exists even on freestanding compilers. */
31680#ifdef __STDC__
31681# include <limits.h>
31682#else
31683# include <assert.h>
31684#endif
31685/* Override any gcc2 internal prototype to avoid an error. */
31686#ifdef __cplusplus
31687extern "C"
31688{
31689#endif
31690/* We use char because int might match the return type of a gcc2
31691 builtin and then its argument prototype would still apply. */
31692char $ac_func ();
31693/* The GNU C library defines this for functions which it implements
31694 to always fail with ENOSYS. Some functions are actually named
31695 something starting with __ and the normal name is an alias. */
31696#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31697choke me
31698#else
31699char (*f) () = $ac_func;
31700#endif
31701#ifdef __cplusplus
31702}
31703#endif
31704
31705int
31706main ()
31707{
31708return f != $ac_func;
31709 ;
31710 return 0;
31711}
31712_ACEOF
31713rm -f conftest.$ac_objext conftest$ac_exeext
31714if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31715 (eval $ac_link) 2>&5
31716 ac_status=$?
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try='test -s conftest$ac_exeext'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31722 ac_status=$?
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; }; then
31725 eval "$as_ac_var=yes"
31726else
31727 echo "$as_me: failed program was:" >&5
31728sed 's/^/| /' conftest.$ac_ext >&5
31729
31730eval "$as_ac_var=no"
31731fi
31732rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31733fi
31734echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31735echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31736if test `eval echo '${'$as_ac_var'}'` = yes; then
31737 cat >>confdefs.h <<_ACEOF
31738#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31739_ACEOF
31740
31741 cat >>confdefs.h <<\_ACEOF
31742#define HAVE_DLOPEN 1
31743_ACEOF
31744
31745 HAVE_DL_FUNCS=1
31746
31747else
31748
31749 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31750echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31751if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31753else
31754 ac_check_lib_save_LIBS=$LIBS
31755LIBS="-ldl $LIBS"
31756cat >conftest.$ac_ext <<_ACEOF
31757#line $LINENO "configure"
31758/* confdefs.h. */
31759_ACEOF
31760cat confdefs.h >>conftest.$ac_ext
31761cat >>conftest.$ac_ext <<_ACEOF
31762/* end confdefs.h. */
31763
31764/* Override any gcc2 internal prototype to avoid an error. */
31765#ifdef __cplusplus
31766extern "C"
31767#endif
31768/* We use char because int might match the return type of a gcc2
31769 builtin and then its argument prototype would still apply. */
31770char dlopen ();
31771int
31772main ()
31773{
31774dlopen ();
31775 ;
31776 return 0;
31777}
31778_ACEOF
31779rm -f conftest.$ac_objext conftest$ac_exeext
31780if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31781 (eval $ac_link) 2>&5
31782 ac_status=$?
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); } &&
31785 { ac_try='test -s conftest$ac_exeext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31788 ac_status=$?
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31791 ac_cv_lib_dl_dlopen=yes
31792else
31793 echo "$as_me: failed program was:" >&5
31794sed 's/^/| /' conftest.$ac_ext >&5
31795
31796ac_cv_lib_dl_dlopen=no
31797fi
31798rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31799LIBS=$ac_check_lib_save_LIBS
31800fi
31801echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31802echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31803if test $ac_cv_lib_dl_dlopen = yes; then
31804
31805 cat >>confdefs.h <<\_ACEOF
31806#define HAVE_DLOPEN 1
31807_ACEOF
31808
31809 HAVE_DL_FUNCS=1
31810 DL_LINK=" -ldl$DL_LINK"
31811
31812else
31813
31814
31815for ac_func in shl_load
31816do
31817as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31818echo "$as_me:$LINENO: checking for $ac_func" >&5
31819echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31820if eval "test \"\${$as_ac_var+set}\" = set"; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31822else
31823 cat >conftest.$ac_ext <<_ACEOF
31824#line $LINENO "configure"
31825/* confdefs.h. */
31826_ACEOF
31827cat confdefs.h >>conftest.$ac_ext
31828cat >>conftest.$ac_ext <<_ACEOF
31829/* end confdefs.h. */
31830/* System header to define __stub macros and hopefully few prototypes,
31831 which can conflict with char $ac_func (); below.
31832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31833 <limits.h> exists even on freestanding compilers. */
31834#ifdef __STDC__
31835# include <limits.h>
31836#else
31837# include <assert.h>
31838#endif
31839/* Override any gcc2 internal prototype to avoid an error. */
31840#ifdef __cplusplus
31841extern "C"
31842{
31843#endif
31844/* We use char because int might match the return type of a gcc2
31845 builtin and then its argument prototype would still apply. */
31846char $ac_func ();
31847/* The GNU C library defines this for functions which it implements
31848 to always fail with ENOSYS. Some functions are actually named
31849 something starting with __ and the normal name is an alias. */
31850#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31851choke me
31852#else
31853char (*f) () = $ac_func;
31854#endif
31855#ifdef __cplusplus
31856}
31857#endif
31858
31859int
31860main ()
31861{
31862return f != $ac_func;
31863 ;
31864 return 0;
31865}
31866_ACEOF
31867rm -f conftest.$ac_objext conftest$ac_exeext
31868if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31869 (eval $ac_link) 2>&5
31870 ac_status=$?
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); } &&
31873 { ac_try='test -s conftest$ac_exeext'
31874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31875 (eval $ac_try) 2>&5
31876 ac_status=$?
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); }; }; then
31879 eval "$as_ac_var=yes"
31880else
31881 echo "$as_me: failed program was:" >&5
31882sed 's/^/| /' conftest.$ac_ext >&5
31883
31884eval "$as_ac_var=no"
31885fi
31886rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31887fi
31888echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31889echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31890if test `eval echo '${'$as_ac_var'}'` = yes; then
31891 cat >>confdefs.h <<_ACEOF
31892#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31893_ACEOF
31894
31895 cat >>confdefs.h <<\_ACEOF
31896#define HAVE_SHL_LOAD 1
31897_ACEOF
31898
31899 HAVE_SHL_FUNCS=1
31900
31901else
31902
31903 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31904echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31905if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31906 echo $ECHO_N "(cached) $ECHO_C" >&6
31907else
31908 ac_check_lib_save_LIBS=$LIBS
31909LIBS="-lshl_load $LIBS"
31910cat >conftest.$ac_ext <<_ACEOF
31911#line $LINENO "configure"
31912/* confdefs.h. */
31913_ACEOF
31914cat confdefs.h >>conftest.$ac_ext
31915cat >>conftest.$ac_ext <<_ACEOF
31916/* end confdefs.h. */
31917
31918/* Override any gcc2 internal prototype to avoid an error. */
31919#ifdef __cplusplus
31920extern "C"
31921#endif
31922/* We use char because int might match the return type of a gcc2
31923 builtin and then its argument prototype would still apply. */
31924char dld ();
31925int
31926main ()
31927{
31928dld ();
31929 ;
31930 return 0;
31931}
31932_ACEOF
31933rm -f conftest.$ac_objext conftest$ac_exeext
31934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31935 (eval $ac_link) 2>&5
31936 ac_status=$?
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); } &&
31939 { ac_try='test -s conftest$ac_exeext'
31940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31941 (eval $ac_try) 2>&5
31942 ac_status=$?
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); }; }; then
31945 ac_cv_lib_shl_load_dld=yes
31946else
31947 echo "$as_me: failed program was:" >&5
31948sed 's/^/| /' conftest.$ac_ext >&5
31949
31950ac_cv_lib_shl_load_dld=no
31951fi
31952rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31953LIBS=$ac_check_lib_save_LIBS
31954fi
31955echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31956echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31957if test $ac_cv_lib_shl_load_dld = yes; then
31958
31959 HAVE_SHL_FUNCS=1
31960 DL_LINK=" -ldld$DL_LINK"
31961
31962fi
31963
31964
31965fi
31966done
31967
31968
31969fi
31970
31971
31972fi
31973done
31974
31975
31976 if test "$HAVE_DL_FUNCS" = 1; then
31977
31978for ac_func in dlerror
31979do
31980as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31981echo "$as_me:$LINENO: checking for $ac_func" >&5
31982echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31983if eval "test \"\${$as_ac_var+set}\" = set"; then
31984 echo $ECHO_N "(cached) $ECHO_C" >&6
31985else
31986 cat >conftest.$ac_ext <<_ACEOF
31987#line $LINENO "configure"
31988/* confdefs.h. */
31989_ACEOF
31990cat confdefs.h >>conftest.$ac_ext
31991cat >>conftest.$ac_ext <<_ACEOF
31992/* end confdefs.h. */
31993/* System header to define __stub macros and hopefully few prototypes,
31994 which can conflict with char $ac_func (); below.
31995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31996 <limits.h> exists even on freestanding compilers. */
31997#ifdef __STDC__
31998# include <limits.h>
31999#else
32000# include <assert.h>
32001#endif
32002/* Override any gcc2 internal prototype to avoid an error. */
32003#ifdef __cplusplus
32004extern "C"
32005{
32006#endif
32007/* We use char because int might match the return type of a gcc2
32008 builtin and then its argument prototype would still apply. */
32009char $ac_func ();
32010/* The GNU C library defines this for functions which it implements
32011 to always fail with ENOSYS. Some functions are actually named
32012 something starting with __ and the normal name is an alias. */
32013#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32014choke me
32015#else
32016char (*f) () = $ac_func;
32017#endif
32018#ifdef __cplusplus
32019}
32020#endif
32021
32022int
32023main ()
32024{
32025return f != $ac_func;
32026 ;
32027 return 0;
32028}
32029_ACEOF
32030rm -f conftest.$ac_objext conftest$ac_exeext
32031if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32032 (eval $ac_link) 2>&5
32033 ac_status=$?
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } &&
32036 { ac_try='test -s conftest$ac_exeext'
32037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32038 (eval $ac_try) 2>&5
32039 ac_status=$?
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); }; }; then
32042 eval "$as_ac_var=yes"
32043else
32044 echo "$as_me: failed program was:" >&5
32045sed 's/^/| /' conftest.$ac_ext >&5
32046
32047eval "$as_ac_var=no"
32048fi
32049rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32050fi
32051echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32052echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32053if test `eval echo '${'$as_ac_var'}'` = yes; then
32054 cat >>confdefs.h <<_ACEOF
32055#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32056_ACEOF
32057 cat >>confdefs.h <<\_ACEOF
32058#define HAVE_DLERROR 1
32059_ACEOF
32060
32061else
32062 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32063echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32064if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32065 echo $ECHO_N "(cached) $ECHO_C" >&6
32066else
32067 ac_check_lib_save_LIBS=$LIBS
32068LIBS="-ldl $LIBS"
32069cat >conftest.$ac_ext <<_ACEOF
32070#line $LINENO "configure"
32071/* confdefs.h. */
32072_ACEOF
32073cat confdefs.h >>conftest.$ac_ext
32074cat >>conftest.$ac_ext <<_ACEOF
32075/* end confdefs.h. */
32076
32077/* Override any gcc2 internal prototype to avoid an error. */
32078#ifdef __cplusplus
32079extern "C"
32080#endif
32081/* We use char because int might match the return type of a gcc2
32082 builtin and then its argument prototype would still apply. */
32083char dlerror ();
32084int
32085main ()
32086{
32087dlerror ();
32088 ;
32089 return 0;
32090}
32091_ACEOF
32092rm -f conftest.$ac_objext conftest$ac_exeext
32093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32094 (eval $ac_link) 2>&5
32095 ac_status=$?
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try='test -s conftest$ac_exeext'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; }; then
32104 ac_cv_lib_dl_dlerror=yes
32105else
32106 echo "$as_me: failed program was:" >&5
32107sed 's/^/| /' conftest.$ac_ext >&5
32108
32109ac_cv_lib_dl_dlerror=no
32110fi
32111rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32112LIBS=$ac_check_lib_save_LIBS
32113fi
32114echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32115echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32116if test $ac_cv_lib_dl_dlerror = yes; then
32117 cat >>confdefs.h <<\_ACEOF
32118#define HAVE_DLERROR 1
32119_ACEOF
32120
32121fi
32122
32123fi
32124done
32125
32126 fi
32127 fi
32128
32129 if test "$HAVE_DL_FUNCS" = 0; then
32130 if test "$HAVE_SHL_FUNCS" = 0; then
32131 if test "$USE_UNIX" = 1; then
32132 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32133echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32134 wxUSE_DYNAMIC_LOADER=no
32135 wxUSE_DYNLIB_CLASS=no
32136 else
32137 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32138echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32139 fi
32140 fi
32141 fi
32142 fi
32143fi
32144
32145if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32146 cat >>confdefs.h <<\_ACEOF
32147#define wxUSE_DYNAMIC_LOADER 1
32148_ACEOF
32149
32150fi
32151if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32152 cat >>confdefs.h <<\_ACEOF
32153#define wxUSE_DYNLIB_CLASS 1
32154_ACEOF
32155
32156fi
32157
32158
32159if test "$wxUSE_FONTMAP" = "yes" ; then
32160 cat >>confdefs.h <<\_ACEOF
32161#define wxUSE_FONTMAP 1
32162_ACEOF
32163
32164fi
32165
32166if test "$wxUSE_UNICODE" = "yes" ; then
32167 cat >>confdefs.h <<\_ACEOF
32168#define wxUSE_UNICODE 1
32169_ACEOF
32170
32171
32172 if test "$wxUSE_MSW" != 1; then
32173 wxUSE_UNICODE_MSLU=no
32174 fi
32175
32176 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32177 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32178echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32179if test "${ac_cv_lib_unicows_main+set}" = set; then
32180 echo $ECHO_N "(cached) $ECHO_C" >&6
32181else
32182 ac_check_lib_save_LIBS=$LIBS
32183LIBS="-lunicows $LIBS"
32184cat >conftest.$ac_ext <<_ACEOF
32185#line $LINENO "configure"
32186/* confdefs.h. */
32187_ACEOF
32188cat confdefs.h >>conftest.$ac_ext
32189cat >>conftest.$ac_ext <<_ACEOF
32190/* end confdefs.h. */
32191
32192
32193int
32194main ()
32195{
32196main ();
32197 ;
32198 return 0;
32199}
32200_ACEOF
32201rm -f conftest.$ac_objext conftest$ac_exeext
32202if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32203 (eval $ac_link) 2>&5
32204 ac_status=$?
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); } &&
32207 { ac_try='test -s conftest$ac_exeext'
32208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32209 (eval $ac_try) 2>&5
32210 ac_status=$?
32211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212 (exit $ac_status); }; }; then
32213 ac_cv_lib_unicows_main=yes
32214else
32215 echo "$as_me: failed program was:" >&5
32216sed 's/^/| /' conftest.$ac_ext >&5
32217
32218ac_cv_lib_unicows_main=no
32219fi
32220rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32221LIBS=$ac_check_lib_save_LIBS
32222fi
32223echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32224echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32225if test $ac_cv_lib_unicows_main = yes; then
32226
32227 cat >>confdefs.h <<\_ACEOF
32228#define wxUSE_UNICODE_MSLU 1
32229_ACEOF
32230
32231
32232else
32233
32234 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32235 Applications will only run on Windows NT/2000/XP!" >&5
32236echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32237 Applications will only run on Windows NT/2000/XP!" >&2;}
32238 wxUSE_UNICODE_MSLU=no
32239
32240fi
32241
32242 fi
32243fi
32244
32245if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32246 cat >>confdefs.h <<\_ACEOF
32247#define wxUSE_EXPERIMENTAL_PRINTF 1
32248_ACEOF
32249
32250fi
32251
32252
32253if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32254 cat >>confdefs.h <<\_ACEOF
32255#define wxUSE_POSTSCRIPT 1
32256_ACEOF
32257
32258fi
32259
32260cat >>confdefs.h <<\_ACEOF
32261#define wxUSE_AFM_FOR_POSTSCRIPT 1
32262_ACEOF
32263
32264
32265cat >>confdefs.h <<\_ACEOF
32266#define wxUSE_NORMALIZED_PS_FONTS 1
32267_ACEOF
32268
32269
32270
32271if test "$wxUSE_CONSTRAINTS" = "yes"; then
32272 cat >>confdefs.h <<\_ACEOF
32273#define wxUSE_CONSTRAINTS 1
32274_ACEOF
32275
32276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32277fi
32278
32279if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32280 cat >>confdefs.h <<\_ACEOF
32281#define wxUSE_MDI_ARCHITECTURE 1
32282_ACEOF
32283
32284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32285fi
32286
32287if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32288 cat >>confdefs.h <<\_ACEOF
32289#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32290_ACEOF
32291
32292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32293 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32295 fi
32296fi
32297
32298if test "$wxUSE_HELP" = "yes"; then
32299 cat >>confdefs.h <<\_ACEOF
32300#define wxUSE_HELP 1
32301_ACEOF
32302
32303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32304
32305 if test "$wxUSE_MSW" = 1; then
32306 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32307 cat >>confdefs.h <<\_ACEOF
32308#define wxUSE_MS_HTML_HELP 1
32309_ACEOF
32310
32311 fi
32312 fi
32313
32314 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32315 if test "$wxUSE_HTML" = "yes"; then
32316 cat >>confdefs.h <<\_ACEOF
32317#define wxUSE_WXHTML_HELP 1
32318_ACEOF
32319
32320 else
32321 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32322echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32323 wxUSE_WXHTML_HELP=no
32324 fi
32325 fi
32326fi
32327
32328if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32329 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32330 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32331echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32332 else
32333 cat >>confdefs.h <<\_ACEOF
32334#define wxUSE_PRINTING_ARCHITECTURE 1
32335_ACEOF
32336
32337 fi
32338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32339fi
32340
32341if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32342 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32343echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32344 { (exit 1); exit 1; }; }
32345fi
32346
32347
32348if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32349 -o "$wxUSE_CLIPBOARD" = "yes" \
32350 -o "$wxUSE_OLE" = "yes" \
32351 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32352
32353for ac_header in ole2.h
32354do
32355as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32356if eval "test \"\${$as_ac_Header+set}\" = set"; then
32357 echo "$as_me:$LINENO: checking for $ac_header" >&5
32358echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32359if eval "test \"\${$as_ac_Header+set}\" = set"; then
32360 echo $ECHO_N "(cached) $ECHO_C" >&6
32361fi
32362echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32363echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32364else
32365 # Is the header compilable?
32366echo "$as_me:$LINENO: checking $ac_header usability" >&5
32367echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32368cat >conftest.$ac_ext <<_ACEOF
32369#line $LINENO "configure"
32370/* confdefs.h. */
32371_ACEOF
32372cat confdefs.h >>conftest.$ac_ext
32373cat >>conftest.$ac_ext <<_ACEOF
32374/* end confdefs.h. */
32375$ac_includes_default
32376#include <$ac_header>
32377_ACEOF
32378rm -f conftest.$ac_objext
32379if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32380 (eval $ac_compile) 2>&5
32381 ac_status=$?
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); } &&
32384 { ac_try='test -s conftest.$ac_objext'
32385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32386 (eval $ac_try) 2>&5
32387 ac_status=$?
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); }; }; then
32390 ac_header_compiler=yes
32391else
32392 echo "$as_me: failed program was:" >&5
32393sed 's/^/| /' conftest.$ac_ext >&5
32394
32395ac_header_compiler=no
32396fi
32397rm -f conftest.$ac_objext conftest.$ac_ext
32398echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32399echo "${ECHO_T}$ac_header_compiler" >&6
32400
32401# Is the header present?
32402echo "$as_me:$LINENO: checking $ac_header presence" >&5
32403echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32404cat >conftest.$ac_ext <<_ACEOF
32405#line $LINENO "configure"
32406/* confdefs.h. */
32407_ACEOF
32408cat confdefs.h >>conftest.$ac_ext
32409cat >>conftest.$ac_ext <<_ACEOF
32410/* end confdefs.h. */
32411#include <$ac_header>
32412_ACEOF
32413if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32415 ac_status=$?
32416 grep -v '^ *+' conftest.er1 >conftest.err
32417 rm -f conftest.er1
32418 cat conftest.err >&5
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); } >/dev/null; then
32421 if test -s conftest.err; then
32422 ac_cpp_err=$ac_c_preproc_warn_flag
32423 else
32424 ac_cpp_err=
32425 fi
32426else
32427 ac_cpp_err=yes
32428fi
32429if test -z "$ac_cpp_err"; then
32430 ac_header_preproc=yes
32431else
32432 echo "$as_me: failed program was:" >&5
32433sed 's/^/| /' conftest.$ac_ext >&5
32434
32435 ac_header_preproc=no
32436fi
32437rm -f conftest.err conftest.$ac_ext
32438echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32439echo "${ECHO_T}$ac_header_preproc" >&6
32440
32441# So? What about this header?
32442case $ac_header_compiler:$ac_header_preproc in
32443 yes:no )
32444 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32445echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32447echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32448 (
32449 cat <<\_ASBOX
32450## ------------------------------------ ##
32451## Report this to bug-autoconf@gnu.org. ##
32452## ------------------------------------ ##
32453_ASBOX
32454 ) |
32455 sed "s/^/$as_me: WARNING: /" >&2
32456 ;;
32457 no:yes )
32458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32459echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32461echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32463echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32464 (
32465 cat <<\_ASBOX
32466## ------------------------------------ ##
32467## Report this to bug-autoconf@gnu.org. ##
32468## ------------------------------------ ##
32469_ASBOX
32470 ) |
32471 sed "s/^/$as_me: WARNING: /" >&2
32472 ;;
32473esac
32474echo "$as_me:$LINENO: checking for $ac_header" >&5
32475echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32476if eval "test \"\${$as_ac_Header+set}\" = set"; then
32477 echo $ECHO_N "(cached) $ECHO_C" >&6
32478else
32479 eval "$as_ac_Header=$ac_header_preproc"
32480fi
32481echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32482echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32483
32484fi
32485if test `eval echo '${'$as_ac_Header'}'` = yes; then
32486 cat >>confdefs.h <<_ACEOF
32487#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32488_ACEOF
32489
32490fi
32491
32492done
32493
32494
32495 if test "$ac_cv_header_ole2_h" = "yes" ; then
32496 if test "$GCC" = yes ; then
32497
32498
32499 ac_ext=cc
32500ac_cpp='$CXXCPP $CPPFLAGS'
32501ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32504
32505
32506 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32507echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32508 cat >conftest.$ac_ext <<_ACEOF
32509#line $LINENO "configure"
32510/* confdefs.h. */
32511_ACEOF
32512cat confdefs.h >>conftest.$ac_ext
32513cat >>conftest.$ac_ext <<_ACEOF
32514/* end confdefs.h. */
32515#include <windows.h>
32516 #include <ole2.h>
32517int
32518main ()
32519{
32520
32521 ;
32522 return 0;
32523}
32524_ACEOF
32525rm -f conftest.$ac_objext
32526if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32527 (eval $ac_compile) 2>&5
32528 ac_status=$?
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } &&
32531 { ac_try='test -s conftest.$ac_objext'
32532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32533 (eval $ac_try) 2>&5
32534 ac_status=$?
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); }; }; then
32537 echo "$as_me:$LINENO: result: no" >&5
32538echo "${ECHO_T}no" >&6
32539else
32540 echo "$as_me: failed program was:" >&5
32541sed 's/^/| /' conftest.$ac_ext >&5
32542
32543echo "$as_me:$LINENO: result: yes" >&5
32544echo "${ECHO_T}yes" >&6
32545 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32546fi
32547rm -f conftest.$ac_objext conftest.$ac_ext
32548 ac_ext=c
32549ac_cpp='$CPP $CPPFLAGS'
32550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32552ac_compiler_gnu=$ac_cv_c_compiler_gnu
32553
32554 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32555 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32556 cat >>confdefs.h <<\_ACEOF
32557#define wxUSE_OLE 1
32558_ACEOF
32559
32560
32561 fi
32562
32563 cat >>confdefs.h <<\_ACEOF
32564#define wxUSE_DATAOBJ 1
32565_ACEOF
32566
32567 else
32568 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32569echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32570
32571 wxUSE_CLIPBOARD=no
32572 wxUSE_DRAG_AND_DROP=no
32573 wxUSE_DATAOBJ=no
32574 wxUSE_OLE=no
32575 fi
32576
32577 if test "$wxUSE_METAFILE" = "yes"; then
32578 cat >>confdefs.h <<\_ACEOF
32579#define wxUSE_METAFILE 1
32580_ACEOF
32581
32582
32583 cat >>confdefs.h <<\_ACEOF
32584#define wxUSE_ENH_METAFILE 1
32585_ACEOF
32586
32587 fi
32588fi
32589
32590if test "$wxUSE_IPC" = "yes"; then
32591 if test "$wxUSE_SOCKETS" != "yes"; then
32592 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32593echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32594 fi
32595
32596 cat >>confdefs.h <<\_ACEOF
32597#define wxUSE_IPC 1
32598_ACEOF
32599
32600fi
32601
32602if test "$wxUSE_CLIPBOARD" = "yes"; then
32603 if test "$wxUSE_MGL" = 1; then
32604 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32605echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32606 wxUSE_CLIPBOARD=no
32607 fi
32608
32609 if test "$wxUSE_CLIPBOARD" = "yes"; then
32610 cat >>confdefs.h <<\_ACEOF
32611#define wxUSE_CLIPBOARD 1
32612_ACEOF
32613
32614
32615 cat >>confdefs.h <<\_ACEOF
32616#define wxUSE_DATAOBJ 1
32617_ACEOF
32618
32619 fi
32620fi
32621
32622if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32623 if test "$wxUSE_GTK" = 1; then
32624 if test "$WXGTK12" != 1; then
32625 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32626echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32627 wxUSE_DRAG_AND_DROP=no
32628 fi
32629 fi
32630
32631 if test "$wxUSE_MOTIF" = 1; then
32632 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32633echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32634 wxUSE_DRAG_AND_DROP=no
32635 fi
32636
32637 if test "$wxUSE_X11" = 1; then
32638 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32639echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32640 wxUSE_DRAG_AND_DROP=no
32641 fi
32642
32643 if test "$wxUSE_MGL" = 1; then
32644 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32645echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32646 wxUSE_DRAG_AND_DROP=no
32647 fi
32648
32649 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32650 cat >>confdefs.h <<\_ACEOF
32651#define wxUSE_DRAG_AND_DROP 1
32652_ACEOF
32653
32654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32655 fi
32656
32657fi
32658
32659if test "$wxUSE_SPLINES" = "yes" ; then
32660 cat >>confdefs.h <<\_ACEOF
32661#define wxUSE_SPLINES 1
32662_ACEOF
32663
32664fi
32665
32666
32667USES_CONTROLS=0
32668if test "$wxUSE_CONTROLS" = "yes"; then
32669 USES_CONTROLS=1
32670fi
32671
32672if test "$wxUSE_ACCEL" = "yes"; then
32673 cat >>confdefs.h <<\_ACEOF
32674#define wxUSE_ACCEL 1
32675_ACEOF
32676
32677 USES_CONTROLS=1
32678fi
32679
32680if test "$wxUSE_BUTTON" = "yes"; then
32681 cat >>confdefs.h <<\_ACEOF
32682#define wxUSE_BUTTON 1
32683_ACEOF
32684
32685 USES_CONTROLS=1
32686fi
32687
32688if test "$wxUSE_BMPBUTTON" = "yes"; then
32689 cat >>confdefs.h <<\_ACEOF
32690#define wxUSE_BMPBUTTON 1
32691_ACEOF
32692
32693 USES_CONTROLS=1
32694fi
32695
32696if test "$wxUSE_CALCTRL" = "yes"; then
32697 cat >>confdefs.h <<\_ACEOF
32698#define wxUSE_CALENDARCTRL 1
32699_ACEOF
32700
32701 USES_CONTROLS=1
32702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32703fi
32704
32705if test "$wxUSE_CARET" = "yes"; then
32706 cat >>confdefs.h <<\_ACEOF
32707#define wxUSE_CARET 1
32708_ACEOF
32709
32710 USES_CONTROLS=1
32711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32712fi
32713
32714if test "$wxUSE_COMBOBOX" = "yes"; then
32715 cat >>confdefs.h <<\_ACEOF
32716#define wxUSE_COMBOBOX 1
32717_ACEOF
32718
32719 USES_CONTROLS=1
32720fi
32721
32722if test "$wxUSE_CHOICE" = "yes"; then
32723 cat >>confdefs.h <<\_ACEOF
32724#define wxUSE_CHOICE 1
32725_ACEOF
32726
32727 USES_CONTROLS=1
32728fi
32729
32730if test "$wxUSE_CHECKBOX" = "yes"; then
32731 cat >>confdefs.h <<\_ACEOF
32732#define wxUSE_CHECKBOX 1
32733_ACEOF
32734
32735 USES_CONTROLS=1
32736fi
32737
32738if test "$wxUSE_CHECKLST" = "yes"; then
32739 cat >>confdefs.h <<\_ACEOF
32740#define wxUSE_CHECKLISTBOX 1
32741_ACEOF
32742
32743 USES_CONTROLS=1
32744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32745fi
32746
32747if test "$wxUSE_DISPLAY" = "yes"; then
32748 cat >>confdefs.h <<\_ACEOF
32749#define wxUSE_DISPLAY 1
32750_ACEOF
32751
32752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32753fi
32754
32755if test "$wxUSE_GAUGE" = "yes"; then
32756 cat >>confdefs.h <<\_ACEOF
32757#define wxUSE_GAUGE 1
32758_ACEOF
32759
32760 USES_CONTROLS=1
32761fi
32762
32763if test "$wxUSE_GRID" = "yes"; then
32764 cat >>confdefs.h <<\_ACEOF
32765#define wxUSE_GRID 1
32766_ACEOF
32767
32768 USES_CONTROLS=1
32769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32770fi
32771
32772if test "$wxUSE_IMAGLIST" = "yes"; then
32773 cat >>confdefs.h <<\_ACEOF
32774#define wxUSE_IMAGLIST 1
32775_ACEOF
32776
32777fi
32778
32779if test "$wxUSE_LISTBOX" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781#define wxUSE_LISTBOX 1
32782_ACEOF
32783
32784 USES_CONTROLS=1
32785fi
32786
32787if test "$wxUSE_LISTCTRL" = "yes"; then
32788 if test "$wxUSE_IMAGLIST" = "yes"; then
32789 cat >>confdefs.h <<\_ACEOF
32790#define wxUSE_LISTCTRL 1
32791_ACEOF
32792
32793 USES_CONTROLS=1
32794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32795 else
32796 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32797echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32798 fi
32799fi
32800
32801if test "$wxUSE_NOTEBOOK" = "yes"; then
32802 cat >>confdefs.h <<\_ACEOF
32803#define wxUSE_NOTEBOOK 1
32804_ACEOF
32805
32806 USES_CONTROLS=1
32807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32808fi
32809
32810
32811if test "$wxUSE_RADIOBOX" = "yes"; then
32812 cat >>confdefs.h <<\_ACEOF
32813#define wxUSE_RADIOBOX 1
32814_ACEOF
32815
32816 USES_CONTROLS=1
32817fi
32818
32819if test "$wxUSE_RADIOBTN" = "yes"; then
32820 cat >>confdefs.h <<\_ACEOF
32821#define wxUSE_RADIOBTN 1
32822_ACEOF
32823
32824 USES_CONTROLS=1
32825fi
32826
32827if test "$wxUSE_SASH" = "yes"; then
32828 cat >>confdefs.h <<\_ACEOF
32829#define wxUSE_SASH 1
32830_ACEOF
32831
32832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32833fi
32834
32835if test "$wxUSE_SCROLLBAR" = "yes"; then
32836 cat >>confdefs.h <<\_ACEOF
32837#define wxUSE_SCROLLBAR 1
32838_ACEOF
32839
32840 USES_CONTROLS=1
32841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32842fi
32843
32844if test "$wxUSE_SLIDER" = "yes"; then
32845 cat >>confdefs.h <<\_ACEOF
32846#define wxUSE_SLIDER 1
32847_ACEOF
32848
32849 USES_CONTROLS=1
32850fi
32851
32852if test "$wxUSE_SPINBTN" = "yes"; then
32853 cat >>confdefs.h <<\_ACEOF
32854#define wxUSE_SPINBTN 1
32855_ACEOF
32856
32857 USES_CONTROLS=1
32858fi
32859
32860if test "$wxUSE_SPINCTRL" = "yes"; then
32861 cat >>confdefs.h <<\_ACEOF
32862#define wxUSE_SPINCTRL 1
32863_ACEOF
32864
32865 USES_CONTROLS=1
32866fi
32867
32868if test "$wxUSE_SPLITTER" = "yes"; then
32869 cat >>confdefs.h <<\_ACEOF
32870#define wxUSE_SPLITTER 1
32871_ACEOF
32872
32873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32874fi
32875
32876if test "$wxUSE_STATBMP" = "yes"; then
32877 cat >>confdefs.h <<\_ACEOF
32878#define wxUSE_STATBMP 1
32879_ACEOF
32880
32881 USES_CONTROLS=1
32882fi
32883
32884if test "$wxUSE_STATBOX" = "yes"; then
32885 cat >>confdefs.h <<\_ACEOF
32886#define wxUSE_STATBOX 1
32887_ACEOF
32888
32889 USES_CONTROLS=1
32890fi
32891
32892if test "$wxUSE_STATTEXT" = "yes"; then
32893 cat >>confdefs.h <<\_ACEOF
32894#define wxUSE_STATTEXT 1
32895_ACEOF
32896
32897 USES_CONTROLS=1
32898fi
32899
32900if test "$wxUSE_STATLINE" = "yes"; then
32901 cat >>confdefs.h <<\_ACEOF
32902#define wxUSE_STATLINE 1
32903_ACEOF
32904
32905 USES_CONTROLS=1
32906fi
32907
32908if test "$wxUSE_STATUSBAR" = "yes"; then
32909 cat >>confdefs.h <<\_ACEOF
32910#define wxUSE_STATUSBAR 1
32911_ACEOF
32912
32913 USES_CONTROLS=1
32914
32915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32916fi
32917
32918if test "$wxUSE_TABDIALOG" = "yes"; then
32919 cat >>confdefs.h <<\_ACEOF
32920#define wxUSE_TAB_DIALOG 1
32921_ACEOF
32922
32923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32924fi
32925
32926if test "$wxUSE_TEXTCTRL" = "yes"; then
32927 cat >>confdefs.h <<\_ACEOF
32928#define wxUSE_TEXTCTRL 1
32929_ACEOF
32930
32931 USES_CONTROLS=1
32932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32933fi
32934
32935if test "$wxUSE_TOGGLEBTN" = "yes"; then
32936 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32937 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32938echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32939 wxUSE_TOGGLEBTN=no
32940 fi
32941 if test "$wxUSE_UNIVERSAL" = "yes"; then
32942 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32943echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32944 wxUSE_TOGGLEBTN=no
32945 fi
32946
32947 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32948 cat >>confdefs.h <<\_ACEOF
32949#define wxUSE_TOGGLEBTN 1
32950_ACEOF
32951
32952 USES_CONTROLS=1
32953 fi
32954fi
32955
32956if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32957 cat >>confdefs.h <<\_ACEOF
32958#define wxUSE_TOOLBAR_SIMPLE 1
32959_ACEOF
32960
32961 wxUSE_TOOLBAR="yes"
32962 USES_CONTROLS=1
32963fi
32964
32965if test "$wxUSE_TOOLBAR" = "yes"; then
32966 cat >>confdefs.h <<\_ACEOF
32967#define wxUSE_TOOLBAR 1
32968_ACEOF
32969
32970 USES_CONTROLS=1
32971
32972 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32973 wxUSE_TOOLBAR_NATIVE="yes"
32974 fi
32975
32976 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32977 cat >>confdefs.h <<\_ACEOF
32978#define wxUSE_TOOLBAR_NATIVE 1
32979_ACEOF
32980
32981 USES_CONTROLS=1
32982 fi
32983
32984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32985fi
32986
32987if test "$wxUSE_TOOLTIPS" = "yes"; then
32988 if test "$wxUSE_MOTIF" = 1; then
32989 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32990echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32991 else
32992 if test "$wxUSE_UNIVERSAL" = "yes"; then
32993 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32994echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32995 else
32996 cat >>confdefs.h <<\_ACEOF
32997#define wxUSE_TOOLTIPS 1
32998_ACEOF
32999
33000 fi
33001 fi
33002fi
33003
33004if test "$wxUSE_TREECTRL" = "yes"; then
33005 if test "$wxUSE_IMAGLIST" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007#define wxUSE_TREECTRL 1
33008_ACEOF
33009
33010 USES_CONTROLS=1
33011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33012 else
33013 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33014echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33015 fi
33016fi
33017
33018if test "$wxUSE_POPUPWIN" = "yes"; then
33019 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33020 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33021echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33022 else
33023 if test "$wxUSE_MOTIF" = 1; then
33024 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33025echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33026 else
33027 if test "$wxUSE_PM" = 1; then
33028 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33029echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33030 else
33031 cat >>confdefs.h <<\_ACEOF
33032#define wxUSE_POPUPWIN 1
33033_ACEOF
33034
33035
33036 USES_CONTROLS=1
33037 fi
33038 fi
33039 fi
33040fi
33041
33042if test "$wxUSE_TIPWINDOW" = "yes"; then
33043 if test "$wxUSE_PM" = 1; then
33044 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33045echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33046 else
33047 cat >>confdefs.h <<\_ACEOF
33048#define wxUSE_TIPWINDOW 1
33049_ACEOF
33050
33051 fi
33052fi
33053
33054if test "$USES_CONTROLS" = 1; then
33055 cat >>confdefs.h <<\_ACEOF
33056#define wxUSE_CONTROLS 1
33057_ACEOF
33058
33059fi
33060
33061
33062
33063if test "$wxUSE_DRAGIMAGE" = "yes"; then
33064 cat >>confdefs.h <<\_ACEOF
33065#define wxUSE_DRAGIMAGE 1
33066_ACEOF
33067
33068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33069fi
33070
33071if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33072 cat >>confdefs.h <<\_ACEOF
33073#define wxUSE_ACCESSIBILITY 1
33074_ACEOF
33075
33076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33077fi
33078
33079if test "$wxUSE_MENUS" = "yes"; then
33080 cat >>confdefs.h <<\_ACEOF
33081#define wxUSE_MENUS 1
33082_ACEOF
33083
33084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33085fi
33086
33087if test "$wxUSE_METAFILE" = "yes"; then
33088 cat >>confdefs.h <<\_ACEOF
33089#define wxUSE_METAFILE 1
33090_ACEOF
33091
33092fi
33093
33094if test "$wxUSE_MIMETYPE" = "yes"; then
33095 cat >>confdefs.h <<\_ACEOF
33096#define wxUSE_MIMETYPE 1
33097_ACEOF
33098
33099fi
33100
33101if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33102 cat >>confdefs.h <<\_ACEOF
33103#define wxUSE_SYSTEM_OPTIONS 1
33104_ACEOF
33105
33106if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33107 "$TOOLKIT" = "MOTIF"; then
33108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33109fi
33110
33111fi
33112
33113if test "$wxUSE_MINIFRAME" = "yes"; then
33114 cat >>confdefs.h <<\_ACEOF
33115#define wxUSE_MINIFRAME 1
33116_ACEOF
33117
33118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33119fi
33120
33121USE_HTML=0
33122if test "$wxUSE_HTML" = "yes"; then
33123 cat >>confdefs.h <<\_ACEOF
33124#define wxUSE_HTML 1
33125_ACEOF
33126
33127 USE_HTML=1
33128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33129fi
33130
33131if test "$wxUSE_VALIDATORS" = "yes"; then
33132 cat >>confdefs.h <<\_ACEOF
33133#define wxUSE_VALIDATORS 1
33134_ACEOF
33135
33136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33137fi
33138
33139if test "$wxUSE_PALETTE" = "yes" ; then
33140 cat >>confdefs.h <<\_ACEOF
33141#define wxUSE_PALETTE 1
33142_ACEOF
33143
33144fi
33145
33146if test "$wxUSE_IMAGE" = "yes" ; then
33147 cat >>confdefs.h <<\_ACEOF
33148#define wxUSE_IMAGE 1
33149_ACEOF
33150
33151fi
33152
33153if test "$wxUSE_GIF" = "yes" ; then
33154 cat >>confdefs.h <<\_ACEOF
33155#define wxUSE_GIF 1
33156_ACEOF
33157
33158fi
33159
33160if test "$wxUSE_PCX" = "yes" ; then
33161 cat >>confdefs.h <<\_ACEOF
33162#define wxUSE_PCX 1
33163_ACEOF
33164
33165fi
33166
33167if test "$wxUSE_IFF" = "yes" ; then
33168 cat >>confdefs.h <<\_ACEOF
33169#define wxUSE_IFF 1
33170_ACEOF
33171
33172fi
33173
33174if test "$wxUSE_PNM" = "yes" ; then
33175 cat >>confdefs.h <<\_ACEOF
33176#define wxUSE_PNM 1
33177_ACEOF
33178
33179fi
33180
33181if test "$wxUSE_XPM" = "yes" ; then
33182 cat >>confdefs.h <<\_ACEOF
33183#define wxUSE_XPM 1
33184_ACEOF
33185
33186fi
33187
33188if test "$wxUSE_ICO_CUR" = "yes" ; then
33189 cat >>confdefs.h <<\_ACEOF
33190#define wxUSE_ICO_CUR 1
33191_ACEOF
33192
33193fi
33194
33195if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33196 LIBS=" -lunicows $LIBS"
33197fi
33198
33199
33200if test "$wxUSE_CHOICEDLG" = "yes"; then
33201 cat >>confdefs.h <<\_ACEOF
33202#define wxUSE_CHOICEDLG 1
33203_ACEOF
33204
33205fi
33206
33207if test "$wxUSE_COLOURDLG" = "yes"; then
33208 cat >>confdefs.h <<\_ACEOF
33209#define wxUSE_COLOURDLG 1
33210_ACEOF
33211
33212fi
33213
33214if test "$wxUSE_FILEDLG" = "yes"; then
33215 cat >>confdefs.h <<\_ACEOF
33216#define wxUSE_FILEDLG 1
33217_ACEOF
33218
33219fi
33220
33221if test "$wxUSE_FINDREPLDLG" = "yes"; then
33222 cat >>confdefs.h <<\_ACEOF
33223#define wxUSE_FINDREPLDLG 1
33224_ACEOF
33225
33226fi
33227
33228if test "$wxUSE_FONTDLG" = "yes"; then
33229 cat >>confdefs.h <<\_ACEOF
33230#define wxUSE_FONTDLG 1
33231_ACEOF
33232
33233fi
33234
33235if test "$wxUSE_DIRDLG" = "yes"; then
33236 if test "$wxUSE_TREECTRL" != "yes"; then
33237 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33238echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33239 else
33240 cat >>confdefs.h <<\_ACEOF
33241#define wxUSE_DIRDLG 1
33242_ACEOF
33243
33244 fi
33245fi
33246
33247if test "$wxUSE_MSGDLG" = "yes"; then
33248 cat >>confdefs.h <<\_ACEOF
33249#define wxUSE_MSGDLG 1
33250_ACEOF
33251
33252fi
33253
33254if test "$wxUSE_NUMBERDLG" = "yes"; then
33255 cat >>confdefs.h <<\_ACEOF
33256#define wxUSE_NUMBERDLG 1
33257_ACEOF
33258
33259fi
33260
33261if test "$wxUSE_PROGRESSDLG" = "yes"; then
33262 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33263 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33264echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33265 else
33266 cat >>confdefs.h <<\_ACEOF
33267#define wxUSE_PROGRESSDLG 1
33268_ACEOF
33269
33270 fi
33271fi
33272
33273if test "$wxUSE_SPLASH" = "yes"; then
33274 cat >>confdefs.h <<\_ACEOF
33275#define wxUSE_SPLASH 1
33276_ACEOF
33277
33278fi
33279
33280if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33281 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33282 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33283echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33284 else
33285 cat >>confdefs.h <<\_ACEOF
33286#define wxUSE_STARTUP_TIPS 1
33287_ACEOF
33288
33289 fi
33290fi
33291
33292if test "$wxUSE_TEXTDLG" = "yes"; then
33293 cat >>confdefs.h <<\_ACEOF
33294#define wxUSE_TEXTDLG 1
33295_ACEOF
33296
33297fi
33298
33299if test "$wxUSE_WIZARDDLG" = "yes"; then
33300 cat >>confdefs.h <<\_ACEOF
33301#define wxUSE_WIZARDDLG 1
33302_ACEOF
33303
33304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33305fi
33306
33307
33308if test "$cross_compiling" = "yes"; then
33309 OSINFO="\"$host\""
33310else
33311 OSINFO=`uname -s -r -m`
33312 OSINFO="\"$OSINFO\""
33313fi
33314
33315cat >>confdefs.h <<_ACEOF
33316#define WXWIN_OS_DESCRIPTION $OSINFO
33317_ACEOF
33318
33319
33320
33321if test "x$prefix" != "xNONE"; then
33322 wxPREFIX=$prefix
33323else
33324 wxPREFIX=$ac_default_prefix
33325fi
33326
33327cat >>confdefs.h <<_ACEOF
33328#define wxINSTALL_PREFIX "$wxPREFIX"
33329_ACEOF
33330
33331
33332top_builddir_wxconfig=`pwd`
33333
33334
33335
33336
33337if test "$wxUSE_MAC" = 1 ; then
33338 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33339fi
33340if test "$wxUSE_COCOA" = 1 ; then
33341 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33342fi
33343
33344
33345LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33346
33347have_cos=0
33348have_floor=0
33349
33350for ac_func in cos
33351do
33352as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33353echo "$as_me:$LINENO: checking for $ac_func" >&5
33354echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33355if eval "test \"\${$as_ac_var+set}\" = set"; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33357else
33358 cat >conftest.$ac_ext <<_ACEOF
33359#line $LINENO "configure"
33360/* confdefs.h. */
33361_ACEOF
33362cat confdefs.h >>conftest.$ac_ext
33363cat >>conftest.$ac_ext <<_ACEOF
33364/* end confdefs.h. */
33365/* System header to define __stub macros and hopefully few prototypes,
33366 which can conflict with char $ac_func (); below.
33367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33368 <limits.h> exists even on freestanding compilers. */
33369#ifdef __STDC__
33370# include <limits.h>
33371#else
33372# include <assert.h>
33373#endif
33374/* Override any gcc2 internal prototype to avoid an error. */
33375#ifdef __cplusplus
33376extern "C"
33377{
33378#endif
33379/* We use char because int might match the return type of a gcc2
33380 builtin and then its argument prototype would still apply. */
33381char $ac_func ();
33382/* The GNU C library defines this for functions which it implements
33383 to always fail with ENOSYS. Some functions are actually named
33384 something starting with __ and the normal name is an alias. */
33385#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33386choke me
33387#else
33388char (*f) () = $ac_func;
33389#endif
33390#ifdef __cplusplus
33391}
33392#endif
33393
33394int
33395main ()
33396{
33397return f != $ac_func;
33398 ;
33399 return 0;
33400}
33401_ACEOF
33402rm -f conftest.$ac_objext conftest$ac_exeext
33403if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33404 (eval $ac_link) 2>&5
33405 ac_status=$?
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); } &&
33408 { ac_try='test -s conftest$ac_exeext'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33411 ac_status=$?
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33414 eval "$as_ac_var=yes"
33415else
33416 echo "$as_me: failed program was:" >&5
33417sed 's/^/| /' conftest.$ac_ext >&5
33418
33419eval "$as_ac_var=no"
33420fi
33421rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33422fi
33423echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33424echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33425if test `eval echo '${'$as_ac_var'}'` = yes; then
33426 cat >>confdefs.h <<_ACEOF
33427#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33428_ACEOF
33429 have_cos=1
33430fi
33431done
33432
33433
33434for ac_func in floor
33435do
33436as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33437echo "$as_me:$LINENO: checking for $ac_func" >&5
33438echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33439if eval "test \"\${$as_ac_var+set}\" = set"; then
33440 echo $ECHO_N "(cached) $ECHO_C" >&6
33441else
33442 cat >conftest.$ac_ext <<_ACEOF
33443#line $LINENO "configure"
33444/* confdefs.h. */
33445_ACEOF
33446cat confdefs.h >>conftest.$ac_ext
33447cat >>conftest.$ac_ext <<_ACEOF
33448/* end confdefs.h. */
33449/* System header to define __stub macros and hopefully few prototypes,
33450 which can conflict with char $ac_func (); below.
33451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33452 <limits.h> exists even on freestanding compilers. */
33453#ifdef __STDC__
33454# include <limits.h>
33455#else
33456# include <assert.h>
33457#endif
33458/* Override any gcc2 internal prototype to avoid an error. */
33459#ifdef __cplusplus
33460extern "C"
33461{
33462#endif
33463/* We use char because int might match the return type of a gcc2
33464 builtin and then its argument prototype would still apply. */
33465char $ac_func ();
33466/* The GNU C library defines this for functions which it implements
33467 to always fail with ENOSYS. Some functions are actually named
33468 something starting with __ and the normal name is an alias. */
33469#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33470choke me
33471#else
33472char (*f) () = $ac_func;
33473#endif
33474#ifdef __cplusplus
33475}
33476#endif
33477
33478int
33479main ()
33480{
33481return f != $ac_func;
33482 ;
33483 return 0;
33484}
33485_ACEOF
33486rm -f conftest.$ac_objext conftest$ac_exeext
33487if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33488 (eval $ac_link) 2>&5
33489 ac_status=$?
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try='test -s conftest$ac_exeext'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33495 ac_status=$?
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; }; then
33498 eval "$as_ac_var=yes"
33499else
33500 echo "$as_me: failed program was:" >&5
33501sed 's/^/| /' conftest.$ac_ext >&5
33502
33503eval "$as_ac_var=no"
33504fi
33505rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33506fi
33507echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33508echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33509if test `eval echo '${'$as_ac_var'}'` = yes; then
33510 cat >>confdefs.h <<_ACEOF
33511#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33512_ACEOF
33513 have_floor=1
33514fi
33515done
33516
33517echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33518echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33519if test "$have_cos" = 1 -a "$have_floor" = 1; then
33520 echo "$as_me:$LINENO: result: yes" >&5
33521echo "${ECHO_T}yes" >&6
33522else
33523 echo "$as_me:$LINENO: result: no" >&5
33524echo "${ECHO_T}no" >&6
33525 LIBS="$LIBS -lm"
33526 # use different functions to avoid configure caching
33527 have_sin=0
33528 have_ceil=0
33529
33530for ac_func in sin
33531do
33532as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33533echo "$as_me:$LINENO: checking for $ac_func" >&5
33534echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33535if eval "test \"\${$as_ac_var+set}\" = set"; then
33536 echo $ECHO_N "(cached) $ECHO_C" >&6
33537else
33538 cat >conftest.$ac_ext <<_ACEOF
33539#line $LINENO "configure"
33540/* confdefs.h. */
33541_ACEOF
33542cat confdefs.h >>conftest.$ac_ext
33543cat >>conftest.$ac_ext <<_ACEOF
33544/* end confdefs.h. */
33545/* System header to define __stub macros and hopefully few prototypes,
33546 which can conflict with char $ac_func (); below.
33547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33548 <limits.h> exists even on freestanding compilers. */
33549#ifdef __STDC__
33550# include <limits.h>
33551#else
33552# include <assert.h>
33553#endif
33554/* Override any gcc2 internal prototype to avoid an error. */
33555#ifdef __cplusplus
33556extern "C"
33557{
33558#endif
33559/* We use char because int might match the return type of a gcc2
33560 builtin and then its argument prototype would still apply. */
33561char $ac_func ();
33562/* The GNU C library defines this for functions which it implements
33563 to always fail with ENOSYS. Some functions are actually named
33564 something starting with __ and the normal name is an alias. */
33565#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33566choke me
33567#else
33568char (*f) () = $ac_func;
33569#endif
33570#ifdef __cplusplus
33571}
33572#endif
33573
33574int
33575main ()
33576{
33577return f != $ac_func;
33578 ;
33579 return 0;
33580}
33581_ACEOF
33582rm -f conftest.$ac_objext conftest$ac_exeext
33583if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33584 (eval $ac_link) 2>&5
33585 ac_status=$?
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } &&
33588 { ac_try='test -s conftest$ac_exeext'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33591 ac_status=$?
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; }; then
33594 eval "$as_ac_var=yes"
33595else
33596 echo "$as_me: failed program was:" >&5
33597sed 's/^/| /' conftest.$ac_ext >&5
33598
33599eval "$as_ac_var=no"
33600fi
33601rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33602fi
33603echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33604echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33605if test `eval echo '${'$as_ac_var'}'` = yes; then
33606 cat >>confdefs.h <<_ACEOF
33607#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33608_ACEOF
33609 have_sin=1
33610fi
33611done
33612
33613
33614for ac_func in ceil
33615do
33616as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33617echo "$as_me:$LINENO: checking for $ac_func" >&5
33618echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33619if eval "test \"\${$as_ac_var+set}\" = set"; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33621else
33622 cat >conftest.$ac_ext <<_ACEOF
33623#line $LINENO "configure"
33624/* confdefs.h. */
33625_ACEOF
33626cat confdefs.h >>conftest.$ac_ext
33627cat >>conftest.$ac_ext <<_ACEOF
33628/* end confdefs.h. */
33629/* System header to define __stub macros and hopefully few prototypes,
33630 which can conflict with char $ac_func (); below.
33631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33632 <limits.h> exists even on freestanding compilers. */
33633#ifdef __STDC__
33634# include <limits.h>
33635#else
33636# include <assert.h>
33637#endif
33638/* Override any gcc2 internal prototype to avoid an error. */
33639#ifdef __cplusplus
33640extern "C"
33641{
33642#endif
33643/* We use char because int might match the return type of a gcc2
33644 builtin and then its argument prototype would still apply. */
33645char $ac_func ();
33646/* The GNU C library defines this for functions which it implements
33647 to always fail with ENOSYS. Some functions are actually named
33648 something starting with __ and the normal name is an alias. */
33649#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33650choke me
33651#else
33652char (*f) () = $ac_func;
33653#endif
33654#ifdef __cplusplus
33655}
33656#endif
33657
33658int
33659main ()
33660{
33661return f != $ac_func;
33662 ;
33663 return 0;
33664}
33665_ACEOF
33666rm -f conftest.$ac_objext conftest$ac_exeext
33667if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33668 (eval $ac_link) 2>&5
33669 ac_status=$?
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } &&
33672 { ac_try='test -s conftest$ac_exeext'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; }; then
33678 eval "$as_ac_var=yes"
33679else
33680 echo "$as_me: failed program was:" >&5
33681sed 's/^/| /' conftest.$ac_ext >&5
33682
33683eval "$as_ac_var=no"
33684fi
33685rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33686fi
33687echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33688echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33689if test `eval echo '${'$as_ac_var'}'` = yes; then
33690 cat >>confdefs.h <<_ACEOF
33691#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33692_ACEOF
33693 have_ceil=1
33694fi
33695done
33696
33697 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33698echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33699 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33700 echo "$as_me:$LINENO: result: yes" >&5
33701echo "${ECHO_T}yes" >&6
33702 else
33703 echo "$as_me:$LINENO: result: no" >&5
33704echo "${ECHO_T}no" >&6
33705 # not sure we should warn the user, crash, etc.
33706 fi
33707fi
33708
33709if test "$wxUSE_GUI" = "yes"; then
33710
33711
33712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33713 drawing dynamic erase event exec font image \
33714 minimal propsize rotate shaped widgets"
33715
33716 if test "$wxUSE_MONOLITHIC" != "yes"; then
33717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33718 fi
33719else
33720 SAMPLES_SUBDIRS="console"
33721fi
33722
33723
33724INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33725-I\${top_srcdir}/include \
33726$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33727$TOOLKIT_INCLUDE"
33728
33729if test "$GXX" = yes ; then
33730 CXXWARNINGS="-Wall"
33731 fi
33732
33733EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33734
33735CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33736CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33737CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33738
33739
33740LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33741EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33742EXTRALIBS_XML="$EXPAT_LINK"
33743if test "$wxUSE_GUI" = "yes"; then
33744 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33745fi
33746if test "$wxUSE_OPENGL" = "yes"; then
33747 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33748fi
33749
33750LDFLAGS="$LDFLAGS $PROFILE"
33751
33752if test "$wxUSE_GTK" = 1; then
33753 WXCONFIG_INCLUDE=
33754else
33755 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33756fi
33757
33758WXCONFIG_EXTRALIBS="$LIBS"
33759
33760if test "$wxUSE_REGEX" = "builtin" ; then
33761 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33762fi
33763if test "$wxUSE_EXPAT" = "builtin" ; then
33764 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33765fi
33766if test "$wxUSE_ODBC" = "builtin" ; then
33767 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33768fi
33769if test "$wxUSE_LIBTIFF" = "builtin" ; then
33770 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33771fi
33772if test "$wxUSE_LIBJPEG" = "builtin" ; then
33773 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33774fi
33775if test "$wxUSE_LIBPNG" = "builtin" ; then
33776 wxconfig_3rdparty="$wxconfig_3rdparty png"
33777fi
33778if test "$wxUSE_ZLIB" = "builtin" ; then
33779 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33780fi
33781
33782for i in $wxconfig_3rdparty ; do
33783 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33784done
33785
33786
33787if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33788 WXUNIV=1
33789else
33790 WXUNIV=0
33791fi
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801if test $wxUSE_MONOLITHIC = "yes" ; then
33802 MONOLITHIC=1
33803else
33804 MONOLITHIC=0
33805fi
33806
33807if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33808 OFFICIAL_BUILD=1
33809else
33810 OFFICIAL_BUILD=0
33811fi
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33829
33830
33831
33832
33833
33834
33835 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33836
33837 if test -n "$ac_tool_prefix"; then
33838 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33839set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33840echo "$as_me:$LINENO: checking for $ac_word" >&5
33841echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33842if test "${ac_cv_prog_RANLIB+set}" = set; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33844else
33845 if test -n "$RANLIB"; then
33846 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33847else
33848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33849for as_dir in $PATH
33850do
33851 IFS=$as_save_IFS
33852 test -z "$as_dir" && as_dir=.
33853 for ac_exec_ext in '' $ac_executable_extensions; do
33854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33855 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33857 break 2
33858 fi
33859done
33860done
33861
33862fi
33863fi
33864RANLIB=$ac_cv_prog_RANLIB
33865if test -n "$RANLIB"; then
33866 echo "$as_me:$LINENO: result: $RANLIB" >&5
33867echo "${ECHO_T}$RANLIB" >&6
33868else
33869 echo "$as_me:$LINENO: result: no" >&5
33870echo "${ECHO_T}no" >&6
33871fi
33872
33873fi
33874if test -z "$ac_cv_prog_RANLIB"; then
33875 ac_ct_RANLIB=$RANLIB
33876 # Extract the first word of "ranlib", so it can be a program name with args.
33877set dummy ranlib; ac_word=$2
33878echo "$as_me:$LINENO: checking for $ac_word" >&5
33879echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33880if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33882else
33883 if test -n "$ac_ct_RANLIB"; then
33884 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33885else
33886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33887for as_dir in $PATH
33888do
33889 IFS=$as_save_IFS
33890 test -z "$as_dir" && as_dir=.
33891 for ac_exec_ext in '' $ac_executable_extensions; do
33892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33893 ac_cv_prog_ac_ct_RANLIB="ranlib"
33894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33895 break 2
33896 fi
33897done
33898done
33899
33900 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33901fi
33902fi
33903ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33904if test -n "$ac_ct_RANLIB"; then
33905 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33906echo "${ECHO_T}$ac_ct_RANLIB" >&6
33907else
33908 echo "$as_me:$LINENO: result: no" >&5
33909echo "${ECHO_T}no" >&6
33910fi
33911
33912 RANLIB=$ac_ct_RANLIB
33913else
33914 RANLIB="$ac_cv_prog_RANLIB"
33915fi
33916
33917 # Find a good install program. We prefer a C program (faster),
33918# so one script is as good as another. But avoid the broken or
33919# incompatible versions:
33920# SysV /etc/install, /usr/sbin/install
33921# SunOS /usr/etc/install
33922# IRIX /sbin/install
33923# AIX /bin/install
33924# AmigaOS /C/install, which installs bootblocks on floppy discs
33925# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33926# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33927# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33928# ./install, which can be erroneously created by make from ./install.sh.
33929echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33930echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33931if test -z "$INSTALL"; then
33932if test "${ac_cv_path_install+set}" = set; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33934else
33935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33936for as_dir in $PATH
33937do
33938 IFS=$as_save_IFS
33939 test -z "$as_dir" && as_dir=.
33940 # Account for people who put trailing slashes in PATH elements.
33941case $as_dir/ in
33942 ./ | .// | /cC/* | \
33943 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33944 /usr/ucb/* ) ;;
33945 *)
33946 # OSF1 and SCO ODT 3.0 have their own names for install.
33947 # Don't use installbsd from OSF since it installs stuff as root
33948 # by default.
33949 for ac_prog in ginstall scoinst install; do
33950 for ac_exec_ext in '' $ac_executable_extensions; do
33951 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33952 if test $ac_prog = install &&
33953 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33954 # AIX install. It has an incompatible calling convention.
33955 :
33956 elif test $ac_prog = install &&
33957 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33958 # program-specific install script used by HP pwplus--don't use.
33959 :
33960 else
33961 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33962 break 3
33963 fi
33964 fi
33965 done
33966 done
33967 ;;
33968esac
33969done
33970
33971
33972fi
33973 if test "${ac_cv_path_install+set}" = set; then
33974 INSTALL=$ac_cv_path_install
33975 else
33976 # As a last resort, use the slow shell script. We don't cache a
33977 # path for INSTALL within a source directory, because that will
33978 # break other packages using the cache if that directory is
33979 # removed, or if the path is relative.
33980 INSTALL=$ac_install_sh
33981 fi
33982fi
33983echo "$as_me:$LINENO: result: $INSTALL" >&5
33984echo "${ECHO_T}$INSTALL" >&6
33985
33986# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33987# It thinks the first close brace ends the variable substitution.
33988test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33989
33990test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33991
33992test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33993
33994 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33995echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33996LN_S=$as_ln_s
33997if test "$LN_S" = "ln -s"; then
33998 echo "$as_me:$LINENO: result: yes" >&5
33999echo "${ECHO_T}yes" >&6
34000else
34001 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34002echo "${ECHO_T}no, using $LN_S" >&6
34003fi
34004
34005
34006 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34007echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34008set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34009if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34010 echo $ECHO_N "(cached) $ECHO_C" >&6
34011else
34012 cat >conftest.make <<\_ACEOF
34013all:
34014 @echo 'ac_maketemp="$(MAKE)"'
34015_ACEOF
34016# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34017eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34018if test -n "$ac_maketemp"; then
34019 eval ac_cv_prog_make_${ac_make}_set=yes
34020else
34021 eval ac_cv_prog_make_${ac_make}_set=no
34022fi
34023rm -f conftest.make
34024fi
34025if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34026 echo "$as_me:$LINENO: result: yes" >&5
34027echo "${ECHO_T}yes" >&6
34028 SET_MAKE=
34029else
34030 echo "$as_me:$LINENO: result: no" >&5
34031echo "${ECHO_T}no" >&6
34032 SET_MAKE="MAKE=${MAKE-make}"
34033fi
34034
34035
34036
34037 if test "$build" != "$host" ; then
34038 AR=$host_alias-ar
34039 STRIP=$host_alias-strip
34040 else
34041 # Extract the first word of "ar", so it can be a program name with args.
34042set dummy ar; ac_word=$2
34043echo "$as_me:$LINENO: checking for $ac_word" >&5
34044echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34045if test "${ac_cv_prog_AR+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047else
34048 if test -n "$AR"; then
34049 ac_cv_prog_AR="$AR" # Let the user override the test.
34050else
34051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34052for as_dir in $PATH
34053do
34054 IFS=$as_save_IFS
34055 test -z "$as_dir" && as_dir=.
34056 for ac_exec_ext in '' $ac_executable_extensions; do
34057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34058 ac_cv_prog_AR="ar"
34059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34060 break 2
34061 fi
34062done
34063done
34064
34065 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
34066fi
34067fi
34068AR=$ac_cv_prog_AR
34069if test -n "$AR"; then
34070 echo "$as_me:$LINENO: result: $AR" >&5
34071echo "${ECHO_T}$AR" >&6
34072else
34073 echo "$as_me:$LINENO: result: no" >&5
34074echo "${ECHO_T}no" >&6
34075fi
34076
34077 # Extract the first word of "strip", so it can be a program name with args.
34078set dummy strip; ac_word=$2
34079echo "$as_me:$LINENO: checking for $ac_word" >&5
34080echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34081if test "${ac_cv_prog_STRIP+set}" = set; then
34082 echo $ECHO_N "(cached) $ECHO_C" >&6
34083else
34084 if test -n "$STRIP"; then
34085 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34086else
34087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34088for as_dir in $PATH
34089do
34090 IFS=$as_save_IFS
34091 test -z "$as_dir" && as_dir=.
34092 for ac_exec_ext in '' $ac_executable_extensions; do
34093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34094 ac_cv_prog_STRIP="strip"
34095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34096 break 2
34097 fi
34098done
34099done
34100
34101 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34102fi
34103fi
34104STRIP=$ac_cv_prog_STRIP
34105if test -n "$STRIP"; then
34106 echo "$as_me:$LINENO: result: $STRIP" >&5
34107echo "${ECHO_T}$STRIP" >&6
34108else
34109 echo "$as_me:$LINENO: result: no" >&5
34110echo "${ECHO_T}no" >&6
34111fi
34112
34113 fi
34114
34115 case ${host} in
34116 *-hp-hpux* )
34117 INSTALL_DIR="mkdir"
34118 ;;
34119 *) INSTALL_DIR="$INSTALL -d"
34120 ;;
34121 esac
34122
34123
34124 LDFLAGS_GUI=
34125 case ${host} in
34126 *-*-cygwin* | *-*-mingw32* )
34127 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34128 esac
34129
34130
34131 fi
34132
34133 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34134echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34135if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34136 echo $ECHO_N "(cached) $ECHO_C" >&6
34137else
34138
34139 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34140 egrep -s GNU > /dev/null); then
34141 bakefile_cv_prog_makeisgnu="yes"
34142 else
34143 bakefile_cv_prog_makeisgnu="no"
34144 fi
34145
34146fi
34147echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34148echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34149
34150 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34151 IF_GNU_MAKE=""
34152 else
34153 IF_GNU_MAKE="#"
34154 fi
34155
34156
34157
34158 PLATFORM_UNIX=0
34159 PLATFORM_WIN32=0
34160 PLATFORM_MSDOS=0
34161 PLATFORM_MAC=0
34162 PLATFORM_MACOSX=0
34163
34164 case "${host}" in
34165 *-*-cygwin* | *-*-mingw32* )
34166 PLATFORM_WIN32=1
34167 ;;
34168 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34169 PLATFORM_MSDOS=1
34170 ;;
34171 powerpc-*-darwin* )
34172 PLATFORM_MAC=1
34173 PLATFORM_MACOSX=1
34174 ;;
34175 * )
34176 PLATFORM_UNIX=1
34177 ;;
34178 esac
34179
34180
34181
34182
34183
34184
34185
34186
34187 SO_SUFFIX="so"
34188 SO_SUFFIX_MODULE="so"
34189 EXEEXT=""
34190 DLLPREFIX=lib
34191 DLLPREFIX_MODULE=
34192
34193 case "${host}" in
34194 *-hp-hpux* )
34195 SO_SUFFIX="sl"
34196 SO_SUFFIX_MODULE="sl"
34197 ;;
34198 *-*-aix* )
34199 SO_SUFFIX="a"
34200 SO_SUFFIX_MODULE="a"
34201 ;;
34202 *-*-cygwin* | *-*-mingw32* )
34203 SO_SUFFIX="dll"
34204 SO_SUFFIX_MODULE="dll"
34205 EXEEXT=".exe"
34206 DLLPREFIX=""
34207 ;;
34208 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34209 EXEEXT=".exe"
34210 DLLPREFIX=""
34211 ;;
34212 powerpc-*-darwin* )
34213 SO_SUFFIX="dylib"
34214 SO_SUFFIX_MODULE="bundle"
34215 ;;
34216 esac
34217
34218
34219
34220
34221
34222
34223
34224
34225 SHARED_LD_CC="\$(CC) -shared -o"
34226 SHARED_LD_CXX="\$(CXX) -shared -o"
34227
34228 if test "x$GCC" = "xyes"; then
34229 PIC_FLAG="-fPIC"
34230 fi
34231
34232 case "${host}" in
34233 *-hp-hpux* )
34234 if test "x$GCC" = "xyes"; then
34235 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34236 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34237 else
34238 LDFLAGS="$LDFLAGS -L/usr/lib"
34239
34240 SHARED_LD_CC="${CC} -b -o"
34241 SHARED_LD_CXX="${CXX} -b -o"
34242 PIC_FLAG="+Z"
34243 fi
34244 ;;
34245
34246 *-*-linux* )
34247 if test "x$GCC" != "xyes"; then
34248 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34249echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34250if test "${bakefile_cv_prog_icc+set}" = set; then
34251 echo $ECHO_N "(cached) $ECHO_C" >&6
34252else
34253
34254 cat >conftest.$ac_ext <<_ACEOF
34255#line $LINENO "configure"
34256/* confdefs.h. */
34257_ACEOF
34258cat confdefs.h >>conftest.$ac_ext
34259cat >>conftest.$ac_ext <<_ACEOF
34260/* end confdefs.h. */
34261
34262int
34263main ()
34264{
34265
34266 #ifndef __INTEL_COMPILER
34267 #error Not icc
34268 #endif
34269
34270 ;
34271 return 0;
34272}
34273_ACEOF
34274rm -f conftest.$ac_objext
34275if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34276 (eval $ac_compile) 2>&5
34277 ac_status=$?
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); } &&
34280 { ac_try='test -s conftest.$ac_objext'
34281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34282 (eval $ac_try) 2>&5
34283 ac_status=$?
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); }; }; then
34286 bakefile_cv_prog_icc=yes
34287else
34288 echo "$as_me: failed program was:" >&5
34289sed 's/^/| /' conftest.$ac_ext >&5
34290
34291bakefile_cv_prog_icc=no
34292
34293fi
34294rm -f conftest.$ac_objext conftest.$ac_ext
34295
34296fi
34297echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34298echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34299 if test "$bakefile_cv_prog_icc" = "yes"; then
34300 PIC_FLAG="-KPIC"
34301 fi
34302 fi
34303 ;;
34304
34305 *-*-solaris2* )
34306 if test "x$GCC" != xyes ; then
34307 SHARED_LD_CC="${CC} -G -o"
34308 SHARED_LD_CXX="${CXX} -G -o"
34309 PIC_FLAG="-KPIC"
34310 fi
34311 ;;
34312
34313 *-*-darwin* )
34314 CFLAGS="$CFLAGS -fno-common"
34315 CXXFLAGS="$CXXFLAGS -fno-common"
34316
34317
34318 cat <<EOF >shared-ld-sh
34319#!/bin/sh
34320#-----------------------------------------------------------------------------
34321#-- Name: distrib/mac/shared-ld-sh
34322#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34323#-- Author: Gilles Depeyrot
34324#-- Copyright: (c) 2002 Gilles Depeyrot
34325#-- Licence: any use permitted
34326#-----------------------------------------------------------------------------
34327
34328verbose=0
34329args=""
34330objects=""
34331linking_flag="-dynamiclib"
34332
34333while test \${#} -gt 0; do
34334 case \${1} in
34335
34336 -v)
34337 verbose=1
34338 ;;
34339
34340 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34341 # collect these options and values
34342 args="\${args} \${1} \${2}"
34343 shift
34344 ;;
34345
34346 -l*|-L*|-flat_namespace)
34347 # collect these options
34348 args="\${args} \${1}"
34349 ;;
34350
34351 -dynamiclib|-bundle)
34352 linking_flag="\${1}"
34353 ;;
34354
34355 -*)
34356 echo "shared-ld: unhandled option '\${1}'"
34357 exit 1
34358 ;;
34359
34360 *.o | *.a | *.dylib)
34361 # collect object files
34362 objects="\${objects} \${1}"
34363 ;;
34364
34365 *)
34366 echo "shared-ld: unhandled argument '\${1}'"
34367 exit 1
34368 ;;
34369
34370 esac
34371 shift
34372done
34373
34374#
34375# Link one module containing all the others
34376#
34377if test \${verbose} = 1; then
34378 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34379fi
34380c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34381status=\$?
34382if test \${status} != 0; then
34383 exit \${status}
34384fi
34385
34386#
34387# Link the shared library from the single module created
34388#
34389if test \${verbose} = 1; then
34390 echo "cc \${linking_flag} master.\$\$.o \${args}"
34391fi
34392c++ \${linking_flag} master.\$\$.o \${args}
34393status=\$?
34394if test \${status} != 0; then
34395 exit \${status}
34396fi
34397
34398#
34399# Remove intermediate module
34400#
34401rm -f master.\$\$.o
34402
34403exit 0
34404EOF
34405 chmod +x shared-ld-sh
34406
34407 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34408 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34409 SHARED_LD_CXX="$SHARED_LD_CC"
34410 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34411 PIC_FLAG="-dynamic -fPIC"
34412 ;;
34413
34414 *-*-aix* )
34415 if test "x$GCC" != "xyes"; then
34416 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34417set dummy makeC++SharedLib; ac_word=$2
34418echo "$as_me:$LINENO: checking for $ac_word" >&5
34419echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34420if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34421 echo $ECHO_N "(cached) $ECHO_C" >&6
34422else
34423 if test -n "$AIX_CXX_LD"; then
34424 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34425else
34426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34427for as_dir in $PATH
34428do
34429 IFS=$as_save_IFS
34430 test -z "$as_dir" && as_dir=.
34431 for ac_exec_ext in '' $ac_executable_extensions; do
34432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34433 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34435 break 2
34436 fi
34437done
34438done
34439
34440 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34441fi
34442fi
34443AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34444if test -n "$AIX_CXX_LD"; then
34445 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34446echo "${ECHO_T}$AIX_CXX_LD" >&6
34447else
34448 echo "$as_me:$LINENO: result: no" >&5
34449echo "${ECHO_T}no" >&6
34450fi
34451
34452 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34453 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34454 fi
34455 ;;
34456
34457 *-*-beos* )
34458 SHARED_LD_CC="${LD} -shared -o"
34459 SHARED_LD_CXX="${LD} -shared -o"
34460 ;;
34461
34462 *-*-irix* )
34463 if test "x$GCC" != "xyes"; then
34464 PIC_FLAG="-KPIC"
34465 fi
34466 ;;
34467
34468 *-*-cygwin* | *-*-mingw32* )
34469 PIC_FLAG=""
34470 ;;
34471
34472 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34473 *-*-sunos4* | \
34474 *-*-osf* | \
34475 *-*-dgux5* | \
34476 *-*-sysv5* )
34477 ;;
34478
34479 *)
34480 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34481echo "$as_me: error: unknown system type $host." >&2;}
34482 { (exit 1); exit 1; }; }
34483 esac
34484
34485 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34486 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34487 fi
34488 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34489 SHARED_LD_MODULE_CC="$SHARED_LD_CXX"
34490 fi
34491
34492
34493
34494
34495
34496
34497
34498
34499 USE_SOVERSION=0
34500 USE_SOVERLINUX=0
34501 USE_SOVERSOLARIS=0
34502 USE_SOSYMLINKS=0
34503 USE_MACVERSION=0
34504 SONAME_FLAG=
34505
34506 case "${host}" in
34507 *-*-linux* )
34508 SONAME_FLAG="-Wl,-soname,"
34509 USE_SOVERSION=1
34510 USE_SOVERLINUX=1
34511 USE_SOSYMLINKS=1
34512 ;;
34513
34514 *-*-solaris2* )
34515 SONAME_FLAG="-h "
34516 USE_SOVERSION=1
34517 USE_SOVERSOLARIS=1
34518 USE_SOSYMLINKS=1
34519 ;;
34520
34521 *-*-darwin* )
34522 USE_MACVERSION=1
34523 USE_SOVERSION=1
34524 USE_SOSYMLINKS=1
34525 ;;
34526 esac
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34537echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34538 DEPS_TRACKING=0
34539
34540 if test "x$GCC" = "xyes"; then
34541 DEPSMODE=gcc
34542 DEPS_TRACKING=1
34543 case "${host}" in
34544 powerpc-*-darwin* )
34545 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34546 ;;
34547 * )
34548 DEPSFLAG_GCC="-MMD"
34549 ;;
34550 esac
34551 echo "$as_me:$LINENO: result: gcc" >&5
34552echo "${ECHO_T}gcc" >&6
34553 else
34554 echo "$as_me:$LINENO: result: none" >&5
34555echo "${ECHO_T}none" >&6
34556 fi
34557
34558 if test $DEPS_TRACKING = 1 ; then
34559 cat <<EOF >bk-deps
34560#!/bin/sh
34561
34562# This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34563# It is used to track C/C++ files dependencies in portable way.
34564#
34565# Permission is given to use this file in any way.
34566
34567DEPSMODE=$DEPSMODE
34568DEPSDIR=.deps
34569DEPSFLAG_GCC="$DEPSFLAG_GCC"
34570
34571mkdir -p \$DEPSDIR
34572
34573if test \$DEPSMODE = gcc ; then
34574 \${*} \${DEPSFLAG_GCC}
34575 status=\${?}
34576 if test \${status} != 0 ; then
34577 exit \${status}
34578 fi
34579 # move created file to the location we want it in:
34580 while test \${#} -gt 0; do
34581 case "\${1}" in
34582 -o )
34583 shift
34584 objfile=\${1}
34585 ;;
34586 -* )
34587 ;;
34588 * )
34589 srcfile=\${1}
34590 ;;
34591 esac
34592 shift
34593 done
34594 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34595 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34596 if test -f \$depfile ; then
34597 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34598 rm -f \$depfile
34599 else
34600 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34601 if test -f \$depfile ; then
34602 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34603 rm -f \$depfile
34604 fi
34605 fi
34606 exit 0
34607else
34608 \${*}
34609 exit \${?}
34610fi
34611EOF
34612 chmod +x bk-deps
34613 fi
34614
34615
34616
34617
34618 RESCOMP=
34619 SETFILE=
34620
34621 case ${host} in
34622 *-*-cygwin* | *-*-mingw32* )
34623 if test "$build" != "$host" ; then
34624 RESCOMP=$host_alias-windres
34625 else
34626 # Extract the first word of "windres", so it can be a program name with args.
34627set dummy windres; ac_word=$2
34628echo "$as_me:$LINENO: checking for $ac_word" >&5
34629echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34630if test "${ac_cv_prog_RESCOMP+set}" = set; then
34631 echo $ECHO_N "(cached) $ECHO_C" >&6
34632else
34633 if test -n "$RESCOMP"; then
34634 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34635else
34636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34637for as_dir in $PATH
34638do
34639 IFS=$as_save_IFS
34640 test -z "$as_dir" && as_dir=.
34641 for ac_exec_ext in '' $ac_executable_extensions; do
34642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34643 ac_cv_prog_RESCOMP="windres"
34644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34645 break 2
34646 fi
34647done
34648done
34649
34650 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34651fi
34652fi
34653RESCOMP=$ac_cv_prog_RESCOMP
34654if test -n "$RESCOMP"; then
34655 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34656echo "${ECHO_T}$RESCOMP" >&6
34657else
34658 echo "$as_me:$LINENO: result: no" >&5
34659echo "${ECHO_T}no" >&6
34660fi
34661
34662 fi
34663 ;;
34664
34665 *-*-darwin* )
34666 # Extract the first word of "Rez", so it can be a program name with args.
34667set dummy Rez; ac_word=$2
34668echo "$as_me:$LINENO: checking for $ac_word" >&5
34669echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34670if test "${ac_cv_prog_RESCOMP+set}" = set; then
34671 echo $ECHO_N "(cached) $ECHO_C" >&6
34672else
34673 if test -n "$RESCOMP"; then
34674 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34675else
34676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34677for as_dir in $PATH
34678do
34679 IFS=$as_save_IFS
34680 test -z "$as_dir" && as_dir=.
34681 for ac_exec_ext in '' $ac_executable_extensions; do
34682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34683 ac_cv_prog_RESCOMP="Rez"
34684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34685 break 2
34686 fi
34687done
34688done
34689
34690 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34691fi
34692fi
34693RESCOMP=$ac_cv_prog_RESCOMP
34694if test -n "$RESCOMP"; then
34695 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34696echo "${ECHO_T}$RESCOMP" >&6
34697else
34698 echo "$as_me:$LINENO: result: no" >&5
34699echo "${ECHO_T}no" >&6
34700fi
34701
34702 # Extract the first word of "SetFile", so it can be a program name with args.
34703set dummy SetFile; ac_word=$2
34704echo "$as_me:$LINENO: checking for $ac_word" >&5
34705echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34706if test "${ac_cv_prog_SETFILE+set}" = set; then
34707 echo $ECHO_N "(cached) $ECHO_C" >&6
34708else
34709 if test -n "$SETFILE"; then
34710 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34711else
34712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34713for as_dir in $PATH
34714do
34715 IFS=$as_save_IFS
34716 test -z "$as_dir" && as_dir=.
34717 for ac_exec_ext in '' $ac_executable_extensions; do
34718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34719 ac_cv_prog_SETFILE="SetFile"
34720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34721 break 2
34722 fi
34723done
34724done
34725
34726 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34727fi
34728fi
34729SETFILE=$ac_cv_prog_SETFILE
34730if test -n "$SETFILE"; then
34731 echo "$as_me:$LINENO: result: $SETFILE" >&5
34732echo "${ECHO_T}$SETFILE" >&6
34733else
34734 echo "$as_me:$LINENO: result: no" >&5
34735echo "${ECHO_T}no" >&6
34736fi
34737
34738 ;;
34739 esac
34740
34741
34742
34743
34744
34745
34746
34747 COND_BUILD_DEBUG="#"
34748 if test "x$BUILD" = "xdebug" ; then
34749 COND_BUILD_DEBUG=""
34750 fi
34751
34752 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34753 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34754 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34755 fi
34756
34757 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34758 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34759 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34760 fi
34761
34762 COND_BUILD_RELEASE="#"
34763 if test "x$BUILD" = "xrelease" ; then
34764 COND_BUILD_RELEASE=""
34765 fi
34766
34767 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
34768 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34769 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
34770 fi
34771
34772 COND_DEBUG_FLAG_1="#"
34773 if test "x$DEBUG_FLAG" = "x1" ; then
34774 COND_DEBUG_FLAG_1=""
34775 fi
34776
34777 COND_DEBUG_INFO_0="#"
34778 if test "x$DEBUG_INFO" = "x0" ; then
34779 COND_DEBUG_INFO_0=""
34780 fi
34781
34782 COND_DEBUG_INFO_1="#"
34783 if test "x$DEBUG_INFO" = "x1" ; then
34784 COND_DEBUG_INFO_1=""
34785 fi
34786
34787 COND_DEPS_TRACKING_0="#"
34788 if test "x$DEPS_TRACKING" = "x0" ; then
34789 COND_DEPS_TRACKING_0=""
34790 fi
34791
34792 COND_DEPS_TRACKING_1="#"
34793 if test "x$DEPS_TRACKING" = "x1" ; then
34794 COND_DEPS_TRACKING_1=""
34795 fi
34796
34797 COND_MONOLITHIC_0="#"
34798 if test "x$MONOLITHIC" = "x0" ; then
34799 COND_MONOLITHIC_0=""
34800 fi
34801
34802 COND_MONOLITHIC_0_SHARED_0="#"
34803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34804 COND_MONOLITHIC_0_SHARED_0=""
34805 fi
34806
34807 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34809 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34810 fi
34811
34812 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34814 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34815 fi
34816
34817 COND_MONOLITHIC_0_SHARED_1="#"
34818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34819 COND_MONOLITHIC_0_SHARED_1=""
34820 fi
34821
34822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34825 fi
34826
34827 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34829 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34830 fi
34831
34832 COND_MONOLITHIC_1="#"
34833 if test "x$MONOLITHIC" = "x1" ; then
34834 COND_MONOLITHIC_1=""
34835 fi
34836
34837 COND_MONOLITHIC_1_SHARED_0="#"
34838 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34839 COND_MONOLITHIC_1_SHARED_0=""
34840 fi
34841
34842 COND_MONOLITHIC_1_SHARED_1="#"
34843 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34844 COND_MONOLITHIC_1_SHARED_1=""
34845 fi
34846
34847 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34848 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34849 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34850 fi
34851
34852 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34853 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34854 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34855 fi
34856
34857 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34858 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34859 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34860 fi
34861
34862 COND_PLATFORM_MACOSX_1="#"
34863 if test "x$PLATFORM_MACOSX" = "x1" ; then
34864 COND_PLATFORM_MACOSX_1=""
34865 fi
34866
34867 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34869 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34870 fi
34871
34872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34874 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34875 fi
34876
34877 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34879 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34880 fi
34881
34882 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34885 fi
34886
34887 COND_PLATFORM_UNIX_1="#"
34888 if test "x$PLATFORM_UNIX" = "x1" ; then
34889 COND_PLATFORM_UNIX_1=""
34890 fi
34891
34892 COND_PLATFORM_WIN32_0="#"
34893 if test "x$PLATFORM_WIN32" = "x0" ; then
34894 COND_PLATFORM_WIN32_0=""
34895 fi
34896
34897 COND_PLATFORM_WIN32_1="#"
34898 if test "x$PLATFORM_WIN32" = "x1" ; then
34899 COND_PLATFORM_WIN32_1=""
34900 fi
34901
34902 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34903 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34904 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34905 fi
34906
34907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
34908 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34909 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
34910 fi
34911
34912 COND_TOOLKIT_COCOA="#"
34913 if test "x$TOOLKIT" = "xCOCOA" ; then
34914 COND_TOOLKIT_COCOA=""
34915 fi
34916
34917 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34918 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34920 fi
34921
34922 COND_TOOLKIT_GTK="#"
34923 if test "x$TOOLKIT" = "xGTK" ; then
34924 COND_TOOLKIT_GTK=""
34925 fi
34926
34927 COND_TOOLKIT_GTK_USE_GUI_1="#"
34928 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34929 COND_TOOLKIT_GTK_USE_GUI_1=""
34930 fi
34931
34932 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34933 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34934 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34935 fi
34936
34937 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34938 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34939 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34940 fi
34941
34942 COND_TOOLKIT_MAC="#"
34943 if test "x$TOOLKIT" = "xMAC" ; then
34944 COND_TOOLKIT_MAC=""
34945 fi
34946
34947 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34948 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34949 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34950 fi
34951
34952 COND_TOOLKIT_MGL="#"
34953 if test "x$TOOLKIT" = "xMGL" ; then
34954 COND_TOOLKIT_MGL=""
34955 fi
34956
34957 COND_TOOLKIT_MGL_USE_GUI_1="#"
34958 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34959 COND_TOOLKIT_MGL_USE_GUI_1=""
34960 fi
34961
34962 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34963 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34964 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34965 fi
34966
34967 COND_TOOLKIT_MOTIF="#"
34968 if test "x$TOOLKIT" = "xMOTIF" ; then
34969 COND_TOOLKIT_MOTIF=""
34970 fi
34971
34972 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34973 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34974 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34975 fi
34976
34977 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34978 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34979 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34980 fi
34981
34982 COND_TOOLKIT_MSW="#"
34983 if test "x$TOOLKIT" = "xMSW" ; then
34984 COND_TOOLKIT_MSW=""
34985 fi
34986
34987 COND_TOOLKIT_MSW_USE_GUI_1="#"
34988 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34989 COND_TOOLKIT_MSW_USE_GUI_1=""
34990 fi
34991
34992 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34993 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34994 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34995 fi
34996
34997 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34998 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34999 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
35000 fi
35001
35002 COND_TOOLKIT_OS2="#"
35003 if test "x$TOOLKIT" = "xOS2" ; then
35004 COND_TOOLKIT_OS2=""
35005 fi
35006
35007 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35008 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35009 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35010 fi
35011
35012 COND_TOOLKIT_X11="#"
35013 if test "x$TOOLKIT" = "xX11" ; then
35014 COND_TOOLKIT_X11=""
35015 fi
35016
35017 COND_TOOLKIT_X11_USE_GUI_1="#"
35018 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35019 COND_TOOLKIT_X11_USE_GUI_1=""
35020 fi
35021
35022 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
35023 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35024 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
35025 fi
35026
35027 COND_UNICODE_1="#"
35028 if test "x$UNICODE" = "x1" ; then
35029 COND_UNICODE_1=""
35030 fi
35031
35032 COND_USE_GUI_0="#"
35033 if test "x$USE_GUI" = "x0" ; then
35034 COND_USE_GUI_0=""
35035 fi
35036
35037 COND_USE_GUI_1="#"
35038 if test "x$USE_GUI" = "x1" ; then
35039 COND_USE_GUI_1=""
35040 fi
35041
35042 COND_USE_GUI_1_WXUNIV_0="#"
35043 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35044 COND_USE_GUI_1_WXUNIV_0=""
35045 fi
35046
35047 COND_USE_GUI_1_WXUNIV_1="#"
35048 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35049 COND_USE_GUI_1_WXUNIV_1=""
35050 fi
35051
35052 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35053 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35054 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35055 fi
35056
35057 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35058 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35059 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35060 fi
35061
35062 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35063 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35064 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35065 fi
35066
35067 COND_USE_SOSYMLINKS_1="#"
35068 if test "x$USE_SOSYMLINKS" = "x1" ; then
35069 COND_USE_SOSYMLINKS_1=""
35070 fi
35071
35072 COND_USE_SOVERLINUX_1="#"
35073 if test "x$USE_SOVERLINUX" = "x1" ; then
35074 COND_USE_SOVERLINUX_1=""
35075 fi
35076
35077 COND_USE_SOVERSION_0="#"
35078 if test "x$USE_SOVERSION" = "x0" ; then
35079 COND_USE_SOVERSION_0=""
35080 fi
35081
35082 COND_USE_SOVERSOLARIS_1="#"
35083 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35084 COND_USE_SOVERSOLARIS_1=""
35085 fi
35086
35087 COND_WXUNIV_1="#"
35088 if test "x$WXUNIV" = "x1" ; then
35089 COND_WXUNIV_1=""
35090 fi
35091
35092 COND_WXUSE_EXPAT_BUILTIN="#"
35093 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35094 COND_WXUSE_EXPAT_BUILTIN=""
35095 fi
35096
35097 COND_WXUSE_LIBJPEG_BUILTIN="#"
35098 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35099 COND_WXUSE_LIBJPEG_BUILTIN=""
35100 fi
35101
35102 COND_WXUSE_LIBPNG_BUILTIN="#"
35103 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35104 COND_WXUSE_LIBPNG_BUILTIN=""
35105 fi
35106
35107 COND_WXUSE_LIBTIFF_BUILTIN="#"
35108 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35109 COND_WXUSE_LIBTIFF_BUILTIN=""
35110 fi
35111
35112 COND_WXUSE_ODBC_BUILTIN="#"
35113 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35114 COND_WXUSE_ODBC_BUILTIN=""
35115 fi
35116
35117 COND_WXUSE_REGEX_BUILTIN="#"
35118 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35119 COND_WXUSE_REGEX_BUILTIN=""
35120 fi
35121
35122 COND_WXUSE_ZLIB_BUILTIN="#"
35123 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35124 COND_WXUSE_ZLIB_BUILTIN=""
35125 fi
35126
35127 COND_PLATFORM_MAC_1="#"
35128 if test "x$PLATFORM_MAC" = "x1" ; then
35129 COND_PLATFORM_MAC_1=""
35130 fi
35131
35132 COND_SHARED_1="#"
35133 if test "x$SHARED" = "x1" ; then
35134 COND_SHARED_1=""
35135 fi
35136
35137 COND_SHARED_0="#"
35138 if test "x$SHARED" = "x0" ; then
35139 COND_SHARED_0=""
35140 fi
35141
35142 COND_TOOLKIT_MAC_USE_GUI_1="#"
35143 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35144 COND_TOOLKIT_MAC_USE_GUI_1=""
35145 fi
35146
35147 COND_TOOLKIT_OS2_USE_GUI_1="#"
35148 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35149 COND_TOOLKIT_OS2_USE_GUI_1=""
35150 fi
35151
35152
35153
35154
35155
35156
35157SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35261echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35262set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35263if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35264 echo $ECHO_N "(cached) $ECHO_C" >&6
35265else
35266 cat >conftest.make <<\_ACEOF
35267all:
35268 @echo 'ac_maketemp="$(MAKE)"'
35269_ACEOF
35270# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35271eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35272if test -n "$ac_maketemp"; then
35273 eval ac_cv_prog_make_${ac_make}_set=yes
35274else
35275 eval ac_cv_prog_make_${ac_make}_set=no
35276fi
35277rm -f conftest.make
35278fi
35279if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35280 echo "$as_me:$LINENO: result: yes" >&5
35281echo "${ECHO_T}yes" >&6
35282 SET_MAKE=
35283else
35284 echo "$as_me:$LINENO: result: no" >&5
35285echo "${ECHO_T}no" >&6
35286 SET_MAKE="MAKE=${MAKE-make}"
35287fi
35288
35289
35290if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35291 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35292fi
35293
35294 ac_config_headers="$ac_config_headers setup.h"
35295
35296
35297 ac_config_files="$ac_config_files wx-config version-script Makefile"
35298
35299
35300 ac_config_commands="$ac_config_commands default"
35301
35302
35303
35304if test "$wxUSE_GUI" = "yes"; then
35305 SUBDIRS="samples demos utils contrib"
35306else SUBDIRS="samples utils"
35307fi
35308
35309for subdir in `echo $SUBDIRS`; do
35310 if test -d ${srcdir}/${subdir} ; then
35311 if test "$wxUSE_GUI" = "yes"; then
35312 if test ${subdir} = "samples"; then
35313 for sample in `echo $SAMPLES_SUBDIRS`; do
35314 if test -d $srcdir/samples/$sample; then
35315 makefiles="samples/$sample/Makefile.in $makefiles"
35316 fi
35317 done
35318 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35319 fi
35320 else if test ${subdir} = "samples"; then
35321 makefiles="samples/console/Makefile.in"
35322 else makefiles="utils/HelpGen/Makefile.in \
35323 utils/HelpGen/src/Makefile.in \
35324 utils/makegen/Makefile.in"
35325 fi
35326 fi
35327
35328 for mkin in $makefiles ; do
35329 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35330 ac_config_files="$ac_config_files $mk"
35331
35332 done
35333 fi
35334done
35335
35336
35337cat >confcache <<\_ACEOF
35338# This file is a shell script that caches the results of configure
35339# tests run on this system so they can be shared between configure
35340# scripts and configure runs, see configure's option --config-cache.
35341# It is not useful on other systems. If it contains results you don't
35342# want to keep, you may remove or edit it.
35343#
35344# config.status only pays attention to the cache file if you give it
35345# the --recheck option to rerun configure.
35346#
35347# `ac_cv_env_foo' variables (set or unset) will be overridden when
35348# loading this file, other *unset* `ac_cv_foo' will be assigned the
35349# following values.
35350
35351_ACEOF
35352
35353# The following way of writing the cache mishandles newlines in values,
35354# but we know of no workaround that is simple, portable, and efficient.
35355# So, don't put newlines in cache variables' values.
35356# Ultrix sh set writes to stderr and can't be redirected directly,
35357# and sets the high bit in the cache file unless we assign to the vars.
35358{
35359 (set) 2>&1 |
35360 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35361 *ac_space=\ *)
35362 # `set' does not quote correctly, so add quotes (double-quote
35363 # substitution turns \\\\ into \\, and sed turns \\ into \).
35364 sed -n \
35365 "s/'/'\\\\''/g;
35366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35367 ;;
35368 *)
35369 # `set' quotes correctly as required by POSIX, so do not add quotes.
35370 sed -n \
35371 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35372 ;;
35373 esac;
35374} |
35375 sed '
35376 t clear
35377 : clear
35378 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35379 t end
35380 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35381 : end' >>confcache
35382if diff $cache_file confcache >/dev/null 2>&1; then :; else
35383 if test -w $cache_file; then
35384 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35385 cat confcache >$cache_file
35386 else
35387 echo "not updating unwritable cache $cache_file"
35388 fi
35389fi
35390rm -f confcache
35391
35392test "x$prefix" = xNONE && prefix=$ac_default_prefix
35393# Let make expand exec_prefix.
35394test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35395
35396# VPATH may cause trouble with some makes, so we remove $(srcdir),
35397# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35398# trailing colons and then remove the whole line if VPATH becomes empty
35399# (actually we leave an empty line to preserve line numbers).
35400if test "x$srcdir" = x.; then
35401 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35402s/:*\$(srcdir):*/:/;
35403s/:*\${srcdir}:*/:/;
35404s/:*@srcdir@:*/:/;
35405s/^\([^=]*=[ ]*\):*/\1/;
35406s/:*$//;
35407s/^[^=]*=[ ]*$//;
35408}'
35409fi
35410
35411DEFS=-DHAVE_CONFIG_H
35412
35413ac_libobjs=
35414ac_ltlibobjs=
35415for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35416 # 1. Remove the extension, and $U if already installed.
35417 ac_i=`echo "$ac_i" |
35418 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35419 # 2. Add them.
35420 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35421 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35422done
35423LIBOBJS=$ac_libobjs
35424
35425LTLIBOBJS=$ac_ltlibobjs
35426
35427
35428
35429: ${CONFIG_STATUS=./config.status}
35430ac_clean_files_save=$ac_clean_files
35431ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35432{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35433echo "$as_me: creating $CONFIG_STATUS" >&6;}
35434cat >$CONFIG_STATUS <<_ACEOF
35435#! $SHELL
35436# Generated by $as_me.
35437# Run this file to recreate the current configuration.
35438# Compiler output produced by configure, useful for debugging
35439# configure, is in config.log if it exists.
35440
35441debug=false
35442ac_cs_recheck=false
35443ac_cs_silent=false
35444SHELL=\${CONFIG_SHELL-$SHELL}
35445_ACEOF
35446
35447cat >>$CONFIG_STATUS <<\_ACEOF
35448## --------------------- ##
35449## M4sh Initialization. ##
35450## --------------------- ##
35451
35452# Be Bourne compatible
35453if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35454 emulate sh
35455 NULLCMD=:
35456 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35457 # is contrary to our usage. Disable this feature.
35458 alias -g '${1+"$@"}'='"$@"'
35459elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35460 set -o posix
35461fi
35462
35463# Support unset when possible.
35464if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35465 as_unset=unset
35466else
35467 as_unset=false
35468fi
35469
35470
35471# Work around bugs in pre-3.0 UWIN ksh.
35472$as_unset ENV MAIL MAILPATH
35473PS1='$ '
35474PS2='> '
35475PS4='+ '
35476
35477# NLS nuisances.
35478for as_var in \
35479 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35480 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35481 LC_TELEPHONE LC_TIME
35482do
35483 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35484 eval $as_var=C; export $as_var
35485 else
35486 $as_unset $as_var
35487 fi
35488done
35489
35490# Required to use basename.
35491if expr a : '\(a\)' >/dev/null 2>&1; then
35492 as_expr=expr
35493else
35494 as_expr=false
35495fi
35496
35497if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35498 as_basename=basename
35499else
35500 as_basename=false
35501fi
35502
35503
35504# Name of the executable.
35505as_me=`$as_basename "$0" ||
35506$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35507 X"$0" : 'X\(//\)$' \| \
35508 X"$0" : 'X\(/\)$' \| \
35509 . : '\(.\)' 2>/dev/null ||
35510echo X/"$0" |
35511 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35512 /^X\/\(\/\/\)$/{ s//\1/; q; }
35513 /^X\/\(\/\).*/{ s//\1/; q; }
35514 s/.*/./; q'`
35515
35516
35517# PATH needs CR, and LINENO needs CR and PATH.
35518# Avoid depending upon Character Ranges.
35519as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35520as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35521as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35522as_cr_digits='0123456789'
35523as_cr_alnum=$as_cr_Letters$as_cr_digits
35524
35525# The user is always right.
35526if test "${PATH_SEPARATOR+set}" != set; then
35527 echo "#! /bin/sh" >conf$$.sh
35528 echo "exit 0" >>conf$$.sh
35529 chmod +x conf$$.sh
35530 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35531 PATH_SEPARATOR=';'
35532 else
35533 PATH_SEPARATOR=:
35534 fi
35535 rm -f conf$$.sh
35536fi
35537
35538
35539 as_lineno_1=$LINENO
35540 as_lineno_2=$LINENO
35541 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35542 test "x$as_lineno_1" != "x$as_lineno_2" &&
35543 test "x$as_lineno_3" = "x$as_lineno_2" || {
35544 # Find who we are. Look in the path if we contain no path at all
35545 # relative or not.
35546 case $0 in
35547 *[\\/]* ) as_myself=$0 ;;
35548 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35549for as_dir in $PATH
35550do
35551 IFS=$as_save_IFS
35552 test -z "$as_dir" && as_dir=.
35553 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35554done
35555
35556 ;;
35557 esac
35558 # We did not find ourselves, most probably we were run as `sh COMMAND'
35559 # in which case we are not to be found in the path.
35560 if test "x$as_myself" = x; then
35561 as_myself=$0
35562 fi
35563 if test ! -f "$as_myself"; then
35564 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35565echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35566 { (exit 1); exit 1; }; }
35567 fi
35568 case $CONFIG_SHELL in
35569 '')
35570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35571for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35572do
35573 IFS=$as_save_IFS
35574 test -z "$as_dir" && as_dir=.
35575 for as_base in sh bash ksh sh5; do
35576 case $as_dir in
35577 /*)
35578 if ("$as_dir/$as_base" -c '
35579 as_lineno_1=$LINENO
35580 as_lineno_2=$LINENO
35581 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35582 test "x$as_lineno_1" != "x$as_lineno_2" &&
35583 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35584 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35585 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35586 CONFIG_SHELL=$as_dir/$as_base
35587 export CONFIG_SHELL
35588 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35589 fi;;
35590 esac
35591 done
35592done
35593;;
35594 esac
35595
35596 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35597 # uniformly replaced by the line number. The first 'sed' inserts a
35598 # line-number line before each line; the second 'sed' does the real
35599 # work. The second script uses 'N' to pair each line-number line
35600 # with the numbered line, and appends trailing '-' during
35601 # substitution so that $LINENO is not a special case at line end.
35602 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35603 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35604 sed '=' <$as_myself |
35605 sed '
35606 N
35607 s,$,-,
35608 : loop
35609 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35610 t loop
35611 s,-$,,
35612 s,^['$as_cr_digits']*\n,,
35613 ' >$as_me.lineno &&
35614 chmod +x $as_me.lineno ||
35615 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35616echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35617 { (exit 1); exit 1; }; }
35618
35619 # Don't try to exec as it changes $[0], causing all sort of problems
35620 # (the dirname of $[0] is not the place where we might find the
35621 # original and so on. Autoconf is especially sensible to this).
35622 . ./$as_me.lineno
35623 # Exit status is that of the last command.
35624 exit
35625}
35626
35627
35628case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35629 *c*,-n*) ECHO_N= ECHO_C='
35630' ECHO_T=' ' ;;
35631 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35632 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35633esac
35634
35635if expr a : '\(a\)' >/dev/null 2>&1; then
35636 as_expr=expr
35637else
35638 as_expr=false
35639fi
35640
35641rm -f conf$$ conf$$.exe conf$$.file
35642echo >conf$$.file
35643if ln -s conf$$.file conf$$ 2>/dev/null; then
35644 # We could just check for DJGPP; but this test a) works b) is more generic
35645 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35646 if test -f conf$$.exe; then
35647 # Don't use ln at all; we don't have any links
35648 as_ln_s='cp -p'
35649 else
35650 as_ln_s='ln -s'
35651 fi
35652elif ln conf$$.file conf$$ 2>/dev/null; then
35653 as_ln_s=ln
35654else
35655 as_ln_s='cp -p'
35656fi
35657rm -f conf$$ conf$$.exe conf$$.file
35658
35659if mkdir -p . 2>/dev/null; then
35660 as_mkdir_p=:
35661else
35662 as_mkdir_p=false
35663fi
35664
35665as_executable_p="test -f"
35666
35667# Sed expression to map a string onto a valid CPP name.
35668as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35669
35670# Sed expression to map a string onto a valid variable name.
35671as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35672
35673
35674# IFS
35675# We need space, tab and new line, in precisely that order.
35676as_nl='
35677'
35678IFS=" $as_nl"
35679
35680# CDPATH.
35681$as_unset CDPATH
35682
35683exec 6>&1
35684
35685# Open the log real soon, to keep \$[0] and so on meaningful, and to
35686# report actual input values of CONFIG_FILES etc. instead of their
35687# values after options handling. Logging --version etc. is OK.
35688exec 5>>config.log
35689{
35690 echo
35691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35692## Running $as_me. ##
35693_ASBOX
35694} >&5
35695cat >&5 <<_CSEOF
35696
35697This file was extended by wxWindows $as_me 2.5.0, which was
35698generated by GNU Autoconf 2.57. Invocation command line was
35699
35700 CONFIG_FILES = $CONFIG_FILES
35701 CONFIG_HEADERS = $CONFIG_HEADERS
35702 CONFIG_LINKS = $CONFIG_LINKS
35703 CONFIG_COMMANDS = $CONFIG_COMMANDS
35704 $ $0 $@
35705
35706_CSEOF
35707echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35708echo >&5
35709_ACEOF
35710
35711# Files that config.status was made for.
35712if test -n "$ac_config_files"; then
35713 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35714fi
35715
35716if test -n "$ac_config_headers"; then
35717 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35718fi
35719
35720if test -n "$ac_config_links"; then
35721 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35722fi
35723
35724if test -n "$ac_config_commands"; then
35725 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35726fi
35727
35728cat >>$CONFIG_STATUS <<\_ACEOF
35729
35730ac_cs_usage="\
35731\`$as_me' instantiates files from templates according to the
35732current configuration.
35733
35734Usage: $0 [OPTIONS] [FILE]...
35735
35736 -h, --help print this help, then exit
35737 -V, --version print version number, then exit
35738 -q, --quiet do not print progress messages
35739 -d, --debug don't remove temporary files
35740 --recheck update $as_me by reconfiguring in the same conditions
35741 --file=FILE[:TEMPLATE]
35742 instantiate the configuration file FILE
35743 --header=FILE[:TEMPLATE]
35744 instantiate the configuration header FILE
35745
35746Configuration files:
35747$config_files
35748
35749Configuration headers:
35750$config_headers
35751
35752Configuration commands:
35753$config_commands
35754
35755Report bugs to <bug-autoconf@gnu.org>."
35756_ACEOF
35757
35758cat >>$CONFIG_STATUS <<_ACEOF
35759ac_cs_version="\\
35760wxWindows config.status 2.5.0
35761configured by $0, generated by GNU Autoconf 2.57,
35762 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35763
35764Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35765Free Software Foundation, Inc.
35766This config.status script is free software; the Free Software Foundation
35767gives unlimited permission to copy, distribute and modify it."
35768srcdir=$srcdir
35769INSTALL="$INSTALL"
35770_ACEOF
35771
35772cat >>$CONFIG_STATUS <<\_ACEOF
35773# If no file are specified by the user, then we need to provide default
35774# value. By we need to know if files were specified by the user.
35775ac_need_defaults=:
35776while test $# != 0
35777do
35778 case $1 in
35779 --*=*)
35780 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35781 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35782 ac_shift=:
35783 ;;
35784 -*)
35785 ac_option=$1
35786 ac_optarg=$2
35787 ac_shift=shift
35788 ;;
35789 *) # This is not an option, so the user has probably given explicit
35790 # arguments.
35791 ac_option=$1
35792 ac_need_defaults=false;;
35793 esac
35794
35795 case $ac_option in
35796 # Handling of the options.
35797_ACEOF
35798cat >>$CONFIG_STATUS <<\_ACEOF
35799 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35800 ac_cs_recheck=: ;;
35801 --version | --vers* | -V )
35802 echo "$ac_cs_version"; exit 0 ;;
35803 --he | --h)
35804 # Conflict between --help and --header
35805 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35806Try \`$0 --help' for more information." >&5
35807echo "$as_me: error: ambiguous option: $1
35808Try \`$0 --help' for more information." >&2;}
35809 { (exit 1); exit 1; }; };;
35810 --help | --hel | -h )
35811 echo "$ac_cs_usage"; exit 0 ;;
35812 --debug | --d* | -d )
35813 debug=: ;;
35814 --file | --fil | --fi | --f )
35815 $ac_shift
35816 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35817 ac_need_defaults=false;;
35818 --header | --heade | --head | --hea )
35819 $ac_shift
35820 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35821 ac_need_defaults=false;;
35822 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35823 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35824 ac_cs_silent=: ;;
35825
35826 # This is an error.
35827 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35828Try \`$0 --help' for more information." >&5
35829echo "$as_me: error: unrecognized option: $1
35830Try \`$0 --help' for more information." >&2;}
35831 { (exit 1); exit 1; }; } ;;
35832
35833 *) ac_config_targets="$ac_config_targets $1" ;;
35834
35835 esac
35836 shift
35837done
35838
35839ac_configure_extra_args=
35840
35841if $ac_cs_silent; then
35842 exec 6>/dev/null
35843 ac_configure_extra_args="$ac_configure_extra_args --silent"
35844fi
35845
35846_ACEOF
35847cat >>$CONFIG_STATUS <<_ACEOF
35848if \$ac_cs_recheck; then
35849 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35850 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35851fi
35852
35853_ACEOF
35854
35855cat >>$CONFIG_STATUS <<_ACEOF
35856#
35857# INIT-COMMANDS section.
35858#
35859
35860
35861 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35862 LN_S="${LN_S}"
35863
35864
35865
35866_ACEOF
35867
35868
35869
35870cat >>$CONFIG_STATUS <<\_ACEOF
35871for ac_config_target in $ac_config_targets
35872do
35873 case "$ac_config_target" in
35874 # Handling of arguments.
35875 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35876 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35877 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35878 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35879 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35880 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35881 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35882echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35883 { (exit 1); exit 1; }; };;
35884 esac
35885done
35886
35887# If the user did not use the arguments to specify the items to instantiate,
35888# then the envvar interface is used. Set only those that are not.
35889# We use the long form for the default assignment because of an extremely
35890# bizarre bug on SunOS 4.1.3.
35891if $ac_need_defaults; then
35892 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35893 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35894 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35895fi
35896
35897# Have a temporary directory for convenience. Make it in the build tree
35898# simply because there is no reason to put it here, and in addition,
35899# creating and moving files from /tmp can sometimes cause problems.
35900# Create a temporary directory, and hook for its removal unless debugging.
35901$debug ||
35902{
35903 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35904 trap '{ (exit 1); exit 1; }' 1 2 13 15
35905}
35906
35907# Create a (secure) tmp directory for tmp files.
35908
35909{
35910 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35911 test -n "$tmp" && test -d "$tmp"
35912} ||
35913{
35914 tmp=./confstat$$-$RANDOM
35915 (umask 077 && mkdir $tmp)
35916} ||
35917{
35918 echo "$me: cannot create a temporary directory in ." >&2
35919 { (exit 1); exit 1; }
35920}
35921
35922_ACEOF
35923
35924cat >>$CONFIG_STATUS <<_ACEOF
35925
35926#
35927# CONFIG_FILES section.
35928#
35929
35930# No need to generate the scripts if there are no CONFIG_FILES.
35931# This happens for instance when ./config.status config.h
35932if test -n "\$CONFIG_FILES"; then
35933 # Protect against being on the right side of a sed subst in config.status.
35934 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35935 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35936s,@SHELL@,$SHELL,;t t
35937s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35938s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35939s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35940s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35941s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35942s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35943s,@exec_prefix@,$exec_prefix,;t t
35944s,@prefix@,$prefix,;t t
35945s,@program_transform_name@,$program_transform_name,;t t
35946s,@bindir@,$bindir,;t t
35947s,@sbindir@,$sbindir,;t t
35948s,@libexecdir@,$libexecdir,;t t
35949s,@datadir@,$datadir,;t t
35950s,@sysconfdir@,$sysconfdir,;t t
35951s,@sharedstatedir@,$sharedstatedir,;t t
35952s,@localstatedir@,$localstatedir,;t t
35953s,@libdir@,$libdir,;t t
35954s,@includedir@,$includedir,;t t
35955s,@oldincludedir@,$oldincludedir,;t t
35956s,@infodir@,$infodir,;t t
35957s,@mandir@,$mandir,;t t
35958s,@build_alias@,$build_alias,;t t
35959s,@host_alias@,$host_alias,;t t
35960s,@target_alias@,$target_alias,;t t
35961s,@DEFS@,$DEFS,;t t
35962s,@ECHO_C@,$ECHO_C,;t t
35963s,@ECHO_N@,$ECHO_N,;t t
35964s,@ECHO_T@,$ECHO_T,;t t
35965s,@LIBS@,$LIBS,;t t
35966s,@build@,$build,;t t
35967s,@build_cpu@,$build_cpu,;t t
35968s,@build_vendor@,$build_vendor,;t t
35969s,@build_os@,$build_os,;t t
35970s,@host@,$host,;t t
35971s,@host_cpu@,$host_cpu,;t t
35972s,@host_vendor@,$host_vendor,;t t
35973s,@host_os@,$host_os,;t t
35974s,@target@,$target,;t t
35975s,@target_cpu@,$target_cpu,;t t
35976s,@target_vendor@,$target_vendor,;t t
35977s,@target_os@,$target_os,;t t
35978s,@CC@,$CC,;t t
35979s,@CFLAGS@,$CFLAGS,;t t
35980s,@LDFLAGS@,$LDFLAGS,;t t
35981s,@CPPFLAGS@,$CPPFLAGS,;t t
35982s,@ac_ct_CC@,$ac_ct_CC,;t t
35983s,@EXEEXT@,$EXEEXT,;t t
35984s,@OBJEXT@,$OBJEXT,;t t
35985s,@CPP@,$CPP,;t t
35986s,@EGREP@,$EGREP,;t t
35987s,@CXX@,$CXX,;t t
35988s,@CXXFLAGS@,$CXXFLAGS,;t t
35989s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35990s,@RANLIB@,$RANLIB,;t t
35991s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35992s,@AR@,$AR,;t t
35993s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35994s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35995s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35996s,@STRIP@,$STRIP,;t t
35997s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35998s,@YACC@,$YACC,;t t
35999s,@LEX@,$LEX,;t t
36000s,@LEXLIB@,$LEXLIB,;t t
36001s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
36002s,@LN_S@,$LN_S,;t t
36003s,@CXXCPP@,$CXXCPP,;t t
36004s,@subdirs@,$subdirs,;t t
36005s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36006s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36007s,@GTK_LIBS@,$GTK_LIBS,;t t
36008s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36009s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36010s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36011s,@X_CFLAGS@,$X_CFLAGS,;t t
36012s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36013s,@X_LIBS@,$X_LIBS,;t t
36014s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36015s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36016s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36017s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36018s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36019s,@RESCOMP@,$RESCOMP,;t t
36020s,@DEREZ@,$DEREZ,;t t
36021s,@SETFILE@,$SETFILE,;t t
36022s,@LIBICONV@,$LIBICONV,;t t
36023s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36024s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36025s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36026s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36027s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36028s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36029s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36030s,@VENDOR@,$VENDOR,;t t
36031s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36032s,@WXUNIV@,$WXUNIV,;t t
36033s,@MONOLITHIC@,$MONOLITHIC,;t t
36034s,@EXTRALIBS@,$EXTRALIBS,;t t
36035s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36036s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36037s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36038s,@UNICODE@,$UNICODE,;t t
36039s,@BUILD@,$BUILD,;t t
36040s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36041s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36042s,@SHARED@,$SHARED,;t t
36043s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36044s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36045s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36046s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36047s,@SET_MAKE@,$SET_MAKE,;t t
36048s,@MAKE_SET@,$MAKE_SET,;t t
36049s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36050s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36051s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36052s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36053s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36054s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36055s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36056s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36057s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36058s,@DLLPREFIX@,$DLLPREFIX,;t t
36059s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36060s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36061s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36062s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36063s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36064s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36065s,@PIC_FLAG@,$PIC_FLAG,;t t
36066s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36067s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36068s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36069s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36070s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36071s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36072s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36073s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36074s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36075s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36076s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36077s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36078s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36079s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36080s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36081s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36082s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36083s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36084s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36085s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36086s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36087s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36088s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36089s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36090s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36091s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36092s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36093s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36094s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36095s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36096s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36097s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36098s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36099s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36100s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36101s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36102s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36103s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36104s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36105s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36106s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36107s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36108s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36109s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36110s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36111s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
36112s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36113s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36114s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36115s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36116s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
36117s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36118s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36119s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36120s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36121s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36122s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36123s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
36124s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36125s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36126s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36127s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36128s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
36129s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36130s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36131s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36132s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36133s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36134s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36135s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36136s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36137s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36138s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36139s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36140s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36141s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36142s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36143s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36144s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36145s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36146s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36147s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36148s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36149s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36150s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36151s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36152s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36153s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36154s,@LEX_STEM@,$LEX_STEM,;t t
36155s,@PATH_IFS@,$PATH_IFS,;t t
36156s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36157s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36158s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36159s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36160s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36161s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36162s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36163s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36164s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36165s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36166s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36167s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36168s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36169s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36170s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36171s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36172s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36173s,@WX_ALL@,$WX_ALL,;t t
36174s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36175s,@SHARED_LD@,$SHARED_LD,;t t
36176s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36177s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36178s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36179s,@USE_GUI@,$USE_GUI,;t t
36180s,@AFMINSTALL@,$AFMINSTALL,;t t
36181s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36182s,@TOOLKIT@,$TOOLKIT,;t t
36183s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36184s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36185s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36186s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36187s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36188s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36189s,@cross_compiling@,$cross_compiling,;t t
36190s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36191s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36192s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36193s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36194s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36195s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36196s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36197s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36198s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36199s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36200s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36201s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36202s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36203s,@GUIDIST@,$GUIDIST,;t t
36204s,@PORT_FILES@,$PORT_FILES,;t t
36205s,@DISTDIR@,$DISTDIR,;t t
36206s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36207s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36208s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36209s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36210s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36211s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36212s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36213s,@RESFLAGS@,$RESFLAGS,;t t
36214s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36215s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36216s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36217s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36218s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36219s,@MACRESCOMP@,$MACRESCOMP,;t t
36220s,@MACSETFILE@,$MACSETFILE,;t t
36221s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36222s,@GCC@,$GCC,;t t
36223s,@DLLTOOL@,$DLLTOOL,;t t
36224s,@AS@,$AS,;t t
36225s,@NM@,$NM,;t t
36226s,@LD@,$LD,;t t
36227s,@MAKEINFO@,$MAKEINFO,;t t
36228s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36229s,@ESD_LINK@,$ESD_LINK,;t t
36230s,@LIBOBJS@,$LIBOBJS,;t t
36231s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36232CEOF
36233
36234_ACEOF
36235
36236 cat >>$CONFIG_STATUS <<\_ACEOF
36237 # Split the substitutions into bite-sized pieces for seds with
36238 # small command number limits, like on Digital OSF/1 and HP-UX.
36239 ac_max_sed_lines=48
36240 ac_sed_frag=1 # Number of current file.
36241 ac_beg=1 # First line for current file.
36242 ac_end=$ac_max_sed_lines # Line after last line for current file.
36243 ac_more_lines=:
36244 ac_sed_cmds=
36245 while $ac_more_lines; do
36246 if test $ac_beg -gt 1; then
36247 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36248 else
36249 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36250 fi
36251 if test ! -s $tmp/subs.frag; then
36252 ac_more_lines=false
36253 else
36254 # The purpose of the label and of the branching condition is to
36255 # speed up the sed processing (if there are no `@' at all, there
36256 # is no need to browse any of the substitutions).
36257 # These are the two extra sed commands mentioned above.
36258 (echo ':t
36259 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36260 if test -z "$ac_sed_cmds"; then
36261 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36262 else
36263 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36264 fi
36265 ac_sed_frag=`expr $ac_sed_frag + 1`
36266 ac_beg=$ac_end
36267 ac_end=`expr $ac_end + $ac_max_sed_lines`
36268 fi
36269 done
36270 if test -z "$ac_sed_cmds"; then
36271 ac_sed_cmds=cat
36272 fi
36273fi # test -n "$CONFIG_FILES"
36274
36275_ACEOF
36276cat >>$CONFIG_STATUS <<\_ACEOF
36277for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36278 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36279 case $ac_file in
36280 - | *:- | *:-:* ) # input from stdin
36281 cat >$tmp/stdin
36282 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36283 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36284 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36285 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36286 * ) ac_file_in=$ac_file.in ;;
36287 esac
36288
36289 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36290 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36291$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36292 X"$ac_file" : 'X\(//\)[^/]' \| \
36293 X"$ac_file" : 'X\(//\)$' \| \
36294 X"$ac_file" : 'X\(/\)' \| \
36295 . : '\(.\)' 2>/dev/null ||
36296echo X"$ac_file" |
36297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36299 /^X\(\/\/\)$/{ s//\1/; q; }
36300 /^X\(\/\).*/{ s//\1/; q; }
36301 s/.*/./; q'`
36302 { if $as_mkdir_p; then
36303 mkdir -p "$ac_dir"
36304 else
36305 as_dir="$ac_dir"
36306 as_dirs=
36307 while test ! -d "$as_dir"; do
36308 as_dirs="$as_dir $as_dirs"
36309 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36310$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36311 X"$as_dir" : 'X\(//\)[^/]' \| \
36312 X"$as_dir" : 'X\(//\)$' \| \
36313 X"$as_dir" : 'X\(/\)' \| \
36314 . : '\(.\)' 2>/dev/null ||
36315echo X"$as_dir" |
36316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36318 /^X\(\/\/\)$/{ s//\1/; q; }
36319 /^X\(\/\).*/{ s//\1/; q; }
36320 s/.*/./; q'`
36321 done
36322 test ! -n "$as_dirs" || mkdir $as_dirs
36323 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36324echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36325 { (exit 1); exit 1; }; }; }
36326
36327 ac_builddir=.
36328
36329if test "$ac_dir" != .; then
36330 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36331 # A "../" for each directory in $ac_dir_suffix.
36332 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36333else
36334 ac_dir_suffix= ac_top_builddir=
36335fi
36336
36337case $srcdir in
36338 .) # No --srcdir option. We are building in place.
36339 ac_srcdir=.
36340 if test -z "$ac_top_builddir"; then
36341 ac_top_srcdir=.
36342 else
36343 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36344 fi ;;
36345 [\\/]* | ?:[\\/]* ) # Absolute path.
36346 ac_srcdir=$srcdir$ac_dir_suffix;
36347 ac_top_srcdir=$srcdir ;;
36348 *) # Relative path.
36349 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36350 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36351esac
36352# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36353# absolute.
36354ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36355ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36356ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36357ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36358
36359
36360 case $INSTALL in
36361 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36362 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36363 esac
36364
36365 if test x"$ac_file" != x-; then
36366 { echo "$as_me:$LINENO: creating $ac_file" >&5
36367echo "$as_me: creating $ac_file" >&6;}
36368 rm -f "$ac_file"
36369 fi
36370 # Let's still pretend it is `configure' which instantiates (i.e., don't
36371 # use $as_me), people would be surprised to read:
36372 # /* config.h. Generated by config.status. */
36373 if test x"$ac_file" = x-; then
36374 configure_input=
36375 else
36376 configure_input="$ac_file. "
36377 fi
36378 configure_input=$configure_input"Generated from `echo $ac_file_in |
36379 sed 's,.*/,,'` by configure."
36380
36381 # First look for the input files in the build tree, otherwise in the
36382 # src tree.
36383 ac_file_inputs=`IFS=:
36384 for f in $ac_file_in; do
36385 case $f in
36386 -) echo $tmp/stdin ;;
36387 [\\/$]*)
36388 # Absolute (can't be DOS-style, as IFS=:)
36389 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36390echo "$as_me: error: cannot find input file: $f" >&2;}
36391 { (exit 1); exit 1; }; }
36392 echo $f;;
36393 *) # Relative
36394 if test -f "$f"; then
36395 # Build tree
36396 echo $f
36397 elif test -f "$srcdir/$f"; then
36398 # Source tree
36399 echo $srcdir/$f
36400 else
36401 # /dev/null tree
36402 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36403echo "$as_me: error: cannot find input file: $f" >&2;}
36404 { (exit 1); exit 1; }; }
36405 fi;;
36406 esac
36407 done` || { (exit 1); exit 1; }
36408_ACEOF
36409cat >>$CONFIG_STATUS <<_ACEOF
36410 sed "$ac_vpsub
36411$extrasub
36412_ACEOF
36413cat >>$CONFIG_STATUS <<\_ACEOF
36414:t
36415/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36416s,@configure_input@,$configure_input,;t t
36417s,@srcdir@,$ac_srcdir,;t t
36418s,@abs_srcdir@,$ac_abs_srcdir,;t t
36419s,@top_srcdir@,$ac_top_srcdir,;t t
36420s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36421s,@builddir@,$ac_builddir,;t t
36422s,@abs_builddir@,$ac_abs_builddir,;t t
36423s,@top_builddir@,$ac_top_builddir,;t t
36424s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36425s,@INSTALL@,$ac_INSTALL,;t t
36426" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36427 rm -f $tmp/stdin
36428 if test x"$ac_file" != x-; then
36429 mv $tmp/out $ac_file
36430 else
36431 cat $tmp/out
36432 rm -f $tmp/out
36433 fi
36434
36435done
36436_ACEOF
36437cat >>$CONFIG_STATUS <<\_ACEOF
36438
36439#
36440# CONFIG_HEADER section.
36441#
36442
36443# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36444# NAME is the cpp macro being defined and VALUE is the value it is being given.
36445#
36446# ac_d sets the value in "#define NAME VALUE" lines.
36447ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36448ac_dB='[ ].*$,\1#\2'
36449ac_dC=' '
36450ac_dD=',;t'
36451# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36452ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36453ac_uB='$,\1#\2define\3'
36454ac_uC=' '
36455ac_uD=',;t'
36456
36457for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36458 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36459 case $ac_file in
36460 - | *:- | *:-:* ) # input from stdin
36461 cat >$tmp/stdin
36462 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36463 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36464 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36465 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36466 * ) ac_file_in=$ac_file.in ;;
36467 esac
36468
36469 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36470echo "$as_me: creating $ac_file" >&6;}
36471
36472 # First look for the input files in the build tree, otherwise in the
36473 # src tree.
36474 ac_file_inputs=`IFS=:
36475 for f in $ac_file_in; do
36476 case $f in
36477 -) echo $tmp/stdin ;;
36478 [\\/$]*)
36479 # Absolute (can't be DOS-style, as IFS=:)
36480 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36481echo "$as_me: error: cannot find input file: $f" >&2;}
36482 { (exit 1); exit 1; }; }
36483 echo $f;;
36484 *) # Relative
36485 if test -f "$f"; then
36486 # Build tree
36487 echo $f
36488 elif test -f "$srcdir/$f"; then
36489 # Source tree
36490 echo $srcdir/$f
36491 else
36492 # /dev/null tree
36493 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36494echo "$as_me: error: cannot find input file: $f" >&2;}
36495 { (exit 1); exit 1; }; }
36496 fi;;
36497 esac
36498 done` || { (exit 1); exit 1; }
36499 # Remove the trailing spaces.
36500 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36501
36502_ACEOF
36503
36504# Transform confdefs.h into two sed scripts, `conftest.defines' and
36505# `conftest.undefs', that substitutes the proper values into
36506# config.h.in to produce config.h. The first handles `#define'
36507# templates, and the second `#undef' templates.
36508# And first: Protect against being on the right side of a sed subst in
36509# config.status. Protect against being in an unquoted here document
36510# in config.status.
36511rm -f conftest.defines conftest.undefs
36512# Using a here document instead of a string reduces the quoting nightmare.
36513# Putting comments in sed scripts is not portable.
36514#
36515# `end' is used to avoid that the second main sed command (meant for
36516# 0-ary CPP macros) applies to n-ary macro definitions.
36517# See the Autoconf documentation for `clear'.
36518cat >confdef2sed.sed <<\_ACEOF
36519s/[\\&,]/\\&/g
36520s,[\\$`],\\&,g
36521t clear
36522: clear
36523s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36524t end
36525s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36526: end
36527_ACEOF
36528# If some macros were called several times there might be several times
36529# the same #defines, which is useless. Nevertheless, we may not want to
36530# sort them, since we want the *last* AC-DEFINE to be honored.
36531uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36532sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36533rm -f confdef2sed.sed
36534
36535# This sed command replaces #undef with comments. This is necessary, for
36536# example, in the case of _POSIX_SOURCE, which is predefined and required
36537# on some systems where configure will not decide to define it.
36538cat >>conftest.undefs <<\_ACEOF
36539s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36540_ACEOF
36541
36542# Break up conftest.defines because some shells have a limit on the size
36543# of here documents, and old seds have small limits too (100 cmds).
36544echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36545echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36546echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36547echo ' :' >>$CONFIG_STATUS
36548rm -f conftest.tail
36549while grep . conftest.defines >/dev/null
36550do
36551 # Write a limited-size here document to $tmp/defines.sed.
36552 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36553 # Speed up: don't consider the non `#define' lines.
36554 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36555 # Work around the forget-to-reset-the-flag bug.
36556 echo 't clr' >>$CONFIG_STATUS
36557 echo ': clr' >>$CONFIG_STATUS
36558 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36559 echo 'CEOF
36560 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36561 rm -f $tmp/in
36562 mv $tmp/out $tmp/in
36563' >>$CONFIG_STATUS
36564 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36565 rm -f conftest.defines
36566 mv conftest.tail conftest.defines
36567done
36568rm -f conftest.defines
36569echo ' fi # grep' >>$CONFIG_STATUS
36570echo >>$CONFIG_STATUS
36571
36572# Break up conftest.undefs because some shells have a limit on the size
36573# of here documents, and old seds have small limits too (100 cmds).
36574echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36575rm -f conftest.tail
36576while grep . conftest.undefs >/dev/null
36577do
36578 # Write a limited-size here document to $tmp/undefs.sed.
36579 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36580 # Speed up: don't consider the non `#undef'
36581 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36582 # Work around the forget-to-reset-the-flag bug.
36583 echo 't clr' >>$CONFIG_STATUS
36584 echo ': clr' >>$CONFIG_STATUS
36585 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36586 echo 'CEOF
36587 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36588 rm -f $tmp/in
36589 mv $tmp/out $tmp/in
36590' >>$CONFIG_STATUS
36591 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36592 rm -f conftest.undefs
36593 mv conftest.tail conftest.undefs
36594done
36595rm -f conftest.undefs
36596
36597cat >>$CONFIG_STATUS <<\_ACEOF
36598 # Let's still pretend it is `configure' which instantiates (i.e., don't
36599 # use $as_me), people would be surprised to read:
36600 # /* config.h. Generated by config.status. */
36601 if test x"$ac_file" = x-; then
36602 echo "/* Generated by configure. */" >$tmp/config.h
36603 else
36604 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36605 fi
36606 cat $tmp/in >>$tmp/config.h
36607 rm -f $tmp/in
36608 if test x"$ac_file" != x-; then
36609 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36610 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36611echo "$as_me: $ac_file is unchanged" >&6;}
36612 else
36613 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36614$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36615 X"$ac_file" : 'X\(//\)[^/]' \| \
36616 X"$ac_file" : 'X\(//\)$' \| \
36617 X"$ac_file" : 'X\(/\)' \| \
36618 . : '\(.\)' 2>/dev/null ||
36619echo X"$ac_file" |
36620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36621 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36622 /^X\(\/\/\)$/{ s//\1/; q; }
36623 /^X\(\/\).*/{ s//\1/; q; }
36624 s/.*/./; q'`
36625 { if $as_mkdir_p; then
36626 mkdir -p "$ac_dir"
36627 else
36628 as_dir="$ac_dir"
36629 as_dirs=
36630 while test ! -d "$as_dir"; do
36631 as_dirs="$as_dir $as_dirs"
36632 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36633$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36634 X"$as_dir" : 'X\(//\)[^/]' \| \
36635 X"$as_dir" : 'X\(//\)$' \| \
36636 X"$as_dir" : 'X\(/\)' \| \
36637 . : '\(.\)' 2>/dev/null ||
36638echo X"$as_dir" |
36639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36640 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36641 /^X\(\/\/\)$/{ s//\1/; q; }
36642 /^X\(\/\).*/{ s//\1/; q; }
36643 s/.*/./; q'`
36644 done
36645 test ! -n "$as_dirs" || mkdir $as_dirs
36646 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36647echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36648 { (exit 1); exit 1; }; }; }
36649
36650 rm -f $ac_file
36651 mv $tmp/config.h $ac_file
36652 fi
36653 else
36654 cat $tmp/config.h
36655 rm -f $tmp/config.h
36656 fi
36657done
36658_ACEOF
36659cat >>$CONFIG_STATUS <<\_ACEOF
36660
36661#
36662# CONFIG_COMMANDS section.
36663#
36664for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36665 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36666 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36667 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36668$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36669 X"$ac_dest" : 'X\(//\)[^/]' \| \
36670 X"$ac_dest" : 'X\(//\)$' \| \
36671 X"$ac_dest" : 'X\(/\)' \| \
36672 . : '\(.\)' 2>/dev/null ||
36673echo X"$ac_dest" |
36674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36675 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36676 /^X\(\/\/\)$/{ s//\1/; q; }
36677 /^X\(\/\).*/{ s//\1/; q; }
36678 s/.*/./; q'`
36679 ac_builddir=.
36680
36681if test "$ac_dir" != .; then
36682 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36683 # A "../" for each directory in $ac_dir_suffix.
36684 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36685else
36686 ac_dir_suffix= ac_top_builddir=
36687fi
36688
36689case $srcdir in
36690 .) # No --srcdir option. We are building in place.
36691 ac_srcdir=.
36692 if test -z "$ac_top_builddir"; then
36693 ac_top_srcdir=.
36694 else
36695 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36696 fi ;;
36697 [\\/]* | ?:[\\/]* ) # Absolute path.
36698 ac_srcdir=$srcdir$ac_dir_suffix;
36699 ac_top_srcdir=$srcdir ;;
36700 *) # Relative path.
36701 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36702 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36703esac
36704# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36705# absolute.
36706ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36707ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36708ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36709ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36710
36711
36712 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36713echo "$as_me: executing $ac_dest commands" >&6;}
36714 case $ac_dest in
36715 default )
36716 if test ! -h wx-config; then
36717 chmod +x wx-config
36718 mv wx-config wx${TOOLCHAIN_NAME}-config
36719 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36720 fi
36721
36722 if test ! -d lib; then
36723 mkdir lib
36724 fi
36725 if test ! -d lib/wx; then
36726 mkdir lib/wx
36727 fi
36728 if test ! -d lib/wx/include; then
36729 mkdir lib/wx/include
36730 fi
36731 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36732 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36733 fi
36734 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36735 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36736 fi
36737 if test -f setup.h; then
36738 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36739 fi
36740 ;;
36741 esac
36742done
36743_ACEOF
36744
36745cat >>$CONFIG_STATUS <<\_ACEOF
36746
36747{ (exit 0); exit 0; }
36748_ACEOF
36749chmod +x $CONFIG_STATUS
36750ac_clean_files=$ac_clean_files_save
36751
36752
36753# configure is writing to config.log, and then calls config.status.
36754# config.status does its own redirection, appending to config.log.
36755# Unfortunately, on DOS this fails, as config.log is still kept open
36756# by configure, so config.status won't be able to write to it; its
36757# output is simply discarded. So we exec the FD to /dev/null,
36758# effectively closing config.log, so it can be properly (re)opened and
36759# appended to by config.status. When coming back to configure, we
36760# need to make the FD available again.
36761if test "$no_create" != yes; then
36762 ac_cs_success=:
36763 ac_config_status_args=
36764 test "$silent" = yes &&
36765 ac_config_status_args="$ac_config_status_args --quiet"
36766 exec 5>/dev/null
36767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36768 exec 5>>config.log
36769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36770 # would make configure fail if this is the last instruction.
36771 $ac_cs_success || { (exit 1); exit 1; }
36772fi
36773
36774#
36775# CONFIG_SUBDIRS section.
36776#
36777if test "$no_recursion" != yes; then
36778
36779 # Remove --cache-file and --srcdir arguments so they do not pile up.
36780 ac_sub_configure_args=
36781 ac_prev=
36782 for ac_arg in $ac_configure_args; do
36783 if test -n "$ac_prev"; then
36784 ac_prev=
36785 continue
36786 fi
36787 case $ac_arg in
36788 -cache-file | --cache-file | --cache-fil | --cache-fi \
36789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36790 ac_prev=cache_file ;;
36791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36793 | --c=*)
36794 ;;
36795 --config-cache | -C)
36796 ;;
36797 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36798 ac_prev=srcdir ;;
36799 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36800 ;;
36801 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36802 ac_prev=prefix ;;
36803 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36804 ;;
36805 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36806 esac
36807 done
36808
36809 # Always prepend --prefix to ensure using the same prefix
36810 # in subdir configurations.
36811 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36812
36813 ac_popdir=`pwd`
36814 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36815
36816 # Do not complain, so a configure script can configure whichever
36817 # parts of a large source tree are present.
36818 test -d $srcdir/$ac_dir || continue
36819
36820 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36821echo "$as_me: configuring in $ac_dir" >&6;}
36822 { if $as_mkdir_p; then
36823 mkdir -p "$ac_dir"
36824 else
36825 as_dir="$ac_dir"
36826 as_dirs=
36827 while test ! -d "$as_dir"; do
36828 as_dirs="$as_dir $as_dirs"
36829 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36830$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36831 X"$as_dir" : 'X\(//\)[^/]' \| \
36832 X"$as_dir" : 'X\(//\)$' \| \
36833 X"$as_dir" : 'X\(/\)' \| \
36834 . : '\(.\)' 2>/dev/null ||
36835echo X"$as_dir" |
36836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36838 /^X\(\/\/\)$/{ s//\1/; q; }
36839 /^X\(\/\).*/{ s//\1/; q; }
36840 s/.*/./; q'`
36841 done
36842 test ! -n "$as_dirs" || mkdir $as_dirs
36843 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36844echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36845 { (exit 1); exit 1; }; }; }
36846
36847 ac_builddir=.
36848
36849if test "$ac_dir" != .; then
36850 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36851 # A "../" for each directory in $ac_dir_suffix.
36852 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36853else
36854 ac_dir_suffix= ac_top_builddir=
36855fi
36856
36857case $srcdir in
36858 .) # No --srcdir option. We are building in place.
36859 ac_srcdir=.
36860 if test -z "$ac_top_builddir"; then
36861 ac_top_srcdir=.
36862 else
36863 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36864 fi ;;
36865 [\\/]* | ?:[\\/]* ) # Absolute path.
36866 ac_srcdir=$srcdir$ac_dir_suffix;
36867 ac_top_srcdir=$srcdir ;;
36868 *) # Relative path.
36869 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36870 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36871esac
36872# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36873# absolute.
36874ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36875ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36876ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36877ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36878
36879
36880 cd $ac_dir
36881
36882 # Check for guested configure; otherwise get Cygnus style configure.
36883 if test -f $ac_srcdir/configure.gnu; then
36884 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
36885 elif test -f $ac_srcdir/configure; then
36886 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
36887 elif test -f $ac_srcdir/configure.in; then
36888 ac_sub_configure=$ac_configure
36889 else
36890 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36891echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36892 ac_sub_configure=
36893 fi
36894
36895 # The recursion is here.
36896 if test -n "$ac_sub_configure"; then
36897 # Make the cache file name correct relative to the subdirectory.
36898 case $cache_file in
36899 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
36900 *) # Relative path.
36901 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
36902 esac
36903
36904 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36905echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36906 # The eval makes quoting arguments work.
36907 eval $ac_sub_configure $ac_sub_configure_args \
36908 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36909 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36910echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36911 { (exit 1); exit 1; }; }
36912 fi
36913
36914 cd $ac_popdir
36915 done
36916fi
36917
36918
36919echo
36920echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36921echo ""
36922echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36923echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36924
36925echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36926echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36927echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36928
36929echo " What level of wxWindows compatibility should be enabled?"
36930echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36931echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36932echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36933
36934echo " Which libraries should wxWindows use?"
36935echo " jpeg ${wxUSE_LIBJPEG-none}"
36936echo " png ${wxUSE_LIBPNG-none}"
36937echo " regex ${wxUSE_REGEX}"
36938echo " tiff ${wxUSE_LIBTIFF-none}"
36939echo " zlib ${wxUSE_ZLIB}"
36940echo " odbc ${wxUSE_ODBC}"
36941echo " expat ${wxUSE_EXPAT}"
36942
36943echo ""
36944