]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
added helpext.cpp
[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 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 DLLPREFIX AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_BUILD_DEBUG COND_BUILD_RELEASE 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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 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_WXUSE_EXPAT_BUILTIN 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 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_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 --disable-largefile omit support for large files
1028 --disable-gtktest do not try to compile and run a test GTK+ program
1029 --disable-gtktest Do not try to compile and run a test GTK program
1030
1031Optional Packages:
1032 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1033 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1034 --with-gtk use GTK+
1035 --with-motif use Motif/Lesstif
1036 --with-mac use Mac OS X
1037 --with-cocoa use Cocoa
1038 --with-wine use Wine
1039 --with-msw use MS-Windows
1040 --with-pm use OS/2 Presentation Manager
1041 --with-mgl use SciTech MGL
1042 --with-microwin use MicroWindows
1043 --with-x11 use X11
1044 --with-libpng use libpng (PNG image format)
1045 --with-libjpeg use libjpeg (JPEG file format)
1046 --with-libtiff use libtiff (TIFF file format)
1047 --with-opengl use OpenGL (or Mesa)
1048 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1049 --with-regex enable support for wxRegEx class
1050 --with-zlib use zlib for LZW compression
1051 --with-odbc use the IODBC and wxODBC classes
1052 --with-expat enable XML support using expat parser
1053 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1054 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1055 --with-x use the X Window System
1056 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1057
1058Some influential environment variables:
1059 CC C compiler command
1060 CFLAGS C compiler flags
1061 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1062 nonstandard directory <lib dir>
1063 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1064 headers in a nonstandard directory <include dir>
1065 CPP C preprocessor
1066 CXX C++ compiler command
1067 CXXFLAGS C++ compiler flags
1068 CXXCPP C++ preprocessor
1069
1070Use these variables to override the choices made by `configure' or to help
1071it to find libraries and programs with nonstandard names/locations.
1072
1073Report bugs to <wx-dev@lists.wxwindows.org>.
1074_ACEOF
1075fi
1076
1077if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1079 ac_popdir=`pwd`
1080 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081 test -d $ac_dir || continue
1082 ac_builddir=.
1083
1084if test "$ac_dir" != .; then
1085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1088else
1089 ac_dir_suffix= ac_top_builddir=
1090fi
1091
1092case $srcdir in
1093 .) # No --srcdir option. We are building in place.
1094 ac_srcdir=.
1095 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=.
1097 else
1098 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1099 fi ;;
1100 [\\/]* | ?:[\\/]* ) # Absolute path.
1101 ac_srcdir=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir=$srcdir ;;
1103 *) # Relative path.
1104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1106esac
1107# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1108# absolute.
1109ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1110ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1111ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1112ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113
1114 cd $ac_dir
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1117 echo
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1120 echo
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1124 echo
1125 $ac_configure --help
1126 else
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 fi
1129 cd $ac_popdir
1130 done
1131fi
1132
1133test -n "$ac_init_help" && exit 0
1134if $ac_init_version; then
1135 cat <<\_ACEOF
1136wxWindows configure 2.5.0
1137generated by GNU Autoconf 2.57
1138
1139Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140Free Software Foundation, Inc.
1141This configure script is free software; the Free Software Foundation
1142gives unlimited permission to copy, distribute and modify it.
1143_ACEOF
1144 exit 0
1145fi
1146exec 5>config.log
1147cat >&5 <<_ACEOF
1148This file contains any messages produced by compilers while
1149running configure, to aid debugging if configure makes a mistake.
1150
1151It was created by wxWindows $as_me 2.5.0, which was
1152generated by GNU Autoconf 2.57. Invocation command line was
1153
1154 $ $0 $@
1155
1156_ACEOF
1157{
1158cat <<_ASUNAME
1159## --------- ##
1160## Platform. ##
1161## --------- ##
1162
1163hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168
1169/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171
1172/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1179
1180_ASUNAME
1181
1182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1183for as_dir in $PATH
1184do
1185 IFS=$as_save_IFS
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1188done
1189
1190} >&5
1191
1192cat >&5 <<_ACEOF
1193
1194
1195## ----------- ##
1196## Core tests. ##
1197## ----------- ##
1198
1199_ACEOF
1200
1201
1202# Keep a trace of the command line.
1203# Strip out --no-create and --no-recursion so they do not pile up.
1204# Strip out --silent because we don't want to record it for future runs.
1205# Also quote any args containing shell meta-characters.
1206# Make two passes to allow for proper duplicate-argument suppression.
1207ac_configure_args=
1208ac_configure_args0=
1209ac_configure_args1=
1210ac_sep=
1211ac_must_keep_next=false
1212for ac_pass in 1 2
1213do
1214 for ac_arg
1215 do
1216 case $ac_arg in
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1220 continue ;;
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 esac
1224 case $ac_pass in
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226 2)
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1230 else
1231 case $ac_arg in
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 esac
1239 ;;
1240 -* ) ac_must_keep_next=true ;;
1241 esac
1242 fi
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1245 ac_sep=" "
1246 ;;
1247 esac
1248 done
1249done
1250$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252
1253# When interrupted or exit'd, cleanup temporary files, and complete
1254# config.log. We remove comments because anyway the quotes in there
1255# would cause problems or look ugly.
1256# WARNING: Be sure not to use single quotes in there, as some shells,
1257# such as our DU 5.0 friend, will then `close' the trap.
1258trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1260 {
1261 echo
1262
1263 cat <<\_ASBOX
1264## ---------------- ##
1265## Cache variables. ##
1266## ---------------- ##
1267_ASBOX
1268 echo
1269 # The following way of writing the cache mishandles newlines in values,
1270{
1271 (set) 2>&1 |
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 *ac_space=\ *)
1274 sed -n \
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1277 ;;
1278 *)
1279 sed -n \
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281 ;;
1282 esac;
1283}
1284 echo
1285
1286 cat <<\_ASBOX
1287## ----------------- ##
1288## Output variables. ##
1289## ----------------- ##
1290_ASBOX
1291 echo
1292 for ac_var in $ac_subst_vars
1293 do
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1296 done | sort
1297 echo
1298
1299 if test -n "$ac_subst_files"; then
1300 cat <<\_ASBOX
1301## ------------- ##
1302## Output files. ##
1303## ------------- ##
1304_ASBOX
1305 echo
1306 for ac_var in $ac_subst_files
1307 do
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1310 done | sort
1311 echo
1312 fi
1313
1314 if test -s confdefs.h; then
1315 cat <<\_ASBOX
1316## ----------- ##
1317## confdefs.h. ##
1318## ----------- ##
1319_ASBOX
1320 echo
1321 sed "/^$/d" confdefs.h | sort
1322 echo
1323 fi
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1327 } >&5
1328 rm -f core core.* *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 exit $exit_status
1331 ' 0
1332for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1334done
1335ac_signal=0
1336
1337# confdefs.h avoids OS command line length limits that DEFS can exceed.
1338rm -rf conftest* confdefs.h
1339# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340echo >confdefs.h
1341
1342# Predefined preprocessor variables.
1343
1344cat >>confdefs.h <<_ACEOF
1345#define PACKAGE_NAME "$PACKAGE_NAME"
1346_ACEOF
1347
1348
1349cat >>confdefs.h <<_ACEOF
1350#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1351_ACEOF
1352
1353
1354cat >>confdefs.h <<_ACEOF
1355#define PACKAGE_VERSION "$PACKAGE_VERSION"
1356_ACEOF
1357
1358
1359cat >>confdefs.h <<_ACEOF
1360#define PACKAGE_STRING "$PACKAGE_STRING"
1361_ACEOF
1362
1363
1364cat >>confdefs.h <<_ACEOF
1365#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1366_ACEOF
1367
1368
1369# Let the site file select an alternate cache file if it wants to.
1370# Prefer explicitly selected file to automatically selected ones.
1371if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1374 else
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 fi
1377fi
1378for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1383 . "$ac_site_file"
1384 fi
1385done
1386
1387if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392echo "$as_me: loading cache $cache_file" >&6;}
1393 case $cache_file in
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1396 esac
1397 fi
1398else
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400echo "$as_me: creating cache $cache_file" >&6;}
1401 >$cache_file
1402fi
1403
1404# Check that the precious variables saved in the cache have kept the same
1405# value.
1406ac_cache_corrupted=false
1407for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1414 set,)
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1418 ,set)
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1422 ,);;
1423 *)
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1428echo "$as_me: former value: $ac_old_val" >&2;}
1429 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1430echo "$as_me: current value: $ac_new_val" >&2;}
1431 ac_cache_corrupted=:
1432 fi;;
1433 esac
1434 # Pass precious variables to config.status.
1435 if test "$ac_new_set" = set; then
1436 case $ac_new_val in
1437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1438 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 *) ac_arg=$ac_var=$ac_new_val ;;
1440 esac
1441 case " $ac_configure_args " in
1442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1443 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1444 esac
1445 fi
1446done
1447if $ac_cache_corrupted; then
1448 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1449echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1450 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1451echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1452 { (exit 1); exit 1; }; }
1453fi
1454
1455ac_ext=c
1456ac_cpp='$CPP $CPPFLAGS'
1457ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459ac_compiler_gnu=$ac_cv_c_compiler_gnu
1460
1461
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
1490ac_aux_dir=
1491for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1492 if test -f $ac_dir/install-sh; then
1493 ac_aux_dir=$ac_dir
1494 ac_install_sh="$ac_aux_dir/install-sh -c"
1495 break
1496 elif test -f $ac_dir/install.sh; then
1497 ac_aux_dir=$ac_dir
1498 ac_install_sh="$ac_aux_dir/install.sh -c"
1499 break
1500 elif test -f $ac_dir/shtool; then
1501 ac_aux_dir=$ac_dir
1502 ac_install_sh="$ac_aux_dir/shtool install -c"
1503 break
1504 fi
1505done
1506if test -z "$ac_aux_dir"; then
1507 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1508echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1509 { (exit 1); exit 1; }; }
1510fi
1511ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1512ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1513ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514
1515# Make sure we can run config.sub.
1516$ac_config_sub sun4 >/dev/null 2>&1 ||
1517 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1518echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1519 { (exit 1); exit 1; }; }
1520
1521echo "$as_me:$LINENO: checking build system type" >&5
1522echo $ECHO_N "checking build system type... $ECHO_C" >&6
1523if test "${ac_cv_build+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1525else
1526 ac_cv_build_alias=$build_alias
1527test -z "$ac_cv_build_alias" &&
1528 ac_cv_build_alias=`$ac_config_guess`
1529test -z "$ac_cv_build_alias" &&
1530 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1531echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1532 { (exit 1); exit 1; }; }
1533ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1534 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1535echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1536 { (exit 1); exit 1; }; }
1537
1538fi
1539echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1540echo "${ECHO_T}$ac_cv_build" >&6
1541build=$ac_cv_build
1542build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1543build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1544build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1545
1546
1547echo "$as_me:$LINENO: checking host system type" >&5
1548echo $ECHO_N "checking host system type... $ECHO_C" >&6
1549if test "${ac_cv_host+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1551else
1552 ac_cv_host_alias=$host_alias
1553test -z "$ac_cv_host_alias" &&
1554 ac_cv_host_alias=$ac_cv_build_alias
1555ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1556 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1557echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1558 { (exit 1); exit 1; }; }
1559
1560fi
1561echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1562echo "${ECHO_T}$ac_cv_host" >&6
1563host=$ac_cv_host
1564host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1565host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1566host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1567
1568
1569echo "$as_me:$LINENO: checking target system type" >&5
1570echo $ECHO_N "checking target system type... $ECHO_C" >&6
1571if test "${ac_cv_target+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1573else
1574 ac_cv_target_alias=$target_alias
1575test "x$ac_cv_target_alias" = "x" &&
1576 ac_cv_target_alias=$ac_cv_host_alias
1577ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1578 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1579echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582fi
1583echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1584echo "${ECHO_T}$ac_cv_target" >&6
1585target=$ac_cv_target
1586target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1587target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1588target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589
1590
1591# The aliases save the names the user supplied, while $host etc.
1592# will get canonicalized.
1593test -n "$target_alias" &&
1594 test "$program_prefix$program_suffix$program_transform_name" = \
1595 NONENONEs,x,x, &&
1596 program_prefix=${target_alias}-
1597
1598
1599
1600WX_MAJOR_VERSION_NUMBER=2
1601WX_MINOR_VERSION_NUMBER=5
1602WX_RELEASE_NUMBER=0
1603
1604WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1605WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1606
1607WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1608
1609WX_CURRENT=0
1610WX_REVISION=0
1611WX_AGE=0
1612
1613
1614
1615USE_UNIX=1
1616USE_WIN32=0
1617USE_DOS=0
1618USE_BEOS=0
1619USE_MAC=0
1620
1621USE_AIX=
1622USE_BSD= USE_DARWIN= USE_FREEBSD=
1623USE_GNU= USE_HPUX=
1624USE_LINUX=
1625USE_NETBSD=
1626USE_OPENBSD=
1627USE_OSF= USE_SGI=
1628USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1629USE_ULTRIX=
1630USE_UNIXWARE=
1631
1632USE_ALPHA=
1633
1634NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1635
1636ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1637
1638DEFAULT_wxUSE_COCOA=0
1639DEFAULT_wxUSE_GTK=0
1640DEFAULT_wxUSE_MAC=0
1641DEFAULT_wxUSE_MGL=0
1642DEFAULT_wxUSE_MICROWIN=0
1643DEFAULT_wxUSE_MOTIF=0
1644DEFAULT_wxUSE_MSW=0
1645DEFAULT_wxUSE_PM=0
1646DEFAULT_wxUSE_X11=0
1647
1648DEFAULT_DEFAULT_wxUSE_COCOA=0
1649DEFAULT_DEFAULT_wxUSE_GTK=0
1650DEFAULT_DEFAULT_wxUSE_MAC=0
1651DEFAULT_DEFAULT_wxUSE_MGL=0
1652DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1653DEFAULT_DEFAULT_wxUSE_MOTIF=0
1654DEFAULT_DEFAULT_wxUSE_MSW=0
1655DEFAULT_DEFAULT_wxUSE_PM=0
1656DEFAULT_DEFAULT_wxUSE_X11=0
1657
1658PROGRAM_EXT=
1659SO_SUFFIX=so
1660SAMPLES_RPATH_FLAG=
1661
1662case "${host}" in
1663 *-hp-hpux* )
1664 USE_HPUX=1
1665 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1666 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1667 SO_SUFFIX=sl
1668 cat >>confdefs.h <<\_ACEOF
1669#define __HPUX__ 1
1670_ACEOF
1671
1672 ;;
1673 *-*-linux* )
1674 USE_LINUX=1
1675 cat >>confdefs.h <<\_ACEOF
1676#define __LINUX__ 1
1677_ACEOF
1678
1679 TMP=`uname -m`
1680 if test "x$TMP" = "xalpha"; then
1681 USE_ALPHA=1
1682 cat >>confdefs.h <<\_ACEOF
1683#define __ALPHA__ 1
1684_ACEOF
1685
1686 fi
1687 DEFAULT_DEFAULT_wxUSE_GTK=1
1688 ;;
1689 *-*-gnu* )
1690 USE_GNU=1
1691 cat >>confdefs.h <<\_ACEOF
1692#define __GNU__ 1
1693_ACEOF
1694
1695 TMP=`uname -m`
1696 if test "x$TMP" = "xalpha"; then
1697 USE_ALPHA=1
1698 cat >>confdefs.h <<\_ACEOF
1699#define __ALPHA__ 1
1700_ACEOF
1701
1702 fi
1703 DEFAULT_DEFAULT_wxUSE_GTK=1
1704 ;;
1705 *-*-irix5* | *-*-irix6* )
1706 USE_SGI=1
1707 USE_SVR4=1
1708 cat >>confdefs.h <<\_ACEOF
1709#define __SGI__ 1
1710_ACEOF
1711
1712 cat >>confdefs.h <<\_ACEOF
1713#define __SVR4__ 1
1714_ACEOF
1715
1716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1717 ;;
1718 *-*-solaris2* )
1719 USE_SUN=1
1720 USE_SOLARIS=1
1721 USE_SVR4=1
1722 cat >>confdefs.h <<\_ACEOF
1723#define __SUN__ 1
1724_ACEOF
1725
1726 cat >>confdefs.h <<\_ACEOF
1727#define __SOLARIS__ 1
1728_ACEOF
1729
1730 cat >>confdefs.h <<\_ACEOF
1731#define __SVR4__ 1
1732_ACEOF
1733
1734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 ;;
1737 *-*-sunos4* )
1738 USE_SUN=1
1739 USE_SUNOS=1
1740 USE_BSD=1
1741 cat >>confdefs.h <<\_ACEOF
1742#define __SUN__ 1
1743_ACEOF
1744
1745 cat >>confdefs.h <<\_ACEOF
1746#define __SUNOS__ 1
1747_ACEOF
1748
1749 cat >>confdefs.h <<\_ACEOF
1750#define __BSD__ 1
1751_ACEOF
1752
1753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1754 ;;
1755 *-*-freebsd*)
1756 USE_BSD=1
1757 USE_FREEBSD=1
1758 cat >>confdefs.h <<\_ACEOF
1759#define __FREEBSD__ 1
1760_ACEOF
1761
1762 cat >>confdefs.h <<\_ACEOF
1763#define __BSD__ 1
1764_ACEOF
1765
1766 DEFAULT_DEFAULT_wxUSE_GTK=1
1767 ;;
1768 *-*-openbsd*)
1769 USE_BSD=1
1770 USE_OPENBSD=1
1771 cat >>confdefs.h <<\_ACEOF
1772#define __OPENBSD__ 1
1773_ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776#define __BSD__ 1
1777_ACEOF
1778
1779 DEFAULT_DEFAULT_wxUSE_GTK=1
1780 ;;
1781 *-*-netbsd*)
1782 USE_BSD=1
1783 USE_NETBSD=1
1784 cat >>confdefs.h <<\_ACEOF
1785#define __NETBSD__ 1
1786_ACEOF
1787
1788 cat >>confdefs.h <<\_ACEOF
1789#define __BSD__ 1
1790_ACEOF
1791
1792 DEFAULT_DEFAULT_wxUSE_GTK=1
1793 ;;
1794 *-*-osf* )
1795 USE_ALPHA=1
1796 USE_OSF=1
1797 cat >>confdefs.h <<\_ACEOF
1798#define __ALPHA__ 1
1799_ACEOF
1800
1801 cat >>confdefs.h <<\_ACEOF
1802#define __OSF__ 1
1803_ACEOF
1804
1805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1806 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1807 ;;
1808 *-*-dgux5* )
1809 USE_ALPHA=1
1810 USE_SVR4=1
1811 cat >>confdefs.h <<\_ACEOF
1812#define __ALPHA__ 1
1813_ACEOF
1814
1815 cat >>confdefs.h <<\_ACEOF
1816#define __SVR4__ 1
1817_ACEOF
1818
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1820 ;;
1821 *-*-sysv5* )
1822 USE_SYSV=1
1823 USE_SVR4=1
1824 cat >>confdefs.h <<\_ACEOF
1825#define __SYSV__ 1
1826_ACEOF
1827
1828 cat >>confdefs.h <<\_ACEOF
1829#define __SVR4__ 1
1830_ACEOF
1831
1832 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1833 ;;
1834 *-*-aix* )
1835 USE_AIX=1
1836 USE_SYSV=1
1837 USE_SVR4=1
1838 SO_SUFFIX=a
1839 cat >>confdefs.h <<\_ACEOF
1840#define __AIX__ 1
1841_ACEOF
1842
1843 cat >>confdefs.h <<\_ACEOF
1844#define __SYSV__ 1
1845_ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848#define __SVR4__ 1
1849_ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1852 ;;
1853
1854 *-*-*UnixWare*)
1855 USE_SYSV=1
1856 USE_SVR4=1
1857 USE_UNIXWARE=1
1858 cat >>confdefs.h <<\_ACEOF
1859#define __UNIXWARE__ 1
1860_ACEOF
1861
1862 ;;
1863
1864 *-*-cygwin* | *-*-mingw32* )
1865 SO_SUFFIX=dll
1866 PROGRAM_EXT=".exe"
1867 RESCOMP=windres
1868 DEFAULT_DEFAULT_wxUSE_MSW=1
1869 ;;
1870
1871 *-pc-msdosdjgpp )
1872 USE_UNIX=0
1873 USE_DOS=1
1874 cat >>confdefs.h <<\_ACEOF
1875#define __DOS__ 1
1876_ACEOF
1877
1878 PROGRAM_EXT=".exe"
1879 DEFAULT_DEFAULT_wxUSE_MGL=1
1880 LIBS="$LIBS -lstdc++"
1881 ;;
1882
1883 *-pc-os2_emx | *-pc-os2-emx )
1884 cat >>confdefs.h <<\_ACEOF
1885#define __EMX__ 1
1886_ACEOF
1887
1888 PROGRAM_EXT=".exe"
1889 DEFAULT_DEFAULT_wxUSE_PM=1
1890 ;;
1891
1892 powerpc-*-darwin* )
1893 USE_BSD=1
1894 USE_DARWIN=1
1895 SO_SUFFIX=dylib
1896 cat >>confdefs.h <<\_ACEOF
1897#define __BSD__ 1
1898_ACEOF
1899
1900 cat >>confdefs.h <<\_ACEOF
1901#define __DARWIN__ 1
1902_ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905#define __POWERPC__ 1
1906_ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909#define TARGET_CARBON 1
1910_ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MAC=1
1913 ;;
1914
1915 *-*-beos* )
1916 USE_BEOS=1
1917 cat >>confdefs.h <<\_ACEOF
1918#define __BEOS__ 1
1919_ACEOF
1920
1921 ;;
1922
1923 *)
1924 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1925echo "$as_me: error: unknown system type ${host}." >&2;}
1926 { (exit 1); exit 1; }; }
1927esac
1928
1929
1930
1931
1932 wx_arg_cache_file="configarg.cache"
1933 echo "loading argument cache $wx_arg_cache_file"
1934 rm -f ${wx_arg_cache_file}.tmp
1935 touch ${wx_arg_cache_file}.tmp
1936 touch ${wx_arg_cache_file}
1937
1938
1939DEBUG_CONFIGURE=0
1940if test $DEBUG_CONFIGURE = 1; then
1941 DEFAULT_wxUSE_UNIVERSAL=no
1942 DEFAULT_wxUSE_STL=no
1943
1944 DEFAULT_wxUSE_NANOX=no
1945
1946 DEFAULT_wxUSE_THREADS=yes
1947
1948 DEFAULT_wxUSE_SHARED=yes
1949 DEFAULT_wxUSE_OPTIMISE=no
1950 DEFAULT_wxUSE_PROFILE=no
1951 DEFAULT_wxUSE_NO_DEPS=no
1952 DEFAULT_wxUSE_NO_RTTI=no
1953 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1954 DEFAULT_wxUSE_PERMISSIVE=no
1955 DEFAULT_wxUSE_DEBUG_FLAG=yes
1956 DEFAULT_wxUSE_DEBUG_INFO=yes
1957 DEFAULT_wxUSE_DEBUG_GDB=yes
1958 DEFAULT_wxUSE_MEM_TRACING=no
1959 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1960 DEFAULT_wxUSE_DMALLOC=no
1961 DEFAULT_wxUSE_APPLE_IEEE=no
1962
1963 DEFAULT_wxUSE_LOG=yes
1964 DEFAULT_wxUSE_LOGWINDOW=no
1965 DEFAULT_wxUSE_LOGGUI=no
1966 DEFAULT_wxUSE_LOGDIALOG=no
1967
1968 DEFAULT_wxUSE_GUI=yes
1969 DEFAULT_wxUSE_CONTROLS=no
1970
1971 DEFAULT_wxUSE_REGEX=no
1972 DEFAULT_wxUSE_XML=no
1973 DEFAULT_wxUSE_EXPAT=no
1974 DEFAULT_wxUSE_ZLIB=no
1975 DEFAULT_wxUSE_LIBPNG=no
1976 DEFAULT_wxUSE_LIBJPEG=no
1977 DEFAULT_wxUSE_LIBTIFF=no
1978 DEFAULT_wxUSE_ODBC=no
1979 DEFAULT_wxUSE_OPENGL=no
1980
1981 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1982 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1983 DEFAULT_wxUSE_STD_IOSTREAM=no
1984 DEFAULT_wxUSE_CMDLINE_PARSER=no
1985 DEFAULT_wxUSE_DATETIME=no
1986 DEFAULT_wxUSE_TIMER=no
1987 DEFAULT_wxUSE_STOPWATCH=no
1988 DEFAULT_wxUSE_FILE=no
1989 DEFAULT_wxUSE_FFILE=no
1990 DEFAULT_wxUSE_TEXTBUFFER=no
1991 DEFAULT_wxUSE_TEXTFILE=no
1992 DEFAULT_wxUSE_WAVE=no
1993 DEFAULT_wxUSE_INTL=no
1994 DEFAULT_wxUSE_CONFIG=no
1995 DEFAULT_wxUSE_FONTMAP=no
1996 DEFAULT_wxUSE_STREAMS=no
1997 DEFAULT_wxUSE_SOCKETS=no
1998 DEFAULT_wxUSE_OLE=no
1999 DEFAULT_wxUSE_DATAOBJ=no
2000 DEFAULT_wxUSE_DIALUP_MANAGER=no
2001 DEFAULT_wxUSE_JOYSTICK=no
2002 DEFAULT_wxUSE_DYNLIB_CLASS=no
2003 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2004 DEFAULT_wxUSE_LONGLONG=no
2005 DEFAULT_wxUSE_GEOMETRY=no
2006
2007 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2008 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2009 DEFAULT_wxUSE_POSTSCRIPT=no
2010
2011 DEFAULT_wxUSE_CLIPBOARD=no
2012 DEFAULT_wxUSE_TOOLTIPS=no
2013 DEFAULT_wxUSE_DRAG_AND_DROP=no
2014 DEFAULT_wxUSE_DRAGIMAGE=no
2015 DEFAULT_wxUSE_SPLINES=no
2016
2017 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2018 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2019 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2020
2021 DEFAULT_wxUSE_RESOURCES=no
2022 DEFAULT_wxUSE_CONSTRAINTS=no
2023 DEFAULT_wxUSE_IPC=no
2024 DEFAULT_wxUSE_HELP=no
2025 DEFAULT_wxUSE_MS_HTML_HELP=no
2026 DEFAULT_wxUSE_WXHTML_HELP=no
2027 DEFAULT_wxUSE_TREELAYOUT=no
2028 DEFAULT_wxUSE_METAFILE=no
2029 DEFAULT_wxUSE_MIMETYPE=no
2030 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2031 DEFAULT_wxUSE_PROTOCOL=no
2032 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2033 DEFAULT_wxUSE_PROTOCOL_FTP=no
2034 DEFAULT_wxUSE_PROTOCOL_FILE=no
2035 DEFAULT_wxUSE_URL=no
2036
2037 DEFAULT_wxUSE_COMMONDLGS=no
2038 DEFAULT_wxUSE_CHOICEDLG=no
2039 DEFAULT_wxUSE_COLOURDLG=no
2040 DEFAULT_wxUSE_DIRDLG=no
2041 DEFAULT_wxUSE_FILEDLG=no
2042 DEFAULT_wxUSE_FINDREPLDLG=no
2043 DEFAULT_wxUSE_FONTDLG=no
2044 DEFAULT_wxUSE_MSGDLG=no
2045 DEFAULT_wxUSE_NUMBERDLG=no
2046 DEFAULT_wxUSE_TEXTDLG=no
2047 DEFAULT_wxUSE_SPLASH=no
2048 DEFAULT_wxUSE_STARTUP_TIPS=no
2049 DEFAULT_wxUSE_PROGRESSDLG=no
2050 DEFAULT_wxUSE_WIZARDDLG=no
2051
2052 DEFAULT_wxUSE_MENUS=no
2053 DEFAULT_wxUSE_MINIFRAME=no
2054 DEFAULT_wxUSE_HTML=no
2055 DEFAULT_wxUSE_FILESYSTEM=no
2056 DEFAULT_wxUSE_FS_INET=no
2057 DEFAULT_wxUSE_FS_ZIP=no
2058 DEFAULT_wxUSE_BUSYINFO=no
2059 DEFAULT_wxUSE_ZIPSTREAM=no
2060 DEFAULT_wxUSE_VALIDATORS=no
2061
2062 DEFAULT_wxUSE_ACCEL=no
2063 DEFAULT_wxUSE_BUTTON=no
2064 DEFAULT_wxUSE_BMPBUTTON=no
2065 DEFAULT_wxUSE_CALCTRL=no
2066 DEFAULT_wxUSE_CARET=no
2067 DEFAULT_wxUSE_CHECKBOX=no
2068 DEFAULT_wxUSE_CHECKLST=no
2069 DEFAULT_wxUSE_CHOICE=no
2070 DEFAULT_wxUSE_COMBOBOX=no
2071 DEFAULT_wxUSE_DISPLAY=no
2072 DEFAULT_wxUSE_GAUGE=no
2073 DEFAULT_wxUSE_GRID=no
2074 DEFAULT_wxUSE_IMAGLIST=no
2075 DEFAULT_wxUSE_LISTBOX=no
2076 DEFAULT_wxUSE_LISTCTRL=no
2077 DEFAULT_wxUSE_NOTEBOOK=no
2078 DEFAULT_wxUSE_RADIOBOX=no
2079 DEFAULT_wxUSE_RADIOBTN=no
2080 DEFAULT_wxUSE_SASH=no
2081 DEFAULT_wxUSE_SCROLLBAR=no
2082 DEFAULT_wxUSE_SLIDER=no
2083 DEFAULT_wxUSE_SPINBTN=no
2084 DEFAULT_wxUSE_SPINCTRL=no
2085 DEFAULT_wxUSE_SPLITTER=no
2086 DEFAULT_wxUSE_STATBMP=no
2087 DEFAULT_wxUSE_STATBOX=no
2088 DEFAULT_wxUSE_STATLINE=no
2089 DEFAULT_wxUSE_STATTEXT=no
2090 DEFAULT_wxUSE_STATUSBAR=yes
2091 DEFAULT_wxUSE_TABDIALOG=no
2092 DEFAULT_wxUSE_TEXTCTRL=no
2093 DEFAULT_wxUSE_TOGGLEBTN=no
2094 DEFAULT_wxUSE_TOOLBAR=no
2095 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2096 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2097 DEFAULT_wxUSE_TREECTRL=no
2098 DEFAULT_wxUSE_POPUPWIN=no
2099 DEFAULT_wxUSE_TIPWINDOW=no
2100
2101 DEFAULT_wxUSE_UNICODE=no
2102 DEFAULT_wxUSE_UNICODE_MSLU=no
2103 DEFAULT_wxUSE_WCSRTOMBS=no
2104
2105 DEFAULT_wxUSE_PALETTE=no
2106 DEFAULT_wxUSE_IMAGE=no
2107 DEFAULT_wxUSE_GIF=no
2108 DEFAULT_wxUSE_PCX=no
2109 DEFAULT_wxUSE_PNM=no
2110 DEFAULT_wxUSE_IFF=no
2111 DEFAULT_wxUSE_XPM=no
2112 DEFAULT_wxUSE_ICO_CUR=no
2113 DEFAULT_wxUSE_ACCESSIBILITY=no
2114
2115 DEFAULT_wxUSE_MONOLITHIC=yes
2116else
2117 DEFAULT_wxUSE_UNIVERSAL=no
2118 DEFAULT_wxUSE_STL=no
2119
2120 DEFAULT_wxUSE_NANOX=no
2121
2122 DEFAULT_wxUSE_THREADS=yes
2123
2124 DEFAULT_wxUSE_SHARED=yes
2125 DEFAULT_wxUSE_OPTIMISE=yes
2126 DEFAULT_wxUSE_PROFILE=no
2127 DEFAULT_wxUSE_NO_DEPS=no
2128 DEFAULT_wxUSE_NO_RTTI=no
2129 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2130 DEFAULT_wxUSE_PERMISSIVE=no
2131 DEFAULT_wxUSE_DEBUG_FLAG=no
2132 DEFAULT_wxUSE_DEBUG_INFO=no
2133 DEFAULT_wxUSE_DEBUG_GDB=no
2134 DEFAULT_wxUSE_MEM_TRACING=no
2135 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2136 DEFAULT_wxUSE_DMALLOC=no
2137 DEFAULT_wxUSE_APPLE_IEEE=yes
2138
2139 DEFAULT_wxUSE_LOG=yes
2140 DEFAULT_wxUSE_LOGWINDOW=yes
2141 DEFAULT_wxUSE_LOGGUI=yes
2142 DEFAULT_wxUSE_LOGDIALOG=yes
2143
2144 DEFAULT_wxUSE_GUI=yes
2145
2146 DEFAULT_wxUSE_REGEX=yes
2147 DEFAULT_wxUSE_XML=yes
2148 DEFAULT_wxUSE_EXPAT=yes
2149 DEFAULT_wxUSE_ZLIB=yes
2150 DEFAULT_wxUSE_LIBPNG=yes
2151 DEFAULT_wxUSE_LIBJPEG=yes
2152 DEFAULT_wxUSE_LIBTIFF=yes
2153 DEFAULT_wxUSE_ODBC=no
2154 DEFAULT_wxUSE_OPENGL=no
2155
2156 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2157 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2158 DEFAULT_wxUSE_STD_IOSTREAM=no
2159 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2160 DEFAULT_wxUSE_DATETIME=yes
2161 DEFAULT_wxUSE_TIMER=yes
2162 DEFAULT_wxUSE_STOPWATCH=yes
2163 DEFAULT_wxUSE_FILE=yes
2164 DEFAULT_wxUSE_FFILE=yes
2165 DEFAULT_wxUSE_TEXTBUFFER=yes
2166 DEFAULT_wxUSE_TEXTFILE=yes
2167 DEFAULT_wxUSE_WAVE=no
2168 DEFAULT_wxUSE_INTL=yes
2169 DEFAULT_wxUSE_CONFIG=yes
2170 DEFAULT_wxUSE_FONTMAP=yes
2171 DEFAULT_wxUSE_STREAMS=yes
2172 DEFAULT_wxUSE_SOCKETS=yes
2173 DEFAULT_wxUSE_OLE=yes
2174 DEFAULT_wxUSE_DATAOBJ=yes
2175 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2176 DEFAULT_wxUSE_JOYSTICK=yes
2177 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2178 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2179 DEFAULT_wxUSE_LONGLONG=yes
2180 DEFAULT_wxUSE_GEOMETRY=yes
2181
2182 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2183 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2184 DEFAULT_wxUSE_POSTSCRIPT=yes
2185
2186 DEFAULT_wxUSE_CLIPBOARD=yes
2187 DEFAULT_wxUSE_TOOLTIPS=yes
2188 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2189 DEFAULT_wxUSE_DRAGIMAGE=yes
2190 DEFAULT_wxUSE_SPLINES=yes
2191
2192 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2193 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2194 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2195
2196 DEFAULT_wxUSE_RESOURCES=no
2197 DEFAULT_wxUSE_CONSTRAINTS=yes
2198 DEFAULT_wxUSE_IPC=yes
2199 DEFAULT_wxUSE_HELP=yes
2200 DEFAULT_wxUSE_MS_HTML_HELP=yes
2201 DEFAULT_wxUSE_WXHTML_HELP=yes
2202 DEFAULT_wxUSE_TREELAYOUT=yes
2203 DEFAULT_wxUSE_METAFILE=yes
2204 DEFAULT_wxUSE_MIMETYPE=yes
2205 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2206 DEFAULT_wxUSE_PROTOCOL=yes
2207 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2208 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2209 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2210 DEFAULT_wxUSE_URL=yes
2211
2212 DEFAULT_wxUSE_COMMONDLGS=yes
2213 DEFAULT_wxUSE_CHOICEDLG=yes
2214 DEFAULT_wxUSE_COLOURDLG=yes
2215 DEFAULT_wxUSE_DIRDLG=yes
2216 DEFAULT_wxUSE_FILEDLG=yes
2217 DEFAULT_wxUSE_FINDREPLDLG=yes
2218 DEFAULT_wxUSE_FONTDLG=yes
2219 DEFAULT_wxUSE_MSGDLG=yes
2220 DEFAULT_wxUSE_NUMBERDLG=yes
2221 DEFAULT_wxUSE_TEXTDLG=yes
2222 DEFAULT_wxUSE_SPLASH=yes
2223 DEFAULT_wxUSE_STARTUP_TIPS=yes
2224 DEFAULT_wxUSE_PROGRESSDLG=yes
2225 DEFAULT_wxUSE_WIZARDDLG=yes
2226
2227 DEFAULT_wxUSE_MENUS=yes
2228 DEFAULT_wxUSE_MINIFRAME=yes
2229 DEFAULT_wxUSE_HTML=yes
2230 DEFAULT_wxUSE_FILESYSTEM=yes
2231 DEFAULT_wxUSE_FS_INET=yes
2232 DEFAULT_wxUSE_FS_ZIP=yes
2233 DEFAULT_wxUSE_BUSYINFO=yes
2234 DEFAULT_wxUSE_ZIPSTREAM=yes
2235 DEFAULT_wxUSE_VALIDATORS=yes
2236
2237 DEFAULT_wxUSE_ACCEL=yes
2238 DEFAULT_wxUSE_BUTTON=yes
2239 DEFAULT_wxUSE_BMPBUTTON=yes
2240 DEFAULT_wxUSE_CALCTRL=yes
2241 DEFAULT_wxUSE_CARET=yes
2242 DEFAULT_wxUSE_CHECKBOX=yes
2243 DEFAULT_wxUSE_CHECKLST=yes
2244 DEFAULT_wxUSE_CHOICE=yes
2245 DEFAULT_wxUSE_COMBOBOX=yes
2246 DEFAULT_wxUSE_DISPLAY=no
2247 DEFAULT_wxUSE_GAUGE=yes
2248 DEFAULT_wxUSE_GRID=yes
2249 DEFAULT_wxUSE_IMAGLIST=yes
2250 DEFAULT_wxUSE_LISTBOX=yes
2251 DEFAULT_wxUSE_LISTCTRL=yes
2252 DEFAULT_wxUSE_NOTEBOOK=yes
2253 DEFAULT_wxUSE_RADIOBOX=yes
2254 DEFAULT_wxUSE_RADIOBTN=yes
2255 DEFAULT_wxUSE_SASH=yes
2256 DEFAULT_wxUSE_SCROLLBAR=yes
2257 DEFAULT_wxUSE_SLIDER=yes
2258 DEFAULT_wxUSE_SPINBTN=yes
2259 DEFAULT_wxUSE_SPINCTRL=yes
2260 DEFAULT_wxUSE_SPLITTER=yes
2261 DEFAULT_wxUSE_STATBMP=yes
2262 DEFAULT_wxUSE_STATBOX=yes
2263 DEFAULT_wxUSE_STATLINE=yes
2264 DEFAULT_wxUSE_STATTEXT=yes
2265 DEFAULT_wxUSE_STATUSBAR=yes
2266 DEFAULT_wxUSE_TABDIALOG=no
2267 DEFAULT_wxUSE_TEXTCTRL=yes
2268 DEFAULT_wxUSE_TOGGLEBTN=yes
2269 DEFAULT_wxUSE_TOOLBAR=yes
2270 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2271 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2272 DEFAULT_wxUSE_TREECTRL=yes
2273 DEFAULT_wxUSE_POPUPWIN=yes
2274 DEFAULT_wxUSE_TIPWINDOW=yes
2275
2276 DEFAULT_wxUSE_UNICODE=no
2277 DEFAULT_wxUSE_UNICODE_MSLU=yes
2278 DEFAULT_wxUSE_WCSRTOMBS=no
2279
2280 DEFAULT_wxUSE_PALETTE=yes
2281 DEFAULT_wxUSE_IMAGE=yes
2282 DEFAULT_wxUSE_GIF=yes
2283 DEFAULT_wxUSE_PCX=yes
2284 DEFAULT_wxUSE_IFF=no
2285 DEFAULT_wxUSE_PNM=yes
2286 DEFAULT_wxUSE_XPM=yes
2287 DEFAULT_wxUSE_ICO_CUR=yes
2288 DEFAULT_wxUSE_ACCESSIBILITY=no
2289
2290 DEFAULT_wxUSE_MONOLITHIC=yes
2291fi
2292
2293
2294
2295for toolkit in `echo $ALL_TOOLKITS`; do
2296 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2297 if test "x$LINE" != "x" ; then
2298 has_toolkit_in_cache=1
2299 eval "DEFAULT_$LINE"
2300 eval "CACHE_$toolkit=1"
2301 fi
2302done
2303
2304
2305
2306 enablestring=
2307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2308echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2309 no_cache=0
2310 # Check whether --enable-gui or --disable-gui was given.
2311if test "${enable_gui+set}" = set; then
2312 enableval="$enable_gui"
2313
2314 if test "$enableval" = yes; then
2315 ac_cv_use_gui='wxUSE_GUI=yes'
2316 else
2317 ac_cv_use_gui='wxUSE_GUI=no'
2318 fi
2319
2320else
2321
2322 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2323 if test "x$LINE" != x ; then
2324 eval "DEFAULT_$LINE"
2325 else
2326 no_cache=1
2327 fi
2328
2329 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2330
2331fi;
2332
2333 eval "$ac_cv_use_gui"
2334 if test "$no_cache" != 1; then
2335 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2336 fi
2337
2338 if test "$wxUSE_GUI" = yes; then
2339 echo "$as_me:$LINENO: result: yes" >&5
2340echo "${ECHO_T}yes" >&6
2341 else
2342 echo "$as_me:$LINENO: result: no" >&5
2343echo "${ECHO_T}no" >&6
2344 fi
2345
2346
2347 enablestring=
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2349echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2350 no_cache=0
2351 # Check whether --enable-monolithic or --disable-monolithic was given.
2352if test "${enable_monolithic+set}" = set; then
2353 enableval="$enable_monolithic"
2354
2355 if test "$enableval" = yes; then
2356 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2357 else
2358 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2359 fi
2360
2361else
2362
2363 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x ; then
2365 eval "DEFAULT_$LINE"
2366 else
2367 no_cache=1
2368 fi
2369
2370 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2371
2372fi;
2373
2374 eval "$ac_cv_use_monolithic"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2377 fi
2378
2379 if test "$wxUSE_MONOLITHIC" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381echo "${ECHO_T}yes" >&6
2382 else
2383 echo "$as_me:$LINENO: result: no" >&5
2384echo "${ECHO_T}no" >&6
2385 fi
2386
2387
2388if test "$wxUSE_GUI" = "yes"; then
2389
2390
2391 enablestring=
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2393echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2394 no_cache=0
2395 # Check whether --enable-universal or --disable-universal was given.
2396if test "${enable_universal+set}" = set; then
2397 enableval="$enable_universal"
2398
2399 if test "$enableval" = yes; then
2400 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2401 else
2402 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2403 fi
2404
2405else
2406
2407 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x ; then
2409 eval "DEFAULT_$LINE"
2410 else
2411 no_cache=1
2412 fi
2413
2414 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2415
2416fi;
2417
2418 eval "$ac_cv_use_universal"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2421 fi
2422
2423 if test "$wxUSE_UNIVERSAL" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425echo "${ECHO_T}yes" >&6
2426 else
2427 echo "$as_me:$LINENO: result: no" >&5
2428echo "${ECHO_T}no" >&6
2429 fi
2430
2431
2432# Check whether --with-gtk or --without-gtk was given.
2433if test "${with_gtk+set}" = set; then
2434 withval="$with_gtk"
2435 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2436fi;
2437
2438# Check whether --with-motif or --without-motif was given.
2439if test "${with_motif+set}" = set; then
2440 withval="$with_motif"
2441 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2442fi;
2443
2444# Check whether --with-mac or --without-mac was given.
2445if test "${with_mac+set}" = set; then
2446 withval="$with_mac"
2447 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2448fi;
2449
2450# Check whether --with-cocoa or --without-cocoa was given.
2451if test "${with_cocoa+set}" = set; then
2452 withval="$with_cocoa"
2453 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2454fi;
2455
2456# Check whether --with-wine or --without-wine was given.
2457if test "${with_wine+set}" = set; then
2458 withval="$with_wine"
2459 wxUSE_WINE="$withval" CACHE_WINE=1
2460fi;
2461
2462# Check whether --with-msw or --without-msw was given.
2463if test "${with_msw+set}" = set; then
2464 withval="$with_msw"
2465 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2466fi;
2467
2468# Check whether --with-pm or --without-pm was given.
2469if test "${with_pm+set}" = set; then
2470 withval="$with_pm"
2471 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2472fi;
2473
2474# Check whether --with-mgl or --without-mgl was given.
2475if test "${with_mgl+set}" = set; then
2476 withval="$with_mgl"
2477 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2478fi;
2479
2480# Check whether --with-microwin or --without-microwin was given.
2481if test "${with_microwin+set}" = set; then
2482 withval="$with_microwin"
2483 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2484fi;
2485
2486# Check whether --with-x11 or --without-x11 was given.
2487if test "${with_x11+set}" = set; then
2488 withval="$with_x11"
2489 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2490fi;
2491
2492 enablestring=
2493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2494echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2495 no_cache=0
2496 # Check whether --enable-nanox or --disable-nanox was given.
2497if test "${enable_nanox+set}" = set; then
2498 enableval="$enable_nanox"
2499
2500 if test "$enableval" = yes; then
2501 ac_cv_use_nanox='wxUSE_NANOX=yes'
2502 else
2503 ac_cv_use_nanox='wxUSE_NANOX=no'
2504 fi
2505
2506else
2507
2508 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x ; then
2510 eval "DEFAULT_$LINE"
2511 else
2512 no_cache=1
2513 fi
2514
2515 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2516
2517fi;
2518
2519 eval "$ac_cv_use_nanox"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2522 fi
2523
2524 if test "$wxUSE_NANOX" = yes; then
2525 echo "$as_me:$LINENO: result: yes" >&5
2526echo "${ECHO_T}yes" >&6
2527 else
2528 echo "$as_me:$LINENO: result: no" >&5
2529echo "${ECHO_T}no" >&6
2530 fi
2531
2532
2533
2534 enablestring=
2535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2536echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2537 no_cache=0
2538 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2539if test "${enable_gtk2+set}" = set; then
2540 enableval="$enable_gtk2"
2541
2542 if test "$enableval" = yes; then
2543 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2544 else
2545 ac_cv_use_gtk2='wxUSE_GTK2=no'
2546 fi
2547
2548else
2549
2550 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2551 if test "x$LINE" != x ; then
2552 eval "DEFAULT_$LINE"
2553 else
2554 no_cache=1
2555 fi
2556
2557 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2558
2559fi;
2560
2561 eval "$ac_cv_use_gtk2"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2564 fi
2565
2566 if test "$wxUSE_GTK2" = yes; then
2567 echo "$as_me:$LINENO: result: yes" >&5
2568echo "${ECHO_T}yes" >&6
2569 else
2570 echo "$as_me:$LINENO: result: no" >&5
2571echo "${ECHO_T}no" >&6
2572 fi
2573
2574
2575
2576 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2577echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2578 no_cache=0
2579
2580# Check whether --with-libpng or --without-libpng was given.
2581if test "${with_libpng+set}" = set; then
2582 withval="$with_libpng"
2583
2584 if test "$withval" = yes; then
2585 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2586 elif test "$withval" = no; then
2587 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2588 elif test "$withval" = sys; then
2589 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2590 elif test "$withval" = builtin; then
2591 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2592 else
2593 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2594echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2595 { (exit 1); exit 1; }; }
2596 fi
2597
2598else
2599
2600 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x ; then
2602 eval "DEFAULT_$LINE"
2603 else
2604 no_cache=1
2605 fi
2606
2607 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2608
2609fi;
2610
2611 eval "$ac_cv_use_libpng"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2614 fi
2615
2616 if test "$wxUSE_LIBPNG" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618echo "${ECHO_T}yes" >&6
2619 elif test "$wxUSE_LIBPNG" = no; then
2620 echo "$as_me:$LINENO: result: no" >&5
2621echo "${ECHO_T}no" >&6
2622 elif test "$wxUSE_LIBPNG" = sys; then
2623 echo "$as_me:$LINENO: result: system version" >&5
2624echo "${ECHO_T}system version" >&6
2625 elif test "$wxUSE_LIBPNG" = builtin; then
2626 echo "$as_me:$LINENO: result: builtin version" >&5
2627echo "${ECHO_T}builtin version" >&6
2628 else
2629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2630echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2631 { (exit 1); exit 1; }; }
2632 fi
2633
2634
2635 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2636echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2637 no_cache=0
2638
2639# Check whether --with-libjpeg or --without-libjpeg was given.
2640if test "${with_libjpeg+set}" = set; then
2641 withval="$with_libjpeg"
2642
2643 if test "$withval" = yes; then
2644 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2645 elif test "$withval" = no; then
2646 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2647 elif test "$withval" = sys; then
2648 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2649 elif test "$withval" = builtin; then
2650 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2651 else
2652 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2653echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2654 { (exit 1); exit 1; }; }
2655 fi
2656
2657else
2658
2659 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x ; then
2661 eval "DEFAULT_$LINE"
2662 else
2663 no_cache=1
2664 fi
2665
2666 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2667
2668fi;
2669
2670 eval "$ac_cv_use_libjpeg"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2673 fi
2674
2675 if test "$wxUSE_LIBJPEG" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677echo "${ECHO_T}yes" >&6
2678 elif test "$wxUSE_LIBJPEG" = no; then
2679 echo "$as_me:$LINENO: result: no" >&5
2680echo "${ECHO_T}no" >&6
2681 elif test "$wxUSE_LIBJPEG" = sys; then
2682 echo "$as_me:$LINENO: result: system version" >&5
2683echo "${ECHO_T}system version" >&6
2684 elif test "$wxUSE_LIBJPEG" = builtin; then
2685 echo "$as_me:$LINENO: result: builtin version" >&5
2686echo "${ECHO_T}builtin version" >&6
2687 else
2688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2689echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2690 { (exit 1); exit 1; }; }
2691 fi
2692
2693
2694 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2695echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2696 no_cache=0
2697
2698# Check whether --with-libtiff or --without-libtiff was given.
2699if test "${with_libtiff+set}" = set; then
2700 withval="$with_libtiff"
2701
2702 if test "$withval" = yes; then
2703 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2704 elif test "$withval" = no; then
2705 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2706 elif test "$withval" = sys; then
2707 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2708 elif test "$withval" = builtin; then
2709 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2710 else
2711 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2712echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2713 { (exit 1); exit 1; }; }
2714 fi
2715
2716else
2717
2718 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x ; then
2720 eval "DEFAULT_$LINE"
2721 else
2722 no_cache=1
2723 fi
2724
2725 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2726
2727fi;
2728
2729 eval "$ac_cv_use_libtiff"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2732 fi
2733
2734 if test "$wxUSE_LIBTIFF" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736echo "${ECHO_T}yes" >&6
2737 elif test "$wxUSE_LIBTIFF" = no; then
2738 echo "$as_me:$LINENO: result: no" >&5
2739echo "${ECHO_T}no" >&6
2740 elif test "$wxUSE_LIBTIFF" = sys; then
2741 echo "$as_me:$LINENO: result: system version" >&5
2742echo "${ECHO_T}system version" >&6
2743 elif test "$wxUSE_LIBTIFF" = builtin; then
2744 echo "$as_me:$LINENO: result: builtin version" >&5
2745echo "${ECHO_T}builtin version" >&6
2746 else
2747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2748echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2749 { (exit 1); exit 1; }; }
2750 fi
2751
2752
2753 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2754echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2755 no_cache=0
2756
2757# Check whether --with-opengl or --without-opengl was given.
2758if test "${with_opengl+set}" = set; then
2759 withval="$with_opengl"
2760
2761 if test "$withval" = yes; then
2762 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2763 else
2764 ac_cv_use_opengl='wxUSE_OPENGL=no'
2765 fi
2766
2767else
2768
2769 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2770 if test "x$LINE" != x ; then
2771 eval "DEFAULT_$LINE"
2772 else
2773 no_cache=1
2774 fi
2775
2776 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2777
2778fi;
2779
2780 eval "$ac_cv_use_opengl"
2781 if test "$no_cache" != 1; then
2782 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2783 fi
2784
2785 if test "$wxUSE_OPENGL" = yes; then
2786 echo "$as_me:$LINENO: result: yes" >&5
2787echo "${ECHO_T}yes" >&6
2788 else
2789 echo "$as_me:$LINENO: result: no" >&5
2790echo "${ECHO_T}no" >&6
2791 fi
2792
2793
2794fi
2795
2796
2797 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2798echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2799 no_cache=0
2800
2801# Check whether --with-dmalloc or --without-dmalloc was given.
2802if test "${with_dmalloc+set}" = set; then
2803 withval="$with_dmalloc"
2804
2805 if test "$withval" = yes; then
2806 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2807 else
2808 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2809 fi
2810
2811else
2812
2813 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x ; then
2815 eval "DEFAULT_$LINE"
2816 else
2817 no_cache=1
2818 fi
2819
2820 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2821
2822fi;
2823
2824 eval "$ac_cv_use_dmalloc"
2825 if test "$no_cache" != 1; then
2826 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2827 fi
2828
2829 if test "$wxUSE_DMALLOC" = yes; then
2830 echo "$as_me:$LINENO: result: yes" >&5
2831echo "${ECHO_T}yes" >&6
2832 else
2833 echo "$as_me:$LINENO: result: no" >&5
2834echo "${ECHO_T}no" >&6
2835 fi
2836
2837
2838 echo "$as_me:$LINENO: checking for --with-regex" >&5
2839echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2840 no_cache=0
2841
2842# Check whether --with-regex or --without-regex was given.
2843if test "${with_regex+set}" = set; then
2844 withval="$with_regex"
2845
2846 if test "$withval" = yes; then
2847 ac_cv_use_regex='wxUSE_REGEX=yes'
2848 elif test "$withval" = no; then
2849 ac_cv_use_regex='wxUSE_REGEX=no'
2850 elif test "$withval" = sys; then
2851 ac_cv_use_regex='wxUSE_REGEX=sys'
2852 elif test "$withval" = builtin; then
2853 ac_cv_use_regex='wxUSE_REGEX=builtin'
2854 else
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2856echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2858 fi
2859
2860else
2861
2862 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x ; then
2864 eval "DEFAULT_$LINE"
2865 else
2866 no_cache=1
2867 fi
2868
2869 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2870
2871fi;
2872
2873 eval "$ac_cv_use_regex"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2876 fi
2877
2878 if test "$wxUSE_REGEX" = yes; then
2879 echo "$as_me:$LINENO: result: yes" >&5
2880echo "${ECHO_T}yes" >&6
2881 elif test "$wxUSE_REGEX" = no; then
2882 echo "$as_me:$LINENO: result: no" >&5
2883echo "${ECHO_T}no" >&6
2884 elif test "$wxUSE_REGEX" = sys; then
2885 echo "$as_me:$LINENO: result: system version" >&5
2886echo "${ECHO_T}system version" >&6
2887 elif test "$wxUSE_REGEX" = builtin; then
2888 echo "$as_me:$LINENO: result: builtin version" >&5
2889echo "${ECHO_T}builtin version" >&6
2890 else
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2892echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2894 fi
2895
2896
2897 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2898echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2899 no_cache=0
2900
2901# Check whether --with-zlib or --without-zlib was given.
2902if test "${with_zlib+set}" = set; then
2903 withval="$with_zlib"
2904
2905 if test "$withval" = yes; then
2906 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2907 elif test "$withval" = no; then
2908 ac_cv_use_zlib='wxUSE_ZLIB=no'
2909 elif test "$withval" = sys; then
2910 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2911 elif test "$withval" = builtin; then
2912 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2913 else
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2915echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2917 fi
2918
2919else
2920
2921 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x ; then
2923 eval "DEFAULT_$LINE"
2924 else
2925 no_cache=1
2926 fi
2927
2928 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2929
2930fi;
2931
2932 eval "$ac_cv_use_zlib"
2933 if test "$no_cache" != 1; then
2934 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2935 fi
2936
2937 if test "$wxUSE_ZLIB" = yes; then
2938 echo "$as_me:$LINENO: result: yes" >&5
2939echo "${ECHO_T}yes" >&6
2940 elif test "$wxUSE_ZLIB" = no; then
2941 echo "$as_me:$LINENO: result: no" >&5
2942echo "${ECHO_T}no" >&6
2943 elif test "$wxUSE_ZLIB" = sys; then
2944 echo "$as_me:$LINENO: result: system version" >&5
2945echo "${ECHO_T}system version" >&6
2946 elif test "$wxUSE_ZLIB" = builtin; then
2947 echo "$as_me:$LINENO: result: builtin version" >&5
2948echo "${ECHO_T}builtin version" >&6
2949 else
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2951echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi
2954
2955
2956 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2957echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2958 no_cache=0
2959
2960# Check whether --with-odbc or --without-odbc was given.
2961if test "${with_odbc+set}" = set; then
2962 withval="$with_odbc"
2963
2964 if test "$withval" = yes; then
2965 ac_cv_use_odbc='wxUSE_ODBC=yes'
2966 elif test "$withval" = no; then
2967 ac_cv_use_odbc='wxUSE_ODBC=no'
2968 elif test "$withval" = sys; then
2969 ac_cv_use_odbc='wxUSE_ODBC=sys'
2970 elif test "$withval" = builtin; then
2971 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2972 else
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2974echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2976 fi
2977
2978else
2979
2980 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x ; then
2982 eval "DEFAULT_$LINE"
2983 else
2984 no_cache=1
2985 fi
2986
2987 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2988
2989fi;
2990
2991 eval "$ac_cv_use_odbc"
2992 if test "$no_cache" != 1; then
2993 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2994 fi
2995
2996 if test "$wxUSE_ODBC" = yes; then
2997 echo "$as_me:$LINENO: result: yes" >&5
2998echo "${ECHO_T}yes" >&6
2999 elif test "$wxUSE_ODBC" = no; then
3000 echo "$as_me:$LINENO: result: no" >&5
3001echo "${ECHO_T}no" >&6
3002 elif test "$wxUSE_ODBC" = sys; then
3003 echo "$as_me:$LINENO: result: system version" >&5
3004echo "${ECHO_T}system version" >&6
3005 elif test "$wxUSE_ODBC" = builtin; then
3006 echo "$as_me:$LINENO: result: builtin version" >&5
3007echo "${ECHO_T}builtin version" >&6
3008 else
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3010echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3012 fi
3013
3014
3015 echo "$as_me:$LINENO: checking for --with-expat" >&5
3016echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3017 no_cache=0
3018
3019# Check whether --with-expat or --without-expat was given.
3020if test "${with_expat+set}" = set; then
3021 withval="$with_expat"
3022
3023 if test "$withval" = yes; then
3024 ac_cv_use_expat='wxUSE_EXPAT=yes'
3025 elif test "$withval" = no; then
3026 ac_cv_use_expat='wxUSE_EXPAT=no'
3027 elif test "$withval" = sys; then
3028 ac_cv_use_expat='wxUSE_EXPAT=sys'
3029 elif test "$withval" = builtin; then
3030 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3031 else
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3033echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3035 fi
3036
3037else
3038
3039 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3042 else
3043 no_cache=1
3044 fi
3045
3046 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3047
3048fi;
3049
3050 eval "$ac_cv_use_expat"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3053 fi
3054
3055 if test "$wxUSE_EXPAT" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057echo "${ECHO_T}yes" >&6
3058 elif test "$wxUSE_EXPAT" = no; then
3059 echo "$as_me:$LINENO: result: no" >&5
3060echo "${ECHO_T}no" >&6
3061 elif test "$wxUSE_EXPAT" = sys; then
3062 echo "$as_me:$LINENO: result: system version" >&5
3063echo "${ECHO_T}system version" >&6
3064 elif test "$wxUSE_EXPAT" = builtin; then
3065 echo "$as_me:$LINENO: result: builtin version" >&5
3066echo "${ECHO_T}builtin version" >&6
3067 else
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3069echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3071 fi
3072
3073
3074
3075
3076 enablestring=
3077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3078echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3079 no_cache=0
3080 # Check whether --enable-shared or --disable-shared was given.
3081if test "${enable_shared+set}" = set; then
3082 enableval="$enable_shared"
3083
3084 if test "$enableval" = yes; then
3085 ac_cv_use_shared='wxUSE_SHARED=yes'
3086 else
3087 ac_cv_use_shared='wxUSE_SHARED=no'
3088 fi
3089
3090else
3091
3092 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x ; then
3094 eval "DEFAULT_$LINE"
3095 else
3096 no_cache=1
3097 fi
3098
3099 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3100
3101fi;
3102
3103 eval "$ac_cv_use_shared"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3106 fi
3107
3108 if test "$wxUSE_SHARED" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110echo "${ECHO_T}yes" >&6
3111 else
3112 echo "$as_me:$LINENO: result: no" >&5
3113echo "${ECHO_T}no" >&6
3114 fi
3115
3116
3117 enablestring=
3118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3119echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3120 no_cache=0
3121 # Check whether --enable-optimise or --disable-optimise was given.
3122if test "${enable_optimise+set}" = set; then
3123 enableval="$enable_optimise"
3124
3125 if test "$enableval" = yes; then
3126 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3127 else
3128 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3129 fi
3130
3131else
3132
3133 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3134 if test "x$LINE" != x ; then
3135 eval "DEFAULT_$LINE"
3136 else
3137 no_cache=1
3138 fi
3139
3140 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3141
3142fi;
3143
3144 eval "$ac_cv_use_optimise"
3145 if test "$no_cache" != 1; then
3146 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3147 fi
3148
3149 if test "$wxUSE_OPTIMISE" = yes; then
3150 echo "$as_me:$LINENO: result: yes" >&5
3151echo "${ECHO_T}yes" >&6
3152 else
3153 echo "$as_me:$LINENO: result: no" >&5
3154echo "${ECHO_T}no" >&6
3155 fi
3156
3157
3158 enablestring=
3159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3160echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3161 no_cache=0
3162 # Check whether --enable-debug or --disable-debug was given.
3163if test "${enable_debug+set}" = set; then
3164 enableval="$enable_debug"
3165
3166 if test "$enableval" = yes; then
3167 ac_cv_use_debug='wxUSE_DEBUG=yes'
3168 else
3169 ac_cv_use_debug='wxUSE_DEBUG=no'
3170 fi
3171
3172else
3173
3174 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x ; then
3176 eval "DEFAULT_$LINE"
3177 else
3178 no_cache=1
3179 fi
3180
3181 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3182
3183fi;
3184
3185 eval "$ac_cv_use_debug"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3188 fi
3189
3190 if test "$wxUSE_DEBUG" = yes; then
3191 echo "$as_me:$LINENO: result: yes" >&5
3192echo "${ECHO_T}yes" >&6
3193 else
3194 echo "$as_me:$LINENO: result: no" >&5
3195echo "${ECHO_T}no" >&6
3196 fi
3197
3198
3199 enablestring=
3200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3201echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3202 no_cache=0
3203 # Check whether --enable-stl or --disable-stl was given.
3204if test "${enable_stl+set}" = set; then
3205 enableval="$enable_stl"
3206
3207 if test "$enableval" = yes; then
3208 ac_cv_use_stl='wxUSE_STL=yes'
3209 else
3210 ac_cv_use_stl='wxUSE_STL=no'
3211 fi
3212
3213else
3214
3215 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x ; then
3217 eval "DEFAULT_$LINE"
3218 else
3219 no_cache=1
3220 fi
3221
3222 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3223
3224fi;
3225
3226 eval "$ac_cv_use_stl"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3229 fi
3230
3231 if test "$wxUSE_STL" = yes; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233echo "${ECHO_T}yes" >&6
3234 else
3235 echo "$as_me:$LINENO: result: no" >&5
3236echo "${ECHO_T}no" >&6
3237 fi
3238
3239
3240if test "$wxUSE_DEBUG" = "yes"; then
3241 DEFAULT_wxUSE_DEBUG_FLAG=yes
3242 DEFAULT_wxUSE_DEBUG_INFO=yes
3243elif test "$wxUSE_DEBUG" = "no"; then
3244 DEFAULT_wxUSE_DEBUG_FLAG=no
3245 DEFAULT_wxUSE_DEBUG_INFO=no
3246fi
3247
3248
3249 enablestring=
3250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3251echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3252 no_cache=0
3253 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3254if test "${enable_debug_flag+set}" = set; then
3255 enableval="$enable_debug_flag"
3256
3257 if test "$enableval" = yes; then
3258 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3259 else
3260 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3261 fi
3262
3263else
3264
3265 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3273
3274fi;
3275
3276 eval "$ac_cv_use_debug_flag"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3279 fi
3280
3281 if test "$wxUSE_DEBUG_FLAG" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283echo "${ECHO_T}yes" >&6
3284 else
3285 echo "$as_me:$LINENO: result: no" >&5
3286echo "${ECHO_T}no" >&6
3287 fi
3288
3289
3290 enablestring=
3291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3292echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3293 no_cache=0
3294 # Check whether --enable-debug_info or --disable-debug_info was given.
3295if test "${enable_debug_info+set}" = set; then
3296 enableval="$enable_debug_info"
3297
3298 if test "$enableval" = yes; then
3299 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3300 else
3301 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3302 fi
3303
3304else
3305
3306 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x ; then
3308 eval "DEFAULT_$LINE"
3309 else
3310 no_cache=1
3311 fi
3312
3313 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3314
3315fi;
3316
3317 eval "$ac_cv_use_debug_info"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3320 fi
3321
3322 if test "$wxUSE_DEBUG_INFO" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324echo "${ECHO_T}yes" >&6
3325 else
3326 echo "$as_me:$LINENO: result: no" >&5
3327echo "${ECHO_T}no" >&6
3328 fi
3329
3330
3331 enablestring=
3332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3333echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3334 no_cache=0
3335 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3336if test "${enable_debug_gdb+set}" = set; then
3337 enableval="$enable_debug_gdb"
3338
3339 if test "$enableval" = yes; then
3340 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3341 else
3342 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3343 fi
3344
3345else
3346
3347 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x ; then
3349 eval "DEFAULT_$LINE"
3350 else
3351 no_cache=1
3352 fi
3353
3354 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3355
3356fi;
3357
3358 eval "$ac_cv_use_debug_gdb"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test "$wxUSE_DEBUG_GDB" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365echo "${ECHO_T}yes" >&6
3366 else
3367 echo "$as_me:$LINENO: result: no" >&5
3368echo "${ECHO_T}no" >&6
3369 fi
3370
3371
3372 enablestring=
3373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3374echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3375 no_cache=0
3376 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3377if test "${enable_debug_cntxt+set}" = set; then
3378 enableval="$enable_debug_cntxt"
3379
3380 if test "$enableval" = yes; then
3381 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3382 else
3383 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3384 fi
3385
3386else
3387
3388 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x ; then
3390 eval "DEFAULT_$LINE"
3391 else
3392 no_cache=1
3393 fi
3394
3395 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3396
3397fi;
3398
3399 eval "$ac_cv_use_debug_cntxt"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3402 fi
3403
3404 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406echo "${ECHO_T}yes" >&6
3407 else
3408 echo "$as_me:$LINENO: result: no" >&5
3409echo "${ECHO_T}no" >&6
3410 fi
3411
3412
3413 enablestring=
3414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3415echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3416 no_cache=0
3417 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3418if test "${enable_mem_tracing+set}" = set; then
3419 enableval="$enable_mem_tracing"
3420
3421 if test "$enableval" = yes; then
3422 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3423 else
3424 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3425 fi
3426
3427else
3428
3429 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x ; then
3431 eval "DEFAULT_$LINE"
3432 else
3433 no_cache=1
3434 fi
3435
3436 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3437
3438fi;
3439
3440 eval "$ac_cv_use_mem_tracing"
3441 if test "$no_cache" != 1; then
3442 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3443 fi
3444
3445 if test "$wxUSE_MEM_TRACING" = yes; then
3446 echo "$as_me:$LINENO: result: yes" >&5
3447echo "${ECHO_T}yes" >&6
3448 else
3449 echo "$as_me:$LINENO: result: no" >&5
3450echo "${ECHO_T}no" >&6
3451 fi
3452
3453
3454 enablestring=
3455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3456echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3457 no_cache=0
3458 # Check whether --enable-profile or --disable-profile was given.
3459if test "${enable_profile+set}" = set; then
3460 enableval="$enable_profile"
3461
3462 if test "$enableval" = yes; then
3463 ac_cv_use_profile='wxUSE_PROFILE=yes'
3464 else
3465 ac_cv_use_profile='wxUSE_PROFILE=no'
3466 fi
3467
3468else
3469
3470 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x ; then
3472 eval "DEFAULT_$LINE"
3473 else
3474 no_cache=1
3475 fi
3476
3477 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3478
3479fi;
3480
3481 eval "$ac_cv_use_profile"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3484 fi
3485
3486 if test "$wxUSE_PROFILE" = yes; then
3487 echo "$as_me:$LINENO: result: yes" >&5
3488echo "${ECHO_T}yes" >&6
3489 else
3490 echo "$as_me:$LINENO: result: no" >&5
3491echo "${ECHO_T}no" >&6
3492 fi
3493
3494
3495 enablestring=
3496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3497echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3498 no_cache=0
3499 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3500if test "${enable_no_rtti+set}" = set; then
3501 enableval="$enable_no_rtti"
3502
3503 if test "$enableval" = yes; then
3504 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3505 else
3506 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3507 fi
3508
3509else
3510
3511 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x ; then
3513 eval "DEFAULT_$LINE"
3514 else
3515 no_cache=1
3516 fi
3517
3518 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3519
3520fi;
3521
3522 eval "$ac_cv_use_no_rtti"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3525 fi
3526
3527 if test "$wxUSE_NO_RTTI" = yes; then
3528 echo "$as_me:$LINENO: result: yes" >&5
3529echo "${ECHO_T}yes" >&6
3530 else
3531 echo "$as_me:$LINENO: result: no" >&5
3532echo "${ECHO_T}no" >&6
3533 fi
3534
3535
3536 enablestring=
3537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3538echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3539 no_cache=0
3540 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3541if test "${enable_no_exceptions+set}" = set; then
3542 enableval="$enable_no_exceptions"
3543
3544 if test "$enableval" = yes; then
3545 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3546 else
3547 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3548 fi
3549
3550else
3551
3552 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3553 if test "x$LINE" != x ; then
3554 eval "DEFAULT_$LINE"
3555 else
3556 no_cache=1
3557 fi
3558
3559 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3560
3561fi;
3562
3563 eval "$ac_cv_use_no_exceptions"
3564 if test "$no_cache" != 1; then
3565 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3566 fi
3567
3568 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3569 echo "$as_me:$LINENO: result: yes" >&5
3570echo "${ECHO_T}yes" >&6
3571 else
3572 echo "$as_me:$LINENO: result: no" >&5
3573echo "${ECHO_T}no" >&6
3574 fi
3575
3576
3577 enablestring=
3578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3579echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3580 no_cache=0
3581 # Check whether --enable-permissive or --disable-permissive was given.
3582if test "${enable_permissive+set}" = set; then
3583 enableval="$enable_permissive"
3584
3585 if test "$enableval" = yes; then
3586 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3587 else
3588 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3589 fi
3590
3591else
3592
3593 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3594 if test "x$LINE" != x ; then
3595 eval "DEFAULT_$LINE"
3596 else
3597 no_cache=1
3598 fi
3599
3600 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3601
3602fi;
3603
3604 eval "$ac_cv_use_permissive"
3605 if test "$no_cache" != 1; then
3606 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3607 fi
3608
3609 if test "$wxUSE_PERMISSIVE" = yes; then
3610 echo "$as_me:$LINENO: result: yes" >&5
3611echo "${ECHO_T}yes" >&6
3612 else
3613 echo "$as_me:$LINENO: result: no" >&5
3614echo "${ECHO_T}no" >&6
3615 fi
3616
3617
3618 enablestring=
3619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3620echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3621 no_cache=0
3622 # Check whether --enable-no_deps or --disable-no_deps was given.
3623if test "${enable_no_deps+set}" = set; then
3624 enableval="$enable_no_deps"
3625
3626 if test "$enableval" = yes; then
3627 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3628 else
3629 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3630 fi
3631
3632else
3633
3634 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x ; then
3636 eval "DEFAULT_$LINE"
3637 else
3638 no_cache=1
3639 fi
3640
3641 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3642
3643fi;
3644
3645 eval "$ac_cv_use_no_deps"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3648 fi
3649
3650 if test "$wxUSE_NO_DEPS" = yes; then
3651 echo "$as_me:$LINENO: result: yes" >&5
3652echo "${ECHO_T}yes" >&6
3653 else
3654 echo "$as_me:$LINENO: result: no" >&5
3655echo "${ECHO_T}no" >&6
3656 fi
3657
3658
3659
3660 enablestring=
3661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3662echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3663 no_cache=0
3664 # Check whether --enable-compat20 or --disable-compat20 was given.
3665if test "${enable_compat20+set}" = set; then
3666 enableval="$enable_compat20"
3667
3668 if test "$enableval" = yes; then
3669 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3670 else
3671 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3672 fi
3673
3674else
3675
3676 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x ; then
3678 eval "DEFAULT_$LINE"
3679 else
3680 no_cache=1
3681 fi
3682
3683 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3684
3685fi;
3686
3687 eval "$ac_cv_use_compat20"
3688 if test "$no_cache" != 1; then
3689 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3690 fi
3691
3692 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3693 echo "$as_me:$LINENO: result: yes" >&5
3694echo "${ECHO_T}yes" >&6
3695 else
3696 echo "$as_me:$LINENO: result: no" >&5
3697echo "${ECHO_T}no" >&6
3698 fi
3699
3700
3701 enablestring=
3702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3703echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3704 no_cache=0
3705 # Check whether --enable-compat22 or --disable-compat22 was given.
3706if test "${enable_compat22+set}" = set; then
3707 enableval="$enable_compat22"
3708
3709 if test "$enableval" = yes; then
3710 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3711 else
3712 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3713 fi
3714
3715else
3716
3717 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x ; then
3719 eval "DEFAULT_$LINE"
3720 else
3721 no_cache=1
3722 fi
3723
3724 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3725
3726fi;
3727
3728 eval "$ac_cv_use_compat22"
3729 if test "$no_cache" != 1; then
3730 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3731 fi
3732
3733 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3734 echo "$as_me:$LINENO: result: yes" >&5
3735echo "${ECHO_T}yes" >&6
3736 else
3737 echo "$as_me:$LINENO: result: no" >&5
3738echo "${ECHO_T}no" >&6
3739 fi
3740
3741
3742 enablestring=disable
3743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3744echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3745 no_cache=0
3746 # Check whether --enable-compat24 or --disable-compat24 was given.
3747if test "${enable_compat24+set}" = set; then
3748 enableval="$enable_compat24"
3749
3750 if test "$enableval" = yes; then
3751 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3752 else
3753 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3754 fi
3755
3756else
3757
3758 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3761 else
3762 no_cache=1
3763 fi
3764
3765 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3766
3767fi;
3768
3769 eval "$ac_cv_use_compat24"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3772 fi
3773
3774 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776echo "${ECHO_T}yes" >&6
3777 else
3778 echo "$as_me:$LINENO: result: no" >&5
3779echo "${ECHO_T}no" >&6
3780 fi
3781
3782
3783# Check whether --enable-rpath or --disable-rpath was given.
3784if test "${enable_rpath+set}" = set; then
3785 enableval="$enable_rpath"
3786 wxRPATH_DIR="$enableval"
3787fi;
3788
3789if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3790 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3791fi
3792
3793
3794
3795
3796 enablestring=
3797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3798echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3799 no_cache=0
3800 # Check whether --enable-intl or --disable-intl was given.
3801if test "${enable_intl+set}" = set; then
3802 enableval="$enable_intl"
3803
3804 if test "$enableval" = yes; then
3805 ac_cv_use_intl='wxUSE_INTL=yes'
3806 else
3807 ac_cv_use_intl='wxUSE_INTL=no'
3808 fi
3809
3810else
3811
3812 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3813 if test "x$LINE" != x ; then
3814 eval "DEFAULT_$LINE"
3815 else
3816 no_cache=1
3817 fi
3818
3819 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3820
3821fi;
3822
3823 eval "$ac_cv_use_intl"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3826 fi
3827
3828 if test "$wxUSE_INTL" = yes; then
3829 echo "$as_me:$LINENO: result: yes" >&5
3830echo "${ECHO_T}yes" >&6
3831 else
3832 echo "$as_me:$LINENO: result: no" >&5
3833echo "${ECHO_T}no" >&6
3834 fi
3835
3836
3837 enablestring=
3838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3839echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3840 no_cache=0
3841 # Check whether --enable-config or --disable-config was given.
3842if test "${enable_config+set}" = set; then
3843 enableval="$enable_config"
3844
3845 if test "$enableval" = yes; then
3846 ac_cv_use_config='wxUSE_CONFIG=yes'
3847 else
3848 ac_cv_use_config='wxUSE_CONFIG=no'
3849 fi
3850
3851else
3852
3853 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x ; then
3855 eval "DEFAULT_$LINE"
3856 else
3857 no_cache=1
3858 fi
3859
3860 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3861
3862fi;
3863
3864 eval "$ac_cv_use_config"
3865 if test "$no_cache" != 1; then
3866 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3867 fi
3868
3869 if test "$wxUSE_CONFIG" = yes; then
3870 echo "$as_me:$LINENO: result: yes" >&5
3871echo "${ECHO_T}yes" >&6
3872 else
3873 echo "$as_me:$LINENO: result: no" >&5
3874echo "${ECHO_T}no" >&6
3875 fi
3876
3877
3878
3879 enablestring=
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3881echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3882 no_cache=0
3883 # Check whether --enable-protocols or --disable-protocols was given.
3884if test "${enable_protocols+set}" = set; then
3885 enableval="$enable_protocols"
3886
3887 if test "$enableval" = yes; then
3888 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3889 else
3890 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3891 fi
3892
3893else
3894
3895 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 else
3899 no_cache=1
3900 fi
3901
3902 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3903
3904fi;
3905
3906 eval "$ac_cv_use_protocols"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3909 fi
3910
3911 if test "$wxUSE_PROTOCOL" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913echo "${ECHO_T}yes" >&6
3914 else
3915 echo "$as_me:$LINENO: result: no" >&5
3916echo "${ECHO_T}no" >&6
3917 fi
3918
3919
3920 enablestring=
3921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3922echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3923 no_cache=0
3924 # Check whether --enable-ftp or --disable-ftp was given.
3925if test "${enable_ftp+set}" = set; then
3926 enableval="$enable_ftp"
3927
3928 if test "$enableval" = yes; then
3929 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3930 else
3931 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3932 fi
3933
3934else
3935
3936 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x ; then
3938 eval "DEFAULT_$LINE"
3939 else
3940 no_cache=1
3941 fi
3942
3943 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3944
3945fi;
3946
3947 eval "$ac_cv_use_ftp"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3950 fi
3951
3952 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3953 echo "$as_me:$LINENO: result: yes" >&5
3954echo "${ECHO_T}yes" >&6
3955 else
3956 echo "$as_me:$LINENO: result: no" >&5
3957echo "${ECHO_T}no" >&6
3958 fi
3959
3960
3961 enablestring=
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3963echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3964 no_cache=0
3965 # Check whether --enable-http or --disable-http was given.
3966if test "${enable_http+set}" = set; then
3967 enableval="$enable_http"
3968
3969 if test "$enableval" = yes; then
3970 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3971 else
3972 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3973 fi
3974
3975else
3976
3977 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3980 else
3981 no_cache=1
3982 fi
3983
3984 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3985
3986fi;
3987
3988 eval "$ac_cv_use_http"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3991 fi
3992
3993 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995echo "${ECHO_T}yes" >&6
3996 else
3997 echo "$as_me:$LINENO: result: no" >&5
3998echo "${ECHO_T}no" >&6
3999 fi
4000
4001
4002 enablestring=
4003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4004echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4005 no_cache=0
4006 # Check whether --enable-fileproto or --disable-fileproto was given.
4007if test "${enable_fileproto+set}" = set; then
4008 enableval="$enable_fileproto"
4009
4010 if test "$enableval" = yes; then
4011 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4012 else
4013 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4014 fi
4015
4016else
4017
4018 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x ; then
4020 eval "DEFAULT_$LINE"
4021 else
4022 no_cache=1
4023 fi
4024
4025 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4026
4027fi;
4028
4029 eval "$ac_cv_use_fileproto"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4032 fi
4033
4034 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4035 echo "$as_me:$LINENO: result: yes" >&5
4036echo "${ECHO_T}yes" >&6
4037 else
4038 echo "$as_me:$LINENO: result: no" >&5
4039echo "${ECHO_T}no" >&6
4040 fi
4041
4042
4043 enablestring=
4044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4045echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4046 no_cache=0
4047 # Check whether --enable-sockets or --disable-sockets was given.
4048if test "${enable_sockets+set}" = set; then
4049 enableval="$enable_sockets"
4050
4051 if test "$enableval" = yes; then
4052 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4053 else
4054 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4055 fi
4056
4057else
4058
4059 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4062 else
4063 no_cache=1
4064 fi
4065
4066 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4067
4068fi;
4069
4070 eval "$ac_cv_use_sockets"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4073 fi
4074
4075 if test "$wxUSE_SOCKETS" = yes; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077echo "${ECHO_T}yes" >&6
4078 else
4079 echo "$as_me:$LINENO: result: no" >&5
4080echo "${ECHO_T}no" >&6
4081 fi
4082
4083
4084 enablestring=
4085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4086echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4087 no_cache=0
4088 # Check whether --enable-ole or --disable-ole was given.
4089if test "${enable_ole+set}" = set; then
4090 enableval="$enable_ole"
4091
4092 if test "$enableval" = yes; then
4093 ac_cv_use_ole='wxUSE_OLE=yes'
4094 else
4095 ac_cv_use_ole='wxUSE_OLE=no'
4096 fi
4097
4098else
4099
4100 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4101 if test "x$LINE" != x ; then
4102 eval "DEFAULT_$LINE"
4103 else
4104 no_cache=1
4105 fi
4106
4107 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4108
4109fi;
4110
4111 eval "$ac_cv_use_ole"
4112 if test "$no_cache" != 1; then
4113 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4114 fi
4115
4116 if test "$wxUSE_OLE" = yes; then
4117 echo "$as_me:$LINENO: result: yes" >&5
4118echo "${ECHO_T}yes" >&6
4119 else
4120 echo "$as_me:$LINENO: result: no" >&5
4121echo "${ECHO_T}no" >&6
4122 fi
4123
4124
4125 enablestring=
4126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4127echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4128 no_cache=0
4129 # Check whether --enable-dataobj or --disable-dataobj was given.
4130if test "${enable_dataobj+set}" = set; then
4131 enableval="$enable_dataobj"
4132
4133 if test "$enableval" = yes; then
4134 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4135 else
4136 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4137 fi
4138
4139else
4140
4141 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4142 if test "x$LINE" != x ; then
4143 eval "DEFAULT_$LINE"
4144 else
4145 no_cache=1
4146 fi
4147
4148 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4149
4150fi;
4151
4152 eval "$ac_cv_use_dataobj"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4155 fi
4156
4157 if test "$wxUSE_DATAOBJ" = yes; then
4158 echo "$as_me:$LINENO: result: yes" >&5
4159echo "${ECHO_T}yes" >&6
4160 else
4161 echo "$as_me:$LINENO: result: no" >&5
4162echo "${ECHO_T}no" >&6
4163 fi
4164
4165
4166
4167 enablestring=
4168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4169echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4170 no_cache=0
4171 # Check whether --enable-ipc or --disable-ipc was given.
4172if test "${enable_ipc+set}" = set; then
4173 enableval="$enable_ipc"
4174
4175 if test "$enableval" = yes; then
4176 ac_cv_use_ipc='wxUSE_IPC=yes'
4177 else
4178 ac_cv_use_ipc='wxUSE_IPC=no'
4179 fi
4180
4181else
4182
4183 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x ; then
4185 eval "DEFAULT_$LINE"
4186 else
4187 no_cache=1
4188 fi
4189
4190 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4191
4192fi;
4193
4194 eval "$ac_cv_use_ipc"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4197 fi
4198
4199 if test "$wxUSE_IPC" = yes; then
4200 echo "$as_me:$LINENO: result: yes" >&5
4201echo "${ECHO_T}yes" >&6
4202 else
4203 echo "$as_me:$LINENO: result: no" >&5
4204echo "${ECHO_T}no" >&6
4205 fi
4206
4207
4208
4209 enablestring=
4210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4211echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4212 no_cache=0
4213 # Check whether --enable-cmdline or --disable-cmdline was given.
4214if test "${enable_cmdline+set}" = set; then
4215 enableval="$enable_cmdline"
4216
4217 if test "$enableval" = yes; then
4218 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4219 else
4220 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4221 fi
4222
4223else
4224
4225 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x ; then
4227 eval "DEFAULT_$LINE"
4228 else
4229 no_cache=1
4230 fi
4231
4232 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4233
4234fi;
4235
4236 eval "$ac_cv_use_cmdline"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4239 fi
4240
4241 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4242 echo "$as_me:$LINENO: result: yes" >&5
4243echo "${ECHO_T}yes" >&6
4244 else
4245 echo "$as_me:$LINENO: result: no" >&5
4246echo "${ECHO_T}no" >&6
4247 fi
4248
4249
4250 enablestring=
4251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4252echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4253 no_cache=0
4254 # Check whether --enable-datetime or --disable-datetime was given.
4255if test "${enable_datetime+set}" = set; then
4256 enableval="$enable_datetime"
4257
4258 if test "$enableval" = yes; then
4259 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4260 else
4261 ac_cv_use_datetime='wxUSE_DATETIME=no'
4262 fi
4263
4264else
4265
4266 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x ; then
4268 eval "DEFAULT_$LINE"
4269 else
4270 no_cache=1
4271 fi
4272
4273 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4274
4275fi;
4276
4277 eval "$ac_cv_use_datetime"
4278 if test "$no_cache" != 1; then
4279 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4280 fi
4281
4282 if test "$wxUSE_DATETIME" = yes; then
4283 echo "$as_me:$LINENO: result: yes" >&5
4284echo "${ECHO_T}yes" >&6
4285 else
4286 echo "$as_me:$LINENO: result: no" >&5
4287echo "${ECHO_T}no" >&6
4288 fi
4289
4290
4291 enablestring=
4292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4293echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4294 no_cache=0
4295 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4296if test "${enable_stopwatch+set}" = set; then
4297 enableval="$enable_stopwatch"
4298
4299 if test "$enableval" = yes; then
4300 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4301 else
4302 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4303 fi
4304
4305else
4306
4307 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x ; then
4309 eval "DEFAULT_$LINE"
4310 else
4311 no_cache=1
4312 fi
4313
4314 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4315
4316fi;
4317
4318 eval "$ac_cv_use_stopwatch"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4321 fi
4322
4323 if test "$wxUSE_STOPWATCH" = yes; then
4324 echo "$as_me:$LINENO: result: yes" >&5
4325echo "${ECHO_T}yes" >&6
4326 else
4327 echo "$as_me:$LINENO: result: no" >&5
4328echo "${ECHO_T}no" >&6
4329 fi
4330
4331
4332 enablestring=
4333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4334echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4335 no_cache=0
4336 # Check whether --enable-dialupman or --disable-dialupman was given.
4337if test "${enable_dialupman+set}" = set; then
4338 enableval="$enable_dialupman"
4339
4340 if test "$enableval" = yes; then
4341 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4342 else
4343 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4344 fi
4345
4346else
4347
4348 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4349 if test "x$LINE" != x ; then
4350 eval "DEFAULT_$LINE"
4351 else
4352 no_cache=1
4353 fi
4354
4355 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4356
4357fi;
4358
4359 eval "$ac_cv_use_dialupman"
4360 if test "$no_cache" != 1; then
4361 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4362 fi
4363
4364 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4365 echo "$as_me:$LINENO: result: yes" >&5
4366echo "${ECHO_T}yes" >&6
4367 else
4368 echo "$as_me:$LINENO: result: no" >&5
4369echo "${ECHO_T}no" >&6
4370 fi
4371
4372
4373 enablestring=
4374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4375echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4376 no_cache=0
4377 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4378if test "${enable_apple_ieee+set}" = set; then
4379 enableval="$enable_apple_ieee"
4380
4381 if test "$enableval" = yes; then
4382 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4383 else
4384 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4385 fi
4386
4387else
4388
4389 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4390 if test "x$LINE" != x ; then
4391 eval "DEFAULT_$LINE"
4392 else
4393 no_cache=1
4394 fi
4395
4396 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4397
4398fi;
4399
4400 eval "$ac_cv_use_apple_ieee"
4401 if test "$no_cache" != 1; then
4402 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4403 fi
4404
4405 if test "$wxUSE_APPLE_IEEE" = yes; then
4406 echo "$as_me:$LINENO: result: yes" >&5
4407echo "${ECHO_T}yes" >&6
4408 else
4409 echo "$as_me:$LINENO: result: no" >&5
4410echo "${ECHO_T}no" >&6
4411 fi
4412
4413
4414 enablestring=
4415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4416echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4417 no_cache=0
4418 # Check whether --enable-timer or --disable-timer was given.
4419if test "${enable_timer+set}" = set; then
4420 enableval="$enable_timer"
4421
4422 if test "$enableval" = yes; then
4423 ac_cv_use_timer='wxUSE_TIMER=yes'
4424 else
4425 ac_cv_use_timer='wxUSE_TIMER=no'
4426 fi
4427
4428else
4429
4430 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x ; then
4432 eval "DEFAULT_$LINE"
4433 else
4434 no_cache=1
4435 fi
4436
4437 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4438
4439fi;
4440
4441 eval "$ac_cv_use_timer"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4444 fi
4445
4446 if test "$wxUSE_TIMER" = yes; then
4447 echo "$as_me:$LINENO: result: yes" >&5
4448echo "${ECHO_T}yes" >&6
4449 else
4450 echo "$as_me:$LINENO: result: no" >&5
4451echo "${ECHO_T}no" >&6
4452 fi
4453
4454
4455 enablestring=
4456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4457echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4458 no_cache=0
4459 # Check whether --enable-wave or --disable-wave was given.
4460if test "${enable_wave+set}" = set; then
4461 enableval="$enable_wave"
4462
4463 if test "$enableval" = yes; then
4464 ac_cv_use_wave='wxUSE_WAVE=yes'
4465 else
4466 ac_cv_use_wave='wxUSE_WAVE=no'
4467 fi
4468
4469else
4470
4471 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4473 eval "DEFAULT_$LINE"
4474 else
4475 no_cache=1
4476 fi
4477
4478 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4479
4480fi;
4481
4482 eval "$ac_cv_use_wave"
4483 if test "$no_cache" != 1; then
4484 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4485 fi
4486
4487 if test "$wxUSE_WAVE" = yes; then
4488 echo "$as_me:$LINENO: result: yes" >&5
4489echo "${ECHO_T}yes" >&6
4490 else
4491 echo "$as_me:$LINENO: result: no" >&5
4492echo "${ECHO_T}no" >&6
4493 fi
4494
4495
4496 enablestring=
4497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4498echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4499 no_cache=0
4500 # Check whether --enable-fraction or --disable-fraction was given.
4501if test "${enable_fraction+set}" = set; then
4502 enableval="$enable_fraction"
4503
4504 if test "$enableval" = yes; then
4505 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4506 else
4507 ac_cv_use_fraction='wxUSE_FRACTION=no'
4508 fi
4509
4510else
4511
4512 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4513 if test "x$LINE" != x ; then
4514 eval "DEFAULT_$LINE"
4515 else
4516 no_cache=1
4517 fi
4518
4519 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4520
4521fi;
4522
4523 eval "$ac_cv_use_fraction"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4526 fi
4527
4528 if test "$wxUSE_FRACTION" = yes; then
4529 echo "$as_me:$LINENO: result: yes" >&5
4530echo "${ECHO_T}yes" >&6
4531 else
4532 echo "$as_me:$LINENO: result: no" >&5
4533echo "${ECHO_T}no" >&6
4534 fi
4535
4536
4537 enablestring=
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4539echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4540 no_cache=0
4541 # Check whether --enable-dynlib or --disable-dynlib was given.
4542if test "${enable_dynlib+set}" = set; then
4543 enableval="$enable_dynlib"
4544
4545 if test "$enableval" = yes; then
4546 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4547 else
4548 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4549 fi
4550
4551else
4552
4553 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x ; then
4555 eval "DEFAULT_$LINE"
4556 else
4557 no_cache=1
4558 fi
4559
4560 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4561
4562fi;
4563
4564 eval "$ac_cv_use_dynlib"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571echo "${ECHO_T}yes" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574echo "${ECHO_T}no" >&6
4575 fi
4576
4577
4578 enablestring=
4579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4580echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4581 no_cache=0
4582 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4583if test "${enable_dynamicloader+set}" = set; then
4584 enableval="$enable_dynamicloader"
4585
4586 if test "$enableval" = yes; then
4587 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4588 else
4589 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4590 fi
4591
4592else
4593
4594 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 else
4598 no_cache=1
4599 fi
4600
4601 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4602
4603fi;
4604
4605 eval "$ac_cv_use_dynamicloader"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4608 fi
4609
4610 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4611 echo "$as_me:$LINENO: result: yes" >&5
4612echo "${ECHO_T}yes" >&6
4613 else
4614 echo "$as_me:$LINENO: result: no" >&5
4615echo "${ECHO_T}no" >&6
4616 fi
4617
4618
4619 enablestring=
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4621echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4622 no_cache=0
4623 # Check whether --enable-longlong or --disable-longlong was given.
4624if test "${enable_longlong+set}" = set; then
4625 enableval="$enable_longlong"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4629 else
4630 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4631 fi
4632
4633else
4634
4635 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4643
4644fi;
4645
4646 eval "$ac_cv_use_longlong"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4649 fi
4650
4651 if test "$wxUSE_LONGLONG" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653echo "${ECHO_T}yes" >&6
4654 else
4655 echo "$as_me:$LINENO: result: no" >&5
4656echo "${ECHO_T}no" >&6
4657 fi
4658
4659
4660 enablestring=
4661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4662echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4663 no_cache=0
4664 # Check whether --enable-geometry or --disable-geometry was given.
4665if test "${enable_geometry+set}" = set; then
4666 enableval="$enable_geometry"
4667
4668 if test "$enableval" = yes; then
4669 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4670 else
4671 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4672 fi
4673
4674else
4675
4676 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x ; then
4678 eval "DEFAULT_$LINE"
4679 else
4680 no_cache=1
4681 fi
4682
4683 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4684
4685fi;
4686
4687 eval "$ac_cv_use_geometry"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4690 fi
4691
4692 if test "$wxUSE_GEOMETRY" = yes; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694echo "${ECHO_T}yes" >&6
4695 else
4696 echo "$as_me:$LINENO: result: no" >&5
4697echo "${ECHO_T}no" >&6
4698 fi
4699
4700
4701 enablestring=
4702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4703echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4704 no_cache=0
4705 # Check whether --enable-log or --disable-log was given.
4706if test "${enable_log+set}" = set; then
4707 enableval="$enable_log"
4708
4709 if test "$enableval" = yes; then
4710 ac_cv_use_log='wxUSE_LOG=yes'
4711 else
4712 ac_cv_use_log='wxUSE_LOG=no'
4713 fi
4714
4715else
4716
4717 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x ; then
4719 eval "DEFAULT_$LINE"
4720 else
4721 no_cache=1
4722 fi
4723
4724 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4725
4726fi;
4727
4728 eval "$ac_cv_use_log"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4731 fi
4732
4733 if test "$wxUSE_LOG" = yes; then
4734 echo "$as_me:$LINENO: result: yes" >&5
4735echo "${ECHO_T}yes" >&6
4736 else
4737 echo "$as_me:$LINENO: result: no" >&5
4738echo "${ECHO_T}no" >&6
4739 fi
4740
4741
4742 enablestring=
4743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4744echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4745 no_cache=0
4746 # Check whether --enable-streams or --disable-streams was given.
4747if test "${enable_streams+set}" = set; then
4748 enableval="$enable_streams"
4749
4750 if test "$enableval" = yes; then
4751 ac_cv_use_streams='wxUSE_STREAMS=yes'
4752 else
4753 ac_cv_use_streams='wxUSE_STREAMS=no'
4754 fi
4755
4756else
4757
4758 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x ; then
4760 eval "DEFAULT_$LINE"
4761 else
4762 no_cache=1
4763 fi
4764
4765 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4766
4767fi;
4768
4769 eval "$ac_cv_use_streams"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4772 fi
4773
4774 if test "$wxUSE_STREAMS" = yes; then
4775 echo "$as_me:$LINENO: result: yes" >&5
4776echo "${ECHO_T}yes" >&6
4777 else
4778 echo "$as_me:$LINENO: result: no" >&5
4779echo "${ECHO_T}no" >&6
4780 fi
4781
4782
4783 enablestring=
4784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4785echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4786 no_cache=0
4787 # Check whether --enable-file or --disable-file was given.
4788if test "${enable_file+set}" = set; then
4789 enableval="$enable_file"
4790
4791 if test "$enableval" = yes; then
4792 ac_cv_use_file='wxUSE_FILE=yes'
4793 else
4794 ac_cv_use_file='wxUSE_FILE=no'
4795 fi
4796
4797else
4798
4799 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x ; then
4801 eval "DEFAULT_$LINE"
4802 else
4803 no_cache=1
4804 fi
4805
4806 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4807
4808fi;
4809
4810 eval "$ac_cv_use_file"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4813 fi
4814
4815 if test "$wxUSE_FILE" = yes; then
4816 echo "$as_me:$LINENO: result: yes" >&5
4817echo "${ECHO_T}yes" >&6
4818 else
4819 echo "$as_me:$LINENO: result: no" >&5
4820echo "${ECHO_T}no" >&6
4821 fi
4822
4823
4824 enablestring=
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4826echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4827 no_cache=0
4828 # Check whether --enable-ffile or --disable-ffile was given.
4829if test "${enable_ffile+set}" = set; then
4830 enableval="$enable_ffile"
4831
4832 if test "$enableval" = yes; then
4833 ac_cv_use_ffile='wxUSE_FFILE=yes'
4834 else
4835 ac_cv_use_ffile='wxUSE_FFILE=no'
4836 fi
4837
4838else
4839
4840 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x ; then
4842 eval "DEFAULT_$LINE"
4843 else
4844 no_cache=1
4845 fi
4846
4847 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4848
4849fi;
4850
4851 eval "$ac_cv_use_ffile"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4854 fi
4855
4856 if test "$wxUSE_FFILE" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858echo "${ECHO_T}yes" >&6
4859 else
4860 echo "$as_me:$LINENO: result: no" >&5
4861echo "${ECHO_T}no" >&6
4862 fi
4863
4864
4865 enablestring=
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4867echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4868 no_cache=0
4869 # Check whether --enable-textbuf or --disable-textbuf was given.
4870if test "${enable_textbuf+set}" = set; then
4871 enableval="$enable_textbuf"
4872
4873 if test "$enableval" = yes; then
4874 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4875 else
4876 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4877 fi
4878
4879else
4880
4881 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x ; then
4883 eval "DEFAULT_$LINE"
4884 else
4885 no_cache=1
4886 fi
4887
4888 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4889
4890fi;
4891
4892 eval "$ac_cv_use_textbuf"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4895 fi
4896
4897 if test "$wxUSE_TEXTBUFFER" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899echo "${ECHO_T}yes" >&6
4900 else
4901 echo "$as_me:$LINENO: result: no" >&5
4902echo "${ECHO_T}no" >&6
4903 fi
4904
4905
4906 enablestring=
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4908echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4909 no_cache=0
4910 # Check whether --enable-textfile or --disable-textfile was given.
4911if test "${enable_textfile+set}" = set; then
4912 enableval="$enable_textfile"
4913
4914 if test "$enableval" = yes; then
4915 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4916 else
4917 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4918 fi
4919
4920else
4921
4922 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x ; then
4924 eval "DEFAULT_$LINE"
4925 else
4926 no_cache=1
4927 fi
4928
4929 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4930
4931fi;
4932
4933 eval "$ac_cv_use_textfile"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4936 fi
4937
4938 if test "$wxUSE_TEXTFILE" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940echo "${ECHO_T}yes" >&6
4941 else
4942 echo "$as_me:$LINENO: result: no" >&5
4943echo "${ECHO_T}no" >&6
4944 fi
4945
4946
4947 enablestring=
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4949echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4950 no_cache=0
4951 # Check whether --enable-fontmap or --disable-fontmap was given.
4952if test "${enable_fontmap+set}" = set; then
4953 enableval="$enable_fontmap"
4954
4955 if test "$enableval" = yes; then
4956 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4957 else
4958 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4959 fi
4960
4961else
4962
4963 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 else
4967 no_cache=1
4968 fi
4969
4970 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4971
4972fi;
4973
4974 eval "$ac_cv_use_fontmap"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4977 fi
4978
4979 if test "$wxUSE_FONTMAP" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981echo "${ECHO_T}yes" >&6
4982 else
4983 echo "$as_me:$LINENO: result: no" >&5
4984echo "${ECHO_T}no" >&6
4985 fi
4986
4987
4988 enablestring=
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4990echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4991 no_cache=0
4992 # Check whether --enable-unicode or --disable-unicode was given.
4993if test "${enable_unicode+set}" = set; then
4994 enableval="$enable_unicode"
4995
4996 if test "$enableval" = yes; then
4997 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4998 else
4999 ac_cv_use_unicode='wxUSE_UNICODE=no'
5000 fi
5001
5002else
5003
5004 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x ; then
5006 eval "DEFAULT_$LINE"
5007 else
5008 no_cache=1
5009 fi
5010
5011 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5012
5013fi;
5014
5015 eval "$ac_cv_use_unicode"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5018 fi
5019
5020 if test "$wxUSE_UNICODE" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022echo "${ECHO_T}yes" >&6
5023 else
5024 echo "$as_me:$LINENO: result: no" >&5
5025echo "${ECHO_T}no" >&6
5026 fi
5027
5028
5029 enablestring=
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5031echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5032 no_cache=0
5033 # Check whether --enable-mslu or --disable-mslu was given.
5034if test "${enable_mslu+set}" = set; then
5035 enableval="$enable_mslu"
5036
5037 if test "$enableval" = yes; then
5038 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5039 else
5040 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5041 fi
5042
5043else
5044
5045 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x ; then
5047 eval "DEFAULT_$LINE"
5048 else
5049 no_cache=1
5050 fi
5051
5052 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5053
5054fi;
5055
5056 eval "$ac_cv_use_mslu"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5059 fi
5060
5061 if test "$wxUSE_UNICODE_MSLU" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063echo "${ECHO_T}yes" >&6
5064 else
5065 echo "$as_me:$LINENO: result: no" >&5
5066echo "${ECHO_T}no" >&6
5067 fi
5068
5069
5070 enablestring=
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5072echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5073 no_cache=0
5074 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5075if test "${enable_wxprintfv+set}" = set; then
5076 enableval="$enable_wxprintfv"
5077
5078 if test "$enableval" = yes; then
5079 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5080 else
5081 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5082 fi
5083
5084else
5085
5086 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x ; then
5088 eval "DEFAULT_$LINE"
5089 else
5090 no_cache=1
5091 fi
5092
5093 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5094
5095fi;
5096
5097 eval "$ac_cv_use_wxprintfv"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5100 fi
5101
5102 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104echo "${ECHO_T}yes" >&6
5105 else
5106 echo "$as_me:$LINENO: result: no" >&5
5107echo "${ECHO_T}no" >&6
5108 fi
5109
5110
5111 enablestring=
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5113echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5114 no_cache=0
5115 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5116if test "${enable_std_iostreams+set}" = set; then
5117 enableval="$enable_std_iostreams"
5118
5119 if test "$enableval" = yes; then
5120 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5121 else
5122 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5123 fi
5124
5125else
5126
5127 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x ; then
5129 eval "DEFAULT_$LINE"
5130 else
5131 no_cache=1
5132 fi
5133
5134 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5135
5136fi;
5137
5138 eval "$ac_cv_use_std_iostreams"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5141 fi
5142
5143 if test "$wxUSE_STD_IOSTREAM" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145echo "${ECHO_T}yes" >&6
5146 else
5147 echo "$as_me:$LINENO: result: no" >&5
5148echo "${ECHO_T}no" >&6
5149 fi
5150
5151
5152 enablestring=
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5154echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5155 no_cache=0
5156 # Check whether --enable-filesystem or --disable-filesystem was given.
5157if test "${enable_filesystem+set}" = set; then
5158 enableval="$enable_filesystem"
5159
5160 if test "$enableval" = yes; then
5161 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5162 else
5163 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5164 fi
5165
5166else
5167
5168 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x ; then
5170 eval "DEFAULT_$LINE"
5171 else
5172 no_cache=1
5173 fi
5174
5175 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5176
5177fi;
5178
5179 eval "$ac_cv_use_filesystem"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5182 fi
5183
5184 if test "$wxUSE_FILESYSTEM" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186echo "${ECHO_T}yes" >&6
5187 else
5188 echo "$as_me:$LINENO: result: no" >&5
5189echo "${ECHO_T}no" >&6
5190 fi
5191
5192
5193 enablestring=
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5195echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5196 no_cache=0
5197 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5198if test "${enable_fs_inet+set}" = set; then
5199 enableval="$enable_fs_inet"
5200
5201 if test "$enableval" = yes; then
5202 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5203 else
5204 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5205 fi
5206
5207else
5208
5209 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x ; then
5211 eval "DEFAULT_$LINE"
5212 else
5213 no_cache=1
5214 fi
5215
5216 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5217
5218fi;
5219
5220 eval "$ac_cv_use_fs_inet"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5223 fi
5224
5225 if test "$wxUSE_FS_INET" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227echo "${ECHO_T}yes" >&6
5228 else
5229 echo "$as_me:$LINENO: result: no" >&5
5230echo "${ECHO_T}no" >&6
5231 fi
5232
5233
5234 enablestring=
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5236echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5237 no_cache=0
5238 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5239if test "${enable_fs_zip+set}" = set; then
5240 enableval="$enable_fs_zip"
5241
5242 if test "$enableval" = yes; then
5243 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5244 else
5245 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5246 fi
5247
5248else
5249
5250 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5258
5259fi;
5260
5261 eval "$ac_cv_use_fs_zip"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5264 fi
5265
5266 if test "$wxUSE_FS_ZIP" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268echo "${ECHO_T}yes" >&6
5269 else
5270 echo "$as_me:$LINENO: result: no" >&5
5271echo "${ECHO_T}no" >&6
5272 fi
5273
5274
5275 enablestring=
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5277echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5278 no_cache=0
5279 # Check whether --enable-zipstream or --disable-zipstream was given.
5280if test "${enable_zipstream+set}" = set; then
5281 enableval="$enable_zipstream"
5282
5283 if test "$enableval" = yes; then
5284 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5285 else
5286 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5287 fi
5288
5289else
5290
5291 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x ; then
5293 eval "DEFAULT_$LINE"
5294 else
5295 no_cache=1
5296 fi
5297
5298 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5299
5300fi;
5301
5302 eval "$ac_cv_use_zipstream"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5305 fi
5306
5307 if test "$wxUSE_ZIPSTREAM" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309echo "${ECHO_T}yes" >&6
5310 else
5311 echo "$as_me:$LINENO: result: no" >&5
5312echo "${ECHO_T}no" >&6
5313 fi
5314
5315
5316
5317 enablestring=
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5319echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5320 no_cache=0
5321 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5322if test "${enable_catch_segvs+set}" = set; then
5323 enableval="$enable_catch_segvs"
5324
5325 if test "$enableval" = yes; then
5326 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5327 else
5328 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5329 fi
5330
5331else
5332
5333 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5341
5342fi;
5343
5344 eval "$ac_cv_use_catch_segvs"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5347 fi
5348
5349 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351echo "${ECHO_T}yes" >&6
5352 else
5353 echo "$as_me:$LINENO: result: no" >&5
5354echo "${ECHO_T}no" >&6
5355 fi
5356
5357
5358 enablestring=
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5360echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5361 no_cache=0
5362 # Check whether --enable-snglinst or --disable-snglinst was given.
5363if test "${enable_snglinst+set}" = set; then
5364 enableval="$enable_snglinst"
5365
5366 if test "$enableval" = yes; then
5367 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5368 else
5369 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5370 fi
5371
5372else
5373
5374 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5377 else
5378 no_cache=1
5379 fi
5380
5381 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5382
5383fi;
5384
5385 eval "$ac_cv_use_snglinst"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392echo "${ECHO_T}yes" >&6
5393 else
5394 echo "$as_me:$LINENO: result: no" >&5
5395echo "${ECHO_T}no" >&6
5396 fi
5397
5398
5399
5400 enablestring=
5401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5402echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5403 no_cache=0
5404 # Check whether --enable-mimetype or --disable-mimetype was given.
5405if test "${enable_mimetype+set}" = set; then
5406 enableval="$enable_mimetype"
5407
5408 if test "$enableval" = yes; then
5409 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5410 else
5411 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5412 fi
5413
5414else
5415
5416 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x ; then
5418 eval "DEFAULT_$LINE"
5419 else
5420 no_cache=1
5421 fi
5422
5423 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5424
5425fi;
5426
5427 eval "$ac_cv_use_mimetype"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test "$wxUSE_MIMETYPE" = yes; then
5433 echo "$as_me:$LINENO: result: yes" >&5
5434echo "${ECHO_T}yes" >&6
5435 else
5436 echo "$as_me:$LINENO: result: no" >&5
5437echo "${ECHO_T}no" >&6
5438 fi
5439
5440
5441 enablestring=
5442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5443echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5444 no_cache=0
5445 # Check whether --enable-system_options or --disable-system_options was given.
5446if test "${enable_system_options+set}" = set; then
5447 enableval="$enable_system_options"
5448
5449 if test "$enableval" = yes; then
5450 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5451 else
5452 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5453 fi
5454
5455else
5456
5457 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5458 if test "x$LINE" != x ; then
5459 eval "DEFAULT_$LINE"
5460 else
5461 no_cache=1
5462 fi
5463
5464 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5465
5466fi;
5467
5468 eval "$ac_cv_use_system_options"
5469 if test "$no_cache" != 1; then
5470 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5471 fi
5472
5473 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5474 echo "$as_me:$LINENO: result: yes" >&5
5475echo "${ECHO_T}yes" >&6
5476 else
5477 echo "$as_me:$LINENO: result: no" >&5
5478echo "${ECHO_T}no" >&6
5479 fi
5480
5481
5482
5483 enablestring=
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5485echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5486 no_cache=0
5487 # Check whether --enable-url or --disable-url was given.
5488if test "${enable_url+set}" = set; then
5489 enableval="$enable_url"
5490
5491 if test "$enableval" = yes; then
5492 ac_cv_use_url='wxUSE_URL=yes'
5493 else
5494 ac_cv_use_url='wxUSE_URL=no'
5495 fi
5496
5497else
5498
5499 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5507
5508fi;
5509
5510 eval "$ac_cv_use_url"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5513 fi
5514
5515 if test "$wxUSE_URL" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517echo "${ECHO_T}yes" >&6
5518 else
5519 echo "$as_me:$LINENO: result: no" >&5
5520echo "${ECHO_T}no" >&6
5521 fi
5522
5523
5524 enablestring=
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5526echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5527 no_cache=0
5528 # Check whether --enable-protocol or --disable-protocol was given.
5529if test "${enable_protocol+set}" = set; then
5530 enableval="$enable_protocol"
5531
5532 if test "$enableval" = yes; then
5533 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5534 else
5535 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5536 fi
5537
5538else
5539
5540 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5543 else
5544 no_cache=1
5545 fi
5546
5547 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5548
5549fi;
5550
5551 eval "$ac_cv_use_protocol"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5554 fi
5555
5556 if test "$wxUSE_PROTOCOL" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558echo "${ECHO_T}yes" >&6
5559 else
5560 echo "$as_me:$LINENO: result: no" >&5
5561echo "${ECHO_T}no" >&6
5562 fi
5563
5564
5565 enablestring=
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5567echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5568 no_cache=0
5569 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5570if test "${enable_protocol_http+set}" = set; then
5571 enableval="$enable_protocol_http"
5572
5573 if test "$enableval" = yes; then
5574 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5575 else
5576 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5577 fi
5578
5579else
5580
5581 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5584 else
5585 no_cache=1
5586 fi
5587
5588 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5589
5590fi;
5591
5592 eval "$ac_cv_use_protocol_http"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5595 fi
5596
5597 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599echo "${ECHO_T}yes" >&6
5600 else
5601 echo "$as_me:$LINENO: result: no" >&5
5602echo "${ECHO_T}no" >&6
5603 fi
5604
5605
5606 enablestring=
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5608echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5609 no_cache=0
5610 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5611if test "${enable_protocol_ftp+set}" = set; then
5612 enableval="$enable_protocol_ftp"
5613
5614 if test "$enableval" = yes; then
5615 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5616 else
5617 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5618 fi
5619
5620else
5621
5622 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5630
5631fi;
5632
5633 eval "$ac_cv_use_protocol_ftp"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5636 fi
5637
5638 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640echo "${ECHO_T}yes" >&6
5641 else
5642 echo "$as_me:$LINENO: result: no" >&5
5643echo "${ECHO_T}no" >&6
5644 fi
5645
5646
5647 enablestring=
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5649echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5650 no_cache=0
5651 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5652if test "${enable_protocol_file+set}" = set; then
5653 enableval="$enable_protocol_file"
5654
5655 if test "$enableval" = yes; then
5656 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5657 else
5658 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5659 fi
5660
5661else
5662
5663 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5666 else
5667 no_cache=1
5668 fi
5669
5670 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5671
5672fi;
5673
5674 eval "$ac_cv_use_protocol_file"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5677 fi
5678
5679 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681echo "${ECHO_T}yes" >&6
5682 else
5683 echo "$as_me:$LINENO: result: no" >&5
5684echo "${ECHO_T}no" >&6
5685 fi
5686
5687
5688
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5693echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-threads or --disable-threads was given.
5696if test "${enable_threads+set}" = set; then
5697 enableval="$enable_threads"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_threads='wxUSE_THREADS=yes'
5701 else
5702 ac_cv_use_threads='wxUSE_THREADS=no'
5703 fi
5704
5705else
5706
5707 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5715
5716fi;
5717
5718 eval "$ac_cv_use_threads"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_THREADS" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732if test "$wxUSE_GUI" = "yes"; then
5733
5734
5735
5736 enablestring=
5737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5738echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5739 no_cache=0
5740 # Check whether --enable-docview or --disable-docview was given.
5741if test "${enable_docview+set}" = set; then
5742 enableval="$enable_docview"
5743
5744 if test "$enableval" = yes; then
5745 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5746 else
5747 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5748 fi
5749
5750else
5751
5752 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x ; then
5754 eval "DEFAULT_$LINE"
5755 else
5756 no_cache=1
5757 fi
5758
5759 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5760
5761fi;
5762
5763 eval "$ac_cv_use_docview"
5764 if test "$no_cache" != 1; then
5765 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5766 fi
5767
5768 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5769 echo "$as_me:$LINENO: result: yes" >&5
5770echo "${ECHO_T}yes" >&6
5771 else
5772 echo "$as_me:$LINENO: result: no" >&5
5773echo "${ECHO_T}no" >&6
5774 fi
5775
5776
5777 enablestring=
5778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5779echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5780 no_cache=0
5781 # Check whether --enable-help or --disable-help was given.
5782if test "${enable_help+set}" = set; then
5783 enableval="$enable_help"
5784
5785 if test "$enableval" = yes; then
5786 ac_cv_use_help='wxUSE_HELP=yes'
5787 else
5788 ac_cv_use_help='wxUSE_HELP=no'
5789 fi
5790
5791else
5792
5793 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x ; then
5795 eval "DEFAULT_$LINE"
5796 else
5797 no_cache=1
5798 fi
5799
5800 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5801
5802fi;
5803
5804 eval "$ac_cv_use_help"
5805 if test "$no_cache" != 1; then
5806 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5807 fi
5808
5809 if test "$wxUSE_HELP" = yes; then
5810 echo "$as_me:$LINENO: result: yes" >&5
5811echo "${ECHO_T}yes" >&6
5812 else
5813 echo "$as_me:$LINENO: result: no" >&5
5814echo "${ECHO_T}no" >&6
5815 fi
5816
5817
5818 enablestring=
5819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5820echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5821 no_cache=0
5822 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5823if test "${enable_mshtmlhelp+set}" = set; then
5824 enableval="$enable_mshtmlhelp"
5825
5826 if test "$enableval" = yes; then
5827 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5828 else
5829 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5830 fi
5831
5832else
5833
5834 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x ; then
5836 eval "DEFAULT_$LINE"
5837 else
5838 no_cache=1
5839 fi
5840
5841 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5842
5843fi;
5844
5845 eval "$ac_cv_use_mshtmlhelp"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5848 fi
5849
5850 if test "$wxUSE_MS_HTML_HELP" = yes; then
5851 echo "$as_me:$LINENO: result: yes" >&5
5852echo "${ECHO_T}yes" >&6
5853 else
5854 echo "$as_me:$LINENO: result: no" >&5
5855echo "${ECHO_T}no" >&6
5856 fi
5857
5858
5859 enablestring=
5860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5861echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5862 no_cache=0
5863 # Check whether --enable-html or --disable-html was given.
5864if test "${enable_html+set}" = set; then
5865 enableval="$enable_html"
5866
5867 if test "$enableval" = yes; then
5868 ac_cv_use_html='wxUSE_HTML=yes'
5869 else
5870 ac_cv_use_html='wxUSE_HTML=no'
5871 fi
5872
5873else
5874
5875 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5876 if test "x$LINE" != x ; then
5877 eval "DEFAULT_$LINE"
5878 else
5879 no_cache=1
5880 fi
5881
5882 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5883
5884fi;
5885
5886 eval "$ac_cv_use_html"
5887 if test "$no_cache" != 1; then
5888 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5889 fi
5890
5891 if test "$wxUSE_HTML" = yes; then
5892 echo "$as_me:$LINENO: result: yes" >&5
5893echo "${ECHO_T}yes" >&6
5894 else
5895 echo "$as_me:$LINENO: result: no" >&5
5896echo "${ECHO_T}no" >&6
5897 fi
5898
5899
5900 enablestring=
5901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5902echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5903 no_cache=0
5904 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5905if test "${enable_htmlhelp+set}" = set; then
5906 enableval="$enable_htmlhelp"
5907
5908 if test "$enableval" = yes; then
5909 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5910 else
5911 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5912 fi
5913
5914else
5915
5916 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5919 else
5920 no_cache=1
5921 fi
5922
5923 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5924
5925fi;
5926
5927 eval "$ac_cv_use_htmlhelp"
5928 if test "$no_cache" != 1; then
5929 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5930 fi
5931
5932 if test "$wxUSE_WXHTML_HELP" = yes; then
5933 echo "$as_me:$LINENO: result: yes" >&5
5934echo "${ECHO_T}yes" >&6
5935 else
5936 echo "$as_me:$LINENO: result: no" >&5
5937echo "${ECHO_T}no" >&6
5938 fi
5939
5940
5941 enablestring=
5942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5943echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5944 no_cache=0
5945 # Check whether --enable-constraints or --disable-constraints was given.
5946if test "${enable_constraints+set}" = set; then
5947 enableval="$enable_constraints"
5948
5949 if test "$enableval" = yes; then
5950 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5951 else
5952 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5953 fi
5954
5955else
5956
5957 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5958 if test "x$LINE" != x ; then
5959 eval "DEFAULT_$LINE"
5960 else
5961 no_cache=1
5962 fi
5963
5964 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5965
5966fi;
5967
5968 eval "$ac_cv_use_constraints"
5969 if test "$no_cache" != 1; then
5970 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5971 fi
5972
5973 if test "$wxUSE_CONSTRAINTS" = yes; then
5974 echo "$as_me:$LINENO: result: yes" >&5
5975echo "${ECHO_T}yes" >&6
5976 else
5977 echo "$as_me:$LINENO: result: no" >&5
5978echo "${ECHO_T}no" >&6
5979 fi
5980
5981
5982 enablestring=
5983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5984echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5985 no_cache=0
5986 # Check whether --enable-printarch or --disable-printarch was given.
5987if test "${enable_printarch+set}" = set; then
5988 enableval="$enable_printarch"
5989
5990 if test "$enableval" = yes; then
5991 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5992 else
5993 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5994 fi
5995
5996else
5997
5998 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x ; then
6000 eval "DEFAULT_$LINE"
6001 else
6002 no_cache=1
6003 fi
6004
6005 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6006
6007fi;
6008
6009 eval "$ac_cv_use_printarch"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6012 fi
6013
6014 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6015 echo "$as_me:$LINENO: result: yes" >&5
6016echo "${ECHO_T}yes" >&6
6017 else
6018 echo "$as_me:$LINENO: result: no" >&5
6019echo "${ECHO_T}no" >&6
6020 fi
6021
6022
6023 enablestring=
6024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6025echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6026 no_cache=0
6027 # Check whether --enable-mdi or --disable-mdi was given.
6028if test "${enable_mdi+set}" = set; then
6029 enableval="$enable_mdi"
6030
6031 if test "$enableval" = yes; then
6032 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6033 else
6034 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6035 fi
6036
6037else
6038
6039 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x ; then
6041 eval "DEFAULT_$LINE"
6042 else
6043 no_cache=1
6044 fi
6045
6046 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6047
6048fi;
6049
6050 eval "$ac_cv_use_mdi"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6053 fi
6054
6055 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6056 echo "$as_me:$LINENO: result: yes" >&5
6057echo "${ECHO_T}yes" >&6
6058 else
6059 echo "$as_me:$LINENO: result: no" >&5
6060echo "${ECHO_T}no" >&6
6061 fi
6062
6063
6064 enablestring=
6065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6066echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6067 no_cache=0
6068 # Check whether --enable-loggui or --disable-loggui was given.
6069if test "${enable_loggui+set}" = set; then
6070 enableval="$enable_loggui"
6071
6072 if test "$enableval" = yes; then
6073 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6074 else
6075 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6076 fi
6077
6078else
6079
6080 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x ; then
6082 eval "DEFAULT_$LINE"
6083 else
6084 no_cache=1
6085 fi
6086
6087 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6088
6089fi;
6090
6091 eval "$ac_cv_use_loggui"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6094 fi
6095
6096 if test "$wxUSE_LOGGUI" = yes; then
6097 echo "$as_me:$LINENO: result: yes" >&5
6098echo "${ECHO_T}yes" >&6
6099 else
6100 echo "$as_me:$LINENO: result: no" >&5
6101echo "${ECHO_T}no" >&6
6102 fi
6103
6104
6105 enablestring=
6106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6107echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6108 no_cache=0
6109 # Check whether --enable-logwin or --disable-logwin was given.
6110if test "${enable_logwin+set}" = set; then
6111 enableval="$enable_logwin"
6112
6113 if test "$enableval" = yes; then
6114 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6115 else
6116 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6117 fi
6118
6119else
6120
6121 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x ; then
6123 eval "DEFAULT_$LINE"
6124 else
6125 no_cache=1
6126 fi
6127
6128 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6129
6130fi;
6131
6132 eval "$ac_cv_use_logwin"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6135 fi
6136
6137 if test "$wxUSE_LOGWINDOW" = yes; then
6138 echo "$as_me:$LINENO: result: yes" >&5
6139echo "${ECHO_T}yes" >&6
6140 else
6141 echo "$as_me:$LINENO: result: no" >&5
6142echo "${ECHO_T}no" >&6
6143 fi
6144
6145
6146 enablestring=
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6148echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6149 no_cache=0
6150 # Check whether --enable-logdialog or --disable-logdialog was given.
6151if test "${enable_logdialog+set}" = set; then
6152 enableval="$enable_logdialog"
6153
6154 if test "$enableval" = yes; then
6155 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6156 else
6157 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6158 fi
6159
6160else
6161
6162 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x ; then
6164 eval "DEFAULT_$LINE"
6165 else
6166 no_cache=1
6167 fi
6168
6169 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6170
6171fi;
6172
6173 eval "$ac_cv_use_logdialog"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6176 fi
6177
6178 if test "$wxUSE_LOGDIALOG" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180echo "${ECHO_T}yes" >&6
6181 else
6182 echo "$as_me:$LINENO: result: no" >&5
6183echo "${ECHO_T}no" >&6
6184 fi
6185
6186
6187
6188 enablestring=
6189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6190echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6191 no_cache=0
6192 # Check whether --enable-postscript or --disable-postscript was given.
6193if test "${enable_postscript+set}" = set; then
6194 enableval="$enable_postscript"
6195
6196 if test "$enableval" = yes; then
6197 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6198 else
6199 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6200 fi
6201
6202else
6203
6204 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6205 if test "x$LINE" != x ; then
6206 eval "DEFAULT_$LINE"
6207 else
6208 no_cache=1
6209 fi
6210
6211 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6212
6213fi;
6214
6215 eval "$ac_cv_use_postscript"
6216 if test "$no_cache" != 1; then
6217 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6218 fi
6219
6220 if test "$wxUSE_POSTSCRIPT" = yes; then
6221 echo "$as_me:$LINENO: result: yes" >&5
6222echo "${ECHO_T}yes" >&6
6223 else
6224 echo "$as_me:$LINENO: result: no" >&5
6225echo "${ECHO_T}no" >&6
6226 fi
6227
6228
6229
6230
6231
6232 enablestring=
6233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6234echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6235 no_cache=0
6236 # Check whether --enable-prologio or --disable-prologio was given.
6237if test "${enable_prologio+set}" = set; then
6238 enableval="$enable_prologio"
6239
6240 if test "$enableval" = yes; then
6241 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6242 else
6243 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6244 fi
6245
6246else
6247
6248 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x ; then
6250 eval "DEFAULT_$LINE"
6251 else
6252 no_cache=1
6253 fi
6254
6255 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6256
6257fi;
6258
6259 eval "$ac_cv_use_prologio"
6260 if test "$no_cache" != 1; then
6261 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6262 fi
6263
6264 if test "$wxUSE_PROLOGIO" = yes; then
6265 echo "$as_me:$LINENO: result: yes" >&5
6266echo "${ECHO_T}yes" >&6
6267 else
6268 echo "$as_me:$LINENO: result: no" >&5
6269echo "${ECHO_T}no" >&6
6270 fi
6271
6272
6273 enablestring=
6274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6275echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6276 no_cache=0
6277 # Check whether --enable-resources or --disable-resources was given.
6278if test "${enable_resources+set}" = set; then
6279 enableval="$enable_resources"
6280
6281 if test "$enableval" = yes; then
6282 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6283 else
6284 ac_cv_use_resources='wxUSE_RESOURCES=no'
6285 fi
6286
6287else
6288
6289 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x ; then
6291 eval "DEFAULT_$LINE"
6292 else
6293 no_cache=1
6294 fi
6295
6296 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6297
6298fi;
6299
6300 eval "$ac_cv_use_resources"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6303 fi
6304
6305 if test "$wxUSE_RESOURCES" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307echo "${ECHO_T}yes" >&6
6308 else
6309 echo "$as_me:$LINENO: result: no" >&5
6310echo "${ECHO_T}no" >&6
6311 fi
6312
6313
6314
6315
6316 enablestring=
6317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6318echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6319 no_cache=0
6320 # Check whether --enable-clipboard or --disable-clipboard was given.
6321if test "${enable_clipboard+set}" = set; then
6322 enableval="$enable_clipboard"
6323
6324 if test "$enableval" = yes; then
6325 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6326 else
6327 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6328 fi
6329
6330else
6331
6332 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6333 if test "x$LINE" != x ; then
6334 eval "DEFAULT_$LINE"
6335 else
6336 no_cache=1
6337 fi
6338
6339 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6340
6341fi;
6342
6343 eval "$ac_cv_use_clipboard"
6344 if test "$no_cache" != 1; then
6345 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6346 fi
6347
6348 if test "$wxUSE_CLIPBOARD" = yes; then
6349 echo "$as_me:$LINENO: result: yes" >&5
6350echo "${ECHO_T}yes" >&6
6351 else
6352 echo "$as_me:$LINENO: result: no" >&5
6353echo "${ECHO_T}no" >&6
6354 fi
6355
6356
6357 enablestring=
6358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6359echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6360 no_cache=0
6361 # Check whether --enable-dnd or --disable-dnd was given.
6362if test "${enable_dnd+set}" = set; then
6363 enableval="$enable_dnd"
6364
6365 if test "$enableval" = yes; then
6366 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6367 else
6368 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6369 fi
6370
6371else
6372
6373 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6374 if test "x$LINE" != x ; then
6375 eval "DEFAULT_$LINE"
6376 else
6377 no_cache=1
6378 fi
6379
6380 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6381
6382fi;
6383
6384 eval "$ac_cv_use_dnd"
6385 if test "$no_cache" != 1; then
6386 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6387 fi
6388
6389 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6390 echo "$as_me:$LINENO: result: yes" >&5
6391echo "${ECHO_T}yes" >&6
6392 else
6393 echo "$as_me:$LINENO: result: no" >&5
6394echo "${ECHO_T}no" >&6
6395 fi
6396
6397
6398 enablestring=
6399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6400echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6401 no_cache=0
6402 # Check whether --enable-metafile or --disable-metafile was given.
6403if test "${enable_metafile+set}" = set; then
6404 enableval="$enable_metafile"
6405
6406 if test "$enableval" = yes; then
6407 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6408 else
6409 ac_cv_use_metafile='wxUSE_METAFILE=no'
6410 fi
6411
6412else
6413
6414 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6417 else
6418 no_cache=1
6419 fi
6420
6421 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6422
6423fi;
6424
6425 eval "$ac_cv_use_metafile"
6426 if test "$no_cache" != 1; then
6427 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6428 fi
6429
6430 if test "$wxUSE_METAFILE" = yes; then
6431 echo "$as_me:$LINENO: result: yes" >&5
6432echo "${ECHO_T}yes" >&6
6433 else
6434 echo "$as_me:$LINENO: result: no" >&5
6435echo "${ECHO_T}no" >&6
6436 fi
6437
6438
6439
6440
6441
6442 enablestring=
6443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6444echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6445 no_cache=0
6446 # Check whether --enable-controls or --disable-controls was given.
6447if test "${enable_controls+set}" = set; then
6448 enableval="$enable_controls"
6449
6450 if test "$enableval" = yes; then
6451 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6452 else
6453 ac_cv_use_controls='wxUSE_CONTROLS=no'
6454 fi
6455
6456else
6457
6458 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6461 else
6462 no_cache=1
6463 fi
6464
6465 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6466
6467fi;
6468
6469 eval "$ac_cv_use_controls"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6472 fi
6473
6474 if test "$wxUSE_CONTROLS" = yes; then
6475 echo "$as_me:$LINENO: result: yes" >&5
6476echo "${ECHO_T}yes" >&6
6477 else
6478 echo "$as_me:$LINENO: result: no" >&5
6479echo "${ECHO_T}no" >&6
6480 fi
6481
6482
6483if test "$wxUSE_CONTROLS" = "yes"; then
6484 DEFAULT_wxUSE_ACCEL=yes
6485 DEFAULT_wxUSE_BMPBUTTON=yes
6486 DEFAULT_wxUSE_BUTTON=yes
6487 DEFAULT_wxUSE_CALCTRL=no
6488 DEFAULT_wxUSE_CARET=yes
6489 DEFAULT_wxUSE_COMBOBOX=yes
6490 DEFAULT_wxUSE_CHECKBOX=yes
6491 DEFAULT_wxUSE_CHECKLISTBOX=yes
6492 DEFAULT_wxUSE_CHOICE=yes
6493 DEFAULT_wxUSE_GAUGE=yes
6494 DEFAULT_wxUSE_GRID=yes
6495 DEFAULT_wxUSE_IMAGLIST=yes
6496 DEFAULT_wxUSE_LISTBOX=yes
6497 DEFAULT_wxUSE_LISTCTRL=yes
6498 DEFAULT_wxUSE_NOTEBOOK=yes
6499 DEFAULT_wxUSE_RADIOBOX=yes
6500 DEFAULT_wxUSE_RADIOBTN=yes
6501 DEFAULT_wxUSE_SASH=yes
6502 DEFAULT_wxUSE_SCROLLBAR=yes
6503 DEFAULT_wxUSE_SLIDER=yes
6504 DEFAULT_wxUSE_SPINBTN=yes
6505 DEFAULT_wxUSE_SPINCTRL=yes
6506 DEFAULT_wxUSE_SPLITTER=yes
6507 DEFAULT_wxUSE_STATBMP=yes
6508 DEFAULT_wxUSE_STATBOX=yes
6509 DEFAULT_wxUSE_STATLINE=yes
6510 DEFAULT_wxUSE_STATUSBAR=yes
6511 DEFAULT_wxUSE_TAB_DIALOG=yes
6512 DEFAULT_wxUSE_TOGGLEBTN=yes
6513 DEFAULT_wxUSE_TOOLBAR=yes
6514 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6515 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6516 DEFAULT_wxUSE_TOOLTIPS=yes
6517 DEFAULT_wxUSE_TREECTRL=yes
6518 DEFAULT_wxUSE_POPUPWIN=yes
6519 DEFAULT_wxUSE_TIPWINDOW=yes
6520elif test "$wxUSE_CONTROLS" = "no"; then
6521 DEFAULT_wxUSE_ACCEL=no
6522 DEFAULT_wxUSE_BMPBUTTON=no
6523 DEFAULT_wxUSE_BUTTON=no
6524 DEFAULT_wxUSE_CALCTRL=no
6525 DEFAULT_wxUSE_CARET=no
6526 DEFAULT_wxUSE_COMBOBOX=no
6527 DEFAULT_wxUSE_CHECKBOX=no
6528 DEFAULT_wxUSE_CHECKLISTBOX=no
6529 DEFAULT_wxUSE_CHOICE=no
6530 DEFAULT_wxUSE_GAUGE=no
6531 DEFAULT_wxUSE_GRID=no
6532 DEFAULT_wxUSE_IMAGLIST=no
6533 DEFAULT_wxUSE_LISTBOX=no
6534 DEFAULT_wxUSE_LISTCTRL=no
6535 DEFAULT_wxUSE_NOTEBOOK=no
6536 DEFAULT_wxUSE_RADIOBOX=no
6537 DEFAULT_wxUSE_RADIOBTN=no
6538 DEFAULT_wxUSE_SASH=no
6539 DEFAULT_wxUSE_SCROLLBAR=no
6540 DEFAULT_wxUSE_SLIDER=no
6541 DEFAULT_wxUSE_SPINBTN=no
6542 DEFAULT_wxUSE_SPINCTRL=no
6543 DEFAULT_wxUSE_SPLITTER=no
6544 DEFAULT_wxUSE_STATBMP=no
6545 DEFAULT_wxUSE_STATBOX=no
6546 DEFAULT_wxUSE_STATLINE=no
6547 DEFAULT_wxUSE_STATUSBAR=no
6548 DEFAULT_wxUSE_TAB_DIALOG=no
6549 DEFAULT_wxUSE_TOGGLEBTN=no
6550 DEFAULT_wxUSE_TOOLBAR=no
6551 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6552 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6553 DEFAULT_wxUSE_TOOLTIPS=no
6554 DEFAULT_wxUSE_TREECTRL=no
6555 DEFAULT_wxUSE_POPUPWIN=no
6556 DEFAULT_wxUSE_TIPWINDOW=no
6557fi
6558
6559## FIXME: This is a blatant hack
6560if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6561 wxUSE_PRINTING_ARCHITECTURE=no
6562 wxUSE_CLIPBOARD=no
6563 wxUSE_DRAG_AND_DROP=no
6564 wxUSE_DATAOBJ=no
6565 # Generic notebook requires tab dialog
6566 DEFAULT_wxUSE_TABDIALOG=yes
6567 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6568 DEFAULT_wxUSE_SCROLLBAR=no
6569 DEFAULT_wxUSE_TOOLTIPS=no
6570 DEFAULT_wxUSE_DRAGIMAGE=no
6571fi
6572
6573
6574 enablestring=
6575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6576echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6577 no_cache=0
6578 # Check whether --enable-accel or --disable-accel was given.
6579if test "${enable_accel+set}" = set; then
6580 enableval="$enable_accel"
6581
6582 if test "$enableval" = yes; then
6583 ac_cv_use_accel='wxUSE_ACCEL=yes'
6584 else
6585 ac_cv_use_accel='wxUSE_ACCEL=no'
6586 fi
6587
6588else
6589
6590 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6591 if test "x$LINE" != x ; then
6592 eval "DEFAULT_$LINE"
6593 else
6594 no_cache=1
6595 fi
6596
6597 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6598
6599fi;
6600
6601 eval "$ac_cv_use_accel"
6602 if test "$no_cache" != 1; then
6603 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6604 fi
6605
6606 if test "$wxUSE_ACCEL" = yes; then
6607 echo "$as_me:$LINENO: result: yes" >&5
6608echo "${ECHO_T}yes" >&6
6609 else
6610 echo "$as_me:$LINENO: result: no" >&5
6611echo "${ECHO_T}no" >&6
6612 fi
6613
6614
6615 enablestring=
6616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6617echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6618 no_cache=0
6619 # Check whether --enable-button or --disable-button was given.
6620if test "${enable_button+set}" = set; then
6621 enableval="$enable_button"
6622
6623 if test "$enableval" = yes; then
6624 ac_cv_use_button='wxUSE_BUTTON=yes'
6625 else
6626 ac_cv_use_button='wxUSE_BUTTON=no'
6627 fi
6628
6629else
6630
6631 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x ; then
6633 eval "DEFAULT_$LINE"
6634 else
6635 no_cache=1
6636 fi
6637
6638 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6639
6640fi;
6641
6642 eval "$ac_cv_use_button"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6645 fi
6646
6647 if test "$wxUSE_BUTTON" = yes; then
6648 echo "$as_me:$LINENO: result: yes" >&5
6649echo "${ECHO_T}yes" >&6
6650 else
6651 echo "$as_me:$LINENO: result: no" >&5
6652echo "${ECHO_T}no" >&6
6653 fi
6654
6655
6656 enablestring=
6657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6658echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6659 no_cache=0
6660 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6661if test "${enable_bmpbutton+set}" = set; then
6662 enableval="$enable_bmpbutton"
6663
6664 if test "$enableval" = yes; then
6665 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6666 else
6667 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6668 fi
6669
6670else
6671
6672 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6673 if test "x$LINE" != x ; then
6674 eval "DEFAULT_$LINE"
6675 else
6676 no_cache=1
6677 fi
6678
6679 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6680
6681fi;
6682
6683 eval "$ac_cv_use_bmpbutton"
6684 if test "$no_cache" != 1; then
6685 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6686 fi
6687
6688 if test "$wxUSE_BMPBUTTON" = yes; then
6689 echo "$as_me:$LINENO: result: yes" >&5
6690echo "${ECHO_T}yes" >&6
6691 else
6692 echo "$as_me:$LINENO: result: no" >&5
6693echo "${ECHO_T}no" >&6
6694 fi
6695
6696
6697 enablestring=
6698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6699echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6700 no_cache=0
6701 # Check whether --enable-calendar or --disable-calendar was given.
6702if test "${enable_calendar+set}" = set; then
6703 enableval="$enable_calendar"
6704
6705 if test "$enableval" = yes; then
6706 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6707 else
6708 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6709 fi
6710
6711else
6712
6713 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x ; then
6715 eval "DEFAULT_$LINE"
6716 else
6717 no_cache=1
6718 fi
6719
6720 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6721
6722fi;
6723
6724 eval "$ac_cv_use_calendar"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6727 fi
6728
6729 if test "$wxUSE_CALCTRL" = yes; then
6730 echo "$as_me:$LINENO: result: yes" >&5
6731echo "${ECHO_T}yes" >&6
6732 else
6733 echo "$as_me:$LINENO: result: no" >&5
6734echo "${ECHO_T}no" >&6
6735 fi
6736
6737
6738 enablestring=
6739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6740echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6741 no_cache=0
6742 # Check whether --enable-caret or --disable-caret was given.
6743if test "${enable_caret+set}" = set; then
6744 enableval="$enable_caret"
6745
6746 if test "$enableval" = yes; then
6747 ac_cv_use_caret='wxUSE_CARET=yes'
6748 else
6749 ac_cv_use_caret='wxUSE_CARET=no'
6750 fi
6751
6752else
6753
6754 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6755 if test "x$LINE" != x ; then
6756 eval "DEFAULT_$LINE"
6757 else
6758 no_cache=1
6759 fi
6760
6761 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6762
6763fi;
6764
6765 eval "$ac_cv_use_caret"
6766 if test "$no_cache" != 1; then
6767 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6768 fi
6769
6770 if test "$wxUSE_CARET" = yes; then
6771 echo "$as_me:$LINENO: result: yes" >&5
6772echo "${ECHO_T}yes" >&6
6773 else
6774 echo "$as_me:$LINENO: result: no" >&5
6775echo "${ECHO_T}no" >&6
6776 fi
6777
6778
6779 enablestring=
6780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6781echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6782 no_cache=0
6783 # Check whether --enable-checkbox or --disable-checkbox was given.
6784if test "${enable_checkbox+set}" = set; then
6785 enableval="$enable_checkbox"
6786
6787 if test "$enableval" = yes; then
6788 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6789 else
6790 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6791 fi
6792
6793else
6794
6795 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x ; then
6797 eval "DEFAULT_$LINE"
6798 else
6799 no_cache=1
6800 fi
6801
6802 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6803
6804fi;
6805
6806 eval "$ac_cv_use_checkbox"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6809 fi
6810
6811 if test "$wxUSE_CHECKBOX" = yes; then
6812 echo "$as_me:$LINENO: result: yes" >&5
6813echo "${ECHO_T}yes" >&6
6814 else
6815 echo "$as_me:$LINENO: result: no" >&5
6816echo "${ECHO_T}no" >&6
6817 fi
6818
6819
6820 enablestring=
6821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6822echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6823 no_cache=0
6824 # Check whether --enable-checklst or --disable-checklst was given.
6825if test "${enable_checklst+set}" = set; then
6826 enableval="$enable_checklst"
6827
6828 if test "$enableval" = yes; then
6829 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6830 else
6831 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6832 fi
6833
6834else
6835
6836 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x ; then
6838 eval "DEFAULT_$LINE"
6839 else
6840 no_cache=1
6841 fi
6842
6843 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6844
6845fi;
6846
6847 eval "$ac_cv_use_checklst"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6850 fi
6851
6852 if test "$wxUSE_CHECKLST" = yes; then
6853 echo "$as_me:$LINENO: result: yes" >&5
6854echo "${ECHO_T}yes" >&6
6855 else
6856 echo "$as_me:$LINENO: result: no" >&5
6857echo "${ECHO_T}no" >&6
6858 fi
6859
6860
6861 enablestring=
6862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6863echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6864 no_cache=0
6865 # Check whether --enable-choice or --disable-choice was given.
6866if test "${enable_choice+set}" = set; then
6867 enableval="$enable_choice"
6868
6869 if test "$enableval" = yes; then
6870 ac_cv_use_choice='wxUSE_CHOICE=yes'
6871 else
6872 ac_cv_use_choice='wxUSE_CHOICE=no'
6873 fi
6874
6875else
6876
6877 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x ; then
6879 eval "DEFAULT_$LINE"
6880 else
6881 no_cache=1
6882 fi
6883
6884 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6885
6886fi;
6887
6888 eval "$ac_cv_use_choice"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6891 fi
6892
6893 if test "$wxUSE_CHOICE" = yes; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895echo "${ECHO_T}yes" >&6
6896 else
6897 echo "$as_me:$LINENO: result: no" >&5
6898echo "${ECHO_T}no" >&6
6899 fi
6900
6901
6902 enablestring=
6903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6904echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6905 no_cache=0
6906 # Check whether --enable-combobox or --disable-combobox was given.
6907if test "${enable_combobox+set}" = set; then
6908 enableval="$enable_combobox"
6909
6910 if test "$enableval" = yes; then
6911 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6912 else
6913 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6914 fi
6915
6916else
6917
6918 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x ; then
6920 eval "DEFAULT_$LINE"
6921 else
6922 no_cache=1
6923 fi
6924
6925 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6926
6927fi;
6928
6929 eval "$ac_cv_use_combobox"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6932 fi
6933
6934 if test "$wxUSE_COMBOBOX" = yes; then
6935 echo "$as_me:$LINENO: result: yes" >&5
6936echo "${ECHO_T}yes" >&6
6937 else
6938 echo "$as_me:$LINENO: result: no" >&5
6939echo "${ECHO_T}no" >&6
6940 fi
6941
6942
6943 enablestring=
6944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6945echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6946 no_cache=0
6947 # Check whether --enable-display or --disable-display was given.
6948if test "${enable_display+set}" = set; then
6949 enableval="$enable_display"
6950
6951 if test "$enableval" = yes; then
6952 ac_cv_use_display='wxUSE_DISPLAY=yes'
6953 else
6954 ac_cv_use_display='wxUSE_DISPLAY=no'
6955 fi
6956
6957else
6958
6959 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x ; then
6961 eval "DEFAULT_$LINE"
6962 else
6963 no_cache=1
6964 fi
6965
6966 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6967
6968fi;
6969
6970 eval "$ac_cv_use_display"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6973 fi
6974
6975 if test "$wxUSE_DISPLAY" = yes; then
6976 echo "$as_me:$LINENO: result: yes" >&5
6977echo "${ECHO_T}yes" >&6
6978 else
6979 echo "$as_me:$LINENO: result: no" >&5
6980echo "${ECHO_T}no" >&6
6981 fi
6982
6983
6984 enablestring=
6985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6986echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6987 no_cache=0
6988 # Check whether --enable-gauge or --disable-gauge was given.
6989if test "${enable_gauge+set}" = set; then
6990 enableval="$enable_gauge"
6991
6992 if test "$enableval" = yes; then
6993 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6994 else
6995 ac_cv_use_gauge='wxUSE_GAUGE=no'
6996 fi
6997
6998else
6999
7000 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7003 else
7004 no_cache=1
7005 fi
7006
7007 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7008
7009fi;
7010
7011 eval "$ac_cv_use_gauge"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7014 fi
7015
7016 if test "$wxUSE_GAUGE" = yes; then
7017 echo "$as_me:$LINENO: result: yes" >&5
7018echo "${ECHO_T}yes" >&6
7019 else
7020 echo "$as_me:$LINENO: result: no" >&5
7021echo "${ECHO_T}no" >&6
7022 fi
7023
7024
7025 enablestring=
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7027echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7028 no_cache=0
7029 # Check whether --enable-grid or --disable-grid was given.
7030if test "${enable_grid+set}" = set; then
7031 enableval="$enable_grid"
7032
7033 if test "$enableval" = yes; then
7034 ac_cv_use_grid='wxUSE_GRID=yes'
7035 else
7036 ac_cv_use_grid='wxUSE_GRID=no'
7037 fi
7038
7039else
7040
7041 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x ; then
7043 eval "DEFAULT_$LINE"
7044 else
7045 no_cache=1
7046 fi
7047
7048 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7049
7050fi;
7051
7052 eval "$ac_cv_use_grid"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7055 fi
7056
7057 if test "$wxUSE_GRID" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059echo "${ECHO_T}yes" >&6
7060 else
7061 echo "$as_me:$LINENO: result: no" >&5
7062echo "${ECHO_T}no" >&6
7063 fi
7064
7065
7066 enablestring=
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7068echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7069 no_cache=0
7070 # Check whether --enable-imaglist or --disable-imaglist was given.
7071if test "${enable_imaglist+set}" = set; then
7072 enableval="$enable_imaglist"
7073
7074 if test "$enableval" = yes; then
7075 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7076 else
7077 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7078 fi
7079
7080else
7081
7082 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x ; then
7084 eval "DEFAULT_$LINE"
7085 else
7086 no_cache=1
7087 fi
7088
7089 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7090
7091fi;
7092
7093 eval "$ac_cv_use_imaglist"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7096 fi
7097
7098 if test "$wxUSE_IMAGLIST" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100echo "${ECHO_T}yes" >&6
7101 else
7102 echo "$as_me:$LINENO: result: no" >&5
7103echo "${ECHO_T}no" >&6
7104 fi
7105
7106
7107 enablestring=
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7109echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7110 no_cache=0
7111 # Check whether --enable-listbox or --disable-listbox was given.
7112if test "${enable_listbox+set}" = set; then
7113 enableval="$enable_listbox"
7114
7115 if test "$enableval" = yes; then
7116 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7117 else
7118 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7119 fi
7120
7121else
7122
7123 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x ; then
7125 eval "DEFAULT_$LINE"
7126 else
7127 no_cache=1
7128 fi
7129
7130 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7131
7132fi;
7133
7134 eval "$ac_cv_use_listbox"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7137 fi
7138
7139 if test "$wxUSE_LISTBOX" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141echo "${ECHO_T}yes" >&6
7142 else
7143 echo "$as_me:$LINENO: result: no" >&5
7144echo "${ECHO_T}no" >&6
7145 fi
7146
7147
7148 enablestring=
7149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7150echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7151 no_cache=0
7152 # Check whether --enable-listctrl or --disable-listctrl was given.
7153if test "${enable_listctrl+set}" = set; then
7154 enableval="$enable_listctrl"
7155
7156 if test "$enableval" = yes; then
7157 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7158 else
7159 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7160 fi
7161
7162else
7163
7164 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x ; then
7166 eval "DEFAULT_$LINE"
7167 else
7168 no_cache=1
7169 fi
7170
7171 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7172
7173fi;
7174
7175 eval "$ac_cv_use_listctrl"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7178 fi
7179
7180 if test "$wxUSE_LISTCTRL" = yes; then
7181 echo "$as_me:$LINENO: result: yes" >&5
7182echo "${ECHO_T}yes" >&6
7183 else
7184 echo "$as_me:$LINENO: result: no" >&5
7185echo "${ECHO_T}no" >&6
7186 fi
7187
7188
7189 enablestring=
7190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7191echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7192 no_cache=0
7193 # Check whether --enable-notebook or --disable-notebook was given.
7194if test "${enable_notebook+set}" = set; then
7195 enableval="$enable_notebook"
7196
7197 if test "$enableval" = yes; then
7198 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7199 else
7200 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7201 fi
7202
7203else
7204
7205 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x ; then
7207 eval "DEFAULT_$LINE"
7208 else
7209 no_cache=1
7210 fi
7211
7212 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7213
7214fi;
7215
7216 eval "$ac_cv_use_notebook"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7219 fi
7220
7221 if test "$wxUSE_NOTEBOOK" = yes; then
7222 echo "$as_me:$LINENO: result: yes" >&5
7223echo "${ECHO_T}yes" >&6
7224 else
7225 echo "$as_me:$LINENO: result: no" >&5
7226echo "${ECHO_T}no" >&6
7227 fi
7228
7229
7230 enablestring=
7231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7232echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7233 no_cache=0
7234 # Check whether --enable-radiobox or --disable-radiobox was given.
7235if test "${enable_radiobox+set}" = set; then
7236 enableval="$enable_radiobox"
7237
7238 if test "$enableval" = yes; then
7239 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7240 else
7241 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7242 fi
7243
7244else
7245
7246 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x ; then
7248 eval "DEFAULT_$LINE"
7249 else
7250 no_cache=1
7251 fi
7252
7253 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7254
7255fi;
7256
7257 eval "$ac_cv_use_radiobox"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7260 fi
7261
7262 if test "$wxUSE_RADIOBOX" = yes; then
7263 echo "$as_me:$LINENO: result: yes" >&5
7264echo "${ECHO_T}yes" >&6
7265 else
7266 echo "$as_me:$LINENO: result: no" >&5
7267echo "${ECHO_T}no" >&6
7268 fi
7269
7270
7271 enablestring=
7272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7273echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7274 no_cache=0
7275 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7276if test "${enable_radiobtn+set}" = set; then
7277 enableval="$enable_radiobtn"
7278
7279 if test "$enableval" = yes; then
7280 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7281 else
7282 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7283 fi
7284
7285else
7286
7287 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x ; then
7289 eval "DEFAULT_$LINE"
7290 else
7291 no_cache=1
7292 fi
7293
7294 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7295
7296fi;
7297
7298 eval "$ac_cv_use_radiobtn"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7301 fi
7302
7303 if test "$wxUSE_RADIOBTN" = yes; then
7304 echo "$as_me:$LINENO: result: yes" >&5
7305echo "${ECHO_T}yes" >&6
7306 else
7307 echo "$as_me:$LINENO: result: no" >&5
7308echo "${ECHO_T}no" >&6
7309 fi
7310
7311
7312 enablestring=
7313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7314echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7315 no_cache=0
7316 # Check whether --enable-sash or --disable-sash was given.
7317if test "${enable_sash+set}" = set; then
7318 enableval="$enable_sash"
7319
7320 if test "$enableval" = yes; then
7321 ac_cv_use_sash='wxUSE_SASH=yes'
7322 else
7323 ac_cv_use_sash='wxUSE_SASH=no'
7324 fi
7325
7326else
7327
7328 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x ; then
7330 eval "DEFAULT_$LINE"
7331 else
7332 no_cache=1
7333 fi
7334
7335 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7336
7337fi;
7338
7339 eval "$ac_cv_use_sash"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7342 fi
7343
7344 if test "$wxUSE_SASH" = yes; then
7345 echo "$as_me:$LINENO: result: yes" >&5
7346echo "${ECHO_T}yes" >&6
7347 else
7348 echo "$as_me:$LINENO: result: no" >&5
7349echo "${ECHO_T}no" >&6
7350 fi
7351
7352
7353 enablestring=
7354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7355echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7356 no_cache=0
7357 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7358if test "${enable_scrollbar+set}" = set; then
7359 enableval="$enable_scrollbar"
7360
7361 if test "$enableval" = yes; then
7362 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7363 else
7364 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7365 fi
7366
7367else
7368
7369 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7372 else
7373 no_cache=1
7374 fi
7375
7376 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7377
7378fi;
7379
7380 eval "$ac_cv_use_scrollbar"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7383 fi
7384
7385 if test "$wxUSE_SCROLLBAR" = yes; then
7386 echo "$as_me:$LINENO: result: yes" >&5
7387echo "${ECHO_T}yes" >&6
7388 else
7389 echo "$as_me:$LINENO: result: no" >&5
7390echo "${ECHO_T}no" >&6
7391 fi
7392
7393
7394 enablestring=
7395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7396echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7397 no_cache=0
7398 # Check whether --enable-slider or --disable-slider was given.
7399if test "${enable_slider+set}" = set; then
7400 enableval="$enable_slider"
7401
7402 if test "$enableval" = yes; then
7403 ac_cv_use_slider='wxUSE_SLIDER=yes'
7404 else
7405 ac_cv_use_slider='wxUSE_SLIDER=no'
7406 fi
7407
7408else
7409
7410 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x ; then
7412 eval "DEFAULT_$LINE"
7413 else
7414 no_cache=1
7415 fi
7416
7417 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7418
7419fi;
7420
7421 eval "$ac_cv_use_slider"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7424 fi
7425
7426 if test "$wxUSE_SLIDER" = yes; then
7427 echo "$as_me:$LINENO: result: yes" >&5
7428echo "${ECHO_T}yes" >&6
7429 else
7430 echo "$as_me:$LINENO: result: no" >&5
7431echo "${ECHO_T}no" >&6
7432 fi
7433
7434
7435 enablestring=
7436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7437echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7438 no_cache=0
7439 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7440if test "${enable_spinbtn+set}" = set; then
7441 enableval="$enable_spinbtn"
7442
7443 if test "$enableval" = yes; then
7444 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7445 else
7446 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7447 fi
7448
7449else
7450
7451 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x ; then
7453 eval "DEFAULT_$LINE"
7454 else
7455 no_cache=1
7456 fi
7457
7458 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7459
7460fi;
7461
7462 eval "$ac_cv_use_spinbtn"
7463 if test "$no_cache" != 1; then
7464 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7465 fi
7466
7467 if test "$wxUSE_SPINBTN" = yes; then
7468 echo "$as_me:$LINENO: result: yes" >&5
7469echo "${ECHO_T}yes" >&6
7470 else
7471 echo "$as_me:$LINENO: result: no" >&5
7472echo "${ECHO_T}no" >&6
7473 fi
7474
7475
7476 enablestring=
7477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7478echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7479 no_cache=0
7480 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7481if test "${enable_spinctrl+set}" = set; then
7482 enableval="$enable_spinctrl"
7483
7484 if test "$enableval" = yes; then
7485 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7486 else
7487 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7488 fi
7489
7490else
7491
7492 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7495 else
7496 no_cache=1
7497 fi
7498
7499 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7500
7501fi;
7502
7503 eval "$ac_cv_use_spinctrl"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7506 fi
7507
7508 if test "$wxUSE_SPINCTRL" = yes; then
7509 echo "$as_me:$LINENO: result: yes" >&5
7510echo "${ECHO_T}yes" >&6
7511 else
7512 echo "$as_me:$LINENO: result: no" >&5
7513echo "${ECHO_T}no" >&6
7514 fi
7515
7516
7517 enablestring=
7518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7519echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7520 no_cache=0
7521 # Check whether --enable-splitter or --disable-splitter was given.
7522if test "${enable_splitter+set}" = set; then
7523 enableval="$enable_splitter"
7524
7525 if test "$enableval" = yes; then
7526 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7527 else
7528 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7529 fi
7530
7531else
7532
7533 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7534 if test "x$LINE" != x ; then
7535 eval "DEFAULT_$LINE"
7536 else
7537 no_cache=1
7538 fi
7539
7540 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7541
7542fi;
7543
7544 eval "$ac_cv_use_splitter"
7545 if test "$no_cache" != 1; then
7546 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7547 fi
7548
7549 if test "$wxUSE_SPLITTER" = yes; then
7550 echo "$as_me:$LINENO: result: yes" >&5
7551echo "${ECHO_T}yes" >&6
7552 else
7553 echo "$as_me:$LINENO: result: no" >&5
7554echo "${ECHO_T}no" >&6
7555 fi
7556
7557
7558 enablestring=
7559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7560echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7561 no_cache=0
7562 # Check whether --enable-statbmp or --disable-statbmp was given.
7563if test "${enable_statbmp+set}" = set; then
7564 enableval="$enable_statbmp"
7565
7566 if test "$enableval" = yes; then
7567 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7568 else
7569 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7570 fi
7571
7572else
7573
7574 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7575 if test "x$LINE" != x ; then
7576 eval "DEFAULT_$LINE"
7577 else
7578 no_cache=1
7579 fi
7580
7581 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7582
7583fi;
7584
7585 eval "$ac_cv_use_statbmp"
7586 if test "$no_cache" != 1; then
7587 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7588 fi
7589
7590 if test "$wxUSE_STATBMP" = yes; then
7591 echo "$as_me:$LINENO: result: yes" >&5
7592echo "${ECHO_T}yes" >&6
7593 else
7594 echo "$as_me:$LINENO: result: no" >&5
7595echo "${ECHO_T}no" >&6
7596 fi
7597
7598
7599 enablestring=
7600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7601echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7602 no_cache=0
7603 # Check whether --enable-statbox or --disable-statbox was given.
7604if test "${enable_statbox+set}" = set; then
7605 enableval="$enable_statbox"
7606
7607 if test "$enableval" = yes; then
7608 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7609 else
7610 ac_cv_use_statbox='wxUSE_STATBOX=no'
7611 fi
7612
7613else
7614
7615 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x ; then
7617 eval "DEFAULT_$LINE"
7618 else
7619 no_cache=1
7620 fi
7621
7622 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7623
7624fi;
7625
7626 eval "$ac_cv_use_statbox"
7627 if test "$no_cache" != 1; then
7628 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7629 fi
7630
7631 if test "$wxUSE_STATBOX" = yes; then
7632 echo "$as_me:$LINENO: result: yes" >&5
7633echo "${ECHO_T}yes" >&6
7634 else
7635 echo "$as_me:$LINENO: result: no" >&5
7636echo "${ECHO_T}no" >&6
7637 fi
7638
7639
7640 enablestring=
7641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7642echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7643 no_cache=0
7644 # Check whether --enable-statline or --disable-statline was given.
7645if test "${enable_statline+set}" = set; then
7646 enableval="$enable_statline"
7647
7648 if test "$enableval" = yes; then
7649 ac_cv_use_statline='wxUSE_STATLINE=yes'
7650 else
7651 ac_cv_use_statline='wxUSE_STATLINE=no'
7652 fi
7653
7654else
7655
7656 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x ; then
7658 eval "DEFAULT_$LINE"
7659 else
7660 no_cache=1
7661 fi
7662
7663 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7664
7665fi;
7666
7667 eval "$ac_cv_use_statline"
7668 if test "$no_cache" != 1; then
7669 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7670 fi
7671
7672 if test "$wxUSE_STATLINE" = yes; then
7673 echo "$as_me:$LINENO: result: yes" >&5
7674echo "${ECHO_T}yes" >&6
7675 else
7676 echo "$as_me:$LINENO: result: no" >&5
7677echo "${ECHO_T}no" >&6
7678 fi
7679
7680
7681 enablestring=
7682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7683echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7684 no_cache=0
7685 # Check whether --enable-stattext or --disable-stattext was given.
7686if test "${enable_stattext+set}" = set; then
7687 enableval="$enable_stattext"
7688
7689 if test "$enableval" = yes; then
7690 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7691 else
7692 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7693 fi
7694
7695else
7696
7697 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x ; then
7699 eval "DEFAULT_$LINE"
7700 else
7701 no_cache=1
7702 fi
7703
7704 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7705
7706fi;
7707
7708 eval "$ac_cv_use_stattext"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7711 fi
7712
7713 if test "$wxUSE_STATTEXT" = yes; then
7714 echo "$as_me:$LINENO: result: yes" >&5
7715echo "${ECHO_T}yes" >&6
7716 else
7717 echo "$as_me:$LINENO: result: no" >&5
7718echo "${ECHO_T}no" >&6
7719 fi
7720
7721
7722 enablestring=
7723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7724echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7725 no_cache=0
7726 # Check whether --enable-statusbar or --disable-statusbar was given.
7727if test "${enable_statusbar+set}" = set; then
7728 enableval="$enable_statusbar"
7729
7730 if test "$enableval" = yes; then
7731 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7732 else
7733 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7734 fi
7735
7736else
7737
7738 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7739 if test "x$LINE" != x ; then
7740 eval "DEFAULT_$LINE"
7741 else
7742 no_cache=1
7743 fi
7744
7745 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7746
7747fi;
7748
7749 eval "$ac_cv_use_statusbar"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7752 fi
7753
7754 if test "$wxUSE_STATUSBAR" = yes; then
7755 echo "$as_me:$LINENO: result: yes" >&5
7756echo "${ECHO_T}yes" >&6
7757 else
7758 echo "$as_me:$LINENO: result: no" >&5
7759echo "${ECHO_T}no" >&6
7760 fi
7761
7762
7763 enablestring=
7764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7765echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7766 no_cache=0
7767 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7768if test "${enable_tabdialog+set}" = set; then
7769 enableval="$enable_tabdialog"
7770
7771 if test "$enableval" = yes; then
7772 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7773 else
7774 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7775 fi
7776
7777else
7778
7779 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7780 if test "x$LINE" != x ; then
7781 eval "DEFAULT_$LINE"
7782 else
7783 no_cache=1
7784 fi
7785
7786 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7787
7788fi;
7789
7790 eval "$ac_cv_use_tabdialog"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7793 fi
7794
7795 if test "$wxUSE_TABDIALOG" = yes; then
7796 echo "$as_me:$LINENO: result: yes" >&5
7797echo "${ECHO_T}yes" >&6
7798 else
7799 echo "$as_me:$LINENO: result: no" >&5
7800echo "${ECHO_T}no" >&6
7801 fi
7802
7803
7804 enablestring=
7805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7806echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7807 no_cache=0
7808 # Check whether --enable-textctrl or --disable-textctrl was given.
7809if test "${enable_textctrl+set}" = set; then
7810 enableval="$enable_textctrl"
7811
7812 if test "$enableval" = yes; then
7813 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7814 else
7815 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7816 fi
7817
7818else
7819
7820 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7821 if test "x$LINE" != x ; then
7822 eval "DEFAULT_$LINE"
7823 else
7824 no_cache=1
7825 fi
7826
7827 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7828
7829fi;
7830
7831 eval "$ac_cv_use_textctrl"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7834 fi
7835
7836 if test "$wxUSE_TEXTCTRL" = yes; then
7837 echo "$as_me:$LINENO: result: yes" >&5
7838echo "${ECHO_T}yes" >&6
7839 else
7840 echo "$as_me:$LINENO: result: no" >&5
7841echo "${ECHO_T}no" >&6
7842 fi
7843
7844
7845 enablestring=
7846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7847echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7848 no_cache=0
7849 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7850if test "${enable_togglebtn+set}" = set; then
7851 enableval="$enable_togglebtn"
7852
7853 if test "$enableval" = yes; then
7854 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7855 else
7856 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7857 fi
7858
7859else
7860
7861 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7862 if test "x$LINE" != x ; then
7863 eval "DEFAULT_$LINE"
7864 else
7865 no_cache=1
7866 fi
7867
7868 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7869
7870fi;
7871
7872 eval "$ac_cv_use_togglebtn"
7873 if test "$no_cache" != 1; then
7874 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7875 fi
7876
7877 if test "$wxUSE_TOGGLEBTN" = yes; then
7878 echo "$as_me:$LINENO: result: yes" >&5
7879echo "${ECHO_T}yes" >&6
7880 else
7881 echo "$as_me:$LINENO: result: no" >&5
7882echo "${ECHO_T}no" >&6
7883 fi
7884
7885
7886 enablestring=
7887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7888echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7889 no_cache=0
7890 # Check whether --enable-toolbar or --disable-toolbar was given.
7891if test "${enable_toolbar+set}" = set; then
7892 enableval="$enable_toolbar"
7893
7894 if test "$enableval" = yes; then
7895 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7896 else
7897 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7898 fi
7899
7900else
7901
7902 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7903 if test "x$LINE" != x ; then
7904 eval "DEFAULT_$LINE"
7905 else
7906 no_cache=1
7907 fi
7908
7909 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7910
7911fi;
7912
7913 eval "$ac_cv_use_toolbar"
7914 if test "$no_cache" != 1; then
7915 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7916 fi
7917
7918 if test "$wxUSE_TOOLBAR" = yes; then
7919 echo "$as_me:$LINENO: result: yes" >&5
7920echo "${ECHO_T}yes" >&6
7921 else
7922 echo "$as_me:$LINENO: result: no" >&5
7923echo "${ECHO_T}no" >&6
7924 fi
7925
7926
7927 enablestring=
7928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7929echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7930 no_cache=0
7931 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7932if test "${enable_tbarnative+set}" = set; then
7933 enableval="$enable_tbarnative"
7934
7935 if test "$enableval" = yes; then
7936 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7937 else
7938 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7939 fi
7940
7941else
7942
7943 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7944 if test "x$LINE" != x ; then
7945 eval "DEFAULT_$LINE"
7946 else
7947 no_cache=1
7948 fi
7949
7950 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7951
7952fi;
7953
7954 eval "$ac_cv_use_tbarnative"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7957 fi
7958
7959 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7960 echo "$as_me:$LINENO: result: yes" >&5
7961echo "${ECHO_T}yes" >&6
7962 else
7963 echo "$as_me:$LINENO: result: no" >&5
7964echo "${ECHO_T}no" >&6
7965 fi
7966
7967
7968 enablestring=
7969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7970echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7971 no_cache=0
7972 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7973if test "${enable_tbarsmpl+set}" = set; then
7974 enableval="$enable_tbarsmpl"
7975
7976 if test "$enableval" = yes; then
7977 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7978 else
7979 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7980 fi
7981
7982else
7983
7984 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7985 if test "x$LINE" != x ; then
7986 eval "DEFAULT_$LINE"
7987 else
7988 no_cache=1
7989 fi
7990
7991 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7992
7993fi;
7994
7995 eval "$ac_cv_use_tbarsmpl"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7998 fi
7999
8000 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8001 echo "$as_me:$LINENO: result: yes" >&5
8002echo "${ECHO_T}yes" >&6
8003 else
8004 echo "$as_me:$LINENO: result: no" >&5
8005echo "${ECHO_T}no" >&6
8006 fi
8007
8008
8009 enablestring=
8010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8011echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8012 no_cache=0
8013 # Check whether --enable-treectrl or --disable-treectrl was given.
8014if test "${enable_treectrl+set}" = set; then
8015 enableval="$enable_treectrl"
8016
8017 if test "$enableval" = yes; then
8018 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8019 else
8020 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8021 fi
8022
8023else
8024
8025 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8026 if test "x$LINE" != x ; then
8027 eval "DEFAULT_$LINE"
8028 else
8029 no_cache=1
8030 fi
8031
8032 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8033
8034fi;
8035
8036 eval "$ac_cv_use_treectrl"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8039 fi
8040
8041 if test "$wxUSE_TREECTRL" = yes; then
8042 echo "$as_me:$LINENO: result: yes" >&5
8043echo "${ECHO_T}yes" >&6
8044 else
8045 echo "$as_me:$LINENO: result: no" >&5
8046echo "${ECHO_T}no" >&6
8047 fi
8048
8049
8050 enablestring=
8051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8052echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8053 no_cache=0
8054 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8055if test "${enable_tipwindow+set}" = set; then
8056 enableval="$enable_tipwindow"
8057
8058 if test "$enableval" = yes; then
8059 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8060 else
8061 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8062 fi
8063
8064else
8065
8066 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8067 if test "x$LINE" != x ; then
8068 eval "DEFAULT_$LINE"
8069 else
8070 no_cache=1
8071 fi
8072
8073 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8074
8075fi;
8076
8077 eval "$ac_cv_use_tipwindow"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8080 fi
8081
8082 if test "$wxUSE_TIPWINDOW" = yes; then
8083 echo "$as_me:$LINENO: result: yes" >&5
8084echo "${ECHO_T}yes" >&6
8085 else
8086 echo "$as_me:$LINENO: result: no" >&5
8087echo "${ECHO_T}no" >&6
8088 fi
8089
8090
8091 enablestring=
8092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8093echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8094 no_cache=0
8095 # Check whether --enable-popupwin or --disable-popupwin was given.
8096if test "${enable_popupwin+set}" = set; then
8097 enableval="$enable_popupwin"
8098
8099 if test "$enableval" = yes; then
8100 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8101 else
8102 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8103 fi
8104
8105else
8106
8107 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8108 if test "x$LINE" != x ; then
8109 eval "DEFAULT_$LINE"
8110 else
8111 no_cache=1
8112 fi
8113
8114 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8115
8116fi;
8117
8118 eval "$ac_cv_use_popupwin"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8121 fi
8122
8123 if test "$wxUSE_POPUPWIN" = yes; then
8124 echo "$as_me:$LINENO: result: yes" >&5
8125echo "${ECHO_T}yes" >&6
8126 else
8127 echo "$as_me:$LINENO: result: no" >&5
8128echo "${ECHO_T}no" >&6
8129 fi
8130
8131
8132
8133
8134 enablestring=
8135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8136echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8137 no_cache=0
8138 # Check whether --enable-commondlg or --disable-commondlg was given.
8139if test "${enable_commondlg+set}" = set; then
8140 enableval="$enable_commondlg"
8141
8142 if test "$enableval" = yes; then
8143 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8144 else
8145 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8146 fi
8147
8148else
8149
8150 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x ; then
8152 eval "DEFAULT_$LINE"
8153 else
8154 no_cache=1
8155 fi
8156
8157 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8158
8159fi;
8160
8161 eval "$ac_cv_use_commondlg"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8164 fi
8165
8166 if test "$wxUSE_COMMONDLGS" = yes; then
8167 echo "$as_me:$LINENO: result: yes" >&5
8168echo "${ECHO_T}yes" >&6
8169 else
8170 echo "$as_me:$LINENO: result: no" >&5
8171echo "${ECHO_T}no" >&6
8172 fi
8173
8174
8175 enablestring=
8176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8177echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8178 no_cache=0
8179 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8180if test "${enable_choicedlg+set}" = set; then
8181 enableval="$enable_choicedlg"
8182
8183 if test "$enableval" = yes; then
8184 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8185 else
8186 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8187 fi
8188
8189else
8190
8191 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x ; then
8193 eval "DEFAULT_$LINE"
8194 else
8195 no_cache=1
8196 fi
8197
8198 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8199
8200fi;
8201
8202 eval "$ac_cv_use_choicedlg"
8203 if test "$no_cache" != 1; then
8204 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8205 fi
8206
8207 if test "$wxUSE_CHOICEDLG" = yes; then
8208 echo "$as_me:$LINENO: result: yes" >&5
8209echo "${ECHO_T}yes" >&6
8210 else
8211 echo "$as_me:$LINENO: result: no" >&5
8212echo "${ECHO_T}no" >&6
8213 fi
8214
8215
8216 enablestring=
8217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8218echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8219 no_cache=0
8220 # Check whether --enable-coldlg or --disable-coldlg was given.
8221if test "${enable_coldlg+set}" = set; then
8222 enableval="$enable_coldlg"
8223
8224 if test "$enableval" = yes; then
8225 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8226 else
8227 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8228 fi
8229
8230else
8231
8232 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x ; then
8234 eval "DEFAULT_$LINE"
8235 else
8236 no_cache=1
8237 fi
8238
8239 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8240
8241fi;
8242
8243 eval "$ac_cv_use_coldlg"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8246 fi
8247
8248 if test "$wxUSE_COLOURDLG" = yes; then
8249 echo "$as_me:$LINENO: result: yes" >&5
8250echo "${ECHO_T}yes" >&6
8251 else
8252 echo "$as_me:$LINENO: result: no" >&5
8253echo "${ECHO_T}no" >&6
8254 fi
8255
8256
8257 enablestring=
8258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8259echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8260 no_cache=0
8261 # Check whether --enable-filedlg or --disable-filedlg was given.
8262if test "${enable_filedlg+set}" = set; then
8263 enableval="$enable_filedlg"
8264
8265 if test "$enableval" = yes; then
8266 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8267 else
8268 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8269 fi
8270
8271else
8272
8273 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x ; then
8275 eval "DEFAULT_$LINE"
8276 else
8277 no_cache=1
8278 fi
8279
8280 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8281
8282fi;
8283
8284 eval "$ac_cv_use_filedlg"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8287 fi
8288
8289 if test "$wxUSE_FILEDLG" = yes; then
8290 echo "$as_me:$LINENO: result: yes" >&5
8291echo "${ECHO_T}yes" >&6
8292 else
8293 echo "$as_me:$LINENO: result: no" >&5
8294echo "${ECHO_T}no" >&6
8295 fi
8296
8297
8298 enablestring=
8299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8300echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8301 no_cache=0
8302 # Check whether --enable-finddlg or --disable-finddlg was given.
8303if test "${enable_finddlg+set}" = set; then
8304 enableval="$enable_finddlg"
8305
8306 if test "$enableval" = yes; then
8307 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8308 else
8309 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8310 fi
8311
8312else
8313
8314 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x ; then
8316 eval "DEFAULT_$LINE"
8317 else
8318 no_cache=1
8319 fi
8320
8321 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8322
8323fi;
8324
8325 eval "$ac_cv_use_finddlg"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8328 fi
8329
8330 if test "$wxUSE_FINDREPLDLG" = yes; then
8331 echo "$as_me:$LINENO: result: yes" >&5
8332echo "${ECHO_T}yes" >&6
8333 else
8334 echo "$as_me:$LINENO: result: no" >&5
8335echo "${ECHO_T}no" >&6
8336 fi
8337
8338
8339 enablestring=
8340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8341echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8342 no_cache=0
8343 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8344if test "${enable_fontdlg+set}" = set; then
8345 enableval="$enable_fontdlg"
8346
8347 if test "$enableval" = yes; then
8348 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8349 else
8350 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8351 fi
8352
8353else
8354
8355 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x ; then
8357 eval "DEFAULT_$LINE"
8358 else
8359 no_cache=1
8360 fi
8361
8362 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8363
8364fi;
8365
8366 eval "$ac_cv_use_fontdlg"
8367 if test "$no_cache" != 1; then
8368 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8369 fi
8370
8371 if test "$wxUSE_FONTDLG" = yes; then
8372 echo "$as_me:$LINENO: result: yes" >&5
8373echo "${ECHO_T}yes" >&6
8374 else
8375 echo "$as_me:$LINENO: result: no" >&5
8376echo "${ECHO_T}no" >&6
8377 fi
8378
8379
8380 enablestring=
8381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8382echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8383 no_cache=0
8384 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8385if test "${enable_dirdlg+set}" = set; then
8386 enableval="$enable_dirdlg"
8387
8388 if test "$enableval" = yes; then
8389 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8390 else
8391 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8392 fi
8393
8394else
8395
8396 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8397 if test "x$LINE" != x ; then
8398 eval "DEFAULT_$LINE"
8399 else
8400 no_cache=1
8401 fi
8402
8403 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8404
8405fi;
8406
8407 eval "$ac_cv_use_dirdlg"
8408 if test "$no_cache" != 1; then
8409 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8410 fi
8411
8412 if test "$wxUSE_DIRDLG" = yes; then
8413 echo "$as_me:$LINENO: result: yes" >&5
8414echo "${ECHO_T}yes" >&6
8415 else
8416 echo "$as_me:$LINENO: result: no" >&5
8417echo "${ECHO_T}no" >&6
8418 fi
8419
8420
8421 enablestring=
8422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8423echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8424 no_cache=0
8425 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8426if test "${enable_msgdlg+set}" = set; then
8427 enableval="$enable_msgdlg"
8428
8429 if test "$enableval" = yes; then
8430 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8431 else
8432 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8433 fi
8434
8435else
8436
8437 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8438 if test "x$LINE" != x ; then
8439 eval "DEFAULT_$LINE"
8440 else
8441 no_cache=1
8442 fi
8443
8444 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8445
8446fi;
8447
8448 eval "$ac_cv_use_msgdlg"
8449 if test "$no_cache" != 1; then
8450 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8451 fi
8452
8453 if test "$wxUSE_MSGDLG" = yes; then
8454 echo "$as_me:$LINENO: result: yes" >&5
8455echo "${ECHO_T}yes" >&6
8456 else
8457 echo "$as_me:$LINENO: result: no" >&5
8458echo "${ECHO_T}no" >&6
8459 fi
8460
8461
8462 enablestring=
8463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8464echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8465 no_cache=0
8466 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8467if test "${enable_numberdlg+set}" = set; then
8468 enableval="$enable_numberdlg"
8469
8470 if test "$enableval" = yes; then
8471 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8472 else
8473 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8474 fi
8475
8476else
8477
8478 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8479 if test "x$LINE" != x ; then
8480 eval "DEFAULT_$LINE"
8481 else
8482 no_cache=1
8483 fi
8484
8485 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8486
8487fi;
8488
8489 eval "$ac_cv_use_numberdlg"
8490 if test "$no_cache" != 1; then
8491 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8492 fi
8493
8494 if test "$wxUSE_NUMBERDLG" = yes; then
8495 echo "$as_me:$LINENO: result: yes" >&5
8496echo "${ECHO_T}yes" >&6
8497 else
8498 echo "$as_me:$LINENO: result: no" >&5
8499echo "${ECHO_T}no" >&6
8500 fi
8501
8502
8503 enablestring=
8504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8505echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8506 no_cache=0
8507 # Check whether --enable-splash or --disable-splash was given.
8508if test "${enable_splash+set}" = set; then
8509 enableval="$enable_splash"
8510
8511 if test "$enableval" = yes; then
8512 ac_cv_use_splash='wxUSE_SPLASH=yes'
8513 else
8514 ac_cv_use_splash='wxUSE_SPLASH=no'
8515 fi
8516
8517else
8518
8519 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8520 if test "x$LINE" != x ; then
8521 eval "DEFAULT_$LINE"
8522 else
8523 no_cache=1
8524 fi
8525
8526 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8527
8528fi;
8529
8530 eval "$ac_cv_use_splash"
8531 if test "$no_cache" != 1; then
8532 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8533 fi
8534
8535 if test "$wxUSE_SPLASH" = yes; then
8536 echo "$as_me:$LINENO: result: yes" >&5
8537echo "${ECHO_T}yes" >&6
8538 else
8539 echo "$as_me:$LINENO: result: no" >&5
8540echo "${ECHO_T}no" >&6
8541 fi
8542
8543
8544 enablestring=
8545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8546echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8547 no_cache=0
8548 # Check whether --enable-textdlg or --disable-textdlg was given.
8549if test "${enable_textdlg+set}" = set; then
8550 enableval="$enable_textdlg"
8551
8552 if test "$enableval" = yes; then
8553 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8554 else
8555 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8556 fi
8557
8558else
8559
8560 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x ; then
8562 eval "DEFAULT_$LINE"
8563 else
8564 no_cache=1
8565 fi
8566
8567 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8568
8569fi;
8570
8571 eval "$ac_cv_use_textdlg"
8572 if test "$no_cache" != 1; then
8573 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8574 fi
8575
8576 if test "$wxUSE_TEXTDLG" = yes; then
8577 echo "$as_me:$LINENO: result: yes" >&5
8578echo "${ECHO_T}yes" >&6
8579 else
8580 echo "$as_me:$LINENO: result: no" >&5
8581echo "${ECHO_T}no" >&6
8582 fi
8583
8584
8585 enablestring=
8586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8587echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8588 no_cache=0
8589 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8590if test "${enable_tipdlg+set}" = set; then
8591 enableval="$enable_tipdlg"
8592
8593 if test "$enableval" = yes; then
8594 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8595 else
8596 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8597 fi
8598
8599else
8600
8601 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8604 else
8605 no_cache=1
8606 fi
8607
8608 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8609
8610fi;
8611
8612 eval "$ac_cv_use_tipdlg"
8613 if test "$no_cache" != 1; then
8614 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8615 fi
8616
8617 if test "$wxUSE_STARTUP_TIPS" = yes; then
8618 echo "$as_me:$LINENO: result: yes" >&5
8619echo "${ECHO_T}yes" >&6
8620 else
8621 echo "$as_me:$LINENO: result: no" >&5
8622echo "${ECHO_T}no" >&6
8623 fi
8624
8625
8626 enablestring=
8627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8628echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8629 no_cache=0
8630 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8631if test "${enable_progressdlg+set}" = set; then
8632 enableval="$enable_progressdlg"
8633
8634 if test "$enableval" = yes; then
8635 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8636 else
8637 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8638 fi
8639
8640else
8641
8642 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8643 if test "x$LINE" != x ; then
8644 eval "DEFAULT_$LINE"
8645 else
8646 no_cache=1
8647 fi
8648
8649 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8650
8651fi;
8652
8653 eval "$ac_cv_use_progressdlg"
8654 if test "$no_cache" != 1; then
8655 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8656 fi
8657
8658 if test "$wxUSE_PROGRESSDLG" = yes; then
8659 echo "$as_me:$LINENO: result: yes" >&5
8660echo "${ECHO_T}yes" >&6
8661 else
8662 echo "$as_me:$LINENO: result: no" >&5
8663echo "${ECHO_T}no" >&6
8664 fi
8665
8666
8667 enablestring=
8668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8669echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8670 no_cache=0
8671 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8672if test "${enable_wizarddlg+set}" = set; then
8673 enableval="$enable_wizarddlg"
8674
8675 if test "$enableval" = yes; then
8676 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8677 else
8678 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8679 fi
8680
8681else
8682
8683 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8684 if test "x$LINE" != x ; then
8685 eval "DEFAULT_$LINE"
8686 else
8687 no_cache=1
8688 fi
8689
8690 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8691
8692fi;
8693
8694 eval "$ac_cv_use_wizarddlg"
8695 if test "$no_cache" != 1; then
8696 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8697 fi
8698
8699 if test "$wxUSE_WIZARDDLG" = yes; then
8700 echo "$as_me:$LINENO: result: yes" >&5
8701echo "${ECHO_T}yes" >&6
8702 else
8703 echo "$as_me:$LINENO: result: no" >&5
8704echo "${ECHO_T}no" >&6
8705 fi
8706
8707
8708
8709
8710 enablestring=
8711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8712echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8713 no_cache=0
8714 # Check whether --enable-menus or --disable-menus was given.
8715if test "${enable_menus+set}" = set; then
8716 enableval="$enable_menus"
8717
8718 if test "$enableval" = yes; then
8719 ac_cv_use_menus='wxUSE_MENUS=yes'
8720 else
8721 ac_cv_use_menus='wxUSE_MENUS=no'
8722 fi
8723
8724else
8725
8726 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8727 if test "x$LINE" != x ; then
8728 eval "DEFAULT_$LINE"
8729 else
8730 no_cache=1
8731 fi
8732
8733 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8734
8735fi;
8736
8737 eval "$ac_cv_use_menus"
8738 if test "$no_cache" != 1; then
8739 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8740 fi
8741
8742 if test "$wxUSE_MENUS" = yes; then
8743 echo "$as_me:$LINENO: result: yes" >&5
8744echo "${ECHO_T}yes" >&6
8745 else
8746 echo "$as_me:$LINENO: result: no" >&5
8747echo "${ECHO_T}no" >&6
8748 fi
8749
8750
8751 enablestring=
8752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8753echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8754 no_cache=0
8755 # Check whether --enable-miniframe or --disable-miniframe was given.
8756if test "${enable_miniframe+set}" = set; then
8757 enableval="$enable_miniframe"
8758
8759 if test "$enableval" = yes; then
8760 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8761 else
8762 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8763 fi
8764
8765else
8766
8767 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x ; then
8769 eval "DEFAULT_$LINE"
8770 else
8771 no_cache=1
8772 fi
8773
8774 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8775
8776fi;
8777
8778 eval "$ac_cv_use_miniframe"
8779 if test "$no_cache" != 1; then
8780 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8781 fi
8782
8783 if test "$wxUSE_MINIFRAME" = yes; then
8784 echo "$as_me:$LINENO: result: yes" >&5
8785echo "${ECHO_T}yes" >&6
8786 else
8787 echo "$as_me:$LINENO: result: no" >&5
8788echo "${ECHO_T}no" >&6
8789 fi
8790
8791
8792 enablestring=
8793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8794echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8795 no_cache=0
8796 # Check whether --enable-tooltips or --disable-tooltips was given.
8797if test "${enable_tooltips+set}" = set; then
8798 enableval="$enable_tooltips"
8799
8800 if test "$enableval" = yes; then
8801 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8802 else
8803 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8804 fi
8805
8806else
8807
8808 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8809 if test "x$LINE" != x ; then
8810 eval "DEFAULT_$LINE"
8811 else
8812 no_cache=1
8813 fi
8814
8815 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8816
8817fi;
8818
8819 eval "$ac_cv_use_tooltips"
8820 if test "$no_cache" != 1; then
8821 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8822 fi
8823
8824 if test "$wxUSE_TOOLTIPS" = yes; then
8825 echo "$as_me:$LINENO: result: yes" >&5
8826echo "${ECHO_T}yes" >&6
8827 else
8828 echo "$as_me:$LINENO: result: no" >&5
8829echo "${ECHO_T}no" >&6
8830 fi
8831
8832
8833 enablestring=
8834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8835echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8836 no_cache=0
8837 # Check whether --enable-splines or --disable-splines was given.
8838if test "${enable_splines+set}" = set; then
8839 enableval="$enable_splines"
8840
8841 if test "$enableval" = yes; then
8842 ac_cv_use_splines='wxUSE_SPLINES=yes'
8843 else
8844 ac_cv_use_splines='wxUSE_SPLINES=no'
8845 fi
8846
8847else
8848
8849 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8850 if test "x$LINE" != x ; then
8851 eval "DEFAULT_$LINE"
8852 else
8853 no_cache=1
8854 fi
8855
8856 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8857
8858fi;
8859
8860 eval "$ac_cv_use_splines"
8861 if test "$no_cache" != 1; then
8862 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8863 fi
8864
8865 if test "$wxUSE_SPLINES" = yes; then
8866 echo "$as_me:$LINENO: result: yes" >&5
8867echo "${ECHO_T}yes" >&6
8868 else
8869 echo "$as_me:$LINENO: result: no" >&5
8870echo "${ECHO_T}no" >&6
8871 fi
8872
8873
8874 enablestring=
8875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8876echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8877 no_cache=0
8878 # Check whether --enable-validators or --disable-validators was given.
8879if test "${enable_validators+set}" = set; then
8880 enableval="$enable_validators"
8881
8882 if test "$enableval" = yes; then
8883 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8884 else
8885 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8886 fi
8887
8888else
8889
8890 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x ; then
8892 eval "DEFAULT_$LINE"
8893 else
8894 no_cache=1
8895 fi
8896
8897 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8898
8899fi;
8900
8901 eval "$ac_cv_use_validators"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8904 fi
8905
8906 if test "$wxUSE_VALIDATORS" = yes; then
8907 echo "$as_me:$LINENO: result: yes" >&5
8908echo "${ECHO_T}yes" >&6
8909 else
8910 echo "$as_me:$LINENO: result: no" >&5
8911echo "${ECHO_T}no" >&6
8912 fi
8913
8914
8915 enablestring=
8916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8917echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8918 no_cache=0
8919 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8920if test "${enable_busyinfo+set}" = set; then
8921 enableval="$enable_busyinfo"
8922
8923 if test "$enableval" = yes; then
8924 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8925 else
8926 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8927 fi
8928
8929else
8930
8931 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x ; then
8933 eval "DEFAULT_$LINE"
8934 else
8935 no_cache=1
8936 fi
8937
8938 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8939
8940fi;
8941
8942 eval "$ac_cv_use_busyinfo"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8945 fi
8946
8947 if test "$wxUSE_BUSYINFO" = yes; then
8948 echo "$as_me:$LINENO: result: yes" >&5
8949echo "${ECHO_T}yes" >&6
8950 else
8951 echo "$as_me:$LINENO: result: no" >&5
8952echo "${ECHO_T}no" >&6
8953 fi
8954
8955
8956 enablestring=
8957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8958echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8959 no_cache=0
8960 # Check whether --enable-joystick or --disable-joystick was given.
8961if test "${enable_joystick+set}" = set; then
8962 enableval="$enable_joystick"
8963
8964 if test "$enableval" = yes; then
8965 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8966 else
8967 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8968 fi
8969
8970else
8971
8972 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x ; then
8974 eval "DEFAULT_$LINE"
8975 else
8976 no_cache=1
8977 fi
8978
8979 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8980
8981fi;
8982
8983 eval "$ac_cv_use_joystick"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8986 fi
8987
8988 if test "$wxUSE_JOYSTICK" = yes; then
8989 echo "$as_me:$LINENO: result: yes" >&5
8990echo "${ECHO_T}yes" >&6
8991 else
8992 echo "$as_me:$LINENO: result: no" >&5
8993echo "${ECHO_T}no" >&6
8994 fi
8995
8996
8997 enablestring=
8998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8999echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9000 no_cache=0
9001 # Check whether --enable-metafile or --disable-metafile was given.
9002if test "${enable_metafile+set}" = set; then
9003 enableval="$enable_metafile"
9004
9005 if test "$enableval" = yes; then
9006 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9007 else
9008 ac_cv_use_metafile='wxUSE_METAFILE=no'
9009 fi
9010
9011else
9012
9013 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x ; then
9015 eval "DEFAULT_$LINE"
9016 else
9017 no_cache=1
9018 fi
9019
9020 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9021
9022fi;
9023
9024 eval "$ac_cv_use_metafile"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9027 fi
9028
9029 if test "$wxUSE_METAFILE" = yes; then
9030 echo "$as_me:$LINENO: result: yes" >&5
9031echo "${ECHO_T}yes" >&6
9032 else
9033 echo "$as_me:$LINENO: result: no" >&5
9034echo "${ECHO_T}no" >&6
9035 fi
9036
9037
9038 enablestring=
9039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9040echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9041 no_cache=0
9042 # Check whether --enable-dragimage or --disable-dragimage was given.
9043if test "${enable_dragimage+set}" = set; then
9044 enableval="$enable_dragimage"
9045
9046 if test "$enableval" = yes; then
9047 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9048 else
9049 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9050 fi
9051
9052else
9053
9054 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9057 else
9058 no_cache=1
9059 fi
9060
9061 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9062
9063fi;
9064
9065 eval "$ac_cv_use_dragimage"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9068 fi
9069
9070 if test "$wxUSE_DRAGIMAGE" = yes; then
9071 echo "$as_me:$LINENO: result: yes" >&5
9072echo "${ECHO_T}yes" >&6
9073 else
9074 echo "$as_me:$LINENO: result: no" >&5
9075echo "${ECHO_T}no" >&6
9076 fi
9077
9078
9079 enablestring=
9080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9081echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9082 no_cache=0
9083 # Check whether --enable-accessibility or --disable-accessibility was given.
9084if test "${enable_accessibility+set}" = set; then
9085 enableval="$enable_accessibility"
9086
9087 if test "$enableval" = yes; then
9088 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9089 else
9090 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9091 fi
9092
9093else
9094
9095 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x ; then
9097 eval "DEFAULT_$LINE"
9098 else
9099 no_cache=1
9100 fi
9101
9102 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9103
9104fi;
9105
9106 eval "$ac_cv_use_accessibility"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9109 fi
9110
9111 if test "$wxUSE_ACCESSIBILITY" = yes; then
9112 echo "$as_me:$LINENO: result: yes" >&5
9113echo "${ECHO_T}yes" >&6
9114 else
9115 echo "$as_me:$LINENO: result: no" >&5
9116echo "${ECHO_T}no" >&6
9117 fi
9118
9119
9120
9121
9122 enablestring=
9123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9124echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9125 no_cache=0
9126 # Check whether --enable-palette or --disable-palette was given.
9127if test "${enable_palette+set}" = set; then
9128 enableval="$enable_palette"
9129
9130 if test "$enableval" = yes; then
9131 ac_cv_use_palette='wxUSE_PALETTE=yes'
9132 else
9133 ac_cv_use_palette='wxUSE_PALETTE=no'
9134 fi
9135
9136else
9137
9138 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9139 if test "x$LINE" != x ; then
9140 eval "DEFAULT_$LINE"
9141 else
9142 no_cache=1
9143 fi
9144
9145 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9146
9147fi;
9148
9149 eval "$ac_cv_use_palette"
9150 if test "$no_cache" != 1; then
9151 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9152 fi
9153
9154 if test "$wxUSE_PALETTE" = yes; then
9155 echo "$as_me:$LINENO: result: yes" >&5
9156echo "${ECHO_T}yes" >&6
9157 else
9158 echo "$as_me:$LINENO: result: no" >&5
9159echo "${ECHO_T}no" >&6
9160 fi
9161
9162
9163 enablestring=
9164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9165echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9166 no_cache=0
9167 # Check whether --enable-image or --disable-image was given.
9168if test "${enable_image+set}" = set; then
9169 enableval="$enable_image"
9170
9171 if test "$enableval" = yes; then
9172 ac_cv_use_image='wxUSE_IMAGE=yes'
9173 else
9174 ac_cv_use_image='wxUSE_IMAGE=no'
9175 fi
9176
9177else
9178
9179 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9180 if test "x$LINE" != x ; then
9181 eval "DEFAULT_$LINE"
9182 else
9183 no_cache=1
9184 fi
9185
9186 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9187
9188fi;
9189
9190 eval "$ac_cv_use_image"
9191 if test "$no_cache" != 1; then
9192 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9193 fi
9194
9195 if test "$wxUSE_IMAGE" = yes; then
9196 echo "$as_me:$LINENO: result: yes" >&5
9197echo "${ECHO_T}yes" >&6
9198 else
9199 echo "$as_me:$LINENO: result: no" >&5
9200echo "${ECHO_T}no" >&6
9201 fi
9202
9203
9204 enablestring=
9205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9206echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9207 no_cache=0
9208 # Check whether --enable-gif or --disable-gif was given.
9209if test "${enable_gif+set}" = set; then
9210 enableval="$enable_gif"
9211
9212 if test "$enableval" = yes; then
9213 ac_cv_use_gif='wxUSE_GIF=yes'
9214 else
9215 ac_cv_use_gif='wxUSE_GIF=no'
9216 fi
9217
9218else
9219
9220 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9221 if test "x$LINE" != x ; then
9222 eval "DEFAULT_$LINE"
9223 else
9224 no_cache=1
9225 fi
9226
9227 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9228
9229fi;
9230
9231 eval "$ac_cv_use_gif"
9232 if test "$no_cache" != 1; then
9233 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9234 fi
9235
9236 if test "$wxUSE_GIF" = yes; then
9237 echo "$as_me:$LINENO: result: yes" >&5
9238echo "${ECHO_T}yes" >&6
9239 else
9240 echo "$as_me:$LINENO: result: no" >&5
9241echo "${ECHO_T}no" >&6
9242 fi
9243
9244
9245 enablestring=
9246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9247echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9248 no_cache=0
9249 # Check whether --enable-pcx or --disable-pcx was given.
9250if test "${enable_pcx+set}" = set; then
9251 enableval="$enable_pcx"
9252
9253 if test "$enableval" = yes; then
9254 ac_cv_use_pcx='wxUSE_PCX=yes'
9255 else
9256 ac_cv_use_pcx='wxUSE_PCX=no'
9257 fi
9258
9259else
9260
9261 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x ; then
9263 eval "DEFAULT_$LINE"
9264 else
9265 no_cache=1
9266 fi
9267
9268 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9269
9270fi;
9271
9272 eval "$ac_cv_use_pcx"
9273 if test "$no_cache" != 1; then
9274 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9275 fi
9276
9277 if test "$wxUSE_PCX" = yes; then
9278 echo "$as_me:$LINENO: result: yes" >&5
9279echo "${ECHO_T}yes" >&6
9280 else
9281 echo "$as_me:$LINENO: result: no" >&5
9282echo "${ECHO_T}no" >&6
9283 fi
9284
9285
9286 enablestring=
9287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9288echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9289 no_cache=0
9290 # Check whether --enable-iff or --disable-iff was given.
9291if test "${enable_iff+set}" = set; then
9292 enableval="$enable_iff"
9293
9294 if test "$enableval" = yes; then
9295 ac_cv_use_iff='wxUSE_IFF=yes'
9296 else
9297 ac_cv_use_iff='wxUSE_IFF=no'
9298 fi
9299
9300else
9301
9302 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9303 if test "x$LINE" != x ; then
9304 eval "DEFAULT_$LINE"
9305 else
9306 no_cache=1
9307 fi
9308
9309 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9310
9311fi;
9312
9313 eval "$ac_cv_use_iff"
9314 if test "$no_cache" != 1; then
9315 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9316 fi
9317
9318 if test "$wxUSE_IFF" = yes; then
9319 echo "$as_me:$LINENO: result: yes" >&5
9320echo "${ECHO_T}yes" >&6
9321 else
9322 echo "$as_me:$LINENO: result: no" >&5
9323echo "${ECHO_T}no" >&6
9324 fi
9325
9326
9327 enablestring=
9328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9329echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9330 no_cache=0
9331 # Check whether --enable-pnm or --disable-pnm was given.
9332if test "${enable_pnm+set}" = set; then
9333 enableval="$enable_pnm"
9334
9335 if test "$enableval" = yes; then
9336 ac_cv_use_pnm='wxUSE_PNM=yes'
9337 else
9338 ac_cv_use_pnm='wxUSE_PNM=no'
9339 fi
9340
9341else
9342
9343 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9344 if test "x$LINE" != x ; then
9345 eval "DEFAULT_$LINE"
9346 else
9347 no_cache=1
9348 fi
9349
9350 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9351
9352fi;
9353
9354 eval "$ac_cv_use_pnm"
9355 if test "$no_cache" != 1; then
9356 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9357 fi
9358
9359 if test "$wxUSE_PNM" = yes; then
9360 echo "$as_me:$LINENO: result: yes" >&5
9361echo "${ECHO_T}yes" >&6
9362 else
9363 echo "$as_me:$LINENO: result: no" >&5
9364echo "${ECHO_T}no" >&6
9365 fi
9366
9367
9368 enablestring=
9369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9370echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9371 no_cache=0
9372 # Check whether --enable-xpm or --disable-xpm was given.
9373if test "${enable_xpm+set}" = set; then
9374 enableval="$enable_xpm"
9375
9376 if test "$enableval" = yes; then
9377 ac_cv_use_xpm='wxUSE_XPM=yes'
9378 else
9379 ac_cv_use_xpm='wxUSE_XPM=no'
9380 fi
9381
9382else
9383
9384 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9385 if test "x$LINE" != x ; then
9386 eval "DEFAULT_$LINE"
9387 else
9388 no_cache=1
9389 fi
9390
9391 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9392
9393fi;
9394
9395 eval "$ac_cv_use_xpm"
9396 if test "$no_cache" != 1; then
9397 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9398 fi
9399
9400 if test "$wxUSE_XPM" = yes; then
9401 echo "$as_me:$LINENO: result: yes" >&5
9402echo "${ECHO_T}yes" >&6
9403 else
9404 echo "$as_me:$LINENO: result: no" >&5
9405echo "${ECHO_T}no" >&6
9406 fi
9407
9408
9409 enablestring=
9410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9411echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9412 no_cache=0
9413 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9414if test "${enable_ico_cur+set}" = set; then
9415 enableval="$enable_ico_cur"
9416
9417 if test "$enableval" = yes; then
9418 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9419 else
9420 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9421 fi
9422
9423else
9424
9425 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9426 if test "x$LINE" != x ; then
9427 eval "DEFAULT_$LINE"
9428 else
9429 no_cache=1
9430 fi
9431
9432 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9433
9434fi;
9435
9436 eval "$ac_cv_use_ico_cur"
9437 if test "$no_cache" != 1; then
9438 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9439 fi
9440
9441 if test "$wxUSE_ICO_CUR" = yes; then
9442 echo "$as_me:$LINENO: result: yes" >&5
9443echo "${ECHO_T}yes" >&6
9444 else
9445 echo "$as_me:$LINENO: result: no" >&5
9446echo "${ECHO_T}no" >&6
9447 fi
9448
9449
9450fi
9451
9452case "${host}" in
9453 *-pc-os2_emx | *-pc-os2-emx )
9454 PATH_IFS=';'
9455 LEX_STEM="lexyy"
9456 ;;
9457 *)
9458 PATH_IFS=':'
9459 LEX_STEM="lex.yy"
9460 ;;
9461esac
9462
9463
9464
9465 echo "saving argument cache $wx_arg_cache_file"
9466 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9467
9468
9469
9470echo "$as_me:$LINENO: checking for toolkit" >&5
9471echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9472
9473# In Wine, we need to default to MSW, not GTK or MOTIF
9474if test "$wxUSE_WINE" = "yes"; then
9475 DEFAULT_DEFAULT_wxUSE_GTK=0
9476 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9477 DEFAULT_DEFAULT_wxUSE_MSW=1
9478fi
9479
9480if test "$wxUSE_GUI" = "yes"; then
9481
9482 if test "$USE_BEOS" = 1; then
9483 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9484echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9485 { (exit 1); exit 1; }; }
9486 fi
9487
9488 if test "$TOOLKIT_GIVEN" = 1; then
9489 for toolkit in `echo $ALL_TOOLKITS`; do
9490 var=wxUSE_$toolkit
9491 eval "value=\$${var}"
9492 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9493 done
9494 else
9495 for toolkit in `echo $ALL_TOOLKITS`; do
9496 if test "$has_toolkit_in_cache" != 1; then
9497 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9498 else
9499 var=DEFAULT_wxUSE_$toolkit
9500 fi
9501 eval "wxUSE_$toolkit=\$${var}"
9502 done
9503 fi
9504
9505 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9506 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9507 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9508
9509 case "${host}" in
9510 *-pc-os2_emx | *-pc-os2-emx )
9511 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9512 esac
9513
9514 case "$NUM_TOOLKITS" in
9515 1)
9516 ;;
9517 0)
9518 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9519echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9520 { (exit 1); exit 1; }; }
9521 ;;
9522 *)
9523 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9524echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9525 { (exit 1); exit 1; }; }
9526 esac
9527
9528 for toolkit in `echo $ALL_TOOLKITS`; do
9529 var=wxUSE_$toolkit
9530 eval "value=\$${var}"
9531 if test "x$value" != x; then
9532 cache_var=CACHE_$toolkit
9533 eval "cache=\$${cache_var}"
9534 if test "$cache" = 1; then
9535 echo "$var=$value" >> ${wx_arg_cache_file}
9536 fi
9537 if test "$value" = 1; then
9538 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9539 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9540echo "${ECHO_T}$toolkit_echo" >&6
9541 fi
9542 fi
9543 done
9544else
9545 if test "x$host_alias" != "x"; then
9546 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9547echo "${ECHO_T}base ($host_alias hosted) only" >&6
9548 else
9549 echo "$as_me:$LINENO: result: base only" >&5
9550echo "${ECHO_T}base only" >&6
9551 fi
9552fi
9553
9554wants_win32=0
9555doesnt_want_win32=0
9556case "${host}" in
9557 *-*-cygwin*)
9558 if test "$wxUSE_MSW" = 1 ; then
9559 wants_win32=1
9560 else
9561 doesnt_want_win32=1
9562 fi
9563 ;;
9564 *-*-mingw*)
9565 wants_win32=1
9566 ;;
9567esac
9568
9569if test "$wxUSE_WINE" = "yes"; then
9570 wants_win32=1
9571 CC=winegcc
9572 CXX=wineg++
9573 RESCOMP=wrc
9574fi
9575
9576if test "$wants_win32" = 1 ; then
9577 USE_UNIX=0
9578 USE_WIN32=1
9579 cat >>confdefs.h <<\_ACEOF
9580#define __WIN32__ 1
9581_ACEOF
9582
9583 cat >>confdefs.h <<\_ACEOF
9584#define __WIN95__ 1
9585_ACEOF
9586
9587 cat >>confdefs.h <<\_ACEOF
9588#define __WINDOWS__ 1
9589_ACEOF
9590
9591 cat >>confdefs.h <<\_ACEOF
9592#define __GNUWIN32__ 1
9593_ACEOF
9594
9595 cat >>confdefs.h <<\_ACEOF
9596#define STRICT 1
9597_ACEOF
9598
9599 cat >>confdefs.h <<\_ACEOF
9600#define WINVER 0x0400
9601_ACEOF
9602
9603fi
9604if test "$doesnt_want_win32" = 1 ; then
9605 USE_UNIX=1
9606 USE_WIN32=0
9607fi
9608
9609if test "$USE_UNIX" = 1 ; then
9610 wxUSE_UNIX=yes
9611 cat >>confdefs.h <<\_ACEOF
9612#define __UNIX__ 1
9613_ACEOF
9614
9615fi
9616
9617
9618cat >confcache <<\_ACEOF
9619# This file is a shell script that caches the results of configure
9620# tests run on this system so they can be shared between configure
9621# scripts and configure runs, see configure's option --config-cache.
9622# It is not useful on other systems. If it contains results you don't
9623# want to keep, you may remove or edit it.
9624#
9625# config.status only pays attention to the cache file if you give it
9626# the --recheck option to rerun configure.
9627#
9628# `ac_cv_env_foo' variables (set or unset) will be overridden when
9629# loading this file, other *unset* `ac_cv_foo' will be assigned the
9630# following values.
9631
9632_ACEOF
9633
9634# The following way of writing the cache mishandles newlines in values,
9635# but we know of no workaround that is simple, portable, and efficient.
9636# So, don't put newlines in cache variables' values.
9637# Ultrix sh set writes to stderr and can't be redirected directly,
9638# and sets the high bit in the cache file unless we assign to the vars.
9639{
9640 (set) 2>&1 |
9641 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9642 *ac_space=\ *)
9643 # `set' does not quote correctly, so add quotes (double-quote
9644 # substitution turns \\\\ into \\, and sed turns \\ into \).
9645 sed -n \
9646 "s/'/'\\\\''/g;
9647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9648 ;;
9649 *)
9650 # `set' quotes correctly as required by POSIX, so do not add quotes.
9651 sed -n \
9652 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9653 ;;
9654 esac;
9655} |
9656 sed '
9657 t clear
9658 : clear
9659 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9660 t end
9661 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9662 : end' >>confcache
9663if diff $cache_file confcache >/dev/null 2>&1; then :; else
9664 if test -w $cache_file; then
9665 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9666 cat confcache >$cache_file
9667 else
9668 echo "not updating unwritable cache $cache_file"
9669 fi
9670fi
9671rm -f confcache
9672
9673if test "$build" != "$host" ; then
9674 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9675 CC=$host_alias-gcc
9676 CXX=$host_alias-c++
9677 AR=$host_alias-ar
9678 RANLIB=$host_alias-ranlib
9679 DLLTOOL=$host_alias-dlltool
9680 RESCOMP=$host_alias-windres
9681 LD=$host_alias-ld
9682 NM=$host_alias-nm
9683 STRIP=$host_alias-strip
9684 else
9685 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9686echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9687 { (exit 1); exit 1; }; }
9688 fi
9689fi
9690
9691CFLAGS=${CFLAGS:=}
9692ac_ext=c
9693ac_cpp='$CPP $CPPFLAGS'
9694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9696ac_compiler_gnu=$ac_cv_c_compiler_gnu
9697if test -n "$ac_tool_prefix"; then
9698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9699set dummy ${ac_tool_prefix}gcc; ac_word=$2
9700echo "$as_me:$LINENO: checking for $ac_word" >&5
9701echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9702if test "${ac_cv_prog_CC+set}" = set; then
9703 echo $ECHO_N "(cached) $ECHO_C" >&6
9704else
9705 if test -n "$CC"; then
9706 ac_cv_prog_CC="$CC" # Let the user override the test.
9707else
9708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9709for as_dir in $PATH
9710do
9711 IFS=$as_save_IFS
9712 test -z "$as_dir" && as_dir=.
9713 for ac_exec_ext in '' $ac_executable_extensions; do
9714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9715 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9717 break 2
9718 fi
9719done
9720done
9721
9722fi
9723fi
9724CC=$ac_cv_prog_CC
9725if test -n "$CC"; then
9726 echo "$as_me:$LINENO: result: $CC" >&5
9727echo "${ECHO_T}$CC" >&6
9728else
9729 echo "$as_me:$LINENO: result: no" >&5
9730echo "${ECHO_T}no" >&6
9731fi
9732
9733fi
9734if test -z "$ac_cv_prog_CC"; then
9735 ac_ct_CC=$CC
9736 # Extract the first word of "gcc", so it can be a program name with args.
9737set dummy gcc; ac_word=$2
9738echo "$as_me:$LINENO: checking for $ac_word" >&5
9739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9740if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9742else
9743 if test -n "$ac_ct_CC"; then
9744 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9745else
9746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9747for as_dir in $PATH
9748do
9749 IFS=$as_save_IFS
9750 test -z "$as_dir" && as_dir=.
9751 for ac_exec_ext in '' $ac_executable_extensions; do
9752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9753 ac_cv_prog_ac_ct_CC="gcc"
9754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9755 break 2
9756 fi
9757done
9758done
9759
9760fi
9761fi
9762ac_ct_CC=$ac_cv_prog_ac_ct_CC
9763if test -n "$ac_ct_CC"; then
9764 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9765echo "${ECHO_T}$ac_ct_CC" >&6
9766else
9767 echo "$as_me:$LINENO: result: no" >&5
9768echo "${ECHO_T}no" >&6
9769fi
9770
9771 CC=$ac_ct_CC
9772else
9773 CC="$ac_cv_prog_CC"
9774fi
9775
9776if test -z "$CC"; then
9777 if test -n "$ac_tool_prefix"; then
9778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9779set dummy ${ac_tool_prefix}cc; ac_word=$2
9780echo "$as_me:$LINENO: checking for $ac_word" >&5
9781echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9782if test "${ac_cv_prog_CC+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6
9784else
9785 if test -n "$CC"; then
9786 ac_cv_prog_CC="$CC" # Let the user override the test.
9787else
9788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9789for as_dir in $PATH
9790do
9791 IFS=$as_save_IFS
9792 test -z "$as_dir" && as_dir=.
9793 for ac_exec_ext in '' $ac_executable_extensions; do
9794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9795 ac_cv_prog_CC="${ac_tool_prefix}cc"
9796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9797 break 2
9798 fi
9799done
9800done
9801
9802fi
9803fi
9804CC=$ac_cv_prog_CC
9805if test -n "$CC"; then
9806 echo "$as_me:$LINENO: result: $CC" >&5
9807echo "${ECHO_T}$CC" >&6
9808else
9809 echo "$as_me:$LINENO: result: no" >&5
9810echo "${ECHO_T}no" >&6
9811fi
9812
9813fi
9814if test -z "$ac_cv_prog_CC"; then
9815 ac_ct_CC=$CC
9816 # Extract the first word of "cc", so it can be a program name with args.
9817set dummy cc; ac_word=$2
9818echo "$as_me:$LINENO: checking for $ac_word" >&5
9819echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9820if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9822else
9823 if test -n "$ac_ct_CC"; then
9824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9825else
9826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9827for as_dir in $PATH
9828do
9829 IFS=$as_save_IFS
9830 test -z "$as_dir" && as_dir=.
9831 for ac_exec_ext in '' $ac_executable_extensions; do
9832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9833 ac_cv_prog_ac_ct_CC="cc"
9834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9835 break 2
9836 fi
9837done
9838done
9839
9840fi
9841fi
9842ac_ct_CC=$ac_cv_prog_ac_ct_CC
9843if test -n "$ac_ct_CC"; then
9844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9845echo "${ECHO_T}$ac_ct_CC" >&6
9846else
9847 echo "$as_me:$LINENO: result: no" >&5
9848echo "${ECHO_T}no" >&6
9849fi
9850
9851 CC=$ac_ct_CC
9852else
9853 CC="$ac_cv_prog_CC"
9854fi
9855
9856fi
9857if test -z "$CC"; then
9858 # Extract the first word of "cc", so it can be a program name with args.
9859set dummy cc; ac_word=$2
9860echo "$as_me:$LINENO: checking for $ac_word" >&5
9861echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9862if test "${ac_cv_prog_CC+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9864else
9865 if test -n "$CC"; then
9866 ac_cv_prog_CC="$CC" # Let the user override the test.
9867else
9868 ac_prog_rejected=no
9869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9870for as_dir in $PATH
9871do
9872 IFS=$as_save_IFS
9873 test -z "$as_dir" && as_dir=.
9874 for ac_exec_ext in '' $ac_executable_extensions; do
9875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9877 ac_prog_rejected=yes
9878 continue
9879 fi
9880 ac_cv_prog_CC="cc"
9881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9882 break 2
9883 fi
9884done
9885done
9886
9887if test $ac_prog_rejected = yes; then
9888 # We found a bogon in the path, so make sure we never use it.
9889 set dummy $ac_cv_prog_CC
9890 shift
9891 if test $# != 0; then
9892 # We chose a different compiler from the bogus one.
9893 # However, it has the same basename, so the bogon will be chosen
9894 # first if we set CC to just the basename; use the full file name.
9895 shift
9896 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9897 fi
9898fi
9899fi
9900fi
9901CC=$ac_cv_prog_CC
9902if test -n "$CC"; then
9903 echo "$as_me:$LINENO: result: $CC" >&5
9904echo "${ECHO_T}$CC" >&6
9905else
9906 echo "$as_me:$LINENO: result: no" >&5
9907echo "${ECHO_T}no" >&6
9908fi
9909
9910fi
9911if test -z "$CC"; then
9912 if test -n "$ac_tool_prefix"; then
9913 for ac_prog in cl
9914 do
9915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9916set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9917echo "$as_me:$LINENO: checking for $ac_word" >&5
9918echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9919if test "${ac_cv_prog_CC+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9921else
9922 if test -n "$CC"; then
9923 ac_cv_prog_CC="$CC" # Let the user override the test.
9924else
9925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9926for as_dir in $PATH
9927do
9928 IFS=$as_save_IFS
9929 test -z "$as_dir" && as_dir=.
9930 for ac_exec_ext in '' $ac_executable_extensions; do
9931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9932 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9934 break 2
9935 fi
9936done
9937done
9938
9939fi
9940fi
9941CC=$ac_cv_prog_CC
9942if test -n "$CC"; then
9943 echo "$as_me:$LINENO: result: $CC" >&5
9944echo "${ECHO_T}$CC" >&6
9945else
9946 echo "$as_me:$LINENO: result: no" >&5
9947echo "${ECHO_T}no" >&6
9948fi
9949
9950 test -n "$CC" && break
9951 done
9952fi
9953if test -z "$CC"; then
9954 ac_ct_CC=$CC
9955 for ac_prog in cl
9956do
9957 # Extract the first word of "$ac_prog", so it can be a program name with args.
9958set dummy $ac_prog; ac_word=$2
9959echo "$as_me:$LINENO: checking for $ac_word" >&5
9960echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9961if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9962 echo $ECHO_N "(cached) $ECHO_C" >&6
9963else
9964 if test -n "$ac_ct_CC"; then
9965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9966else
9967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9968for as_dir in $PATH
9969do
9970 IFS=$as_save_IFS
9971 test -z "$as_dir" && as_dir=.
9972 for ac_exec_ext in '' $ac_executable_extensions; do
9973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9974 ac_cv_prog_ac_ct_CC="$ac_prog"
9975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9976 break 2
9977 fi
9978done
9979done
9980
9981fi
9982fi
9983ac_ct_CC=$ac_cv_prog_ac_ct_CC
9984if test -n "$ac_ct_CC"; then
9985 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9986echo "${ECHO_T}$ac_ct_CC" >&6
9987else
9988 echo "$as_me:$LINENO: result: no" >&5
9989echo "${ECHO_T}no" >&6
9990fi
9991
9992 test -n "$ac_ct_CC" && break
9993done
9994
9995 CC=$ac_ct_CC
9996fi
9997
9998fi
9999
10000
10001test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10002See \`config.log' for more details." >&5
10003echo "$as_me: error: no acceptable C compiler found in \$PATH
10004See \`config.log' for more details." >&2;}
10005 { (exit 1); exit 1; }; }
10006
10007# Provide some information about the compiler.
10008echo "$as_me:$LINENO:" \
10009 "checking for C compiler version" >&5
10010ac_compiler=`set X $ac_compile; echo $2`
10011{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10012 (eval $ac_compiler --version </dev/null >&5) 2>&5
10013 ac_status=$?
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); }
10016{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10017 (eval $ac_compiler -v </dev/null >&5) 2>&5
10018 ac_status=$?
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }
10021{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10022 (eval $ac_compiler -V </dev/null >&5) 2>&5
10023 ac_status=$?
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); }
10026
10027cat >conftest.$ac_ext <<_ACEOF
10028#line $LINENO "configure"
10029/* confdefs.h. */
10030_ACEOF
10031cat confdefs.h >>conftest.$ac_ext
10032cat >>conftest.$ac_ext <<_ACEOF
10033/* end confdefs.h. */
10034
10035int
10036main ()
10037{
10038
10039 ;
10040 return 0;
10041}
10042_ACEOF
10043ac_clean_files_save=$ac_clean_files
10044ac_clean_files="$ac_clean_files a.out a.exe b.out"
10045# Try to create an executable without -o first, disregard a.out.
10046# It will help us diagnose broken compilers, and finding out an intuition
10047# of exeext.
10048echo "$as_me:$LINENO: checking for C compiler default output" >&5
10049echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10050ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10051if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10052 (eval $ac_link_default) 2>&5
10053 ac_status=$?
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; then
10056 # Find the output, starting from the most likely. This scheme is
10057# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10058# resort.
10059
10060# Be careful to initialize this variable, since it used to be cached.
10061# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10062ac_cv_exeext=
10063# b.out is created by i960 compilers.
10064for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10065do
10066 test -f "$ac_file" || continue
10067 case $ac_file in
10068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10069 ;;
10070 conftest.$ac_ext )
10071 # This is the source file.
10072 ;;
10073 [ab].out )
10074 # We found the default executable, but exeext='' is most
10075 # certainly right.
10076 break;;
10077 *.* )
10078 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10079 # FIXME: I believe we export ac_cv_exeext for Libtool,
10080 # but it would be cool to find out if it's true. Does anybody
10081 # maintain Libtool? --akim.
10082 export ac_cv_exeext
10083 break;;
10084 * )
10085 break;;
10086 esac
10087done
10088else
10089 echo "$as_me: failed program was:" >&5
10090sed 's/^/| /' conftest.$ac_ext >&5
10091
10092{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10093See \`config.log' for more details." >&5
10094echo "$as_me: error: C compiler cannot create executables
10095See \`config.log' for more details." >&2;}
10096 { (exit 77); exit 77; }; }
10097fi
10098
10099ac_exeext=$ac_cv_exeext
10100echo "$as_me:$LINENO: result: $ac_file" >&5
10101echo "${ECHO_T}$ac_file" >&6
10102
10103# Check the compiler produces executables we can run. If not, either
10104# the compiler is broken, or we cross compile.
10105echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10106echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10107# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10108# If not cross compiling, check that we can run a simple program.
10109if test "$cross_compiling" != yes; then
10110 if { ac_try='./$ac_file'
10111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10112 (eval $ac_try) 2>&5
10113 ac_status=$?
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); }; }; then
10116 cross_compiling=no
10117 else
10118 if test "$cross_compiling" = maybe; then
10119 cross_compiling=yes
10120 else
10121 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10122If you meant to cross compile, use \`--host'.
10123See \`config.log' for more details." >&5
10124echo "$as_me: error: cannot run C compiled programs.
10125If you meant to cross compile, use \`--host'.
10126See \`config.log' for more details." >&2;}
10127 { (exit 1); exit 1; }; }
10128 fi
10129 fi
10130fi
10131echo "$as_me:$LINENO: result: yes" >&5
10132echo "${ECHO_T}yes" >&6
10133
10134rm -f a.out a.exe conftest$ac_cv_exeext b.out
10135ac_clean_files=$ac_clean_files_save
10136# Check the compiler produces executables we can run. If not, either
10137# the compiler is broken, or we cross compile.
10138echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10139echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10140echo "$as_me:$LINENO: result: $cross_compiling" >&5
10141echo "${ECHO_T}$cross_compiling" >&6
10142
10143echo "$as_me:$LINENO: checking for suffix of executables" >&5
10144echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10145if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10146 (eval $ac_link) 2>&5
10147 ac_status=$?
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); }; then
10150 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10151# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10152# work properly (i.e., refer to `conftest.exe'), while it won't with
10153# `rm'.
10154for ac_file in conftest.exe conftest conftest.*; do
10155 test -f "$ac_file" || continue
10156 case $ac_file in
10157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10158 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10159 export ac_cv_exeext
10160 break;;
10161 * ) break;;
10162 esac
10163done
10164else
10165 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10166See \`config.log' for more details." >&5
10167echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10168See \`config.log' for more details." >&2;}
10169 { (exit 1); exit 1; }; }
10170fi
10171
10172rm -f conftest$ac_cv_exeext
10173echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10174echo "${ECHO_T}$ac_cv_exeext" >&6
10175
10176rm -f conftest.$ac_ext
10177EXEEXT=$ac_cv_exeext
10178ac_exeext=$EXEEXT
10179echo "$as_me:$LINENO: checking for suffix of object files" >&5
10180echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10181if test "${ac_cv_objext+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10183else
10184 cat >conftest.$ac_ext <<_ACEOF
10185#line $LINENO "configure"
10186/* confdefs.h. */
10187_ACEOF
10188cat confdefs.h >>conftest.$ac_ext
10189cat >>conftest.$ac_ext <<_ACEOF
10190/* end confdefs.h. */
10191
10192int
10193main ()
10194{
10195
10196 ;
10197 return 0;
10198}
10199_ACEOF
10200rm -f conftest.o conftest.obj
10201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); }; then
10206 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10207 case $ac_file in
10208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10209 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10210 break;;
10211 esac
10212done
10213else
10214 echo "$as_me: failed program was:" >&5
10215sed 's/^/| /' conftest.$ac_ext >&5
10216
10217{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10218See \`config.log' for more details." >&5
10219echo "$as_me: error: cannot compute suffix of object files: cannot compile
10220See \`config.log' for more details." >&2;}
10221 { (exit 1); exit 1; }; }
10222fi
10223
10224rm -f conftest.$ac_cv_objext conftest.$ac_ext
10225fi
10226echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10227echo "${ECHO_T}$ac_cv_objext" >&6
10228OBJEXT=$ac_cv_objext
10229ac_objext=$OBJEXT
10230echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10231echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10232if test "${ac_cv_c_compiler_gnu+set}" = set; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10234else
10235 cat >conftest.$ac_ext <<_ACEOF
10236#line $LINENO "configure"
10237/* confdefs.h. */
10238_ACEOF
10239cat confdefs.h >>conftest.$ac_ext
10240cat >>conftest.$ac_ext <<_ACEOF
10241/* end confdefs.h. */
10242
10243int
10244main ()
10245{
10246#ifndef __GNUC__
10247 choke me
10248#endif
10249
10250 ;
10251 return 0;
10252}
10253_ACEOF
10254rm -f conftest.$ac_objext
10255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10256 (eval $ac_compile) 2>&5
10257 ac_status=$?
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); } &&
10260 { ac_try='test -s conftest.$ac_objext'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10263 ac_status=$?
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; }; then
10266 ac_compiler_gnu=yes
10267else
10268 echo "$as_me: failed program was:" >&5
10269sed 's/^/| /' conftest.$ac_ext >&5
10270
10271ac_compiler_gnu=no
10272fi
10273rm -f conftest.$ac_objext conftest.$ac_ext
10274ac_cv_c_compiler_gnu=$ac_compiler_gnu
10275
10276fi
10277echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10278echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10279GCC=`test $ac_compiler_gnu = yes && echo yes`
10280ac_test_CFLAGS=${CFLAGS+set}
10281ac_save_CFLAGS=$CFLAGS
10282CFLAGS="-g"
10283echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10284echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10285if test "${ac_cv_prog_cc_g+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10287else
10288 cat >conftest.$ac_ext <<_ACEOF
10289#line $LINENO "configure"
10290/* confdefs.h. */
10291_ACEOF
10292cat confdefs.h >>conftest.$ac_ext
10293cat >>conftest.$ac_ext <<_ACEOF
10294/* end confdefs.h. */
10295
10296int
10297main ()
10298{
10299
10300 ;
10301 return 0;
10302}
10303_ACEOF
10304rm -f conftest.$ac_objext
10305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10306 (eval $ac_compile) 2>&5
10307 ac_status=$?
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } &&
10310 { ac_try='test -s conftest.$ac_objext'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10313 ac_status=$?
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then
10316 ac_cv_prog_cc_g=yes
10317else
10318 echo "$as_me: failed program was:" >&5
10319sed 's/^/| /' conftest.$ac_ext >&5
10320
10321ac_cv_prog_cc_g=no
10322fi
10323rm -f conftest.$ac_objext conftest.$ac_ext
10324fi
10325echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10326echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10327if test "$ac_test_CFLAGS" = set; then
10328 CFLAGS=$ac_save_CFLAGS
10329elif test $ac_cv_prog_cc_g = yes; then
10330 if test "$GCC" = yes; then
10331 CFLAGS="-g -O2"
10332 else
10333 CFLAGS="-g"
10334 fi
10335else
10336 if test "$GCC" = yes; then
10337 CFLAGS="-O2"
10338 else
10339 CFLAGS=
10340 fi
10341fi
10342echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10343echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10344if test "${ac_cv_prog_cc_stdc+set}" = set; then
10345 echo $ECHO_N "(cached) $ECHO_C" >&6
10346else
10347 ac_cv_prog_cc_stdc=no
10348ac_save_CC=$CC
10349cat >conftest.$ac_ext <<_ACEOF
10350#line $LINENO "configure"
10351/* confdefs.h. */
10352_ACEOF
10353cat confdefs.h >>conftest.$ac_ext
10354cat >>conftest.$ac_ext <<_ACEOF
10355/* end confdefs.h. */
10356#include <stdarg.h>
10357#include <stdio.h>
10358#include <sys/types.h>
10359#include <sys/stat.h>
10360/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10361struct buf { int x; };
10362FILE * (*rcsopen) (struct buf *, struct stat *, int);
10363static char *e (p, i)
10364 char **p;
10365 int i;
10366{
10367 return p[i];
10368}
10369static char *f (char * (*g) (char **, int), char **p, ...)
10370{
10371 char *s;
10372 va_list v;
10373 va_start (v,p);
10374 s = g (p, va_arg (v,int));
10375 va_end (v);
10376 return s;
10377}
10378int test (int i, double x);
10379struct s1 {int (*f) (int a);};
10380struct s2 {int (*f) (double a);};
10381int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10382int argc;
10383char **argv;
10384int
10385main ()
10386{
10387return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10388 ;
10389 return 0;
10390}
10391_ACEOF
10392# Don't try gcc -ansi; that turns off useful extensions and
10393# breaks some systems' header files.
10394# AIX -qlanglvl=ansi
10395# Ultrix and OSF/1 -std1
10396# HP-UX 10.20 and later -Ae
10397# HP-UX older versions -Aa -D_HPUX_SOURCE
10398# SVR4 -Xc -D__EXTENSIONS__
10399for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10400do
10401 CC="$ac_save_CC $ac_arg"
10402 rm -f conftest.$ac_objext
10403if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10404 (eval $ac_compile) 2>&5
10405 ac_status=$?
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } &&
10408 { ac_try='test -s conftest.$ac_objext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10411 ac_status=$?
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10414 ac_cv_prog_cc_stdc=$ac_arg
10415break
10416else
10417 echo "$as_me: failed program was:" >&5
10418sed 's/^/| /' conftest.$ac_ext >&5
10419
10420fi
10421rm -f conftest.$ac_objext
10422done
10423rm -f conftest.$ac_ext conftest.$ac_objext
10424CC=$ac_save_CC
10425
10426fi
10427
10428case "x$ac_cv_prog_cc_stdc" in
10429 x|xno)
10430 echo "$as_me:$LINENO: result: none needed" >&5
10431echo "${ECHO_T}none needed" >&6 ;;
10432 *)
10433 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10434echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10435 CC="$CC $ac_cv_prog_cc_stdc" ;;
10436esac
10437
10438# Some people use a C++ compiler to compile C. Since we use `exit',
10439# in C++ we need to declare it. In case someone uses the same compiler
10440# for both compiling C and C++ we need to have the C++ compiler decide
10441# the declaration of exit, since it's the most demanding environment.
10442cat >conftest.$ac_ext <<_ACEOF
10443#ifndef __cplusplus
10444 choke me
10445#endif
10446_ACEOF
10447rm -f conftest.$ac_objext
10448if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10449 (eval $ac_compile) 2>&5
10450 ac_status=$?
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } &&
10453 { ac_try='test -s conftest.$ac_objext'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10456 ac_status=$?
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; }; then
10459 for ac_declaration in \
10460 ''\
10461 '#include <stdlib.h>' \
10462 'extern "C" void std::exit (int) throw (); using std::exit;' \
10463 'extern "C" void std::exit (int); using std::exit;' \
10464 'extern "C" void exit (int) throw ();' \
10465 'extern "C" void exit (int);' \
10466 'void exit (int);'
10467do
10468 cat >conftest.$ac_ext <<_ACEOF
10469#line $LINENO "configure"
10470/* confdefs.h. */
10471_ACEOF
10472cat confdefs.h >>conftest.$ac_ext
10473cat >>conftest.$ac_ext <<_ACEOF
10474/* end confdefs.h. */
10475#include <stdlib.h>
10476$ac_declaration
10477int
10478main ()
10479{
10480exit (42);
10481 ;
10482 return 0;
10483}
10484_ACEOF
10485rm -f conftest.$ac_objext
10486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>&5
10488 ac_status=$?
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try='test -s conftest.$ac_objext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10494 ac_status=$?
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10497 :
10498else
10499 echo "$as_me: failed program was:" >&5
10500sed 's/^/| /' conftest.$ac_ext >&5
10501
10502continue
10503fi
10504rm -f conftest.$ac_objext conftest.$ac_ext
10505 cat >conftest.$ac_ext <<_ACEOF
10506#line $LINENO "configure"
10507/* confdefs.h. */
10508_ACEOF
10509cat confdefs.h >>conftest.$ac_ext
10510cat >>conftest.$ac_ext <<_ACEOF
10511/* end confdefs.h. */
10512$ac_declaration
10513int
10514main ()
10515{
10516exit (42);
10517 ;
10518 return 0;
10519}
10520_ACEOF
10521rm -f conftest.$ac_objext
10522if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10523 (eval $ac_compile) 2>&5
10524 ac_status=$?
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } &&
10527 { ac_try='test -s conftest.$ac_objext'
10528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10529 (eval $ac_try) 2>&5
10530 ac_status=$?
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); }; }; then
10533 break
10534else
10535 echo "$as_me: failed program was:" >&5
10536sed 's/^/| /' conftest.$ac_ext >&5
10537
10538fi
10539rm -f conftest.$ac_objext conftest.$ac_ext
10540done
10541rm -f conftest*
10542if test -n "$ac_declaration"; then
10543 echo '#ifdef __cplusplus' >>confdefs.h
10544 echo $ac_declaration >>confdefs.h
10545 echo '#endif' >>confdefs.h
10546fi
10547
10548else
10549 echo "$as_me: failed program was:" >&5
10550sed 's/^/| /' conftest.$ac_ext >&5
10551
10552fi
10553rm -f conftest.$ac_objext conftest.$ac_ext
10554ac_ext=c
10555ac_cpp='$CPP $CPPFLAGS'
10556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10558ac_compiler_gnu=$ac_cv_c_compiler_gnu
10559
10560
10561
10562ac_ext=c
10563ac_cpp='$CPP $CPPFLAGS'
10564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10566ac_compiler_gnu=$ac_cv_c_compiler_gnu
10567echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10568echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10569# On Suns, sometimes $CPP names a directory.
10570if test -n "$CPP" && test -d "$CPP"; then
10571 CPP=
10572fi
10573if test -z "$CPP"; then
10574 if test "${ac_cv_prog_CPP+set}" = set; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10576else
10577 # Double quotes because CPP needs to be expanded
10578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10579 do
10580 ac_preproc_ok=false
10581for ac_c_preproc_warn_flag in '' yes
10582do
10583 # Use a header file that comes with gcc, so configuring glibc
10584 # with a fresh cross-compiler works.
10585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10586 # <limits.h> exists even on freestanding compilers.
10587 # On the NeXT, cc -E runs the code through the compiler's parser,
10588 # not just through cpp. "Syntax error" is here to catch this case.
10589 cat >conftest.$ac_ext <<_ACEOF
10590#line $LINENO "configure"
10591/* confdefs.h. */
10592_ACEOF
10593cat confdefs.h >>conftest.$ac_ext
10594cat >>conftest.$ac_ext <<_ACEOF
10595/* end confdefs.h. */
10596#ifdef __STDC__
10597# include <limits.h>
10598#else
10599# include <assert.h>
10600#endif
10601 Syntax error
10602_ACEOF
10603if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10605 ac_status=$?
10606 grep -v '^ *+' conftest.er1 >conftest.err
10607 rm -f conftest.er1
10608 cat conftest.err >&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } >/dev/null; then
10611 if test -s conftest.err; then
10612 ac_cpp_err=$ac_c_preproc_warn_flag
10613 else
10614 ac_cpp_err=
10615 fi
10616else
10617 ac_cpp_err=yes
10618fi
10619if test -z "$ac_cpp_err"; then
10620 :
10621else
10622 echo "$as_me: failed program was:" >&5
10623sed 's/^/| /' conftest.$ac_ext >&5
10624
10625 # Broken: fails on valid input.
10626continue
10627fi
10628rm -f conftest.err conftest.$ac_ext
10629
10630 # OK, works on sane cases. Now check whether non-existent headers
10631 # can be detected and how.
10632 cat >conftest.$ac_ext <<_ACEOF
10633#line $LINENO "configure"
10634/* confdefs.h. */
10635_ACEOF
10636cat confdefs.h >>conftest.$ac_ext
10637cat >>conftest.$ac_ext <<_ACEOF
10638/* end confdefs.h. */
10639#include <ac_nonexistent.h>
10640_ACEOF
10641if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10643 ac_status=$?
10644 grep -v '^ *+' conftest.er1 >conftest.err
10645 rm -f conftest.er1
10646 cat conftest.err >&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); } >/dev/null; then
10649 if test -s conftest.err; then
10650 ac_cpp_err=$ac_c_preproc_warn_flag
10651 else
10652 ac_cpp_err=
10653 fi
10654else
10655 ac_cpp_err=yes
10656fi
10657if test -z "$ac_cpp_err"; then
10658 # Broken: success on invalid input.
10659continue
10660else
10661 echo "$as_me: failed program was:" >&5
10662sed 's/^/| /' conftest.$ac_ext >&5
10663
10664 # Passes both tests.
10665ac_preproc_ok=:
10666break
10667fi
10668rm -f conftest.err conftest.$ac_ext
10669
10670done
10671# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10672rm -f conftest.err conftest.$ac_ext
10673if $ac_preproc_ok; then
10674 break
10675fi
10676
10677 done
10678 ac_cv_prog_CPP=$CPP
10679
10680fi
10681 CPP=$ac_cv_prog_CPP
10682else
10683 ac_cv_prog_CPP=$CPP
10684fi
10685echo "$as_me:$LINENO: result: $CPP" >&5
10686echo "${ECHO_T}$CPP" >&6
10687ac_preproc_ok=false
10688for ac_c_preproc_warn_flag in '' yes
10689do
10690 # Use a header file that comes with gcc, so configuring glibc
10691 # with a fresh cross-compiler works.
10692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10693 # <limits.h> exists even on freestanding compilers.
10694 # On the NeXT, cc -E runs the code through the compiler's parser,
10695 # not just through cpp. "Syntax error" is here to catch this case.
10696 cat >conftest.$ac_ext <<_ACEOF
10697#line $LINENO "configure"
10698/* confdefs.h. */
10699_ACEOF
10700cat confdefs.h >>conftest.$ac_ext
10701cat >>conftest.$ac_ext <<_ACEOF
10702/* end confdefs.h. */
10703#ifdef __STDC__
10704# include <limits.h>
10705#else
10706# include <assert.h>
10707#endif
10708 Syntax error
10709_ACEOF
10710if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10712 ac_status=$?
10713 grep -v '^ *+' conftest.er1 >conftest.err
10714 rm -f conftest.er1
10715 cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } >/dev/null; then
10718 if test -s conftest.err; then
10719 ac_cpp_err=$ac_c_preproc_warn_flag
10720 else
10721 ac_cpp_err=
10722 fi
10723else
10724 ac_cpp_err=yes
10725fi
10726if test -z "$ac_cpp_err"; then
10727 :
10728else
10729 echo "$as_me: failed program was:" >&5
10730sed 's/^/| /' conftest.$ac_ext >&5
10731
10732 # Broken: fails on valid input.
10733continue
10734fi
10735rm -f conftest.err conftest.$ac_ext
10736
10737 # OK, works on sane cases. Now check whether non-existent headers
10738 # can be detected and how.
10739 cat >conftest.$ac_ext <<_ACEOF
10740#line $LINENO "configure"
10741/* confdefs.h. */
10742_ACEOF
10743cat confdefs.h >>conftest.$ac_ext
10744cat >>conftest.$ac_ext <<_ACEOF
10745/* end confdefs.h. */
10746#include <ac_nonexistent.h>
10747_ACEOF
10748if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10750 ac_status=$?
10751 grep -v '^ *+' conftest.er1 >conftest.err
10752 rm -f conftest.er1
10753 cat conftest.err >&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } >/dev/null; then
10756 if test -s conftest.err; then
10757 ac_cpp_err=$ac_c_preproc_warn_flag
10758 else
10759 ac_cpp_err=
10760 fi
10761else
10762 ac_cpp_err=yes
10763fi
10764if test -z "$ac_cpp_err"; then
10765 # Broken: success on invalid input.
10766continue
10767else
10768 echo "$as_me: failed program was:" >&5
10769sed 's/^/| /' conftest.$ac_ext >&5
10770
10771 # Passes both tests.
10772ac_preproc_ok=:
10773break
10774fi
10775rm -f conftest.err conftest.$ac_ext
10776
10777done
10778# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10779rm -f conftest.err conftest.$ac_ext
10780if $ac_preproc_ok; then
10781 :
10782else
10783 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10784See \`config.log' for more details." >&5
10785echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10786See \`config.log' for more details." >&2;}
10787 { (exit 1); exit 1; }; }
10788fi
10789
10790ac_ext=c
10791ac_cpp='$CPP $CPPFLAGS'
10792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10794ac_compiler_gnu=$ac_cv_c_compiler_gnu
10795
10796
10797echo "$as_me:$LINENO: checking for egrep" >&5
10798echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10799if test "${ac_cv_prog_egrep+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10801else
10802 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10803 then ac_cv_prog_egrep='grep -E'
10804 else ac_cv_prog_egrep='egrep'
10805 fi
10806fi
10807echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10808echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10809 EGREP=$ac_cv_prog_egrep
10810
10811
10812if test $ac_cv_c_compiler_gnu = yes; then
10813 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10814echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10815if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10817else
10818 ac_pattern="Autoconf.*'x'"
10819 cat >conftest.$ac_ext <<_ACEOF
10820#line $LINENO "configure"
10821/* confdefs.h. */
10822_ACEOF
10823cat confdefs.h >>conftest.$ac_ext
10824cat >>conftest.$ac_ext <<_ACEOF
10825/* end confdefs.h. */
10826#include <sgtty.h>
10827Autoconf TIOCGETP
10828_ACEOF
10829if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10830 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10831 ac_cv_prog_gcc_traditional=yes
10832else
10833 ac_cv_prog_gcc_traditional=no
10834fi
10835rm -f conftest*
10836
10837
10838 if test $ac_cv_prog_gcc_traditional = no; then
10839 cat >conftest.$ac_ext <<_ACEOF
10840#line $LINENO "configure"
10841/* confdefs.h. */
10842_ACEOF
10843cat confdefs.h >>conftest.$ac_ext
10844cat >>conftest.$ac_ext <<_ACEOF
10845/* end confdefs.h. */
10846#include <termio.h>
10847Autoconf TCGETA
10848_ACEOF
10849if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10850 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10851 ac_cv_prog_gcc_traditional=yes
10852fi
10853rm -f conftest*
10854
10855 fi
10856fi
10857echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10858echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10859 if test $ac_cv_prog_gcc_traditional = yes; then
10860 CC="$CC -traditional"
10861 fi
10862fi
10863
10864
10865
10866
10867ac_ext=cc
10868ac_cpp='$CXXCPP $CPPFLAGS'
10869ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10872
10873
10874CXXFLAGS=${CXXFLAGS:=}
10875ac_ext=cc
10876ac_cpp='$CXXCPP $CPPFLAGS'
10877ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10878ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10879ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10880if test -n "$ac_tool_prefix"; then
10881 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10882 do
10883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10884set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10885echo "$as_me:$LINENO: checking for $ac_word" >&5
10886echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10887if test "${ac_cv_prog_CXX+set}" = set; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10889else
10890 if test -n "$CXX"; then
10891 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10892else
10893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10894for as_dir in $PATH
10895do
10896 IFS=$as_save_IFS
10897 test -z "$as_dir" && as_dir=.
10898 for ac_exec_ext in '' $ac_executable_extensions; do
10899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10900 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10902 break 2
10903 fi
10904done
10905done
10906
10907fi
10908fi
10909CXX=$ac_cv_prog_CXX
10910if test -n "$CXX"; then
10911 echo "$as_me:$LINENO: result: $CXX" >&5
10912echo "${ECHO_T}$CXX" >&6
10913else
10914 echo "$as_me:$LINENO: result: no" >&5
10915echo "${ECHO_T}no" >&6
10916fi
10917
10918 test -n "$CXX" && break
10919 done
10920fi
10921if test -z "$CXX"; then
10922 ac_ct_CXX=$CXX
10923 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10924do
10925 # Extract the first word of "$ac_prog", so it can be a program name with args.
10926set dummy $ac_prog; ac_word=$2
10927echo "$as_me:$LINENO: checking for $ac_word" >&5
10928echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10929if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10931else
10932 if test -n "$ac_ct_CXX"; then
10933 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10934else
10935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10936for as_dir in $PATH
10937do
10938 IFS=$as_save_IFS
10939 test -z "$as_dir" && as_dir=.
10940 for ac_exec_ext in '' $ac_executable_extensions; do
10941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10942 ac_cv_prog_ac_ct_CXX="$ac_prog"
10943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10944 break 2
10945 fi
10946done
10947done
10948
10949fi
10950fi
10951ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10952if test -n "$ac_ct_CXX"; then
10953 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10954echo "${ECHO_T}$ac_ct_CXX" >&6
10955else
10956 echo "$as_me:$LINENO: result: no" >&5
10957echo "${ECHO_T}no" >&6
10958fi
10959
10960 test -n "$ac_ct_CXX" && break
10961done
10962test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10963
10964 CXX=$ac_ct_CXX
10965fi
10966
10967
10968# Provide some information about the compiler.
10969echo "$as_me:$LINENO:" \
10970 "checking for C++ compiler version" >&5
10971ac_compiler=`set X $ac_compile; echo $2`
10972{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10973 (eval $ac_compiler --version </dev/null >&5) 2>&5
10974 ac_status=$?
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }
10977{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10978 (eval $ac_compiler -v </dev/null >&5) 2>&5
10979 ac_status=$?
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }
10982{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10983 (eval $ac_compiler -V </dev/null >&5) 2>&5
10984 ac_status=$?
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }
10987
10988echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10989echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10990if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10991 echo $ECHO_N "(cached) $ECHO_C" >&6
10992else
10993 cat >conftest.$ac_ext <<_ACEOF
10994#line $LINENO "configure"
10995/* confdefs.h. */
10996_ACEOF
10997cat confdefs.h >>conftest.$ac_ext
10998cat >>conftest.$ac_ext <<_ACEOF
10999/* end confdefs.h. */
11000
11001int
11002main ()
11003{
11004#ifndef __GNUC__
11005 choke me
11006#endif
11007
11008 ;
11009 return 0;
11010}
11011_ACEOF
11012rm -f conftest.$ac_objext
11013if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11014 (eval $ac_compile) 2>&5
11015 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } &&
11018 { ac_try='test -s conftest.$ac_objext'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11021 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then
11024 ac_compiler_gnu=yes
11025else
11026 echo "$as_me: failed program was:" >&5
11027sed 's/^/| /' conftest.$ac_ext >&5
11028
11029ac_compiler_gnu=no
11030fi
11031rm -f conftest.$ac_objext conftest.$ac_ext
11032ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11033
11034fi
11035echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11036echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11037GXX=`test $ac_compiler_gnu = yes && echo yes`
11038ac_test_CXXFLAGS=${CXXFLAGS+set}
11039ac_save_CXXFLAGS=$CXXFLAGS
11040CXXFLAGS="-g"
11041echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11042echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11043if test "${ac_cv_prog_cxx_g+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11045else
11046 cat >conftest.$ac_ext <<_ACEOF
11047#line $LINENO "configure"
11048/* confdefs.h. */
11049_ACEOF
11050cat confdefs.h >>conftest.$ac_ext
11051cat >>conftest.$ac_ext <<_ACEOF
11052/* end confdefs.h. */
11053
11054int
11055main ()
11056{
11057
11058 ;
11059 return 0;
11060}
11061_ACEOF
11062rm -f conftest.$ac_objext
11063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11064 (eval $ac_compile) 2>&5
11065 ac_status=$?
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } &&
11068 { ac_try='test -s conftest.$ac_objext'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11071 ac_status=$?
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; }; then
11074 ac_cv_prog_cxx_g=yes
11075else
11076 echo "$as_me: failed program was:" >&5
11077sed 's/^/| /' conftest.$ac_ext >&5
11078
11079ac_cv_prog_cxx_g=no
11080fi
11081rm -f conftest.$ac_objext conftest.$ac_ext
11082fi
11083echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11084echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11085if test "$ac_test_CXXFLAGS" = set; then
11086 CXXFLAGS=$ac_save_CXXFLAGS
11087elif test $ac_cv_prog_cxx_g = yes; then
11088 if test "$GXX" = yes; then
11089 CXXFLAGS="-g -O2"
11090 else
11091 CXXFLAGS="-g"
11092 fi
11093else
11094 if test "$GXX" = yes; then
11095 CXXFLAGS="-O2"
11096 else
11097 CXXFLAGS=
11098 fi
11099fi
11100for ac_declaration in \
11101 ''\
11102 '#include <stdlib.h>' \
11103 'extern "C" void std::exit (int) throw (); using std::exit;' \
11104 'extern "C" void std::exit (int); using std::exit;' \
11105 'extern "C" void exit (int) throw ();' \
11106 'extern "C" void exit (int);' \
11107 'void exit (int);'
11108do
11109 cat >conftest.$ac_ext <<_ACEOF
11110#line $LINENO "configure"
11111/* confdefs.h. */
11112_ACEOF
11113cat confdefs.h >>conftest.$ac_ext
11114cat >>conftest.$ac_ext <<_ACEOF
11115/* end confdefs.h. */
11116#include <stdlib.h>
11117$ac_declaration
11118int
11119main ()
11120{
11121exit (42);
11122 ;
11123 return 0;
11124}
11125_ACEOF
11126rm -f conftest.$ac_objext
11127if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>&5
11129 ac_status=$?
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } &&
11132 { ac_try='test -s conftest.$ac_objext'
11133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11134 (eval $ac_try) 2>&5
11135 ac_status=$?
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); }; }; then
11138 :
11139else
11140 echo "$as_me: failed program was:" >&5
11141sed 's/^/| /' conftest.$ac_ext >&5
11142
11143continue
11144fi
11145rm -f conftest.$ac_objext conftest.$ac_ext
11146 cat >conftest.$ac_ext <<_ACEOF
11147#line $LINENO "configure"
11148/* confdefs.h. */
11149_ACEOF
11150cat confdefs.h >>conftest.$ac_ext
11151cat >>conftest.$ac_ext <<_ACEOF
11152/* end confdefs.h. */
11153$ac_declaration
11154int
11155main ()
11156{
11157exit (42);
11158 ;
11159 return 0;
11160}
11161_ACEOF
11162rm -f conftest.$ac_objext
11163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11164 (eval $ac_compile) 2>&5
11165 ac_status=$?
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); } &&
11168 { ac_try='test -s conftest.$ac_objext'
11169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11170 (eval $ac_try) 2>&5
11171 ac_status=$?
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); }; }; then
11174 break
11175else
11176 echo "$as_me: failed program was:" >&5
11177sed 's/^/| /' conftest.$ac_ext >&5
11178
11179fi
11180rm -f conftest.$ac_objext conftest.$ac_ext
11181done
11182rm -f conftest*
11183if test -n "$ac_declaration"; then
11184 echo '#ifdef __cplusplus' >>confdefs.h
11185 echo $ac_declaration >>confdefs.h
11186 echo '#endif' >>confdefs.h
11187fi
11188
11189ac_ext=cc
11190ac_cpp='$CXXCPP $CPPFLAGS'
11191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11194
11195
11196ac_ext=c
11197ac_cpp='$CPP $CPPFLAGS'
11198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11200ac_compiler_gnu=$ac_cv_c_compiler_gnu
11201
11202
11203if test -n "$ac_tool_prefix"; then
11204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11205set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11206echo "$as_me:$LINENO: checking for $ac_word" >&5
11207echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11208if test "${ac_cv_prog_RANLIB+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11210else
11211 if test -n "$RANLIB"; then
11212 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11213else
11214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11215for as_dir in $PATH
11216do
11217 IFS=$as_save_IFS
11218 test -z "$as_dir" && as_dir=.
11219 for ac_exec_ext in '' $ac_executable_extensions; do
11220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11221 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11223 break 2
11224 fi
11225done
11226done
11227
11228fi
11229fi
11230RANLIB=$ac_cv_prog_RANLIB
11231if test -n "$RANLIB"; then
11232 echo "$as_me:$LINENO: result: $RANLIB" >&5
11233echo "${ECHO_T}$RANLIB" >&6
11234else
11235 echo "$as_me:$LINENO: result: no" >&5
11236echo "${ECHO_T}no" >&6
11237fi
11238
11239fi
11240if test -z "$ac_cv_prog_RANLIB"; then
11241 ac_ct_RANLIB=$RANLIB
11242 # Extract the first word of "ranlib", so it can be a program name with args.
11243set dummy ranlib; ac_word=$2
11244echo "$as_me:$LINENO: checking for $ac_word" >&5
11245echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11246if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11248else
11249 if test -n "$ac_ct_RANLIB"; then
11250 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11251else
11252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11253for as_dir in $PATH
11254do
11255 IFS=$as_save_IFS
11256 test -z "$as_dir" && as_dir=.
11257 for ac_exec_ext in '' $ac_executable_extensions; do
11258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11259 ac_cv_prog_ac_ct_RANLIB="ranlib"
11260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11261 break 2
11262 fi
11263done
11264done
11265
11266 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11267fi
11268fi
11269ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11270if test -n "$ac_ct_RANLIB"; then
11271 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11272echo "${ECHO_T}$ac_ct_RANLIB" >&6
11273else
11274 echo "$as_me:$LINENO: result: no" >&5
11275echo "${ECHO_T}no" >&6
11276fi
11277
11278 RANLIB=$ac_ct_RANLIB
11279else
11280 RANLIB="$ac_cv_prog_RANLIB"
11281fi
11282
11283
11284# Extract the first word of "ar", so it can be a program name with args.
11285set dummy ar; ac_word=$2
11286echo "$as_me:$LINENO: checking for $ac_word" >&5
11287echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11288if test "${ac_cv_prog_AR+set}" = set; then
11289 echo $ECHO_N "(cached) $ECHO_C" >&6
11290else
11291 if test -n "$AR"; then
11292 ac_cv_prog_AR="$AR" # Let the user override the test.
11293else
11294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11295for as_dir in $PATH
11296do
11297 IFS=$as_save_IFS
11298 test -z "$as_dir" && as_dir=.
11299 for ac_exec_ext in '' $ac_executable_extensions; do
11300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11301 ac_cv_prog_AR="ar"
11302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11303 break 2
11304 fi
11305done
11306done
11307
11308 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11309fi
11310fi
11311AR=$ac_cv_prog_AR
11312if test -n "$AR"; then
11313 echo "$as_me:$LINENO: result: $AR" >&5
11314echo "${ECHO_T}$AR" >&6
11315else
11316 echo "$as_me:$LINENO: result: no" >&5
11317echo "${ECHO_T}no" >&6
11318fi
11319
11320
11321# Find a good install program. We prefer a C program (faster),
11322# so one script is as good as another. But avoid the broken or
11323# incompatible versions:
11324# SysV /etc/install, /usr/sbin/install
11325# SunOS /usr/etc/install
11326# IRIX /sbin/install
11327# AIX /bin/install
11328# AmigaOS /C/install, which installs bootblocks on floppy discs
11329# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11330# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11331# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11332# ./install, which can be erroneously created by make from ./install.sh.
11333echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11334echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11335if test -z "$INSTALL"; then
11336if test "${ac_cv_path_install+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11338else
11339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11340for as_dir in $PATH
11341do
11342 IFS=$as_save_IFS
11343 test -z "$as_dir" && as_dir=.
11344 # Account for people who put trailing slashes in PATH elements.
11345case $as_dir/ in
11346 ./ | .// | /cC/* | \
11347 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11348 /usr/ucb/* ) ;;
11349 *)
11350 # OSF1 and SCO ODT 3.0 have their own names for install.
11351 # Don't use installbsd from OSF since it installs stuff as root
11352 # by default.
11353 for ac_prog in ginstall scoinst install; do
11354 for ac_exec_ext in '' $ac_executable_extensions; do
11355 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11356 if test $ac_prog = install &&
11357 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11358 # AIX install. It has an incompatible calling convention.
11359 :
11360 elif test $ac_prog = install &&
11361 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11362 # program-specific install script used by HP pwplus--don't use.
11363 :
11364 else
11365 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11366 break 3
11367 fi
11368 fi
11369 done
11370 done
11371 ;;
11372esac
11373done
11374
11375
11376fi
11377 if test "${ac_cv_path_install+set}" = set; then
11378 INSTALL=$ac_cv_path_install
11379 else
11380 # As a last resort, use the slow shell script. We don't cache a
11381 # path for INSTALL within a source directory, because that will
11382 # break other packages using the cache if that directory is
11383 # removed, or if the path is relative.
11384 INSTALL=$ac_install_sh
11385 fi
11386fi
11387echo "$as_me:$LINENO: result: $INSTALL" >&5
11388echo "${ECHO_T}$INSTALL" >&6
11389
11390# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11391# It thinks the first close brace ends the variable substitution.
11392test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11393
11394test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11395
11396test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11397
11398
11399case ${INSTALL} in
11400 /* ) # Absolute
11401 ;;
11402 ?:* ) # Drive letter, considered as absolute.
11403 ;;
11404 *)
11405 INSTALL=`pwd`/${INSTALL} ;;
11406esac
11407
11408case ${host} in
11409 *-hp-hpux* )
11410 INSTALL_DIR="mkdir"
11411 ;;
11412
11413 *) INSTALL_DIR="$INSTALL -d"
11414 ;;
11415esac
11416
11417
11418case "${host}" in
11419
11420 powerpc-*-darwin* )
11421 INSTALL_PROGRAM="cp -fp"
11422 INSTALL_DATA="cp -fp"
11423 ;;
11424 *)
11425 ;;
11426esac
11427
11428# Extract the first word of "strip", so it can be a program name with args.
11429set dummy strip; ac_word=$2
11430echo "$as_me:$LINENO: checking for $ac_word" >&5
11431echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11432if test "${ac_cv_prog_STRIP+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11434else
11435 if test -n "$STRIP"; then
11436 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11437else
11438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11439for as_dir in $PATH
11440do
11441 IFS=$as_save_IFS
11442 test -z "$as_dir" && as_dir=.
11443 for ac_exec_ext in '' $ac_executable_extensions; do
11444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_prog_STRIP="strip"
11446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11447 break 2
11448 fi
11449done
11450done
11451
11452 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11453fi
11454fi
11455STRIP=$ac_cv_prog_STRIP
11456if test -n "$STRIP"; then
11457 echo "$as_me:$LINENO: result: $STRIP" >&5
11458echo "${ECHO_T}$STRIP" >&6
11459else
11460 echo "$as_me:$LINENO: result: no" >&5
11461echo "${ECHO_T}no" >&6
11462fi
11463
11464
11465echo "$as_me:$LINENO: checking if make is GNU make" >&5
11466echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11467if test "${wx_cv_prog_makeisgnu+set}" = set; then
11468 echo $ECHO_N "(cached) $ECHO_C" >&6
11469else
11470
11471 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11472 egrep -s GNU > /dev/null); then
11473 wx_cv_prog_makeisgnu="yes"
11474 else
11475 wx_cv_prog_makeisgnu="no"
11476 fi
11477
11478fi
11479echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11480echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11481
11482if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11483 IF_GNU_MAKE=""
11484else
11485 IF_GNU_MAKE="#"
11486fi
11487
11488
11489
11490if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11491echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11492echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11493if test "${wx_cv_prog_makevpath+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11495else
11496
11497cat - << EOF > confMake
11498check : file
11499 cp \$? \$@
11500 cp \$? final_file
11501EOF
11502
11503if test ! -d sub ; then
11504 mkdir sub
11505fi
11506echo dummy > sub/file
11507${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11508RESULT=$?
11509rm -f sub/file check final_file confMake
11510rmdir sub
11511if test "$RESULT" = 0; then
11512 wx_cv_prog_makevpath="yes"
11513else
11514 wx_cv_prog_makevpath="no"
11515fi
11516
11517fi
11518echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11519echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11520
11521if test "x$wx_cv_prog_makevpath" != "xyes"; then
11522{ { echo "$as_me:$LINENO: error:
11523You need a make-utility that is able to use the variable
11524VPATH correctly.
11525If your version of make does not support VPATH correctly,
11526please install GNU-make (possibly as gmake), and start
11527configure with the following command:
11528export MAKE=gmake; ./configure for sh-type shells
11529setenv MAKE gmake; ./configure for csh-type shells
11530Also please do remember to use gmake in this case every time
11531you are trying to compile.
11532" >&5
11533echo "$as_me: error:
11534You need a make-utility that is able to use the variable
11535VPATH correctly.
11536If your version of make does not support VPATH correctly,
11537please install GNU-make (possibly as gmake), and start
11538configure with the following command:
11539export MAKE=gmake; ./configure for sh-type shells
11540setenv MAKE gmake; ./configure for csh-type shells
11541Also please do remember to use gmake in this case every time
11542you are trying to compile.
11543" >&2;}
11544 { (exit 1); exit 1; }; }
11545fi fi
11546for ac_prog in 'bison -y' byacc
11547do
11548 # Extract the first word of "$ac_prog", so it can be a program name with args.
11549set dummy $ac_prog; ac_word=$2
11550echo "$as_me:$LINENO: checking for $ac_word" >&5
11551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11552if test "${ac_cv_prog_YACC+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11554else
11555 if test -n "$YACC"; then
11556 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11557else
11558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11559for as_dir in $PATH
11560do
11561 IFS=$as_save_IFS
11562 test -z "$as_dir" && as_dir=.
11563 for ac_exec_ext in '' $ac_executable_extensions; do
11564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_YACC="$ac_prog"
11566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11567 break 2
11568 fi
11569done
11570done
11571
11572fi
11573fi
11574YACC=$ac_cv_prog_YACC
11575if test -n "$YACC"; then
11576 echo "$as_me:$LINENO: result: $YACC" >&5
11577echo "${ECHO_T}$YACC" >&6
11578else
11579 echo "$as_me:$LINENO: result: no" >&5
11580echo "${ECHO_T}no" >&6
11581fi
11582
11583 test -n "$YACC" && break
11584done
11585test -n "$YACC" || YACC="yacc"
11586
11587
11588for ac_prog in flex lex
11589do
11590 # Extract the first word of "$ac_prog", so it can be a program name with args.
11591set dummy $ac_prog; ac_word=$2
11592echo "$as_me:$LINENO: checking for $ac_word" >&5
11593echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11594if test "${ac_cv_prog_LEX+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11596else
11597 if test -n "$LEX"; then
11598 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11599else
11600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11601for as_dir in $PATH
11602do
11603 IFS=$as_save_IFS
11604 test -z "$as_dir" && as_dir=.
11605 for ac_exec_ext in '' $ac_executable_extensions; do
11606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11607 ac_cv_prog_LEX="$ac_prog"
11608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11609 break 2
11610 fi
11611done
11612done
11613
11614fi
11615fi
11616LEX=$ac_cv_prog_LEX
11617if test -n "$LEX"; then
11618 echo "$as_me:$LINENO: result: $LEX" >&5
11619echo "${ECHO_T}$LEX" >&6
11620else
11621 echo "$as_me:$LINENO: result: no" >&5
11622echo "${ECHO_T}no" >&6
11623fi
11624
11625 test -n "$LEX" && break
11626done
11627test -n "$LEX" || LEX=":"
11628
11629if test -z "$LEXLIB"
11630then
11631 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11632echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11633if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11635else
11636 ac_check_lib_save_LIBS=$LIBS
11637LIBS="-lfl $LIBS"
11638cat >conftest.$ac_ext <<_ACEOF
11639#line $LINENO "configure"
11640/* confdefs.h. */
11641_ACEOF
11642cat confdefs.h >>conftest.$ac_ext
11643cat >>conftest.$ac_ext <<_ACEOF
11644/* end confdefs.h. */
11645
11646/* Override any gcc2 internal prototype to avoid an error. */
11647#ifdef __cplusplus
11648extern "C"
11649#endif
11650/* We use char because int might match the return type of a gcc2
11651 builtin and then its argument prototype would still apply. */
11652char yywrap ();
11653int
11654main ()
11655{
11656yywrap ();
11657 ;
11658 return 0;
11659}
11660_ACEOF
11661rm -f conftest.$ac_objext conftest$ac_exeext
11662if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11663 (eval $ac_link) 2>&5
11664 ac_status=$?
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); } &&
11667 { ac_try='test -s conftest$ac_exeext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11670 ac_status=$?
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 ac_cv_lib_fl_yywrap=yes
11674else
11675 echo "$as_me: failed program was:" >&5
11676sed 's/^/| /' conftest.$ac_ext >&5
11677
11678ac_cv_lib_fl_yywrap=no
11679fi
11680rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11681LIBS=$ac_check_lib_save_LIBS
11682fi
11683echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11684echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11685if test $ac_cv_lib_fl_yywrap = yes; then
11686 LEXLIB="-lfl"
11687else
11688 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11689echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11690if test "${ac_cv_lib_l_yywrap+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11692else
11693 ac_check_lib_save_LIBS=$LIBS
11694LIBS="-ll $LIBS"
11695cat >conftest.$ac_ext <<_ACEOF
11696#line $LINENO "configure"
11697/* confdefs.h. */
11698_ACEOF
11699cat confdefs.h >>conftest.$ac_ext
11700cat >>conftest.$ac_ext <<_ACEOF
11701/* end confdefs.h. */
11702
11703/* Override any gcc2 internal prototype to avoid an error. */
11704#ifdef __cplusplus
11705extern "C"
11706#endif
11707/* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11709char yywrap ();
11710int
11711main ()
11712{
11713yywrap ();
11714 ;
11715 return 0;
11716}
11717_ACEOF
11718rm -f conftest.$ac_objext conftest$ac_exeext
11719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>&5
11721 ac_status=$?
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } &&
11724 { ac_try='test -s conftest$ac_exeext'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11727 ac_status=$?
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; }; then
11730 ac_cv_lib_l_yywrap=yes
11731else
11732 echo "$as_me: failed program was:" >&5
11733sed 's/^/| /' conftest.$ac_ext >&5
11734
11735ac_cv_lib_l_yywrap=no
11736fi
11737rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11738LIBS=$ac_check_lib_save_LIBS
11739fi
11740echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11741echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11742if test $ac_cv_lib_l_yywrap = yes; then
11743 LEXLIB="-ll"
11744fi
11745
11746fi
11747
11748fi
11749
11750if test "x$LEX" != "x:"; then
11751 echo "$as_me:$LINENO: checking lex output file root" >&5
11752echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11753if test "${ac_cv_prog_lex_root+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11755else
11756 # The minimal lex program is just a single line: %%. But some broken lexes
11757# (Solaris, I think it was) want two %% lines, so accommodate them.
11758cat >conftest.l <<_ACEOF
11759%%
11760%%
11761_ACEOF
11762{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11763 (eval $LEX conftest.l) 2>&5
11764 ac_status=$?
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }
11767if test -f lex.yy.c; then
11768 ac_cv_prog_lex_root=lex.yy
11769elif test -f lexyy.c; then
11770 ac_cv_prog_lex_root=lexyy
11771else
11772 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11773echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11774 { (exit 1); exit 1; }; }
11775fi
11776fi
11777echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11778echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11779rm -f conftest.l
11780LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11781
11782echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11783echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11784if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11785 echo $ECHO_N "(cached) $ECHO_C" >&6
11786else
11787 # POSIX says lex can declare yytext either as a pointer or an array; the
11788# default is implementation-dependent. Figure out which it is, since
11789# not all implementations provide the %pointer and %array declarations.
11790ac_cv_prog_lex_yytext_pointer=no
11791echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11792ac_save_LIBS=$LIBS
11793LIBS="$LIBS $LEXLIB"
11794cat >conftest.$ac_ext <<_ACEOF
11795`cat $LEX_OUTPUT_ROOT.c`
11796_ACEOF
11797rm -f conftest.$ac_objext conftest$ac_exeext
11798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11799 (eval $ac_link) 2>&5
11800 ac_status=$?
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); } &&
11803 { ac_try='test -s conftest$ac_exeext'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11806 ac_status=$?
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; }; then
11809 ac_cv_prog_lex_yytext_pointer=yes
11810else
11811 echo "$as_me: failed program was:" >&5
11812sed 's/^/| /' conftest.$ac_ext >&5
11813
11814fi
11815rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11816LIBS=$ac_save_LIBS
11817rm -f "${LEX_OUTPUT_ROOT}.c"
11818
11819fi
11820echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11821echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11822if test $ac_cv_prog_lex_yytext_pointer = yes; then
11823
11824cat >>confdefs.h <<\_ACEOF
11825#define YYTEXT_POINTER 1
11826_ACEOF
11827
11828fi
11829
11830fi
11831
11832echo "$as_me:$LINENO: checking whether ln -s works" >&5
11833echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11834LN_S=$as_ln_s
11835if test "$LN_S" = "ln -s"; then
11836 echo "$as_me:$LINENO: result: yes" >&5
11837echo "${ECHO_T}yes" >&6
11838else
11839 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11840echo "${ECHO_T}no, using $LN_S" >&6
11841fi
11842
11843
11844case "${host}" in
11845 *-pc-os2_emx | *-pc-os2-emx )
11846 LIBS="$LIBS -lstdcpp"
11847 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11848 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11849echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11850if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11852else
11853 ac_check_lib_save_LIBS=$LIBS
11854LIBS="-lcExt $LIBS"
11855cat >conftest.$ac_ext <<_ACEOF
11856#line $LINENO "configure"
11857/* confdefs.h. */
11858_ACEOF
11859cat confdefs.h >>conftest.$ac_ext
11860cat >>conftest.$ac_ext <<_ACEOF
11861/* end confdefs.h. */
11862
11863/* Override any gcc2 internal prototype to avoid an error. */
11864#ifdef __cplusplus
11865extern "C"
11866#endif
11867/* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11869char drand48 ();
11870int
11871main ()
11872{
11873drand48 ();
11874 ;
11875 return 0;
11876}
11877_ACEOF
11878rm -f conftest.$ac_objext conftest$ac_exeext
11879if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>&5
11881 ac_status=$?
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try='test -s conftest$ac_exeext'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11887 ac_status=$?
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 ac_cv_lib_cExt_drand48=yes
11891else
11892 echo "$as_me: failed program was:" >&5
11893sed 's/^/| /' conftest.$ac_ext >&5
11894
11895ac_cv_lib_cExt_drand48=no
11896fi
11897rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11898LIBS=$ac_check_lib_save_LIBS
11899fi
11900echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11901echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11902if test $ac_cv_lib_cExt_drand48 = yes; then
11903 LIBS="$LIBS -lcExt"
11904fi
11905
11906 else
11907 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11908 fi
11909 ;;
11910esac
11911
11912
11913if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11914 echo "$as_me:$LINENO: checking for strings.h" >&5
11915echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11916if test "${ac_cv_header_strings_h+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11918else
11919 ac_cv_header_strings_h=no
11920fi
11921echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11922echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11923 if test "$ac_cv_header_strings_h" = "no"; then
11924 echo "$as_me:$LINENO: result: forced no into cache" >&5
11925echo "${ECHO_T}forced no into cache" >&6
11926 else
11927 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11928echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11929 fi
11930fi
11931echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11932echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11933if test "${ac_cv_header_stdc+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11935else
11936 cat >conftest.$ac_ext <<_ACEOF
11937#line $LINENO "configure"
11938/* confdefs.h. */
11939_ACEOF
11940cat confdefs.h >>conftest.$ac_ext
11941cat >>conftest.$ac_ext <<_ACEOF
11942/* end confdefs.h. */
11943#include <stdlib.h>
11944#include <stdarg.h>
11945#include <string.h>
11946#include <float.h>
11947
11948int
11949main ()
11950{
11951
11952 ;
11953 return 0;
11954}
11955_ACEOF
11956rm -f conftest.$ac_objext
11957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11958 (eval $ac_compile) 2>&5
11959 ac_status=$?
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } &&
11962 { ac_try='test -s conftest.$ac_objext'
11963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11964 (eval $ac_try) 2>&5
11965 ac_status=$?
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); }; }; then
11968 ac_cv_header_stdc=yes
11969else
11970 echo "$as_me: failed program was:" >&5
11971sed 's/^/| /' conftest.$ac_ext >&5
11972
11973ac_cv_header_stdc=no
11974fi
11975rm -f conftest.$ac_objext conftest.$ac_ext
11976
11977if test $ac_cv_header_stdc = yes; then
11978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11979 cat >conftest.$ac_ext <<_ACEOF
11980#line $LINENO "configure"
11981/* confdefs.h. */
11982_ACEOF
11983cat confdefs.h >>conftest.$ac_ext
11984cat >>conftest.$ac_ext <<_ACEOF
11985/* end confdefs.h. */
11986#include <string.h>
11987
11988_ACEOF
11989if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11990 $EGREP "memchr" >/dev/null 2>&1; then
11991 :
11992else
11993 ac_cv_header_stdc=no
11994fi
11995rm -f conftest*
11996
11997fi
11998
11999if test $ac_cv_header_stdc = yes; then
12000 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12001 cat >conftest.$ac_ext <<_ACEOF
12002#line $LINENO "configure"
12003/* confdefs.h. */
12004_ACEOF
12005cat confdefs.h >>conftest.$ac_ext
12006cat >>conftest.$ac_ext <<_ACEOF
12007/* end confdefs.h. */
12008#include <stdlib.h>
12009
12010_ACEOF
12011if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12012 $EGREP "free" >/dev/null 2>&1; then
12013 :
12014else
12015 ac_cv_header_stdc=no
12016fi
12017rm -f conftest*
12018
12019fi
12020
12021if test $ac_cv_header_stdc = yes; then
12022 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12023 if test "$cross_compiling" = yes; then
12024 :
12025else
12026 cat >conftest.$ac_ext <<_ACEOF
12027#line $LINENO "configure"
12028/* confdefs.h. */
12029_ACEOF
12030cat confdefs.h >>conftest.$ac_ext
12031cat >>conftest.$ac_ext <<_ACEOF
12032/* end confdefs.h. */
12033#include <ctype.h>
12034#if ((' ' & 0x0FF) == 0x020)
12035# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12036# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12037#else
12038# define ISLOWER(c) \
12039 (('a' <= (c) && (c) <= 'i') \
12040 || ('j' <= (c) && (c) <= 'r') \
12041 || ('s' <= (c) && (c) <= 'z'))
12042# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12043#endif
12044
12045#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12046int
12047main ()
12048{
12049 int i;
12050 for (i = 0; i < 256; i++)
12051 if (XOR (islower (i), ISLOWER (i))
12052 || toupper (i) != TOUPPER (i))
12053 exit(2);
12054 exit (0);
12055}
12056_ACEOF
12057rm -f conftest$ac_exeext
12058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>&5
12060 ac_status=$?
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12065 ac_status=$?
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; }; then
12068 :
12069else
12070 echo "$as_me: program exited with status $ac_status" >&5
12071echo "$as_me: failed program was:" >&5
12072sed 's/^/| /' conftest.$ac_ext >&5
12073
12074( exit $ac_status )
12075ac_cv_header_stdc=no
12076fi
12077rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12078fi
12079fi
12080fi
12081echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12082echo "${ECHO_T}$ac_cv_header_stdc" >&6
12083if test $ac_cv_header_stdc = yes; then
12084
12085cat >>confdefs.h <<\_ACEOF
12086#define STDC_HEADERS 1
12087_ACEOF
12088
12089fi
12090
12091# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12102 inttypes.h stdint.h unistd.h
12103do
12104as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12105echo "$as_me:$LINENO: checking for $ac_header" >&5
12106echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12107if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12109else
12110 cat >conftest.$ac_ext <<_ACEOF
12111#line $LINENO "configure"
12112/* confdefs.h. */
12113_ACEOF
12114cat confdefs.h >>conftest.$ac_ext
12115cat >>conftest.$ac_ext <<_ACEOF
12116/* end confdefs.h. */
12117$ac_includes_default
12118
12119#include <$ac_header>
12120_ACEOF
12121rm -f conftest.$ac_objext
12122if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12123 (eval $ac_compile) 2>&5
12124 ac_status=$?
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try='test -s conftest.$ac_objext'
12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12130 ac_status=$?
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12133 eval "$as_ac_Header=yes"
12134else
12135 echo "$as_me: failed program was:" >&5
12136sed 's/^/| /' conftest.$ac_ext >&5
12137
12138eval "$as_ac_Header=no"
12139fi
12140rm -f conftest.$ac_objext conftest.$ac_ext
12141fi
12142echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12143echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12144if test `eval echo '${'$as_ac_Header'}'` = yes; then
12145 cat >>confdefs.h <<_ACEOF
12146#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12147_ACEOF
12148
12149fi
12150
12151done
12152
12153
12154
12155for ac_header in strings.h
12156do
12157as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12158if eval "test \"\${$as_ac_Header+set}\" = set"; then
12159 echo "$as_me:$LINENO: checking for $ac_header" >&5
12160echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12161if eval "test \"\${$as_ac_Header+set}\" = set"; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12163fi
12164echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12165echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12166else
12167 # Is the header compilable?
12168echo "$as_me:$LINENO: checking $ac_header usability" >&5
12169echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12170cat >conftest.$ac_ext <<_ACEOF
12171#line $LINENO "configure"
12172/* confdefs.h. */
12173_ACEOF
12174cat confdefs.h >>conftest.$ac_ext
12175cat >>conftest.$ac_ext <<_ACEOF
12176/* end confdefs.h. */
12177$ac_includes_default
12178#include <$ac_header>
12179_ACEOF
12180rm -f conftest.$ac_objext
12181if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>&5
12183 ac_status=$?
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try='test -s conftest.$ac_objext'
12187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12188 (eval $ac_try) 2>&5
12189 ac_status=$?
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); }; }; then
12192 ac_header_compiler=yes
12193else
12194 echo "$as_me: failed program was:" >&5
12195sed 's/^/| /' conftest.$ac_ext >&5
12196
12197ac_header_compiler=no
12198fi
12199rm -f conftest.$ac_objext conftest.$ac_ext
12200echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12201echo "${ECHO_T}$ac_header_compiler" >&6
12202
12203# Is the header present?
12204echo "$as_me:$LINENO: checking $ac_header presence" >&5
12205echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12206cat >conftest.$ac_ext <<_ACEOF
12207#line $LINENO "configure"
12208/* confdefs.h. */
12209_ACEOF
12210cat confdefs.h >>conftest.$ac_ext
12211cat >>conftest.$ac_ext <<_ACEOF
12212/* end confdefs.h. */
12213#include <$ac_header>
12214_ACEOF
12215if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12217 ac_status=$?
12218 grep -v '^ *+' conftest.er1 >conftest.err
12219 rm -f conftest.er1
12220 cat conftest.err >&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } >/dev/null; then
12223 if test -s conftest.err; then
12224 ac_cpp_err=$ac_c_preproc_warn_flag
12225 else
12226 ac_cpp_err=
12227 fi
12228else
12229 ac_cpp_err=yes
12230fi
12231if test -z "$ac_cpp_err"; then
12232 ac_header_preproc=yes
12233else
12234 echo "$as_me: failed program was:" >&5
12235sed 's/^/| /' conftest.$ac_ext >&5
12236
12237 ac_header_preproc=no
12238fi
12239rm -f conftest.err conftest.$ac_ext
12240echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12241echo "${ECHO_T}$ac_header_preproc" >&6
12242
12243# So? What about this header?
12244case $ac_header_compiler:$ac_header_preproc in
12245 yes:no )
12246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12247echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12249echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12250 (
12251 cat <<\_ASBOX
12252## ------------------------------------ ##
12253## Report this to bug-autoconf@gnu.org. ##
12254## ------------------------------------ ##
12255_ASBOX
12256 ) |
12257 sed "s/^/$as_me: WARNING: /" >&2
12258 ;;
12259 no:yes )
12260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12261echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12263echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12265echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12266 (
12267 cat <<\_ASBOX
12268## ------------------------------------ ##
12269## Report this to bug-autoconf@gnu.org. ##
12270## ------------------------------------ ##
12271_ASBOX
12272 ) |
12273 sed "s/^/$as_me: WARNING: /" >&2
12274 ;;
12275esac
12276echo "$as_me:$LINENO: checking for $ac_header" >&5
12277echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12278if eval "test \"\${$as_ac_Header+set}\" = set"; then
12279 echo $ECHO_N "(cached) $ECHO_C" >&6
12280else
12281 eval "$as_ac_Header=$ac_header_preproc"
12282fi
12283echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12284echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12285
12286fi
12287if test `eval echo '${'$as_ac_Header'}'` = yes; then
12288 cat >>confdefs.h <<_ACEOF
12289#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12290_ACEOF
12291
12292fi
12293
12294done
12295
12296
12297
12298for ac_header in stdlib.h
12299do
12300as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12301if eval "test \"\${$as_ac_Header+set}\" = set"; then
12302 echo "$as_me:$LINENO: checking for $ac_header" >&5
12303echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12304if eval "test \"\${$as_ac_Header+set}\" = set"; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12306fi
12307echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12308echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12309else
12310 # Is the header compilable?
12311echo "$as_me:$LINENO: checking $ac_header usability" >&5
12312echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12313cat >conftest.$ac_ext <<_ACEOF
12314#line $LINENO "configure"
12315/* confdefs.h. */
12316_ACEOF
12317cat confdefs.h >>conftest.$ac_ext
12318cat >>conftest.$ac_ext <<_ACEOF
12319/* end confdefs.h. */
12320$ac_includes_default
12321#include <$ac_header>
12322_ACEOF
12323rm -f conftest.$ac_objext
12324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12325 (eval $ac_compile) 2>&5
12326 ac_status=$?
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } &&
12329 { ac_try='test -s conftest.$ac_objext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12332 ac_status=$?
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 ac_header_compiler=yes
12336else
12337 echo "$as_me: failed program was:" >&5
12338sed 's/^/| /' conftest.$ac_ext >&5
12339
12340ac_header_compiler=no
12341fi
12342rm -f conftest.$ac_objext conftest.$ac_ext
12343echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12344echo "${ECHO_T}$ac_header_compiler" >&6
12345
12346# Is the header present?
12347echo "$as_me:$LINENO: checking $ac_header presence" >&5
12348echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12349cat >conftest.$ac_ext <<_ACEOF
12350#line $LINENO "configure"
12351/* confdefs.h. */
12352_ACEOF
12353cat confdefs.h >>conftest.$ac_ext
12354cat >>conftest.$ac_ext <<_ACEOF
12355/* end confdefs.h. */
12356#include <$ac_header>
12357_ACEOF
12358if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12360 ac_status=$?
12361 grep -v '^ *+' conftest.er1 >conftest.err
12362 rm -f conftest.er1
12363 cat conftest.err >&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } >/dev/null; then
12366 if test -s conftest.err; then
12367 ac_cpp_err=$ac_c_preproc_warn_flag
12368 else
12369 ac_cpp_err=
12370 fi
12371else
12372 ac_cpp_err=yes
12373fi
12374if test -z "$ac_cpp_err"; then
12375 ac_header_preproc=yes
12376else
12377 echo "$as_me: failed program was:" >&5
12378sed 's/^/| /' conftest.$ac_ext >&5
12379
12380 ac_header_preproc=no
12381fi
12382rm -f conftest.err conftest.$ac_ext
12383echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12384echo "${ECHO_T}$ac_header_preproc" >&6
12385
12386# So? What about this header?
12387case $ac_header_compiler:$ac_header_preproc in
12388 yes:no )
12389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12390echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12392echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12393 (
12394 cat <<\_ASBOX
12395## ------------------------------------ ##
12396## Report this to bug-autoconf@gnu.org. ##
12397## ------------------------------------ ##
12398_ASBOX
12399 ) |
12400 sed "s/^/$as_me: WARNING: /" >&2
12401 ;;
12402 no:yes )
12403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12404echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12406echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12408echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12409 (
12410 cat <<\_ASBOX
12411## ------------------------------------ ##
12412## Report this to bug-autoconf@gnu.org. ##
12413## ------------------------------------ ##
12414_ASBOX
12415 ) |
12416 sed "s/^/$as_me: WARNING: /" >&2
12417 ;;
12418esac
12419echo "$as_me:$LINENO: checking for $ac_header" >&5
12420echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12421if eval "test \"\${$as_ac_Header+set}\" = set"; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12423else
12424 eval "$as_ac_Header=$ac_header_preproc"
12425fi
12426echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12427echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12428
12429fi
12430if test `eval echo '${'$as_ac_Header'}'` = yes; then
12431 cat >>confdefs.h <<_ACEOF
12432#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12433_ACEOF
12434
12435fi
12436
12437done
12438
12439
12440for ac_header in malloc.h
12441do
12442as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12443if eval "test \"\${$as_ac_Header+set}\" = set"; then
12444 echo "$as_me:$LINENO: checking for $ac_header" >&5
12445echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12446if eval "test \"\${$as_ac_Header+set}\" = set"; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12448fi
12449echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12450echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12451else
12452 # Is the header compilable?
12453echo "$as_me:$LINENO: checking $ac_header usability" >&5
12454echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12455cat >conftest.$ac_ext <<_ACEOF
12456#line $LINENO "configure"
12457/* confdefs.h. */
12458_ACEOF
12459cat confdefs.h >>conftest.$ac_ext
12460cat >>conftest.$ac_ext <<_ACEOF
12461/* end confdefs.h. */
12462$ac_includes_default
12463#include <$ac_header>
12464_ACEOF
12465rm -f conftest.$ac_objext
12466if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12467 (eval $ac_compile) 2>&5
12468 ac_status=$?
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } &&
12471 { ac_try='test -s conftest.$ac_objext'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12474 ac_status=$?
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; }; then
12477 ac_header_compiler=yes
12478else
12479 echo "$as_me: failed program was:" >&5
12480sed 's/^/| /' conftest.$ac_ext >&5
12481
12482ac_header_compiler=no
12483fi
12484rm -f conftest.$ac_objext conftest.$ac_ext
12485echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12486echo "${ECHO_T}$ac_header_compiler" >&6
12487
12488# Is the header present?
12489echo "$as_me:$LINENO: checking $ac_header presence" >&5
12490echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12491cat >conftest.$ac_ext <<_ACEOF
12492#line $LINENO "configure"
12493/* confdefs.h. */
12494_ACEOF
12495cat confdefs.h >>conftest.$ac_ext
12496cat >>conftest.$ac_ext <<_ACEOF
12497/* end confdefs.h. */
12498#include <$ac_header>
12499_ACEOF
12500if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12502 ac_status=$?
12503 grep -v '^ *+' conftest.er1 >conftest.err
12504 rm -f conftest.er1
12505 cat conftest.err >&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } >/dev/null; then
12508 if test -s conftest.err; then
12509 ac_cpp_err=$ac_c_preproc_warn_flag
12510 else
12511 ac_cpp_err=
12512 fi
12513else
12514 ac_cpp_err=yes
12515fi
12516if test -z "$ac_cpp_err"; then
12517 ac_header_preproc=yes
12518else
12519 echo "$as_me: failed program was:" >&5
12520sed 's/^/| /' conftest.$ac_ext >&5
12521
12522 ac_header_preproc=no
12523fi
12524rm -f conftest.err conftest.$ac_ext
12525echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12526echo "${ECHO_T}$ac_header_preproc" >&6
12527
12528# So? What about this header?
12529case $ac_header_compiler:$ac_header_preproc in
12530 yes:no )
12531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12532echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12534echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12535 (
12536 cat <<\_ASBOX
12537## ------------------------------------ ##
12538## Report this to bug-autoconf@gnu.org. ##
12539## ------------------------------------ ##
12540_ASBOX
12541 ) |
12542 sed "s/^/$as_me: WARNING: /" >&2
12543 ;;
12544 no:yes )
12545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12546echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12548echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12550echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12551 (
12552 cat <<\_ASBOX
12553## ------------------------------------ ##
12554## Report this to bug-autoconf@gnu.org. ##
12555## ------------------------------------ ##
12556_ASBOX
12557 ) |
12558 sed "s/^/$as_me: WARNING: /" >&2
12559 ;;
12560esac
12561echo "$as_me:$LINENO: checking for $ac_header" >&5
12562echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12563if eval "test \"\${$as_ac_Header+set}\" = set"; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12565else
12566 eval "$as_ac_Header=$ac_header_preproc"
12567fi
12568echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12569echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12570
12571fi
12572if test `eval echo '${'$as_ac_Header'}'` = yes; then
12573 cat >>confdefs.h <<_ACEOF
12574#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12575_ACEOF
12576
12577fi
12578
12579done
12580
12581
12582for ac_header in unistd.h
12583do
12584as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12585if eval "test \"\${$as_ac_Header+set}\" = set"; then
12586 echo "$as_me:$LINENO: checking for $ac_header" >&5
12587echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12588if eval "test \"\${$as_ac_Header+set}\" = set"; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12590fi
12591echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12592echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12593else
12594 # Is the header compilable?
12595echo "$as_me:$LINENO: checking $ac_header usability" >&5
12596echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12597cat >conftest.$ac_ext <<_ACEOF
12598#line $LINENO "configure"
12599/* confdefs.h. */
12600_ACEOF
12601cat confdefs.h >>conftest.$ac_ext
12602cat >>conftest.$ac_ext <<_ACEOF
12603/* end confdefs.h. */
12604$ac_includes_default
12605#include <$ac_header>
12606_ACEOF
12607rm -f conftest.$ac_objext
12608if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>&5
12610 ac_status=$?
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_header_compiler=yes
12620else
12621 echo "$as_me: failed program was:" >&5
12622sed 's/^/| /' conftest.$ac_ext >&5
12623
12624ac_header_compiler=no
12625fi
12626rm -f conftest.$ac_objext conftest.$ac_ext
12627echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12628echo "${ECHO_T}$ac_header_compiler" >&6
12629
12630# Is the header present?
12631echo "$as_me:$LINENO: checking $ac_header presence" >&5
12632echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12633cat >conftest.$ac_ext <<_ACEOF
12634#line $LINENO "configure"
12635/* confdefs.h. */
12636_ACEOF
12637cat confdefs.h >>conftest.$ac_ext
12638cat >>conftest.$ac_ext <<_ACEOF
12639/* end confdefs.h. */
12640#include <$ac_header>
12641_ACEOF
12642if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12644 ac_status=$?
12645 grep -v '^ *+' conftest.er1 >conftest.err
12646 rm -f conftest.er1
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } >/dev/null; then
12650 if test -s conftest.err; then
12651 ac_cpp_err=$ac_c_preproc_warn_flag
12652 else
12653 ac_cpp_err=
12654 fi
12655else
12656 ac_cpp_err=yes
12657fi
12658if test -z "$ac_cpp_err"; then
12659 ac_header_preproc=yes
12660else
12661 echo "$as_me: failed program was:" >&5
12662sed 's/^/| /' conftest.$ac_ext >&5
12663
12664 ac_header_preproc=no
12665fi
12666rm -f conftest.err conftest.$ac_ext
12667echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12668echo "${ECHO_T}$ac_header_preproc" >&6
12669
12670# So? What about this header?
12671case $ac_header_compiler:$ac_header_preproc in
12672 yes:no )
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12674echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12676echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12677 (
12678 cat <<\_ASBOX
12679## ------------------------------------ ##
12680## Report this to bug-autoconf@gnu.org. ##
12681## ------------------------------------ ##
12682_ASBOX
12683 ) |
12684 sed "s/^/$as_me: WARNING: /" >&2
12685 ;;
12686 no:yes )
12687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12688echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12690echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12692echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12693 (
12694 cat <<\_ASBOX
12695## ------------------------------------ ##
12696## Report this to bug-autoconf@gnu.org. ##
12697## ------------------------------------ ##
12698_ASBOX
12699 ) |
12700 sed "s/^/$as_me: WARNING: /" >&2
12701 ;;
12702esac
12703echo "$as_me:$LINENO: checking for $ac_header" >&5
12704echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12705if eval "test \"\${$as_ac_Header+set}\" = set"; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12707else
12708 eval "$as_ac_Header=$ac_header_preproc"
12709fi
12710echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12711echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12712
12713fi
12714if test `eval echo '${'$as_ac_Header'}'` = yes; then
12715 cat >>confdefs.h <<_ACEOF
12716#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12717_ACEOF
12718
12719fi
12720
12721done
12722
12723
12724for ac_header in wchar.h
12725do
12726as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12727if eval "test \"\${$as_ac_Header+set}\" = set"; then
12728 echo "$as_me:$LINENO: checking for $ac_header" >&5
12729echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12730if eval "test \"\${$as_ac_Header+set}\" = set"; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12732fi
12733echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12734echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12735else
12736 # Is the header compilable?
12737echo "$as_me:$LINENO: checking $ac_header usability" >&5
12738echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12739cat >conftest.$ac_ext <<_ACEOF
12740#line $LINENO "configure"
12741/* confdefs.h. */
12742_ACEOF
12743cat confdefs.h >>conftest.$ac_ext
12744cat >>conftest.$ac_ext <<_ACEOF
12745/* end confdefs.h. */
12746$ac_includes_default
12747#include <$ac_header>
12748_ACEOF
12749rm -f conftest.$ac_objext
12750if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12751 (eval $ac_compile) 2>&5
12752 ac_status=$?
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try='test -s conftest.$ac_objext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_header_compiler=yes
12762else
12763 echo "$as_me: failed program was:" >&5
12764sed 's/^/| /' conftest.$ac_ext >&5
12765
12766ac_header_compiler=no
12767fi
12768rm -f conftest.$ac_objext conftest.$ac_ext
12769echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12770echo "${ECHO_T}$ac_header_compiler" >&6
12771
12772# Is the header present?
12773echo "$as_me:$LINENO: checking $ac_header presence" >&5
12774echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12775cat >conftest.$ac_ext <<_ACEOF
12776#line $LINENO "configure"
12777/* confdefs.h. */
12778_ACEOF
12779cat confdefs.h >>conftest.$ac_ext
12780cat >>conftest.$ac_ext <<_ACEOF
12781/* end confdefs.h. */
12782#include <$ac_header>
12783_ACEOF
12784if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12786 ac_status=$?
12787 grep -v '^ *+' conftest.er1 >conftest.err
12788 rm -f conftest.er1
12789 cat conftest.err >&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); } >/dev/null; then
12792 if test -s conftest.err; then
12793 ac_cpp_err=$ac_c_preproc_warn_flag
12794 else
12795 ac_cpp_err=
12796 fi
12797else
12798 ac_cpp_err=yes
12799fi
12800if test -z "$ac_cpp_err"; then
12801 ac_header_preproc=yes
12802else
12803 echo "$as_me: failed program was:" >&5
12804sed 's/^/| /' conftest.$ac_ext >&5
12805
12806 ac_header_preproc=no
12807fi
12808rm -f conftest.err conftest.$ac_ext
12809echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12810echo "${ECHO_T}$ac_header_preproc" >&6
12811
12812# So? What about this header?
12813case $ac_header_compiler:$ac_header_preproc in
12814 yes:no )
12815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12816echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12818echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12819 (
12820 cat <<\_ASBOX
12821## ------------------------------------ ##
12822## Report this to bug-autoconf@gnu.org. ##
12823## ------------------------------------ ##
12824_ASBOX
12825 ) |
12826 sed "s/^/$as_me: WARNING: /" >&2
12827 ;;
12828 no:yes )
12829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12830echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12832echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12834echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12835 (
12836 cat <<\_ASBOX
12837## ------------------------------------ ##
12838## Report this to bug-autoconf@gnu.org. ##
12839## ------------------------------------ ##
12840_ASBOX
12841 ) |
12842 sed "s/^/$as_me: WARNING: /" >&2
12843 ;;
12844esac
12845echo "$as_me:$LINENO: checking for $ac_header" >&5
12846echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12847if eval "test \"\${$as_ac_Header+set}\" = set"; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12849else
12850 eval "$as_ac_Header=$ac_header_preproc"
12851fi
12852echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12853echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12854
12855fi
12856if test `eval echo '${'$as_ac_Header'}'` = yes; then
12857 cat >>confdefs.h <<_ACEOF
12858#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12859_ACEOF
12860
12861fi
12862
12863done
12864
12865
12866if test "$ac_cv_header_wchar_h" != "yes"; then
12867
12868for ac_header in wcstr.h
12869do
12870as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12871if eval "test \"\${$as_ac_Header+set}\" = set"; then
12872 echo "$as_me:$LINENO: checking for $ac_header" >&5
12873echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12874if eval "test \"\${$as_ac_Header+set}\" = set"; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12876fi
12877echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12878echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12879else
12880 # Is the header compilable?
12881echo "$as_me:$LINENO: checking $ac_header usability" >&5
12882echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12883cat >conftest.$ac_ext <<_ACEOF
12884#line $LINENO "configure"
12885/* confdefs.h. */
12886_ACEOF
12887cat confdefs.h >>conftest.$ac_ext
12888cat >>conftest.$ac_ext <<_ACEOF
12889/* end confdefs.h. */
12890$ac_includes_default
12891#include <$ac_header>
12892_ACEOF
12893rm -f conftest.$ac_objext
12894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>&5
12896 ac_status=$?
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } &&
12899 { ac_try='test -s conftest.$ac_objext'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; }; then
12905 ac_header_compiler=yes
12906else
12907 echo "$as_me: failed program was:" >&5
12908sed 's/^/| /' conftest.$ac_ext >&5
12909
12910ac_header_compiler=no
12911fi
12912rm -f conftest.$ac_objext conftest.$ac_ext
12913echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12914echo "${ECHO_T}$ac_header_compiler" >&6
12915
12916# Is the header present?
12917echo "$as_me:$LINENO: checking $ac_header presence" >&5
12918echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12919cat >conftest.$ac_ext <<_ACEOF
12920#line $LINENO "configure"
12921/* confdefs.h. */
12922_ACEOF
12923cat confdefs.h >>conftest.$ac_ext
12924cat >>conftest.$ac_ext <<_ACEOF
12925/* end confdefs.h. */
12926#include <$ac_header>
12927_ACEOF
12928if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12930 ac_status=$?
12931 grep -v '^ *+' conftest.er1 >conftest.err
12932 rm -f conftest.er1
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } >/dev/null; then
12936 if test -s conftest.err; then
12937 ac_cpp_err=$ac_c_preproc_warn_flag
12938 else
12939 ac_cpp_err=
12940 fi
12941else
12942 ac_cpp_err=yes
12943fi
12944if test -z "$ac_cpp_err"; then
12945 ac_header_preproc=yes
12946else
12947 echo "$as_me: failed program was:" >&5
12948sed 's/^/| /' conftest.$ac_ext >&5
12949
12950 ac_header_preproc=no
12951fi
12952rm -f conftest.err conftest.$ac_ext
12953echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12954echo "${ECHO_T}$ac_header_preproc" >&6
12955
12956# So? What about this header?
12957case $ac_header_compiler:$ac_header_preproc in
12958 yes:no )
12959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12960echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12962echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12963 (
12964 cat <<\_ASBOX
12965## ------------------------------------ ##
12966## Report this to bug-autoconf@gnu.org. ##
12967## ------------------------------------ ##
12968_ASBOX
12969 ) |
12970 sed "s/^/$as_me: WARNING: /" >&2
12971 ;;
12972 no:yes )
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12974echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12976echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12978echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12979 (
12980 cat <<\_ASBOX
12981## ------------------------------------ ##
12982## Report this to bug-autoconf@gnu.org. ##
12983## ------------------------------------ ##
12984_ASBOX
12985 ) |
12986 sed "s/^/$as_me: WARNING: /" >&2
12987 ;;
12988esac
12989echo "$as_me:$LINENO: checking for $ac_header" >&5
12990echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12991if eval "test \"\${$as_ac_Header+set}\" = set"; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12993else
12994 eval "$as_ac_Header=$ac_header_preproc"
12995fi
12996echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12997echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12998
12999fi
13000if test `eval echo '${'$as_ac_Header'}'` = yes; then
13001 cat >>confdefs.h <<_ACEOF
13002#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13003_ACEOF
13004
13005fi
13006
13007done
13008
13009fi
13010
13011
13012for ac_header in fnmatch.h
13013do
13014as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13015if eval "test \"\${$as_ac_Header+set}\" = set"; then
13016 echo "$as_me:$LINENO: checking for $ac_header" >&5
13017echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13018if eval "test \"\${$as_ac_Header+set}\" = set"; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13020fi
13021echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13022echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13023else
13024 # Is the header compilable?
13025echo "$as_me:$LINENO: checking $ac_header usability" >&5
13026echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13027cat >conftest.$ac_ext <<_ACEOF
13028#line $LINENO "configure"
13029/* confdefs.h. */
13030_ACEOF
13031cat confdefs.h >>conftest.$ac_ext
13032cat >>conftest.$ac_ext <<_ACEOF
13033/* end confdefs.h. */
13034$ac_includes_default
13035#include <$ac_header>
13036_ACEOF
13037rm -f conftest.$ac_objext
13038if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13039 (eval $ac_compile) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); } &&
13043 { ac_try='test -s conftest.$ac_objext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 ac_header_compiler=yes
13050else
13051 echo "$as_me: failed program was:" >&5
13052sed 's/^/| /' conftest.$ac_ext >&5
13053
13054ac_header_compiler=no
13055fi
13056rm -f conftest.$ac_objext conftest.$ac_ext
13057echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13058echo "${ECHO_T}$ac_header_compiler" >&6
13059
13060# Is the header present?
13061echo "$as_me:$LINENO: checking $ac_header presence" >&5
13062echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13063cat >conftest.$ac_ext <<_ACEOF
13064#line $LINENO "configure"
13065/* confdefs.h. */
13066_ACEOF
13067cat confdefs.h >>conftest.$ac_ext
13068cat >>conftest.$ac_ext <<_ACEOF
13069/* end confdefs.h. */
13070#include <$ac_header>
13071_ACEOF
13072if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13074 ac_status=$?
13075 grep -v '^ *+' conftest.er1 >conftest.err
13076 rm -f conftest.er1
13077 cat conftest.err >&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); } >/dev/null; then
13080 if test -s conftest.err; then
13081 ac_cpp_err=$ac_c_preproc_warn_flag
13082 else
13083 ac_cpp_err=
13084 fi
13085else
13086 ac_cpp_err=yes
13087fi
13088if test -z "$ac_cpp_err"; then
13089 ac_header_preproc=yes
13090else
13091 echo "$as_me: failed program was:" >&5
13092sed 's/^/| /' conftest.$ac_ext >&5
13093
13094 ac_header_preproc=no
13095fi
13096rm -f conftest.err conftest.$ac_ext
13097echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13098echo "${ECHO_T}$ac_header_preproc" >&6
13099
13100# So? What about this header?
13101case $ac_header_compiler:$ac_header_preproc in
13102 yes:no )
13103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13104echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13106echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13107 (
13108 cat <<\_ASBOX
13109## ------------------------------------ ##
13110## Report this to bug-autoconf@gnu.org. ##
13111## ------------------------------------ ##
13112_ASBOX
13113 ) |
13114 sed "s/^/$as_me: WARNING: /" >&2
13115 ;;
13116 no:yes )
13117 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13118echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13119 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13120echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13122echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13123 (
13124 cat <<\_ASBOX
13125## ------------------------------------ ##
13126## Report this to bug-autoconf@gnu.org. ##
13127## ------------------------------------ ##
13128_ASBOX
13129 ) |
13130 sed "s/^/$as_me: WARNING: /" >&2
13131 ;;
13132esac
13133echo "$as_me:$LINENO: checking for $ac_header" >&5
13134echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13135if eval "test \"\${$as_ac_Header+set}\" = set"; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13137else
13138 eval "$as_ac_Header=$ac_header_preproc"
13139fi
13140echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13141echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13142
13143fi
13144if test `eval echo '${'$as_ac_Header'}'` = yes; then
13145 cat >>confdefs.h <<_ACEOF
13146#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13147_ACEOF
13148
13149fi
13150
13151done
13152
13153
13154if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13155
13156for ac_func in fnmatch
13157do
13158as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13159echo "$as_me:$LINENO: checking for $ac_func" >&5
13160echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13161if eval "test \"\${$as_ac_var+set}\" = set"; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13163else
13164 cat >conftest.$ac_ext <<_ACEOF
13165#line $LINENO "configure"
13166/* confdefs.h. */
13167_ACEOF
13168cat confdefs.h >>conftest.$ac_ext
13169cat >>conftest.$ac_ext <<_ACEOF
13170/* end confdefs.h. */
13171/* System header to define __stub macros and hopefully few prototypes,
13172 which can conflict with char $ac_func (); below.
13173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13174 <limits.h> exists even on freestanding compilers. */
13175#ifdef __STDC__
13176# include <limits.h>
13177#else
13178# include <assert.h>
13179#endif
13180/* Override any gcc2 internal prototype to avoid an error. */
13181#ifdef __cplusplus
13182extern "C"
13183{
13184#endif
13185/* We use char because int might match the return type of a gcc2
13186 builtin and then its argument prototype would still apply. */
13187char $ac_func ();
13188/* The GNU C library defines this for functions which it implements
13189 to always fail with ENOSYS. Some functions are actually named
13190 something starting with __ and the normal name is an alias. */
13191#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13192choke me
13193#else
13194char (*f) () = $ac_func;
13195#endif
13196#ifdef __cplusplus
13197}
13198#endif
13199
13200int
13201main ()
13202{
13203return f != $ac_func;
13204 ;
13205 return 0;
13206}
13207_ACEOF
13208rm -f conftest.$ac_objext conftest$ac_exeext
13209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13210 (eval $ac_link) 2>&5
13211 ac_status=$?
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } &&
13214 { ac_try='test -s conftest$ac_exeext'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13217 ac_status=$?
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; }; then
13220 eval "$as_ac_var=yes"
13221else
13222 echo "$as_me: failed program was:" >&5
13223sed 's/^/| /' conftest.$ac_ext >&5
13224
13225eval "$as_ac_var=no"
13226fi
13227rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13228fi
13229echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13230echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13231if test `eval echo '${'$as_ac_var'}'` = yes; then
13232 cat >>confdefs.h <<_ACEOF
13233#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13234_ACEOF
13235
13236fi
13237done
13238
13239fi
13240
13241
13242for ac_header in langinfo.h
13243do
13244as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13245if eval "test \"\${$as_ac_Header+set}\" = set"; then
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13250fi
13251echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13252echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13253else
13254 # Is the header compilable?
13255echo "$as_me:$LINENO: checking $ac_header usability" >&5
13256echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13257cat >conftest.$ac_ext <<_ACEOF
13258#line $LINENO "configure"
13259/* confdefs.h. */
13260_ACEOF
13261cat confdefs.h >>conftest.$ac_ext
13262cat >>conftest.$ac_ext <<_ACEOF
13263/* end confdefs.h. */
13264$ac_includes_default
13265#include <$ac_header>
13266_ACEOF
13267rm -f conftest.$ac_objext
13268if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13269 (eval $ac_compile) 2>&5
13270 ac_status=$?
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_header_compiler=yes
13280else
13281 echo "$as_me: failed program was:" >&5
13282sed 's/^/| /' conftest.$ac_ext >&5
13283
13284ac_header_compiler=no
13285fi
13286rm -f conftest.$ac_objext conftest.$ac_ext
13287echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13288echo "${ECHO_T}$ac_header_compiler" >&6
13289
13290# Is the header present?
13291echo "$as_me:$LINENO: checking $ac_header presence" >&5
13292echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13293cat >conftest.$ac_ext <<_ACEOF
13294#line $LINENO "configure"
13295/* confdefs.h. */
13296_ACEOF
13297cat confdefs.h >>conftest.$ac_ext
13298cat >>conftest.$ac_ext <<_ACEOF
13299/* end confdefs.h. */
13300#include <$ac_header>
13301_ACEOF
13302if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13304 ac_status=$?
13305 grep -v '^ *+' conftest.er1 >conftest.err
13306 rm -f conftest.er1
13307 cat conftest.err >&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } >/dev/null; then
13310 if test -s conftest.err; then
13311 ac_cpp_err=$ac_c_preproc_warn_flag
13312 else
13313 ac_cpp_err=
13314 fi
13315else
13316 ac_cpp_err=yes
13317fi
13318if test -z "$ac_cpp_err"; then
13319 ac_header_preproc=yes
13320else
13321 echo "$as_me: failed program was:" >&5
13322sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 ac_header_preproc=no
13325fi
13326rm -f conftest.err conftest.$ac_ext
13327echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13328echo "${ECHO_T}$ac_header_preproc" >&6
13329
13330# So? What about this header?
13331case $ac_header_compiler:$ac_header_preproc in
13332 yes:no )
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13334echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13336echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13337 (
13338 cat <<\_ASBOX
13339## ------------------------------------ ##
13340## Report this to bug-autoconf@gnu.org. ##
13341## ------------------------------------ ##
13342_ASBOX
13343 ) |
13344 sed "s/^/$as_me: WARNING: /" >&2
13345 ;;
13346 no:yes )
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13348echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13350echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13352echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13353 (
13354 cat <<\_ASBOX
13355## ------------------------------------ ##
13356## Report this to bug-autoconf@gnu.org. ##
13357## ------------------------------------ ##
13358_ASBOX
13359 ) |
13360 sed "s/^/$as_me: WARNING: /" >&2
13361 ;;
13362esac
13363echo "$as_me:$LINENO: checking for $ac_header" >&5
13364echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13365if eval "test \"\${$as_ac_Header+set}\" = set"; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13367else
13368 eval "$as_ac_Header=$ac_header_preproc"
13369fi
13370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13371echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13372
13373fi
13374if test `eval echo '${'$as_ac_Header'}'` = yes; then
13375 cat >>confdefs.h <<_ACEOF
13376#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13377_ACEOF
13378
13379fi
13380
13381done
13382
13383
13384case "${host}" in
13385 *-pc-os2_emx | *-pc-os2-emx )
13386 if test $ac_cv_header_langinfo_h = "yes"; then
13387 LIBS="$LIBS -lintl"
13388 fi
13389 ;;
13390esac
13391
13392if test "$wxUSE_GUI" = "yes"; then
13393 if test "$wxUSE_UNIX" = "yes"; then
13394
13395for ac_header in X11/XKBlib.h
13396do
13397as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13398if eval "test \"\${$as_ac_Header+set}\" = set"; then
13399 echo "$as_me:$LINENO: checking for $ac_header" >&5
13400echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13401if eval "test \"\${$as_ac_Header+set}\" = set"; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13403fi
13404echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13405echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13406else
13407 # Is the header compilable?
13408echo "$as_me:$LINENO: checking $ac_header usability" >&5
13409echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13410cat >conftest.$ac_ext <<_ACEOF
13411#line $LINENO "configure"
13412/* confdefs.h. */
13413_ACEOF
13414cat confdefs.h >>conftest.$ac_ext
13415cat >>conftest.$ac_ext <<_ACEOF
13416/* end confdefs.h. */
13417$ac_includes_default
13418#include <$ac_header>
13419_ACEOF
13420rm -f conftest.$ac_objext
13421if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13422 (eval $ac_compile) 2>&5
13423 ac_status=$?
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } &&
13426 { ac_try='test -s conftest.$ac_objext'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13429 ac_status=$?
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; }; then
13432 ac_header_compiler=yes
13433else
13434 echo "$as_me: failed program was:" >&5
13435sed 's/^/| /' conftest.$ac_ext >&5
13436
13437ac_header_compiler=no
13438fi
13439rm -f conftest.$ac_objext conftest.$ac_ext
13440echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13441echo "${ECHO_T}$ac_header_compiler" >&6
13442
13443# Is the header present?
13444echo "$as_me:$LINENO: checking $ac_header presence" >&5
13445echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13446cat >conftest.$ac_ext <<_ACEOF
13447#line $LINENO "configure"
13448/* confdefs.h. */
13449_ACEOF
13450cat confdefs.h >>conftest.$ac_ext
13451cat >>conftest.$ac_ext <<_ACEOF
13452/* end confdefs.h. */
13453#include <$ac_header>
13454_ACEOF
13455if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13457 ac_status=$?
13458 grep -v '^ *+' conftest.er1 >conftest.err
13459 rm -f conftest.er1
13460 cat conftest.err >&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } >/dev/null; then
13463 if test -s conftest.err; then
13464 ac_cpp_err=$ac_c_preproc_warn_flag
13465 else
13466 ac_cpp_err=
13467 fi
13468else
13469 ac_cpp_err=yes
13470fi
13471if test -z "$ac_cpp_err"; then
13472 ac_header_preproc=yes
13473else
13474 echo "$as_me: failed program was:" >&5
13475sed 's/^/| /' conftest.$ac_ext >&5
13476
13477 ac_header_preproc=no
13478fi
13479rm -f conftest.err conftest.$ac_ext
13480echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13481echo "${ECHO_T}$ac_header_preproc" >&6
13482
13483# So? What about this header?
13484case $ac_header_compiler:$ac_header_preproc in
13485 yes:no )
13486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13487echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13489echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13490 (
13491 cat <<\_ASBOX
13492## ------------------------------------ ##
13493## Report this to bug-autoconf@gnu.org. ##
13494## ------------------------------------ ##
13495_ASBOX
13496 ) |
13497 sed "s/^/$as_me: WARNING: /" >&2
13498 ;;
13499 no:yes )
13500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13501echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13503echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13505echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13506 (
13507 cat <<\_ASBOX
13508## ------------------------------------ ##
13509## Report this to bug-autoconf@gnu.org. ##
13510## ------------------------------------ ##
13511_ASBOX
13512 ) |
13513 sed "s/^/$as_me: WARNING: /" >&2
13514 ;;
13515esac
13516echo "$as_me:$LINENO: checking for $ac_header" >&5
13517echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13518if eval "test \"\${$as_ac_Header+set}\" = set"; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13520else
13521 eval "$as_ac_Header=$ac_header_preproc"
13522fi
13523echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13524echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13525
13526fi
13527if test `eval echo '${'$as_ac_Header'}'` = yes; then
13528 cat >>confdefs.h <<_ACEOF
13529#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13530_ACEOF
13531
13532fi
13533
13534done
13535
13536 fi
13537fi
13538
13539
13540echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13541echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13542if test "${ac_cv_c_const+set}" = set; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13544else
13545 cat >conftest.$ac_ext <<_ACEOF
13546#line $LINENO "configure"
13547/* confdefs.h. */
13548_ACEOF
13549cat confdefs.h >>conftest.$ac_ext
13550cat >>conftest.$ac_ext <<_ACEOF
13551/* end confdefs.h. */
13552
13553int
13554main ()
13555{
13556/* FIXME: Include the comments suggested by Paul. */
13557#ifndef __cplusplus
13558 /* Ultrix mips cc rejects this. */
13559 typedef int charset[2];
13560 const charset x;
13561 /* SunOS 4.1.1 cc rejects this. */
13562 char const *const *ccp;
13563 char **p;
13564 /* NEC SVR4.0.2 mips cc rejects this. */
13565 struct point {int x, y;};
13566 static struct point const zero = {0,0};
13567 /* AIX XL C 1.02.0.0 rejects this.
13568 It does not let you subtract one const X* pointer from another in
13569 an arm of an if-expression whose if-part is not a constant
13570 expression */
13571 const char *g = "string";
13572 ccp = &g + (g ? g-g : 0);
13573 /* HPUX 7.0 cc rejects these. */
13574 ++ccp;
13575 p = (char**) ccp;
13576 ccp = (char const *const *) p;
13577 { /* SCO 3.2v4 cc rejects this. */
13578 char *t;
13579 char const *s = 0 ? (char *) 0 : (char const *) 0;
13580
13581 *t++ = 0;
13582 }
13583 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13584 int x[] = {25, 17};
13585 const int *foo = &x[0];
13586 ++foo;
13587 }
13588 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13589 typedef const int *iptr;
13590 iptr p = 0;
13591 ++p;
13592 }
13593 { /* AIX XL C 1.02.0.0 rejects this saying
13594 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13595 struct s { int j; const int *ap[3]; };
13596 struct s *b; b->j = 5;
13597 }
13598 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13599 const int foo = 10;
13600 }
13601#endif
13602
13603 ;
13604 return 0;
13605}
13606_ACEOF
13607rm -f conftest.$ac_objext
13608if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13609 (eval $ac_compile) 2>&5
13610 ac_status=$?
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } &&
13613 { ac_try='test -s conftest.$ac_objext'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13616 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; }; then
13619 ac_cv_c_const=yes
13620else
13621 echo "$as_me: failed program was:" >&5
13622sed 's/^/| /' conftest.$ac_ext >&5
13623
13624ac_cv_c_const=no
13625fi
13626rm -f conftest.$ac_objext conftest.$ac_ext
13627fi
13628echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13629echo "${ECHO_T}$ac_cv_c_const" >&6
13630if test $ac_cv_c_const = no; then
13631
13632cat >>confdefs.h <<\_ACEOF
13633#define const
13634_ACEOF
13635
13636fi
13637
13638echo "$as_me:$LINENO: checking for inline" >&5
13639echo $ECHO_N "checking for inline... $ECHO_C" >&6
13640if test "${ac_cv_c_inline+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13642else
13643 ac_cv_c_inline=no
13644for ac_kw in inline __inline__ __inline; do
13645 cat >conftest.$ac_ext <<_ACEOF
13646#line $LINENO "configure"
13647/* confdefs.h. */
13648_ACEOF
13649cat confdefs.h >>conftest.$ac_ext
13650cat >>conftest.$ac_ext <<_ACEOF
13651/* end confdefs.h. */
13652#ifndef __cplusplus
13653typedef int foo_t;
13654static $ac_kw foo_t static_foo () {return 0; }
13655$ac_kw foo_t foo () {return 0; }
13656#endif
13657
13658_ACEOF
13659rm -f conftest.$ac_objext
13660if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13661 (eval $ac_compile) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); } &&
13665 { ac_try='test -s conftest.$ac_objext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13668 ac_status=$?
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 ac_cv_c_inline=$ac_kw; break
13672else
13673 echo "$as_me: failed program was:" >&5
13674sed 's/^/| /' conftest.$ac_ext >&5
13675
13676fi
13677rm -f conftest.$ac_objext conftest.$ac_ext
13678done
13679
13680fi
13681echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13682echo "${ECHO_T}$ac_cv_c_inline" >&6
13683case $ac_cv_c_inline in
13684 inline | yes) ;;
13685 no)
13686cat >>confdefs.h <<\_ACEOF
13687#define inline
13688_ACEOF
13689 ;;
13690 *) cat >>confdefs.h <<_ACEOF
13691#define inline $ac_cv_c_inline
13692_ACEOF
13693 ;;
13694esac
13695
13696
13697echo "$as_me:$LINENO: checking for char" >&5
13698echo $ECHO_N "checking for char... $ECHO_C" >&6
13699if test "${ac_cv_type_char+set}" = set; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13701else
13702 cat >conftest.$ac_ext <<_ACEOF
13703#line $LINENO "configure"
13704/* confdefs.h. */
13705_ACEOF
13706cat confdefs.h >>conftest.$ac_ext
13707cat >>conftest.$ac_ext <<_ACEOF
13708/* end confdefs.h. */
13709$ac_includes_default
13710int
13711main ()
13712{
13713if ((char *) 0)
13714 return 0;
13715if (sizeof (char))
13716 return 0;
13717 ;
13718 return 0;
13719}
13720_ACEOF
13721rm -f conftest.$ac_objext
13722if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13723 (eval $ac_compile) 2>&5
13724 ac_status=$?
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_type_char=yes
13734else
13735 echo "$as_me: failed program was:" >&5
13736sed 's/^/| /' conftest.$ac_ext >&5
13737
13738ac_cv_type_char=no
13739fi
13740rm -f conftest.$ac_objext conftest.$ac_ext
13741fi
13742echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13743echo "${ECHO_T}$ac_cv_type_char" >&6
13744
13745echo "$as_me:$LINENO: checking size of char" >&5
13746echo $ECHO_N "checking size of char... $ECHO_C" >&6
13747if test "${ac_cv_sizeof_char+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749else
13750 if test "$ac_cv_type_char" = yes; then
13751 # The cast to unsigned long works around a bug in the HP C Compiler
13752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13754 # This bug is HP SR number 8606223364.
13755 if test "$cross_compiling" = yes; then
13756 # Depending upon the size, compute the lo and hi bounds.
13757cat >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{
13768static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13769test_array [0] = 0
13770
13771 ;
13772 return 0;
13773}
13774_ACEOF
13775rm -f conftest.$ac_objext
13776if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13777 (eval $ac_compile) 2>&5
13778 ac_status=$?
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try='test -s conftest.$ac_objext'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13784 ac_status=$?
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13787 ac_lo=0 ac_mid=0
13788 while :; do
13789 cat >conftest.$ac_ext <<_ACEOF
13790#line $LINENO "configure"
13791/* confdefs.h. */
13792_ACEOF
13793cat confdefs.h >>conftest.$ac_ext
13794cat >>conftest.$ac_ext <<_ACEOF
13795/* end confdefs.h. */
13796$ac_includes_default
13797int
13798main ()
13799{
13800static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13801test_array [0] = 0
13802
13803 ;
13804 return 0;
13805}
13806_ACEOF
13807rm -f conftest.$ac_objext
13808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13809 (eval $ac_compile) 2>&5
13810 ac_status=$?
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } &&
13813 { ac_try='test -s conftest.$ac_objext'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13816 ac_status=$?
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; }; then
13819 ac_hi=$ac_mid; break
13820else
13821 echo "$as_me: failed program was:" >&5
13822sed 's/^/| /' conftest.$ac_ext >&5
13823
13824ac_lo=`expr $ac_mid + 1`
13825 if test $ac_lo -le $ac_mid; then
13826 ac_lo= ac_hi=
13827 break
13828 fi
13829 ac_mid=`expr 2 '*' $ac_mid + 1`
13830fi
13831rm -f conftest.$ac_objext conftest.$ac_ext
13832 done
13833else
13834 echo "$as_me: failed program was:" >&5
13835sed 's/^/| /' conftest.$ac_ext >&5
13836
13837cat >conftest.$ac_ext <<_ACEOF
13838#line $LINENO "configure"
13839/* confdefs.h. */
13840_ACEOF
13841cat confdefs.h >>conftest.$ac_ext
13842cat >>conftest.$ac_ext <<_ACEOF
13843/* end confdefs.h. */
13844$ac_includes_default
13845int
13846main ()
13847{
13848static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13849test_array [0] = 0
13850
13851 ;
13852 return 0;
13853}
13854_ACEOF
13855rm -f conftest.$ac_objext
13856if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>&5
13858 ac_status=$?
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try='test -s conftest.$ac_objext'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13864 ac_status=$?
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_hi=-1 ac_mid=-1
13868 while :; do
13869 cat >conftest.$ac_ext <<_ACEOF
13870#line $LINENO "configure"
13871/* confdefs.h. */
13872_ACEOF
13873cat confdefs.h >>conftest.$ac_ext
13874cat >>conftest.$ac_ext <<_ACEOF
13875/* end confdefs.h. */
13876$ac_includes_default
13877int
13878main ()
13879{
13880static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13881test_array [0] = 0
13882
13883 ;
13884 return 0;
13885}
13886_ACEOF
13887rm -f conftest.$ac_objext
13888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13889 (eval $ac_compile) 2>&5
13890 ac_status=$?
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } &&
13893 { ac_try='test -s conftest.$ac_objext'
13894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13895 (eval $ac_try) 2>&5
13896 ac_status=$?
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); }; }; then
13899 ac_lo=$ac_mid; break
13900else
13901 echo "$as_me: failed program was:" >&5
13902sed 's/^/| /' conftest.$ac_ext >&5
13903
13904ac_hi=`expr '(' $ac_mid ')' - 1`
13905 if test $ac_mid -le $ac_hi; then
13906 ac_lo= ac_hi=
13907 break
13908 fi
13909 ac_mid=`expr 2 '*' $ac_mid`
13910fi
13911rm -f conftest.$ac_objext conftest.$ac_ext
13912 done
13913else
13914 echo "$as_me: failed program was:" >&5
13915sed 's/^/| /' conftest.$ac_ext >&5
13916
13917ac_lo= ac_hi=
13918fi
13919rm -f conftest.$ac_objext conftest.$ac_ext
13920fi
13921rm -f conftest.$ac_objext conftest.$ac_ext
13922# Binary search between lo and hi bounds.
13923while test "x$ac_lo" != "x$ac_hi"; do
13924 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13925 cat >conftest.$ac_ext <<_ACEOF
13926#line $LINENO "configure"
13927/* confdefs.h. */
13928_ACEOF
13929cat confdefs.h >>conftest.$ac_ext
13930cat >>conftest.$ac_ext <<_ACEOF
13931/* end confdefs.h. */
13932$ac_includes_default
13933int
13934main ()
13935{
13936static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13937test_array [0] = 0
13938
13939 ;
13940 return 0;
13941}
13942_ACEOF
13943rm -f conftest.$ac_objext
13944if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13945 (eval $ac_compile) 2>&5
13946 ac_status=$?
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } &&
13949 { ac_try='test -s conftest.$ac_objext'
13950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13951 (eval $ac_try) 2>&5
13952 ac_status=$?
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); }; }; then
13955 ac_hi=$ac_mid
13956else
13957 echo "$as_me: failed program was:" >&5
13958sed 's/^/| /' conftest.$ac_ext >&5
13959
13960ac_lo=`expr '(' $ac_mid ')' + 1`
13961fi
13962rm -f conftest.$ac_objext conftest.$ac_ext
13963done
13964case $ac_lo in
13965?*) ac_cv_sizeof_char=$ac_lo;;
13966'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13967See \`config.log' for more details." >&5
13968echo "$as_me: error: cannot compute sizeof (char), 77
13969See \`config.log' for more details." >&2;}
13970 { (exit 1); exit 1; }; } ;;
13971esac
13972else
13973 if test "$cross_compiling" = yes; then
13974 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13975See \`config.log' for more details." >&5
13976echo "$as_me: error: cannot run test program while cross compiling
13977See \`config.log' for more details." >&2;}
13978 { (exit 1); exit 1; }; }
13979else
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
13988long longval () { return (long) (sizeof (char)); }
13989unsigned long ulongval () { return (long) (sizeof (char)); }
13990#include <stdio.h>
13991#include <stdlib.h>
13992int
13993main ()
13994{
13995
13996 FILE *f = fopen ("conftest.val", "w");
13997 if (! f)
13998 exit (1);
13999 if (((long) (sizeof (char))) < 0)
14000 {
14001 long i = longval ();
14002 if (i != ((long) (sizeof (char))))
14003 exit (1);
14004 fprintf (f, "%ld\n", i);
14005 }
14006 else
14007 {
14008 unsigned long i = ulongval ();
14009 if (i != ((long) (sizeof (char))))
14010 exit (1);
14011 fprintf (f, "%lu\n", i);
14012 }
14013 exit (ferror (f) || fclose (f) != 0);
14014
14015 ;
14016 return 0;
14017}
14018_ACEOF
14019rm -f conftest$ac_exeext
14020if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14021 (eval $ac_link) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14030 ac_cv_sizeof_char=`cat conftest.val`
14031else
14032 echo "$as_me: program exited with status $ac_status" >&5
14033echo "$as_me: failed program was:" >&5
14034sed 's/^/| /' conftest.$ac_ext >&5
14035
14036( exit $ac_status )
14037{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14038See \`config.log' for more details." >&5
14039echo "$as_me: error: cannot compute sizeof (char), 77
14040See \`config.log' for more details." >&2;}
14041 { (exit 1); exit 1; }; }
14042fi
14043rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14044fi
14045fi
14046rm -f conftest.val
14047else
14048 ac_cv_sizeof_char=0
14049fi
14050fi
14051echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14052echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14053cat >>confdefs.h <<_ACEOF
14054#define SIZEOF_CHAR $ac_cv_sizeof_char
14055_ACEOF
14056
14057
14058echo "$as_me:$LINENO: checking for short" >&5
14059echo $ECHO_N "checking for short... $ECHO_C" >&6
14060if test "${ac_cv_type_short+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14062else
14063 cat >conftest.$ac_ext <<_ACEOF
14064#line $LINENO "configure"
14065/* confdefs.h. */
14066_ACEOF
14067cat confdefs.h >>conftest.$ac_ext
14068cat >>conftest.$ac_ext <<_ACEOF
14069/* end confdefs.h. */
14070$ac_includes_default
14071int
14072main ()
14073{
14074if ((short *) 0)
14075 return 0;
14076if (sizeof (short))
14077 return 0;
14078 ;
14079 return 0;
14080}
14081_ACEOF
14082rm -f conftest.$ac_objext
14083if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14084 (eval $ac_compile) 2>&5
14085 ac_status=$?
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); } &&
14088 { ac_try='test -s conftest.$ac_objext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14091 ac_status=$?
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 ac_cv_type_short=yes
14095else
14096 echo "$as_me: failed program was:" >&5
14097sed 's/^/| /' conftest.$ac_ext >&5
14098
14099ac_cv_type_short=no
14100fi
14101rm -f conftest.$ac_objext conftest.$ac_ext
14102fi
14103echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14104echo "${ECHO_T}$ac_cv_type_short" >&6
14105
14106echo "$as_me:$LINENO: checking size of short" >&5
14107echo $ECHO_N "checking size of short... $ECHO_C" >&6
14108if test "${ac_cv_sizeof_short+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14110else
14111 if test "$ac_cv_type_short" = yes; then
14112 # The cast to unsigned long works around a bug in the HP C Compiler
14113 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14115 # This bug is HP SR number 8606223364.
14116 if test "$cross_compiling" = yes; then
14117 # Depending upon the size, compute the lo and hi bounds.
14118cat >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{
14129static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14130test_array [0] = 0
14131
14132 ;
14133 return 0;
14134}
14135_ACEOF
14136rm -f conftest.$ac_objext
14137if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14138 (eval $ac_compile) 2>&5
14139 ac_status=$?
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); } &&
14142 { ac_try='test -s conftest.$ac_objext'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14145 ac_status=$?
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14148 ac_lo=0 ac_mid=0
14149 while :; do
14150 cat >conftest.$ac_ext <<_ACEOF
14151#line $LINENO "configure"
14152/* confdefs.h. */
14153_ACEOF
14154cat confdefs.h >>conftest.$ac_ext
14155cat >>conftest.$ac_ext <<_ACEOF
14156/* end confdefs.h. */
14157$ac_includes_default
14158int
14159main ()
14160{
14161static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14162test_array [0] = 0
14163
14164 ;
14165 return 0;
14166}
14167_ACEOF
14168rm -f conftest.$ac_objext
14169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_hi=$ac_mid; break
14181else
14182 echo "$as_me: failed program was:" >&5
14183sed 's/^/| /' conftest.$ac_ext >&5
14184
14185ac_lo=`expr $ac_mid + 1`
14186 if test $ac_lo -le $ac_mid; then
14187 ac_lo= ac_hi=
14188 break
14189 fi
14190 ac_mid=`expr 2 '*' $ac_mid + 1`
14191fi
14192rm -f conftest.$ac_objext conftest.$ac_ext
14193 done
14194else
14195 echo "$as_me: failed program was:" >&5
14196sed 's/^/| /' conftest.$ac_ext >&5
14197
14198cat >conftest.$ac_ext <<_ACEOF
14199#line $LINENO "configure"
14200/* confdefs.h. */
14201_ACEOF
14202cat confdefs.h >>conftest.$ac_ext
14203cat >>conftest.$ac_ext <<_ACEOF
14204/* end confdefs.h. */
14205$ac_includes_default
14206int
14207main ()
14208{
14209static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14210test_array [0] = 0
14211
14212 ;
14213 return 0;
14214}
14215_ACEOF
14216rm -f conftest.$ac_objext
14217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14218 (eval $ac_compile) 2>&5
14219 ac_status=$?
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); } &&
14222 { ac_try='test -s conftest.$ac_objext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 ac_hi=-1 ac_mid=-1
14229 while :; do
14230 cat >conftest.$ac_ext <<_ACEOF
14231#line $LINENO "configure"
14232/* confdefs.h. */
14233_ACEOF
14234cat confdefs.h >>conftest.$ac_ext
14235cat >>conftest.$ac_ext <<_ACEOF
14236/* end confdefs.h. */
14237$ac_includes_default
14238int
14239main ()
14240{
14241static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14242test_array [0] = 0
14243
14244 ;
14245 return 0;
14246}
14247_ACEOF
14248rm -f conftest.$ac_objext
14249if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14250 (eval $ac_compile) 2>&5
14251 ac_status=$?
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } &&
14254 { ac_try='test -s conftest.$ac_objext'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14257 ac_status=$?
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; }; then
14260 ac_lo=$ac_mid; break
14261else
14262 echo "$as_me: failed program was:" >&5
14263sed 's/^/| /' conftest.$ac_ext >&5
14264
14265ac_hi=`expr '(' $ac_mid ')' - 1`
14266 if test $ac_mid -le $ac_hi; then
14267 ac_lo= ac_hi=
14268 break
14269 fi
14270 ac_mid=`expr 2 '*' $ac_mid`
14271fi
14272rm -f conftest.$ac_objext conftest.$ac_ext
14273 done
14274else
14275 echo "$as_me: failed program was:" >&5
14276sed 's/^/| /' conftest.$ac_ext >&5
14277
14278ac_lo= ac_hi=
14279fi
14280rm -f conftest.$ac_objext conftest.$ac_ext
14281fi
14282rm -f conftest.$ac_objext conftest.$ac_ext
14283# Binary search between lo and hi bounds.
14284while test "x$ac_lo" != "x$ac_hi"; do
14285 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14286 cat >conftest.$ac_ext <<_ACEOF
14287#line $LINENO "configure"
14288/* confdefs.h. */
14289_ACEOF
14290cat confdefs.h >>conftest.$ac_ext
14291cat >>conftest.$ac_ext <<_ACEOF
14292/* end confdefs.h. */
14293$ac_includes_default
14294int
14295main ()
14296{
14297static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14298test_array [0] = 0
14299
14300 ;
14301 return 0;
14302}
14303_ACEOF
14304rm -f conftest.$ac_objext
14305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>&5
14307 ac_status=$?
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try='test -s conftest.$ac_objext'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; }; then
14316 ac_hi=$ac_mid
14317else
14318 echo "$as_me: failed program was:" >&5
14319sed 's/^/| /' conftest.$ac_ext >&5
14320
14321ac_lo=`expr '(' $ac_mid ')' + 1`
14322fi
14323rm -f conftest.$ac_objext conftest.$ac_ext
14324done
14325case $ac_lo in
14326?*) ac_cv_sizeof_short=$ac_lo;;
14327'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14328See \`config.log' for more details." >&5
14329echo "$as_me: error: cannot compute sizeof (short), 77
14330See \`config.log' for more details." >&2;}
14331 { (exit 1); exit 1; }; } ;;
14332esac
14333else
14334 if test "$cross_compiling" = yes; then
14335 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14336See \`config.log' for more details." >&5
14337echo "$as_me: error: cannot run test program while cross compiling
14338See \`config.log' for more details." >&2;}
14339 { (exit 1); exit 1; }; }
14340else
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
14349long longval () { return (long) (sizeof (short)); }
14350unsigned long ulongval () { return (long) (sizeof (short)); }
14351#include <stdio.h>
14352#include <stdlib.h>
14353int
14354main ()
14355{
14356
14357 FILE *f = fopen ("conftest.val", "w");
14358 if (! f)
14359 exit (1);
14360 if (((long) (sizeof (short))) < 0)
14361 {
14362 long i = longval ();
14363 if (i != ((long) (sizeof (short))))
14364 exit (1);
14365 fprintf (f, "%ld\n", i);
14366 }
14367 else
14368 {
14369 unsigned long i = ulongval ();
14370 if (i != ((long) (sizeof (short))))
14371 exit (1);
14372 fprintf (f, "%lu\n", i);
14373 }
14374 exit (ferror (f) || fclose (f) != 0);
14375
14376 ;
14377 return 0;
14378}
14379_ACEOF
14380rm -f conftest$ac_exeext
14381if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14382 (eval $ac_link) 2>&5
14383 ac_status=$?
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14388 ac_status=$?
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; }; then
14391 ac_cv_sizeof_short=`cat conftest.val`
14392else
14393 echo "$as_me: program exited with status $ac_status" >&5
14394echo "$as_me: failed program was:" >&5
14395sed 's/^/| /' conftest.$ac_ext >&5
14396
14397( exit $ac_status )
14398{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14399See \`config.log' for more details." >&5
14400echo "$as_me: error: cannot compute sizeof (short), 77
14401See \`config.log' for more details." >&2;}
14402 { (exit 1); exit 1; }; }
14403fi
14404rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14405fi
14406fi
14407rm -f conftest.val
14408else
14409 ac_cv_sizeof_short=0
14410fi
14411fi
14412echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14413echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14414cat >>confdefs.h <<_ACEOF
14415#define SIZEOF_SHORT $ac_cv_sizeof_short
14416_ACEOF
14417
14418
14419echo "$as_me:$LINENO: checking for void *" >&5
14420echo $ECHO_N "checking for void *... $ECHO_C" >&6
14421if test "${ac_cv_type_void_p+set}" = set; then
14422 echo $ECHO_N "(cached) $ECHO_C" >&6
14423else
14424 cat >conftest.$ac_ext <<_ACEOF
14425#line $LINENO "configure"
14426/* confdefs.h. */
14427_ACEOF
14428cat confdefs.h >>conftest.$ac_ext
14429cat >>conftest.$ac_ext <<_ACEOF
14430/* end confdefs.h. */
14431$ac_includes_default
14432int
14433main ()
14434{
14435if ((void * *) 0)
14436 return 0;
14437if (sizeof (void *))
14438 return 0;
14439 ;
14440 return 0;
14441}
14442_ACEOF
14443rm -f conftest.$ac_objext
14444if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14445 (eval $ac_compile) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } &&
14449 { ac_try='test -s conftest.$ac_objext'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14452 ac_status=$?
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; }; then
14455 ac_cv_type_void_p=yes
14456else
14457 echo "$as_me: failed program was:" >&5
14458sed 's/^/| /' conftest.$ac_ext >&5
14459
14460ac_cv_type_void_p=no
14461fi
14462rm -f conftest.$ac_objext conftest.$ac_ext
14463fi
14464echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14465echo "${ECHO_T}$ac_cv_type_void_p" >&6
14466
14467echo "$as_me:$LINENO: checking size of void *" >&5
14468echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14469if test "${ac_cv_sizeof_void_p+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14471else
14472 if test "$ac_cv_type_void_p" = yes; then
14473 # The cast to unsigned long works around a bug in the HP C Compiler
14474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14476 # This bug is HP SR number 8606223364.
14477 if test "$cross_compiling" = yes; then
14478 # Depending upon the size, compute the lo and hi bounds.
14479cat >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{
14490static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14491test_array [0] = 0
14492
14493 ;
14494 return 0;
14495}
14496_ACEOF
14497rm -f conftest.$ac_objext
14498if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14499 (eval $ac_compile) 2>&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } &&
14503 { ac_try='test -s conftest.$ac_objext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14506 ac_status=$?
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 ac_lo=0 ac_mid=0
14510 while :; do
14511 cat >conftest.$ac_ext <<_ACEOF
14512#line $LINENO "configure"
14513/* confdefs.h. */
14514_ACEOF
14515cat confdefs.h >>conftest.$ac_ext
14516cat >>conftest.$ac_ext <<_ACEOF
14517/* end confdefs.h. */
14518$ac_includes_default
14519int
14520main ()
14521{
14522static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14523test_array [0] = 0
14524
14525 ;
14526 return 0;
14527}
14528_ACEOF
14529rm -f conftest.$ac_objext
14530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14531 (eval $ac_compile) 2>&5
14532 ac_status=$?
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try='test -s conftest.$ac_objext'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; }; then
14541 ac_hi=$ac_mid; break
14542else
14543 echo "$as_me: failed program was:" >&5
14544sed 's/^/| /' conftest.$ac_ext >&5
14545
14546ac_lo=`expr $ac_mid + 1`
14547 if test $ac_lo -le $ac_mid; then
14548 ac_lo= ac_hi=
14549 break
14550 fi
14551 ac_mid=`expr 2 '*' $ac_mid + 1`
14552fi
14553rm -f conftest.$ac_objext conftest.$ac_ext
14554 done
14555else
14556 echo "$as_me: failed program was:" >&5
14557sed 's/^/| /' conftest.$ac_ext >&5
14558
14559cat >conftest.$ac_ext <<_ACEOF
14560#line $LINENO "configure"
14561/* confdefs.h. */
14562_ACEOF
14563cat confdefs.h >>conftest.$ac_ext
14564cat >>conftest.$ac_ext <<_ACEOF
14565/* end confdefs.h. */
14566$ac_includes_default
14567int
14568main ()
14569{
14570static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14571test_array [0] = 0
14572
14573 ;
14574 return 0;
14575}
14576_ACEOF
14577rm -f conftest.$ac_objext
14578if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>&5
14580 ac_status=$?
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } &&
14583 { ac_try='test -s conftest.$ac_objext'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14586 ac_status=$?
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; }; then
14589 ac_hi=-1 ac_mid=-1
14590 while :; do
14591 cat >conftest.$ac_ext <<_ACEOF
14592#line $LINENO "configure"
14593/* confdefs.h. */
14594_ACEOF
14595cat confdefs.h >>conftest.$ac_ext
14596cat >>conftest.$ac_ext <<_ACEOF
14597/* end confdefs.h. */
14598$ac_includes_default
14599int
14600main ()
14601{
14602static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14603test_array [0] = 0
14604
14605 ;
14606 return 0;
14607}
14608_ACEOF
14609rm -f conftest.$ac_objext
14610if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14611 (eval $ac_compile) 2>&5
14612 ac_status=$?
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try='test -s conftest.$ac_objext'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14618 ac_status=$?
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; }; then
14621 ac_lo=$ac_mid; break
14622else
14623 echo "$as_me: failed program was:" >&5
14624sed 's/^/| /' conftest.$ac_ext >&5
14625
14626ac_hi=`expr '(' $ac_mid ')' - 1`
14627 if test $ac_mid -le $ac_hi; then
14628 ac_lo= ac_hi=
14629 break
14630 fi
14631 ac_mid=`expr 2 '*' $ac_mid`
14632fi
14633rm -f conftest.$ac_objext conftest.$ac_ext
14634 done
14635else
14636 echo "$as_me: failed program was:" >&5
14637sed 's/^/| /' conftest.$ac_ext >&5
14638
14639ac_lo= ac_hi=
14640fi
14641rm -f conftest.$ac_objext conftest.$ac_ext
14642fi
14643rm -f conftest.$ac_objext conftest.$ac_ext
14644# Binary search between lo and hi bounds.
14645while test "x$ac_lo" != "x$ac_hi"; do
14646 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14647 cat >conftest.$ac_ext <<_ACEOF
14648#line $LINENO "configure"
14649/* confdefs.h. */
14650_ACEOF
14651cat confdefs.h >>conftest.$ac_ext
14652cat >>conftest.$ac_ext <<_ACEOF
14653/* end confdefs.h. */
14654$ac_includes_default
14655int
14656main ()
14657{
14658static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14659test_array [0] = 0
14660
14661 ;
14662 return 0;
14663}
14664_ACEOF
14665rm -f conftest.$ac_objext
14666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } &&
14671 { ac_try='test -s conftest.$ac_objext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 ac_hi=$ac_mid
14678else
14679 echo "$as_me: failed program was:" >&5
14680sed 's/^/| /' conftest.$ac_ext >&5
14681
14682ac_lo=`expr '(' $ac_mid ')' + 1`
14683fi
14684rm -f conftest.$ac_objext conftest.$ac_ext
14685done
14686case $ac_lo in
14687?*) ac_cv_sizeof_void_p=$ac_lo;;
14688'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14689See \`config.log' for more details." >&5
14690echo "$as_me: error: cannot compute sizeof (void *), 77
14691See \`config.log' for more details." >&2;}
14692 { (exit 1); exit 1; }; } ;;
14693esac
14694else
14695 if test "$cross_compiling" = yes; then
14696 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14697See \`config.log' for more details." >&5
14698echo "$as_me: error: cannot run test program while cross compiling
14699See \`config.log' for more details." >&2;}
14700 { (exit 1); exit 1; }; }
14701else
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
14710long longval () { return (long) (sizeof (void *)); }
14711unsigned long ulongval () { return (long) (sizeof (void *)); }
14712#include <stdio.h>
14713#include <stdlib.h>
14714int
14715main ()
14716{
14717
14718 FILE *f = fopen ("conftest.val", "w");
14719 if (! f)
14720 exit (1);
14721 if (((long) (sizeof (void *))) < 0)
14722 {
14723 long i = longval ();
14724 if (i != ((long) (sizeof (void *))))
14725 exit (1);
14726 fprintf (f, "%ld\n", i);
14727 }
14728 else
14729 {
14730 unsigned long i = ulongval ();
14731 if (i != ((long) (sizeof (void *))))
14732 exit (1);
14733 fprintf (f, "%lu\n", i);
14734 }
14735 exit (ferror (f) || fclose (f) != 0);
14736
14737 ;
14738 return 0;
14739}
14740_ACEOF
14741rm -f conftest$ac_exeext
14742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14743 (eval $ac_link) 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; }; then
14752 ac_cv_sizeof_void_p=`cat conftest.val`
14753else
14754 echo "$as_me: program exited with status $ac_status" >&5
14755echo "$as_me: failed program was:" >&5
14756sed 's/^/| /' conftest.$ac_ext >&5
14757
14758( exit $ac_status )
14759{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14760See \`config.log' for more details." >&5
14761echo "$as_me: error: cannot compute sizeof (void *), 77
14762See \`config.log' for more details." >&2;}
14763 { (exit 1); exit 1; }; }
14764fi
14765rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14766fi
14767fi
14768rm -f conftest.val
14769else
14770 ac_cv_sizeof_void_p=0
14771fi
14772fi
14773echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14774echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14775cat >>confdefs.h <<_ACEOF
14776#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14777_ACEOF
14778
14779
14780echo "$as_me:$LINENO: checking for int" >&5
14781echo $ECHO_N "checking for int... $ECHO_C" >&6
14782if test "${ac_cv_type_int+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784else
14785 cat >conftest.$ac_ext <<_ACEOF
14786#line $LINENO "configure"
14787/* confdefs.h. */
14788_ACEOF
14789cat confdefs.h >>conftest.$ac_ext
14790cat >>conftest.$ac_ext <<_ACEOF
14791/* end confdefs.h. */
14792$ac_includes_default
14793int
14794main ()
14795{
14796if ((int *) 0)
14797 return 0;
14798if (sizeof (int))
14799 return 0;
14800 ;
14801 return 0;
14802}
14803_ACEOF
14804rm -f conftest.$ac_objext
14805if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14806 (eval $ac_compile) 2>&5
14807 ac_status=$?
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } &&
14810 { ac_try='test -s conftest.$ac_objext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14813 ac_status=$?
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_type_int=yes
14817else
14818 echo "$as_me: failed program was:" >&5
14819sed 's/^/| /' conftest.$ac_ext >&5
14820
14821ac_cv_type_int=no
14822fi
14823rm -f conftest.$ac_objext conftest.$ac_ext
14824fi
14825echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14826echo "${ECHO_T}$ac_cv_type_int" >&6
14827
14828echo "$as_me:$LINENO: checking size of int" >&5
14829echo $ECHO_N "checking size of int... $ECHO_C" >&6
14830if test "${ac_cv_sizeof_int+set}" = set; then
14831 echo $ECHO_N "(cached) $ECHO_C" >&6
14832else
14833 if test "$ac_cv_type_int" = yes; then
14834 # The cast to unsigned long works around a bug in the HP C Compiler
14835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14837 # This bug is HP SR number 8606223364.
14838 if test "$cross_compiling" = yes; then
14839 # Depending upon the size, compute the lo and hi bounds.
14840cat >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{
14851static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14852test_array [0] = 0
14853
14854 ;
14855 return 0;
14856}
14857_ACEOF
14858rm -f conftest.$ac_objext
14859if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14860 (eval $ac_compile) 2>&5
14861 ac_status=$?
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } &&
14864 { ac_try='test -s conftest.$ac_objext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14867 ac_status=$?
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 ac_lo=0 ac_mid=0
14871 while :; do
14872 cat >conftest.$ac_ext <<_ACEOF
14873#line $LINENO "configure"
14874/* confdefs.h. */
14875_ACEOF
14876cat confdefs.h >>conftest.$ac_ext
14877cat >>conftest.$ac_ext <<_ACEOF
14878/* end confdefs.h. */
14879$ac_includes_default
14880int
14881main ()
14882{
14883static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14884test_array [0] = 0
14885
14886 ;
14887 return 0;
14888}
14889_ACEOF
14890rm -f conftest.$ac_objext
14891if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14892 (eval $ac_compile) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try='test -s conftest.$ac_objext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14902 ac_hi=$ac_mid; break
14903else
14904 echo "$as_me: failed program was:" >&5
14905sed 's/^/| /' conftest.$ac_ext >&5
14906
14907ac_lo=`expr $ac_mid + 1`
14908 if test $ac_lo -le $ac_mid; then
14909 ac_lo= ac_hi=
14910 break
14911 fi
14912 ac_mid=`expr 2 '*' $ac_mid + 1`
14913fi
14914rm -f conftest.$ac_objext conftest.$ac_ext
14915 done
14916else
14917 echo "$as_me: failed program was:" >&5
14918sed 's/^/| /' conftest.$ac_ext >&5
14919
14920cat >conftest.$ac_ext <<_ACEOF
14921#line $LINENO "configure"
14922/* confdefs.h. */
14923_ACEOF
14924cat confdefs.h >>conftest.$ac_ext
14925cat >>conftest.$ac_ext <<_ACEOF
14926/* end confdefs.h. */
14927$ac_includes_default
14928int
14929main ()
14930{
14931static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14932test_array [0] = 0
14933
14934 ;
14935 return 0;
14936}
14937_ACEOF
14938rm -f conftest.$ac_objext
14939if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14940 (eval $ac_compile) 2>&5
14941 ac_status=$?
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); } &&
14944 { ac_try='test -s conftest.$ac_objext'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14947 ac_status=$?
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; }; then
14950 ac_hi=-1 ac_mid=-1
14951 while :; do
14952 cat >conftest.$ac_ext <<_ACEOF
14953#line $LINENO "configure"
14954/* confdefs.h. */
14955_ACEOF
14956cat confdefs.h >>conftest.$ac_ext
14957cat >>conftest.$ac_ext <<_ACEOF
14958/* end confdefs.h. */
14959$ac_includes_default
14960int
14961main ()
14962{
14963static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14964test_array [0] = 0
14965
14966 ;
14967 return 0;
14968}
14969_ACEOF
14970rm -f conftest.$ac_objext
14971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14972 (eval $ac_compile) 2>&5
14973 ac_status=$?
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } &&
14976 { ac_try='test -s conftest.$ac_objext'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14979 ac_status=$?
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; }; then
14982 ac_lo=$ac_mid; break
14983else
14984 echo "$as_me: failed program was:" >&5
14985sed 's/^/| /' conftest.$ac_ext >&5
14986
14987ac_hi=`expr '(' $ac_mid ')' - 1`
14988 if test $ac_mid -le $ac_hi; then
14989 ac_lo= ac_hi=
14990 break
14991 fi
14992 ac_mid=`expr 2 '*' $ac_mid`
14993fi
14994rm -f conftest.$ac_objext conftest.$ac_ext
14995 done
14996else
14997 echo "$as_me: failed program was:" >&5
14998sed 's/^/| /' conftest.$ac_ext >&5
14999
15000ac_lo= ac_hi=
15001fi
15002rm -f conftest.$ac_objext conftest.$ac_ext
15003fi
15004rm -f conftest.$ac_objext conftest.$ac_ext
15005# Binary search between lo and hi bounds.
15006while test "x$ac_lo" != "x$ac_hi"; do
15007 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15008 cat >conftest.$ac_ext <<_ACEOF
15009#line $LINENO "configure"
15010/* confdefs.h. */
15011_ACEOF
15012cat confdefs.h >>conftest.$ac_ext
15013cat >>conftest.$ac_ext <<_ACEOF
15014/* end confdefs.h. */
15015$ac_includes_default
15016int
15017main ()
15018{
15019static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15020test_array [0] = 0
15021
15022 ;
15023 return 0;
15024}
15025_ACEOF
15026rm -f conftest.$ac_objext
15027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>&5
15029 ac_status=$?
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 ac_hi=$ac_mid
15039else
15040 echo "$as_me: failed program was:" >&5
15041sed 's/^/| /' conftest.$ac_ext >&5
15042
15043ac_lo=`expr '(' $ac_mid ')' + 1`
15044fi
15045rm -f conftest.$ac_objext conftest.$ac_ext
15046done
15047case $ac_lo in
15048?*) ac_cv_sizeof_int=$ac_lo;;
15049'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15050See \`config.log' for more details." >&5
15051echo "$as_me: error: cannot compute sizeof (int), 77
15052See \`config.log' for more details." >&2;}
15053 { (exit 1); exit 1; }; } ;;
15054esac
15055else
15056 if test "$cross_compiling" = yes; then
15057 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15058See \`config.log' for more details." >&5
15059echo "$as_me: error: cannot run test program while cross compiling
15060See \`config.log' for more details." >&2;}
15061 { (exit 1); exit 1; }; }
15062else
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
15071long longval () { return (long) (sizeof (int)); }
15072unsigned long ulongval () { return (long) (sizeof (int)); }
15073#include <stdio.h>
15074#include <stdlib.h>
15075int
15076main ()
15077{
15078
15079 FILE *f = fopen ("conftest.val", "w");
15080 if (! f)
15081 exit (1);
15082 if (((long) (sizeof (int))) < 0)
15083 {
15084 long i = longval ();
15085 if (i != ((long) (sizeof (int))))
15086 exit (1);
15087 fprintf (f, "%ld\n", i);
15088 }
15089 else
15090 {
15091 unsigned long i = ulongval ();
15092 if (i != ((long) (sizeof (int))))
15093 exit (1);
15094 fprintf (f, "%lu\n", i);
15095 }
15096 exit (ferror (f) || fclose (f) != 0);
15097
15098 ;
15099 return 0;
15100}
15101_ACEOF
15102rm -f conftest$ac_exeext
15103if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15104 (eval $ac_link) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15110 ac_status=$?
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; }; then
15113 ac_cv_sizeof_int=`cat conftest.val`
15114else
15115 echo "$as_me: program exited with status $ac_status" >&5
15116echo "$as_me: failed program was:" >&5
15117sed 's/^/| /' conftest.$ac_ext >&5
15118
15119( exit $ac_status )
15120{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15121See \`config.log' for more details." >&5
15122echo "$as_me: error: cannot compute sizeof (int), 77
15123See \`config.log' for more details." >&2;}
15124 { (exit 1); exit 1; }; }
15125fi
15126rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15127fi
15128fi
15129rm -f conftest.val
15130else
15131 ac_cv_sizeof_int=0
15132fi
15133fi
15134echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15135echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15136cat >>confdefs.h <<_ACEOF
15137#define SIZEOF_INT $ac_cv_sizeof_int
15138_ACEOF
15139
15140
15141echo "$as_me:$LINENO: checking for long" >&5
15142echo $ECHO_N "checking for long... $ECHO_C" >&6
15143if test "${ac_cv_type_long+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15145else
15146 cat >conftest.$ac_ext <<_ACEOF
15147#line $LINENO "configure"
15148/* confdefs.h. */
15149_ACEOF
15150cat confdefs.h >>conftest.$ac_ext
15151cat >>conftest.$ac_ext <<_ACEOF
15152/* end confdefs.h. */
15153$ac_includes_default
15154int
15155main ()
15156{
15157if ((long *) 0)
15158 return 0;
15159if (sizeof (long))
15160 return 0;
15161 ;
15162 return 0;
15163}
15164_ACEOF
15165rm -f conftest.$ac_objext
15166if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15167 (eval $ac_compile) 2>&5
15168 ac_status=$?
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try='test -s conftest.$ac_objext'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15174 ac_status=$?
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; }; then
15177 ac_cv_type_long=yes
15178else
15179 echo "$as_me: failed program was:" >&5
15180sed 's/^/| /' conftest.$ac_ext >&5
15181
15182ac_cv_type_long=no
15183fi
15184rm -f conftest.$ac_objext conftest.$ac_ext
15185fi
15186echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15187echo "${ECHO_T}$ac_cv_type_long" >&6
15188
15189echo "$as_me:$LINENO: checking size of long" >&5
15190echo $ECHO_N "checking size of long... $ECHO_C" >&6
15191if test "${ac_cv_sizeof_long+set}" = set; then
15192 echo $ECHO_N "(cached) $ECHO_C" >&6
15193else
15194 if test "$ac_cv_type_long" = yes; then
15195 # The cast to unsigned long works around a bug in the HP C Compiler
15196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15198 # This bug is HP SR number 8606223364.
15199 if test "$cross_compiling" = yes; then
15200 # Depending upon the size, compute the lo and hi bounds.
15201cat >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{
15212static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15213test_array [0] = 0
15214
15215 ;
15216 return 0;
15217}
15218_ACEOF
15219rm -f conftest.$ac_objext
15220if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15221 (eval $ac_compile) 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } &&
15225 { ac_try='test -s conftest.$ac_objext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 ac_lo=0 ac_mid=0
15232 while :; do
15233 cat >conftest.$ac_ext <<_ACEOF
15234#line $LINENO "configure"
15235/* confdefs.h. */
15236_ACEOF
15237cat confdefs.h >>conftest.$ac_ext
15238cat >>conftest.$ac_ext <<_ACEOF
15239/* end confdefs.h. */
15240$ac_includes_default
15241int
15242main ()
15243{
15244static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15245test_array [0] = 0
15246
15247 ;
15248 return 0;
15249}
15250_ACEOF
15251rm -f conftest.$ac_objext
15252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15253 (eval $ac_compile) 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15260 ac_status=$?
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_hi=$ac_mid; break
15264else
15265 echo "$as_me: failed program was:" >&5
15266sed 's/^/| /' conftest.$ac_ext >&5
15267
15268ac_lo=`expr $ac_mid + 1`
15269 if test $ac_lo -le $ac_mid; then
15270 ac_lo= ac_hi=
15271 break
15272 fi
15273 ac_mid=`expr 2 '*' $ac_mid + 1`
15274fi
15275rm -f conftest.$ac_objext conftest.$ac_ext
15276 done
15277else
15278 echo "$as_me: failed program was:" >&5
15279sed 's/^/| /' conftest.$ac_ext >&5
15280
15281cat >conftest.$ac_ext <<_ACEOF
15282#line $LINENO "configure"
15283/* confdefs.h. */
15284_ACEOF
15285cat confdefs.h >>conftest.$ac_ext
15286cat >>conftest.$ac_ext <<_ACEOF
15287/* end confdefs.h. */
15288$ac_includes_default
15289int
15290main ()
15291{
15292static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15293test_array [0] = 0
15294
15295 ;
15296 return 0;
15297}
15298_ACEOF
15299rm -f conftest.$ac_objext
15300if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>&5
15302 ac_status=$?
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } &&
15305 { ac_try='test -s conftest.$ac_objext'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15308 ac_status=$?
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; }; then
15311 ac_hi=-1 ac_mid=-1
15312 while :; do
15313 cat >conftest.$ac_ext <<_ACEOF
15314#line $LINENO "configure"
15315/* confdefs.h. */
15316_ACEOF
15317cat confdefs.h >>conftest.$ac_ext
15318cat >>conftest.$ac_ext <<_ACEOF
15319/* end confdefs.h. */
15320$ac_includes_default
15321int
15322main ()
15323{
15324static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15325test_array [0] = 0
15326
15327 ;
15328 return 0;
15329}
15330_ACEOF
15331rm -f conftest.$ac_objext
15332if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15333 (eval $ac_compile) 2>&5
15334 ac_status=$?
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); } &&
15337 { ac_try='test -s conftest.$ac_objext'
15338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339 (eval $ac_try) 2>&5
15340 ac_status=$?
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); }; }; then
15343 ac_lo=$ac_mid; break
15344else
15345 echo "$as_me: failed program was:" >&5
15346sed 's/^/| /' conftest.$ac_ext >&5
15347
15348ac_hi=`expr '(' $ac_mid ')' - 1`
15349 if test $ac_mid -le $ac_hi; then
15350 ac_lo= ac_hi=
15351 break
15352 fi
15353 ac_mid=`expr 2 '*' $ac_mid`
15354fi
15355rm -f conftest.$ac_objext conftest.$ac_ext
15356 done
15357else
15358 echo "$as_me: failed program was:" >&5
15359sed 's/^/| /' conftest.$ac_ext >&5
15360
15361ac_lo= ac_hi=
15362fi
15363rm -f conftest.$ac_objext conftest.$ac_ext
15364fi
15365rm -f conftest.$ac_objext conftest.$ac_ext
15366# Binary search between lo and hi bounds.
15367while test "x$ac_lo" != "x$ac_hi"; do
15368 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15369 cat >conftest.$ac_ext <<_ACEOF
15370#line $LINENO "configure"
15371/* confdefs.h. */
15372_ACEOF
15373cat confdefs.h >>conftest.$ac_ext
15374cat >>conftest.$ac_ext <<_ACEOF
15375/* end confdefs.h. */
15376$ac_includes_default
15377int
15378main ()
15379{
15380static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15381test_array [0] = 0
15382
15383 ;
15384 return 0;
15385}
15386_ACEOF
15387rm -f conftest.$ac_objext
15388if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15389 (eval $ac_compile) 2>&5
15390 ac_status=$?
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -s conftest.$ac_objext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15396 ac_status=$?
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15399 ac_hi=$ac_mid
15400else
15401 echo "$as_me: failed program was:" >&5
15402sed 's/^/| /' conftest.$ac_ext >&5
15403
15404ac_lo=`expr '(' $ac_mid ')' + 1`
15405fi
15406rm -f conftest.$ac_objext conftest.$ac_ext
15407done
15408case $ac_lo in
15409?*) ac_cv_sizeof_long=$ac_lo;;
15410'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15411See \`config.log' for more details." >&5
15412echo "$as_me: error: cannot compute sizeof (long), 77
15413See \`config.log' for more details." >&2;}
15414 { (exit 1); exit 1; }; } ;;
15415esac
15416else
15417 if test "$cross_compiling" = yes; then
15418 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15419See \`config.log' for more details." >&5
15420echo "$as_me: error: cannot run test program while cross compiling
15421See \`config.log' for more details." >&2;}
15422 { (exit 1); exit 1; }; }
15423else
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
15432long longval () { return (long) (sizeof (long)); }
15433unsigned long ulongval () { return (long) (sizeof (long)); }
15434#include <stdio.h>
15435#include <stdlib.h>
15436int
15437main ()
15438{
15439
15440 FILE *f = fopen ("conftest.val", "w");
15441 if (! f)
15442 exit (1);
15443 if (((long) (sizeof (long))) < 0)
15444 {
15445 long i = longval ();
15446 if (i != ((long) (sizeof (long))))
15447 exit (1);
15448 fprintf (f, "%ld\n", i);
15449 }
15450 else
15451 {
15452 unsigned long i = ulongval ();
15453 if (i != ((long) (sizeof (long))))
15454 exit (1);
15455 fprintf (f, "%lu\n", i);
15456 }
15457 exit (ferror (f) || fclose (f) != 0);
15458
15459 ;
15460 return 0;
15461}
15462_ACEOF
15463rm -f conftest$ac_exeext
15464if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15465 (eval $ac_link) 2>&5
15466 ac_status=$?
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15471 ac_status=$?
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 ac_cv_sizeof_long=`cat conftest.val`
15475else
15476 echo "$as_me: program exited with status $ac_status" >&5
15477echo "$as_me: failed program was:" >&5
15478sed 's/^/| /' conftest.$ac_ext >&5
15479
15480( exit $ac_status )
15481{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15482See \`config.log' for more details." >&5
15483echo "$as_me: error: cannot compute sizeof (long), 77
15484See \`config.log' for more details." >&2;}
15485 { (exit 1); exit 1; }; }
15486fi
15487rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15488fi
15489fi
15490rm -f conftest.val
15491else
15492 ac_cv_sizeof_long=0
15493fi
15494fi
15495echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15496echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15497cat >>confdefs.h <<_ACEOF
15498#define SIZEOF_LONG $ac_cv_sizeof_long
15499_ACEOF
15500
15501
15502
15503case "${host}" in
15504 arm-*-linux* )
15505 echo "$as_me:$LINENO: checking for long long" >&5
15506echo $ECHO_N "checking for long long... $ECHO_C" >&6
15507if test "${ac_cv_type_long_long+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15509else
15510 cat >conftest.$ac_ext <<_ACEOF
15511#line $LINENO "configure"
15512/* confdefs.h. */
15513_ACEOF
15514cat confdefs.h >>conftest.$ac_ext
15515cat >>conftest.$ac_ext <<_ACEOF
15516/* end confdefs.h. */
15517$ac_includes_default
15518int
15519main ()
15520{
15521if ((long long *) 0)
15522 return 0;
15523if (sizeof (long long))
15524 return 0;
15525 ;
15526 return 0;
15527}
15528_ACEOF
15529rm -f conftest.$ac_objext
15530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15531 (eval $ac_compile) 2>&5
15532 ac_status=$?
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } &&
15535 { ac_try='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15538 ac_status=$?
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 ac_cv_type_long_long=yes
15542else
15543 echo "$as_me: failed program was:" >&5
15544sed 's/^/| /' conftest.$ac_ext >&5
15545
15546ac_cv_type_long_long=no
15547fi
15548rm -f conftest.$ac_objext conftest.$ac_ext
15549fi
15550echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15551echo "${ECHO_T}$ac_cv_type_long_long" >&6
15552
15553echo "$as_me:$LINENO: checking size of long long" >&5
15554echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15555if test "${ac_cv_sizeof_long_long+set}" = set; then
15556 echo $ECHO_N "(cached) $ECHO_C" >&6
15557else
15558 if test "$ac_cv_type_long_long" = yes; then
15559 # The cast to unsigned long works around a bug in the HP C Compiler
15560 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15561 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15562 # This bug is HP SR number 8606223364.
15563 if test "$cross_compiling" = yes; then
15564 # Depending upon the size, compute the lo and hi bounds.
15565cat >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{
15576static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15577test_array [0] = 0
15578
15579 ;
15580 return 0;
15581}
15582_ACEOF
15583rm -f conftest.$ac_objext
15584if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15585 (eval $ac_compile) 2>&5
15586 ac_status=$?
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15592 ac_status=$?
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15595 ac_lo=0 ac_mid=0
15596 while :; do
15597 cat >conftest.$ac_ext <<_ACEOF
15598#line $LINENO "configure"
15599/* confdefs.h. */
15600_ACEOF
15601cat confdefs.h >>conftest.$ac_ext
15602cat >>conftest.$ac_ext <<_ACEOF
15603/* end confdefs.h. */
15604$ac_includes_default
15605int
15606main ()
15607{
15608static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15609test_array [0] = 0
15610
15611 ;
15612 return 0;
15613}
15614_ACEOF
15615rm -f conftest.$ac_objext
15616if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15617 (eval $ac_compile) 2>&5
15618 ac_status=$?
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } &&
15621 { ac_try='test -s conftest.$ac_objext'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15624 ac_status=$?
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; }; then
15627 ac_hi=$ac_mid; break
15628else
15629 echo "$as_me: failed program was:" >&5
15630sed 's/^/| /' conftest.$ac_ext >&5
15631
15632ac_lo=`expr $ac_mid + 1`
15633 if test $ac_lo -le $ac_mid; then
15634 ac_lo= ac_hi=
15635 break
15636 fi
15637 ac_mid=`expr 2 '*' $ac_mid + 1`
15638fi
15639rm -f conftest.$ac_objext conftest.$ac_ext
15640 done
15641else
15642 echo "$as_me: failed program was:" >&5
15643sed 's/^/| /' conftest.$ac_ext >&5
15644
15645cat >conftest.$ac_ext <<_ACEOF
15646#line $LINENO "configure"
15647/* confdefs.h. */
15648_ACEOF
15649cat confdefs.h >>conftest.$ac_ext
15650cat >>conftest.$ac_ext <<_ACEOF
15651/* end confdefs.h. */
15652$ac_includes_default
15653int
15654main ()
15655{
15656static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15657test_array [0] = 0
15658
15659 ;
15660 return 0;
15661}
15662_ACEOF
15663rm -f conftest.$ac_objext
15664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try='test -s conftest.$ac_objext'
15670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671 (eval $ac_try) 2>&5
15672 ac_status=$?
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; }; then
15675 ac_hi=-1 ac_mid=-1
15676 while :; do
15677 cat >conftest.$ac_ext <<_ACEOF
15678#line $LINENO "configure"
15679/* confdefs.h. */
15680_ACEOF
15681cat confdefs.h >>conftest.$ac_ext
15682cat >>conftest.$ac_ext <<_ACEOF
15683/* end confdefs.h. */
15684$ac_includes_default
15685int
15686main ()
15687{
15688static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15689test_array [0] = 0
15690
15691 ;
15692 return 0;
15693}
15694_ACEOF
15695rm -f conftest.$ac_objext
15696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>&5
15698 ac_status=$?
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try='test -s conftest.$ac_objext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15704 ac_status=$?
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_lo=$ac_mid; break
15708else
15709 echo "$as_me: failed program was:" >&5
15710sed 's/^/| /' conftest.$ac_ext >&5
15711
15712ac_hi=`expr '(' $ac_mid ')' - 1`
15713 if test $ac_mid -le $ac_hi; then
15714 ac_lo= ac_hi=
15715 break
15716 fi
15717 ac_mid=`expr 2 '*' $ac_mid`
15718fi
15719rm -f conftest.$ac_objext conftest.$ac_ext
15720 done
15721else
15722 echo "$as_me: failed program was:" >&5
15723sed 's/^/| /' conftest.$ac_ext >&5
15724
15725ac_lo= ac_hi=
15726fi
15727rm -f conftest.$ac_objext conftest.$ac_ext
15728fi
15729rm -f conftest.$ac_objext conftest.$ac_ext
15730# Binary search between lo and hi bounds.
15731while test "x$ac_lo" != "x$ac_hi"; do
15732 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15733 cat >conftest.$ac_ext <<_ACEOF
15734#line $LINENO "configure"
15735/* confdefs.h. */
15736_ACEOF
15737cat confdefs.h >>conftest.$ac_ext
15738cat >>conftest.$ac_ext <<_ACEOF
15739/* end confdefs.h. */
15740$ac_includes_default
15741int
15742main ()
15743{
15744static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15745test_array [0] = 0
15746
15747 ;
15748 return 0;
15749}
15750_ACEOF
15751rm -f conftest.$ac_objext
15752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15753 (eval $ac_compile) 2>&5
15754 ac_status=$?
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -s conftest.$ac_objext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15760 ac_status=$?
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15763 ac_hi=$ac_mid
15764else
15765 echo "$as_me: failed program was:" >&5
15766sed 's/^/| /' conftest.$ac_ext >&5
15767
15768ac_lo=`expr '(' $ac_mid ')' + 1`
15769fi
15770rm -f conftest.$ac_objext conftest.$ac_ext
15771done
15772case $ac_lo in
15773?*) ac_cv_sizeof_long_long=$ac_lo;;
15774'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15775See \`config.log' for more details." >&5
15776echo "$as_me: error: cannot compute sizeof (long long), 77
15777See \`config.log' for more details." >&2;}
15778 { (exit 1); exit 1; }; } ;;
15779esac
15780else
15781 if test "$cross_compiling" = yes; then
15782 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15783See \`config.log' for more details." >&5
15784echo "$as_me: error: cannot run test program while cross compiling
15785See \`config.log' for more details." >&2;}
15786 { (exit 1); exit 1; }; }
15787else
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
15796long longval () { return (long) (sizeof (long long)); }
15797unsigned long ulongval () { return (long) (sizeof (long long)); }
15798#include <stdio.h>
15799#include <stdlib.h>
15800int
15801main ()
15802{
15803
15804 FILE *f = fopen ("conftest.val", "w");
15805 if (! f)
15806 exit (1);
15807 if (((long) (sizeof (long long))) < 0)
15808 {
15809 long i = longval ();
15810 if (i != ((long) (sizeof (long long))))
15811 exit (1);
15812 fprintf (f, "%ld\n", i);
15813 }
15814 else
15815 {
15816 unsigned long i = ulongval ();
15817 if (i != ((long) (sizeof (long long))))
15818 exit (1);
15819 fprintf (f, "%lu\n", i);
15820 }
15821 exit (ferror (f) || fclose (f) != 0);
15822
15823 ;
15824 return 0;
15825}
15826_ACEOF
15827rm -f conftest$ac_exeext
15828if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15829 (eval $ac_link) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15835 ac_status=$?
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 ac_cv_sizeof_long_long=`cat conftest.val`
15839else
15840 echo "$as_me: program exited with status $ac_status" >&5
15841echo "$as_me: failed program was:" >&5
15842sed 's/^/| /' conftest.$ac_ext >&5
15843
15844( exit $ac_status )
15845{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15846See \`config.log' for more details." >&5
15847echo "$as_me: error: cannot compute sizeof (long long), 77
15848See \`config.log' for more details." >&2;}
15849 { (exit 1); exit 1; }; }
15850fi
15851rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15852fi
15853fi
15854rm -f conftest.val
15855else
15856 ac_cv_sizeof_long_long=0
15857fi
15858fi
15859echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15860echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15861cat >>confdefs.h <<_ACEOF
15862#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15863_ACEOF
15864
15865
15866 ;;
15867 *-hp-hpux* )
15868 echo "$as_me:$LINENO: checking for long long" >&5
15869echo $ECHO_N "checking for long long... $ECHO_C" >&6
15870if test "${ac_cv_type_long_long+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15872else
15873 cat >conftest.$ac_ext <<_ACEOF
15874#line $LINENO "configure"
15875/* confdefs.h. */
15876_ACEOF
15877cat confdefs.h >>conftest.$ac_ext
15878cat >>conftest.$ac_ext <<_ACEOF
15879/* end confdefs.h. */
15880$ac_includes_default
15881int
15882main ()
15883{
15884if ((long long *) 0)
15885 return 0;
15886if (sizeof (long long))
15887 return 0;
15888 ;
15889 return 0;
15890}
15891_ACEOF
15892rm -f conftest.$ac_objext
15893if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -s conftest.$ac_objext'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 ac_cv_type_long_long=yes
15905else
15906 echo "$as_me: failed program was:" >&5
15907sed 's/^/| /' conftest.$ac_ext >&5
15908
15909ac_cv_type_long_long=no
15910fi
15911rm -f conftest.$ac_objext conftest.$ac_ext
15912fi
15913echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15914echo "${ECHO_T}$ac_cv_type_long_long" >&6
15915
15916echo "$as_me:$LINENO: checking size of long long" >&5
15917echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15918if test "${ac_cv_sizeof_long_long+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920else
15921 if test "$ac_cv_type_long_long" = yes; then
15922 # The cast to unsigned long works around a bug in the HP C Compiler
15923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15925 # This bug is HP SR number 8606223364.
15926 if test "$cross_compiling" = yes; then
15927 # Depending upon the size, compute the lo and hi bounds.
15928cat >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{
15939static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15940test_array [0] = 0
15941
15942 ;
15943 return 0;
15944}
15945_ACEOF
15946rm -f conftest.$ac_objext
15947if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15948 (eval $ac_compile) 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } &&
15952 { ac_try='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15958 ac_lo=0 ac_mid=0
15959 while :; do
15960 cat >conftest.$ac_ext <<_ACEOF
15961#line $LINENO "configure"
15962/* confdefs.h. */
15963_ACEOF
15964cat confdefs.h >>conftest.$ac_ext
15965cat >>conftest.$ac_ext <<_ACEOF
15966/* end confdefs.h. */
15967$ac_includes_default
15968int
15969main ()
15970{
15971static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15972test_array [0] = 0
15973
15974 ;
15975 return 0;
15976}
15977_ACEOF
15978rm -f conftest.$ac_objext
15979if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -s conftest.$ac_objext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15987 ac_status=$?
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; }; then
15990 ac_hi=$ac_mid; break
15991else
15992 echo "$as_me: failed program was:" >&5
15993sed 's/^/| /' conftest.$ac_ext >&5
15994
15995ac_lo=`expr $ac_mid + 1`
15996 if test $ac_lo -le $ac_mid; then
15997 ac_lo= ac_hi=
15998 break
15999 fi
16000 ac_mid=`expr 2 '*' $ac_mid + 1`
16001fi
16002rm -f conftest.$ac_objext conftest.$ac_ext
16003 done
16004else
16005 echo "$as_me: failed program was:" >&5
16006sed 's/^/| /' conftest.$ac_ext >&5
16007
16008cat >conftest.$ac_ext <<_ACEOF
16009#line $LINENO "configure"
16010/* confdefs.h. */
16011_ACEOF
16012cat confdefs.h >>conftest.$ac_ext
16013cat >>conftest.$ac_ext <<_ACEOF
16014/* end confdefs.h. */
16015$ac_includes_default
16016int
16017main ()
16018{
16019static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16020test_array [0] = 0
16021
16022 ;
16023 return 0;
16024}
16025_ACEOF
16026rm -f conftest.$ac_objext
16027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16028 (eval $ac_compile) 2>&5
16029 ac_status=$?
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try='test -s conftest.$ac_objext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16038 ac_hi=-1 ac_mid=-1
16039 while :; do
16040 cat >conftest.$ac_ext <<_ACEOF
16041#line $LINENO "configure"
16042/* confdefs.h. */
16043_ACEOF
16044cat confdefs.h >>conftest.$ac_ext
16045cat >>conftest.$ac_ext <<_ACEOF
16046/* end confdefs.h. */
16047$ac_includes_default
16048int
16049main ()
16050{
16051static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16052test_array [0] = 0
16053
16054 ;
16055 return 0;
16056}
16057_ACEOF
16058rm -f conftest.$ac_objext
16059if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 (eval $ac_compile) 2>&5
16061 ac_status=$?
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } &&
16064 { ac_try='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16067 ac_status=$?
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_lo=$ac_mid; break
16071else
16072 echo "$as_me: failed program was:" >&5
16073sed 's/^/| /' conftest.$ac_ext >&5
16074
16075ac_hi=`expr '(' $ac_mid ')' - 1`
16076 if test $ac_mid -le $ac_hi; then
16077 ac_lo= ac_hi=
16078 break
16079 fi
16080 ac_mid=`expr 2 '*' $ac_mid`
16081fi
16082rm -f conftest.$ac_objext conftest.$ac_ext
16083 done
16084else
16085 echo "$as_me: failed program was:" >&5
16086sed 's/^/| /' conftest.$ac_ext >&5
16087
16088ac_lo= ac_hi=
16089fi
16090rm -f conftest.$ac_objext conftest.$ac_ext
16091fi
16092rm -f conftest.$ac_objext conftest.$ac_ext
16093# Binary search between lo and hi bounds.
16094while test "x$ac_lo" != "x$ac_hi"; do
16095 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16096 cat >conftest.$ac_ext <<_ACEOF
16097#line $LINENO "configure"
16098/* confdefs.h. */
16099_ACEOF
16100cat confdefs.h >>conftest.$ac_ext
16101cat >>conftest.$ac_ext <<_ACEOF
16102/* end confdefs.h. */
16103$ac_includes_default
16104int
16105main ()
16106{
16107static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16108test_array [0] = 0
16109
16110 ;
16111 return 0;
16112}
16113_ACEOF
16114rm -f conftest.$ac_objext
16115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16116 (eval $ac_compile) 2>&5
16117 ac_status=$?
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } &&
16120 { ac_try='test -s conftest.$ac_objext'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16123 ac_status=$?
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; }; then
16126 ac_hi=$ac_mid
16127else
16128 echo "$as_me: failed program was:" >&5
16129sed 's/^/| /' conftest.$ac_ext >&5
16130
16131ac_lo=`expr '(' $ac_mid ')' + 1`
16132fi
16133rm -f conftest.$ac_objext conftest.$ac_ext
16134done
16135case $ac_lo in
16136?*) ac_cv_sizeof_long_long=$ac_lo;;
16137'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16138See \`config.log' for more details." >&5
16139echo "$as_me: error: cannot compute sizeof (long long), 77
16140See \`config.log' for more details." >&2;}
16141 { (exit 1); exit 1; }; } ;;
16142esac
16143else
16144 if test "$cross_compiling" = yes; then
16145 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16146See \`config.log' for more details." >&5
16147echo "$as_me: error: cannot run test program while cross compiling
16148See \`config.log' for more details." >&2;}
16149 { (exit 1); exit 1; }; }
16150else
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
16159long longval () { return (long) (sizeof (long long)); }
16160unsigned long ulongval () { return (long) (sizeof (long long)); }
16161#include <stdio.h>
16162#include <stdlib.h>
16163int
16164main ()
16165{
16166
16167 FILE *f = fopen ("conftest.val", "w");
16168 if (! f)
16169 exit (1);
16170 if (((long) (sizeof (long long))) < 0)
16171 {
16172 long i = longval ();
16173 if (i != ((long) (sizeof (long long))))
16174 exit (1);
16175 fprintf (f, "%ld\n", i);
16176 }
16177 else
16178 {
16179 unsigned long i = ulongval ();
16180 if (i != ((long) (sizeof (long long))))
16181 exit (1);
16182 fprintf (f, "%lu\n", i);
16183 }
16184 exit (ferror (f) || fclose (f) != 0);
16185
16186 ;
16187 return 0;
16188}
16189_ACEOF
16190rm -f conftest$ac_exeext
16191if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192 (eval $ac_link) 2>&5
16193 ac_status=$?
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_cv_sizeof_long_long=`cat conftest.val`
16202else
16203 echo "$as_me: program exited with status $ac_status" >&5
16204echo "$as_me: failed program was:" >&5
16205sed 's/^/| /' conftest.$ac_ext >&5
16206
16207( exit $ac_status )
16208{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16209See \`config.log' for more details." >&5
16210echo "$as_me: error: cannot compute sizeof (long long), 77
16211See \`config.log' for more details." >&2;}
16212 { (exit 1); exit 1; }; }
16213fi
16214rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16215fi
16216fi
16217rm -f conftest.val
16218else
16219 ac_cv_sizeof_long_long=0
16220fi
16221fi
16222echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16223echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16224cat >>confdefs.h <<_ACEOF
16225#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16226_ACEOF
16227
16228
16229 if test "$ac_cv_sizeof_long_long" != "0"; then
16230 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16231 fi
16232 ;;
16233 * )
16234 echo "$as_me:$LINENO: checking for long long" >&5
16235echo $ECHO_N "checking for long long... $ECHO_C" >&6
16236if test "${ac_cv_type_long_long+set}" = set; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16238else
16239 cat >conftest.$ac_ext <<_ACEOF
16240#line $LINENO "configure"
16241/* confdefs.h. */
16242_ACEOF
16243cat confdefs.h >>conftest.$ac_ext
16244cat >>conftest.$ac_ext <<_ACEOF
16245/* end confdefs.h. */
16246$ac_includes_default
16247int
16248main ()
16249{
16250if ((long long *) 0)
16251 return 0;
16252if (sizeof (long long))
16253 return 0;
16254 ;
16255 return 0;
16256}
16257_ACEOF
16258rm -f conftest.$ac_objext
16259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try='test -s conftest.$ac_objext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 ac_cv_type_long_long=yes
16271else
16272 echo "$as_me: failed program was:" >&5
16273sed 's/^/| /' conftest.$ac_ext >&5
16274
16275ac_cv_type_long_long=no
16276fi
16277rm -f conftest.$ac_objext conftest.$ac_ext
16278fi
16279echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16280echo "${ECHO_T}$ac_cv_type_long_long" >&6
16281
16282echo "$as_me:$LINENO: checking size of long long" >&5
16283echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16284if test "${ac_cv_sizeof_long_long+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286else
16287 if test "$ac_cv_type_long_long" = yes; then
16288 # The cast to unsigned long works around a bug in the HP C Compiler
16289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16291 # This bug is HP SR number 8606223364.
16292 if test "$cross_compiling" = yes; then
16293 # Depending upon the size, compute the lo and hi bounds.
16294cat >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{
16305static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16306test_array [0] = 0
16307
16308 ;
16309 return 0;
16310}
16311_ACEOF
16312rm -f conftest.$ac_objext
16313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } &&
16318 { ac_try='test -s conftest.$ac_objext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_lo=0 ac_mid=0
16325 while :; do
16326 cat >conftest.$ac_ext <<_ACEOF
16327#line $LINENO "configure"
16328/* confdefs.h. */
16329_ACEOF
16330cat confdefs.h >>conftest.$ac_ext
16331cat >>conftest.$ac_ext <<_ACEOF
16332/* end confdefs.h. */
16333$ac_includes_default
16334int
16335main ()
16336{
16337static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16338test_array [0] = 0
16339
16340 ;
16341 return 0;
16342}
16343_ACEOF
16344rm -f conftest.$ac_objext
16345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16346 (eval $ac_compile) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_hi=$ac_mid; break
16357else
16358 echo "$as_me: failed program was:" >&5
16359sed 's/^/| /' conftest.$ac_ext >&5
16360
16361ac_lo=`expr $ac_mid + 1`
16362 if test $ac_lo -le $ac_mid; then
16363 ac_lo= ac_hi=
16364 break
16365 fi
16366 ac_mid=`expr 2 '*' $ac_mid + 1`
16367fi
16368rm -f conftest.$ac_objext conftest.$ac_ext
16369 done
16370else
16371 echo "$as_me: failed program was:" >&5
16372sed 's/^/| /' conftest.$ac_ext >&5
16373
16374cat >conftest.$ac_ext <<_ACEOF
16375#line $LINENO "configure"
16376/* confdefs.h. */
16377_ACEOF
16378cat confdefs.h >>conftest.$ac_ext
16379cat >>conftest.$ac_ext <<_ACEOF
16380/* end confdefs.h. */
16381$ac_includes_default
16382int
16383main ()
16384{
16385static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16386test_array [0] = 0
16387
16388 ;
16389 return 0;
16390}
16391_ACEOF
16392rm -f conftest.$ac_objext
16393if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16394 (eval $ac_compile) 2>&5
16395 ac_status=$?
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try='test -s conftest.$ac_objext'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16401 ac_status=$?
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 ac_hi=-1 ac_mid=-1
16405 while :; do
16406 cat >conftest.$ac_ext <<_ACEOF
16407#line $LINENO "configure"
16408/* confdefs.h. */
16409_ACEOF
16410cat confdefs.h >>conftest.$ac_ext
16411cat >>conftest.$ac_ext <<_ACEOF
16412/* end confdefs.h. */
16413$ac_includes_default
16414int
16415main ()
16416{
16417static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16418test_array [0] = 0
16419
16420 ;
16421 return 0;
16422}
16423_ACEOF
16424rm -f conftest.$ac_objext
16425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16426 (eval $ac_compile) 2>&5
16427 ac_status=$?
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } &&
16430 { ac_try='test -s conftest.$ac_objext'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16433 ac_status=$?
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; }; then
16436 ac_lo=$ac_mid; break
16437else
16438 echo "$as_me: failed program was:" >&5
16439sed 's/^/| /' conftest.$ac_ext >&5
16440
16441ac_hi=`expr '(' $ac_mid ')' - 1`
16442 if test $ac_mid -le $ac_hi; then
16443 ac_lo= ac_hi=
16444 break
16445 fi
16446 ac_mid=`expr 2 '*' $ac_mid`
16447fi
16448rm -f conftest.$ac_objext conftest.$ac_ext
16449 done
16450else
16451 echo "$as_me: failed program was:" >&5
16452sed 's/^/| /' conftest.$ac_ext >&5
16453
16454ac_lo= ac_hi=
16455fi
16456rm -f conftest.$ac_objext conftest.$ac_ext
16457fi
16458rm -f conftest.$ac_objext conftest.$ac_ext
16459# Binary search between lo and hi bounds.
16460while test "x$ac_lo" != "x$ac_hi"; do
16461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16462 cat >conftest.$ac_ext <<_ACEOF
16463#line $LINENO "configure"
16464/* confdefs.h. */
16465_ACEOF
16466cat confdefs.h >>conftest.$ac_ext
16467cat >>conftest.$ac_ext <<_ACEOF
16468/* end confdefs.h. */
16469$ac_includes_default
16470int
16471main ()
16472{
16473static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16474test_array [0] = 0
16475
16476 ;
16477 return 0;
16478}
16479_ACEOF
16480rm -f conftest.$ac_objext
16481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>&5
16483 ac_status=$?
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try='test -s conftest.$ac_objext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 ac_hi=$ac_mid
16493else
16494 echo "$as_me: failed program was:" >&5
16495sed 's/^/| /' conftest.$ac_ext >&5
16496
16497ac_lo=`expr '(' $ac_mid ')' + 1`
16498fi
16499rm -f conftest.$ac_objext conftest.$ac_ext
16500done
16501case $ac_lo in
16502?*) ac_cv_sizeof_long_long=$ac_lo;;
16503'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16504See \`config.log' for more details." >&5
16505echo "$as_me: error: cannot compute sizeof (long long), 77
16506See \`config.log' for more details." >&2;}
16507 { (exit 1); exit 1; }; } ;;
16508esac
16509else
16510 if test "$cross_compiling" = yes; then
16511 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16512See \`config.log' for more details." >&5
16513echo "$as_me: error: cannot run test program while cross compiling
16514See \`config.log' for more details." >&2;}
16515 { (exit 1); exit 1; }; }
16516else
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
16525long longval () { return (long) (sizeof (long long)); }
16526unsigned long ulongval () { return (long) (sizeof (long long)); }
16527#include <stdio.h>
16528#include <stdlib.h>
16529int
16530main ()
16531{
16532
16533 FILE *f = fopen ("conftest.val", "w");
16534 if (! f)
16535 exit (1);
16536 if (((long) (sizeof (long long))) < 0)
16537 {
16538 long i = longval ();
16539 if (i != ((long) (sizeof (long long))))
16540 exit (1);
16541 fprintf (f, "%ld\n", i);
16542 }
16543 else
16544 {
16545 unsigned long i = ulongval ();
16546 if (i != ((long) (sizeof (long long))))
16547 exit (1);
16548 fprintf (f, "%lu\n", i);
16549 }
16550 exit (ferror (f) || fclose (f) != 0);
16551
16552 ;
16553 return 0;
16554}
16555_ACEOF
16556rm -f conftest$ac_exeext
16557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16558 (eval $ac_link) 2>&5
16559 ac_status=$?
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 ac_cv_sizeof_long_long=`cat conftest.val`
16568else
16569 echo "$as_me: program exited with status $ac_status" >&5
16570echo "$as_me: failed program was:" >&5
16571sed 's/^/| /' conftest.$ac_ext >&5
16572
16573( exit $ac_status )
16574{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16575See \`config.log' for more details." >&5
16576echo "$as_me: error: cannot compute sizeof (long long), 77
16577See \`config.log' for more details." >&2;}
16578 { (exit 1); exit 1; }; }
16579fi
16580rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16581fi
16582fi
16583rm -f conftest.val
16584else
16585 ac_cv_sizeof_long_long=0
16586fi
16587fi
16588echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16589echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16590cat >>confdefs.h <<_ACEOF
16591#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16592_ACEOF
16593
16594
16595esac
16596
16597echo "$as_me:$LINENO: checking size of wchar_t" >&5
16598echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16599if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16601else
16602
16603 if test "$cross_compiling" = yes; then
16604
16605 case "${host}" in
16606 *-pc-msdosdjgpp )
16607 wx_cv_sizeof_wchar_t=0
16608 ;;
16609 * )
16610 wx_cv_sizeof_wchar_t=4
16611 ;;
16612 esac
16613
16614
16615else
16616 cat >conftest.$ac_ext <<_ACEOF
16617#line $LINENO "configure"
16618/* confdefs.h. */
16619_ACEOF
16620cat confdefs.h >>conftest.$ac_ext
16621cat >>conftest.$ac_ext <<_ACEOF
16622/* end confdefs.h. */
16623
16624 /* DJGPP only has fake wchar_t: */
16625 #ifdef __DJGPP__
16626 # error "fake wchar_t"
16627 #endif
16628 #ifdef HAVE_WCHAR_H
16629 # ifdef __CYGWIN__
16630 # include <stddef.h>
16631 # endif
16632 # include <wchar.h>
16633 #endif
16634 #ifdef HAVE_STDLIB_H
16635 # include <stdlib.h>
16636 #endif
16637 #include <stdio.h>
16638 int main()
16639 {
16640 FILE *f=fopen("conftestval", "w");
16641 if (!f) exit(1);
16642 fprintf(f, "%i", sizeof(wchar_t));
16643 exit(0);
16644 }
16645
16646_ACEOF
16647rm -f conftest$ac_exeext
16648if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16649 (eval $ac_link) 2>&5
16650 ac_status=$?
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16655 ac_status=$?
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 wx_cv_sizeof_wchar_t=`cat conftestval`
16659else
16660 echo "$as_me: program exited with status $ac_status" >&5
16661echo "$as_me: failed program was:" >&5
16662sed 's/^/| /' conftest.$ac_ext >&5
16663
16664( exit $ac_status )
16665wx_cv_sizeof_wchar_t=0
16666fi
16667rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16668fi
16669
16670fi
16671echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16672echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16673
16674cat >>confdefs.h <<_ACEOF
16675#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16676_ACEOF
16677
16678
16679# Check whether --enable-largefile or --disable-largefile was given.
16680if test "${enable_largefile+set}" = set; then
16681 enableval="$enable_largefile"
16682
16683fi;
16684if test "$enable_largefile" != no; then
16685 wx_largefile=no
16686
16687 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16688echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16689if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16691else
16692
16693 cat >conftest.$ac_ext <<_ACEOF
16694#line $LINENO "configure"
16695/* confdefs.h. */
16696_ACEOF
16697cat confdefs.h >>conftest.$ac_ext
16698cat >>conftest.$ac_ext <<_ACEOF
16699/* end confdefs.h. */
16700#define _FILE_OFFSET_BITS 64
16701 #include <sys/types.h>
16702int
16703main ()
16704{
16705typedef struct {
16706 unsigned int field: sizeof(off_t) == 8;
16707} wxlf;
16708
16709 ;
16710 return 0;
16711}
16712_ACEOF
16713rm -f conftest.$ac_objext
16714if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16715 (eval $ac_compile) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } &&
16719 { ac_try='test -s conftest.$ac_objext'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; }; then
16725 ac_cv_sys_file_offset_bits=64
16726else
16727 echo "$as_me: failed program was:" >&5
16728sed 's/^/| /' conftest.$ac_ext >&5
16729
16730ac_cv_sys_file_offset_bits=no
16731fi
16732rm -f conftest.$ac_objext conftest.$ac_ext
16733
16734
16735fi
16736echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16737echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16738
16739 if test "$ac_cv_sys_file_offset_bits" != no; then
16740 wx_largefile=yes
16741 cat >>confdefs.h <<_ACEOF
16742#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16743_ACEOF
16744
16745 fi
16746
16747 if test "x$wx_largefile" != "xyes"; then
16748
16749 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16750echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16751if test "${ac_cv_sys_large_files+set}" = set; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16753else
16754
16755 cat >conftest.$ac_ext <<_ACEOF
16756#line $LINENO "configure"
16757/* confdefs.h. */
16758_ACEOF
16759cat confdefs.h >>conftest.$ac_ext
16760cat >>conftest.$ac_ext <<_ACEOF
16761/* end confdefs.h. */
16762#define _LARGE_FILES 1
16763 #include <sys/types.h>
16764int
16765main ()
16766{
16767typedef struct {
16768 unsigned int field: sizeof(off_t) == 8;
16769} wxlf;
16770
16771 ;
16772 return 0;
16773}
16774_ACEOF
16775rm -f conftest.$ac_objext
16776if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try='test -s conftest.$ac_objext'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16784 ac_status=$?
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; }; then
16787 ac_cv_sys_large_files=1
16788else
16789 echo "$as_me: failed program was:" >&5
16790sed 's/^/| /' conftest.$ac_ext >&5
16791
16792ac_cv_sys_large_files=no
16793fi
16794rm -f conftest.$ac_objext conftest.$ac_ext
16795
16796
16797fi
16798echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16799echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16800
16801 if test "$ac_cv_sys_large_files" != no; then
16802 wx_largefile=yes
16803 cat >>confdefs.h <<_ACEOF
16804#define _LARGE_FILES $ac_cv_sys_large_files
16805_ACEOF
16806
16807 fi
16808
16809 fi
16810
16811 echo "$as_me:$LINENO: checking if large file support is available" >&5
16812echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16813 if test "x$wx_largefile" = "xyes"; then
16814 cat >>confdefs.h <<\_ACEOF
16815#define HAVE_LARGEFILE_SUPPORT 1
16816_ACEOF
16817
16818 fi
16819 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16820echo "${ECHO_T}$wx_largefile" >&6
16821fi
16822
16823
16824if test "x$wx_largefile" = "xyes"; then
16825 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16826 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16827 else
16828 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16829 fi
16830 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16831fi
16832
16833echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16834echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16835if test "${ac_cv_c_bigendian+set}" = set; then
16836 echo $ECHO_N "(cached) $ECHO_C" >&6
16837else
16838 ac_cv_c_bigendian=unknown
16839# See if sys/param.h defines the BYTE_ORDER macro.
16840cat >conftest.$ac_ext <<_ACEOF
16841#line $LINENO "configure"
16842/* confdefs.h. */
16843_ACEOF
16844cat confdefs.h >>conftest.$ac_ext
16845cat >>conftest.$ac_ext <<_ACEOF
16846/* end confdefs.h. */
16847#include <sys/types.h>
16848#include <sys/param.h>
16849int
16850main ()
16851{
16852
16853#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16854 bogus endian macros
16855#endif
16856 ;
16857 return 0;
16858}
16859_ACEOF
16860rm -f conftest.$ac_objext
16861if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16862 (eval $ac_compile) 2>&5
16863 ac_status=$?
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } &&
16866 { ac_try='test -s conftest.$ac_objext'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16869 ac_status=$?
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16872 # It does; now see whether it defined to BIG_ENDIAN or not.
16873cat >conftest.$ac_ext <<_ACEOF
16874#line $LINENO "configure"
16875/* confdefs.h. */
16876_ACEOF
16877cat confdefs.h >>conftest.$ac_ext
16878cat >>conftest.$ac_ext <<_ACEOF
16879/* end confdefs.h. */
16880#include <sys/types.h>
16881#include <sys/param.h>
16882int
16883main ()
16884{
16885
16886#if BYTE_ORDER != BIG_ENDIAN
16887 not big endian
16888#endif
16889 ;
16890 return 0;
16891}
16892_ACEOF
16893rm -f conftest.$ac_objext
16894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } &&
16899 { ac_try='test -s conftest.$ac_objext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16902 ac_status=$?
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 ac_cv_c_bigendian=yes
16906else
16907 echo "$as_me: failed program was:" >&5
16908sed 's/^/| /' conftest.$ac_ext >&5
16909
16910ac_cv_c_bigendian=no
16911fi
16912rm -f conftest.$ac_objext conftest.$ac_ext
16913else
16914 echo "$as_me: failed program was:" >&5
16915sed 's/^/| /' conftest.$ac_ext >&5
16916
16917fi
16918rm -f conftest.$ac_objext conftest.$ac_ext
16919if test $ac_cv_c_bigendian = unknown; then
16920if test "$cross_compiling" = yes; then
16921 ac_cv_c_bigendian=unknown
16922else
16923 cat >conftest.$ac_ext <<_ACEOF
16924#line $LINENO "configure"
16925/* confdefs.h. */
16926_ACEOF
16927cat confdefs.h >>conftest.$ac_ext
16928cat >>conftest.$ac_ext <<_ACEOF
16929/* end confdefs.h. */
16930main () {
16931 /* Are we little or big endian? From Harbison&Steele. */
16932 union
16933 {
16934 long l;
16935 char c[sizeof (long)];
16936 } u;
16937 u.l = 1;
16938 exit (u.c[sizeof (long) - 1] == 1);
16939}
16940_ACEOF
16941rm -f conftest$ac_exeext
16942if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16943 (eval $ac_link) 2>&5
16944 ac_status=$?
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16952 ac_cv_c_bigendian=no
16953else
16954 echo "$as_me: program exited with status $ac_status" >&5
16955echo "$as_me: failed program was:" >&5
16956sed 's/^/| /' conftest.$ac_ext >&5
16957
16958( exit $ac_status )
16959ac_cv_c_bigendian=yes
16960fi
16961rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16962fi
16963fi
16964fi
16965echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16966echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16967if test $ac_cv_c_bigendian = unknown; then
16968 { 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
16969echo "$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;}
16970fi
16971if test $ac_cv_c_bigendian = yes; then
16972 cat >>confdefs.h <<\_ACEOF
16973#define WORDS_BIGENDIAN 1
16974_ACEOF
16975
16976fi
16977
16978
16979
16980ac_ext=cc
16981ac_cpp='$CXXCPP $CPPFLAGS'
16982ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16985echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16986echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16987if test -z "$CXXCPP"; then
16988 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16990else
16991 # Double quotes because CXXCPP needs to be expanded
16992 for CXXCPP in "$CXX -E" "/lib/cpp"
16993 do
16994 ac_preproc_ok=false
16995for ac_cxx_preproc_warn_flag in '' yes
16996do
16997 # Use a header file that comes with gcc, so configuring glibc
16998 # with a fresh cross-compiler works.
16999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17000 # <limits.h> exists even on freestanding compilers.
17001 # On the NeXT, cc -E runs the code through the compiler's parser,
17002 # not just through cpp. "Syntax error" is here to catch this case.
17003 cat >conftest.$ac_ext <<_ACEOF
17004#line $LINENO "configure"
17005/* confdefs.h. */
17006_ACEOF
17007cat confdefs.h >>conftest.$ac_ext
17008cat >>conftest.$ac_ext <<_ACEOF
17009/* end confdefs.h. */
17010#ifdef __STDC__
17011# include <limits.h>
17012#else
17013# include <assert.h>
17014#endif
17015 Syntax error
17016_ACEOF
17017if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17019 ac_status=$?
17020 grep -v '^ *+' conftest.er1 >conftest.err
17021 rm -f conftest.er1
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } >/dev/null; then
17025 if test -s conftest.err; then
17026 ac_cpp_err=$ac_cxx_preproc_warn_flag
17027 else
17028 ac_cpp_err=
17029 fi
17030else
17031 ac_cpp_err=yes
17032fi
17033if test -z "$ac_cpp_err"; then
17034 :
17035else
17036 echo "$as_me: failed program was:" >&5
17037sed 's/^/| /' conftest.$ac_ext >&5
17038
17039 # Broken: fails on valid input.
17040continue
17041fi
17042rm -f conftest.err conftest.$ac_ext
17043
17044 # OK, works on sane cases. Now check whether non-existent headers
17045 # can be detected and how.
17046 cat >conftest.$ac_ext <<_ACEOF
17047#line $LINENO "configure"
17048/* confdefs.h. */
17049_ACEOF
17050cat confdefs.h >>conftest.$ac_ext
17051cat >>conftest.$ac_ext <<_ACEOF
17052/* end confdefs.h. */
17053#include <ac_nonexistent.h>
17054_ACEOF
17055if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17057 ac_status=$?
17058 grep -v '^ *+' conftest.er1 >conftest.err
17059 rm -f conftest.er1
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } >/dev/null; then
17063 if test -s conftest.err; then
17064 ac_cpp_err=$ac_cxx_preproc_warn_flag
17065 else
17066 ac_cpp_err=
17067 fi
17068else
17069 ac_cpp_err=yes
17070fi
17071if test -z "$ac_cpp_err"; then
17072 # Broken: success on invalid input.
17073continue
17074else
17075 echo "$as_me: failed program was:" >&5
17076sed 's/^/| /' conftest.$ac_ext >&5
17077
17078 # Passes both tests.
17079ac_preproc_ok=:
17080break
17081fi
17082rm -f conftest.err conftest.$ac_ext
17083
17084done
17085# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17086rm -f conftest.err conftest.$ac_ext
17087if $ac_preproc_ok; then
17088 break
17089fi
17090
17091 done
17092 ac_cv_prog_CXXCPP=$CXXCPP
17093
17094fi
17095 CXXCPP=$ac_cv_prog_CXXCPP
17096else
17097 ac_cv_prog_CXXCPP=$CXXCPP
17098fi
17099echo "$as_me:$LINENO: result: $CXXCPP" >&5
17100echo "${ECHO_T}$CXXCPP" >&6
17101ac_preproc_ok=false
17102for ac_cxx_preproc_warn_flag in '' yes
17103do
17104 # Use a header file that comes with gcc, so configuring glibc
17105 # with a fresh cross-compiler works.
17106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17107 # <limits.h> exists even on freestanding compilers.
17108 # On the NeXT, cc -E runs the code through the compiler's parser,
17109 # not just through cpp. "Syntax error" is here to catch this case.
17110 cat >conftest.$ac_ext <<_ACEOF
17111#line $LINENO "configure"
17112/* confdefs.h. */
17113_ACEOF
17114cat confdefs.h >>conftest.$ac_ext
17115cat >>conftest.$ac_ext <<_ACEOF
17116/* end confdefs.h. */
17117#ifdef __STDC__
17118# include <limits.h>
17119#else
17120# include <assert.h>
17121#endif
17122 Syntax error
17123_ACEOF
17124if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17126 ac_status=$?
17127 grep -v '^ *+' conftest.er1 >conftest.err
17128 rm -f conftest.er1
17129 cat conftest.err >&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } >/dev/null; then
17132 if test -s conftest.err; then
17133 ac_cpp_err=$ac_cxx_preproc_warn_flag
17134 else
17135 ac_cpp_err=
17136 fi
17137else
17138 ac_cpp_err=yes
17139fi
17140if test -z "$ac_cpp_err"; then
17141 :
17142else
17143 echo "$as_me: failed program was:" >&5
17144sed 's/^/| /' conftest.$ac_ext >&5
17145
17146 # Broken: fails on valid input.
17147continue
17148fi
17149rm -f conftest.err conftest.$ac_ext
17150
17151 # OK, works on sane cases. Now check whether non-existent headers
17152 # can be detected and how.
17153 cat >conftest.$ac_ext <<_ACEOF
17154#line $LINENO "configure"
17155/* confdefs.h. */
17156_ACEOF
17157cat confdefs.h >>conftest.$ac_ext
17158cat >>conftest.$ac_ext <<_ACEOF
17159/* end confdefs.h. */
17160#include <ac_nonexistent.h>
17161_ACEOF
17162if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } >/dev/null; then
17170 if test -s conftest.err; then
17171 ac_cpp_err=$ac_cxx_preproc_warn_flag
17172 else
17173 ac_cpp_err=
17174 fi
17175else
17176 ac_cpp_err=yes
17177fi
17178if test -z "$ac_cpp_err"; then
17179 # Broken: success on invalid input.
17180continue
17181else
17182 echo "$as_me: failed program was:" >&5
17183sed 's/^/| /' conftest.$ac_ext >&5
17184
17185 # Passes both tests.
17186ac_preproc_ok=:
17187break
17188fi
17189rm -f conftest.err conftest.$ac_ext
17190
17191done
17192# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17193rm -f conftest.err conftest.$ac_ext
17194if $ac_preproc_ok; then
17195 :
17196else
17197 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17198See \`config.log' for more details." >&5
17199echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17200See \`config.log' for more details." >&2;}
17201 { (exit 1); exit 1; }; }
17202fi
17203
17204ac_ext=cc
17205ac_cpp='$CXXCPP $CPPFLAGS'
17206ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17209
17210
17211
17212 if test "$cross_compiling" = "yes"; then
17213 cat >>confdefs.h <<\_ACEOF
17214#define wxUSE_IOSTREAMH 1
17215_ACEOF
17216
17217 else
17218
17219
17220 ac_ext=cc
17221ac_cpp='$CXXCPP $CPPFLAGS'
17222ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17223ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17224ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17225
17226
17227
17228for ac_header in iostream
17229do
17230as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17231if eval "test \"\${$as_ac_Header+set}\" = set"; then
17232 echo "$as_me:$LINENO: checking for $ac_header" >&5
17233echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17234if eval "test \"\${$as_ac_Header+set}\" = set"; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236fi
17237echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17238echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17239else
17240 # Is the header compilable?
17241echo "$as_me:$LINENO: checking $ac_header usability" >&5
17242echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17243cat >conftest.$ac_ext <<_ACEOF
17244#line $LINENO "configure"
17245/* confdefs.h. */
17246_ACEOF
17247cat confdefs.h >>conftest.$ac_ext
17248cat >>conftest.$ac_ext <<_ACEOF
17249/* end confdefs.h. */
17250$ac_includes_default
17251#include <$ac_header>
17252_ACEOF
17253rm -f conftest.$ac_objext
17254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17255 (eval $ac_compile) 2>&5
17256 ac_status=$?
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try='test -s conftest.$ac_objext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17262 ac_status=$?
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17265 ac_header_compiler=yes
17266else
17267 echo "$as_me: failed program was:" >&5
17268sed 's/^/| /' conftest.$ac_ext >&5
17269
17270ac_header_compiler=no
17271fi
17272rm -f conftest.$ac_objext conftest.$ac_ext
17273echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17274echo "${ECHO_T}$ac_header_compiler" >&6
17275
17276# Is the header present?
17277echo "$as_me:$LINENO: checking $ac_header presence" >&5
17278echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17279cat >conftest.$ac_ext <<_ACEOF
17280#line $LINENO "configure"
17281/* confdefs.h. */
17282_ACEOF
17283cat confdefs.h >>conftest.$ac_ext
17284cat >>conftest.$ac_ext <<_ACEOF
17285/* end confdefs.h. */
17286#include <$ac_header>
17287_ACEOF
17288if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17290 ac_status=$?
17291 grep -v '^ *+' conftest.er1 >conftest.err
17292 rm -f conftest.er1
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } >/dev/null; then
17296 if test -s conftest.err; then
17297 ac_cpp_err=$ac_cxx_preproc_warn_flag
17298 else
17299 ac_cpp_err=
17300 fi
17301else
17302 ac_cpp_err=yes
17303fi
17304if test -z "$ac_cpp_err"; then
17305 ac_header_preproc=yes
17306else
17307 echo "$as_me: failed program was:" >&5
17308sed 's/^/| /' conftest.$ac_ext >&5
17309
17310 ac_header_preproc=no
17311fi
17312rm -f conftest.err conftest.$ac_ext
17313echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17314echo "${ECHO_T}$ac_header_preproc" >&6
17315
17316# So? What about this header?
17317case $ac_header_compiler:$ac_header_preproc in
17318 yes:no )
17319 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17320echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17322echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17323 (
17324 cat <<\_ASBOX
17325## ------------------------------------ ##
17326## Report this to bug-autoconf@gnu.org. ##
17327## ------------------------------------ ##
17328_ASBOX
17329 ) |
17330 sed "s/^/$as_me: WARNING: /" >&2
17331 ;;
17332 no:yes )
17333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17334echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17336echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17338echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17339 (
17340 cat <<\_ASBOX
17341## ------------------------------------ ##
17342## Report this to bug-autoconf@gnu.org. ##
17343## ------------------------------------ ##
17344_ASBOX
17345 ) |
17346 sed "s/^/$as_me: WARNING: /" >&2
17347 ;;
17348esac
17349echo "$as_me:$LINENO: checking for $ac_header" >&5
17350echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17351if eval "test \"\${$as_ac_Header+set}\" = set"; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17353else
17354 eval "$as_ac_Header=$ac_header_preproc"
17355fi
17356echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17357echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17358
17359fi
17360if test `eval echo '${'$as_ac_Header'}'` = yes; then
17361 cat >>confdefs.h <<_ACEOF
17362#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17363_ACEOF
17364
17365fi
17366
17367done
17368
17369
17370 if test "$ac_cv_header_iostream" = "yes" ; then
17371 :
17372 else
17373 cat >>confdefs.h <<\_ACEOF
17374#define wxUSE_IOSTREAMH 1
17375_ACEOF
17376
17377 fi
17378
17379 ac_ext=c
17380ac_cpp='$CPP $CPPFLAGS'
17381ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383ac_compiler_gnu=$ac_cv_c_compiler_gnu
17384
17385 fi
17386
17387
17388
17389 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17390echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17391if test "${wx_cv_cpp_bool+set}" = set; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17393else
17394
17395
17396
17397 ac_ext=cc
17398ac_cpp='$CXXCPP $CPPFLAGS'
17399ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17400ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17401ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17402
17403
17404 cat >conftest.$ac_ext <<_ACEOF
17405#line $LINENO "configure"
17406/* confdefs.h. */
17407_ACEOF
17408cat confdefs.h >>conftest.$ac_ext
17409cat >>conftest.$ac_ext <<_ACEOF
17410/* end confdefs.h. */
17411
17412
17413int
17414main ()
17415{
17416
17417 bool b = true;
17418
17419 return 0;
17420
17421 ;
17422 return 0;
17423}
17424_ACEOF
17425rm -f conftest.$ac_objext
17426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>&5
17428 ac_status=$?
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17434 ac_status=$?
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437
17438 wx_cv_cpp_bool=yes
17439
17440else
17441 echo "$as_me: failed program was:" >&5
17442sed 's/^/| /' conftest.$ac_ext >&5
17443
17444
17445 wx_cv_cpp_bool=no
17446
17447
17448fi
17449rm -f conftest.$ac_objext conftest.$ac_ext
17450
17451 ac_ext=c
17452ac_cpp='$CPP $CPPFLAGS'
17453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455ac_compiler_gnu=$ac_cv_c_compiler_gnu
17456
17457
17458fi
17459echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17460echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17461
17462 if test "$wx_cv_cpp_bool" = "yes"; then
17463 cat >>confdefs.h <<\_ACEOF
17464#define HAVE_BOOL 1
17465_ACEOF
17466
17467 fi
17468
17469
17470
17471 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17472echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17473if test "${wx_cv_explicit+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475else
17476
17477
17478
17479 ac_ext=cc
17480ac_cpp='$CXXCPP $CPPFLAGS'
17481ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17482ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17483ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17484
17485
17486 cat >conftest.$ac_ext <<_ACEOF
17487#line $LINENO "configure"
17488/* confdefs.h. */
17489_ACEOF
17490cat confdefs.h >>conftest.$ac_ext
17491cat >>conftest.$ac_ext <<_ACEOF
17492/* end confdefs.h. */
17493
17494 class Foo { public: explicit Foo(int) {} };
17495
17496int
17497main ()
17498{
17499
17500 return 0;
17501
17502 ;
17503 return 0;
17504}
17505_ACEOF
17506rm -f conftest.$ac_objext
17507if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17508 (eval $ac_compile) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17515 ac_status=$?
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17518
17519 cat >conftest.$ac_ext <<_ACEOF
17520#line $LINENO "configure"
17521/* confdefs.h. */
17522_ACEOF
17523cat confdefs.h >>conftest.$ac_ext
17524cat >>conftest.$ac_ext <<_ACEOF
17525/* end confdefs.h. */
17526
17527 class Foo { public: explicit Foo(int) {} };
17528 static void TakeFoo(const Foo& foo) { }
17529
17530int
17531main ()
17532{
17533
17534 TakeFoo(17);
17535 return 0;
17536
17537 ;
17538 return 0;
17539}
17540_ACEOF
17541rm -f conftest.$ac_objext
17542if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17543 (eval $ac_compile) 2>&5
17544 ac_status=$?
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } &&
17547 { ac_try='test -s conftest.$ac_objext'
17548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17549 (eval $ac_try) 2>&5
17550 ac_status=$?
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); }; }; then
17553 wx_cv_explicit=no
17554else
17555 echo "$as_me: failed program was:" >&5
17556sed 's/^/| /' conftest.$ac_ext >&5
17557
17558wx_cv_explicit=yes
17559
17560fi
17561rm -f conftest.$ac_objext conftest.$ac_ext
17562
17563else
17564 echo "$as_me: failed program was:" >&5
17565sed 's/^/| /' conftest.$ac_ext >&5
17566
17567wx_cv_explicit=no
17568
17569fi
17570rm -f conftest.$ac_objext conftest.$ac_ext
17571
17572 ac_ext=c
17573ac_cpp='$CPP $CPPFLAGS'
17574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17576ac_compiler_gnu=$ac_cv_c_compiler_gnu
17577
17578
17579fi
17580echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17581echo "${ECHO_T}$wx_cv_explicit" >&6
17582
17583 if test "$wx_cv_explicit" = "yes"; then
17584 cat >>confdefs.h <<\_ACEOF
17585#define HAVE_EXPLICIT 1
17586_ACEOF
17587
17588 fi
17589
17590
17591echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17592echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17593if test "${ac_cv_cxx_const_cast+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17595else
17596
17597
17598 ac_ext=cc
17599ac_cpp='$CXXCPP $CPPFLAGS'
17600ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17603
17604 cat >conftest.$ac_ext <<_ACEOF
17605#line $LINENO "configure"
17606/* confdefs.h. */
17607_ACEOF
17608cat confdefs.h >>conftest.$ac_ext
17609cat >>conftest.$ac_ext <<_ACEOF
17610/* end confdefs.h. */
17611
17612int
17613main ()
17614{
17615int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17616 ;
17617 return 0;
17618}
17619_ACEOF
17620rm -f conftest.$ac_objext
17621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>&5
17623 ac_status=$?
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); } &&
17626 { ac_try='test -s conftest.$ac_objext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17629 ac_status=$?
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
17632 ac_cv_cxx_const_cast=yes
17633else
17634 echo "$as_me: failed program was:" >&5
17635sed 's/^/| /' conftest.$ac_ext >&5
17636
17637ac_cv_cxx_const_cast=no
17638fi
17639rm -f conftest.$ac_objext conftest.$ac_ext
17640 ac_ext=c
17641ac_cpp='$CPP $CPPFLAGS'
17642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17644ac_compiler_gnu=$ac_cv_c_compiler_gnu
17645
17646
17647fi
17648echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17649echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17650if test "$ac_cv_cxx_const_cast" = yes; then
17651
17652cat >>confdefs.h <<\_ACEOF
17653#define HAVE_CONST_CAST
17654_ACEOF
17655
17656fi
17657
17658
17659if test "$wxUSE_STL" = "yes"; then
17660 ac_ext=cc
17661ac_cpp='$CXXCPP $CPPFLAGS'
17662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17665
17666
17667 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17668echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17669 cat >conftest.$ac_ext <<_ACEOF
17670#line $LINENO "configure"
17671/* confdefs.h. */
17672_ACEOF
17673cat confdefs.h >>conftest.$ac_ext
17674cat >>conftest.$ac_ext <<_ACEOF
17675/* end confdefs.h. */
17676#include <string>
17677 #include <functional>
17678 #include <algorithm>
17679 #include <vector>
17680 #include <list>
17681int
17682main ()
17683{
17684std::vector<int> moo;
17685 std::list<int> foo;
17686 std::vector<int>::iterator it =
17687 std::find_if(moo.begin(), moo.end(),
17688 std::bind2nd(std::less<int>(), 3));
17689 ;
17690 return 0;
17691}
17692_ACEOF
17693rm -f conftest.$ac_objext
17694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>&5
17696 ac_status=$?
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } &&
17699 { ac_try='test -s conftest.$ac_objext'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17705 echo "$as_me:$LINENO: result: yes" >&5
17706echo "${ECHO_T}yes" >&6
17707else
17708 echo "$as_me: failed program was:" >&5
17709sed 's/^/| /' conftest.$ac_ext >&5
17710
17711echo "$as_me:$LINENO: result: no" >&5
17712echo "${ECHO_T}no" >&6
17713 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17714echo "$as_me: error: Basic STL functionality missing" >&2;}
17715 { (exit 1); exit 1; }; }
17716fi
17717rm -f conftest.$ac_objext conftest.$ac_ext
17718
17719 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17720echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17721 cat >conftest.$ac_ext <<_ACEOF
17722#line $LINENO "configure"
17723/* confdefs.h. */
17724_ACEOF
17725cat confdefs.h >>conftest.$ac_ext
17726cat >>conftest.$ac_ext <<_ACEOF
17727/* end confdefs.h. */
17728#include <string>
17729int
17730main ()
17731{
17732std::wstring foo;
17733 ;
17734 return 0;
17735}
17736_ACEOF
17737rm -f conftest.$ac_objext
17738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17739 (eval $ac_compile) 2>&5
17740 ac_status=$?
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } &&
17743 { ac_try='test -s conftest.$ac_objext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17746 ac_status=$?
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 echo "$as_me:$LINENO: result: yes" >&5
17750echo "${ECHO_T}yes" >&6
17751 cat >>confdefs.h <<\_ACEOF
17752#define HAVE_STD_WSTRING 1
17753_ACEOF
17754
17755else
17756 echo "$as_me: failed program was:" >&5
17757sed 's/^/| /' conftest.$ac_ext >&5
17758
17759echo "$as_me:$LINENO: result: no" >&5
17760echo "${ECHO_T}no" >&6
17761fi
17762rm -f conftest.$ac_objext conftest.$ac_ext
17763
17764 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17765echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17766 cat >conftest.$ac_ext <<_ACEOF
17767#line $LINENO "configure"
17768/* confdefs.h. */
17769_ACEOF
17770cat confdefs.h >>conftest.$ac_ext
17771cat >>conftest.$ac_ext <<_ACEOF
17772/* end confdefs.h. */
17773#include <string>
17774int
17775main ()
17776{
17777std::string foo, bar;
17778 foo.compare(bar);
17779 foo.compare(1, 1, bar);
17780 foo.compare(1, 1, bar, 1, 1);
17781 foo.compare("");
17782 foo.compare(1, 1, "");
17783 foo.compare(1, 1, "", 2);
17784 ;
17785 return 0;
17786}
17787_ACEOF
17788rm -f conftest.$ac_objext
17789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17790 (eval $ac_compile) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } &&
17794 { ac_try='test -s conftest.$ac_objext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17800 echo "$as_me:$LINENO: result: yes" >&5
17801echo "${ECHO_T}yes" >&6
17802 cat >>confdefs.h <<\_ACEOF
17803#define HAVE_STD_STRING_COMPARE 1
17804_ACEOF
17805
17806else
17807 echo "$as_me: failed program was:" >&5
17808sed 's/^/| /' conftest.$ac_ext >&5
17809
17810echo "$as_me:$LINENO: result: no" >&5
17811echo "${ECHO_T}no" >&6
17812fi
17813rm -f conftest.$ac_objext conftest.$ac_ext
17814
17815 ac_ext=c
17816ac_cpp='$CPP $CPPFLAGS'
17817ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819ac_compiler_gnu=$ac_cv_c_compiler_gnu
17820
17821fi
17822
17823
17824SEARCH_INCLUDE="\
17825 /usr/local/include \
17826 \
17827 /usr/Motif-1.2/include \
17828 /usr/Motif-2.1/include \
17829 \
17830 /usr/include/Motif1.2 \
17831 /opt/xpm/include/X11 \
17832 /opt/GBxpm/include/ \
17833 /opt/GBxpm/X11/include/ \
17834 \
17835 /usr/Motif1.2/include \
17836 /usr/dt/include \
17837 /usr/openwin/include \
17838 \
17839 /usr/include/Xm \
17840 \
17841 /usr/X11R6/include \
17842 /usr/X11R6.4/include \
17843 /usr/X11R5/include \
17844 /usr/X11R4/include \
17845 \
17846 /usr/include/X11R6 \
17847 /usr/include/X11R5 \
17848 /usr/include/X11R4 \
17849 \
17850 /usr/local/X11R6/include \
17851 /usr/local/X11R5/include \
17852 /usr/local/X11R4/include \
17853 \
17854 /usr/local/include/X11R6 \
17855 /usr/local/include/X11R5 \
17856 /usr/local/include/X11R4 \
17857 \
17858 /usr/X11/include \
17859 /usr/include/X11 \
17860 /usr/local/X11/include \
17861 /usr/local/include/X11 \
17862 \
17863 /usr/X386/include \
17864 /usr/x386/include \
17865 /usr/XFree86/include/X11 \
17866 \
17867 X:/XFree86/include \
17868 X:/XFree86/include/X11 \
17869 \
17870 /usr/include/gtk \
17871 /usr/local/include/gtk \
17872 /usr/include/glib \
17873 /usr/local/include/glib \
17874 \
17875 /usr/include/qt \
17876 /usr/local/include/qt \
17877 \
17878 /usr/include/windows \
17879 /usr/include/wine \
17880 /usr/local/include/wine \
17881 \
17882 /usr/unsupported/include \
17883 /usr/athena/include \
17884 /usr/local/x11r5/include \
17885 /usr/lpp/Xamples/include \
17886 \
17887 /usr/openwin/share/include"
17888
17889SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17890
17891
17892cat >confcache <<\_ACEOF
17893# This file is a shell script that caches the results of configure
17894# tests run on this system so they can be shared between configure
17895# scripts and configure runs, see configure's option --config-cache.
17896# It is not useful on other systems. If it contains results you don't
17897# want to keep, you may remove or edit it.
17898#
17899# config.status only pays attention to the cache file if you give it
17900# the --recheck option to rerun configure.
17901#
17902# `ac_cv_env_foo' variables (set or unset) will be overridden when
17903# loading this file, other *unset* `ac_cv_foo' will be assigned the
17904# following values.
17905
17906_ACEOF
17907
17908# The following way of writing the cache mishandles newlines in values,
17909# but we know of no workaround that is simple, portable, and efficient.
17910# So, don't put newlines in cache variables' values.
17911# Ultrix sh set writes to stderr and can't be redirected directly,
17912# and sets the high bit in the cache file unless we assign to the vars.
17913{
17914 (set) 2>&1 |
17915 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17916 *ac_space=\ *)
17917 # `set' does not quote correctly, so add quotes (double-quote
17918 # substitution turns \\\\ into \\, and sed turns \\ into \).
17919 sed -n \
17920 "s/'/'\\\\''/g;
17921 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17922 ;;
17923 *)
17924 # `set' quotes correctly as required by POSIX, so do not add quotes.
17925 sed -n \
17926 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17927 ;;
17928 esac;
17929} |
17930 sed '
17931 t clear
17932 : clear
17933 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17934 t end
17935 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17936 : end' >>confcache
17937if diff $cache_file confcache >/dev/null 2>&1; then :; else
17938 if test -w $cache_file; then
17939 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17940 cat confcache >$cache_file
17941 else
17942 echo "not updating unwritable cache $cache_file"
17943 fi
17944fi
17945rm -f confcache
17946
17947if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17948 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17949echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17950if test "${wx_cv_lib_glibc21+set}" = set; then
17951 echo $ECHO_N "(cached) $ECHO_C" >&6
17952else
17953
17954 cat >conftest.$ac_ext <<_ACEOF
17955#line $LINENO "configure"
17956/* confdefs.h. */
17957_ACEOF
17958cat confdefs.h >>conftest.$ac_ext
17959cat >>conftest.$ac_ext <<_ACEOF
17960/* end confdefs.h. */
17961#include <features.h>
17962int
17963main ()
17964{
17965
17966 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17967 #error not glibc2.1
17968 #endif
17969
17970 ;
17971 return 0;
17972}
17973_ACEOF
17974rm -f conftest.$ac_objext
17975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17976 (eval $ac_compile) 2>&5
17977 ac_status=$?
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try='test -s conftest.$ac_objext'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; }; then
17986
17987 wx_cv_lib_glibc21=yes
17988
17989else
17990 echo "$as_me: failed program was:" >&5
17991sed 's/^/| /' conftest.$ac_ext >&5
17992
17993
17994 wx_cv_lib_glibc21=no
17995
17996
17997fi
17998rm -f conftest.$ac_objext conftest.$ac_ext
17999
18000fi
18001echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18002echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18003 if test "$wx_cv_lib_glibc21" = "yes"; then
18004 cat >>confdefs.h <<\_ACEOF
18005#define wxHAVE_GLIBC2 1
18006_ACEOF
18007
18008 fi
18009fi
18010
18011if test "x$wx_cv_lib_glibc21" = "xyes"; then
18012 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18013 cat >>confdefs.h <<\_ACEOF
18014#define _GNU_SOURCE 1
18015_ACEOF
18016
18017 fi
18018fi
18019
18020
18021
18022REGEX_INCLUDE=
18023if test "$wxUSE_REGEX" != "no"; then
18024 cat >>confdefs.h <<\_ACEOF
18025#define wxUSE_REGEX 1
18026_ACEOF
18027
18028
18029 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18030 if test "${ac_cv_header_regex_h+set}" = set; then
18031 echo "$as_me:$LINENO: checking for regex.h" >&5
18032echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18033if test "${ac_cv_header_regex_h+set}" = set; then
18034 echo $ECHO_N "(cached) $ECHO_C" >&6
18035fi
18036echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18037echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18038else
18039 # Is the header compilable?
18040echo "$as_me:$LINENO: checking regex.h usability" >&5
18041echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18042cat >conftest.$ac_ext <<_ACEOF
18043#line $LINENO "configure"
18044/* confdefs.h. */
18045_ACEOF
18046cat confdefs.h >>conftest.$ac_ext
18047cat >>conftest.$ac_ext <<_ACEOF
18048/* end confdefs.h. */
18049$ac_includes_default
18050#include <regex.h>
18051_ACEOF
18052rm -f conftest.$ac_objext
18053if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18054 (eval $ac_compile) 2>&5
18055 ac_status=$?
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } &&
18058 { ac_try='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18061 ac_status=$?
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18064 ac_header_compiler=yes
18065else
18066 echo "$as_me: failed program was:" >&5
18067sed 's/^/| /' conftest.$ac_ext >&5
18068
18069ac_header_compiler=no
18070fi
18071rm -f conftest.$ac_objext conftest.$ac_ext
18072echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18073echo "${ECHO_T}$ac_header_compiler" >&6
18074
18075# Is the header present?
18076echo "$as_me:$LINENO: checking regex.h presence" >&5
18077echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18078cat >conftest.$ac_ext <<_ACEOF
18079#line $LINENO "configure"
18080/* confdefs.h. */
18081_ACEOF
18082cat confdefs.h >>conftest.$ac_ext
18083cat >>conftest.$ac_ext <<_ACEOF
18084/* end confdefs.h. */
18085#include <regex.h>
18086_ACEOF
18087if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } >/dev/null; then
18095 if test -s conftest.err; then
18096 ac_cpp_err=$ac_c_preproc_warn_flag
18097 else
18098 ac_cpp_err=
18099 fi
18100else
18101 ac_cpp_err=yes
18102fi
18103if test -z "$ac_cpp_err"; then
18104 ac_header_preproc=yes
18105else
18106 echo "$as_me: failed program was:" >&5
18107sed 's/^/| /' conftest.$ac_ext >&5
18108
18109 ac_header_preproc=no
18110fi
18111rm -f conftest.err conftest.$ac_ext
18112echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18113echo "${ECHO_T}$ac_header_preproc" >&6
18114
18115# So? What about this header?
18116case $ac_header_compiler:$ac_header_preproc in
18117 yes:no )
18118 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18119echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18120 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18121echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18122 (
18123 cat <<\_ASBOX
18124## ------------------------------------ ##
18125## Report this to bug-autoconf@gnu.org. ##
18126## ------------------------------------ ##
18127_ASBOX
18128 ) |
18129 sed "s/^/$as_me: WARNING: /" >&2
18130 ;;
18131 no:yes )
18132 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18133echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18134 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18135echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18136 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18137echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18138 (
18139 cat <<\_ASBOX
18140## ------------------------------------ ##
18141## Report this to bug-autoconf@gnu.org. ##
18142## ------------------------------------ ##
18143_ASBOX
18144 ) |
18145 sed "s/^/$as_me: WARNING: /" >&2
18146 ;;
18147esac
18148echo "$as_me:$LINENO: checking for regex.h" >&5
18149echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18150if test "${ac_cv_header_regex_h+set}" = set; then
18151 echo $ECHO_N "(cached) $ECHO_C" >&6
18152else
18153 ac_cv_header_regex_h=$ac_header_preproc
18154fi
18155echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18156echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18157
18158fi
18159if test $ac_cv_header_regex_h = yes; then
18160
18161for ac_func in regcomp
18162do
18163as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18164echo "$as_me:$LINENO: checking for $ac_func" >&5
18165echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18166if eval "test \"\${$as_ac_var+set}\" = set"; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18168else
18169 cat >conftest.$ac_ext <<_ACEOF
18170#line $LINENO "configure"
18171/* confdefs.h. */
18172_ACEOF
18173cat confdefs.h >>conftest.$ac_ext
18174cat >>conftest.$ac_ext <<_ACEOF
18175/* end confdefs.h. */
18176/* System header to define __stub macros and hopefully few prototypes,
18177 which can conflict with char $ac_func (); below.
18178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18179 <limits.h> exists even on freestanding compilers. */
18180#ifdef __STDC__
18181# include <limits.h>
18182#else
18183# include <assert.h>
18184#endif
18185/* Override any gcc2 internal prototype to avoid an error. */
18186#ifdef __cplusplus
18187extern "C"
18188{
18189#endif
18190/* We use char because int might match the return type of a gcc2
18191 builtin and then its argument prototype would still apply. */
18192char $ac_func ();
18193/* The GNU C library defines this for functions which it implements
18194 to always fail with ENOSYS. Some functions are actually named
18195 something starting with __ and the normal name is an alias. */
18196#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18197choke me
18198#else
18199char (*f) () = $ac_func;
18200#endif
18201#ifdef __cplusplus
18202}
18203#endif
18204
18205int
18206main ()
18207{
18208return f != $ac_func;
18209 ;
18210 return 0;
18211}
18212_ACEOF
18213rm -f conftest.$ac_objext conftest$ac_exeext
18214if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18215 (eval $ac_link) 2>&5
18216 ac_status=$?
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try='test -s conftest$ac_exeext'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18222 ac_status=$?
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; }; then
18225 eval "$as_ac_var=yes"
18226else
18227 echo "$as_me: failed program was:" >&5
18228sed 's/^/| /' conftest.$ac_ext >&5
18229
18230eval "$as_ac_var=no"
18231fi
18232rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18233fi
18234echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18235echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18236if test `eval echo '${'$as_ac_var'}'` = yes; then
18237 cat >>confdefs.h <<_ACEOF
18238#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18239_ACEOF
18240
18241fi
18242done
18243
18244fi
18245
18246
18247
18248 if test "x$ac_cv_func_regcomp" != "xyes"; then
18249 if test "$wxUSE_REGEX" = "sys" ; then
18250 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18251echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18252 { (exit 1); exit 1; }; }
18253 else
18254 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18255echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18256 wxUSE_REGEX=builtin
18257 fi
18258 else
18259 wxUSE_REGEX=sys
18260 fi
18261 fi
18262
18263 if test "$wxUSE_REGEX" = "builtin" ; then
18264 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18265 fi
18266fi
18267
18268
18269ZLIB_INCLUDE=
18270ZLIB_LINK=
18271if test "$wxUSE_ZLIB" != "no" ; then
18272 cat >>confdefs.h <<\_ACEOF
18273#define wxUSE_ZLIB 1
18274_ACEOF
18275
18276
18277 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18278 if test "$USE_DARWIN" = 1; then
18279 system_zlib_h_ok="yes"
18280 else
18281 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18282echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18283if test "${ac_cv_header_zlib_h+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18285else
18286 if test "$cross_compiling" = yes; then
18287 unset ac_cv_header_zlib_h
18288
18289else
18290 cat >conftest.$ac_ext <<_ACEOF
18291#line $LINENO "configure"
18292/* confdefs.h. */
18293_ACEOF
18294cat confdefs.h >>conftest.$ac_ext
18295cat >>conftest.$ac_ext <<_ACEOF
18296/* end confdefs.h. */
18297
18298 #include <zlib.h>
18299 #include <stdio.h>
18300
18301 int main()
18302 {
18303 FILE *f=fopen("conftestval", "w");
18304 if (!f) exit(1);
18305 fprintf(f, "%s",
18306 ZLIB_VERSION[0] == '1' &&
18307 (ZLIB_VERSION[2] > '1' ||
18308 (ZLIB_VERSION[2] == '1' &&
18309 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18310 exit(0);
18311 }
18312
18313_ACEOF
18314rm -f conftest$ac_exeext
18315if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18316 (eval $ac_link) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 ac_cv_header_zlib_h=`cat conftestval`
18326else
18327 echo "$as_me: program exited with status $ac_status" >&5
18328echo "$as_me: failed program was:" >&5
18329sed 's/^/| /' conftest.$ac_ext >&5
18330
18331( exit $ac_status )
18332ac_cv_header_zlib_h=no
18333fi
18334rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18335fi
18336
18337fi
18338echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18339echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18340 if test "${ac_cv_header_zlib_h+set}" = set; then
18341 echo "$as_me:$LINENO: checking for zlib.h" >&5
18342echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18343if test "${ac_cv_header_zlib_h+set}" = set; then
18344 echo $ECHO_N "(cached) $ECHO_C" >&6
18345fi
18346echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18347echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18348else
18349 # Is the header compilable?
18350echo "$as_me:$LINENO: checking zlib.h usability" >&5
18351echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18352cat >conftest.$ac_ext <<_ACEOF
18353#line $LINENO "configure"
18354/* confdefs.h. */
18355_ACEOF
18356cat confdefs.h >>conftest.$ac_ext
18357cat >>conftest.$ac_ext <<_ACEOF
18358/* end confdefs.h. */
18359$ac_includes_default
18360#include <zlib.h>
18361_ACEOF
18362rm -f conftest.$ac_objext
18363if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>&5
18365 ac_status=$?
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } &&
18368 { ac_try='test -s conftest.$ac_objext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18371 ac_status=$?
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 ac_header_compiler=yes
18375else
18376 echo "$as_me: failed program was:" >&5
18377sed 's/^/| /' conftest.$ac_ext >&5
18378
18379ac_header_compiler=no
18380fi
18381rm -f conftest.$ac_objext conftest.$ac_ext
18382echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18383echo "${ECHO_T}$ac_header_compiler" >&6
18384
18385# Is the header present?
18386echo "$as_me:$LINENO: checking zlib.h presence" >&5
18387echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18388cat >conftest.$ac_ext <<_ACEOF
18389#line $LINENO "configure"
18390/* confdefs.h. */
18391_ACEOF
18392cat confdefs.h >>conftest.$ac_ext
18393cat >>conftest.$ac_ext <<_ACEOF
18394/* end confdefs.h. */
18395#include <zlib.h>
18396_ACEOF
18397if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18399 ac_status=$?
18400 grep -v '^ *+' conftest.er1 >conftest.err
18401 rm -f conftest.er1
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } >/dev/null; then
18405 if test -s conftest.err; then
18406 ac_cpp_err=$ac_c_preproc_warn_flag
18407 else
18408 ac_cpp_err=
18409 fi
18410else
18411 ac_cpp_err=yes
18412fi
18413if test -z "$ac_cpp_err"; then
18414 ac_header_preproc=yes
18415else
18416 echo "$as_me: failed program was:" >&5
18417sed 's/^/| /' conftest.$ac_ext >&5
18418
18419 ac_header_preproc=no
18420fi
18421rm -f conftest.err conftest.$ac_ext
18422echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18423echo "${ECHO_T}$ac_header_preproc" >&6
18424
18425# So? What about this header?
18426case $ac_header_compiler:$ac_header_preproc in
18427 yes:no )
18428 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18429echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18430 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18431echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18432 (
18433 cat <<\_ASBOX
18434## ------------------------------------ ##
18435## Report this to bug-autoconf@gnu.org. ##
18436## ------------------------------------ ##
18437_ASBOX
18438 ) |
18439 sed "s/^/$as_me: WARNING: /" >&2
18440 ;;
18441 no:yes )
18442 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18443echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18444 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18445echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18446 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18447echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18448 (
18449 cat <<\_ASBOX
18450## ------------------------------------ ##
18451## Report this to bug-autoconf@gnu.org. ##
18452## ------------------------------------ ##
18453_ASBOX
18454 ) |
18455 sed "s/^/$as_me: WARNING: /" >&2
18456 ;;
18457esac
18458echo "$as_me:$LINENO: checking for zlib.h" >&5
18459echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18460if test "${ac_cv_header_zlib_h+set}" = set; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18462else
18463 ac_cv_header_zlib_h=$ac_header_preproc
18464fi
18465echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18466echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18467
18468fi
18469
18470
18471
18472 system_zlib_h_ok=$ac_cv_header_zlib_h
18473 fi
18474
18475 if test "$system_zlib_h_ok" = "yes"; then
18476 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18477echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18478if test "${ac_cv_lib_z_deflate+set}" = set; then
18479 echo $ECHO_N "(cached) $ECHO_C" >&6
18480else
18481 ac_check_lib_save_LIBS=$LIBS
18482LIBS="-lz $LIBS"
18483cat >conftest.$ac_ext <<_ACEOF
18484#line $LINENO "configure"
18485/* confdefs.h. */
18486_ACEOF
18487cat confdefs.h >>conftest.$ac_ext
18488cat >>conftest.$ac_ext <<_ACEOF
18489/* end confdefs.h. */
18490
18491/* Override any gcc2 internal prototype to avoid an error. */
18492#ifdef __cplusplus
18493extern "C"
18494#endif
18495/* We use char because int might match the return type of a gcc2
18496 builtin and then its argument prototype would still apply. */
18497char deflate ();
18498int
18499main ()
18500{
18501deflate ();
18502 ;
18503 return 0;
18504}
18505_ACEOF
18506rm -f conftest.$ac_objext conftest$ac_exeext
18507if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18508 (eval $ac_link) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } &&
18512 { ac_try='test -s conftest$ac_exeext'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; }; then
18518 ac_cv_lib_z_deflate=yes
18519else
18520 echo "$as_me: failed program was:" >&5
18521sed 's/^/| /' conftest.$ac_ext >&5
18522
18523ac_cv_lib_z_deflate=no
18524fi
18525rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18526LIBS=$ac_check_lib_save_LIBS
18527fi
18528echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18529echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18530if test $ac_cv_lib_z_deflate = yes; then
18531 ZLIB_LINK=" -lz"
18532fi
18533
18534 fi
18535
18536 if test "x$ZLIB_LINK" = "x" ; then
18537 if test "$wxUSE_ZLIB" = "sys" ; then
18538 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18539echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18540 { (exit 1); exit 1; }; }
18541 else
18542 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18543echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18544 wxUSE_ZLIB=builtin
18545 fi
18546 else
18547 wxUSE_ZLIB=sys
18548 fi
18549 fi
18550
18551 if test "$wxUSE_ZLIB" = "builtin" ; then
18552 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18553 fi
18554fi
18555
18556
18557PNG_INCLUDE=
18558PNG_LINK=
18559if test "$wxUSE_LIBPNG" != "no" ; then
18560 cat >>confdefs.h <<\_ACEOF
18561#define wxUSE_LIBPNG 1
18562_ACEOF
18563
18564
18565 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18566 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18567echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18568 wxUSE_LIBPNG=sys
18569 fi
18570
18571 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18572 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18573echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18574 wxUSE_LIBPNG=builtin
18575 fi
18576
18577 if test "$wxUSE_MGL" != 1 ; then
18578 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18579 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18580echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18581if test "${ac_cv_header_png_h+set}" = set; then
18582 echo $ECHO_N "(cached) $ECHO_C" >&6
18583else
18584 if test "$cross_compiling" = yes; then
18585 unset ac_cv_header_png_h
18586
18587else
18588 cat >conftest.$ac_ext <<_ACEOF
18589#line $LINENO "configure"
18590/* confdefs.h. */
18591_ACEOF
18592cat confdefs.h >>conftest.$ac_ext
18593cat >>conftest.$ac_ext <<_ACEOF
18594/* end confdefs.h. */
18595
18596 #include <png.h>
18597 #include <stdio.h>
18598
18599 int main()
18600 {
18601 FILE *f=fopen("conftestval", "w");
18602 if (!f) exit(1);
18603 fprintf(f, "%s",
18604 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18605 exit(0);
18606 }
18607
18608_ACEOF
18609rm -f conftest$ac_exeext
18610if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18611 (eval $ac_link) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; }; then
18620 ac_cv_header_png_h=`cat conftestval`
18621else
18622 echo "$as_me: program exited with status $ac_status" >&5
18623echo "$as_me: failed program was:" >&5
18624sed 's/^/| /' conftest.$ac_ext >&5
18625
18626( exit $ac_status )
18627ac_cv_header_png_h=no
18628fi
18629rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18630fi
18631
18632fi
18633echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18634echo "${ECHO_T}$ac_cv_header_png_h" >&6
18635 if test "${ac_cv_header_png_h+set}" = set; then
18636 echo "$as_me:$LINENO: checking for png.h" >&5
18637echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18638if test "${ac_cv_header_png_h+set}" = set; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18640fi
18641echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18642echo "${ECHO_T}$ac_cv_header_png_h" >&6
18643else
18644 # Is the header compilable?
18645echo "$as_me:$LINENO: checking png.h usability" >&5
18646echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18647cat >conftest.$ac_ext <<_ACEOF
18648#line $LINENO "configure"
18649/* confdefs.h. */
18650_ACEOF
18651cat confdefs.h >>conftest.$ac_ext
18652cat >>conftest.$ac_ext <<_ACEOF
18653/* end confdefs.h. */
18654$ac_includes_default
18655#include <png.h>
18656_ACEOF
18657rm -f conftest.$ac_objext
18658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18659 (eval $ac_compile) 2>&5
18660 ac_status=$?
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try='test -s conftest.$ac_objext'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18666 ac_status=$?
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; }; then
18669 ac_header_compiler=yes
18670else
18671 echo "$as_me: failed program was:" >&5
18672sed 's/^/| /' conftest.$ac_ext >&5
18673
18674ac_header_compiler=no
18675fi
18676rm -f conftest.$ac_objext conftest.$ac_ext
18677echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18678echo "${ECHO_T}$ac_header_compiler" >&6
18679
18680# Is the header present?
18681echo "$as_me:$LINENO: checking png.h presence" >&5
18682echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18683cat >conftest.$ac_ext <<_ACEOF
18684#line $LINENO "configure"
18685/* confdefs.h. */
18686_ACEOF
18687cat confdefs.h >>conftest.$ac_ext
18688cat >>conftest.$ac_ext <<_ACEOF
18689/* end confdefs.h. */
18690#include <png.h>
18691_ACEOF
18692if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18694 ac_status=$?
18695 grep -v '^ *+' conftest.er1 >conftest.err
18696 rm -f conftest.er1
18697 cat conftest.err >&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } >/dev/null; then
18700 if test -s conftest.err; then
18701 ac_cpp_err=$ac_c_preproc_warn_flag
18702 else
18703 ac_cpp_err=
18704 fi
18705else
18706 ac_cpp_err=yes
18707fi
18708if test -z "$ac_cpp_err"; then
18709 ac_header_preproc=yes
18710else
18711 echo "$as_me: failed program was:" >&5
18712sed 's/^/| /' conftest.$ac_ext >&5
18713
18714 ac_header_preproc=no
18715fi
18716rm -f conftest.err conftest.$ac_ext
18717echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18718echo "${ECHO_T}$ac_header_preproc" >&6
18719
18720# So? What about this header?
18721case $ac_header_compiler:$ac_header_preproc in
18722 yes:no )
18723 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18724echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18725 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18726echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18727 (
18728 cat <<\_ASBOX
18729## ------------------------------------ ##
18730## Report this to bug-autoconf@gnu.org. ##
18731## ------------------------------------ ##
18732_ASBOX
18733 ) |
18734 sed "s/^/$as_me: WARNING: /" >&2
18735 ;;
18736 no:yes )
18737 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18738echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18739 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18740echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18741 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18742echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18743 (
18744 cat <<\_ASBOX
18745## ------------------------------------ ##
18746## Report this to bug-autoconf@gnu.org. ##
18747## ------------------------------------ ##
18748_ASBOX
18749 ) |
18750 sed "s/^/$as_me: WARNING: /" >&2
18751 ;;
18752esac
18753echo "$as_me:$LINENO: checking for png.h" >&5
18754echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18755if test "${ac_cv_header_png_h+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18757else
18758 ac_cv_header_png_h=$ac_header_preproc
18759fi
18760echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18761echo "${ECHO_T}$ac_cv_header_png_h" >&6
18762
18763fi
18764
18765
18766
18767 if test "$ac_cv_header_png_h" = "yes"; then
18768 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18769echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18770if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18772else
18773 ac_check_lib_save_LIBS=$LIBS
18774LIBS="-lpng -lz -lm $LIBS"
18775cat >conftest.$ac_ext <<_ACEOF
18776#line $LINENO "configure"
18777/* confdefs.h. */
18778_ACEOF
18779cat confdefs.h >>conftest.$ac_ext
18780cat >>conftest.$ac_ext <<_ACEOF
18781/* end confdefs.h. */
18782
18783/* Override any gcc2 internal prototype to avoid an error. */
18784#ifdef __cplusplus
18785extern "C"
18786#endif
18787/* We use char because int might match the return type of a gcc2
18788 builtin and then its argument prototype would still apply. */
18789char png_check_sig ();
18790int
18791main ()
18792{
18793png_check_sig ();
18794 ;
18795 return 0;
18796}
18797_ACEOF
18798rm -f conftest.$ac_objext conftest$ac_exeext
18799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18800 (eval $ac_link) 2>&5
18801 ac_status=$?
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } &&
18804 { ac_try='test -s conftest$ac_exeext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_cv_lib_png_png_check_sig=yes
18811else
18812 echo "$as_me: failed program was:" >&5
18813sed 's/^/| /' conftest.$ac_ext >&5
18814
18815ac_cv_lib_png_png_check_sig=no
18816fi
18817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18818LIBS=$ac_check_lib_save_LIBS
18819fi
18820echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18821echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18822if test $ac_cv_lib_png_png_check_sig = yes; then
18823 PNG_LINK=" -lpng"
18824fi
18825
18826 fi
18827
18828 if test "x$PNG_LINK" = "x" ; then
18829 if test "$wxUSE_LIBPNG" = "sys" ; then
18830 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18831echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18832 { (exit 1); exit 1; }; }
18833 else
18834 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18835echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18836 wxUSE_LIBPNG=builtin
18837 fi
18838 else
18839 wxUSE_LIBPNG=sys
18840 fi
18841 fi
18842 fi
18843
18844 if test "$wxUSE_LIBPNG" = "builtin" ; then
18845 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18846 fi
18847
18848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18849fi
18850
18851
18852JPEG_INCLUDE=
18853JPEG_LINK=
18854if test "$wxUSE_LIBJPEG" != "no" ; then
18855 cat >>confdefs.h <<\_ACEOF
18856#define wxUSE_LIBJPEG 1
18857_ACEOF
18858
18859
18860 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18861 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18862echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18863 wxUSE_LIBJPEG=sys
18864 fi
18865
18866 if test "$wxUSE_MGL" != 1 ; then
18867 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18868 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18869echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18870 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18872else
18873 cat >conftest.$ac_ext <<_ACEOF
18874#line $LINENO "configure"
18875/* confdefs.h. */
18876_ACEOF
18877cat confdefs.h >>conftest.$ac_ext
18878cat >>conftest.$ac_ext <<_ACEOF
18879/* end confdefs.h. */
18880
18881 #undef HAVE_STDLIB_H
18882 #include <stdio.h>
18883 #include <jpeglib.h>
18884
18885int
18886main ()
18887{
18888
18889
18890 ;
18891 return 0;
18892}
18893_ACEOF
18894rm -f conftest.$ac_objext
18895if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18896 (eval $ac_compile) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -s conftest.$ac_objext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 ac_cv_header_jpeglib_h=yes
18907else
18908 echo "$as_me: failed program was:" >&5
18909sed 's/^/| /' conftest.$ac_ext >&5
18910
18911ac_cv_header_jpeglib_h=no
18912
18913fi
18914rm -f conftest.$ac_objext conftest.$ac_ext
18915
18916fi
18917
18918 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18919echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18920
18921 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18922 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18923echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18924if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18926else
18927 ac_check_lib_save_LIBS=$LIBS
18928LIBS="-ljpeg $LIBS"
18929cat >conftest.$ac_ext <<_ACEOF
18930#line $LINENO "configure"
18931/* confdefs.h. */
18932_ACEOF
18933cat confdefs.h >>conftest.$ac_ext
18934cat >>conftest.$ac_ext <<_ACEOF
18935/* end confdefs.h. */
18936
18937/* Override any gcc2 internal prototype to avoid an error. */
18938#ifdef __cplusplus
18939extern "C"
18940#endif
18941/* We use char because int might match the return type of a gcc2
18942 builtin and then its argument prototype would still apply. */
18943char jpeg_read_header ();
18944int
18945main ()
18946{
18947jpeg_read_header ();
18948 ;
18949 return 0;
18950}
18951_ACEOF
18952rm -f conftest.$ac_objext conftest$ac_exeext
18953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18954 (eval $ac_link) 2>&5
18955 ac_status=$?
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); } &&
18958 { ac_try='test -s conftest$ac_exeext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_cv_lib_jpeg_jpeg_read_header=yes
18965else
18966 echo "$as_me: failed program was:" >&5
18967sed 's/^/| /' conftest.$ac_ext >&5
18968
18969ac_cv_lib_jpeg_jpeg_read_header=no
18970fi
18971rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18972LIBS=$ac_check_lib_save_LIBS
18973fi
18974echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18975echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18976if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18977 JPEG_LINK=" -ljpeg"
18978fi
18979
18980 fi
18981
18982 if test "x$JPEG_LINK" = "x" ; then
18983 if test "$wxUSE_LIBJPEG" = "sys" ; then
18984 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18985echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18986 { (exit 1); exit 1; }; }
18987 else
18988 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18989echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18990 wxUSE_LIBJPEG=builtin
18991 fi
18992 else
18993 wxUSE_LIBJPEG=sys
18994 fi
18995 fi
18996 fi
18997
18998 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18999 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19000 fi
19001fi
19002
19003
19004TIFF_INCLUDE=
19005TIFF_LINK=
19006TIFF_PREREQ_LINKS=-lm
19007if test "$wxUSE_LIBTIFF" != "no" ; then
19008 cat >>confdefs.h <<\_ACEOF
19009#define wxUSE_LIBTIFF 1
19010_ACEOF
19011
19012
19013 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19014 if test "$wxUSE_LIBJPEG" = "sys"; then
19015 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19016 fi
19017 if test "$wxUSE_ZLIB" = "sys"; then
19018 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19019 fi
19020 if test "${ac_cv_header_tiffio_h+set}" = set; then
19021 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19022echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19023if test "${ac_cv_header_tiffio_h+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19025fi
19026echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19027echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19028else
19029 # Is the header compilable?
19030echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19031echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19032cat >conftest.$ac_ext <<_ACEOF
19033#line $LINENO "configure"
19034/* confdefs.h. */
19035_ACEOF
19036cat confdefs.h >>conftest.$ac_ext
19037cat >>conftest.$ac_ext <<_ACEOF
19038/* end confdefs.h. */
19039$ac_includes_default
19040#include <tiffio.h>
19041_ACEOF
19042rm -f conftest.$ac_objext
19043if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19044 (eval $ac_compile) 2>&5
19045 ac_status=$?
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try='test -s conftest.$ac_objext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19051 ac_status=$?
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 ac_header_compiler=yes
19055else
19056 echo "$as_me: failed program was:" >&5
19057sed 's/^/| /' conftest.$ac_ext >&5
19058
19059ac_header_compiler=no
19060fi
19061rm -f conftest.$ac_objext conftest.$ac_ext
19062echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19063echo "${ECHO_T}$ac_header_compiler" >&6
19064
19065# Is the header present?
19066echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19067echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19068cat >conftest.$ac_ext <<_ACEOF
19069#line $LINENO "configure"
19070/* confdefs.h. */
19071_ACEOF
19072cat confdefs.h >>conftest.$ac_ext
19073cat >>conftest.$ac_ext <<_ACEOF
19074/* end confdefs.h. */
19075#include <tiffio.h>
19076_ACEOF
19077if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19079 ac_status=$?
19080 grep -v '^ *+' conftest.er1 >conftest.err
19081 rm -f conftest.er1
19082 cat conftest.err >&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } >/dev/null; then
19085 if test -s conftest.err; then
19086 ac_cpp_err=$ac_c_preproc_warn_flag
19087 else
19088 ac_cpp_err=
19089 fi
19090else
19091 ac_cpp_err=yes
19092fi
19093if test -z "$ac_cpp_err"; then
19094 ac_header_preproc=yes
19095else
19096 echo "$as_me: failed program was:" >&5
19097sed 's/^/| /' conftest.$ac_ext >&5
19098
19099 ac_header_preproc=no
19100fi
19101rm -f conftest.err conftest.$ac_ext
19102echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19103echo "${ECHO_T}$ac_header_preproc" >&6
19104
19105# So? What about this header?
19106case $ac_header_compiler:$ac_header_preproc in
19107 yes:no )
19108 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19109echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19110 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19111echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19112 (
19113 cat <<\_ASBOX
19114## ------------------------------------ ##
19115## Report this to bug-autoconf@gnu.org. ##
19116## ------------------------------------ ##
19117_ASBOX
19118 ) |
19119 sed "s/^/$as_me: WARNING: /" >&2
19120 ;;
19121 no:yes )
19122 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19123echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19124 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19125echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19126 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19127echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19128 (
19129 cat <<\_ASBOX
19130## ------------------------------------ ##
19131## Report this to bug-autoconf@gnu.org. ##
19132## ------------------------------------ ##
19133_ASBOX
19134 ) |
19135 sed "s/^/$as_me: WARNING: /" >&2
19136 ;;
19137esac
19138echo "$as_me:$LINENO: checking for tiffio.h" >&5
19139echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19140if test "${ac_cv_header_tiffio_h+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19142else
19143 ac_cv_header_tiffio_h=$ac_header_preproc
19144fi
19145echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19146echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19147
19148fi
19149if test $ac_cv_header_tiffio_h = yes; then
19150 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19151echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19152if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154else
19155 ac_check_lib_save_LIBS=$LIBS
19156LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19157cat >conftest.$ac_ext <<_ACEOF
19158#line $LINENO "configure"
19159/* confdefs.h. */
19160_ACEOF
19161cat confdefs.h >>conftest.$ac_ext
19162cat >>conftest.$ac_ext <<_ACEOF
19163/* end confdefs.h. */
19164
19165/* Override any gcc2 internal prototype to avoid an error. */
19166#ifdef __cplusplus
19167extern "C"
19168#endif
19169/* We use char because int might match the return type of a gcc2
19170 builtin and then its argument prototype would still apply. */
19171char TIFFError ();
19172int
19173main ()
19174{
19175TIFFError ();
19176 ;
19177 return 0;
19178}
19179_ACEOF
19180rm -f conftest.$ac_objext conftest$ac_exeext
19181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19182 (eval $ac_link) 2>&5
19183 ac_status=$?
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } &&
19186 { ac_try='test -s conftest$ac_exeext'
19187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19188 (eval $ac_try) 2>&5
19189 ac_status=$?
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); }; }; then
19192 ac_cv_lib_tiff_TIFFError=yes
19193else
19194 echo "$as_me: failed program was:" >&5
19195sed 's/^/| /' conftest.$ac_ext >&5
19196
19197ac_cv_lib_tiff_TIFFError=no
19198fi
19199rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19200LIBS=$ac_check_lib_save_LIBS
19201fi
19202echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19203echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19204if test $ac_cv_lib_tiff_TIFFError = yes; then
19205 TIFF_LINK=" -ltiff"
19206fi
19207
19208
19209fi
19210
19211
19212
19213 if test "x$TIFF_LINK" = "x" ; then
19214 if test "$wxUSE_LIBTIFF" = "sys" ; then
19215 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19216echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19217 { (exit 1); exit 1; }; }
19218 else
19219 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19220echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19221 wxUSE_LIBTIFF=builtin
19222 fi
19223 else
19224 wxUSE_LIBTIFF=sys
19225 fi
19226 fi
19227
19228 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19229 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19230 fi
19231fi
19232
19233
19234if test "$wxUSE_EXPAT" != "no"; then
19235 wxUSE_XML=1
19236 cat >>confdefs.h <<\_ACEOF
19237#define wxUSE_EXPAT 1
19238_ACEOF
19239
19240 cat >>confdefs.h <<\_ACEOF
19241#define wxUSE_XML 1
19242_ACEOF
19243
19244
19245 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19246 if test "${ac_cv_header_expat_h+set}" = set; then
19247 echo "$as_me:$LINENO: checking for expat.h" >&5
19248echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19249if test "${ac_cv_header_expat_h+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19251fi
19252echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19253echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19254else
19255 # Is the header compilable?
19256echo "$as_me:$LINENO: checking expat.h usability" >&5
19257echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19258cat >conftest.$ac_ext <<_ACEOF
19259#line $LINENO "configure"
19260/* confdefs.h. */
19261_ACEOF
19262cat confdefs.h >>conftest.$ac_ext
19263cat >>conftest.$ac_ext <<_ACEOF
19264/* end confdefs.h. */
19265$ac_includes_default
19266#include <expat.h>
19267_ACEOF
19268rm -f conftest.$ac_objext
19269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19270 (eval $ac_compile) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); } &&
19274 { ac_try='test -s conftest.$ac_objext'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; }; then
19280 ac_header_compiler=yes
19281else
19282 echo "$as_me: failed program was:" >&5
19283sed 's/^/| /' conftest.$ac_ext >&5
19284
19285ac_header_compiler=no
19286fi
19287rm -f conftest.$ac_objext conftest.$ac_ext
19288echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19289echo "${ECHO_T}$ac_header_compiler" >&6
19290
19291# Is the header present?
19292echo "$as_me:$LINENO: checking expat.h presence" >&5
19293echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19294cat >conftest.$ac_ext <<_ACEOF
19295#line $LINENO "configure"
19296/* confdefs.h. */
19297_ACEOF
19298cat confdefs.h >>conftest.$ac_ext
19299cat >>conftest.$ac_ext <<_ACEOF
19300/* end confdefs.h. */
19301#include <expat.h>
19302_ACEOF
19303if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19305 ac_status=$?
19306 grep -v '^ *+' conftest.er1 >conftest.err
19307 rm -f conftest.er1
19308 cat conftest.err >&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } >/dev/null; then
19311 if test -s conftest.err; then
19312 ac_cpp_err=$ac_c_preproc_warn_flag
19313 else
19314 ac_cpp_err=
19315 fi
19316else
19317 ac_cpp_err=yes
19318fi
19319if test -z "$ac_cpp_err"; then
19320 ac_header_preproc=yes
19321else
19322 echo "$as_me: failed program was:" >&5
19323sed 's/^/| /' conftest.$ac_ext >&5
19324
19325 ac_header_preproc=no
19326fi
19327rm -f conftest.err conftest.$ac_ext
19328echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19329echo "${ECHO_T}$ac_header_preproc" >&6
19330
19331# So? What about this header?
19332case $ac_header_compiler:$ac_header_preproc in
19333 yes:no )
19334 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19335echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19336 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19337echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19338 (
19339 cat <<\_ASBOX
19340## ------------------------------------ ##
19341## Report this to bug-autoconf@gnu.org. ##
19342## ------------------------------------ ##
19343_ASBOX
19344 ) |
19345 sed "s/^/$as_me: WARNING: /" >&2
19346 ;;
19347 no:yes )
19348 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19349echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19350 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19351echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19352 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19353echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19354 (
19355 cat <<\_ASBOX
19356## ------------------------------------ ##
19357## Report this to bug-autoconf@gnu.org. ##
19358## ------------------------------------ ##
19359_ASBOX
19360 ) |
19361 sed "s/^/$as_me: WARNING: /" >&2
19362 ;;
19363esac
19364echo "$as_me:$LINENO: checking for expat.h" >&5
19365echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19366if test "${ac_cv_header_expat_h+set}" = set; then
19367 echo $ECHO_N "(cached) $ECHO_C" >&6
19368else
19369 ac_cv_header_expat_h=$ac_header_preproc
19370fi
19371echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19372echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19373
19374fi
19375if test $ac_cv_header_expat_h = yes; then
19376 found_expat_h=1
19377fi
19378
19379
19380 if test "x$found_expat_h" = "x1"; then
19381 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19382echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19383if test "${wx_cv_expat_is_not_broken+set}" = set; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19385else
19386
19387
19388
19389 ac_ext=cc
19390ac_cpp='$CXXCPP $CPPFLAGS'
19391ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19392ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19393ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19394
19395 cat >conftest.$ac_ext <<_ACEOF
19396#line $LINENO "configure"
19397/* confdefs.h. */
19398_ACEOF
19399cat confdefs.h >>conftest.$ac_ext
19400cat >>conftest.$ac_ext <<_ACEOF
19401/* end confdefs.h. */
19402#include <expat.h>
19403int
19404main ()
19405{
19406
19407 ;
19408 return 0;
19409}
19410_ACEOF
19411rm -f conftest.$ac_objext
19412if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19413 (eval $ac_compile) 2>&5
19414 ac_status=$?
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19420 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 wx_cv_expat_is_not_broken=yes
19424else
19425 echo "$as_me: failed program was:" >&5
19426sed 's/^/| /' conftest.$ac_ext >&5
19427
19428wx_cv_expat_is_not_broken=no
19429
19430fi
19431rm -f conftest.$ac_objext conftest.$ac_ext
19432 ac_ext=c
19433ac_cpp='$CPP $CPPFLAGS'
19434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19436ac_compiler_gnu=$ac_cv_c_compiler_gnu
19437
19438
19439
19440fi
19441echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19442echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19443 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19444 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19445echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19446if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19447 echo $ECHO_N "(cached) $ECHO_C" >&6
19448else
19449 ac_check_lib_save_LIBS=$LIBS
19450LIBS="-lexpat $LIBS"
19451cat >conftest.$ac_ext <<_ACEOF
19452#line $LINENO "configure"
19453/* confdefs.h. */
19454_ACEOF
19455cat confdefs.h >>conftest.$ac_ext
19456cat >>conftest.$ac_ext <<_ACEOF
19457/* end confdefs.h. */
19458
19459/* Override any gcc2 internal prototype to avoid an error. */
19460#ifdef __cplusplus
19461extern "C"
19462#endif
19463/* We use char because int might match the return type of a gcc2
19464 builtin and then its argument prototype would still apply. */
19465char XML_ParserCreate ();
19466int
19467main ()
19468{
19469XML_ParserCreate ();
19470 ;
19471 return 0;
19472}
19473_ACEOF
19474rm -f conftest.$ac_objext conftest$ac_exeext
19475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19476 (eval $ac_link) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -s conftest$ac_exeext'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19483 ac_status=$?
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 ac_cv_lib_expat_XML_ParserCreate=yes
19487else
19488 echo "$as_me: failed program was:" >&5
19489sed 's/^/| /' conftest.$ac_ext >&5
19490
19491ac_cv_lib_expat_XML_ParserCreate=no
19492fi
19493rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19494LIBS=$ac_check_lib_save_LIBS
19495fi
19496echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19497echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19498if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19499 EXPAT_LINK=" -lexpat"
19500fi
19501
19502 fi
19503 fi
19504 if test "x$EXPAT_LINK" = "x" ; then
19505 if test "$wxUSE_EXPAT" = "sys" ; then
19506 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19507echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19508 { (exit 1); exit 1; }; }
19509 else
19510 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19511echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19512 wxUSE_EXPAT=builtin
19513 fi
19514 else
19515 wxUSE_EXPAT=sys
19516 fi
19517 fi
19518 if test "$wxUSE_EXPAT" = "builtin" ; then
19519
19520
19521subdirs="$subdirs src/expat"
19522
19523 fi
19524fi
19525
19526
19527
19528AFMINSTALL=
19529WIN32INSTALL=
19530
19531TOOLKIT=
19532TOOLKIT_INCLUDE=
19533WIDGET_SET=
19534
19535if test "$USE_WIN32" = 1 ; then
19536
19537for ac_header in w32api.h
19538do
19539as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19540if eval "test \"\${$as_ac_Header+set}\" = set"; then
19541 echo "$as_me:$LINENO: checking for $ac_header" >&5
19542echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19543if eval "test \"\${$as_ac_Header+set}\" = set"; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19545fi
19546echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19547echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19548else
19549 # Is the header compilable?
19550echo "$as_me:$LINENO: checking $ac_header usability" >&5
19551echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19552cat >conftest.$ac_ext <<_ACEOF
19553#line $LINENO "configure"
19554/* confdefs.h. */
19555_ACEOF
19556cat confdefs.h >>conftest.$ac_ext
19557cat >>conftest.$ac_ext <<_ACEOF
19558/* end confdefs.h. */
19559$ac_includes_default
19560#include <$ac_header>
19561_ACEOF
19562rm -f conftest.$ac_objext
19563if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>&5
19565 ac_status=$?
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } &&
19568 { ac_try='test -s conftest.$ac_objext'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19571 ac_status=$?
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; }; then
19574 ac_header_compiler=yes
19575else
19576 echo "$as_me: failed program was:" >&5
19577sed 's/^/| /' conftest.$ac_ext >&5
19578
19579ac_header_compiler=no
19580fi
19581rm -f conftest.$ac_objext conftest.$ac_ext
19582echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19583echo "${ECHO_T}$ac_header_compiler" >&6
19584
19585# Is the header present?
19586echo "$as_me:$LINENO: checking $ac_header presence" >&5
19587echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19588cat >conftest.$ac_ext <<_ACEOF
19589#line $LINENO "configure"
19590/* confdefs.h. */
19591_ACEOF
19592cat confdefs.h >>conftest.$ac_ext
19593cat >>conftest.$ac_ext <<_ACEOF
19594/* end confdefs.h. */
19595#include <$ac_header>
19596_ACEOF
19597if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19599 ac_status=$?
19600 grep -v '^ *+' conftest.er1 >conftest.err
19601 rm -f conftest.er1
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } >/dev/null; then
19605 if test -s conftest.err; then
19606 ac_cpp_err=$ac_c_preproc_warn_flag
19607 else
19608 ac_cpp_err=
19609 fi
19610else
19611 ac_cpp_err=yes
19612fi
19613if test -z "$ac_cpp_err"; then
19614 ac_header_preproc=yes
19615else
19616 echo "$as_me: failed program was:" >&5
19617sed 's/^/| /' conftest.$ac_ext >&5
19618
19619 ac_header_preproc=no
19620fi
19621rm -f conftest.err conftest.$ac_ext
19622echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19623echo "${ECHO_T}$ac_header_preproc" >&6
19624
19625# So? What about this header?
19626case $ac_header_compiler:$ac_header_preproc in
19627 yes:no )
19628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19629echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19631echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19632 (
19633 cat <<\_ASBOX
19634## ------------------------------------ ##
19635## Report this to bug-autoconf@gnu.org. ##
19636## ------------------------------------ ##
19637_ASBOX
19638 ) |
19639 sed "s/^/$as_me: WARNING: /" >&2
19640 ;;
19641 no:yes )
19642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19643echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19645echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19647echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19648 (
19649 cat <<\_ASBOX
19650## ------------------------------------ ##
19651## Report this to bug-autoconf@gnu.org. ##
19652## ------------------------------------ ##
19653_ASBOX
19654 ) |
19655 sed "s/^/$as_me: WARNING: /" >&2
19656 ;;
19657esac
19658echo "$as_me:$LINENO: checking for $ac_header" >&5
19659echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19660if eval "test \"\${$as_ac_Header+set}\" = set"; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19662else
19663 eval "$as_ac_Header=$ac_header_preproc"
19664fi
19665echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19666echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19667
19668fi
19669if test `eval echo '${'$as_ac_Header'}'` = yes; then
19670 cat >>confdefs.h <<_ACEOF
19671#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19672_ACEOF
19673
19674fi
19675
19676done
19677
19678 if test "${ac_cv_header_windows_h+set}" = set; then
19679 echo "$as_me:$LINENO: checking for windows.h" >&5
19680echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19681if test "${ac_cv_header_windows_h+set}" = set; then
19682 echo $ECHO_N "(cached) $ECHO_C" >&6
19683fi
19684echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19685echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19686else
19687 # Is the header compilable?
19688echo "$as_me:$LINENO: checking windows.h usability" >&5
19689echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19690cat >conftest.$ac_ext <<_ACEOF
19691#line $LINENO "configure"
19692/* confdefs.h. */
19693_ACEOF
19694cat confdefs.h >>conftest.$ac_ext
19695cat >>conftest.$ac_ext <<_ACEOF
19696/* end confdefs.h. */
19697$ac_includes_default
19698#include <windows.h>
19699_ACEOF
19700rm -f conftest.$ac_objext
19701if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19702 (eval $ac_compile) 2>&5
19703 ac_status=$?
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try='test -s conftest.$ac_objext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19709 ac_status=$?
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 ac_header_compiler=yes
19713else
19714 echo "$as_me: failed program was:" >&5
19715sed 's/^/| /' conftest.$ac_ext >&5
19716
19717ac_header_compiler=no
19718fi
19719rm -f conftest.$ac_objext conftest.$ac_ext
19720echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19721echo "${ECHO_T}$ac_header_compiler" >&6
19722
19723# Is the header present?
19724echo "$as_me:$LINENO: checking windows.h presence" >&5
19725echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19726cat >conftest.$ac_ext <<_ACEOF
19727#line $LINENO "configure"
19728/* confdefs.h. */
19729_ACEOF
19730cat confdefs.h >>conftest.$ac_ext
19731cat >>conftest.$ac_ext <<_ACEOF
19732/* end confdefs.h. */
19733#include <windows.h>
19734_ACEOF
19735if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } >/dev/null; then
19743 if test -s conftest.err; then
19744 ac_cpp_err=$ac_c_preproc_warn_flag
19745 else
19746 ac_cpp_err=
19747 fi
19748else
19749 ac_cpp_err=yes
19750fi
19751if test -z "$ac_cpp_err"; then
19752 ac_header_preproc=yes
19753else
19754 echo "$as_me: failed program was:" >&5
19755sed 's/^/| /' conftest.$ac_ext >&5
19756
19757 ac_header_preproc=no
19758fi
19759rm -f conftest.err conftest.$ac_ext
19760echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19761echo "${ECHO_T}$ac_header_preproc" >&6
19762
19763# So? What about this header?
19764case $ac_header_compiler:$ac_header_preproc in
19765 yes:no )
19766 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19767echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19768 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19769echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19770 (
19771 cat <<\_ASBOX
19772## ------------------------------------ ##
19773## Report this to bug-autoconf@gnu.org. ##
19774## ------------------------------------ ##
19775_ASBOX
19776 ) |
19777 sed "s/^/$as_me: WARNING: /" >&2
19778 ;;
19779 no:yes )
19780 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19781echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19782 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19783echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19784 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19785echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19786 (
19787 cat <<\_ASBOX
19788## ------------------------------------ ##
19789## Report this to bug-autoconf@gnu.org. ##
19790## ------------------------------------ ##
19791_ASBOX
19792 ) |
19793 sed "s/^/$as_me: WARNING: /" >&2
19794 ;;
19795esac
19796echo "$as_me:$LINENO: checking for windows.h" >&5
19797echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19798if test "${ac_cv_header_windows_h+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19800else
19801 ac_cv_header_windows_h=$ac_header_preproc
19802fi
19803echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19804echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19805
19806fi
19807if test $ac_cv_header_windows_h = yes; then
19808 :
19809else
19810
19811 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19812echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19813 { (exit 1); exit 1; }; }
19814
19815fi
19816
19817
19818
19819 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19820
19821 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19822 LIBS="$LIBS -loleacc"
19823 fi
19824
19825 case "${host}" in
19826 *-*-cygwin* )
19827 LIBS="$LIBS -lkernel32 -luser32"
19828 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19829 esac
19830
19831 if test "$wxUSE_ODBC" = "sys" ; then
19832 wxUSE_ODBC = "yes"
19833 fi
19834 if test "$wxUSE_ODBC" = "yes" ; then
19835 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19836 cat >>confdefs.h <<\_ACEOF
19837#define wxUSE_ODBC 1
19838_ACEOF
19839
19840 fi
19841
19842 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19843 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19844
19845 WIN32INSTALL=win32install
19846fi
19847
19848if test "$wxUSE_GUI" = "yes"; then
19849 USE_GUI=1
19850
19851 GUI_TK_LIBRARY=
19852
19853 WXGTK12=
19854 WXGTK127=
19855 WXGTK20=
19856
19857 if test "$wxUSE_MSW" = 1 ; then
19858 TOOLKIT=MSW
19859 GUIDIST=MSW_DIST
19860 fi
19861
19862 if test "$wxUSE_GTK" = 1; then
19863 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19864echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19865
19866 gtk_version_cached=1
19867 if test "${wx_cv_lib_gtk+set}" = set; then
19868 echo $ECHO_N "(cached) $ECHO_C" >&6
19869else
19870
19871 gtk_version_cached=0
19872 echo "$as_me:$LINENO: result: " >&5
19873echo "${ECHO_T}" >&6
19874
19875 GTK_MODULES=
19876 if test "$wxUSE_THREADS" = "yes"; then
19877 GTK_MODULES=gthread
19878 fi
19879
19880 wx_cv_lib_gtk=
19881 if test "x$wxUSE_GTK2" = "xyes"; then
19882 # Check whether --enable-gtktest or --disable-gtktest was given.
19883if test "${enable_gtktest+set}" = set; then
19884 enableval="$enable_gtktest"
19885
19886else
19887 enable_gtktest=yes
19888fi;
19889
19890 pkg_config_args=gtk+-2.0
19891 for module in . $GTK_MODULES
19892 do
19893 case "$module" in
19894 gthread)
19895 pkg_config_args="$pkg_config_args gthread-2.0"
19896 ;;
19897 esac
19898 done
19899
19900 no_gtk=""
19901
19902 # Extract the first word of "pkg-config", so it can be a program name with args.
19903set dummy pkg-config; ac_word=$2
19904echo "$as_me:$LINENO: checking for $ac_word" >&5
19905echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19906if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19907 echo $ECHO_N "(cached) $ECHO_C" >&6
19908else
19909 case $PKG_CONFIG in
19910 [\\/]* | ?:[\\/]*)
19911 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19912 ;;
19913 *)
19914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19915for as_dir in $PATH
19916do
19917 IFS=$as_save_IFS
19918 test -z "$as_dir" && as_dir=.
19919 for ac_exec_ext in '' $ac_executable_extensions; do
19920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19921 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19923 break 2
19924 fi
19925done
19926done
19927
19928 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19929 ;;
19930esac
19931fi
19932PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19933
19934if test -n "$PKG_CONFIG"; then
19935 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19936echo "${ECHO_T}$PKG_CONFIG" >&6
19937else
19938 echo "$as_me:$LINENO: result: no" >&5
19939echo "${ECHO_T}no" >&6
19940fi
19941
19942
19943 if test x$PKG_CONFIG != xno ; then
19944 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19945 :
19946 else
19947 echo *** pkg-config too old; version 0.7 or better required.
19948 no_gtk=yes
19949 PKG_CONFIG=no
19950 fi
19951 else
19952 no_gtk=yes
19953 fi
19954
19955 min_gtk_version=2.0.0
19956 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19957echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19958
19959 if test x$PKG_CONFIG != xno ; then
19960 ## don't try to run the test against uninstalled libtool libs
19961 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19962 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19963 enable_gtktest=no
19964 fi
19965
19966 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19967 :
19968 else
19969 no_gtk=yes
19970 fi
19971 fi
19972
19973 if test x"$no_gtk" = x ; then
19974 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19975 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19976 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19978 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19980 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19982 if test "x$enable_gtktest" = "xyes" ; then
19983 ac_save_CFLAGS="$CFLAGS"
19984 ac_save_LIBS="$LIBS"
19985 CFLAGS="$CFLAGS $GTK_CFLAGS"
19986 LIBS="$GTK_LIBS $LIBS"
19987 rm -f conf.gtktest
19988 if test "$cross_compiling" = yes; then
19989 echo $ac_n "cross compiling; assumed OK... $ac_c"
19990else
19991 cat >conftest.$ac_ext <<_ACEOF
19992#line $LINENO "configure"
19993/* confdefs.h. */
19994_ACEOF
19995cat confdefs.h >>conftest.$ac_ext
19996cat >>conftest.$ac_ext <<_ACEOF
19997/* end confdefs.h. */
19998
19999#include <gtk/gtk.h>
20000#include <stdio.h>
20001#include <stdlib.h>
20002
20003int
20004main ()
20005{
20006 int major, minor, micro;
20007 char *tmp_version;
20008
20009 system ("touch conf.gtktest");
20010
20011 /* HP/UX 9 (%@#!) writes to sscanf strings */
20012 tmp_version = g_strdup("$min_gtk_version");
20013 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20014 printf("%s, bad version string\n", "$min_gtk_version");
20015 exit(1);
20016 }
20017
20018 if ((gtk_major_version != $gtk_config_major_version) ||
20019 (gtk_minor_version != $gtk_config_minor_version) ||
20020 (gtk_micro_version != $gtk_config_micro_version))
20021 {
20022 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20023 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20024 gtk_major_version, gtk_minor_version, gtk_micro_version);
20025 printf ("*** was found! If pkg-config was correct, then it is best\n");
20026 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20027 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20028 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20029 printf("*** required on your system.\n");
20030 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20031 printf("*** to point to the correct configuration files\n");
20032 }
20033 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20034 (gtk_minor_version != GTK_MINOR_VERSION) ||
20035 (gtk_micro_version != GTK_MICRO_VERSION))
20036 {
20037 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20038 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20039 printf("*** library (version %d.%d.%d)\n",
20040 gtk_major_version, gtk_minor_version, gtk_micro_version);
20041 }
20042 else
20043 {
20044 if ((gtk_major_version > major) ||
20045 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20046 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20047 {
20048 return 0;
20049 }
20050 else
20051 {
20052 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20053 gtk_major_version, gtk_minor_version, gtk_micro_version);
20054 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20055 major, minor, micro);
20056 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20057 printf("***\n");
20058 printf("*** If you have already installed a sufficiently new version, this error\n");
20059 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20060 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20061 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20062 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20063 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20064 printf("*** so that the correct libraries are found at run-time))\n");
20065 }
20066 }
20067 return 1;
20068}
20069
20070_ACEOF
20071rm -f conftest$ac_exeext
20072if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20073 (eval $ac_link) 2>&5
20074 ac_status=$?
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20079 ac_status=$?
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; }; then
20082 :
20083else
20084 echo "$as_me: program exited with status $ac_status" >&5
20085echo "$as_me: failed program was:" >&5
20086sed 's/^/| /' conftest.$ac_ext >&5
20087
20088( exit $ac_status )
20089no_gtk=yes
20090fi
20091rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20092fi
20093 CFLAGS="$ac_save_CFLAGS"
20094 LIBS="$ac_save_LIBS"
20095 fi
20096 fi
20097 if test "x$no_gtk" = x ; then
20098 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20099echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20100 wx_cv_lib_gtk=2.0
20101 else
20102 echo "$as_me:$LINENO: result: no" >&5
20103echo "${ECHO_T}no" >&6
20104 if test "$PKG_CONFIG" = "no" ; then
20105 echo "*** A new enough version of pkg-config was not found."
20106 echo "*** See http://pkgconfig.sourceforge.net"
20107 else
20108 if test -f conf.gtktest ; then
20109 :
20110 else
20111 echo "*** Could not run GTK+ test program, checking why..."
20112 ac_save_CFLAGS="$CFLAGS"
20113 ac_save_LIBS="$LIBS"
20114 CFLAGS="$CFLAGS $GTK_CFLAGS"
20115 LIBS="$LIBS $GTK_LIBS"
20116 cat >conftest.$ac_ext <<_ACEOF
20117#line $LINENO "configure"
20118/* confdefs.h. */
20119_ACEOF
20120cat confdefs.h >>conftest.$ac_ext
20121cat >>conftest.$ac_ext <<_ACEOF
20122/* end confdefs.h. */
20123
20124#include <gtk/gtk.h>
20125#include <stdio.h>
20126
20127int
20128main ()
20129{
20130 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20131 ;
20132 return 0;
20133}
20134_ACEOF
20135rm -f conftest.$ac_objext conftest$ac_exeext
20136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20137 (eval $ac_link) 2>&5
20138 ac_status=$?
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); } &&
20141 { ac_try='test -s conftest$ac_exeext'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; }; then
20147 echo "*** The test program compiled, but did not run. This usually means"
20148 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20149 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20150 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20151 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20152 echo "*** is required on your system"
20153 echo "***"
20154 echo "*** If you have an old version installed, it is best to remove it, although"
20155 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20156else
20157 echo "$as_me: failed program was:" >&5
20158sed 's/^/| /' conftest.$ac_ext >&5
20159
20160 echo "*** The test program failed to compile or link. See the file config.log for the"
20161 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20162fi
20163rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20164 CFLAGS="$ac_save_CFLAGS"
20165 LIBS="$ac_save_LIBS"
20166 fi
20167 fi
20168 GTK_CFLAGS=""
20169 GTK_LIBS=""
20170 :
20171 fi
20172
20173
20174 rm -f conf.gtktest
20175
20176 else
20177
20178# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20179if test "${with_gtk_prefix+set}" = set; then
20180 withval="$with_gtk_prefix"
20181 gtk_config_prefix="$withval"
20182else
20183 gtk_config_prefix=""
20184fi;
20185
20186# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20187if test "${with_gtk_exec_prefix+set}" = set; then
20188 withval="$with_gtk_exec_prefix"
20189 gtk_config_exec_prefix="$withval"
20190else
20191 gtk_config_exec_prefix=""
20192fi;
20193# Check whether --enable-gtktest or --disable-gtktest was given.
20194if test "${enable_gtktest+set}" = set; then
20195 enableval="$enable_gtktest"
20196
20197else
20198 enable_gtktest=yes
20199fi;
20200
20201 for module in . $GTK_MODULES
20202 do
20203 case "$module" in
20204 gthread)
20205 gtk_config_args="$gtk_config_args gthread"
20206 ;;
20207 esac
20208 done
20209
20210 if test x$gtk_config_exec_prefix != x ; then
20211 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20212 if test x${GTK_CONFIG+set} != xset ; then
20213 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20214 fi
20215 fi
20216 if test x$gtk_config_prefix != x ; then
20217 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20218 if test x${GTK_CONFIG+set} != xset ; then
20219 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20220 fi
20221 fi
20222
20223 # Extract the first word of "gtk-config", so it can be a program name with args.
20224set dummy gtk-config; ac_word=$2
20225echo "$as_me:$LINENO: checking for $ac_word" >&5
20226echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20227if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20228 echo $ECHO_N "(cached) $ECHO_C" >&6
20229else
20230 case $GTK_CONFIG in
20231 [\\/]* | ?:[\\/]*)
20232 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20233 ;;
20234 *)
20235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20236for as_dir in $PATH
20237do
20238 IFS=$as_save_IFS
20239 test -z "$as_dir" && as_dir=.
20240 for ac_exec_ext in '' $ac_executable_extensions; do
20241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20242 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20244 break 2
20245 fi
20246done
20247done
20248
20249 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20250 ;;
20251esac
20252fi
20253GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20254
20255if test -n "$GTK_CONFIG"; then
20256 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20257echo "${ECHO_T}$GTK_CONFIG" >&6
20258else
20259 echo "$as_me:$LINENO: result: no" >&5
20260echo "${ECHO_T}no" >&6
20261fi
20262
20263 min_gtk_version=1.2.7
20264 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20265echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20266 no_gtk=""
20267 if test "$GTK_CONFIG" = "no" ; then
20268 no_gtk=yes
20269 else
20270 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20271 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20272 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20273 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20274 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20275 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20276 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20277 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20278 if test "x$enable_gtktest" = "xyes" ; then
20279 ac_save_CFLAGS="$CFLAGS"
20280 ac_save_LIBS="$LIBS"
20281 CFLAGS="$CFLAGS $GTK_CFLAGS"
20282 LIBS="$GTK_LIBS $LIBS"
20283 rm -f conf.gtktest
20284 if test "$cross_compiling" = yes; then
20285 echo $ac_n "cross compiling; assumed OK... $ac_c"
20286else
20287 cat >conftest.$ac_ext <<_ACEOF
20288#line $LINENO "configure"
20289/* confdefs.h. */
20290_ACEOF
20291cat confdefs.h >>conftest.$ac_ext
20292cat >>conftest.$ac_ext <<_ACEOF
20293/* end confdefs.h. */
20294
20295#include <gtk/gtk.h>
20296#include <stdio.h>
20297#include <stdlib.h>
20298
20299int
20300main ()
20301{
20302 int major, minor, micro;
20303 char *tmp_version;
20304
20305 system ("touch conf.gtktest");
20306
20307 /* HP/UX 9 (%@#!) writes to sscanf strings */
20308 tmp_version = g_strdup("$min_gtk_version");
20309 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20310 printf("%s, bad version string\n", "$min_gtk_version");
20311 exit(1);
20312 }
20313
20314 if ((gtk_major_version != $gtk_config_major_version) ||
20315 (gtk_minor_version != $gtk_config_minor_version) ||
20316 (gtk_micro_version != $gtk_config_micro_version))
20317 {
20318 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20319 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20320 gtk_major_version, gtk_minor_version, gtk_micro_version);
20321 printf ("*** was found! If gtk-config was correct, then it is best\n");
20322 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20323 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20324 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20325 printf("*** required on your system.\n");
20326 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20327 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20328 printf("*** before re-running configure\n");
20329 }
20330#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20331 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20332 (gtk_minor_version != GTK_MINOR_VERSION) ||
20333 (gtk_micro_version != GTK_MICRO_VERSION))
20334 {
20335 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20336 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20337 printf("*** library (version %d.%d.%d)\n",
20338 gtk_major_version, gtk_minor_version, gtk_micro_version);
20339 }
20340#endif /* defined (GTK_MAJOR_VERSION) ... */
20341 else
20342 {
20343 if ((gtk_major_version > major) ||
20344 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20345 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20346 {
20347 return 0;
20348 }
20349 else
20350 {
20351 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20352 gtk_major_version, gtk_minor_version, gtk_micro_version);
20353 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20354 major, minor, micro);
20355 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20356 printf("***\n");
20357 printf("*** If you have already installed a sufficiently new version, this error\n");
20358 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20359 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20360 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20361 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20362 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20363 printf("*** so that the correct libraries are found at run-time))\n");
20364 }
20365 }
20366 return 1;
20367}
20368
20369_ACEOF
20370rm -f conftest$ac_exeext
20371if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20372 (eval $ac_link) 2>&5
20373 ac_status=$?
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 :
20382else
20383 echo "$as_me: program exited with status $ac_status" >&5
20384echo "$as_me: failed program was:" >&5
20385sed 's/^/| /' conftest.$ac_ext >&5
20386
20387( exit $ac_status )
20388no_gtk=yes
20389fi
20390rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20391fi
20392 CFLAGS="$ac_save_CFLAGS"
20393 LIBS="$ac_save_LIBS"
20394 fi
20395 fi
20396 if test "x$no_gtk" = x ; then
20397 echo "$as_me:$LINENO: result: yes" >&5
20398echo "${ECHO_T}yes" >&6
20399 wx_cv_lib_gtk=1.2.7
20400 else
20401 echo "$as_me:$LINENO: result: no" >&5
20402echo "${ECHO_T}no" >&6
20403 if test "$GTK_CONFIG" = "no" ; then
20404 echo "*** The gtk-config script installed by GTK could not be found"
20405 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20406 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20407 echo "*** full path to gtk-config."
20408 else
20409 if test -f conf.gtktest ; then
20410 :
20411 else
20412 echo "*** Could not run GTK test program, checking why..."
20413 CFLAGS="$CFLAGS $GTK_CFLAGS"
20414 LIBS="$LIBS $GTK_LIBS"
20415 cat >conftest.$ac_ext <<_ACEOF
20416#line $LINENO "configure"
20417/* confdefs.h. */
20418_ACEOF
20419cat confdefs.h >>conftest.$ac_ext
20420cat >>conftest.$ac_ext <<_ACEOF
20421/* end confdefs.h. */
20422
20423#include <gtk/gtk.h>
20424#include <stdio.h>
20425
20426int
20427main ()
20428{
20429 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20430 ;
20431 return 0;
20432}
20433_ACEOF
20434rm -f conftest.$ac_objext conftest$ac_exeext
20435if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20436 (eval $ac_link) 2>&5
20437 ac_status=$?
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } &&
20440 { ac_try='test -s conftest$ac_exeext'
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20443 ac_status=$?
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; }; then
20446 echo "*** The test program compiled, but did not run. This usually means"
20447 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20448 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20449 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20450 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20451 echo "*** is required on your system"
20452 echo "***"
20453 echo "*** If you have an old version installed, it is best to remove it, although"
20454 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20455 echo "***"
20456 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20457 echo "*** came with the system with the command"
20458 echo "***"
20459 echo "*** rpm --erase --nodeps gtk gtk-devel"
20460else
20461 echo "$as_me: failed program was:" >&5
20462sed 's/^/| /' conftest.$ac_ext >&5
20463
20464 echo "*** The test program failed to compile or link. See the file config.log for the"
20465 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20466 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20467 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20468fi
20469rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20470 CFLAGS="$ac_save_CFLAGS"
20471 LIBS="$ac_save_LIBS"
20472 fi
20473 fi
20474 GTK_CFLAGS=""
20475 GTK_LIBS=""
20476 :
20477 fi
20478
20479
20480 rm -f conf.gtktest
20481
20482
20483 if test -z "$wx_cv_lib_gtk"; then
20484
20485# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20486if test "${with_gtk_prefix+set}" = set; then
20487 withval="$with_gtk_prefix"
20488 gtk_config_prefix="$withval"
20489else
20490 gtk_config_prefix=""
20491fi;
20492
20493# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20494if test "${with_gtk_exec_prefix+set}" = set; then
20495 withval="$with_gtk_exec_prefix"
20496 gtk_config_exec_prefix="$withval"
20497else
20498 gtk_config_exec_prefix=""
20499fi;
20500# Check whether --enable-gtktest or --disable-gtktest was given.
20501if test "${enable_gtktest+set}" = set; then
20502 enableval="$enable_gtktest"
20503
20504else
20505 enable_gtktest=yes
20506fi;
20507
20508 for module in . $GTK_MODULES
20509 do
20510 case "$module" in
20511 gthread)
20512 gtk_config_args="$gtk_config_args gthread"
20513 ;;
20514 esac
20515 done
20516
20517 if test x$gtk_config_exec_prefix != x ; then
20518 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20519 if test x${GTK_CONFIG+set} != xset ; then
20520 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20521 fi
20522 fi
20523 if test x$gtk_config_prefix != x ; then
20524 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20525 if test x${GTK_CONFIG+set} != xset ; then
20526 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20527 fi
20528 fi
20529
20530 # Extract the first word of "gtk-config", so it can be a program name with args.
20531set dummy gtk-config; ac_word=$2
20532echo "$as_me:$LINENO: checking for $ac_word" >&5
20533echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20534if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20536else
20537 case $GTK_CONFIG in
20538 [\\/]* | ?:[\\/]*)
20539 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20540 ;;
20541 *)
20542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20543for as_dir in $PATH
20544do
20545 IFS=$as_save_IFS
20546 test -z "$as_dir" && as_dir=.
20547 for ac_exec_ext in '' $ac_executable_extensions; do
20548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20549 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20551 break 2
20552 fi
20553done
20554done
20555
20556 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20557 ;;
20558esac
20559fi
20560GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20561
20562if test -n "$GTK_CONFIG"; then
20563 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20564echo "${ECHO_T}$GTK_CONFIG" >&6
20565else
20566 echo "$as_me:$LINENO: result: no" >&5
20567echo "${ECHO_T}no" >&6
20568fi
20569
20570 min_gtk_version=1.2.3
20571 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20572echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20573 no_gtk=""
20574 if test "$GTK_CONFIG" = "no" ; then
20575 no_gtk=yes
20576 else
20577 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20578 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20579 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20581 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20583 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20585 if test "x$enable_gtktest" = "xyes" ; then
20586 ac_save_CFLAGS="$CFLAGS"
20587 ac_save_LIBS="$LIBS"
20588 CFLAGS="$CFLAGS $GTK_CFLAGS"
20589 LIBS="$GTK_LIBS $LIBS"
20590 rm -f conf.gtktest
20591 if test "$cross_compiling" = yes; then
20592 echo $ac_n "cross compiling; assumed OK... $ac_c"
20593else
20594 cat >conftest.$ac_ext <<_ACEOF
20595#line $LINENO "configure"
20596/* confdefs.h. */
20597_ACEOF
20598cat confdefs.h >>conftest.$ac_ext
20599cat >>conftest.$ac_ext <<_ACEOF
20600/* end confdefs.h. */
20601
20602#include <gtk/gtk.h>
20603#include <stdio.h>
20604#include <stdlib.h>
20605
20606int
20607main ()
20608{
20609 int major, minor, micro;
20610 char *tmp_version;
20611
20612 system ("touch conf.gtktest");
20613
20614 /* HP/UX 9 (%@#!) writes to sscanf strings */
20615 tmp_version = g_strdup("$min_gtk_version");
20616 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20617 printf("%s, bad version string\n", "$min_gtk_version");
20618 exit(1);
20619 }
20620
20621 if ((gtk_major_version != $gtk_config_major_version) ||
20622 (gtk_minor_version != $gtk_config_minor_version) ||
20623 (gtk_micro_version != $gtk_config_micro_version))
20624 {
20625 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20626 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20627 gtk_major_version, gtk_minor_version, gtk_micro_version);
20628 printf ("*** was found! If gtk-config was correct, then it is best\n");
20629 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20630 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20631 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20632 printf("*** required on your system.\n");
20633 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20634 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20635 printf("*** before re-running configure\n");
20636 }
20637#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20638 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20639 (gtk_minor_version != GTK_MINOR_VERSION) ||
20640 (gtk_micro_version != GTK_MICRO_VERSION))
20641 {
20642 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20643 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20644 printf("*** library (version %d.%d.%d)\n",
20645 gtk_major_version, gtk_minor_version, gtk_micro_version);
20646 }
20647#endif /* defined (GTK_MAJOR_VERSION) ... */
20648 else
20649 {
20650 if ((gtk_major_version > major) ||
20651 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20652 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20653 {
20654 return 0;
20655 }
20656 else
20657 {
20658 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20659 gtk_major_version, gtk_minor_version, gtk_micro_version);
20660 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20661 major, minor, micro);
20662 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20663 printf("***\n");
20664 printf("*** If you have already installed a sufficiently new version, this error\n");
20665 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20666 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20667 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20668 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20669 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20670 printf("*** so that the correct libraries are found at run-time))\n");
20671 }
20672 }
20673 return 1;
20674}
20675
20676_ACEOF
20677rm -f conftest$ac_exeext
20678if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20679 (eval $ac_link) 2>&5
20680 ac_status=$?
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20685 ac_status=$?
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; }; then
20688 :
20689else
20690 echo "$as_me: program exited with status $ac_status" >&5
20691echo "$as_me: failed program was:" >&5
20692sed 's/^/| /' conftest.$ac_ext >&5
20693
20694( exit $ac_status )
20695no_gtk=yes
20696fi
20697rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20698fi
20699 CFLAGS="$ac_save_CFLAGS"
20700 LIBS="$ac_save_LIBS"
20701 fi
20702 fi
20703 if test "x$no_gtk" = x ; then
20704 echo "$as_me:$LINENO: result: yes" >&5
20705echo "${ECHO_T}yes" >&6
20706 wx_cv_lib_gtk=1.2.3
20707 else
20708 echo "$as_me:$LINENO: result: no" >&5
20709echo "${ECHO_T}no" >&6
20710 if test "$GTK_CONFIG" = "no" ; then
20711 echo "*** The gtk-config script installed by GTK could not be found"
20712 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20713 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20714 echo "*** full path to gtk-config."
20715 else
20716 if test -f conf.gtktest ; then
20717 :
20718 else
20719 echo "*** Could not run GTK test program, checking why..."
20720 CFLAGS="$CFLAGS $GTK_CFLAGS"
20721 LIBS="$LIBS $GTK_LIBS"
20722 cat >conftest.$ac_ext <<_ACEOF
20723#line $LINENO "configure"
20724/* confdefs.h. */
20725_ACEOF
20726cat confdefs.h >>conftest.$ac_ext
20727cat >>conftest.$ac_ext <<_ACEOF
20728/* end confdefs.h. */
20729
20730#include <gtk/gtk.h>
20731#include <stdio.h>
20732
20733int
20734main ()
20735{
20736 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20737 ;
20738 return 0;
20739}
20740_ACEOF
20741rm -f conftest.$ac_objext conftest$ac_exeext
20742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20743 (eval $ac_link) 2>&5
20744 ac_status=$?
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } &&
20747 { ac_try='test -s conftest$ac_exeext'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; }; then
20753 echo "*** The test program compiled, but did not run. This usually means"
20754 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20755 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20756 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20757 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20758 echo "*** is required on your system"
20759 echo "***"
20760 echo "*** If you have an old version installed, it is best to remove it, although"
20761 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20762 echo "***"
20763 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20764 echo "*** came with the system with the command"
20765 echo "***"
20766 echo "*** rpm --erase --nodeps gtk gtk-devel"
20767else
20768 echo "$as_me: failed program was:" >&5
20769sed 's/^/| /' conftest.$ac_ext >&5
20770
20771 echo "*** The test program failed to compile or link. See the file config.log for the"
20772 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20773 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20774 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20775fi
20776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20777 CFLAGS="$ac_save_CFLAGS"
20778 LIBS="$ac_save_LIBS"
20779 fi
20780 fi
20781 GTK_CFLAGS=""
20782 GTK_LIBS=""
20783 :
20784 fi
20785
20786
20787 rm -f conf.gtktest
20788
20789 fi
20790 fi
20791
20792 if test -z "$wx_cv_lib_gtk"; then
20793 wx_cv_lib_gtk=none
20794 else
20795 wx_cv_cflags_gtk=$GTK_CFLAGS
20796 wx_cv_libs_gtk=$GTK_LIBS
20797 fi
20798
20799
20800fi
20801
20802
20803 if test "$gtk_version_cached" = 1; then
20804 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20805echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20806 fi
20807
20808 case "$wx_cv_lib_gtk" in
20809 2.0) WXGTK20=1
20810 TOOLKIT_VERSION=2
20811 ;;
20812 1.2.7) WXGTK127=1
20813 WXGTK12=1
20814 ;;
20815 1.2.3) WXGTK12=1
20816 ;;
20817 *) { { echo "$as_me:$LINENO: error:
20818Please check that gtk-config is in path, the directory
20819where GTK+ libraries are installed (returned by
20820'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20821equivalent variable and GTK+ is version 1.2.3 or above.
20822 " >&5
20823echo "$as_me: error:
20824Please check that gtk-config is in path, the directory
20825where GTK+ libraries are installed (returned by
20826'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20827equivalent variable and GTK+ is version 1.2.3 or above.
20828 " >&2;}
20829 { (exit 1); exit 1; }; }
20830 ;;
20831 esac
20832
20833 if test "$WXGTK20" = 1; then
20834 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20835
20836 succeeded=no
20837
20838 if test -z "$PKG_CONFIG"; then
20839 # Extract the first word of "pkg-config", so it can be a program name with args.
20840set dummy pkg-config; ac_word=$2
20841echo "$as_me:$LINENO: checking for $ac_word" >&5
20842echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20843if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20844 echo $ECHO_N "(cached) $ECHO_C" >&6
20845else
20846 case $PKG_CONFIG in
20847 [\\/]* | ?:[\\/]*)
20848 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20849 ;;
20850 *)
20851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20852for as_dir in $PATH
20853do
20854 IFS=$as_save_IFS
20855 test -z "$as_dir" && as_dir=.
20856 for ac_exec_ext in '' $ac_executable_extensions; do
20857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20858 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20860 break 2
20861 fi
20862done
20863done
20864
20865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20866 ;;
20867esac
20868fi
20869PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20870
20871if test -n "$PKG_CONFIG"; then
20872 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20873echo "${ECHO_T}$PKG_CONFIG" >&6
20874else
20875 echo "$as_me:$LINENO: result: no" >&5
20876echo "${ECHO_T}no" >&6
20877fi
20878
20879 fi
20880
20881 if test "$PKG_CONFIG" = "no" ; then
20882 echo "*** The pkg-config script could not be found. Make sure it is"
20883 echo "*** in your path, or set the PKG_CONFIG environment variable"
20884 echo "*** to the full path to pkg-config."
20885 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20886 else
20887 PKG_CONFIG_MIN_VERSION=0.9.0
20888 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20889 echo "$as_me:$LINENO: checking for pangoft2" >&5
20890echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20891
20892 if $PKG_CONFIG --exists "pangoft2" ; then
20893 echo "$as_me:$LINENO: result: yes" >&5
20894echo "${ECHO_T}yes" >&6
20895 succeeded=yes
20896
20897 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20898echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20899 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20900 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20901echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20902
20903 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20904echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20905 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20906 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20907echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20908 else
20909 PANGOFT2_CFLAGS=""
20910 PANGOFT2_LIBS=""
20911 ## If we have a custom action on failure, don't print errors, but
20912 ## do set a variable so people can do so.
20913 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20914
20915 fi
20916
20917
20918
20919 else
20920 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20921 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20922 fi
20923 fi
20924
20925 if test $succeeded = yes; then
20926
20927 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20928 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20929
20930 else
20931
20932 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20933echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20934 wxUSE_PRINTING_ARCHITECTURE="no"
20935
20936
20937 fi
20938
20939 fi
20940 else
20941 if test "$wxUSE_UNICODE" = "yes"; then
20942 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20943echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20944 wxUSE_UNICODE=no
20945 fi
20946 fi
20947
20948 if test "$USE_DARWIN" != 1; then
20949
20950for ac_func in poll
20951do
20952as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20953echo "$as_me:$LINENO: checking for $ac_func" >&5
20954echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20955if eval "test \"\${$as_ac_var+set}\" = set"; then
20956 echo $ECHO_N "(cached) $ECHO_C" >&6
20957else
20958 cat >conftest.$ac_ext <<_ACEOF
20959#line $LINENO "configure"
20960/* confdefs.h. */
20961_ACEOF
20962cat confdefs.h >>conftest.$ac_ext
20963cat >>conftest.$ac_ext <<_ACEOF
20964/* end confdefs.h. */
20965/* System header to define __stub macros and hopefully few prototypes,
20966 which can conflict with char $ac_func (); below.
20967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20968 <limits.h> exists even on freestanding compilers. */
20969#ifdef __STDC__
20970# include <limits.h>
20971#else
20972# include <assert.h>
20973#endif
20974/* Override any gcc2 internal prototype to avoid an error. */
20975#ifdef __cplusplus
20976extern "C"
20977{
20978#endif
20979/* We use char because int might match the return type of a gcc2
20980 builtin and then its argument prototype would still apply. */
20981char $ac_func ();
20982/* The GNU C library defines this for functions which it implements
20983 to always fail with ENOSYS. Some functions are actually named
20984 something starting with __ and the normal name is an alias. */
20985#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20986choke me
20987#else
20988char (*f) () = $ac_func;
20989#endif
20990#ifdef __cplusplus
20991}
20992#endif
20993
20994int
20995main ()
20996{
20997return f != $ac_func;
20998 ;
20999 return 0;
21000}
21001_ACEOF
21002rm -f conftest.$ac_objext conftest$ac_exeext
21003if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21004 (eval $ac_link) 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try='test -s conftest$ac_exeext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21011 ac_status=$?
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 eval "$as_ac_var=yes"
21015else
21016 echo "$as_me: failed program was:" >&5
21017sed 's/^/| /' conftest.$ac_ext >&5
21018
21019eval "$as_ac_var=no"
21020fi
21021rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21022fi
21023echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21024echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21025if test `eval echo '${'$as_ac_var'}'` = yes; then
21026 cat >>confdefs.h <<_ACEOF
21027#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21028_ACEOF
21029
21030fi
21031done
21032
21033 fi
21034
21035 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21036 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21037
21038 AFMINSTALL=afminstall
21039 TOOLKIT=GTK
21040 GUIDIST=GTK_DIST
21041
21042 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21043echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21044if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21046else
21047 ac_check_lib_save_LIBS=$LIBS
21048LIBS="-lgdk $LIBS"
21049cat >conftest.$ac_ext <<_ACEOF
21050#line $LINENO "configure"
21051/* confdefs.h. */
21052_ACEOF
21053cat confdefs.h >>conftest.$ac_ext
21054cat >>conftest.$ac_ext <<_ACEOF
21055/* end confdefs.h. */
21056
21057/* Override any gcc2 internal prototype to avoid an error. */
21058#ifdef __cplusplus
21059extern "C"
21060#endif
21061/* We use char because int might match the return type of a gcc2
21062 builtin and then its argument prototype would still apply. */
21063char gdk_im_open ();
21064int
21065main ()
21066{
21067gdk_im_open ();
21068 ;
21069 return 0;
21070}
21071_ACEOF
21072rm -f conftest.$ac_objext conftest$ac_exeext
21073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21074 (eval $ac_link) 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try='test -s conftest$ac_exeext'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21081 ac_status=$?
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; }; then
21084 ac_cv_lib_gdk_gdk_im_open=yes
21085else
21086 echo "$as_me: failed program was:" >&5
21087sed 's/^/| /' conftest.$ac_ext >&5
21088
21089ac_cv_lib_gdk_gdk_im_open=no
21090fi
21091rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21092LIBS=$ac_check_lib_save_LIBS
21093fi
21094echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21095echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21096if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21097 cat >>confdefs.h <<\_ACEOF
21098#define HAVE_XIM 1
21099_ACEOF
21100
21101fi
21102
21103 fi
21104
21105 if test "$wxUSE_MGL" = 1; then
21106 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21107echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21108 if test "x$MGL_ROOT" = x ; then
21109 echo "$as_me:$LINENO: result: not found" >&5
21110echo "${ECHO_T}not found" >&6
21111 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21112echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21113 { (exit 1); exit 1; }; }
21114 else
21115 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21116echo "${ECHO_T}$MGL_ROOT" >&6
21117 fi
21118
21119 echo "$as_me:$LINENO: checking for libmgl location" >&5
21120echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21121 case "${host}" in
21122 *-*-linux* )
21123 if test "x$wxUSE_SHARED" = xyes ; then
21124 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
21125 else
21126 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
21127 fi
21128 ;;
21129 *-pc-msdosdjgpp )
21130 mgl_os_candidates="dos32/dj2"
21131 ;;
21132 *)
21133 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21134echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21135 { (exit 1); exit 1; }; }
21136 esac
21137
21138 mgl_lib_type=""
21139 mgl_os=""
21140
21141 for mgl_os_i in $mgl_os_candidates ; do
21142 if test "x$mgl_os" = x ; then
21143 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21144 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21145 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21146 mgl_lib_type=debug
21147 mgl_os=$mgl_os_i
21148 fi
21149 fi
21150 if test "x$mgl_lib_type" = x ; then
21151 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21152 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21153 mgl_lib_type=release
21154 mgl_os=$mgl_os_i
21155 fi
21156 fi
21157 fi
21158 done
21159
21160 if test "x$mgl_os" = x ; then
21161 echo "$as_me:$LINENO: result: not found" >&5
21162echo "${ECHO_T}not found" >&6
21163 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21164echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21165 { (exit 1); exit 1; }; }
21166 fi
21167 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21168echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21169
21170 wxUSE_UNIVERSAL="yes"
21171
21172 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21173 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21174
21175 AFMINSTALL=afminstall
21176 TOOLKIT=MGL
21177 GUIDIST=MGL_DIST
21178 fi
21179
21180 if test "$wxUSE_MICROWIN" = 1; then
21181 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21182echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21183 if test "x$MICROWINDOWS" = x ; then
21184 echo "$as_me:$LINENO: result: not found" >&5
21185echo "${ECHO_T}not found" >&6
21186 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21187echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21188 { (exit 1); exit 1; }; }
21189 else
21190 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21191echo "${ECHO_T}$MICROWINDOWS" >&6
21192 fi
21193
21194 if test -f $MICROWINDOWS/lib/libmwin.a; then
21195 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21196echo "${ECHO_T}MicroWindows' libraries found." >&6
21197 else
21198 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21199echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21200 { (exit 1); exit 1; }; }
21201 fi
21202
21203 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21204 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21205
21206 wxUSE_UNIVERSAL="yes"
21207
21208 AFMINSTALL=afminstall
21209 TOOLKIT=MICROWIN
21210 GUIDIST=MICROWIN_DIST
21211
21212 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21213 fi
21214
21215 if test "$wxUSE_X11" = 1; then
21216 echo "$as_me:$LINENO: checking for X" >&5
21217echo $ECHO_N "checking for X... $ECHO_C" >&6
21218
21219
21220# Check whether --with-x or --without-x was given.
21221if test "${with_x+set}" = set; then
21222 withval="$with_x"
21223
21224fi;
21225# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21226if test "x$with_x" = xno; then
21227 # The user explicitly disabled X.
21228 have_x=disabled
21229else
21230 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21231 # Both variables are already set.
21232 have_x=yes
21233 else
21234 if test "${ac_cv_have_x+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236else
21237 # One or both of the vars are not set, and there is no cached value.
21238ac_x_includes=no ac_x_libraries=no
21239rm -fr conftest.dir
21240if mkdir conftest.dir; then
21241 cd conftest.dir
21242 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21243 cat >Imakefile <<'_ACEOF'
21244acfindx:
21245 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21246_ACEOF
21247 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21248 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21249 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21250 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21251 for ac_extension in a so sl; do
21252 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21253 test -f $ac_im_libdir/libX11.$ac_extension; then
21254 ac_im_usrlibdir=$ac_im_libdir; break
21255 fi
21256 done
21257 # Screen out bogus values from the imake configuration. They are
21258 # bogus both because they are the default anyway, and because
21259 # using them would break gcc on systems where it needs fixed includes.
21260 case $ac_im_incroot in
21261 /usr/include) ;;
21262 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21263 esac
21264 case $ac_im_usrlibdir in
21265 /usr/lib | /lib) ;;
21266 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21267 esac
21268 fi
21269 cd ..
21270 rm -fr conftest.dir
21271fi
21272
21273# Standard set of common directories for X headers.
21274# Check X11 before X11Rn because it is often a symlink to the current release.
21275ac_x_header_dirs='
21276/usr/X11/include
21277/usr/X11R6/include
21278/usr/X11R5/include
21279/usr/X11R4/include
21280
21281/usr/include/X11
21282/usr/include/X11R6
21283/usr/include/X11R5
21284/usr/include/X11R4
21285
21286/usr/local/X11/include
21287/usr/local/X11R6/include
21288/usr/local/X11R5/include
21289/usr/local/X11R4/include
21290
21291/usr/local/include/X11
21292/usr/local/include/X11R6
21293/usr/local/include/X11R5
21294/usr/local/include/X11R4
21295
21296/usr/X386/include
21297/usr/x386/include
21298/usr/XFree86/include/X11
21299
21300/usr/include
21301/usr/local/include
21302/usr/unsupported/include
21303/usr/athena/include
21304/usr/local/x11r5/include
21305/usr/lpp/Xamples/include
21306
21307/usr/openwin/include
21308/usr/openwin/share/include'
21309
21310if test "$ac_x_includes" = no; then
21311 # Guess where to find include files, by looking for Intrinsic.h.
21312 # First, try using that file with no special directory specified.
21313 cat >conftest.$ac_ext <<_ACEOF
21314#line $LINENO "configure"
21315/* confdefs.h. */
21316_ACEOF
21317cat confdefs.h >>conftest.$ac_ext
21318cat >>conftest.$ac_ext <<_ACEOF
21319/* end confdefs.h. */
21320#include <X11/Intrinsic.h>
21321_ACEOF
21322if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21324 ac_status=$?
21325 grep -v '^ *+' conftest.er1 >conftest.err
21326 rm -f conftest.er1
21327 cat conftest.err >&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } >/dev/null; then
21330 if test -s conftest.err; then
21331 ac_cpp_err=$ac_c_preproc_warn_flag
21332 else
21333 ac_cpp_err=
21334 fi
21335else
21336 ac_cpp_err=yes
21337fi
21338if test -z "$ac_cpp_err"; then
21339 # We can compile using X headers with no special include directory.
21340ac_x_includes=
21341else
21342 echo "$as_me: failed program was:" >&5
21343sed 's/^/| /' conftest.$ac_ext >&5
21344
21345 for ac_dir in $ac_x_header_dirs; do
21346 if test -r "$ac_dir/X11/Intrinsic.h"; then
21347 ac_x_includes=$ac_dir
21348 break
21349 fi
21350done
21351fi
21352rm -f conftest.err conftest.$ac_ext
21353fi # $ac_x_includes = no
21354
21355if test "$ac_x_libraries" = no; then
21356 # Check for the libraries.
21357 # See if we find them without any special options.
21358 # Don't add to $LIBS permanently.
21359 ac_save_LIBS=$LIBS
21360 LIBS="-lXt $LIBS"
21361 cat >conftest.$ac_ext <<_ACEOF
21362#line $LINENO "configure"
21363/* confdefs.h. */
21364_ACEOF
21365cat confdefs.h >>conftest.$ac_ext
21366cat >>conftest.$ac_ext <<_ACEOF
21367/* end confdefs.h. */
21368#include <X11/Intrinsic.h>
21369int
21370main ()
21371{
21372XtMalloc (0)
21373 ;
21374 return 0;
21375}
21376_ACEOF
21377rm -f conftest.$ac_objext conftest$ac_exeext
21378if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21379 (eval $ac_link) 2>&5
21380 ac_status=$?
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try='test -s conftest$ac_exeext'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21386 ac_status=$?
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; }; then
21389 LIBS=$ac_save_LIBS
21390# We can link X programs with no special library path.
21391ac_x_libraries=
21392else
21393 echo "$as_me: failed program was:" >&5
21394sed 's/^/| /' conftest.$ac_ext >&5
21395
21396LIBS=$ac_save_LIBS
21397for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21398do
21399 # Don't even attempt the hair of trying to link an X program!
21400 for ac_extension in a so sl; do
21401 if test -r $ac_dir/libXt.$ac_extension; then
21402 ac_x_libraries=$ac_dir
21403 break 2
21404 fi
21405 done
21406done
21407fi
21408rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21409fi # $ac_x_libraries = no
21410
21411if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21412 # Didn't find X anywhere. Cache the known absence of X.
21413 ac_cv_have_x="have_x=no"
21414else
21415 # Record where we found X for the cache.
21416 ac_cv_have_x="have_x=yes \
21417 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21418fi
21419fi
21420
21421 fi
21422 eval "$ac_cv_have_x"
21423fi # $with_x != no
21424
21425if test "$have_x" != yes; then
21426 echo "$as_me:$LINENO: result: $have_x" >&5
21427echo "${ECHO_T}$have_x" >&6
21428 no_x=yes
21429else
21430 # If each of the values was on the command line, it overrides each guess.
21431 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21432 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21433 # Update the cache value to reflect the command line values.
21434 ac_cv_have_x="have_x=yes \
21435 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21436 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21437echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21438fi
21439
21440if test "$no_x" = yes; then
21441 # Not all programs may use this symbol, but it does not hurt to define it.
21442
21443cat >>confdefs.h <<\_ACEOF
21444#define X_DISPLAY_MISSING 1
21445_ACEOF
21446
21447 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21448else
21449 if test -n "$x_includes"; then
21450 X_CFLAGS="$X_CFLAGS -I$x_includes"
21451 fi
21452
21453 # It would also be nice to do this for all -L options, not just this one.
21454 if test -n "$x_libraries"; then
21455 X_LIBS="$X_LIBS -L$x_libraries"
21456 # For Solaris; some versions of Sun CC require a space after -R and
21457 # others require no space. Words are not sufficient . . . .
21458 case `(uname -sr) 2>/dev/null` in
21459 "SunOS 5"*)
21460 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21461echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21462 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21463 cat >conftest.$ac_ext <<_ACEOF
21464#line $LINENO "configure"
21465/* confdefs.h. */
21466_ACEOF
21467cat confdefs.h >>conftest.$ac_ext
21468cat >>conftest.$ac_ext <<_ACEOF
21469/* end confdefs.h. */
21470
21471int
21472main ()
21473{
21474
21475 ;
21476 return 0;
21477}
21478_ACEOF
21479rm -f conftest.$ac_objext conftest$ac_exeext
21480if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21481 (eval $ac_link) 2>&5
21482 ac_status=$?
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); } &&
21485 { ac_try='test -s conftest$ac_exeext'
21486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21487 (eval $ac_try) 2>&5
21488 ac_status=$?
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); }; }; then
21491 ac_R_nospace=yes
21492else
21493 echo "$as_me: failed program was:" >&5
21494sed 's/^/| /' conftest.$ac_ext >&5
21495
21496ac_R_nospace=no
21497fi
21498rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21499 if test $ac_R_nospace = yes; then
21500 echo "$as_me:$LINENO: result: no" >&5
21501echo "${ECHO_T}no" >&6
21502 X_LIBS="$X_LIBS -R$x_libraries"
21503 else
21504 LIBS="$ac_xsave_LIBS -R $x_libraries"
21505 cat >conftest.$ac_ext <<_ACEOF
21506#line $LINENO "configure"
21507/* confdefs.h. */
21508_ACEOF
21509cat confdefs.h >>conftest.$ac_ext
21510cat >>conftest.$ac_ext <<_ACEOF
21511/* end confdefs.h. */
21512
21513int
21514main ()
21515{
21516
21517 ;
21518 return 0;
21519}
21520_ACEOF
21521rm -f conftest.$ac_objext conftest$ac_exeext
21522if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21523 (eval $ac_link) 2>&5
21524 ac_status=$?
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } &&
21527 { ac_try='test -s conftest$ac_exeext'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21530 ac_status=$?
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; }; then
21533 ac_R_space=yes
21534else
21535 echo "$as_me: failed program was:" >&5
21536sed 's/^/| /' conftest.$ac_ext >&5
21537
21538ac_R_space=no
21539fi
21540rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21541 if test $ac_R_space = yes; then
21542 echo "$as_me:$LINENO: result: yes" >&5
21543echo "${ECHO_T}yes" >&6
21544 X_LIBS="$X_LIBS -R $x_libraries"
21545 else
21546 echo "$as_me:$LINENO: result: neither works" >&5
21547echo "${ECHO_T}neither works" >&6
21548 fi
21549 fi
21550 LIBS=$ac_xsave_LIBS
21551 esac
21552 fi
21553
21554 # Check for system-dependent libraries X programs must link with.
21555 # Do this before checking for the system-independent R6 libraries
21556 # (-lICE), since we may need -lsocket or whatever for X linking.
21557
21558 if test "$ISC" = yes; then
21559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21560 else
21561 # Martyn Johnson says this is needed for Ultrix, if the X
21562 # libraries were built with DECnet support. And Karl Berry says
21563 # the Alpha needs dnet_stub (dnet does not exist).
21564 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21565 cat >conftest.$ac_ext <<_ACEOF
21566#line $LINENO "configure"
21567/* confdefs.h. */
21568_ACEOF
21569cat confdefs.h >>conftest.$ac_ext
21570cat >>conftest.$ac_ext <<_ACEOF
21571/* end confdefs.h. */
21572
21573/* Override any gcc2 internal prototype to avoid an error. */
21574#ifdef __cplusplus
21575extern "C"
21576#endif
21577/* We use char because int might match the return type of a gcc2
21578 builtin and then its argument prototype would still apply. */
21579char XOpenDisplay ();
21580int
21581main ()
21582{
21583XOpenDisplay ();
21584 ;
21585 return 0;
21586}
21587_ACEOF
21588rm -f conftest.$ac_objext conftest$ac_exeext
21589if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21590 (eval $ac_link) 2>&5
21591 ac_status=$?
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); } &&
21594 { ac_try='test -s conftest$ac_exeext'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21597 ac_status=$?
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; }; then
21600 :
21601else
21602 echo "$as_me: failed program was:" >&5
21603sed 's/^/| /' conftest.$ac_ext >&5
21604
21605echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21606echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21607if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21609else
21610 ac_check_lib_save_LIBS=$LIBS
21611LIBS="-ldnet $LIBS"
21612cat >conftest.$ac_ext <<_ACEOF
21613#line $LINENO "configure"
21614/* confdefs.h. */
21615_ACEOF
21616cat confdefs.h >>conftest.$ac_ext
21617cat >>conftest.$ac_ext <<_ACEOF
21618/* end confdefs.h. */
21619
21620/* Override any gcc2 internal prototype to avoid an error. */
21621#ifdef __cplusplus
21622extern "C"
21623#endif
21624/* We use char because int might match the return type of a gcc2
21625 builtin and then its argument prototype would still apply. */
21626char dnet_ntoa ();
21627int
21628main ()
21629{
21630dnet_ntoa ();
21631 ;
21632 return 0;
21633}
21634_ACEOF
21635rm -f conftest.$ac_objext conftest$ac_exeext
21636if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21637 (eval $ac_link) 2>&5
21638 ac_status=$?
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } &&
21641 { ac_try='test -s conftest$ac_exeext'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21644 ac_status=$?
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; }; then
21647 ac_cv_lib_dnet_dnet_ntoa=yes
21648else
21649 echo "$as_me: failed program was:" >&5
21650sed 's/^/| /' conftest.$ac_ext >&5
21651
21652ac_cv_lib_dnet_dnet_ntoa=no
21653fi
21654rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21655LIBS=$ac_check_lib_save_LIBS
21656fi
21657echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21658echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21659if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21660 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21661fi
21662
21663 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21664 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21665echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21666if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21668else
21669 ac_check_lib_save_LIBS=$LIBS
21670LIBS="-ldnet_stub $LIBS"
21671cat >conftest.$ac_ext <<_ACEOF
21672#line $LINENO "configure"
21673/* confdefs.h. */
21674_ACEOF
21675cat confdefs.h >>conftest.$ac_ext
21676cat >>conftest.$ac_ext <<_ACEOF
21677/* end confdefs.h. */
21678
21679/* Override any gcc2 internal prototype to avoid an error. */
21680#ifdef __cplusplus
21681extern "C"
21682#endif
21683/* We use char because int might match the return type of a gcc2
21684 builtin and then its argument prototype would still apply. */
21685char dnet_ntoa ();
21686int
21687main ()
21688{
21689dnet_ntoa ();
21690 ;
21691 return 0;
21692}
21693_ACEOF
21694rm -f conftest.$ac_objext conftest$ac_exeext
21695if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21696 (eval $ac_link) 2>&5
21697 ac_status=$?
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); } &&
21700 { ac_try='test -s conftest$ac_exeext'
21701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21702 (eval $ac_try) 2>&5
21703 ac_status=$?
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); }; }; then
21706 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21707else
21708 echo "$as_me: failed program was:" >&5
21709sed 's/^/| /' conftest.$ac_ext >&5
21710
21711ac_cv_lib_dnet_stub_dnet_ntoa=no
21712fi
21713rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21714LIBS=$ac_check_lib_save_LIBS
21715fi
21716echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21717echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21718if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21719 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21720fi
21721
21722 fi
21723fi
21724rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21725 LIBS="$ac_xsave_LIBS"
21726
21727 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21728 # to get the SysV transport functions.
21729 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21730 # needs -lnsl.
21731 # The nsl library prevents programs from opening the X display
21732 # on Irix 5.2, according to T.E. Dickey.
21733 # The functions gethostbyname, getservbyname, and inet_addr are
21734 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21735 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21736echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21737if test "${ac_cv_func_gethostbyname+set}" = set; then
21738 echo $ECHO_N "(cached) $ECHO_C" >&6
21739else
21740 cat >conftest.$ac_ext <<_ACEOF
21741#line $LINENO "configure"
21742/* confdefs.h. */
21743_ACEOF
21744cat confdefs.h >>conftest.$ac_ext
21745cat >>conftest.$ac_ext <<_ACEOF
21746/* end confdefs.h. */
21747/* System header to define __stub macros and hopefully few prototypes,
21748 which can conflict with char gethostbyname (); below.
21749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21750 <limits.h> exists even on freestanding compilers. */
21751#ifdef __STDC__
21752# include <limits.h>
21753#else
21754# include <assert.h>
21755#endif
21756/* Override any gcc2 internal prototype to avoid an error. */
21757#ifdef __cplusplus
21758extern "C"
21759{
21760#endif
21761/* We use char because int might match the return type of a gcc2
21762 builtin and then its argument prototype would still apply. */
21763char gethostbyname ();
21764/* The GNU C library defines this for functions which it implements
21765 to always fail with ENOSYS. Some functions are actually named
21766 something starting with __ and the normal name is an alias. */
21767#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21768choke me
21769#else
21770char (*f) () = gethostbyname;
21771#endif
21772#ifdef __cplusplus
21773}
21774#endif
21775
21776int
21777main ()
21778{
21779return f != gethostbyname;
21780 ;
21781 return 0;
21782}
21783_ACEOF
21784rm -f conftest.$ac_objext conftest$ac_exeext
21785if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21786 (eval $ac_link) 2>&5
21787 ac_status=$?
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } &&
21790 { ac_try='test -s conftest$ac_exeext'
21791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21792 (eval $ac_try) 2>&5
21793 ac_status=$?
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); }; }; then
21796 ac_cv_func_gethostbyname=yes
21797else
21798 echo "$as_me: failed program was:" >&5
21799sed 's/^/| /' conftest.$ac_ext >&5
21800
21801ac_cv_func_gethostbyname=no
21802fi
21803rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21804fi
21805echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21806echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21807
21808 if test $ac_cv_func_gethostbyname = no; then
21809 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21810echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21811if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21812 echo $ECHO_N "(cached) $ECHO_C" >&6
21813else
21814 ac_check_lib_save_LIBS=$LIBS
21815LIBS="-lnsl $LIBS"
21816cat >conftest.$ac_ext <<_ACEOF
21817#line $LINENO "configure"
21818/* confdefs.h. */
21819_ACEOF
21820cat confdefs.h >>conftest.$ac_ext
21821cat >>conftest.$ac_ext <<_ACEOF
21822/* end confdefs.h. */
21823
21824/* Override any gcc2 internal prototype to avoid an error. */
21825#ifdef __cplusplus
21826extern "C"
21827#endif
21828/* We use char because int might match the return type of a gcc2
21829 builtin and then its argument prototype would still apply. */
21830char gethostbyname ();
21831int
21832main ()
21833{
21834gethostbyname ();
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_lib_nsl_gethostbyname=yes
21852else
21853 echo "$as_me: failed program was:" >&5
21854sed 's/^/| /' conftest.$ac_ext >&5
21855
21856ac_cv_lib_nsl_gethostbyname=no
21857fi
21858rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21859LIBS=$ac_check_lib_save_LIBS
21860fi
21861echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21862echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21863if test $ac_cv_lib_nsl_gethostbyname = yes; then
21864 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21865fi
21866
21867 if test $ac_cv_lib_nsl_gethostbyname = no; then
21868 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21869echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21870if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21871 echo $ECHO_N "(cached) $ECHO_C" >&6
21872else
21873 ac_check_lib_save_LIBS=$LIBS
21874LIBS="-lbsd $LIBS"
21875cat >conftest.$ac_ext <<_ACEOF
21876#line $LINENO "configure"
21877/* confdefs.h. */
21878_ACEOF
21879cat confdefs.h >>conftest.$ac_ext
21880cat >>conftest.$ac_ext <<_ACEOF
21881/* end confdefs.h. */
21882
21883/* Override any gcc2 internal prototype to avoid an error. */
21884#ifdef __cplusplus
21885extern "C"
21886#endif
21887/* We use char because int might match the return type of a gcc2
21888 builtin and then its argument prototype would still apply. */
21889char gethostbyname ();
21890int
21891main ()
21892{
21893gethostbyname ();
21894 ;
21895 return 0;
21896}
21897_ACEOF
21898rm -f conftest.$ac_objext conftest$ac_exeext
21899if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21900 (eval $ac_link) 2>&5
21901 ac_status=$?
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } &&
21904 { ac_try='test -s conftest$ac_exeext'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21907 ac_status=$?
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; }; then
21910 ac_cv_lib_bsd_gethostbyname=yes
21911else
21912 echo "$as_me: failed program was:" >&5
21913sed 's/^/| /' conftest.$ac_ext >&5
21914
21915ac_cv_lib_bsd_gethostbyname=no
21916fi
21917rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21918LIBS=$ac_check_lib_save_LIBS
21919fi
21920echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21921echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21922if test $ac_cv_lib_bsd_gethostbyname = yes; then
21923 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21924fi
21925
21926 fi
21927 fi
21928
21929 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21930 # socket/setsockopt and other routines are undefined under SCO ODT
21931 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21932 # on later versions), says Simon Leinen: it contains gethostby*
21933 # variants that don't use the name server (or something). -lsocket
21934 # must be given before -lnsl if both are needed. We assume that
21935 # if connect needs -lnsl, so does gethostbyname.
21936 echo "$as_me:$LINENO: checking for connect" >&5
21937echo $ECHO_N "checking for connect... $ECHO_C" >&6
21938if test "${ac_cv_func_connect+set}" = set; then
21939 echo $ECHO_N "(cached) $ECHO_C" >&6
21940else
21941 cat >conftest.$ac_ext <<_ACEOF
21942#line $LINENO "configure"
21943/* confdefs.h. */
21944_ACEOF
21945cat confdefs.h >>conftest.$ac_ext
21946cat >>conftest.$ac_ext <<_ACEOF
21947/* end confdefs.h. */
21948/* System header to define __stub macros and hopefully few prototypes,
21949 which can conflict with char connect (); below.
21950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21951 <limits.h> exists even on freestanding compilers. */
21952#ifdef __STDC__
21953# include <limits.h>
21954#else
21955# include <assert.h>
21956#endif
21957/* Override any gcc2 internal prototype to avoid an error. */
21958#ifdef __cplusplus
21959extern "C"
21960{
21961#endif
21962/* We use char because int might match the return type of a gcc2
21963 builtin and then its argument prototype would still apply. */
21964char connect ();
21965/* The GNU C library defines this for functions which it implements
21966 to always fail with ENOSYS. Some functions are actually named
21967 something starting with __ and the normal name is an alias. */
21968#if defined (__stub_connect) || defined (__stub___connect)
21969choke me
21970#else
21971char (*f) () = connect;
21972#endif
21973#ifdef __cplusplus
21974}
21975#endif
21976
21977int
21978main ()
21979{
21980return f != connect;
21981 ;
21982 return 0;
21983}
21984_ACEOF
21985rm -f conftest.$ac_objext conftest$ac_exeext
21986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21987 (eval $ac_link) 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } &&
21991 { ac_try='test -s conftest$ac_exeext'
21992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21993 (eval $ac_try) 2>&5
21994 ac_status=$?
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); }; }; then
21997 ac_cv_func_connect=yes
21998else
21999 echo "$as_me: failed program was:" >&5
22000sed 's/^/| /' conftest.$ac_ext >&5
22001
22002ac_cv_func_connect=no
22003fi
22004rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22005fi
22006echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22007echo "${ECHO_T}$ac_cv_func_connect" >&6
22008
22009 if test $ac_cv_func_connect = no; then
22010 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22011echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22012if test "${ac_cv_lib_socket_connect+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6
22014else
22015 ac_check_lib_save_LIBS=$LIBS
22016LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22017cat >conftest.$ac_ext <<_ACEOF
22018#line $LINENO "configure"
22019/* confdefs.h. */
22020_ACEOF
22021cat confdefs.h >>conftest.$ac_ext
22022cat >>conftest.$ac_ext <<_ACEOF
22023/* end confdefs.h. */
22024
22025/* Override any gcc2 internal prototype to avoid an error. */
22026#ifdef __cplusplus
22027extern "C"
22028#endif
22029/* We use char because int might match the return type of a gcc2
22030 builtin and then its argument prototype would still apply. */
22031char connect ();
22032int
22033main ()
22034{
22035connect ();
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_lib_socket_connect=yes
22053else
22054 echo "$as_me: failed program was:" >&5
22055sed 's/^/| /' conftest.$ac_ext >&5
22056
22057ac_cv_lib_socket_connect=no
22058fi
22059rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22060LIBS=$ac_check_lib_save_LIBS
22061fi
22062echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22063echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22064if test $ac_cv_lib_socket_connect = yes; then
22065 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22066fi
22067
22068 fi
22069
22070 # Guillermo Gomez says -lposix is necessary on A/UX.
22071 echo "$as_me:$LINENO: checking for remove" >&5
22072echo $ECHO_N "checking for remove... $ECHO_C" >&6
22073if test "${ac_cv_func_remove+set}" = set; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22075else
22076 cat >conftest.$ac_ext <<_ACEOF
22077#line $LINENO "configure"
22078/* confdefs.h. */
22079_ACEOF
22080cat confdefs.h >>conftest.$ac_ext
22081cat >>conftest.$ac_ext <<_ACEOF
22082/* end confdefs.h. */
22083/* System header to define __stub macros and hopefully few prototypes,
22084 which can conflict with char remove (); below.
22085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22086 <limits.h> exists even on freestanding compilers. */
22087#ifdef __STDC__
22088# include <limits.h>
22089#else
22090# include <assert.h>
22091#endif
22092/* Override any gcc2 internal prototype to avoid an error. */
22093#ifdef __cplusplus
22094extern "C"
22095{
22096#endif
22097/* We use char because int might match the return type of a gcc2
22098 builtin and then its argument prototype would still apply. */
22099char remove ();
22100/* The GNU C library defines this for functions which it implements
22101 to always fail with ENOSYS. Some functions are actually named
22102 something starting with __ and the normal name is an alias. */
22103#if defined (__stub_remove) || defined (__stub___remove)
22104choke me
22105#else
22106char (*f) () = remove;
22107#endif
22108#ifdef __cplusplus
22109}
22110#endif
22111
22112int
22113main ()
22114{
22115return f != remove;
22116 ;
22117 return 0;
22118}
22119_ACEOF
22120rm -f conftest.$ac_objext conftest$ac_exeext
22121if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22122 (eval $ac_link) 2>&5
22123 ac_status=$?
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } &&
22126 { ac_try='test -s conftest$ac_exeext'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22129 ac_status=$?
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; }; then
22132 ac_cv_func_remove=yes
22133else
22134 echo "$as_me: failed program was:" >&5
22135sed 's/^/| /' conftest.$ac_ext >&5
22136
22137ac_cv_func_remove=no
22138fi
22139rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22140fi
22141echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22142echo "${ECHO_T}$ac_cv_func_remove" >&6
22143
22144 if test $ac_cv_func_remove = no; then
22145 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22146echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22147if test "${ac_cv_lib_posix_remove+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22149else
22150 ac_check_lib_save_LIBS=$LIBS
22151LIBS="-lposix $LIBS"
22152cat >conftest.$ac_ext <<_ACEOF
22153#line $LINENO "configure"
22154/* confdefs.h. */
22155_ACEOF
22156cat confdefs.h >>conftest.$ac_ext
22157cat >>conftest.$ac_ext <<_ACEOF
22158/* end confdefs.h. */
22159
22160/* Override any gcc2 internal prototype to avoid an error. */
22161#ifdef __cplusplus
22162extern "C"
22163#endif
22164/* We use char because int might match the return type of a gcc2
22165 builtin and then its argument prototype would still apply. */
22166char remove ();
22167int
22168main ()
22169{
22170remove ();
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_lib_posix_remove=yes
22188else
22189 echo "$as_me: failed program was:" >&5
22190sed 's/^/| /' conftest.$ac_ext >&5
22191
22192ac_cv_lib_posix_remove=no
22193fi
22194rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22195LIBS=$ac_check_lib_save_LIBS
22196fi
22197echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22198echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22199if test $ac_cv_lib_posix_remove = yes; then
22200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22201fi
22202
22203 fi
22204
22205 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22206 echo "$as_me:$LINENO: checking for shmat" >&5
22207echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22208if test "${ac_cv_func_shmat+set}" = set; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22210else
22211 cat >conftest.$ac_ext <<_ACEOF
22212#line $LINENO "configure"
22213/* confdefs.h. */
22214_ACEOF
22215cat confdefs.h >>conftest.$ac_ext
22216cat >>conftest.$ac_ext <<_ACEOF
22217/* end confdefs.h. */
22218/* System header to define __stub macros and hopefully few prototypes,
22219 which can conflict with char shmat (); below.
22220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22221 <limits.h> exists even on freestanding compilers. */
22222#ifdef __STDC__
22223# include <limits.h>
22224#else
22225# include <assert.h>
22226#endif
22227/* Override any gcc2 internal prototype to avoid an error. */
22228#ifdef __cplusplus
22229extern "C"
22230{
22231#endif
22232/* We use char because int might match the return type of a gcc2
22233 builtin and then its argument prototype would still apply. */
22234char shmat ();
22235/* The GNU C library defines this for functions which it implements
22236 to always fail with ENOSYS. Some functions are actually named
22237 something starting with __ and the normal name is an alias. */
22238#if defined (__stub_shmat) || defined (__stub___shmat)
22239choke me
22240#else
22241char (*f) () = shmat;
22242#endif
22243#ifdef __cplusplus
22244}
22245#endif
22246
22247int
22248main ()
22249{
22250return f != shmat;
22251 ;
22252 return 0;
22253}
22254_ACEOF
22255rm -f conftest.$ac_objext conftest$ac_exeext
22256if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22257 (eval $ac_link) 2>&5
22258 ac_status=$?
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try='test -s conftest$ac_exeext'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22264 ac_status=$?
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; }; then
22267 ac_cv_func_shmat=yes
22268else
22269 echo "$as_me: failed program was:" >&5
22270sed 's/^/| /' conftest.$ac_ext >&5
22271
22272ac_cv_func_shmat=no
22273fi
22274rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22275fi
22276echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22277echo "${ECHO_T}$ac_cv_func_shmat" >&6
22278
22279 if test $ac_cv_func_shmat = no; then
22280 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22281echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22282if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22283 echo $ECHO_N "(cached) $ECHO_C" >&6
22284else
22285 ac_check_lib_save_LIBS=$LIBS
22286LIBS="-lipc $LIBS"
22287cat >conftest.$ac_ext <<_ACEOF
22288#line $LINENO "configure"
22289/* confdefs.h. */
22290_ACEOF
22291cat confdefs.h >>conftest.$ac_ext
22292cat >>conftest.$ac_ext <<_ACEOF
22293/* end confdefs.h. */
22294
22295/* Override any gcc2 internal prototype to avoid an error. */
22296#ifdef __cplusplus
22297extern "C"
22298#endif
22299/* We use char because int might match the return type of a gcc2
22300 builtin and then its argument prototype would still apply. */
22301char shmat ();
22302int
22303main ()
22304{
22305shmat ();
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_lib_ipc_shmat=yes
22323else
22324 echo "$as_me: failed program was:" >&5
22325sed 's/^/| /' conftest.$ac_ext >&5
22326
22327ac_cv_lib_ipc_shmat=no
22328fi
22329rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22330LIBS=$ac_check_lib_save_LIBS
22331fi
22332echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22333echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22334if test $ac_cv_lib_ipc_shmat = yes; then
22335 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22336fi
22337
22338 fi
22339 fi
22340
22341 # Check for libraries that X11R6 Xt/Xaw programs need.
22342 ac_save_LDFLAGS=$LDFLAGS
22343 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22344 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22345 # check for ICE first), but we must link in the order -lSM -lICE or
22346 # we get undefined symbols. So assume we have SM if we have ICE.
22347 # These have to be linked with before -lX11, unlike the other
22348 # libraries we check for below, so use a different variable.
22349 # John Interrante, Karl Berry
22350 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22351echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22352if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354else
22355 ac_check_lib_save_LIBS=$LIBS
22356LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22357cat >conftest.$ac_ext <<_ACEOF
22358#line $LINENO "configure"
22359/* confdefs.h. */
22360_ACEOF
22361cat confdefs.h >>conftest.$ac_ext
22362cat >>conftest.$ac_ext <<_ACEOF
22363/* end confdefs.h. */
22364
22365/* Override any gcc2 internal prototype to avoid an error. */
22366#ifdef __cplusplus
22367extern "C"
22368#endif
22369/* We use char because int might match the return type of a gcc2
22370 builtin and then its argument prototype would still apply. */
22371char IceConnectionNumber ();
22372int
22373main ()
22374{
22375IceConnectionNumber ();
22376 ;
22377 return 0;
22378}
22379_ACEOF
22380rm -f conftest.$ac_objext conftest$ac_exeext
22381if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22382 (eval $ac_link) 2>&5
22383 ac_status=$?
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } &&
22386 { ac_try='test -s conftest$ac_exeext'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; }; then
22392 ac_cv_lib_ICE_IceConnectionNumber=yes
22393else
22394 echo "$as_me: failed program was:" >&5
22395sed 's/^/| /' conftest.$ac_ext >&5
22396
22397ac_cv_lib_ICE_IceConnectionNumber=no
22398fi
22399rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22400LIBS=$ac_check_lib_save_LIBS
22401fi
22402echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22403echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22404if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22405 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22406fi
22407
22408 LDFLAGS=$ac_save_LDFLAGS
22409
22410fi
22411
22412
22413 if test "$no_x" = "yes"; then
22414 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22415echo "$as_me: error: X11 not found" >&2;}
22416 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22417 fi
22418
22419 GUI_TK_LIBRARY="$X_LIBS"
22420 TOOLKIT_INCLUDE="$X_CFLAGS"
22421 AFMINSTALL=afminstall
22422 COMPILED_X_PROGRAM=0
22423
22424 if test "$wxUSE_NANOX" = "yes"; then
22425 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22426echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22427 if test "x$MICROWIN" = x ; then
22428 echo "$as_me:$LINENO: result: not found" >&5
22429echo "${ECHO_T}not found" >&6
22430 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22431echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22432 { (exit 1); exit 1; }; }
22433 else
22434 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22435echo "${ECHO_T}$MICROWIN" >&6
22436 cat >>confdefs.h <<\_ACEOF
22437#define wxUSE_NANOX 1
22438_ACEOF
22439
22440 fi
22441 fi
22442
22443 xpm_link=
22444 echo "$as_me:$LINENO: checking for Xpm library" >&5
22445echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22446
22447ac_find_libraries=
22448for ac_dir in $SEARCH_LIB /usr/lib;
22449 do
22450 for ac_extension in a so sl dylib; do
22451 if test -f "$ac_dir/libXpm.$ac_extension"; then
22452 ac_find_libraries=$ac_dir
22453 break 2
22454 fi
22455 done
22456 done
22457
22458 if test "$ac_find_libraries" != "" ; then
22459
22460 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22461 result=$?
22462 if test $result = 0; then
22463 ac_path_to_link=""
22464 else
22465 ac_path_to_link=" -L$ac_find_libraries"
22466 fi
22467
22468 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22469 xpm_link=" -lXpm"
22470 cat >>confdefs.h <<\_ACEOF
22471#define wxHAVE_LIB_XPM 1
22472_ACEOF
22473
22474 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22475echo "${ECHO_T}found at $ac_find_libraries" >&6
22476 else
22477 cat >conftest.$ac_ext <<_ACEOF
22478#line $LINENO "configure"
22479/* confdefs.h. */
22480_ACEOF
22481cat confdefs.h >>conftest.$ac_ext
22482cat >>conftest.$ac_ext <<_ACEOF
22483/* end confdefs.h. */
22484
22485 #include <X11/xpm.h>
22486
22487int
22488main ()
22489{
22490
22491 int version;
22492 version = XpmLibraryVersion();
22493
22494 ;
22495 return 0;
22496}
22497_ACEOF
22498rm -f conftest.$ac_objext
22499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22500 (eval $ac_compile) 2>&5
22501 ac_status=$?
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } &&
22504 { ac_try='test -s conftest.$ac_objext'
22505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22506 (eval $ac_try) 2>&5
22507 ac_status=$?
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; }; then
22510
22511 xpm_link=" -lXpm"
22512 cat >>confdefs.h <<\_ACEOF
22513#define wxHAVE_LIB_XPM 1
22514_ACEOF
22515
22516 echo "$as_me:$LINENO: result: found in default search path" >&5
22517echo "${ECHO_T}found in default search path" >&6
22518 COMPILED_X_PROGRAM=0
22519
22520else
22521 echo "$as_me: failed program was:" >&5
22522sed 's/^/| /' conftest.$ac_ext >&5
22523
22524
22525 echo "$as_me:$LINENO: result: no" >&5
22526echo "${ECHO_T}no" >&6
22527 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22528echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22529
22530
22531fi
22532rm -f conftest.$ac_objext conftest.$ac_ext
22533 fi
22534
22535 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22536echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22537if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22538 echo $ECHO_N "(cached) $ECHO_C" >&6
22539else
22540 ac_check_lib_save_LIBS=$LIBS
22541LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22542cat >conftest.$ac_ext <<_ACEOF
22543#line $LINENO "configure"
22544/* confdefs.h. */
22545_ACEOF
22546cat confdefs.h >>conftest.$ac_ext
22547cat >>conftest.$ac_ext <<_ACEOF
22548/* end confdefs.h. */
22549
22550/* Override any gcc2 internal prototype to avoid an error. */
22551#ifdef __cplusplus
22552extern "C"
22553#endif
22554/* We use char because int might match the return type of a gcc2
22555 builtin and then its argument prototype would still apply. */
22556char XShapeQueryExtension ();
22557int
22558main ()
22559{
22560XShapeQueryExtension ();
22561 ;
22562 return 0;
22563}
22564_ACEOF
22565rm -f conftest.$ac_objext conftest$ac_exeext
22566if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22567 (eval $ac_link) 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } &&
22571 { ac_try='test -s conftest$ac_exeext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 ac_cv_lib_Xext_XShapeQueryExtension=yes
22578else
22579 echo "$as_me: failed program was:" >&5
22580sed 's/^/| /' conftest.$ac_ext >&5
22581
22582ac_cv_lib_Xext_XShapeQueryExtension=no
22583fi
22584rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22585LIBS=$ac_check_lib_save_LIBS
22586fi
22587echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22588echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22589if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22590
22591 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22592 wxHAVE_XEXT_LIB=1
22593
22594fi
22595
22596
22597 if test "$wxUSE_UNICODE" = "yes"; then
22598
22599 succeeded=no
22600
22601 if test -z "$PKG_CONFIG"; then
22602 # Extract the first word of "pkg-config", so it can be a program name with args.
22603set dummy pkg-config; ac_word=$2
22604echo "$as_me:$LINENO: checking for $ac_word" >&5
22605echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22606if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22608else
22609 case $PKG_CONFIG in
22610 [\\/]* | ?:[\\/]*)
22611 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22612 ;;
22613 *)
22614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22615for as_dir in $PATH
22616do
22617 IFS=$as_save_IFS
22618 test -z "$as_dir" && as_dir=.
22619 for ac_exec_ext in '' $ac_executable_extensions; do
22620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22621 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22623 break 2
22624 fi
22625done
22626done
22627
22628 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22629 ;;
22630esac
22631fi
22632PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22633
22634if test -n "$PKG_CONFIG"; then
22635 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22636echo "${ECHO_T}$PKG_CONFIG" >&6
22637else
22638 echo "$as_me:$LINENO: result: no" >&5
22639echo "${ECHO_T}no" >&6
22640fi
22641
22642 fi
22643
22644 if test "$PKG_CONFIG" = "no" ; then
22645 echo "*** The pkg-config script could not be found. Make sure it is"
22646 echo "*** in your path, or set the PKG_CONFIG environment variable"
22647 echo "*** to the full path to pkg-config."
22648 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22649 else
22650 PKG_CONFIG_MIN_VERSION=0.9.0
22651 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22652 echo "$as_me:$LINENO: checking for pangox" >&5
22653echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22654
22655 if $PKG_CONFIG --exists "pangox" ; then
22656 echo "$as_me:$LINENO: result: yes" >&5
22657echo "${ECHO_T}yes" >&6
22658 succeeded=yes
22659
22660 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22661echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22662 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22663 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22664echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22665
22666 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22667echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22668 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22669 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22670echo "${ECHO_T}$PANGOX_LIBS" >&6
22671 else
22672 PANGOX_CFLAGS=""
22673 PANGOX_LIBS=""
22674 ## If we have a custom action on failure, don't print errors, but
22675 ## do set a variable so people can do so.
22676 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22677
22678 fi
22679
22680
22681
22682 else
22683 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22684 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22685 fi
22686 fi
22687
22688 if test $succeeded = yes; then
22689
22690 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22692
22693 else
22694
22695 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22696echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22697 { (exit 1); exit 1; }; }
22698
22699
22700 fi
22701
22702
22703 succeeded=no
22704
22705 if test -z "$PKG_CONFIG"; then
22706 # Extract the first word of "pkg-config", so it can be a program name with args.
22707set dummy pkg-config; ac_word=$2
22708echo "$as_me:$LINENO: checking for $ac_word" >&5
22709echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22710if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22711 echo $ECHO_N "(cached) $ECHO_C" >&6
22712else
22713 case $PKG_CONFIG in
22714 [\\/]* | ?:[\\/]*)
22715 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22716 ;;
22717 *)
22718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22719for as_dir in $PATH
22720do
22721 IFS=$as_save_IFS
22722 test -z "$as_dir" && as_dir=.
22723 for ac_exec_ext in '' $ac_executable_extensions; do
22724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22725 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22727 break 2
22728 fi
22729done
22730done
22731
22732 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22733 ;;
22734esac
22735fi
22736PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22737
22738if test -n "$PKG_CONFIG"; then
22739 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22740echo "${ECHO_T}$PKG_CONFIG" >&6
22741else
22742 echo "$as_me:$LINENO: result: no" >&5
22743echo "${ECHO_T}no" >&6
22744fi
22745
22746 fi
22747
22748 if test "$PKG_CONFIG" = "no" ; then
22749 echo "*** The pkg-config script could not be found. Make sure it is"
22750 echo "*** in your path, or set the PKG_CONFIG environment variable"
22751 echo "*** to the full path to pkg-config."
22752 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22753 else
22754 PKG_CONFIG_MIN_VERSION=0.9.0
22755 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22756 echo "$as_me:$LINENO: checking for pangoft2" >&5
22757echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22758
22759 if $PKG_CONFIG --exists "pangoft2" ; then
22760 echo "$as_me:$LINENO: result: yes" >&5
22761echo "${ECHO_T}yes" >&6
22762 succeeded=yes
22763
22764 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22765echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22766 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22767 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22768echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22769
22770 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22771echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22772 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22773 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22774echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22775 else
22776 PANGOFT2_CFLAGS=""
22777 PANGOFT2_LIBS=""
22778 ## If we have a custom action on failure, don't print errors, but
22779 ## do set a variable so people can do so.
22780 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22781
22782 fi
22783
22784
22785
22786 else
22787 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22788 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22789 fi
22790 fi
22791
22792 if test $succeeded = yes; then
22793
22794 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22795 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22796
22797 else
22798
22799 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22800echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22801 wxUSE_PRINTING_ARCHITECTURE="no"
22802
22803
22804 fi
22805
22806
22807 succeeded=no
22808
22809 if test -z "$PKG_CONFIG"; then
22810 # Extract the first word of "pkg-config", so it can be a program name with args.
22811set dummy pkg-config; ac_word=$2
22812echo "$as_me:$LINENO: checking for $ac_word" >&5
22813echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22814if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22815 echo $ECHO_N "(cached) $ECHO_C" >&6
22816else
22817 case $PKG_CONFIG in
22818 [\\/]* | ?:[\\/]*)
22819 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22820 ;;
22821 *)
22822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22823for as_dir in $PATH
22824do
22825 IFS=$as_save_IFS
22826 test -z "$as_dir" && as_dir=.
22827 for ac_exec_ext in '' $ac_executable_extensions; do
22828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22829 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22831 break 2
22832 fi
22833done
22834done
22835
22836 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22837 ;;
22838esac
22839fi
22840PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22841
22842if test -n "$PKG_CONFIG"; then
22843 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22844echo "${ECHO_T}$PKG_CONFIG" >&6
22845else
22846 echo "$as_me:$LINENO: result: no" >&5
22847echo "${ECHO_T}no" >&6
22848fi
22849
22850 fi
22851
22852 if test "$PKG_CONFIG" = "no" ; then
22853 echo "*** The pkg-config script could not be found. Make sure it is"
22854 echo "*** in your path, or set the PKG_CONFIG environment variable"
22855 echo "*** to the full path to pkg-config."
22856 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22857 else
22858 PKG_CONFIG_MIN_VERSION=0.9.0
22859 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22860 echo "$as_me:$LINENO: checking for pangoxft" >&5
22861echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22862
22863 if $PKG_CONFIG --exists "pangoxft" ; then
22864 echo "$as_me:$LINENO: result: yes" >&5
22865echo "${ECHO_T}yes" >&6
22866 succeeded=yes
22867
22868 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22869echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22870 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22871 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22872echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22873
22874 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22875echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22876 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22877 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22878echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22879 else
22880 PANGOXFT_CFLAGS=""
22881 PANGOXFT_LIBS=""
22882 ## If we have a custom action on failure, don't print errors, but
22883 ## do set a variable so people can do so.
22884 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22885
22886 fi
22887
22888
22889
22890 else
22891 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22892 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22893 fi
22894 fi
22895
22896 if test $succeeded = yes; then
22897
22898 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22899 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22900
22901 else
22902
22903 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22904echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22905
22906
22907 fi
22908
22909 fi
22910
22911 wxUSE_UNIVERSAL="yes"
22912
22913 if test "$wxUSE_NANOX" = "yes"; then
22914 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22915 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"
22916 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22917 else
22918 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22919 fi
22920
22921 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22922 TOOLKIT=X11
22923 GUIDIST=X11_DIST
22924 fi
22925
22926 if test "$wxUSE_MOTIF" = 1; then
22927 if test "$no_x" = yes; then
22928 # Not all programs may use this symbol, but it does not hurt to define it.
22929
22930cat >>confdefs.h <<\_ACEOF
22931#define X_DISPLAY_MISSING 1
22932_ACEOF
22933
22934 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22935else
22936 if test -n "$x_includes"; then
22937 X_CFLAGS="$X_CFLAGS -I$x_includes"
22938 fi
22939
22940 # It would also be nice to do this for all -L options, not just this one.
22941 if test -n "$x_libraries"; then
22942 X_LIBS="$X_LIBS -L$x_libraries"
22943 # For Solaris; some versions of Sun CC require a space after -R and
22944 # others require no space. Words are not sufficient . . . .
22945 case `(uname -sr) 2>/dev/null` in
22946 "SunOS 5"*)
22947 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22948echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22949 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22950 cat >conftest.$ac_ext <<_ACEOF
22951#line $LINENO "configure"
22952/* confdefs.h. */
22953_ACEOF
22954cat confdefs.h >>conftest.$ac_ext
22955cat >>conftest.$ac_ext <<_ACEOF
22956/* end confdefs.h. */
22957
22958int
22959main ()
22960{
22961
22962 ;
22963 return 0;
22964}
22965_ACEOF
22966rm -f conftest.$ac_objext conftest$ac_exeext
22967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22968 (eval $ac_link) 2>&5
22969 ac_status=$?
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); } &&
22972 { ac_try='test -s conftest$ac_exeext'
22973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22974 (eval $ac_try) 2>&5
22975 ac_status=$?
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); }; }; then
22978 ac_R_nospace=yes
22979else
22980 echo "$as_me: failed program was:" >&5
22981sed 's/^/| /' conftest.$ac_ext >&5
22982
22983ac_R_nospace=no
22984fi
22985rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22986 if test $ac_R_nospace = yes; then
22987 echo "$as_me:$LINENO: result: no" >&5
22988echo "${ECHO_T}no" >&6
22989 X_LIBS="$X_LIBS -R$x_libraries"
22990 else
22991 LIBS="$ac_xsave_LIBS -R $x_libraries"
22992 cat >conftest.$ac_ext <<_ACEOF
22993#line $LINENO "configure"
22994/* confdefs.h. */
22995_ACEOF
22996cat confdefs.h >>conftest.$ac_ext
22997cat >>conftest.$ac_ext <<_ACEOF
22998/* end confdefs.h. */
22999
23000int
23001main ()
23002{
23003
23004 ;
23005 return 0;
23006}
23007_ACEOF
23008rm -f conftest.$ac_objext conftest$ac_exeext
23009if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23010 (eval $ac_link) 2>&5
23011 ac_status=$?
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } &&
23014 { ac_try='test -s conftest$ac_exeext'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; }; then
23020 ac_R_space=yes
23021else
23022 echo "$as_me: failed program was:" >&5
23023sed 's/^/| /' conftest.$ac_ext >&5
23024
23025ac_R_space=no
23026fi
23027rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23028 if test $ac_R_space = yes; then
23029 echo "$as_me:$LINENO: result: yes" >&5
23030echo "${ECHO_T}yes" >&6
23031 X_LIBS="$X_LIBS -R $x_libraries"
23032 else
23033 echo "$as_me:$LINENO: result: neither works" >&5
23034echo "${ECHO_T}neither works" >&6
23035 fi
23036 fi
23037 LIBS=$ac_xsave_LIBS
23038 esac
23039 fi
23040
23041 # Check for system-dependent libraries X programs must link with.
23042 # Do this before checking for the system-independent R6 libraries
23043 # (-lICE), since we may need -lsocket or whatever for X linking.
23044
23045 if test "$ISC" = yes; then
23046 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23047 else
23048 # Martyn Johnson says this is needed for Ultrix, if the X
23049 # libraries were built with DECnet support. And Karl Berry says
23050 # the Alpha needs dnet_stub (dnet does not exist).
23051 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23052 cat >conftest.$ac_ext <<_ACEOF
23053#line $LINENO "configure"
23054/* confdefs.h. */
23055_ACEOF
23056cat confdefs.h >>conftest.$ac_ext
23057cat >>conftest.$ac_ext <<_ACEOF
23058/* end confdefs.h. */
23059
23060/* Override any gcc2 internal prototype to avoid an error. */
23061#ifdef __cplusplus
23062extern "C"
23063#endif
23064/* We use char because int might match the return type of a gcc2
23065 builtin and then its argument prototype would still apply. */
23066char XOpenDisplay ();
23067int
23068main ()
23069{
23070XOpenDisplay ();
23071 ;
23072 return 0;
23073}
23074_ACEOF
23075rm -f conftest.$ac_objext conftest$ac_exeext
23076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23077 (eval $ac_link) 2>&5
23078 ac_status=$?
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } &&
23081 { ac_try='test -s conftest$ac_exeext'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23084 ac_status=$?
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; }; then
23087 :
23088else
23089 echo "$as_me: failed program was:" >&5
23090sed 's/^/| /' conftest.$ac_ext >&5
23091
23092echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23093echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23094if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23096else
23097 ac_check_lib_save_LIBS=$LIBS
23098LIBS="-ldnet $LIBS"
23099cat >conftest.$ac_ext <<_ACEOF
23100#line $LINENO "configure"
23101/* confdefs.h. */
23102_ACEOF
23103cat confdefs.h >>conftest.$ac_ext
23104cat >>conftest.$ac_ext <<_ACEOF
23105/* end confdefs.h. */
23106
23107/* Override any gcc2 internal prototype to avoid an error. */
23108#ifdef __cplusplus
23109extern "C"
23110#endif
23111/* We use char because int might match the return type of a gcc2
23112 builtin and then its argument prototype would still apply. */
23113char dnet_ntoa ();
23114int
23115main ()
23116{
23117dnet_ntoa ();
23118 ;
23119 return 0;
23120}
23121_ACEOF
23122rm -f conftest.$ac_objext conftest$ac_exeext
23123if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23124 (eval $ac_link) 2>&5
23125 ac_status=$?
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); } &&
23128 { ac_try='test -s conftest$ac_exeext'
23129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23130 (eval $ac_try) 2>&5
23131 ac_status=$?
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); }; }; then
23134 ac_cv_lib_dnet_dnet_ntoa=yes
23135else
23136 echo "$as_me: failed program was:" >&5
23137sed 's/^/| /' conftest.$ac_ext >&5
23138
23139ac_cv_lib_dnet_dnet_ntoa=no
23140fi
23141rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23142LIBS=$ac_check_lib_save_LIBS
23143fi
23144echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23145echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23146if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23147 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23148fi
23149
23150 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23151 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23152echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23153if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23154 echo $ECHO_N "(cached) $ECHO_C" >&6
23155else
23156 ac_check_lib_save_LIBS=$LIBS
23157LIBS="-ldnet_stub $LIBS"
23158cat >conftest.$ac_ext <<_ACEOF
23159#line $LINENO "configure"
23160/* confdefs.h. */
23161_ACEOF
23162cat confdefs.h >>conftest.$ac_ext
23163cat >>conftest.$ac_ext <<_ACEOF
23164/* end confdefs.h. */
23165
23166/* Override any gcc2 internal prototype to avoid an error. */
23167#ifdef __cplusplus
23168extern "C"
23169#endif
23170/* We use char because int might match the return type of a gcc2
23171 builtin and then its argument prototype would still apply. */
23172char dnet_ntoa ();
23173int
23174main ()
23175{
23176dnet_ntoa ();
23177 ;
23178 return 0;
23179}
23180_ACEOF
23181rm -f conftest.$ac_objext conftest$ac_exeext
23182if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23183 (eval $ac_link) 2>&5
23184 ac_status=$?
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); } &&
23187 { ac_try='test -s conftest$ac_exeext'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23190 ac_status=$?
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; }; then
23193 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23194else
23195 echo "$as_me: failed program was:" >&5
23196sed 's/^/| /' conftest.$ac_ext >&5
23197
23198ac_cv_lib_dnet_stub_dnet_ntoa=no
23199fi
23200rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23201LIBS=$ac_check_lib_save_LIBS
23202fi
23203echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23204echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23205if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23206 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23207fi
23208
23209 fi
23210fi
23211rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23212 LIBS="$ac_xsave_LIBS"
23213
23214 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23215 # to get the SysV transport functions.
23216 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23217 # needs -lnsl.
23218 # The nsl library prevents programs from opening the X display
23219 # on Irix 5.2, according to T.E. Dickey.
23220 # The functions gethostbyname, getservbyname, and inet_addr are
23221 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23222 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23223echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23224if test "${ac_cv_func_gethostbyname+set}" = set; then
23225 echo $ECHO_N "(cached) $ECHO_C" >&6
23226else
23227 cat >conftest.$ac_ext <<_ACEOF
23228#line $LINENO "configure"
23229/* confdefs.h. */
23230_ACEOF
23231cat confdefs.h >>conftest.$ac_ext
23232cat >>conftest.$ac_ext <<_ACEOF
23233/* end confdefs.h. */
23234/* System header to define __stub macros and hopefully few prototypes,
23235 which can conflict with char gethostbyname (); below.
23236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23237 <limits.h> exists even on freestanding compilers. */
23238#ifdef __STDC__
23239# include <limits.h>
23240#else
23241# include <assert.h>
23242#endif
23243/* Override any gcc2 internal prototype to avoid an error. */
23244#ifdef __cplusplus
23245extern "C"
23246{
23247#endif
23248/* We use char because int might match the return type of a gcc2
23249 builtin and then its argument prototype would still apply. */
23250char gethostbyname ();
23251/* The GNU C library defines this for functions which it implements
23252 to always fail with ENOSYS. Some functions are actually named
23253 something starting with __ and the normal name is an alias. */
23254#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23255choke me
23256#else
23257char (*f) () = gethostbyname;
23258#endif
23259#ifdef __cplusplus
23260}
23261#endif
23262
23263int
23264main ()
23265{
23266return f != gethostbyname;
23267 ;
23268 return 0;
23269}
23270_ACEOF
23271rm -f conftest.$ac_objext conftest$ac_exeext
23272if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23273 (eval $ac_link) 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } &&
23277 { ac_try='test -s conftest$ac_exeext'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; }; then
23283 ac_cv_func_gethostbyname=yes
23284else
23285 echo "$as_me: failed program was:" >&5
23286sed 's/^/| /' conftest.$ac_ext >&5
23287
23288ac_cv_func_gethostbyname=no
23289fi
23290rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23291fi
23292echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23293echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23294
23295 if test $ac_cv_func_gethostbyname = no; then
23296 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23297echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23298if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23299 echo $ECHO_N "(cached) $ECHO_C" >&6
23300else
23301 ac_check_lib_save_LIBS=$LIBS
23302LIBS="-lnsl $LIBS"
23303cat >conftest.$ac_ext <<_ACEOF
23304#line $LINENO "configure"
23305/* confdefs.h. */
23306_ACEOF
23307cat confdefs.h >>conftest.$ac_ext
23308cat >>conftest.$ac_ext <<_ACEOF
23309/* end confdefs.h. */
23310
23311/* Override any gcc2 internal prototype to avoid an error. */
23312#ifdef __cplusplus
23313extern "C"
23314#endif
23315/* We use char because int might match the return type of a gcc2
23316 builtin and then its argument prototype would still apply. */
23317char gethostbyname ();
23318int
23319main ()
23320{
23321gethostbyname ();
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_lib_nsl_gethostbyname=yes
23339else
23340 echo "$as_me: failed program was:" >&5
23341sed 's/^/| /' conftest.$ac_ext >&5
23342
23343ac_cv_lib_nsl_gethostbyname=no
23344fi
23345rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23346LIBS=$ac_check_lib_save_LIBS
23347fi
23348echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23349echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23350if test $ac_cv_lib_nsl_gethostbyname = yes; then
23351 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23352fi
23353
23354 if test $ac_cv_lib_nsl_gethostbyname = no; then
23355 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23356echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23357if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23358 echo $ECHO_N "(cached) $ECHO_C" >&6
23359else
23360 ac_check_lib_save_LIBS=$LIBS
23361LIBS="-lbsd $LIBS"
23362cat >conftest.$ac_ext <<_ACEOF
23363#line $LINENO "configure"
23364/* confdefs.h. */
23365_ACEOF
23366cat confdefs.h >>conftest.$ac_ext
23367cat >>conftest.$ac_ext <<_ACEOF
23368/* end confdefs.h. */
23369
23370/* Override any gcc2 internal prototype to avoid an error. */
23371#ifdef __cplusplus
23372extern "C"
23373#endif
23374/* We use char because int might match the return type of a gcc2
23375 builtin and then its argument prototype would still apply. */
23376char gethostbyname ();
23377int
23378main ()
23379{
23380gethostbyname ();
23381 ;
23382 return 0;
23383}
23384_ACEOF
23385rm -f conftest.$ac_objext conftest$ac_exeext
23386if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23387 (eval $ac_link) 2>&5
23388 ac_status=$?
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } &&
23391 { ac_try='test -s conftest$ac_exeext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_cv_lib_bsd_gethostbyname=yes
23398else
23399 echo "$as_me: failed program was:" >&5
23400sed 's/^/| /' conftest.$ac_ext >&5
23401
23402ac_cv_lib_bsd_gethostbyname=no
23403fi
23404rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23405LIBS=$ac_check_lib_save_LIBS
23406fi
23407echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23408echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23409if test $ac_cv_lib_bsd_gethostbyname = yes; then
23410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23411fi
23412
23413 fi
23414 fi
23415
23416 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23417 # socket/setsockopt and other routines are undefined under SCO ODT
23418 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23419 # on later versions), says Simon Leinen: it contains gethostby*
23420 # variants that don't use the name server (or something). -lsocket
23421 # must be given before -lnsl if both are needed. We assume that
23422 # if connect needs -lnsl, so does gethostbyname.
23423 echo "$as_me:$LINENO: checking for connect" >&5
23424echo $ECHO_N "checking for connect... $ECHO_C" >&6
23425if test "${ac_cv_func_connect+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23427else
23428 cat >conftest.$ac_ext <<_ACEOF
23429#line $LINENO "configure"
23430/* confdefs.h. */
23431_ACEOF
23432cat confdefs.h >>conftest.$ac_ext
23433cat >>conftest.$ac_ext <<_ACEOF
23434/* end confdefs.h. */
23435/* System header to define __stub macros and hopefully few prototypes,
23436 which can conflict with char connect (); below.
23437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23438 <limits.h> exists even on freestanding compilers. */
23439#ifdef __STDC__
23440# include <limits.h>
23441#else
23442# include <assert.h>
23443#endif
23444/* Override any gcc2 internal prototype to avoid an error. */
23445#ifdef __cplusplus
23446extern "C"
23447{
23448#endif
23449/* We use char because int might match the return type of a gcc2
23450 builtin and then its argument prototype would still apply. */
23451char connect ();
23452/* The GNU C library defines this for functions which it implements
23453 to always fail with ENOSYS. Some functions are actually named
23454 something starting with __ and the normal name is an alias. */
23455#if defined (__stub_connect) || defined (__stub___connect)
23456choke me
23457#else
23458char (*f) () = connect;
23459#endif
23460#ifdef __cplusplus
23461}
23462#endif
23463
23464int
23465main ()
23466{
23467return f != connect;
23468 ;
23469 return 0;
23470}
23471_ACEOF
23472rm -f conftest.$ac_objext conftest$ac_exeext
23473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23474 (eval $ac_link) 2>&5
23475 ac_status=$?
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); } &&
23478 { ac_try='test -s conftest$ac_exeext'
23479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23480 (eval $ac_try) 2>&5
23481 ac_status=$?
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; }; then
23484 ac_cv_func_connect=yes
23485else
23486 echo "$as_me: failed program was:" >&5
23487sed 's/^/| /' conftest.$ac_ext >&5
23488
23489ac_cv_func_connect=no
23490fi
23491rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23492fi
23493echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23494echo "${ECHO_T}$ac_cv_func_connect" >&6
23495
23496 if test $ac_cv_func_connect = no; then
23497 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23498echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23499if test "${ac_cv_lib_socket_connect+set}" = set; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23501else
23502 ac_check_lib_save_LIBS=$LIBS
23503LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23504cat >conftest.$ac_ext <<_ACEOF
23505#line $LINENO "configure"
23506/* confdefs.h. */
23507_ACEOF
23508cat confdefs.h >>conftest.$ac_ext
23509cat >>conftest.$ac_ext <<_ACEOF
23510/* end confdefs.h. */
23511
23512/* Override any gcc2 internal prototype to avoid an error. */
23513#ifdef __cplusplus
23514extern "C"
23515#endif
23516/* We use char because int might match the return type of a gcc2
23517 builtin and then its argument prototype would still apply. */
23518char connect ();
23519int
23520main ()
23521{
23522connect ();
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_lib_socket_connect=yes
23540else
23541 echo "$as_me: failed program was:" >&5
23542sed 's/^/| /' conftest.$ac_ext >&5
23543
23544ac_cv_lib_socket_connect=no
23545fi
23546rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23547LIBS=$ac_check_lib_save_LIBS
23548fi
23549echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23550echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23551if test $ac_cv_lib_socket_connect = yes; then
23552 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23553fi
23554
23555 fi
23556
23557 # Guillermo Gomez says -lposix is necessary on A/UX.
23558 echo "$as_me:$LINENO: checking for remove" >&5
23559echo $ECHO_N "checking for remove... $ECHO_C" >&6
23560if test "${ac_cv_func_remove+set}" = set; then
23561 echo $ECHO_N "(cached) $ECHO_C" >&6
23562else
23563 cat >conftest.$ac_ext <<_ACEOF
23564#line $LINENO "configure"
23565/* confdefs.h. */
23566_ACEOF
23567cat confdefs.h >>conftest.$ac_ext
23568cat >>conftest.$ac_ext <<_ACEOF
23569/* end confdefs.h. */
23570/* System header to define __stub macros and hopefully few prototypes,
23571 which can conflict with char remove (); below.
23572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23573 <limits.h> exists even on freestanding compilers. */
23574#ifdef __STDC__
23575# include <limits.h>
23576#else
23577# include <assert.h>
23578#endif
23579/* Override any gcc2 internal prototype to avoid an error. */
23580#ifdef __cplusplus
23581extern "C"
23582{
23583#endif
23584/* We use char because int might match the return type of a gcc2
23585 builtin and then its argument prototype would still apply. */
23586char remove ();
23587/* The GNU C library defines this for functions which it implements
23588 to always fail with ENOSYS. Some functions are actually named
23589 something starting with __ and the normal name is an alias. */
23590#if defined (__stub_remove) || defined (__stub___remove)
23591choke me
23592#else
23593char (*f) () = remove;
23594#endif
23595#ifdef __cplusplus
23596}
23597#endif
23598
23599int
23600main ()
23601{
23602return f != remove;
23603 ;
23604 return 0;
23605}
23606_ACEOF
23607rm -f conftest.$ac_objext conftest$ac_exeext
23608if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23609 (eval $ac_link) 2>&5
23610 ac_status=$?
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); } &&
23613 { ac_try='test -s conftest$ac_exeext'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23616 ac_status=$?
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; }; then
23619 ac_cv_func_remove=yes
23620else
23621 echo "$as_me: failed program was:" >&5
23622sed 's/^/| /' conftest.$ac_ext >&5
23623
23624ac_cv_func_remove=no
23625fi
23626rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23627fi
23628echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23629echo "${ECHO_T}$ac_cv_func_remove" >&6
23630
23631 if test $ac_cv_func_remove = no; then
23632 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23633echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23634if test "${ac_cv_lib_posix_remove+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636else
23637 ac_check_lib_save_LIBS=$LIBS
23638LIBS="-lposix $LIBS"
23639cat >conftest.$ac_ext <<_ACEOF
23640#line $LINENO "configure"
23641/* confdefs.h. */
23642_ACEOF
23643cat confdefs.h >>conftest.$ac_ext
23644cat >>conftest.$ac_ext <<_ACEOF
23645/* end confdefs.h. */
23646
23647/* Override any gcc2 internal prototype to avoid an error. */
23648#ifdef __cplusplus
23649extern "C"
23650#endif
23651/* We use char because int might match the return type of a gcc2
23652 builtin and then its argument prototype would still apply. */
23653char remove ();
23654int
23655main ()
23656{
23657remove ();
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_lib_posix_remove=yes
23675else
23676 echo "$as_me: failed program was:" >&5
23677sed 's/^/| /' conftest.$ac_ext >&5
23678
23679ac_cv_lib_posix_remove=no
23680fi
23681rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23682LIBS=$ac_check_lib_save_LIBS
23683fi
23684echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23685echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23686if test $ac_cv_lib_posix_remove = yes; then
23687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23688fi
23689
23690 fi
23691
23692 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23693 echo "$as_me:$LINENO: checking for shmat" >&5
23694echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23695if test "${ac_cv_func_shmat+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23697else
23698 cat >conftest.$ac_ext <<_ACEOF
23699#line $LINENO "configure"
23700/* confdefs.h. */
23701_ACEOF
23702cat confdefs.h >>conftest.$ac_ext
23703cat >>conftest.$ac_ext <<_ACEOF
23704/* end confdefs.h. */
23705/* System header to define __stub macros and hopefully few prototypes,
23706 which can conflict with char shmat (); below.
23707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23708 <limits.h> exists even on freestanding compilers. */
23709#ifdef __STDC__
23710# include <limits.h>
23711#else
23712# include <assert.h>
23713#endif
23714/* Override any gcc2 internal prototype to avoid an error. */
23715#ifdef __cplusplus
23716extern "C"
23717{
23718#endif
23719/* We use char because int might match the return type of a gcc2
23720 builtin and then its argument prototype would still apply. */
23721char shmat ();
23722/* The GNU C library defines this for functions which it implements
23723 to always fail with ENOSYS. Some functions are actually named
23724 something starting with __ and the normal name is an alias. */
23725#if defined (__stub_shmat) || defined (__stub___shmat)
23726choke me
23727#else
23728char (*f) () = shmat;
23729#endif
23730#ifdef __cplusplus
23731}
23732#endif
23733
23734int
23735main ()
23736{
23737return f != shmat;
23738 ;
23739 return 0;
23740}
23741_ACEOF
23742rm -f conftest.$ac_objext conftest$ac_exeext
23743if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23744 (eval $ac_link) 2>&5
23745 ac_status=$?
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); } &&
23748 { ac_try='test -s conftest$ac_exeext'
23749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750 (eval $ac_try) 2>&5
23751 ac_status=$?
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); }; }; then
23754 ac_cv_func_shmat=yes
23755else
23756 echo "$as_me: failed program was:" >&5
23757sed 's/^/| /' conftest.$ac_ext >&5
23758
23759ac_cv_func_shmat=no
23760fi
23761rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23762fi
23763echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23764echo "${ECHO_T}$ac_cv_func_shmat" >&6
23765
23766 if test $ac_cv_func_shmat = no; then
23767 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23768echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23769if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23770 echo $ECHO_N "(cached) $ECHO_C" >&6
23771else
23772 ac_check_lib_save_LIBS=$LIBS
23773LIBS="-lipc $LIBS"
23774cat >conftest.$ac_ext <<_ACEOF
23775#line $LINENO "configure"
23776/* confdefs.h. */
23777_ACEOF
23778cat confdefs.h >>conftest.$ac_ext
23779cat >>conftest.$ac_ext <<_ACEOF
23780/* end confdefs.h. */
23781
23782/* Override any gcc2 internal prototype to avoid an error. */
23783#ifdef __cplusplus
23784extern "C"
23785#endif
23786/* We use char because int might match the return type of a gcc2
23787 builtin and then its argument prototype would still apply. */
23788char shmat ();
23789int
23790main ()
23791{
23792shmat ();
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_lib_ipc_shmat=yes
23810else
23811 echo "$as_me: failed program was:" >&5
23812sed 's/^/| /' conftest.$ac_ext >&5
23813
23814ac_cv_lib_ipc_shmat=no
23815fi
23816rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23817LIBS=$ac_check_lib_save_LIBS
23818fi
23819echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23820echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23821if test $ac_cv_lib_ipc_shmat = yes; then
23822 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23823fi
23824
23825 fi
23826 fi
23827
23828 # Check for libraries that X11R6 Xt/Xaw programs need.
23829 ac_save_LDFLAGS=$LDFLAGS
23830 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23831 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23832 # check for ICE first), but we must link in the order -lSM -lICE or
23833 # we get undefined symbols. So assume we have SM if we have ICE.
23834 # These have to be linked with before -lX11, unlike the other
23835 # libraries we check for below, so use a different variable.
23836 # John Interrante, Karl Berry
23837 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23838echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23839if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23841else
23842 ac_check_lib_save_LIBS=$LIBS
23843LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23844cat >conftest.$ac_ext <<_ACEOF
23845#line $LINENO "configure"
23846/* confdefs.h. */
23847_ACEOF
23848cat confdefs.h >>conftest.$ac_ext
23849cat >>conftest.$ac_ext <<_ACEOF
23850/* end confdefs.h. */
23851
23852/* Override any gcc2 internal prototype to avoid an error. */
23853#ifdef __cplusplus
23854extern "C"
23855#endif
23856/* We use char because int might match the return type of a gcc2
23857 builtin and then its argument prototype would still apply. */
23858char IceConnectionNumber ();
23859int
23860main ()
23861{
23862IceConnectionNumber ();
23863 ;
23864 return 0;
23865}
23866_ACEOF
23867rm -f conftest.$ac_objext conftest$ac_exeext
23868if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23869 (eval $ac_link) 2>&5
23870 ac_status=$?
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try='test -s conftest$ac_exeext'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23876 ac_status=$?
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; }; then
23879 ac_cv_lib_ICE_IceConnectionNumber=yes
23880else
23881 echo "$as_me: failed program was:" >&5
23882sed 's/^/| /' conftest.$ac_ext >&5
23883
23884ac_cv_lib_ICE_IceConnectionNumber=no
23885fi
23886rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23887LIBS=$ac_check_lib_save_LIBS
23888fi
23889echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23890echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23891if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23892 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23893fi
23894
23895 LDFLAGS=$ac_save_LDFLAGS
23896
23897fi
23898
23899
23900 if test "$no_x" = "yes"; then
23901 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23902echo "$as_me: error: X11 not found" >&2;}
23903 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23904 fi
23905
23906 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23907 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23908 AFMINSTALL=afminstall
23909 COMPILED_X_PROGRAM=0
23910
23911 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23912echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23913
23914ac_find_includes=
23915for ac_dir in $SEARCH_INCLUDE /usr/include;
23916 do
23917 if test -f "$ac_dir/Xm/Xm.h"; then
23918 ac_find_includes=$ac_dir
23919 break
23920 fi
23921 done
23922
23923 if test "$ac_find_includes" != "" ; then
23924 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23925echo "${ECHO_T}found in $ac_find_includes" >&6
23926
23927 if test "x$ac_find_includes" = "x/usr/include"; then
23928 ac_path_to_include=""
23929 else
23930 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23931 result=$?
23932 if test $result = 0; then
23933 ac_path_to_include=""
23934 else
23935 ac_path_to_include=" -I$ac_find_includes"
23936 fi
23937 fi
23938
23939 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23940 else
23941 cat >conftest.$ac_ext <<_ACEOF
23942#line $LINENO "configure"
23943/* confdefs.h. */
23944_ACEOF
23945cat confdefs.h >>conftest.$ac_ext
23946cat >>conftest.$ac_ext <<_ACEOF
23947/* end confdefs.h. */
23948
23949 #include <Xm/Xm.h>
23950
23951int
23952main ()
23953{
23954
23955 int version;
23956 version = xmUseVersion;
23957
23958 ;
23959 return 0;
23960}
23961_ACEOF
23962rm -f conftest.$ac_objext
23963if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23964 (eval $ac_compile) 2>&5
23965 ac_status=$?
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } &&
23968 { ac_try='test -s conftest.$ac_objext'
23969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23970 (eval $ac_try) 2>&5
23971 ac_status=$?
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); }; }; then
23974
23975 echo "$as_me:$LINENO: result: found in default search path" >&5
23976echo "${ECHO_T}found in default search path" >&6
23977 COMPILED_X_PROGRAM=1
23978
23979else
23980 echo "$as_me: failed program was:" >&5
23981sed 's/^/| /' conftest.$ac_ext >&5
23982
23983
23984 echo "$as_me:$LINENO: result: no" >&5
23985echo "${ECHO_T}no" >&6
23986 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23987echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23988 { (exit 1); exit 1; }; }
23989
23990
23991fi
23992rm -f conftest.$ac_objext conftest.$ac_ext
23993 fi
23994
23995 if test "$COMPILED_X_PROGRAM" = 0; then
23996 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23997echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23998
23999ac_find_libraries=
24000for ac_dir in $SEARCH_LIB /usr/lib;
24001 do
24002 for ac_extension in a so sl dylib; do
24003 if test -f "$ac_dir/libXm.$ac_extension"; then
24004 ac_find_libraries=$ac_dir
24005 break 2
24006 fi
24007 done
24008 done
24009
24010 if test "$ac_find_libraries" != "" ; then
24011 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24012echo "${ECHO_T}found at $ac_find_libraries" >&6
24013
24014
24015 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24016 result=$?
24017 if test $result = 0; then
24018 ac_path_to_link=""
24019 else
24020 ac_path_to_link=" -L$ac_find_libraries"
24021 fi
24022
24023 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24024 else
24025 save_CFLAGS=$CFLAGS
24026 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24027
24028 cat >conftest.$ac_ext <<_ACEOF
24029#line $LINENO "configure"
24030/* confdefs.h. */
24031_ACEOF
24032cat confdefs.h >>conftest.$ac_ext
24033cat >>conftest.$ac_ext <<_ACEOF
24034/* end confdefs.h. */
24035
24036 #include <Xm/Xm.h>
24037
24038int
24039main ()
24040{
24041
24042 int version;
24043 version = xmUseVersion;
24044
24045 ;
24046 return 0;
24047}
24048_ACEOF
24049rm -f conftest.$ac_objext
24050if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24051 (eval $ac_compile) 2>&5
24052 ac_status=$?
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } &&
24055 { ac_try='test -s conftest.$ac_objext'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24058 ac_status=$?
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; }; then
24061
24062 echo "$as_me:$LINENO: result: found in default search path" >&5
24063echo "${ECHO_T}found in default search path" >&6
24064 COMPILED_X_PROGRAM=1
24065
24066else
24067 echo "$as_me: failed program was:" >&5
24068sed 's/^/| /' conftest.$ac_ext >&5
24069
24070
24071 echo "$as_me:$LINENO: result: no" >&5
24072echo "${ECHO_T}no" >&6
24073 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24074echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24075 { (exit 1); exit 1; }; }
24076
24077
24078fi
24079rm -f conftest.$ac_objext conftest.$ac_ext
24080
24081 CFLAGS=$save_CFLAGS
24082 fi
24083 fi
24084
24085 xpm_link=
24086 echo "$as_me:$LINENO: checking for Xpm library" >&5
24087echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24088
24089ac_find_libraries=
24090for ac_dir in $SEARCH_LIB /usr/lib;
24091 do
24092 for ac_extension in a so sl dylib; do
24093 if test -f "$ac_dir/libXpm.$ac_extension"; then
24094 ac_find_libraries=$ac_dir
24095 break 2
24096 fi
24097 done
24098 done
24099
24100 if test "$ac_find_libraries" != "" ; then
24101
24102 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24103 result=$?
24104 if test $result = 0; then
24105 ac_path_to_link=""
24106 else
24107 ac_path_to_link=" -L$ac_find_libraries"
24108 fi
24109
24110 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24111
24112 xpm_link=" -lXpm"
24113 cat >>confdefs.h <<\_ACEOF
24114#define wxHAVE_LIB_XPM 1
24115_ACEOF
24116
24117 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24118echo "${ECHO_T}found at $ac_find_libraries" >&6
24119 else
24120 save_CFLAGS=$CFLAGS
24121 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24122
24123 cat >conftest.$ac_ext <<_ACEOF
24124#line $LINENO "configure"
24125/* confdefs.h. */
24126_ACEOF
24127cat confdefs.h >>conftest.$ac_ext
24128cat >>conftest.$ac_ext <<_ACEOF
24129/* end confdefs.h. */
24130
24131 #include <X11/xpm.h>
24132
24133int
24134main ()
24135{
24136
24137 int version;
24138 version = XpmLibraryVersion();
24139
24140 ;
24141 return 0;
24142}
24143_ACEOF
24144rm -f conftest.$ac_objext
24145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24146 (eval $ac_compile) 2>&5
24147 ac_status=$?
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } &&
24150 { ac_try='test -s conftest.$ac_objext'
24151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 (eval $ac_try) 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; }; then
24156
24157 xpm_link=" -lXpm"
24158 cat >>confdefs.h <<\_ACEOF
24159#define wxHAVE_LIB_XPM 1
24160_ACEOF
24161
24162 echo "$as_me:$LINENO: result: found in default search path" >&5
24163echo "${ECHO_T}found in default search path" >&6
24164 COMPILED_X_PROGRAM=0
24165
24166else
24167 echo "$as_me: failed program was:" >&5
24168sed 's/^/| /' conftest.$ac_ext >&5
24169
24170
24171 echo "$as_me:$LINENO: result: no" >&5
24172echo "${ECHO_T}no" >&6
24173 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24174echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24175
24176
24177fi
24178rm -f conftest.$ac_objext conftest.$ac_ext
24179
24180 CFLAGS=$save_CFLAGS
24181 fi
24182
24183 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24184echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24185 libp_link=""
24186 libsm_ice_link=""
24187 libs_found=0
24188 for libp in "" " -lXp"; do
24189 if test "$libs_found" = "0"; then
24190 for libsm_ice in " -lSM -lICE"; do
24191 if test "$libs_found" = "0"; then
24192 save_LIBS="$LIBS"
24193 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24194 save_CFLAGS=$CFLAGS
24195 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24196
24197 cat >conftest.$ac_ext <<_ACEOF
24198#line $LINENO "configure"
24199/* confdefs.h. */
24200_ACEOF
24201cat confdefs.h >>conftest.$ac_ext
24202cat >>conftest.$ac_ext <<_ACEOF
24203/* end confdefs.h. */
24204
24205 #include <Xm/Xm.h>
24206 #include <Xm/List.h>
24207
24208int
24209main ()
24210{
24211
24212 XmString string = NULL;
24213 Widget w = NULL;
24214 int position = 0;
24215 XmListAddItem(w, string, position);
24216
24217 ;
24218 return 0;
24219}
24220_ACEOF
24221rm -f conftest.$ac_objext conftest$ac_exeext
24222if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24223 (eval $ac_link) 2>&5
24224 ac_status=$?
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } &&
24227 { ac_try='test -s conftest$ac_exeext'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24230 ac_status=$?
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; }; then
24233
24234 libp_link="$libp"
24235 libsm_ice_link="$libsm_ice"
24236 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24237echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24238 libs_found=1
24239
24240else
24241 echo "$as_me: failed program was:" >&5
24242sed 's/^/| /' conftest.$ac_ext >&5
24243
24244
24245
24246fi
24247rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24248
24249 LIBS="$save_LIBS"
24250 CFLAGS=$save_CFLAGS
24251 fi
24252 done
24253 fi
24254 done
24255
24256 if test "$libs_found" = "0"; then
24257 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24258echo "${ECHO_T}can't find the right libraries" >&6
24259 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24260echo "$as_me: error: can't link a simple motif program" >&2;}
24261 { (exit 1); exit 1; }; }
24262 fi
24263
24264 save_CFLAGS=$CFLAGS
24265 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24266 echo "$as_me:$LINENO: checking for Motif 2" >&5
24267echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24268 cat >conftest.$ac_ext <<_ACEOF
24269#line $LINENO "configure"
24270/* confdefs.h. */
24271_ACEOF
24272cat confdefs.h >>conftest.$ac_ext
24273cat >>conftest.$ac_ext <<_ACEOF
24274/* end confdefs.h. */
24275
24276 #include <Xm/Xm.h>
24277
24278int
24279main ()
24280{
24281
24282 #if XmVersion < 2000
24283 #error "Not Motif 2"
24284 #endif
24285
24286 ;
24287 return 0;
24288}
24289_ACEOF
24290rm -f conftest.$ac_objext
24291if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24292 (eval $ac_compile) 2>&5
24293 ac_status=$?
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); } &&
24296 { ac_try='test -s conftest.$ac_objext'
24297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24298 (eval $ac_try) 2>&5
24299 ac_status=$?
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); }; }; then
24302
24303 cat >>confdefs.h <<\_ACEOF
24304#define __WXMOTIF20__ 1
24305_ACEOF
24306
24307 echo "$as_me:$LINENO: result: found" >&5
24308echo "${ECHO_T}found" >&6
24309
24310else
24311 echo "$as_me: failed program was:" >&5
24312sed 's/^/| /' conftest.$ac_ext >&5
24313
24314
24315 cat >>confdefs.h <<\_ACEOF
24316#define __WXMOTIF20__ 0
24317_ACEOF
24318
24319 echo "$as_me:$LINENO: result: not found" >&5
24320echo "${ECHO_T}not found" >&6
24321
24322fi
24323rm -f conftest.$ac_objext conftest.$ac_ext
24324 CFLAGS=$save_CFLAGS
24325
24326 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24327 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24328 TOOLKIT=MOTIF
24329 GUIDIST=MOTIF_DIST
24330 wxHAVE_XEXT_LIB=1
24331 fi
24332
24333 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24334 test "$wxHAVE_XEXT_LIB" = 1; then
24335 save_CFLAGS="$CFLAGS"
24336 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24337
24338 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24339echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24340 cat >conftest.$ac_ext <<_ACEOF
24341#line $LINENO "configure"
24342/* confdefs.h. */
24343_ACEOF
24344cat confdefs.h >>conftest.$ac_ext
24345cat >>conftest.$ac_ext <<_ACEOF
24346/* end confdefs.h. */
24347
24348 #include <X11/Xlib.h>
24349 #include <X11/extensions/shape.h>
24350
24351int
24352main ()
24353{
24354
24355 int dummy1, dummy2;
24356 XShapeQueryExtension((Display*)NULL,
24357 (int*)NULL, (int*)NULL);
24358
24359 ;
24360 return 0;
24361}
24362_ACEOF
24363rm -f conftest.$ac_objext
24364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24365 (eval $ac_compile) 2>&5
24366 ac_status=$?
24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368 (exit $ac_status); } &&
24369 { ac_try='test -s conftest.$ac_objext'
24370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24371 (eval $ac_try) 2>&5
24372 ac_status=$?
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); }; }; then
24375
24376 cat >>confdefs.h <<\_ACEOF
24377#define HAVE_XSHAPE 1
24378_ACEOF
24379
24380 echo "$as_me:$LINENO: result: found" >&5
24381echo "${ECHO_T}found" >&6
24382
24383else
24384 echo "$as_me: failed program was:" >&5
24385sed 's/^/| /' conftest.$ac_ext >&5
24386
24387
24388 echo "$as_me:$LINENO: result: not found" >&5
24389echo "${ECHO_T}not found" >&6
24390
24391fi
24392rm -f conftest.$ac_objext conftest.$ac_ext
24393 CFLAGS="$save_CFLAGS"
24394 fi
24395
24396 if test "$wxUSE_MAC" = 1; then
24397 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24398
24399 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24400 TOOLKIT=MAC
24401 GUIDIST=MACX_DIST
24402 fi
24403
24404 if test "$wxUSE_COCOA" = 1; then
24405 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24406 TOOLKIT=COCOA
24407 GUIDIST=COCOA_DIST
24408 fi
24409
24410 if test "$wxUSE_PM" = 1; then
24411 TOOLKIT=PM
24412 GUIDIST=GTK_DIST
24413 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24414echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24415 wxUSE_THREADS="no"
24416 fi
24417
24418 if test "$TOOLKIT" = "PM" ; then
24419 TOOLKIT_DIR="os2"
24420 else
24421 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24422 fi
24423
24424 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24425
24426 if test "$wxUSE_UNIVERSAL" = "yes"; then
24427 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24428
24429 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24430 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24431
24432 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24433 if test "$wxUSE_X11" = 1; then
24434 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24435 else
24436 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24437 fi
24438 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24439 WIDGET_SET=univ
24440 else
24441 ALL_OBJECTS="\$(GUIOBJS)"
24442 ALL_SOURCES="\$(ALL_SOURCES)"
24443 ALL_HEADERS="\$(ALL_HEADERS)"
24444 fi
24445
24446 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24447
24448 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24449 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24450 fi
24451
24452 if test "$wxUSE_HTML" = "yes"; then
24453 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24454 fi
24455
24456 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24457 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24458 fi
24459 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24460 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24461 fi
24462 if test "$wxUSE_LIBPNG" = "builtin" ; then
24463 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24464 fi
24465
24466 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24467 DISTDIR="wx\$(TOOLKIT)"
24468else
24469 USE_GUI=0
24470
24471 TOOLKIT_DIR="base"
24472
24473 if test "$USE_WIN32" = 1 ; then
24474 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24475 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24476
24477 TOOLKIT="MSW"
24478 else
24479 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24480 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24481 fi
24482
24483 ALL_SOURCES="\$(ALL_SOURCES)"
24484 ALL_HEADERS="\$(ALL_HEADERS)"
24485
24486 PORT_FILES="\${top_srcdir}/src/files.lst"
24487
24488 GUIDIST="BASE_DIST"
24489 DISTDIR="wxBase"
24490fi
24491
24492
24493
24494
24495IODBC_C_SRC=""
24496
24497
24498if test "$TOOLKIT" != "MSW" ; then
24499
24500 if test "$wxUSE_ODBC" != "no" ; then
24501 cat >>confdefs.h <<\_ACEOF
24502#define wxUSE_ODBC 1
24503_ACEOF
24504
24505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24506
24507 WXODBCFLAG="-D_IODBC_"
24508
24509
24510 if test "$wxUSE_ODBC" = "sys" ; then
24511
24512 if test "${ac_cv_header_sql_h+set}" = set; then
24513 echo "$as_me:$LINENO: checking for sql.h" >&5
24514echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24515if test "${ac_cv_header_sql_h+set}" = set; then
24516 echo $ECHO_N "(cached) $ECHO_C" >&6
24517fi
24518echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24519echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24520else
24521 # Is the header compilable?
24522echo "$as_me:$LINENO: checking sql.h usability" >&5
24523echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24524cat >conftest.$ac_ext <<_ACEOF
24525#line $LINENO "configure"
24526/* confdefs.h. */
24527_ACEOF
24528cat confdefs.h >>conftest.$ac_ext
24529cat >>conftest.$ac_ext <<_ACEOF
24530/* end confdefs.h. */
24531$ac_includes_default
24532#include <sql.h>
24533_ACEOF
24534rm -f conftest.$ac_objext
24535if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24536 (eval $ac_compile) 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } &&
24540 { ac_try='test -s conftest.$ac_objext'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24543 ac_status=$?
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; }; then
24546 ac_header_compiler=yes
24547else
24548 echo "$as_me: failed program was:" >&5
24549sed 's/^/| /' conftest.$ac_ext >&5
24550
24551ac_header_compiler=no
24552fi
24553rm -f conftest.$ac_objext conftest.$ac_ext
24554echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24555echo "${ECHO_T}$ac_header_compiler" >&6
24556
24557# Is the header present?
24558echo "$as_me:$LINENO: checking sql.h presence" >&5
24559echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24560cat >conftest.$ac_ext <<_ACEOF
24561#line $LINENO "configure"
24562/* confdefs.h. */
24563_ACEOF
24564cat confdefs.h >>conftest.$ac_ext
24565cat >>conftest.$ac_ext <<_ACEOF
24566/* end confdefs.h. */
24567#include <sql.h>
24568_ACEOF
24569if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24571 ac_status=$?
24572 grep -v '^ *+' conftest.er1 >conftest.err
24573 rm -f conftest.er1
24574 cat conftest.err >&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); } >/dev/null; then
24577 if test -s conftest.err; then
24578 ac_cpp_err=$ac_c_preproc_warn_flag
24579 else
24580 ac_cpp_err=
24581 fi
24582else
24583 ac_cpp_err=yes
24584fi
24585if test -z "$ac_cpp_err"; then
24586 ac_header_preproc=yes
24587else
24588 echo "$as_me: failed program was:" >&5
24589sed 's/^/| /' conftest.$ac_ext >&5
24590
24591 ac_header_preproc=no
24592fi
24593rm -f conftest.err conftest.$ac_ext
24594echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24595echo "${ECHO_T}$ac_header_preproc" >&6
24596
24597# So? What about this header?
24598case $ac_header_compiler:$ac_header_preproc in
24599 yes:no )
24600 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24601echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24602 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24603echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24604 (
24605 cat <<\_ASBOX
24606## ------------------------------------ ##
24607## Report this to bug-autoconf@gnu.org. ##
24608## ------------------------------------ ##
24609_ASBOX
24610 ) |
24611 sed "s/^/$as_me: WARNING: /" >&2
24612 ;;
24613 no:yes )
24614 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24615echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24616 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24617echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24618 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24619echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24620 (
24621 cat <<\_ASBOX
24622## ------------------------------------ ##
24623## Report this to bug-autoconf@gnu.org. ##
24624## ------------------------------------ ##
24625_ASBOX
24626 ) |
24627 sed "s/^/$as_me: WARNING: /" >&2
24628 ;;
24629esac
24630echo "$as_me:$LINENO: checking for sql.h" >&5
24631echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24632if test "${ac_cv_header_sql_h+set}" = set; then
24633 echo $ECHO_N "(cached) $ECHO_C" >&6
24634else
24635 ac_cv_header_sql_h=$ac_header_preproc
24636fi
24637echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24638echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24639
24640fi
24641
24642
24643 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24644echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24645if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24646 echo $ECHO_N "(cached) $ECHO_C" >&6
24647else
24648 ac_func_search_save_LIBS=$LIBS
24649ac_cv_search_SQLAllocEnv=no
24650cat >conftest.$ac_ext <<_ACEOF
24651#line $LINENO "configure"
24652/* confdefs.h. */
24653_ACEOF
24654cat confdefs.h >>conftest.$ac_ext
24655cat >>conftest.$ac_ext <<_ACEOF
24656/* end confdefs.h. */
24657
24658/* Override any gcc2 internal prototype to avoid an error. */
24659#ifdef __cplusplus
24660extern "C"
24661#endif
24662/* We use char because int might match the return type of a gcc2
24663 builtin and then its argument prototype would still apply. */
24664char SQLAllocEnv ();
24665int
24666main ()
24667{
24668SQLAllocEnv ();
24669 ;
24670 return 0;
24671}
24672_ACEOF
24673rm -f conftest.$ac_objext conftest$ac_exeext
24674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24675 (eval $ac_link) 2>&5
24676 ac_status=$?
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); } &&
24679 { ac_try='test -s conftest$ac_exeext'
24680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24681 (eval $ac_try) 2>&5
24682 ac_status=$?
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); }; }; then
24685 ac_cv_search_SQLAllocEnv="none required"
24686else
24687 echo "$as_me: failed program was:" >&5
24688sed 's/^/| /' conftest.$ac_ext >&5
24689
24690fi
24691rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24692if test "$ac_cv_search_SQLAllocEnv" = no; then
24693 for ac_lib in iodbc unixodbc odbc ; do
24694 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24695 cat >conftest.$ac_ext <<_ACEOF
24696#line $LINENO "configure"
24697/* confdefs.h. */
24698_ACEOF
24699cat confdefs.h >>conftest.$ac_ext
24700cat >>conftest.$ac_ext <<_ACEOF
24701/* end confdefs.h. */
24702
24703/* Override any gcc2 internal prototype to avoid an error. */
24704#ifdef __cplusplus
24705extern "C"
24706#endif
24707/* We use char because int might match the return type of a gcc2
24708 builtin and then its argument prototype would still apply. */
24709char SQLAllocEnv ();
24710int
24711main ()
24712{
24713SQLAllocEnv ();
24714 ;
24715 return 0;
24716}
24717_ACEOF
24718rm -f conftest.$ac_objext conftest$ac_exeext
24719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24720 (eval $ac_link) 2>&5
24721 ac_status=$?
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } &&
24724 { ac_try='test -s conftest$ac_exeext'
24725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726 (eval $ac_try) 2>&5
24727 ac_status=$?
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; }; then
24730 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24731break
24732else
24733 echo "$as_me: failed program was:" >&5
24734sed 's/^/| /' conftest.$ac_ext >&5
24735
24736fi
24737rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24738 done
24739fi
24740LIBS=$ac_func_search_save_LIBS
24741fi
24742echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24743echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24744if test "$ac_cv_search_SQLAllocEnv" != no; then
24745 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24746
24747else
24748
24749 wxUSE_ODBC=builtin;
24750 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24751echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24752
24753fi
24754
24755 fi
24756 if test "$wxUSE_ODBC" != "sys" ; then
24757 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24758 fi
24759
24760 fi
24761
24762fi
24763
24764if test "$wxUSE_REGEX" = "builtin" ; then
24765 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24766fi
24767if test "$wxUSE_ZLIB" = "builtin" ; then
24768 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24769fi
24770
24771
24772USE_OPENGL=0
24773if test "$wxUSE_OPENGL" = "yes"; then
24774 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24775 OPENGL_LIBS="-framework OpenGL -framework AGL"
24776 elif test "$wxUSE_MSW" = 1; then
24777 OPENGL_LIBS="-lopengl32 -lglu32"
24778 else
24779
24780
24781ac_find_includes=
24782for ac_dir in $SEARCH_INCLUDE /usr/include;
24783 do
24784 if test -f "$ac_dir/GL/gl.h"; then
24785 ac_find_includes=$ac_dir
24786 break
24787 fi
24788 done
24789
24790 if test "$ac_find_includes" != "" ; then
24791 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24792echo "${ECHO_T}found in $ac_find_includes" >&6
24793 set -x
24794
24795 if test "x$ac_find_includes" = "x/usr/include"; then
24796 ac_path_to_include=""
24797 else
24798 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24799 result=$?
24800 if test $result = 0; then
24801 ac_path_to_include=""
24802 else
24803 ac_path_to_include=" -I$ac_find_includes"
24804 fi
24805 fi
24806
24807 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24808 set +x
24809 fi
24810
24811 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24812 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24813echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24814if test "${ac_cv_header_GL_gl_h+set}" = set; then
24815 echo $ECHO_N "(cached) $ECHO_C" >&6
24816fi
24817echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24818echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24819else
24820 # Is the header compilable?
24821echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24822echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24823cat >conftest.$ac_ext <<_ACEOF
24824#line $LINENO "configure"
24825/* confdefs.h. */
24826_ACEOF
24827cat confdefs.h >>conftest.$ac_ext
24828cat >>conftest.$ac_ext <<_ACEOF
24829/* end confdefs.h. */
24830$ac_includes_default
24831#include <GL/gl.h>
24832_ACEOF
24833rm -f conftest.$ac_objext
24834if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24835 (eval $ac_compile) 2>&5
24836 ac_status=$?
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } &&
24839 { ac_try='test -s conftest.$ac_objext'
24840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24841 (eval $ac_try) 2>&5
24842 ac_status=$?
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; }; then
24845 ac_header_compiler=yes
24846else
24847 echo "$as_me: failed program was:" >&5
24848sed 's/^/| /' conftest.$ac_ext >&5
24849
24850ac_header_compiler=no
24851fi
24852rm -f conftest.$ac_objext conftest.$ac_ext
24853echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24854echo "${ECHO_T}$ac_header_compiler" >&6
24855
24856# Is the header present?
24857echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24858echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24859cat >conftest.$ac_ext <<_ACEOF
24860#line $LINENO "configure"
24861/* confdefs.h. */
24862_ACEOF
24863cat confdefs.h >>conftest.$ac_ext
24864cat >>conftest.$ac_ext <<_ACEOF
24865/* end confdefs.h. */
24866#include <GL/gl.h>
24867_ACEOF
24868if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24870 ac_status=$?
24871 grep -v '^ *+' conftest.er1 >conftest.err
24872 rm -f conftest.er1
24873 cat conftest.err >&5
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } >/dev/null; then
24876 if test -s conftest.err; then
24877 ac_cpp_err=$ac_c_preproc_warn_flag
24878 else
24879 ac_cpp_err=
24880 fi
24881else
24882 ac_cpp_err=yes
24883fi
24884if test -z "$ac_cpp_err"; then
24885 ac_header_preproc=yes
24886else
24887 echo "$as_me: failed program was:" >&5
24888sed 's/^/| /' conftest.$ac_ext >&5
24889
24890 ac_header_preproc=no
24891fi
24892rm -f conftest.err conftest.$ac_ext
24893echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24894echo "${ECHO_T}$ac_header_preproc" >&6
24895
24896# So? What about this header?
24897case $ac_header_compiler:$ac_header_preproc in
24898 yes:no )
24899 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24900echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24901 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24902echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24903 (
24904 cat <<\_ASBOX
24905## ------------------------------------ ##
24906## Report this to bug-autoconf@gnu.org. ##
24907## ------------------------------------ ##
24908_ASBOX
24909 ) |
24910 sed "s/^/$as_me: WARNING: /" >&2
24911 ;;
24912 no:yes )
24913 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24914echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24915 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24916echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24917 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24918echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24919 (
24920 cat <<\_ASBOX
24921## ------------------------------------ ##
24922## Report this to bug-autoconf@gnu.org. ##
24923## ------------------------------------ ##
24924_ASBOX
24925 ) |
24926 sed "s/^/$as_me: WARNING: /" >&2
24927 ;;
24928esac
24929echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24930echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24931if test "${ac_cv_header_GL_gl_h+set}" = set; then
24932 echo $ECHO_N "(cached) $ECHO_C" >&6
24933else
24934 ac_cv_header_GL_gl_h=$ac_header_preproc
24935fi
24936echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24937echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24938
24939fi
24940if test $ac_cv_header_GL_gl_h = yes; then
24941
24942 found_gl=0
24943
24944 echo "$as_me:$LINENO: checking for -lGL" >&5
24945echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24946
24947ac_find_libraries=
24948for ac_dir in $SEARCH_LIB /usr/lib;
24949 do
24950 for ac_extension in a so sl dylib; do
24951 if test -f "$ac_dir/libGL.$ac_extension"; then
24952 ac_find_libraries=$ac_dir
24953 break 2
24954 fi
24955 done
24956 done
24957
24958 if test "$ac_find_libraries" != "" ; then
24959
24960 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24961 result=$?
24962 if test $result = 0; then
24963 ac_path_to_link=""
24964 else
24965 ac_path_to_link=" -L$ac_find_libraries"
24966 fi
24967
24968 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24969 LDFLAGS_GL="$ac_path_to_link"
24970 fi
24971
24972
24973ac_find_libraries=
24974for ac_dir in $SEARCH_LIB /usr/lib;
24975 do
24976 for ac_extension in a so sl dylib; do
24977 if test -f "$ac_dir/libGLU.$ac_extension"; then
24978 ac_find_libraries=$ac_dir
24979 break 2
24980 fi
24981 done
24982 done
24983
24984 if test "$ac_find_libraries" != "" ; then
24985
24986 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24987 result=$?
24988 if test $result = 0; then
24989 ac_path_to_link=""
24990 else
24991 ac_path_to_link=" -L$ac_find_libraries"
24992 fi
24993
24994 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24995 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24996 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24997 fi
24998
24999 found_gl=1
25000 OPENGL_LIBS="-lGL -lGLU"
25001 echo "$as_me:$LINENO: result: yes" >&5
25002echo "${ECHO_T}yes" >&6
25003 fi
25004 fi
25005
25006 if "$found_gl" != 1; then
25007 echo "$as_me:$LINENO: result: no" >&5
25008echo "${ECHO_T}no" >&6
25009 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25010echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25011
25012ac_find_libraries=
25013for ac_dir in $SEARCH_LIB /usr/lib;
25014 do
25015 for ac_extension in a so sl dylib; do
25016 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25017 ac_find_libraries=$ac_dir
25018 break 2
25019 fi
25020 done
25021 done
25022
25023 if test "$ac_find_libraries" != "" ; then
25024
25025 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25026 result=$?
25027 if test $result = 0; then
25028 ac_path_to_link=""
25029 else
25030 ac_path_to_link=" -L$ac_find_libraries"
25031 fi
25032
25033 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25034 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25035 echo "$as_me:$LINENO: result: yes" >&5
25036echo "${ECHO_T}yes" >&6
25037 else
25038 echo "$as_me:$LINENO: result: no" >&5
25039echo "${ECHO_T}no" >&6
25040 fi
25041 fi
25042
25043fi
25044
25045
25046
25047 if test "x$OPENGL_LIBS" = "x"; then
25048 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25049echo "$as_me: error: OpenGL libraries not available" >&2;}
25050 { (exit 1); exit 1; }; }
25051 fi
25052 fi
25053
25054 if test "$wxUSE_OPENGL" = "yes"; then
25055 USE_OPENGL=1
25056 cat >>confdefs.h <<\_ACEOF
25057#define wxUSE_OPENGL 1
25058_ACEOF
25059
25060 cat >>confdefs.h <<\_ACEOF
25061#define wxUSE_GLCANVAS 1
25062_ACEOF
25063
25064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
25065 fi
25066fi
25067
25068if test -z "$TOOLKIT_VPATH" ; then
25069 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25070fi
25071
25072if test -n "$TOOLKIT" ; then
25073 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25074fi
25075
25076UNICODE=0
25077lib_unicode_suffix=
25078if test "$wxUSE_UNICODE" = "yes"; then
25079 lib_unicode_suffix=u
25080 UNICODE=1
25081fi
25082
25083lib_debug_suffix=
25084BUILD=release
25085if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25086 lib_debug_suffix=d
25087 BUILD=debug
25088fi
25089
25090WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25091
25092TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25093TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25094
25095if test "$cross_compiling" = "yes"; then
25096 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25097 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25098 HOST_SUFFIX="-${host_alias}"
25099fi
25100
25101WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25102WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25103WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25104
25105WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25106WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25107
25108WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25109WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25110WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25111WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25112
25113case "${host}" in
25114 *-*-cygwin* | *-*-mingw32* )
25115 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25116 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25117 ;;
25118
25119 *-*-darwin* )
25120
25121 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25122 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25123
25124 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25125 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25126 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25127 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25128
25129 if test "$wxUSE_MAC" = 1; then
25130 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25131 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25132 fi
25133 ;;
25134esac
25135
25136WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25137WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25138
25139WXCONFIG_LIBS="-l${WX_LIBRARY}"
25140WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25141
25142if test "$wxUSE_OPENGL" = "yes"; then
25143 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25144 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25145fi
25146
25147
25148
25149if test "$wxUSE_SHARED" = "yes"; then
25150 case "${host}" in
25151 *-pc-os2_emx | *-pc-os2-emx | \
25152 *-pc-msdosdjgpp )
25153 wxUSE_SHARED=no
25154 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25155echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25156 ;;
25157 esac
25158fi
25159
25160SHARED=0
25161if test "$wxUSE_SHARED" = "yes"; then
25162 SHARED=1
25163
25164
25165 found_versioning=no
25166
25167
25168 if test $found_versioning = no ; then
25169 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25170echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25171if test "${wx_cv_version_script+set}" = set; then
25172 echo $ECHO_N "(cached) $ECHO_C" >&6
25173else
25174
25175 echo "VER_1 { *; };" >conftest.sym
25176 echo "int main() { return 0; }" >conftest.cpp
25177
25178 if { ac_try='
25179 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25180 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25182 (eval $ac_try) 2>&5
25183 ac_status=$?
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); }; } ; then
25186 if test -s conftest.stderr ; then
25187 wx_cv_version_script=no
25188 else
25189 wx_cv_version_script=yes
25190 fi
25191 else
25192 wx_cv_version_script=no
25193 fi
25194 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25195
25196fi
25197echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25198echo "${ECHO_T}$wx_cv_version_script" >&6
25199 if test $wx_cv_version_script = yes ; then
25200 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25201 fi
25202 fi
25203
25204
25205 case "${host}" in
25206 *-*-linux* | *-*-gnu* )
25207 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25208 ;;
25209
25210 *-*-solaris2* )
25211 if test "$GCC" = yes ; then
25212 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25213
25214 saveLdflags="$LDFLAGS"
25215 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25216 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25217echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25218 cat >conftest.$ac_ext <<_ACEOF
25219#line $LINENO "configure"
25220/* confdefs.h. */
25221_ACEOF
25222cat confdefs.h >>conftest.$ac_ext
25223cat >>conftest.$ac_ext <<_ACEOF
25224/* end confdefs.h. */
25225
25226int
25227main ()
25228{
25229
25230 ;
25231 return 0;
25232}
25233_ACEOF
25234rm -f conftest.$ac_objext conftest$ac_exeext
25235if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25236 (eval $ac_link) 2>&5
25237 ac_status=$?
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); } &&
25240 { ac_try='test -s conftest$ac_exeext'
25241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25242 (eval $ac_try) 2>&5
25243 ac_status=$?
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); }; }; then
25246
25247 echo "$as_me:$LINENO: result: yes" >&5
25248echo "${ECHO_T}yes" >&6
25249 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25250
25251else
25252 echo "$as_me: failed program was:" >&5
25253sed 's/^/| /' conftest.$ac_ext >&5
25254
25255
25256 echo "$as_me:$LINENO: result: no" >&5
25257echo "${ECHO_T}no" >&6
25258 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25259echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25260 LDFLAGS="$saveLdflags -Wl,-R,/"
25261 cat >conftest.$ac_ext <<_ACEOF
25262#line $LINENO "configure"
25263/* confdefs.h. */
25264_ACEOF
25265cat confdefs.h >>conftest.$ac_ext
25266cat >>conftest.$ac_ext <<_ACEOF
25267/* end confdefs.h. */
25268
25269int
25270main ()
25271{
25272
25273 ;
25274 return 0;
25275}
25276_ACEOF
25277rm -f conftest.$ac_objext conftest$ac_exeext
25278if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25279 (eval $ac_link) 2>&5
25280 ac_status=$?
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); } &&
25283 { ac_try='test -s conftest$ac_exeext'
25284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285 (eval $ac_try) 2>&5
25286 ac_status=$?
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; }; then
25289
25290 echo "$as_me:$LINENO: result: yes" >&5
25291echo "${ECHO_T}yes" >&6
25292 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25293else
25294 echo "$as_me: failed program was:" >&5
25295sed 's/^/| /' conftest.$ac_ext >&5
25296
25297
25298 echo "$as_me:$LINENO: result: no" >&5
25299echo "${ECHO_T}no" >&6
25300
25301fi
25302rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25303
25304fi
25305rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25306 LDFLAGS="$saveLdflags"
25307 else
25308 SHARED_LD="${CXX} -G -o"
25309 PIC_FLAG="-KPIC"
25310 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25311 fi
25312 ;;
25313 esac
25314
25315 if test "x$WX_TARGET_LIBRARY" = "x"; then
25316 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25317 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25318 fi
25319
25320 WX_TARGET_LIBRARY_TYPE="so"
25321 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25322fi
25323
25324if test "$wxUSE_SHARED" = "no"; then
25325
25326 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25327 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25328 fi
25329
25330 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25331 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25332 fi
25333
25334 if test "$wxUSE_OPENGL" = "yes"; then
25335 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25336 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25337 else
25338 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25339 fi
25340
25341 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25342 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25343
25344 WX_TARGET_LIBRARY_TYPE="a"
25345 INSTALL_LIBRARY='$(INSTALL_DATA)'
25346
25347 STATIC_FLAG="yes"
25348else
25349 STATIC_FLAG="no"
25350fi
25351
25352MACRESCOMP="@#"
25353MACSETFILE="@#"
25354MACRESWXCONFIG="#"
25355if test "$wxUSE_MAC" = 1; then
25356 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25357 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25358 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25359 # Extract the first word of "Rez", so it can be a program name with args.
25360set dummy Rez; ac_word=$2
25361echo "$as_me:$LINENO: checking for $ac_word" >&5
25362echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25363if test "${ac_cv_prog_RESCOMP+set}" = set; then
25364 echo $ECHO_N "(cached) $ECHO_C" >&6
25365else
25366 if test -n "$RESCOMP"; then
25367 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25368else
25369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25370for as_dir in $PATH
25371do
25372 IFS=$as_save_IFS
25373 test -z "$as_dir" && as_dir=.
25374 for ac_exec_ext in '' $ac_executable_extensions; do
25375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25376 ac_cv_prog_RESCOMP="Rez"
25377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25378 break 2
25379 fi
25380done
25381done
25382
25383 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25384fi
25385fi
25386RESCOMP=$ac_cv_prog_RESCOMP
25387if test -n "$RESCOMP"; then
25388 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25389echo "${ECHO_T}$RESCOMP" >&6
25390else
25391 echo "$as_me:$LINENO: result: no" >&5
25392echo "${ECHO_T}no" >&6
25393fi
25394
25395 # Extract the first word of "DeRez", so it can be a program name with args.
25396set dummy DeRez; ac_word=$2
25397echo "$as_me:$LINENO: checking for $ac_word" >&5
25398echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25399if test "${ac_cv_prog_DEREZ+set}" = set; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25401else
25402 if test -n "$DEREZ"; then
25403 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25404else
25405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25406for as_dir in $PATH
25407do
25408 IFS=$as_save_IFS
25409 test -z "$as_dir" && as_dir=.
25410 for ac_exec_ext in '' $ac_executable_extensions; do
25411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25412 ac_cv_prog_DEREZ="DeRez"
25413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25414 break 2
25415 fi
25416done
25417done
25418
25419 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25420fi
25421fi
25422DEREZ=$ac_cv_prog_DEREZ
25423if test -n "$DEREZ"; then
25424 echo "$as_me:$LINENO: result: $DEREZ" >&5
25425echo "${ECHO_T}$DEREZ" >&6
25426else
25427 echo "$as_me:$LINENO: result: no" >&5
25428echo "${ECHO_T}no" >&6
25429fi
25430
25431 # Extract the first word of "SetFile", so it can be a program name with args.
25432set dummy SetFile; ac_word=$2
25433echo "$as_me:$LINENO: checking for $ac_word" >&5
25434echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25435if test "${ac_cv_prog_SETFILE+set}" = set; then
25436 echo $ECHO_N "(cached) $ECHO_C" >&6
25437else
25438 if test -n "$SETFILE"; then
25439 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25440else
25441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25442for as_dir in $PATH
25443do
25444 IFS=$as_save_IFS
25445 test -z "$as_dir" && as_dir=.
25446 for ac_exec_ext in '' $ac_executable_extensions; do
25447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25448 ac_cv_prog_SETFILE="SetFile"
25449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25450 break 2
25451 fi
25452done
25453done
25454
25455 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25456fi
25457fi
25458SETFILE=$ac_cv_prog_SETFILE
25459if test -n "$SETFILE"; then
25460 echo "$as_me:$LINENO: result: $SETFILE" >&5
25461echo "${ECHO_T}$SETFILE" >&6
25462else
25463 echo "$as_me:$LINENO: result: no" >&5
25464echo "${ECHO_T}no" >&6
25465fi
25466
25467 MACOSX_BUNDLE="bundle"
25468 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25469 MACSETFILE="\$(SETFILE)"
25470 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25471elif test "$wxUSE_COCOA" = 1; then
25472 # Extract the first word of "Rez", so it can be a program name with args.
25473set dummy Rez; ac_word=$2
25474echo "$as_me:$LINENO: checking for $ac_word" >&5
25475echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25476if test "${ac_cv_prog_RESCOMP+set}" = set; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25478else
25479 if test -n "$RESCOMP"; then
25480 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25481else
25482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25483for as_dir in $PATH
25484do
25485 IFS=$as_save_IFS
25486 test -z "$as_dir" && as_dir=.
25487 for ac_exec_ext in '' $ac_executable_extensions; do
25488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25489 ac_cv_prog_RESCOMP="Rez"
25490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25491 break 2
25492 fi
25493done
25494done
25495
25496 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25497fi
25498fi
25499RESCOMP=$ac_cv_prog_RESCOMP
25500if test -n "$RESCOMP"; then
25501 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25502echo "${ECHO_T}$RESCOMP" >&6
25503else
25504 echo "$as_me:$LINENO: result: no" >&5
25505echo "${ECHO_T}no" >&6
25506fi
25507
25508 # Extract the first word of "DeRez", so it can be a program name with args.
25509set dummy DeRez; ac_word=$2
25510echo "$as_me:$LINENO: checking for $ac_word" >&5
25511echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25512if test "${ac_cv_prog_DEREZ+set}" = set; then
25513 echo $ECHO_N "(cached) $ECHO_C" >&6
25514else
25515 if test -n "$DEREZ"; then
25516 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25517else
25518as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25519for as_dir in $PATH
25520do
25521 IFS=$as_save_IFS
25522 test -z "$as_dir" && as_dir=.
25523 for ac_exec_ext in '' $ac_executable_extensions; do
25524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25525 ac_cv_prog_DEREZ="DeRez"
25526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25527 break 2
25528 fi
25529done
25530done
25531
25532 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25533fi
25534fi
25535DEREZ=$ac_cv_prog_DEREZ
25536if test -n "$DEREZ"; then
25537 echo "$as_me:$LINENO: result: $DEREZ" >&5
25538echo "${ECHO_T}$DEREZ" >&6
25539else
25540 echo "$as_me:$LINENO: result: no" >&5
25541echo "${ECHO_T}no" >&6
25542fi
25543
25544 # Extract the first word of "SetFile", so it can be a program name with args.
25545set dummy SetFile; ac_word=$2
25546echo "$as_me:$LINENO: checking for $ac_word" >&5
25547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25548if test "${ac_cv_prog_SETFILE+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25550else
25551 if test -n "$SETFILE"; then
25552 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25553else
25554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25555for as_dir in $PATH
25556do
25557 IFS=$as_save_IFS
25558 test -z "$as_dir" && as_dir=.
25559 for ac_exec_ext in '' $ac_executable_extensions; do
25560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25561 ac_cv_prog_SETFILE="SetFile"
25562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25563 break 2
25564 fi
25565done
25566done
25567
25568 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25569fi
25570fi
25571SETFILE=$ac_cv_prog_SETFILE
25572if test -n "$SETFILE"; then
25573 echo "$as_me:$LINENO: result: $SETFILE" >&5
25574echo "${ECHO_T}$SETFILE" >&6
25575else
25576 echo "$as_me:$LINENO: result: no" >&5
25577echo "${ECHO_T}no" >&6
25578fi
25579
25580 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25581 MACSETFILE="\$(SETFILE)"
25582 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25583else
25584 if test "$wxUSE_PM" = 1; then
25585 MACRESCOMP="emxbind -ep"
25586 fi
25587fi
25588
25589
25590echo "$as_me:$LINENO: checking for mode_t" >&5
25591echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25592if test "${ac_cv_type_mode_t+set}" = set; then
25593 echo $ECHO_N "(cached) $ECHO_C" >&6
25594else
25595 cat >conftest.$ac_ext <<_ACEOF
25596#line $LINENO "configure"
25597/* confdefs.h. */
25598_ACEOF
25599cat confdefs.h >>conftest.$ac_ext
25600cat >>conftest.$ac_ext <<_ACEOF
25601/* end confdefs.h. */
25602$ac_includes_default
25603int
25604main ()
25605{
25606if ((mode_t *) 0)
25607 return 0;
25608if (sizeof (mode_t))
25609 return 0;
25610 ;
25611 return 0;
25612}
25613_ACEOF
25614rm -f conftest.$ac_objext
25615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25616 (eval $ac_compile) 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); } &&
25620 { ac_try='test -s conftest.$ac_objext'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; }; then
25626 ac_cv_type_mode_t=yes
25627else
25628 echo "$as_me: failed program was:" >&5
25629sed 's/^/| /' conftest.$ac_ext >&5
25630
25631ac_cv_type_mode_t=no
25632fi
25633rm -f conftest.$ac_objext conftest.$ac_ext
25634fi
25635echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25636echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25637if test $ac_cv_type_mode_t = yes; then
25638 :
25639else
25640
25641cat >>confdefs.h <<_ACEOF
25642#define mode_t int
25643_ACEOF
25644
25645fi
25646
25647echo "$as_me:$LINENO: checking for off_t" >&5
25648echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25649if test "${ac_cv_type_off_t+set}" = set; then
25650 echo $ECHO_N "(cached) $ECHO_C" >&6
25651else
25652 cat >conftest.$ac_ext <<_ACEOF
25653#line $LINENO "configure"
25654/* confdefs.h. */
25655_ACEOF
25656cat confdefs.h >>conftest.$ac_ext
25657cat >>conftest.$ac_ext <<_ACEOF
25658/* end confdefs.h. */
25659$ac_includes_default
25660int
25661main ()
25662{
25663if ((off_t *) 0)
25664 return 0;
25665if (sizeof (off_t))
25666 return 0;
25667 ;
25668 return 0;
25669}
25670_ACEOF
25671rm -f conftest.$ac_objext
25672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25673 (eval $ac_compile) 2>&5
25674 ac_status=$?
25675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676 (exit $ac_status); } &&
25677 { ac_try='test -s conftest.$ac_objext'
25678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25679 (eval $ac_try) 2>&5
25680 ac_status=$?
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); }; }; then
25683 ac_cv_type_off_t=yes
25684else
25685 echo "$as_me: failed program was:" >&5
25686sed 's/^/| /' conftest.$ac_ext >&5
25687
25688ac_cv_type_off_t=no
25689fi
25690rm -f conftest.$ac_objext conftest.$ac_ext
25691fi
25692echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25693echo "${ECHO_T}$ac_cv_type_off_t" >&6
25694if test $ac_cv_type_off_t = yes; then
25695 :
25696else
25697
25698cat >>confdefs.h <<_ACEOF
25699#define off_t long
25700_ACEOF
25701
25702fi
25703
25704echo "$as_me:$LINENO: checking for pid_t" >&5
25705echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25706if test "${ac_cv_type_pid_t+set}" = set; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25708else
25709 cat >conftest.$ac_ext <<_ACEOF
25710#line $LINENO "configure"
25711/* confdefs.h. */
25712_ACEOF
25713cat confdefs.h >>conftest.$ac_ext
25714cat >>conftest.$ac_ext <<_ACEOF
25715/* end confdefs.h. */
25716$ac_includes_default
25717int
25718main ()
25719{
25720if ((pid_t *) 0)
25721 return 0;
25722if (sizeof (pid_t))
25723 return 0;
25724 ;
25725 return 0;
25726}
25727_ACEOF
25728rm -f conftest.$ac_objext
25729if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25730 (eval $ac_compile) 2>&5
25731 ac_status=$?
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } &&
25734 { ac_try='test -s conftest.$ac_objext'
25735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25736 (eval $ac_try) 2>&5
25737 ac_status=$?
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); }; }; then
25740 ac_cv_type_pid_t=yes
25741else
25742 echo "$as_me: failed program was:" >&5
25743sed 's/^/| /' conftest.$ac_ext >&5
25744
25745ac_cv_type_pid_t=no
25746fi
25747rm -f conftest.$ac_objext conftest.$ac_ext
25748fi
25749echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25750echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25751if test $ac_cv_type_pid_t = yes; then
25752 :
25753else
25754
25755cat >>confdefs.h <<_ACEOF
25756#define pid_t int
25757_ACEOF
25758
25759fi
25760
25761echo "$as_me:$LINENO: checking for size_t" >&5
25762echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25763if test "${ac_cv_type_size_t+set}" = set; then
25764 echo $ECHO_N "(cached) $ECHO_C" >&6
25765else
25766 cat >conftest.$ac_ext <<_ACEOF
25767#line $LINENO "configure"
25768/* confdefs.h. */
25769_ACEOF
25770cat confdefs.h >>conftest.$ac_ext
25771cat >>conftest.$ac_ext <<_ACEOF
25772/* end confdefs.h. */
25773$ac_includes_default
25774int
25775main ()
25776{
25777if ((size_t *) 0)
25778 return 0;
25779if (sizeof (size_t))
25780 return 0;
25781 ;
25782 return 0;
25783}
25784_ACEOF
25785rm -f conftest.$ac_objext
25786if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25787 (eval $ac_compile) 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); } &&
25791 { ac_try='test -s conftest.$ac_objext'
25792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793 (eval $ac_try) 2>&5
25794 ac_status=$?
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); }; }; then
25797 ac_cv_type_size_t=yes
25798else
25799 echo "$as_me: failed program was:" >&5
25800sed 's/^/| /' conftest.$ac_ext >&5
25801
25802ac_cv_type_size_t=no
25803fi
25804rm -f conftest.$ac_objext conftest.$ac_ext
25805fi
25806echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25807echo "${ECHO_T}$ac_cv_type_size_t" >&6
25808if test $ac_cv_type_size_t = yes; then
25809 :
25810else
25811
25812cat >>confdefs.h <<_ACEOF
25813#define size_t unsigned
25814_ACEOF
25815
25816fi
25817
25818echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25819echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25820if test "${ac_cv_type_uid_t+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25822else
25823 cat >conftest.$ac_ext <<_ACEOF
25824#line $LINENO "configure"
25825/* confdefs.h. */
25826_ACEOF
25827cat confdefs.h >>conftest.$ac_ext
25828cat >>conftest.$ac_ext <<_ACEOF
25829/* end confdefs.h. */
25830#include <sys/types.h>
25831
25832_ACEOF
25833if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25834 $EGREP "uid_t" >/dev/null 2>&1; then
25835 ac_cv_type_uid_t=yes
25836else
25837 ac_cv_type_uid_t=no
25838fi
25839rm -f conftest*
25840
25841fi
25842echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25843echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25844if test $ac_cv_type_uid_t = no; then
25845
25846cat >>confdefs.h <<\_ACEOF
25847#define uid_t int
25848_ACEOF
25849
25850
25851cat >>confdefs.h <<\_ACEOF
25852#define gid_t int
25853_ACEOF
25854
25855fi
25856
25857
25858
25859
25860ac_ext=cc
25861ac_cpp='$CXXCPP $CPPFLAGS'
25862ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25865
25866echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25867echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25868if test "${wx_cv_size_t_is_uint+set}" = set; then
25869 echo $ECHO_N "(cached) $ECHO_C" >&6
25870else
25871
25872 cat >conftest.$ac_ext <<_ACEOF
25873#line $LINENO "configure"
25874/* confdefs.h. */
25875_ACEOF
25876cat confdefs.h >>conftest.$ac_ext
25877cat >>conftest.$ac_ext <<_ACEOF
25878/* end confdefs.h. */
25879#include <stddef.h>
25880int
25881main ()
25882{
25883
25884 return 0; }
25885
25886 struct Foo { void foo(size_t); void foo(unsigned int); };
25887
25888 int bar() {
25889
25890 ;
25891 return 0;
25892}
25893_ACEOF
25894rm -f conftest.$ac_objext
25895if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25896 (eval $ac_compile) 2>&5
25897 ac_status=$?
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); } &&
25900 { ac_try='test -s conftest.$ac_objext'
25901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25902 (eval $ac_try) 2>&5
25903 ac_status=$?
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); }; }; then
25906 wx_cv_size_t_is_uint=no
25907else
25908 echo "$as_me: failed program was:" >&5
25909sed 's/^/| /' conftest.$ac_ext >&5
25910
25911wx_cv_size_t_is_uint=yes
25912
25913fi
25914rm -f conftest.$ac_objext conftest.$ac_ext
25915
25916
25917fi
25918echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25919echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25920
25921if test "$wx_cv_size_t_is_uint" = "yes"; then
25922 cat >>confdefs.h <<\_ACEOF
25923#define wxSIZE_T_IS_UINT 1
25924_ACEOF
25925
25926else
25927 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25928echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25929if test "${wx_cv_size_t_is_ulong+set}" = set; then
25930 echo $ECHO_N "(cached) $ECHO_C" >&6
25931else
25932 cat >conftest.$ac_ext <<_ACEOF
25933#line $LINENO "configure"
25934/* confdefs.h. */
25935_ACEOF
25936cat confdefs.h >>conftest.$ac_ext
25937cat >>conftest.$ac_ext <<_ACEOF
25938/* end confdefs.h. */
25939#include <stddef.h>
25940int
25941main ()
25942{
25943
25944 return 0; }
25945
25946 struct Foo { void foo(size_t); void foo(unsigned long); };
25947
25948 int bar() {
25949
25950 ;
25951 return 0;
25952}
25953_ACEOF
25954rm -f conftest.$ac_objext
25955if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25956 (eval $ac_compile) 2>&5
25957 ac_status=$?
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } &&
25960 { ac_try='test -s conftest.$ac_objext'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25963 ac_status=$?
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; }; then
25966 wx_cv_size_t_is_ulong=no
25967else
25968 echo "$as_me: failed program was:" >&5
25969sed 's/^/| /' conftest.$ac_ext >&5
25970
25971wx_cv_size_t_is_ulong=yes
25972
25973fi
25974rm -f conftest.$ac_objext conftest.$ac_ext
25975
25976fi
25977echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25978echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25979
25980 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25981 cat >>confdefs.h <<\_ACEOF
25982#define wxSIZE_T_IS_ULONG 1
25983_ACEOF
25984
25985 fi
25986fi
25987
25988ac_ext=c
25989ac_cpp='$CPP $CPPFLAGS'
25990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25992ac_compiler_gnu=$ac_cv_c_compiler_gnu
25993
25994
25995
25996echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25997echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25998if test "${wx_cv_struct_pw_gecos+set}" = set; then
25999 echo $ECHO_N "(cached) $ECHO_C" >&6
26000else
26001
26002 cat >conftest.$ac_ext <<_ACEOF
26003#line $LINENO "configure"
26004/* confdefs.h. */
26005_ACEOF
26006cat confdefs.h >>conftest.$ac_ext
26007cat >>conftest.$ac_ext <<_ACEOF
26008/* end confdefs.h. */
26009#include <pwd.h>
26010int
26011main ()
26012{
26013
26014 char *p;
26015 struct passwd *pw;
26016 p = pw->pw_gecos;
26017
26018 ;
26019 return 0;
26020}
26021_ACEOF
26022rm -f conftest.$ac_objext
26023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26024 (eval $ac_compile) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } &&
26028 { ac_try='test -s conftest.$ac_objext'
26029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26030 (eval $ac_try) 2>&5
26031 ac_status=$?
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; }; then
26034
26035 wx_cv_struct_pw_gecos=yes
26036
26037else
26038 echo "$as_me: failed program was:" >&5
26039sed 's/^/| /' conftest.$ac_ext >&5
26040
26041
26042 wx_cv_struct_pw_gecos=no
26043
26044
26045fi
26046rm -f conftest.$ac_objext conftest.$ac_ext
26047
26048
26049fi
26050echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26051echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26052
26053if test "$wx_cv_struct_pw_gecos" = "yes"; then
26054 cat >>confdefs.h <<\_ACEOF
26055#define HAVE_PW_GECOS 1
26056_ACEOF
26057
26058fi
26059
26060
26061if test "$wx_cv_sizeof_wchar_t" != "0"; then
26062 cat >>confdefs.h <<\_ACEOF
26063#define wxUSE_WCHAR_T 1
26064_ACEOF
26065
26066
26067 WCSLEN_FOUND=0
26068 WCHAR_LINK=
26069
26070for ac_func in wcslen
26071do
26072as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26073echo "$as_me:$LINENO: checking for $ac_func" >&5
26074echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26075if eval "test \"\${$as_ac_var+set}\" = set"; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26077else
26078 cat >conftest.$ac_ext <<_ACEOF
26079#line $LINENO "configure"
26080/* confdefs.h. */
26081_ACEOF
26082cat confdefs.h >>conftest.$ac_ext
26083cat >>conftest.$ac_ext <<_ACEOF
26084/* end confdefs.h. */
26085/* System header to define __stub macros and hopefully few prototypes,
26086 which can conflict with char $ac_func (); below.
26087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26088 <limits.h> exists even on freestanding compilers. */
26089#ifdef __STDC__
26090# include <limits.h>
26091#else
26092# include <assert.h>
26093#endif
26094/* Override any gcc2 internal prototype to avoid an error. */
26095#ifdef __cplusplus
26096extern "C"
26097{
26098#endif
26099/* We use char because int might match the return type of a gcc2
26100 builtin and then its argument prototype would still apply. */
26101char $ac_func ();
26102/* The GNU C library defines this for functions which it implements
26103 to always fail with ENOSYS. Some functions are actually named
26104 something starting with __ and the normal name is an alias. */
26105#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26106choke me
26107#else
26108char (*f) () = $ac_func;
26109#endif
26110#ifdef __cplusplus
26111}
26112#endif
26113
26114int
26115main ()
26116{
26117return f != $ac_func;
26118 ;
26119 return 0;
26120}
26121_ACEOF
26122rm -f conftest.$ac_objext conftest$ac_exeext
26123if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26124 (eval $ac_link) 2>&5
26125 ac_status=$?
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); } &&
26128 { ac_try='test -s conftest$ac_exeext'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26131 ac_status=$?
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; }; then
26134 eval "$as_ac_var=yes"
26135else
26136 echo "$as_me: failed program was:" >&5
26137sed 's/^/| /' conftest.$ac_ext >&5
26138
26139eval "$as_ac_var=no"
26140fi
26141rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26142fi
26143echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26144echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26145if test `eval echo '${'$as_ac_var'}'` = yes; then
26146 cat >>confdefs.h <<_ACEOF
26147#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26148_ACEOF
26149 WCSLEN_FOUND=1
26150fi
26151done
26152
26153
26154 if test "$WCSLEN_FOUND" = 0; then
26155 if test "$TOOLKIT" = "MSW"; then
26156 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26157echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26158if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26160else
26161 ac_check_lib_save_LIBS=$LIBS
26162LIBS="-lmsvcrt $LIBS"
26163cat >conftest.$ac_ext <<_ACEOF
26164#line $LINENO "configure"
26165/* confdefs.h. */
26166_ACEOF
26167cat confdefs.h >>conftest.$ac_ext
26168cat >>conftest.$ac_ext <<_ACEOF
26169/* end confdefs.h. */
26170
26171/* Override any gcc2 internal prototype to avoid an error. */
26172#ifdef __cplusplus
26173extern "C"
26174#endif
26175/* We use char because int might match the return type of a gcc2
26176 builtin and then its argument prototype would still apply. */
26177char wcslen ();
26178int
26179main ()
26180{
26181wcslen ();
26182 ;
26183 return 0;
26184}
26185_ACEOF
26186rm -f conftest.$ac_objext conftest$ac_exeext
26187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26188 (eval $ac_link) 2>&5
26189 ac_status=$?
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); } &&
26192 { ac_try='test -s conftest$ac_exeext'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26195 ac_status=$?
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; }; then
26198 ac_cv_lib_msvcrt_wcslen=yes
26199else
26200 echo "$as_me: failed program was:" >&5
26201sed 's/^/| /' conftest.$ac_ext >&5
26202
26203ac_cv_lib_msvcrt_wcslen=no
26204fi
26205rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26206LIBS=$ac_check_lib_save_LIBS
26207fi
26208echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26209echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26210if test $ac_cv_lib_msvcrt_wcslen = yes; then
26211 WCHAR_OK=1
26212fi
26213
26214 else
26215 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26216echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26217if test "${ac_cv_lib_w_wcslen+set}" = set; then
26218 echo $ECHO_N "(cached) $ECHO_C" >&6
26219else
26220 ac_check_lib_save_LIBS=$LIBS
26221LIBS="-lw $LIBS"
26222cat >conftest.$ac_ext <<_ACEOF
26223#line $LINENO "configure"
26224/* confdefs.h. */
26225_ACEOF
26226cat confdefs.h >>conftest.$ac_ext
26227cat >>conftest.$ac_ext <<_ACEOF
26228/* end confdefs.h. */
26229
26230/* Override any gcc2 internal prototype to avoid an error. */
26231#ifdef __cplusplus
26232extern "C"
26233#endif
26234/* We use char because int might match the return type of a gcc2
26235 builtin and then its argument prototype would still apply. */
26236char wcslen ();
26237int
26238main ()
26239{
26240wcslen ();
26241 ;
26242 return 0;
26243}
26244_ACEOF
26245rm -f conftest.$ac_objext conftest$ac_exeext
26246if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26247 (eval $ac_link) 2>&5
26248 ac_status=$?
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } &&
26251 { ac_try='test -s conftest$ac_exeext'
26252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26253 (eval $ac_try) 2>&5
26254 ac_status=$?
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); }; }; then
26257 ac_cv_lib_w_wcslen=yes
26258else
26259 echo "$as_me: failed program was:" >&5
26260sed 's/^/| /' conftest.$ac_ext >&5
26261
26262ac_cv_lib_w_wcslen=no
26263fi
26264rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26265LIBS=$ac_check_lib_save_LIBS
26266fi
26267echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26268echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26269if test $ac_cv_lib_w_wcslen = yes; then
26270
26271 WCHAR_LINK=" -lw"
26272 WCSLEN_FOUND=1
26273
26274fi
26275
26276 fi
26277 fi
26278
26279 if test "$WCSLEN_FOUND" = 1; then
26280 cat >>confdefs.h <<\_ACEOF
26281#define HAVE_WCSLEN 1
26282_ACEOF
26283
26284 fi
26285
26286
26287for ac_func in wcsrtombs
26288do
26289as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26290echo "$as_me:$LINENO: checking for $ac_func" >&5
26291echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26292if eval "test \"\${$as_ac_var+set}\" = set"; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26294else
26295 cat >conftest.$ac_ext <<_ACEOF
26296#line $LINENO "configure"
26297/* confdefs.h. */
26298_ACEOF
26299cat confdefs.h >>conftest.$ac_ext
26300cat >>conftest.$ac_ext <<_ACEOF
26301/* end confdefs.h. */
26302/* System header to define __stub macros and hopefully few prototypes,
26303 which can conflict with char $ac_func (); below.
26304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26305 <limits.h> exists even on freestanding compilers. */
26306#ifdef __STDC__
26307# include <limits.h>
26308#else
26309# include <assert.h>
26310#endif
26311/* Override any gcc2 internal prototype to avoid an error. */
26312#ifdef __cplusplus
26313extern "C"
26314{
26315#endif
26316/* We use char because int might match the return type of a gcc2
26317 builtin and then its argument prototype would still apply. */
26318char $ac_func ();
26319/* The GNU C library defines this for functions which it implements
26320 to always fail with ENOSYS. Some functions are actually named
26321 something starting with __ and the normal name is an alias. */
26322#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26323choke me
26324#else
26325char (*f) () = $ac_func;
26326#endif
26327#ifdef __cplusplus
26328}
26329#endif
26330
26331int
26332main ()
26333{
26334return f != $ac_func;
26335 ;
26336 return 0;
26337}
26338_ACEOF
26339rm -f conftest.$ac_objext conftest$ac_exeext
26340if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26341 (eval $ac_link) 2>&5
26342 ac_status=$?
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } &&
26345 { ac_try='test -s conftest$ac_exeext'
26346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347 (eval $ac_try) 2>&5
26348 ac_status=$?
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); }; }; then
26351 eval "$as_ac_var=yes"
26352else
26353 echo "$as_me: failed program was:" >&5
26354sed 's/^/| /' conftest.$ac_ext >&5
26355
26356eval "$as_ac_var=no"
26357fi
26358rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26359fi
26360echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26361echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26362if test `eval echo '${'$as_ac_var'}'` = yes; then
26363 cat >>confdefs.h <<_ACEOF
26364#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26365_ACEOF
26366
26367fi
26368done
26369
26370else
26371 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26372echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26373fi
26374
26375
26376
26377ac_ext=cc
26378ac_cpp='$CXXCPP $CPPFLAGS'
26379ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26380ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26381ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26382
26383
26384
26385for ac_func in vsnprintf
26386do
26387as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26388echo "$as_me:$LINENO: checking for $ac_func" >&5
26389echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26390if eval "test \"\${$as_ac_var+set}\" = set"; then
26391 echo $ECHO_N "(cached) $ECHO_C" >&6
26392else
26393 cat >conftest.$ac_ext <<_ACEOF
26394#line $LINENO "configure"
26395/* confdefs.h. */
26396_ACEOF
26397cat confdefs.h >>conftest.$ac_ext
26398cat >>conftest.$ac_ext <<_ACEOF
26399/* end confdefs.h. */
26400/* System header to define __stub macros and hopefully few prototypes,
26401 which can conflict with char $ac_func (); below.
26402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26403 <limits.h> exists even on freestanding compilers. */
26404#ifdef __STDC__
26405# include <limits.h>
26406#else
26407# include <assert.h>
26408#endif
26409/* Override any gcc2 internal prototype to avoid an error. */
26410#ifdef __cplusplus
26411extern "C"
26412{
26413#endif
26414/* We use char because int might match the return type of a gcc2
26415 builtin and then its argument prototype would still apply. */
26416char $ac_func ();
26417/* The GNU C library defines this for functions which it implements
26418 to always fail with ENOSYS. Some functions are actually named
26419 something starting with __ and the normal name is an alias. */
26420#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26421choke me
26422#else
26423char (*f) () = $ac_func;
26424#endif
26425#ifdef __cplusplus
26426}
26427#endif
26428
26429int
26430main ()
26431{
26432return f != $ac_func;
26433 ;
26434 return 0;
26435}
26436_ACEOF
26437rm -f conftest.$ac_objext conftest$ac_exeext
26438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26439 (eval $ac_link) 2>&5
26440 ac_status=$?
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try='test -s conftest$ac_exeext'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26446 ac_status=$?
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; }; then
26449 eval "$as_ac_var=yes"
26450else
26451 echo "$as_me: failed program was:" >&5
26452sed 's/^/| /' conftest.$ac_ext >&5
26453
26454eval "$as_ac_var=no"
26455fi
26456rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26457fi
26458echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26459echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26460if test `eval echo '${'$as_ac_var'}'` = yes; then
26461 cat >>confdefs.h <<_ACEOF
26462#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26463_ACEOF
26464
26465fi
26466done
26467
26468
26469if test "$ac_cv_func_vsnprintf" = "yes"; then
26470 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26471echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26472if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26473 echo $ECHO_N "(cached) $ECHO_C" >&6
26474else
26475
26476 cat >conftest.$ac_ext <<_ACEOF
26477#line $LINENO "configure"
26478/* confdefs.h. */
26479_ACEOF
26480cat confdefs.h >>conftest.$ac_ext
26481cat >>conftest.$ac_ext <<_ACEOF
26482/* end confdefs.h. */
26483
26484 #include <stdio.h>
26485 #include <stdarg.h>
26486
26487int
26488main ()
26489{
26490
26491 char *buf;
26492 va_list ap;
26493 vsnprintf(buf, 10u, "%s", ap);
26494
26495 ;
26496 return 0;
26497}
26498_ACEOF
26499rm -f conftest.$ac_objext
26500if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26501 (eval $ac_compile) 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try='test -s conftest.$ac_objext'
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 wx_cv_func_vsnprintf_decl=yes
26512else
26513 echo "$as_me: failed program was:" >&5
26514sed 's/^/| /' conftest.$ac_ext >&5
26515
26516wx_cv_func_vsnprintf_decl=no
26517
26518fi
26519rm -f conftest.$ac_objext conftest.$ac_ext
26520
26521
26522fi
26523echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26524echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26525
26526 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26527 cat >>confdefs.h <<\_ACEOF
26528#define HAVE_VSNPRINTF_DECL 1
26529_ACEOF
26530
26531 fi
26532fi
26533
26534if test "$wxUSE_UNICODE" = yes; then
26535
26536
26537
26538for ac_func in fputwc wprintf vswprintf
26539do
26540as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26541echo "$as_me:$LINENO: checking for $ac_func" >&5
26542echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26543if eval "test \"\${$as_ac_var+set}\" = set"; then
26544 echo $ECHO_N "(cached) $ECHO_C" >&6
26545else
26546 cat >conftest.$ac_ext <<_ACEOF
26547#line $LINENO "configure"
26548/* confdefs.h. */
26549_ACEOF
26550cat confdefs.h >>conftest.$ac_ext
26551cat >>conftest.$ac_ext <<_ACEOF
26552/* end confdefs.h. */
26553/* System header to define __stub macros and hopefully few prototypes,
26554 which can conflict with char $ac_func (); below.
26555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26556 <limits.h> exists even on freestanding compilers. */
26557#ifdef __STDC__
26558# include <limits.h>
26559#else
26560# include <assert.h>
26561#endif
26562/* Override any gcc2 internal prototype to avoid an error. */
26563#ifdef __cplusplus
26564extern "C"
26565{
26566#endif
26567/* We use char because int might match the return type of a gcc2
26568 builtin and then its argument prototype would still apply. */
26569char $ac_func ();
26570/* The GNU C library defines this for functions which it implements
26571 to always fail with ENOSYS. Some functions are actually named
26572 something starting with __ and the normal name is an alias. */
26573#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26574choke me
26575#else
26576char (*f) () = $ac_func;
26577#endif
26578#ifdef __cplusplus
26579}
26580#endif
26581
26582int
26583main ()
26584{
26585return f != $ac_func;
26586 ;
26587 return 0;
26588}
26589_ACEOF
26590rm -f conftest.$ac_objext conftest$ac_exeext
26591if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26592 (eval $ac_link) 2>&5
26593 ac_status=$?
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -s conftest$ac_exeext'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26599 ac_status=$?
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; }; then
26602 eval "$as_ac_var=yes"
26603else
26604 echo "$as_me: failed program was:" >&5
26605sed 's/^/| /' conftest.$ac_ext >&5
26606
26607eval "$as_ac_var=no"
26608fi
26609rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26610fi
26611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26612echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26613if test `eval echo '${'$as_ac_var'}'` = yes; then
26614 cat >>confdefs.h <<_ACEOF
26615#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26616_ACEOF
26617
26618fi
26619done
26620
26621
26622 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26623echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26624 cat >conftest.$ac_ext <<_ACEOF
26625#line $LINENO "configure"
26626/* confdefs.h. */
26627_ACEOF
26628cat confdefs.h >>conftest.$ac_ext
26629cat >>conftest.$ac_ext <<_ACEOF
26630/* end confdefs.h. */
26631#include <wchar.h>
26632int
26633main ()
26634{
26635&_vsnwprintf;
26636 ;
26637 return 0;
26638}
26639_ACEOF
26640rm -f conftest.$ac_objext
26641if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26642 (eval $ac_compile) 2>&5
26643 ac_status=$?
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } &&
26646 { ac_try='test -s conftest.$ac_objext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26652 echo "$as_me:$LINENO: result: yes" >&5
26653echo "${ECHO_T}yes" >&6
26654 cat >>confdefs.h <<\_ACEOF
26655#define HAVE__VSNWPRINTF 1
26656_ACEOF
26657
26658else
26659 echo "$as_me: failed program was:" >&5
26660sed 's/^/| /' conftest.$ac_ext >&5
26661
26662echo "$as_me:$LINENO: result: no" >&5
26663echo "${ECHO_T}no" >&6
26664fi
26665rm -f conftest.$ac_objext conftest.$ac_ext;
26666fi
26667
26668ac_ext=c
26669ac_cpp='$CPP $CPPFLAGS'
26670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26672ac_compiler_gnu=$ac_cv_c_compiler_gnu
26673
26674
26675
26676
26677if test "$TOOLKIT" != "MSW"; then
26678
26679
26680
26681
26682ac_ext=cc
26683ac_cpp='$CXXCPP $CPPFLAGS'
26684ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26685ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26686ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26687
26688
26689
26690
26691# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26692if test "${with_libiconv_prefix+set}" = set; then
26693 withval="$with_libiconv_prefix"
26694
26695 for dir in `echo "$withval" | tr : ' '`; do
26696 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26697 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26698 done
26699
26700fi;
26701
26702 echo "$as_me:$LINENO: checking for iconv" >&5
26703echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26704if test "${am_cv_func_iconv+set}" = set; then
26705 echo $ECHO_N "(cached) $ECHO_C" >&6
26706else
26707
26708 am_cv_func_iconv="no, consider installing GNU libiconv"
26709 am_cv_lib_iconv=no
26710 cat >conftest.$ac_ext <<_ACEOF
26711#line $LINENO "configure"
26712/* confdefs.h. */
26713_ACEOF
26714cat confdefs.h >>conftest.$ac_ext
26715cat >>conftest.$ac_ext <<_ACEOF
26716/* end confdefs.h. */
26717#include <stdlib.h>
26718#include <iconv.h>
26719int
26720main ()
26721{
26722iconv_t cd = iconv_open("","");
26723 iconv(cd,NULL,NULL,NULL,NULL);
26724 iconv_close(cd);
26725 ;
26726 return 0;
26727}
26728_ACEOF
26729rm -f conftest.$ac_objext conftest$ac_exeext
26730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26731 (eval $ac_link) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } &&
26735 { ac_try='test -s conftest$ac_exeext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26738 ac_status=$?
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26741 am_cv_func_iconv=yes
26742else
26743 echo "$as_me: failed program was:" >&5
26744sed 's/^/| /' conftest.$ac_ext >&5
26745
26746fi
26747rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26748 if test "$am_cv_func_iconv" != yes; then
26749 am_save_LIBS="$LIBS"
26750 LIBS="$LIBS -liconv"
26751 cat >conftest.$ac_ext <<_ACEOF
26752#line $LINENO "configure"
26753/* confdefs.h. */
26754_ACEOF
26755cat confdefs.h >>conftest.$ac_ext
26756cat >>conftest.$ac_ext <<_ACEOF
26757/* end confdefs.h. */
26758#include <stdlib.h>
26759#include <iconv.h>
26760int
26761main ()
26762{
26763iconv_t cd = iconv_open("","");
26764 iconv(cd,NULL,NULL,NULL,NULL);
26765 iconv_close(cd);
26766 ;
26767 return 0;
26768}
26769_ACEOF
26770rm -f conftest.$ac_objext conftest$ac_exeext
26771if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26772 (eval $ac_link) 2>&5
26773 ac_status=$?
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } &&
26776 { ac_try='test -s conftest$ac_exeext'
26777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26778 (eval $ac_try) 2>&5
26779 ac_status=$?
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); }; }; then
26782 am_cv_lib_iconv=yes
26783 am_cv_func_iconv=yes
26784else
26785 echo "$as_me: failed program was:" >&5
26786sed 's/^/| /' conftest.$ac_ext >&5
26787
26788fi
26789rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26790 LIBS="$am_save_LIBS"
26791 fi
26792
26793fi
26794echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26795echo "${ECHO_T}$am_cv_func_iconv" >&6
26796 if test "$am_cv_func_iconv" = yes; then
26797
26798cat >>confdefs.h <<\_ACEOF
26799#define HAVE_ICONV 1
26800_ACEOF
26801
26802 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26803echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26804if test "${wx_cv_func_iconv_const+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26806else
26807 cat >conftest.$ac_ext <<_ACEOF
26808#line $LINENO "configure"
26809/* confdefs.h. */
26810_ACEOF
26811cat confdefs.h >>conftest.$ac_ext
26812cat >>conftest.$ac_ext <<_ACEOF
26813/* end confdefs.h. */
26814
26815#include <stdlib.h>
26816#include <iconv.h>
26817extern
26818#ifdef __cplusplus
26819"C"
26820#endif
26821#if defined(__STDC__) || defined(__cplusplus)
26822size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26823#else
26824size_t iconv();
26825#endif
26826
26827int
26828main ()
26829{
26830
26831 ;
26832 return 0;
26833}
26834_ACEOF
26835rm -f conftest.$ac_objext
26836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26837 (eval $ac_compile) 2>&5
26838 ac_status=$?
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); } &&
26841 { ac_try='test -s conftest.$ac_objext'
26842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26843 (eval $ac_try) 2>&5
26844 ac_status=$?
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); }; }; then
26847 wx_cv_func_iconv_const="no"
26848else
26849 echo "$as_me: failed program was:" >&5
26850sed 's/^/| /' conftest.$ac_ext >&5
26851
26852wx_cv_func_iconv_const="yes"
26853
26854fi
26855rm -f conftest.$ac_objext conftest.$ac_ext
26856
26857fi
26858echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26859echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26860
26861 iconv_const=
26862 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26863 iconv_const="const"
26864 fi
26865
26866
26867cat >>confdefs.h <<_ACEOF
26868#define ICONV_CONST $iconv_const
26869_ACEOF
26870
26871 fi
26872 LIBICONV=
26873 if test "$am_cv_lib_iconv" = yes; then
26874 LIBICONV="-liconv"
26875 fi
26876
26877
26878LIBS="$LIBICONV $LIBS"
26879ac_ext=c
26880ac_cpp='$CPP $CPPFLAGS'
26881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26883ac_compiler_gnu=$ac_cv_c_compiler_gnu
26884
26885
26886if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26887
26888for ac_func in sigaction
26889do
26890as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26891echo "$as_me:$LINENO: checking for $ac_func" >&5
26892echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26893if eval "test \"\${$as_ac_var+set}\" = set"; then
26894 echo $ECHO_N "(cached) $ECHO_C" >&6
26895else
26896 cat >conftest.$ac_ext <<_ACEOF
26897#line $LINENO "configure"
26898/* confdefs.h. */
26899_ACEOF
26900cat confdefs.h >>conftest.$ac_ext
26901cat >>conftest.$ac_ext <<_ACEOF
26902/* end confdefs.h. */
26903/* System header to define __stub macros and hopefully few prototypes,
26904 which can conflict with char $ac_func (); below.
26905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26906 <limits.h> exists even on freestanding compilers. */
26907#ifdef __STDC__
26908# include <limits.h>
26909#else
26910# include <assert.h>
26911#endif
26912/* Override any gcc2 internal prototype to avoid an error. */
26913#ifdef __cplusplus
26914extern "C"
26915{
26916#endif
26917/* We use char because int might match the return type of a gcc2
26918 builtin and then its argument prototype would still apply. */
26919char $ac_func ();
26920/* The GNU C library defines this for functions which it implements
26921 to always fail with ENOSYS. Some functions are actually named
26922 something starting with __ and the normal name is an alias. */
26923#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26924choke me
26925#else
26926char (*f) () = $ac_func;
26927#endif
26928#ifdef __cplusplus
26929}
26930#endif
26931
26932int
26933main ()
26934{
26935return f != $ac_func;
26936 ;
26937 return 0;
26938}
26939_ACEOF
26940rm -f conftest.$ac_objext conftest$ac_exeext
26941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26942 (eval $ac_link) 2>&5
26943 ac_status=$?
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); } &&
26946 { ac_try='test -s conftest$ac_exeext'
26947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26948 (eval $ac_try) 2>&5
26949 ac_status=$?
26950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951 (exit $ac_status); }; }; then
26952 eval "$as_ac_var=yes"
26953else
26954 echo "$as_me: failed program was:" >&5
26955sed 's/^/| /' conftest.$ac_ext >&5
26956
26957eval "$as_ac_var=no"
26958fi
26959rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26960fi
26961echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26962echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26963if test `eval echo '${'$as_ac_var'}'` = yes; then
26964 cat >>confdefs.h <<_ACEOF
26965#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26966_ACEOF
26967
26968fi
26969done
26970
26971
26972 if test "$ac_cv_func_sigaction" = "no"; then
26973 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26974echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26975 wxUSE_ON_FATAL_EXCEPTION=no
26976 fi
26977
26978 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26979
26980
26981 ac_ext=cc
26982ac_cpp='$CXXCPP $CPPFLAGS'
26983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26986
26987
26988 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26989echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26990if test "${wx_cv_type_sa_handler+set}" = set; then
26991 echo $ECHO_N "(cached) $ECHO_C" >&6
26992else
26993
26994 cat >conftest.$ac_ext <<_ACEOF
26995#line $LINENO "configure"
26996/* confdefs.h. */
26997_ACEOF
26998cat confdefs.h >>conftest.$ac_ext
26999cat >>conftest.$ac_ext <<_ACEOF
27000/* end confdefs.h. */
27001#include <signal.h>
27002int
27003main ()
27004{
27005
27006 extern void testSigHandler(int);
27007
27008 struct sigaction sa;
27009 sa.sa_handler = testSigHandler;
27010
27011 ;
27012 return 0;
27013}
27014_ACEOF
27015rm -f conftest.$ac_objext
27016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27017 (eval $ac_compile) 2>&5
27018 ac_status=$?
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } &&
27021 { ac_try='test -s conftest.$ac_objext'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27024 ac_status=$?
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; }; then
27027
27028 wx_cv_type_sa_handler=int
27029
27030else
27031 echo "$as_me: failed program was:" >&5
27032sed 's/^/| /' conftest.$ac_ext >&5
27033
27034
27035 wx_cv_type_sa_handler=void
27036
27037fi
27038rm -f conftest.$ac_objext conftest.$ac_ext
27039
27040fi
27041echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27042echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27043
27044 ac_ext=c
27045ac_cpp='$CPP $CPPFLAGS'
27046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27048ac_compiler_gnu=$ac_cv_c_compiler_gnu
27049
27050
27051 cat >>confdefs.h <<_ACEOF
27052#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27053_ACEOF
27054
27055 fi
27056fi
27057
27058
27059
27060for ac_func in mkstemp mktemp
27061do
27062as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27063echo "$as_me:$LINENO: checking for $ac_func" >&5
27064echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27065if eval "test \"\${$as_ac_var+set}\" = set"; then
27066 echo $ECHO_N "(cached) $ECHO_C" >&6
27067else
27068 cat >conftest.$ac_ext <<_ACEOF
27069#line $LINENO "configure"
27070/* confdefs.h. */
27071_ACEOF
27072cat confdefs.h >>conftest.$ac_ext
27073cat >>conftest.$ac_ext <<_ACEOF
27074/* end confdefs.h. */
27075/* System header to define __stub macros and hopefully few prototypes,
27076 which can conflict with char $ac_func (); below.
27077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27078 <limits.h> exists even on freestanding compilers. */
27079#ifdef __STDC__
27080# include <limits.h>
27081#else
27082# include <assert.h>
27083#endif
27084/* Override any gcc2 internal prototype to avoid an error. */
27085#ifdef __cplusplus
27086extern "C"
27087{
27088#endif
27089/* We use char because int might match the return type of a gcc2
27090 builtin and then its argument prototype would still apply. */
27091char $ac_func ();
27092/* The GNU C library defines this for functions which it implements
27093 to always fail with ENOSYS. Some functions are actually named
27094 something starting with __ and the normal name is an alias. */
27095#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27096choke me
27097#else
27098char (*f) () = $ac_func;
27099#endif
27100#ifdef __cplusplus
27101}
27102#endif
27103
27104int
27105main ()
27106{
27107return f != $ac_func;
27108 ;
27109 return 0;
27110}
27111_ACEOF
27112rm -f conftest.$ac_objext conftest$ac_exeext
27113if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27114 (eval $ac_link) 2>&5
27115 ac_status=$?
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } &&
27118 { ac_try='test -s conftest$ac_exeext'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27121 ac_status=$?
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; }; then
27124 eval "$as_ac_var=yes"
27125else
27126 echo "$as_me: failed program was:" >&5
27127sed 's/^/| /' conftest.$ac_ext >&5
27128
27129eval "$as_ac_var=no"
27130fi
27131rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27132fi
27133echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27134echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27135if test `eval echo '${'$as_ac_var'}'` = yes; then
27136 cat >>confdefs.h <<_ACEOF
27137#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27138_ACEOF
27139 break
27140fi
27141done
27142
27143
27144echo "$as_me:$LINENO: checking for statfs" >&5
27145echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27146if test "${wx_cv_func_statfs+set}" = set; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27148else
27149 cat >conftest.$ac_ext <<_ACEOF
27150#line $LINENO "configure"
27151/* confdefs.h. */
27152_ACEOF
27153cat confdefs.h >>conftest.$ac_ext
27154cat >>conftest.$ac_ext <<_ACEOF
27155/* end confdefs.h. */
27156
27157 #if defined(__BSD__)
27158 #include <sys/param.h>
27159 #include <sys/mount.h>
27160 #else
27161 #include <sys/vfs.h>
27162 #endif
27163
27164int
27165main ()
27166{
27167
27168 long l;
27169 struct statfs fs;
27170 statfs("/", &fs);
27171 l = fs.f_bsize;
27172 l += fs.f_blocks;
27173 l += fs.f_bavail;
27174
27175 ;
27176 return 0;
27177}
27178_ACEOF
27179rm -f conftest.$ac_objext
27180if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27181 (eval $ac_compile) 2>&5
27182 ac_status=$?
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } &&
27185 { ac_try='test -s conftest.$ac_objext'
27186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27187 (eval $ac_try) 2>&5
27188 ac_status=$?
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); }; }; then
27191
27192 wx_cv_func_statfs=yes
27193
27194else
27195 echo "$as_me: failed program was:" >&5
27196sed 's/^/| /' conftest.$ac_ext >&5
27197
27198
27199 wx_cv_func_statfs=no
27200
27201
27202fi
27203rm -f conftest.$ac_objext conftest.$ac_ext
27204
27205fi
27206echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27207echo "${ECHO_T}$wx_cv_func_statfs" >&6
27208
27209if test "$wx_cv_func_statfs" = "yes"; then
27210 wx_cv_type_statvfs_t="struct statfs"
27211 cat >>confdefs.h <<\_ACEOF
27212#define HAVE_STATFS 1
27213_ACEOF
27214
27215else
27216 echo "$as_me:$LINENO: checking for statvfs" >&5
27217echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27218if test "${wx_cv_func_statvfs+set}" = set; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27220else
27221 cat >conftest.$ac_ext <<_ACEOF
27222#line $LINENO "configure"
27223/* confdefs.h. */
27224_ACEOF
27225cat confdefs.h >>conftest.$ac_ext
27226cat >>conftest.$ac_ext <<_ACEOF
27227/* end confdefs.h. */
27228
27229 #include <stddef.h>
27230 #include <sys/statvfs.h>
27231
27232int
27233main ()
27234{
27235
27236 statvfs("/", NULL);
27237
27238 ;
27239 return 0;
27240}
27241_ACEOF
27242rm -f conftest.$ac_objext
27243if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244 (eval $ac_compile) 2>&5
27245 ac_status=$?
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } &&
27248 { ac_try='test -s conftest.$ac_objext'
27249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27250 (eval $ac_try) 2>&5
27251 ac_status=$?
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); }; }; then
27254 wx_cv_func_statvfs=yes
27255else
27256 echo "$as_me: failed program was:" >&5
27257sed 's/^/| /' conftest.$ac_ext >&5
27258
27259wx_cv_func_statvfs=no
27260
27261fi
27262rm -f conftest.$ac_objext conftest.$ac_ext
27263
27264fi
27265echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27266echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27267
27268 if test "$wx_cv_func_statvfs" = "yes"; then
27269
27270
27271 ac_ext=cc
27272ac_cpp='$CXXCPP $CPPFLAGS'
27273ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27274ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27275ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27276
27277
27278 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27279echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27280if test "${wx_cv_type_statvfs_t+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 <sys/statvfs.h>
27292
27293int
27294main ()
27295{
27296
27297 long l;
27298 statvfs_t fs;
27299 statvfs("/", &fs);
27300 l = fs.f_bsize;
27301 l += fs.f_blocks;
27302 l += fs.f_bavail;
27303
27304 ;
27305 return 0;
27306}
27307_ACEOF
27308rm -f conftest.$ac_objext
27309if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27310 (eval $ac_compile) 2>&5
27311 ac_status=$?
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } &&
27314 { ac_try='test -s conftest.$ac_objext'
27315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27316 (eval $ac_try) 2>&5
27317 ac_status=$?
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); }; }; then
27320 wx_cv_type_statvfs_t=statvfs_t
27321else
27322 echo "$as_me: failed program was:" >&5
27323sed 's/^/| /' conftest.$ac_ext >&5
27324
27325
27326 cat >conftest.$ac_ext <<_ACEOF
27327#line $LINENO "configure"
27328/* confdefs.h. */
27329_ACEOF
27330cat confdefs.h >>conftest.$ac_ext
27331cat >>conftest.$ac_ext <<_ACEOF
27332/* end confdefs.h. */
27333
27334 #include <sys/statvfs.h>
27335
27336int
27337main ()
27338{
27339
27340 long l;
27341 struct statvfs fs;
27342 statvfs("/", &fs);
27343 l = fs.f_bsize;
27344 l += fs.f_blocks;
27345 l += fs.f_bavail;
27346
27347 ;
27348 return 0;
27349}
27350_ACEOF
27351rm -f conftest.$ac_objext
27352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27353 (eval $ac_compile) 2>&5
27354 ac_status=$?
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } &&
27357 { ac_try='test -s conftest.$ac_objext'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; }; then
27363 wx_cv_type_statvfs_t="struct statvfs"
27364else
27365 echo "$as_me: failed program was:" >&5
27366sed 's/^/| /' conftest.$ac_ext >&5
27367
27368wx_cv_type_statvfs_t="unknown"
27369
27370fi
27371rm -f conftest.$ac_objext conftest.$ac_ext
27372
27373
27374fi
27375rm -f conftest.$ac_objext conftest.$ac_ext
27376
27377fi
27378echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27379echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27380
27381 ac_ext=c
27382ac_cpp='$CPP $CPPFLAGS'
27383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27385ac_compiler_gnu=$ac_cv_c_compiler_gnu
27386
27387
27388 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27389 cat >>confdefs.h <<\_ACEOF
27390#define HAVE_STATVFS 1
27391_ACEOF
27392
27393 fi
27394 else
27395 wx_cv_type_statvfs_t="unknown"
27396 fi
27397fi
27398
27399if test "$wx_cv_type_statvfs_t" != "unknown"; then
27400 cat >>confdefs.h <<_ACEOF
27401#define WX_STATFS_T $wx_cv_type_statvfs_t
27402_ACEOF
27403
27404else
27405 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27406echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27407fi
27408
27409if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27410
27411
27412for ac_func in fcntl flock
27413do
27414as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27415echo "$as_me:$LINENO: checking for $ac_func" >&5
27416echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27417if eval "test \"\${$as_ac_var+set}\" = set"; then
27418 echo $ECHO_N "(cached) $ECHO_C" >&6
27419else
27420 cat >conftest.$ac_ext <<_ACEOF
27421#line $LINENO "configure"
27422/* confdefs.h. */
27423_ACEOF
27424cat confdefs.h >>conftest.$ac_ext
27425cat >>conftest.$ac_ext <<_ACEOF
27426/* end confdefs.h. */
27427/* System header to define __stub macros and hopefully few prototypes,
27428 which can conflict with char $ac_func (); below.
27429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27430 <limits.h> exists even on freestanding compilers. */
27431#ifdef __STDC__
27432# include <limits.h>
27433#else
27434# include <assert.h>
27435#endif
27436/* Override any gcc2 internal prototype to avoid an error. */
27437#ifdef __cplusplus
27438extern "C"
27439{
27440#endif
27441/* We use char because int might match the return type of a gcc2
27442 builtin and then its argument prototype would still apply. */
27443char $ac_func ();
27444/* The GNU C library defines this for functions which it implements
27445 to always fail with ENOSYS. Some functions are actually named
27446 something starting with __ and the normal name is an alias. */
27447#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27448choke me
27449#else
27450char (*f) () = $ac_func;
27451#endif
27452#ifdef __cplusplus
27453}
27454#endif
27455
27456int
27457main ()
27458{
27459return f != $ac_func;
27460 ;
27461 return 0;
27462}
27463_ACEOF
27464rm -f conftest.$ac_objext conftest$ac_exeext
27465if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27466 (eval $ac_link) 2>&5
27467 ac_status=$?
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } &&
27470 { ac_try='test -s conftest$ac_exeext'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27473 ac_status=$?
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; }; then
27476 eval "$as_ac_var=yes"
27477else
27478 echo "$as_me: failed program was:" >&5
27479sed 's/^/| /' conftest.$ac_ext >&5
27480
27481eval "$as_ac_var=no"
27482fi
27483rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27484fi
27485echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27486echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27487if test `eval echo '${'$as_ac_var'}'` = yes; then
27488 cat >>confdefs.h <<_ACEOF
27489#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27490_ACEOF
27491 break
27492fi
27493done
27494
27495
27496 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27497 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27498echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27499 wxUSE_SNGLINST_CHECKER=no
27500 fi
27501fi
27502
27503
27504for ac_func in timegm
27505do
27506as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27507echo "$as_me:$LINENO: checking for $ac_func" >&5
27508echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27509if eval "test \"\${$as_ac_var+set}\" = set"; then
27510 echo $ECHO_N "(cached) $ECHO_C" >&6
27511else
27512 cat >conftest.$ac_ext <<_ACEOF
27513#line $LINENO "configure"
27514/* confdefs.h. */
27515_ACEOF
27516cat confdefs.h >>conftest.$ac_ext
27517cat >>conftest.$ac_ext <<_ACEOF
27518/* end confdefs.h. */
27519/* System header to define __stub macros and hopefully few prototypes,
27520 which can conflict with char $ac_func (); below.
27521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27522 <limits.h> exists even on freestanding compilers. */
27523#ifdef __STDC__
27524# include <limits.h>
27525#else
27526# include <assert.h>
27527#endif
27528/* Override any gcc2 internal prototype to avoid an error. */
27529#ifdef __cplusplus
27530extern "C"
27531{
27532#endif
27533/* We use char because int might match the return type of a gcc2
27534 builtin and then its argument prototype would still apply. */
27535char $ac_func ();
27536/* The GNU C library defines this for functions which it implements
27537 to always fail with ENOSYS. Some functions are actually named
27538 something starting with __ and the normal name is an alias. */
27539#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27540choke me
27541#else
27542char (*f) () = $ac_func;
27543#endif
27544#ifdef __cplusplus
27545}
27546#endif
27547
27548int
27549main ()
27550{
27551return f != $ac_func;
27552 ;
27553 return 0;
27554}
27555_ACEOF
27556rm -f conftest.$ac_objext conftest$ac_exeext
27557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27558 (eval $ac_link) 2>&5
27559 ac_status=$?
27560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27561 (exit $ac_status); } &&
27562 { ac_try='test -s conftest$ac_exeext'
27563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27564 (eval $ac_try) 2>&5
27565 ac_status=$?
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); }; }; then
27568 eval "$as_ac_var=yes"
27569else
27570 echo "$as_me: failed program was:" >&5
27571sed 's/^/| /' conftest.$ac_ext >&5
27572
27573eval "$as_ac_var=no"
27574fi
27575rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27576fi
27577echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27578echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27579if test `eval echo '${'$as_ac_var'}'` = yes; then
27580 cat >>confdefs.h <<_ACEOF
27581#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27582_ACEOF
27583
27584fi
27585done
27586
27587
27588
27589
27590for ac_func in putenv setenv
27591do
27592as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27593echo "$as_me:$LINENO: checking for $ac_func" >&5
27594echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27595if eval "test \"\${$as_ac_var+set}\" = set"; then
27596 echo $ECHO_N "(cached) $ECHO_C" >&6
27597else
27598 cat >conftest.$ac_ext <<_ACEOF
27599#line $LINENO "configure"
27600/* confdefs.h. */
27601_ACEOF
27602cat confdefs.h >>conftest.$ac_ext
27603cat >>conftest.$ac_ext <<_ACEOF
27604/* end confdefs.h. */
27605/* System header to define __stub macros and hopefully few prototypes,
27606 which can conflict with char $ac_func (); below.
27607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27608 <limits.h> exists even on freestanding compilers. */
27609#ifdef __STDC__
27610# include <limits.h>
27611#else
27612# include <assert.h>
27613#endif
27614/* Override any gcc2 internal prototype to avoid an error. */
27615#ifdef __cplusplus
27616extern "C"
27617{
27618#endif
27619/* We use char because int might match the return type of a gcc2
27620 builtin and then its argument prototype would still apply. */
27621char $ac_func ();
27622/* The GNU C library defines this for functions which it implements
27623 to always fail with ENOSYS. Some functions are actually named
27624 something starting with __ and the normal name is an alias. */
27625#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27626choke me
27627#else
27628char (*f) () = $ac_func;
27629#endif
27630#ifdef __cplusplus
27631}
27632#endif
27633
27634int
27635main ()
27636{
27637return f != $ac_func;
27638 ;
27639 return 0;
27640}
27641_ACEOF
27642rm -f conftest.$ac_objext conftest$ac_exeext
27643if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27644 (eval $ac_link) 2>&5
27645 ac_status=$?
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -s conftest$ac_exeext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27651 ac_status=$?
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
27654 eval "$as_ac_var=yes"
27655else
27656 echo "$as_me: failed program was:" >&5
27657sed 's/^/| /' conftest.$ac_ext >&5
27658
27659eval "$as_ac_var=no"
27660fi
27661rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27662fi
27663echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27664echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27665if test `eval echo '${'$as_ac_var'}'` = yes; then
27666 cat >>confdefs.h <<_ACEOF
27667#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27668_ACEOF
27669 break
27670fi
27671done
27672
27673
27674HAVE_SOME_SLEEP_FUNC=0
27675if test "$USE_BEOS" = 1; then
27676 cat >>confdefs.h <<\_ACEOF
27677#define HAVE_SLEEP 1
27678_ACEOF
27679
27680 HAVE_SOME_SLEEP_FUNC=1
27681fi
27682
27683if test "$USE_DARWIN" = 1; then
27684 cat >>confdefs.h <<\_ACEOF
27685#define HAVE_USLEEP 1
27686_ACEOF
27687
27688 HAVE_SOME_SLEEP_FUNC=1
27689fi
27690
27691if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27692 POSIX4_LINK=
27693
27694for ac_func in nanosleep
27695do
27696as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27697echo "$as_me:$LINENO: checking for $ac_func" >&5
27698echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27699if eval "test \"\${$as_ac_var+set}\" = set"; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6
27701else
27702 cat >conftest.$ac_ext <<_ACEOF
27703#line $LINENO "configure"
27704/* confdefs.h. */
27705_ACEOF
27706cat confdefs.h >>conftest.$ac_ext
27707cat >>conftest.$ac_ext <<_ACEOF
27708/* end confdefs.h. */
27709/* System header to define __stub macros and hopefully few prototypes,
27710 which can conflict with char $ac_func (); below.
27711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27712 <limits.h> exists even on freestanding compilers. */
27713#ifdef __STDC__
27714# include <limits.h>
27715#else
27716# include <assert.h>
27717#endif
27718/* Override any gcc2 internal prototype to avoid an error. */
27719#ifdef __cplusplus
27720extern "C"
27721{
27722#endif
27723/* We use char because int might match the return type of a gcc2
27724 builtin and then its argument prototype would still apply. */
27725char $ac_func ();
27726/* The GNU C library defines this for functions which it implements
27727 to always fail with ENOSYS. Some functions are actually named
27728 something starting with __ and the normal name is an alias. */
27729#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27730choke me
27731#else
27732char (*f) () = $ac_func;
27733#endif
27734#ifdef __cplusplus
27735}
27736#endif
27737
27738int
27739main ()
27740{
27741return f != $ac_func;
27742 ;
27743 return 0;
27744}
27745_ACEOF
27746rm -f conftest.$ac_objext conftest$ac_exeext
27747if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27748 (eval $ac_link) 2>&5
27749 ac_status=$?
27750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751 (exit $ac_status); } &&
27752 { ac_try='test -s conftest$ac_exeext'
27753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27754 (eval $ac_try) 2>&5
27755 ac_status=$?
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); }; }; then
27758 eval "$as_ac_var=yes"
27759else
27760 echo "$as_me: failed program was:" >&5
27761sed 's/^/| /' conftest.$ac_ext >&5
27762
27763eval "$as_ac_var=no"
27764fi
27765rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27766fi
27767echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27768echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27769if test `eval echo '${'$as_ac_var'}'` = yes; then
27770 cat >>confdefs.h <<_ACEOF
27771#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27772_ACEOF
27773 cat >>confdefs.h <<\_ACEOF
27774#define HAVE_NANOSLEEP 1
27775_ACEOF
27776
27777else
27778
27779 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27780echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27781if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27782 echo $ECHO_N "(cached) $ECHO_C" >&6
27783else
27784 ac_check_lib_save_LIBS=$LIBS
27785LIBS="-lposix4 $LIBS"
27786cat >conftest.$ac_ext <<_ACEOF
27787#line $LINENO "configure"
27788/* confdefs.h. */
27789_ACEOF
27790cat confdefs.h >>conftest.$ac_ext
27791cat >>conftest.$ac_ext <<_ACEOF
27792/* end confdefs.h. */
27793
27794/* Override any gcc2 internal prototype to avoid an error. */
27795#ifdef __cplusplus
27796extern "C"
27797#endif
27798/* We use char because int might match the return type of a gcc2
27799 builtin and then its argument prototype would still apply. */
27800char nanosleep ();
27801int
27802main ()
27803{
27804nanosleep ();
27805 ;
27806 return 0;
27807}
27808_ACEOF
27809rm -f conftest.$ac_objext conftest$ac_exeext
27810if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27811 (eval $ac_link) 2>&5
27812 ac_status=$?
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } &&
27815 { ac_try='test -s conftest$ac_exeext'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27818 ac_status=$?
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; }; then
27821 ac_cv_lib_posix4_nanosleep=yes
27822else
27823 echo "$as_me: failed program was:" >&5
27824sed 's/^/| /' conftest.$ac_ext >&5
27825
27826ac_cv_lib_posix4_nanosleep=no
27827fi
27828rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27829LIBS=$ac_check_lib_save_LIBS
27830fi
27831echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27832echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27833if test $ac_cv_lib_posix4_nanosleep = yes; then
27834
27835 cat >>confdefs.h <<\_ACEOF
27836#define HAVE_NANOSLEEP 1
27837_ACEOF
27838
27839 POSIX4_LINK=" -lposix4"
27840
27841else
27842
27843
27844for ac_func in usleep
27845do
27846as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27847echo "$as_me:$LINENO: checking for $ac_func" >&5
27848echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27849if eval "test \"\${$as_ac_var+set}\" = set"; then
27850 echo $ECHO_N "(cached) $ECHO_C" >&6
27851else
27852 cat >conftest.$ac_ext <<_ACEOF
27853#line $LINENO "configure"
27854/* confdefs.h. */
27855_ACEOF
27856cat confdefs.h >>conftest.$ac_ext
27857cat >>conftest.$ac_ext <<_ACEOF
27858/* end confdefs.h. */
27859/* System header to define __stub macros and hopefully few prototypes,
27860 which can conflict with char $ac_func (); below.
27861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27862 <limits.h> exists even on freestanding compilers. */
27863#ifdef __STDC__
27864# include <limits.h>
27865#else
27866# include <assert.h>
27867#endif
27868/* Override any gcc2 internal prototype to avoid an error. */
27869#ifdef __cplusplus
27870extern "C"
27871{
27872#endif
27873/* We use char because int might match the return type of a gcc2
27874 builtin and then its argument prototype would still apply. */
27875char $ac_func ();
27876/* The GNU C library defines this for functions which it implements
27877 to always fail with ENOSYS. Some functions are actually named
27878 something starting with __ and the normal name is an alias. */
27879#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27880choke me
27881#else
27882char (*f) () = $ac_func;
27883#endif
27884#ifdef __cplusplus
27885}
27886#endif
27887
27888int
27889main ()
27890{
27891return f != $ac_func;
27892 ;
27893 return 0;
27894}
27895_ACEOF
27896rm -f conftest.$ac_objext conftest$ac_exeext
27897if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27898 (eval $ac_link) 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } &&
27902 { ac_try='test -s conftest$ac_exeext'
27903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27904 (eval $ac_try) 2>&5
27905 ac_status=$?
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); }; }; then
27908 eval "$as_ac_var=yes"
27909else
27910 echo "$as_me: failed program was:" >&5
27911sed 's/^/| /' conftest.$ac_ext >&5
27912
27913eval "$as_ac_var=no"
27914fi
27915rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27916fi
27917echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27918echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27919if test `eval echo '${'$as_ac_var'}'` = yes; then
27920 cat >>confdefs.h <<_ACEOF
27921#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27922_ACEOF
27923 cat >>confdefs.h <<\_ACEOF
27924#define HAVE_USLEEP 1
27925_ACEOF
27926
27927else
27928 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27929echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27930
27931fi
27932done
27933
27934
27935
27936fi
27937
27938
27939
27940fi
27941done
27942
27943fi
27944
27945
27946
27947for ac_func in uname gethostname
27948do
27949as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27950echo "$as_me:$LINENO: checking for $ac_func" >&5
27951echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27952if eval "test \"\${$as_ac_var+set}\" = set"; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954else
27955 cat >conftest.$ac_ext <<_ACEOF
27956#line $LINENO "configure"
27957/* confdefs.h. */
27958_ACEOF
27959cat confdefs.h >>conftest.$ac_ext
27960cat >>conftest.$ac_ext <<_ACEOF
27961/* end confdefs.h. */
27962/* System header to define __stub macros and hopefully few prototypes,
27963 which can conflict with char $ac_func (); below.
27964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27965 <limits.h> exists even on freestanding compilers. */
27966#ifdef __STDC__
27967# include <limits.h>
27968#else
27969# include <assert.h>
27970#endif
27971/* Override any gcc2 internal prototype to avoid an error. */
27972#ifdef __cplusplus
27973extern "C"
27974{
27975#endif
27976/* We use char because int might match the return type of a gcc2
27977 builtin and then its argument prototype would still apply. */
27978char $ac_func ();
27979/* The GNU C library defines this for functions which it implements
27980 to always fail with ENOSYS. Some functions are actually named
27981 something starting with __ and the normal name is an alias. */
27982#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27983choke me
27984#else
27985char (*f) () = $ac_func;
27986#endif
27987#ifdef __cplusplus
27988}
27989#endif
27990
27991int
27992main ()
27993{
27994return f != $ac_func;
27995 ;
27996 return 0;
27997}
27998_ACEOF
27999rm -f conftest.$ac_objext conftest$ac_exeext
28000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28001 (eval $ac_link) 2>&5
28002 ac_status=$?
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); } &&
28005 { ac_try='test -s conftest$ac_exeext'
28006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28007 (eval $ac_try) 2>&5
28008 ac_status=$?
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); }; }; then
28011 eval "$as_ac_var=yes"
28012else
28013 echo "$as_me: failed program was:" >&5
28014sed 's/^/| /' conftest.$ac_ext >&5
28015
28016eval "$as_ac_var=no"
28017fi
28018rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28019fi
28020echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28021echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28022if test `eval echo '${'$as_ac_var'}'` = yes; then
28023 cat >>confdefs.h <<_ACEOF
28024#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28025_ACEOF
28026 break
28027fi
28028done
28029
28030
28031
28032
28033ac_ext=cc
28034ac_cpp='$CXXCPP $CPPFLAGS'
28035ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28038
28039
28040
28041for ac_func in strtok_r
28042do
28043as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28044echo "$as_me:$LINENO: checking for $ac_func" >&5
28045echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28046if eval "test \"\${$as_ac_var+set}\" = set"; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28048else
28049 cat >conftest.$ac_ext <<_ACEOF
28050#line $LINENO "configure"
28051/* confdefs.h. */
28052_ACEOF
28053cat confdefs.h >>conftest.$ac_ext
28054cat >>conftest.$ac_ext <<_ACEOF
28055/* end confdefs.h. */
28056/* System header to define __stub macros and hopefully few prototypes,
28057 which can conflict with char $ac_func (); below.
28058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28059 <limits.h> exists even on freestanding compilers. */
28060#ifdef __STDC__
28061# include <limits.h>
28062#else
28063# include <assert.h>
28064#endif
28065/* Override any gcc2 internal prototype to avoid an error. */
28066#ifdef __cplusplus
28067extern "C"
28068{
28069#endif
28070/* We use char because int might match the return type of a gcc2
28071 builtin and then its argument prototype would still apply. */
28072char $ac_func ();
28073/* The GNU C library defines this for functions which it implements
28074 to always fail with ENOSYS. Some functions are actually named
28075 something starting with __ and the normal name is an alias. */
28076#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28077choke me
28078#else
28079char (*f) () = $ac_func;
28080#endif
28081#ifdef __cplusplus
28082}
28083#endif
28084
28085int
28086main ()
28087{
28088return f != $ac_func;
28089 ;
28090 return 0;
28091}
28092_ACEOF
28093rm -f conftest.$ac_objext conftest$ac_exeext
28094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28095 (eval $ac_link) 2>&5
28096 ac_status=$?
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); } &&
28099 { ac_try='test -s conftest$ac_exeext'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; }; then
28105 eval "$as_ac_var=yes"
28106else
28107 echo "$as_me: failed program was:" >&5
28108sed 's/^/| /' conftest.$ac_ext >&5
28109
28110eval "$as_ac_var=no"
28111fi
28112rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28113fi
28114echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28115echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28116if test `eval echo '${'$as_ac_var'}'` = yes; then
28117 cat >>confdefs.h <<_ACEOF
28118#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28119_ACEOF
28120
28121fi
28122done
28123
28124
28125ac_ext=c
28126ac_cpp='$CPP $CPPFLAGS'
28127ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28128ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28129ac_compiler_gnu=$ac_cv_c_compiler_gnu
28130
28131
28132INET_LINK=
28133
28134for ac_func in inet_addr
28135do
28136as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28137echo "$as_me:$LINENO: checking for $ac_func" >&5
28138echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28139if eval "test \"\${$as_ac_var+set}\" = set"; then
28140 echo $ECHO_N "(cached) $ECHO_C" >&6
28141else
28142 cat >conftest.$ac_ext <<_ACEOF
28143#line $LINENO "configure"
28144/* confdefs.h. */
28145_ACEOF
28146cat confdefs.h >>conftest.$ac_ext
28147cat >>conftest.$ac_ext <<_ACEOF
28148/* end confdefs.h. */
28149/* System header to define __stub macros and hopefully few prototypes,
28150 which can conflict with char $ac_func (); below.
28151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28152 <limits.h> exists even on freestanding compilers. */
28153#ifdef __STDC__
28154# include <limits.h>
28155#else
28156# include <assert.h>
28157#endif
28158/* Override any gcc2 internal prototype to avoid an error. */
28159#ifdef __cplusplus
28160extern "C"
28161{
28162#endif
28163/* We use char because int might match the return type of a gcc2
28164 builtin and then its argument prototype would still apply. */
28165char $ac_func ();
28166/* The GNU C library defines this for functions which it implements
28167 to always fail with ENOSYS. Some functions are actually named
28168 something starting with __ and the normal name is an alias. */
28169#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28170choke me
28171#else
28172char (*f) () = $ac_func;
28173#endif
28174#ifdef __cplusplus
28175}
28176#endif
28177
28178int
28179main ()
28180{
28181return f != $ac_func;
28182 ;
28183 return 0;
28184}
28185_ACEOF
28186rm -f conftest.$ac_objext conftest$ac_exeext
28187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28188 (eval $ac_link) 2>&5
28189 ac_status=$?
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); } &&
28192 { ac_try='test -s conftest$ac_exeext'
28193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28194 (eval $ac_try) 2>&5
28195 ac_status=$?
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; }; then
28198 eval "$as_ac_var=yes"
28199else
28200 echo "$as_me: failed program was:" >&5
28201sed 's/^/| /' conftest.$ac_ext >&5
28202
28203eval "$as_ac_var=no"
28204fi
28205rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28206fi
28207echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28208echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28209if test `eval echo '${'$as_ac_var'}'` = yes; then
28210 cat >>confdefs.h <<_ACEOF
28211#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28212_ACEOF
28213 cat >>confdefs.h <<\_ACEOF
28214#define HAVE_INET_ADDR 1
28215_ACEOF
28216
28217else
28218
28219 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28220echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28221if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28222 echo $ECHO_N "(cached) $ECHO_C" >&6
28223else
28224 ac_check_lib_save_LIBS=$LIBS
28225LIBS="-lnsl $LIBS"
28226cat >conftest.$ac_ext <<_ACEOF
28227#line $LINENO "configure"
28228/* confdefs.h. */
28229_ACEOF
28230cat confdefs.h >>conftest.$ac_ext
28231cat >>conftest.$ac_ext <<_ACEOF
28232/* end confdefs.h. */
28233
28234/* Override any gcc2 internal prototype to avoid an error. */
28235#ifdef __cplusplus
28236extern "C"
28237#endif
28238/* We use char because int might match the return type of a gcc2
28239 builtin and then its argument prototype would still apply. */
28240char inet_addr ();
28241int
28242main ()
28243{
28244inet_addr ();
28245 ;
28246 return 0;
28247}
28248_ACEOF
28249rm -f conftest.$ac_objext conftest$ac_exeext
28250if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28251 (eval $ac_link) 2>&5
28252 ac_status=$?
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } &&
28255 { ac_try='test -s conftest$ac_exeext'
28256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28257 (eval $ac_try) 2>&5
28258 ac_status=$?
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); }; }; then
28261 ac_cv_lib_nsl_inet_addr=yes
28262else
28263 echo "$as_me: failed program was:" >&5
28264sed 's/^/| /' conftest.$ac_ext >&5
28265
28266ac_cv_lib_nsl_inet_addr=no
28267fi
28268rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28269LIBS=$ac_check_lib_save_LIBS
28270fi
28271echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28272echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28273if test $ac_cv_lib_nsl_inet_addr = yes; then
28274 INET_LINK="nsl"
28275else
28276 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28277echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28278if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28280else
28281 ac_check_lib_save_LIBS=$LIBS
28282LIBS="-lresolv $LIBS"
28283cat >conftest.$ac_ext <<_ACEOF
28284#line $LINENO "configure"
28285/* confdefs.h. */
28286_ACEOF
28287cat confdefs.h >>conftest.$ac_ext
28288cat >>conftest.$ac_ext <<_ACEOF
28289/* end confdefs.h. */
28290
28291/* Override any gcc2 internal prototype to avoid an error. */
28292#ifdef __cplusplus
28293extern "C"
28294#endif
28295/* We use char because int might match the return type of a gcc2
28296 builtin and then its argument prototype would still apply. */
28297char inet_addr ();
28298int
28299main ()
28300{
28301inet_addr ();
28302 ;
28303 return 0;
28304}
28305_ACEOF
28306rm -f conftest.$ac_objext conftest$ac_exeext
28307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28308 (eval $ac_link) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } &&
28312 { ac_try='test -s conftest$ac_exeext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318 ac_cv_lib_resolv_inet_addr=yes
28319else
28320 echo "$as_me: failed program was:" >&5
28321sed 's/^/| /' conftest.$ac_ext >&5
28322
28323ac_cv_lib_resolv_inet_addr=no
28324fi
28325rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28326LIBS=$ac_check_lib_save_LIBS
28327fi
28328echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28329echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28330if test $ac_cv_lib_resolv_inet_addr = yes; then
28331 INET_LINK="resolv"
28332else
28333 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28334echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28335if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28337else
28338 ac_check_lib_save_LIBS=$LIBS
28339LIBS="-lsocket $LIBS"
28340cat >conftest.$ac_ext <<_ACEOF
28341#line $LINENO "configure"
28342/* confdefs.h. */
28343_ACEOF
28344cat confdefs.h >>conftest.$ac_ext
28345cat >>conftest.$ac_ext <<_ACEOF
28346/* end confdefs.h. */
28347
28348/* Override any gcc2 internal prototype to avoid an error. */
28349#ifdef __cplusplus
28350extern "C"
28351#endif
28352/* We use char because int might match the return type of a gcc2
28353 builtin and then its argument prototype would still apply. */
28354char inet_addr ();
28355int
28356main ()
28357{
28358inet_addr ();
28359 ;
28360 return 0;
28361}
28362_ACEOF
28363rm -f conftest.$ac_objext conftest$ac_exeext
28364if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28365 (eval $ac_link) 2>&5
28366 ac_status=$?
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } &&
28369 { ac_try='test -s conftest$ac_exeext'
28370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28371 (eval $ac_try) 2>&5
28372 ac_status=$?
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); }; }; then
28375 ac_cv_lib_socket_inet_addr=yes
28376else
28377 echo "$as_me: failed program was:" >&5
28378sed 's/^/| /' conftest.$ac_ext >&5
28379
28380ac_cv_lib_socket_inet_addr=no
28381fi
28382rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28383LIBS=$ac_check_lib_save_LIBS
28384fi
28385echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28386echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28387if test $ac_cv_lib_socket_inet_addr = yes; then
28388 INET_LINK="socket"
28389
28390fi
28391
28392
28393fi
28394
28395
28396fi
28397
28398
28399
28400fi
28401done
28402
28403
28404
28405for ac_func in inet_aton
28406do
28407as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28408echo "$as_me:$LINENO: checking for $ac_func" >&5
28409echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28410if eval "test \"\${$as_ac_var+set}\" = set"; then
28411 echo $ECHO_N "(cached) $ECHO_C" >&6
28412else
28413 cat >conftest.$ac_ext <<_ACEOF
28414#line $LINENO "configure"
28415/* confdefs.h. */
28416_ACEOF
28417cat confdefs.h >>conftest.$ac_ext
28418cat >>conftest.$ac_ext <<_ACEOF
28419/* end confdefs.h. */
28420/* System header to define __stub macros and hopefully few prototypes,
28421 which can conflict with char $ac_func (); below.
28422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28423 <limits.h> exists even on freestanding compilers. */
28424#ifdef __STDC__
28425# include <limits.h>
28426#else
28427# include <assert.h>
28428#endif
28429/* Override any gcc2 internal prototype to avoid an error. */
28430#ifdef __cplusplus
28431extern "C"
28432{
28433#endif
28434/* We use char because int might match the return type of a gcc2
28435 builtin and then its argument prototype would still apply. */
28436char $ac_func ();
28437/* The GNU C library defines this for functions which it implements
28438 to always fail with ENOSYS. Some functions are actually named
28439 something starting with __ and the normal name is an alias. */
28440#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28441choke me
28442#else
28443char (*f) () = $ac_func;
28444#endif
28445#ifdef __cplusplus
28446}
28447#endif
28448
28449int
28450main ()
28451{
28452return f != $ac_func;
28453 ;
28454 return 0;
28455}
28456_ACEOF
28457rm -f conftest.$ac_objext conftest$ac_exeext
28458if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28459 (eval $ac_link) 2>&5
28460 ac_status=$?
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } &&
28463 { ac_try='test -s conftest$ac_exeext'
28464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28465 (eval $ac_try) 2>&5
28466 ac_status=$?
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); }; }; then
28469 eval "$as_ac_var=yes"
28470else
28471 echo "$as_me: failed program was:" >&5
28472sed 's/^/| /' conftest.$ac_ext >&5
28473
28474eval "$as_ac_var=no"
28475fi
28476rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28477fi
28478echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28479echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28480if test `eval echo '${'$as_ac_var'}'` = yes; then
28481 cat >>confdefs.h <<_ACEOF
28482#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28483_ACEOF
28484 cat >>confdefs.h <<\_ACEOF
28485#define HAVE_INET_ATON 1
28486_ACEOF
28487
28488else
28489
28490 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28491echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28492echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28493if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28495else
28496 ac_check_lib_save_LIBS=$LIBS
28497LIBS="-l$INET_LINK $LIBS"
28498cat >conftest.$ac_ext <<_ACEOF
28499#line $LINENO "configure"
28500/* confdefs.h. */
28501_ACEOF
28502cat confdefs.h >>conftest.$ac_ext
28503cat >>conftest.$ac_ext <<_ACEOF
28504/* end confdefs.h. */
28505
28506/* Override any gcc2 internal prototype to avoid an error. */
28507#ifdef __cplusplus
28508extern "C"
28509#endif
28510/* We use char because int might match the return type of a gcc2
28511 builtin and then its argument prototype would still apply. */
28512char inet_aton ();
28513int
28514main ()
28515{
28516inet_aton ();
28517 ;
28518 return 0;
28519}
28520_ACEOF
28521rm -f conftest.$ac_objext conftest$ac_exeext
28522if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28523 (eval $ac_link) 2>&5
28524 ac_status=$?
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); } &&
28527 { ac_try='test -s conftest$ac_exeext'
28528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28529 (eval $ac_try) 2>&5
28530 ac_status=$?
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); }; }; then
28533 eval "$as_ac_Lib=yes"
28534else
28535 echo "$as_me: failed program was:" >&5
28536sed 's/^/| /' conftest.$ac_ext >&5
28537
28538eval "$as_ac_Lib=no"
28539fi
28540rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28541LIBS=$ac_check_lib_save_LIBS
28542fi
28543echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28544echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28545if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28546 cat >>confdefs.h <<\_ACEOF
28547#define HAVE_INET_ATON 1
28548_ACEOF
28549
28550fi
28551
28552
28553fi
28554done
28555
28556
28557if test "x$INET_LINK" != "x"; then
28558 cat >>confdefs.h <<\_ACEOF
28559#define HAVE_INET_ADDR 1
28560_ACEOF
28561
28562 INET_LINK=" -l$INET_LINK"
28563fi
28564
28565fi
28566
28567
28568
28569ESD_LINK=
28570if test "${ac_cv_header_esd_h+set}" = set; then
28571 echo "$as_me:$LINENO: checking for esd.h" >&5
28572echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28573if test "${ac_cv_header_esd_h+set}" = set; then
28574 echo $ECHO_N "(cached) $ECHO_C" >&6
28575fi
28576echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28577echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28578else
28579 # Is the header compilable?
28580echo "$as_me:$LINENO: checking esd.h usability" >&5
28581echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28582cat >conftest.$ac_ext <<_ACEOF
28583#line $LINENO "configure"
28584/* confdefs.h. */
28585_ACEOF
28586cat confdefs.h >>conftest.$ac_ext
28587cat >>conftest.$ac_ext <<_ACEOF
28588/* end confdefs.h. */
28589$ac_includes_default
28590#include <esd.h>
28591_ACEOF
28592rm -f conftest.$ac_objext
28593if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28594 (eval $ac_compile) 2>&5
28595 ac_status=$?
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); } &&
28598 { ac_try='test -s conftest.$ac_objext'
28599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 (eval $ac_try) 2>&5
28601 ac_status=$?
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); }; }; then
28604 ac_header_compiler=yes
28605else
28606 echo "$as_me: failed program was:" >&5
28607sed 's/^/| /' conftest.$ac_ext >&5
28608
28609ac_header_compiler=no
28610fi
28611rm -f conftest.$ac_objext conftest.$ac_ext
28612echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28613echo "${ECHO_T}$ac_header_compiler" >&6
28614
28615# Is the header present?
28616echo "$as_me:$LINENO: checking esd.h presence" >&5
28617echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28618cat >conftest.$ac_ext <<_ACEOF
28619#line $LINENO "configure"
28620/* confdefs.h. */
28621_ACEOF
28622cat confdefs.h >>conftest.$ac_ext
28623cat >>conftest.$ac_ext <<_ACEOF
28624/* end confdefs.h. */
28625#include <esd.h>
28626_ACEOF
28627if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28629 ac_status=$?
28630 grep -v '^ *+' conftest.er1 >conftest.err
28631 rm -f conftest.er1
28632 cat conftest.err >&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } >/dev/null; then
28635 if test -s conftest.err; then
28636 ac_cpp_err=$ac_c_preproc_warn_flag
28637 else
28638 ac_cpp_err=
28639 fi
28640else
28641 ac_cpp_err=yes
28642fi
28643if test -z "$ac_cpp_err"; then
28644 ac_header_preproc=yes
28645else
28646 echo "$as_me: failed program was:" >&5
28647sed 's/^/| /' conftest.$ac_ext >&5
28648
28649 ac_header_preproc=no
28650fi
28651rm -f conftest.err conftest.$ac_ext
28652echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28653echo "${ECHO_T}$ac_header_preproc" >&6
28654
28655# So? What about this header?
28656case $ac_header_compiler:$ac_header_preproc in
28657 yes:no )
28658 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28659echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28660 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28661echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28662 (
28663 cat <<\_ASBOX
28664## ------------------------------------ ##
28665## Report this to bug-autoconf@gnu.org. ##
28666## ------------------------------------ ##
28667_ASBOX
28668 ) |
28669 sed "s/^/$as_me: WARNING: /" >&2
28670 ;;
28671 no:yes )
28672 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28673echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28674 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28675echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28676 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28677echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28678 (
28679 cat <<\_ASBOX
28680## ------------------------------------ ##
28681## Report this to bug-autoconf@gnu.org. ##
28682## ------------------------------------ ##
28683_ASBOX
28684 ) |
28685 sed "s/^/$as_me: WARNING: /" >&2
28686 ;;
28687esac
28688echo "$as_me:$LINENO: checking for esd.h" >&5
28689echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28690if test "${ac_cv_header_esd_h+set}" = set; then
28691 echo $ECHO_N "(cached) $ECHO_C" >&6
28692else
28693 ac_cv_header_esd_h=$ac_header_preproc
28694fi
28695echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28696echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28697
28698fi
28699if test $ac_cv_header_esd_h = yes; then
28700
28701 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28702echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28703if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28705else
28706 ac_check_lib_save_LIBS=$LIBS
28707LIBS="-lesd $LIBS"
28708cat >conftest.$ac_ext <<_ACEOF
28709#line $LINENO "configure"
28710/* confdefs.h. */
28711_ACEOF
28712cat confdefs.h >>conftest.$ac_ext
28713cat >>conftest.$ac_ext <<_ACEOF
28714/* end confdefs.h. */
28715
28716/* Override any gcc2 internal prototype to avoid an error. */
28717#ifdef __cplusplus
28718extern "C"
28719#endif
28720/* We use char because int might match the return type of a gcc2
28721 builtin and then its argument prototype would still apply. */
28722char esd_close ();
28723int
28724main ()
28725{
28726esd_close ();
28727 ;
28728 return 0;
28729}
28730_ACEOF
28731rm -f conftest.$ac_objext conftest$ac_exeext
28732if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28733 (eval $ac_link) 2>&5
28734 ac_status=$?
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); } &&
28737 { ac_try='test -s conftest$ac_exeext'
28738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28739 (eval $ac_try) 2>&5
28740 ac_status=$?
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); }; }; then
28743 ac_cv_lib_esd_esd_close=yes
28744else
28745 echo "$as_me: failed program was:" >&5
28746sed 's/^/| /' conftest.$ac_ext >&5
28747
28748ac_cv_lib_esd_esd_close=no
28749fi
28750rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28751LIBS=$ac_check_lib_save_LIBS
28752fi
28753echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28754echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28755if test $ac_cv_lib_esd_esd_close = yes; then
28756
28757 ESD_LINK="-lesd"
28758
28759fi
28760
28761
28762fi
28763
28764
28765
28766
28767
28768cat >confcache <<\_ACEOF
28769# This file is a shell script that caches the results of configure
28770# tests run on this system so they can be shared between configure
28771# scripts and configure runs, see configure's option --config-cache.
28772# It is not useful on other systems. If it contains results you don't
28773# want to keep, you may remove or edit it.
28774#
28775# config.status only pays attention to the cache file if you give it
28776# the --recheck option to rerun configure.
28777#
28778# `ac_cv_env_foo' variables (set or unset) will be overridden when
28779# loading this file, other *unset* `ac_cv_foo' will be assigned the
28780# following values.
28781
28782_ACEOF
28783
28784# The following way of writing the cache mishandles newlines in values,
28785# but we know of no workaround that is simple, portable, and efficient.
28786# So, don't put newlines in cache variables' values.
28787# Ultrix sh set writes to stderr and can't be redirected directly,
28788# and sets the high bit in the cache file unless we assign to the vars.
28789{
28790 (set) 2>&1 |
28791 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28792 *ac_space=\ *)
28793 # `set' does not quote correctly, so add quotes (double-quote
28794 # substitution turns \\\\ into \\, and sed turns \\ into \).
28795 sed -n \
28796 "s/'/'\\\\''/g;
28797 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28798 ;;
28799 *)
28800 # `set' quotes correctly as required by POSIX, so do not add quotes.
28801 sed -n \
28802 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28803 ;;
28804 esac;
28805} |
28806 sed '
28807 t clear
28808 : clear
28809 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28810 t end
28811 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28812 : end' >>confcache
28813if diff $cache_file confcache >/dev/null 2>&1; then :; else
28814 if test -w $cache_file; then
28815 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28816 cat confcache >$cache_file
28817 else
28818 echo "not updating unwritable cache $cache_file"
28819 fi
28820fi
28821rm -f confcache
28822
28823
28824CPP_MT_FLAG=
28825if test "$TOOLKIT" != "MSW"; then
28826
28827
28828 THREADS_LINK=
28829 THREADS_CFLAGS=
28830
28831 if test "$wxUSE_THREADS" = "yes" ; then
28832 if test "$USE_BEOS" = 1; then
28833 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28834echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28835 wxUSE_THREADS="no"
28836 fi
28837 fi
28838
28839 if test "$wxUSE_THREADS" = "yes" ; then
28840
28841
28842 THREAD_OPTS="-pthread"
28843 case "${host}" in
28844 *-*-solaris2* | *-*-sunos4* )
28845 if test "x$GCC" = "xyes"; then
28846 THREAD_OPTS="-pthreads $THREAD_OPTS"
28847 else
28848 THREAD_OPTS="-mt $THREAD_OPTS"
28849 fi
28850 ;;
28851 *-*-freebsd*)
28852 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28853 ;;
28854 *-*-darwin* | *-*-cygwin* )
28855 THREAD_OPTS=""
28856 ;;
28857 *-*-aix*)
28858 THREAD_OPTS="pthreads"
28859 ;;
28860 *-hp-hpux* )
28861 if test "x$GCC" != "xyes"; then
28862 THREAD_OPTS=""
28863 fi
28864 ;;
28865
28866 *-*-irix* )
28867 if test "x$GCC" = "xyes"; then
28868 THREAD_OPTS=""
28869 fi
28870 ;;
28871
28872 *-*-*UnixWare*)
28873 if test "x$GCC" != "xyes"; then
28874 THREAD_OPTS="-Ethread"
28875 fi
28876 ;;
28877 esac
28878
28879 THREAD_OPTS="$THREAD_OPTS pthread none"
28880
28881 THREADS_OK=no
28882 for flag in $THREAD_OPTS; do
28883 case $flag in
28884 none)
28885 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28886echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28887 ;;
28888
28889 -*)
28890 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28891echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28892 THREADS_CFLAGS="$flag"
28893 ;;
28894
28895 *)
28896 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28897echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28898 THREADS_LINK="-l$flag"
28899 ;;
28900 esac
28901
28902 save_LIBS="$LIBS"
28903 save_CFLAGS="$CFLAGS"
28904 LIBS="$THREADS_LINK $LIBS"
28905 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28906
28907 cat >conftest.$ac_ext <<_ACEOF
28908#line $LINENO "configure"
28909/* confdefs.h. */
28910_ACEOF
28911cat confdefs.h >>conftest.$ac_ext
28912cat >>conftest.$ac_ext <<_ACEOF
28913/* end confdefs.h. */
28914#include <pthread.h>
28915int
28916main ()
28917{
28918pthread_create(0,0,0,0);
28919 ;
28920 return 0;
28921}
28922_ACEOF
28923rm -f conftest.$ac_objext conftest$ac_exeext
28924if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28925 (eval $ac_link) 2>&5
28926 ac_status=$?
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); } &&
28929 { ac_try='test -s conftest$ac_exeext'
28930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931 (eval $ac_try) 2>&5
28932 ac_status=$?
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); }; }; then
28935 THREADS_OK=yes
28936else
28937 echo "$as_me: failed program was:" >&5
28938sed 's/^/| /' conftest.$ac_ext >&5
28939
28940fi
28941rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28942
28943 LIBS="$save_LIBS"
28944 CFLAGS="$save_CFLAGS"
28945
28946 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28947echo "${ECHO_T}$THREADS_OK" >&6
28948 if test "x$THREADS_OK" = "xyes"; then
28949 break;
28950 fi
28951
28952 THREADS_LINK=""
28953 THREADS_CFLAGS=""
28954 done
28955
28956 if test "x$THREADS_OK" != "xyes"; then
28957 wxUSE_THREADS=no
28958 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28959echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28960 else
28961 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28962 LIBS="$THREADS_LINK $LIBS"
28963
28964 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28965echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28966 flag=no
28967 case "${host}" in
28968 *-aix*)
28969 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28970 flag="-D_THREAD_SAFE"
28971 ;;
28972 *-freebsd*)
28973 flag="-D_THREAD_SAFE"
28974 ;;
28975 *-hp-hpux* )
28976 flag="-D_REENTRANT"
28977 if test "x$GCC" != "xyes"; then
28978 flag="$flag -D_RWSTD_MULTI_THREAD"
28979 fi
28980 ;;
28981 *solaris* | alpha*-osf*)
28982 flag="-D_REENTRANT"
28983 ;;
28984 esac
28985 echo "$as_me:$LINENO: result: ${flag}" >&5
28986echo "${ECHO_T}${flag}" >&6
28987 if test "x$flag" != xno; then
28988 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28989 fi
28990
28991 if test "x$THREADS_CFLAGS" != "x"; then
28992 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28993 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28994 fi
28995 fi
28996 fi
28997
28998 if test "$wxUSE_THREADS" = "yes" ; then
28999
29000for ac_func in thr_setconcurrency
29001do
29002as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29003echo "$as_me:$LINENO: checking for $ac_func" >&5
29004echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29005if eval "test \"\${$as_ac_var+set}\" = set"; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29007else
29008 cat >conftest.$ac_ext <<_ACEOF
29009#line $LINENO "configure"
29010/* confdefs.h. */
29011_ACEOF
29012cat confdefs.h >>conftest.$ac_ext
29013cat >>conftest.$ac_ext <<_ACEOF
29014/* end confdefs.h. */
29015/* System header to define __stub macros and hopefully few prototypes,
29016 which can conflict with char $ac_func (); below.
29017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29018 <limits.h> exists even on freestanding compilers. */
29019#ifdef __STDC__
29020# include <limits.h>
29021#else
29022# include <assert.h>
29023#endif
29024/* Override any gcc2 internal prototype to avoid an error. */
29025#ifdef __cplusplus
29026extern "C"
29027{
29028#endif
29029/* We use char because int might match the return type of a gcc2
29030 builtin and then its argument prototype would still apply. */
29031char $ac_func ();
29032/* The GNU C library defines this for functions which it implements
29033 to always fail with ENOSYS. Some functions are actually named
29034 something starting with __ and the normal name is an alias. */
29035#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29036choke me
29037#else
29038char (*f) () = $ac_func;
29039#endif
29040#ifdef __cplusplus
29041}
29042#endif
29043
29044int
29045main ()
29046{
29047return f != $ac_func;
29048 ;
29049 return 0;
29050}
29051_ACEOF
29052rm -f conftest.$ac_objext conftest$ac_exeext
29053if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29054 (eval $ac_link) 2>&5
29055 ac_status=$?
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); } &&
29058 { ac_try='test -s conftest$ac_exeext'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29061 ac_status=$?
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; }; then
29064 eval "$as_ac_var=yes"
29065else
29066 echo "$as_me: failed program was:" >&5
29067sed 's/^/| /' conftest.$ac_ext >&5
29068
29069eval "$as_ac_var=no"
29070fi
29071rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29072fi
29073echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29074echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29075if test `eval echo '${'$as_ac_var'}'` = yes; then
29076 cat >>confdefs.h <<_ACEOF
29077#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29078_ACEOF
29079
29080fi
29081done
29082
29083
29084
29085for ac_header in sched.h
29086do
29087as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29088if eval "test \"\${$as_ac_Header+set}\" = set"; then
29089 echo "$as_me:$LINENO: checking for $ac_header" >&5
29090echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29091if eval "test \"\${$as_ac_Header+set}\" = set"; then
29092 echo $ECHO_N "(cached) $ECHO_C" >&6
29093fi
29094echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29095echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29096else
29097 # Is the header compilable?
29098echo "$as_me:$LINENO: checking $ac_header usability" >&5
29099echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29100cat >conftest.$ac_ext <<_ACEOF
29101#line $LINENO "configure"
29102/* confdefs.h. */
29103_ACEOF
29104cat confdefs.h >>conftest.$ac_ext
29105cat >>conftest.$ac_ext <<_ACEOF
29106/* end confdefs.h. */
29107$ac_includes_default
29108#include <$ac_header>
29109_ACEOF
29110rm -f conftest.$ac_objext
29111if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29112 (eval $ac_compile) 2>&5
29113 ac_status=$?
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } &&
29116 { ac_try='test -s conftest.$ac_objext'
29117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118 (eval $ac_try) 2>&5
29119 ac_status=$?
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; }; then
29122 ac_header_compiler=yes
29123else
29124 echo "$as_me: failed program was:" >&5
29125sed 's/^/| /' conftest.$ac_ext >&5
29126
29127ac_header_compiler=no
29128fi
29129rm -f conftest.$ac_objext conftest.$ac_ext
29130echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29131echo "${ECHO_T}$ac_header_compiler" >&6
29132
29133# Is the header present?
29134echo "$as_me:$LINENO: checking $ac_header presence" >&5
29135echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29136cat >conftest.$ac_ext <<_ACEOF
29137#line $LINENO "configure"
29138/* confdefs.h. */
29139_ACEOF
29140cat confdefs.h >>conftest.$ac_ext
29141cat >>conftest.$ac_ext <<_ACEOF
29142/* end confdefs.h. */
29143#include <$ac_header>
29144_ACEOF
29145if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29147 ac_status=$?
29148 grep -v '^ *+' conftest.er1 >conftest.err
29149 rm -f conftest.er1
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } >/dev/null; then
29153 if test -s conftest.err; then
29154 ac_cpp_err=$ac_c_preproc_warn_flag
29155 else
29156 ac_cpp_err=
29157 fi
29158else
29159 ac_cpp_err=yes
29160fi
29161if test -z "$ac_cpp_err"; then
29162 ac_header_preproc=yes
29163else
29164 echo "$as_me: failed program was:" >&5
29165sed 's/^/| /' conftest.$ac_ext >&5
29166
29167 ac_header_preproc=no
29168fi
29169rm -f conftest.err conftest.$ac_ext
29170echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29171echo "${ECHO_T}$ac_header_preproc" >&6
29172
29173# So? What about this header?
29174case $ac_header_compiler:$ac_header_preproc in
29175 yes:no )
29176 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29177echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29179echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29180 (
29181 cat <<\_ASBOX
29182## ------------------------------------ ##
29183## Report this to bug-autoconf@gnu.org. ##
29184## ------------------------------------ ##
29185_ASBOX
29186 ) |
29187 sed "s/^/$as_me: WARNING: /" >&2
29188 ;;
29189 no:yes )
29190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29191echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29193echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29195echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29196 (
29197 cat <<\_ASBOX
29198## ------------------------------------ ##
29199## Report this to bug-autoconf@gnu.org. ##
29200## ------------------------------------ ##
29201_ASBOX
29202 ) |
29203 sed "s/^/$as_me: WARNING: /" >&2
29204 ;;
29205esac
29206echo "$as_me:$LINENO: checking for $ac_header" >&5
29207echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29208if eval "test \"\${$as_ac_Header+set}\" = set"; then
29209 echo $ECHO_N "(cached) $ECHO_C" >&6
29210else
29211 eval "$as_ac_Header=$ac_header_preproc"
29212fi
29213echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29214echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29215
29216fi
29217if test `eval echo '${'$as_ac_Header'}'` = yes; then
29218 cat >>confdefs.h <<_ACEOF
29219#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29220_ACEOF
29221
29222fi
29223
29224done
29225
29226 if test "$ac_cv_header_sched_h" = "yes"; then
29227 echo "$as_me:$LINENO: checking for sched_yield" >&5
29228echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29229if test "${ac_cv_func_sched_yield+set}" = set; then
29230 echo $ECHO_N "(cached) $ECHO_C" >&6
29231else
29232 cat >conftest.$ac_ext <<_ACEOF
29233#line $LINENO "configure"
29234/* confdefs.h. */
29235_ACEOF
29236cat confdefs.h >>conftest.$ac_ext
29237cat >>conftest.$ac_ext <<_ACEOF
29238/* end confdefs.h. */
29239/* System header to define __stub macros and hopefully few prototypes,
29240 which can conflict with char sched_yield (); below.
29241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29242 <limits.h> exists even on freestanding compilers. */
29243#ifdef __STDC__
29244# include <limits.h>
29245#else
29246# include <assert.h>
29247#endif
29248/* Override any gcc2 internal prototype to avoid an error. */
29249#ifdef __cplusplus
29250extern "C"
29251{
29252#endif
29253/* We use char because int might match the return type of a gcc2
29254 builtin and then its argument prototype would still apply. */
29255char sched_yield ();
29256/* The GNU C library defines this for functions which it implements
29257 to always fail with ENOSYS. Some functions are actually named
29258 something starting with __ and the normal name is an alias. */
29259#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29260choke me
29261#else
29262char (*f) () = sched_yield;
29263#endif
29264#ifdef __cplusplus
29265}
29266#endif
29267
29268int
29269main ()
29270{
29271return f != sched_yield;
29272 ;
29273 return 0;
29274}
29275_ACEOF
29276rm -f conftest.$ac_objext conftest$ac_exeext
29277if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29278 (eval $ac_link) 2>&5
29279 ac_status=$?
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } &&
29282 { ac_try='test -s conftest$ac_exeext'
29283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284 (eval $ac_try) 2>&5
29285 ac_status=$?
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; }; then
29288 ac_cv_func_sched_yield=yes
29289else
29290 echo "$as_me: failed program was:" >&5
29291sed 's/^/| /' conftest.$ac_ext >&5
29292
29293ac_cv_func_sched_yield=no
29294fi
29295rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29296fi
29297echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29298echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29299if test $ac_cv_func_sched_yield = yes; then
29300 cat >>confdefs.h <<\_ACEOF
29301#define HAVE_SCHED_YIELD 1
29302_ACEOF
29303
29304else
29305
29306 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29307echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29308if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310else
29311 ac_check_lib_save_LIBS=$LIBS
29312LIBS="-lposix4 $LIBS"
29313cat >conftest.$ac_ext <<_ACEOF
29314#line $LINENO "configure"
29315/* confdefs.h. */
29316_ACEOF
29317cat confdefs.h >>conftest.$ac_ext
29318cat >>conftest.$ac_ext <<_ACEOF
29319/* end confdefs.h. */
29320
29321/* Override any gcc2 internal prototype to avoid an error. */
29322#ifdef __cplusplus
29323extern "C"
29324#endif
29325/* We use char because int might match the return type of a gcc2
29326 builtin and then its argument prototype would still apply. */
29327char sched_yield ();
29328int
29329main ()
29330{
29331sched_yield ();
29332 ;
29333 return 0;
29334}
29335_ACEOF
29336rm -f conftest.$ac_objext conftest$ac_exeext
29337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>&5
29339 ac_status=$?
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29345 ac_status=$?
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 ac_cv_lib_posix4_sched_yield=yes
29349else
29350 echo "$as_me: failed program was:" >&5
29351sed 's/^/| /' conftest.$ac_ext >&5
29352
29353ac_cv_lib_posix4_sched_yield=no
29354fi
29355rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29356LIBS=$ac_check_lib_save_LIBS
29357fi
29358echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29359echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29360if test $ac_cv_lib_posix4_sched_yield = yes; then
29361 cat >>confdefs.h <<\_ACEOF
29362#define HAVE_SCHED_YIELD 1
29363_ACEOF
29364 POSIX4_LINK=" -lposix4"
29365else
29366 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29367echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29368
29369fi
29370
29371
29372
29373fi
29374
29375 fi
29376
29377 HAVE_PRIOR_FUNCS=0
29378 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29379echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29380if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29381 echo $ECHO_N "(cached) $ECHO_C" >&6
29382else
29383 cat >conftest.$ac_ext <<_ACEOF
29384#line $LINENO "configure"
29385/* confdefs.h. */
29386_ACEOF
29387cat confdefs.h >>conftest.$ac_ext
29388cat >>conftest.$ac_ext <<_ACEOF
29389/* end confdefs.h. */
29390/* System header to define __stub macros and hopefully few prototypes,
29391 which can conflict with char pthread_attr_getschedpolicy (); below.
29392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29393 <limits.h> exists even on freestanding compilers. */
29394#ifdef __STDC__
29395# include <limits.h>
29396#else
29397# include <assert.h>
29398#endif
29399/* Override any gcc2 internal prototype to avoid an error. */
29400#ifdef __cplusplus
29401extern "C"
29402{
29403#endif
29404/* We use char because int might match the return type of a gcc2
29405 builtin and then its argument prototype would still apply. */
29406char pthread_attr_getschedpolicy ();
29407/* The GNU C library defines this for functions which it implements
29408 to always fail with ENOSYS. Some functions are actually named
29409 something starting with __ and the normal name is an alias. */
29410#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29411choke me
29412#else
29413char (*f) () = pthread_attr_getschedpolicy;
29414#endif
29415#ifdef __cplusplus
29416}
29417#endif
29418
29419int
29420main ()
29421{
29422return f != pthread_attr_getschedpolicy;
29423 ;
29424 return 0;
29425}
29426_ACEOF
29427rm -f conftest.$ac_objext conftest$ac_exeext
29428if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29429 (eval $ac_link) 2>&5
29430 ac_status=$?
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try='test -s conftest$ac_exeext'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29436 ac_status=$?
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; }; then
29439 ac_cv_func_pthread_attr_getschedpolicy=yes
29440else
29441 echo "$as_me: failed program was:" >&5
29442sed 's/^/| /' conftest.$ac_ext >&5
29443
29444ac_cv_func_pthread_attr_getschedpolicy=no
29445fi
29446rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29447fi
29448echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29449echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29450if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29451 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29452echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29453if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29454 echo $ECHO_N "(cached) $ECHO_C" >&6
29455else
29456 cat >conftest.$ac_ext <<_ACEOF
29457#line $LINENO "configure"
29458/* confdefs.h. */
29459_ACEOF
29460cat confdefs.h >>conftest.$ac_ext
29461cat >>conftest.$ac_ext <<_ACEOF
29462/* end confdefs.h. */
29463/* System header to define __stub macros and hopefully few prototypes,
29464 which can conflict with char pthread_attr_setschedparam (); below.
29465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29466 <limits.h> exists even on freestanding compilers. */
29467#ifdef __STDC__
29468# include <limits.h>
29469#else
29470# include <assert.h>
29471#endif
29472/* Override any gcc2 internal prototype to avoid an error. */
29473#ifdef __cplusplus
29474extern "C"
29475{
29476#endif
29477/* We use char because int might match the return type of a gcc2
29478 builtin and then its argument prototype would still apply. */
29479char pthread_attr_setschedparam ();
29480/* The GNU C library defines this for functions which it implements
29481 to always fail with ENOSYS. Some functions are actually named
29482 something starting with __ and the normal name is an alias. */
29483#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29484choke me
29485#else
29486char (*f) () = pthread_attr_setschedparam;
29487#endif
29488#ifdef __cplusplus
29489}
29490#endif
29491
29492int
29493main ()
29494{
29495return f != pthread_attr_setschedparam;
29496 ;
29497 return 0;
29498}
29499_ACEOF
29500rm -f conftest.$ac_objext conftest$ac_exeext
29501if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29502 (eval $ac_link) 2>&5
29503 ac_status=$?
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } &&
29506 { ac_try='test -s conftest$ac_exeext'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29509 ac_status=$?
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; }; then
29512 ac_cv_func_pthread_attr_setschedparam=yes
29513else
29514 echo "$as_me: failed program was:" >&5
29515sed 's/^/| /' conftest.$ac_ext >&5
29516
29517ac_cv_func_pthread_attr_setschedparam=no
29518fi
29519rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29520fi
29521echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29522echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29523if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29524 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29525echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29526if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528else
29529 cat >conftest.$ac_ext <<_ACEOF
29530#line $LINENO "configure"
29531/* confdefs.h. */
29532_ACEOF
29533cat confdefs.h >>conftest.$ac_ext
29534cat >>conftest.$ac_ext <<_ACEOF
29535/* end confdefs.h. */
29536/* System header to define __stub macros and hopefully few prototypes,
29537 which can conflict with char sched_get_priority_max (); below.
29538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29539 <limits.h> exists even on freestanding compilers. */
29540#ifdef __STDC__
29541# include <limits.h>
29542#else
29543# include <assert.h>
29544#endif
29545/* Override any gcc2 internal prototype to avoid an error. */
29546#ifdef __cplusplus
29547extern "C"
29548{
29549#endif
29550/* We use char because int might match the return type of a gcc2
29551 builtin and then its argument prototype would still apply. */
29552char sched_get_priority_max ();
29553/* The GNU C library defines this for functions which it implements
29554 to always fail with ENOSYS. Some functions are actually named
29555 something starting with __ and the normal name is an alias. */
29556#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29557choke me
29558#else
29559char (*f) () = sched_get_priority_max;
29560#endif
29561#ifdef __cplusplus
29562}
29563#endif
29564
29565int
29566main ()
29567{
29568return f != sched_get_priority_max;
29569 ;
29570 return 0;
29571}
29572_ACEOF
29573rm -f conftest.$ac_objext conftest$ac_exeext
29574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29575 (eval $ac_link) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try='test -s conftest$ac_exeext'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; }; then
29585 ac_cv_func_sched_get_priority_max=yes
29586else
29587 echo "$as_me: failed program was:" >&5
29588sed 's/^/| /' conftest.$ac_ext >&5
29589
29590ac_cv_func_sched_get_priority_max=no
29591fi
29592rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29593fi
29594echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29595echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29596if test $ac_cv_func_sched_get_priority_max = yes; then
29597 HAVE_PRIOR_FUNCS=1
29598else
29599 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29600echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29601if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29603else
29604 ac_check_lib_save_LIBS=$LIBS
29605LIBS="-lposix4 $LIBS"
29606cat >conftest.$ac_ext <<_ACEOF
29607#line $LINENO "configure"
29608/* confdefs.h. */
29609_ACEOF
29610cat confdefs.h >>conftest.$ac_ext
29611cat >>conftest.$ac_ext <<_ACEOF
29612/* end confdefs.h. */
29613
29614/* Override any gcc2 internal prototype to avoid an error. */
29615#ifdef __cplusplus
29616extern "C"
29617#endif
29618/* We use char because int might match the return type of a gcc2
29619 builtin and then its argument prototype would still apply. */
29620char sched_get_priority_max ();
29621int
29622main ()
29623{
29624sched_get_priority_max ();
29625 ;
29626 return 0;
29627}
29628_ACEOF
29629rm -f conftest.$ac_objext conftest$ac_exeext
29630if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29631 (eval $ac_link) 2>&5
29632 ac_status=$?
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } &&
29635 { ac_try='test -s conftest$ac_exeext'
29636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29637 (eval $ac_try) 2>&5
29638 ac_status=$?
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); }; }; then
29641 ac_cv_lib_posix4_sched_get_priority_max=yes
29642else
29643 echo "$as_me: failed program was:" >&5
29644sed 's/^/| /' conftest.$ac_ext >&5
29645
29646ac_cv_lib_posix4_sched_get_priority_max=no
29647fi
29648rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29649LIBS=$ac_check_lib_save_LIBS
29650fi
29651echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29652echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29653if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29654
29655 HAVE_PRIOR_FUNCS=1
29656 POSIX4_LINK=" -lposix4"
29657
29658fi
29659
29660
29661fi
29662
29663
29664fi
29665
29666
29667fi
29668
29669
29670 if test "$HAVE_PRIOR_FUNCS" = 1; then
29671 cat >>confdefs.h <<\_ACEOF
29672#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29673_ACEOF
29674
29675 else
29676 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29677echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29678 fi
29679
29680 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29681echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29682if test "${ac_cv_func_pthread_cancel+set}" = set; then
29683 echo $ECHO_N "(cached) $ECHO_C" >&6
29684else
29685 cat >conftest.$ac_ext <<_ACEOF
29686#line $LINENO "configure"
29687/* confdefs.h. */
29688_ACEOF
29689cat confdefs.h >>conftest.$ac_ext
29690cat >>conftest.$ac_ext <<_ACEOF
29691/* end confdefs.h. */
29692/* System header to define __stub macros and hopefully few prototypes,
29693 which can conflict with char pthread_cancel (); below.
29694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29695 <limits.h> exists even on freestanding compilers. */
29696#ifdef __STDC__
29697# include <limits.h>
29698#else
29699# include <assert.h>
29700#endif
29701/* Override any gcc2 internal prototype to avoid an error. */
29702#ifdef __cplusplus
29703extern "C"
29704{
29705#endif
29706/* We use char because int might match the return type of a gcc2
29707 builtin and then its argument prototype would still apply. */
29708char pthread_cancel ();
29709/* The GNU C library defines this for functions which it implements
29710 to always fail with ENOSYS. Some functions are actually named
29711 something starting with __ and the normal name is an alias. */
29712#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29713choke me
29714#else
29715char (*f) () = pthread_cancel;
29716#endif
29717#ifdef __cplusplus
29718}
29719#endif
29720
29721int
29722main ()
29723{
29724return f != pthread_cancel;
29725 ;
29726 return 0;
29727}
29728_ACEOF
29729rm -f conftest.$ac_objext conftest$ac_exeext
29730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29731 (eval $ac_link) 2>&5
29732 ac_status=$?
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); } &&
29735 { ac_try='test -s conftest$ac_exeext'
29736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29737 (eval $ac_try) 2>&5
29738 ac_status=$?
29739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740 (exit $ac_status); }; }; then
29741 ac_cv_func_pthread_cancel=yes
29742else
29743 echo "$as_me: failed program was:" >&5
29744sed 's/^/| /' conftest.$ac_ext >&5
29745
29746ac_cv_func_pthread_cancel=no
29747fi
29748rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29749fi
29750echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29751echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29752if test $ac_cv_func_pthread_cancel = yes; then
29753 cat >>confdefs.h <<\_ACEOF
29754#define HAVE_PTHREAD_CANCEL 1
29755_ACEOF
29756
29757else
29758 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29759echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29760fi
29761
29762
29763 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29764echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29765if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29766 echo $ECHO_N "(cached) $ECHO_C" >&6
29767else
29768
29769 cat >conftest.$ac_ext <<_ACEOF
29770#line $LINENO "configure"
29771/* confdefs.h. */
29772_ACEOF
29773cat confdefs.h >>conftest.$ac_ext
29774cat >>conftest.$ac_ext <<_ACEOF
29775/* end confdefs.h. */
29776#include <pthread.h>
29777int
29778main ()
29779{
29780
29781 pthread_cleanup_push(NULL, NULL);
29782 pthread_cleanup_pop(0);
29783
29784 ;
29785 return 0;
29786}
29787_ACEOF
29788rm -f conftest.$ac_objext
29789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29790 (eval $ac_compile) 2>&5
29791 ac_status=$?
29792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793 (exit $ac_status); } &&
29794 { ac_try='test -s conftest.$ac_objext'
29795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29796 (eval $ac_try) 2>&5
29797 ac_status=$?
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); }; }; then
29800
29801 wx_cv_func_pthread_cleanup_push=yes
29802
29803else
29804 echo "$as_me: failed program was:" >&5
29805sed 's/^/| /' conftest.$ac_ext >&5
29806
29807
29808 wx_cv_func_pthread_cleanup_push=no
29809
29810fi
29811rm -f conftest.$ac_objext conftest.$ac_ext
29812
29813fi
29814echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29815echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29816
29817 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29818 cat >>confdefs.h <<\_ACEOF
29819#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29820_ACEOF
29821
29822 fi
29823
29824
29825 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29826echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29827if test "${wx_cv_type_pthread_mutexattr_t+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_mutexattr_t attr;
29844 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
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_type_pthread_mutexattr_t=yes
29864
29865else
29866 echo "$as_me: failed program was:" >&5
29867sed 's/^/| /' conftest.$ac_ext >&5
29868
29869
29870 wx_cv_type_pthread_mutexattr_t=no
29871
29872
29873fi
29874rm -f conftest.$ac_objext conftest.$ac_ext
29875
29876fi
29877echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29878echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29879
29880 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29881 cat >>confdefs.h <<\_ACEOF
29882#define HAVE_PTHREAD_MUTEXATTR_T 1
29883_ACEOF
29884
29885 else
29886 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29887echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29888if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29889 echo $ECHO_N "(cached) $ECHO_C" >&6
29890else
29891
29892 cat >conftest.$ac_ext <<_ACEOF
29893#line $LINENO "configure"
29894/* confdefs.h. */
29895_ACEOF
29896cat confdefs.h >>conftest.$ac_ext
29897cat >>conftest.$ac_ext <<_ACEOF
29898/* end confdefs.h. */
29899#include <pthread.h>
29900int
29901main ()
29902{
29903
29904 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29905
29906 ;
29907 return 0;
29908}
29909_ACEOF
29910rm -f conftest.$ac_objext
29911if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29912 (eval $ac_compile) 2>&5
29913 ac_status=$?
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); } &&
29916 { ac_try='test -s conftest.$ac_objext'
29917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29918 (eval $ac_try) 2>&5
29919 ac_status=$?
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); }; }; then
29922
29923 wx_cv_type_pthread_rec_mutex_init=yes
29924
29925else
29926 echo "$as_me: failed program was:" >&5
29927sed 's/^/| /' conftest.$ac_ext >&5
29928
29929
29930 wx_cv_type_pthread_rec_mutex_init=no
29931
29932
29933fi
29934rm -f conftest.$ac_objext conftest.$ac_ext
29935
29936fi
29937echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29938echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29939 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29940 cat >>confdefs.h <<\_ACEOF
29941#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29942_ACEOF
29943
29944 else
29945 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29946echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29947 fi
29948 fi
29949 fi
29950
29951else
29952 if test "$wxUSE_THREADS" = "yes" ; then
29953 case "${host}" in
29954 *-*-mingw32* )
29955 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29956echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29957if test "${wx_cv_cflags_mthread+set}" = set; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29959else
29960
29961 CFLAGS_OLD="$CFLAGS"
29962 CFLAGS="$CFLAGS -mthreads"
29963 cat >conftest.$ac_ext <<_ACEOF
29964#line $LINENO "configure"
29965/* confdefs.h. */
29966_ACEOF
29967cat confdefs.h >>conftest.$ac_ext
29968cat >>conftest.$ac_ext <<_ACEOF
29969/* end confdefs.h. */
29970
29971int
29972main ()
29973{
29974
29975 ;
29976 return 0;
29977}
29978_ACEOF
29979rm -f conftest.$ac_objext
29980if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29981 (eval $ac_compile) 2>&5
29982 ac_status=$?
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } &&
29985 { ac_try='test -s conftest.$ac_objext'
29986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29987 (eval $ac_try) 2>&5
29988 ac_status=$?
29989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29990 (exit $ac_status); }; }; then
29991 wx_cv_cflags_mthread=yes
29992else
29993 echo "$as_me: failed program was:" >&5
29994sed 's/^/| /' conftest.$ac_ext >&5
29995
29996wx_cv_cflags_mthread=no
29997
29998fi
29999rm -f conftest.$ac_objext conftest.$ac_ext
30000
30001
30002fi
30003echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30004echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30005
30006 if test "$wx_cv_cflags_mthread" = "yes"; then
30007 CXXFLAGS="$CXXFLAGS -mthreads"
30008 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30009 LDFLAGS="$LDFLAGS -mthreads"
30010 else
30011 CFLAGS="$CFLAGS_OLD"
30012 fi
30013 ;;
30014 esac
30015 fi
30016fi
30017
30018if test "$wxUSE_THREADS" = "yes"; then
30019 cat >>confdefs.h <<\_ACEOF
30020#define wxUSE_THREADS 1
30021_ACEOF
30022
30023
30024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30025else
30026 if test "$ac_cv_func_strtok_r" = "yes"; then
30027 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30028echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30029 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30030 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30031 echo "$as_me:$LINENO: result: yes" >&5
30032echo "${ECHO_T}yes" >&6
30033 else
30034 echo "$as_me:$LINENO: result: no" >&5
30035echo "${ECHO_T}no" >&6
30036 fi
30037 fi
30038fi
30039
30040if test "$WXGTK20" = 1 ; then
30041 cat >>confdefs.h <<_ACEOF
30042#define __WXGTK20__ $WXGTK20
30043_ACEOF
30044
30045 WXGTK12=1
30046fi
30047
30048if test "$WXGTK12" = 1 ; then
30049 cat >>confdefs.h <<_ACEOF
30050#define __WXGTK12__ $WXGTK12
30051_ACEOF
30052
30053fi
30054
30055if test "$WXGTK127" = 1 ; then
30056 cat >>confdefs.h <<_ACEOF
30057#define __WXGTK127__ $WXGTK127
30058_ACEOF
30059
30060fi
30061
30062WXDEBUG=
30063
30064if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30065 WXDEBUG="-g"
30066 wxUSE_OPTIMISE=no
30067fi
30068
30069if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30070 wxUSE_DEBUG_INFO=yes
30071 WXDEBUG="-ggdb"
30072fi
30073
30074if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30075 cat >>confdefs.h <<\_ACEOF
30076#define WXDEBUG 1
30077_ACEOF
30078
30079 WXDEBUG_DEFINE="-D__WXDEBUG__"
30080else
30081 if test "$wxUSE_GTK" = 1 ; then
30082 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30083 fi
30084fi
30085
30086if test "$wxUSE_MEM_TRACING" = "yes" ; then
30087 cat >>confdefs.h <<\_ACEOF
30088#define wxUSE_MEMORY_TRACING 1
30089_ACEOF
30090
30091 cat >>confdefs.h <<\_ACEOF
30092#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30093_ACEOF
30094
30095 cat >>confdefs.h <<\_ACEOF
30096#define wxUSE_DEBUG_NEW_ALWAYS 1
30097_ACEOF
30098
30099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30100fi
30101
30102if test "$wxUSE_DMALLOC" = "yes" ; then
30103 DMALLOC_LIBS="-ldmalloc"
30104fi
30105
30106PROFILE=
30107if test "$wxUSE_PROFILE" = "yes" ; then
30108 PROFILE=" -pg"
30109fi
30110
30111CODE_GEN_FLAGS=
30112CODE_GEN_FLAGS_CXX=
30113if test "$GCC" = "yes" ; then
30114 if test "$wxUSE_NO_RTTI" = "yes" ; then
30115 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30116 fi
30117 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30118 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30119 fi
30120 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30121 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30122 fi
30123
30124 case "${host}" in
30125 powerpc*-*-aix* )
30126 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30127 ;;
30128 *-hppa* )
30129 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30130 ;;
30131 esac
30132fi
30133
30134OPTIMISE=
30135if test "$wxUSE_OPTIMISE" = "no" ; then
30136 if test "$GCC" = yes ; then
30137 OPTIMISE="-O0"
30138 fi
30139else
30140 if test "$GCC" = yes ; then
30141 OPTIMISE="-O2"
30142
30143 case "${host}" in
30144 i586-*-*|i686-*-* )
30145 OPTIMISE="${OPTIMISE} "
30146 ;;
30147 esac
30148 else
30149 OPTIMISE="-O"
30150 fi
30151fi
30152
30153
30154if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30155 cat >>confdefs.h <<\_ACEOF
30156#define WXWIN_COMPATIBILITY_2 1
30157_ACEOF
30158
30159
30160 WXWIN_COMPATIBILITY_2_2="yes"
30161fi
30162
30163if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30164 cat >>confdefs.h <<\_ACEOF
30165#define WXWIN_COMPATIBILITY_2_2 1
30166_ACEOF
30167
30168
30169 WXWIN_COMPATIBILITY_2_4="yes"
30170fi
30171
30172if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30173 cat >>confdefs.h <<\_ACEOF
30174#define WXWIN_COMPATIBILITY_2_4 1
30175_ACEOF
30176
30177fi
30178
30179
30180if test "$wxUSE_GUI" = "yes"; then
30181 cat >>confdefs.h <<\_ACEOF
30182#define wxUSE_GUI 1
30183_ACEOF
30184
30185
30186 else
30187 cat >>confdefs.h <<\_ACEOF
30188#define wxUSE_NOGUI 1
30189_ACEOF
30190
30191fi
30192
30193
30194if test "$wxUSE_UNIX" = "yes"; then
30195 cat >>confdefs.h <<\_ACEOF
30196#define wxUSE_UNIX 1
30197_ACEOF
30198
30199fi
30200
30201
30202if test "$wxUSE_STL" = "yes"; then
30203 cat >>confdefs.h <<\_ACEOF
30204#define wxUSE_STL 1
30205_ACEOF
30206
30207fi
30208
30209if test "$wxUSE_APPLE_IEEE" = "yes"; then
30210 cat >>confdefs.h <<\_ACEOF
30211#define wxUSE_APPLE_IEEE 1
30212_ACEOF
30213
30214fi
30215
30216if test "$wxUSE_TIMER" = "yes"; then
30217 cat >>confdefs.h <<\_ACEOF
30218#define wxUSE_TIMER 1
30219_ACEOF
30220
30221fi
30222
30223if test "$wxUSE_WAVE" = "yes"; then
30224 cat >>confdefs.h <<\_ACEOF
30225#define wxUSE_WAVE 1
30226_ACEOF
30227
30228fi
30229
30230if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30231 cat >>confdefs.h <<\_ACEOF
30232#define wxUSE_CMDLINE_PARSER 1
30233_ACEOF
30234
30235fi
30236
30237if test "$wxUSE_STOPWATCH" = "yes"; then
30238 cat >>confdefs.h <<\_ACEOF
30239#define wxUSE_STOPWATCH 1
30240_ACEOF
30241
30242fi
30243
30244if test "$wxUSE_DATETIME" = "yes"; then
30245 cat >>confdefs.h <<\_ACEOF
30246#define wxUSE_DATETIME 1
30247_ACEOF
30248
30249fi
30250
30251if test "$wxUSE_FILE" = "yes"; then
30252 cat >>confdefs.h <<\_ACEOF
30253#define wxUSE_FILE 1
30254_ACEOF
30255
30256fi
30257
30258if test "$wxUSE_FFILE" = "yes"; then
30259 cat >>confdefs.h <<\_ACEOF
30260#define wxUSE_FFILE 1
30261_ACEOF
30262
30263fi
30264
30265if test "$wxUSE_FILESYSTEM" = "yes"; then
30266 cat >>confdefs.h <<\_ACEOF
30267#define wxUSE_FILESYSTEM 1
30268_ACEOF
30269
30270fi
30271
30272if test "$wxUSE_FS_ZIP" = "yes"; then
30273 cat >>confdefs.h <<\_ACEOF
30274#define wxUSE_FS_ZIP 1
30275_ACEOF
30276
30277fi
30278
30279if test "$wxUSE_ZIPSTREAM" = "yes"; then
30280 cat >>confdefs.h <<\_ACEOF
30281#define wxUSE_ZIPSTREAM 1
30282_ACEOF
30283
30284fi
30285
30286if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30287 cat >>confdefs.h <<\_ACEOF
30288#define wxUSE_ON_FATAL_EXCEPTION 1
30289_ACEOF
30290
30291fi
30292
30293if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30294 cat >>confdefs.h <<\_ACEOF
30295#define wxUSE_SNGLINST_CHECKER 1
30296_ACEOF
30297
30298fi
30299
30300if test "$wxUSE_BUSYINFO" = "yes"; then
30301 cat >>confdefs.h <<\_ACEOF
30302#define wxUSE_BUSYINFO 1
30303_ACEOF
30304
30305fi
30306
30307if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30308 cat >>confdefs.h <<\_ACEOF
30309#define wxUSE_STD_IOSTREAM 1
30310_ACEOF
30311
30312fi
30313
30314if test "$wxUSE_TEXTBUFFER" = "yes"; then
30315 cat >>confdefs.h <<\_ACEOF
30316#define wxUSE_TEXTBUFFER 1
30317_ACEOF
30318
30319fi
30320
30321if test "$wxUSE_TEXTFILE" = "yes"; then
30322 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30323 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30324echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30325 else
30326 cat >>confdefs.h <<\_ACEOF
30327#define wxUSE_TEXTFILE 1
30328_ACEOF
30329
30330 fi
30331fi
30332
30333if test "$wxUSE_CONFIG" = "yes" ; then
30334 if test "$wxUSE_TEXTFILE" != "yes"; then
30335 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30336echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30337 else
30338 cat >>confdefs.h <<\_ACEOF
30339#define wxUSE_CONFIG 1
30340_ACEOF
30341
30342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30343 fi
30344fi
30345
30346if test "$wxUSE_INTL" = "yes" ; then
30347 if test "$wxUSE_FILE" != "yes"; then
30348 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30349echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30350 else
30351 cat >>confdefs.h <<\_ACEOF
30352#define wxUSE_INTL 1
30353_ACEOF
30354
30355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30356 GUIDIST="$GUIDIST INTL_DIST"
30357 fi
30358fi
30359
30360if test "$wxUSE_LOG" = "yes"; then
30361 cat >>confdefs.h <<\_ACEOF
30362#define wxUSE_LOG 1
30363_ACEOF
30364
30365
30366 if test "$wxUSE_LOGGUI" = "yes"; then
30367 cat >>confdefs.h <<\_ACEOF
30368#define wxUSE_LOGGUI 1
30369_ACEOF
30370
30371 fi
30372
30373 if test "$wxUSE_LOGWINDOW" = "yes"; then
30374 cat >>confdefs.h <<\_ACEOF
30375#define wxUSE_LOGWINDOW 1
30376_ACEOF
30377
30378 fi
30379
30380 if test "$wxUSE_LOGDIALOG" = "yes"; then
30381 cat >>confdefs.h <<\_ACEOF
30382#define wxUSE_LOG_DIALOG 1
30383_ACEOF
30384
30385 fi
30386fi
30387
30388if test "$wxUSE_LONGLONG" = "yes"; then
30389 cat >>confdefs.h <<\_ACEOF
30390#define wxUSE_LONGLONG 1
30391_ACEOF
30392
30393fi
30394
30395if test "$wxUSE_GEOMETRY" = "yes"; then
30396 cat >>confdefs.h <<\_ACEOF
30397#define wxUSE_GEOMETRY 1
30398_ACEOF
30399
30400fi
30401
30402if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30403 cat >>confdefs.h <<\_ACEOF
30404#define wxUSE_DIALUP_MANAGER 1
30405_ACEOF
30406
30407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30408fi
30409
30410if test "$wxUSE_STREAMS" = "yes" ; then
30411 cat >>confdefs.h <<\_ACEOF
30412#define wxUSE_STREAMS 1
30413_ACEOF
30414
30415fi
30416
30417
30418if test "$wxUSE_DATETIME" = "yes"; then
30419
30420for ac_func in strptime
30421do
30422as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30423echo "$as_me:$LINENO: checking for $ac_func" >&5
30424echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30425if eval "test \"\${$as_ac_var+set}\" = set"; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30427else
30428 cat >conftest.$ac_ext <<_ACEOF
30429#line $LINENO "configure"
30430/* confdefs.h. */
30431_ACEOF
30432cat confdefs.h >>conftest.$ac_ext
30433cat >>conftest.$ac_ext <<_ACEOF
30434/* end confdefs.h. */
30435/* System header to define __stub macros and hopefully few prototypes,
30436 which can conflict with char $ac_func (); below.
30437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30438 <limits.h> exists even on freestanding compilers. */
30439#ifdef __STDC__
30440# include <limits.h>
30441#else
30442# include <assert.h>
30443#endif
30444/* Override any gcc2 internal prototype to avoid an error. */
30445#ifdef __cplusplus
30446extern "C"
30447{
30448#endif
30449/* We use char because int might match the return type of a gcc2
30450 builtin and then its argument prototype would still apply. */
30451char $ac_func ();
30452/* The GNU C library defines this for functions which it implements
30453 to always fail with ENOSYS. Some functions are actually named
30454 something starting with __ and the normal name is an alias. */
30455#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30456choke me
30457#else
30458char (*f) () = $ac_func;
30459#endif
30460#ifdef __cplusplus
30461}
30462#endif
30463
30464int
30465main ()
30466{
30467return f != $ac_func;
30468 ;
30469 return 0;
30470}
30471_ACEOF
30472rm -f conftest.$ac_objext conftest$ac_exeext
30473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30474 (eval $ac_link) 2>&5
30475 ac_status=$?
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } &&
30478 { ac_try='test -s conftest$ac_exeext'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30481 ac_status=$?
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; }; then
30484 eval "$as_ac_var=yes"
30485else
30486 echo "$as_me: failed program was:" >&5
30487sed 's/^/| /' conftest.$ac_ext >&5
30488
30489eval "$as_ac_var=no"
30490fi
30491rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30492fi
30493echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30494echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30495if test `eval echo '${'$as_ac_var'}'` = yes; then
30496 cat >>confdefs.h <<_ACEOF
30497#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30498_ACEOF
30499
30500fi
30501done
30502
30503
30504 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30505echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30506if test "${wx_cv_var_timezone+set}" = set; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30508else
30509
30510 cat >conftest.$ac_ext <<_ACEOF
30511#line $LINENO "configure"
30512/* confdefs.h. */
30513_ACEOF
30514cat confdefs.h >>conftest.$ac_ext
30515cat >>conftest.$ac_ext <<_ACEOF
30516/* end confdefs.h. */
30517
30518 #include <time.h>
30519
30520int
30521main ()
30522{
30523
30524 int tz;
30525 tz = timezone;
30526
30527 ;
30528 return 0;
30529}
30530_ACEOF
30531rm -f conftest.$ac_objext
30532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30533 (eval $ac_compile) 2>&5
30534 ac_status=$?
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } &&
30537 { ac_try='test -s conftest.$ac_objext'
30538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30539 (eval $ac_try) 2>&5
30540 ac_status=$?
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); }; }; then
30543
30544 wx_cv_var_timezone=timezone
30545
30546else
30547 echo "$as_me: failed program was:" >&5
30548sed 's/^/| /' conftest.$ac_ext >&5
30549
30550
30551 cat >conftest.$ac_ext <<_ACEOF
30552#line $LINENO "configure"
30553/* confdefs.h. */
30554_ACEOF
30555cat confdefs.h >>conftest.$ac_ext
30556cat >>conftest.$ac_ext <<_ACEOF
30557/* end confdefs.h. */
30558
30559 #include <time.h>
30560
30561int
30562main ()
30563{
30564
30565 int tz;
30566 tz = _timezone;
30567
30568 ;
30569 return 0;
30570}
30571_ACEOF
30572rm -f conftest.$ac_objext
30573if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30574 (eval $ac_compile) 2>&5
30575 ac_status=$?
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } &&
30578 { ac_try='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584
30585 wx_cv_var_timezone=_timezone
30586
30587else
30588 echo "$as_me: failed program was:" >&5
30589sed 's/^/| /' conftest.$ac_ext >&5
30590
30591
30592 cat >conftest.$ac_ext <<_ACEOF
30593#line $LINENO "configure"
30594/* confdefs.h. */
30595_ACEOF
30596cat confdefs.h >>conftest.$ac_ext
30597cat >>conftest.$ac_ext <<_ACEOF
30598/* end confdefs.h. */
30599
30600 #include <time.h>
30601
30602int
30603main ()
30604{
30605
30606 int tz;
30607 tz = __timezone;
30608
30609 ;
30610 return 0;
30611}
30612_ACEOF
30613rm -f conftest.$ac_objext
30614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30615 (eval $ac_compile) 2>&5
30616 ac_status=$?
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } &&
30619 { ac_try='test -s conftest.$ac_objext'
30620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30621 (eval $ac_try) 2>&5
30622 ac_status=$?
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); }; }; then
30625
30626 wx_cv_var_timezone=__timezone
30627
30628else
30629 echo "$as_me: failed program was:" >&5
30630sed 's/^/| /' conftest.$ac_ext >&5
30631
30632
30633 if test "$USE_DOS" = 0 ; then
30634 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30635echo "$as_me: WARNING: no timezone variable" >&2;}
30636 fi
30637
30638
30639fi
30640rm -f conftest.$ac_objext conftest.$ac_ext
30641
30642
30643fi
30644rm -f conftest.$ac_objext conftest.$ac_ext
30645
30646
30647fi
30648rm -f conftest.$ac_objext conftest.$ac_ext
30649
30650
30651fi
30652echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30653echo "${ECHO_T}$wx_cv_var_timezone" >&6
30654
30655 if test "x$wx_cv_var_timezone" != x ; then
30656 cat >>confdefs.h <<_ACEOF
30657#define WX_TIMEZONE $wx_cv_var_timezone
30658_ACEOF
30659
30660 fi
30661
30662
30663for ac_func in localtime
30664do
30665as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30666echo "$as_me:$LINENO: checking for $ac_func" >&5
30667echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30668if eval "test \"\${$as_ac_var+set}\" = set"; then
30669 echo $ECHO_N "(cached) $ECHO_C" >&6
30670else
30671 cat >conftest.$ac_ext <<_ACEOF
30672#line $LINENO "configure"
30673/* confdefs.h. */
30674_ACEOF
30675cat confdefs.h >>conftest.$ac_ext
30676cat >>conftest.$ac_ext <<_ACEOF
30677/* end confdefs.h. */
30678/* System header to define __stub macros and hopefully few prototypes,
30679 which can conflict with char $ac_func (); below.
30680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30681 <limits.h> exists even on freestanding compilers. */
30682#ifdef __STDC__
30683# include <limits.h>
30684#else
30685# include <assert.h>
30686#endif
30687/* Override any gcc2 internal prototype to avoid an error. */
30688#ifdef __cplusplus
30689extern "C"
30690{
30691#endif
30692/* We use char because int might match the return type of a gcc2
30693 builtin and then its argument prototype would still apply. */
30694char $ac_func ();
30695/* The GNU C library defines this for functions which it implements
30696 to always fail with ENOSYS. Some functions are actually named
30697 something starting with __ and the normal name is an alias. */
30698#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30699choke me
30700#else
30701char (*f) () = $ac_func;
30702#endif
30703#ifdef __cplusplus
30704}
30705#endif
30706
30707int
30708main ()
30709{
30710return f != $ac_func;
30711 ;
30712 return 0;
30713}
30714_ACEOF
30715rm -f conftest.$ac_objext conftest$ac_exeext
30716if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30717 (eval $ac_link) 2>&5
30718 ac_status=$?
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); } &&
30721 { ac_try='test -s conftest$ac_exeext'
30722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30723 (eval $ac_try) 2>&5
30724 ac_status=$?
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); }; }; then
30727 eval "$as_ac_var=yes"
30728else
30729 echo "$as_me: failed program was:" >&5
30730sed 's/^/| /' conftest.$ac_ext >&5
30731
30732eval "$as_ac_var=no"
30733fi
30734rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30735fi
30736echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30737echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30738if test `eval echo '${'$as_ac_var'}'` = yes; then
30739 cat >>confdefs.h <<_ACEOF
30740#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30741_ACEOF
30742
30743fi
30744done
30745
30746
30747 if test "$ac_cv_func_localtime" = "yes"; then
30748 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30749echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30750if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30751 echo $ECHO_N "(cached) $ECHO_C" >&6
30752else
30753
30754 cat >conftest.$ac_ext <<_ACEOF
30755#line $LINENO "configure"
30756/* confdefs.h. */
30757_ACEOF
30758cat confdefs.h >>conftest.$ac_ext
30759cat >>conftest.$ac_ext <<_ACEOF
30760/* end confdefs.h. */
30761
30762 #include <time.h>
30763
30764int
30765main ()
30766{
30767
30768 struct tm tm;
30769 tm.tm_gmtoff++;
30770
30771 ;
30772 return 0;
30773}
30774_ACEOF
30775rm -f conftest.$ac_objext
30776if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30777 (eval $ac_compile) 2>&5
30778 ac_status=$?
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); } &&
30781 { ac_try='test -s conftest.$ac_objext'
30782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30783 (eval $ac_try) 2>&5
30784 ac_status=$?
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); }; }; then
30787
30788 wx_cv_struct_tm_has_gmtoff=yes
30789
30790else
30791 echo "$as_me: failed program was:" >&5
30792sed 's/^/| /' conftest.$ac_ext >&5
30793
30794wx_cv_struct_tm_has_gmtoff=no
30795
30796fi
30797rm -f conftest.$ac_objext conftest.$ac_ext
30798
30799fi
30800echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30801echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30802 fi
30803
30804 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30805 cat >>confdefs.h <<\_ACEOF
30806#define WX_GMTOFF_IN_TM 1
30807_ACEOF
30808
30809 fi
30810
30811
30812
30813for ac_func in gettimeofday ftime
30814do
30815as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30816echo "$as_me:$LINENO: checking for $ac_func" >&5
30817echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30818if eval "test \"\${$as_ac_var+set}\" = set"; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30820else
30821 cat >conftest.$ac_ext <<_ACEOF
30822#line $LINENO "configure"
30823/* confdefs.h. */
30824_ACEOF
30825cat confdefs.h >>conftest.$ac_ext
30826cat >>conftest.$ac_ext <<_ACEOF
30827/* end confdefs.h. */
30828/* System header to define __stub macros and hopefully few prototypes,
30829 which can conflict with char $ac_func (); below.
30830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30831 <limits.h> exists even on freestanding compilers. */
30832#ifdef __STDC__
30833# include <limits.h>
30834#else
30835# include <assert.h>
30836#endif
30837/* Override any gcc2 internal prototype to avoid an error. */
30838#ifdef __cplusplus
30839extern "C"
30840{
30841#endif
30842/* We use char because int might match the return type of a gcc2
30843 builtin and then its argument prototype would still apply. */
30844char $ac_func ();
30845/* The GNU C library defines this for functions which it implements
30846 to always fail with ENOSYS. Some functions are actually named
30847 something starting with __ and the normal name is an alias. */
30848#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30849choke me
30850#else
30851char (*f) () = $ac_func;
30852#endif
30853#ifdef __cplusplus
30854}
30855#endif
30856
30857int
30858main ()
30859{
30860return f != $ac_func;
30861 ;
30862 return 0;
30863}
30864_ACEOF
30865rm -f conftest.$ac_objext conftest$ac_exeext
30866if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30867 (eval $ac_link) 2>&5
30868 ac_status=$?
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); } &&
30871 { ac_try='test -s conftest$ac_exeext'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; }; then
30877 eval "$as_ac_var=yes"
30878else
30879 echo "$as_me: failed program was:" >&5
30880sed 's/^/| /' conftest.$ac_ext >&5
30881
30882eval "$as_ac_var=no"
30883fi
30884rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30885fi
30886echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30887echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30888if test `eval echo '${'$as_ac_var'}'` = yes; then
30889 cat >>confdefs.h <<_ACEOF
30890#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30891_ACEOF
30892 break
30893fi
30894done
30895
30896
30897 if test "$ac_cv_func_gettimeofday" = "yes"; then
30898 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30899echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30900if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30901 echo $ECHO_N "(cached) $ECHO_C" >&6
30902else
30903
30904
30905
30906 ac_ext=cc
30907ac_cpp='$CXXCPP $CPPFLAGS'
30908ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30911
30912
30913 cat >conftest.$ac_ext <<_ACEOF
30914#line $LINENO "configure"
30915/* confdefs.h. */
30916_ACEOF
30917cat confdefs.h >>conftest.$ac_ext
30918cat >>conftest.$ac_ext <<_ACEOF
30919/* end confdefs.h. */
30920
30921 #include <sys/time.h>
30922 #include <unistd.h>
30923
30924int
30925main ()
30926{
30927
30928 struct timeval tv;
30929 gettimeofday(&tv, NULL);
30930
30931 ;
30932 return 0;
30933}
30934_ACEOF
30935rm -f conftest.$ac_objext
30936if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30937 (eval $ac_compile) 2>&5
30938 ac_status=$?
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); } &&
30941 { ac_try='test -s conftest.$ac_objext'
30942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30943 (eval $ac_try) 2>&5
30944 ac_status=$?
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); }; }; then
30947 wx_cv_func_gettimeofday_has_2_args=yes
30948else
30949 echo "$as_me: failed program was:" >&5
30950sed 's/^/| /' conftest.$ac_ext >&5
30951
30952cat >conftest.$ac_ext <<_ACEOF
30953#line $LINENO "configure"
30954/* confdefs.h. */
30955_ACEOF
30956cat confdefs.h >>conftest.$ac_ext
30957cat >>conftest.$ac_ext <<_ACEOF
30958/* end confdefs.h. */
30959
30960 #include <sys/time.h>
30961 #include <unistd.h>
30962
30963int
30964main ()
30965{
30966
30967 struct timeval tv;
30968 gettimeofday(&tv);
30969
30970 ;
30971 return 0;
30972}
30973_ACEOF
30974rm -f conftest.$ac_objext
30975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30976 (eval $ac_compile) 2>&5
30977 ac_status=$?
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); } &&
30980 { ac_try='test -s conftest.$ac_objext'
30981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982 (eval $ac_try) 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; }; then
30986 wx_cv_func_gettimeofday_has_2_args=no
30987else
30988 echo "$as_me: failed program was:" >&5
30989sed 's/^/| /' conftest.$ac_ext >&5
30990
30991
30992 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30993echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30994 wx_cv_func_gettimeofday_has_2_args=unknown
30995
30996
30997fi
30998rm -f conftest.$ac_objext conftest.$ac_ext
30999
31000fi
31001rm -f conftest.$ac_objext conftest.$ac_ext
31002 ac_ext=c
31003ac_cpp='$CPP $CPPFLAGS'
31004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31006ac_compiler_gnu=$ac_cv_c_compiler_gnu
31007
31008
31009fi
31010echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31011echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31012
31013 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31014 cat >>confdefs.h <<\_ACEOF
31015#define WX_GETTIMEOFDAY_NO_TZ 1
31016_ACEOF
31017
31018 fi
31019 fi
31020
31021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31022fi
31023
31024
31025if test "$wxUSE_SOCKETS" = "yes"; then
31026 if test "$wxUSE_MGL" = "1"; then
31027 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31028echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31029 wxUSE_SOCKETS="no"
31030 fi
31031 if test "$wxUSE_COCOA" = "1"; then
31032 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31033echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31034 wxUSE_SOCKETS="no"
31035 fi
31036fi
31037
31038if test "$wxUSE_SOCKETS" = "yes"; then
31039 if test "$TOOLKIT" != "MSW"; then
31040 echo "$as_me:$LINENO: checking for socket" >&5
31041echo $ECHO_N "checking for socket... $ECHO_C" >&6
31042if test "${ac_cv_func_socket+set}" = set; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31044else
31045 cat >conftest.$ac_ext <<_ACEOF
31046#line $LINENO "configure"
31047/* confdefs.h. */
31048_ACEOF
31049cat confdefs.h >>conftest.$ac_ext
31050cat >>conftest.$ac_ext <<_ACEOF
31051/* end confdefs.h. */
31052/* System header to define __stub macros and hopefully few prototypes,
31053 which can conflict with char socket (); below.
31054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31055 <limits.h> exists even on freestanding compilers. */
31056#ifdef __STDC__
31057# include <limits.h>
31058#else
31059# include <assert.h>
31060#endif
31061/* Override any gcc2 internal prototype to avoid an error. */
31062#ifdef __cplusplus
31063extern "C"
31064{
31065#endif
31066/* We use char because int might match the return type of a gcc2
31067 builtin and then its argument prototype would still apply. */
31068char socket ();
31069/* The GNU C library defines this for functions which it implements
31070 to always fail with ENOSYS. Some functions are actually named
31071 something starting with __ and the normal name is an alias. */
31072#if defined (__stub_socket) || defined (__stub___socket)
31073choke me
31074#else
31075char (*f) () = socket;
31076#endif
31077#ifdef __cplusplus
31078}
31079#endif
31080
31081int
31082main ()
31083{
31084return f != socket;
31085 ;
31086 return 0;
31087}
31088_ACEOF
31089rm -f conftest.$ac_objext conftest$ac_exeext
31090if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31091 (eval $ac_link) 2>&5
31092 ac_status=$?
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); } &&
31095 { ac_try='test -s conftest$ac_exeext'
31096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31097 (eval $ac_try) 2>&5
31098 ac_status=$?
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); }; }; then
31101 ac_cv_func_socket=yes
31102else
31103 echo "$as_me: failed program was:" >&5
31104sed 's/^/| /' conftest.$ac_ext >&5
31105
31106ac_cv_func_socket=no
31107fi
31108rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31109fi
31110echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31111echo "${ECHO_T}$ac_cv_func_socket" >&6
31112if test $ac_cv_func_socket = yes; then
31113 :
31114else
31115 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31116echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31117if test "${ac_cv_lib_socket_socket+set}" = set; then
31118 echo $ECHO_N "(cached) $ECHO_C" >&6
31119else
31120 ac_check_lib_save_LIBS=$LIBS
31121LIBS="-lsocket $LIBS"
31122cat >conftest.$ac_ext <<_ACEOF
31123#line $LINENO "configure"
31124/* confdefs.h. */
31125_ACEOF
31126cat confdefs.h >>conftest.$ac_ext
31127cat >>conftest.$ac_ext <<_ACEOF
31128/* end confdefs.h. */
31129
31130/* Override any gcc2 internal prototype to avoid an error. */
31131#ifdef __cplusplus
31132extern "C"
31133#endif
31134/* We use char because int might match the return type of a gcc2
31135 builtin and then its argument prototype would still apply. */
31136char socket ();
31137int
31138main ()
31139{
31140socket ();
31141 ;
31142 return 0;
31143}
31144_ACEOF
31145rm -f conftest.$ac_objext conftest$ac_exeext
31146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>&5
31148 ac_status=$?
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); } &&
31151 { ac_try='test -s conftest$ac_exeext'
31152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31153 (eval $ac_try) 2>&5
31154 ac_status=$?
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); }; }; then
31157 ac_cv_lib_socket_socket=yes
31158else
31159 echo "$as_me: failed program was:" >&5
31160sed 's/^/| /' conftest.$ac_ext >&5
31161
31162ac_cv_lib_socket_socket=no
31163fi
31164rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31165LIBS=$ac_check_lib_save_LIBS
31166fi
31167echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31168echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31169if test $ac_cv_lib_socket_socket = yes; then
31170 if test "$INET_LINK" != " -lsocket"; then
31171 INET_LINK="$INET_LINK -lsocket"
31172 fi
31173else
31174
31175 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31176echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31177 wxUSE_SOCKETS=no
31178
31179
31180fi
31181
31182
31183fi
31184
31185 fi
31186fi
31187
31188if test "$wxUSE_SOCKETS" = "yes" ; then
31189 if test "$TOOLKIT" != "MSW"; then
31190 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31191echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31192if test "${wx_cv_type_getsockname3+set}" = set; then
31193 echo $ECHO_N "(cached) $ECHO_C" >&6
31194else
31195
31196 cat >conftest.$ac_ext <<_ACEOF
31197#line $LINENO "configure"
31198/* confdefs.h. */
31199_ACEOF
31200cat confdefs.h >>conftest.$ac_ext
31201cat >>conftest.$ac_ext <<_ACEOF
31202/* end confdefs.h. */
31203
31204 #include <sys/types.h>
31205 #include <sys/socket.h>
31206
31207int
31208main ()
31209{
31210
31211 socklen_t len;
31212 getsockname(0, 0, &len);
31213
31214 ;
31215 return 0;
31216}
31217_ACEOF
31218rm -f conftest.$ac_objext
31219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31220 (eval $ac_compile) 2>&5
31221 ac_status=$?
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); } &&
31224 { ac_try='test -s conftest.$ac_objext'
31225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31226 (eval $ac_try) 2>&5
31227 ac_status=$?
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); }; }; then
31230 wx_cv_type_getsockname3=socklen_t
31231else
31232 echo "$as_me: failed program was:" >&5
31233sed 's/^/| /' conftest.$ac_ext >&5
31234
31235
31236 CFLAGS_OLD="$CFLAGS"
31237 if test "$GCC" = yes ; then
31238 CFLAGS="$CFLAGS -Werror"
31239 fi
31240
31241 cat >conftest.$ac_ext <<_ACEOF
31242#line $LINENO "configure"
31243/* confdefs.h. */
31244_ACEOF
31245cat confdefs.h >>conftest.$ac_ext
31246cat >>conftest.$ac_ext <<_ACEOF
31247/* end confdefs.h. */
31248
31249 #include <sys/types.h>
31250 #include <sys/socket.h>
31251
31252int
31253main ()
31254{
31255
31256 size_t len;
31257 getsockname(0, 0, &len);
31258
31259 ;
31260 return 0;
31261}
31262_ACEOF
31263rm -f conftest.$ac_objext
31264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31265 (eval $ac_compile) 2>&5
31266 ac_status=$?
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try='test -s conftest.$ac_objext'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31272 ac_status=$?
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; }; then
31275 wx_cv_type_getsockname3=size_t
31276else
31277 echo "$as_me: failed program was:" >&5
31278sed 's/^/| /' conftest.$ac_ext >&5
31279
31280cat >conftest.$ac_ext <<_ACEOF
31281#line $LINENO "configure"
31282/* confdefs.h. */
31283_ACEOF
31284cat confdefs.h >>conftest.$ac_ext
31285cat >>conftest.$ac_ext <<_ACEOF
31286/* end confdefs.h. */
31287
31288 #include <sys/types.h>
31289 #include <sys/socket.h>
31290
31291int
31292main ()
31293{
31294
31295 int len;
31296 getsockname(0, 0, &len);
31297
31298 ;
31299 return 0;
31300}
31301_ACEOF
31302rm -f conftest.$ac_objext
31303if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31304 (eval $ac_compile) 2>&5
31305 ac_status=$?
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); } &&
31308 { ac_try='test -s conftest.$ac_objext'
31309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31310 (eval $ac_try) 2>&5
31311 ac_status=$?
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); }; }; then
31314 wx_cv_type_getsockname3=int
31315else
31316 echo "$as_me: failed program was:" >&5
31317sed 's/^/| /' conftest.$ac_ext >&5
31318
31319wx_cv_type_getsockname3=unknown
31320
31321fi
31322rm -f conftest.$ac_objext conftest.$ac_ext
31323
31324fi
31325rm -f conftest.$ac_objext conftest.$ac_ext
31326
31327 CFLAGS="$CFLAGS_OLD"
31328
31329
31330fi
31331rm -f conftest.$ac_objext conftest.$ac_ext
31332
31333fi
31334echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31335echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31336
31337 if test "$wx_cv_type_getsockname3" = "unknown"; then
31338 wxUSE_SOCKETS=no
31339 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31340echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31341 else
31342 cat >>confdefs.h <<_ACEOF
31343#define SOCKLEN_T $wx_cv_type_getsockname3
31344_ACEOF
31345
31346 fi
31347 fi
31348fi
31349
31350if test "$wxUSE_SOCKETS" = "yes" ; then
31351 cat >>confdefs.h <<\_ACEOF
31352#define wxUSE_SOCKETS 1
31353_ACEOF
31354
31355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31356fi
31357
31358if test "$wxUSE_PROTOCOL" = "yes"; then
31359 if test "$wxUSE_SOCKETS" != "yes"; then
31360 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31361echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31362 wxUSE_PROTOCOL=no
31363 fi
31364fi
31365
31366if test "$wxUSE_PROTOCOL" = "yes"; then
31367 cat >>confdefs.h <<\_ACEOF
31368#define wxUSE_PROTOCOL 1
31369_ACEOF
31370
31371
31372 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31373 cat >>confdefs.h <<\_ACEOF
31374#define wxUSE_PROTOCOL_HTTP 1
31375_ACEOF
31376
31377 fi
31378 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31379 cat >>confdefs.h <<\_ACEOF
31380#define wxUSE_PROTOCOL_FTP 1
31381_ACEOF
31382
31383 fi
31384 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31385 cat >>confdefs.h <<\_ACEOF
31386#define wxUSE_PROTOCOL_FILE 1
31387_ACEOF
31388
31389 fi
31390else
31391 if test "$wxUSE_FS_INET" = "yes"; then
31392 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31393echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31394 wxUSE_FS_INET="no"
31395 fi
31396fi
31397
31398if test "$wxUSE_URL" = "yes"; then
31399 if test "$wxUSE_PROTOCOL" != "yes"; then
31400 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31401echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31402 wxUSE_URL=no
31403 fi
31404 if test "$wxUSE_URL" = "yes"; then
31405 cat >>confdefs.h <<\_ACEOF
31406#define wxUSE_URL 1
31407_ACEOF
31408
31409 fi
31410fi
31411
31412if test "$wxUSE_FS_INET" = "yes"; then
31413 cat >>confdefs.h <<\_ACEOF
31414#define wxUSE_FS_INET 1
31415_ACEOF
31416
31417fi
31418
31419
31420if test "$wxUSE_GUI" = "yes"; then
31421
31422 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31423 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31424echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31425 wxUSE_JOYSTICK=no
31426 fi
31427 if test "$TOOLKIT" = "MOTIF"; then
31428 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31429echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31430 wxUSE_JOYSTICK=no
31431 fi
31432 if test "$TOOLKIT" = "X11"; then
31433 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31434echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31435 wxUSE_JOYSTICK=no
31436 fi
31437
31438 if test "$TOOLKIT" != "MSW"; then
31439 if test "$wxUSE_JOYSTICK" = "yes"; then
31440
31441for ac_header in linux/joystick.h
31442do
31443as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31444if eval "test \"\${$as_ac_Header+set}\" = set"; then
31445 echo "$as_me:$LINENO: checking for $ac_header" >&5
31446echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31447if eval "test \"\${$as_ac_Header+set}\" = set"; then
31448 echo $ECHO_N "(cached) $ECHO_C" >&6
31449fi
31450echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31451echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31452else
31453 # Is the header compilable?
31454echo "$as_me:$LINENO: checking $ac_header usability" >&5
31455echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31456cat >conftest.$ac_ext <<_ACEOF
31457#line $LINENO "configure"
31458/* confdefs.h. */
31459_ACEOF
31460cat confdefs.h >>conftest.$ac_ext
31461cat >>conftest.$ac_ext <<_ACEOF
31462/* end confdefs.h. */
31463$ac_includes_default
31464#include <$ac_header>
31465_ACEOF
31466rm -f conftest.$ac_objext
31467if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31468 (eval $ac_compile) 2>&5
31469 ac_status=$?
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } &&
31472 { ac_try='test -s conftest.$ac_objext'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31475 ac_status=$?
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; }; then
31478 ac_header_compiler=yes
31479else
31480 echo "$as_me: failed program was:" >&5
31481sed 's/^/| /' conftest.$ac_ext >&5
31482
31483ac_header_compiler=no
31484fi
31485rm -f conftest.$ac_objext conftest.$ac_ext
31486echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31487echo "${ECHO_T}$ac_header_compiler" >&6
31488
31489# Is the header present?
31490echo "$as_me:$LINENO: checking $ac_header presence" >&5
31491echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31492cat >conftest.$ac_ext <<_ACEOF
31493#line $LINENO "configure"
31494/* confdefs.h. */
31495_ACEOF
31496cat confdefs.h >>conftest.$ac_ext
31497cat >>conftest.$ac_ext <<_ACEOF
31498/* end confdefs.h. */
31499#include <$ac_header>
31500_ACEOF
31501if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31503 ac_status=$?
31504 grep -v '^ *+' conftest.er1 >conftest.err
31505 rm -f conftest.er1
31506 cat conftest.err >&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); } >/dev/null; then
31509 if test -s conftest.err; then
31510 ac_cpp_err=$ac_c_preproc_warn_flag
31511 else
31512 ac_cpp_err=
31513 fi
31514else
31515 ac_cpp_err=yes
31516fi
31517if test -z "$ac_cpp_err"; then
31518 ac_header_preproc=yes
31519else
31520 echo "$as_me: failed program was:" >&5
31521sed 's/^/| /' conftest.$ac_ext >&5
31522
31523 ac_header_preproc=no
31524fi
31525rm -f conftest.err conftest.$ac_ext
31526echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31527echo "${ECHO_T}$ac_header_preproc" >&6
31528
31529# So? What about this header?
31530case $ac_header_compiler:$ac_header_preproc in
31531 yes:no )
31532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31533echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31535echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31536 (
31537 cat <<\_ASBOX
31538## ------------------------------------ ##
31539## Report this to bug-autoconf@gnu.org. ##
31540## ------------------------------------ ##
31541_ASBOX
31542 ) |
31543 sed "s/^/$as_me: WARNING: /" >&2
31544 ;;
31545 no:yes )
31546 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31547echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31548 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31549echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31551echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31552 (
31553 cat <<\_ASBOX
31554## ------------------------------------ ##
31555## Report this to bug-autoconf@gnu.org. ##
31556## ------------------------------------ ##
31557_ASBOX
31558 ) |
31559 sed "s/^/$as_me: WARNING: /" >&2
31560 ;;
31561esac
31562echo "$as_me:$LINENO: checking for $ac_header" >&5
31563echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31564if eval "test \"\${$as_ac_Header+set}\" = set"; then
31565 echo $ECHO_N "(cached) $ECHO_C" >&6
31566else
31567 eval "$as_ac_Header=$ac_header_preproc"
31568fi
31569echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31570echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31571
31572fi
31573if test `eval echo '${'$as_ac_Header'}'` = yes; then
31574 cat >>confdefs.h <<_ACEOF
31575#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31576_ACEOF
31577
31578fi
31579
31580done
31581
31582 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31583 wxUSE_JOYSTICK=no
31584 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31585echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31586 fi
31587 fi
31588 fi
31589
31590 if test "$wxUSE_JOYSTICK" = "yes"; then
31591 cat >>confdefs.h <<\_ACEOF
31592#define wxUSE_JOYSTICK 1
31593_ACEOF
31594
31595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31596 fi
31597fi
31598
31599
31600if test "$TOOLKIT" != "MSW"; then
31601
31602 HAVE_DL_FUNCS=0
31603 HAVE_SHL_FUNCS=0
31604 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31605 if test "$USE_DARWIN" = 1; then
31606 HAVE_DL_FUNCS=1
31607 else
31608
31609for ac_func in dlopen
31610do
31611as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31612echo "$as_me:$LINENO: checking for $ac_func" >&5
31613echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31614if eval "test \"\${$as_ac_var+set}\" = set"; then
31615 echo $ECHO_N "(cached) $ECHO_C" >&6
31616else
31617 cat >conftest.$ac_ext <<_ACEOF
31618#line $LINENO "configure"
31619/* confdefs.h. */
31620_ACEOF
31621cat confdefs.h >>conftest.$ac_ext
31622cat >>conftest.$ac_ext <<_ACEOF
31623/* end confdefs.h. */
31624/* System header to define __stub macros and hopefully few prototypes,
31625 which can conflict with char $ac_func (); below.
31626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31627 <limits.h> exists even on freestanding compilers. */
31628#ifdef __STDC__
31629# include <limits.h>
31630#else
31631# include <assert.h>
31632#endif
31633/* Override any gcc2 internal prototype to avoid an error. */
31634#ifdef __cplusplus
31635extern "C"
31636{
31637#endif
31638/* We use char because int might match the return type of a gcc2
31639 builtin and then its argument prototype would still apply. */
31640char $ac_func ();
31641/* The GNU C library defines this for functions which it implements
31642 to always fail with ENOSYS. Some functions are actually named
31643 something starting with __ and the normal name is an alias. */
31644#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31645choke me
31646#else
31647char (*f) () = $ac_func;
31648#endif
31649#ifdef __cplusplus
31650}
31651#endif
31652
31653int
31654main ()
31655{
31656return f != $ac_func;
31657 ;
31658 return 0;
31659}
31660_ACEOF
31661rm -f conftest.$ac_objext conftest$ac_exeext
31662if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31663 (eval $ac_link) 2>&5
31664 ac_status=$?
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); } &&
31667 { ac_try='test -s conftest$ac_exeext'
31668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31669 (eval $ac_try) 2>&5
31670 ac_status=$?
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); }; }; then
31673 eval "$as_ac_var=yes"
31674else
31675 echo "$as_me: failed program was:" >&5
31676sed 's/^/| /' conftest.$ac_ext >&5
31677
31678eval "$as_ac_var=no"
31679fi
31680rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31681fi
31682echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31683echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31684if test `eval echo '${'$as_ac_var'}'` = yes; then
31685 cat >>confdefs.h <<_ACEOF
31686#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31687_ACEOF
31688
31689 cat >>confdefs.h <<\_ACEOF
31690#define HAVE_DLOPEN 1
31691_ACEOF
31692
31693 HAVE_DL_FUNCS=1
31694
31695else
31696
31697 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31698echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31699if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31700 echo $ECHO_N "(cached) $ECHO_C" >&6
31701else
31702 ac_check_lib_save_LIBS=$LIBS
31703LIBS="-ldl $LIBS"
31704cat >conftest.$ac_ext <<_ACEOF
31705#line $LINENO "configure"
31706/* confdefs.h. */
31707_ACEOF
31708cat confdefs.h >>conftest.$ac_ext
31709cat >>conftest.$ac_ext <<_ACEOF
31710/* end confdefs.h. */
31711
31712/* Override any gcc2 internal prototype to avoid an error. */
31713#ifdef __cplusplus
31714extern "C"
31715#endif
31716/* We use char because int might match the return type of a gcc2
31717 builtin and then its argument prototype would still apply. */
31718char dlopen ();
31719int
31720main ()
31721{
31722dlopen ();
31723 ;
31724 return 0;
31725}
31726_ACEOF
31727rm -f conftest.$ac_objext conftest$ac_exeext
31728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31729 (eval $ac_link) 2>&5
31730 ac_status=$?
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); } &&
31733 { ac_try='test -s conftest$ac_exeext'
31734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31735 (eval $ac_try) 2>&5
31736 ac_status=$?
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); }; }; then
31739 ac_cv_lib_dl_dlopen=yes
31740else
31741 echo "$as_me: failed program was:" >&5
31742sed 's/^/| /' conftest.$ac_ext >&5
31743
31744ac_cv_lib_dl_dlopen=no
31745fi
31746rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31747LIBS=$ac_check_lib_save_LIBS
31748fi
31749echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31750echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31751if test $ac_cv_lib_dl_dlopen = yes; then
31752
31753 cat >>confdefs.h <<\_ACEOF
31754#define HAVE_DLOPEN 1
31755_ACEOF
31756
31757 HAVE_DL_FUNCS=1
31758 DL_LINK=" -ldl$DL_LINK"
31759
31760else
31761
31762
31763for ac_func in shl_load
31764do
31765as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31766echo "$as_me:$LINENO: checking for $ac_func" >&5
31767echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31768if eval "test \"\${$as_ac_var+set}\" = set"; then
31769 echo $ECHO_N "(cached) $ECHO_C" >&6
31770else
31771 cat >conftest.$ac_ext <<_ACEOF
31772#line $LINENO "configure"
31773/* confdefs.h. */
31774_ACEOF
31775cat confdefs.h >>conftest.$ac_ext
31776cat >>conftest.$ac_ext <<_ACEOF
31777/* end confdefs.h. */
31778/* System header to define __stub macros and hopefully few prototypes,
31779 which can conflict with char $ac_func (); below.
31780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31781 <limits.h> exists even on freestanding compilers. */
31782#ifdef __STDC__
31783# include <limits.h>
31784#else
31785# include <assert.h>
31786#endif
31787/* Override any gcc2 internal prototype to avoid an error. */
31788#ifdef __cplusplus
31789extern "C"
31790{
31791#endif
31792/* We use char because int might match the return type of a gcc2
31793 builtin and then its argument prototype would still apply. */
31794char $ac_func ();
31795/* The GNU C library defines this for functions which it implements
31796 to always fail with ENOSYS. Some functions are actually named
31797 something starting with __ and the normal name is an alias. */
31798#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31799choke me
31800#else
31801char (*f) () = $ac_func;
31802#endif
31803#ifdef __cplusplus
31804}
31805#endif
31806
31807int
31808main ()
31809{
31810return f != $ac_func;
31811 ;
31812 return 0;
31813}
31814_ACEOF
31815rm -f conftest.$ac_objext conftest$ac_exeext
31816if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31817 (eval $ac_link) 2>&5
31818 ac_status=$?
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } &&
31821 { ac_try='test -s conftest$ac_exeext'
31822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823 (eval $ac_try) 2>&5
31824 ac_status=$?
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; }; then
31827 eval "$as_ac_var=yes"
31828else
31829 echo "$as_me: failed program was:" >&5
31830sed 's/^/| /' conftest.$ac_ext >&5
31831
31832eval "$as_ac_var=no"
31833fi
31834rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31835fi
31836echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31837echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31838if test `eval echo '${'$as_ac_var'}'` = yes; then
31839 cat >>confdefs.h <<_ACEOF
31840#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31841_ACEOF
31842
31843 cat >>confdefs.h <<\_ACEOF
31844#define HAVE_SHL_LOAD 1
31845_ACEOF
31846
31847 HAVE_SHL_FUNCS=1
31848
31849else
31850
31851 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31852echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31853if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31854 echo $ECHO_N "(cached) $ECHO_C" >&6
31855else
31856 ac_check_lib_save_LIBS=$LIBS
31857LIBS="-lshl_load $LIBS"
31858cat >conftest.$ac_ext <<_ACEOF
31859#line $LINENO "configure"
31860/* confdefs.h. */
31861_ACEOF
31862cat confdefs.h >>conftest.$ac_ext
31863cat >>conftest.$ac_ext <<_ACEOF
31864/* end confdefs.h. */
31865
31866/* Override any gcc2 internal prototype to avoid an error. */
31867#ifdef __cplusplus
31868extern "C"
31869#endif
31870/* We use char because int might match the return type of a gcc2
31871 builtin and then its argument prototype would still apply. */
31872char dld ();
31873int
31874main ()
31875{
31876dld ();
31877 ;
31878 return 0;
31879}
31880_ACEOF
31881rm -f conftest.$ac_objext conftest$ac_exeext
31882if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31883 (eval $ac_link) 2>&5
31884 ac_status=$?
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } &&
31887 { ac_try='test -s conftest$ac_exeext'
31888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889 (eval $ac_try) 2>&5
31890 ac_status=$?
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); }; }; then
31893 ac_cv_lib_shl_load_dld=yes
31894else
31895 echo "$as_me: failed program was:" >&5
31896sed 's/^/| /' conftest.$ac_ext >&5
31897
31898ac_cv_lib_shl_load_dld=no
31899fi
31900rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31901LIBS=$ac_check_lib_save_LIBS
31902fi
31903echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31904echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31905if test $ac_cv_lib_shl_load_dld = yes; then
31906
31907 HAVE_SHL_FUNCS=1
31908 DL_LINK=" -ldld$DL_LINK"
31909
31910fi
31911
31912
31913fi
31914done
31915
31916
31917fi
31918
31919
31920fi
31921done
31922
31923
31924 if test "$HAVE_DL_FUNCS" = 1; then
31925
31926for ac_func in dlerror
31927do
31928as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31929echo "$as_me:$LINENO: checking for $ac_func" >&5
31930echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31931if eval "test \"\${$as_ac_var+set}\" = set"; then
31932 echo $ECHO_N "(cached) $ECHO_C" >&6
31933else
31934 cat >conftest.$ac_ext <<_ACEOF
31935#line $LINENO "configure"
31936/* confdefs.h. */
31937_ACEOF
31938cat confdefs.h >>conftest.$ac_ext
31939cat >>conftest.$ac_ext <<_ACEOF
31940/* end confdefs.h. */
31941/* System header to define __stub macros and hopefully few prototypes,
31942 which can conflict with char $ac_func (); below.
31943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31944 <limits.h> exists even on freestanding compilers. */
31945#ifdef __STDC__
31946# include <limits.h>
31947#else
31948# include <assert.h>
31949#endif
31950/* Override any gcc2 internal prototype to avoid an error. */
31951#ifdef __cplusplus
31952extern "C"
31953{
31954#endif
31955/* We use char because int might match the return type of a gcc2
31956 builtin and then its argument prototype would still apply. */
31957char $ac_func ();
31958/* The GNU C library defines this for functions which it implements
31959 to always fail with ENOSYS. Some functions are actually named
31960 something starting with __ and the normal name is an alias. */
31961#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31962choke me
31963#else
31964char (*f) () = $ac_func;
31965#endif
31966#ifdef __cplusplus
31967}
31968#endif
31969
31970int
31971main ()
31972{
31973return f != $ac_func;
31974 ;
31975 return 0;
31976}
31977_ACEOF
31978rm -f conftest.$ac_objext conftest$ac_exeext
31979if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31980 (eval $ac_link) 2>&5
31981 ac_status=$?
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); } &&
31984 { ac_try='test -s conftest$ac_exeext'
31985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31986 (eval $ac_try) 2>&5
31987 ac_status=$?
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; }; then
31990 eval "$as_ac_var=yes"
31991else
31992 echo "$as_me: failed program was:" >&5
31993sed 's/^/| /' conftest.$ac_ext >&5
31994
31995eval "$as_ac_var=no"
31996fi
31997rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31998fi
31999echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32000echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32001if test `eval echo '${'$as_ac_var'}'` = yes; then
32002 cat >>confdefs.h <<_ACEOF
32003#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32004_ACEOF
32005 cat >>confdefs.h <<\_ACEOF
32006#define HAVE_DLERROR 1
32007_ACEOF
32008
32009else
32010 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32011echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32012if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32014else
32015 ac_check_lib_save_LIBS=$LIBS
32016LIBS="-ldl $LIBS"
32017cat >conftest.$ac_ext <<_ACEOF
32018#line $LINENO "configure"
32019/* confdefs.h. */
32020_ACEOF
32021cat confdefs.h >>conftest.$ac_ext
32022cat >>conftest.$ac_ext <<_ACEOF
32023/* end confdefs.h. */
32024
32025/* Override any gcc2 internal prototype to avoid an error. */
32026#ifdef __cplusplus
32027extern "C"
32028#endif
32029/* We use char because int might match the return type of a gcc2
32030 builtin and then its argument prototype would still apply. */
32031char dlerror ();
32032int
32033main ()
32034{
32035dlerror ();
32036 ;
32037 return 0;
32038}
32039_ACEOF
32040rm -f conftest.$ac_objext conftest$ac_exeext
32041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32042 (eval $ac_link) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } &&
32046 { ac_try='test -s conftest$ac_exeext'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32049 ac_status=$?
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32052 ac_cv_lib_dl_dlerror=yes
32053else
32054 echo "$as_me: failed program was:" >&5
32055sed 's/^/| /' conftest.$ac_ext >&5
32056
32057ac_cv_lib_dl_dlerror=no
32058fi
32059rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32060LIBS=$ac_check_lib_save_LIBS
32061fi
32062echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32063echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32064if test $ac_cv_lib_dl_dlerror = yes; then
32065 cat >>confdefs.h <<\_ACEOF
32066#define HAVE_DLERROR 1
32067_ACEOF
32068
32069fi
32070
32071fi
32072done
32073
32074 fi
32075 fi
32076
32077 if test "$HAVE_DL_FUNCS" = 0; then
32078 if test "$HAVE_SHL_FUNCS" = 0; then
32079 if test "$USE_UNIX" = 1; then
32080 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32081echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32082 wxUSE_DYNAMIC_LOADER=no
32083 wxUSE_DYNLIB_CLASS=no
32084 else
32085 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32086echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32087 fi
32088 fi
32089 fi
32090 fi
32091fi
32092
32093if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32094 cat >>confdefs.h <<\_ACEOF
32095#define wxUSE_DYNAMIC_LOADER 1
32096_ACEOF
32097
32098elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32099 cat >>confdefs.h <<\_ACEOF
32100#define wxUSE_DYNLIB_CLASS 1
32101_ACEOF
32102
32103fi
32104
32105
32106if test "$wxUSE_FONTMAP" = "yes" ; then
32107 cat >>confdefs.h <<\_ACEOF
32108#define wxUSE_FONTMAP 1
32109_ACEOF
32110
32111fi
32112
32113if test "$wxUSE_UNICODE" = "yes" ; then
32114 cat >>confdefs.h <<\_ACEOF
32115#define wxUSE_UNICODE 1
32116_ACEOF
32117
32118
32119 if test "$wxUSE_MSW" != 1; then
32120 wxUSE_UNICODE_MSLU=no
32121 fi
32122
32123 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32124 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32125echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32126if test "${ac_cv_lib_unicows_main+set}" = set; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32128else
32129 ac_check_lib_save_LIBS=$LIBS
32130LIBS="-lunicows $LIBS"
32131cat >conftest.$ac_ext <<_ACEOF
32132#line $LINENO "configure"
32133/* confdefs.h. */
32134_ACEOF
32135cat confdefs.h >>conftest.$ac_ext
32136cat >>conftest.$ac_ext <<_ACEOF
32137/* end confdefs.h. */
32138
32139
32140int
32141main ()
32142{
32143main ();
32144 ;
32145 return 0;
32146}
32147_ACEOF
32148rm -f conftest.$ac_objext conftest$ac_exeext
32149if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32150 (eval $ac_link) 2>&5
32151 ac_status=$?
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); } &&
32154 { ac_try='test -s conftest$ac_exeext'
32155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32156 (eval $ac_try) 2>&5
32157 ac_status=$?
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); }; }; then
32160 ac_cv_lib_unicows_main=yes
32161else
32162 echo "$as_me: failed program was:" >&5
32163sed 's/^/| /' conftest.$ac_ext >&5
32164
32165ac_cv_lib_unicows_main=no
32166fi
32167rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32168LIBS=$ac_check_lib_save_LIBS
32169fi
32170echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32171echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32172if test $ac_cv_lib_unicows_main = yes; then
32173
32174 cat >>confdefs.h <<\_ACEOF
32175#define wxUSE_UNICODE_MSLU 1
32176_ACEOF
32177
32178
32179else
32180
32181 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32182 Applications will only run on Windows NT/2000/XP!" >&5
32183echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32184 Applications will only run on Windows NT/2000/XP!" >&2;}
32185 wxUSE_UNICODE_MSLU=no
32186
32187fi
32188
32189 fi
32190fi
32191
32192if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32193 cat >>confdefs.h <<\_ACEOF
32194#define wxUSE_EXPERIMENTAL_PRINTF 1
32195_ACEOF
32196
32197fi
32198
32199
32200if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32201 cat >>confdefs.h <<\_ACEOF
32202#define wxUSE_POSTSCRIPT 1
32203_ACEOF
32204
32205fi
32206
32207cat >>confdefs.h <<\_ACEOF
32208#define wxUSE_AFM_FOR_POSTSCRIPT 1
32209_ACEOF
32210
32211
32212cat >>confdefs.h <<\_ACEOF
32213#define wxUSE_NORMALIZED_PS_FONTS 1
32214_ACEOF
32215
32216
32217
32218if test "$wxUSE_CONSTRAINTS" = "yes"; then
32219 cat >>confdefs.h <<\_ACEOF
32220#define wxUSE_CONSTRAINTS 1
32221_ACEOF
32222
32223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32224fi
32225
32226if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32227 cat >>confdefs.h <<\_ACEOF
32228#define wxUSE_MDI_ARCHITECTURE 1
32229_ACEOF
32230
32231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32232fi
32233
32234if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32235 cat >>confdefs.h <<\_ACEOF
32236#define wxUSE_DOC_VIEW_ARCHITECTURE 1
32237_ACEOF
32238
32239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32240 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32242 fi
32243fi
32244
32245if test "$wxUSE_HELP" = "yes"; then
32246 cat >>confdefs.h <<\_ACEOF
32247#define wxUSE_HELP 1
32248_ACEOF
32249
32250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32251
32252 if test "$wxUSE_MSW" = 1; then
32253 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32254 cat >>confdefs.h <<\_ACEOF
32255#define wxUSE_MS_HTML_HELP 1
32256_ACEOF
32257
32258 fi
32259 fi
32260
32261 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32262 if test "$wxUSE_HTML" = "yes"; then
32263 cat >>confdefs.h <<\_ACEOF
32264#define wxUSE_WXHTML_HELP 1
32265_ACEOF
32266
32267 else
32268 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32269echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32270 wxUSE_WXHTML_HELP=no
32271 fi
32272 fi
32273fi
32274
32275if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32276 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32277 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32278echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32279 else
32280 cat >>confdefs.h <<\_ACEOF
32281#define wxUSE_PRINTING_ARCHITECTURE 1
32282_ACEOF
32283
32284 fi
32285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32286fi
32287
32288if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32289 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32290echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32291 { (exit 1); exit 1; }; }
32292fi
32293
32294
32295if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32296 -o "$wxUSE_CLIPBOARD" = "yes" \
32297 -o "$wxUSE_OLE" = "yes" \
32298 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32299
32300for ac_header in ole2.h
32301do
32302as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32303if eval "test \"\${$as_ac_Header+set}\" = set"; then
32304 echo "$as_me:$LINENO: checking for $ac_header" >&5
32305echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32306if eval "test \"\${$as_ac_Header+set}\" = set"; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32308fi
32309echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32310echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32311else
32312 # Is the header compilable?
32313echo "$as_me:$LINENO: checking $ac_header usability" >&5
32314echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32315cat >conftest.$ac_ext <<_ACEOF
32316#line $LINENO "configure"
32317/* confdefs.h. */
32318_ACEOF
32319cat confdefs.h >>conftest.$ac_ext
32320cat >>conftest.$ac_ext <<_ACEOF
32321/* end confdefs.h. */
32322$ac_includes_default
32323#include <$ac_header>
32324_ACEOF
32325rm -f conftest.$ac_objext
32326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32327 (eval $ac_compile) 2>&5
32328 ac_status=$?
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); } &&
32331 { ac_try='test -s conftest.$ac_objext'
32332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32333 (eval $ac_try) 2>&5
32334 ac_status=$?
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); }; }; then
32337 ac_header_compiler=yes
32338else
32339 echo "$as_me: failed program was:" >&5
32340sed 's/^/| /' conftest.$ac_ext >&5
32341
32342ac_header_compiler=no
32343fi
32344rm -f conftest.$ac_objext conftest.$ac_ext
32345echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32346echo "${ECHO_T}$ac_header_compiler" >&6
32347
32348# Is the header present?
32349echo "$as_me:$LINENO: checking $ac_header presence" >&5
32350echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32351cat >conftest.$ac_ext <<_ACEOF
32352#line $LINENO "configure"
32353/* confdefs.h. */
32354_ACEOF
32355cat confdefs.h >>conftest.$ac_ext
32356cat >>conftest.$ac_ext <<_ACEOF
32357/* end confdefs.h. */
32358#include <$ac_header>
32359_ACEOF
32360if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32362 ac_status=$?
32363 grep -v '^ *+' conftest.er1 >conftest.err
32364 rm -f conftest.er1
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } >/dev/null; then
32368 if test -s conftest.err; then
32369 ac_cpp_err=$ac_c_preproc_warn_flag
32370 else
32371 ac_cpp_err=
32372 fi
32373else
32374 ac_cpp_err=yes
32375fi
32376if test -z "$ac_cpp_err"; then
32377 ac_header_preproc=yes
32378else
32379 echo "$as_me: failed program was:" >&5
32380sed 's/^/| /' conftest.$ac_ext >&5
32381
32382 ac_header_preproc=no
32383fi
32384rm -f conftest.err conftest.$ac_ext
32385echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32386echo "${ECHO_T}$ac_header_preproc" >&6
32387
32388# So? What about this header?
32389case $ac_header_compiler:$ac_header_preproc in
32390 yes:no )
32391 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32392echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32394echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32395 (
32396 cat <<\_ASBOX
32397## ------------------------------------ ##
32398## Report this to bug-autoconf@gnu.org. ##
32399## ------------------------------------ ##
32400_ASBOX
32401 ) |
32402 sed "s/^/$as_me: WARNING: /" >&2
32403 ;;
32404 no:yes )
32405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32406echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32408echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32410echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32411 (
32412 cat <<\_ASBOX
32413## ------------------------------------ ##
32414## Report this to bug-autoconf@gnu.org. ##
32415## ------------------------------------ ##
32416_ASBOX
32417 ) |
32418 sed "s/^/$as_me: WARNING: /" >&2
32419 ;;
32420esac
32421echo "$as_me:$LINENO: checking for $ac_header" >&5
32422echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32423if eval "test \"\${$as_ac_Header+set}\" = set"; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32425else
32426 eval "$as_ac_Header=$ac_header_preproc"
32427fi
32428echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32429echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32430
32431fi
32432if test `eval echo '${'$as_ac_Header'}'` = yes; then
32433 cat >>confdefs.h <<_ACEOF
32434#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32435_ACEOF
32436
32437fi
32438
32439done
32440
32441
32442 if test "$ac_cv_header_ole2_h" = "yes" ; then
32443 if test "$GCC" = yes ; then
32444
32445
32446 ac_ext=cc
32447ac_cpp='$CXXCPP $CPPFLAGS'
32448ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32449ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32450ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32451
32452
32453 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32454echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32455 cat >conftest.$ac_ext <<_ACEOF
32456#line $LINENO "configure"
32457/* confdefs.h. */
32458_ACEOF
32459cat confdefs.h >>conftest.$ac_ext
32460cat >>conftest.$ac_ext <<_ACEOF
32461/* end confdefs.h. */
32462#include <windows.h>
32463 #include <ole2.h>
32464int
32465main ()
32466{
32467
32468 ;
32469 return 0;
32470}
32471_ACEOF
32472rm -f conftest.$ac_objext
32473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32474 (eval $ac_compile) 2>&5
32475 ac_status=$?
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); } &&
32478 { ac_try='test -s conftest.$ac_objext'
32479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32480 (eval $ac_try) 2>&5
32481 ac_status=$?
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); }; }; then
32484 echo "$as_me:$LINENO: result: no" >&5
32485echo "${ECHO_T}no" >&6
32486else
32487 echo "$as_me: failed program was:" >&5
32488sed 's/^/| /' conftest.$ac_ext >&5
32489
32490echo "$as_me:$LINENO: result: yes" >&5
32491echo "${ECHO_T}yes" >&6
32492 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32493fi
32494rm -f conftest.$ac_objext conftest.$ac_ext
32495 ac_ext=c
32496ac_cpp='$CPP $CPPFLAGS'
32497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32499ac_compiler_gnu=$ac_cv_c_compiler_gnu
32500
32501 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32502 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32503 cat >>confdefs.h <<\_ACEOF
32504#define wxUSE_OLE 1
32505_ACEOF
32506
32507
32508 fi
32509
32510 cat >>confdefs.h <<\_ACEOF
32511#define wxUSE_DATAOBJ 1
32512_ACEOF
32513
32514 else
32515 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32516echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32517
32518 wxUSE_CLIPBOARD=no
32519 wxUSE_DRAG_AND_DROP=no
32520 wxUSE_DATAOBJ=no
32521 wxUSE_OLE=no
32522 fi
32523
32524 if test "$wxUSE_METAFILE" = "yes"; then
32525 cat >>confdefs.h <<\_ACEOF
32526#define wxUSE_METAFILE 1
32527_ACEOF
32528
32529
32530 cat >>confdefs.h <<\_ACEOF
32531#define wxUSE_ENH_METAFILE 1
32532_ACEOF
32533
32534 fi
32535fi
32536
32537if test "$wxUSE_IPC" = "yes"; then
32538 if test "$wxUSE_SOCKETS" != "yes"; then
32539 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32540echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32541 fi
32542
32543 cat >>confdefs.h <<\_ACEOF
32544#define wxUSE_IPC 1
32545_ACEOF
32546
32547fi
32548
32549if test "$wxUSE_CLIPBOARD" = "yes"; then
32550 if test "$wxUSE_MGL" = 1; then
32551 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32552echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32553 wxUSE_CLIPBOARD=no
32554 fi
32555
32556 if test "$wxUSE_CLIPBOARD" = "yes"; then
32557 cat >>confdefs.h <<\_ACEOF
32558#define wxUSE_CLIPBOARD 1
32559_ACEOF
32560
32561
32562 cat >>confdefs.h <<\_ACEOF
32563#define wxUSE_DATAOBJ 1
32564_ACEOF
32565
32566 fi
32567fi
32568
32569if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32570 if test "$wxUSE_GTK" = 1; then
32571 if test "$WXGTK12" != 1; then
32572 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32573echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32574 wxUSE_DRAG_AND_DROP=no
32575 fi
32576 fi
32577
32578 if test "$wxUSE_MOTIF" = 1; then
32579 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32580echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32581 wxUSE_DRAG_AND_DROP=no
32582 fi
32583
32584 if test "$wxUSE_X11" = 1; then
32585 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32586echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32587 wxUSE_DRAG_AND_DROP=no
32588 fi
32589
32590 if test "$wxUSE_MGL" = 1; then
32591 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32592echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32593 wxUSE_DRAG_AND_DROP=no
32594 fi
32595
32596 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32597 cat >>confdefs.h <<\_ACEOF
32598#define wxUSE_DRAG_AND_DROP 1
32599_ACEOF
32600
32601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32602 fi
32603
32604fi
32605
32606if test "$wxUSE_SPLINES" = "yes" ; then
32607 cat >>confdefs.h <<\_ACEOF
32608#define wxUSE_SPLINES 1
32609_ACEOF
32610
32611fi
32612
32613
32614USES_CONTROLS=0
32615if test "$wxUSE_CONTROLS" = "yes"; then
32616 USES_CONTROLS=1
32617fi
32618
32619if test "$wxUSE_ACCEL" = "yes"; then
32620 cat >>confdefs.h <<\_ACEOF
32621#define wxUSE_ACCEL 1
32622_ACEOF
32623
32624 USES_CONTROLS=1
32625fi
32626
32627if test "$wxUSE_BUTTON" = "yes"; then
32628 cat >>confdefs.h <<\_ACEOF
32629#define wxUSE_BUTTON 1
32630_ACEOF
32631
32632 USES_CONTROLS=1
32633fi
32634
32635if test "$wxUSE_BMPBUTTON" = "yes"; then
32636 cat >>confdefs.h <<\_ACEOF
32637#define wxUSE_BMPBUTTON 1
32638_ACEOF
32639
32640 USES_CONTROLS=1
32641fi
32642
32643if test "$wxUSE_CALCTRL" = "yes"; then
32644 cat >>confdefs.h <<\_ACEOF
32645#define wxUSE_CALENDARCTRL 1
32646_ACEOF
32647
32648 USES_CONTROLS=1
32649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32650fi
32651
32652if test "$wxUSE_CARET" = "yes"; then
32653 cat >>confdefs.h <<\_ACEOF
32654#define wxUSE_CARET 1
32655_ACEOF
32656
32657 USES_CONTROLS=1
32658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32659fi
32660
32661if test "$wxUSE_COMBOBOX" = "yes"; then
32662 cat >>confdefs.h <<\_ACEOF
32663#define wxUSE_COMBOBOX 1
32664_ACEOF
32665
32666 USES_CONTROLS=1
32667fi
32668
32669if test "$wxUSE_CHOICE" = "yes"; then
32670 cat >>confdefs.h <<\_ACEOF
32671#define wxUSE_CHOICE 1
32672_ACEOF
32673
32674 USES_CONTROLS=1
32675fi
32676
32677if test "$wxUSE_CHECKBOX" = "yes"; then
32678 cat >>confdefs.h <<\_ACEOF
32679#define wxUSE_CHECKBOX 1
32680_ACEOF
32681
32682 USES_CONTROLS=1
32683fi
32684
32685if test "$wxUSE_CHECKLST" = "yes"; then
32686 cat >>confdefs.h <<\_ACEOF
32687#define wxUSE_CHECKLISTBOX 1
32688_ACEOF
32689
32690 USES_CONTROLS=1
32691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32692fi
32693
32694if test "$wxUSE_DISPLAY" = "yes"; then
32695 cat >>confdefs.h <<\_ACEOF
32696#define wxUSE_DISPLAY 1
32697_ACEOF
32698
32699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32700fi
32701
32702if test "$wxUSE_GAUGE" = "yes"; then
32703 cat >>confdefs.h <<\_ACEOF
32704#define wxUSE_GAUGE 1
32705_ACEOF
32706
32707 USES_CONTROLS=1
32708fi
32709
32710if test "$wxUSE_GRID" = "yes"; then
32711 cat >>confdefs.h <<\_ACEOF
32712#define wxUSE_GRID 1
32713_ACEOF
32714
32715 USES_CONTROLS=1
32716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32717fi
32718
32719if test "$wxUSE_IMAGLIST" = "yes"; then
32720 cat >>confdefs.h <<\_ACEOF
32721#define wxUSE_IMAGLIST 1
32722_ACEOF
32723
32724fi
32725
32726if test "$wxUSE_LISTBOX" = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728#define wxUSE_LISTBOX 1
32729_ACEOF
32730
32731 USES_CONTROLS=1
32732fi
32733
32734if test "$wxUSE_LISTCTRL" = "yes"; then
32735 if test "$wxUSE_IMAGLIST" = "yes"; then
32736 cat >>confdefs.h <<\_ACEOF
32737#define wxUSE_LISTCTRL 1
32738_ACEOF
32739
32740 USES_CONTROLS=1
32741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32742 else
32743 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32744echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32745 fi
32746fi
32747
32748if test "$wxUSE_NOTEBOOK" = "yes"; then
32749 cat >>confdefs.h <<\_ACEOF
32750#define wxUSE_NOTEBOOK 1
32751_ACEOF
32752
32753 USES_CONTROLS=1
32754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32755fi
32756
32757
32758if test "$wxUSE_RADIOBOX" = "yes"; then
32759 cat >>confdefs.h <<\_ACEOF
32760#define wxUSE_RADIOBOX 1
32761_ACEOF
32762
32763 USES_CONTROLS=1
32764fi
32765
32766if test "$wxUSE_RADIOBTN" = "yes"; then
32767 cat >>confdefs.h <<\_ACEOF
32768#define wxUSE_RADIOBTN 1
32769_ACEOF
32770
32771 USES_CONTROLS=1
32772fi
32773
32774if test "$wxUSE_SASH" = "yes"; then
32775 cat >>confdefs.h <<\_ACEOF
32776#define wxUSE_SASH 1
32777_ACEOF
32778
32779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32780fi
32781
32782if test "$wxUSE_SCROLLBAR" = "yes"; then
32783 cat >>confdefs.h <<\_ACEOF
32784#define wxUSE_SCROLLBAR 1
32785_ACEOF
32786
32787 USES_CONTROLS=1
32788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32789fi
32790
32791if test "$wxUSE_SLIDER" = "yes"; then
32792 cat >>confdefs.h <<\_ACEOF
32793#define wxUSE_SLIDER 1
32794_ACEOF
32795
32796 USES_CONTROLS=1
32797fi
32798
32799if test "$wxUSE_SPINBTN" = "yes"; then
32800 cat >>confdefs.h <<\_ACEOF
32801#define wxUSE_SPINBTN 1
32802_ACEOF
32803
32804 USES_CONTROLS=1
32805fi
32806
32807if test "$wxUSE_SPINCTRL" = "yes"; then
32808 cat >>confdefs.h <<\_ACEOF
32809#define wxUSE_SPINCTRL 1
32810_ACEOF
32811
32812 USES_CONTROLS=1
32813fi
32814
32815if test "$wxUSE_SPLITTER" = "yes"; then
32816 cat >>confdefs.h <<\_ACEOF
32817#define wxUSE_SPLITTER 1
32818_ACEOF
32819
32820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32821fi
32822
32823if test "$wxUSE_STATBMP" = "yes"; then
32824 cat >>confdefs.h <<\_ACEOF
32825#define wxUSE_STATBMP 1
32826_ACEOF
32827
32828 USES_CONTROLS=1
32829fi
32830
32831if test "$wxUSE_STATBOX" = "yes"; then
32832 cat >>confdefs.h <<\_ACEOF
32833#define wxUSE_STATBOX 1
32834_ACEOF
32835
32836 USES_CONTROLS=1
32837fi
32838
32839if test "$wxUSE_STATTEXT" = "yes"; then
32840 cat >>confdefs.h <<\_ACEOF
32841#define wxUSE_STATTEXT 1
32842_ACEOF
32843
32844 USES_CONTROLS=1
32845fi
32846
32847if test "$wxUSE_STATLINE" = "yes"; then
32848 cat >>confdefs.h <<\_ACEOF
32849#define wxUSE_STATLINE 1
32850_ACEOF
32851
32852 USES_CONTROLS=1
32853fi
32854
32855if test "$wxUSE_STATUSBAR" = "yes"; then
32856 cat >>confdefs.h <<\_ACEOF
32857#define wxUSE_STATUSBAR 1
32858_ACEOF
32859
32860 USES_CONTROLS=1
32861
32862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32863fi
32864
32865if test "$wxUSE_TABDIALOG" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867#define wxUSE_TAB_DIALOG 1
32868_ACEOF
32869
32870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32871fi
32872
32873if test "$wxUSE_TEXTCTRL" = "yes"; then
32874 cat >>confdefs.h <<\_ACEOF
32875#define wxUSE_TEXTCTRL 1
32876_ACEOF
32877
32878 USES_CONTROLS=1
32879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32880fi
32881
32882if test "$wxUSE_TOGGLEBTN" = "yes"; then
32883 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32884 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32885echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32886 wxUSE_TOGGLEBTN=no
32887 fi
32888 if test "$wxUSE_UNIVERSAL" = "yes"; then
32889 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32890echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32891 wxUSE_TOGGLEBTN=no
32892 fi
32893
32894 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32895 cat >>confdefs.h <<\_ACEOF
32896#define wxUSE_TOGGLEBTN 1
32897_ACEOF
32898
32899 USES_CONTROLS=1
32900 fi
32901fi
32902
32903if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32904 cat >>confdefs.h <<\_ACEOF
32905#define wxUSE_TOOLBAR_SIMPLE 1
32906_ACEOF
32907
32908 wxUSE_TOOLBAR="yes"
32909 USES_CONTROLS=1
32910fi
32911
32912if test "$wxUSE_TOOLBAR" = "yes"; then
32913 cat >>confdefs.h <<\_ACEOF
32914#define wxUSE_TOOLBAR 1
32915_ACEOF
32916
32917 USES_CONTROLS=1
32918
32919 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32920 wxUSE_TOOLBAR_NATIVE="yes"
32921 fi
32922
32923 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32924 cat >>confdefs.h <<\_ACEOF
32925#define wxUSE_TOOLBAR_NATIVE 1
32926_ACEOF
32927
32928 USES_CONTROLS=1
32929 fi
32930
32931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32932fi
32933
32934if test "$wxUSE_TOOLTIPS" = "yes"; then
32935 if test "$wxUSE_MOTIF" = 1; then
32936 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32937echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32938 else
32939 if test "$wxUSE_UNIVERSAL" = "yes"; then
32940 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32941echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32942 else
32943 cat >>confdefs.h <<\_ACEOF
32944#define wxUSE_TOOLTIPS 1
32945_ACEOF
32946
32947 fi
32948 fi
32949fi
32950
32951if test "$wxUSE_TREECTRL" = "yes"; then
32952 if test "$wxUSE_IMAGLIST" = "yes"; then
32953 cat >>confdefs.h <<\_ACEOF
32954#define wxUSE_TREECTRL 1
32955_ACEOF
32956
32957 USES_CONTROLS=1
32958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32959 else
32960 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32961echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32962 fi
32963fi
32964
32965if test "$wxUSE_POPUPWIN" = "yes"; then
32966 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32967 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32968echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32969 else
32970 if test "$wxUSE_MOTIF" = 1; then
32971 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32972echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32973 else
32974 if test "$wxUSE_PM" = 1; then
32975 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32976echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32977 else
32978 cat >>confdefs.h <<\_ACEOF
32979#define wxUSE_POPUPWIN 1
32980_ACEOF
32981
32982
32983 USES_CONTROLS=1
32984 fi
32985 fi
32986 fi
32987fi
32988
32989if test "$wxUSE_TIPWINDOW" = "yes"; then
32990 if test "$wxUSE_PM" = 1; then
32991 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32992echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32993 else
32994 cat >>confdefs.h <<\_ACEOF
32995#define wxUSE_TIPWINDOW 1
32996_ACEOF
32997
32998 fi
32999fi
33000
33001if test "$USES_CONTROLS" = 1; then
33002 cat >>confdefs.h <<\_ACEOF
33003#define wxUSE_CONTROLS 1
33004_ACEOF
33005
33006fi
33007
33008
33009
33010if test "$wxUSE_DRAGIMAGE" = "yes"; then
33011 cat >>confdefs.h <<\_ACEOF
33012#define wxUSE_DRAGIMAGE 1
33013_ACEOF
33014
33015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33016fi
33017
33018if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33019 cat >>confdefs.h <<\_ACEOF
33020#define wxUSE_ACCESSIBILITY 1
33021_ACEOF
33022
33023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33024fi
33025
33026if test "$wxUSE_MENUS" = "yes"; then
33027 cat >>confdefs.h <<\_ACEOF
33028#define wxUSE_MENUS 1
33029_ACEOF
33030
33031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33032fi
33033
33034if test "$wxUSE_METAFILE" = "yes"; then
33035 cat >>confdefs.h <<\_ACEOF
33036#define wxUSE_METAFILE 1
33037_ACEOF
33038
33039fi
33040
33041if test "$wxUSE_MIMETYPE" = "yes"; then
33042 cat >>confdefs.h <<\_ACEOF
33043#define wxUSE_MIMETYPE 1
33044_ACEOF
33045
33046fi
33047
33048if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33049 cat >>confdefs.h <<\_ACEOF
33050#define wxUSE_SYSTEM_OPTIONS 1
33051_ACEOF
33052
33053if test "$TOOLKIT" = "MSW"; then
33054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33055fi
33056
33057fi
33058
33059if test "$wxUSE_MINIFRAME" = "yes"; then
33060 cat >>confdefs.h <<\_ACEOF
33061#define wxUSE_MINIFRAME 1
33062_ACEOF
33063
33064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33065fi
33066
33067USE_HTML=0
33068if test "$wxUSE_HTML" = "yes"; then
33069 cat >>confdefs.h <<\_ACEOF
33070#define wxUSE_HTML 1
33071_ACEOF
33072
33073 USE_HTML=1
33074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33075fi
33076
33077if test "$wxUSE_VALIDATORS" = "yes"; then
33078 cat >>confdefs.h <<\_ACEOF
33079#define wxUSE_VALIDATORS 1
33080_ACEOF
33081
33082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33083fi
33084
33085if test "$wxUSE_PALETTE" = "yes" ; then
33086 cat >>confdefs.h <<\_ACEOF
33087#define wxUSE_PALETTE 1
33088_ACEOF
33089
33090fi
33091
33092if test "$wxUSE_IMAGE" = "yes" ; then
33093 cat >>confdefs.h <<\_ACEOF
33094#define wxUSE_IMAGE 1
33095_ACEOF
33096
33097fi
33098
33099if test "$wxUSE_GIF" = "yes" ; then
33100 cat >>confdefs.h <<\_ACEOF
33101#define wxUSE_GIF 1
33102_ACEOF
33103
33104fi
33105
33106if test "$wxUSE_PCX" = "yes" ; then
33107 cat >>confdefs.h <<\_ACEOF
33108#define wxUSE_PCX 1
33109_ACEOF
33110
33111fi
33112
33113if test "$wxUSE_IFF" = "yes" ; then
33114 cat >>confdefs.h <<\_ACEOF
33115#define wxUSE_IFF 1
33116_ACEOF
33117
33118fi
33119
33120if test "$wxUSE_PNM" = "yes" ; then
33121 cat >>confdefs.h <<\_ACEOF
33122#define wxUSE_PNM 1
33123_ACEOF
33124
33125fi
33126
33127if test "$wxUSE_XPM" = "yes" ; then
33128 cat >>confdefs.h <<\_ACEOF
33129#define wxUSE_XPM 1
33130_ACEOF
33131
33132fi
33133
33134if test "$wxUSE_ICO_CUR" = "yes" ; then
33135 cat >>confdefs.h <<\_ACEOF
33136#define wxUSE_ICO_CUR 1
33137_ACEOF
33138
33139fi
33140
33141if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33142 LIBS=" -lunicows $LIBS"
33143fi
33144
33145
33146if test "$wxUSE_CHOICEDLG" = "yes"; then
33147 cat >>confdefs.h <<\_ACEOF
33148#define wxUSE_CHOICEDLG 1
33149_ACEOF
33150
33151fi
33152
33153if test "$wxUSE_COLOURDLG" = "yes"; then
33154 cat >>confdefs.h <<\_ACEOF
33155#define wxUSE_COLOURDLG 1
33156_ACEOF
33157
33158fi
33159
33160if test "$wxUSE_FILEDLG" = "yes"; then
33161 cat >>confdefs.h <<\_ACEOF
33162#define wxUSE_FILEDLG 1
33163_ACEOF
33164
33165fi
33166
33167if test "$wxUSE_FINDREPLDLG" = "yes"; then
33168 cat >>confdefs.h <<\_ACEOF
33169#define wxUSE_FINDREPLDLG 1
33170_ACEOF
33171
33172fi
33173
33174if test "$wxUSE_FONTDLG" = "yes"; then
33175 cat >>confdefs.h <<\_ACEOF
33176#define wxUSE_FONTDLG 1
33177_ACEOF
33178
33179fi
33180
33181if test "$wxUSE_DIRDLG" = "yes"; then
33182 if test "$wxUSE_TREECTRL" != "yes"; then
33183 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33184echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33185 else
33186 cat >>confdefs.h <<\_ACEOF
33187#define wxUSE_DIRDLG 1
33188_ACEOF
33189
33190 fi
33191fi
33192
33193if test "$wxUSE_MSGDLG" = "yes"; then
33194 cat >>confdefs.h <<\_ACEOF
33195#define wxUSE_MSGDLG 1
33196_ACEOF
33197
33198fi
33199
33200if test "$wxUSE_NUMBERDLG" = "yes"; then
33201 cat >>confdefs.h <<\_ACEOF
33202#define wxUSE_NUMBERDLG 1
33203_ACEOF
33204
33205fi
33206
33207if test "$wxUSE_PROGRESSDLG" = "yes"; then
33208 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33209 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33210echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33211 else
33212 cat >>confdefs.h <<\_ACEOF
33213#define wxUSE_PROGRESSDLG 1
33214_ACEOF
33215
33216 fi
33217fi
33218
33219if test "$wxUSE_SPLASH" = "yes"; then
33220 cat >>confdefs.h <<\_ACEOF
33221#define wxUSE_SPLASH 1
33222_ACEOF
33223
33224fi
33225
33226if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33227 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33228 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33229echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33230 else
33231 cat >>confdefs.h <<\_ACEOF
33232#define wxUSE_STARTUP_TIPS 1
33233_ACEOF
33234
33235 fi
33236fi
33237
33238if test "$wxUSE_TEXTDLG" = "yes"; then
33239 cat >>confdefs.h <<\_ACEOF
33240#define wxUSE_TEXTDLG 1
33241_ACEOF
33242
33243fi
33244
33245if test "$wxUSE_WIZARDDLG" = "yes"; then
33246 cat >>confdefs.h <<\_ACEOF
33247#define wxUSE_WIZARDDLG 1
33248_ACEOF
33249
33250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33251fi
33252
33253
33254if test "$cross_compiling" = "yes"; then
33255 OSINFO="\"$host\""
33256else
33257 OSINFO=`uname -s -r -m`
33258 OSINFO="\"$OSINFO\""
33259fi
33260
33261cat >>confdefs.h <<_ACEOF
33262#define WXWIN_OS_DESCRIPTION $OSINFO
33263_ACEOF
33264
33265
33266
33267if test "x$prefix" != "xNONE"; then
33268 wxPREFIX=$prefix
33269else
33270 wxPREFIX=$ac_default_prefix
33271fi
33272
33273cat >>confdefs.h <<_ACEOF
33274#define wxINSTALL_PREFIX "$wxPREFIX"
33275_ACEOF
33276
33277
33278top_builddir_wxconfig=`pwd`
33279
33280
33281
33282
33283if test "$wxUSE_MAC" = 1 ; then
33284 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33285fi
33286if test "$wxUSE_COCOA" = 1 ; then
33287 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33288fi
33289
33290
33291LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33292
33293have_cos=0
33294have_floor=0
33295
33296for ac_func in cos
33297do
33298as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33299echo "$as_me:$LINENO: checking for $ac_func" >&5
33300echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33301if eval "test \"\${$as_ac_var+set}\" = set"; then
33302 echo $ECHO_N "(cached) $ECHO_C" >&6
33303else
33304 cat >conftest.$ac_ext <<_ACEOF
33305#line $LINENO "configure"
33306/* confdefs.h. */
33307_ACEOF
33308cat confdefs.h >>conftest.$ac_ext
33309cat >>conftest.$ac_ext <<_ACEOF
33310/* end confdefs.h. */
33311/* System header to define __stub macros and hopefully few prototypes,
33312 which can conflict with char $ac_func (); below.
33313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33314 <limits.h> exists even on freestanding compilers. */
33315#ifdef __STDC__
33316# include <limits.h>
33317#else
33318# include <assert.h>
33319#endif
33320/* Override any gcc2 internal prototype to avoid an error. */
33321#ifdef __cplusplus
33322extern "C"
33323{
33324#endif
33325/* We use char because int might match the return type of a gcc2
33326 builtin and then its argument prototype would still apply. */
33327char $ac_func ();
33328/* The GNU C library defines this for functions which it implements
33329 to always fail with ENOSYS. Some functions are actually named
33330 something starting with __ and the normal name is an alias. */
33331#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33332choke me
33333#else
33334char (*f) () = $ac_func;
33335#endif
33336#ifdef __cplusplus
33337}
33338#endif
33339
33340int
33341main ()
33342{
33343return f != $ac_func;
33344 ;
33345 return 0;
33346}
33347_ACEOF
33348rm -f conftest.$ac_objext conftest$ac_exeext
33349if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33350 (eval $ac_link) 2>&5
33351 ac_status=$?
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } &&
33354 { ac_try='test -s conftest$ac_exeext'
33355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33356 (eval $ac_try) 2>&5
33357 ac_status=$?
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); }; }; then
33360 eval "$as_ac_var=yes"
33361else
33362 echo "$as_me: failed program was:" >&5
33363sed 's/^/| /' conftest.$ac_ext >&5
33364
33365eval "$as_ac_var=no"
33366fi
33367rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33368fi
33369echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33370echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33371if test `eval echo '${'$as_ac_var'}'` = yes; then
33372 cat >>confdefs.h <<_ACEOF
33373#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33374_ACEOF
33375 have_cos=1
33376fi
33377done
33378
33379
33380for ac_func in floor
33381do
33382as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33383echo "$as_me:$LINENO: checking for $ac_func" >&5
33384echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33385if eval "test \"\${$as_ac_var+set}\" = set"; then
33386 echo $ECHO_N "(cached) $ECHO_C" >&6
33387else
33388 cat >conftest.$ac_ext <<_ACEOF
33389#line $LINENO "configure"
33390/* confdefs.h. */
33391_ACEOF
33392cat confdefs.h >>conftest.$ac_ext
33393cat >>conftest.$ac_ext <<_ACEOF
33394/* end confdefs.h. */
33395/* System header to define __stub macros and hopefully few prototypes,
33396 which can conflict with char $ac_func (); below.
33397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33398 <limits.h> exists even on freestanding compilers. */
33399#ifdef __STDC__
33400# include <limits.h>
33401#else
33402# include <assert.h>
33403#endif
33404/* Override any gcc2 internal prototype to avoid an error. */
33405#ifdef __cplusplus
33406extern "C"
33407{
33408#endif
33409/* We use char because int might match the return type of a gcc2
33410 builtin and then its argument prototype would still apply. */
33411char $ac_func ();
33412/* The GNU C library defines this for functions which it implements
33413 to always fail with ENOSYS. Some functions are actually named
33414 something starting with __ and the normal name is an alias. */
33415#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33416choke me
33417#else
33418char (*f) () = $ac_func;
33419#endif
33420#ifdef __cplusplus
33421}
33422#endif
33423
33424int
33425main ()
33426{
33427return f != $ac_func;
33428 ;
33429 return 0;
33430}
33431_ACEOF
33432rm -f conftest.$ac_objext conftest$ac_exeext
33433if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33434 (eval $ac_link) 2>&5
33435 ac_status=$?
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); } &&
33438 { ac_try='test -s conftest$ac_exeext'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33441 ac_status=$?
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; }; then
33444 eval "$as_ac_var=yes"
33445else
33446 echo "$as_me: failed program was:" >&5
33447sed 's/^/| /' conftest.$ac_ext >&5
33448
33449eval "$as_ac_var=no"
33450fi
33451rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33452fi
33453echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33454echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33455if test `eval echo '${'$as_ac_var'}'` = yes; then
33456 cat >>confdefs.h <<_ACEOF
33457#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33458_ACEOF
33459 have_floor=1
33460fi
33461done
33462
33463echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33464echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33465if test "$have_cos" = 1 -a "$have_floor" = 1; then
33466 echo "$as_me:$LINENO: result: yes" >&5
33467echo "${ECHO_T}yes" >&6
33468else
33469 echo "$as_me:$LINENO: result: no" >&5
33470echo "${ECHO_T}no" >&6
33471 LIBS="$LIBS -lm"
33472 # use different functions to avoid configure caching
33473 have_sin=0
33474 have_ceil=0
33475
33476for ac_func in sin
33477do
33478as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33479echo "$as_me:$LINENO: checking for $ac_func" >&5
33480echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33481if eval "test \"\${$as_ac_var+set}\" = set"; then
33482 echo $ECHO_N "(cached) $ECHO_C" >&6
33483else
33484 cat >conftest.$ac_ext <<_ACEOF
33485#line $LINENO "configure"
33486/* confdefs.h. */
33487_ACEOF
33488cat confdefs.h >>conftest.$ac_ext
33489cat >>conftest.$ac_ext <<_ACEOF
33490/* end confdefs.h. */
33491/* System header to define __stub macros and hopefully few prototypes,
33492 which can conflict with char $ac_func (); below.
33493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33494 <limits.h> exists even on freestanding compilers. */
33495#ifdef __STDC__
33496# include <limits.h>
33497#else
33498# include <assert.h>
33499#endif
33500/* Override any gcc2 internal prototype to avoid an error. */
33501#ifdef __cplusplus
33502extern "C"
33503{
33504#endif
33505/* We use char because int might match the return type of a gcc2
33506 builtin and then its argument prototype would still apply. */
33507char $ac_func ();
33508/* The GNU C library defines this for functions which it implements
33509 to always fail with ENOSYS. Some functions are actually named
33510 something starting with __ and the normal name is an alias. */
33511#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33512choke me
33513#else
33514char (*f) () = $ac_func;
33515#endif
33516#ifdef __cplusplus
33517}
33518#endif
33519
33520int
33521main ()
33522{
33523return f != $ac_func;
33524 ;
33525 return 0;
33526}
33527_ACEOF
33528rm -f conftest.$ac_objext conftest$ac_exeext
33529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33530 (eval $ac_link) 2>&5
33531 ac_status=$?
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try='test -s conftest$ac_exeext'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33540 eval "$as_ac_var=yes"
33541else
33542 echo "$as_me: failed program was:" >&5
33543sed 's/^/| /' conftest.$ac_ext >&5
33544
33545eval "$as_ac_var=no"
33546fi
33547rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33548fi
33549echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33550echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33551if test `eval echo '${'$as_ac_var'}'` = yes; then
33552 cat >>confdefs.h <<_ACEOF
33553#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33554_ACEOF
33555 have_sin=1
33556fi
33557done
33558
33559
33560for ac_func in ceil
33561do
33562as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33563echo "$as_me:$LINENO: checking for $ac_func" >&5
33564echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33565if eval "test \"\${$as_ac_var+set}\" = set"; then
33566 echo $ECHO_N "(cached) $ECHO_C" >&6
33567else
33568 cat >conftest.$ac_ext <<_ACEOF
33569#line $LINENO "configure"
33570/* confdefs.h. */
33571_ACEOF
33572cat confdefs.h >>conftest.$ac_ext
33573cat >>conftest.$ac_ext <<_ACEOF
33574/* end confdefs.h. */
33575/* System header to define __stub macros and hopefully few prototypes,
33576 which can conflict with char $ac_func (); below.
33577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33578 <limits.h> exists even on freestanding compilers. */
33579#ifdef __STDC__
33580# include <limits.h>
33581#else
33582# include <assert.h>
33583#endif
33584/* Override any gcc2 internal prototype to avoid an error. */
33585#ifdef __cplusplus
33586extern "C"
33587{
33588#endif
33589/* We use char because int might match the return type of a gcc2
33590 builtin and then its argument prototype would still apply. */
33591char $ac_func ();
33592/* The GNU C library defines this for functions which it implements
33593 to always fail with ENOSYS. Some functions are actually named
33594 something starting with __ and the normal name is an alias. */
33595#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33596choke me
33597#else
33598char (*f) () = $ac_func;
33599#endif
33600#ifdef __cplusplus
33601}
33602#endif
33603
33604int
33605main ()
33606{
33607return f != $ac_func;
33608 ;
33609 return 0;
33610}
33611_ACEOF
33612rm -f conftest.$ac_objext conftest$ac_exeext
33613if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33614 (eval $ac_link) 2>&5
33615 ac_status=$?
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); } &&
33618 { ac_try='test -s conftest$ac_exeext'
33619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33620 (eval $ac_try) 2>&5
33621 ac_status=$?
33622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 (exit $ac_status); }; }; then
33624 eval "$as_ac_var=yes"
33625else
33626 echo "$as_me: failed program was:" >&5
33627sed 's/^/| /' conftest.$ac_ext >&5
33628
33629eval "$as_ac_var=no"
33630fi
33631rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33632fi
33633echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33634echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33635if test `eval echo '${'$as_ac_var'}'` = yes; then
33636 cat >>confdefs.h <<_ACEOF
33637#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33638_ACEOF
33639 have_ceil=1
33640fi
33641done
33642
33643 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33644echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33645 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33646 echo "$as_me:$LINENO: result: yes" >&5
33647echo "${ECHO_T}yes" >&6
33648 else
33649 echo "$as_me:$LINENO: result: no" >&5
33650echo "${ECHO_T}no" >&6
33651 # not sure we should warn the user, crash, etc.
33652 fi
33653fi
33654
33655if test "$wxUSE_GUI" = "yes"; then
33656
33657
33658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33659 drawing dynamic erase event exec font image \
33660 minimal propsize rotate shaped widgets"
33661
33662 if test "$wxUSE_MONOLITHIC" != "yes"; then
33663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33664 fi
33665else
33666 SAMPLES_SUBDIRS="console"
33667fi
33668
33669
33670INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33671-I\${top_srcdir}/include \
33672$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33673$TOOLKIT_INCLUDE"
33674
33675if test "$GXX" = yes ; then
33676 CXXWARNINGS="-Wall"
33677 fi
33678
33679EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33680
33681CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33682CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33683CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33684
33685
33686LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33687EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33688EXTRALIBS_XML="$EXPAT_LINK"
33689if test "$wxUSE_GUI" = "yes"; then
33690 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33691fi
33692if test "$wxUSE_OPENGL" = "yes"; then
33693 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33694fi
33695
33696LDFLAGS="$LDFLAGS $PROFILE"
33697
33698if test "$wxUSE_GTK" = 1; then
33699 WXCONFIG_INCLUDE=
33700else
33701 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33702fi
33703
33704if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33705 WXUNIV=1
33706else
33707 WXUNIV=0
33708fi
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718if test $wxUSE_MONOLITHIC = "yes" ; then
33719 MONOLITHIC=1
33720else
33721 MONOLITHIC=0
33722fi
33723
33724VENDOR="custom"
33725OFFICIAL_BUILD=0
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33739
33740
33741
33742
33743
33744
33745 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33746
33747 if test -n "$ac_tool_prefix"; then
33748 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33749set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33750echo "$as_me:$LINENO: checking for $ac_word" >&5
33751echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33752if test "${ac_cv_prog_RANLIB+set}" = set; then
33753 echo $ECHO_N "(cached) $ECHO_C" >&6
33754else
33755 if test -n "$RANLIB"; then
33756 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33757else
33758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33759for as_dir in $PATH
33760do
33761 IFS=$as_save_IFS
33762 test -z "$as_dir" && as_dir=.
33763 for ac_exec_ext in '' $ac_executable_extensions; do
33764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33765 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33767 break 2
33768 fi
33769done
33770done
33771
33772fi
33773fi
33774RANLIB=$ac_cv_prog_RANLIB
33775if test -n "$RANLIB"; then
33776 echo "$as_me:$LINENO: result: $RANLIB" >&5
33777echo "${ECHO_T}$RANLIB" >&6
33778else
33779 echo "$as_me:$LINENO: result: no" >&5
33780echo "${ECHO_T}no" >&6
33781fi
33782
33783fi
33784if test -z "$ac_cv_prog_RANLIB"; then
33785 ac_ct_RANLIB=$RANLIB
33786 # Extract the first word of "ranlib", so it can be a program name with args.
33787set dummy ranlib; ac_word=$2
33788echo "$as_me:$LINENO: checking for $ac_word" >&5
33789echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33790if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33792else
33793 if test -n "$ac_ct_RANLIB"; then
33794 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33795else
33796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33797for as_dir in $PATH
33798do
33799 IFS=$as_save_IFS
33800 test -z "$as_dir" && as_dir=.
33801 for ac_exec_ext in '' $ac_executable_extensions; do
33802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33803 ac_cv_prog_ac_ct_RANLIB="ranlib"
33804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33805 break 2
33806 fi
33807done
33808done
33809
33810 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33811fi
33812fi
33813ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33814if test -n "$ac_ct_RANLIB"; then
33815 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33816echo "${ECHO_T}$ac_ct_RANLIB" >&6
33817else
33818 echo "$as_me:$LINENO: result: no" >&5
33819echo "${ECHO_T}no" >&6
33820fi
33821
33822 RANLIB=$ac_ct_RANLIB
33823else
33824 RANLIB="$ac_cv_prog_RANLIB"
33825fi
33826
33827 # Find a good install program. We prefer a C program (faster),
33828# so one script is as good as another. But avoid the broken or
33829# incompatible versions:
33830# SysV /etc/install, /usr/sbin/install
33831# SunOS /usr/etc/install
33832# IRIX /sbin/install
33833# AIX /bin/install
33834# AmigaOS /C/install, which installs bootblocks on floppy discs
33835# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33836# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33837# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33838# ./install, which can be erroneously created by make from ./install.sh.
33839echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33840echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33841if test -z "$INSTALL"; then
33842if test "${ac_cv_path_install+set}" = set; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33844else
33845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33846for as_dir in $PATH
33847do
33848 IFS=$as_save_IFS
33849 test -z "$as_dir" && as_dir=.
33850 # Account for people who put trailing slashes in PATH elements.
33851case $as_dir/ in
33852 ./ | .// | /cC/* | \
33853 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33854 /usr/ucb/* ) ;;
33855 *)
33856 # OSF1 and SCO ODT 3.0 have their own names for install.
33857 # Don't use installbsd from OSF since it installs stuff as root
33858 # by default.
33859 for ac_prog in ginstall scoinst install; do
33860 for ac_exec_ext in '' $ac_executable_extensions; do
33861 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33862 if test $ac_prog = install &&
33863 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33864 # AIX install. It has an incompatible calling convention.
33865 :
33866 elif test $ac_prog = install &&
33867 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33868 # program-specific install script used by HP pwplus--don't use.
33869 :
33870 else
33871 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33872 break 3
33873 fi
33874 fi
33875 done
33876 done
33877 ;;
33878esac
33879done
33880
33881
33882fi
33883 if test "${ac_cv_path_install+set}" = set; then
33884 INSTALL=$ac_cv_path_install
33885 else
33886 # As a last resort, use the slow shell script. We don't cache a
33887 # path for INSTALL within a source directory, because that will
33888 # break other packages using the cache if that directory is
33889 # removed, or if the path is relative.
33890 INSTALL=$ac_install_sh
33891 fi
33892fi
33893echo "$as_me:$LINENO: result: $INSTALL" >&5
33894echo "${ECHO_T}$INSTALL" >&6
33895
33896# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33897# It thinks the first close brace ends the variable substitution.
33898test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33899
33900test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33901
33902test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33903
33904 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33905echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33906LN_S=$as_ln_s
33907if test "$LN_S" = "ln -s"; then
33908 echo "$as_me:$LINENO: result: yes" >&5
33909echo "${ECHO_T}yes" >&6
33910else
33911 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33912echo "${ECHO_T}no, using $LN_S" >&6
33913fi
33914
33915
33916 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33917echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33918set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33919if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33921else
33922 cat >conftest.make <<\_ACEOF
33923all:
33924 @echo 'ac_maketemp="$(MAKE)"'
33925_ACEOF
33926# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33927eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33928if test -n "$ac_maketemp"; then
33929 eval ac_cv_prog_make_${ac_make}_set=yes
33930else
33931 eval ac_cv_prog_make_${ac_make}_set=no
33932fi
33933rm -f conftest.make
33934fi
33935if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33936 echo "$as_me:$LINENO: result: yes" >&5
33937echo "${ECHO_T}yes" >&6
33938 SET_MAKE=
33939else
33940 echo "$as_me:$LINENO: result: no" >&5
33941echo "${ECHO_T}no" >&6
33942 SET_MAKE="MAKE=${MAKE-make}"
33943fi
33944
33945
33946
33947 if test "$build" != "$host" ; then
33948 AR=$host_alias-ar
33949 STRIP=$host_alias-strip
33950 else
33951 # Extract the first word of "ar", so it can be a program name with args.
33952set dummy ar; ac_word=$2
33953echo "$as_me:$LINENO: checking for $ac_word" >&5
33954echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33955if test "${ac_cv_prog_AR+set}" = set; then
33956 echo $ECHO_N "(cached) $ECHO_C" >&6
33957else
33958 if test -n "$AR"; then
33959 ac_cv_prog_AR="$AR" # Let the user override the test.
33960else
33961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33962for as_dir in $PATH
33963do
33964 IFS=$as_save_IFS
33965 test -z "$as_dir" && as_dir=.
33966 for ac_exec_ext in '' $ac_executable_extensions; do
33967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33968 ac_cv_prog_AR="ar"
33969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33970 break 2
33971 fi
33972done
33973done
33974
33975 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33976fi
33977fi
33978AR=$ac_cv_prog_AR
33979if test -n "$AR"; then
33980 echo "$as_me:$LINENO: result: $AR" >&5
33981echo "${ECHO_T}$AR" >&6
33982else
33983 echo "$as_me:$LINENO: result: no" >&5
33984echo "${ECHO_T}no" >&6
33985fi
33986
33987 # Extract the first word of "strip", so it can be a program name with args.
33988set dummy strip; ac_word=$2
33989echo "$as_me:$LINENO: checking for $ac_word" >&5
33990echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33991if test "${ac_cv_prog_STRIP+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33993else
33994 if test -n "$STRIP"; then
33995 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33996else
33997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33998for as_dir in $PATH
33999do
34000 IFS=$as_save_IFS
34001 test -z "$as_dir" && as_dir=.
34002 for ac_exec_ext in '' $ac_executable_extensions; do
34003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34004 ac_cv_prog_STRIP="strip"
34005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34006 break 2
34007 fi
34008done
34009done
34010
34011 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34012fi
34013fi
34014STRIP=$ac_cv_prog_STRIP
34015if test -n "$STRIP"; then
34016 echo "$as_me:$LINENO: result: $STRIP" >&5
34017echo "${ECHO_T}$STRIP" >&6
34018else
34019 echo "$as_me:$LINENO: result: no" >&5
34020echo "${ECHO_T}no" >&6
34021fi
34022
34023 fi
34024
34025 case ${host} in
34026 *-hp-hpux* )
34027 INSTALL_DIR="mkdir"
34028 ;;
34029 *) INSTALL_DIR="$INSTALL -d"
34030 ;;
34031 esac
34032
34033
34034 LDFLAGS_GUI=
34035 case ${host} in
34036 *-*-cygwin* | *-*-mingw32* )
34037 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34038 esac
34039
34040
34041 fi
34042
34043 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34044echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34045if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047else
34048
34049 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34050 egrep -s GNU > /dev/null); then
34051 bakefile_cv_prog_makeisgnu="yes"
34052 else
34053 bakefile_cv_prog_makeisgnu="no"
34054 fi
34055
34056fi
34057echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34058echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34059
34060 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34061 IF_GNU_MAKE=""
34062 else
34063 IF_GNU_MAKE="#"
34064 fi
34065
34066
34067
34068 PLATFORM_UNIX=0
34069 PLATFORM_WIN32=0
34070 PLATFORM_MSDOS=0
34071 PLATFORM_MAC=0
34072 PLATFORM_MACOSX=0
34073
34074 case "${host}" in
34075 *-*-cygwin* | *-*-mingw32* )
34076 PLATFORM_WIN32=1
34077 ;;
34078 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34079 PLATFORM_MSDOS=1
34080 ;;
34081 powerpc-*-darwin* )
34082 PLATFORM_MAC=1
34083 PLATFORM_MACOSX=1
34084 ;;
34085 * )
34086 PLATFORM_UNIX=1
34087 ;;
34088 esac
34089
34090
34091
34092
34093
34094
34095
34096
34097 SO_SUFFIX="so"
34098 EXEEXT=""
34099 DLLPREFIX=lib
34100
34101 case "${host}" in
34102 *-hp-hpux* )
34103 SO_SUFFIX="sl"
34104 ;;
34105 *-*-aix* )
34106 SO_SUFFIX="a"
34107 ;;
34108 *-*-cygwin* | *-*-mingw32* )
34109 SO_SUFFIX="dll"
34110 EXEEXT=".exe"
34111 DLLPREFIX=""
34112 ;;
34113 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34114 EXEEXT=".exe"
34115 DLLPREFIX=""
34116 ;;
34117 powerpc-*-darwin* )
34118 SO_SUFFIX="dylib"
34119 ;;
34120 esac
34121
34122
34123
34124
34125
34126
34127 SHARED_LD_CC="\$(CC) -shared -o"
34128 SHARED_LD_CXX="\$(CXX) -shared -o"
34129
34130 if test "x$GCC" = "xyes"; then
34131 PIC_FLAG="-fPIC"
34132 fi
34133
34134 case "${host}" in
34135 *-hp-hpux* )
34136 if test "x$GCC" = "xyes"; then
34137 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34138 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34139 else
34140 LDFLAGS="$LDFLAGS -L/usr/lib"
34141
34142 SHARED_LD_CC="${CC} -b -o"
34143 SHARED_LD_CXX="${CXX} -b -o"
34144 PIC_FLAG="+Z"
34145 fi
34146 ;;
34147
34148 *-*-linux* )
34149 if test "x$GCC" != "xyes"; then
34150 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34151echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34152if test "${bakefile_cv_prog_icc+set}" = set; then
34153 echo $ECHO_N "(cached) $ECHO_C" >&6
34154else
34155
34156 cat >conftest.$ac_ext <<_ACEOF
34157#line $LINENO "configure"
34158/* confdefs.h. */
34159_ACEOF
34160cat confdefs.h >>conftest.$ac_ext
34161cat >>conftest.$ac_ext <<_ACEOF
34162/* end confdefs.h. */
34163
34164int
34165main ()
34166{
34167
34168 #ifndef __INTEL_COMPILER
34169 #error Not icc
34170 #endif
34171
34172 ;
34173 return 0;
34174}
34175_ACEOF
34176rm -f conftest.$ac_objext
34177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34178 (eval $ac_compile) 2>&5
34179 ac_status=$?
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } &&
34182 { ac_try='test -s conftest.$ac_objext'
34183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34184 (eval $ac_try) 2>&5
34185 ac_status=$?
34186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34187 (exit $ac_status); }; }; then
34188 bakefile_cv_prog_icc=yes
34189else
34190 echo "$as_me: failed program was:" >&5
34191sed 's/^/| /' conftest.$ac_ext >&5
34192
34193bakefile_cv_prog_icc=no
34194
34195fi
34196rm -f conftest.$ac_objext conftest.$ac_ext
34197
34198fi
34199echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34200echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34201 if test "$bakefile_cv_prog_icc" = "yes"; then
34202 PIC_FLAG="-KPIC"
34203 fi
34204 fi
34205 ;;
34206
34207 *-*-solaris2* )
34208 if test "x$GCC" != xyes ; then
34209 SHARED_LD_CC="${CC} -G -o"
34210 SHARED_LD_CXX="${CXX} -G -o"
34211 PIC_FLAG="-KPIC"
34212 fi
34213 ;;
34214
34215 *-*-darwin* )
34216 CFLAGS="$CFLAGS -fno-common"
34217 CXXFLAGS="$CXXFLAGS -fno-common"
34218
34219
34220 cat <<EOF >shared-ld-sh
34221#!/bin/sh
34222#-----------------------------------------------------------------------------
34223#-- Name: distrib/mac/shared-ld-sh
34224#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34225#-- Author: Gilles Depeyrot
34226#-- Copyright: (c) 2002 Gilles Depeyrot
34227#-- Licence: any use permitted
34228#-----------------------------------------------------------------------------
34229
34230verbose=0
34231args=""
34232objects=""
34233
34234while test \${#} -gt 0; do
34235 case \${1} in
34236
34237 -v)
34238 verbose=1
34239 ;;
34240
34241 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34242 # collect these options and values
34243 args="\${args} \${1} \${2}"
34244 shift
34245 ;;
34246
34247 -l*|-L*|-flat_namespace)
34248 # collect these options
34249 args="\${args} \${1}"
34250 ;;
34251
34252 -dynamiclib)
34253 # skip these options
34254 ;;
34255
34256 -*)
34257 echo "shared-ld: unhandled option '\${1}'"
34258 exit 1
34259 ;;
34260
34261 *.o | *.a | *.dylib)
34262 # collect object files
34263 objects="\${objects} \${1}"
34264 ;;
34265
34266 *)
34267 echo "shared-ld: unhandled argument '\${1}'"
34268 exit 1
34269 ;;
34270
34271 esac
34272 shift
34273done
34274
34275#
34276# Link one module containing all the others
34277#
34278if test \${verbose} = 1; then
34279 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34280fi
34281c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34282status=\$?
34283if test \${status} != 0; then
34284 exit \${status}
34285fi
34286
34287#
34288# Link the shared library from the single module created
34289#
34290if test \${verbose} = 1; then
34291 echo "cc -dynamiclib master.\$\$.o \${args}"
34292fi
34293c++ -dynamiclib master.\$\$.o \${args}
34294status=\$?
34295if test \${status} != 0; then
34296 exit \${status}
34297fi
34298
34299#
34300# Remove intermediate module
34301#
34302rm -f master.\$\$.o
34303
34304exit 0
34305EOF
34306 chmod +x shared-ld-sh
34307
34308 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34309 SHARED_LD_CXX="$SHARED_LD_CC"
34310 PIC_FLAG="-dynamic -fPIC"
34311 ;;
34312
34313 *-*-aix* )
34314 if test "x$GCC" != "xyes"; then
34315 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34316set dummy makeC++SharedLib; ac_word=$2
34317echo "$as_me:$LINENO: checking for $ac_word" >&5
34318echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34319if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34320 echo $ECHO_N "(cached) $ECHO_C" >&6
34321else
34322 if test -n "$AIX_CXX_LD"; then
34323 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34324else
34325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34326for as_dir in $PATH
34327do
34328 IFS=$as_save_IFS
34329 test -z "$as_dir" && as_dir=.
34330 for ac_exec_ext in '' $ac_executable_extensions; do
34331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34332 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34334 break 2
34335 fi
34336done
34337done
34338
34339 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34340fi
34341fi
34342AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34343if test -n "$AIX_CXX_LD"; then
34344 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34345echo "${ECHO_T}$AIX_CXX_LD" >&6
34346else
34347 echo "$as_me:$LINENO: result: no" >&5
34348echo "${ECHO_T}no" >&6
34349fi
34350
34351 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34352 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34353 fi
34354 ;;
34355
34356 *-*-beos* )
34357 SHARED_LD_CC="${LD} -shared -o"
34358 SHARED_LD_CXX="${LD} -shared -o"
34359 ;;
34360
34361 *-*-irix* )
34362 if test "x$GCC" != "xyes"; then
34363 PIC_FLAG="-KPIC"
34364 fi
34365 ;;
34366
34367 *-*-cygwin* | *-*-mingw32* )
34368 PIC_FLAG=""
34369 ;;
34370
34371 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34372 *-*-sunos4* | \
34373 *-*-osf* | \
34374 *-*-dgux5* | \
34375 *-*-sysv5* )
34376 ;;
34377
34378 *)
34379 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34380echo "$as_me: error: unknown system type $host." >&2;}
34381 { (exit 1); exit 1; }; }
34382 esac
34383
34384
34385
34386
34387
34388
34389 USE_SOVERSION=0
34390 USE_SOVERLINUX=0
34391 USE_SOVERSOLARIS=0
34392 USE_SOSYMLINKS=0
34393 USE_MACVERSION=0
34394 SONAME_FLAG=
34395
34396 case "${host}" in
34397 *-*-linux* )
34398 SONAME_FLAG="-Wl,-soname,"
34399 USE_SOVERSION=1
34400 USE_SOVERLINUX=1
34401 USE_SOSYMLINKS=1
34402 ;;
34403
34404 *-*-solaris2* )
34405 SONAME_FLAG="-h "
34406 USE_SOVERSION=1
34407 USE_SOVERSOLARIS=1
34408 USE_SOSYMLINKS=1
34409 ;;
34410
34411 *-*-darwin* )
34412 USE_MACVERSION=1
34413 USE_SOVERSION=1
34414 USE_SOSYMLINKS=1
34415 ;;
34416 esac
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34427echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34428 DEPS_TRACKING=0
34429
34430 if test "x$GCC" = "xyes"; then
34431 DEPSMODE=gcc
34432 DEPS_TRACKING=1
34433 case "${host}" in
34434 powerpc-*-darwin* )
34435 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34436 ;;
34437 * )
34438 DEPSFLAG_GCC="-MMD"
34439 ;;
34440 esac
34441 echo "$as_me:$LINENO: result: gcc" >&5
34442echo "${ECHO_T}gcc" >&6
34443 else
34444 echo "$as_me:$LINENO: result: none" >&5
34445echo "${ECHO_T}none" >&6
34446 fi
34447
34448 if test $DEPS_TRACKING = 1 ; then
34449 cat <<EOF >bk-deps
34450#!/bin/sh
34451
34452# This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34453# It is used to track C/C++ files dependencies in portable way.
34454#
34455# Permission is given to use this file in any way.
34456
34457DEPSMODE=$DEPSMODE
34458DEPSDIR=.deps
34459DEPSFLAG_GCC="$DEPSFLAG_GCC"
34460
34461mkdir -p \$DEPSDIR
34462
34463if test \$DEPSMODE = gcc ; then
34464 \${*} \${DEPSFLAG_GCC}
34465 status=\${?}
34466 if test \${status} != 0 ; then
34467 exit \${status}
34468 fi
34469 # move created file to the location we want it in:
34470 while test \${#} -gt 0; do
34471 case "\${1}" in
34472 -o )
34473 shift
34474 objfile=\${1}
34475 ;;
34476 -* )
34477 ;;
34478 * )
34479 srcfile=\${1}
34480 ;;
34481 esac
34482 shift
34483 done
34484 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34485 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34486 if test -f \$depfile ; then
34487 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34488 rm -f \$depfile
34489 else
34490 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34491 if test -f \$depfile ; then
34492 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34493 rm -f \$depfile
34494 fi
34495 fi
34496 exit 0
34497else
34498 \${*}
34499 exit \${?}
34500fi
34501EOF
34502 chmod +x bk-deps
34503 fi
34504
34505
34506
34507
34508 RESCOMP=
34509 SETFILE=
34510
34511 case ${host} in
34512 *-*-cygwin* | *-*-mingw32* )
34513 if test "$build" != "$host" ; then
34514 RESCOMP=$host_alias-windres
34515 else
34516 # Extract the first word of "windres", so it can be a program name with args.
34517set dummy windres; ac_word=$2
34518echo "$as_me:$LINENO: checking for $ac_word" >&5
34519echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34520if test "${ac_cv_prog_RESCOMP+set}" = set; then
34521 echo $ECHO_N "(cached) $ECHO_C" >&6
34522else
34523 if test -n "$RESCOMP"; then
34524 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34525else
34526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34527for as_dir in $PATH
34528do
34529 IFS=$as_save_IFS
34530 test -z "$as_dir" && as_dir=.
34531 for ac_exec_ext in '' $ac_executable_extensions; do
34532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34533 ac_cv_prog_RESCOMP="windres"
34534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34535 break 2
34536 fi
34537done
34538done
34539
34540 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34541fi
34542fi
34543RESCOMP=$ac_cv_prog_RESCOMP
34544if test -n "$RESCOMP"; then
34545 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34546echo "${ECHO_T}$RESCOMP" >&6
34547else
34548 echo "$as_me:$LINENO: result: no" >&5
34549echo "${ECHO_T}no" >&6
34550fi
34551
34552 fi
34553 ;;
34554
34555 *-*-darwin* )
34556 # Extract the first word of "Rez", so it can be a program name with args.
34557set dummy Rez; ac_word=$2
34558echo "$as_me:$LINENO: checking for $ac_word" >&5
34559echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34560if test "${ac_cv_prog_RESCOMP+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34562else
34563 if test -n "$RESCOMP"; then
34564 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34565else
34566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34567for as_dir in $PATH
34568do
34569 IFS=$as_save_IFS
34570 test -z "$as_dir" && as_dir=.
34571 for ac_exec_ext in '' $ac_executable_extensions; do
34572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34573 ac_cv_prog_RESCOMP="Rez"
34574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34575 break 2
34576 fi
34577done
34578done
34579
34580 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34581fi
34582fi
34583RESCOMP=$ac_cv_prog_RESCOMP
34584if test -n "$RESCOMP"; then
34585 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34586echo "${ECHO_T}$RESCOMP" >&6
34587else
34588 echo "$as_me:$LINENO: result: no" >&5
34589echo "${ECHO_T}no" >&6
34590fi
34591
34592 # Extract the first word of "SetFile", so it can be a program name with args.
34593set dummy SetFile; ac_word=$2
34594echo "$as_me:$LINENO: checking for $ac_word" >&5
34595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34596if test "${ac_cv_prog_SETFILE+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34598else
34599 if test -n "$SETFILE"; then
34600 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34601else
34602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34603for as_dir in $PATH
34604do
34605 IFS=$as_save_IFS
34606 test -z "$as_dir" && as_dir=.
34607 for ac_exec_ext in '' $ac_executable_extensions; do
34608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34609 ac_cv_prog_SETFILE="SetFile"
34610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34611 break 2
34612 fi
34613done
34614done
34615
34616 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34617fi
34618fi
34619SETFILE=$ac_cv_prog_SETFILE
34620if test -n "$SETFILE"; then
34621 echo "$as_me:$LINENO: result: $SETFILE" >&5
34622echo "${ECHO_T}$SETFILE" >&6
34623else
34624 echo "$as_me:$LINENO: result: no" >&5
34625echo "${ECHO_T}no" >&6
34626fi
34627
34628 ;;
34629 esac
34630
34631
34632
34633
34634
34635
34636
34637 COND_BUILD_DEBUG="#"
34638 if test "x$BUILD" = "xdebug" ; then
34639 COND_BUILD_DEBUG=""
34640 fi
34641
34642 COND_BUILD_RELEASE="#"
34643 if test "x$BUILD" = "xrelease" ; then
34644 COND_BUILD_RELEASE=""
34645 fi
34646
34647 COND_DEPS_TRACKING_0="#"
34648 if test "x$DEPS_TRACKING" = "x0" ; then
34649 COND_DEPS_TRACKING_0=""
34650 fi
34651
34652 COND_DEPS_TRACKING_1="#"
34653 if test "x$DEPS_TRACKING" = "x1" ; then
34654 COND_DEPS_TRACKING_1=""
34655 fi
34656
34657 COND_MONOLITHIC_0="#"
34658 if test "x$MONOLITHIC" = "x0" ; then
34659 COND_MONOLITHIC_0=""
34660 fi
34661
34662 COND_MONOLITHIC_0_SHARED_0="#"
34663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34664 COND_MONOLITHIC_0_SHARED_0=""
34665 fi
34666
34667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34670 fi
34671
34672 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34674 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34675 fi
34676
34677 COND_MONOLITHIC_0_SHARED_1="#"
34678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34679 COND_MONOLITHIC_0_SHARED_1=""
34680 fi
34681
34682 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34684 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34685 fi
34686
34687 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34689 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34690 fi
34691
34692 COND_MONOLITHIC_1="#"
34693 if test "x$MONOLITHIC" = "x1" ; then
34694 COND_MONOLITHIC_1=""
34695 fi
34696
34697 COND_MONOLITHIC_1_SHARED_0="#"
34698 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34699 COND_MONOLITHIC_1_SHARED_0=""
34700 fi
34701
34702 COND_MONOLITHIC_1_SHARED_1="#"
34703 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34704 COND_MONOLITHIC_1_SHARED_1=""
34705 fi
34706
34707 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34708 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34709 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34710 fi
34711
34712 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34713 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34714 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34715 fi
34716
34717 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34718 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34719 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34720 fi
34721
34722 COND_PLATFORM_MACOSX_1="#"
34723 if test "x$PLATFORM_MACOSX" = "x1" ; then
34724 COND_PLATFORM_MACOSX_1=""
34725 fi
34726
34727 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34728 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34729 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34730 fi
34731
34732 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34733 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34734 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34735 fi
34736
34737 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34738 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34739 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34740 fi
34741
34742 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34743 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34744 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34745 fi
34746
34747 COND_PLATFORM_UNIX_1="#"
34748 if test "x$PLATFORM_UNIX" = "x1" ; then
34749 COND_PLATFORM_UNIX_1=""
34750 fi
34751
34752 COND_PLATFORM_WIN32_0="#"
34753 if test "x$PLATFORM_WIN32" = "x0" ; then
34754 COND_PLATFORM_WIN32_0=""
34755 fi
34756
34757 COND_PLATFORM_WIN32_1="#"
34758 if test "x$PLATFORM_WIN32" = "x1" ; then
34759 COND_PLATFORM_WIN32_1=""
34760 fi
34761
34762 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34763 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34764 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34765 fi
34766
34767 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
34768 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34769 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
34770 fi
34771
34772 COND_TOOLKIT_COCOA="#"
34773 if test "x$TOOLKIT" = "xCOCOA" ; then
34774 COND_TOOLKIT_COCOA=""
34775 fi
34776
34777 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34778 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34779 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34780 fi
34781
34782 COND_TOOLKIT_GTK="#"
34783 if test "x$TOOLKIT" = "xGTK" ; then
34784 COND_TOOLKIT_GTK=""
34785 fi
34786
34787 COND_TOOLKIT_GTK_USE_GUI_1="#"
34788 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34789 COND_TOOLKIT_GTK_USE_GUI_1=""
34790 fi
34791
34792 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34793 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34794 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34795 fi
34796
34797 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34798 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34799 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34800 fi
34801
34802 COND_TOOLKIT_MAC="#"
34803 if test "x$TOOLKIT" = "xMAC" ; then
34804 COND_TOOLKIT_MAC=""
34805 fi
34806
34807 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34808 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34809 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34810 fi
34811
34812 COND_TOOLKIT_MGL="#"
34813 if test "x$TOOLKIT" = "xMGL" ; then
34814 COND_TOOLKIT_MGL=""
34815 fi
34816
34817 COND_TOOLKIT_MGL_USE_GUI_1="#"
34818 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34819 COND_TOOLKIT_MGL_USE_GUI_1=""
34820 fi
34821
34822 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34823 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34824 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34825 fi
34826
34827 COND_TOOLKIT_MOTIF="#"
34828 if test "x$TOOLKIT" = "xMOTIF" ; then
34829 COND_TOOLKIT_MOTIF=""
34830 fi
34831
34832 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34833 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34834 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34835 fi
34836
34837 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34838 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34839 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34840 fi
34841
34842 COND_TOOLKIT_MSW="#"
34843 if test "x$TOOLKIT" = "xMSW" ; then
34844 COND_TOOLKIT_MSW=""
34845 fi
34846
34847 COND_TOOLKIT_MSW_USE_GUI_1="#"
34848 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34849 COND_TOOLKIT_MSW_USE_GUI_1=""
34850 fi
34851
34852 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34853 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34854 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34855 fi
34856
34857 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34858 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34859 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34860 fi
34861
34862 COND_TOOLKIT_OS2="#"
34863 if test "x$TOOLKIT" = "xOS2" ; then
34864 COND_TOOLKIT_OS2=""
34865 fi
34866
34867 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34868 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34869 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34870 fi
34871
34872 COND_TOOLKIT_X11="#"
34873 if test "x$TOOLKIT" = "xX11" ; then
34874 COND_TOOLKIT_X11=""
34875 fi
34876
34877 COND_TOOLKIT_X11_USE_GUI_1="#"
34878 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34879 COND_TOOLKIT_X11_USE_GUI_1=""
34880 fi
34881
34882 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34883 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34884 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34885 fi
34886
34887 COND_UNICODE_1="#"
34888 if test "x$UNICODE" = "x1" ; then
34889 COND_UNICODE_1=""
34890 fi
34891
34892 COND_USE_GUI_0="#"
34893 if test "x$USE_GUI" = "x0" ; then
34894 COND_USE_GUI_0=""
34895 fi
34896
34897 COND_USE_GUI_1="#"
34898 if test "x$USE_GUI" = "x1" ; then
34899 COND_USE_GUI_1=""
34900 fi
34901
34902 COND_USE_GUI_1_WXUNIV_0="#"
34903 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34904 COND_USE_GUI_1_WXUNIV_0=""
34905 fi
34906
34907 COND_USE_GUI_1_WXUNIV_1="#"
34908 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34909 COND_USE_GUI_1_WXUNIV_1=""
34910 fi
34911
34912 COND_USE_SOSYMLINKS_1="#"
34913 if test "x$USE_SOSYMLINKS" = "x1" ; then
34914 COND_USE_SOSYMLINKS_1=""
34915 fi
34916
34917 COND_USE_SOVERLINUX_1="#"
34918 if test "x$USE_SOVERLINUX" = "x1" ; then
34919 COND_USE_SOVERLINUX_1=""
34920 fi
34921
34922 COND_USE_SOVERSION_0="#"
34923 if test "x$USE_SOVERSION" = "x0" ; then
34924 COND_USE_SOVERSION_0=""
34925 fi
34926
34927 COND_USE_SOVERSOLARIS_1="#"
34928 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34929 COND_USE_SOVERSOLARIS_1=""
34930 fi
34931
34932 COND_WXUNIV_1="#"
34933 if test "x$WXUNIV" = "x1" ; then
34934 COND_WXUNIV_1=""
34935 fi
34936
34937 COND_WXUSE_LIBJPEG_BUILTIN="#"
34938 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34939 COND_WXUSE_LIBJPEG_BUILTIN=""
34940 fi
34941
34942 COND_WXUSE_LIBPNG_BUILTIN="#"
34943 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34944 COND_WXUSE_LIBPNG_BUILTIN=""
34945 fi
34946
34947 COND_WXUSE_LIBTIFF_BUILTIN="#"
34948 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34949 COND_WXUSE_LIBTIFF_BUILTIN=""
34950 fi
34951
34952 COND_WXUSE_ODBC_BUILTIN="#"
34953 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34954 COND_WXUSE_ODBC_BUILTIN=""
34955 fi
34956
34957 COND_WXUSE_REGEX_BUILTIN="#"
34958 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34959 COND_WXUSE_REGEX_BUILTIN=""
34960 fi
34961
34962 COND_WXUSE_ZLIB_BUILTIN="#"
34963 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34964 COND_WXUSE_ZLIB_BUILTIN=""
34965 fi
34966
34967 COND_PLATFORM_MAC_1="#"
34968 if test "x$PLATFORM_MAC" = "x1" ; then
34969 COND_PLATFORM_MAC_1=""
34970 fi
34971
34972 COND_SHARED_1="#"
34973 if test "x$SHARED" = "x1" ; then
34974 COND_SHARED_1=""
34975 fi
34976
34977 COND_SHARED_0="#"
34978 if test "x$SHARED" = "x0" ; then
34979 COND_SHARED_0=""
34980 fi
34981
34982 COND_WXUSE_EXPAT_BUILTIN="#"
34983 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
34984 COND_WXUSE_EXPAT_BUILTIN=""
34985 fi
34986
34987
34988
34989
34990
34991
34992SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35094echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35095set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35096if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35097 echo $ECHO_N "(cached) $ECHO_C" >&6
35098else
35099 cat >conftest.make <<\_ACEOF
35100all:
35101 @echo 'ac_maketemp="$(MAKE)"'
35102_ACEOF
35103# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35104eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35105if test -n "$ac_maketemp"; then
35106 eval ac_cv_prog_make_${ac_make}_set=yes
35107else
35108 eval ac_cv_prog_make_${ac_make}_set=no
35109fi
35110rm -f conftest.make
35111fi
35112if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35113 echo "$as_me:$LINENO: result: yes" >&5
35114echo "${ECHO_T}yes" >&6
35115 SET_MAKE=
35116else
35117 echo "$as_me:$LINENO: result: no" >&5
35118echo "${ECHO_T}no" >&6
35119 SET_MAKE="MAKE=${MAKE-make}"
35120fi
35121
35122
35123if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35124 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35125fi
35126
35127 ac_config_headers="$ac_config_headers setup.h"
35128
35129
35130 ac_config_files="$ac_config_files wx-config version-script Makefile"
35131
35132
35133 ac_config_commands="$ac_config_commands default"
35134
35135
35136
35137if test "$wxUSE_GUI" = "yes"; then
35138 SUBDIRS="samples demos utils contrib"
35139else SUBDIRS="samples utils"
35140fi
35141
35142for subdir in `echo $SUBDIRS`; do
35143 if test -d ${srcdir}/${subdir} ; then
35144 if test "$wxUSE_GUI" = "yes"; then
35145 if test ${subdir} = "samples"; then
35146 for sample in `echo $SAMPLES_SUBDIRS`; do
35147 if test -d $srcdir/samples/$sample; then
35148 makefiles="samples/$sample/Makefile.in $makefiles"
35149 fi
35150 done
35151 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35152 fi
35153 else if test ${subdir} = "samples"; then
35154 makefiles="samples/console/Makefile.in"
35155 else makefiles="utils/HelpGen/Makefile.in \
35156 utils/HelpGen/src/Makefile.in \
35157 utils/makegen/Makefile.in"
35158 fi
35159 fi
35160
35161 for mkin in $makefiles ; do
35162 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35163 ac_config_files="$ac_config_files $mk"
35164
35165 done
35166 fi
35167done
35168
35169
35170cat >confcache <<\_ACEOF
35171# This file is a shell script that caches the results of configure
35172# tests run on this system so they can be shared between configure
35173# scripts and configure runs, see configure's option --config-cache.
35174# It is not useful on other systems. If it contains results you don't
35175# want to keep, you may remove or edit it.
35176#
35177# config.status only pays attention to the cache file if you give it
35178# the --recheck option to rerun configure.
35179#
35180# `ac_cv_env_foo' variables (set or unset) will be overridden when
35181# loading this file, other *unset* `ac_cv_foo' will be assigned the
35182# following values.
35183
35184_ACEOF
35185
35186# The following way of writing the cache mishandles newlines in values,
35187# but we know of no workaround that is simple, portable, and efficient.
35188# So, don't put newlines in cache variables' values.
35189# Ultrix sh set writes to stderr and can't be redirected directly,
35190# and sets the high bit in the cache file unless we assign to the vars.
35191{
35192 (set) 2>&1 |
35193 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35194 *ac_space=\ *)
35195 # `set' does not quote correctly, so add quotes (double-quote
35196 # substitution turns \\\\ into \\, and sed turns \\ into \).
35197 sed -n \
35198 "s/'/'\\\\''/g;
35199 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35200 ;;
35201 *)
35202 # `set' quotes correctly as required by POSIX, so do not add quotes.
35203 sed -n \
35204 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35205 ;;
35206 esac;
35207} |
35208 sed '
35209 t clear
35210 : clear
35211 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35212 t end
35213 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35214 : end' >>confcache
35215if diff $cache_file confcache >/dev/null 2>&1; then :; else
35216 if test -w $cache_file; then
35217 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35218 cat confcache >$cache_file
35219 else
35220 echo "not updating unwritable cache $cache_file"
35221 fi
35222fi
35223rm -f confcache
35224
35225test "x$prefix" = xNONE && prefix=$ac_default_prefix
35226# Let make expand exec_prefix.
35227test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35228
35229# VPATH may cause trouble with some makes, so we remove $(srcdir),
35230# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35231# trailing colons and then remove the whole line if VPATH becomes empty
35232# (actually we leave an empty line to preserve line numbers).
35233if test "x$srcdir" = x.; then
35234 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35235s/:*\$(srcdir):*/:/;
35236s/:*\${srcdir}:*/:/;
35237s/:*@srcdir@:*/:/;
35238s/^\([^=]*=[ ]*\):*/\1/;
35239s/:*$//;
35240s/^[^=]*=[ ]*$//;
35241}'
35242fi
35243
35244DEFS=-DHAVE_CONFIG_H
35245
35246ac_libobjs=
35247ac_ltlibobjs=
35248for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35249 # 1. Remove the extension, and $U if already installed.
35250 ac_i=`echo "$ac_i" |
35251 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35252 # 2. Add them.
35253 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35254 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35255done
35256LIBOBJS=$ac_libobjs
35257
35258LTLIBOBJS=$ac_ltlibobjs
35259
35260
35261
35262: ${CONFIG_STATUS=./config.status}
35263ac_clean_files_save=$ac_clean_files
35264ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35265{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35266echo "$as_me: creating $CONFIG_STATUS" >&6;}
35267cat >$CONFIG_STATUS <<_ACEOF
35268#! $SHELL
35269# Generated by $as_me.
35270# Run this file to recreate the current configuration.
35271# Compiler output produced by configure, useful for debugging
35272# configure, is in config.log if it exists.
35273
35274debug=false
35275ac_cs_recheck=false
35276ac_cs_silent=false
35277SHELL=\${CONFIG_SHELL-$SHELL}
35278_ACEOF
35279
35280cat >>$CONFIG_STATUS <<\_ACEOF
35281## --------------------- ##
35282## M4sh Initialization. ##
35283## --------------------- ##
35284
35285# Be Bourne compatible
35286if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35287 emulate sh
35288 NULLCMD=:
35289 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35290 # is contrary to our usage. Disable this feature.
35291 alias -g '${1+"$@"}'='"$@"'
35292elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35293 set -o posix
35294fi
35295
35296# Support unset when possible.
35297if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35298 as_unset=unset
35299else
35300 as_unset=false
35301fi
35302
35303
35304# Work around bugs in pre-3.0 UWIN ksh.
35305$as_unset ENV MAIL MAILPATH
35306PS1='$ '
35307PS2='> '
35308PS4='+ '
35309
35310# NLS nuisances.
35311for as_var in \
35312 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35313 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35314 LC_TELEPHONE LC_TIME
35315do
35316 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35317 eval $as_var=C; export $as_var
35318 else
35319 $as_unset $as_var
35320 fi
35321done
35322
35323# Required to use basename.
35324if expr a : '\(a\)' >/dev/null 2>&1; then
35325 as_expr=expr
35326else
35327 as_expr=false
35328fi
35329
35330if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35331 as_basename=basename
35332else
35333 as_basename=false
35334fi
35335
35336
35337# Name of the executable.
35338as_me=`$as_basename "$0" ||
35339$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35340 X"$0" : 'X\(//\)$' \| \
35341 X"$0" : 'X\(/\)$' \| \
35342 . : '\(.\)' 2>/dev/null ||
35343echo X/"$0" |
35344 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35345 /^X\/\(\/\/\)$/{ s//\1/; q; }
35346 /^X\/\(\/\).*/{ s//\1/; q; }
35347 s/.*/./; q'`
35348
35349
35350# PATH needs CR, and LINENO needs CR and PATH.
35351# Avoid depending upon Character Ranges.
35352as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35353as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35354as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35355as_cr_digits='0123456789'
35356as_cr_alnum=$as_cr_Letters$as_cr_digits
35357
35358# The user is always right.
35359if test "${PATH_SEPARATOR+set}" != set; then
35360 echo "#! /bin/sh" >conf$$.sh
35361 echo "exit 0" >>conf$$.sh
35362 chmod +x conf$$.sh
35363 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35364 PATH_SEPARATOR=';'
35365 else
35366 PATH_SEPARATOR=:
35367 fi
35368 rm -f conf$$.sh
35369fi
35370
35371
35372 as_lineno_1=$LINENO
35373 as_lineno_2=$LINENO
35374 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35375 test "x$as_lineno_1" != "x$as_lineno_2" &&
35376 test "x$as_lineno_3" = "x$as_lineno_2" || {
35377 # Find who we are. Look in the path if we contain no path at all
35378 # relative or not.
35379 case $0 in
35380 *[\\/]* ) as_myself=$0 ;;
35381 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35382for as_dir in $PATH
35383do
35384 IFS=$as_save_IFS
35385 test -z "$as_dir" && as_dir=.
35386 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35387done
35388
35389 ;;
35390 esac
35391 # We did not find ourselves, most probably we were run as `sh COMMAND'
35392 # in which case we are not to be found in the path.
35393 if test "x$as_myself" = x; then
35394 as_myself=$0
35395 fi
35396 if test ! -f "$as_myself"; then
35397 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35398echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35399 { (exit 1); exit 1; }; }
35400 fi
35401 case $CONFIG_SHELL in
35402 '')
35403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35404for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35405do
35406 IFS=$as_save_IFS
35407 test -z "$as_dir" && as_dir=.
35408 for as_base in sh bash ksh sh5; do
35409 case $as_dir in
35410 /*)
35411 if ("$as_dir/$as_base" -c '
35412 as_lineno_1=$LINENO
35413 as_lineno_2=$LINENO
35414 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35415 test "x$as_lineno_1" != "x$as_lineno_2" &&
35416 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35417 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35418 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35419 CONFIG_SHELL=$as_dir/$as_base
35420 export CONFIG_SHELL
35421 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35422 fi;;
35423 esac
35424 done
35425done
35426;;
35427 esac
35428
35429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35430 # uniformly replaced by the line number. The first 'sed' inserts a
35431 # line-number line before each line; the second 'sed' does the real
35432 # work. The second script uses 'N' to pair each line-number line
35433 # with the numbered line, and appends trailing '-' during
35434 # substitution so that $LINENO is not a special case at line end.
35435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35436 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35437 sed '=' <$as_myself |
35438 sed '
35439 N
35440 s,$,-,
35441 : loop
35442 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35443 t loop
35444 s,-$,,
35445 s,^['$as_cr_digits']*\n,,
35446 ' >$as_me.lineno &&
35447 chmod +x $as_me.lineno ||
35448 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35449echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35450 { (exit 1); exit 1; }; }
35451
35452 # Don't try to exec as it changes $[0], causing all sort of problems
35453 # (the dirname of $[0] is not the place where we might find the
35454 # original and so on. Autoconf is especially sensible to this).
35455 . ./$as_me.lineno
35456 # Exit status is that of the last command.
35457 exit
35458}
35459
35460
35461case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35462 *c*,-n*) ECHO_N= ECHO_C='
35463' ECHO_T=' ' ;;
35464 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35465 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35466esac
35467
35468if expr a : '\(a\)' >/dev/null 2>&1; then
35469 as_expr=expr
35470else
35471 as_expr=false
35472fi
35473
35474rm -f conf$$ conf$$.exe conf$$.file
35475echo >conf$$.file
35476if ln -s conf$$.file conf$$ 2>/dev/null; then
35477 # We could just check for DJGPP; but this test a) works b) is more generic
35478 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35479 if test -f conf$$.exe; then
35480 # Don't use ln at all; we don't have any links
35481 as_ln_s='cp -p'
35482 else
35483 as_ln_s='ln -s'
35484 fi
35485elif ln conf$$.file conf$$ 2>/dev/null; then
35486 as_ln_s=ln
35487else
35488 as_ln_s='cp -p'
35489fi
35490rm -f conf$$ conf$$.exe conf$$.file
35491
35492if mkdir -p . 2>/dev/null; then
35493 as_mkdir_p=:
35494else
35495 as_mkdir_p=false
35496fi
35497
35498as_executable_p="test -f"
35499
35500# Sed expression to map a string onto a valid CPP name.
35501as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35502
35503# Sed expression to map a string onto a valid variable name.
35504as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35505
35506
35507# IFS
35508# We need space, tab and new line, in precisely that order.
35509as_nl='
35510'
35511IFS=" $as_nl"
35512
35513# CDPATH.
35514$as_unset CDPATH
35515
35516exec 6>&1
35517
35518# Open the log real soon, to keep \$[0] and so on meaningful, and to
35519# report actual input values of CONFIG_FILES etc. instead of their
35520# values after options handling. Logging --version etc. is OK.
35521exec 5>>config.log
35522{
35523 echo
35524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35525## Running $as_me. ##
35526_ASBOX
35527} >&5
35528cat >&5 <<_CSEOF
35529
35530This file was extended by wxWindows $as_me 2.5.0, which was
35531generated by GNU Autoconf 2.57. Invocation command line was
35532
35533 CONFIG_FILES = $CONFIG_FILES
35534 CONFIG_HEADERS = $CONFIG_HEADERS
35535 CONFIG_LINKS = $CONFIG_LINKS
35536 CONFIG_COMMANDS = $CONFIG_COMMANDS
35537 $ $0 $@
35538
35539_CSEOF
35540echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35541echo >&5
35542_ACEOF
35543
35544# Files that config.status was made for.
35545if test -n "$ac_config_files"; then
35546 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35547fi
35548
35549if test -n "$ac_config_headers"; then
35550 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35551fi
35552
35553if test -n "$ac_config_links"; then
35554 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35555fi
35556
35557if test -n "$ac_config_commands"; then
35558 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35559fi
35560
35561cat >>$CONFIG_STATUS <<\_ACEOF
35562
35563ac_cs_usage="\
35564\`$as_me' instantiates files from templates according to the
35565current configuration.
35566
35567Usage: $0 [OPTIONS] [FILE]...
35568
35569 -h, --help print this help, then exit
35570 -V, --version print version number, then exit
35571 -q, --quiet do not print progress messages
35572 -d, --debug don't remove temporary files
35573 --recheck update $as_me by reconfiguring in the same conditions
35574 --file=FILE[:TEMPLATE]
35575 instantiate the configuration file FILE
35576 --header=FILE[:TEMPLATE]
35577 instantiate the configuration header FILE
35578
35579Configuration files:
35580$config_files
35581
35582Configuration headers:
35583$config_headers
35584
35585Configuration commands:
35586$config_commands
35587
35588Report bugs to <bug-autoconf@gnu.org>."
35589_ACEOF
35590
35591cat >>$CONFIG_STATUS <<_ACEOF
35592ac_cs_version="\\
35593wxWindows config.status 2.5.0
35594configured by $0, generated by GNU Autoconf 2.57,
35595 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35596
35597Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35598Free Software Foundation, Inc.
35599This config.status script is free software; the Free Software Foundation
35600gives unlimited permission to copy, distribute and modify it."
35601srcdir=$srcdir
35602INSTALL="$INSTALL"
35603_ACEOF
35604
35605cat >>$CONFIG_STATUS <<\_ACEOF
35606# If no file are specified by the user, then we need to provide default
35607# value. By we need to know if files were specified by the user.
35608ac_need_defaults=:
35609while test $# != 0
35610do
35611 case $1 in
35612 --*=*)
35613 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35614 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35615 ac_shift=:
35616 ;;
35617 -*)
35618 ac_option=$1
35619 ac_optarg=$2
35620 ac_shift=shift
35621 ;;
35622 *) # This is not an option, so the user has probably given explicit
35623 # arguments.
35624 ac_option=$1
35625 ac_need_defaults=false;;
35626 esac
35627
35628 case $ac_option in
35629 # Handling of the options.
35630_ACEOF
35631cat >>$CONFIG_STATUS <<\_ACEOF
35632 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35633 ac_cs_recheck=: ;;
35634 --version | --vers* | -V )
35635 echo "$ac_cs_version"; exit 0 ;;
35636 --he | --h)
35637 # Conflict between --help and --header
35638 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35639Try \`$0 --help' for more information." >&5
35640echo "$as_me: error: ambiguous option: $1
35641Try \`$0 --help' for more information." >&2;}
35642 { (exit 1); exit 1; }; };;
35643 --help | --hel | -h )
35644 echo "$ac_cs_usage"; exit 0 ;;
35645 --debug | --d* | -d )
35646 debug=: ;;
35647 --file | --fil | --fi | --f )
35648 $ac_shift
35649 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35650 ac_need_defaults=false;;
35651 --header | --heade | --head | --hea )
35652 $ac_shift
35653 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35654 ac_need_defaults=false;;
35655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35656 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35657 ac_cs_silent=: ;;
35658
35659 # This is an error.
35660 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35661Try \`$0 --help' for more information." >&5
35662echo "$as_me: error: unrecognized option: $1
35663Try \`$0 --help' for more information." >&2;}
35664 { (exit 1); exit 1; }; } ;;
35665
35666 *) ac_config_targets="$ac_config_targets $1" ;;
35667
35668 esac
35669 shift
35670done
35671
35672ac_configure_extra_args=
35673
35674if $ac_cs_silent; then
35675 exec 6>/dev/null
35676 ac_configure_extra_args="$ac_configure_extra_args --silent"
35677fi
35678
35679_ACEOF
35680cat >>$CONFIG_STATUS <<_ACEOF
35681if \$ac_cs_recheck; then
35682 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35683 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35684fi
35685
35686_ACEOF
35687
35688cat >>$CONFIG_STATUS <<_ACEOF
35689#
35690# INIT-COMMANDS section.
35691#
35692
35693
35694 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35695 LN_S="${LN_S}"
35696
35697
35698
35699_ACEOF
35700
35701
35702
35703cat >>$CONFIG_STATUS <<\_ACEOF
35704for ac_config_target in $ac_config_targets
35705do
35706 case "$ac_config_target" in
35707 # Handling of arguments.
35708 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35709 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35710 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35711 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35712 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35713 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35714 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35715echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35716 { (exit 1); exit 1; }; };;
35717 esac
35718done
35719
35720# If the user did not use the arguments to specify the items to instantiate,
35721# then the envvar interface is used. Set only those that are not.
35722# We use the long form for the default assignment because of an extremely
35723# bizarre bug on SunOS 4.1.3.
35724if $ac_need_defaults; then
35725 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35726 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35727 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35728fi
35729
35730# Have a temporary directory for convenience. Make it in the build tree
35731# simply because there is no reason to put it here, and in addition,
35732# creating and moving files from /tmp can sometimes cause problems.
35733# Create a temporary directory, and hook for its removal unless debugging.
35734$debug ||
35735{
35736 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35737 trap '{ (exit 1); exit 1; }' 1 2 13 15
35738}
35739
35740# Create a (secure) tmp directory for tmp files.
35741
35742{
35743 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35744 test -n "$tmp" && test -d "$tmp"
35745} ||
35746{
35747 tmp=./confstat$$-$RANDOM
35748 (umask 077 && mkdir $tmp)
35749} ||
35750{
35751 echo "$me: cannot create a temporary directory in ." >&2
35752 { (exit 1); exit 1; }
35753}
35754
35755_ACEOF
35756
35757cat >>$CONFIG_STATUS <<_ACEOF
35758
35759#
35760# CONFIG_FILES section.
35761#
35762
35763# No need to generate the scripts if there are no CONFIG_FILES.
35764# This happens for instance when ./config.status config.h
35765if test -n "\$CONFIG_FILES"; then
35766 # Protect against being on the right side of a sed subst in config.status.
35767 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35768 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35769s,@SHELL@,$SHELL,;t t
35770s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35771s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35772s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35773s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35774s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35775s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35776s,@exec_prefix@,$exec_prefix,;t t
35777s,@prefix@,$prefix,;t t
35778s,@program_transform_name@,$program_transform_name,;t t
35779s,@bindir@,$bindir,;t t
35780s,@sbindir@,$sbindir,;t t
35781s,@libexecdir@,$libexecdir,;t t
35782s,@datadir@,$datadir,;t t
35783s,@sysconfdir@,$sysconfdir,;t t
35784s,@sharedstatedir@,$sharedstatedir,;t t
35785s,@localstatedir@,$localstatedir,;t t
35786s,@libdir@,$libdir,;t t
35787s,@includedir@,$includedir,;t t
35788s,@oldincludedir@,$oldincludedir,;t t
35789s,@infodir@,$infodir,;t t
35790s,@mandir@,$mandir,;t t
35791s,@build_alias@,$build_alias,;t t
35792s,@host_alias@,$host_alias,;t t
35793s,@target_alias@,$target_alias,;t t
35794s,@DEFS@,$DEFS,;t t
35795s,@ECHO_C@,$ECHO_C,;t t
35796s,@ECHO_N@,$ECHO_N,;t t
35797s,@ECHO_T@,$ECHO_T,;t t
35798s,@LIBS@,$LIBS,;t t
35799s,@build@,$build,;t t
35800s,@build_cpu@,$build_cpu,;t t
35801s,@build_vendor@,$build_vendor,;t t
35802s,@build_os@,$build_os,;t t
35803s,@host@,$host,;t t
35804s,@host_cpu@,$host_cpu,;t t
35805s,@host_vendor@,$host_vendor,;t t
35806s,@host_os@,$host_os,;t t
35807s,@target@,$target,;t t
35808s,@target_cpu@,$target_cpu,;t t
35809s,@target_vendor@,$target_vendor,;t t
35810s,@target_os@,$target_os,;t t
35811s,@CC@,$CC,;t t
35812s,@CFLAGS@,$CFLAGS,;t t
35813s,@LDFLAGS@,$LDFLAGS,;t t
35814s,@CPPFLAGS@,$CPPFLAGS,;t t
35815s,@ac_ct_CC@,$ac_ct_CC,;t t
35816s,@EXEEXT@,$EXEEXT,;t t
35817s,@OBJEXT@,$OBJEXT,;t t
35818s,@CPP@,$CPP,;t t
35819s,@EGREP@,$EGREP,;t t
35820s,@CXX@,$CXX,;t t
35821s,@CXXFLAGS@,$CXXFLAGS,;t t
35822s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35823s,@RANLIB@,$RANLIB,;t t
35824s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35825s,@AR@,$AR,;t t
35826s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35827s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35828s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35829s,@STRIP@,$STRIP,;t t
35830s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35831s,@YACC@,$YACC,;t t
35832s,@LEX@,$LEX,;t t
35833s,@LEXLIB@,$LEXLIB,;t t
35834s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35835s,@LN_S@,$LN_S,;t t
35836s,@CXXCPP@,$CXXCPP,;t t
35837s,@subdirs@,$subdirs,;t t
35838s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35839s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35840s,@GTK_LIBS@,$GTK_LIBS,;t t
35841s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35842s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35843s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35844s,@X_CFLAGS@,$X_CFLAGS,;t t
35845s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35846s,@X_LIBS@,$X_LIBS,;t t
35847s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35848s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35849s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35850s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35851s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35852s,@RESCOMP@,$RESCOMP,;t t
35853s,@DEREZ@,$DEREZ,;t t
35854s,@SETFILE@,$SETFILE,;t t
35855s,@LIBICONV@,$LIBICONV,;t t
35856s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35857s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35858s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
35859s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35860s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35861s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35862s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35863s,@VENDOR@,$VENDOR,;t t
35864s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35865s,@WXUNIV@,$WXUNIV,;t t
35866s,@MONOLITHIC@,$MONOLITHIC,;t t
35867s,@EXTRALIBS@,$EXTRALIBS,;t t
35868s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
35869s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35870s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
35871s,@UNICODE@,$UNICODE,;t t
35872s,@BUILD@,$BUILD,;t t
35873s,@SHARED@,$SHARED,;t t
35874s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35875s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35876s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35877s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
35878s,@SET_MAKE@,$SET_MAKE,;t t
35879s,@MAKE_SET@,$MAKE_SET,;t t
35880s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35881s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35882s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35883s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35884s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35885s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35886s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35887s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35888s,@DLLPREFIX@,$DLLPREFIX,;t t
35889s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35890s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35891s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35892s,@PIC_FLAG@,$PIC_FLAG,;t t
35893s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35894s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35895s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35896s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35897s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35898s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35899s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35900s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35901s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35902s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35903s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35904s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35905s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35906s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35907s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
35908s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35909s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35910s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
35911s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35912s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35913s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35914s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35915s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35916s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35917s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35918s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
35919s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
35920s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
35921s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35922s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35923s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35924s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35925s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
35926s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
35927s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35928s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35929s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35930s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35931s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35932s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35933s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35934s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35935s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35936s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35937s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35938s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35939s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35940s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35941s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35942s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35943s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35944s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35945s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35946s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35947s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35948s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35949s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35950s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35951s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35952s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35953s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35954s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35955s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35956s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35957s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35958s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35959s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35960s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35961s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35962s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35963s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35964s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35965s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35966s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35967s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35968s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35969s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
35970s,@LEX_STEM@,$LEX_STEM,;t t
35971s,@PATH_IFS@,$PATH_IFS,;t t
35972s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35973s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35974s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35975s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35976s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35977s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35978s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35979s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35980s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35981s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35982s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35983s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35984s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35985s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35986s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35987s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35988s,@WX_ALL@,$WX_ALL,;t t
35989s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35990s,@SHARED_LD@,$SHARED_LD,;t t
35991s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35992s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35993s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35994s,@USE_GUI@,$USE_GUI,;t t
35995s,@AFMINSTALL@,$AFMINSTALL,;t t
35996s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35997s,@TOOLKIT@,$TOOLKIT,;t t
35998s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35999s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36000s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36001s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36002s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36003s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36004s,@cross_compiling@,$cross_compiling,;t t
36005s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36006s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36007s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36008s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36009s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36010s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36011s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36012s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36013s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36014s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36015s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36016s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36017s,@GUIDIST@,$GUIDIST,;t t
36018s,@PORT_FILES@,$PORT_FILES,;t t
36019s,@DISTDIR@,$DISTDIR,;t t
36020s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36021s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36022s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36023s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36024s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36025s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36026s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36027s,@RESFLAGS@,$RESFLAGS,;t t
36028s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36029s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36030s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36031s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36032s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36033s,@MACRESCOMP@,$MACRESCOMP,;t t
36034s,@MACSETFILE@,$MACSETFILE,;t t
36035s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36036s,@GCC@,$GCC,;t t
36037s,@DLLTOOL@,$DLLTOOL,;t t
36038s,@AS@,$AS,;t t
36039s,@NM@,$NM,;t t
36040s,@LD@,$LD,;t t
36041s,@MAKEINFO@,$MAKEINFO,;t t
36042s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36043s,@ESD_LINK@,$ESD_LINK,;t t
36044s,@LIBOBJS@,$LIBOBJS,;t t
36045s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36046CEOF
36047
36048_ACEOF
36049
36050 cat >>$CONFIG_STATUS <<\_ACEOF
36051 # Split the substitutions into bite-sized pieces for seds with
36052 # small command number limits, like on Digital OSF/1 and HP-UX.
36053 ac_max_sed_lines=48
36054 ac_sed_frag=1 # Number of current file.
36055 ac_beg=1 # First line for current file.
36056 ac_end=$ac_max_sed_lines # Line after last line for current file.
36057 ac_more_lines=:
36058 ac_sed_cmds=
36059 while $ac_more_lines; do
36060 if test $ac_beg -gt 1; then
36061 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36062 else
36063 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36064 fi
36065 if test ! -s $tmp/subs.frag; then
36066 ac_more_lines=false
36067 else
36068 # The purpose of the label and of the branching condition is to
36069 # speed up the sed processing (if there are no `@' at all, there
36070 # is no need to browse any of the substitutions).
36071 # These are the two extra sed commands mentioned above.
36072 (echo ':t
36073 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36074 if test -z "$ac_sed_cmds"; then
36075 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36076 else
36077 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36078 fi
36079 ac_sed_frag=`expr $ac_sed_frag + 1`
36080 ac_beg=$ac_end
36081 ac_end=`expr $ac_end + $ac_max_sed_lines`
36082 fi
36083 done
36084 if test -z "$ac_sed_cmds"; then
36085 ac_sed_cmds=cat
36086 fi
36087fi # test -n "$CONFIG_FILES"
36088
36089_ACEOF
36090cat >>$CONFIG_STATUS <<\_ACEOF
36091for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36092 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36093 case $ac_file in
36094 - | *:- | *:-:* ) # input from stdin
36095 cat >$tmp/stdin
36096 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36097 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36098 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36099 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36100 * ) ac_file_in=$ac_file.in ;;
36101 esac
36102
36103 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36104 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36105$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36106 X"$ac_file" : 'X\(//\)[^/]' \| \
36107 X"$ac_file" : 'X\(//\)$' \| \
36108 X"$ac_file" : 'X\(/\)' \| \
36109 . : '\(.\)' 2>/dev/null ||
36110echo X"$ac_file" |
36111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36112 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36113 /^X\(\/\/\)$/{ s//\1/; q; }
36114 /^X\(\/\).*/{ s//\1/; q; }
36115 s/.*/./; q'`
36116 { if $as_mkdir_p; then
36117 mkdir -p "$ac_dir"
36118 else
36119 as_dir="$ac_dir"
36120 as_dirs=
36121 while test ! -d "$as_dir"; do
36122 as_dirs="$as_dir $as_dirs"
36123 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36124$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36125 X"$as_dir" : 'X\(//\)[^/]' \| \
36126 X"$as_dir" : 'X\(//\)$' \| \
36127 X"$as_dir" : 'X\(/\)' \| \
36128 . : '\(.\)' 2>/dev/null ||
36129echo X"$as_dir" |
36130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36131 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36132 /^X\(\/\/\)$/{ s//\1/; q; }
36133 /^X\(\/\).*/{ s//\1/; q; }
36134 s/.*/./; q'`
36135 done
36136 test ! -n "$as_dirs" || mkdir $as_dirs
36137 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36138echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36139 { (exit 1); exit 1; }; }; }
36140
36141 ac_builddir=.
36142
36143if test "$ac_dir" != .; then
36144 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36145 # A "../" for each directory in $ac_dir_suffix.
36146 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36147else
36148 ac_dir_suffix= ac_top_builddir=
36149fi
36150
36151case $srcdir in
36152 .) # No --srcdir option. We are building in place.
36153 ac_srcdir=.
36154 if test -z "$ac_top_builddir"; then
36155 ac_top_srcdir=.
36156 else
36157 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36158 fi ;;
36159 [\\/]* | ?:[\\/]* ) # Absolute path.
36160 ac_srcdir=$srcdir$ac_dir_suffix;
36161 ac_top_srcdir=$srcdir ;;
36162 *) # Relative path.
36163 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36164 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36165esac
36166# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36167# absolute.
36168ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36169ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36170ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36171ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36172
36173
36174 case $INSTALL in
36175 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36176 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36177 esac
36178
36179 if test x"$ac_file" != x-; then
36180 { echo "$as_me:$LINENO: creating $ac_file" >&5
36181echo "$as_me: creating $ac_file" >&6;}
36182 rm -f "$ac_file"
36183 fi
36184 # Let's still pretend it is `configure' which instantiates (i.e., don't
36185 # use $as_me), people would be surprised to read:
36186 # /* config.h. Generated by config.status. */
36187 if test x"$ac_file" = x-; then
36188 configure_input=
36189 else
36190 configure_input="$ac_file. "
36191 fi
36192 configure_input=$configure_input"Generated from `echo $ac_file_in |
36193 sed 's,.*/,,'` by configure."
36194
36195 # First look for the input files in the build tree, otherwise in the
36196 # src tree.
36197 ac_file_inputs=`IFS=:
36198 for f in $ac_file_in; do
36199 case $f in
36200 -) echo $tmp/stdin ;;
36201 [\\/$]*)
36202 # Absolute (can't be DOS-style, as IFS=:)
36203 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36204echo "$as_me: error: cannot find input file: $f" >&2;}
36205 { (exit 1); exit 1; }; }
36206 echo $f;;
36207 *) # Relative
36208 if test -f "$f"; then
36209 # Build tree
36210 echo $f
36211 elif test -f "$srcdir/$f"; then
36212 # Source tree
36213 echo $srcdir/$f
36214 else
36215 # /dev/null tree
36216 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36217echo "$as_me: error: cannot find input file: $f" >&2;}
36218 { (exit 1); exit 1; }; }
36219 fi;;
36220 esac
36221 done` || { (exit 1); exit 1; }
36222_ACEOF
36223cat >>$CONFIG_STATUS <<_ACEOF
36224 sed "$ac_vpsub
36225$extrasub
36226_ACEOF
36227cat >>$CONFIG_STATUS <<\_ACEOF
36228:t
36229/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36230s,@configure_input@,$configure_input,;t t
36231s,@srcdir@,$ac_srcdir,;t t
36232s,@abs_srcdir@,$ac_abs_srcdir,;t t
36233s,@top_srcdir@,$ac_top_srcdir,;t t
36234s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36235s,@builddir@,$ac_builddir,;t t
36236s,@abs_builddir@,$ac_abs_builddir,;t t
36237s,@top_builddir@,$ac_top_builddir,;t t
36238s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36239s,@INSTALL@,$ac_INSTALL,;t t
36240" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36241 rm -f $tmp/stdin
36242 if test x"$ac_file" != x-; then
36243 mv $tmp/out $ac_file
36244 else
36245 cat $tmp/out
36246 rm -f $tmp/out
36247 fi
36248
36249done
36250_ACEOF
36251cat >>$CONFIG_STATUS <<\_ACEOF
36252
36253#
36254# CONFIG_HEADER section.
36255#
36256
36257# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36258# NAME is the cpp macro being defined and VALUE is the value it is being given.
36259#
36260# ac_d sets the value in "#define NAME VALUE" lines.
36261ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36262ac_dB='[ ].*$,\1#\2'
36263ac_dC=' '
36264ac_dD=',;t'
36265# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36266ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36267ac_uB='$,\1#\2define\3'
36268ac_uC=' '
36269ac_uD=',;t'
36270
36271for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36272 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36273 case $ac_file in
36274 - | *:- | *:-:* ) # input from stdin
36275 cat >$tmp/stdin
36276 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36277 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36278 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36279 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36280 * ) ac_file_in=$ac_file.in ;;
36281 esac
36282
36283 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36284echo "$as_me: creating $ac_file" >&6;}
36285
36286 # First look for the input files in the build tree, otherwise in the
36287 # src tree.
36288 ac_file_inputs=`IFS=:
36289 for f in $ac_file_in; do
36290 case $f in
36291 -) echo $tmp/stdin ;;
36292 [\\/$]*)
36293 # Absolute (can't be DOS-style, as IFS=:)
36294 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36295echo "$as_me: error: cannot find input file: $f" >&2;}
36296 { (exit 1); exit 1; }; }
36297 echo $f;;
36298 *) # Relative
36299 if test -f "$f"; then
36300 # Build tree
36301 echo $f
36302 elif test -f "$srcdir/$f"; then
36303 # Source tree
36304 echo $srcdir/$f
36305 else
36306 # /dev/null tree
36307 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36308echo "$as_me: error: cannot find input file: $f" >&2;}
36309 { (exit 1); exit 1; }; }
36310 fi;;
36311 esac
36312 done` || { (exit 1); exit 1; }
36313 # Remove the trailing spaces.
36314 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36315
36316_ACEOF
36317
36318# Transform confdefs.h into two sed scripts, `conftest.defines' and
36319# `conftest.undefs', that substitutes the proper values into
36320# config.h.in to produce config.h. The first handles `#define'
36321# templates, and the second `#undef' templates.
36322# And first: Protect against being on the right side of a sed subst in
36323# config.status. Protect against being in an unquoted here document
36324# in config.status.
36325rm -f conftest.defines conftest.undefs
36326# Using a here document instead of a string reduces the quoting nightmare.
36327# Putting comments in sed scripts is not portable.
36328#
36329# `end' is used to avoid that the second main sed command (meant for
36330# 0-ary CPP macros) applies to n-ary macro definitions.
36331# See the Autoconf documentation for `clear'.
36332cat >confdef2sed.sed <<\_ACEOF
36333s/[\\&,]/\\&/g
36334s,[\\$`],\\&,g
36335t clear
36336: clear
36337s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36338t end
36339s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36340: end
36341_ACEOF
36342# If some macros were called several times there might be several times
36343# the same #defines, which is useless. Nevertheless, we may not want to
36344# sort them, since we want the *last* AC-DEFINE to be honored.
36345uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36346sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36347rm -f confdef2sed.sed
36348
36349# This sed command replaces #undef with comments. This is necessary, for
36350# example, in the case of _POSIX_SOURCE, which is predefined and required
36351# on some systems where configure will not decide to define it.
36352cat >>conftest.undefs <<\_ACEOF
36353s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36354_ACEOF
36355
36356# Break up conftest.defines because some shells have a limit on the size
36357# of here documents, and old seds have small limits too (100 cmds).
36358echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36359echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36360echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36361echo ' :' >>$CONFIG_STATUS
36362rm -f conftest.tail
36363while grep . conftest.defines >/dev/null
36364do
36365 # Write a limited-size here document to $tmp/defines.sed.
36366 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36367 # Speed up: don't consider the non `#define' lines.
36368 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36369 # Work around the forget-to-reset-the-flag bug.
36370 echo 't clr' >>$CONFIG_STATUS
36371 echo ': clr' >>$CONFIG_STATUS
36372 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36373 echo 'CEOF
36374 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36375 rm -f $tmp/in
36376 mv $tmp/out $tmp/in
36377' >>$CONFIG_STATUS
36378 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36379 rm -f conftest.defines
36380 mv conftest.tail conftest.defines
36381done
36382rm -f conftest.defines
36383echo ' fi # grep' >>$CONFIG_STATUS
36384echo >>$CONFIG_STATUS
36385
36386# Break up conftest.undefs because some shells have a limit on the size
36387# of here documents, and old seds have small limits too (100 cmds).
36388echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36389rm -f conftest.tail
36390while grep . conftest.undefs >/dev/null
36391do
36392 # Write a limited-size here document to $tmp/undefs.sed.
36393 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36394 # Speed up: don't consider the non `#undef'
36395 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36396 # Work around the forget-to-reset-the-flag bug.
36397 echo 't clr' >>$CONFIG_STATUS
36398 echo ': clr' >>$CONFIG_STATUS
36399 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36400 echo 'CEOF
36401 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36402 rm -f $tmp/in
36403 mv $tmp/out $tmp/in
36404' >>$CONFIG_STATUS
36405 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36406 rm -f conftest.undefs
36407 mv conftest.tail conftest.undefs
36408done
36409rm -f conftest.undefs
36410
36411cat >>$CONFIG_STATUS <<\_ACEOF
36412 # Let's still pretend it is `configure' which instantiates (i.e., don't
36413 # use $as_me), people would be surprised to read:
36414 # /* config.h. Generated by config.status. */
36415 if test x"$ac_file" = x-; then
36416 echo "/* Generated by configure. */" >$tmp/config.h
36417 else
36418 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36419 fi
36420 cat $tmp/in >>$tmp/config.h
36421 rm -f $tmp/in
36422 if test x"$ac_file" != x-; then
36423 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36424 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36425echo "$as_me: $ac_file is unchanged" >&6;}
36426 else
36427 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36428$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36429 X"$ac_file" : 'X\(//\)[^/]' \| \
36430 X"$ac_file" : 'X\(//\)$' \| \
36431 X"$ac_file" : 'X\(/\)' \| \
36432 . : '\(.\)' 2>/dev/null ||
36433echo X"$ac_file" |
36434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36436 /^X\(\/\/\)$/{ s//\1/; q; }
36437 /^X\(\/\).*/{ s//\1/; q; }
36438 s/.*/./; q'`
36439 { if $as_mkdir_p; then
36440 mkdir -p "$ac_dir"
36441 else
36442 as_dir="$ac_dir"
36443 as_dirs=
36444 while test ! -d "$as_dir"; do
36445 as_dirs="$as_dir $as_dirs"
36446 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36447$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36448 X"$as_dir" : 'X\(//\)[^/]' \| \
36449 X"$as_dir" : 'X\(//\)$' \| \
36450 X"$as_dir" : 'X\(/\)' \| \
36451 . : '\(.\)' 2>/dev/null ||
36452echo X"$as_dir" |
36453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36455 /^X\(\/\/\)$/{ s//\1/; q; }
36456 /^X\(\/\).*/{ s//\1/; q; }
36457 s/.*/./; q'`
36458 done
36459 test ! -n "$as_dirs" || mkdir $as_dirs
36460 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36461echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36462 { (exit 1); exit 1; }; }; }
36463
36464 rm -f $ac_file
36465 mv $tmp/config.h $ac_file
36466 fi
36467 else
36468 cat $tmp/config.h
36469 rm -f $tmp/config.h
36470 fi
36471done
36472_ACEOF
36473cat >>$CONFIG_STATUS <<\_ACEOF
36474
36475#
36476# CONFIG_COMMANDS section.
36477#
36478for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36479 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36480 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36481 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36482$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36483 X"$ac_dest" : 'X\(//\)[^/]' \| \
36484 X"$ac_dest" : 'X\(//\)$' \| \
36485 X"$ac_dest" : 'X\(/\)' \| \
36486 . : '\(.\)' 2>/dev/null ||
36487echo X"$ac_dest" |
36488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36490 /^X\(\/\/\)$/{ s//\1/; q; }
36491 /^X\(\/\).*/{ s//\1/; q; }
36492 s/.*/./; q'`
36493 ac_builddir=.
36494
36495if test "$ac_dir" != .; then
36496 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36497 # A "../" for each directory in $ac_dir_suffix.
36498 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36499else
36500 ac_dir_suffix= ac_top_builddir=
36501fi
36502
36503case $srcdir in
36504 .) # No --srcdir option. We are building in place.
36505 ac_srcdir=.
36506 if test -z "$ac_top_builddir"; then
36507 ac_top_srcdir=.
36508 else
36509 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36510 fi ;;
36511 [\\/]* | ?:[\\/]* ) # Absolute path.
36512 ac_srcdir=$srcdir$ac_dir_suffix;
36513 ac_top_srcdir=$srcdir ;;
36514 *) # Relative path.
36515 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36516 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36517esac
36518# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36519# absolute.
36520ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36521ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36522ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36523ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36524
36525
36526 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36527echo "$as_me: executing $ac_dest commands" >&6;}
36528 case $ac_dest in
36529 default )
36530 if test ! -h wx-config; then
36531 chmod +x wx-config
36532 mv wx-config wx${TOOLCHAIN_NAME}-config
36533 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36534 fi
36535
36536 if test ! -d lib; then
36537 mkdir lib
36538 fi
36539 if test ! -d lib/wx; then
36540 mkdir lib/wx
36541 fi
36542 if test ! -d lib/wx/include; then
36543 mkdir lib/wx/include
36544 fi
36545 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36546 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36547 fi
36548 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36549 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36550 fi
36551 if test -f setup.h; then
36552 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36553 fi
36554 ;;
36555 esac
36556done
36557_ACEOF
36558
36559cat >>$CONFIG_STATUS <<\_ACEOF
36560
36561{ (exit 0); exit 0; }
36562_ACEOF
36563chmod +x $CONFIG_STATUS
36564ac_clean_files=$ac_clean_files_save
36565
36566
36567# configure is writing to config.log, and then calls config.status.
36568# config.status does its own redirection, appending to config.log.
36569# Unfortunately, on DOS this fails, as config.log is still kept open
36570# by configure, so config.status won't be able to write to it; its
36571# output is simply discarded. So we exec the FD to /dev/null,
36572# effectively closing config.log, so it can be properly (re)opened and
36573# appended to by config.status. When coming back to configure, we
36574# need to make the FD available again.
36575if test "$no_create" != yes; then
36576 ac_cs_success=:
36577 ac_config_status_args=
36578 test "$silent" = yes &&
36579 ac_config_status_args="$ac_config_status_args --quiet"
36580 exec 5>/dev/null
36581 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36582 exec 5>>config.log
36583 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36584 # would make configure fail if this is the last instruction.
36585 $ac_cs_success || { (exit 1); exit 1; }
36586fi
36587
36588#
36589# CONFIG_SUBDIRS section.
36590#
36591if test "$no_recursion" != yes; then
36592
36593 # Remove --cache-file and --srcdir arguments so they do not pile up.
36594 ac_sub_configure_args=
36595 ac_prev=
36596 for ac_arg in $ac_configure_args; do
36597 if test -n "$ac_prev"; then
36598 ac_prev=
36599 continue
36600 fi
36601 case $ac_arg in
36602 -cache-file | --cache-file | --cache-fil | --cache-fi \
36603 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36604 ac_prev=cache_file ;;
36605 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36606 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36607 | --c=*)
36608 ;;
36609 --config-cache | -C)
36610 ;;
36611 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36612 ac_prev=srcdir ;;
36613 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36614 ;;
36615 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36616 ac_prev=prefix ;;
36617 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36618 ;;
36619 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36620 esac
36621 done
36622
36623 # Always prepend --prefix to ensure using the same prefix
36624 # in subdir configurations.
36625 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36626
36627 ac_popdir=`pwd`
36628 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36629
36630 # Do not complain, so a configure script can configure whichever
36631 # parts of a large source tree are present.
36632 test -d $srcdir/$ac_dir || continue
36633
36634 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36635echo "$as_me: configuring in $ac_dir" >&6;}
36636 { if $as_mkdir_p; then
36637 mkdir -p "$ac_dir"
36638 else
36639 as_dir="$ac_dir"
36640 as_dirs=
36641 while test ! -d "$as_dir"; do
36642 as_dirs="$as_dir $as_dirs"
36643 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36644$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36645 X"$as_dir" : 'X\(//\)[^/]' \| \
36646 X"$as_dir" : 'X\(//\)$' \| \
36647 X"$as_dir" : 'X\(/\)' \| \
36648 . : '\(.\)' 2>/dev/null ||
36649echo X"$as_dir" |
36650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36652 /^X\(\/\/\)$/{ s//\1/; q; }
36653 /^X\(\/\).*/{ s//\1/; q; }
36654 s/.*/./; q'`
36655 done
36656 test ! -n "$as_dirs" || mkdir $as_dirs
36657 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36658echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36659 { (exit 1); exit 1; }; }; }
36660
36661 ac_builddir=.
36662
36663if test "$ac_dir" != .; then
36664 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36665 # A "../" for each directory in $ac_dir_suffix.
36666 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36667else
36668 ac_dir_suffix= ac_top_builddir=
36669fi
36670
36671case $srcdir in
36672 .) # No --srcdir option. We are building in place.
36673 ac_srcdir=.
36674 if test -z "$ac_top_builddir"; then
36675 ac_top_srcdir=.
36676 else
36677 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36678 fi ;;
36679 [\\/]* | ?:[\\/]* ) # Absolute path.
36680 ac_srcdir=$srcdir$ac_dir_suffix;
36681 ac_top_srcdir=$srcdir ;;
36682 *) # Relative path.
36683 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36684 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36685esac
36686# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36687# absolute.
36688ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36689ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36690ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36691ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36692
36693
36694 cd $ac_dir
36695
36696 # Check for guested configure; otherwise get Cygnus style configure.
36697 if test -f $ac_srcdir/configure.gnu; then
36698 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
36699 elif test -f $ac_srcdir/configure; then
36700 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
36701 elif test -f $ac_srcdir/configure.in; then
36702 ac_sub_configure=$ac_configure
36703 else
36704 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36705echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36706 ac_sub_configure=
36707 fi
36708
36709 # The recursion is here.
36710 if test -n "$ac_sub_configure"; then
36711 # Make the cache file name correct relative to the subdirectory.
36712 case $cache_file in
36713 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
36714 *) # Relative path.
36715 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
36716 esac
36717
36718 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36719echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36720 # The eval makes quoting arguments work.
36721 eval $ac_sub_configure $ac_sub_configure_args \
36722 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36723 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36724echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36725 { (exit 1); exit 1; }; }
36726 fi
36727
36728 cd $ac_popdir
36729 done
36730fi
36731
36732
36733echo
36734echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36735echo ""
36736echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36737echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36738
36739echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36740echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36741echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36742
36743echo " What level of wxWindows compatibility should be enabled?"
36744echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36745echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36746echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36747
36748echo " Which libraries should wxWindows use?"
36749echo " jpeg ${wxUSE_LIBJPEG-none}"
36750echo " png ${wxUSE_LIBPNG-none}"
36751echo " regex ${wxUSE_REGEX}"
36752echo " tiff ${wxUSE_LIBTIFF-none}"
36753echo " zlib ${wxUSE_ZLIB}"
36754echo " odbc ${wxUSE_ODBC}"
36755echo " expat ${wxUSE_EXPAT}"
36756
36757echo ""
36758