]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
Windows compilation fix
[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_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 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 AIX_CXX_LD RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF WXUNIV MONOLITHIC EXTRALIBS UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX DLLPREFIX SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_SHARED_1_MONOLITHIC_0 COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_GUI_1 COND_WXUSE_ODBC_BUILTIN COND_TOOLKIT_X11 COND_TOOLKIT_MGL COND_TOOLKIT_GTK COND_TOOLKIT_MSW COND_TOOLKIT_MAC COND_USE_SOVERSION_1_PLATFORM_MACOSX_0 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1 COND_PLATFORM_WIN32_1 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_MACOSX_1 COND_WXUSE_LIBTIFF_BUILTIN COND_SHARED_1_USE_GUI_1_MONOLITHIC_0 COND_MONOLITHIC_0 COND_WXUSE_REGEX_BUILTIN COND_TOOLKIT_MOTIF COND_TOOLKIT_COCOA COND_TOOLKIT_OS2 COND_WXUNIV_1 COND_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_0 COND_SHARED_1_MONOLITHIC_1 COND_SHARED_0_MONOLITHIC_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSOLARIS_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_UNICODE_1 COND_PLATFORM_WIN32_0 COND_MONOLITHIC_1 COND_SHARED_0_MONOLITHIC_0 COND_BUILD_DEBUG COND_DEPS_TYPE_GCC COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 COND_DEPS_TRACKING_1 COND_DEPS_TRACKING_0 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 CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX 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 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'
315ac_subst_files=''
316
317# Initialize some variables set by options.
318ac_init_help=
319ac_init_version=false
320# The variables have the same names as the options, with
321# dashes changed to underlines.
322cache_file=/dev/null
323exec_prefix=NONE
324no_create=
325no_recursion=
326prefix=NONE
327program_prefix=NONE
328program_suffix=NONE
329program_transform_name=s,x,x,
330silent=
331site=
332srcdir=
333verbose=
334x_includes=NONE
335x_libraries=NONE
336
337# Installation directory options.
338# These are left unexpanded so users can "make install exec_prefix=/foo"
339# and all the variables that are supposed to be based on exec_prefix
340# by default will actually change.
341# Use braces instead of parens because sh, perl, etc. also accept them.
342bindir='${exec_prefix}/bin'
343sbindir='${exec_prefix}/sbin'
344libexecdir='${exec_prefix}/libexec'
345datadir='${prefix}/share'
346sysconfdir='${prefix}/etc'
347sharedstatedir='${prefix}/com'
348localstatedir='${prefix}/var'
349libdir='${exec_prefix}/lib'
350includedir='${prefix}/include'
351oldincludedir='/usr/include'
352infodir='${prefix}/info'
353mandir='${prefix}/man'
354
355ac_prev=
356for ac_option
357do
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
363 fi
364
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367 # Accept the important Cygnus configure options, so we can diagnose typos.
368
369 case $ac_option in
370
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
375
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
380
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
387
388 --config-cache | -C)
389 cache_file=config.cache ;;
390
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
396
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
405
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
418
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
427
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
431
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
438
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
443
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
450
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
455
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
460
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
467
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
476
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
481
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
485
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
489
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
493
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
502
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
507
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
514
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
521
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
538
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
542
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
548
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
559
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
564
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
569
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
576
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
581
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
584
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
587
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
600
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
609
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
613
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
620
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
627
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
631 ;;
632
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
642
643 *)
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 ;;
650
651 esac
652done
653
654if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
658fi
659
660# Be sure to have absolute paths.
661for ac_var in exec_prefix prefix
662do
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669done
670
671# Be sure to have absolute paths.
672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674do
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681done
682
683# There might be people who depend on the old broken behavior: `$host'
684# used to hold the argument of --host etc.
685# FIXME: To remove some day.
686build=$build_alias
687host=$host_alias
688target=$target_alias
689
690# FIXME: To remove some day.
691if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
698 fi
699fi
700
701ac_tool_prefix=
702test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704test "$silent" = yes && exec 6>/dev/null
705
706
707# Find the source files, if location was not specified.
708if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
726 fi
727else
728 ac_srcdir_defaulted=no
729fi
730if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
737 fi
738fi
739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743ac_env_build_alias_set=${build_alias+set}
744ac_env_build_alias_value=$build_alias
745ac_cv_env_build_alias_set=${build_alias+set}
746ac_cv_env_build_alias_value=$build_alias
747ac_env_host_alias_set=${host_alias+set}
748ac_env_host_alias_value=$host_alias
749ac_cv_env_host_alias_set=${host_alias+set}
750ac_cv_env_host_alias_value=$host_alias
751ac_env_target_alias_set=${target_alias+set}
752ac_env_target_alias_value=$target_alias
753ac_cv_env_target_alias_set=${target_alias+set}
754ac_cv_env_target_alias_value=$target_alias
755ac_env_CC_set=${CC+set}
756ac_env_CC_value=$CC
757ac_cv_env_CC_set=${CC+set}
758ac_cv_env_CC_value=$CC
759ac_env_CFLAGS_set=${CFLAGS+set}
760ac_env_CFLAGS_value=$CFLAGS
761ac_cv_env_CFLAGS_set=${CFLAGS+set}
762ac_cv_env_CFLAGS_value=$CFLAGS
763ac_env_LDFLAGS_set=${LDFLAGS+set}
764ac_env_LDFLAGS_value=$LDFLAGS
765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766ac_cv_env_LDFLAGS_value=$LDFLAGS
767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_env_CPPFLAGS_value=$CPPFLAGS
769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771ac_env_CPP_set=${CPP+set}
772ac_env_CPP_value=$CPP
773ac_cv_env_CPP_set=${CPP+set}
774ac_cv_env_CPP_value=$CPP
775ac_env_CXX_set=${CXX+set}
776ac_env_CXX_value=$CXX
777ac_cv_env_CXX_set=${CXX+set}
778ac_cv_env_CXX_value=$CXX
779ac_env_CXXFLAGS_set=${CXXFLAGS+set}
780ac_env_CXXFLAGS_value=$CXXFLAGS
781ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
782ac_cv_env_CXXFLAGS_value=$CXXFLAGS
783ac_env_CXXCPP_set=${CXXCPP+set}
784ac_env_CXXCPP_value=$CXXCPP
785ac_cv_env_CXXCPP_set=${CXXCPP+set}
786ac_cv_env_CXXCPP_value=$CXXCPP
787
788#
789# Report the --help message.
790#
791if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
794 cat <<_ACEOF
795\`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
796
797Usage: $0 [OPTION]... [VAR=VALUE]...
798
799To assign environment variables (e.g., CC, CFLAGS...), specify them as
800VAR=VALUE. See below for descriptions of some of the useful variables.
801
802Defaults for the options are specified in brackets.
803
804Configuration:
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814
815_ACEOF
816
817 cat <<_ACEOF
818Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
820 [$ac_default_prefix]
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
822 [PREFIX]
823
824By default, \`make install' will install all the files in
825\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827for instance \`--prefix=\$HOME'.
828
829For better control, use the options below.
830
831Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
844_ACEOF
845
846 cat <<\_ACEOF
847
848X features:
849 --x-includes=DIR X include files are in DIR
850 --x-libraries=DIR X library files are in DIR
851
852System types:
853 --build=BUILD configure for building on BUILD [guessed]
854 --host=HOST cross-compile to build programs to run on HOST [BUILD]
855 --target=TARGET configure for building compilers for TARGET [HOST]
856_ACEOF
857fi
858
859if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
862 esac
863 cat <<\_ACEOF
864
865Optional Features:
866 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
867 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
868 --enable-gui use GUI classes
869 --disable-monolithic don't build wxWindows as single library
870 --enable-universal use wxWindows GUI controls instead of native ones
871 --enable-nanox use NanoX
872 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
873 --enable-shared create shared library code
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
877 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
878 --enable-debug_info create code with debugging information
879 --enable-debug_gdb create code with extra GDB debugging information
880 --enable-debug_cntxt use wxDebugContext
881 --enable-mem_tracing create code with memory tracing
882 --enable-profile create code with profiling information
883 --enable-no_rtti create code without RTTI information
884 --enable-no_exceptions create code without C++ exceptions handling
885 --enable-permissive compile code disregarding strict ANSI
886 --enable-no_deps create code without dependency information
887 --enable-compat20 enable wxWindows 2.0 compatibility
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --disable-largefile omit support for large files
1027 --disable-gtktest do not try to compile and run a test GTK+ program
1028 --disable-gtktest Do not try to compile and run a test GTK program
1029
1030Optional Packages:
1031 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1032 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1033 --with-gtk use GTK+
1034 --with-motif use Motif/Lesstif
1035 --with-mac use Mac OS X
1036 --with-cocoa use Cocoa
1037 --with-wine use Wine
1038 --with-msw use MS-Windows
1039 --with-pm use OS/2 Presentation Manager
1040 --with-mgl use SciTech MGL
1041 --with-microwin use MicroWindows
1042 --with-x11 use X11
1043 --with-libpng use libpng (PNG image format)
1044 --with-libjpeg use libjpeg (JPEG file format)
1045 --with-libtiff use libtiff (TIFF file format)
1046 --with-opengl use OpenGL (or Mesa)
1047 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1048 --with-regex enable support for wxRegEx class
1049 --with-zlib use zlib for LZW compression
1050 --with-odbc use the IODBC and wxODBC classes
1051 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1052 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1053 --with-x use the X Window System
1054 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1055
1056Some influential environment variables:
1057 CC C compiler command
1058 CFLAGS C compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CPP C preprocessor
1064 CXX C++ compiler command
1065 CXXFLAGS C++ compiler flags
1066 CXXCPP C++ preprocessor
1067
1068Use these variables to override the choices made by `configure' or to help
1069it to find libraries and programs with nonstandard names/locations.
1070
1071Report bugs to <wx-dev@lists.wxwindows.org>.
1072_ACEOF
1073fi
1074
1075if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1077 ac_popdir=`pwd`
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1080 ac_builddir=.
1081
1082if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1086else
1087 ac_dir_suffix= ac_top_builddir=
1088fi
1089
1090case $srcdir in
1091 .) # No --srcdir option. We are building in place.
1092 ac_srcdir=.
1093 if test -z "$ac_top_builddir"; then
1094 ac_top_srcdir=.
1095 else
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1097 fi ;;
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1101 *) # Relative path.
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1104esac
1105# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1106# absolute.
1107ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1111
1112 cd $ac_dir
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1115 echo
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1118 echo
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1122 echo
1123 $ac_configure --help
1124 else
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1126 fi
1127 cd $ac_popdir
1128 done
1129fi
1130
1131test -n "$ac_init_help" && exit 0
1132if $ac_init_version; then
1133 cat <<\_ACEOF
1134wxWindows configure 2.5.0
1135generated by GNU Autoconf 2.57
1136
1137Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138Free Software Foundation, Inc.
1139This configure script is free software; the Free Software Foundation
1140gives unlimited permission to copy, distribute and modify it.
1141_ACEOF
1142 exit 0
1143fi
1144exec 5>config.log
1145cat >&5 <<_ACEOF
1146This file contains any messages produced by compilers while
1147running configure, to aid debugging if configure makes a mistake.
1148
1149It was created by wxWindows $as_me 2.5.0, which was
1150generated by GNU Autoconf 2.57. Invocation command line was
1151
1152 $ $0 $@
1153
1154_ACEOF
1155{
1156cat <<_ASUNAME
1157## --------- ##
1158## Platform. ##
1159## --------- ##
1160
1161hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165uname -v = `(uname -v) 2>/dev/null || echo unknown`
1166
1167/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1169
1170/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1177
1178_ASUNAME
1179
1180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181for as_dir in $PATH
1182do
1183 IFS=$as_save_IFS
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1186done
1187
1188} >&5
1189
1190cat >&5 <<_ACEOF
1191
1192
1193## ----------- ##
1194## Core tests. ##
1195## ----------- ##
1196
1197_ACEOF
1198
1199
1200# Keep a trace of the command line.
1201# Strip out --no-create and --no-recursion so they do not pile up.
1202# Strip out --silent because we don't want to record it for future runs.
1203# Also quote any args containing shell meta-characters.
1204# Make two passes to allow for proper duplicate-argument suppression.
1205ac_configure_args=
1206ac_configure_args0=
1207ac_configure_args1=
1208ac_sep=
1209ac_must_keep_next=false
1210for ac_pass in 1 2
1211do
1212 for ac_arg
1213 do
1214 case $ac_arg in
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1218 continue ;;
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1221 esac
1222 case $ac_pass in
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1224 2)
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1228 else
1229 case $ac_arg in
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 esac
1237 ;;
1238 -* ) ac_must_keep_next=true ;;
1239 esac
1240 fi
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1243 ac_sep=" "
1244 ;;
1245 esac
1246 done
1247done
1248$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1250
1251# When interrupted or exit'd, cleanup temporary files, and complete
1252# config.log. We remove comments because anyway the quotes in there
1253# would cause problems or look ugly.
1254# WARNING: Be sure not to use single quotes in there, as some shells,
1255# such as our DU 5.0 friend, will then `close' the trap.
1256trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1258 {
1259 echo
1260
1261 cat <<\_ASBOX
1262## ---------------- ##
1263## Cache variables. ##
1264## ---------------- ##
1265_ASBOX
1266 echo
1267 # The following way of writing the cache mishandles newlines in values,
1268{
1269 (set) 2>&1 |
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 *ac_space=\ *)
1272 sed -n \
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275 ;;
1276 *)
1277 sed -n \
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ;;
1280 esac;
1281}
1282 echo
1283
1284 cat <<\_ASBOX
1285## ----------------- ##
1286## Output variables. ##
1287## ----------------- ##
1288_ASBOX
1289 echo
1290 for ac_var in $ac_subst_vars
1291 do
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1294 done | sort
1295 echo
1296
1297 if test -n "$ac_subst_files"; then
1298 cat <<\_ASBOX
1299## ------------- ##
1300## Output files. ##
1301## ------------- ##
1302_ASBOX
1303 echo
1304 for ac_var in $ac_subst_files
1305 do
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1308 done | sort
1309 echo
1310 fi
1311
1312 if test -s confdefs.h; then
1313 cat <<\_ASBOX
1314## ----------- ##
1315## confdefs.h. ##
1316## ----------- ##
1317_ASBOX
1318 echo
1319 sed "/^$/d" confdefs.h | sort
1320 echo
1321 fi
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1325 } >&5
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1328 exit $exit_status
1329 ' 0
1330for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332done
1333ac_signal=0
1334
1335# confdefs.h avoids OS command line length limits that DEFS can exceed.
1336rm -rf conftest* confdefs.h
1337# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338echo >confdefs.h
1339
1340# Predefined preprocessor variables.
1341
1342cat >>confdefs.h <<_ACEOF
1343#define PACKAGE_NAME "$PACKAGE_NAME"
1344_ACEOF
1345
1346
1347cat >>confdefs.h <<_ACEOF
1348#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349_ACEOF
1350
1351
1352cat >>confdefs.h <<_ACEOF
1353#define PACKAGE_VERSION "$PACKAGE_VERSION"
1354_ACEOF
1355
1356
1357cat >>confdefs.h <<_ACEOF
1358#define PACKAGE_STRING "$PACKAGE_STRING"
1359_ACEOF
1360
1361
1362cat >>confdefs.h <<_ACEOF
1363#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364_ACEOF
1365
1366
1367# Let the site file select an alternate cache file if it wants to.
1368# Prefer explicitly selected file to automatically selected ones.
1369if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372 else
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374 fi
1375fi
1376for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1381 . "$ac_site_file"
1382 fi
1383done
1384
1385if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390echo "$as_me: loading cache $cache_file" >&6;}
1391 case $cache_file in
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1394 esac
1395 fi
1396else
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398echo "$as_me: creating cache $cache_file" >&6;}
1399 >$cache_file
1400fi
1401
1402# Check that the precious variables saved in the cache have kept the same
1403# value.
1404ac_cache_corrupted=false
1405for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1412 set,)
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1416 ,set)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,);;
1421 *)
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1430 fi;;
1431 esac
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1434 case $ac_new_val in
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1438 esac
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 esac
1443 fi
1444done
1445if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1451fi
1452
1453ac_ext=c
1454ac_cpp='$CPP $CPPFLAGS'
1455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457ac_compiler_gnu=$ac_cv_c_compiler_gnu
1458
1459
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
1488ac_aux_dir=
1489for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1491 ac_aux_dir=$ac_dir
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 break
1494 elif test -f $ac_dir/install.sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 break
1498 elif test -f $ac_dir/shtool; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1501 break
1502 fi
1503done
1504if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1508fi
1509ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513# Make sure we can run config.sub.
1514$ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1518
1519echo "$as_me:$LINENO: checking build system type" >&5
1520echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1523else
1524 ac_cv_build_alias=$build_alias
1525test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1535
1536fi
1537echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538echo "${ECHO_T}$ac_cv_build" >&6
1539build=$ac_cv_build
1540build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545echo "$as_me:$LINENO: checking host system type" >&5
1546echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547if test "${ac_cv_host+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1549else
1550 ac_cv_host_alias=$host_alias
1551test -z "$ac_cv_host_alias" &&
1552 ac_cv_host_alias=$ac_cv_build_alias
1553ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1554 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556 { (exit 1); exit 1; }; }
1557
1558fi
1559echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560echo "${ECHO_T}$ac_cv_host" >&6
1561host=$ac_cv_host
1562host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1563host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1564host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1565
1566
1567echo "$as_me:$LINENO: checking target system type" >&5
1568echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569if test "${ac_cv_target+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1571else
1572 ac_cv_target_alias=$target_alias
1573test "x$ac_cv_target_alias" = "x" &&
1574 ac_cv_target_alias=$ac_cv_host_alias
1575ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1579
1580fi
1581echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582echo "${ECHO_T}$ac_cv_target" >&6
1583target=$ac_cv_target
1584target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587
1588
1589# The aliases save the names the user supplied, while $host etc.
1590# will get canonicalized.
1591test -n "$target_alias" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1593 NONENONEs,x,x, &&
1594 program_prefix=${target_alias}-
1595
1596
1597
1598WX_MAJOR_VERSION_NUMBER=2
1599WX_MINOR_VERSION_NUMBER=5
1600WX_RELEASE_NUMBER=0
1601
1602WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1603WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1604
1605WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1606
1607WX_CURRENT=0
1608WX_REVISION=0
1609WX_AGE=0
1610
1611
1612
1613USE_UNIX=1
1614USE_WIN32=0
1615USE_DOS=0
1616USE_BEOS=0
1617USE_MAC=0
1618
1619USE_AIX=
1620USE_BSD= USE_DARWIN= USE_FREEBSD=
1621USE_GNU= USE_HPUX=
1622USE_LINUX=
1623USE_NETBSD=
1624USE_OPENBSD=
1625USE_OSF= USE_SGI=
1626USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1627USE_ULTRIX=
1628USE_UNIXWARE=
1629
1630USE_ALPHA=
1631
1632NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1633
1634ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1635
1636DEFAULT_wxUSE_COCOA=0
1637DEFAULT_wxUSE_GTK=0
1638DEFAULT_wxUSE_MAC=0
1639DEFAULT_wxUSE_MGL=0
1640DEFAULT_wxUSE_MICROWIN=0
1641DEFAULT_wxUSE_MOTIF=0
1642DEFAULT_wxUSE_MSW=0
1643DEFAULT_wxUSE_PM=0
1644DEFAULT_wxUSE_X11=0
1645
1646DEFAULT_DEFAULT_wxUSE_COCOA=0
1647DEFAULT_DEFAULT_wxUSE_GTK=0
1648DEFAULT_DEFAULT_wxUSE_MAC=0
1649DEFAULT_DEFAULT_wxUSE_MGL=0
1650DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1651DEFAULT_DEFAULT_wxUSE_MOTIF=0
1652DEFAULT_DEFAULT_wxUSE_MSW=0
1653DEFAULT_DEFAULT_wxUSE_PM=0
1654DEFAULT_DEFAULT_wxUSE_X11=0
1655
1656PROGRAM_EXT=
1657SO_SUFFIX=so
1658SAMPLES_RPATH_FLAG=
1659
1660case "${host}" in
1661 *-hp-hpux* )
1662 USE_HPUX=1
1663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1664 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1665 SO_SUFFIX=sl
1666 cat >>confdefs.h <<\_ACEOF
1667#define __HPUX__ 1
1668_ACEOF
1669
1670 ;;
1671 *-*-linux* )
1672 USE_LINUX=1
1673 cat >>confdefs.h <<\_ACEOF
1674#define __LINUX__ 1
1675_ACEOF
1676
1677 TMP=`uname -m`
1678 if test "x$TMP" = "xalpha"; then
1679 USE_ALPHA=1
1680 cat >>confdefs.h <<\_ACEOF
1681#define __ALPHA__ 1
1682_ACEOF
1683
1684 fi
1685 DEFAULT_DEFAULT_wxUSE_GTK=1
1686 ;;
1687 *-*-gnu* )
1688 USE_GNU=1
1689 cat >>confdefs.h <<\_ACEOF
1690#define __GNU__ 1
1691_ACEOF
1692
1693 TMP=`uname -m`
1694 if test "x$TMP" = "xalpha"; then
1695 USE_ALPHA=1
1696 cat >>confdefs.h <<\_ACEOF
1697#define __ALPHA__ 1
1698_ACEOF
1699
1700 fi
1701 DEFAULT_DEFAULT_wxUSE_GTK=1
1702 ;;
1703 *-*-irix5* | *-*-irix6* )
1704 USE_SGI=1
1705 USE_SVR4=1
1706 cat >>confdefs.h <<\_ACEOF
1707#define __SGI__ 1
1708_ACEOF
1709
1710 cat >>confdefs.h <<\_ACEOF
1711#define __SVR4__ 1
1712_ACEOF
1713
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1715 ;;
1716 *-*-solaris2* )
1717 USE_SUN=1
1718 USE_SOLARIS=1
1719 USE_SVR4=1
1720 cat >>confdefs.h <<\_ACEOF
1721#define __SUN__ 1
1722_ACEOF
1723
1724 cat >>confdefs.h <<\_ACEOF
1725#define __SOLARIS__ 1
1726_ACEOF
1727
1728 cat >>confdefs.h <<\_ACEOF
1729#define __SVR4__ 1
1730_ACEOF
1731
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1734 ;;
1735 *-*-sunos4* )
1736 USE_SUN=1
1737 USE_SUNOS=1
1738 USE_BSD=1
1739 cat >>confdefs.h <<\_ACEOF
1740#define __SUN__ 1
1741_ACEOF
1742
1743 cat >>confdefs.h <<\_ACEOF
1744#define __SUNOS__ 1
1745_ACEOF
1746
1747 cat >>confdefs.h <<\_ACEOF
1748#define __BSD__ 1
1749_ACEOF
1750
1751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1752 ;;
1753 *-*-freebsd*)
1754 USE_BSD=1
1755 USE_FREEBSD=1
1756 cat >>confdefs.h <<\_ACEOF
1757#define __FREEBSD__ 1
1758_ACEOF
1759
1760 cat >>confdefs.h <<\_ACEOF
1761#define __BSD__ 1
1762_ACEOF
1763
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-openbsd*)
1767 USE_BSD=1
1768 USE_OPENBSD=1
1769 cat >>confdefs.h <<\_ACEOF
1770#define __OPENBSD__ 1
1771_ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774#define __BSD__ 1
1775_ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_GTK=1
1778 ;;
1779 *-*-netbsd*)
1780 USE_BSD=1
1781 USE_NETBSD=1
1782 cat >>confdefs.h <<\_ACEOF
1783#define __NETBSD__ 1
1784_ACEOF
1785
1786 cat >>confdefs.h <<\_ACEOF
1787#define __BSD__ 1
1788_ACEOF
1789
1790 DEFAULT_DEFAULT_wxUSE_GTK=1
1791 ;;
1792 *-*-osf* )
1793 USE_ALPHA=1
1794 USE_OSF=1
1795 cat >>confdefs.h <<\_ACEOF
1796#define __ALPHA__ 1
1797_ACEOF
1798
1799 cat >>confdefs.h <<\_ACEOF
1800#define __OSF__ 1
1801_ACEOF
1802
1803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1805 ;;
1806 *-*-dgux5* )
1807 USE_ALPHA=1
1808 USE_SVR4=1
1809 cat >>confdefs.h <<\_ACEOF
1810#define __ALPHA__ 1
1811_ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814#define __SVR4__ 1
1815_ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1818 ;;
1819 *-*-sysv5* )
1820 USE_SYSV=1
1821 USE_SVR4=1
1822 cat >>confdefs.h <<\_ACEOF
1823#define __SYSV__ 1
1824_ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827#define __SVR4__ 1
1828_ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1831 ;;
1832 *-*-aix* )
1833 USE_AIX=1
1834 USE_SYSV=1
1835 USE_SVR4=1
1836 SO_SUFFIX=a
1837 cat >>confdefs.h <<\_ACEOF
1838#define __AIX__ 1
1839_ACEOF
1840
1841 cat >>confdefs.h <<\_ACEOF
1842#define __SYSV__ 1
1843_ACEOF
1844
1845 cat >>confdefs.h <<\_ACEOF
1846#define __SVR4__ 1
1847_ACEOF
1848
1849 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1850 ;;
1851
1852 *-*-*UnixWare*)
1853 USE_SYSV=1
1854 USE_SVR4=1
1855 USE_UNIXWARE=1
1856 cat >>confdefs.h <<\_ACEOF
1857#define __UNIXWARE__ 1
1858_ACEOF
1859
1860 ;;
1861
1862 *-*-cygwin* | *-*-mingw32* )
1863 SO_SUFFIX=dll
1864 PROGRAM_EXT=".exe"
1865 RESCOMP=windres
1866 DEFAULT_DEFAULT_wxUSE_MSW=1
1867 ;;
1868
1869 *-pc-msdosdjgpp )
1870 USE_UNIX=0
1871 USE_DOS=1
1872 cat >>confdefs.h <<\_ACEOF
1873#define __DOS__ 1
1874_ACEOF
1875
1876 PROGRAM_EXT=".exe"
1877 DEFAULT_DEFAULT_wxUSE_MGL=1
1878 LIBS="$LIBS -lstdc++"
1879 ;;
1880
1881 *-pc-os2_emx | *-pc-os2-emx )
1882 cat >>confdefs.h <<\_ACEOF
1883#define __EMX__ 1
1884_ACEOF
1885
1886 PROGRAM_EXT=".exe"
1887 DEFAULT_DEFAULT_wxUSE_PM=1
1888 ;;
1889
1890 powerpc-*-darwin* )
1891 USE_BSD=1
1892 USE_DARWIN=1
1893 SO_SUFFIX=dylib
1894 cat >>confdefs.h <<\_ACEOF
1895#define __BSD__ 1
1896_ACEOF
1897
1898 cat >>confdefs.h <<\_ACEOF
1899#define __DARWIN__ 1
1900_ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903#define __POWERPC__ 1
1904_ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907#define TARGET_CARBON 1
1908_ACEOF
1909
1910 DEFAULT_DEFAULT_wxUSE_MAC=1
1911 ;;
1912
1913 *-*-beos* )
1914 USE_BEOS=1
1915 cat >>confdefs.h <<\_ACEOF
1916#define __BEOS__ 1
1917_ACEOF
1918
1919 ;;
1920
1921 *)
1922 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1923echo "$as_me: error: unknown system type ${host}." >&2;}
1924 { (exit 1); exit 1; }; }
1925esac
1926
1927
1928
1929
1930 wx_arg_cache_file="configarg.cache"
1931 echo "loading argument cache $wx_arg_cache_file"
1932 rm -f ${wx_arg_cache_file}.tmp
1933 touch ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}
1935
1936
1937DEBUG_CONFIGURE=0
1938if test $DEBUG_CONFIGURE = 1; then
1939 DEFAULT_wxUSE_UNIVERSAL=no
1940
1941 DEFAULT_wxUSE_NANOX=no
1942
1943 DEFAULT_wxUSE_THREADS=yes
1944
1945 DEFAULT_wxUSE_SHARED=yes
1946 DEFAULT_wxUSE_OPTIMISE=no
1947 DEFAULT_wxUSE_PROFILE=no
1948 DEFAULT_wxUSE_NO_DEPS=no
1949 DEFAULT_wxUSE_NO_RTTI=no
1950 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1951 DEFAULT_wxUSE_PERMISSIVE=no
1952 DEFAULT_wxUSE_DEBUG_FLAG=yes
1953 DEFAULT_wxUSE_DEBUG_INFO=yes
1954 DEFAULT_wxUSE_DEBUG_GDB=yes
1955 DEFAULT_wxUSE_MEM_TRACING=no
1956 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1957 DEFAULT_wxUSE_DMALLOC=no
1958 DEFAULT_wxUSE_PRECOMP=no
1959 DEFAULT_wxUSE_APPLE_IEEE=no
1960
1961 DEFAULT_wxUSE_LOG=yes
1962 DEFAULT_wxUSE_LOGWINDOW=no
1963 DEFAULT_wxUSE_LOGGUI=no
1964 DEFAULT_wxUSE_LOGDIALOG=no
1965
1966 DEFAULT_wxUSE_GUI=yes
1967 DEFAULT_wxUSE_CONTROLS=no
1968
1969 DEFAULT_wxUSE_REGEX=no
1970 DEFAULT_wxUSE_ZLIB=no
1971 DEFAULT_wxUSE_LIBPNG=no
1972 DEFAULT_wxUSE_LIBJPEG=no
1973 DEFAULT_wxUSE_LIBTIFF=no
1974 DEFAULT_wxUSE_ODBC=no
1975 DEFAULT_wxUSE_OPENGL=no
1976
1977 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1978 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1979 DEFAULT_wxUSE_STD_IOSTREAM=no
1980 DEFAULT_wxUSE_CMDLINE_PARSER=no
1981 DEFAULT_wxUSE_DATETIME=no
1982 DEFAULT_wxUSE_TIMER=no
1983 DEFAULT_wxUSE_STOPWATCH=no
1984 DEFAULT_wxUSE_FILE=no
1985 DEFAULT_wxUSE_FFILE=no
1986 DEFAULT_wxUSE_TEXTBUFFER=no
1987 DEFAULT_wxUSE_TEXTFILE=no
1988 DEFAULT_wxUSE_WAVE=no
1989 DEFAULT_wxUSE_INTL=no
1990 DEFAULT_wxUSE_CONFIG=no
1991 DEFAULT_wxUSE_FONTMAP=no
1992 DEFAULT_wxUSE_STREAMS=no
1993 DEFAULT_wxUSE_SOCKETS=no
1994 DEFAULT_wxUSE_OLE=no
1995 DEFAULT_wxUSE_DATAOBJ=no
1996 DEFAULT_wxUSE_DIALUP_MANAGER=no
1997 DEFAULT_wxUSE_JOYSTICK=no
1998 DEFAULT_wxUSE_DYNLIB_CLASS=no
1999 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2000 DEFAULT_wxUSE_LONGLONG=no
2001 DEFAULT_wxUSE_GEOMETRY=no
2002
2003 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2004 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2005 DEFAULT_wxUSE_POSTSCRIPT=no
2006
2007 DEFAULT_wxUSE_CLIPBOARD=no
2008 DEFAULT_wxUSE_TOOLTIPS=no
2009 DEFAULT_wxUSE_DRAG_AND_DROP=no
2010 DEFAULT_wxUSE_DRAGIMAGE=no
2011 DEFAULT_wxUSE_SPLINES=no
2012
2013 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2014 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2015 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2016
2017 DEFAULT_wxUSE_RESOURCES=no
2018 DEFAULT_wxUSE_CONSTRAINTS=no
2019 DEFAULT_wxUSE_IPC=no
2020 DEFAULT_wxUSE_HELP=no
2021 DEFAULT_wxUSE_MS_HTML_HELP=no
2022 DEFAULT_wxUSE_WXHTML_HELP=no
2023 DEFAULT_wxUSE_TREELAYOUT=no
2024 DEFAULT_wxUSE_METAFILE=no
2025 DEFAULT_wxUSE_MIMETYPE=no
2026 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2027 DEFAULT_wxUSE_PROTOCOL=no
2028 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2029 DEFAULT_wxUSE_PROTOCOL_FTP=no
2030 DEFAULT_wxUSE_PROTOCOL_FILE=no
2031 DEFAULT_wxUSE_URL=no
2032
2033 DEFAULT_wxUSE_COMMONDLGS=no
2034 DEFAULT_wxUSE_CHOICEDLG=no
2035 DEFAULT_wxUSE_COLOURDLG=no
2036 DEFAULT_wxUSE_DIRDLG=no
2037 DEFAULT_wxUSE_FILEDLG=no
2038 DEFAULT_wxUSE_FINDREPLDLG=no
2039 DEFAULT_wxUSE_FONTDLG=no
2040 DEFAULT_wxUSE_MSGDLG=no
2041 DEFAULT_wxUSE_NUMBERDLG=no
2042 DEFAULT_wxUSE_TEXTDLG=no
2043 DEFAULT_wxUSE_SPLASH=no
2044 DEFAULT_wxUSE_STARTUP_TIPS=no
2045 DEFAULT_wxUSE_PROGRESSDLG=no
2046 DEFAULT_wxUSE_WIZARDDLG=no
2047
2048 DEFAULT_wxUSE_MENUS=no
2049 DEFAULT_wxUSE_MINIFRAME=no
2050 DEFAULT_wxUSE_HTML=no
2051 DEFAULT_wxUSE_FILESYSTEM=no
2052 DEFAULT_wxUSE_FS_INET=no
2053 DEFAULT_wxUSE_FS_ZIP=no
2054 DEFAULT_wxUSE_BUSYINFO=no
2055 DEFAULT_wxUSE_ZIPSTREAM=no
2056 DEFAULT_wxUSE_VALIDATORS=no
2057
2058 DEFAULT_wxUSE_ACCEL=no
2059 DEFAULT_wxUSE_BUTTON=no
2060 DEFAULT_wxUSE_BMPBUTTON=no
2061 DEFAULT_wxUSE_CALCTRL=no
2062 DEFAULT_wxUSE_CARET=no
2063 DEFAULT_wxUSE_CHECKBOX=no
2064 DEFAULT_wxUSE_CHECKLST=no
2065 DEFAULT_wxUSE_CHOICE=no
2066 DEFAULT_wxUSE_COMBOBOX=no
2067 DEFAULT_wxUSE_DISPLAY=no
2068 DEFAULT_wxUSE_GAUGE=no
2069 DEFAULT_wxUSE_GRID=no
2070 DEFAULT_wxUSE_IMAGLIST=no
2071 DEFAULT_wxUSE_LISTBOX=no
2072 DEFAULT_wxUSE_LISTCTRL=no
2073 DEFAULT_wxUSE_NOTEBOOK=no
2074 DEFAULT_wxUSE_RADIOBOX=no
2075 DEFAULT_wxUSE_RADIOBTN=no
2076 DEFAULT_wxUSE_SASH=no
2077 DEFAULT_wxUSE_SCROLLBAR=no
2078 DEFAULT_wxUSE_SLIDER=no
2079 DEFAULT_wxUSE_SPINBTN=no
2080 DEFAULT_wxUSE_SPINCTRL=no
2081 DEFAULT_wxUSE_SPLITTER=no
2082 DEFAULT_wxUSE_STATBMP=no
2083 DEFAULT_wxUSE_STATBOX=no
2084 DEFAULT_wxUSE_STATLINE=no
2085 DEFAULT_wxUSE_STATTEXT=no
2086 DEFAULT_wxUSE_STATUSBAR=yes
2087 DEFAULT_wxUSE_TABDIALOG=no
2088 DEFAULT_wxUSE_TEXTCTRL=no
2089 DEFAULT_wxUSE_TOGGLEBTN=no
2090 DEFAULT_wxUSE_TOOLBAR=no
2091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2092 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2093 DEFAULT_wxUSE_TREECTRL=no
2094 DEFAULT_wxUSE_POPUPWIN=no
2095 DEFAULT_wxUSE_TIPWINDOW=no
2096
2097 DEFAULT_wxUSE_UNICODE=no
2098 DEFAULT_wxUSE_UNICODE_MSLU=no
2099 DEFAULT_wxUSE_WCSRTOMBS=no
2100
2101 DEFAULT_wxUSE_PALETTE=no
2102 DEFAULT_wxUSE_IMAGE=no
2103 DEFAULT_wxUSE_GIF=no
2104 DEFAULT_wxUSE_PCX=no
2105 DEFAULT_wxUSE_PNM=no
2106 DEFAULT_wxUSE_IFF=no
2107 DEFAULT_wxUSE_XPM=no
2108 DEFAULT_wxUSE_ICO_CUR=no
2109 DEFAULT_wxUSE_ACCESSIBILITY=no
2110
2111 DEFAULT_wxUSE_MONOLITHIC=yes
2112else
2113 DEFAULT_wxUSE_UNIVERSAL=no
2114
2115 DEFAULT_wxUSE_NANOX=no
2116
2117 DEFAULT_wxUSE_THREADS=yes
2118
2119 DEFAULT_wxUSE_SHARED=yes
2120 DEFAULT_wxUSE_OPTIMISE=yes
2121 DEFAULT_wxUSE_PROFILE=no
2122 DEFAULT_wxUSE_NO_DEPS=no
2123 DEFAULT_wxUSE_NO_RTTI=no
2124 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2125 DEFAULT_wxUSE_PERMISSIVE=no
2126 DEFAULT_wxUSE_DEBUG_FLAG=no
2127 DEFAULT_wxUSE_DEBUG_INFO=no
2128 DEFAULT_wxUSE_DEBUG_GDB=no
2129 DEFAULT_wxUSE_MEM_TRACING=no
2130 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2131 DEFAULT_wxUSE_DMALLOC=no
2132 DEFAULT_wxUSE_PRECOMP=no
2133 DEFAULT_wxUSE_APPLE_IEEE=yes
2134
2135 DEFAULT_wxUSE_LOG=yes
2136 DEFAULT_wxUSE_LOGWINDOW=yes
2137 DEFAULT_wxUSE_LOGGUI=yes
2138 DEFAULT_wxUSE_LOGDIALOG=yes
2139
2140 DEFAULT_wxUSE_GUI=yes
2141
2142 DEFAULT_wxUSE_REGEX=yes
2143 DEFAULT_wxUSE_ZLIB=yes
2144 DEFAULT_wxUSE_LIBPNG=yes
2145 DEFAULT_wxUSE_LIBJPEG=yes
2146 DEFAULT_wxUSE_LIBTIFF=yes
2147 DEFAULT_wxUSE_ODBC=no
2148 DEFAULT_wxUSE_OPENGL=no
2149
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2154 DEFAULT_wxUSE_DATETIME=yes
2155 DEFAULT_wxUSE_TIMER=yes
2156 DEFAULT_wxUSE_STOPWATCH=yes
2157 DEFAULT_wxUSE_FILE=yes
2158 DEFAULT_wxUSE_FFILE=yes
2159 DEFAULT_wxUSE_TEXTBUFFER=yes
2160 DEFAULT_wxUSE_TEXTFILE=yes
2161 DEFAULT_wxUSE_WAVE=no
2162 DEFAULT_wxUSE_INTL=yes
2163 DEFAULT_wxUSE_CONFIG=yes
2164 DEFAULT_wxUSE_FONTMAP=yes
2165 DEFAULT_wxUSE_STREAMS=yes
2166 DEFAULT_wxUSE_SOCKETS=yes
2167 DEFAULT_wxUSE_OLE=yes
2168 DEFAULT_wxUSE_DATAOBJ=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2170 DEFAULT_wxUSE_JOYSTICK=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2173 DEFAULT_wxUSE_LONGLONG=yes
2174 DEFAULT_wxUSE_GEOMETRY=yes
2175
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2178 DEFAULT_wxUSE_POSTSCRIPT=yes
2179
2180 DEFAULT_wxUSE_CLIPBOARD=yes
2181 DEFAULT_wxUSE_TOOLTIPS=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2183 DEFAULT_wxUSE_DRAGIMAGE=yes
2184 DEFAULT_wxUSE_SPLINES=yes
2185
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2189
2190 DEFAULT_wxUSE_RESOURCES=no
2191 DEFAULT_wxUSE_CONSTRAINTS=yes
2192 DEFAULT_wxUSE_IPC=yes
2193 DEFAULT_wxUSE_HELP=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP=yes
2195 DEFAULT_wxUSE_WXHTML_HELP=yes
2196 DEFAULT_wxUSE_TREELAYOUT=yes
2197 DEFAULT_wxUSE_METAFILE=yes
2198 DEFAULT_wxUSE_MIMETYPE=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2200 DEFAULT_wxUSE_PROTOCOL=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2204 DEFAULT_wxUSE_URL=yes
2205
2206 DEFAULT_wxUSE_COMMONDLGS=yes
2207 DEFAULT_wxUSE_CHOICEDLG=yes
2208 DEFAULT_wxUSE_COLOURDLG=yes
2209 DEFAULT_wxUSE_DIRDLG=yes
2210 DEFAULT_wxUSE_FILEDLG=yes
2211 DEFAULT_wxUSE_FINDREPLDLG=yes
2212 DEFAULT_wxUSE_FONTDLG=yes
2213 DEFAULT_wxUSE_MSGDLG=yes
2214 DEFAULT_wxUSE_NUMBERDLG=yes
2215 DEFAULT_wxUSE_TEXTDLG=yes
2216 DEFAULT_wxUSE_SPLASH=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS=yes
2218 DEFAULT_wxUSE_PROGRESSDLG=yes
2219 DEFAULT_wxUSE_WIZARDDLG=yes
2220
2221 DEFAULT_wxUSE_MENUS=yes
2222 DEFAULT_wxUSE_MINIFRAME=yes
2223 DEFAULT_wxUSE_HTML=yes
2224 DEFAULT_wxUSE_FILESYSTEM=yes
2225 DEFAULT_wxUSE_FS_INET=yes
2226 DEFAULT_wxUSE_FS_ZIP=yes
2227 DEFAULT_wxUSE_BUSYINFO=yes
2228 DEFAULT_wxUSE_ZIPSTREAM=yes
2229 DEFAULT_wxUSE_VALIDATORS=yes
2230
2231 DEFAULT_wxUSE_ACCEL=yes
2232 DEFAULT_wxUSE_BUTTON=yes
2233 DEFAULT_wxUSE_BMPBUTTON=yes
2234 DEFAULT_wxUSE_CALCTRL=yes
2235 DEFAULT_wxUSE_CARET=yes
2236 DEFAULT_wxUSE_CHECKBOX=yes
2237 DEFAULT_wxUSE_CHECKLST=yes
2238 DEFAULT_wxUSE_CHOICE=yes
2239 DEFAULT_wxUSE_COMBOBOX=yes
2240 DEFAULT_wxUSE_DISPLAY=no
2241 DEFAULT_wxUSE_GAUGE=yes
2242 DEFAULT_wxUSE_GRID=yes
2243 DEFAULT_wxUSE_IMAGLIST=yes
2244 DEFAULT_wxUSE_LISTBOX=yes
2245 DEFAULT_wxUSE_LISTCTRL=yes
2246 DEFAULT_wxUSE_NOTEBOOK=yes
2247 DEFAULT_wxUSE_RADIOBOX=yes
2248 DEFAULT_wxUSE_RADIOBTN=yes
2249 DEFAULT_wxUSE_SASH=yes
2250 DEFAULT_wxUSE_SCROLLBAR=yes
2251 DEFAULT_wxUSE_SLIDER=yes
2252 DEFAULT_wxUSE_SPINBTN=yes
2253 DEFAULT_wxUSE_SPINCTRL=yes
2254 DEFAULT_wxUSE_SPLITTER=yes
2255 DEFAULT_wxUSE_STATBMP=yes
2256 DEFAULT_wxUSE_STATBOX=yes
2257 DEFAULT_wxUSE_STATLINE=yes
2258 DEFAULT_wxUSE_STATTEXT=yes
2259 DEFAULT_wxUSE_STATUSBAR=yes
2260 DEFAULT_wxUSE_TABDIALOG=no
2261 DEFAULT_wxUSE_TEXTCTRL=yes
2262 DEFAULT_wxUSE_TOGGLEBTN=yes
2263 DEFAULT_wxUSE_TOOLBAR=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2266 DEFAULT_wxUSE_TREECTRL=yes
2267 DEFAULT_wxUSE_POPUPWIN=yes
2268 DEFAULT_wxUSE_TIPWINDOW=yes
2269
2270 DEFAULT_wxUSE_UNICODE=no
2271 DEFAULT_wxUSE_UNICODE_MSLU=yes
2272 DEFAULT_wxUSE_WCSRTOMBS=no
2273
2274 DEFAULT_wxUSE_PALETTE=yes
2275 DEFAULT_wxUSE_IMAGE=yes
2276 DEFAULT_wxUSE_GIF=yes
2277 DEFAULT_wxUSE_PCX=yes
2278 DEFAULT_wxUSE_IFF=no
2279 DEFAULT_wxUSE_PNM=yes
2280 DEFAULT_wxUSE_XPM=yes
2281 DEFAULT_wxUSE_ICO_CUR=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY=no
2283
2284 DEFAULT_wxUSE_MONOLITHIC=yes
2285fi
2286
2287
2288
2289for toolkit in `echo $ALL_TOOLKITS`; do
2290 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2291 if test "x$LINE" != "x" ; then
2292 has_toolkit_in_cache=1
2293 eval "DEFAULT_$LINE"
2294 eval "CACHE_$toolkit=1"
2295 fi
2296done
2297
2298
2299
2300 enablestring=
2301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2302echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2303 no_cache=0
2304 # Check whether --enable-gui or --disable-gui was given.
2305if test "${enable_gui+set}" = set; then
2306 enableval="$enable_gui"
2307
2308 if test "$enableval" = yes; then
2309 ac_cv_use_gui='wxUSE_GUI=yes'
2310 else
2311 ac_cv_use_gui='wxUSE_GUI=no'
2312 fi
2313
2314else
2315
2316 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2317 if test "x$LINE" != x ; then
2318 eval "DEFAULT_$LINE"
2319 else
2320 no_cache=1
2321 fi
2322
2323 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2324
2325fi;
2326
2327 eval "$ac_cv_use_gui"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2330 fi
2331
2332 if test "$wxUSE_GUI" = yes; then
2333 echo "$as_me:$LINENO: result: yes" >&5
2334echo "${ECHO_T}yes" >&6
2335 else
2336 echo "$as_me:$LINENO: result: no" >&5
2337echo "${ECHO_T}no" >&6
2338 fi
2339
2340
2341 enablestring=
2342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2343echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2344 no_cache=0
2345 # Check whether --enable-monolithic or --disable-monolithic was given.
2346if test "${enable_monolithic+set}" = set; then
2347 enableval="$enable_monolithic"
2348
2349 if test "$enableval" = yes; then
2350 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2351 else
2352 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2353 fi
2354
2355else
2356
2357 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2358 if test "x$LINE" != x ; then
2359 eval "DEFAULT_$LINE"
2360 else
2361 no_cache=1
2362 fi
2363
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2365
2366fi;
2367
2368 eval "$ac_cv_use_monolithic"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2371 fi
2372
2373 if test "$wxUSE_MONOLITHIC" = yes; then
2374 echo "$as_me:$LINENO: result: yes" >&5
2375echo "${ECHO_T}yes" >&6
2376 else
2377 echo "$as_me:$LINENO: result: no" >&5
2378echo "${ECHO_T}no" >&6
2379 fi
2380
2381
2382if test "$wxUSE_GUI" = "yes"; then
2383
2384
2385 enablestring=
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2387echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2388 no_cache=0
2389 # Check whether --enable-universal or --disable-universal was given.
2390if test "${enable_universal+set}" = set; then
2391 enableval="$enable_universal"
2392
2393 if test "$enableval" = yes; then
2394 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2395 else
2396 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2397 fi
2398
2399else
2400
2401 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2404 else
2405 no_cache=1
2406 fi
2407
2408 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2409
2410fi;
2411
2412 eval "$ac_cv_use_universal"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2415 fi
2416
2417 if test "$wxUSE_UNIVERSAL" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419echo "${ECHO_T}yes" >&6
2420 else
2421 echo "$as_me:$LINENO: result: no" >&5
2422echo "${ECHO_T}no" >&6
2423 fi
2424
2425
2426# Check whether --with-gtk or --without-gtk was given.
2427if test "${with_gtk+set}" = set; then
2428 withval="$with_gtk"
2429 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2430fi;
2431
2432# Check whether --with-motif or --without-motif was given.
2433if test "${with_motif+set}" = set; then
2434 withval="$with_motif"
2435 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2436fi;
2437
2438# Check whether --with-mac or --without-mac was given.
2439if test "${with_mac+set}" = set; then
2440 withval="$with_mac"
2441 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2442fi;
2443
2444# Check whether --with-cocoa or --without-cocoa was given.
2445if test "${with_cocoa+set}" = set; then
2446 withval="$with_cocoa"
2447 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2448fi;
2449
2450# Check whether --with-wine or --without-wine was given.
2451if test "${with_wine+set}" = set; then
2452 withval="$with_wine"
2453 wxUSE_WINE="$withval" CACHE_WINE=1
2454fi;
2455
2456# Check whether --with-msw or --without-msw was given.
2457if test "${with_msw+set}" = set; then
2458 withval="$with_msw"
2459 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2460fi;
2461
2462# Check whether --with-pm or --without-pm was given.
2463if test "${with_pm+set}" = set; then
2464 withval="$with_pm"
2465 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2466fi;
2467
2468# Check whether --with-mgl or --without-mgl was given.
2469if test "${with_mgl+set}" = set; then
2470 withval="$with_mgl"
2471 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2472fi;
2473
2474# Check whether --with-microwin or --without-microwin was given.
2475if test "${with_microwin+set}" = set; then
2476 withval="$with_microwin"
2477 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2478fi;
2479
2480# Check whether --with-x11 or --without-x11 was given.
2481if test "${with_x11+set}" = set; then
2482 withval="$with_x11"
2483 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2484fi;
2485
2486 enablestring=
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2488echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2489 no_cache=0
2490 # Check whether --enable-nanox or --disable-nanox was given.
2491if test "${enable_nanox+set}" = set; then
2492 enableval="$enable_nanox"
2493
2494 if test "$enableval" = yes; then
2495 ac_cv_use_nanox='wxUSE_NANOX=yes'
2496 else
2497 ac_cv_use_nanox='wxUSE_NANOX=no'
2498 fi
2499
2500else
2501
2502 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x ; then
2504 eval "DEFAULT_$LINE"
2505 else
2506 no_cache=1
2507 fi
2508
2509 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2510
2511fi;
2512
2513 eval "$ac_cv_use_nanox"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2516 fi
2517
2518 if test "$wxUSE_NANOX" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520echo "${ECHO_T}yes" >&6
2521 else
2522 echo "$as_me:$LINENO: result: no" >&5
2523echo "${ECHO_T}no" >&6
2524 fi
2525
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2530echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2533if test "${enable_gtk2+set}" = set; then
2534 enableval="$enable_gtk2"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2538 else
2539 ac_cv_use_gtk2='wxUSE_GTK2=no'
2540 fi
2541
2542else
2543
2544 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2552
2553fi;
2554
2555 eval "$ac_cv_use_gtk2"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_GTK2" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569
2570 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2571echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2572 no_cache=0
2573
2574# Check whether --with-libpng or --without-libpng was given.
2575if test "${with_libpng+set}" = set; then
2576 withval="$with_libpng"
2577
2578 if test "$withval" = yes; then
2579 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2580 elif test "$withval" = no; then
2581 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2582 elif test "$withval" = sys; then
2583 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2584 elif test "$withval" = builtin; then
2585 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2586 else
2587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2588echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2589 { (exit 1); exit 1; }; }
2590 fi
2591
2592else
2593
2594 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2597 else
2598 no_cache=1
2599 fi
2600
2601 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2602
2603fi;
2604
2605 eval "$ac_cv_use_libpng"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2608 fi
2609
2610 if test "$wxUSE_LIBPNG" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612echo "${ECHO_T}yes" >&6
2613 elif test "$wxUSE_LIBPNG" = no; then
2614 echo "$as_me:$LINENO: result: no" >&5
2615echo "${ECHO_T}no" >&6
2616 elif test "$wxUSE_LIBPNG" = sys; then
2617 echo "$as_me:$LINENO: result: system version" >&5
2618echo "${ECHO_T}system version" >&6
2619 elif test "$wxUSE_LIBPNG" = builtin; then
2620 echo "$as_me:$LINENO: result: builtin version" >&5
2621echo "${ECHO_T}builtin version" >&6
2622 else
2623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2624echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2625 { (exit 1); exit 1; }; }
2626 fi
2627
2628
2629 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2630echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2631 no_cache=0
2632
2633# Check whether --with-libjpeg or --without-libjpeg was given.
2634if test "${with_libjpeg+set}" = set; then
2635 withval="$with_libjpeg"
2636
2637 if test "$withval" = yes; then
2638 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2639 elif test "$withval" = no; then
2640 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2641 elif test "$withval" = sys; then
2642 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2643 elif test "$withval" = builtin; then
2644 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2645 else
2646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2647echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2648 { (exit 1); exit 1; }; }
2649 fi
2650
2651else
2652
2653 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2656 else
2657 no_cache=1
2658 fi
2659
2660 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2661
2662fi;
2663
2664 eval "$ac_cv_use_libjpeg"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2667 fi
2668
2669 if test "$wxUSE_LIBJPEG" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671echo "${ECHO_T}yes" >&6
2672 elif test "$wxUSE_LIBJPEG" = no; then
2673 echo "$as_me:$LINENO: result: no" >&5
2674echo "${ECHO_T}no" >&6
2675 elif test "$wxUSE_LIBJPEG" = sys; then
2676 echo "$as_me:$LINENO: result: system version" >&5
2677echo "${ECHO_T}system version" >&6
2678 elif test "$wxUSE_LIBJPEG" = builtin; then
2679 echo "$as_me:$LINENO: result: builtin version" >&5
2680echo "${ECHO_T}builtin version" >&6
2681 else
2682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2683echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2684 { (exit 1); exit 1; }; }
2685 fi
2686
2687
2688 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2689echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2690 no_cache=0
2691
2692# Check whether --with-libtiff or --without-libtiff was given.
2693if test "${with_libtiff+set}" = set; then
2694 withval="$with_libtiff"
2695
2696 if test "$withval" = yes; then
2697 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2698 elif test "$withval" = no; then
2699 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2700 elif test "$withval" = sys; then
2701 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2702 elif test "$withval" = builtin; then
2703 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2704 else
2705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2706echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2707 { (exit 1); exit 1; }; }
2708 fi
2709
2710else
2711
2712 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2715 else
2716 no_cache=1
2717 fi
2718
2719 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2720
2721fi;
2722
2723 eval "$ac_cv_use_libtiff"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2726 fi
2727
2728 if test "$wxUSE_LIBTIFF" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730echo "${ECHO_T}yes" >&6
2731 elif test "$wxUSE_LIBTIFF" = no; then
2732 echo "$as_me:$LINENO: result: no" >&5
2733echo "${ECHO_T}no" >&6
2734 elif test "$wxUSE_LIBTIFF" = sys; then
2735 echo "$as_me:$LINENO: result: system version" >&5
2736echo "${ECHO_T}system version" >&6
2737 elif test "$wxUSE_LIBTIFF" = builtin; then
2738 echo "$as_me:$LINENO: result: builtin version" >&5
2739echo "${ECHO_T}builtin version" >&6
2740 else
2741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2742echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2743 { (exit 1); exit 1; }; }
2744 fi
2745
2746
2747 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2748echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2749 no_cache=0
2750
2751# Check whether --with-opengl or --without-opengl was given.
2752if test "${with_opengl+set}" = set; then
2753 withval="$with_opengl"
2754
2755 if test "$withval" = yes; then
2756 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2757 else
2758 ac_cv_use_opengl='wxUSE_OPENGL=no'
2759 fi
2760
2761else
2762
2763 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x ; then
2765 eval "DEFAULT_$LINE"
2766 else
2767 no_cache=1
2768 fi
2769
2770 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2771
2772fi;
2773
2774 eval "$ac_cv_use_opengl"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$wxUSE_OPENGL" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781echo "${ECHO_T}yes" >&6
2782 else
2783 echo "$as_me:$LINENO: result: no" >&5
2784echo "${ECHO_T}no" >&6
2785 fi
2786
2787
2788fi
2789
2790
2791 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2792echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2793 no_cache=0
2794
2795# Check whether --with-dmalloc or --without-dmalloc was given.
2796if test "${with_dmalloc+set}" = set; then
2797 withval="$with_dmalloc"
2798
2799 if test "$withval" = yes; then
2800 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2801 else
2802 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2803 fi
2804
2805else
2806
2807 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2810 else
2811 no_cache=1
2812 fi
2813
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2815
2816fi;
2817
2818 eval "$ac_cv_use_dmalloc"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_DMALLOC" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825echo "${ECHO_T}yes" >&6
2826 else
2827 echo "$as_me:$LINENO: result: no" >&5
2828echo "${ECHO_T}no" >&6
2829 fi
2830
2831
2832 echo "$as_me:$LINENO: checking for --with-regex" >&5
2833echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2834 no_cache=0
2835
2836# Check whether --with-regex or --without-regex was given.
2837if test "${with_regex+set}" = set; then
2838 withval="$with_regex"
2839
2840 if test "$withval" = yes; then
2841 ac_cv_use_regex='wxUSE_REGEX=yes'
2842 elif test "$withval" = no; then
2843 ac_cv_use_regex='wxUSE_REGEX=no'
2844 elif test "$withval" = sys; then
2845 ac_cv_use_regex='wxUSE_REGEX=sys'
2846 elif test "$withval" = builtin; then
2847 ac_cv_use_regex='wxUSE_REGEX=builtin'
2848 else
2849 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2850echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2851 { (exit 1); exit 1; }; }
2852 fi
2853
2854else
2855
2856 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x ; then
2858 eval "DEFAULT_$LINE"
2859 else
2860 no_cache=1
2861 fi
2862
2863 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2864
2865fi;
2866
2867 eval "$ac_cv_use_regex"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2870 fi
2871
2872 if test "$wxUSE_REGEX" = yes; then
2873 echo "$as_me:$LINENO: result: yes" >&5
2874echo "${ECHO_T}yes" >&6
2875 elif test "$wxUSE_REGEX" = no; then
2876 echo "$as_me:$LINENO: result: no" >&5
2877echo "${ECHO_T}no" >&6
2878 elif test "$wxUSE_REGEX" = sys; then
2879 echo "$as_me:$LINENO: result: system version" >&5
2880echo "${ECHO_T}system version" >&6
2881 elif test "$wxUSE_REGEX" = builtin; then
2882 echo "$as_me:$LINENO: result: builtin version" >&5
2883echo "${ECHO_T}builtin version" >&6
2884 else
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2886echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2888 fi
2889
2890
2891 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2892echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2893 no_cache=0
2894
2895# Check whether --with-zlib or --without-zlib was given.
2896if test "${with_zlib+set}" = set; then
2897 withval="$with_zlib"
2898
2899 if test "$withval" = yes; then
2900 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2901 elif test "$withval" = no; then
2902 ac_cv_use_zlib='wxUSE_ZLIB=no'
2903 elif test "$withval" = sys; then
2904 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2905 elif test "$withval" = builtin; then
2906 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2907 else
2908 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2909echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2910 { (exit 1); exit 1; }; }
2911 fi
2912
2913else
2914
2915 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x ; then
2917 eval "DEFAULT_$LINE"
2918 else
2919 no_cache=1
2920 fi
2921
2922 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2923
2924fi;
2925
2926 eval "$ac_cv_use_zlib"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2929 fi
2930
2931 if test "$wxUSE_ZLIB" = yes; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933echo "${ECHO_T}yes" >&6
2934 elif test "$wxUSE_ZLIB" = no; then
2935 echo "$as_me:$LINENO: result: no" >&5
2936echo "${ECHO_T}no" >&6
2937 elif test "$wxUSE_ZLIB" = sys; then
2938 echo "$as_me:$LINENO: result: system version" >&5
2939echo "${ECHO_T}system version" >&6
2940 elif test "$wxUSE_ZLIB" = builtin; then
2941 echo "$as_me:$LINENO: result: builtin version" >&5
2942echo "${ECHO_T}builtin version" >&6
2943 else
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2945echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2947 fi
2948
2949
2950 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2951echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2952 no_cache=0
2953
2954# Check whether --with-odbc or --without-odbc was given.
2955if test "${with_odbc+set}" = set; then
2956 withval="$with_odbc"
2957
2958 if test "$withval" = yes; then
2959 ac_cv_use_odbc='wxUSE_ODBC=yes'
2960 elif test "$withval" = no; then
2961 ac_cv_use_odbc='wxUSE_ODBC=no'
2962 elif test "$withval" = sys; then
2963 ac_cv_use_odbc='wxUSE_ODBC=sys'
2964 elif test "$withval" = builtin; then
2965 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2966 else
2967 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2968echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2969 { (exit 1); exit 1; }; }
2970 fi
2971
2972else
2973
2974 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x ; then
2976 eval "DEFAULT_$LINE"
2977 else
2978 no_cache=1
2979 fi
2980
2981 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2982
2983fi;
2984
2985 eval "$ac_cv_use_odbc"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2988 fi
2989
2990 if test "$wxUSE_ODBC" = yes; then
2991 echo "$as_me:$LINENO: result: yes" >&5
2992echo "${ECHO_T}yes" >&6
2993 elif test "$wxUSE_ODBC" = no; then
2994 echo "$as_me:$LINENO: result: no" >&5
2995echo "${ECHO_T}no" >&6
2996 elif test "$wxUSE_ODBC" = sys; then
2997 echo "$as_me:$LINENO: result: system version" >&5
2998echo "${ECHO_T}system version" >&6
2999 elif test "$wxUSE_ODBC" = builtin; then
3000 echo "$as_me:$LINENO: result: builtin version" >&5
3001echo "${ECHO_T}builtin version" >&6
3002 else
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3004echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3006 fi
3007
3008
3009
3010
3011 enablestring=
3012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3013echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3014 no_cache=0
3015 # Check whether --enable-shared or --disable-shared was given.
3016if test "${enable_shared+set}" = set; then
3017 enableval="$enable_shared"
3018
3019 if test "$enableval" = yes; then
3020 ac_cv_use_shared='wxUSE_SHARED=yes'
3021 else
3022 ac_cv_use_shared='wxUSE_SHARED=no'
3023 fi
3024
3025else
3026
3027 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x ; then
3029 eval "DEFAULT_$LINE"
3030 else
3031 no_cache=1
3032 fi
3033
3034 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3035
3036fi;
3037
3038 eval "$ac_cv_use_shared"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3041 fi
3042
3043 if test "$wxUSE_SHARED" = yes; then
3044 echo "$as_me:$LINENO: result: yes" >&5
3045echo "${ECHO_T}yes" >&6
3046 else
3047 echo "$as_me:$LINENO: result: no" >&5
3048echo "${ECHO_T}no" >&6
3049 fi
3050
3051
3052 enablestring=
3053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3054echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3055 no_cache=0
3056 # Check whether --enable-optimise or --disable-optimise was given.
3057if test "${enable_optimise+set}" = set; then
3058 enableval="$enable_optimise"
3059
3060 if test "$enableval" = yes; then
3061 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3062 else
3063 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3064 fi
3065
3066else
3067
3068 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x ; then
3070 eval "DEFAULT_$LINE"
3071 else
3072 no_cache=1
3073 fi
3074
3075 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3076
3077fi;
3078
3079 eval "$ac_cv_use_optimise"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test "$wxUSE_OPTIMISE" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086echo "${ECHO_T}yes" >&6
3087 else
3088 echo "$as_me:$LINENO: result: no" >&5
3089echo "${ECHO_T}no" >&6
3090 fi
3091
3092
3093 enablestring=
3094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3095echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3096 no_cache=0
3097 # Check whether --enable-debug or --disable-debug was given.
3098if test "${enable_debug+set}" = set; then
3099 enableval="$enable_debug"
3100
3101 if test "$enableval" = yes; then
3102 ac_cv_use_debug='wxUSE_DEBUG=yes'
3103 else
3104 ac_cv_use_debug='wxUSE_DEBUG=no'
3105 fi
3106
3107else
3108
3109 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x ; then
3111 eval "DEFAULT_$LINE"
3112 else
3113 no_cache=1
3114 fi
3115
3116 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3117
3118fi;
3119
3120 eval "$ac_cv_use_debug"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3123 fi
3124
3125 if test "$wxUSE_DEBUG" = yes; then
3126 echo "$as_me:$LINENO: result: yes" >&5
3127echo "${ECHO_T}yes" >&6
3128 else
3129 echo "$as_me:$LINENO: result: no" >&5
3130echo "${ECHO_T}no" >&6
3131 fi
3132
3133
3134
3135 enablestring=
3136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3137echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3138 no_cache=0
3139 # Check whether --enable-precomp or --disable-precomp was given.
3140if test "${enable_precomp+set}" = set; then
3141 enableval="$enable_precomp"
3142
3143 if test "$enableval" = yes; then
3144 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
3145 else
3146 ac_cv_use_precomp='wxUSE_PRECOMP=no'
3147 fi
3148
3149else
3150
3151 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3154 else
3155 no_cache=1
3156 fi
3157
3158 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3159
3160fi;
3161
3162 eval "$ac_cv_use_precomp"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test "$wxUSE_PRECOMP" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169echo "${ECHO_T}yes" >&6
3170 else
3171 echo "$as_me:$LINENO: result: no" >&5
3172echo "${ECHO_T}no" >&6
3173 fi
3174
3175
3176if test "$wxUSE_DEBUG" = "yes"; then
3177 DEFAULT_wxUSE_DEBUG_FLAG=yes
3178 DEFAULT_wxUSE_DEBUG_INFO=yes
3179elif test "$wxUSE_DEBUG" = "no"; then
3180 DEFAULT_wxUSE_DEBUG_FLAG=no
3181 DEFAULT_wxUSE_DEBUG_INFO=no
3182fi
3183
3184
3185 enablestring=
3186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3187echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3188 no_cache=0
3189 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3190if test "${enable_debug_flag+set}" = set; then
3191 enableval="$enable_debug_flag"
3192
3193 if test "$enableval" = yes; then
3194 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3195 else
3196 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3197 fi
3198
3199else
3200
3201 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3204 else
3205 no_cache=1
3206 fi
3207
3208 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3209
3210fi;
3211
3212 eval "$ac_cv_use_debug_flag"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3215 fi
3216
3217 if test "$wxUSE_DEBUG_FLAG" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219echo "${ECHO_T}yes" >&6
3220 else
3221 echo "$as_me:$LINENO: result: no" >&5
3222echo "${ECHO_T}no" >&6
3223 fi
3224
3225
3226 enablestring=
3227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3228echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3229 no_cache=0
3230 # Check whether --enable-debug_info or --disable-debug_info was given.
3231if test "${enable_debug_info+set}" = set; then
3232 enableval="$enable_debug_info"
3233
3234 if test "$enableval" = yes; then
3235 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3236 else
3237 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3238 fi
3239
3240else
3241
3242 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3245 else
3246 no_cache=1
3247 fi
3248
3249 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3250
3251fi;
3252
3253 eval "$ac_cv_use_debug_info"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test "$wxUSE_DEBUG_INFO" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260echo "${ECHO_T}yes" >&6
3261 else
3262 echo "$as_me:$LINENO: result: no" >&5
3263echo "${ECHO_T}no" >&6
3264 fi
3265
3266
3267 enablestring=
3268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3269echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3270 no_cache=0
3271 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3272if test "${enable_debug_gdb+set}" = set; then
3273 enableval="$enable_debug_gdb"
3274
3275 if test "$enableval" = yes; then
3276 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3277 else
3278 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3279 fi
3280
3281else
3282
3283 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x ; then
3285 eval "DEFAULT_$LINE"
3286 else
3287 no_cache=1
3288 fi
3289
3290 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3291
3292fi;
3293
3294 eval "$ac_cv_use_debug_gdb"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3297 fi
3298
3299 if test "$wxUSE_DEBUG_GDB" = yes; then
3300 echo "$as_me:$LINENO: result: yes" >&5
3301echo "${ECHO_T}yes" >&6
3302 else
3303 echo "$as_me:$LINENO: result: no" >&5
3304echo "${ECHO_T}no" >&6
3305 fi
3306
3307
3308 enablestring=
3309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3310echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3311 no_cache=0
3312 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3313if test "${enable_debug_cntxt+set}" = set; then
3314 enableval="$enable_debug_cntxt"
3315
3316 if test "$enableval" = yes; then
3317 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3318 else
3319 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3320 fi
3321
3322else
3323
3324 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x ; then
3326 eval "DEFAULT_$LINE"
3327 else
3328 no_cache=1
3329 fi
3330
3331 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3332
3333fi;
3334
3335 eval "$ac_cv_use_debug_cntxt"
3336 if test "$no_cache" != 1; then
3337 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3338 fi
3339
3340 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3341 echo "$as_me:$LINENO: result: yes" >&5
3342echo "${ECHO_T}yes" >&6
3343 else
3344 echo "$as_me:$LINENO: result: no" >&5
3345echo "${ECHO_T}no" >&6
3346 fi
3347
3348
3349 enablestring=
3350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3351echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3352 no_cache=0
3353 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3354if test "${enable_mem_tracing+set}" = set; then
3355 enableval="$enable_mem_tracing"
3356
3357 if test "$enableval" = yes; then
3358 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3359 else
3360 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3361 fi
3362
3363else
3364
3365 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3368 else
3369 no_cache=1
3370 fi
3371
3372 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3373
3374fi;
3375
3376 eval "$ac_cv_use_mem_tracing"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3379 fi
3380
3381 if test "$wxUSE_MEM_TRACING" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383echo "${ECHO_T}yes" >&6
3384 else
3385 echo "$as_me:$LINENO: result: no" >&5
3386echo "${ECHO_T}no" >&6
3387 fi
3388
3389
3390 enablestring=
3391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3392echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3393 no_cache=0
3394 # Check whether --enable-profile or --disable-profile was given.
3395if test "${enable_profile+set}" = set; then
3396 enableval="$enable_profile"
3397
3398 if test "$enableval" = yes; then
3399 ac_cv_use_profile='wxUSE_PROFILE=yes'
3400 else
3401 ac_cv_use_profile='wxUSE_PROFILE=no'
3402 fi
3403
3404else
3405
3406 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x ; then
3408 eval "DEFAULT_$LINE"
3409 else
3410 no_cache=1
3411 fi
3412
3413 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3414
3415fi;
3416
3417 eval "$ac_cv_use_profile"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_PROFILE" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424echo "${ECHO_T}yes" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427echo "${ECHO_T}no" >&6
3428 fi
3429
3430
3431 enablestring=
3432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3433echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3434 no_cache=0
3435 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3436if test "${enable_no_rtti+set}" = set; then
3437 enableval="$enable_no_rtti"
3438
3439 if test "$enableval" = yes; then
3440 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3441 else
3442 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3443 fi
3444
3445else
3446
3447 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x ; then
3449 eval "DEFAULT_$LINE"
3450 else
3451 no_cache=1
3452 fi
3453
3454 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3455
3456fi;
3457
3458 eval "$ac_cv_use_no_rtti"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3461 fi
3462
3463 if test "$wxUSE_NO_RTTI" = yes; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465echo "${ECHO_T}yes" >&6
3466 else
3467 echo "$as_me:$LINENO: result: no" >&5
3468echo "${ECHO_T}no" >&6
3469 fi
3470
3471
3472 enablestring=
3473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3474echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3475 no_cache=0
3476 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3477if test "${enable_no_exceptions+set}" = set; then
3478 enableval="$enable_no_exceptions"
3479
3480 if test "$enableval" = yes; then
3481 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3482 else
3483 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3484 fi
3485
3486else
3487
3488 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x ; then
3490 eval "DEFAULT_$LINE"
3491 else
3492 no_cache=1
3493 fi
3494
3495 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3496
3497fi;
3498
3499 eval "$ac_cv_use_no_exceptions"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3502 fi
3503
3504 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506echo "${ECHO_T}yes" >&6
3507 else
3508 echo "$as_me:$LINENO: result: no" >&5
3509echo "${ECHO_T}no" >&6
3510 fi
3511
3512
3513 enablestring=
3514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3515echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3516 no_cache=0
3517 # Check whether --enable-permissive or --disable-permissive was given.
3518if test "${enable_permissive+set}" = set; then
3519 enableval="$enable_permissive"
3520
3521 if test "$enableval" = yes; then
3522 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3523 else
3524 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3525 fi
3526
3527else
3528
3529 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3537
3538fi;
3539
3540 eval "$ac_cv_use_permissive"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_PERMISSIVE" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 enablestring=
3555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3556echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3557 no_cache=0
3558 # Check whether --enable-no_deps or --disable-no_deps was given.
3559if test "${enable_no_deps+set}" = set; then
3560 enableval="$enable_no_deps"
3561
3562 if test "$enableval" = yes; then
3563 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3564 else
3565 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3566 fi
3567
3568else
3569
3570 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3578
3579fi;
3580
3581 eval "$ac_cv_use_no_deps"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_NO_DEPS" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588echo "${ECHO_T}yes" >&6
3589 else
3590 echo "$as_me:$LINENO: result: no" >&5
3591echo "${ECHO_T}no" >&6
3592 fi
3593
3594
3595
3596 enablestring=
3597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3598echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3599 no_cache=0
3600 # Check whether --enable-compat20 or --disable-compat20 was given.
3601if test "${enable_compat20+set}" = set; then
3602 enableval="$enable_compat20"
3603
3604 if test "$enableval" = yes; then
3605 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3606 else
3607 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3608 fi
3609
3610else
3611
3612 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3613 if test "x$LINE" != x ; then
3614 eval "DEFAULT_$LINE"
3615 else
3616 no_cache=1
3617 fi
3618
3619 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3620
3621fi;
3622
3623 eval "$ac_cv_use_compat20"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3626 fi
3627
3628 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3629 echo "$as_me:$LINENO: result: yes" >&5
3630echo "${ECHO_T}yes" >&6
3631 else
3632 echo "$as_me:$LINENO: result: no" >&5
3633echo "${ECHO_T}no" >&6
3634 fi
3635
3636
3637 enablestring=
3638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3639echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3640 no_cache=0
3641 # Check whether --enable-compat22 or --disable-compat22 was given.
3642if test "${enable_compat22+set}" = set; then
3643 enableval="$enable_compat22"
3644
3645 if test "$enableval" = yes; then
3646 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3647 else
3648 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3649 fi
3650
3651else
3652
3653 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x ; then
3655 eval "DEFAULT_$LINE"
3656 else
3657 no_cache=1
3658 fi
3659
3660 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3661
3662fi;
3663
3664 eval "$ac_cv_use_compat22"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3667 fi
3668
3669 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3670 echo "$as_me:$LINENO: result: yes" >&5
3671echo "${ECHO_T}yes" >&6
3672 else
3673 echo "$as_me:$LINENO: result: no" >&5
3674echo "${ECHO_T}no" >&6
3675 fi
3676
3677
3678 enablestring=disable
3679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3680echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3681 no_cache=0
3682 # Check whether --enable-compat24 or --disable-compat24 was given.
3683if test "${enable_compat24+set}" = set; then
3684 enableval="$enable_compat24"
3685
3686 if test "$enableval" = yes; then
3687 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3688 else
3689 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3690 fi
3691
3692else
3693
3694 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x ; then
3696 eval "DEFAULT_$LINE"
3697 else
3698 no_cache=1
3699 fi
3700
3701 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3702
3703fi;
3704
3705 eval "$ac_cv_use_compat24"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3708 fi
3709
3710 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3711 echo "$as_me:$LINENO: result: yes" >&5
3712echo "${ECHO_T}yes" >&6
3713 else
3714 echo "$as_me:$LINENO: result: no" >&5
3715echo "${ECHO_T}no" >&6
3716 fi
3717
3718
3719# Check whether --enable-rpath or --disable-rpath was given.
3720if test "${enable_rpath+set}" = set; then
3721 enableval="$enable_rpath"
3722 wxRPATH_DIR="$enableval"
3723fi;
3724
3725if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3726 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3727fi
3728
3729
3730
3731
3732 enablestring=
3733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3734echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3735 no_cache=0
3736 # Check whether --enable-intl or --disable-intl was given.
3737if test "${enable_intl+set}" = set; then
3738 enableval="$enable_intl"
3739
3740 if test "$enableval" = yes; then
3741 ac_cv_use_intl='wxUSE_INTL=yes'
3742 else
3743 ac_cv_use_intl='wxUSE_INTL=no'
3744 fi
3745
3746else
3747
3748 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x ; then
3750 eval "DEFAULT_$LINE"
3751 else
3752 no_cache=1
3753 fi
3754
3755 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3756
3757fi;
3758
3759 eval "$ac_cv_use_intl"
3760 if test "$no_cache" != 1; then
3761 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3762 fi
3763
3764 if test "$wxUSE_INTL" = yes; then
3765 echo "$as_me:$LINENO: result: yes" >&5
3766echo "${ECHO_T}yes" >&6
3767 else
3768 echo "$as_me:$LINENO: result: no" >&5
3769echo "${ECHO_T}no" >&6
3770 fi
3771
3772
3773 enablestring=
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3775echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3776 no_cache=0
3777 # Check whether --enable-config or --disable-config was given.
3778if test "${enable_config+set}" = set; then
3779 enableval="$enable_config"
3780
3781 if test "$enableval" = yes; then
3782 ac_cv_use_config='wxUSE_CONFIG=yes'
3783 else
3784 ac_cv_use_config='wxUSE_CONFIG=no'
3785 fi
3786
3787else
3788
3789 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x ; then
3791 eval "DEFAULT_$LINE"
3792 else
3793 no_cache=1
3794 fi
3795
3796 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3797
3798fi;
3799
3800 eval "$ac_cv_use_config"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3803 fi
3804
3805 if test "$wxUSE_CONFIG" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807echo "${ECHO_T}yes" >&6
3808 else
3809 echo "$as_me:$LINENO: result: no" >&5
3810echo "${ECHO_T}no" >&6
3811 fi
3812
3813
3814
3815 enablestring=
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3817echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3818 no_cache=0
3819 # Check whether --enable-protocols or --disable-protocols was given.
3820if test "${enable_protocols+set}" = set; then
3821 enableval="$enable_protocols"
3822
3823 if test "$enableval" = yes; then
3824 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3825 else
3826 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3827 fi
3828
3829else
3830
3831 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x ; then
3833 eval "DEFAULT_$LINE"
3834 else
3835 no_cache=1
3836 fi
3837
3838 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3839
3840fi;
3841
3842 eval "$ac_cv_use_protocols"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_PROTOCOL" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849echo "${ECHO_T}yes" >&6
3850 else
3851 echo "$as_me:$LINENO: result: no" >&5
3852echo "${ECHO_T}no" >&6
3853 fi
3854
3855
3856 enablestring=
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3858echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3859 no_cache=0
3860 # Check whether --enable-ftp or --disable-ftp was given.
3861if test "${enable_ftp+set}" = set; then
3862 enableval="$enable_ftp"
3863
3864 if test "$enableval" = yes; then
3865 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3866 else
3867 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3868 fi
3869
3870else
3871
3872 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x ; then
3874 eval "DEFAULT_$LINE"
3875 else
3876 no_cache=1
3877 fi
3878
3879 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3880
3881fi;
3882
3883 eval "$ac_cv_use_ftp"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3886 fi
3887
3888 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890echo "${ECHO_T}yes" >&6
3891 else
3892 echo "$as_me:$LINENO: result: no" >&5
3893echo "${ECHO_T}no" >&6
3894 fi
3895
3896
3897 enablestring=
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3899echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3900 no_cache=0
3901 # Check whether --enable-http or --disable-http was given.
3902if test "${enable_http+set}" = set; then
3903 enableval="$enable_http"
3904
3905 if test "$enableval" = yes; then
3906 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3907 else
3908 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3909 fi
3910
3911else
3912
3913 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x ; then
3915 eval "DEFAULT_$LINE"
3916 else
3917 no_cache=1
3918 fi
3919
3920 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3921
3922fi;
3923
3924 eval "$ac_cv_use_http"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931echo "${ECHO_T}yes" >&6
3932 else
3933 echo "$as_me:$LINENO: result: no" >&5
3934echo "${ECHO_T}no" >&6
3935 fi
3936
3937
3938 enablestring=
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3940echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3941 no_cache=0
3942 # Check whether --enable-fileproto or --disable-fileproto was given.
3943if test "${enable_fileproto+set}" = set; then
3944 enableval="$enable_fileproto"
3945
3946 if test "$enableval" = yes; then
3947 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3948 else
3949 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3950 fi
3951
3952else
3953
3954 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x ; then
3956 eval "DEFAULT_$LINE"
3957 else
3958 no_cache=1
3959 fi
3960
3961 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3962
3963fi;
3964
3965 eval "$ac_cv_use_fileproto"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3968 fi
3969
3970 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972echo "${ECHO_T}yes" >&6
3973 else
3974 echo "$as_me:$LINENO: result: no" >&5
3975echo "${ECHO_T}no" >&6
3976 fi
3977
3978
3979 enablestring=
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3981echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3982 no_cache=0
3983 # Check whether --enable-sockets or --disable-sockets was given.
3984if test "${enable_sockets+set}" = set; then
3985 enableval="$enable_sockets"
3986
3987 if test "$enableval" = yes; then
3988 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3989 else
3990 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3991 fi
3992
3993else
3994
3995 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x ; then
3997 eval "DEFAULT_$LINE"
3998 else
3999 no_cache=1
4000 fi
4001
4002 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4003
4004fi;
4005
4006 eval "$ac_cv_use_sockets"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4009 fi
4010
4011 if test "$wxUSE_SOCKETS" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013echo "${ECHO_T}yes" >&6
4014 else
4015 echo "$as_me:$LINENO: result: no" >&5
4016echo "${ECHO_T}no" >&6
4017 fi
4018
4019
4020 enablestring=
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4022echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4023 no_cache=0
4024 # Check whether --enable-ole or --disable-ole was given.
4025if test "${enable_ole+set}" = set; then
4026 enableval="$enable_ole"
4027
4028 if test "$enableval" = yes; then
4029 ac_cv_use_ole='wxUSE_OLE=yes'
4030 else
4031 ac_cv_use_ole='wxUSE_OLE=no'
4032 fi
4033
4034else
4035
4036 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4039 else
4040 no_cache=1
4041 fi
4042
4043 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4044
4045fi;
4046
4047 eval "$ac_cv_use_ole"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4050 fi
4051
4052 if test "$wxUSE_OLE" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054echo "${ECHO_T}yes" >&6
4055 else
4056 echo "$as_me:$LINENO: result: no" >&5
4057echo "${ECHO_T}no" >&6
4058 fi
4059
4060
4061 enablestring=
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4063echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4064 no_cache=0
4065 # Check whether --enable-dataobj or --disable-dataobj was given.
4066if test "${enable_dataobj+set}" = set; then
4067 enableval="$enable_dataobj"
4068
4069 if test "$enableval" = yes; then
4070 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4071 else
4072 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4073 fi
4074
4075else
4076
4077 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4080 else
4081 no_cache=1
4082 fi
4083
4084 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4085
4086fi;
4087
4088 eval "$ac_cv_use_dataobj"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4091 fi
4092
4093 if test "$wxUSE_DATAOBJ" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095echo "${ECHO_T}yes" >&6
4096 else
4097 echo "$as_me:$LINENO: result: no" >&5
4098echo "${ECHO_T}no" >&6
4099 fi
4100
4101
4102
4103 enablestring=
4104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4105echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4106 no_cache=0
4107 # Check whether --enable-ipc or --disable-ipc was given.
4108if test "${enable_ipc+set}" = set; then
4109 enableval="$enable_ipc"
4110
4111 if test "$enableval" = yes; then
4112 ac_cv_use_ipc='wxUSE_IPC=yes'
4113 else
4114 ac_cv_use_ipc='wxUSE_IPC=no'
4115 fi
4116
4117else
4118
4119 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4122 else
4123 no_cache=1
4124 fi
4125
4126 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4127
4128fi;
4129
4130 eval "$ac_cv_use_ipc"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4133 fi
4134
4135 if test "$wxUSE_IPC" = yes; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137echo "${ECHO_T}yes" >&6
4138 else
4139 echo "$as_me:$LINENO: result: no" >&5
4140echo "${ECHO_T}no" >&6
4141 fi
4142
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4147echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-cmdline or --disable-cmdline was given.
4150if test "${enable_cmdline+set}" = set; then
4151 enableval="$enable_cmdline"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4155 else
4156 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4157 fi
4158
4159else
4160
4161 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4169
4170fi;
4171
4172 eval "$ac_cv_use_cmdline"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4188echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-datetime or --disable-datetime was given.
4191if test "${enable_datetime+set}" = set; then
4192 enableval="$enable_datetime"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4196 else
4197 ac_cv_use_datetime='wxUSE_DATETIME=no'
4198 fi
4199
4200else
4201
4202 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4210
4211fi;
4212
4213 eval "$ac_cv_use_datetime"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_DATETIME" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4229echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4232if test "${enable_stopwatch+set}" = set; then
4233 enableval="$enable_stopwatch"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4237 else
4238 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4239 fi
4240
4241else
4242
4243 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4251
4252fi;
4253
4254 eval "$ac_cv_use_stopwatch"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_STOPWATCH" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268 enablestring=
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4270echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4271 no_cache=0
4272 # Check whether --enable-dialupman or --disable-dialupman was given.
4273if test "${enable_dialupman+set}" = set; then
4274 enableval="$enable_dialupman"
4275
4276 if test "$enableval" = yes; then
4277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4278 else
4279 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4280 fi
4281
4282else
4283
4284 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4287 else
4288 no_cache=1
4289 fi
4290
4291 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4292
4293fi;
4294
4295 eval "$ac_cv_use_dialupman"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302echo "${ECHO_T}yes" >&6
4303 else
4304 echo "$as_me:$LINENO: result: no" >&5
4305echo "${ECHO_T}no" >&6
4306 fi
4307
4308
4309 enablestring=
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4311echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4312 no_cache=0
4313 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4314if test "${enable_apple_ieee+set}" = set; then
4315 enableval="$enable_apple_ieee"
4316
4317 if test "$enableval" = yes; then
4318 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4319 else
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4321 fi
4322
4323else
4324
4325 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x ; then
4327 eval "DEFAULT_$LINE"
4328 else
4329 no_cache=1
4330 fi
4331
4332 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4333
4334fi;
4335
4336 eval "$ac_cv_use_apple_ieee"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_APPLE_IEEE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343echo "${ECHO_T}yes" >&6
4344 else
4345 echo "$as_me:$LINENO: result: no" >&5
4346echo "${ECHO_T}no" >&6
4347 fi
4348
4349
4350 enablestring=
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4352echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4353 no_cache=0
4354 # Check whether --enable-timer or --disable-timer was given.
4355if test "${enable_timer+set}" = set; then
4356 enableval="$enable_timer"
4357
4358 if test "$enableval" = yes; then
4359 ac_cv_use_timer='wxUSE_TIMER=yes'
4360 else
4361 ac_cv_use_timer='wxUSE_TIMER=no'
4362 fi
4363
4364else
4365
4366 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 else
4370 no_cache=1
4371 fi
4372
4373 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4374
4375fi;
4376
4377 eval "$ac_cv_use_timer"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4380 fi
4381
4382 if test "$wxUSE_TIMER" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384echo "${ECHO_T}yes" >&6
4385 else
4386 echo "$as_me:$LINENO: result: no" >&5
4387echo "${ECHO_T}no" >&6
4388 fi
4389
4390
4391 enablestring=
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4393echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4394 no_cache=0
4395 # Check whether --enable-wave or --disable-wave was given.
4396if test "${enable_wave+set}" = set; then
4397 enableval="$enable_wave"
4398
4399 if test "$enableval" = yes; then
4400 ac_cv_use_wave='wxUSE_WAVE=yes'
4401 else
4402 ac_cv_use_wave='wxUSE_WAVE=no'
4403 fi
4404
4405else
4406
4407 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x ; then
4409 eval "DEFAULT_$LINE"
4410 else
4411 no_cache=1
4412 fi
4413
4414 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4415
4416fi;
4417
4418 eval "$ac_cv_use_wave"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_WAVE" = yes; then
4424 echo "$as_me:$LINENO: result: yes" >&5
4425echo "${ECHO_T}yes" >&6
4426 else
4427 echo "$as_me:$LINENO: result: no" >&5
4428echo "${ECHO_T}no" >&6
4429 fi
4430
4431
4432 enablestring=
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4434echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4435 no_cache=0
4436 # Check whether --enable-fraction or --disable-fraction was given.
4437if test "${enable_fraction+set}" = set; then
4438 enableval="$enable_fraction"
4439
4440 if test "$enableval" = yes; then
4441 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4442 else
4443 ac_cv_use_fraction='wxUSE_FRACTION=no'
4444 fi
4445
4446else
4447
4448 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x ; then
4450 eval "DEFAULT_$LINE"
4451 else
4452 no_cache=1
4453 fi
4454
4455 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4456
4457fi;
4458
4459 eval "$ac_cv_use_fraction"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4462 fi
4463
4464 if test "$wxUSE_FRACTION" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466echo "${ECHO_T}yes" >&6
4467 else
4468 echo "$as_me:$LINENO: result: no" >&5
4469echo "${ECHO_T}no" >&6
4470 fi
4471
4472
4473 enablestring=
4474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4475echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4476 no_cache=0
4477 # Check whether --enable-dynlib or --disable-dynlib was given.
4478if test "${enable_dynlib+set}" = set; then
4479 enableval="$enable_dynlib"
4480
4481 if test "$enableval" = yes; then
4482 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4483 else
4484 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4485 fi
4486
4487else
4488
4489 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4492 else
4493 no_cache=1
4494 fi
4495
4496 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4497
4498fi;
4499
4500 eval "$ac_cv_use_dynlib"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4503 fi
4504
4505 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4506 echo "$as_me:$LINENO: result: yes" >&5
4507echo "${ECHO_T}yes" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510echo "${ECHO_T}no" >&6
4511 fi
4512
4513
4514 enablestring=
4515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4516echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4517 no_cache=0
4518 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4519if test "${enable_dynamicloader+set}" = set; then
4520 enableval="$enable_dynamicloader"
4521
4522 if test "$enableval" = yes; then
4523 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4524 else
4525 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4526 fi
4527
4528else
4529
4530 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4533 else
4534 no_cache=1
4535 fi
4536
4537 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4538
4539fi;
4540
4541 eval "$ac_cv_use_dynamicloader"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4544 fi
4545
4546 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4547 echo "$as_me:$LINENO: result: yes" >&5
4548echo "${ECHO_T}yes" >&6
4549 else
4550 echo "$as_me:$LINENO: result: no" >&5
4551echo "${ECHO_T}no" >&6
4552 fi
4553
4554
4555 enablestring=
4556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4557echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4558 no_cache=0
4559 # Check whether --enable-longlong or --disable-longlong was given.
4560if test "${enable_longlong+set}" = set; then
4561 enableval="$enable_longlong"
4562
4563 if test "$enableval" = yes; then
4564 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4565 else
4566 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4567 fi
4568
4569else
4570
4571 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4574 else
4575 no_cache=1
4576 fi
4577
4578 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4579
4580fi;
4581
4582 eval "$ac_cv_use_longlong"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4585 fi
4586
4587 if test "$wxUSE_LONGLONG" = yes; then
4588 echo "$as_me:$LINENO: result: yes" >&5
4589echo "${ECHO_T}yes" >&6
4590 else
4591 echo "$as_me:$LINENO: result: no" >&5
4592echo "${ECHO_T}no" >&6
4593 fi
4594
4595
4596 enablestring=
4597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4598echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4599 no_cache=0
4600 # Check whether --enable-geometry or --disable-geometry was given.
4601if test "${enable_geometry+set}" = set; then
4602 enableval="$enable_geometry"
4603
4604 if test "$enableval" = yes; then
4605 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4606 else
4607 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4608 fi
4609
4610else
4611
4612 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4615 else
4616 no_cache=1
4617 fi
4618
4619 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4620
4621fi;
4622
4623 eval "$ac_cv_use_geometry"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4626 fi
4627
4628 if test "$wxUSE_GEOMETRY" = yes; then
4629 echo "$as_me:$LINENO: result: yes" >&5
4630echo "${ECHO_T}yes" >&6
4631 else
4632 echo "$as_me:$LINENO: result: no" >&5
4633echo "${ECHO_T}no" >&6
4634 fi
4635
4636
4637 enablestring=
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4639echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4640 no_cache=0
4641 # Check whether --enable-log or --disable-log was given.
4642if test "${enable_log+set}" = set; then
4643 enableval="$enable_log"
4644
4645 if test "$enableval" = yes; then
4646 ac_cv_use_log='wxUSE_LOG=yes'
4647 else
4648 ac_cv_use_log='wxUSE_LOG=no'
4649 fi
4650
4651else
4652
4653 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4661
4662fi;
4663
4664 eval "$ac_cv_use_log"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_LOG" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671echo "${ECHO_T}yes" >&6
4672 else
4673 echo "$as_me:$LINENO: result: no" >&5
4674echo "${ECHO_T}no" >&6
4675 fi
4676
4677
4678 enablestring=
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4680echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4681 no_cache=0
4682 # Check whether --enable-streams or --disable-streams was given.
4683if test "${enable_streams+set}" = set; then
4684 enableval="$enable_streams"
4685
4686 if test "$enableval" = yes; then
4687 ac_cv_use_streams='wxUSE_STREAMS=yes'
4688 else
4689 ac_cv_use_streams='wxUSE_STREAMS=no'
4690 fi
4691
4692else
4693
4694 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x ; then
4696 eval "DEFAULT_$LINE"
4697 else
4698 no_cache=1
4699 fi
4700
4701 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4702
4703fi;
4704
4705 eval "$ac_cv_use_streams"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4708 fi
4709
4710 if test "$wxUSE_STREAMS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712echo "${ECHO_T}yes" >&6
4713 else
4714 echo "$as_me:$LINENO: result: no" >&5
4715echo "${ECHO_T}no" >&6
4716 fi
4717
4718
4719 enablestring=
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4721echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4722 no_cache=0
4723 # Check whether --enable-file or --disable-file was given.
4724if test "${enable_file+set}" = set; then
4725 enableval="$enable_file"
4726
4727 if test "$enableval" = yes; then
4728 ac_cv_use_file='wxUSE_FILE=yes'
4729 else
4730 ac_cv_use_file='wxUSE_FILE=no'
4731 fi
4732
4733else
4734
4735 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x ; then
4737 eval "DEFAULT_$LINE"
4738 else
4739 no_cache=1
4740 fi
4741
4742 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4743
4744fi;
4745
4746 eval "$ac_cv_use_file"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4749 fi
4750
4751 if test "$wxUSE_FILE" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753echo "${ECHO_T}yes" >&6
4754 else
4755 echo "$as_me:$LINENO: result: no" >&5
4756echo "${ECHO_T}no" >&6
4757 fi
4758
4759
4760 enablestring=
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4762echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4763 no_cache=0
4764 # Check whether --enable-ffile or --disable-ffile was given.
4765if test "${enable_ffile+set}" = set; then
4766 enableval="$enable_ffile"
4767
4768 if test "$enableval" = yes; then
4769 ac_cv_use_ffile='wxUSE_FFILE=yes'
4770 else
4771 ac_cv_use_ffile='wxUSE_FFILE=no'
4772 fi
4773
4774else
4775
4776 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4779 else
4780 no_cache=1
4781 fi
4782
4783 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4784
4785fi;
4786
4787 eval "$ac_cv_use_ffile"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4790 fi
4791
4792 if test "$wxUSE_FFILE" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794echo "${ECHO_T}yes" >&6
4795 else
4796 echo "$as_me:$LINENO: result: no" >&5
4797echo "${ECHO_T}no" >&6
4798 fi
4799
4800
4801 enablestring=
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4803echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4804 no_cache=0
4805 # Check whether --enable-textbuf or --disable-textbuf was given.
4806if test "${enable_textbuf+set}" = set; then
4807 enableval="$enable_textbuf"
4808
4809 if test "$enableval" = yes; then
4810 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4811 else
4812 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4813 fi
4814
4815else
4816
4817 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x ; then
4819 eval "DEFAULT_$LINE"
4820 else
4821 no_cache=1
4822 fi
4823
4824 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4825
4826fi;
4827
4828 eval "$ac_cv_use_textbuf"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test "$wxUSE_TEXTBUFFER" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835echo "${ECHO_T}yes" >&6
4836 else
4837 echo "$as_me:$LINENO: result: no" >&5
4838echo "${ECHO_T}no" >&6
4839 fi
4840
4841
4842 enablestring=
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4844echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4845 no_cache=0
4846 # Check whether --enable-textfile or --disable-textfile was given.
4847if test "${enable_textfile+set}" = set; then
4848 enableval="$enable_textfile"
4849
4850 if test "$enableval" = yes; then
4851 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4852 else
4853 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4854 fi
4855
4856else
4857
4858 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 else
4862 no_cache=1
4863 fi
4864
4865 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4866
4867fi;
4868
4869 eval "$ac_cv_use_textfile"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test "$wxUSE_TEXTFILE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876echo "${ECHO_T}yes" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879echo "${ECHO_T}no" >&6
4880 fi
4881
4882
4883 enablestring=
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4885echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4886 no_cache=0
4887 # Check whether --enable-fontmap or --disable-fontmap was given.
4888if test "${enable_fontmap+set}" = set; then
4889 enableval="$enable_fontmap"
4890
4891 if test "$enableval" = yes; then
4892 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4893 else
4894 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4895 fi
4896
4897else
4898
4899 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x ; then
4901 eval "DEFAULT_$LINE"
4902 else
4903 no_cache=1
4904 fi
4905
4906 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4907
4908fi;
4909
4910 eval "$ac_cv_use_fontmap"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4913 fi
4914
4915 if test "$wxUSE_FONTMAP" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917echo "${ECHO_T}yes" >&6
4918 else
4919 echo "$as_me:$LINENO: result: no" >&5
4920echo "${ECHO_T}no" >&6
4921 fi
4922
4923
4924 enablestring=
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4926echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4927 no_cache=0
4928 # Check whether --enable-unicode or --disable-unicode was given.
4929if test "${enable_unicode+set}" = set; then
4930 enableval="$enable_unicode"
4931
4932 if test "$enableval" = yes; then
4933 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4934 else
4935 ac_cv_use_unicode='wxUSE_UNICODE=no'
4936 fi
4937
4938else
4939
4940 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x ; then
4942 eval "DEFAULT_$LINE"
4943 else
4944 no_cache=1
4945 fi
4946
4947 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4948
4949fi;
4950
4951 eval "$ac_cv_use_unicode"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test "$wxUSE_UNICODE" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958echo "${ECHO_T}yes" >&6
4959 else
4960 echo "$as_me:$LINENO: result: no" >&5
4961echo "${ECHO_T}no" >&6
4962 fi
4963
4964
4965 enablestring=
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4967echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4968 no_cache=0
4969 # Check whether --enable-mslu or --disable-mslu was given.
4970if test "${enable_mslu+set}" = set; then
4971 enableval="$enable_mslu"
4972
4973 if test "$enableval" = yes; then
4974 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4975 else
4976 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4977 fi
4978
4979else
4980
4981 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x ; then
4983 eval "DEFAULT_$LINE"
4984 else
4985 no_cache=1
4986 fi
4987
4988 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4989
4990fi;
4991
4992 eval "$ac_cv_use_mslu"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4995 fi
4996
4997 if test "$wxUSE_UNICODE_MSLU" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999echo "${ECHO_T}yes" >&6
5000 else
5001 echo "$as_me:$LINENO: result: no" >&5
5002echo "${ECHO_T}no" >&6
5003 fi
5004
5005
5006 enablestring=
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5008echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5009 no_cache=0
5010 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5011if test "${enable_wxprintfv+set}" = set; then
5012 enableval="$enable_wxprintfv"
5013
5014 if test "$enableval" = yes; then
5015 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5016 else
5017 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5018 fi
5019
5020else
5021
5022 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x ; then
5024 eval "DEFAULT_$LINE"
5025 else
5026 no_cache=1
5027 fi
5028
5029 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5030
5031fi;
5032
5033 eval "$ac_cv_use_wxprintfv"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5036 fi
5037
5038 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040echo "${ECHO_T}yes" >&6
5041 else
5042 echo "$as_me:$LINENO: result: no" >&5
5043echo "${ECHO_T}no" >&6
5044 fi
5045
5046
5047 enablestring=
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5049echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5050 no_cache=0
5051 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5052if test "${enable_std_iostreams+set}" = set; then
5053 enableval="$enable_std_iostreams"
5054
5055 if test "$enableval" = yes; then
5056 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5057 else
5058 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5059 fi
5060
5061else
5062
5063 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x ; then
5065 eval "DEFAULT_$LINE"
5066 else
5067 no_cache=1
5068 fi
5069
5070 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5071
5072fi;
5073
5074 eval "$ac_cv_use_std_iostreams"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5077 fi
5078
5079 if test "$wxUSE_STD_IOSTREAM" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081echo "${ECHO_T}yes" >&6
5082 else
5083 echo "$as_me:$LINENO: result: no" >&5
5084echo "${ECHO_T}no" >&6
5085 fi
5086
5087
5088 enablestring=
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5090echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5091 no_cache=0
5092 # Check whether --enable-filesystem or --disable-filesystem was given.
5093if test "${enable_filesystem+set}" = set; then
5094 enableval="$enable_filesystem"
5095
5096 if test "$enableval" = yes; then
5097 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5098 else
5099 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5100 fi
5101
5102else
5103
5104 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5107 else
5108 no_cache=1
5109 fi
5110
5111 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5112
5113fi;
5114
5115 eval "$ac_cv_use_filesystem"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_FILESYSTEM" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122echo "${ECHO_T}yes" >&6
5123 else
5124 echo "$as_me:$LINENO: result: no" >&5
5125echo "${ECHO_T}no" >&6
5126 fi
5127
5128
5129 enablestring=
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5131echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5132 no_cache=0
5133 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5134if test "${enable_fs_inet+set}" = set; then
5135 enableval="$enable_fs_inet"
5136
5137 if test "$enableval" = yes; then
5138 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5139 else
5140 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5141 fi
5142
5143else
5144
5145 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5148 else
5149 no_cache=1
5150 fi
5151
5152 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5153
5154fi;
5155
5156 eval "$ac_cv_use_fs_inet"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_FS_INET" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163echo "${ECHO_T}yes" >&6
5164 else
5165 echo "$as_me:$LINENO: result: no" >&5
5166echo "${ECHO_T}no" >&6
5167 fi
5168
5169
5170 enablestring=
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5172echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5173 no_cache=0
5174 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5175if test "${enable_fs_zip+set}" = set; then
5176 enableval="$enable_fs_zip"
5177
5178 if test "$enableval" = yes; then
5179 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5180 else
5181 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5182 fi
5183
5184else
5185
5186 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5189 else
5190 no_cache=1
5191 fi
5192
5193 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5194
5195fi;
5196
5197 eval "$ac_cv_use_fs_zip"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5200 fi
5201
5202 if test "$wxUSE_FS_ZIP" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204echo "${ECHO_T}yes" >&6
5205 else
5206 echo "$as_me:$LINENO: result: no" >&5
5207echo "${ECHO_T}no" >&6
5208 fi
5209
5210
5211 enablestring=
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5213echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5214 no_cache=0
5215 # Check whether --enable-zipstream or --disable-zipstream was given.
5216if test "${enable_zipstream+set}" = set; then
5217 enableval="$enable_zipstream"
5218
5219 if test "$enableval" = yes; then
5220 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5221 else
5222 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5223 fi
5224
5225else
5226
5227 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5230 else
5231 no_cache=1
5232 fi
5233
5234 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5235
5236fi;
5237
5238 eval "$ac_cv_use_zipstream"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5241 fi
5242
5243 if test "$wxUSE_ZIPSTREAM" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245echo "${ECHO_T}yes" >&6
5246 else
5247 echo "$as_me:$LINENO: result: no" >&5
5248echo "${ECHO_T}no" >&6
5249 fi
5250
5251
5252
5253 enablestring=
5254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5255echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5256 no_cache=0
5257 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5258if test "${enable_catch_segvs+set}" = set; then
5259 enableval="$enable_catch_segvs"
5260
5261 if test "$enableval" = yes; then
5262 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5263 else
5264 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5265 fi
5266
5267else
5268
5269 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x ; then
5271 eval "DEFAULT_$LINE"
5272 else
5273 no_cache=1
5274 fi
5275
5276 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5277
5278fi;
5279
5280 eval "$ac_cv_use_catch_segvs"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5283 fi
5284
5285 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5286 echo "$as_me:$LINENO: result: yes" >&5
5287echo "${ECHO_T}yes" >&6
5288 else
5289 echo "$as_me:$LINENO: result: no" >&5
5290echo "${ECHO_T}no" >&6
5291 fi
5292
5293
5294 enablestring=
5295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5296echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5297 no_cache=0
5298 # Check whether --enable-snglinst or --disable-snglinst was given.
5299if test "${enable_snglinst+set}" = set; then
5300 enableval="$enable_snglinst"
5301
5302 if test "$enableval" = yes; then
5303 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5304 else
5305 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5306 fi
5307
5308else
5309
5310 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 else
5314 no_cache=1
5315 fi
5316
5317 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5318
5319fi;
5320
5321 eval "$ac_cv_use_snglinst"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5324 fi
5325
5326 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5327 echo "$as_me:$LINENO: result: yes" >&5
5328echo "${ECHO_T}yes" >&6
5329 else
5330 echo "$as_me:$LINENO: result: no" >&5
5331echo "${ECHO_T}no" >&6
5332 fi
5333
5334
5335
5336 enablestring=
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5338echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5339 no_cache=0
5340 # Check whether --enable-mimetype or --disable-mimetype was given.
5341if test "${enable_mimetype+set}" = set; then
5342 enableval="$enable_mimetype"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5346 else
5347 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5348 fi
5349
5350else
5351
5352 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5360
5361fi;
5362
5363 eval "$ac_cv_use_mimetype"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_MIMETYPE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370echo "${ECHO_T}yes" >&6
5371 else
5372 echo "$as_me:$LINENO: result: no" >&5
5373echo "${ECHO_T}no" >&6
5374 fi
5375
5376
5377 enablestring=
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5379echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5380 no_cache=0
5381 # Check whether --enable-system_options or --disable-system_options was given.
5382if test "${enable_system_options+set}" = set; then
5383 enableval="$enable_system_options"
5384
5385 if test "$enableval" = yes; then
5386 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5387 else
5388 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5389 fi
5390
5391else
5392
5393 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 else
5397 no_cache=1
5398 fi
5399
5400 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5401
5402fi;
5403
5404 eval "$ac_cv_use_system_options"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411echo "${ECHO_T}yes" >&6
5412 else
5413 echo "$as_me:$LINENO: result: no" >&5
5414echo "${ECHO_T}no" >&6
5415 fi
5416
5417
5418
5419 enablestring=
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5421echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5422 no_cache=0
5423 # Check whether --enable-url or --disable-url was given.
5424if test "${enable_url+set}" = set; then
5425 enableval="$enable_url"
5426
5427 if test "$enableval" = yes; then
5428 ac_cv_use_url='wxUSE_URL=yes'
5429 else
5430 ac_cv_use_url='wxUSE_URL=no'
5431 fi
5432
5433else
5434
5435 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x ; then
5437 eval "DEFAULT_$LINE"
5438 else
5439 no_cache=1
5440 fi
5441
5442 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5443
5444fi;
5445
5446 eval "$ac_cv_use_url"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test "$wxUSE_URL" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453echo "${ECHO_T}yes" >&6
5454 else
5455 echo "$as_me:$LINENO: result: no" >&5
5456echo "${ECHO_T}no" >&6
5457 fi
5458
5459
5460 enablestring=
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5462echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5463 no_cache=0
5464 # Check whether --enable-protocol or --disable-protocol was given.
5465if test "${enable_protocol+set}" = set; then
5466 enableval="$enable_protocol"
5467
5468 if test "$enableval" = yes; then
5469 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5470 else
5471 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5472 fi
5473
5474else
5475
5476 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5479 else
5480 no_cache=1
5481 fi
5482
5483 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5484
5485fi;
5486
5487 eval "$ac_cv_use_protocol"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_PROTOCOL" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494echo "${ECHO_T}yes" >&6
5495 else
5496 echo "$as_me:$LINENO: result: no" >&5
5497echo "${ECHO_T}no" >&6
5498 fi
5499
5500
5501 enablestring=
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5503echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5504 no_cache=0
5505 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5506if test "${enable_protocol_http+set}" = set; then
5507 enableval="$enable_protocol_http"
5508
5509 if test "$enableval" = yes; then
5510 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5511 else
5512 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5513 fi
5514
5515else
5516
5517 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x ; then
5519 eval "DEFAULT_$LINE"
5520 else
5521 no_cache=1
5522 fi
5523
5524 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5525
5526fi;
5527
5528 eval "$ac_cv_use_protocol_http"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5531 fi
5532
5533 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535echo "${ECHO_T}yes" >&6
5536 else
5537 echo "$as_me:$LINENO: result: no" >&5
5538echo "${ECHO_T}no" >&6
5539 fi
5540
5541
5542 enablestring=
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5544echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5545 no_cache=0
5546 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5547if test "${enable_protocol_ftp+set}" = set; then
5548 enableval="$enable_protocol_ftp"
5549
5550 if test "$enableval" = yes; then
5551 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5552 else
5553 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5554 fi
5555
5556else
5557
5558 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5561 else
5562 no_cache=1
5563 fi
5564
5565 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5566
5567fi;
5568
5569 eval "$ac_cv_use_protocol_ftp"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5572 fi
5573
5574 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576echo "${ECHO_T}yes" >&6
5577 else
5578 echo "$as_me:$LINENO: result: no" >&5
5579echo "${ECHO_T}no" >&6
5580 fi
5581
5582
5583 enablestring=
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5585echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5586 no_cache=0
5587 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5588if test "${enable_protocol_file+set}" = set; then
5589 enableval="$enable_protocol_file"
5590
5591 if test "$enableval" = yes; then
5592 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5593 else
5594 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5595 fi
5596
5597else
5598
5599 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x ; then
5601 eval "DEFAULT_$LINE"
5602 else
5603 no_cache=1
5604 fi
5605
5606 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5607
5608fi;
5609
5610 eval "$ac_cv_use_protocol_file"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617echo "${ECHO_T}yes" >&6
5618 else
5619 echo "$as_me:$LINENO: result: no" >&5
5620echo "${ECHO_T}no" >&6
5621 fi
5622
5623
5624
5625
5626
5627 enablestring=
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5629echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5630 no_cache=0
5631 # Check whether --enable-threads or --disable-threads was given.
5632if test "${enable_threads+set}" = set; then
5633 enableval="$enable_threads"
5634
5635 if test "$enableval" = yes; then
5636 ac_cv_use_threads='wxUSE_THREADS=yes'
5637 else
5638 ac_cv_use_threads='wxUSE_THREADS=no'
5639 fi
5640
5641else
5642
5643 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x ; then
5645 eval "DEFAULT_$LINE"
5646 else
5647 no_cache=1
5648 fi
5649
5650 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5651
5652fi;
5653
5654 eval "$ac_cv_use_threads"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test "$wxUSE_THREADS" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661echo "${ECHO_T}yes" >&6
5662 else
5663 echo "$as_me:$LINENO: result: no" >&5
5664echo "${ECHO_T}no" >&6
5665 fi
5666
5667
5668if test "$wxUSE_GUI" = "yes"; then
5669
5670
5671
5672 enablestring=
5673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5674echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5675 no_cache=0
5676 # Check whether --enable-docview or --disable-docview was given.
5677if test "${enable_docview+set}" = set; then
5678 enableval="$enable_docview"
5679
5680 if test "$enableval" = yes; then
5681 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5682 else
5683 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5684 fi
5685
5686else
5687
5688 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x ; then
5690 eval "DEFAULT_$LINE"
5691 else
5692 no_cache=1
5693 fi
5694
5695 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5696
5697fi;
5698
5699 eval "$ac_cv_use_docview"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5702 fi
5703
5704 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5705 echo "$as_me:$LINENO: result: yes" >&5
5706echo "${ECHO_T}yes" >&6
5707 else
5708 echo "$as_me:$LINENO: result: no" >&5
5709echo "${ECHO_T}no" >&6
5710 fi
5711
5712
5713 enablestring=
5714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5715echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5716 no_cache=0
5717 # Check whether --enable-help or --disable-help was given.
5718if test "${enable_help+set}" = set; then
5719 enableval="$enable_help"
5720
5721 if test "$enableval" = yes; then
5722 ac_cv_use_help='wxUSE_HELP=yes'
5723 else
5724 ac_cv_use_help='wxUSE_HELP=no'
5725 fi
5726
5727else
5728
5729 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x ; then
5731 eval "DEFAULT_$LINE"
5732 else
5733 no_cache=1
5734 fi
5735
5736 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5737
5738fi;
5739
5740 eval "$ac_cv_use_help"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5743 fi
5744
5745 if test "$wxUSE_HELP" = yes; then
5746 echo "$as_me:$LINENO: result: yes" >&5
5747echo "${ECHO_T}yes" >&6
5748 else
5749 echo "$as_me:$LINENO: result: no" >&5
5750echo "${ECHO_T}no" >&6
5751 fi
5752
5753
5754 enablestring=
5755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5756echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5757 no_cache=0
5758 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5759if test "${enable_mshtmlhelp+set}" = set; then
5760 enableval="$enable_mshtmlhelp"
5761
5762 if test "$enableval" = yes; then
5763 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5764 else
5765 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5766 fi
5767
5768else
5769
5770 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x ; then
5772 eval "DEFAULT_$LINE"
5773 else
5774 no_cache=1
5775 fi
5776
5777 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5778
5779fi;
5780
5781 eval "$ac_cv_use_mshtmlhelp"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5784 fi
5785
5786 if test "$wxUSE_MS_HTML_HELP" = yes; then
5787 echo "$as_me:$LINENO: result: yes" >&5
5788echo "${ECHO_T}yes" >&6
5789 else
5790 echo "$as_me:$LINENO: result: no" >&5
5791echo "${ECHO_T}no" >&6
5792 fi
5793
5794
5795 enablestring=
5796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5797echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5798 no_cache=0
5799 # Check whether --enable-html or --disable-html was given.
5800if test "${enable_html+set}" = set; then
5801 enableval="$enable_html"
5802
5803 if test "$enableval" = yes; then
5804 ac_cv_use_html='wxUSE_HTML=yes'
5805 else
5806 ac_cv_use_html='wxUSE_HTML=no'
5807 fi
5808
5809else
5810
5811 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x ; then
5813 eval "DEFAULT_$LINE"
5814 else
5815 no_cache=1
5816 fi
5817
5818 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5819
5820fi;
5821
5822 eval "$ac_cv_use_html"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5825 fi
5826
5827 if test "$wxUSE_HTML" = yes; then
5828 echo "$as_me:$LINENO: result: yes" >&5
5829echo "${ECHO_T}yes" >&6
5830 else
5831 echo "$as_me:$LINENO: result: no" >&5
5832echo "${ECHO_T}no" >&6
5833 fi
5834
5835
5836 enablestring=
5837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5838echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5839 no_cache=0
5840 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5841if test "${enable_htmlhelp+set}" = set; then
5842 enableval="$enable_htmlhelp"
5843
5844 if test "$enableval" = yes; then
5845 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5846 else
5847 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5848 fi
5849
5850else
5851
5852 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x ; then
5854 eval "DEFAULT_$LINE"
5855 else
5856 no_cache=1
5857 fi
5858
5859 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5860
5861fi;
5862
5863 eval "$ac_cv_use_htmlhelp"
5864 if test "$no_cache" != 1; then
5865 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5866 fi
5867
5868 if test "$wxUSE_WXHTML_HELP" = yes; then
5869 echo "$as_me:$LINENO: result: yes" >&5
5870echo "${ECHO_T}yes" >&6
5871 else
5872 echo "$as_me:$LINENO: result: no" >&5
5873echo "${ECHO_T}no" >&6
5874 fi
5875
5876
5877 enablestring=
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5879echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5880 no_cache=0
5881 # Check whether --enable-constraints or --disable-constraints was given.
5882if test "${enable_constraints+set}" = set; then
5883 enableval="$enable_constraints"
5884
5885 if test "$enableval" = yes; then
5886 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5887 else
5888 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5889 fi
5890
5891else
5892
5893 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5896 else
5897 no_cache=1
5898 fi
5899
5900 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5901
5902fi;
5903
5904 eval "$ac_cv_use_constraints"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test "$wxUSE_CONSTRAINTS" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911echo "${ECHO_T}yes" >&6
5912 else
5913 echo "$as_me:$LINENO: result: no" >&5
5914echo "${ECHO_T}no" >&6
5915 fi
5916
5917
5918 enablestring=
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5920echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5921 no_cache=0
5922 # Check whether --enable-printarch or --disable-printarch was given.
5923if test "${enable_printarch+set}" = set; then
5924 enableval="$enable_printarch"
5925
5926 if test "$enableval" = yes; then
5927 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5928 else
5929 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5930 fi
5931
5932else
5933
5934 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5942
5943fi;
5944
5945 eval "$ac_cv_use_printarch"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5948 fi
5949
5950 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952echo "${ECHO_T}yes" >&6
5953 else
5954 echo "$as_me:$LINENO: result: no" >&5
5955echo "${ECHO_T}no" >&6
5956 fi
5957
5958
5959 enablestring=
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5961echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5962 no_cache=0
5963 # Check whether --enable-mdi or --disable-mdi was given.
5964if test "${enable_mdi+set}" = set; then
5965 enableval="$enable_mdi"
5966
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5969 else
5970 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5971 fi
5972
5973else
5974
5975 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5978 else
5979 no_cache=1
5980 fi
5981
5982 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5983
5984fi;
5985
5986 eval "$ac_cv_use_mdi"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5989 fi
5990
5991 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993echo "${ECHO_T}yes" >&6
5994 else
5995 echo "$as_me:$LINENO: result: no" >&5
5996echo "${ECHO_T}no" >&6
5997 fi
5998
5999
6000 enablestring=
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6002echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6003 no_cache=0
6004 # Check whether --enable-loggui or --disable-loggui was given.
6005if test "${enable_loggui+set}" = set; then
6006 enableval="$enable_loggui"
6007
6008 if test "$enableval" = yes; then
6009 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6010 else
6011 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6012 fi
6013
6014else
6015
6016 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6024
6025fi;
6026
6027 eval "$ac_cv_use_loggui"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6030 fi
6031
6032 if test "$wxUSE_LOGGUI" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034echo "${ECHO_T}yes" >&6
6035 else
6036 echo "$as_me:$LINENO: result: no" >&5
6037echo "${ECHO_T}no" >&6
6038 fi
6039
6040
6041 enablestring=
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6043echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6044 no_cache=0
6045 # Check whether --enable-logwin or --disable-logwin was given.
6046if test "${enable_logwin+set}" = set; then
6047 enableval="$enable_logwin"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6051 else
6052 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6053 fi
6054
6055else
6056
6057 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6065
6066fi;
6067
6068 eval "$ac_cv_use_logwin"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_LOGWINDOW" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075echo "${ECHO_T}yes" >&6
6076 else
6077 echo "$as_me:$LINENO: result: no" >&5
6078echo "${ECHO_T}no" >&6
6079 fi
6080
6081
6082 enablestring=
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6084echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6085 no_cache=0
6086 # Check whether --enable-logdialog or --disable-logdialog was given.
6087if test "${enable_logdialog+set}" = set; then
6088 enableval="$enable_logdialog"
6089
6090 if test "$enableval" = yes; then
6091 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6092 else
6093 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6094 fi
6095
6096else
6097
6098 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6101 else
6102 no_cache=1
6103 fi
6104
6105 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6106
6107fi;
6108
6109 eval "$ac_cv_use_logdialog"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6112 fi
6113
6114 if test "$wxUSE_LOGDIALOG" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116echo "${ECHO_T}yes" >&6
6117 else
6118 echo "$as_me:$LINENO: result: no" >&5
6119echo "${ECHO_T}no" >&6
6120 fi
6121
6122
6123
6124 enablestring=
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6126echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6127 no_cache=0
6128 # Check whether --enable-postscript or --disable-postscript was given.
6129if test "${enable_postscript+set}" = set; then
6130 enableval="$enable_postscript"
6131
6132 if test "$enableval" = yes; then
6133 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6134 else
6135 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6136 fi
6137
6138else
6139
6140 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x ; then
6142 eval "DEFAULT_$LINE"
6143 else
6144 no_cache=1
6145 fi
6146
6147 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6148
6149fi;
6150
6151 eval "$ac_cv_use_postscript"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6154 fi
6155
6156 if test "$wxUSE_POSTSCRIPT" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158echo "${ECHO_T}yes" >&6
6159 else
6160 echo "$as_me:$LINENO: result: no" >&5
6161echo "${ECHO_T}no" >&6
6162 fi
6163
6164
6165
6166
6167
6168 enablestring=
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6170echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6171 no_cache=0
6172 # Check whether --enable-prologio or --disable-prologio was given.
6173if test "${enable_prologio+set}" = set; then
6174 enableval="$enable_prologio"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6178 else
6179 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6180 fi
6181
6182else
6183
6184 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x ; then
6186 eval "DEFAULT_$LINE"
6187 else
6188 no_cache=1
6189 fi
6190
6191 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6192
6193fi;
6194
6195 eval "$ac_cv_use_prologio"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_PROLOGIO" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202echo "${ECHO_T}yes" >&6
6203 else
6204 echo "$as_me:$LINENO: result: no" >&5
6205echo "${ECHO_T}no" >&6
6206 fi
6207
6208
6209 enablestring=
6210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6211echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6212 no_cache=0
6213 # Check whether --enable-resources or --disable-resources was given.
6214if test "${enable_resources+set}" = set; then
6215 enableval="$enable_resources"
6216
6217 if test "$enableval" = yes; then
6218 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6219 else
6220 ac_cv_use_resources='wxUSE_RESOURCES=no'
6221 fi
6222
6223else
6224
6225 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x ; then
6227 eval "DEFAULT_$LINE"
6228 else
6229 no_cache=1
6230 fi
6231
6232 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6233
6234fi;
6235
6236 eval "$ac_cv_use_resources"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test "$wxUSE_RESOURCES" = yes; then
6242 echo "$as_me:$LINENO: result: yes" >&5
6243echo "${ECHO_T}yes" >&6
6244 else
6245 echo "$as_me:$LINENO: result: no" >&5
6246echo "${ECHO_T}no" >&6
6247 fi
6248
6249
6250
6251
6252 enablestring=
6253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6254echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6255 no_cache=0
6256 # Check whether --enable-clipboard or --disable-clipboard was given.
6257if test "${enable_clipboard+set}" = set; then
6258 enableval="$enable_clipboard"
6259
6260 if test "$enableval" = yes; then
6261 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6262 else
6263 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6264 fi
6265
6266else
6267
6268 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x ; then
6270 eval "DEFAULT_$LINE"
6271 else
6272 no_cache=1
6273 fi
6274
6275 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6276
6277fi;
6278
6279 eval "$ac_cv_use_clipboard"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6282 fi
6283
6284 if test "$wxUSE_CLIPBOARD" = yes; then
6285 echo "$as_me:$LINENO: result: yes" >&5
6286echo "${ECHO_T}yes" >&6
6287 else
6288 echo "$as_me:$LINENO: result: no" >&5
6289echo "${ECHO_T}no" >&6
6290 fi
6291
6292
6293 enablestring=
6294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6295echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6296 no_cache=0
6297 # Check whether --enable-dnd or --disable-dnd was given.
6298if test "${enable_dnd+set}" = set; then
6299 enableval="$enable_dnd"
6300
6301 if test "$enableval" = yes; then
6302 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6303 else
6304 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6305 fi
6306
6307else
6308
6309 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x ; then
6311 eval "DEFAULT_$LINE"
6312 else
6313 no_cache=1
6314 fi
6315
6316 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6317
6318fi;
6319
6320 eval "$ac_cv_use_dnd"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6323 fi
6324
6325 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6326 echo "$as_me:$LINENO: result: yes" >&5
6327echo "${ECHO_T}yes" >&6
6328 else
6329 echo "$as_me:$LINENO: result: no" >&5
6330echo "${ECHO_T}no" >&6
6331 fi
6332
6333
6334 enablestring=
6335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6336echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6337 no_cache=0
6338 # Check whether --enable-metafile or --disable-metafile was given.
6339if test "${enable_metafile+set}" = set; then
6340 enableval="$enable_metafile"
6341
6342 if test "$enableval" = yes; then
6343 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6344 else
6345 ac_cv_use_metafile='wxUSE_METAFILE=no'
6346 fi
6347
6348else
6349
6350 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x ; then
6352 eval "DEFAULT_$LINE"
6353 else
6354 no_cache=1
6355 fi
6356
6357 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6358
6359fi;
6360
6361 eval "$ac_cv_use_metafile"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test "$wxUSE_METAFILE" = yes; then
6367 echo "$as_me:$LINENO: result: yes" >&5
6368echo "${ECHO_T}yes" >&6
6369 else
6370 echo "$as_me:$LINENO: result: no" >&5
6371echo "${ECHO_T}no" >&6
6372 fi
6373
6374
6375
6376
6377
6378 enablestring=
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6380echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6381 no_cache=0
6382 # Check whether --enable-controls or --disable-controls was given.
6383if test "${enable_controls+set}" = set; then
6384 enableval="$enable_controls"
6385
6386 if test "$enableval" = yes; then
6387 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6388 else
6389 ac_cv_use_controls='wxUSE_CONTROLS=no'
6390 fi
6391
6392else
6393
6394 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6397 else
6398 no_cache=1
6399 fi
6400
6401 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6402
6403fi;
6404
6405 eval "$ac_cv_use_controls"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6408 fi
6409
6410 if test "$wxUSE_CONTROLS" = yes; then
6411 echo "$as_me:$LINENO: result: yes" >&5
6412echo "${ECHO_T}yes" >&6
6413 else
6414 echo "$as_me:$LINENO: result: no" >&5
6415echo "${ECHO_T}no" >&6
6416 fi
6417
6418
6419if test "$wxUSE_CONTROLS" = "yes"; then
6420 DEFAULT_wxUSE_ACCEL=yes
6421 DEFAULT_wxUSE_BMPBUTTON=yes
6422 DEFAULT_wxUSE_BUTTON=yes
6423 DEFAULT_wxUSE_CALCTRL=no
6424 DEFAULT_wxUSE_CARET=yes
6425 DEFAULT_wxUSE_COMBOBOX=yes
6426 DEFAULT_wxUSE_CHECKBOX=yes
6427 DEFAULT_wxUSE_CHECKLISTBOX=yes
6428 DEFAULT_wxUSE_CHOICE=yes
6429 DEFAULT_wxUSE_GAUGE=yes
6430 DEFAULT_wxUSE_GRID=yes
6431 DEFAULT_wxUSE_IMAGLIST=yes
6432 DEFAULT_wxUSE_LISTBOX=yes
6433 DEFAULT_wxUSE_LISTCTRL=yes
6434 DEFAULT_wxUSE_NOTEBOOK=yes
6435 DEFAULT_wxUSE_RADIOBOX=yes
6436 DEFAULT_wxUSE_RADIOBTN=yes
6437 DEFAULT_wxUSE_SASH=yes
6438 DEFAULT_wxUSE_SCROLLBAR=yes
6439 DEFAULT_wxUSE_SLIDER=yes
6440 DEFAULT_wxUSE_SPINBTN=yes
6441 DEFAULT_wxUSE_SPINCTRL=yes
6442 DEFAULT_wxUSE_SPLITTER=yes
6443 DEFAULT_wxUSE_STATBMP=yes
6444 DEFAULT_wxUSE_STATBOX=yes
6445 DEFAULT_wxUSE_STATLINE=yes
6446 DEFAULT_wxUSE_STATUSBAR=yes
6447 DEFAULT_wxUSE_TAB_DIALOG=yes
6448 DEFAULT_wxUSE_TOGGLEBTN=yes
6449 DEFAULT_wxUSE_TOOLBAR=yes
6450 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6451 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6452 DEFAULT_wxUSE_TOOLTIPS=yes
6453 DEFAULT_wxUSE_TREECTRL=yes
6454 DEFAULT_wxUSE_POPUPWIN=yes
6455 DEFAULT_wxUSE_TIPWINDOW=yes
6456elif test "$wxUSE_CONTROLS" = "no"; then
6457 DEFAULT_wxUSE_ACCEL=no
6458 DEFAULT_wxUSE_BMPBUTTON=no
6459 DEFAULT_wxUSE_BUTTON=no
6460 DEFAULT_wxUSE_CALCTRL=no
6461 DEFAULT_wxUSE_CARET=no
6462 DEFAULT_wxUSE_COMBOBOX=no
6463 DEFAULT_wxUSE_CHECKBOX=no
6464 DEFAULT_wxUSE_CHECKLISTBOX=no
6465 DEFAULT_wxUSE_CHOICE=no
6466 DEFAULT_wxUSE_GAUGE=no
6467 DEFAULT_wxUSE_GRID=no
6468 DEFAULT_wxUSE_IMAGLIST=no
6469 DEFAULT_wxUSE_LISTBOX=no
6470 DEFAULT_wxUSE_LISTCTRL=no
6471 DEFAULT_wxUSE_NOTEBOOK=no
6472 DEFAULT_wxUSE_RADIOBOX=no
6473 DEFAULT_wxUSE_RADIOBTN=no
6474 DEFAULT_wxUSE_SASH=no
6475 DEFAULT_wxUSE_SCROLLBAR=no
6476 DEFAULT_wxUSE_SLIDER=no
6477 DEFAULT_wxUSE_SPINBTN=no
6478 DEFAULT_wxUSE_SPINCTRL=no
6479 DEFAULT_wxUSE_SPLITTER=no
6480 DEFAULT_wxUSE_STATBMP=no
6481 DEFAULT_wxUSE_STATBOX=no
6482 DEFAULT_wxUSE_STATLINE=no
6483 DEFAULT_wxUSE_STATUSBAR=no
6484 DEFAULT_wxUSE_TAB_DIALOG=no
6485 DEFAULT_wxUSE_TOGGLEBTN=no
6486 DEFAULT_wxUSE_TOOLBAR=no
6487 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6488 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6489 DEFAULT_wxUSE_TOOLTIPS=no
6490 DEFAULT_wxUSE_TREECTRL=no
6491 DEFAULT_wxUSE_POPUPWIN=no
6492 DEFAULT_wxUSE_TIPWINDOW=no
6493fi
6494
6495## FIXME: This is a blatant hack
6496if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6497 wxUSE_PRINTING_ARCHITECTURE=no
6498 wxUSE_HELP=no
6499 wxUSE_CLIPBOARD=no
6500 wxUSE_DRAG_AND_DROP=no
6501 wxUSE_DATAOBJ=no
6502 # Generic notebook requires tab dialog
6503 DEFAULT_wxUSE_TABDIALOG=yes
6504 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6505 DEFAULT_wxUSE_GAUGE=no
6506 DEFAULT_wxUSE_SCROLLBAR=no
6507 DEFAULT_wxUSE_COMBOBOX=no
6508 DEFAULT_wxUSE_CALCTRL=no
6509 DEFAULT_wxUSE_SPINBTN=no
6510 DEFAULT_wxUSE_SPINCTRL=no
6511 DEFAULT_wxUSE_TOOLTIPS=no
6512 DEFAULT_wxUSE_DRAGIMAGE=no
6513 DEFAULT_wxUSE_FINDREPLDLG=no
6514 DEFAULT_wxUSE_FONTDLG=no
6515 DEFAULT_wxUSE_GRID=no
6516 DEFAULT_wxUSE_NUMBERDLG=no
6517 DEFAULT_wxUSE_PROGRESSDLG=no
6518 DEFAULT_wxUSE_SASH=no
6519 DEFAULT_wxUSE_SPLITTER=no
6520 DEFAULT_wxUSE_WIZARDDLG=no
6521 DEFAULT_wxUSE_SPLITTER=no
6522 DEFAULT_wxUSE_STARTUP_TIPS=no
6523fi
6524
6525
6526 enablestring=
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6528echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6529 no_cache=0
6530 # Check whether --enable-accel or --disable-accel was given.
6531if test "${enable_accel+set}" = set; then
6532 enableval="$enable_accel"
6533
6534 if test "$enableval" = yes; then
6535 ac_cv_use_accel='wxUSE_ACCEL=yes'
6536 else
6537 ac_cv_use_accel='wxUSE_ACCEL=no'
6538 fi
6539
6540else
6541
6542 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x ; then
6544 eval "DEFAULT_$LINE"
6545 else
6546 no_cache=1
6547 fi
6548
6549 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6550
6551fi;
6552
6553 eval "$ac_cv_use_accel"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6556 fi
6557
6558 if test "$wxUSE_ACCEL" = yes; then
6559 echo "$as_me:$LINENO: result: yes" >&5
6560echo "${ECHO_T}yes" >&6
6561 else
6562 echo "$as_me:$LINENO: result: no" >&5
6563echo "${ECHO_T}no" >&6
6564 fi
6565
6566
6567 enablestring=
6568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6569echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6570 no_cache=0
6571 # Check whether --enable-button or --disable-button was given.
6572if test "${enable_button+set}" = set; then
6573 enableval="$enable_button"
6574
6575 if test "$enableval" = yes; then
6576 ac_cv_use_button='wxUSE_BUTTON=yes'
6577 else
6578 ac_cv_use_button='wxUSE_BUTTON=no'
6579 fi
6580
6581else
6582
6583 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x ; then
6585 eval "DEFAULT_$LINE"
6586 else
6587 no_cache=1
6588 fi
6589
6590 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6591
6592fi;
6593
6594 eval "$ac_cv_use_button"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6597 fi
6598
6599 if test "$wxUSE_BUTTON" = yes; then
6600 echo "$as_me:$LINENO: result: yes" >&5
6601echo "${ECHO_T}yes" >&6
6602 else
6603 echo "$as_me:$LINENO: result: no" >&5
6604echo "${ECHO_T}no" >&6
6605 fi
6606
6607
6608 enablestring=
6609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6610echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6611 no_cache=0
6612 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6613if test "${enable_bmpbutton+set}" = set; then
6614 enableval="$enable_bmpbutton"
6615
6616 if test "$enableval" = yes; then
6617 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6618 else
6619 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6620 fi
6621
6622else
6623
6624 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x ; then
6626 eval "DEFAULT_$LINE"
6627 else
6628 no_cache=1
6629 fi
6630
6631 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6632
6633fi;
6634
6635 eval "$ac_cv_use_bmpbutton"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6638 fi
6639
6640 if test "$wxUSE_BMPBUTTON" = yes; then
6641 echo "$as_me:$LINENO: result: yes" >&5
6642echo "${ECHO_T}yes" >&6
6643 else
6644 echo "$as_me:$LINENO: result: no" >&5
6645echo "${ECHO_T}no" >&6
6646 fi
6647
6648
6649 enablestring=
6650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6651echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6652 no_cache=0
6653 # Check whether --enable-calendar or --disable-calendar was given.
6654if test "${enable_calendar+set}" = set; then
6655 enableval="$enable_calendar"
6656
6657 if test "$enableval" = yes; then
6658 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6659 else
6660 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6661 fi
6662
6663else
6664
6665 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x ; then
6667 eval "DEFAULT_$LINE"
6668 else
6669 no_cache=1
6670 fi
6671
6672 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6673
6674fi;
6675
6676 eval "$ac_cv_use_calendar"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6679 fi
6680
6681 if test "$wxUSE_CALCTRL" = yes; then
6682 echo "$as_me:$LINENO: result: yes" >&5
6683echo "${ECHO_T}yes" >&6
6684 else
6685 echo "$as_me:$LINENO: result: no" >&5
6686echo "${ECHO_T}no" >&6
6687 fi
6688
6689
6690 enablestring=
6691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6692echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6693 no_cache=0
6694 # Check whether --enable-caret or --disable-caret was given.
6695if test "${enable_caret+set}" = set; then
6696 enableval="$enable_caret"
6697
6698 if test "$enableval" = yes; then
6699 ac_cv_use_caret='wxUSE_CARET=yes'
6700 else
6701 ac_cv_use_caret='wxUSE_CARET=no'
6702 fi
6703
6704else
6705
6706 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x ; then
6708 eval "DEFAULT_$LINE"
6709 else
6710 no_cache=1
6711 fi
6712
6713 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6714
6715fi;
6716
6717 eval "$ac_cv_use_caret"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6720 fi
6721
6722 if test "$wxUSE_CARET" = yes; then
6723 echo "$as_me:$LINENO: result: yes" >&5
6724echo "${ECHO_T}yes" >&6
6725 else
6726 echo "$as_me:$LINENO: result: no" >&5
6727echo "${ECHO_T}no" >&6
6728 fi
6729
6730
6731 enablestring=
6732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6733echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6734 no_cache=0
6735 # Check whether --enable-checkbox or --disable-checkbox was given.
6736if test "${enable_checkbox+set}" = set; then
6737 enableval="$enable_checkbox"
6738
6739 if test "$enableval" = yes; then
6740 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6741 else
6742 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6743 fi
6744
6745else
6746
6747 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x ; then
6749 eval "DEFAULT_$LINE"
6750 else
6751 no_cache=1
6752 fi
6753
6754 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6755
6756fi;
6757
6758 eval "$ac_cv_use_checkbox"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6761 fi
6762
6763 if test "$wxUSE_CHECKBOX" = yes; then
6764 echo "$as_me:$LINENO: result: yes" >&5
6765echo "${ECHO_T}yes" >&6
6766 else
6767 echo "$as_me:$LINENO: result: no" >&5
6768echo "${ECHO_T}no" >&6
6769 fi
6770
6771
6772 enablestring=
6773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6774echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6775 no_cache=0
6776 # Check whether --enable-checklst or --disable-checklst was given.
6777if test "${enable_checklst+set}" = set; then
6778 enableval="$enable_checklst"
6779
6780 if test "$enableval" = yes; then
6781 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6782 else
6783 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6784 fi
6785
6786else
6787
6788 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x ; then
6790 eval "DEFAULT_$LINE"
6791 else
6792 no_cache=1
6793 fi
6794
6795 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6796
6797fi;
6798
6799 eval "$ac_cv_use_checklst"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6802 fi
6803
6804 if test "$wxUSE_CHECKLST" = yes; then
6805 echo "$as_me:$LINENO: result: yes" >&5
6806echo "${ECHO_T}yes" >&6
6807 else
6808 echo "$as_me:$LINENO: result: no" >&5
6809echo "${ECHO_T}no" >&6
6810 fi
6811
6812
6813 enablestring=
6814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6815echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6816 no_cache=0
6817 # Check whether --enable-choice or --disable-choice was given.
6818if test "${enable_choice+set}" = set; then
6819 enableval="$enable_choice"
6820
6821 if test "$enableval" = yes; then
6822 ac_cv_use_choice='wxUSE_CHOICE=yes'
6823 else
6824 ac_cv_use_choice='wxUSE_CHOICE=no'
6825 fi
6826
6827else
6828
6829 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x ; then
6831 eval "DEFAULT_$LINE"
6832 else
6833 no_cache=1
6834 fi
6835
6836 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6837
6838fi;
6839
6840 eval "$ac_cv_use_choice"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6843 fi
6844
6845 if test "$wxUSE_CHOICE" = yes; then
6846 echo "$as_me:$LINENO: result: yes" >&5
6847echo "${ECHO_T}yes" >&6
6848 else
6849 echo "$as_me:$LINENO: result: no" >&5
6850echo "${ECHO_T}no" >&6
6851 fi
6852
6853
6854 enablestring=
6855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6856echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6857 no_cache=0
6858 # Check whether --enable-combobox or --disable-combobox was given.
6859if test "${enable_combobox+set}" = set; then
6860 enableval="$enable_combobox"
6861
6862 if test "$enableval" = yes; then
6863 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6864 else
6865 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6866 fi
6867
6868else
6869
6870 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x ; then
6872 eval "DEFAULT_$LINE"
6873 else
6874 no_cache=1
6875 fi
6876
6877 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6878
6879fi;
6880
6881 eval "$ac_cv_use_combobox"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6884 fi
6885
6886 if test "$wxUSE_COMBOBOX" = yes; then
6887 echo "$as_me:$LINENO: result: yes" >&5
6888echo "${ECHO_T}yes" >&6
6889 else
6890 echo "$as_me:$LINENO: result: no" >&5
6891echo "${ECHO_T}no" >&6
6892 fi
6893
6894
6895 enablestring=
6896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6897echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6898 no_cache=0
6899 # Check whether --enable-display or --disable-display was given.
6900if test "${enable_display+set}" = set; then
6901 enableval="$enable_display"
6902
6903 if test "$enableval" = yes; then
6904 ac_cv_use_display='wxUSE_DISPLAY=yes'
6905 else
6906 ac_cv_use_display='wxUSE_DISPLAY=no'
6907 fi
6908
6909else
6910
6911 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x ; then
6913 eval "DEFAULT_$LINE"
6914 else
6915 no_cache=1
6916 fi
6917
6918 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6919
6920fi;
6921
6922 eval "$ac_cv_use_display"
6923 if test "$no_cache" != 1; then
6924 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6925 fi
6926
6927 if test "$wxUSE_DISPLAY" = yes; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929echo "${ECHO_T}yes" >&6
6930 else
6931 echo "$as_me:$LINENO: result: no" >&5
6932echo "${ECHO_T}no" >&6
6933 fi
6934
6935
6936 enablestring=
6937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6938echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6939 no_cache=0
6940 # Check whether --enable-gauge or --disable-gauge was given.
6941if test "${enable_gauge+set}" = set; then
6942 enableval="$enable_gauge"
6943
6944 if test "$enableval" = yes; then
6945 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6946 else
6947 ac_cv_use_gauge='wxUSE_GAUGE=no'
6948 fi
6949
6950else
6951
6952 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6953 if test "x$LINE" != x ; then
6954 eval "DEFAULT_$LINE"
6955 else
6956 no_cache=1
6957 fi
6958
6959 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6960
6961fi;
6962
6963 eval "$ac_cv_use_gauge"
6964 if test "$no_cache" != 1; then
6965 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6966 fi
6967
6968 if test "$wxUSE_GAUGE" = yes; then
6969 echo "$as_me:$LINENO: result: yes" >&5
6970echo "${ECHO_T}yes" >&6
6971 else
6972 echo "$as_me:$LINENO: result: no" >&5
6973echo "${ECHO_T}no" >&6
6974 fi
6975
6976
6977 enablestring=
6978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6979echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6980 no_cache=0
6981 # Check whether --enable-grid or --disable-grid was given.
6982if test "${enable_grid+set}" = set; then
6983 enableval="$enable_grid"
6984
6985 if test "$enableval" = yes; then
6986 ac_cv_use_grid='wxUSE_GRID=yes'
6987 else
6988 ac_cv_use_grid='wxUSE_GRID=no'
6989 fi
6990
6991else
6992
6993 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6994 if test "x$LINE" != x ; then
6995 eval "DEFAULT_$LINE"
6996 else
6997 no_cache=1
6998 fi
6999
7000 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7001
7002fi;
7003
7004 eval "$ac_cv_use_grid"
7005 if test "$no_cache" != 1; then
7006 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7007 fi
7008
7009 if test "$wxUSE_GRID" = yes; then
7010 echo "$as_me:$LINENO: result: yes" >&5
7011echo "${ECHO_T}yes" >&6
7012 else
7013 echo "$as_me:$LINENO: result: no" >&5
7014echo "${ECHO_T}no" >&6
7015 fi
7016
7017
7018 enablestring=
7019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7020echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7021 no_cache=0
7022 # Check whether --enable-imaglist or --disable-imaglist was given.
7023if test "${enable_imaglist+set}" = set; then
7024 enableval="$enable_imaglist"
7025
7026 if test "$enableval" = yes; then
7027 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7028 else
7029 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7030 fi
7031
7032else
7033
7034 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7035 if test "x$LINE" != x ; then
7036 eval "DEFAULT_$LINE"
7037 else
7038 no_cache=1
7039 fi
7040
7041 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7042
7043fi;
7044
7045 eval "$ac_cv_use_imaglist"
7046 if test "$no_cache" != 1; then
7047 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7048 fi
7049
7050 if test "$wxUSE_IMAGLIST" = yes; then
7051 echo "$as_me:$LINENO: result: yes" >&5
7052echo "${ECHO_T}yes" >&6
7053 else
7054 echo "$as_me:$LINENO: result: no" >&5
7055echo "${ECHO_T}no" >&6
7056 fi
7057
7058
7059 enablestring=
7060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7061echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7062 no_cache=0
7063 # Check whether --enable-listbox or --disable-listbox was given.
7064if test "${enable_listbox+set}" = set; then
7065 enableval="$enable_listbox"
7066
7067 if test "$enableval" = yes; then
7068 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7069 else
7070 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7071 fi
7072
7073else
7074
7075 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7076 if test "x$LINE" != x ; then
7077 eval "DEFAULT_$LINE"
7078 else
7079 no_cache=1
7080 fi
7081
7082 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7083
7084fi;
7085
7086 eval "$ac_cv_use_listbox"
7087 if test "$no_cache" != 1; then
7088 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7089 fi
7090
7091 if test "$wxUSE_LISTBOX" = yes; then
7092 echo "$as_me:$LINENO: result: yes" >&5
7093echo "${ECHO_T}yes" >&6
7094 else
7095 echo "$as_me:$LINENO: result: no" >&5
7096echo "${ECHO_T}no" >&6
7097 fi
7098
7099
7100 enablestring=
7101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7102echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7103 no_cache=0
7104 # Check whether --enable-listctrl or --disable-listctrl was given.
7105if test "${enable_listctrl+set}" = set; then
7106 enableval="$enable_listctrl"
7107
7108 if test "$enableval" = yes; then
7109 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7110 else
7111 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7112 fi
7113
7114else
7115
7116 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x ; then
7118 eval "DEFAULT_$LINE"
7119 else
7120 no_cache=1
7121 fi
7122
7123 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7124
7125fi;
7126
7127 eval "$ac_cv_use_listctrl"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7130 fi
7131
7132 if test "$wxUSE_LISTCTRL" = yes; then
7133 echo "$as_me:$LINENO: result: yes" >&5
7134echo "${ECHO_T}yes" >&6
7135 else
7136 echo "$as_me:$LINENO: result: no" >&5
7137echo "${ECHO_T}no" >&6
7138 fi
7139
7140
7141 enablestring=
7142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7143echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7144 no_cache=0
7145 # Check whether --enable-notebook or --disable-notebook was given.
7146if test "${enable_notebook+set}" = set; then
7147 enableval="$enable_notebook"
7148
7149 if test "$enableval" = yes; then
7150 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7151 else
7152 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7153 fi
7154
7155else
7156
7157 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x ; then
7159 eval "DEFAULT_$LINE"
7160 else
7161 no_cache=1
7162 fi
7163
7164 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7165
7166fi;
7167
7168 eval "$ac_cv_use_notebook"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7171 fi
7172
7173 if test "$wxUSE_NOTEBOOK" = yes; then
7174 echo "$as_me:$LINENO: result: yes" >&5
7175echo "${ECHO_T}yes" >&6
7176 else
7177 echo "$as_me:$LINENO: result: no" >&5
7178echo "${ECHO_T}no" >&6
7179 fi
7180
7181
7182 enablestring=
7183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7184echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7185 no_cache=0
7186 # Check whether --enable-radiobox or --disable-radiobox was given.
7187if test "${enable_radiobox+set}" = set; then
7188 enableval="$enable_radiobox"
7189
7190 if test "$enableval" = yes; then
7191 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7192 else
7193 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7194 fi
7195
7196else
7197
7198 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7199 if test "x$LINE" != x ; then
7200 eval "DEFAULT_$LINE"
7201 else
7202 no_cache=1
7203 fi
7204
7205 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7206
7207fi;
7208
7209 eval "$ac_cv_use_radiobox"
7210 if test "$no_cache" != 1; then
7211 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7212 fi
7213
7214 if test "$wxUSE_RADIOBOX" = yes; then
7215 echo "$as_me:$LINENO: result: yes" >&5
7216echo "${ECHO_T}yes" >&6
7217 else
7218 echo "$as_me:$LINENO: result: no" >&5
7219echo "${ECHO_T}no" >&6
7220 fi
7221
7222
7223 enablestring=
7224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7225echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7226 no_cache=0
7227 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7228if test "${enable_radiobtn+set}" = set; then
7229 enableval="$enable_radiobtn"
7230
7231 if test "$enableval" = yes; then
7232 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7233 else
7234 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7235 fi
7236
7237else
7238
7239 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7240 if test "x$LINE" != x ; then
7241 eval "DEFAULT_$LINE"
7242 else
7243 no_cache=1
7244 fi
7245
7246 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7247
7248fi;
7249
7250 eval "$ac_cv_use_radiobtn"
7251 if test "$no_cache" != 1; then
7252 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7253 fi
7254
7255 if test "$wxUSE_RADIOBTN" = yes; then
7256 echo "$as_me:$LINENO: result: yes" >&5
7257echo "${ECHO_T}yes" >&6
7258 else
7259 echo "$as_me:$LINENO: result: no" >&5
7260echo "${ECHO_T}no" >&6
7261 fi
7262
7263
7264 enablestring=
7265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7266echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7267 no_cache=0
7268 # Check whether --enable-sash or --disable-sash was given.
7269if test "${enable_sash+set}" = set; then
7270 enableval="$enable_sash"
7271
7272 if test "$enableval" = yes; then
7273 ac_cv_use_sash='wxUSE_SASH=yes'
7274 else
7275 ac_cv_use_sash='wxUSE_SASH=no'
7276 fi
7277
7278else
7279
7280 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7281 if test "x$LINE" != x ; then
7282 eval "DEFAULT_$LINE"
7283 else
7284 no_cache=1
7285 fi
7286
7287 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7288
7289fi;
7290
7291 eval "$ac_cv_use_sash"
7292 if test "$no_cache" != 1; then
7293 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7294 fi
7295
7296 if test "$wxUSE_SASH" = yes; then
7297 echo "$as_me:$LINENO: result: yes" >&5
7298echo "${ECHO_T}yes" >&6
7299 else
7300 echo "$as_me:$LINENO: result: no" >&5
7301echo "${ECHO_T}no" >&6
7302 fi
7303
7304
7305 enablestring=
7306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7307echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7308 no_cache=0
7309 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7310if test "${enable_scrollbar+set}" = set; then
7311 enableval="$enable_scrollbar"
7312
7313 if test "$enableval" = yes; then
7314 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7315 else
7316 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7317 fi
7318
7319else
7320
7321 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7322 if test "x$LINE" != x ; then
7323 eval "DEFAULT_$LINE"
7324 else
7325 no_cache=1
7326 fi
7327
7328 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7329
7330fi;
7331
7332 eval "$ac_cv_use_scrollbar"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7335 fi
7336
7337 if test "$wxUSE_SCROLLBAR" = yes; then
7338 echo "$as_me:$LINENO: result: yes" >&5
7339echo "${ECHO_T}yes" >&6
7340 else
7341 echo "$as_me:$LINENO: result: no" >&5
7342echo "${ECHO_T}no" >&6
7343 fi
7344
7345
7346 enablestring=
7347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7348echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7349 no_cache=0
7350 # Check whether --enable-slider or --disable-slider was given.
7351if test "${enable_slider+set}" = set; then
7352 enableval="$enable_slider"
7353
7354 if test "$enableval" = yes; then
7355 ac_cv_use_slider='wxUSE_SLIDER=yes'
7356 else
7357 ac_cv_use_slider='wxUSE_SLIDER=no'
7358 fi
7359
7360else
7361
7362 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7363 if test "x$LINE" != x ; then
7364 eval "DEFAULT_$LINE"
7365 else
7366 no_cache=1
7367 fi
7368
7369 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7370
7371fi;
7372
7373 eval "$ac_cv_use_slider"
7374 if test "$no_cache" != 1; then
7375 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7376 fi
7377
7378 if test "$wxUSE_SLIDER" = yes; then
7379 echo "$as_me:$LINENO: result: yes" >&5
7380echo "${ECHO_T}yes" >&6
7381 else
7382 echo "$as_me:$LINENO: result: no" >&5
7383echo "${ECHO_T}no" >&6
7384 fi
7385
7386
7387 enablestring=
7388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7389echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7390 no_cache=0
7391 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7392if test "${enable_spinbtn+set}" = set; then
7393 enableval="$enable_spinbtn"
7394
7395 if test "$enableval" = yes; then
7396 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7397 else
7398 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7399 fi
7400
7401else
7402
7403 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x ; then
7405 eval "DEFAULT_$LINE"
7406 else
7407 no_cache=1
7408 fi
7409
7410 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7411
7412fi;
7413
7414 eval "$ac_cv_use_spinbtn"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7417 fi
7418
7419 if test "$wxUSE_SPINBTN" = yes; then
7420 echo "$as_me:$LINENO: result: yes" >&5
7421echo "${ECHO_T}yes" >&6
7422 else
7423 echo "$as_me:$LINENO: result: no" >&5
7424echo "${ECHO_T}no" >&6
7425 fi
7426
7427
7428 enablestring=
7429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7430echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7431 no_cache=0
7432 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7433if test "${enable_spinctrl+set}" = set; then
7434 enableval="$enable_spinctrl"
7435
7436 if test "$enableval" = yes; then
7437 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7438 else
7439 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7440 fi
7441
7442else
7443
7444 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7445 if test "x$LINE" != x ; then
7446 eval "DEFAULT_$LINE"
7447 else
7448 no_cache=1
7449 fi
7450
7451 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7452
7453fi;
7454
7455 eval "$ac_cv_use_spinctrl"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7458 fi
7459
7460 if test "$wxUSE_SPINCTRL" = yes; then
7461 echo "$as_me:$LINENO: result: yes" >&5
7462echo "${ECHO_T}yes" >&6
7463 else
7464 echo "$as_me:$LINENO: result: no" >&5
7465echo "${ECHO_T}no" >&6
7466 fi
7467
7468
7469 enablestring=
7470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7471echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7472 no_cache=0
7473 # Check whether --enable-splitter or --disable-splitter was given.
7474if test "${enable_splitter+set}" = set; then
7475 enableval="$enable_splitter"
7476
7477 if test "$enableval" = yes; then
7478 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7479 else
7480 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7481 fi
7482
7483else
7484
7485 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7486 if test "x$LINE" != x ; then
7487 eval "DEFAULT_$LINE"
7488 else
7489 no_cache=1
7490 fi
7491
7492 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7493
7494fi;
7495
7496 eval "$ac_cv_use_splitter"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7499 fi
7500
7501 if test "$wxUSE_SPLITTER" = yes; then
7502 echo "$as_me:$LINENO: result: yes" >&5
7503echo "${ECHO_T}yes" >&6
7504 else
7505 echo "$as_me:$LINENO: result: no" >&5
7506echo "${ECHO_T}no" >&6
7507 fi
7508
7509
7510 enablestring=
7511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7512echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7513 no_cache=0
7514 # Check whether --enable-statbmp or --disable-statbmp was given.
7515if test "${enable_statbmp+set}" = set; then
7516 enableval="$enable_statbmp"
7517
7518 if test "$enableval" = yes; then
7519 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7520 else
7521 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7522 fi
7523
7524else
7525
7526 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7527 if test "x$LINE" != x ; then
7528 eval "DEFAULT_$LINE"
7529 else
7530 no_cache=1
7531 fi
7532
7533 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7534
7535fi;
7536
7537 eval "$ac_cv_use_statbmp"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7540 fi
7541
7542 if test "$wxUSE_STATBMP" = yes; then
7543 echo "$as_me:$LINENO: result: yes" >&5
7544echo "${ECHO_T}yes" >&6
7545 else
7546 echo "$as_me:$LINENO: result: no" >&5
7547echo "${ECHO_T}no" >&6
7548 fi
7549
7550
7551 enablestring=
7552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7553echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7554 no_cache=0
7555 # Check whether --enable-statbox or --disable-statbox was given.
7556if test "${enable_statbox+set}" = set; then
7557 enableval="$enable_statbox"
7558
7559 if test "$enableval" = yes; then
7560 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7561 else
7562 ac_cv_use_statbox='wxUSE_STATBOX=no'
7563 fi
7564
7565else
7566
7567 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x ; then
7569 eval "DEFAULT_$LINE"
7570 else
7571 no_cache=1
7572 fi
7573
7574 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7575
7576fi;
7577
7578 eval "$ac_cv_use_statbox"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7581 fi
7582
7583 if test "$wxUSE_STATBOX" = yes; then
7584 echo "$as_me:$LINENO: result: yes" >&5
7585echo "${ECHO_T}yes" >&6
7586 else
7587 echo "$as_me:$LINENO: result: no" >&5
7588echo "${ECHO_T}no" >&6
7589 fi
7590
7591
7592 enablestring=
7593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7594echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7595 no_cache=0
7596 # Check whether --enable-statline or --disable-statline was given.
7597if test "${enable_statline+set}" = set; then
7598 enableval="$enable_statline"
7599
7600 if test "$enableval" = yes; then
7601 ac_cv_use_statline='wxUSE_STATLINE=yes'
7602 else
7603 ac_cv_use_statline='wxUSE_STATLINE=no'
7604 fi
7605
7606else
7607
7608 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x ; then
7610 eval "DEFAULT_$LINE"
7611 else
7612 no_cache=1
7613 fi
7614
7615 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7616
7617fi;
7618
7619 eval "$ac_cv_use_statline"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7622 fi
7623
7624 if test "$wxUSE_STATLINE" = yes; then
7625 echo "$as_me:$LINENO: result: yes" >&5
7626echo "${ECHO_T}yes" >&6
7627 else
7628 echo "$as_me:$LINENO: result: no" >&5
7629echo "${ECHO_T}no" >&6
7630 fi
7631
7632
7633 enablestring=
7634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7635echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7636 no_cache=0
7637 # Check whether --enable-stattext or --disable-stattext was given.
7638if test "${enable_stattext+set}" = set; then
7639 enableval="$enable_stattext"
7640
7641 if test "$enableval" = yes; then
7642 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7643 else
7644 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7645 fi
7646
7647else
7648
7649 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7652 else
7653 no_cache=1
7654 fi
7655
7656 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7657
7658fi;
7659
7660 eval "$ac_cv_use_stattext"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7663 fi
7664
7665 if test "$wxUSE_STATTEXT" = yes; then
7666 echo "$as_me:$LINENO: result: yes" >&5
7667echo "${ECHO_T}yes" >&6
7668 else
7669 echo "$as_me:$LINENO: result: no" >&5
7670echo "${ECHO_T}no" >&6
7671 fi
7672
7673
7674 enablestring=
7675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7676echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7677 no_cache=0
7678 # Check whether --enable-statusbar or --disable-statusbar was given.
7679if test "${enable_statusbar+set}" = set; then
7680 enableval="$enable_statusbar"
7681
7682 if test "$enableval" = yes; then
7683 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7684 else
7685 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7686 fi
7687
7688else
7689
7690 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7691 if test "x$LINE" != x ; then
7692 eval "DEFAULT_$LINE"
7693 else
7694 no_cache=1
7695 fi
7696
7697 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7698
7699fi;
7700
7701 eval "$ac_cv_use_statusbar"
7702 if test "$no_cache" != 1; then
7703 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7704 fi
7705
7706 if test "$wxUSE_STATUSBAR" = yes; then
7707 echo "$as_me:$LINENO: result: yes" >&5
7708echo "${ECHO_T}yes" >&6
7709 else
7710 echo "$as_me:$LINENO: result: no" >&5
7711echo "${ECHO_T}no" >&6
7712 fi
7713
7714
7715 enablestring=
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7717echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7718 no_cache=0
7719 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7720if test "${enable_tabdialog+set}" = set; then
7721 enableval="$enable_tabdialog"
7722
7723 if test "$enableval" = yes; then
7724 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7725 else
7726 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7727 fi
7728
7729else
7730
7731 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7734 else
7735 no_cache=1
7736 fi
7737
7738 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7739
7740fi;
7741
7742 eval "$ac_cv_use_tabdialog"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7745 fi
7746
7747 if test "$wxUSE_TABDIALOG" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749echo "${ECHO_T}yes" >&6
7750 else
7751 echo "$as_me:$LINENO: result: no" >&5
7752echo "${ECHO_T}no" >&6
7753 fi
7754
7755
7756 enablestring=
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7758echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7759 no_cache=0
7760 # Check whether --enable-textctrl or --disable-textctrl was given.
7761if test "${enable_textctrl+set}" = set; then
7762 enableval="$enable_textctrl"
7763
7764 if test "$enableval" = yes; then
7765 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7766 else
7767 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7768 fi
7769
7770else
7771
7772 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7775 else
7776 no_cache=1
7777 fi
7778
7779 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7780
7781fi;
7782
7783 eval "$ac_cv_use_textctrl"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7786 fi
7787
7788 if test "$wxUSE_TEXTCTRL" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790echo "${ECHO_T}yes" >&6
7791 else
7792 echo "$as_me:$LINENO: result: no" >&5
7793echo "${ECHO_T}no" >&6
7794 fi
7795
7796
7797 enablestring=
7798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7799echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7800 no_cache=0
7801 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7802if test "${enable_togglebtn+set}" = set; then
7803 enableval="$enable_togglebtn"
7804
7805 if test "$enableval" = yes; then
7806 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7807 else
7808 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7809 fi
7810
7811else
7812
7813 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x ; then
7815 eval "DEFAULT_$LINE"
7816 else
7817 no_cache=1
7818 fi
7819
7820 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7821
7822fi;
7823
7824 eval "$ac_cv_use_togglebtn"
7825 if test "$no_cache" != 1; then
7826 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7827 fi
7828
7829 if test "$wxUSE_TOGGLEBTN" = yes; then
7830 echo "$as_me:$LINENO: result: yes" >&5
7831echo "${ECHO_T}yes" >&6
7832 else
7833 echo "$as_me:$LINENO: result: no" >&5
7834echo "${ECHO_T}no" >&6
7835 fi
7836
7837
7838 enablestring=
7839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7840echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7841 no_cache=0
7842 # Check whether --enable-toolbar or --disable-toolbar was given.
7843if test "${enable_toolbar+set}" = set; then
7844 enableval="$enable_toolbar"
7845
7846 if test "$enableval" = yes; then
7847 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7848 else
7849 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7850 fi
7851
7852else
7853
7854 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7855 if test "x$LINE" != x ; then
7856 eval "DEFAULT_$LINE"
7857 else
7858 no_cache=1
7859 fi
7860
7861 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7862
7863fi;
7864
7865 eval "$ac_cv_use_toolbar"
7866 if test "$no_cache" != 1; then
7867 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7868 fi
7869
7870 if test "$wxUSE_TOOLBAR" = yes; then
7871 echo "$as_me:$LINENO: result: yes" >&5
7872echo "${ECHO_T}yes" >&6
7873 else
7874 echo "$as_me:$LINENO: result: no" >&5
7875echo "${ECHO_T}no" >&6
7876 fi
7877
7878
7879 enablestring=
7880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7881echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7882 no_cache=0
7883 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7884if test "${enable_tbarnative+set}" = set; then
7885 enableval="$enable_tbarnative"
7886
7887 if test "$enableval" = yes; then
7888 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7889 else
7890 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7891 fi
7892
7893else
7894
7895 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x ; then
7897 eval "DEFAULT_$LINE"
7898 else
7899 no_cache=1
7900 fi
7901
7902 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7903
7904fi;
7905
7906 eval "$ac_cv_use_tbarnative"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7909 fi
7910
7911 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913echo "${ECHO_T}yes" >&6
7914 else
7915 echo "$as_me:$LINENO: result: no" >&5
7916echo "${ECHO_T}no" >&6
7917 fi
7918
7919
7920 enablestring=
7921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7922echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7923 no_cache=0
7924 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7925if test "${enable_tbarsmpl+set}" = set; then
7926 enableval="$enable_tbarsmpl"
7927
7928 if test "$enableval" = yes; then
7929 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7930 else
7931 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7932 fi
7933
7934else
7935
7936 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x ; then
7938 eval "DEFAULT_$LINE"
7939 else
7940 no_cache=1
7941 fi
7942
7943 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7944
7945fi;
7946
7947 eval "$ac_cv_use_tbarsmpl"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7950 fi
7951
7952 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7953 echo "$as_me:$LINENO: result: yes" >&5
7954echo "${ECHO_T}yes" >&6
7955 else
7956 echo "$as_me:$LINENO: result: no" >&5
7957echo "${ECHO_T}no" >&6
7958 fi
7959
7960
7961 enablestring=
7962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7963echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7964 no_cache=0
7965 # Check whether --enable-treectrl or --disable-treectrl was given.
7966if test "${enable_treectrl+set}" = set; then
7967 enableval="$enable_treectrl"
7968
7969 if test "$enableval" = yes; then
7970 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7971 else
7972 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7973 fi
7974
7975else
7976
7977 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x ; then
7979 eval "DEFAULT_$LINE"
7980 else
7981 no_cache=1
7982 fi
7983
7984 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7985
7986fi;
7987
7988 eval "$ac_cv_use_treectrl"
7989 if test "$no_cache" != 1; then
7990 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7991 fi
7992
7993 if test "$wxUSE_TREECTRL" = yes; then
7994 echo "$as_me:$LINENO: result: yes" >&5
7995echo "${ECHO_T}yes" >&6
7996 else
7997 echo "$as_me:$LINENO: result: no" >&5
7998echo "${ECHO_T}no" >&6
7999 fi
8000
8001
8002 enablestring=
8003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8004echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8005 no_cache=0
8006 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8007if test "${enable_tipwindow+set}" = set; then
8008 enableval="$enable_tipwindow"
8009
8010 if test "$enableval" = yes; then
8011 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8012 else
8013 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8014 fi
8015
8016else
8017
8018 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8019 if test "x$LINE" != x ; then
8020 eval "DEFAULT_$LINE"
8021 else
8022 no_cache=1
8023 fi
8024
8025 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8026
8027fi;
8028
8029 eval "$ac_cv_use_tipwindow"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8032 fi
8033
8034 if test "$wxUSE_TIPWINDOW" = yes; then
8035 echo "$as_me:$LINENO: result: yes" >&5
8036echo "${ECHO_T}yes" >&6
8037 else
8038 echo "$as_me:$LINENO: result: no" >&5
8039echo "${ECHO_T}no" >&6
8040 fi
8041
8042
8043 enablestring=
8044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8045echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8046 no_cache=0
8047 # Check whether --enable-popupwin or --disable-popupwin was given.
8048if test "${enable_popupwin+set}" = set; then
8049 enableval="$enable_popupwin"
8050
8051 if test "$enableval" = yes; then
8052 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8053 else
8054 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8055 fi
8056
8057else
8058
8059 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8060 if test "x$LINE" != x ; then
8061 eval "DEFAULT_$LINE"
8062 else
8063 no_cache=1
8064 fi
8065
8066 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8067
8068fi;
8069
8070 eval "$ac_cv_use_popupwin"
8071 if test "$no_cache" != 1; then
8072 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8073 fi
8074
8075 if test "$wxUSE_POPUPWIN" = yes; then
8076 echo "$as_me:$LINENO: result: yes" >&5
8077echo "${ECHO_T}yes" >&6
8078 else
8079 echo "$as_me:$LINENO: result: no" >&5
8080echo "${ECHO_T}no" >&6
8081 fi
8082
8083
8084
8085
8086 enablestring=
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8088echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8089 no_cache=0
8090 # Check whether --enable-commondlg or --disable-commondlg was given.
8091if test "${enable_commondlg+set}" = set; then
8092 enableval="$enable_commondlg"
8093
8094 if test "$enableval" = yes; then
8095 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8096 else
8097 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8098 fi
8099
8100else
8101
8102 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8105 else
8106 no_cache=1
8107 fi
8108
8109 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8110
8111fi;
8112
8113 eval "$ac_cv_use_commondlg"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test "$wxUSE_COMMONDLGS" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120echo "${ECHO_T}yes" >&6
8121 else
8122 echo "$as_me:$LINENO: result: no" >&5
8123echo "${ECHO_T}no" >&6
8124 fi
8125
8126
8127 enablestring=
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8129echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8130 no_cache=0
8131 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8132if test "${enable_choicedlg+set}" = set; then
8133 enableval="$enable_choicedlg"
8134
8135 if test "$enableval" = yes; then
8136 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8137 else
8138 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8139 fi
8140
8141else
8142
8143 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 else
8147 no_cache=1
8148 fi
8149
8150 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8151
8152fi;
8153
8154 eval "$ac_cv_use_choicedlg"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test "$wxUSE_CHOICEDLG" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161echo "${ECHO_T}yes" >&6
8162 else
8163 echo "$as_me:$LINENO: result: no" >&5
8164echo "${ECHO_T}no" >&6
8165 fi
8166
8167
8168 enablestring=
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8170echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8171 no_cache=0
8172 # Check whether --enable-coldlg or --disable-coldlg was given.
8173if test "${enable_coldlg+set}" = set; then
8174 enableval="$enable_coldlg"
8175
8176 if test "$enableval" = yes; then
8177 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8178 else
8179 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8180 fi
8181
8182else
8183
8184 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x ; then
8186 eval "DEFAULT_$LINE"
8187 else
8188 no_cache=1
8189 fi
8190
8191 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8192
8193fi;
8194
8195 eval "$ac_cv_use_coldlg"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8198 fi
8199
8200 if test "$wxUSE_COLOURDLG" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202echo "${ECHO_T}yes" >&6
8203 else
8204 echo "$as_me:$LINENO: result: no" >&5
8205echo "${ECHO_T}no" >&6
8206 fi
8207
8208
8209 enablestring=
8210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8211echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8212 no_cache=0
8213 # Check whether --enable-filedlg or --disable-filedlg was given.
8214if test "${enable_filedlg+set}" = set; then
8215 enableval="$enable_filedlg"
8216
8217 if test "$enableval" = yes; then
8218 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8219 else
8220 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8221 fi
8222
8223else
8224
8225 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8226 if test "x$LINE" != x ; then
8227 eval "DEFAULT_$LINE"
8228 else
8229 no_cache=1
8230 fi
8231
8232 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8233
8234fi;
8235
8236 eval "$ac_cv_use_filedlg"
8237 if test "$no_cache" != 1; then
8238 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8239 fi
8240
8241 if test "$wxUSE_FILEDLG" = yes; then
8242 echo "$as_me:$LINENO: result: yes" >&5
8243echo "${ECHO_T}yes" >&6
8244 else
8245 echo "$as_me:$LINENO: result: no" >&5
8246echo "${ECHO_T}no" >&6
8247 fi
8248
8249
8250 enablestring=
8251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8252echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8253 no_cache=0
8254 # Check whether --enable-finddlg or --disable-finddlg was given.
8255if test "${enable_finddlg+set}" = set; then
8256 enableval="$enable_finddlg"
8257
8258 if test "$enableval" = yes; then
8259 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8260 else
8261 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8262 fi
8263
8264else
8265
8266 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x ; then
8268 eval "DEFAULT_$LINE"
8269 else
8270 no_cache=1
8271 fi
8272
8273 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8274
8275fi;
8276
8277 eval "$ac_cv_use_finddlg"
8278 if test "$no_cache" != 1; then
8279 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8280 fi
8281
8282 if test "$wxUSE_FINDREPLDLG" = yes; then
8283 echo "$as_me:$LINENO: result: yes" >&5
8284echo "${ECHO_T}yes" >&6
8285 else
8286 echo "$as_me:$LINENO: result: no" >&5
8287echo "${ECHO_T}no" >&6
8288 fi
8289
8290
8291 enablestring=
8292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8293echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8294 no_cache=0
8295 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8296if test "${enable_fontdlg+set}" = set; then
8297 enableval="$enable_fontdlg"
8298
8299 if test "$enableval" = yes; then
8300 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8301 else
8302 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8303 fi
8304
8305else
8306
8307 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8308 if test "x$LINE" != x ; then
8309 eval "DEFAULT_$LINE"
8310 else
8311 no_cache=1
8312 fi
8313
8314 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8315
8316fi;
8317
8318 eval "$ac_cv_use_fontdlg"
8319 if test "$no_cache" != 1; then
8320 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8321 fi
8322
8323 if test "$wxUSE_FONTDLG" = yes; then
8324 echo "$as_me:$LINENO: result: yes" >&5
8325echo "${ECHO_T}yes" >&6
8326 else
8327 echo "$as_me:$LINENO: result: no" >&5
8328echo "${ECHO_T}no" >&6
8329 fi
8330
8331
8332 enablestring=
8333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8334echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8335 no_cache=0
8336 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8337if test "${enable_dirdlg+set}" = set; then
8338 enableval="$enable_dirdlg"
8339
8340 if test "$enableval" = yes; then
8341 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8342 else
8343 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8344 fi
8345
8346else
8347
8348 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x ; then
8350 eval "DEFAULT_$LINE"
8351 else
8352 no_cache=1
8353 fi
8354
8355 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8356
8357fi;
8358
8359 eval "$ac_cv_use_dirdlg"
8360 if test "$no_cache" != 1; then
8361 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8362 fi
8363
8364 if test "$wxUSE_DIRDLG" = yes; then
8365 echo "$as_me:$LINENO: result: yes" >&5
8366echo "${ECHO_T}yes" >&6
8367 else
8368 echo "$as_me:$LINENO: result: no" >&5
8369echo "${ECHO_T}no" >&6
8370 fi
8371
8372
8373 enablestring=
8374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8375echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8376 no_cache=0
8377 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8378if test "${enable_msgdlg+set}" = set; then
8379 enableval="$enable_msgdlg"
8380
8381 if test "$enableval" = yes; then
8382 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8383 else
8384 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8385 fi
8386
8387else
8388
8389 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x ; then
8391 eval "DEFAULT_$LINE"
8392 else
8393 no_cache=1
8394 fi
8395
8396 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8397
8398fi;
8399
8400 eval "$ac_cv_use_msgdlg"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8403 fi
8404
8405 if test "$wxUSE_MSGDLG" = yes; then
8406 echo "$as_me:$LINENO: result: yes" >&5
8407echo "${ECHO_T}yes" >&6
8408 else
8409 echo "$as_me:$LINENO: result: no" >&5
8410echo "${ECHO_T}no" >&6
8411 fi
8412
8413
8414 enablestring=
8415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8416echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8417 no_cache=0
8418 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8419if test "${enable_numberdlg+set}" = set; then
8420 enableval="$enable_numberdlg"
8421
8422 if test "$enableval" = yes; then
8423 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8424 else
8425 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8426 fi
8427
8428else
8429
8430 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x ; then
8432 eval "DEFAULT_$LINE"
8433 else
8434 no_cache=1
8435 fi
8436
8437 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8438
8439fi;
8440
8441 eval "$ac_cv_use_numberdlg"
8442 if test "$no_cache" != 1; then
8443 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8444 fi
8445
8446 if test "$wxUSE_NUMBERDLG" = yes; then
8447 echo "$as_me:$LINENO: result: yes" >&5
8448echo "${ECHO_T}yes" >&6
8449 else
8450 echo "$as_me:$LINENO: result: no" >&5
8451echo "${ECHO_T}no" >&6
8452 fi
8453
8454
8455 enablestring=
8456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8457echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8458 no_cache=0
8459 # Check whether --enable-splash or --disable-splash was given.
8460if test "${enable_splash+set}" = set; then
8461 enableval="$enable_splash"
8462
8463 if test "$enableval" = yes; then
8464 ac_cv_use_splash='wxUSE_SPLASH=yes'
8465 else
8466 ac_cv_use_splash='wxUSE_SPLASH=no'
8467 fi
8468
8469else
8470
8471 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8472 if test "x$LINE" != x ; then
8473 eval "DEFAULT_$LINE"
8474 else
8475 no_cache=1
8476 fi
8477
8478 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8479
8480fi;
8481
8482 eval "$ac_cv_use_splash"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8485 fi
8486
8487 if test "$wxUSE_SPLASH" = yes; then
8488 echo "$as_me:$LINENO: result: yes" >&5
8489echo "${ECHO_T}yes" >&6
8490 else
8491 echo "$as_me:$LINENO: result: no" >&5
8492echo "${ECHO_T}no" >&6
8493 fi
8494
8495
8496 enablestring=
8497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8498echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8499 no_cache=0
8500 # Check whether --enable-textdlg or --disable-textdlg was given.
8501if test "${enable_textdlg+set}" = set; then
8502 enableval="$enable_textdlg"
8503
8504 if test "$enableval" = yes; then
8505 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8506 else
8507 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8508 fi
8509
8510else
8511
8512 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x ; then
8514 eval "DEFAULT_$LINE"
8515 else
8516 no_cache=1
8517 fi
8518
8519 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8520
8521fi;
8522
8523 eval "$ac_cv_use_textdlg"
8524 if test "$no_cache" != 1; then
8525 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8526 fi
8527
8528 if test "$wxUSE_TEXTDLG" = yes; then
8529 echo "$as_me:$LINENO: result: yes" >&5
8530echo "${ECHO_T}yes" >&6
8531 else
8532 echo "$as_me:$LINENO: result: no" >&5
8533echo "${ECHO_T}no" >&6
8534 fi
8535
8536
8537 enablestring=
8538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8539echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8540 no_cache=0
8541 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8542if test "${enable_tipdlg+set}" = set; then
8543 enableval="$enable_tipdlg"
8544
8545 if test "$enableval" = yes; then
8546 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8547 else
8548 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8549 fi
8550
8551else
8552
8553 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x ; then
8555 eval "DEFAULT_$LINE"
8556 else
8557 no_cache=1
8558 fi
8559
8560 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8561
8562fi;
8563
8564 eval "$ac_cv_use_tipdlg"
8565 if test "$no_cache" != 1; then
8566 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8567 fi
8568
8569 if test "$wxUSE_STARTUP_TIPS" = yes; then
8570 echo "$as_me:$LINENO: result: yes" >&5
8571echo "${ECHO_T}yes" >&6
8572 else
8573 echo "$as_me:$LINENO: result: no" >&5
8574echo "${ECHO_T}no" >&6
8575 fi
8576
8577
8578 enablestring=
8579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8580echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8581 no_cache=0
8582 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8583if test "${enable_progressdlg+set}" = set; then
8584 enableval="$enable_progressdlg"
8585
8586 if test "$enableval" = yes; then
8587 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8588 else
8589 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8590 fi
8591
8592else
8593
8594 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8595 if test "x$LINE" != x ; then
8596 eval "DEFAULT_$LINE"
8597 else
8598 no_cache=1
8599 fi
8600
8601 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8602
8603fi;
8604
8605 eval "$ac_cv_use_progressdlg"
8606 if test "$no_cache" != 1; then
8607 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8608 fi
8609
8610 if test "$wxUSE_PROGRESSDLG" = yes; then
8611 echo "$as_me:$LINENO: result: yes" >&5
8612echo "${ECHO_T}yes" >&6
8613 else
8614 echo "$as_me:$LINENO: result: no" >&5
8615echo "${ECHO_T}no" >&6
8616 fi
8617
8618
8619 enablestring=
8620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8621echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8622 no_cache=0
8623 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8624if test "${enable_wizarddlg+set}" = set; then
8625 enableval="$enable_wizarddlg"
8626
8627 if test "$enableval" = yes; then
8628 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8629 else
8630 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8631 fi
8632
8633else
8634
8635 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8636 if test "x$LINE" != x ; then
8637 eval "DEFAULT_$LINE"
8638 else
8639 no_cache=1
8640 fi
8641
8642 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8643
8644fi;
8645
8646 eval "$ac_cv_use_wizarddlg"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8649 fi
8650
8651 if test "$wxUSE_WIZARDDLG" = yes; then
8652 echo "$as_me:$LINENO: result: yes" >&5
8653echo "${ECHO_T}yes" >&6
8654 else
8655 echo "$as_me:$LINENO: result: no" >&5
8656echo "${ECHO_T}no" >&6
8657 fi
8658
8659
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8664echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-menus or --disable-menus was given.
8667if test "${enable_menus+set}" = set; then
8668 enableval="$enable_menus"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_menus='wxUSE_MENUS=yes'
8672 else
8673 ac_cv_use_menus='wxUSE_MENUS=no'
8674 fi
8675
8676else
8677
8678 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8686
8687fi;
8688
8689 eval "$ac_cv_use_menus"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_MENUS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703 enablestring=
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8705echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8706 no_cache=0
8707 # Check whether --enable-miniframe or --disable-miniframe was given.
8708if test "${enable_miniframe+set}" = set; then
8709 enableval="$enable_miniframe"
8710
8711 if test "$enableval" = yes; then
8712 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8713 else
8714 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8715 fi
8716
8717else
8718
8719 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8722 else
8723 no_cache=1
8724 fi
8725
8726 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8727
8728fi;
8729
8730 eval "$ac_cv_use_miniframe"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8733 fi
8734
8735 if test "$wxUSE_MINIFRAME" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737echo "${ECHO_T}yes" >&6
8738 else
8739 echo "$as_me:$LINENO: result: no" >&5
8740echo "${ECHO_T}no" >&6
8741 fi
8742
8743
8744 enablestring=
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8746echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8747 no_cache=0
8748 # Check whether --enable-tooltips or --disable-tooltips was given.
8749if test "${enable_tooltips+set}" = set; then
8750 enableval="$enable_tooltips"
8751
8752 if test "$enableval" = yes; then
8753 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8754 else
8755 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8756 fi
8757
8758else
8759
8760 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8763 else
8764 no_cache=1
8765 fi
8766
8767 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8768
8769fi;
8770
8771 eval "$ac_cv_use_tooltips"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8774 fi
8775
8776 if test "$wxUSE_TOOLTIPS" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778echo "${ECHO_T}yes" >&6
8779 else
8780 echo "$as_me:$LINENO: result: no" >&5
8781echo "${ECHO_T}no" >&6
8782 fi
8783
8784
8785 enablestring=
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8787echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8788 no_cache=0
8789 # Check whether --enable-splines or --disable-splines was given.
8790if test "${enable_splines+set}" = set; then
8791 enableval="$enable_splines"
8792
8793 if test "$enableval" = yes; then
8794 ac_cv_use_splines='wxUSE_SPLINES=yes'
8795 else
8796 ac_cv_use_splines='wxUSE_SPLINES=no'
8797 fi
8798
8799else
8800
8801 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x ; then
8803 eval "DEFAULT_$LINE"
8804 else
8805 no_cache=1
8806 fi
8807
8808 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8809
8810fi;
8811
8812 eval "$ac_cv_use_splines"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8815 fi
8816
8817 if test "$wxUSE_SPLINES" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819echo "${ECHO_T}yes" >&6
8820 else
8821 echo "$as_me:$LINENO: result: no" >&5
8822echo "${ECHO_T}no" >&6
8823 fi
8824
8825
8826 enablestring=
8827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8828echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8829 no_cache=0
8830 # Check whether --enable-validators or --disable-validators was given.
8831if test "${enable_validators+set}" = set; then
8832 enableval="$enable_validators"
8833
8834 if test "$enableval" = yes; then
8835 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8836 else
8837 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8838 fi
8839
8840else
8841
8842 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x ; then
8844 eval "DEFAULT_$LINE"
8845 else
8846 no_cache=1
8847 fi
8848
8849 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8850
8851fi;
8852
8853 eval "$ac_cv_use_validators"
8854 if test "$no_cache" != 1; then
8855 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8856 fi
8857
8858 if test "$wxUSE_VALIDATORS" = yes; then
8859 echo "$as_me:$LINENO: result: yes" >&5
8860echo "${ECHO_T}yes" >&6
8861 else
8862 echo "$as_me:$LINENO: result: no" >&5
8863echo "${ECHO_T}no" >&6
8864 fi
8865
8866
8867 enablestring=
8868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8869echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8870 no_cache=0
8871 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8872if test "${enable_busyinfo+set}" = set; then
8873 enableval="$enable_busyinfo"
8874
8875 if test "$enableval" = yes; then
8876 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8877 else
8878 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8879 fi
8880
8881else
8882
8883 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x ; then
8885 eval "DEFAULT_$LINE"
8886 else
8887 no_cache=1
8888 fi
8889
8890 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8891
8892fi;
8893
8894 eval "$ac_cv_use_busyinfo"
8895 if test "$no_cache" != 1; then
8896 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8897 fi
8898
8899 if test "$wxUSE_BUSYINFO" = yes; then
8900 echo "$as_me:$LINENO: result: yes" >&5
8901echo "${ECHO_T}yes" >&6
8902 else
8903 echo "$as_me:$LINENO: result: no" >&5
8904echo "${ECHO_T}no" >&6
8905 fi
8906
8907
8908 enablestring=
8909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8910echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8911 no_cache=0
8912 # Check whether --enable-joystick or --disable-joystick was given.
8913if test "${enable_joystick+set}" = set; then
8914 enableval="$enable_joystick"
8915
8916 if test "$enableval" = yes; then
8917 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8918 else
8919 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8920 fi
8921
8922else
8923
8924 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x ; then
8926 eval "DEFAULT_$LINE"
8927 else
8928 no_cache=1
8929 fi
8930
8931 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8932
8933fi;
8934
8935 eval "$ac_cv_use_joystick"
8936 if test "$no_cache" != 1; then
8937 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8938 fi
8939
8940 if test "$wxUSE_JOYSTICK" = yes; then
8941 echo "$as_me:$LINENO: result: yes" >&5
8942echo "${ECHO_T}yes" >&6
8943 else
8944 echo "$as_me:$LINENO: result: no" >&5
8945echo "${ECHO_T}no" >&6
8946 fi
8947
8948
8949 enablestring=
8950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8951echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8952 no_cache=0
8953 # Check whether --enable-metafile or --disable-metafile was given.
8954if test "${enable_metafile+set}" = set; then
8955 enableval="$enable_metafile"
8956
8957 if test "$enableval" = yes; then
8958 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8959 else
8960 ac_cv_use_metafile='wxUSE_METAFILE=no'
8961 fi
8962
8963else
8964
8965 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x ; then
8967 eval "DEFAULT_$LINE"
8968 else
8969 no_cache=1
8970 fi
8971
8972 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8973
8974fi;
8975
8976 eval "$ac_cv_use_metafile"
8977 if test "$no_cache" != 1; then
8978 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8979 fi
8980
8981 if test "$wxUSE_METAFILE" = yes; then
8982 echo "$as_me:$LINENO: result: yes" >&5
8983echo "${ECHO_T}yes" >&6
8984 else
8985 echo "$as_me:$LINENO: result: no" >&5
8986echo "${ECHO_T}no" >&6
8987 fi
8988
8989
8990 enablestring=
8991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8992echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8993 no_cache=0
8994 # Check whether --enable-dragimage or --disable-dragimage was given.
8995if test "${enable_dragimage+set}" = set; then
8996 enableval="$enable_dragimage"
8997
8998 if test "$enableval" = yes; then
8999 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9000 else
9001 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9002 fi
9003
9004else
9005
9006 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x ; then
9008 eval "DEFAULT_$LINE"
9009 else
9010 no_cache=1
9011 fi
9012
9013 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9014
9015fi;
9016
9017 eval "$ac_cv_use_dragimage"
9018 if test "$no_cache" != 1; then
9019 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9020 fi
9021
9022 if test "$wxUSE_DRAGIMAGE" = yes; then
9023 echo "$as_me:$LINENO: result: yes" >&5
9024echo "${ECHO_T}yes" >&6
9025 else
9026 echo "$as_me:$LINENO: result: no" >&5
9027echo "${ECHO_T}no" >&6
9028 fi
9029
9030
9031 enablestring=
9032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9033echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9034 no_cache=0
9035 # Check whether --enable-accessibility or --disable-accessibility was given.
9036if test "${enable_accessibility+set}" = set; then
9037 enableval="$enable_accessibility"
9038
9039 if test "$enableval" = yes; then
9040 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9041 else
9042 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9043 fi
9044
9045else
9046
9047 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x ; then
9049 eval "DEFAULT_$LINE"
9050 else
9051 no_cache=1
9052 fi
9053
9054 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9055
9056fi;
9057
9058 eval "$ac_cv_use_accessibility"
9059 if test "$no_cache" != 1; then
9060 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9061 fi
9062
9063 if test "$wxUSE_ACCESSIBILITY" = yes; then
9064 echo "$as_me:$LINENO: result: yes" >&5
9065echo "${ECHO_T}yes" >&6
9066 else
9067 echo "$as_me:$LINENO: result: no" >&5
9068echo "${ECHO_T}no" >&6
9069 fi
9070
9071
9072
9073
9074 enablestring=
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9076echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9077 no_cache=0
9078 # Check whether --enable-palette or --disable-palette was given.
9079if test "${enable_palette+set}" = set; then
9080 enableval="$enable_palette"
9081
9082 if test "$enableval" = yes; then
9083 ac_cv_use_palette='wxUSE_PALETTE=yes'
9084 else
9085 ac_cv_use_palette='wxUSE_PALETTE=no'
9086 fi
9087
9088else
9089
9090 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9098
9099fi;
9100
9101 eval "$ac_cv_use_palette"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9104 fi
9105
9106 if test "$wxUSE_PALETTE" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108echo "${ECHO_T}yes" >&6
9109 else
9110 echo "$as_me:$LINENO: result: no" >&5
9111echo "${ECHO_T}no" >&6
9112 fi
9113
9114
9115 enablestring=
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9117echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9118 no_cache=0
9119 # Check whether --enable-image or --disable-image was given.
9120if test "${enable_image+set}" = set; then
9121 enableval="$enable_image"
9122
9123 if test "$enableval" = yes; then
9124 ac_cv_use_image='wxUSE_IMAGE=yes'
9125 else
9126 ac_cv_use_image='wxUSE_IMAGE=no'
9127 fi
9128
9129else
9130
9131 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x ; then
9133 eval "DEFAULT_$LINE"
9134 else
9135 no_cache=1
9136 fi
9137
9138 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9139
9140fi;
9141
9142 eval "$ac_cv_use_image"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9145 fi
9146
9147 if test "$wxUSE_IMAGE" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149echo "${ECHO_T}yes" >&6
9150 else
9151 echo "$as_me:$LINENO: result: no" >&5
9152echo "${ECHO_T}no" >&6
9153 fi
9154
9155
9156 enablestring=
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9158echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9159 no_cache=0
9160 # Check whether --enable-gif or --disable-gif was given.
9161if test "${enable_gif+set}" = set; then
9162 enableval="$enable_gif"
9163
9164 if test "$enableval" = yes; then
9165 ac_cv_use_gif='wxUSE_GIF=yes'
9166 else
9167 ac_cv_use_gif='wxUSE_GIF=no'
9168 fi
9169
9170else
9171
9172 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 else
9176 no_cache=1
9177 fi
9178
9179 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9180
9181fi;
9182
9183 eval "$ac_cv_use_gif"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9186 fi
9187
9188 if test "$wxUSE_GIF" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190echo "${ECHO_T}yes" >&6
9191 else
9192 echo "$as_me:$LINENO: result: no" >&5
9193echo "${ECHO_T}no" >&6
9194 fi
9195
9196
9197 enablestring=
9198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9199echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9200 no_cache=0
9201 # Check whether --enable-pcx or --disable-pcx was given.
9202if test "${enable_pcx+set}" = set; then
9203 enableval="$enable_pcx"
9204
9205 if test "$enableval" = yes; then
9206 ac_cv_use_pcx='wxUSE_PCX=yes'
9207 else
9208 ac_cv_use_pcx='wxUSE_PCX=no'
9209 fi
9210
9211else
9212
9213 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9214 if test "x$LINE" != x ; then
9215 eval "DEFAULT_$LINE"
9216 else
9217 no_cache=1
9218 fi
9219
9220 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9221
9222fi;
9223
9224 eval "$ac_cv_use_pcx"
9225 if test "$no_cache" != 1; then
9226 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9227 fi
9228
9229 if test "$wxUSE_PCX" = yes; then
9230 echo "$as_me:$LINENO: result: yes" >&5
9231echo "${ECHO_T}yes" >&6
9232 else
9233 echo "$as_me:$LINENO: result: no" >&5
9234echo "${ECHO_T}no" >&6
9235 fi
9236
9237
9238 enablestring=
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9240echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9241 no_cache=0
9242 # Check whether --enable-iff or --disable-iff was given.
9243if test "${enable_iff+set}" = set; then
9244 enableval="$enable_iff"
9245
9246 if test "$enableval" = yes; then
9247 ac_cv_use_iff='wxUSE_IFF=yes'
9248 else
9249 ac_cv_use_iff='wxUSE_IFF=no'
9250 fi
9251
9252else
9253
9254 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x ; then
9256 eval "DEFAULT_$LINE"
9257 else
9258 no_cache=1
9259 fi
9260
9261 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9262
9263fi;
9264
9265 eval "$ac_cv_use_iff"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9268 fi
9269
9270 if test "$wxUSE_IFF" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272echo "${ECHO_T}yes" >&6
9273 else
9274 echo "$as_me:$LINENO: result: no" >&5
9275echo "${ECHO_T}no" >&6
9276 fi
9277
9278
9279 enablestring=
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9281echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9282 no_cache=0
9283 # Check whether --enable-pnm or --disable-pnm was given.
9284if test "${enable_pnm+set}" = set; then
9285 enableval="$enable_pnm"
9286
9287 if test "$enableval" = yes; then
9288 ac_cv_use_pnm='wxUSE_PNM=yes'
9289 else
9290 ac_cv_use_pnm='wxUSE_PNM=no'
9291 fi
9292
9293else
9294
9295 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x ; then
9297 eval "DEFAULT_$LINE"
9298 else
9299 no_cache=1
9300 fi
9301
9302 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9303
9304fi;
9305
9306 eval "$ac_cv_use_pnm"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9309 fi
9310
9311 if test "$wxUSE_PNM" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313echo "${ECHO_T}yes" >&6
9314 else
9315 echo "$as_me:$LINENO: result: no" >&5
9316echo "${ECHO_T}no" >&6
9317 fi
9318
9319
9320 enablestring=
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9322echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9323 no_cache=0
9324 # Check whether --enable-xpm or --disable-xpm was given.
9325if test "${enable_xpm+set}" = set; then
9326 enableval="$enable_xpm"
9327
9328 if test "$enableval" = yes; then
9329 ac_cv_use_xpm='wxUSE_XPM=yes'
9330 else
9331 ac_cv_use_xpm='wxUSE_XPM=no'
9332 fi
9333
9334else
9335
9336 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x ; then
9338 eval "DEFAULT_$LINE"
9339 else
9340 no_cache=1
9341 fi
9342
9343 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9344
9345fi;
9346
9347 eval "$ac_cv_use_xpm"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9350 fi
9351
9352 if test "$wxUSE_XPM" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354echo "${ECHO_T}yes" >&6
9355 else
9356 echo "$as_me:$LINENO: result: no" >&5
9357echo "${ECHO_T}no" >&6
9358 fi
9359
9360
9361 enablestring=
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9363echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9364 no_cache=0
9365 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9366if test "${enable_ico_cur+set}" = set; then
9367 enableval="$enable_ico_cur"
9368
9369 if test "$enableval" = yes; then
9370 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9371 else
9372 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9373 fi
9374
9375else
9376
9377 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x ; then
9379 eval "DEFAULT_$LINE"
9380 else
9381 no_cache=1
9382 fi
9383
9384 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9385
9386fi;
9387
9388 eval "$ac_cv_use_ico_cur"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9391 fi
9392
9393 if test "$wxUSE_ICO_CUR" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395echo "${ECHO_T}yes" >&6
9396 else
9397 echo "$as_me:$LINENO: result: no" >&5
9398echo "${ECHO_T}no" >&6
9399 fi
9400
9401
9402fi
9403
9404case "${host}" in
9405 *-pc-os2_emx | *-pc-os2-emx )
9406 PATH_IFS=';'
9407 LEX_STEM="lexyy"
9408 ;;
9409 *)
9410 PATH_IFS=':'
9411 LEX_STEM="lex.yy"
9412 ;;
9413esac
9414
9415
9416
9417 echo "saving argument cache $wx_arg_cache_file"
9418 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9419
9420
9421
9422echo "$as_me:$LINENO: checking for toolkit" >&5
9423echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9424
9425# In Wine, we need to default to MSW, not GTK or MOTIF
9426if test "$wxUSE_WINE" = "yes"; then
9427 DEFAULT_DEFAULT_wxUSE_GTK=0
9428 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9429 DEFAULT_DEFAULT_wxUSE_MSW=1
9430fi
9431
9432if test "$wxUSE_GUI" = "yes"; then
9433
9434 if test "$USE_BEOS" = 1; then
9435 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9436echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9437 { (exit 1); exit 1; }; }
9438 fi
9439
9440 if test "$TOOLKIT_GIVEN" = 1; then
9441 for toolkit in `echo $ALL_TOOLKITS`; do
9442 var=wxUSE_$toolkit
9443 eval "value=\$${var}"
9444 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9445 done
9446 else
9447 for toolkit in `echo $ALL_TOOLKITS`; do
9448 if test "$has_toolkit_in_cache" != 1; then
9449 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9450 else
9451 var=DEFAULT_wxUSE_$toolkit
9452 fi
9453 eval "wxUSE_$toolkit=\$${var}"
9454 done
9455 fi
9456
9457 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9458 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9459 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9460
9461 case "${host}" in
9462 *-pc-os2_emx | *-pc-os2-emx )
9463 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9464 esac
9465
9466 case "$NUM_TOOLKITS" in
9467 1)
9468 ;;
9469 0)
9470 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9471echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9472 { (exit 1); exit 1; }; }
9473 ;;
9474 *)
9475 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9476echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9477 { (exit 1); exit 1; }; }
9478 esac
9479
9480 for toolkit in `echo $ALL_TOOLKITS`; do
9481 var=wxUSE_$toolkit
9482 eval "value=\$${var}"
9483 if test "x$value" != x; then
9484 cache_var=CACHE_$toolkit
9485 eval "cache=\$${cache_var}"
9486 if test "$cache" = 1; then
9487 echo "$var=$value" >> ${wx_arg_cache_file}
9488 fi
9489 if test "$value" = 1; then
9490 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9491 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9492echo "${ECHO_T}$toolkit_echo" >&6
9493 fi
9494 fi
9495 done
9496else
9497 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9498echo "${ECHO_T}base ($host_alias hosted) only" >&6
9499fi
9500
9501wants_win32=0
9502doesnt_want_win32=0
9503case "${host}" in
9504 *-*-cygwin*)
9505 if test "$wxUSE_MSW" = 1 ; then
9506 wants_win32=1
9507 else
9508 doesnt_want_win32=1
9509 fi
9510 ;;
9511 *-*-mingw*)
9512 wants_win32=1
9513 ;;
9514esac
9515
9516if test "$wxUSE_WINE" = "yes"; then
9517 wants_win32=1
9518 CC=winegcc
9519 CXX=wineg++
9520 RESCOMP=wrc
9521fi
9522
9523if test "$wants_win32" = 1 ; then
9524 USE_UNIX=0
9525 USE_WIN32=1
9526 cat >>confdefs.h <<\_ACEOF
9527#define __WIN32__ 1
9528_ACEOF
9529
9530 cat >>confdefs.h <<\_ACEOF
9531#define __WIN95__ 1
9532_ACEOF
9533
9534 cat >>confdefs.h <<\_ACEOF
9535#define __WINDOWS__ 1
9536_ACEOF
9537
9538 cat >>confdefs.h <<\_ACEOF
9539#define __GNUWIN32__ 1
9540_ACEOF
9541
9542 cat >>confdefs.h <<\_ACEOF
9543#define STRICT 1
9544_ACEOF
9545
9546 cat >>confdefs.h <<\_ACEOF
9547#define WINVER 0x0400
9548_ACEOF
9549
9550fi
9551if test "$doesnt_want_win32" = 1 ; then
9552 USE_UNIX=1
9553 USE_WIN32=0
9554fi
9555
9556if test "$USE_UNIX" = 1 ; then
9557 wxUSE_UNIX=yes
9558 cat >>confdefs.h <<\_ACEOF
9559#define __UNIX__ 1
9560_ACEOF
9561
9562fi
9563
9564
9565cat >confcache <<\_ACEOF
9566# This file is a shell script that caches the results of configure
9567# tests run on this system so they can be shared between configure
9568# scripts and configure runs, see configure's option --config-cache.
9569# It is not useful on other systems. If it contains results you don't
9570# want to keep, you may remove or edit it.
9571#
9572# config.status only pays attention to the cache file if you give it
9573# the --recheck option to rerun configure.
9574#
9575# `ac_cv_env_foo' variables (set or unset) will be overridden when
9576# loading this file, other *unset* `ac_cv_foo' will be assigned the
9577# following values.
9578
9579_ACEOF
9580
9581# The following way of writing the cache mishandles newlines in values,
9582# but we know of no workaround that is simple, portable, and efficient.
9583# So, don't put newlines in cache variables' values.
9584# Ultrix sh set writes to stderr and can't be redirected directly,
9585# and sets the high bit in the cache file unless we assign to the vars.
9586{
9587 (set) 2>&1 |
9588 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9589 *ac_space=\ *)
9590 # `set' does not quote correctly, so add quotes (double-quote
9591 # substitution turns \\\\ into \\, and sed turns \\ into \).
9592 sed -n \
9593 "s/'/'\\\\''/g;
9594 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9595 ;;
9596 *)
9597 # `set' quotes correctly as required by POSIX, so do not add quotes.
9598 sed -n \
9599 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9600 ;;
9601 esac;
9602} |
9603 sed '
9604 t clear
9605 : clear
9606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9607 t end
9608 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9609 : end' >>confcache
9610if diff $cache_file confcache >/dev/null 2>&1; then :; else
9611 if test -w $cache_file; then
9612 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9613 cat confcache >$cache_file
9614 else
9615 echo "not updating unwritable cache $cache_file"
9616 fi
9617fi
9618rm -f confcache
9619
9620if test "$build" != "$host" ; then
9621 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9622 CC=$host_alias-gcc
9623 CXX=$host_alias-c++
9624 AR=$host_alias-ar
9625 RANLIB=$host_alias-ranlib
9626 DLLTOOL=$host_alias-dlltool
9627 RESCOMP=$host_alias-windres
9628 LD=$host_alias-ld
9629 NM=$host_alias-nm
9630 STRIP=$host_alias-strip
9631 else
9632 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9633echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9634 { (exit 1); exit 1; }; }
9635 fi
9636fi
9637
9638CFLAGS=${CFLAGS:=}
9639ac_ext=c
9640ac_cpp='$CPP $CPPFLAGS'
9641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9643ac_compiler_gnu=$ac_cv_c_compiler_gnu
9644if test -n "$ac_tool_prefix"; then
9645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9646set dummy ${ac_tool_prefix}gcc; ac_word=$2
9647echo "$as_me:$LINENO: checking for $ac_word" >&5
9648echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9649if test "${ac_cv_prog_CC+set}" = set; then
9650 echo $ECHO_N "(cached) $ECHO_C" >&6
9651else
9652 if test -n "$CC"; then
9653 ac_cv_prog_CC="$CC" # Let the user override the test.
9654else
9655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9656for as_dir in $PATH
9657do
9658 IFS=$as_save_IFS
9659 test -z "$as_dir" && as_dir=.
9660 for ac_exec_ext in '' $ac_executable_extensions; do
9661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9662 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 break 2
9665 fi
9666done
9667done
9668
9669fi
9670fi
9671CC=$ac_cv_prog_CC
9672if test -n "$CC"; then
9673 echo "$as_me:$LINENO: result: $CC" >&5
9674echo "${ECHO_T}$CC" >&6
9675else
9676 echo "$as_me:$LINENO: result: no" >&5
9677echo "${ECHO_T}no" >&6
9678fi
9679
9680fi
9681if test -z "$ac_cv_prog_CC"; then
9682 ac_ct_CC=$CC
9683 # Extract the first word of "gcc", so it can be a program name with args.
9684set dummy gcc; ac_word=$2
9685echo "$as_me:$LINENO: checking for $ac_word" >&5
9686echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9687if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9689else
9690 if test -n "$ac_ct_CC"; then
9691 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9692else
9693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9694for as_dir in $PATH
9695do
9696 IFS=$as_save_IFS
9697 test -z "$as_dir" && as_dir=.
9698 for ac_exec_ext in '' $ac_executable_extensions; do
9699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9700 ac_cv_prog_ac_ct_CC="gcc"
9701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9702 break 2
9703 fi
9704done
9705done
9706
9707fi
9708fi
9709ac_ct_CC=$ac_cv_prog_ac_ct_CC
9710if test -n "$ac_ct_CC"; then
9711 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9712echo "${ECHO_T}$ac_ct_CC" >&6
9713else
9714 echo "$as_me:$LINENO: result: no" >&5
9715echo "${ECHO_T}no" >&6
9716fi
9717
9718 CC=$ac_ct_CC
9719else
9720 CC="$ac_cv_prog_CC"
9721fi
9722
9723if test -z "$CC"; then
9724 if test -n "$ac_tool_prefix"; then
9725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9726set dummy ${ac_tool_prefix}cc; ac_word=$2
9727echo "$as_me:$LINENO: checking for $ac_word" >&5
9728echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9729if test "${ac_cv_prog_CC+set}" = set; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9731else
9732 if test -n "$CC"; then
9733 ac_cv_prog_CC="$CC" # Let the user override the test.
9734else
9735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9736for as_dir in $PATH
9737do
9738 IFS=$as_save_IFS
9739 test -z "$as_dir" && as_dir=.
9740 for ac_exec_ext in '' $ac_executable_extensions; do
9741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9742 ac_cv_prog_CC="${ac_tool_prefix}cc"
9743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9744 break 2
9745 fi
9746done
9747done
9748
9749fi
9750fi
9751CC=$ac_cv_prog_CC
9752if test -n "$CC"; then
9753 echo "$as_me:$LINENO: result: $CC" >&5
9754echo "${ECHO_T}$CC" >&6
9755else
9756 echo "$as_me:$LINENO: result: no" >&5
9757echo "${ECHO_T}no" >&6
9758fi
9759
9760fi
9761if test -z "$ac_cv_prog_CC"; then
9762 ac_ct_CC=$CC
9763 # Extract the first word of "cc", so it can be a program name with args.
9764set dummy cc; ac_word=$2
9765echo "$as_me:$LINENO: checking for $ac_word" >&5
9766echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9767if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9768 echo $ECHO_N "(cached) $ECHO_C" >&6
9769else
9770 if test -n "$ac_ct_CC"; then
9771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9772else
9773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9774for as_dir in $PATH
9775do
9776 IFS=$as_save_IFS
9777 test -z "$as_dir" && as_dir=.
9778 for ac_exec_ext in '' $ac_executable_extensions; do
9779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9780 ac_cv_prog_ac_ct_CC="cc"
9781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9782 break 2
9783 fi
9784done
9785done
9786
9787fi
9788fi
9789ac_ct_CC=$ac_cv_prog_ac_ct_CC
9790if test -n "$ac_ct_CC"; then
9791 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9792echo "${ECHO_T}$ac_ct_CC" >&6
9793else
9794 echo "$as_me:$LINENO: result: no" >&5
9795echo "${ECHO_T}no" >&6
9796fi
9797
9798 CC=$ac_ct_CC
9799else
9800 CC="$ac_cv_prog_CC"
9801fi
9802
9803fi
9804if test -z "$CC"; then
9805 # Extract the first word of "cc", so it can be a program name with args.
9806set dummy cc; ac_word=$2
9807echo "$as_me:$LINENO: checking for $ac_word" >&5
9808echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9809if test "${ac_cv_prog_CC+set}" = set; then
9810 echo $ECHO_N "(cached) $ECHO_C" >&6
9811else
9812 if test -n "$CC"; then
9813 ac_cv_prog_CC="$CC" # Let the user override the test.
9814else
9815 ac_prog_rejected=no
9816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9817for as_dir in $PATH
9818do
9819 IFS=$as_save_IFS
9820 test -z "$as_dir" && as_dir=.
9821 for ac_exec_ext in '' $ac_executable_extensions; do
9822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9823 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9824 ac_prog_rejected=yes
9825 continue
9826 fi
9827 ac_cv_prog_CC="cc"
9828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 break 2
9830 fi
9831done
9832done
9833
9834if test $ac_prog_rejected = yes; then
9835 # We found a bogon in the path, so make sure we never use it.
9836 set dummy $ac_cv_prog_CC
9837 shift
9838 if test $# != 0; then
9839 # We chose a different compiler from the bogus one.
9840 # However, it has the same basename, so the bogon will be chosen
9841 # first if we set CC to just the basename; use the full file name.
9842 shift
9843 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9844 fi
9845fi
9846fi
9847fi
9848CC=$ac_cv_prog_CC
9849if test -n "$CC"; then
9850 echo "$as_me:$LINENO: result: $CC" >&5
9851echo "${ECHO_T}$CC" >&6
9852else
9853 echo "$as_me:$LINENO: result: no" >&5
9854echo "${ECHO_T}no" >&6
9855fi
9856
9857fi
9858if test -z "$CC"; then
9859 if test -n "$ac_tool_prefix"; then
9860 for ac_prog in cl
9861 do
9862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9863set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9864echo "$as_me:$LINENO: checking for $ac_word" >&5
9865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9866if test "${ac_cv_prog_CC+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9868else
9869 if test -n "$CC"; then
9870 ac_cv_prog_CC="$CC" # Let the user override the test.
9871else
9872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873for as_dir in $PATH
9874do
9875 IFS=$as_save_IFS
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 break 2
9882 fi
9883done
9884done
9885
9886fi
9887fi
9888CC=$ac_cv_prog_CC
9889if test -n "$CC"; then
9890 echo "$as_me:$LINENO: result: $CC" >&5
9891echo "${ECHO_T}$CC" >&6
9892else
9893 echo "$as_me:$LINENO: result: no" >&5
9894echo "${ECHO_T}no" >&6
9895fi
9896
9897 test -n "$CC" && break
9898 done
9899fi
9900if test -z "$CC"; then
9901 ac_ct_CC=$CC
9902 for ac_prog in cl
9903do
9904 # Extract the first word of "$ac_prog", so it can be a program name with args.
9905set dummy $ac_prog; ac_word=$2
9906echo "$as_me:$LINENO: checking for $ac_word" >&5
9907echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9908if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910else
9911 if test -n "$ac_ct_CC"; then
9912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9913else
9914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9915for as_dir in $PATH
9916do
9917 IFS=$as_save_IFS
9918 test -z "$as_dir" && as_dir=.
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_ac_ct_CC="$ac_prog"
9922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 break 2
9924 fi
9925done
9926done
9927
9928fi
9929fi
9930ac_ct_CC=$ac_cv_prog_ac_ct_CC
9931if test -n "$ac_ct_CC"; then
9932 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9933echo "${ECHO_T}$ac_ct_CC" >&6
9934else
9935 echo "$as_me:$LINENO: result: no" >&5
9936echo "${ECHO_T}no" >&6
9937fi
9938
9939 test -n "$ac_ct_CC" && break
9940done
9941
9942 CC=$ac_ct_CC
9943fi
9944
9945fi
9946
9947
9948test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9949See \`config.log' for more details." >&5
9950echo "$as_me: error: no acceptable C compiler found in \$PATH
9951See \`config.log' for more details." >&2;}
9952 { (exit 1); exit 1; }; }
9953
9954# Provide some information about the compiler.
9955echo "$as_me:$LINENO:" \
9956 "checking for C compiler version" >&5
9957ac_compiler=`set X $ac_compile; echo $2`
9958{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9959 (eval $ac_compiler --version </dev/null >&5) 2>&5
9960 ac_status=$?
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); }
9963{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9964 (eval $ac_compiler -v </dev/null >&5) 2>&5
9965 ac_status=$?
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }
9968{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9969 (eval $ac_compiler -V </dev/null >&5) 2>&5
9970 ac_status=$?
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }
9973
9974cat >conftest.$ac_ext <<_ACEOF
9975#line $LINENO "configure"
9976/* confdefs.h. */
9977_ACEOF
9978cat confdefs.h >>conftest.$ac_ext
9979cat >>conftest.$ac_ext <<_ACEOF
9980/* end confdefs.h. */
9981
9982int
9983main ()
9984{
9985
9986 ;
9987 return 0;
9988}
9989_ACEOF
9990ac_clean_files_save=$ac_clean_files
9991ac_clean_files="$ac_clean_files a.out a.exe b.out"
9992# Try to create an executable without -o first, disregard a.out.
9993# It will help us diagnose broken compilers, and finding out an intuition
9994# of exeext.
9995echo "$as_me:$LINENO: checking for C compiler default output" >&5
9996echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9997ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9998if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9999 (eval $ac_link_default) 2>&5
10000 ac_status=$?
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; then
10003 # Find the output, starting from the most likely. This scheme is
10004# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10005# resort.
10006
10007# Be careful to initialize this variable, since it used to be cached.
10008# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10009ac_cv_exeext=
10010# b.out is created by i960 compilers.
10011for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10012do
10013 test -f "$ac_file" || continue
10014 case $ac_file in
10015 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10016 ;;
10017 conftest.$ac_ext )
10018 # This is the source file.
10019 ;;
10020 [ab].out )
10021 # We found the default executable, but exeext='' is most
10022 # certainly right.
10023 break;;
10024 *.* )
10025 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10026 # FIXME: I believe we export ac_cv_exeext for Libtool,
10027 # but it would be cool to find out if it's true. Does anybody
10028 # maintain Libtool? --akim.
10029 export ac_cv_exeext
10030 break;;
10031 * )
10032 break;;
10033 esac
10034done
10035else
10036 echo "$as_me: failed program was:" >&5
10037sed 's/^/| /' conftest.$ac_ext >&5
10038
10039{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10040See \`config.log' for more details." >&5
10041echo "$as_me: error: C compiler cannot create executables
10042See \`config.log' for more details." >&2;}
10043 { (exit 77); exit 77; }; }
10044fi
10045
10046ac_exeext=$ac_cv_exeext
10047echo "$as_me:$LINENO: result: $ac_file" >&5
10048echo "${ECHO_T}$ac_file" >&6
10049
10050# Check the compiler produces executables we can run. If not, either
10051# the compiler is broken, or we cross compile.
10052echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10053echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10054# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10055# If not cross compiling, check that we can run a simple program.
10056if test "$cross_compiling" != yes; then
10057 if { ac_try='./$ac_file'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10060 ac_status=$?
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; }; then
10063 cross_compiling=no
10064 else
10065 if test "$cross_compiling" = maybe; then
10066 cross_compiling=yes
10067 else
10068 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10069If you meant to cross compile, use \`--host'.
10070See \`config.log' for more details." >&5
10071echo "$as_me: error: cannot run C compiled programs.
10072If you meant to cross compile, use \`--host'.
10073See \`config.log' for more details." >&2;}
10074 { (exit 1); exit 1; }; }
10075 fi
10076 fi
10077fi
10078echo "$as_me:$LINENO: result: yes" >&5
10079echo "${ECHO_T}yes" >&6
10080
10081rm -f a.out a.exe conftest$ac_cv_exeext b.out
10082ac_clean_files=$ac_clean_files_save
10083# Check the compiler produces executables we can run. If not, either
10084# the compiler is broken, or we cross compile.
10085echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10086echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10087echo "$as_me:$LINENO: result: $cross_compiling" >&5
10088echo "${ECHO_T}$cross_compiling" >&6
10089
10090echo "$as_me:$LINENO: checking for suffix of executables" >&5
10091echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10093 (eval $ac_link) 2>&5
10094 ac_status=$?
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; then
10097 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10098# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10099# work properly (i.e., refer to `conftest.exe'), while it won't with
10100# `rm'.
10101for ac_file in conftest.exe conftest conftest.*; do
10102 test -f "$ac_file" || continue
10103 case $ac_file in
10104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10105 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10106 export ac_cv_exeext
10107 break;;
10108 * ) break;;
10109 esac
10110done
10111else
10112 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10113See \`config.log' for more details." >&5
10114echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10115See \`config.log' for more details." >&2;}
10116 { (exit 1); exit 1; }; }
10117fi
10118
10119rm -f conftest$ac_cv_exeext
10120echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10121echo "${ECHO_T}$ac_cv_exeext" >&6
10122
10123rm -f conftest.$ac_ext
10124EXEEXT=$ac_cv_exeext
10125ac_exeext=$EXEEXT
10126echo "$as_me:$LINENO: checking for suffix of object files" >&5
10127echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10128if test "${ac_cv_objext+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10130else
10131 cat >conftest.$ac_ext <<_ACEOF
10132#line $LINENO "configure"
10133/* confdefs.h. */
10134_ACEOF
10135cat confdefs.h >>conftest.$ac_ext
10136cat >>conftest.$ac_ext <<_ACEOF
10137/* end confdefs.h. */
10138
10139int
10140main ()
10141{
10142
10143 ;
10144 return 0;
10145}
10146_ACEOF
10147rm -f conftest.o conftest.obj
10148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10149 (eval $ac_compile) 2>&5
10150 ac_status=$?
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; then
10153 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10154 case $ac_file in
10155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10156 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10157 break;;
10158 esac
10159done
10160else
10161 echo "$as_me: failed program was:" >&5
10162sed 's/^/| /' conftest.$ac_ext >&5
10163
10164{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10165See \`config.log' for more details." >&5
10166echo "$as_me: error: cannot compute suffix of object files: cannot compile
10167See \`config.log' for more details." >&2;}
10168 { (exit 1); exit 1; }; }
10169fi
10170
10171rm -f conftest.$ac_cv_objext conftest.$ac_ext
10172fi
10173echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10174echo "${ECHO_T}$ac_cv_objext" >&6
10175OBJEXT=$ac_cv_objext
10176ac_objext=$OBJEXT
10177echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10178echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10179if test "${ac_cv_c_compiler_gnu+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10181else
10182 cat >conftest.$ac_ext <<_ACEOF
10183#line $LINENO "configure"
10184/* confdefs.h. */
10185_ACEOF
10186cat confdefs.h >>conftest.$ac_ext
10187cat >>conftest.$ac_ext <<_ACEOF
10188/* end confdefs.h. */
10189
10190int
10191main ()
10192{
10193#ifndef __GNUC__
10194 choke me
10195#endif
10196
10197 ;
10198 return 0;
10199}
10200_ACEOF
10201rm -f conftest.$ac_objext
10202if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10203 (eval $ac_compile) 2>&5
10204 ac_status=$?
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } &&
10207 { ac_try='test -s conftest.$ac_objext'
10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209 (eval $ac_try) 2>&5
10210 ac_status=$?
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); }; }; then
10213 ac_compiler_gnu=yes
10214else
10215 echo "$as_me: failed program was:" >&5
10216sed 's/^/| /' conftest.$ac_ext >&5
10217
10218ac_compiler_gnu=no
10219fi
10220rm -f conftest.$ac_objext conftest.$ac_ext
10221ac_cv_c_compiler_gnu=$ac_compiler_gnu
10222
10223fi
10224echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10225echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10226GCC=`test $ac_compiler_gnu = yes && echo yes`
10227ac_test_CFLAGS=${CFLAGS+set}
10228ac_save_CFLAGS=$CFLAGS
10229CFLAGS="-g"
10230echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10231echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10232if test "${ac_cv_prog_cc_g+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
10247 ;
10248 return 0;
10249}
10250_ACEOF
10251rm -f conftest.$ac_objext
10252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10253 (eval $ac_compile) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); } &&
10257 { ac_try='test -s conftest.$ac_objext'
10258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259 (eval $ac_try) 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
10263 ac_cv_prog_cc_g=yes
10264else
10265 echo "$as_me: failed program was:" >&5
10266sed 's/^/| /' conftest.$ac_ext >&5
10267
10268ac_cv_prog_cc_g=no
10269fi
10270rm -f conftest.$ac_objext conftest.$ac_ext
10271fi
10272echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10273echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10274if test "$ac_test_CFLAGS" = set; then
10275 CFLAGS=$ac_save_CFLAGS
10276elif test $ac_cv_prog_cc_g = yes; then
10277 if test "$GCC" = yes; then
10278 CFLAGS="-g -O2"
10279 else
10280 CFLAGS="-g"
10281 fi
10282else
10283 if test "$GCC" = yes; then
10284 CFLAGS="-O2"
10285 else
10286 CFLAGS=
10287 fi
10288fi
10289echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10290echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10291if test "${ac_cv_prog_cc_stdc+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10293else
10294 ac_cv_prog_cc_stdc=no
10295ac_save_CC=$CC
10296cat >conftest.$ac_ext <<_ACEOF
10297#line $LINENO "configure"
10298/* confdefs.h. */
10299_ACEOF
10300cat confdefs.h >>conftest.$ac_ext
10301cat >>conftest.$ac_ext <<_ACEOF
10302/* end confdefs.h. */
10303#include <stdarg.h>
10304#include <stdio.h>
10305#include <sys/types.h>
10306#include <sys/stat.h>
10307/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10308struct buf { int x; };
10309FILE * (*rcsopen) (struct buf *, struct stat *, int);
10310static char *e (p, i)
10311 char **p;
10312 int i;
10313{
10314 return p[i];
10315}
10316static char *f (char * (*g) (char **, int), char **p, ...)
10317{
10318 char *s;
10319 va_list v;
10320 va_start (v,p);
10321 s = g (p, va_arg (v,int));
10322 va_end (v);
10323 return s;
10324}
10325int test (int i, double x);
10326struct s1 {int (*f) (int a);};
10327struct s2 {int (*f) (double a);};
10328int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10329int argc;
10330char **argv;
10331int
10332main ()
10333{
10334return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10335 ;
10336 return 0;
10337}
10338_ACEOF
10339# Don't try gcc -ansi; that turns off useful extensions and
10340# breaks some systems' header files.
10341# AIX -qlanglvl=ansi
10342# Ultrix and OSF/1 -std1
10343# HP-UX 10.20 and later -Ae
10344# HP-UX older versions -Aa -D_HPUX_SOURCE
10345# SVR4 -Xc -D__EXTENSIONS__
10346for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10347do
10348 CC="$ac_save_CC $ac_arg"
10349 rm -f conftest.$ac_objext
10350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10351 (eval $ac_compile) 2>&5
10352 ac_status=$?
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } &&
10355 { ac_try='test -s conftest.$ac_objext'
10356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10357 (eval $ac_try) 2>&5
10358 ac_status=$?
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); }; }; then
10361 ac_cv_prog_cc_stdc=$ac_arg
10362break
10363else
10364 echo "$as_me: failed program was:" >&5
10365sed 's/^/| /' conftest.$ac_ext >&5
10366
10367fi
10368rm -f conftest.$ac_objext
10369done
10370rm -f conftest.$ac_ext conftest.$ac_objext
10371CC=$ac_save_CC
10372
10373fi
10374
10375case "x$ac_cv_prog_cc_stdc" in
10376 x|xno)
10377 echo "$as_me:$LINENO: result: none needed" >&5
10378echo "${ECHO_T}none needed" >&6 ;;
10379 *)
10380 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10381echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10382 CC="$CC $ac_cv_prog_cc_stdc" ;;
10383esac
10384
10385# Some people use a C++ compiler to compile C. Since we use `exit',
10386# in C++ we need to declare it. In case someone uses the same compiler
10387# for both compiling C and C++ we need to have the C++ compiler decide
10388# the declaration of exit, since it's the most demanding environment.
10389cat >conftest.$ac_ext <<_ACEOF
10390#ifndef __cplusplus
10391 choke me
10392#endif
10393_ACEOF
10394rm -f conftest.$ac_objext
10395if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10396 (eval $ac_compile) 2>&5
10397 ac_status=$?
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); } &&
10400 { ac_try='test -s conftest.$ac_objext'
10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10402 (eval $ac_try) 2>&5
10403 ac_status=$?
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); }; }; then
10406 for ac_declaration in \
10407 ''\
10408 '#include <stdlib.h>' \
10409 'extern "C" void std::exit (int) throw (); using std::exit;' \
10410 'extern "C" void std::exit (int); using std::exit;' \
10411 'extern "C" void exit (int) throw ();' \
10412 'extern "C" void exit (int);' \
10413 'void exit (int);'
10414do
10415 cat >conftest.$ac_ext <<_ACEOF
10416#line $LINENO "configure"
10417/* confdefs.h. */
10418_ACEOF
10419cat confdefs.h >>conftest.$ac_ext
10420cat >>conftest.$ac_ext <<_ACEOF
10421/* end confdefs.h. */
10422#include <stdlib.h>
10423$ac_declaration
10424int
10425main ()
10426{
10427exit (42);
10428 ;
10429 return 0;
10430}
10431_ACEOF
10432rm -f conftest.$ac_objext
10433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 :
10445else
10446 echo "$as_me: failed program was:" >&5
10447sed 's/^/| /' conftest.$ac_ext >&5
10448
10449continue
10450fi
10451rm -f conftest.$ac_objext conftest.$ac_ext
10452 cat >conftest.$ac_ext <<_ACEOF
10453#line $LINENO "configure"
10454/* confdefs.h. */
10455_ACEOF
10456cat confdefs.h >>conftest.$ac_ext
10457cat >>conftest.$ac_ext <<_ACEOF
10458/* end confdefs.h. */
10459$ac_declaration
10460int
10461main ()
10462{
10463exit (42);
10464 ;
10465 return 0;
10466}
10467_ACEOF
10468rm -f conftest.$ac_objext
10469if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10470 (eval $ac_compile) 2>&5
10471 ac_status=$?
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } &&
10474 { ac_try='test -s conftest.$ac_objext'
10475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5
10477 ac_status=$?
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); }; }; then
10480 break
10481else
10482 echo "$as_me: failed program was:" >&5
10483sed 's/^/| /' conftest.$ac_ext >&5
10484
10485fi
10486rm -f conftest.$ac_objext conftest.$ac_ext
10487done
10488rm -f conftest*
10489if test -n "$ac_declaration"; then
10490 echo '#ifdef __cplusplus' >>confdefs.h
10491 echo $ac_declaration >>confdefs.h
10492 echo '#endif' >>confdefs.h
10493fi
10494
10495else
10496 echo "$as_me: failed program was:" >&5
10497sed 's/^/| /' conftest.$ac_ext >&5
10498
10499fi
10500rm -f conftest.$ac_objext conftest.$ac_ext
10501ac_ext=c
10502ac_cpp='$CPP $CPPFLAGS'
10503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10505ac_compiler_gnu=$ac_cv_c_compiler_gnu
10506
10507
10508
10509ac_ext=c
10510ac_cpp='$CPP $CPPFLAGS'
10511ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10512ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10513ac_compiler_gnu=$ac_cv_c_compiler_gnu
10514echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10515echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10516# On Suns, sometimes $CPP names a directory.
10517if test -n "$CPP" && test -d "$CPP"; then
10518 CPP=
10519fi
10520if test -z "$CPP"; then
10521 if test "${ac_cv_prog_CPP+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10523else
10524 # Double quotes because CPP needs to be expanded
10525 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10526 do
10527 ac_preproc_ok=false
10528for ac_c_preproc_warn_flag in '' yes
10529do
10530 # Use a header file that comes with gcc, so configuring glibc
10531 # with a fresh cross-compiler works.
10532 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10533 # <limits.h> exists even on freestanding compilers.
10534 # On the NeXT, cc -E runs the code through the compiler's parser,
10535 # not just through cpp. "Syntax error" is here to catch this case.
10536 cat >conftest.$ac_ext <<_ACEOF
10537#line $LINENO "configure"
10538/* confdefs.h. */
10539_ACEOF
10540cat confdefs.h >>conftest.$ac_ext
10541cat >>conftest.$ac_ext <<_ACEOF
10542/* end confdefs.h. */
10543#ifdef __STDC__
10544# include <limits.h>
10545#else
10546# include <assert.h>
10547#endif
10548 Syntax error
10549_ACEOF
10550if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10552 ac_status=$?
10553 grep -v '^ *+' conftest.er1 >conftest.err
10554 rm -f conftest.er1
10555 cat conftest.err >&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); } >/dev/null; then
10558 if test -s conftest.err; then
10559 ac_cpp_err=$ac_c_preproc_warn_flag
10560 else
10561 ac_cpp_err=
10562 fi
10563else
10564 ac_cpp_err=yes
10565fi
10566if test -z "$ac_cpp_err"; then
10567 :
10568else
10569 echo "$as_me: failed program was:" >&5
10570sed 's/^/| /' conftest.$ac_ext >&5
10571
10572 # Broken: fails on valid input.
10573continue
10574fi
10575rm -f conftest.err conftest.$ac_ext
10576
10577 # OK, works on sane cases. Now check whether non-existent headers
10578 # can be detected and how.
10579 cat >conftest.$ac_ext <<_ACEOF
10580#line $LINENO "configure"
10581/* confdefs.h. */
10582_ACEOF
10583cat confdefs.h >>conftest.$ac_ext
10584cat >>conftest.$ac_ext <<_ACEOF
10585/* end confdefs.h. */
10586#include <ac_nonexistent.h>
10587_ACEOF
10588if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10590 ac_status=$?
10591 grep -v '^ *+' conftest.er1 >conftest.err
10592 rm -f conftest.er1
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } >/dev/null; then
10596 if test -s conftest.err; then
10597 ac_cpp_err=$ac_c_preproc_warn_flag
10598 else
10599 ac_cpp_err=
10600 fi
10601else
10602 ac_cpp_err=yes
10603fi
10604if test -z "$ac_cpp_err"; then
10605 # Broken: success on invalid input.
10606continue
10607else
10608 echo "$as_me: failed program was:" >&5
10609sed 's/^/| /' conftest.$ac_ext >&5
10610
10611 # Passes both tests.
10612ac_preproc_ok=:
10613break
10614fi
10615rm -f conftest.err conftest.$ac_ext
10616
10617done
10618# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10619rm -f conftest.err conftest.$ac_ext
10620if $ac_preproc_ok; then
10621 break
10622fi
10623
10624 done
10625 ac_cv_prog_CPP=$CPP
10626
10627fi
10628 CPP=$ac_cv_prog_CPP
10629else
10630 ac_cv_prog_CPP=$CPP
10631fi
10632echo "$as_me:$LINENO: result: $CPP" >&5
10633echo "${ECHO_T}$CPP" >&6
10634ac_preproc_ok=false
10635for ac_c_preproc_warn_flag in '' yes
10636do
10637 # Use a header file that comes with gcc, so configuring glibc
10638 # with a fresh cross-compiler works.
10639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10640 # <limits.h> exists even on freestanding compilers.
10641 # On the NeXT, cc -E runs the code through the compiler's parser,
10642 # not just through cpp. "Syntax error" is here to catch this case.
10643 cat >conftest.$ac_ext <<_ACEOF
10644#line $LINENO "configure"
10645/* confdefs.h. */
10646_ACEOF
10647cat confdefs.h >>conftest.$ac_ext
10648cat >>conftest.$ac_ext <<_ACEOF
10649/* end confdefs.h. */
10650#ifdef __STDC__
10651# include <limits.h>
10652#else
10653# include <assert.h>
10654#endif
10655 Syntax error
10656_ACEOF
10657if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10659 ac_status=$?
10660 grep -v '^ *+' conftest.er1 >conftest.err
10661 rm -f conftest.er1
10662 cat conftest.err >&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); } >/dev/null; then
10665 if test -s conftest.err; then
10666 ac_cpp_err=$ac_c_preproc_warn_flag
10667 else
10668 ac_cpp_err=
10669 fi
10670else
10671 ac_cpp_err=yes
10672fi
10673if test -z "$ac_cpp_err"; then
10674 :
10675else
10676 echo "$as_me: failed program was:" >&5
10677sed 's/^/| /' conftest.$ac_ext >&5
10678
10679 # Broken: fails on valid input.
10680continue
10681fi
10682rm -f conftest.err conftest.$ac_ext
10683
10684 # OK, works on sane cases. Now check whether non-existent headers
10685 # can be detected and how.
10686 cat >conftest.$ac_ext <<_ACEOF
10687#line $LINENO "configure"
10688/* confdefs.h. */
10689_ACEOF
10690cat confdefs.h >>conftest.$ac_ext
10691cat >>conftest.$ac_ext <<_ACEOF
10692/* end confdefs.h. */
10693#include <ac_nonexistent.h>
10694_ACEOF
10695if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10697 ac_status=$?
10698 grep -v '^ *+' conftest.er1 >conftest.err
10699 rm -f conftest.er1
10700 cat conftest.err >&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } >/dev/null; then
10703 if test -s conftest.err; then
10704 ac_cpp_err=$ac_c_preproc_warn_flag
10705 else
10706 ac_cpp_err=
10707 fi
10708else
10709 ac_cpp_err=yes
10710fi
10711if test -z "$ac_cpp_err"; then
10712 # Broken: success on invalid input.
10713continue
10714else
10715 echo "$as_me: failed program was:" >&5
10716sed 's/^/| /' conftest.$ac_ext >&5
10717
10718 # Passes both tests.
10719ac_preproc_ok=:
10720break
10721fi
10722rm -f conftest.err conftest.$ac_ext
10723
10724done
10725# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10726rm -f conftest.err conftest.$ac_ext
10727if $ac_preproc_ok; then
10728 :
10729else
10730 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10731See \`config.log' for more details." >&5
10732echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10733See \`config.log' for more details." >&2;}
10734 { (exit 1); exit 1; }; }
10735fi
10736
10737ac_ext=c
10738ac_cpp='$CPP $CPPFLAGS'
10739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10741ac_compiler_gnu=$ac_cv_c_compiler_gnu
10742
10743
10744echo "$as_me:$LINENO: checking for egrep" >&5
10745echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10746if test "${ac_cv_prog_egrep+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10748else
10749 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10750 then ac_cv_prog_egrep='grep -E'
10751 else ac_cv_prog_egrep='egrep'
10752 fi
10753fi
10754echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10755echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10756 EGREP=$ac_cv_prog_egrep
10757
10758
10759if test $ac_cv_c_compiler_gnu = yes; then
10760 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10761echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10762if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10764else
10765 ac_pattern="Autoconf.*'x'"
10766 cat >conftest.$ac_ext <<_ACEOF
10767#line $LINENO "configure"
10768/* confdefs.h. */
10769_ACEOF
10770cat confdefs.h >>conftest.$ac_ext
10771cat >>conftest.$ac_ext <<_ACEOF
10772/* end confdefs.h. */
10773#include <sgtty.h>
10774Autoconf TIOCGETP
10775_ACEOF
10776if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10777 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10778 ac_cv_prog_gcc_traditional=yes
10779else
10780 ac_cv_prog_gcc_traditional=no
10781fi
10782rm -f conftest*
10783
10784
10785 if test $ac_cv_prog_gcc_traditional = no; then
10786 cat >conftest.$ac_ext <<_ACEOF
10787#line $LINENO "configure"
10788/* confdefs.h. */
10789_ACEOF
10790cat confdefs.h >>conftest.$ac_ext
10791cat >>conftest.$ac_ext <<_ACEOF
10792/* end confdefs.h. */
10793#include <termio.h>
10794Autoconf TCGETA
10795_ACEOF
10796if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10797 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10798 ac_cv_prog_gcc_traditional=yes
10799fi
10800rm -f conftest*
10801
10802 fi
10803fi
10804echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10805echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10806 if test $ac_cv_prog_gcc_traditional = yes; then
10807 CC="$CC -traditional"
10808 fi
10809fi
10810
10811
10812
10813
10814ac_ext=cc
10815ac_cpp='$CXXCPP $CPPFLAGS'
10816ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10817ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10818ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10819
10820
10821CXXFLAGS=${CXXFLAGS:=}
10822ac_ext=cc
10823ac_cpp='$CXXCPP $CPPFLAGS'
10824ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10825ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10826ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10827if test -n "$ac_tool_prefix"; then
10828 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10829 do
10830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10831set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10832echo "$as_me:$LINENO: checking for $ac_word" >&5
10833echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10834if test "${ac_cv_prog_CXX+set}" = set; then
10835 echo $ECHO_N "(cached) $ECHO_C" >&6
10836else
10837 if test -n "$CXX"; then
10838 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10839else
10840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10841for as_dir in $PATH
10842do
10843 IFS=$as_save_IFS
10844 test -z "$as_dir" && as_dir=.
10845 for ac_exec_ext in '' $ac_executable_extensions; do
10846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10847 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10849 break 2
10850 fi
10851done
10852done
10853
10854fi
10855fi
10856CXX=$ac_cv_prog_CXX
10857if test -n "$CXX"; then
10858 echo "$as_me:$LINENO: result: $CXX" >&5
10859echo "${ECHO_T}$CXX" >&6
10860else
10861 echo "$as_me:$LINENO: result: no" >&5
10862echo "${ECHO_T}no" >&6
10863fi
10864
10865 test -n "$CXX" && break
10866 done
10867fi
10868if test -z "$CXX"; then
10869 ac_ct_CXX=$CXX
10870 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10871do
10872 # Extract the first word of "$ac_prog", so it can be a program name with args.
10873set dummy $ac_prog; ac_word=$2
10874echo "$as_me:$LINENO: checking for $ac_word" >&5
10875echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10876if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10878else
10879 if test -n "$ac_ct_CXX"; then
10880 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10881else
10882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10883for as_dir in $PATH
10884do
10885 IFS=$as_save_IFS
10886 test -z "$as_dir" && as_dir=.
10887 for ac_exec_ext in '' $ac_executable_extensions; do
10888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10889 ac_cv_prog_ac_ct_CXX="$ac_prog"
10890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10891 break 2
10892 fi
10893done
10894done
10895
10896fi
10897fi
10898ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10899if test -n "$ac_ct_CXX"; then
10900 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10901echo "${ECHO_T}$ac_ct_CXX" >&6
10902else
10903 echo "$as_me:$LINENO: result: no" >&5
10904echo "${ECHO_T}no" >&6
10905fi
10906
10907 test -n "$ac_ct_CXX" && break
10908done
10909test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10910
10911 CXX=$ac_ct_CXX
10912fi
10913
10914
10915# Provide some information about the compiler.
10916echo "$as_me:$LINENO:" \
10917 "checking for C++ compiler version" >&5
10918ac_compiler=`set X $ac_compile; echo $2`
10919{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10920 (eval $ac_compiler --version </dev/null >&5) 2>&5
10921 ac_status=$?
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }
10924{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10925 (eval $ac_compiler -v </dev/null >&5) 2>&5
10926 ac_status=$?
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }
10929{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10930 (eval $ac_compiler -V </dev/null >&5) 2>&5
10931 ac_status=$?
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }
10934
10935echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10936echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10937if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10939else
10940 cat >conftest.$ac_ext <<_ACEOF
10941#line $LINENO "configure"
10942/* confdefs.h. */
10943_ACEOF
10944cat confdefs.h >>conftest.$ac_ext
10945cat >>conftest.$ac_ext <<_ACEOF
10946/* end confdefs.h. */
10947
10948int
10949main ()
10950{
10951#ifndef __GNUC__
10952 choke me
10953#endif
10954
10955 ;
10956 return 0;
10957}
10958_ACEOF
10959rm -f conftest.$ac_objext
10960if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10961 (eval $ac_compile) 2>&5
10962 ac_status=$?
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); } &&
10965 { ac_try='test -s conftest.$ac_objext'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10968 ac_status=$?
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; }; then
10971 ac_compiler_gnu=yes
10972else
10973 echo "$as_me: failed program was:" >&5
10974sed 's/^/| /' conftest.$ac_ext >&5
10975
10976ac_compiler_gnu=no
10977fi
10978rm -f conftest.$ac_objext conftest.$ac_ext
10979ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10980
10981fi
10982echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10983echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10984GXX=`test $ac_compiler_gnu = yes && echo yes`
10985ac_test_CXXFLAGS=${CXXFLAGS+set}
10986ac_save_CXXFLAGS=$CXXFLAGS
10987CXXFLAGS="-g"
10988echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10989echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10990if test "${ac_cv_prog_cxx_g+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
11005 ;
11006 return 0;
11007}
11008_ACEOF
11009rm -f conftest.$ac_objext
11010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11011 (eval $ac_compile) 2>&5
11012 ac_status=$?
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } &&
11015 { ac_try='test -s conftest.$ac_objext'
11016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11017 (eval $ac_try) 2>&5
11018 ac_status=$?
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); }; }; then
11021 ac_cv_prog_cxx_g=yes
11022else
11023 echo "$as_me: failed program was:" >&5
11024sed 's/^/| /' conftest.$ac_ext >&5
11025
11026ac_cv_prog_cxx_g=no
11027fi
11028rm -f conftest.$ac_objext conftest.$ac_ext
11029fi
11030echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11031echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11032if test "$ac_test_CXXFLAGS" = set; then
11033 CXXFLAGS=$ac_save_CXXFLAGS
11034elif test $ac_cv_prog_cxx_g = yes; then
11035 if test "$GXX" = yes; then
11036 CXXFLAGS="-g -O2"
11037 else
11038 CXXFLAGS="-g"
11039 fi
11040else
11041 if test "$GXX" = yes; then
11042 CXXFLAGS="-O2"
11043 else
11044 CXXFLAGS=
11045 fi
11046fi
11047for ac_declaration in \
11048 ''\
11049 '#include <stdlib.h>' \
11050 'extern "C" void std::exit (int) throw (); using std::exit;' \
11051 'extern "C" void std::exit (int); using std::exit;' \
11052 'extern "C" void exit (int) throw ();' \
11053 'extern "C" void exit (int);' \
11054 'void exit (int);'
11055do
11056 cat >conftest.$ac_ext <<_ACEOF
11057#line $LINENO "configure"
11058/* confdefs.h. */
11059_ACEOF
11060cat confdefs.h >>conftest.$ac_ext
11061cat >>conftest.$ac_ext <<_ACEOF
11062/* end confdefs.h. */
11063#include <stdlib.h>
11064$ac_declaration
11065int
11066main ()
11067{
11068exit (42);
11069 ;
11070 return 0;
11071}
11072_ACEOF
11073rm -f conftest.$ac_objext
11074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11075 (eval $ac_compile) 2>&5
11076 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } &&
11079 { ac_try='test -s conftest.$ac_objext'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11082 ac_status=$?
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then
11085 :
11086else
11087 echo "$as_me: failed program was:" >&5
11088sed 's/^/| /' conftest.$ac_ext >&5
11089
11090continue
11091fi
11092rm -f conftest.$ac_objext conftest.$ac_ext
11093 cat >conftest.$ac_ext <<_ACEOF
11094#line $LINENO "configure"
11095/* confdefs.h. */
11096_ACEOF
11097cat confdefs.h >>conftest.$ac_ext
11098cat >>conftest.$ac_ext <<_ACEOF
11099/* end confdefs.h. */
11100$ac_declaration
11101int
11102main ()
11103{
11104exit (42);
11105 ;
11106 return 0;
11107}
11108_ACEOF
11109rm -f conftest.$ac_objext
11110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11111 (eval $ac_compile) 2>&5
11112 ac_status=$?
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } &&
11115 { ac_try='test -s conftest.$ac_objext'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11118 ac_status=$?
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; }; then
11121 break
11122else
11123 echo "$as_me: failed program was:" >&5
11124sed 's/^/| /' conftest.$ac_ext >&5
11125
11126fi
11127rm -f conftest.$ac_objext conftest.$ac_ext
11128done
11129rm -f conftest*
11130if test -n "$ac_declaration"; then
11131 echo '#ifdef __cplusplus' >>confdefs.h
11132 echo $ac_declaration >>confdefs.h
11133 echo '#endif' >>confdefs.h
11134fi
11135
11136ac_ext=cc
11137ac_cpp='$CXXCPP $CPPFLAGS'
11138ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11139ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11140ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11141
11142
11143ac_ext=c
11144ac_cpp='$CPP $CPPFLAGS'
11145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147ac_compiler_gnu=$ac_cv_c_compiler_gnu
11148
11149
11150if test -n "$ac_tool_prefix"; then
11151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11152set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11153echo "$as_me:$LINENO: checking for $ac_word" >&5
11154echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11155if test "${ac_cv_prog_RANLIB+set}" = set; then
11156 echo $ECHO_N "(cached) $ECHO_C" >&6
11157else
11158 if test -n "$RANLIB"; then
11159 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11160else
11161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162for as_dir in $PATH
11163do
11164 IFS=$as_save_IFS
11165 test -z "$as_dir" && as_dir=.
11166 for ac_exec_ext in '' $ac_executable_extensions; do
11167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11168 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11170 break 2
11171 fi
11172done
11173done
11174
11175fi
11176fi
11177RANLIB=$ac_cv_prog_RANLIB
11178if test -n "$RANLIB"; then
11179 echo "$as_me:$LINENO: result: $RANLIB" >&5
11180echo "${ECHO_T}$RANLIB" >&6
11181else
11182 echo "$as_me:$LINENO: result: no" >&5
11183echo "${ECHO_T}no" >&6
11184fi
11185
11186fi
11187if test -z "$ac_cv_prog_RANLIB"; then
11188 ac_ct_RANLIB=$RANLIB
11189 # Extract the first word of "ranlib", so it can be a program name with args.
11190set dummy ranlib; ac_word=$2
11191echo "$as_me:$LINENO: checking for $ac_word" >&5
11192echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11193if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11194 echo $ECHO_N "(cached) $ECHO_C" >&6
11195else
11196 if test -n "$ac_ct_RANLIB"; then
11197 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11198else
11199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11200for as_dir in $PATH
11201do
11202 IFS=$as_save_IFS
11203 test -z "$as_dir" && as_dir=.
11204 for ac_exec_ext in '' $ac_executable_extensions; do
11205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11206 ac_cv_prog_ac_ct_RANLIB="ranlib"
11207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11208 break 2
11209 fi
11210done
11211done
11212
11213 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11214fi
11215fi
11216ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11217if test -n "$ac_ct_RANLIB"; then
11218 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11219echo "${ECHO_T}$ac_ct_RANLIB" >&6
11220else
11221 echo "$as_me:$LINENO: result: no" >&5
11222echo "${ECHO_T}no" >&6
11223fi
11224
11225 RANLIB=$ac_ct_RANLIB
11226else
11227 RANLIB="$ac_cv_prog_RANLIB"
11228fi
11229
11230
11231# Extract the first word of "ar", so it can be a program name with args.
11232set dummy ar; ac_word=$2
11233echo "$as_me:$LINENO: checking for $ac_word" >&5
11234echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11235if test "${ac_cv_prog_AR+set}" = set; then
11236 echo $ECHO_N "(cached) $ECHO_C" >&6
11237else
11238 if test -n "$AR"; then
11239 ac_cv_prog_AR="$AR" # Let the user override the test.
11240else
11241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11242for as_dir in $PATH
11243do
11244 IFS=$as_save_IFS
11245 test -z "$as_dir" && as_dir=.
11246 for ac_exec_ext in '' $ac_executable_extensions; do
11247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11248 ac_cv_prog_AR="ar"
11249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11250 break 2
11251 fi
11252done
11253done
11254
11255 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11256fi
11257fi
11258AR=$ac_cv_prog_AR
11259if test -n "$AR"; then
11260 echo "$as_me:$LINENO: result: $AR" >&5
11261echo "${ECHO_T}$AR" >&6
11262else
11263 echo "$as_me:$LINENO: result: no" >&5
11264echo "${ECHO_T}no" >&6
11265fi
11266
11267
11268# Find a good install program. We prefer a C program (faster),
11269# so one script is as good as another. But avoid the broken or
11270# incompatible versions:
11271# SysV /etc/install, /usr/sbin/install
11272# SunOS /usr/etc/install
11273# IRIX /sbin/install
11274# AIX /bin/install
11275# AmigaOS /C/install, which installs bootblocks on floppy discs
11276# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11277# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11278# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11279# ./install, which can be erroneously created by make from ./install.sh.
11280echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11281echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11282if test -z "$INSTALL"; then
11283if test "${ac_cv_path_install+set}" = set; then
11284 echo $ECHO_N "(cached) $ECHO_C" >&6
11285else
11286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11287for as_dir in $PATH
11288do
11289 IFS=$as_save_IFS
11290 test -z "$as_dir" && as_dir=.
11291 # Account for people who put trailing slashes in PATH elements.
11292case $as_dir/ in
11293 ./ | .// | /cC/* | \
11294 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11295 /usr/ucb/* ) ;;
11296 *)
11297 # OSF1 and SCO ODT 3.0 have their own names for install.
11298 # Don't use installbsd from OSF since it installs stuff as root
11299 # by default.
11300 for ac_prog in ginstall scoinst install; do
11301 for ac_exec_ext in '' $ac_executable_extensions; do
11302 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11303 if test $ac_prog = install &&
11304 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11305 # AIX install. It has an incompatible calling convention.
11306 :
11307 elif test $ac_prog = install &&
11308 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11309 # program-specific install script used by HP pwplus--don't use.
11310 :
11311 else
11312 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11313 break 3
11314 fi
11315 fi
11316 done
11317 done
11318 ;;
11319esac
11320done
11321
11322
11323fi
11324 if test "${ac_cv_path_install+set}" = set; then
11325 INSTALL=$ac_cv_path_install
11326 else
11327 # As a last resort, use the slow shell script. We don't cache a
11328 # path for INSTALL within a source directory, because that will
11329 # break other packages using the cache if that directory is
11330 # removed, or if the path is relative.
11331 INSTALL=$ac_install_sh
11332 fi
11333fi
11334echo "$as_me:$LINENO: result: $INSTALL" >&5
11335echo "${ECHO_T}$INSTALL" >&6
11336
11337# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11338# It thinks the first close brace ends the variable substitution.
11339test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11340
11341test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11342
11343test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11344
11345
11346case ${INSTALL} in
11347 /* ) # Absolute
11348 ;;
11349 ?:* ) # Drive letter, considered as absolute.
11350 ;;
11351 *)
11352 INSTALL=`pwd`/${INSTALL} ;;
11353esac
11354
11355case ${host} in
11356 *-hp-hpux* )
11357 INSTALL_DIR="mkdir"
11358 ;;
11359
11360 *) INSTALL_DIR="$INSTALL -d"
11361 ;;
11362esac
11363
11364
11365case "${host}" in
11366
11367 powerpc-*-darwin* )
11368 INSTALL_PROGRAM="cp -fp"
11369 INSTALL_DATA="cp -fp"
11370 ;;
11371 *)
11372 ;;
11373esac
11374
11375# Extract the first word of "strip", so it can be a program name with args.
11376set dummy strip; ac_word=$2
11377echo "$as_me:$LINENO: checking for $ac_word" >&5
11378echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11379if test "${ac_cv_prog_STRIP+set}" = set; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11381else
11382 if test -n "$STRIP"; then
11383 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11384else
11385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11386for as_dir in $PATH
11387do
11388 IFS=$as_save_IFS
11389 test -z "$as_dir" && as_dir=.
11390 for ac_exec_ext in '' $ac_executable_extensions; do
11391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11392 ac_cv_prog_STRIP="strip"
11393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11394 break 2
11395 fi
11396done
11397done
11398
11399 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11400fi
11401fi
11402STRIP=$ac_cv_prog_STRIP
11403if test -n "$STRIP"; then
11404 echo "$as_me:$LINENO: result: $STRIP" >&5
11405echo "${ECHO_T}$STRIP" >&6
11406else
11407 echo "$as_me:$LINENO: result: no" >&5
11408echo "${ECHO_T}no" >&6
11409fi
11410
11411
11412echo "$as_me:$LINENO: checking if make is GNU make" >&5
11413echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11414if test "${wx_cv_prog_makeisgnu+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11416else
11417
11418 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11419 egrep -s GNU > /dev/null); then
11420 wx_cv_prog_makeisgnu="yes"
11421 else
11422 wx_cv_prog_makeisgnu="no"
11423 fi
11424
11425fi
11426echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11427echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11428
11429if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11430 IF_GNU_MAKE=""
11431else
11432 IF_GNU_MAKE="#"
11433fi
11434
11435
11436
11437if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11438echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11439echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11440if test "${wx_cv_prog_makevpath+set}" = set; then
11441 echo $ECHO_N "(cached) $ECHO_C" >&6
11442else
11443
11444cat - << EOF > confMake
11445check : file
11446 cp \$? \$@
11447 cp \$? final_file
11448EOF
11449
11450if test ! -d sub ; then
11451 mkdir sub
11452fi
11453echo dummy > sub/file
11454${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11455RESULT=$?
11456rm -f sub/file check final_file confMake
11457rmdir sub
11458if test "$RESULT" = 0; then
11459 wx_cv_prog_makevpath="yes"
11460else
11461 wx_cv_prog_makevpath="no"
11462fi
11463
11464fi
11465echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11466echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11467
11468if test "x$wx_cv_prog_makevpath" != "xyes"; then
11469{ { echo "$as_me:$LINENO: error:
11470You need a make-utility that is able to use the variable
11471VPATH correctly.
11472If your version of make does not support VPATH correctly,
11473please install GNU-make (possibly as gmake), and start
11474configure with the following command:
11475export MAKE=gmake; ./configure for sh-type shells
11476setenv MAKE gmake; ./configure for csh-type shells
11477Also please do remember to use gmake in this case every time
11478you are trying to compile.
11479" >&5
11480echo "$as_me: error:
11481You need a make-utility that is able to use the variable
11482VPATH correctly.
11483If your version of make does not support VPATH correctly,
11484please install GNU-make (possibly as gmake), and start
11485configure with the following command:
11486export MAKE=gmake; ./configure for sh-type shells
11487setenv MAKE gmake; ./configure for csh-type shells
11488Also please do remember to use gmake in this case every time
11489you are trying to compile.
11490" >&2;}
11491 { (exit 1); exit 1; }; }
11492fi fi
11493for ac_prog in 'bison -y' byacc
11494do
11495 # Extract the first word of "$ac_prog", so it can be a program name with args.
11496set dummy $ac_prog; ac_word=$2
11497echo "$as_me:$LINENO: checking for $ac_word" >&5
11498echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11499if test "${ac_cv_prog_YACC+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11501else
11502 if test -n "$YACC"; then
11503 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11504else
11505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11506for as_dir in $PATH
11507do
11508 IFS=$as_save_IFS
11509 test -z "$as_dir" && as_dir=.
11510 for ac_exec_ext in '' $ac_executable_extensions; do
11511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11512 ac_cv_prog_YACC="$ac_prog"
11513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11514 break 2
11515 fi
11516done
11517done
11518
11519fi
11520fi
11521YACC=$ac_cv_prog_YACC
11522if test -n "$YACC"; then
11523 echo "$as_me:$LINENO: result: $YACC" >&5
11524echo "${ECHO_T}$YACC" >&6
11525else
11526 echo "$as_me:$LINENO: result: no" >&5
11527echo "${ECHO_T}no" >&6
11528fi
11529
11530 test -n "$YACC" && break
11531done
11532test -n "$YACC" || YACC="yacc"
11533
11534
11535for ac_prog in flex lex
11536do
11537 # Extract the first word of "$ac_prog", so it can be a program name with args.
11538set dummy $ac_prog; ac_word=$2
11539echo "$as_me:$LINENO: checking for $ac_word" >&5
11540echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11541if test "${ac_cv_prog_LEX+set}" = set; then
11542 echo $ECHO_N "(cached) $ECHO_C" >&6
11543else
11544 if test -n "$LEX"; then
11545 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11546else
11547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548for as_dir in $PATH
11549do
11550 IFS=$as_save_IFS
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11554 ac_cv_prog_LEX="$ac_prog"
11555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11556 break 2
11557 fi
11558done
11559done
11560
11561fi
11562fi
11563LEX=$ac_cv_prog_LEX
11564if test -n "$LEX"; then
11565 echo "$as_me:$LINENO: result: $LEX" >&5
11566echo "${ECHO_T}$LEX" >&6
11567else
11568 echo "$as_me:$LINENO: result: no" >&5
11569echo "${ECHO_T}no" >&6
11570fi
11571
11572 test -n "$LEX" && break
11573done
11574test -n "$LEX" || LEX=":"
11575
11576if test -z "$LEXLIB"
11577then
11578 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11579echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11580if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11582else
11583 ac_check_lib_save_LIBS=$LIBS
11584LIBS="-lfl $LIBS"
11585cat >conftest.$ac_ext <<_ACEOF
11586#line $LINENO "configure"
11587/* confdefs.h. */
11588_ACEOF
11589cat confdefs.h >>conftest.$ac_ext
11590cat >>conftest.$ac_ext <<_ACEOF
11591/* end confdefs.h. */
11592
11593/* Override any gcc2 internal prototype to avoid an error. */
11594#ifdef __cplusplus
11595extern "C"
11596#endif
11597/* We use char because int might match the return type of a gcc2
11598 builtin and then its argument prototype would still apply. */
11599char yywrap ();
11600int
11601main ()
11602{
11603yywrap ();
11604 ;
11605 return 0;
11606}
11607_ACEOF
11608rm -f conftest.$ac_objext conftest$ac_exeext
11609if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11610 (eval $ac_link) 2>&5
11611 ac_status=$?
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } &&
11614 { ac_try='test -s conftest$ac_exeext'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11617 ac_status=$?
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; }; then
11620 ac_cv_lib_fl_yywrap=yes
11621else
11622 echo "$as_me: failed program was:" >&5
11623sed 's/^/| /' conftest.$ac_ext >&5
11624
11625ac_cv_lib_fl_yywrap=no
11626fi
11627rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11628LIBS=$ac_check_lib_save_LIBS
11629fi
11630echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11631echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11632if test $ac_cv_lib_fl_yywrap = yes; then
11633 LEXLIB="-lfl"
11634else
11635 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11636echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11637if test "${ac_cv_lib_l_yywrap+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11639else
11640 ac_check_lib_save_LIBS=$LIBS
11641LIBS="-ll $LIBS"
11642cat >conftest.$ac_ext <<_ACEOF
11643#line $LINENO "configure"
11644/* confdefs.h. */
11645_ACEOF
11646cat confdefs.h >>conftest.$ac_ext
11647cat >>conftest.$ac_ext <<_ACEOF
11648/* end confdefs.h. */
11649
11650/* Override any gcc2 internal prototype to avoid an error. */
11651#ifdef __cplusplus
11652extern "C"
11653#endif
11654/* We use char because int might match the return type of a gcc2
11655 builtin and then its argument prototype would still apply. */
11656char yywrap ();
11657int
11658main ()
11659{
11660yywrap ();
11661 ;
11662 return 0;
11663}
11664_ACEOF
11665rm -f conftest.$ac_objext conftest$ac_exeext
11666if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); } &&
11671 { ac_try='test -s conftest$ac_exeext'
11672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11673 (eval $ac_try) 2>&5
11674 ac_status=$?
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); }; }; then
11677 ac_cv_lib_l_yywrap=yes
11678else
11679 echo "$as_me: failed program was:" >&5
11680sed 's/^/| /' conftest.$ac_ext >&5
11681
11682ac_cv_lib_l_yywrap=no
11683fi
11684rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11685LIBS=$ac_check_lib_save_LIBS
11686fi
11687echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11688echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11689if test $ac_cv_lib_l_yywrap = yes; then
11690 LEXLIB="-ll"
11691fi
11692
11693fi
11694
11695fi
11696
11697if test "x$LEX" != "x:"; then
11698 echo "$as_me:$LINENO: checking lex output file root" >&5
11699echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11700if test "${ac_cv_prog_lex_root+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11702else
11703 # The minimal lex program is just a single line: %%. But some broken lexes
11704# (Solaris, I think it was) want two %% lines, so accommodate them.
11705cat >conftest.l <<_ACEOF
11706%%
11707%%
11708_ACEOF
11709{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11710 (eval $LEX conftest.l) 2>&5
11711 ac_status=$?
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }
11714if test -f lex.yy.c; then
11715 ac_cv_prog_lex_root=lex.yy
11716elif test -f lexyy.c; then
11717 ac_cv_prog_lex_root=lexyy
11718else
11719 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11720echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11721 { (exit 1); exit 1; }; }
11722fi
11723fi
11724echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11725echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11726rm -f conftest.l
11727LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11728
11729echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11730echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11731if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11732 echo $ECHO_N "(cached) $ECHO_C" >&6
11733else
11734 # POSIX says lex can declare yytext either as a pointer or an array; the
11735# default is implementation-dependent. Figure out which it is, since
11736# not all implementations provide the %pointer and %array declarations.
11737ac_cv_prog_lex_yytext_pointer=no
11738echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11739ac_save_LIBS=$LIBS
11740LIBS="$LIBS $LEXLIB"
11741cat >conftest.$ac_ext <<_ACEOF
11742`cat $LEX_OUTPUT_ROOT.c`
11743_ACEOF
11744rm -f conftest.$ac_objext conftest$ac_exeext
11745if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11746 (eval $ac_link) 2>&5
11747 ac_status=$?
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } &&
11750 { ac_try='test -s conftest$ac_exeext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11753 ac_status=$?
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11756 ac_cv_prog_lex_yytext_pointer=yes
11757else
11758 echo "$as_me: failed program was:" >&5
11759sed 's/^/| /' conftest.$ac_ext >&5
11760
11761fi
11762rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11763LIBS=$ac_save_LIBS
11764rm -f "${LEX_OUTPUT_ROOT}.c"
11765
11766fi
11767echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11768echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11769if test $ac_cv_prog_lex_yytext_pointer = yes; then
11770
11771cat >>confdefs.h <<\_ACEOF
11772#define YYTEXT_POINTER 1
11773_ACEOF
11774
11775fi
11776
11777fi
11778
11779echo "$as_me:$LINENO: checking whether ln -s works" >&5
11780echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11781LN_S=$as_ln_s
11782if test "$LN_S" = "ln -s"; then
11783 echo "$as_me:$LINENO: result: yes" >&5
11784echo "${ECHO_T}yes" >&6
11785else
11786 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11787echo "${ECHO_T}no, using $LN_S" >&6
11788fi
11789
11790
11791case "${host}" in
11792 *-pc-os2_emx | *-pc-os2-emx )
11793 LIBS="$LIBS -lstdcpp"
11794 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11795 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11796echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11797if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11799else
11800 ac_check_lib_save_LIBS=$LIBS
11801LIBS="-lcExt $LIBS"
11802cat >conftest.$ac_ext <<_ACEOF
11803#line $LINENO "configure"
11804/* confdefs.h. */
11805_ACEOF
11806cat confdefs.h >>conftest.$ac_ext
11807cat >>conftest.$ac_ext <<_ACEOF
11808/* end confdefs.h. */
11809
11810/* Override any gcc2 internal prototype to avoid an error. */
11811#ifdef __cplusplus
11812extern "C"
11813#endif
11814/* We use char because int might match the return type of a gcc2
11815 builtin and then its argument prototype would still apply. */
11816char drand48 ();
11817int
11818main ()
11819{
11820drand48 ();
11821 ;
11822 return 0;
11823}
11824_ACEOF
11825rm -f conftest.$ac_objext conftest$ac_exeext
11826if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11827 (eval $ac_link) 2>&5
11828 ac_status=$?
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); } &&
11831 { ac_try='test -s conftest$ac_exeext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11834 ac_status=$?
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 ac_cv_lib_cExt_drand48=yes
11838else
11839 echo "$as_me: failed program was:" >&5
11840sed 's/^/| /' conftest.$ac_ext >&5
11841
11842ac_cv_lib_cExt_drand48=no
11843fi
11844rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11845LIBS=$ac_check_lib_save_LIBS
11846fi
11847echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11848echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11849if test $ac_cv_lib_cExt_drand48 = yes; then
11850 LIBS="$LIBS -lcExt"
11851fi
11852
11853 else
11854 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11855 fi
11856 ;;
11857esac
11858
11859
11860if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11861 echo "$as_me:$LINENO: checking for strings.h" >&5
11862echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11863if test "${ac_cv_header_strings_h+set}" = set; then
11864 echo $ECHO_N "(cached) $ECHO_C" >&6
11865else
11866 ac_cv_header_strings_h=no
11867fi
11868echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11869echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11870 if test "$ac_cv_header_strings_h" = "no"; then
11871 echo "$as_me:$LINENO: result: forced no into cache" >&5
11872echo "${ECHO_T}forced no into cache" >&6
11873 else
11874 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11875echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11876 fi
11877fi
11878echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11879echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11880if test "${ac_cv_header_stdc+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11882else
11883 cat >conftest.$ac_ext <<_ACEOF
11884#line $LINENO "configure"
11885/* confdefs.h. */
11886_ACEOF
11887cat confdefs.h >>conftest.$ac_ext
11888cat >>conftest.$ac_ext <<_ACEOF
11889/* end confdefs.h. */
11890#include <stdlib.h>
11891#include <stdarg.h>
11892#include <string.h>
11893#include <float.h>
11894
11895int
11896main ()
11897{
11898
11899 ;
11900 return 0;
11901}
11902_ACEOF
11903rm -f conftest.$ac_objext
11904if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11905 (eval $ac_compile) 2>&5
11906 ac_status=$?
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try='test -s conftest.$ac_objext'
11910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911 (eval $ac_try) 2>&5
11912 ac_status=$?
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }; }; then
11915 ac_cv_header_stdc=yes
11916else
11917 echo "$as_me: failed program was:" >&5
11918sed 's/^/| /' conftest.$ac_ext >&5
11919
11920ac_cv_header_stdc=no
11921fi
11922rm -f conftest.$ac_objext conftest.$ac_ext
11923
11924if test $ac_cv_header_stdc = yes; then
11925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11926 cat >conftest.$ac_ext <<_ACEOF
11927#line $LINENO "configure"
11928/* confdefs.h. */
11929_ACEOF
11930cat confdefs.h >>conftest.$ac_ext
11931cat >>conftest.$ac_ext <<_ACEOF
11932/* end confdefs.h. */
11933#include <string.h>
11934
11935_ACEOF
11936if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11937 $EGREP "memchr" >/dev/null 2>&1; then
11938 :
11939else
11940 ac_cv_header_stdc=no
11941fi
11942rm -f conftest*
11943
11944fi
11945
11946if test $ac_cv_header_stdc = yes; then
11947 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11948 cat >conftest.$ac_ext <<_ACEOF
11949#line $LINENO "configure"
11950/* confdefs.h. */
11951_ACEOF
11952cat confdefs.h >>conftest.$ac_ext
11953cat >>conftest.$ac_ext <<_ACEOF
11954/* end confdefs.h. */
11955#include <stdlib.h>
11956
11957_ACEOF
11958if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11959 $EGREP "free" >/dev/null 2>&1; then
11960 :
11961else
11962 ac_cv_header_stdc=no
11963fi
11964rm -f conftest*
11965
11966fi
11967
11968if test $ac_cv_header_stdc = yes; then
11969 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11970 if test "$cross_compiling" = yes; then
11971 :
11972else
11973 cat >conftest.$ac_ext <<_ACEOF
11974#line $LINENO "configure"
11975/* confdefs.h. */
11976_ACEOF
11977cat confdefs.h >>conftest.$ac_ext
11978cat >>conftest.$ac_ext <<_ACEOF
11979/* end confdefs.h. */
11980#include <ctype.h>
11981#if ((' ' & 0x0FF) == 0x020)
11982# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11983# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11984#else
11985# define ISLOWER(c) \
11986 (('a' <= (c) && (c) <= 'i') \
11987 || ('j' <= (c) && (c) <= 'r') \
11988 || ('s' <= (c) && (c) <= 'z'))
11989# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11990#endif
11991
11992#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11993int
11994main ()
11995{
11996 int i;
11997 for (i = 0; i < 256; i++)
11998 if (XOR (islower (i), ISLOWER (i))
11999 || toupper (i) != TOUPPER (i))
12000 exit(2);
12001 exit (0);
12002}
12003_ACEOF
12004rm -f conftest$ac_exeext
12005if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12006 (eval $ac_link) 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12011 (eval $ac_try) 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); }; }; then
12015 :
12016else
12017 echo "$as_me: program exited with status $ac_status" >&5
12018echo "$as_me: failed program was:" >&5
12019sed 's/^/| /' conftest.$ac_ext >&5
12020
12021( exit $ac_status )
12022ac_cv_header_stdc=no
12023fi
12024rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12025fi
12026fi
12027fi
12028echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12029echo "${ECHO_T}$ac_cv_header_stdc" >&6
12030if test $ac_cv_header_stdc = yes; then
12031
12032cat >>confdefs.h <<\_ACEOF
12033#define STDC_HEADERS 1
12034_ACEOF
12035
12036fi
12037
12038# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12049 inttypes.h stdint.h unistd.h
12050do
12051as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12052echo "$as_me:$LINENO: checking for $ac_header" >&5
12053echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12054if eval "test \"\${$as_ac_Header+set}\" = set"; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12056else
12057 cat >conftest.$ac_ext <<_ACEOF
12058#line $LINENO "configure"
12059/* confdefs.h. */
12060_ACEOF
12061cat confdefs.h >>conftest.$ac_ext
12062cat >>conftest.$ac_ext <<_ACEOF
12063/* end confdefs.h. */
12064$ac_includes_default
12065
12066#include <$ac_header>
12067_ACEOF
12068rm -f conftest.$ac_objext
12069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12070 (eval $ac_compile) 2>&5
12071 ac_status=$?
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); } &&
12074 { ac_try='test -s conftest.$ac_objext'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12077 ac_status=$?
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; }; then
12080 eval "$as_ac_Header=yes"
12081else
12082 echo "$as_me: failed program was:" >&5
12083sed 's/^/| /' conftest.$ac_ext >&5
12084
12085eval "$as_ac_Header=no"
12086fi
12087rm -f conftest.$ac_objext conftest.$ac_ext
12088fi
12089echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12090echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12091if test `eval echo '${'$as_ac_Header'}'` = yes; then
12092 cat >>confdefs.h <<_ACEOF
12093#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12094_ACEOF
12095
12096fi
12097
12098done
12099
12100
12101
12102for ac_header in strings.h
12103do
12104as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12105if eval "test \"\${$as_ac_Header+set}\" = set"; then
12106 echo "$as_me:$LINENO: checking for $ac_header" >&5
12107echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12108if eval "test \"\${$as_ac_Header+set}\" = set"; then
12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12110fi
12111echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12112echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12113else
12114 # Is the header compilable?
12115echo "$as_me:$LINENO: checking $ac_header usability" >&5
12116echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12117cat >conftest.$ac_ext <<_ACEOF
12118#line $LINENO "configure"
12119/* confdefs.h. */
12120_ACEOF
12121cat confdefs.h >>conftest.$ac_ext
12122cat >>conftest.$ac_ext <<_ACEOF
12123/* end confdefs.h. */
12124$ac_includes_default
12125#include <$ac_header>
12126_ACEOF
12127rm -f conftest.$ac_objext
12128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12129 (eval $ac_compile) 2>&5
12130 ac_status=$?
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try='test -s conftest.$ac_objext'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12136 ac_status=$?
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; }; then
12139 ac_header_compiler=yes
12140else
12141 echo "$as_me: failed program was:" >&5
12142sed 's/^/| /' conftest.$ac_ext >&5
12143
12144ac_header_compiler=no
12145fi
12146rm -f conftest.$ac_objext conftest.$ac_ext
12147echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12148echo "${ECHO_T}$ac_header_compiler" >&6
12149
12150# Is the header present?
12151echo "$as_me:$LINENO: checking $ac_header presence" >&5
12152echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12153cat >conftest.$ac_ext <<_ACEOF
12154#line $LINENO "configure"
12155/* confdefs.h. */
12156_ACEOF
12157cat confdefs.h >>conftest.$ac_ext
12158cat >>conftest.$ac_ext <<_ACEOF
12159/* end confdefs.h. */
12160#include <$ac_header>
12161_ACEOF
12162if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12164 ac_status=$?
12165 grep -v '^ *+' conftest.er1 >conftest.err
12166 rm -f conftest.er1
12167 cat conftest.err >&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } >/dev/null; then
12170 if test -s conftest.err; then
12171 ac_cpp_err=$ac_c_preproc_warn_flag
12172 else
12173 ac_cpp_err=
12174 fi
12175else
12176 ac_cpp_err=yes
12177fi
12178if test -z "$ac_cpp_err"; then
12179 ac_header_preproc=yes
12180else
12181 echo "$as_me: failed program was:" >&5
12182sed 's/^/| /' conftest.$ac_ext >&5
12183
12184 ac_header_preproc=no
12185fi
12186rm -f conftest.err conftest.$ac_ext
12187echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12188echo "${ECHO_T}$ac_header_preproc" >&6
12189
12190# So? What about this header?
12191case $ac_header_compiler:$ac_header_preproc in
12192 yes:no )
12193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12194echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12196echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12197 (
12198 cat <<\_ASBOX
12199## ------------------------------------ ##
12200## Report this to bug-autoconf@gnu.org. ##
12201## ------------------------------------ ##
12202_ASBOX
12203 ) |
12204 sed "s/^/$as_me: WARNING: /" >&2
12205 ;;
12206 no:yes )
12207 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12208echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12209 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12210echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12212echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12213 (
12214 cat <<\_ASBOX
12215## ------------------------------------ ##
12216## Report this to bug-autoconf@gnu.org. ##
12217## ------------------------------------ ##
12218_ASBOX
12219 ) |
12220 sed "s/^/$as_me: WARNING: /" >&2
12221 ;;
12222esac
12223echo "$as_me:$LINENO: checking for $ac_header" >&5
12224echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12225if eval "test \"\${$as_ac_Header+set}\" = set"; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12227else
12228 eval "$as_ac_Header=$ac_header_preproc"
12229fi
12230echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12231echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12232
12233fi
12234if test `eval echo '${'$as_ac_Header'}'` = yes; then
12235 cat >>confdefs.h <<_ACEOF
12236#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12237_ACEOF
12238
12239fi
12240
12241done
12242
12243
12244
12245for ac_header in stdlib.h
12246do
12247as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12248if eval "test \"\${$as_ac_Header+set}\" = set"; then
12249 echo "$as_me:$LINENO: checking for $ac_header" >&5
12250echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12251if eval "test \"\${$as_ac_Header+set}\" = set"; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12253fi
12254echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12255echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12256else
12257 # Is the header compilable?
12258echo "$as_me:$LINENO: checking $ac_header usability" >&5
12259echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12260cat >conftest.$ac_ext <<_ACEOF
12261#line $LINENO "configure"
12262/* confdefs.h. */
12263_ACEOF
12264cat confdefs.h >>conftest.$ac_ext
12265cat >>conftest.$ac_ext <<_ACEOF
12266/* end confdefs.h. */
12267$ac_includes_default
12268#include <$ac_header>
12269_ACEOF
12270rm -f conftest.$ac_objext
12271if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12272 (eval $ac_compile) 2>&5
12273 ac_status=$?
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } &&
12276 { ac_try='test -s conftest.$ac_objext'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12279 ac_status=$?
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; }; then
12282 ac_header_compiler=yes
12283else
12284 echo "$as_me: failed program was:" >&5
12285sed 's/^/| /' conftest.$ac_ext >&5
12286
12287ac_header_compiler=no
12288fi
12289rm -f conftest.$ac_objext conftest.$ac_ext
12290echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12291echo "${ECHO_T}$ac_header_compiler" >&6
12292
12293# Is the header present?
12294echo "$as_me:$LINENO: checking $ac_header presence" >&5
12295echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12296cat >conftest.$ac_ext <<_ACEOF
12297#line $LINENO "configure"
12298/* confdefs.h. */
12299_ACEOF
12300cat confdefs.h >>conftest.$ac_ext
12301cat >>conftest.$ac_ext <<_ACEOF
12302/* end confdefs.h. */
12303#include <$ac_header>
12304_ACEOF
12305if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12307 ac_status=$?
12308 grep -v '^ *+' conftest.er1 >conftest.err
12309 rm -f conftest.er1
12310 cat conftest.err >&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); } >/dev/null; then
12313 if test -s conftest.err; then
12314 ac_cpp_err=$ac_c_preproc_warn_flag
12315 else
12316 ac_cpp_err=
12317 fi
12318else
12319 ac_cpp_err=yes
12320fi
12321if test -z "$ac_cpp_err"; then
12322 ac_header_preproc=yes
12323else
12324 echo "$as_me: failed program was:" >&5
12325sed 's/^/| /' conftest.$ac_ext >&5
12326
12327 ac_header_preproc=no
12328fi
12329rm -f conftest.err conftest.$ac_ext
12330echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12331echo "${ECHO_T}$ac_header_preproc" >&6
12332
12333# So? What about this header?
12334case $ac_header_compiler:$ac_header_preproc in
12335 yes:no )
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12337echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12339echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12340 (
12341 cat <<\_ASBOX
12342## ------------------------------------ ##
12343## Report this to bug-autoconf@gnu.org. ##
12344## ------------------------------------ ##
12345_ASBOX
12346 ) |
12347 sed "s/^/$as_me: WARNING: /" >&2
12348 ;;
12349 no:yes )
12350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12351echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12353echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12355echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12356 (
12357 cat <<\_ASBOX
12358## ------------------------------------ ##
12359## Report this to bug-autoconf@gnu.org. ##
12360## ------------------------------------ ##
12361_ASBOX
12362 ) |
12363 sed "s/^/$as_me: WARNING: /" >&2
12364 ;;
12365esac
12366echo "$as_me:$LINENO: checking for $ac_header" >&5
12367echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12368if eval "test \"\${$as_ac_Header+set}\" = set"; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12370else
12371 eval "$as_ac_Header=$ac_header_preproc"
12372fi
12373echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12374echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12375
12376fi
12377if test `eval echo '${'$as_ac_Header'}'` = yes; then
12378 cat >>confdefs.h <<_ACEOF
12379#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12380_ACEOF
12381
12382fi
12383
12384done
12385
12386
12387for ac_header in malloc.h
12388do
12389as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12390if eval "test \"\${$as_ac_Header+set}\" = set"; then
12391 echo "$as_me:$LINENO: checking for $ac_header" >&5
12392echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12393if eval "test \"\${$as_ac_Header+set}\" = set"; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12395fi
12396echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12397echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12398else
12399 # Is the header compilable?
12400echo "$as_me:$LINENO: checking $ac_header usability" >&5
12401echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12402cat >conftest.$ac_ext <<_ACEOF
12403#line $LINENO "configure"
12404/* confdefs.h. */
12405_ACEOF
12406cat confdefs.h >>conftest.$ac_ext
12407cat >>conftest.$ac_ext <<_ACEOF
12408/* end confdefs.h. */
12409$ac_includes_default
12410#include <$ac_header>
12411_ACEOF
12412rm -f conftest.$ac_objext
12413if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12414 (eval $ac_compile) 2>&5
12415 ac_status=$?
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); } &&
12418 { ac_try='test -s conftest.$ac_objext'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; }; then
12424 ac_header_compiler=yes
12425else
12426 echo "$as_me: failed program was:" >&5
12427sed 's/^/| /' conftest.$ac_ext >&5
12428
12429ac_header_compiler=no
12430fi
12431rm -f conftest.$ac_objext conftest.$ac_ext
12432echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12433echo "${ECHO_T}$ac_header_compiler" >&6
12434
12435# Is the header present?
12436echo "$as_me:$LINENO: checking $ac_header presence" >&5
12437echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12438cat >conftest.$ac_ext <<_ACEOF
12439#line $LINENO "configure"
12440/* confdefs.h. */
12441_ACEOF
12442cat confdefs.h >>conftest.$ac_ext
12443cat >>conftest.$ac_ext <<_ACEOF
12444/* end confdefs.h. */
12445#include <$ac_header>
12446_ACEOF
12447if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12449 ac_status=$?
12450 grep -v '^ *+' conftest.er1 >conftest.err
12451 rm -f conftest.er1
12452 cat conftest.err >&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } >/dev/null; then
12455 if test -s conftest.err; then
12456 ac_cpp_err=$ac_c_preproc_warn_flag
12457 else
12458 ac_cpp_err=
12459 fi
12460else
12461 ac_cpp_err=yes
12462fi
12463if test -z "$ac_cpp_err"; then
12464 ac_header_preproc=yes
12465else
12466 echo "$as_me: failed program was:" >&5
12467sed 's/^/| /' conftest.$ac_ext >&5
12468
12469 ac_header_preproc=no
12470fi
12471rm -f conftest.err conftest.$ac_ext
12472echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12473echo "${ECHO_T}$ac_header_preproc" >&6
12474
12475# So? What about this header?
12476case $ac_header_compiler:$ac_header_preproc in
12477 yes:no )
12478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12479echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12481echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12482 (
12483 cat <<\_ASBOX
12484## ------------------------------------ ##
12485## Report this to bug-autoconf@gnu.org. ##
12486## ------------------------------------ ##
12487_ASBOX
12488 ) |
12489 sed "s/^/$as_me: WARNING: /" >&2
12490 ;;
12491 no:yes )
12492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12493echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12495echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12497echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12498 (
12499 cat <<\_ASBOX
12500## ------------------------------------ ##
12501## Report this to bug-autoconf@gnu.org. ##
12502## ------------------------------------ ##
12503_ASBOX
12504 ) |
12505 sed "s/^/$as_me: WARNING: /" >&2
12506 ;;
12507esac
12508echo "$as_me:$LINENO: checking for $ac_header" >&5
12509echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12510if eval "test \"\${$as_ac_Header+set}\" = set"; then
12511 echo $ECHO_N "(cached) $ECHO_C" >&6
12512else
12513 eval "$as_ac_Header=$ac_header_preproc"
12514fi
12515echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12516echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12517
12518fi
12519if test `eval echo '${'$as_ac_Header'}'` = yes; then
12520 cat >>confdefs.h <<_ACEOF
12521#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12522_ACEOF
12523
12524fi
12525
12526done
12527
12528
12529for ac_header in unistd.h
12530do
12531as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12532if eval "test \"\${$as_ac_Header+set}\" = set"; then
12533 echo "$as_me:$LINENO: checking for $ac_header" >&5
12534echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12535if eval "test \"\${$as_ac_Header+set}\" = set"; then
12536 echo $ECHO_N "(cached) $ECHO_C" >&6
12537fi
12538echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12539echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12540else
12541 # Is the header compilable?
12542echo "$as_me:$LINENO: checking $ac_header usability" >&5
12543echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12544cat >conftest.$ac_ext <<_ACEOF
12545#line $LINENO "configure"
12546/* confdefs.h. */
12547_ACEOF
12548cat confdefs.h >>conftest.$ac_ext
12549cat >>conftest.$ac_ext <<_ACEOF
12550/* end confdefs.h. */
12551$ac_includes_default
12552#include <$ac_header>
12553_ACEOF
12554rm -f conftest.$ac_objext
12555if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12556 (eval $ac_compile) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } &&
12560 { ac_try='test -s conftest.$ac_objext'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12563 ac_status=$?
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; }; then
12566 ac_header_compiler=yes
12567else
12568 echo "$as_me: failed program was:" >&5
12569sed 's/^/| /' conftest.$ac_ext >&5
12570
12571ac_header_compiler=no
12572fi
12573rm -f conftest.$ac_objext conftest.$ac_ext
12574echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12575echo "${ECHO_T}$ac_header_compiler" >&6
12576
12577# Is the header present?
12578echo "$as_me:$LINENO: checking $ac_header presence" >&5
12579echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12580cat >conftest.$ac_ext <<_ACEOF
12581#line $LINENO "configure"
12582/* confdefs.h. */
12583_ACEOF
12584cat confdefs.h >>conftest.$ac_ext
12585cat >>conftest.$ac_ext <<_ACEOF
12586/* end confdefs.h. */
12587#include <$ac_header>
12588_ACEOF
12589if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12590 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12591 ac_status=$?
12592 grep -v '^ *+' conftest.er1 >conftest.err
12593 rm -f conftest.er1
12594 cat conftest.err >&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); } >/dev/null; then
12597 if test -s conftest.err; then
12598 ac_cpp_err=$ac_c_preproc_warn_flag
12599 else
12600 ac_cpp_err=
12601 fi
12602else
12603 ac_cpp_err=yes
12604fi
12605if test -z "$ac_cpp_err"; then
12606 ac_header_preproc=yes
12607else
12608 echo "$as_me: failed program was:" >&5
12609sed 's/^/| /' conftest.$ac_ext >&5
12610
12611 ac_header_preproc=no
12612fi
12613rm -f conftest.err conftest.$ac_ext
12614echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12615echo "${ECHO_T}$ac_header_preproc" >&6
12616
12617# So? What about this header?
12618case $ac_header_compiler:$ac_header_preproc in
12619 yes:no )
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12621echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12623echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12624 (
12625 cat <<\_ASBOX
12626## ------------------------------------ ##
12627## Report this to bug-autoconf@gnu.org. ##
12628## ------------------------------------ ##
12629_ASBOX
12630 ) |
12631 sed "s/^/$as_me: WARNING: /" >&2
12632 ;;
12633 no:yes )
12634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12635echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12637echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12639echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12640 (
12641 cat <<\_ASBOX
12642## ------------------------------------ ##
12643## Report this to bug-autoconf@gnu.org. ##
12644## ------------------------------------ ##
12645_ASBOX
12646 ) |
12647 sed "s/^/$as_me: WARNING: /" >&2
12648 ;;
12649esac
12650echo "$as_me:$LINENO: checking for $ac_header" >&5
12651echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12652if eval "test \"\${$as_ac_Header+set}\" = set"; then
12653 echo $ECHO_N "(cached) $ECHO_C" >&6
12654else
12655 eval "$as_ac_Header=$ac_header_preproc"
12656fi
12657echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12658echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12659
12660fi
12661if test `eval echo '${'$as_ac_Header'}'` = yes; then
12662 cat >>confdefs.h <<_ACEOF
12663#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12664_ACEOF
12665
12666fi
12667
12668done
12669
12670
12671for ac_header in wchar.h
12672do
12673as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12674if eval "test \"\${$as_ac_Header+set}\" = set"; then
12675 echo "$as_me:$LINENO: checking for $ac_header" >&5
12676echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12677if eval "test \"\${$as_ac_Header+set}\" = set"; then
12678 echo $ECHO_N "(cached) $ECHO_C" >&6
12679fi
12680echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12681echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12682else
12683 # Is the header compilable?
12684echo "$as_me:$LINENO: checking $ac_header usability" >&5
12685echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12686cat >conftest.$ac_ext <<_ACEOF
12687#line $LINENO "configure"
12688/* confdefs.h. */
12689_ACEOF
12690cat confdefs.h >>conftest.$ac_ext
12691cat >>conftest.$ac_ext <<_ACEOF
12692/* end confdefs.h. */
12693$ac_includes_default
12694#include <$ac_header>
12695_ACEOF
12696rm -f conftest.$ac_objext
12697if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12698 (eval $ac_compile) 2>&5
12699 ac_status=$?
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } &&
12702 { ac_try='test -s conftest.$ac_objext'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12705 ac_status=$?
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; }; then
12708 ac_header_compiler=yes
12709else
12710 echo "$as_me: failed program was:" >&5
12711sed 's/^/| /' conftest.$ac_ext >&5
12712
12713ac_header_compiler=no
12714fi
12715rm -f conftest.$ac_objext conftest.$ac_ext
12716echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12717echo "${ECHO_T}$ac_header_compiler" >&6
12718
12719# Is the header present?
12720echo "$as_me:$LINENO: checking $ac_header presence" >&5
12721echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12722cat >conftest.$ac_ext <<_ACEOF
12723#line $LINENO "configure"
12724/* confdefs.h. */
12725_ACEOF
12726cat confdefs.h >>conftest.$ac_ext
12727cat >>conftest.$ac_ext <<_ACEOF
12728/* end confdefs.h. */
12729#include <$ac_header>
12730_ACEOF
12731if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12733 ac_status=$?
12734 grep -v '^ *+' conftest.er1 >conftest.err
12735 rm -f conftest.er1
12736 cat conftest.err >&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); } >/dev/null; then
12739 if test -s conftest.err; then
12740 ac_cpp_err=$ac_c_preproc_warn_flag
12741 else
12742 ac_cpp_err=
12743 fi
12744else
12745 ac_cpp_err=yes
12746fi
12747if test -z "$ac_cpp_err"; then
12748 ac_header_preproc=yes
12749else
12750 echo "$as_me: failed program was:" >&5
12751sed 's/^/| /' conftest.$ac_ext >&5
12752
12753 ac_header_preproc=no
12754fi
12755rm -f conftest.err conftest.$ac_ext
12756echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12757echo "${ECHO_T}$ac_header_preproc" >&6
12758
12759# So? What about this header?
12760case $ac_header_compiler:$ac_header_preproc in
12761 yes:no )
12762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12763echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12765echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12766 (
12767 cat <<\_ASBOX
12768## ------------------------------------ ##
12769## Report this to bug-autoconf@gnu.org. ##
12770## ------------------------------------ ##
12771_ASBOX
12772 ) |
12773 sed "s/^/$as_me: WARNING: /" >&2
12774 ;;
12775 no:yes )
12776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12777echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12779echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12781echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12782 (
12783 cat <<\_ASBOX
12784## ------------------------------------ ##
12785## Report this to bug-autoconf@gnu.org. ##
12786## ------------------------------------ ##
12787_ASBOX
12788 ) |
12789 sed "s/^/$as_me: WARNING: /" >&2
12790 ;;
12791esac
12792echo "$as_me:$LINENO: checking for $ac_header" >&5
12793echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12794if eval "test \"\${$as_ac_Header+set}\" = set"; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12796else
12797 eval "$as_ac_Header=$ac_header_preproc"
12798fi
12799echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12800echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12801
12802fi
12803if test `eval echo '${'$as_ac_Header'}'` = yes; then
12804 cat >>confdefs.h <<_ACEOF
12805#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12806_ACEOF
12807
12808fi
12809
12810done
12811
12812
12813if test "$ac_cv_header_wchar_h" != "yes"; then
12814
12815for ac_header in wcstr.h
12816do
12817as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12818if eval "test \"\${$as_ac_Header+set}\" = set"; then
12819 echo "$as_me:$LINENO: checking for $ac_header" >&5
12820echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12821if eval "test \"\${$as_ac_Header+set}\" = set"; then
12822 echo $ECHO_N "(cached) $ECHO_C" >&6
12823fi
12824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12825echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12826else
12827 # Is the header compilable?
12828echo "$as_me:$LINENO: checking $ac_header usability" >&5
12829echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12830cat >conftest.$ac_ext <<_ACEOF
12831#line $LINENO "configure"
12832/* confdefs.h. */
12833_ACEOF
12834cat confdefs.h >>conftest.$ac_ext
12835cat >>conftest.$ac_ext <<_ACEOF
12836/* end confdefs.h. */
12837$ac_includes_default
12838#include <$ac_header>
12839_ACEOF
12840rm -f conftest.$ac_objext
12841if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12842 (eval $ac_compile) 2>&5
12843 ac_status=$?
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } &&
12846 { ac_try='test -s conftest.$ac_objext'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; }; then
12852 ac_header_compiler=yes
12853else
12854 echo "$as_me: failed program was:" >&5
12855sed 's/^/| /' conftest.$ac_ext >&5
12856
12857ac_header_compiler=no
12858fi
12859rm -f conftest.$ac_objext conftest.$ac_ext
12860echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12861echo "${ECHO_T}$ac_header_compiler" >&6
12862
12863# Is the header present?
12864echo "$as_me:$LINENO: checking $ac_header presence" >&5
12865echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12866cat >conftest.$ac_ext <<_ACEOF
12867#line $LINENO "configure"
12868/* confdefs.h. */
12869_ACEOF
12870cat confdefs.h >>conftest.$ac_ext
12871cat >>conftest.$ac_ext <<_ACEOF
12872/* end confdefs.h. */
12873#include <$ac_header>
12874_ACEOF
12875if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12877 ac_status=$?
12878 grep -v '^ *+' conftest.er1 >conftest.err
12879 rm -f conftest.er1
12880 cat conftest.err >&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } >/dev/null; then
12883 if test -s conftest.err; then
12884 ac_cpp_err=$ac_c_preproc_warn_flag
12885 else
12886 ac_cpp_err=
12887 fi
12888else
12889 ac_cpp_err=yes
12890fi
12891if test -z "$ac_cpp_err"; then
12892 ac_header_preproc=yes
12893else
12894 echo "$as_me: failed program was:" >&5
12895sed 's/^/| /' conftest.$ac_ext >&5
12896
12897 ac_header_preproc=no
12898fi
12899rm -f conftest.err conftest.$ac_ext
12900echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12901echo "${ECHO_T}$ac_header_preproc" >&6
12902
12903# So? What about this header?
12904case $ac_header_compiler:$ac_header_preproc in
12905 yes:no )
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12907echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12909echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12910 (
12911 cat <<\_ASBOX
12912## ------------------------------------ ##
12913## Report this to bug-autoconf@gnu.org. ##
12914## ------------------------------------ ##
12915_ASBOX
12916 ) |
12917 sed "s/^/$as_me: WARNING: /" >&2
12918 ;;
12919 no:yes )
12920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12921echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12923echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12925echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12926 (
12927 cat <<\_ASBOX
12928## ------------------------------------ ##
12929## Report this to bug-autoconf@gnu.org. ##
12930## ------------------------------------ ##
12931_ASBOX
12932 ) |
12933 sed "s/^/$as_me: WARNING: /" >&2
12934 ;;
12935esac
12936echo "$as_me:$LINENO: checking for $ac_header" >&5
12937echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12938if eval "test \"\${$as_ac_Header+set}\" = set"; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12940else
12941 eval "$as_ac_Header=$ac_header_preproc"
12942fi
12943echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12944echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12945
12946fi
12947if test `eval echo '${'$as_ac_Header'}'` = yes; then
12948 cat >>confdefs.h <<_ACEOF
12949#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12950_ACEOF
12951
12952fi
12953
12954done
12955
12956fi
12957
12958
12959for ac_header in fnmatch.h
12960do
12961as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12962if eval "test \"\${$as_ac_Header+set}\" = set"; then
12963 echo "$as_me:$LINENO: checking for $ac_header" >&5
12964echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12965if eval "test \"\${$as_ac_Header+set}\" = set"; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12967fi
12968echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12969echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12970else
12971 # Is the header compilable?
12972echo "$as_me:$LINENO: checking $ac_header usability" >&5
12973echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12974cat >conftest.$ac_ext <<_ACEOF
12975#line $LINENO "configure"
12976/* confdefs.h. */
12977_ACEOF
12978cat confdefs.h >>conftest.$ac_ext
12979cat >>conftest.$ac_ext <<_ACEOF
12980/* end confdefs.h. */
12981$ac_includes_default
12982#include <$ac_header>
12983_ACEOF
12984rm -f conftest.$ac_objext
12985if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12986 (eval $ac_compile) 2>&5
12987 ac_status=$?
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } &&
12990 { ac_try='test -s conftest.$ac_objext'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12993 ac_status=$?
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; }; then
12996 ac_header_compiler=yes
12997else
12998 echo "$as_me: failed program was:" >&5
12999sed 's/^/| /' conftest.$ac_ext >&5
13000
13001ac_header_compiler=no
13002fi
13003rm -f conftest.$ac_objext conftest.$ac_ext
13004echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13005echo "${ECHO_T}$ac_header_compiler" >&6
13006
13007# Is the header present?
13008echo "$as_me:$LINENO: checking $ac_header presence" >&5
13009echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13010cat >conftest.$ac_ext <<_ACEOF
13011#line $LINENO "configure"
13012/* confdefs.h. */
13013_ACEOF
13014cat confdefs.h >>conftest.$ac_ext
13015cat >>conftest.$ac_ext <<_ACEOF
13016/* end confdefs.h. */
13017#include <$ac_header>
13018_ACEOF
13019if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13021 ac_status=$?
13022 grep -v '^ *+' conftest.er1 >conftest.err
13023 rm -f conftest.er1
13024 cat conftest.err >&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); } >/dev/null; then
13027 if test -s conftest.err; then
13028 ac_cpp_err=$ac_c_preproc_warn_flag
13029 else
13030 ac_cpp_err=
13031 fi
13032else
13033 ac_cpp_err=yes
13034fi
13035if test -z "$ac_cpp_err"; then
13036 ac_header_preproc=yes
13037else
13038 echo "$as_me: failed program was:" >&5
13039sed 's/^/| /' conftest.$ac_ext >&5
13040
13041 ac_header_preproc=no
13042fi
13043rm -f conftest.err conftest.$ac_ext
13044echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13045echo "${ECHO_T}$ac_header_preproc" >&6
13046
13047# So? What about this header?
13048case $ac_header_compiler:$ac_header_preproc in
13049 yes:no )
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13051echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13053echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13054 (
13055 cat <<\_ASBOX
13056## ------------------------------------ ##
13057## Report this to bug-autoconf@gnu.org. ##
13058## ------------------------------------ ##
13059_ASBOX
13060 ) |
13061 sed "s/^/$as_me: WARNING: /" >&2
13062 ;;
13063 no:yes )
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13065echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13067echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13069echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13070 (
13071 cat <<\_ASBOX
13072## ------------------------------------ ##
13073## Report this to bug-autoconf@gnu.org. ##
13074## ------------------------------------ ##
13075_ASBOX
13076 ) |
13077 sed "s/^/$as_me: WARNING: /" >&2
13078 ;;
13079esac
13080echo "$as_me:$LINENO: checking for $ac_header" >&5
13081echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13082if eval "test \"\${$as_ac_Header+set}\" = set"; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13084else
13085 eval "$as_ac_Header=$ac_header_preproc"
13086fi
13087echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13088echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13089
13090fi
13091if test `eval echo '${'$as_ac_Header'}'` = yes; then
13092 cat >>confdefs.h <<_ACEOF
13093#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13094_ACEOF
13095
13096fi
13097
13098done
13099
13100
13101if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13102
13103for ac_func in fnmatch
13104do
13105as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13106echo "$as_me:$LINENO: checking for $ac_func" >&5
13107echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13108if eval "test \"\${$as_ac_var+set}\" = set"; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13110else
13111 cat >conftest.$ac_ext <<_ACEOF
13112#line $LINENO "configure"
13113/* confdefs.h. */
13114_ACEOF
13115cat confdefs.h >>conftest.$ac_ext
13116cat >>conftest.$ac_ext <<_ACEOF
13117/* end confdefs.h. */
13118/* System header to define __stub macros and hopefully few prototypes,
13119 which can conflict with char $ac_func (); below.
13120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13121 <limits.h> exists even on freestanding compilers. */
13122#ifdef __STDC__
13123# include <limits.h>
13124#else
13125# include <assert.h>
13126#endif
13127/* Override any gcc2 internal prototype to avoid an error. */
13128#ifdef __cplusplus
13129extern "C"
13130{
13131#endif
13132/* We use char because int might match the return type of a gcc2
13133 builtin and then its argument prototype would still apply. */
13134char $ac_func ();
13135/* The GNU C library defines this for functions which it implements
13136 to always fail with ENOSYS. Some functions are actually named
13137 something starting with __ and the normal name is an alias. */
13138#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13139choke me
13140#else
13141char (*f) () = $ac_func;
13142#endif
13143#ifdef __cplusplus
13144}
13145#endif
13146
13147int
13148main ()
13149{
13150return f != $ac_func;
13151 ;
13152 return 0;
13153}
13154_ACEOF
13155rm -f conftest.$ac_objext conftest$ac_exeext
13156if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13157 (eval $ac_link) 2>&5
13158 ac_status=$?
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); } &&
13161 { ac_try='test -s conftest$ac_exeext'
13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13163 (eval $ac_try) 2>&5
13164 ac_status=$?
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; }; then
13167 eval "$as_ac_var=yes"
13168else
13169 echo "$as_me: failed program was:" >&5
13170sed 's/^/| /' conftest.$ac_ext >&5
13171
13172eval "$as_ac_var=no"
13173fi
13174rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13175fi
13176echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13177echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13178if test `eval echo '${'$as_ac_var'}'` = yes; then
13179 cat >>confdefs.h <<_ACEOF
13180#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13181_ACEOF
13182
13183fi
13184done
13185
13186fi
13187
13188
13189for ac_header in langinfo.h
13190do
13191as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13192if eval "test \"\${$as_ac_Header+set}\" = set"; then
13193 echo "$as_me:$LINENO: checking for $ac_header" >&5
13194echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13195if eval "test \"\${$as_ac_Header+set}\" = set"; then
13196 echo $ECHO_N "(cached) $ECHO_C" >&6
13197fi
13198echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13199echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13200else
13201 # Is the header compilable?
13202echo "$as_me:$LINENO: checking $ac_header usability" >&5
13203echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13204cat >conftest.$ac_ext <<_ACEOF
13205#line $LINENO "configure"
13206/* confdefs.h. */
13207_ACEOF
13208cat confdefs.h >>conftest.$ac_ext
13209cat >>conftest.$ac_ext <<_ACEOF
13210/* end confdefs.h. */
13211$ac_includes_default
13212#include <$ac_header>
13213_ACEOF
13214rm -f conftest.$ac_objext
13215if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13216 (eval $ac_compile) 2>&5
13217 ac_status=$?
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try='test -s conftest.$ac_objext'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13223 ac_status=$?
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; }; then
13226 ac_header_compiler=yes
13227else
13228 echo "$as_me: failed program was:" >&5
13229sed 's/^/| /' conftest.$ac_ext >&5
13230
13231ac_header_compiler=no
13232fi
13233rm -f conftest.$ac_objext conftest.$ac_ext
13234echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13235echo "${ECHO_T}$ac_header_compiler" >&6
13236
13237# Is the header present?
13238echo "$as_me:$LINENO: checking $ac_header presence" >&5
13239echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13240cat >conftest.$ac_ext <<_ACEOF
13241#line $LINENO "configure"
13242/* confdefs.h. */
13243_ACEOF
13244cat confdefs.h >>conftest.$ac_ext
13245cat >>conftest.$ac_ext <<_ACEOF
13246/* end confdefs.h. */
13247#include <$ac_header>
13248_ACEOF
13249if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13251 ac_status=$?
13252 grep -v '^ *+' conftest.er1 >conftest.err
13253 rm -f conftest.er1
13254 cat conftest.err >&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } >/dev/null; then
13257 if test -s conftest.err; then
13258 ac_cpp_err=$ac_c_preproc_warn_flag
13259 else
13260 ac_cpp_err=
13261 fi
13262else
13263 ac_cpp_err=yes
13264fi
13265if test -z "$ac_cpp_err"; then
13266 ac_header_preproc=yes
13267else
13268 echo "$as_me: failed program was:" >&5
13269sed 's/^/| /' conftest.$ac_ext >&5
13270
13271 ac_header_preproc=no
13272fi
13273rm -f conftest.err conftest.$ac_ext
13274echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13275echo "${ECHO_T}$ac_header_preproc" >&6
13276
13277# So? What about this header?
13278case $ac_header_compiler:$ac_header_preproc in
13279 yes:no )
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13281echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13283echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13284 (
13285 cat <<\_ASBOX
13286## ------------------------------------ ##
13287## Report this to bug-autoconf@gnu.org. ##
13288## ------------------------------------ ##
13289_ASBOX
13290 ) |
13291 sed "s/^/$as_me: WARNING: /" >&2
13292 ;;
13293 no:yes )
13294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13295echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13297echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13299echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13300 (
13301 cat <<\_ASBOX
13302## ------------------------------------ ##
13303## Report this to bug-autoconf@gnu.org. ##
13304## ------------------------------------ ##
13305_ASBOX
13306 ) |
13307 sed "s/^/$as_me: WARNING: /" >&2
13308 ;;
13309esac
13310echo "$as_me:$LINENO: checking for $ac_header" >&5
13311echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13312if eval "test \"\${$as_ac_Header+set}\" = set"; then
13313 echo $ECHO_N "(cached) $ECHO_C" >&6
13314else
13315 eval "$as_ac_Header=$ac_header_preproc"
13316fi
13317echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13318echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13319
13320fi
13321if test `eval echo '${'$as_ac_Header'}'` = yes; then
13322 cat >>confdefs.h <<_ACEOF
13323#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13324_ACEOF
13325
13326fi
13327
13328done
13329
13330
13331case "${host}" in
13332 *-pc-os2_emx | *-pc-os2-emx )
13333 if test $ac_cv_header_langinfo_h = "yes"; then
13334 LIBS="$LIBS -lintl"
13335 fi
13336 ;;
13337esac
13338
13339if test "$wxUSE_GUI" = "yes"; then
13340 if test "$wxUSE_UNIX" = "yes"; then
13341
13342for ac_header in X11/XKBlib.h
13343do
13344as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13345if eval "test \"\${$as_ac_Header+set}\" = set"; then
13346 echo "$as_me:$LINENO: checking for $ac_header" >&5
13347echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13348if eval "test \"\${$as_ac_Header+set}\" = set"; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13350fi
13351echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13352echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13353else
13354 # Is the header compilable?
13355echo "$as_me:$LINENO: checking $ac_header usability" >&5
13356echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13357cat >conftest.$ac_ext <<_ACEOF
13358#line $LINENO "configure"
13359/* confdefs.h. */
13360_ACEOF
13361cat confdefs.h >>conftest.$ac_ext
13362cat >>conftest.$ac_ext <<_ACEOF
13363/* end confdefs.h. */
13364$ac_includes_default
13365#include <$ac_header>
13366_ACEOF
13367rm -f conftest.$ac_objext
13368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13369 (eval $ac_compile) 2>&5
13370 ac_status=$?
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try='test -s conftest.$ac_objext'
13374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 (eval $ac_try) 2>&5
13376 ac_status=$?
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; }; then
13379 ac_header_compiler=yes
13380else
13381 echo "$as_me: failed program was:" >&5
13382sed 's/^/| /' conftest.$ac_ext >&5
13383
13384ac_header_compiler=no
13385fi
13386rm -f conftest.$ac_objext conftest.$ac_ext
13387echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13388echo "${ECHO_T}$ac_header_compiler" >&6
13389
13390# Is the header present?
13391echo "$as_me:$LINENO: checking $ac_header presence" >&5
13392echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13393cat >conftest.$ac_ext <<_ACEOF
13394#line $LINENO "configure"
13395/* confdefs.h. */
13396_ACEOF
13397cat confdefs.h >>conftest.$ac_ext
13398cat >>conftest.$ac_ext <<_ACEOF
13399/* end confdefs.h. */
13400#include <$ac_header>
13401_ACEOF
13402if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13404 ac_status=$?
13405 grep -v '^ *+' conftest.er1 >conftest.err
13406 rm -f conftest.er1
13407 cat conftest.err >&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } >/dev/null; then
13410 if test -s conftest.err; then
13411 ac_cpp_err=$ac_c_preproc_warn_flag
13412 else
13413 ac_cpp_err=
13414 fi
13415else
13416 ac_cpp_err=yes
13417fi
13418if test -z "$ac_cpp_err"; then
13419 ac_header_preproc=yes
13420else
13421 echo "$as_me: failed program was:" >&5
13422sed 's/^/| /' conftest.$ac_ext >&5
13423
13424 ac_header_preproc=no
13425fi
13426rm -f conftest.err conftest.$ac_ext
13427echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13428echo "${ECHO_T}$ac_header_preproc" >&6
13429
13430# So? What about this header?
13431case $ac_header_compiler:$ac_header_preproc in
13432 yes:no )
13433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13434echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13436echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13437 (
13438 cat <<\_ASBOX
13439## ------------------------------------ ##
13440## Report this to bug-autoconf@gnu.org. ##
13441## ------------------------------------ ##
13442_ASBOX
13443 ) |
13444 sed "s/^/$as_me: WARNING: /" >&2
13445 ;;
13446 no:yes )
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13448echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13450echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13452echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13453 (
13454 cat <<\_ASBOX
13455## ------------------------------------ ##
13456## Report this to bug-autoconf@gnu.org. ##
13457## ------------------------------------ ##
13458_ASBOX
13459 ) |
13460 sed "s/^/$as_me: WARNING: /" >&2
13461 ;;
13462esac
13463echo "$as_me:$LINENO: checking for $ac_header" >&5
13464echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13465if eval "test \"\${$as_ac_Header+set}\" = set"; then
13466 echo $ECHO_N "(cached) $ECHO_C" >&6
13467else
13468 eval "$as_ac_Header=$ac_header_preproc"
13469fi
13470echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13471echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13472
13473fi
13474if test `eval echo '${'$as_ac_Header'}'` = yes; then
13475 cat >>confdefs.h <<_ACEOF
13476#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13477_ACEOF
13478
13479fi
13480
13481done
13482
13483 fi
13484fi
13485
13486
13487echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13488echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13489if test "${ac_cv_c_const+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13491else
13492 cat >conftest.$ac_ext <<_ACEOF
13493#line $LINENO "configure"
13494/* confdefs.h. */
13495_ACEOF
13496cat confdefs.h >>conftest.$ac_ext
13497cat >>conftest.$ac_ext <<_ACEOF
13498/* end confdefs.h. */
13499
13500int
13501main ()
13502{
13503/* FIXME: Include the comments suggested by Paul. */
13504#ifndef __cplusplus
13505 /* Ultrix mips cc rejects this. */
13506 typedef int charset[2];
13507 const charset x;
13508 /* SunOS 4.1.1 cc rejects this. */
13509 char const *const *ccp;
13510 char **p;
13511 /* NEC SVR4.0.2 mips cc rejects this. */
13512 struct point {int x, y;};
13513 static struct point const zero = {0,0};
13514 /* AIX XL C 1.02.0.0 rejects this.
13515 It does not let you subtract one const X* pointer from another in
13516 an arm of an if-expression whose if-part is not a constant
13517 expression */
13518 const char *g = "string";
13519 ccp = &g + (g ? g-g : 0);
13520 /* HPUX 7.0 cc rejects these. */
13521 ++ccp;
13522 p = (char**) ccp;
13523 ccp = (char const *const *) p;
13524 { /* SCO 3.2v4 cc rejects this. */
13525 char *t;
13526 char const *s = 0 ? (char *) 0 : (char const *) 0;
13527
13528 *t++ = 0;
13529 }
13530 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13531 int x[] = {25, 17};
13532 const int *foo = &x[0];
13533 ++foo;
13534 }
13535 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13536 typedef const int *iptr;
13537 iptr p = 0;
13538 ++p;
13539 }
13540 { /* AIX XL C 1.02.0.0 rejects this saying
13541 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13542 struct s { int j; const int *ap[3]; };
13543 struct s *b; b->j = 5;
13544 }
13545 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13546 const int foo = 10;
13547 }
13548#endif
13549
13550 ;
13551 return 0;
13552}
13553_ACEOF
13554rm -f conftest.$ac_objext
13555if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13556 (eval $ac_compile) 2>&5
13557 ac_status=$?
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } &&
13560 { ac_try='test -s conftest.$ac_objext'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; }; then
13566 ac_cv_c_const=yes
13567else
13568 echo "$as_me: failed program was:" >&5
13569sed 's/^/| /' conftest.$ac_ext >&5
13570
13571ac_cv_c_const=no
13572fi
13573rm -f conftest.$ac_objext conftest.$ac_ext
13574fi
13575echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13576echo "${ECHO_T}$ac_cv_c_const" >&6
13577if test $ac_cv_c_const = no; then
13578
13579cat >>confdefs.h <<\_ACEOF
13580#define const
13581_ACEOF
13582
13583fi
13584
13585echo "$as_me:$LINENO: checking for inline" >&5
13586echo $ECHO_N "checking for inline... $ECHO_C" >&6
13587if test "${ac_cv_c_inline+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13589else
13590 ac_cv_c_inline=no
13591for ac_kw in inline __inline__ __inline; do
13592 cat >conftest.$ac_ext <<_ACEOF
13593#line $LINENO "configure"
13594/* confdefs.h. */
13595_ACEOF
13596cat confdefs.h >>conftest.$ac_ext
13597cat >>conftest.$ac_ext <<_ACEOF
13598/* end confdefs.h. */
13599#ifndef __cplusplus
13600typedef int foo_t;
13601static $ac_kw foo_t static_foo () {return 0; }
13602$ac_kw foo_t foo () {return 0; }
13603#endif
13604
13605_ACEOF
13606rm -f conftest.$ac_objext
13607if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13608 (eval $ac_compile) 2>&5
13609 ac_status=$?
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try='test -s conftest.$ac_objext'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13615 ac_status=$?
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; }; then
13618 ac_cv_c_inline=$ac_kw; break
13619else
13620 echo "$as_me: failed program was:" >&5
13621sed 's/^/| /' conftest.$ac_ext >&5
13622
13623fi
13624rm -f conftest.$ac_objext conftest.$ac_ext
13625done
13626
13627fi
13628echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13629echo "${ECHO_T}$ac_cv_c_inline" >&6
13630case $ac_cv_c_inline in
13631 inline | yes) ;;
13632 no)
13633cat >>confdefs.h <<\_ACEOF
13634#define inline
13635_ACEOF
13636 ;;
13637 *) cat >>confdefs.h <<_ACEOF
13638#define inline $ac_cv_c_inline
13639_ACEOF
13640 ;;
13641esac
13642
13643
13644echo "$as_me:$LINENO: checking for char" >&5
13645echo $ECHO_N "checking for char... $ECHO_C" >&6
13646if test "${ac_cv_type_char+set}" = set; then
13647 echo $ECHO_N "(cached) $ECHO_C" >&6
13648else
13649 cat >conftest.$ac_ext <<_ACEOF
13650#line $LINENO "configure"
13651/* confdefs.h. */
13652_ACEOF
13653cat confdefs.h >>conftest.$ac_ext
13654cat >>conftest.$ac_ext <<_ACEOF
13655/* end confdefs.h. */
13656$ac_includes_default
13657int
13658main ()
13659{
13660if ((char *) 0)
13661 return 0;
13662if (sizeof (char))
13663 return 0;
13664 ;
13665 return 0;
13666}
13667_ACEOF
13668rm -f conftest.$ac_objext
13669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>&5
13671 ac_status=$?
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try='test -s conftest.$ac_objext'
13675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13676 (eval $ac_try) 2>&5
13677 ac_status=$?
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }; }; then
13680 ac_cv_type_char=yes
13681else
13682 echo "$as_me: failed program was:" >&5
13683sed 's/^/| /' conftest.$ac_ext >&5
13684
13685ac_cv_type_char=no
13686fi
13687rm -f conftest.$ac_objext conftest.$ac_ext
13688fi
13689echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13690echo "${ECHO_T}$ac_cv_type_char" >&6
13691
13692echo "$as_me:$LINENO: checking size of char" >&5
13693echo $ECHO_N "checking size of char... $ECHO_C" >&6
13694if test "${ac_cv_sizeof_char+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13696else
13697 if test "$ac_cv_type_char" = yes; then
13698 # The cast to unsigned long works around a bug in the HP C Compiler
13699 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13700 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13701 # This bug is HP SR number 8606223364.
13702 if test "$cross_compiling" = yes; then
13703 # Depending upon the size, compute the lo and hi bounds.
13704cat >conftest.$ac_ext <<_ACEOF
13705#line $LINENO "configure"
13706/* confdefs.h. */
13707_ACEOF
13708cat confdefs.h >>conftest.$ac_ext
13709cat >>conftest.$ac_ext <<_ACEOF
13710/* end confdefs.h. */
13711$ac_includes_default
13712int
13713main ()
13714{
13715static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13716test_array [0] = 0
13717
13718 ;
13719 return 0;
13720}
13721_ACEOF
13722rm -f conftest.$ac_objext
13723if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13724 (eval $ac_compile) 2>&5
13725 ac_status=$?
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } &&
13728 { ac_try='test -s conftest.$ac_objext'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13731 ac_status=$?
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; }; then
13734 ac_lo=0 ac_mid=0
13735 while :; do
13736 cat >conftest.$ac_ext <<_ACEOF
13737#line $LINENO "configure"
13738/* confdefs.h. */
13739_ACEOF
13740cat confdefs.h >>conftest.$ac_ext
13741cat >>conftest.$ac_ext <<_ACEOF
13742/* end confdefs.h. */
13743$ac_includes_default
13744int
13745main ()
13746{
13747static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13748test_array [0] = 0
13749
13750 ;
13751 return 0;
13752}
13753_ACEOF
13754rm -f conftest.$ac_objext
13755if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13756 (eval $ac_compile) 2>&5
13757 ac_status=$?
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try='test -s conftest.$ac_objext'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13763 ac_status=$?
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; }; then
13766 ac_hi=$ac_mid; break
13767else
13768 echo "$as_me: failed program was:" >&5
13769sed 's/^/| /' conftest.$ac_ext >&5
13770
13771ac_lo=`expr $ac_mid + 1`
13772 if test $ac_lo -le $ac_mid; then
13773 ac_lo= ac_hi=
13774 break
13775 fi
13776 ac_mid=`expr 2 '*' $ac_mid + 1`
13777fi
13778rm -f conftest.$ac_objext conftest.$ac_ext
13779 done
13780else
13781 echo "$as_me: failed program was:" >&5
13782sed 's/^/| /' conftest.$ac_ext >&5
13783
13784cat >conftest.$ac_ext <<_ACEOF
13785#line $LINENO "configure"
13786/* confdefs.h. */
13787_ACEOF
13788cat confdefs.h >>conftest.$ac_ext
13789cat >>conftest.$ac_ext <<_ACEOF
13790/* end confdefs.h. */
13791$ac_includes_default
13792int
13793main ()
13794{
13795static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13796test_array [0] = 0
13797
13798 ;
13799 return 0;
13800}
13801_ACEOF
13802rm -f conftest.$ac_objext
13803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13804 (eval $ac_compile) 2>&5
13805 ac_status=$?
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try='test -s conftest.$ac_objext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13811 ac_status=$?
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13814 ac_hi=-1 ac_mid=-1
13815 while :; do
13816 cat >conftest.$ac_ext <<_ACEOF
13817#line $LINENO "configure"
13818/* confdefs.h. */
13819_ACEOF
13820cat confdefs.h >>conftest.$ac_ext
13821cat >>conftest.$ac_ext <<_ACEOF
13822/* end confdefs.h. */
13823$ac_includes_default
13824int
13825main ()
13826{
13827static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13828test_array [0] = 0
13829
13830 ;
13831 return 0;
13832}
13833_ACEOF
13834rm -f conftest.$ac_objext
13835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>&5
13837 ac_status=$?
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } &&
13840 { ac_try='test -s conftest.$ac_objext'
13841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842 (eval $ac_try) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; }; then
13846 ac_lo=$ac_mid; break
13847else
13848 echo "$as_me: failed program was:" >&5
13849sed 's/^/| /' conftest.$ac_ext >&5
13850
13851ac_hi=`expr '(' $ac_mid ')' - 1`
13852 if test $ac_mid -le $ac_hi; then
13853 ac_lo= ac_hi=
13854 break
13855 fi
13856 ac_mid=`expr 2 '*' $ac_mid`
13857fi
13858rm -f conftest.$ac_objext conftest.$ac_ext
13859 done
13860else
13861 echo "$as_me: failed program was:" >&5
13862sed 's/^/| /' conftest.$ac_ext >&5
13863
13864ac_lo= ac_hi=
13865fi
13866rm -f conftest.$ac_objext conftest.$ac_ext
13867fi
13868rm -f conftest.$ac_objext conftest.$ac_ext
13869# Binary search between lo and hi bounds.
13870while test "x$ac_lo" != "x$ac_hi"; do
13871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13872 cat >conftest.$ac_ext <<_ACEOF
13873#line $LINENO "configure"
13874/* confdefs.h. */
13875_ACEOF
13876cat confdefs.h >>conftest.$ac_ext
13877cat >>conftest.$ac_ext <<_ACEOF
13878/* end confdefs.h. */
13879$ac_includes_default
13880int
13881main ()
13882{
13883static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13884test_array [0] = 0
13885
13886 ;
13887 return 0;
13888}
13889_ACEOF
13890rm -f conftest.$ac_objext
13891if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13892 (eval $ac_compile) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } &&
13896 { ac_try='test -s conftest.$ac_objext'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13899 ac_status=$?
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; }; then
13902 ac_hi=$ac_mid
13903else
13904 echo "$as_me: failed program was:" >&5
13905sed 's/^/| /' conftest.$ac_ext >&5
13906
13907ac_lo=`expr '(' $ac_mid ')' + 1`
13908fi
13909rm -f conftest.$ac_objext conftest.$ac_ext
13910done
13911case $ac_lo in
13912?*) ac_cv_sizeof_char=$ac_lo;;
13913'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13914See \`config.log' for more details." >&5
13915echo "$as_me: error: cannot compute sizeof (char), 77
13916See \`config.log' for more details." >&2;}
13917 { (exit 1); exit 1; }; } ;;
13918esac
13919else
13920 if test "$cross_compiling" = yes; then
13921 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13922See \`config.log' for more details." >&5
13923echo "$as_me: error: cannot run test program while cross compiling
13924See \`config.log' for more details." >&2;}
13925 { (exit 1); exit 1; }; }
13926else
13927 cat >conftest.$ac_ext <<_ACEOF
13928#line $LINENO "configure"
13929/* confdefs.h. */
13930_ACEOF
13931cat confdefs.h >>conftest.$ac_ext
13932cat >>conftest.$ac_ext <<_ACEOF
13933/* end confdefs.h. */
13934$ac_includes_default
13935long longval () { return (long) (sizeof (char)); }
13936unsigned long ulongval () { return (long) (sizeof (char)); }
13937#include <stdio.h>
13938#include <stdlib.h>
13939int
13940main ()
13941{
13942
13943 FILE *f = fopen ("conftest.val", "w");
13944 if (! f)
13945 exit (1);
13946 if (((long) (sizeof (char))) < 0)
13947 {
13948 long i = longval ();
13949 if (i != ((long) (sizeof (char))))
13950 exit (1);
13951 fprintf (f, "%ld\n", i);
13952 }
13953 else
13954 {
13955 unsigned long i = ulongval ();
13956 if (i != ((long) (sizeof (char))))
13957 exit (1);
13958 fprintf (f, "%lu\n", i);
13959 }
13960 exit (ferror (f) || fclose (f) != 0);
13961
13962 ;
13963 return 0;
13964}
13965_ACEOF
13966rm -f conftest$ac_exeext
13967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13968 (eval $ac_link) 2>&5
13969 ac_status=$?
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13974 ac_status=$?
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 ac_cv_sizeof_char=`cat conftest.val`
13978else
13979 echo "$as_me: program exited with status $ac_status" >&5
13980echo "$as_me: failed program was:" >&5
13981sed 's/^/| /' conftest.$ac_ext >&5
13982
13983( exit $ac_status )
13984{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13985See \`config.log' for more details." >&5
13986echo "$as_me: error: cannot compute sizeof (char), 77
13987See \`config.log' for more details." >&2;}
13988 { (exit 1); exit 1; }; }
13989fi
13990rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13991fi
13992fi
13993rm -f conftest.val
13994else
13995 ac_cv_sizeof_char=0
13996fi
13997fi
13998echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13999echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14000cat >>confdefs.h <<_ACEOF
14001#define SIZEOF_CHAR $ac_cv_sizeof_char
14002_ACEOF
14003
14004
14005echo "$as_me:$LINENO: checking for short" >&5
14006echo $ECHO_N "checking for short... $ECHO_C" >&6
14007if test "${ac_cv_type_short+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14009else
14010 cat >conftest.$ac_ext <<_ACEOF
14011#line $LINENO "configure"
14012/* confdefs.h. */
14013_ACEOF
14014cat confdefs.h >>conftest.$ac_ext
14015cat >>conftest.$ac_ext <<_ACEOF
14016/* end confdefs.h. */
14017$ac_includes_default
14018int
14019main ()
14020{
14021if ((short *) 0)
14022 return 0;
14023if (sizeof (short))
14024 return 0;
14025 ;
14026 return 0;
14027}
14028_ACEOF
14029rm -f conftest.$ac_objext
14030if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14031 (eval $ac_compile) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } &&
14035 { ac_try='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14038 ac_status=$?
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 ac_cv_type_short=yes
14042else
14043 echo "$as_me: failed program was:" >&5
14044sed 's/^/| /' conftest.$ac_ext >&5
14045
14046ac_cv_type_short=no
14047fi
14048rm -f conftest.$ac_objext conftest.$ac_ext
14049fi
14050echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14051echo "${ECHO_T}$ac_cv_type_short" >&6
14052
14053echo "$as_me:$LINENO: checking size of short" >&5
14054echo $ECHO_N "checking size of short... $ECHO_C" >&6
14055if test "${ac_cv_sizeof_short+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14057else
14058 if test "$ac_cv_type_short" = yes; then
14059 # The cast to unsigned long works around a bug in the HP C Compiler
14060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14062 # This bug is HP SR number 8606223364.
14063 if test "$cross_compiling" = yes; then
14064 # Depending upon the size, compute the lo and hi bounds.
14065cat >conftest.$ac_ext <<_ACEOF
14066#line $LINENO "configure"
14067/* confdefs.h. */
14068_ACEOF
14069cat confdefs.h >>conftest.$ac_ext
14070cat >>conftest.$ac_ext <<_ACEOF
14071/* end confdefs.h. */
14072$ac_includes_default
14073int
14074main ()
14075{
14076static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14077test_array [0] = 0
14078
14079 ;
14080 return 0;
14081}
14082_ACEOF
14083rm -f conftest.$ac_objext
14084if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14085 (eval $ac_compile) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } &&
14089 { ac_try='test -s conftest.$ac_objext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14092 ac_status=$?
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 ac_lo=0 ac_mid=0
14096 while :; do
14097 cat >conftest.$ac_ext <<_ACEOF
14098#line $LINENO "configure"
14099/* confdefs.h. */
14100_ACEOF
14101cat confdefs.h >>conftest.$ac_ext
14102cat >>conftest.$ac_ext <<_ACEOF
14103/* end confdefs.h. */
14104$ac_includes_default
14105int
14106main ()
14107{
14108static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14109test_array [0] = 0
14110
14111 ;
14112 return 0;
14113}
14114_ACEOF
14115rm -f conftest.$ac_objext
14116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14117 (eval $ac_compile) 2>&5
14118 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); } &&
14121 { ac_try='test -s conftest.$ac_objext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 ac_hi=$ac_mid; break
14128else
14129 echo "$as_me: failed program was:" >&5
14130sed 's/^/| /' conftest.$ac_ext >&5
14131
14132ac_lo=`expr $ac_mid + 1`
14133 if test $ac_lo -le $ac_mid; then
14134 ac_lo= ac_hi=
14135 break
14136 fi
14137 ac_mid=`expr 2 '*' $ac_mid + 1`
14138fi
14139rm -f conftest.$ac_objext conftest.$ac_ext
14140 done
14141else
14142 echo "$as_me: failed program was:" >&5
14143sed 's/^/| /' conftest.$ac_ext >&5
14144
14145cat >conftest.$ac_ext <<_ACEOF
14146#line $LINENO "configure"
14147/* confdefs.h. */
14148_ACEOF
14149cat confdefs.h >>conftest.$ac_ext
14150cat >>conftest.$ac_ext <<_ACEOF
14151/* end confdefs.h. */
14152$ac_includes_default
14153int
14154main ()
14155{
14156static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14157test_array [0] = 0
14158
14159 ;
14160 return 0;
14161}
14162_ACEOF
14163rm -f conftest.$ac_objext
14164if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14165 (eval $ac_compile) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_hi=-1 ac_mid=-1
14176 while :; do
14177 cat >conftest.$ac_ext <<_ACEOF
14178#line $LINENO "configure"
14179/* confdefs.h. */
14180_ACEOF
14181cat confdefs.h >>conftest.$ac_ext
14182cat >>conftest.$ac_ext <<_ACEOF
14183/* end confdefs.h. */
14184$ac_includes_default
14185int
14186main ()
14187{
14188static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14189test_array [0] = 0
14190
14191 ;
14192 return 0;
14193}
14194_ACEOF
14195rm -f conftest.$ac_objext
14196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14197 (eval $ac_compile) 2>&5
14198 ac_status=$?
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); } &&
14201 { ac_try='test -s conftest.$ac_objext'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14204 ac_status=$?
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; }; then
14207 ac_lo=$ac_mid; break
14208else
14209 echo "$as_me: failed program was:" >&5
14210sed 's/^/| /' conftest.$ac_ext >&5
14211
14212ac_hi=`expr '(' $ac_mid ')' - 1`
14213 if test $ac_mid -le $ac_hi; then
14214 ac_lo= ac_hi=
14215 break
14216 fi
14217 ac_mid=`expr 2 '*' $ac_mid`
14218fi
14219rm -f conftest.$ac_objext conftest.$ac_ext
14220 done
14221else
14222 echo "$as_me: failed program was:" >&5
14223sed 's/^/| /' conftest.$ac_ext >&5
14224
14225ac_lo= ac_hi=
14226fi
14227rm -f conftest.$ac_objext conftest.$ac_ext
14228fi
14229rm -f conftest.$ac_objext conftest.$ac_ext
14230# Binary search between lo and hi bounds.
14231while test "x$ac_lo" != "x$ac_hi"; do
14232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14233 cat >conftest.$ac_ext <<_ACEOF
14234#line $LINENO "configure"
14235/* confdefs.h. */
14236_ACEOF
14237cat confdefs.h >>conftest.$ac_ext
14238cat >>conftest.$ac_ext <<_ACEOF
14239/* end confdefs.h. */
14240$ac_includes_default
14241int
14242main ()
14243{
14244static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14245test_array [0] = 0
14246
14247 ;
14248 return 0;
14249}
14250_ACEOF
14251rm -f conftest.$ac_objext
14252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14253 (eval $ac_compile) 2>&5
14254 ac_status=$?
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14260 ac_status=$?
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14263 ac_hi=$ac_mid
14264else
14265 echo "$as_me: failed program was:" >&5
14266sed 's/^/| /' conftest.$ac_ext >&5
14267
14268ac_lo=`expr '(' $ac_mid ')' + 1`
14269fi
14270rm -f conftest.$ac_objext conftest.$ac_ext
14271done
14272case $ac_lo in
14273?*) ac_cv_sizeof_short=$ac_lo;;
14274'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14275See \`config.log' for more details." >&5
14276echo "$as_me: error: cannot compute sizeof (short), 77
14277See \`config.log' for more details." >&2;}
14278 { (exit 1); exit 1; }; } ;;
14279esac
14280else
14281 if test "$cross_compiling" = yes; then
14282 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14283See \`config.log' for more details." >&5
14284echo "$as_me: error: cannot run test program while cross compiling
14285See \`config.log' for more details." >&2;}
14286 { (exit 1); exit 1; }; }
14287else
14288 cat >conftest.$ac_ext <<_ACEOF
14289#line $LINENO "configure"
14290/* confdefs.h. */
14291_ACEOF
14292cat confdefs.h >>conftest.$ac_ext
14293cat >>conftest.$ac_ext <<_ACEOF
14294/* end confdefs.h. */
14295$ac_includes_default
14296long longval () { return (long) (sizeof (short)); }
14297unsigned long ulongval () { return (long) (sizeof (short)); }
14298#include <stdio.h>
14299#include <stdlib.h>
14300int
14301main ()
14302{
14303
14304 FILE *f = fopen ("conftest.val", "w");
14305 if (! f)
14306 exit (1);
14307 if (((long) (sizeof (short))) < 0)
14308 {
14309 long i = longval ();
14310 if (i != ((long) (sizeof (short))))
14311 exit (1);
14312 fprintf (f, "%ld\n", i);
14313 }
14314 else
14315 {
14316 unsigned long i = ulongval ();
14317 if (i != ((long) (sizeof (short))))
14318 exit (1);
14319 fprintf (f, "%lu\n", i);
14320 }
14321 exit (ferror (f) || fclose (f) != 0);
14322
14323 ;
14324 return 0;
14325}
14326_ACEOF
14327rm -f conftest$ac_exeext
14328if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14329 (eval $ac_link) 2>&5
14330 ac_status=$?
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14334 (eval $ac_try) 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; }; then
14338 ac_cv_sizeof_short=`cat conftest.val`
14339else
14340 echo "$as_me: program exited with status $ac_status" >&5
14341echo "$as_me: failed program was:" >&5
14342sed 's/^/| /' conftest.$ac_ext >&5
14343
14344( exit $ac_status )
14345{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14346See \`config.log' for more details." >&5
14347echo "$as_me: error: cannot compute sizeof (short), 77
14348See \`config.log' for more details." >&2;}
14349 { (exit 1); exit 1; }; }
14350fi
14351rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14352fi
14353fi
14354rm -f conftest.val
14355else
14356 ac_cv_sizeof_short=0
14357fi
14358fi
14359echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14360echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14361cat >>confdefs.h <<_ACEOF
14362#define SIZEOF_SHORT $ac_cv_sizeof_short
14363_ACEOF
14364
14365
14366echo "$as_me:$LINENO: checking for void *" >&5
14367echo $ECHO_N "checking for void *... $ECHO_C" >&6
14368if test "${ac_cv_type_void_p+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14370else
14371 cat >conftest.$ac_ext <<_ACEOF
14372#line $LINENO "configure"
14373/* confdefs.h. */
14374_ACEOF
14375cat confdefs.h >>conftest.$ac_ext
14376cat >>conftest.$ac_ext <<_ACEOF
14377/* end confdefs.h. */
14378$ac_includes_default
14379int
14380main ()
14381{
14382if ((void * *) 0)
14383 return 0;
14384if (sizeof (void *))
14385 return 0;
14386 ;
14387 return 0;
14388}
14389_ACEOF
14390rm -f conftest.$ac_objext
14391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14392 (eval $ac_compile) 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } &&
14396 { ac_try='test -s conftest.$ac_objext'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14399 ac_status=$?
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; }; then
14402 ac_cv_type_void_p=yes
14403else
14404 echo "$as_me: failed program was:" >&5
14405sed 's/^/| /' conftest.$ac_ext >&5
14406
14407ac_cv_type_void_p=no
14408fi
14409rm -f conftest.$ac_objext conftest.$ac_ext
14410fi
14411echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14412echo "${ECHO_T}$ac_cv_type_void_p" >&6
14413
14414echo "$as_me:$LINENO: checking size of void *" >&5
14415echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14416if test "${ac_cv_sizeof_void_p+set}" = set; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14418else
14419 if test "$ac_cv_type_void_p" = yes; then
14420 # The cast to unsigned long works around a bug in the HP C Compiler
14421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14423 # This bug is HP SR number 8606223364.
14424 if test "$cross_compiling" = yes; then
14425 # Depending upon the size, compute the lo and hi bounds.
14426cat >conftest.$ac_ext <<_ACEOF
14427#line $LINENO "configure"
14428/* confdefs.h. */
14429_ACEOF
14430cat confdefs.h >>conftest.$ac_ext
14431cat >>conftest.$ac_ext <<_ACEOF
14432/* end confdefs.h. */
14433$ac_includes_default
14434int
14435main ()
14436{
14437static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14438test_array [0] = 0
14439
14440 ;
14441 return 0;
14442}
14443_ACEOF
14444rm -f conftest.$ac_objext
14445if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14446 (eval $ac_compile) 2>&5
14447 ac_status=$?
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } &&
14450 { ac_try='test -s conftest.$ac_objext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14453 ac_status=$?
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 ac_lo=0 ac_mid=0
14457 while :; do
14458 cat >conftest.$ac_ext <<_ACEOF
14459#line $LINENO "configure"
14460/* confdefs.h. */
14461_ACEOF
14462cat confdefs.h >>conftest.$ac_ext
14463cat >>conftest.$ac_ext <<_ACEOF
14464/* end confdefs.h. */
14465$ac_includes_default
14466int
14467main ()
14468{
14469static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14470test_array [0] = 0
14471
14472 ;
14473 return 0;
14474}
14475_ACEOF
14476rm -f conftest.$ac_objext
14477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14478 (eval $ac_compile) 2>&5
14479 ac_status=$?
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); } &&
14482 { ac_try='test -s conftest.$ac_objext'
14483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 (eval $ac_try) 2>&5
14485 ac_status=$?
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; }; then
14488 ac_hi=$ac_mid; break
14489else
14490 echo "$as_me: failed program was:" >&5
14491sed 's/^/| /' conftest.$ac_ext >&5
14492
14493ac_lo=`expr $ac_mid + 1`
14494 if test $ac_lo -le $ac_mid; then
14495 ac_lo= ac_hi=
14496 break
14497 fi
14498 ac_mid=`expr 2 '*' $ac_mid + 1`
14499fi
14500rm -f conftest.$ac_objext conftest.$ac_ext
14501 done
14502else
14503 echo "$as_me: failed program was:" >&5
14504sed 's/^/| /' conftest.$ac_ext >&5
14505
14506cat >conftest.$ac_ext <<_ACEOF
14507#line $LINENO "configure"
14508/* confdefs.h. */
14509_ACEOF
14510cat confdefs.h >>conftest.$ac_ext
14511cat >>conftest.$ac_ext <<_ACEOF
14512/* end confdefs.h. */
14513$ac_includes_default
14514int
14515main ()
14516{
14517static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14518test_array [0] = 0
14519
14520 ;
14521 return 0;
14522}
14523_ACEOF
14524rm -f conftest.$ac_objext
14525if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14526 (eval $ac_compile) 2>&5
14527 ac_status=$?
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } &&
14530 { ac_try='test -s conftest.$ac_objext'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14536 ac_hi=-1 ac_mid=-1
14537 while :; do
14538 cat >conftest.$ac_ext <<_ACEOF
14539#line $LINENO "configure"
14540/* confdefs.h. */
14541_ACEOF
14542cat confdefs.h >>conftest.$ac_ext
14543cat >>conftest.$ac_ext <<_ACEOF
14544/* end confdefs.h. */
14545$ac_includes_default
14546int
14547main ()
14548{
14549static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14550test_array [0] = 0
14551
14552 ;
14553 return 0;
14554}
14555_ACEOF
14556rm -f conftest.$ac_objext
14557if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14558 (eval $ac_compile) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try='test -s conftest.$ac_objext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14568 ac_lo=$ac_mid; break
14569else
14570 echo "$as_me: failed program was:" >&5
14571sed 's/^/| /' conftest.$ac_ext >&5
14572
14573ac_hi=`expr '(' $ac_mid ')' - 1`
14574 if test $ac_mid -le $ac_hi; then
14575 ac_lo= ac_hi=
14576 break
14577 fi
14578 ac_mid=`expr 2 '*' $ac_mid`
14579fi
14580rm -f conftest.$ac_objext conftest.$ac_ext
14581 done
14582else
14583 echo "$as_me: failed program was:" >&5
14584sed 's/^/| /' conftest.$ac_ext >&5
14585
14586ac_lo= ac_hi=
14587fi
14588rm -f conftest.$ac_objext conftest.$ac_ext
14589fi
14590rm -f conftest.$ac_objext conftest.$ac_ext
14591# Binary search between lo and hi bounds.
14592while test "x$ac_lo" != "x$ac_hi"; do
14593 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14594 cat >conftest.$ac_ext <<_ACEOF
14595#line $LINENO "configure"
14596/* confdefs.h. */
14597_ACEOF
14598cat confdefs.h >>conftest.$ac_ext
14599cat >>conftest.$ac_ext <<_ACEOF
14600/* end confdefs.h. */
14601$ac_includes_default
14602int
14603main ()
14604{
14605static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14606test_array [0] = 0
14607
14608 ;
14609 return 0;
14610}
14611_ACEOF
14612rm -f conftest.$ac_objext
14613if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>&5
14615 ac_status=$?
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } &&
14618 { ac_try='test -s conftest.$ac_objext'
14619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14620 (eval $ac_try) 2>&5
14621 ac_status=$?
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); }; }; then
14624 ac_hi=$ac_mid
14625else
14626 echo "$as_me: failed program was:" >&5
14627sed 's/^/| /' conftest.$ac_ext >&5
14628
14629ac_lo=`expr '(' $ac_mid ')' + 1`
14630fi
14631rm -f conftest.$ac_objext conftest.$ac_ext
14632done
14633case $ac_lo in
14634?*) ac_cv_sizeof_void_p=$ac_lo;;
14635'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14636See \`config.log' for more details." >&5
14637echo "$as_me: error: cannot compute sizeof (void *), 77
14638See \`config.log' for more details." >&2;}
14639 { (exit 1); exit 1; }; } ;;
14640esac
14641else
14642 if test "$cross_compiling" = yes; then
14643 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14644See \`config.log' for more details." >&5
14645echo "$as_me: error: cannot run test program while cross compiling
14646See \`config.log' for more details." >&2;}
14647 { (exit 1); exit 1; }; }
14648else
14649 cat >conftest.$ac_ext <<_ACEOF
14650#line $LINENO "configure"
14651/* confdefs.h. */
14652_ACEOF
14653cat confdefs.h >>conftest.$ac_ext
14654cat >>conftest.$ac_ext <<_ACEOF
14655/* end confdefs.h. */
14656$ac_includes_default
14657long longval () { return (long) (sizeof (void *)); }
14658unsigned long ulongval () { return (long) (sizeof (void *)); }
14659#include <stdio.h>
14660#include <stdlib.h>
14661int
14662main ()
14663{
14664
14665 FILE *f = fopen ("conftest.val", "w");
14666 if (! f)
14667 exit (1);
14668 if (((long) (sizeof (void *))) < 0)
14669 {
14670 long i = longval ();
14671 if (i != ((long) (sizeof (void *))))
14672 exit (1);
14673 fprintf (f, "%ld\n", i);
14674 }
14675 else
14676 {
14677 unsigned long i = ulongval ();
14678 if (i != ((long) (sizeof (void *))))
14679 exit (1);
14680 fprintf (f, "%lu\n", i);
14681 }
14682 exit (ferror (f) || fclose (f) != 0);
14683
14684 ;
14685 return 0;
14686}
14687_ACEOF
14688rm -f conftest$ac_exeext
14689if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14690 (eval $ac_link) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14696 ac_status=$?
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; }; then
14699 ac_cv_sizeof_void_p=`cat conftest.val`
14700else
14701 echo "$as_me: program exited with status $ac_status" >&5
14702echo "$as_me: failed program was:" >&5
14703sed 's/^/| /' conftest.$ac_ext >&5
14704
14705( exit $ac_status )
14706{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14707See \`config.log' for more details." >&5
14708echo "$as_me: error: cannot compute sizeof (void *), 77
14709See \`config.log' for more details." >&2;}
14710 { (exit 1); exit 1; }; }
14711fi
14712rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14713fi
14714fi
14715rm -f conftest.val
14716else
14717 ac_cv_sizeof_void_p=0
14718fi
14719fi
14720echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14721echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14722cat >>confdefs.h <<_ACEOF
14723#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14724_ACEOF
14725
14726
14727echo "$as_me:$LINENO: checking for int" >&5
14728echo $ECHO_N "checking for int... $ECHO_C" >&6
14729if test "${ac_cv_type_int+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14731else
14732 cat >conftest.$ac_ext <<_ACEOF
14733#line $LINENO "configure"
14734/* confdefs.h. */
14735_ACEOF
14736cat confdefs.h >>conftest.$ac_ext
14737cat >>conftest.$ac_ext <<_ACEOF
14738/* end confdefs.h. */
14739$ac_includes_default
14740int
14741main ()
14742{
14743if ((int *) 0)
14744 return 0;
14745if (sizeof (int))
14746 return 0;
14747 ;
14748 return 0;
14749}
14750_ACEOF
14751rm -f conftest.$ac_objext
14752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14753 (eval $ac_compile) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } &&
14757 { ac_try='test -s conftest.$ac_objext'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14760 ac_status=$?
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; }; then
14763 ac_cv_type_int=yes
14764else
14765 echo "$as_me: failed program was:" >&5
14766sed 's/^/| /' conftest.$ac_ext >&5
14767
14768ac_cv_type_int=no
14769fi
14770rm -f conftest.$ac_objext conftest.$ac_ext
14771fi
14772echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14773echo "${ECHO_T}$ac_cv_type_int" >&6
14774
14775echo "$as_me:$LINENO: checking size of int" >&5
14776echo $ECHO_N "checking size of int... $ECHO_C" >&6
14777if test "${ac_cv_sizeof_int+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779else
14780 if test "$ac_cv_type_int" = yes; then
14781 # The cast to unsigned long works around a bug in the HP C Compiler
14782 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14783 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14784 # This bug is HP SR number 8606223364.
14785 if test "$cross_compiling" = yes; then
14786 # Depending upon the size, compute the lo and hi bounds.
14787cat >conftest.$ac_ext <<_ACEOF
14788#line $LINENO "configure"
14789/* confdefs.h. */
14790_ACEOF
14791cat confdefs.h >>conftest.$ac_ext
14792cat >>conftest.$ac_ext <<_ACEOF
14793/* end confdefs.h. */
14794$ac_includes_default
14795int
14796main ()
14797{
14798static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14799test_array [0] = 0
14800
14801 ;
14802 return 0;
14803}
14804_ACEOF
14805rm -f conftest.$ac_objext
14806if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14807 (eval $ac_compile) 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try='test -s conftest.$ac_objext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_lo=0 ac_mid=0
14818 while :; do
14819 cat >conftest.$ac_ext <<_ACEOF
14820#line $LINENO "configure"
14821/* confdefs.h. */
14822_ACEOF
14823cat confdefs.h >>conftest.$ac_ext
14824cat >>conftest.$ac_ext <<_ACEOF
14825/* end confdefs.h. */
14826$ac_includes_default
14827int
14828main ()
14829{
14830static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14831test_array [0] = 0
14832
14833 ;
14834 return 0;
14835}
14836_ACEOF
14837rm -f conftest.$ac_objext
14838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14839 (eval $ac_compile) 2>&5
14840 ac_status=$?
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } &&
14843 { ac_try='test -s conftest.$ac_objext'
14844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14845 (eval $ac_try) 2>&5
14846 ac_status=$?
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); }; }; then
14849 ac_hi=$ac_mid; break
14850else
14851 echo "$as_me: failed program was:" >&5
14852sed 's/^/| /' conftest.$ac_ext >&5
14853
14854ac_lo=`expr $ac_mid + 1`
14855 if test $ac_lo -le $ac_mid; then
14856 ac_lo= ac_hi=
14857 break
14858 fi
14859 ac_mid=`expr 2 '*' $ac_mid + 1`
14860fi
14861rm -f conftest.$ac_objext conftest.$ac_ext
14862 done
14863else
14864 echo "$as_me: failed program was:" >&5
14865sed 's/^/| /' conftest.$ac_ext >&5
14866
14867cat >conftest.$ac_ext <<_ACEOF
14868#line $LINENO "configure"
14869/* confdefs.h. */
14870_ACEOF
14871cat confdefs.h >>conftest.$ac_ext
14872cat >>conftest.$ac_ext <<_ACEOF
14873/* end confdefs.h. */
14874$ac_includes_default
14875int
14876main ()
14877{
14878static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14879test_array [0] = 0
14880
14881 ;
14882 return 0;
14883}
14884_ACEOF
14885rm -f conftest.$ac_objext
14886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14887 (eval $ac_compile) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } &&
14891 { ac_try='test -s conftest.$ac_objext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_hi=-1 ac_mid=-1
14898 while :; do
14899 cat >conftest.$ac_ext <<_ACEOF
14900#line $LINENO "configure"
14901/* confdefs.h. */
14902_ACEOF
14903cat confdefs.h >>conftest.$ac_ext
14904cat >>conftest.$ac_ext <<_ACEOF
14905/* end confdefs.h. */
14906$ac_includes_default
14907int
14908main ()
14909{
14910static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14911test_array [0] = 0
14912
14913 ;
14914 return 0;
14915}
14916_ACEOF
14917rm -f conftest.$ac_objext
14918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14919 (eval $ac_compile) 2>&5
14920 ac_status=$?
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } &&
14923 { ac_try='test -s conftest.$ac_objext'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14926 ac_status=$?
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14929 ac_lo=$ac_mid; break
14930else
14931 echo "$as_me: failed program was:" >&5
14932sed 's/^/| /' conftest.$ac_ext >&5
14933
14934ac_hi=`expr '(' $ac_mid ')' - 1`
14935 if test $ac_mid -le $ac_hi; then
14936 ac_lo= ac_hi=
14937 break
14938 fi
14939 ac_mid=`expr 2 '*' $ac_mid`
14940fi
14941rm -f conftest.$ac_objext conftest.$ac_ext
14942 done
14943else
14944 echo "$as_me: failed program was:" >&5
14945sed 's/^/| /' conftest.$ac_ext >&5
14946
14947ac_lo= ac_hi=
14948fi
14949rm -f conftest.$ac_objext conftest.$ac_ext
14950fi
14951rm -f conftest.$ac_objext conftest.$ac_ext
14952# Binary search between lo and hi bounds.
14953while test "x$ac_lo" != "x$ac_hi"; do
14954 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14955 cat >conftest.$ac_ext <<_ACEOF
14956#line $LINENO "configure"
14957/* confdefs.h. */
14958_ACEOF
14959cat confdefs.h >>conftest.$ac_ext
14960cat >>conftest.$ac_ext <<_ACEOF
14961/* end confdefs.h. */
14962$ac_includes_default
14963int
14964main ()
14965{
14966static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14967test_array [0] = 0
14968
14969 ;
14970 return 0;
14971}
14972_ACEOF
14973rm -f conftest.$ac_objext
14974if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975 (eval $ac_compile) 2>&5
14976 ac_status=$?
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } &&
14979 { ac_try='test -s conftest.$ac_objext'
14980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14981 (eval $ac_try) 2>&5
14982 ac_status=$?
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); }; }; then
14985 ac_hi=$ac_mid
14986else
14987 echo "$as_me: failed program was:" >&5
14988sed 's/^/| /' conftest.$ac_ext >&5
14989
14990ac_lo=`expr '(' $ac_mid ')' + 1`
14991fi
14992rm -f conftest.$ac_objext conftest.$ac_ext
14993done
14994case $ac_lo in
14995?*) ac_cv_sizeof_int=$ac_lo;;
14996'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14997See \`config.log' for more details." >&5
14998echo "$as_me: error: cannot compute sizeof (int), 77
14999See \`config.log' for more details." >&2;}
15000 { (exit 1); exit 1; }; } ;;
15001esac
15002else
15003 if test "$cross_compiling" = yes; then
15004 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15005See \`config.log' for more details." >&5
15006echo "$as_me: error: cannot run test program while cross compiling
15007See \`config.log' for more details." >&2;}
15008 { (exit 1); exit 1; }; }
15009else
15010 cat >conftest.$ac_ext <<_ACEOF
15011#line $LINENO "configure"
15012/* confdefs.h. */
15013_ACEOF
15014cat confdefs.h >>conftest.$ac_ext
15015cat >>conftest.$ac_ext <<_ACEOF
15016/* end confdefs.h. */
15017$ac_includes_default
15018long longval () { return (long) (sizeof (int)); }
15019unsigned long ulongval () { return (long) (sizeof (int)); }
15020#include <stdio.h>
15021#include <stdlib.h>
15022int
15023main ()
15024{
15025
15026 FILE *f = fopen ("conftest.val", "w");
15027 if (! f)
15028 exit (1);
15029 if (((long) (sizeof (int))) < 0)
15030 {
15031 long i = longval ();
15032 if (i != ((long) (sizeof (int))))
15033 exit (1);
15034 fprintf (f, "%ld\n", i);
15035 }
15036 else
15037 {
15038 unsigned long i = ulongval ();
15039 if (i != ((long) (sizeof (int))))
15040 exit (1);
15041 fprintf (f, "%lu\n", i);
15042 }
15043 exit (ferror (f) || fclose (f) != 0);
15044
15045 ;
15046 return 0;
15047}
15048_ACEOF
15049rm -f conftest$ac_exeext
15050if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15051 (eval $ac_link) 2>&5
15052 ac_status=$?
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056 (eval $ac_try) 2>&5
15057 ac_status=$?
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); }; }; then
15060 ac_cv_sizeof_int=`cat conftest.val`
15061else
15062 echo "$as_me: program exited with status $ac_status" >&5
15063echo "$as_me: failed program was:" >&5
15064sed 's/^/| /' conftest.$ac_ext >&5
15065
15066( exit $ac_status )
15067{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15068See \`config.log' for more details." >&5
15069echo "$as_me: error: cannot compute sizeof (int), 77
15070See \`config.log' for more details." >&2;}
15071 { (exit 1); exit 1; }; }
15072fi
15073rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15074fi
15075fi
15076rm -f conftest.val
15077else
15078 ac_cv_sizeof_int=0
15079fi
15080fi
15081echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15082echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15083cat >>confdefs.h <<_ACEOF
15084#define SIZEOF_INT $ac_cv_sizeof_int
15085_ACEOF
15086
15087
15088echo "$as_me:$LINENO: checking for long" >&5
15089echo $ECHO_N "checking for long... $ECHO_C" >&6
15090if test "${ac_cv_type_long+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15092else
15093 cat >conftest.$ac_ext <<_ACEOF
15094#line $LINENO "configure"
15095/* confdefs.h. */
15096_ACEOF
15097cat confdefs.h >>conftest.$ac_ext
15098cat >>conftest.$ac_ext <<_ACEOF
15099/* end confdefs.h. */
15100$ac_includes_default
15101int
15102main ()
15103{
15104if ((long *) 0)
15105 return 0;
15106if (sizeof (long))
15107 return 0;
15108 ;
15109 return 0;
15110}
15111_ACEOF
15112rm -f conftest.$ac_objext
15113if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15114 (eval $ac_compile) 2>&5
15115 ac_status=$?
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); } &&
15118 { ac_try='test -s conftest.$ac_objext'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; }; then
15124 ac_cv_type_long=yes
15125else
15126 echo "$as_me: failed program was:" >&5
15127sed 's/^/| /' conftest.$ac_ext >&5
15128
15129ac_cv_type_long=no
15130fi
15131rm -f conftest.$ac_objext conftest.$ac_ext
15132fi
15133echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15134echo "${ECHO_T}$ac_cv_type_long" >&6
15135
15136echo "$as_me:$LINENO: checking size of long" >&5
15137echo $ECHO_N "checking size of long... $ECHO_C" >&6
15138if test "${ac_cv_sizeof_long+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140else
15141 if test "$ac_cv_type_long" = yes; then
15142 # The cast to unsigned long works around a bug in the HP C Compiler
15143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15145 # This bug is HP SR number 8606223364.
15146 if test "$cross_compiling" = yes; then
15147 # Depending upon the size, compute the lo and hi bounds.
15148cat >conftest.$ac_ext <<_ACEOF
15149#line $LINENO "configure"
15150/* confdefs.h. */
15151_ACEOF
15152cat confdefs.h >>conftest.$ac_ext
15153cat >>conftest.$ac_ext <<_ACEOF
15154/* end confdefs.h. */
15155$ac_includes_default
15156int
15157main ()
15158{
15159static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15160test_array [0] = 0
15161
15162 ;
15163 return 0;
15164}
15165_ACEOF
15166rm -f conftest.$ac_objext
15167if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15168 (eval $ac_compile) 2>&5
15169 ac_status=$?
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } &&
15172 { ac_try='test -s conftest.$ac_objext'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15175 ac_status=$?
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; }; then
15178 ac_lo=0 ac_mid=0
15179 while :; do
15180 cat >conftest.$ac_ext <<_ACEOF
15181#line $LINENO "configure"
15182/* confdefs.h. */
15183_ACEOF
15184cat confdefs.h >>conftest.$ac_ext
15185cat >>conftest.$ac_ext <<_ACEOF
15186/* end confdefs.h. */
15187$ac_includes_default
15188int
15189main ()
15190{
15191static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15192test_array [0] = 0
15193
15194 ;
15195 return 0;
15196}
15197_ACEOF
15198rm -f conftest.$ac_objext
15199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15200 (eval $ac_compile) 2>&5
15201 ac_status=$?
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } &&
15204 { ac_try='test -s conftest.$ac_objext'
15205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15206 (eval $ac_try) 2>&5
15207 ac_status=$?
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; }; then
15210 ac_hi=$ac_mid; break
15211else
15212 echo "$as_me: failed program was:" >&5
15213sed 's/^/| /' conftest.$ac_ext >&5
15214
15215ac_lo=`expr $ac_mid + 1`
15216 if test $ac_lo -le $ac_mid; then
15217 ac_lo= ac_hi=
15218 break
15219 fi
15220 ac_mid=`expr 2 '*' $ac_mid + 1`
15221fi
15222rm -f conftest.$ac_objext conftest.$ac_ext
15223 done
15224else
15225 echo "$as_me: failed program was:" >&5
15226sed 's/^/| /' conftest.$ac_ext >&5
15227
15228cat >conftest.$ac_ext <<_ACEOF
15229#line $LINENO "configure"
15230/* confdefs.h. */
15231_ACEOF
15232cat confdefs.h >>conftest.$ac_ext
15233cat >>conftest.$ac_ext <<_ACEOF
15234/* end confdefs.h. */
15235$ac_includes_default
15236int
15237main ()
15238{
15239static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15240test_array [0] = 0
15241
15242 ;
15243 return 0;
15244}
15245_ACEOF
15246rm -f conftest.$ac_objext
15247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_hi=-1 ac_mid=-1
15259 while :; do
15260 cat >conftest.$ac_ext <<_ACEOF
15261#line $LINENO "configure"
15262/* confdefs.h. */
15263_ACEOF
15264cat confdefs.h >>conftest.$ac_ext
15265cat >>conftest.$ac_ext <<_ACEOF
15266/* end confdefs.h. */
15267$ac_includes_default
15268int
15269main ()
15270{
15271static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15272test_array [0] = 0
15273
15274 ;
15275 return 0;
15276}
15277_ACEOF
15278rm -f conftest.$ac_objext
15279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15280 (eval $ac_compile) 2>&5
15281 ac_status=$?
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } &&
15284 { ac_try='test -s conftest.$ac_objext'
15285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286 (eval $ac_try) 2>&5
15287 ac_status=$?
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); }; }; then
15290 ac_lo=$ac_mid; break
15291else
15292 echo "$as_me: failed program was:" >&5
15293sed 's/^/| /' conftest.$ac_ext >&5
15294
15295ac_hi=`expr '(' $ac_mid ')' - 1`
15296 if test $ac_mid -le $ac_hi; then
15297 ac_lo= ac_hi=
15298 break
15299 fi
15300 ac_mid=`expr 2 '*' $ac_mid`
15301fi
15302rm -f conftest.$ac_objext conftest.$ac_ext
15303 done
15304else
15305 echo "$as_me: failed program was:" >&5
15306sed 's/^/| /' conftest.$ac_ext >&5
15307
15308ac_lo= ac_hi=
15309fi
15310rm -f conftest.$ac_objext conftest.$ac_ext
15311fi
15312rm -f conftest.$ac_objext conftest.$ac_ext
15313# Binary search between lo and hi bounds.
15314while test "x$ac_lo" != "x$ac_hi"; do
15315 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15316 cat >conftest.$ac_ext <<_ACEOF
15317#line $LINENO "configure"
15318/* confdefs.h. */
15319_ACEOF
15320cat confdefs.h >>conftest.$ac_ext
15321cat >>conftest.$ac_ext <<_ACEOF
15322/* end confdefs.h. */
15323$ac_includes_default
15324int
15325main ()
15326{
15327static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15328test_array [0] = 0
15329
15330 ;
15331 return 0;
15332}
15333_ACEOF
15334rm -f conftest.$ac_objext
15335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15336 (eval $ac_compile) 2>&5
15337 ac_status=$?
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); } &&
15340 { ac_try='test -s conftest.$ac_objext'
15341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15342 (eval $ac_try) 2>&5
15343 ac_status=$?
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); }; }; then
15346 ac_hi=$ac_mid
15347else
15348 echo "$as_me: failed program was:" >&5
15349sed 's/^/| /' conftest.$ac_ext >&5
15350
15351ac_lo=`expr '(' $ac_mid ')' + 1`
15352fi
15353rm -f conftest.$ac_objext conftest.$ac_ext
15354done
15355case $ac_lo in
15356?*) ac_cv_sizeof_long=$ac_lo;;
15357'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15358See \`config.log' for more details." >&5
15359echo "$as_me: error: cannot compute sizeof (long), 77
15360See \`config.log' for more details." >&2;}
15361 { (exit 1); exit 1; }; } ;;
15362esac
15363else
15364 if test "$cross_compiling" = yes; then
15365 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15366See \`config.log' for more details." >&5
15367echo "$as_me: error: cannot run test program while cross compiling
15368See \`config.log' for more details." >&2;}
15369 { (exit 1); exit 1; }; }
15370else
15371 cat >conftest.$ac_ext <<_ACEOF
15372#line $LINENO "configure"
15373/* confdefs.h. */
15374_ACEOF
15375cat confdefs.h >>conftest.$ac_ext
15376cat >>conftest.$ac_ext <<_ACEOF
15377/* end confdefs.h. */
15378$ac_includes_default
15379long longval () { return (long) (sizeof (long)); }
15380unsigned long ulongval () { return (long) (sizeof (long)); }
15381#include <stdio.h>
15382#include <stdlib.h>
15383int
15384main ()
15385{
15386
15387 FILE *f = fopen ("conftest.val", "w");
15388 if (! f)
15389 exit (1);
15390 if (((long) (sizeof (long))) < 0)
15391 {
15392 long i = longval ();
15393 if (i != ((long) (sizeof (long))))
15394 exit (1);
15395 fprintf (f, "%ld\n", i);
15396 }
15397 else
15398 {
15399 unsigned long i = ulongval ();
15400 if (i != ((long) (sizeof (long))))
15401 exit (1);
15402 fprintf (f, "%lu\n", i);
15403 }
15404 exit (ferror (f) || fclose (f) != 0);
15405
15406 ;
15407 return 0;
15408}
15409_ACEOF
15410rm -f conftest$ac_exeext
15411if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15412 (eval $ac_link) 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15417 (eval $ac_try) 2>&5
15418 ac_status=$?
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); }; }; then
15421 ac_cv_sizeof_long=`cat conftest.val`
15422else
15423 echo "$as_me: program exited with status $ac_status" >&5
15424echo "$as_me: failed program was:" >&5
15425sed 's/^/| /' conftest.$ac_ext >&5
15426
15427( exit $ac_status )
15428{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15429See \`config.log' for more details." >&5
15430echo "$as_me: error: cannot compute sizeof (long), 77
15431See \`config.log' for more details." >&2;}
15432 { (exit 1); exit 1; }; }
15433fi
15434rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15435fi
15436fi
15437rm -f conftest.val
15438else
15439 ac_cv_sizeof_long=0
15440fi
15441fi
15442echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15443echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15444cat >>confdefs.h <<_ACEOF
15445#define SIZEOF_LONG $ac_cv_sizeof_long
15446_ACEOF
15447
15448
15449
15450case "${host}" in
15451 arm-*-linux* )
15452 echo "$as_me:$LINENO: checking for long long" >&5
15453echo $ECHO_N "checking for long long... $ECHO_C" >&6
15454if test "${ac_cv_type_long_long+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15456else
15457 cat >conftest.$ac_ext <<_ACEOF
15458#line $LINENO "configure"
15459/* confdefs.h. */
15460_ACEOF
15461cat confdefs.h >>conftest.$ac_ext
15462cat >>conftest.$ac_ext <<_ACEOF
15463/* end confdefs.h. */
15464$ac_includes_default
15465int
15466main ()
15467{
15468if ((long long *) 0)
15469 return 0;
15470if (sizeof (long long))
15471 return 0;
15472 ;
15473 return 0;
15474}
15475_ACEOF
15476rm -f conftest.$ac_objext
15477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15478 (eval $ac_compile) 2>&5
15479 ac_status=$?
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try='test -s conftest.$ac_objext'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15485 ac_status=$?
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; }; then
15488 ac_cv_type_long_long=yes
15489else
15490 echo "$as_me: failed program was:" >&5
15491sed 's/^/| /' conftest.$ac_ext >&5
15492
15493ac_cv_type_long_long=no
15494fi
15495rm -f conftest.$ac_objext conftest.$ac_ext
15496fi
15497echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15498echo "${ECHO_T}$ac_cv_type_long_long" >&6
15499
15500echo "$as_me:$LINENO: checking size of long long" >&5
15501echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15502if test "${ac_cv_sizeof_long_long+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15504else
15505 if test "$ac_cv_type_long_long" = yes; then
15506 # The cast to unsigned long works around a bug in the HP C Compiler
15507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15509 # This bug is HP SR number 8606223364.
15510 if test "$cross_compiling" = yes; then
15511 # Depending upon the size, compute the lo and hi bounds.
15512cat >conftest.$ac_ext <<_ACEOF
15513#line $LINENO "configure"
15514/* confdefs.h. */
15515_ACEOF
15516cat confdefs.h >>conftest.$ac_ext
15517cat >>conftest.$ac_ext <<_ACEOF
15518/* end confdefs.h. */
15519$ac_includes_default
15520int
15521main ()
15522{
15523static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15524test_array [0] = 0
15525
15526 ;
15527 return 0;
15528}
15529_ACEOF
15530rm -f conftest.$ac_objext
15531if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15532 (eval $ac_compile) 2>&5
15533 ac_status=$?
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); } &&
15536 { ac_try='test -s conftest.$ac_objext'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15539 ac_status=$?
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; }; then
15542 ac_lo=0 ac_mid=0
15543 while :; do
15544 cat >conftest.$ac_ext <<_ACEOF
15545#line $LINENO "configure"
15546/* confdefs.h. */
15547_ACEOF
15548cat confdefs.h >>conftest.$ac_ext
15549cat >>conftest.$ac_ext <<_ACEOF
15550/* end confdefs.h. */
15551$ac_includes_default
15552int
15553main ()
15554{
15555static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15556test_array [0] = 0
15557
15558 ;
15559 return 0;
15560}
15561_ACEOF
15562rm -f conftest.$ac_objext
15563if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15564 (eval $ac_compile) 2>&5
15565 ac_status=$?
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } &&
15568 { ac_try='test -s conftest.$ac_objext'
15569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15570 (eval $ac_try) 2>&5
15571 ac_status=$?
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); }; }; then
15574 ac_hi=$ac_mid; break
15575else
15576 echo "$as_me: failed program was:" >&5
15577sed 's/^/| /' conftest.$ac_ext >&5
15578
15579ac_lo=`expr $ac_mid + 1`
15580 if test $ac_lo -le $ac_mid; then
15581 ac_lo= ac_hi=
15582 break
15583 fi
15584 ac_mid=`expr 2 '*' $ac_mid + 1`
15585fi
15586rm -f conftest.$ac_objext conftest.$ac_ext
15587 done
15588else
15589 echo "$as_me: failed program was:" >&5
15590sed 's/^/| /' conftest.$ac_ext >&5
15591
15592cat >conftest.$ac_ext <<_ACEOF
15593#line $LINENO "configure"
15594/* confdefs.h. */
15595_ACEOF
15596cat confdefs.h >>conftest.$ac_ext
15597cat >>conftest.$ac_ext <<_ACEOF
15598/* end confdefs.h. */
15599$ac_includes_default
15600int
15601main ()
15602{
15603static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15604test_array [0] = 0
15605
15606 ;
15607 return 0;
15608}
15609_ACEOF
15610rm -f conftest.$ac_objext
15611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15612 (eval $ac_compile) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); } &&
15616 { ac_try='test -s conftest.$ac_objext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 ac_hi=-1 ac_mid=-1
15623 while :; do
15624 cat >conftest.$ac_ext <<_ACEOF
15625#line $LINENO "configure"
15626/* confdefs.h. */
15627_ACEOF
15628cat confdefs.h >>conftest.$ac_ext
15629cat >>conftest.$ac_ext <<_ACEOF
15630/* end confdefs.h. */
15631$ac_includes_default
15632int
15633main ()
15634{
15635static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15636test_array [0] = 0
15637
15638 ;
15639 return 0;
15640}
15641_ACEOF
15642rm -f conftest.$ac_objext
15643if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15644 (eval $ac_compile) 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
15648 { ac_try='test -s conftest.$ac_objext'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15651 ac_status=$?
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 ac_lo=$ac_mid; break
15655else
15656 echo "$as_me: failed program was:" >&5
15657sed 's/^/| /' conftest.$ac_ext >&5
15658
15659ac_hi=`expr '(' $ac_mid ')' - 1`
15660 if test $ac_mid -le $ac_hi; then
15661 ac_lo= ac_hi=
15662 break
15663 fi
15664 ac_mid=`expr 2 '*' $ac_mid`
15665fi
15666rm -f conftest.$ac_objext conftest.$ac_ext
15667 done
15668else
15669 echo "$as_me: failed program was:" >&5
15670sed 's/^/| /' conftest.$ac_ext >&5
15671
15672ac_lo= ac_hi=
15673fi
15674rm -f conftest.$ac_objext conftest.$ac_ext
15675fi
15676rm -f conftest.$ac_objext conftest.$ac_ext
15677# Binary search between lo and hi bounds.
15678while test "x$ac_lo" != "x$ac_hi"; do
15679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15680 cat >conftest.$ac_ext <<_ACEOF
15681#line $LINENO "configure"
15682/* confdefs.h. */
15683_ACEOF
15684cat confdefs.h >>conftest.$ac_ext
15685cat >>conftest.$ac_ext <<_ACEOF
15686/* end confdefs.h. */
15687$ac_includes_default
15688int
15689main ()
15690{
15691static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15692test_array [0] = 0
15693
15694 ;
15695 return 0;
15696}
15697_ACEOF
15698rm -f conftest.$ac_objext
15699if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15700 (eval $ac_compile) 2>&5
15701 ac_status=$?
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); } &&
15704 { ac_try='test -s conftest.$ac_objext'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 ac_hi=$ac_mid
15711else
15712 echo "$as_me: failed program was:" >&5
15713sed 's/^/| /' conftest.$ac_ext >&5
15714
15715ac_lo=`expr '(' $ac_mid ')' + 1`
15716fi
15717rm -f conftest.$ac_objext conftest.$ac_ext
15718done
15719case $ac_lo in
15720?*) ac_cv_sizeof_long_long=$ac_lo;;
15721'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15722See \`config.log' for more details." >&5
15723echo "$as_me: error: cannot compute sizeof (long long), 77
15724See \`config.log' for more details." >&2;}
15725 { (exit 1); exit 1; }; } ;;
15726esac
15727else
15728 if test "$cross_compiling" = yes; then
15729 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15730See \`config.log' for more details." >&5
15731echo "$as_me: error: cannot run test program while cross compiling
15732See \`config.log' for more details." >&2;}
15733 { (exit 1); exit 1; }; }
15734else
15735 cat >conftest.$ac_ext <<_ACEOF
15736#line $LINENO "configure"
15737/* confdefs.h. */
15738_ACEOF
15739cat confdefs.h >>conftest.$ac_ext
15740cat >>conftest.$ac_ext <<_ACEOF
15741/* end confdefs.h. */
15742$ac_includes_default
15743long longval () { return (long) (sizeof (long long)); }
15744unsigned long ulongval () { return (long) (sizeof (long long)); }
15745#include <stdio.h>
15746#include <stdlib.h>
15747int
15748main ()
15749{
15750
15751 FILE *f = fopen ("conftest.val", "w");
15752 if (! f)
15753 exit (1);
15754 if (((long) (sizeof (long long))) < 0)
15755 {
15756 long i = longval ();
15757 if (i != ((long) (sizeof (long long))))
15758 exit (1);
15759 fprintf (f, "%ld\n", i);
15760 }
15761 else
15762 {
15763 unsigned long i = ulongval ();
15764 if (i != ((long) (sizeof (long long))))
15765 exit (1);
15766 fprintf (f, "%lu\n", i);
15767 }
15768 exit (ferror (f) || fclose (f) != 0);
15769
15770 ;
15771 return 0;
15772}
15773_ACEOF
15774rm -f conftest$ac_exeext
15775if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15776 (eval $ac_link) 2>&5
15777 ac_status=$?
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15782 ac_status=$?
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; }; then
15785 ac_cv_sizeof_long_long=`cat conftest.val`
15786else
15787 echo "$as_me: program exited with status $ac_status" >&5
15788echo "$as_me: failed program was:" >&5
15789sed 's/^/| /' conftest.$ac_ext >&5
15790
15791( exit $ac_status )
15792{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15793See \`config.log' for more details." >&5
15794echo "$as_me: error: cannot compute sizeof (long long), 77
15795See \`config.log' for more details." >&2;}
15796 { (exit 1); exit 1; }; }
15797fi
15798rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15799fi
15800fi
15801rm -f conftest.val
15802else
15803 ac_cv_sizeof_long_long=0
15804fi
15805fi
15806echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15807echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15808cat >>confdefs.h <<_ACEOF
15809#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15810_ACEOF
15811
15812
15813 ;;
15814 *-hp-hpux* )
15815 echo "$as_me:$LINENO: checking for long long" >&5
15816echo $ECHO_N "checking for long long... $ECHO_C" >&6
15817if test "${ac_cv_type_long_long+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15819else
15820 cat >conftest.$ac_ext <<_ACEOF
15821#line $LINENO "configure"
15822/* confdefs.h. */
15823_ACEOF
15824cat confdefs.h >>conftest.$ac_ext
15825cat >>conftest.$ac_ext <<_ACEOF
15826/* end confdefs.h. */
15827$ac_includes_default
15828int
15829main ()
15830{
15831if ((long long *) 0)
15832 return 0;
15833if (sizeof (long long))
15834 return 0;
15835 ;
15836 return 0;
15837}
15838_ACEOF
15839rm -f conftest.$ac_objext
15840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15841 (eval $ac_compile) 2>&5
15842 ac_status=$?
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } &&
15845 { ac_try='test -s conftest.$ac_objext'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15848 ac_status=$?
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15851 ac_cv_type_long_long=yes
15852else
15853 echo "$as_me: failed program was:" >&5
15854sed 's/^/| /' conftest.$ac_ext >&5
15855
15856ac_cv_type_long_long=no
15857fi
15858rm -f conftest.$ac_objext conftest.$ac_ext
15859fi
15860echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15861echo "${ECHO_T}$ac_cv_type_long_long" >&6
15862
15863echo "$as_me:$LINENO: checking size of long long" >&5
15864echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15865if test "${ac_cv_sizeof_long_long+set}" = set; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15867else
15868 if test "$ac_cv_type_long_long" = yes; then
15869 # The cast to unsigned long works around a bug in the HP C Compiler
15870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15872 # This bug is HP SR number 8606223364.
15873 if test "$cross_compiling" = yes; then
15874 # Depending upon the size, compute the lo and hi bounds.
15875cat >conftest.$ac_ext <<_ACEOF
15876#line $LINENO "configure"
15877/* confdefs.h. */
15878_ACEOF
15879cat confdefs.h >>conftest.$ac_ext
15880cat >>conftest.$ac_ext <<_ACEOF
15881/* end confdefs.h. */
15882$ac_includes_default
15883int
15884main ()
15885{
15886static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15887test_array [0] = 0
15888
15889 ;
15890 return 0;
15891}
15892_ACEOF
15893rm -f conftest.$ac_objext
15894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15895 (eval $ac_compile) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } &&
15899 { ac_try='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15905 ac_lo=0 ac_mid=0
15906 while :; do
15907 cat >conftest.$ac_ext <<_ACEOF
15908#line $LINENO "configure"
15909/* confdefs.h. */
15910_ACEOF
15911cat confdefs.h >>conftest.$ac_ext
15912cat >>conftest.$ac_ext <<_ACEOF
15913/* end confdefs.h. */
15914$ac_includes_default
15915int
15916main ()
15917{
15918static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15919test_array [0] = 0
15920
15921 ;
15922 return 0;
15923}
15924_ACEOF
15925rm -f conftest.$ac_objext
15926if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15927 (eval $ac_compile) 2>&5
15928 ac_status=$?
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } &&
15931 { ac_try='test -s conftest.$ac_objext'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15934 ac_status=$?
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; }; then
15937 ac_hi=$ac_mid; break
15938else
15939 echo "$as_me: failed program was:" >&5
15940sed 's/^/| /' conftest.$ac_ext >&5
15941
15942ac_lo=`expr $ac_mid + 1`
15943 if test $ac_lo -le $ac_mid; then
15944 ac_lo= ac_hi=
15945 break
15946 fi
15947 ac_mid=`expr 2 '*' $ac_mid + 1`
15948fi
15949rm -f conftest.$ac_objext conftest.$ac_ext
15950 done
15951else
15952 echo "$as_me: failed program was:" >&5
15953sed 's/^/| /' conftest.$ac_ext >&5
15954
15955cat >conftest.$ac_ext <<_ACEOF
15956#line $LINENO "configure"
15957/* confdefs.h. */
15958_ACEOF
15959cat confdefs.h >>conftest.$ac_ext
15960cat >>conftest.$ac_ext <<_ACEOF
15961/* end confdefs.h. */
15962$ac_includes_default
15963int
15964main ()
15965{
15966static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15967test_array [0] = 0
15968
15969 ;
15970 return 0;
15971}
15972_ACEOF
15973rm -f conftest.$ac_objext
15974if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15975 (eval $ac_compile) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 ac_hi=-1 ac_mid=-1
15986 while :; do
15987 cat >conftest.$ac_ext <<_ACEOF
15988#line $LINENO "configure"
15989/* confdefs.h. */
15990_ACEOF
15991cat confdefs.h >>conftest.$ac_ext
15992cat >>conftest.$ac_ext <<_ACEOF
15993/* end confdefs.h. */
15994$ac_includes_default
15995int
15996main ()
15997{
15998static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15999test_array [0] = 0
16000
16001 ;
16002 return 0;
16003}
16004_ACEOF
16005rm -f conftest.$ac_objext
16006if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16007 (eval $ac_compile) 2>&5
16008 ac_status=$?
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } &&
16011 { ac_try='test -s conftest.$ac_objext'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16014 ac_status=$?
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; }; then
16017 ac_lo=$ac_mid; break
16018else
16019 echo "$as_me: failed program was:" >&5
16020sed 's/^/| /' conftest.$ac_ext >&5
16021
16022ac_hi=`expr '(' $ac_mid ')' - 1`
16023 if test $ac_mid -le $ac_hi; then
16024 ac_lo= ac_hi=
16025 break
16026 fi
16027 ac_mid=`expr 2 '*' $ac_mid`
16028fi
16029rm -f conftest.$ac_objext conftest.$ac_ext
16030 done
16031else
16032 echo "$as_me: failed program was:" >&5
16033sed 's/^/| /' conftest.$ac_ext >&5
16034
16035ac_lo= ac_hi=
16036fi
16037rm -f conftest.$ac_objext conftest.$ac_ext
16038fi
16039rm -f conftest.$ac_objext conftest.$ac_ext
16040# Binary search between lo and hi bounds.
16041while test "x$ac_lo" != "x$ac_hi"; do
16042 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16043 cat >conftest.$ac_ext <<_ACEOF
16044#line $LINENO "configure"
16045/* confdefs.h. */
16046_ACEOF
16047cat confdefs.h >>conftest.$ac_ext
16048cat >>conftest.$ac_ext <<_ACEOF
16049/* end confdefs.h. */
16050$ac_includes_default
16051int
16052main ()
16053{
16054static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16055test_array [0] = 0
16056
16057 ;
16058 return 0;
16059}
16060_ACEOF
16061rm -f conftest.$ac_objext
16062if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16063 (eval $ac_compile) 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try='test -s conftest.$ac_objext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16070 ac_status=$?
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 ac_hi=$ac_mid
16074else
16075 echo "$as_me: failed program was:" >&5
16076sed 's/^/| /' conftest.$ac_ext >&5
16077
16078ac_lo=`expr '(' $ac_mid ')' + 1`
16079fi
16080rm -f conftest.$ac_objext conftest.$ac_ext
16081done
16082case $ac_lo in
16083?*) ac_cv_sizeof_long_long=$ac_lo;;
16084'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16085See \`config.log' for more details." >&5
16086echo "$as_me: error: cannot compute sizeof (long long), 77
16087See \`config.log' for more details." >&2;}
16088 { (exit 1); exit 1; }; } ;;
16089esac
16090else
16091 if test "$cross_compiling" = yes; then
16092 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16093See \`config.log' for more details." >&5
16094echo "$as_me: error: cannot run test program while cross compiling
16095See \`config.log' for more details." >&2;}
16096 { (exit 1); exit 1; }; }
16097else
16098 cat >conftest.$ac_ext <<_ACEOF
16099#line $LINENO "configure"
16100/* confdefs.h. */
16101_ACEOF
16102cat confdefs.h >>conftest.$ac_ext
16103cat >>conftest.$ac_ext <<_ACEOF
16104/* end confdefs.h. */
16105$ac_includes_default
16106long longval () { return (long) (sizeof (long long)); }
16107unsigned long ulongval () { return (long) (sizeof (long long)); }
16108#include <stdio.h>
16109#include <stdlib.h>
16110int
16111main ()
16112{
16113
16114 FILE *f = fopen ("conftest.val", "w");
16115 if (! f)
16116 exit (1);
16117 if (((long) (sizeof (long long))) < 0)
16118 {
16119 long i = longval ();
16120 if (i != ((long) (sizeof (long long))))
16121 exit (1);
16122 fprintf (f, "%ld\n", i);
16123 }
16124 else
16125 {
16126 unsigned long i = ulongval ();
16127 if (i != ((long) (sizeof (long long))))
16128 exit (1);
16129 fprintf (f, "%lu\n", i);
16130 }
16131 exit (ferror (f) || fclose (f) != 0);
16132
16133 ;
16134 return 0;
16135}
16136_ACEOF
16137rm -f conftest$ac_exeext
16138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16139 (eval $ac_link) 2>&5
16140 ac_status=$?
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16145 ac_status=$?
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16148 ac_cv_sizeof_long_long=`cat conftest.val`
16149else
16150 echo "$as_me: program exited with status $ac_status" >&5
16151echo "$as_me: failed program was:" >&5
16152sed 's/^/| /' conftest.$ac_ext >&5
16153
16154( exit $ac_status )
16155{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16156See \`config.log' for more details." >&5
16157echo "$as_me: error: cannot compute sizeof (long long), 77
16158See \`config.log' for more details." >&2;}
16159 { (exit 1); exit 1; }; }
16160fi
16161rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16162fi
16163fi
16164rm -f conftest.val
16165else
16166 ac_cv_sizeof_long_long=0
16167fi
16168fi
16169echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16170echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16171cat >>confdefs.h <<_ACEOF
16172#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16173_ACEOF
16174
16175
16176 if test "$ac_cv_sizeof_long_long" != "0"; then
16177 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16178 fi
16179 ;;
16180 * )
16181 echo "$as_me:$LINENO: checking for long long" >&5
16182echo $ECHO_N "checking for long long... $ECHO_C" >&6
16183if test "${ac_cv_type_long_long+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6
16185else
16186 cat >conftest.$ac_ext <<_ACEOF
16187#line $LINENO "configure"
16188/* confdefs.h. */
16189_ACEOF
16190cat confdefs.h >>conftest.$ac_ext
16191cat >>conftest.$ac_ext <<_ACEOF
16192/* end confdefs.h. */
16193$ac_includes_default
16194int
16195main ()
16196{
16197if ((long long *) 0)
16198 return 0;
16199if (sizeof (long long))
16200 return 0;
16201 ;
16202 return 0;
16203}
16204_ACEOF
16205rm -f conftest.$ac_objext
16206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16207 (eval $ac_compile) 2>&5
16208 ac_status=$?
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } &&
16211 { ac_try='test -s conftest.$ac_objext'
16212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16213 (eval $ac_try) 2>&5
16214 ac_status=$?
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); }; }; then
16217 ac_cv_type_long_long=yes
16218else
16219 echo "$as_me: failed program was:" >&5
16220sed 's/^/| /' conftest.$ac_ext >&5
16221
16222ac_cv_type_long_long=no
16223fi
16224rm -f conftest.$ac_objext conftest.$ac_ext
16225fi
16226echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16227echo "${ECHO_T}$ac_cv_type_long_long" >&6
16228
16229echo "$as_me:$LINENO: checking size of long long" >&5
16230echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16231if test "${ac_cv_sizeof_long_long+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16233else
16234 if test "$ac_cv_type_long_long" = yes; then
16235 # The cast to unsigned long works around a bug in the HP C Compiler
16236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16238 # This bug is HP SR number 8606223364.
16239 if test "$cross_compiling" = yes; then
16240 # Depending upon the size, compute the lo and hi bounds.
16241cat >conftest.$ac_ext <<_ACEOF
16242#line $LINENO "configure"
16243/* confdefs.h. */
16244_ACEOF
16245cat confdefs.h >>conftest.$ac_ext
16246cat >>conftest.$ac_ext <<_ACEOF
16247/* end confdefs.h. */
16248$ac_includes_default
16249int
16250main ()
16251{
16252static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16253test_array [0] = 0
16254
16255 ;
16256 return 0;
16257}
16258_ACEOF
16259rm -f conftest.$ac_objext
16260if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16261 (eval $ac_compile) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } &&
16265 { ac_try='test -s conftest.$ac_objext'
16266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267 (eval $ac_try) 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }; }; then
16271 ac_lo=0 ac_mid=0
16272 while :; do
16273 cat >conftest.$ac_ext <<_ACEOF
16274#line $LINENO "configure"
16275/* confdefs.h. */
16276_ACEOF
16277cat confdefs.h >>conftest.$ac_ext
16278cat >>conftest.$ac_ext <<_ACEOF
16279/* end confdefs.h. */
16280$ac_includes_default
16281int
16282main ()
16283{
16284static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16285test_array [0] = 0
16286
16287 ;
16288 return 0;
16289}
16290_ACEOF
16291rm -f conftest.$ac_objext
16292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16293 (eval $ac_compile) 2>&5
16294 ac_status=$?
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); } &&
16297 { ac_try='test -s conftest.$ac_objext'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16300 ac_status=$?
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; }; then
16303 ac_hi=$ac_mid; break
16304else
16305 echo "$as_me: failed program was:" >&5
16306sed 's/^/| /' conftest.$ac_ext >&5
16307
16308ac_lo=`expr $ac_mid + 1`
16309 if test $ac_lo -le $ac_mid; then
16310 ac_lo= ac_hi=
16311 break
16312 fi
16313 ac_mid=`expr 2 '*' $ac_mid + 1`
16314fi
16315rm -f conftest.$ac_objext conftest.$ac_ext
16316 done
16317else
16318 echo "$as_me: failed program was:" >&5
16319sed 's/^/| /' conftest.$ac_ext >&5
16320
16321cat >conftest.$ac_ext <<_ACEOF
16322#line $LINENO "configure"
16323/* confdefs.h. */
16324_ACEOF
16325cat confdefs.h >>conftest.$ac_ext
16326cat >>conftest.$ac_ext <<_ACEOF
16327/* end confdefs.h. */
16328$ac_includes_default
16329int
16330main ()
16331{
16332static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16333test_array [0] = 0
16334
16335 ;
16336 return 0;
16337}
16338_ACEOF
16339rm -f conftest.$ac_objext
16340if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>&5
16342 ac_status=$?
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -s conftest.$ac_objext'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; }; then
16351 ac_hi=-1 ac_mid=-1
16352 while :; do
16353 cat >conftest.$ac_ext <<_ACEOF
16354#line $LINENO "configure"
16355/* confdefs.h. */
16356_ACEOF
16357cat confdefs.h >>conftest.$ac_ext
16358cat >>conftest.$ac_ext <<_ACEOF
16359/* end confdefs.h. */
16360$ac_includes_default
16361int
16362main ()
16363{
16364static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16365test_array [0] = 0
16366
16367 ;
16368 return 0;
16369}
16370_ACEOF
16371rm -f conftest.$ac_objext
16372if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16373 (eval $ac_compile) 2>&5
16374 ac_status=$?
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } &&
16377 { ac_try='test -s conftest.$ac_objext'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16380 ac_status=$?
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16383 ac_lo=$ac_mid; break
16384else
16385 echo "$as_me: failed program was:" >&5
16386sed 's/^/| /' conftest.$ac_ext >&5
16387
16388ac_hi=`expr '(' $ac_mid ')' - 1`
16389 if test $ac_mid -le $ac_hi; then
16390 ac_lo= ac_hi=
16391 break
16392 fi
16393 ac_mid=`expr 2 '*' $ac_mid`
16394fi
16395rm -f conftest.$ac_objext conftest.$ac_ext
16396 done
16397else
16398 echo "$as_me: failed program was:" >&5
16399sed 's/^/| /' conftest.$ac_ext >&5
16400
16401ac_lo= ac_hi=
16402fi
16403rm -f conftest.$ac_objext conftest.$ac_ext
16404fi
16405rm -f conftest.$ac_objext conftest.$ac_ext
16406# Binary search between lo and hi bounds.
16407while test "x$ac_lo" != "x$ac_hi"; do
16408 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16409 cat >conftest.$ac_ext <<_ACEOF
16410#line $LINENO "configure"
16411/* confdefs.h. */
16412_ACEOF
16413cat confdefs.h >>conftest.$ac_ext
16414cat >>conftest.$ac_ext <<_ACEOF
16415/* end confdefs.h. */
16416$ac_includes_default
16417int
16418main ()
16419{
16420static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16421test_array [0] = 0
16422
16423 ;
16424 return 0;
16425}
16426_ACEOF
16427rm -f conftest.$ac_objext
16428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16429 (eval $ac_compile) 2>&5
16430 ac_status=$?
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); } &&
16433 { ac_try='test -s conftest.$ac_objext'
16434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16435 (eval $ac_try) 2>&5
16436 ac_status=$?
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); }; }; then
16439 ac_hi=$ac_mid
16440else
16441 echo "$as_me: failed program was:" >&5
16442sed 's/^/| /' conftest.$ac_ext >&5
16443
16444ac_lo=`expr '(' $ac_mid ')' + 1`
16445fi
16446rm -f conftest.$ac_objext conftest.$ac_ext
16447done
16448case $ac_lo in
16449?*) ac_cv_sizeof_long_long=$ac_lo;;
16450'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16451See \`config.log' for more details." >&5
16452echo "$as_me: error: cannot compute sizeof (long long), 77
16453See \`config.log' for more details." >&2;}
16454 { (exit 1); exit 1; }; } ;;
16455esac
16456else
16457 if test "$cross_compiling" = yes; then
16458 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16459See \`config.log' for more details." >&5
16460echo "$as_me: error: cannot run test program while cross compiling
16461See \`config.log' for more details." >&2;}
16462 { (exit 1); exit 1; }; }
16463else
16464 cat >conftest.$ac_ext <<_ACEOF
16465#line $LINENO "configure"
16466/* confdefs.h. */
16467_ACEOF
16468cat confdefs.h >>conftest.$ac_ext
16469cat >>conftest.$ac_ext <<_ACEOF
16470/* end confdefs.h. */
16471$ac_includes_default
16472long longval () { return (long) (sizeof (long long)); }
16473unsigned long ulongval () { return (long) (sizeof (long long)); }
16474#include <stdio.h>
16475#include <stdlib.h>
16476int
16477main ()
16478{
16479
16480 FILE *f = fopen ("conftest.val", "w");
16481 if (! f)
16482 exit (1);
16483 if (((long) (sizeof (long long))) < 0)
16484 {
16485 long i = longval ();
16486 if (i != ((long) (sizeof (long long))))
16487 exit (1);
16488 fprintf (f, "%ld\n", i);
16489 }
16490 else
16491 {
16492 unsigned long i = ulongval ();
16493 if (i != ((long) (sizeof (long long))))
16494 exit (1);
16495 fprintf (f, "%lu\n", i);
16496 }
16497 exit (ferror (f) || fclose (f) != 0);
16498
16499 ;
16500 return 0;
16501}
16502_ACEOF
16503rm -f conftest$ac_exeext
16504if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16505 (eval $ac_link) 2>&5
16506 ac_status=$?
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16514 ac_cv_sizeof_long_long=`cat conftest.val`
16515else
16516 echo "$as_me: program exited with status $ac_status" >&5
16517echo "$as_me: failed program was:" >&5
16518sed 's/^/| /' conftest.$ac_ext >&5
16519
16520( exit $ac_status )
16521{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16522See \`config.log' for more details." >&5
16523echo "$as_me: error: cannot compute sizeof (long long), 77
16524See \`config.log' for more details." >&2;}
16525 { (exit 1); exit 1; }; }
16526fi
16527rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16528fi
16529fi
16530rm -f conftest.val
16531else
16532 ac_cv_sizeof_long_long=0
16533fi
16534fi
16535echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16536echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16537cat >>confdefs.h <<_ACEOF
16538#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16539_ACEOF
16540
16541
16542esac
16543
16544echo "$as_me:$LINENO: checking size of wchar_t" >&5
16545echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16546if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16548else
16549
16550 if test "$cross_compiling" = yes; then
16551
16552 case "${host}" in
16553 *-pc-msdosdjgpp )
16554 wx_cv_sizeof_wchar_t=0
16555 ;;
16556 * )
16557 wx_cv_sizeof_wchar_t=4
16558 ;;
16559 esac
16560
16561
16562else
16563 cat >conftest.$ac_ext <<_ACEOF
16564#line $LINENO "configure"
16565/* confdefs.h. */
16566_ACEOF
16567cat confdefs.h >>conftest.$ac_ext
16568cat >>conftest.$ac_ext <<_ACEOF
16569/* end confdefs.h. */
16570
16571 /* DJGPP only has fake wchar_t: */
16572 #ifdef __DJGPP__
16573 # error "fake wchar_t"
16574 #endif
16575 #ifdef HAVE_WCHAR_H
16576 # ifdef __CYGWIN__
16577 # include <stddef.h>
16578 # endif
16579 # include <wchar.h>
16580 #endif
16581 #ifdef HAVE_STDLIB_H
16582 # include <stdlib.h>
16583 #endif
16584 #include <stdio.h>
16585 int main()
16586 {
16587 FILE *f=fopen("conftestval", "w");
16588 if (!f) exit(1);
16589 fprintf(f, "%i", sizeof(wchar_t));
16590 exit(0);
16591 }
16592
16593_ACEOF
16594rm -f conftest$ac_exeext
16595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16596 (eval $ac_link) 2>&5
16597 ac_status=$?
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; }; then
16605 wx_cv_sizeof_wchar_t=`cat conftestval`
16606else
16607 echo "$as_me: program exited with status $ac_status" >&5
16608echo "$as_me: failed program was:" >&5
16609sed 's/^/| /' conftest.$ac_ext >&5
16610
16611( exit $ac_status )
16612wx_cv_sizeof_wchar_t=0
16613fi
16614rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16615fi
16616
16617fi
16618echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16619echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16620
16621cat >>confdefs.h <<_ACEOF
16622#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16623_ACEOF
16624
16625
16626# Check whether --enable-largefile or --disable-largefile was given.
16627if test "${enable_largefile+set}" = set; then
16628 enableval="$enable_largefile"
16629
16630fi;
16631if test "$enable_largefile" != no; then
16632 wx_largefile=no
16633
16634 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16635echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16636if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16638else
16639
16640 cat >conftest.$ac_ext <<_ACEOF
16641#line $LINENO "configure"
16642/* confdefs.h. */
16643_ACEOF
16644cat confdefs.h >>conftest.$ac_ext
16645cat >>conftest.$ac_ext <<_ACEOF
16646/* end confdefs.h. */
16647#define _FILE_OFFSET_BITS 64
16648 #include <sys/types.h>
16649int
16650main ()
16651{
16652typedef struct {
16653 unsigned int field: sizeof(off_t) == 8;
16654} wxlf;
16655
16656 ;
16657 return 0;
16658}
16659_ACEOF
16660rm -f conftest.$ac_objext
16661if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16662 (eval $ac_compile) 2>&5
16663 ac_status=$?
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try='test -s conftest.$ac_objext'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16669 ac_status=$?
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; }; then
16672 ac_cv_sys_file_offset_bits=64
16673else
16674 echo "$as_me: failed program was:" >&5
16675sed 's/^/| /' conftest.$ac_ext >&5
16676
16677ac_cv_sys_file_offset_bits=no
16678fi
16679rm -f conftest.$ac_objext conftest.$ac_ext
16680
16681
16682fi
16683echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16684echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16685
16686 if test "$ac_cv_sys_file_offset_bits" != no; then
16687 wx_largefile=yes
16688 cat >>confdefs.h <<_ACEOF
16689#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16690_ACEOF
16691
16692 fi
16693
16694 if test "x$wx_largefile" != "xyes"; then
16695
16696 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16697echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16698if test "${ac_cv_sys_large_files+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16700else
16701
16702 cat >conftest.$ac_ext <<_ACEOF
16703#line $LINENO "configure"
16704/* confdefs.h. */
16705_ACEOF
16706cat confdefs.h >>conftest.$ac_ext
16707cat >>conftest.$ac_ext <<_ACEOF
16708/* end confdefs.h. */
16709#define _LARGE_FILES 1
16710 #include <sys/types.h>
16711int
16712main ()
16713{
16714typedef struct {
16715 unsigned int field: sizeof(off_t) == 8;
16716} wxlf;
16717
16718 ;
16719 return 0;
16720}
16721_ACEOF
16722rm -f conftest.$ac_objext
16723if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16724 (eval $ac_compile) 2>&5
16725 ac_status=$?
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); } &&
16728 { ac_try='test -s conftest.$ac_objext'
16729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16731 ac_status=$?
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); }; }; then
16734 ac_cv_sys_large_files=1
16735else
16736 echo "$as_me: failed program was:" >&5
16737sed 's/^/| /' conftest.$ac_ext >&5
16738
16739ac_cv_sys_large_files=no
16740fi
16741rm -f conftest.$ac_objext conftest.$ac_ext
16742
16743
16744fi
16745echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16746echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16747
16748 if test "$ac_cv_sys_large_files" != no; then
16749 wx_largefile=yes
16750 cat >>confdefs.h <<_ACEOF
16751#define _LARGE_FILES $ac_cv_sys_large_files
16752_ACEOF
16753
16754 fi
16755
16756 fi
16757
16758 echo "$as_me:$LINENO: checking if large file support is available" >&5
16759echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16760 if test "x$wx_largefile" = "xyes"; then
16761 cat >>confdefs.h <<\_ACEOF
16762#define HAVE_LARGEFILE_SUPPORT 1
16763_ACEOF
16764
16765 fi
16766 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16767echo "${ECHO_T}$wx_largefile" >&6
16768fi
16769
16770
16771if test "x$wx_largefile" = "xyes"; then
16772 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16773 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16774 else
16775 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16776 fi
16777 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16778fi
16779
16780echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16781echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16782if test "${ac_cv_c_bigendian+set}" = set; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16784else
16785 ac_cv_c_bigendian=unknown
16786# See if sys/param.h defines the BYTE_ORDER macro.
16787cat >conftest.$ac_ext <<_ACEOF
16788#line $LINENO "configure"
16789/* confdefs.h. */
16790_ACEOF
16791cat confdefs.h >>conftest.$ac_ext
16792cat >>conftest.$ac_ext <<_ACEOF
16793/* end confdefs.h. */
16794#include <sys/types.h>
16795#include <sys/param.h>
16796int
16797main ()
16798{
16799
16800#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16801 bogus endian macros
16802#endif
16803 ;
16804 return 0;
16805}
16806_ACEOF
16807rm -f conftest.$ac_objext
16808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809 (eval $ac_compile) 2>&5
16810 ac_status=$?
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } &&
16813 { ac_try='test -s conftest.$ac_objext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16816 ac_status=$?
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16819 # It does; now see whether it defined to BIG_ENDIAN or not.
16820cat >conftest.$ac_ext <<_ACEOF
16821#line $LINENO "configure"
16822/* confdefs.h. */
16823_ACEOF
16824cat confdefs.h >>conftest.$ac_ext
16825cat >>conftest.$ac_ext <<_ACEOF
16826/* end confdefs.h. */
16827#include <sys/types.h>
16828#include <sys/param.h>
16829int
16830main ()
16831{
16832
16833#if BYTE_ORDER != BIG_ENDIAN
16834 not big endian
16835#endif
16836 ;
16837 return 0;
16838}
16839_ACEOF
16840rm -f conftest.$ac_objext
16841if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16842 (eval $ac_compile) 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -s conftest.$ac_objext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 ac_cv_c_bigendian=yes
16853else
16854 echo "$as_me: failed program was:" >&5
16855sed 's/^/| /' conftest.$ac_ext >&5
16856
16857ac_cv_c_bigendian=no
16858fi
16859rm -f conftest.$ac_objext conftest.$ac_ext
16860else
16861 echo "$as_me: failed program was:" >&5
16862sed 's/^/| /' conftest.$ac_ext >&5
16863
16864fi
16865rm -f conftest.$ac_objext conftest.$ac_ext
16866if test $ac_cv_c_bigendian = unknown; then
16867if test "$cross_compiling" = yes; then
16868 ac_cv_c_bigendian=unknown
16869else
16870 cat >conftest.$ac_ext <<_ACEOF
16871#line $LINENO "configure"
16872/* confdefs.h. */
16873_ACEOF
16874cat confdefs.h >>conftest.$ac_ext
16875cat >>conftest.$ac_ext <<_ACEOF
16876/* end confdefs.h. */
16877main () {
16878 /* Are we little or big endian? From Harbison&Steele. */
16879 union
16880 {
16881 long l;
16882 char c[sizeof (long)];
16883 } u;
16884 u.l = 1;
16885 exit (u.c[sizeof (long) - 1] == 1);
16886}
16887_ACEOF
16888rm -f conftest$ac_exeext
16889if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16890 (eval $ac_link) 2>&5
16891 ac_status=$?
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 ac_cv_c_bigendian=no
16900else
16901 echo "$as_me: program exited with status $ac_status" >&5
16902echo "$as_me: failed program was:" >&5
16903sed 's/^/| /' conftest.$ac_ext >&5
16904
16905( exit $ac_status )
16906ac_cv_c_bigendian=yes
16907fi
16908rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16909fi
16910fi
16911fi
16912echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16913echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16914if test $ac_cv_c_bigendian = unknown; then
16915 { 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
16916echo "$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;}
16917fi
16918if test $ac_cv_c_bigendian = yes; then
16919 cat >>confdefs.h <<\_ACEOF
16920#define WORDS_BIGENDIAN 1
16921_ACEOF
16922
16923fi
16924
16925
16926
16927ac_ext=cc
16928ac_cpp='$CXXCPP $CPPFLAGS'
16929ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16930ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16931ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16932echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16933echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16934if test -z "$CXXCPP"; then
16935 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16937else
16938 # Double quotes because CXXCPP needs to be expanded
16939 for CXXCPP in "$CXX -E" "/lib/cpp"
16940 do
16941 ac_preproc_ok=false
16942for ac_cxx_preproc_warn_flag in '' yes
16943do
16944 # Use a header file that comes with gcc, so configuring glibc
16945 # with a fresh cross-compiler works.
16946 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16947 # <limits.h> exists even on freestanding compilers.
16948 # On the NeXT, cc -E runs the code through the compiler's parser,
16949 # not just through cpp. "Syntax error" is here to catch this case.
16950 cat >conftest.$ac_ext <<_ACEOF
16951#line $LINENO "configure"
16952/* confdefs.h. */
16953_ACEOF
16954cat confdefs.h >>conftest.$ac_ext
16955cat >>conftest.$ac_ext <<_ACEOF
16956/* end confdefs.h. */
16957#ifdef __STDC__
16958# include <limits.h>
16959#else
16960# include <assert.h>
16961#endif
16962 Syntax error
16963_ACEOF
16964if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16966 ac_status=$?
16967 grep -v '^ *+' conftest.er1 >conftest.err
16968 rm -f conftest.er1
16969 cat conftest.err >&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } >/dev/null; then
16972 if test -s conftest.err; then
16973 ac_cpp_err=$ac_cxx_preproc_warn_flag
16974 else
16975 ac_cpp_err=
16976 fi
16977else
16978 ac_cpp_err=yes
16979fi
16980if test -z "$ac_cpp_err"; then
16981 :
16982else
16983 echo "$as_me: failed program was:" >&5
16984sed 's/^/| /' conftest.$ac_ext >&5
16985
16986 # Broken: fails on valid input.
16987continue
16988fi
16989rm -f conftest.err conftest.$ac_ext
16990
16991 # OK, works on sane cases. Now check whether non-existent headers
16992 # can be detected and how.
16993 cat >conftest.$ac_ext <<_ACEOF
16994#line $LINENO "configure"
16995/* confdefs.h. */
16996_ACEOF
16997cat confdefs.h >>conftest.$ac_ext
16998cat >>conftest.$ac_ext <<_ACEOF
16999/* end confdefs.h. */
17000#include <ac_nonexistent.h>
17001_ACEOF
17002if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17004 ac_status=$?
17005 grep -v '^ *+' conftest.er1 >conftest.err
17006 rm -f conftest.er1
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } >/dev/null; then
17010 if test -s conftest.err; then
17011 ac_cpp_err=$ac_cxx_preproc_warn_flag
17012 else
17013 ac_cpp_err=
17014 fi
17015else
17016 ac_cpp_err=yes
17017fi
17018if test -z "$ac_cpp_err"; then
17019 # Broken: success on invalid input.
17020continue
17021else
17022 echo "$as_me: failed program was:" >&5
17023sed 's/^/| /' conftest.$ac_ext >&5
17024
17025 # Passes both tests.
17026ac_preproc_ok=:
17027break
17028fi
17029rm -f conftest.err conftest.$ac_ext
17030
17031done
17032# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17033rm -f conftest.err conftest.$ac_ext
17034if $ac_preproc_ok; then
17035 break
17036fi
17037
17038 done
17039 ac_cv_prog_CXXCPP=$CXXCPP
17040
17041fi
17042 CXXCPP=$ac_cv_prog_CXXCPP
17043else
17044 ac_cv_prog_CXXCPP=$CXXCPP
17045fi
17046echo "$as_me:$LINENO: result: $CXXCPP" >&5
17047echo "${ECHO_T}$CXXCPP" >&6
17048ac_preproc_ok=false
17049for ac_cxx_preproc_warn_flag in '' yes
17050do
17051 # Use a header file that comes with gcc, so configuring glibc
17052 # with a fresh cross-compiler works.
17053 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17054 # <limits.h> exists even on freestanding compilers.
17055 # On the NeXT, cc -E runs the code through the compiler's parser,
17056 # not just through cpp. "Syntax error" is here to catch this case.
17057 cat >conftest.$ac_ext <<_ACEOF
17058#line $LINENO "configure"
17059/* confdefs.h. */
17060_ACEOF
17061cat confdefs.h >>conftest.$ac_ext
17062cat >>conftest.$ac_ext <<_ACEOF
17063/* end confdefs.h. */
17064#ifdef __STDC__
17065# include <limits.h>
17066#else
17067# include <assert.h>
17068#endif
17069 Syntax error
17070_ACEOF
17071if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17073 ac_status=$?
17074 grep -v '^ *+' conftest.er1 >conftest.err
17075 rm -f conftest.er1
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } >/dev/null; then
17079 if test -s conftest.err; then
17080 ac_cpp_err=$ac_cxx_preproc_warn_flag
17081 else
17082 ac_cpp_err=
17083 fi
17084else
17085 ac_cpp_err=yes
17086fi
17087if test -z "$ac_cpp_err"; then
17088 :
17089else
17090 echo "$as_me: failed program was:" >&5
17091sed 's/^/| /' conftest.$ac_ext >&5
17092
17093 # Broken: fails on valid input.
17094continue
17095fi
17096rm -f conftest.err conftest.$ac_ext
17097
17098 # OK, works on sane cases. Now check whether non-existent headers
17099 # can be detected and how.
17100 cat >conftest.$ac_ext <<_ACEOF
17101#line $LINENO "configure"
17102/* confdefs.h. */
17103_ACEOF
17104cat confdefs.h >>conftest.$ac_ext
17105cat >>conftest.$ac_ext <<_ACEOF
17106/* end confdefs.h. */
17107#include <ac_nonexistent.h>
17108_ACEOF
17109if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17111 ac_status=$?
17112 grep -v '^ *+' conftest.er1 >conftest.err
17113 rm -f conftest.er1
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } >/dev/null; then
17117 if test -s conftest.err; then
17118 ac_cpp_err=$ac_cxx_preproc_warn_flag
17119 else
17120 ac_cpp_err=
17121 fi
17122else
17123 ac_cpp_err=yes
17124fi
17125if test -z "$ac_cpp_err"; then
17126 # Broken: success on invalid input.
17127continue
17128else
17129 echo "$as_me: failed program was:" >&5
17130sed 's/^/| /' conftest.$ac_ext >&5
17131
17132 # Passes both tests.
17133ac_preproc_ok=:
17134break
17135fi
17136rm -f conftest.err conftest.$ac_ext
17137
17138done
17139# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17140rm -f conftest.err conftest.$ac_ext
17141if $ac_preproc_ok; then
17142 :
17143else
17144 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17145See \`config.log' for more details." >&5
17146echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17147See \`config.log' for more details." >&2;}
17148 { (exit 1); exit 1; }; }
17149fi
17150
17151ac_ext=cc
17152ac_cpp='$CXXCPP $CPPFLAGS'
17153ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17154ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17155ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17156
17157
17158
17159 if test "$cross_compiling" = "yes"; then
17160 cat >>confdefs.h <<\_ACEOF
17161#define wxUSE_IOSTREAMH 1
17162_ACEOF
17163
17164 else
17165
17166
17167 ac_ext=cc
17168ac_cpp='$CXXCPP $CPPFLAGS'
17169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17172
17173
17174
17175for ac_header in iostream
17176do
17177as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17178if eval "test \"\${$as_ac_Header+set}\" = set"; then
17179 echo "$as_me:$LINENO: checking for $ac_header" >&5
17180echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17181if eval "test \"\${$as_ac_Header+set}\" = set"; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17183fi
17184echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17185echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17186else
17187 # Is the header compilable?
17188echo "$as_me:$LINENO: checking $ac_header usability" >&5
17189echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17190cat >conftest.$ac_ext <<_ACEOF
17191#line $LINENO "configure"
17192/* confdefs.h. */
17193_ACEOF
17194cat confdefs.h >>conftest.$ac_ext
17195cat >>conftest.$ac_ext <<_ACEOF
17196/* end confdefs.h. */
17197$ac_includes_default
17198#include <$ac_header>
17199_ACEOF
17200rm -f conftest.$ac_objext
17201if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17202 (eval $ac_compile) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } &&
17206 { ac_try='test -s conftest.$ac_objext'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17209 ac_status=$?
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; }; then
17212 ac_header_compiler=yes
17213else
17214 echo "$as_me: failed program was:" >&5
17215sed 's/^/| /' conftest.$ac_ext >&5
17216
17217ac_header_compiler=no
17218fi
17219rm -f conftest.$ac_objext conftest.$ac_ext
17220echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17221echo "${ECHO_T}$ac_header_compiler" >&6
17222
17223# Is the header present?
17224echo "$as_me:$LINENO: checking $ac_header presence" >&5
17225echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17226cat >conftest.$ac_ext <<_ACEOF
17227#line $LINENO "configure"
17228/* confdefs.h. */
17229_ACEOF
17230cat confdefs.h >>conftest.$ac_ext
17231cat >>conftest.$ac_ext <<_ACEOF
17232/* end confdefs.h. */
17233#include <$ac_header>
17234_ACEOF
17235if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17237 ac_status=$?
17238 grep -v '^ *+' conftest.er1 >conftest.err
17239 rm -f conftest.er1
17240 cat conftest.err >&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); } >/dev/null; then
17243 if test -s conftest.err; then
17244 ac_cpp_err=$ac_cxx_preproc_warn_flag
17245 else
17246 ac_cpp_err=
17247 fi
17248else
17249 ac_cpp_err=yes
17250fi
17251if test -z "$ac_cpp_err"; then
17252 ac_header_preproc=yes
17253else
17254 echo "$as_me: failed program was:" >&5
17255sed 's/^/| /' conftest.$ac_ext >&5
17256
17257 ac_header_preproc=no
17258fi
17259rm -f conftest.err conftest.$ac_ext
17260echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17261echo "${ECHO_T}$ac_header_preproc" >&6
17262
17263# So? What about this header?
17264case $ac_header_compiler:$ac_header_preproc in
17265 yes:no )
17266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17267echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17269echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17270 (
17271 cat <<\_ASBOX
17272## ------------------------------------ ##
17273## Report this to bug-autoconf@gnu.org. ##
17274## ------------------------------------ ##
17275_ASBOX
17276 ) |
17277 sed "s/^/$as_me: WARNING: /" >&2
17278 ;;
17279 no:yes )
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17281echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17283echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17285echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17286 (
17287 cat <<\_ASBOX
17288## ------------------------------------ ##
17289## Report this to bug-autoconf@gnu.org. ##
17290## ------------------------------------ ##
17291_ASBOX
17292 ) |
17293 sed "s/^/$as_me: WARNING: /" >&2
17294 ;;
17295esac
17296echo "$as_me:$LINENO: checking for $ac_header" >&5
17297echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17298if eval "test \"\${$as_ac_Header+set}\" = set"; then
17299 echo $ECHO_N "(cached) $ECHO_C" >&6
17300else
17301 eval "$as_ac_Header=$ac_header_preproc"
17302fi
17303echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17304echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17305
17306fi
17307if test `eval echo '${'$as_ac_Header'}'` = yes; then
17308 cat >>confdefs.h <<_ACEOF
17309#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17310_ACEOF
17311
17312fi
17313
17314done
17315
17316
17317 if test "$ac_cv_header_iostream" = "yes" ; then
17318 :
17319 else
17320 cat >>confdefs.h <<\_ACEOF
17321#define wxUSE_IOSTREAMH 1
17322_ACEOF
17323
17324 fi
17325
17326 ac_ext=c
17327ac_cpp='$CPP $CPPFLAGS'
17328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330ac_compiler_gnu=$ac_cv_c_compiler_gnu
17331
17332 fi
17333
17334
17335
17336 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17337echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17338if test "${wx_cv_cpp_bool+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340else
17341
17342
17343
17344 ac_ext=cc
17345ac_cpp='$CXXCPP $CPPFLAGS'
17346ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17349
17350
17351 cat >conftest.$ac_ext <<_ACEOF
17352#line $LINENO "configure"
17353/* confdefs.h. */
17354_ACEOF
17355cat confdefs.h >>conftest.$ac_ext
17356cat >>conftest.$ac_ext <<_ACEOF
17357/* end confdefs.h. */
17358
17359
17360int
17361main ()
17362{
17363
17364 bool b = true;
17365
17366 return 0;
17367
17368 ;
17369 return 0;
17370}
17371_ACEOF
17372rm -f conftest.$ac_objext
17373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17374 (eval $ac_compile) 2>&5
17375 ac_status=$?
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17381 ac_status=$?
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17384
17385 wx_cv_cpp_bool=yes
17386
17387else
17388 echo "$as_me: failed program was:" >&5
17389sed 's/^/| /' conftest.$ac_ext >&5
17390
17391
17392 wx_cv_cpp_bool=no
17393
17394
17395fi
17396rm -f conftest.$ac_objext conftest.$ac_ext
17397
17398 ac_ext=c
17399ac_cpp='$CPP $CPPFLAGS'
17400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17402ac_compiler_gnu=$ac_cv_c_compiler_gnu
17403
17404
17405fi
17406echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17407echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17408
17409 if test "$wx_cv_cpp_bool" = "yes"; then
17410 cat >>confdefs.h <<\_ACEOF
17411#define HAVE_BOOL 1
17412_ACEOF
17413
17414 fi
17415
17416
17417
17418 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17419echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17420if test "${wx_cv_explicit+set}" = set; then
17421 echo $ECHO_N "(cached) $ECHO_C" >&6
17422else
17423
17424
17425
17426 ac_ext=cc
17427ac_cpp='$CXXCPP $CPPFLAGS'
17428ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17431
17432
17433 cat >conftest.$ac_ext <<_ACEOF
17434#line $LINENO "configure"
17435/* confdefs.h. */
17436_ACEOF
17437cat confdefs.h >>conftest.$ac_ext
17438cat >>conftest.$ac_ext <<_ACEOF
17439/* end confdefs.h. */
17440
17441 class Foo { public: explicit Foo(int) {} };
17442
17443int
17444main ()
17445{
17446
17447 return 0;
17448
17449 ;
17450 return 0;
17451}
17452_ACEOF
17453rm -f conftest.$ac_objext
17454if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>&5
17456 ac_status=$?
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try='test -s conftest.$ac_objext'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17462 ac_status=$?
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; }; then
17465
17466 cat >conftest.$ac_ext <<_ACEOF
17467#line $LINENO "configure"
17468/* confdefs.h. */
17469_ACEOF
17470cat confdefs.h >>conftest.$ac_ext
17471cat >>conftest.$ac_ext <<_ACEOF
17472/* end confdefs.h. */
17473
17474 class Foo { public: explicit Foo(int) {} };
17475 static void TakeFoo(const Foo& foo) { }
17476
17477int
17478main ()
17479{
17480
17481 TakeFoo(17);
17482 return 0;
17483
17484 ;
17485 return 0;
17486}
17487_ACEOF
17488rm -f conftest.$ac_objext
17489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17490 (eval $ac_compile) 2>&5
17491 ac_status=$?
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); } &&
17494 { ac_try='test -s conftest.$ac_objext'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17497 ac_status=$?
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; }; then
17500 wx_cv_explicit=no
17501else
17502 echo "$as_me: failed program was:" >&5
17503sed 's/^/| /' conftest.$ac_ext >&5
17504
17505wx_cv_explicit=yes
17506
17507fi
17508rm -f conftest.$ac_objext conftest.$ac_ext
17509
17510else
17511 echo "$as_me: failed program was:" >&5
17512sed 's/^/| /' conftest.$ac_ext >&5
17513
17514wx_cv_explicit=no
17515
17516fi
17517rm -f conftest.$ac_objext conftest.$ac_ext
17518
17519 ac_ext=c
17520ac_cpp='$CPP $CPPFLAGS'
17521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17523ac_compiler_gnu=$ac_cv_c_compiler_gnu
17524
17525
17526fi
17527echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17528echo "${ECHO_T}$wx_cv_explicit" >&6
17529
17530 if test "$wx_cv_explicit" = "yes"; then
17531 cat >>confdefs.h <<\_ACEOF
17532#define HAVE_EXPLICIT 1
17533_ACEOF
17534
17535 fi
17536
17537
17538echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17539echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17540if test "${ac_cv_cxx_const_cast+set}" = set; then
17541 echo $ECHO_N "(cached) $ECHO_C" >&6
17542else
17543
17544
17545 ac_ext=cc
17546ac_cpp='$CXXCPP $CPPFLAGS'
17547ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17548ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17549ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17550
17551 cat >conftest.$ac_ext <<_ACEOF
17552#line $LINENO "configure"
17553/* confdefs.h. */
17554_ACEOF
17555cat confdefs.h >>conftest.$ac_ext
17556cat >>conftest.$ac_ext <<_ACEOF
17557/* end confdefs.h. */
17558
17559int
17560main ()
17561{
17562int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17563 ;
17564 return 0;
17565}
17566_ACEOF
17567rm -f conftest.$ac_objext
17568if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569 (eval $ac_compile) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } &&
17573 { ac_try='test -s conftest.$ac_objext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17576 ac_status=$?
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 ac_cv_cxx_const_cast=yes
17580else
17581 echo "$as_me: failed program was:" >&5
17582sed 's/^/| /' conftest.$ac_ext >&5
17583
17584ac_cv_cxx_const_cast=no
17585fi
17586rm -f conftest.$ac_objext conftest.$ac_ext
17587 ac_ext=c
17588ac_cpp='$CPP $CPPFLAGS'
17589ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17590ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17591ac_compiler_gnu=$ac_cv_c_compiler_gnu
17592
17593
17594fi
17595echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17596echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17597if test "$ac_cv_cxx_const_cast" = yes; then
17598
17599cat >>confdefs.h <<\_ACEOF
17600#define HAVE_CONST_CAST
17601_ACEOF
17602
17603fi
17604
17605
17606
17607SEARCH_INCLUDE="\
17608 /usr/local/include \
17609 \
17610 /usr/Motif-1.2/include \
17611 /usr/Motif-2.1/include \
17612 \
17613 /usr/include/Motif1.2 \
17614 /opt/xpm/include/X11 \
17615 /opt/GBxpm/include/ \
17616 /opt/GBxpm/X11/include/ \
17617 \
17618 /usr/Motif1.2/include \
17619 /usr/dt/include \
17620 /usr/openwin/include \
17621 \
17622 /usr/include/Xm \
17623 \
17624 /usr/X11R6/include \
17625 /usr/X11R6.4/include \
17626 /usr/X11R5/include \
17627 /usr/X11R4/include \
17628 \
17629 /usr/include/X11R6 \
17630 /usr/include/X11R5 \
17631 /usr/include/X11R4 \
17632 \
17633 /usr/local/X11R6/include \
17634 /usr/local/X11R5/include \
17635 /usr/local/X11R4/include \
17636 \
17637 /usr/local/include/X11R6 \
17638 /usr/local/include/X11R5 \
17639 /usr/local/include/X11R4 \
17640 \
17641 /usr/X11/include \
17642 /usr/include/X11 \
17643 /usr/local/X11/include \
17644 /usr/local/include/X11 \
17645 \
17646 /usr/X386/include \
17647 /usr/x386/include \
17648 /usr/XFree86/include/X11 \
17649 \
17650 X:/XFree86/include \
17651 X:/XFree86/include/X11 \
17652 \
17653 /usr/include/gtk \
17654 /usr/local/include/gtk \
17655 /usr/include/glib \
17656 /usr/local/include/glib \
17657 \
17658 /usr/include/qt \
17659 /usr/local/include/qt \
17660 \
17661 /usr/include/windows \
17662 /usr/include/wine \
17663 /usr/local/include/wine \
17664 \
17665 /usr/unsupported/include \
17666 /usr/athena/include \
17667 /usr/local/x11r5/include \
17668 /usr/lpp/Xamples/include \
17669 \
17670 /usr/openwin/share/include"
17671
17672SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17673
17674
17675cat >confcache <<\_ACEOF
17676# This file is a shell script that caches the results of configure
17677# tests run on this system so they can be shared between configure
17678# scripts and configure runs, see configure's option --config-cache.
17679# It is not useful on other systems. If it contains results you don't
17680# want to keep, you may remove or edit it.
17681#
17682# config.status only pays attention to the cache file if you give it
17683# the --recheck option to rerun configure.
17684#
17685# `ac_cv_env_foo' variables (set or unset) will be overridden when
17686# loading this file, other *unset* `ac_cv_foo' will be assigned the
17687# following values.
17688
17689_ACEOF
17690
17691# The following way of writing the cache mishandles newlines in values,
17692# but we know of no workaround that is simple, portable, and efficient.
17693# So, don't put newlines in cache variables' values.
17694# Ultrix sh set writes to stderr and can't be redirected directly,
17695# and sets the high bit in the cache file unless we assign to the vars.
17696{
17697 (set) 2>&1 |
17698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17699 *ac_space=\ *)
17700 # `set' does not quote correctly, so add quotes (double-quote
17701 # substitution turns \\\\ into \\, and sed turns \\ into \).
17702 sed -n \
17703 "s/'/'\\\\''/g;
17704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17705 ;;
17706 *)
17707 # `set' quotes correctly as required by POSIX, so do not add quotes.
17708 sed -n \
17709 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17710 ;;
17711 esac;
17712} |
17713 sed '
17714 t clear
17715 : clear
17716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17717 t end
17718 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17719 : end' >>confcache
17720if diff $cache_file confcache >/dev/null 2>&1; then :; else
17721 if test -w $cache_file; then
17722 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17723 cat confcache >$cache_file
17724 else
17725 echo "not updating unwritable cache $cache_file"
17726 fi
17727fi
17728rm -f confcache
17729
17730if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17731 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17732echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17733if test "${wx_cv_lib_glibc21+set}" = set; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17735else
17736
17737 cat >conftest.$ac_ext <<_ACEOF
17738#line $LINENO "configure"
17739/* confdefs.h. */
17740_ACEOF
17741cat confdefs.h >>conftest.$ac_ext
17742cat >>conftest.$ac_ext <<_ACEOF
17743/* end confdefs.h. */
17744#include <features.h>
17745int
17746main ()
17747{
17748
17749 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17750 #error not glibc2.1
17751 #endif
17752
17753 ;
17754 return 0;
17755}
17756_ACEOF
17757rm -f conftest.$ac_objext
17758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17759 (eval $ac_compile) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769
17770 wx_cv_lib_glibc21=yes
17771
17772else
17773 echo "$as_me: failed program was:" >&5
17774sed 's/^/| /' conftest.$ac_ext >&5
17775
17776
17777 wx_cv_lib_glibc21=no
17778
17779
17780fi
17781rm -f conftest.$ac_objext conftest.$ac_ext
17782
17783fi
17784echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17785echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17786 if test "$wx_cv_lib_glibc21" = "yes"; then
17787 cat >>confdefs.h <<\_ACEOF
17788#define wxHAVE_GLIBC2 1
17789_ACEOF
17790
17791 fi
17792fi
17793
17794if test "x$wx_cv_lib_glibc21" = "xyes"; then
17795 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17796 cat >>confdefs.h <<\_ACEOF
17797#define _GNU_SOURCE 1
17798_ACEOF
17799
17800 fi
17801fi
17802
17803
17804
17805REGEX_INCLUDE=
17806if test "$wxUSE_REGEX" != "no"; then
17807 cat >>confdefs.h <<\_ACEOF
17808#define wxUSE_REGEX 1
17809_ACEOF
17810
17811
17812 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17813 if test "${ac_cv_header_regex_h+set}" = set; then
17814 echo "$as_me:$LINENO: checking for regex.h" >&5
17815echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17816if test "${ac_cv_header_regex_h+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818fi
17819echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17820echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17821else
17822 # Is the header compilable?
17823echo "$as_me:$LINENO: checking regex.h usability" >&5
17824echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17825cat >conftest.$ac_ext <<_ACEOF
17826#line $LINENO "configure"
17827/* confdefs.h. */
17828_ACEOF
17829cat confdefs.h >>conftest.$ac_ext
17830cat >>conftest.$ac_ext <<_ACEOF
17831/* end confdefs.h. */
17832$ac_includes_default
17833#include <regex.h>
17834_ACEOF
17835rm -f conftest.$ac_objext
17836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17837 (eval $ac_compile) 2>&5
17838 ac_status=$?
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try='test -s conftest.$ac_objext'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; }; then
17847 ac_header_compiler=yes
17848else
17849 echo "$as_me: failed program was:" >&5
17850sed 's/^/| /' conftest.$ac_ext >&5
17851
17852ac_header_compiler=no
17853fi
17854rm -f conftest.$ac_objext conftest.$ac_ext
17855echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17856echo "${ECHO_T}$ac_header_compiler" >&6
17857
17858# Is the header present?
17859echo "$as_me:$LINENO: checking regex.h presence" >&5
17860echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17861cat >conftest.$ac_ext <<_ACEOF
17862#line $LINENO "configure"
17863/* confdefs.h. */
17864_ACEOF
17865cat confdefs.h >>conftest.$ac_ext
17866cat >>conftest.$ac_ext <<_ACEOF
17867/* end confdefs.h. */
17868#include <regex.h>
17869_ACEOF
17870if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17872 ac_status=$?
17873 grep -v '^ *+' conftest.er1 >conftest.err
17874 rm -f conftest.er1
17875 cat conftest.err >&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } >/dev/null; then
17878 if test -s conftest.err; then
17879 ac_cpp_err=$ac_c_preproc_warn_flag
17880 else
17881 ac_cpp_err=
17882 fi
17883else
17884 ac_cpp_err=yes
17885fi
17886if test -z "$ac_cpp_err"; then
17887 ac_header_preproc=yes
17888else
17889 echo "$as_me: failed program was:" >&5
17890sed 's/^/| /' conftest.$ac_ext >&5
17891
17892 ac_header_preproc=no
17893fi
17894rm -f conftest.err conftest.$ac_ext
17895echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17896echo "${ECHO_T}$ac_header_preproc" >&6
17897
17898# So? What about this header?
17899case $ac_header_compiler:$ac_header_preproc in
17900 yes:no )
17901 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17902echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17903 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17904echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17905 (
17906 cat <<\_ASBOX
17907## ------------------------------------ ##
17908## Report this to bug-autoconf@gnu.org. ##
17909## ------------------------------------ ##
17910_ASBOX
17911 ) |
17912 sed "s/^/$as_me: WARNING: /" >&2
17913 ;;
17914 no:yes )
17915 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17916echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17917 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17918echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17919 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17920echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17921 (
17922 cat <<\_ASBOX
17923## ------------------------------------ ##
17924## Report this to bug-autoconf@gnu.org. ##
17925## ------------------------------------ ##
17926_ASBOX
17927 ) |
17928 sed "s/^/$as_me: WARNING: /" >&2
17929 ;;
17930esac
17931echo "$as_me:$LINENO: checking for regex.h" >&5
17932echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17933if test "${ac_cv_header_regex_h+set}" = set; then
17934 echo $ECHO_N "(cached) $ECHO_C" >&6
17935else
17936 ac_cv_header_regex_h=$ac_header_preproc
17937fi
17938echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17939echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17940
17941fi
17942if test $ac_cv_header_regex_h = yes; then
17943
17944for ac_func in regcomp
17945do
17946as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17947echo "$as_me:$LINENO: checking for $ac_func" >&5
17948echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17949if eval "test \"\${$as_ac_var+set}\" = set"; then
17950 echo $ECHO_N "(cached) $ECHO_C" >&6
17951else
17952 cat >conftest.$ac_ext <<_ACEOF
17953#line $LINENO "configure"
17954/* confdefs.h. */
17955_ACEOF
17956cat confdefs.h >>conftest.$ac_ext
17957cat >>conftest.$ac_ext <<_ACEOF
17958/* end confdefs.h. */
17959/* System header to define __stub macros and hopefully few prototypes,
17960 which can conflict with char $ac_func (); below.
17961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17962 <limits.h> exists even on freestanding compilers. */
17963#ifdef __STDC__
17964# include <limits.h>
17965#else
17966# include <assert.h>
17967#endif
17968/* Override any gcc2 internal prototype to avoid an error. */
17969#ifdef __cplusplus
17970extern "C"
17971{
17972#endif
17973/* We use char because int might match the return type of a gcc2
17974 builtin and then its argument prototype would still apply. */
17975char $ac_func ();
17976/* The GNU C library defines this for functions which it implements
17977 to always fail with ENOSYS. Some functions are actually named
17978 something starting with __ and the normal name is an alias. */
17979#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17980choke me
17981#else
17982char (*f) () = $ac_func;
17983#endif
17984#ifdef __cplusplus
17985}
17986#endif
17987
17988int
17989main ()
17990{
17991return f != $ac_func;
17992 ;
17993 return 0;
17994}
17995_ACEOF
17996rm -f conftest.$ac_objext conftest$ac_exeext
17997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17998 (eval $ac_link) 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } &&
18002 { ac_try='test -s conftest$ac_exeext'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18005 ac_status=$?
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; }; then
18008 eval "$as_ac_var=yes"
18009else
18010 echo "$as_me: failed program was:" >&5
18011sed 's/^/| /' conftest.$ac_ext >&5
18012
18013eval "$as_ac_var=no"
18014fi
18015rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18016fi
18017echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18018echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18019if test `eval echo '${'$as_ac_var'}'` = yes; then
18020 cat >>confdefs.h <<_ACEOF
18021#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18022_ACEOF
18023
18024fi
18025done
18026
18027fi
18028
18029
18030
18031 if test "x$ac_cv_func_regcomp" != "xyes"; then
18032 if test "$wxUSE_REGEX" = "sys" ; then
18033 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18034echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18035 { (exit 1); exit 1; }; }
18036 else
18037 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18038echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18039 wxUSE_REGEX=builtin
18040 fi
18041 else
18042 wxUSE_REGEX=sys
18043 fi
18044 fi
18045
18046 if test "$wxUSE_REGEX" = "builtin" ; then
18047 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18048 fi
18049fi
18050
18051
18052ZLIB_INCLUDE=
18053ZLIB_LINK=
18054if test "$wxUSE_ZLIB" != "no" ; then
18055 cat >>confdefs.h <<\_ACEOF
18056#define wxUSE_ZLIB 1
18057_ACEOF
18058
18059
18060 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18061 if test "$USE_DARWIN" = 1; then
18062 system_zlib_h_ok="yes"
18063 else
18064 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18065echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18066if test "${ac_cv_header_zlib_h+set}" = set; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18068else
18069 if test "$cross_compiling" = yes; then
18070 unset ac_cv_header_zlib_h
18071
18072else
18073 cat >conftest.$ac_ext <<_ACEOF
18074#line $LINENO "configure"
18075/* confdefs.h. */
18076_ACEOF
18077cat confdefs.h >>conftest.$ac_ext
18078cat >>conftest.$ac_ext <<_ACEOF
18079/* end confdefs.h. */
18080
18081 #include <zlib.h>
18082 #include <stdio.h>
18083
18084 int main()
18085 {
18086 FILE *f=fopen("conftestval", "w");
18087 if (!f) exit(1);
18088 fprintf(f, "%s",
18089 ZLIB_VERSION[0] == '1' &&
18090 (ZLIB_VERSION[2] > '1' ||
18091 (ZLIB_VERSION[2] == '1' &&
18092 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18093 exit(0);
18094 }
18095
18096_ACEOF
18097rm -f conftest$ac_exeext
18098if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18099 (eval $ac_link) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; }; then
18108 ac_cv_header_zlib_h=`cat conftestval`
18109else
18110 echo "$as_me: program exited with status $ac_status" >&5
18111echo "$as_me: failed program was:" >&5
18112sed 's/^/| /' conftest.$ac_ext >&5
18113
18114( exit $ac_status )
18115ac_cv_header_zlib_h=no
18116fi
18117rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18118fi
18119
18120fi
18121echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18122echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18123 if test "${ac_cv_header_zlib_h+set}" = set; then
18124 echo "$as_me:$LINENO: checking for zlib.h" >&5
18125echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18126if test "${ac_cv_header_zlib_h+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18128fi
18129echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18130echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18131else
18132 # Is the header compilable?
18133echo "$as_me:$LINENO: checking zlib.h usability" >&5
18134echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18135cat >conftest.$ac_ext <<_ACEOF
18136#line $LINENO "configure"
18137/* confdefs.h. */
18138_ACEOF
18139cat confdefs.h >>conftest.$ac_ext
18140cat >>conftest.$ac_ext <<_ACEOF
18141/* end confdefs.h. */
18142$ac_includes_default
18143#include <zlib.h>
18144_ACEOF
18145rm -f conftest.$ac_objext
18146if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18147 (eval $ac_compile) 2>&5
18148 ac_status=$?
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } &&
18151 { ac_try='test -s conftest.$ac_objext'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18154 ac_status=$?
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; }; then
18157 ac_header_compiler=yes
18158else
18159 echo "$as_me: failed program was:" >&5
18160sed 's/^/| /' conftest.$ac_ext >&5
18161
18162ac_header_compiler=no
18163fi
18164rm -f conftest.$ac_objext conftest.$ac_ext
18165echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18166echo "${ECHO_T}$ac_header_compiler" >&6
18167
18168# Is the header present?
18169echo "$as_me:$LINENO: checking zlib.h presence" >&5
18170echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18171cat >conftest.$ac_ext <<_ACEOF
18172#line $LINENO "configure"
18173/* confdefs.h. */
18174_ACEOF
18175cat confdefs.h >>conftest.$ac_ext
18176cat >>conftest.$ac_ext <<_ACEOF
18177/* end confdefs.h. */
18178#include <zlib.h>
18179_ACEOF
18180if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18182 ac_status=$?
18183 grep -v '^ *+' conftest.er1 >conftest.err
18184 rm -f conftest.er1
18185 cat conftest.err >&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } >/dev/null; then
18188 if test -s conftest.err; then
18189 ac_cpp_err=$ac_c_preproc_warn_flag
18190 else
18191 ac_cpp_err=
18192 fi
18193else
18194 ac_cpp_err=yes
18195fi
18196if test -z "$ac_cpp_err"; then
18197 ac_header_preproc=yes
18198else
18199 echo "$as_me: failed program was:" >&5
18200sed 's/^/| /' conftest.$ac_ext >&5
18201
18202 ac_header_preproc=no
18203fi
18204rm -f conftest.err conftest.$ac_ext
18205echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18206echo "${ECHO_T}$ac_header_preproc" >&6
18207
18208# So? What about this header?
18209case $ac_header_compiler:$ac_header_preproc in
18210 yes:no )
18211 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18212echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18213 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18214echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18215 (
18216 cat <<\_ASBOX
18217## ------------------------------------ ##
18218## Report this to bug-autoconf@gnu.org. ##
18219## ------------------------------------ ##
18220_ASBOX
18221 ) |
18222 sed "s/^/$as_me: WARNING: /" >&2
18223 ;;
18224 no:yes )
18225 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18226echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18227 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18228echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18229 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18230echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18231 (
18232 cat <<\_ASBOX
18233## ------------------------------------ ##
18234## Report this to bug-autoconf@gnu.org. ##
18235## ------------------------------------ ##
18236_ASBOX
18237 ) |
18238 sed "s/^/$as_me: WARNING: /" >&2
18239 ;;
18240esac
18241echo "$as_me:$LINENO: checking for zlib.h" >&5
18242echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18243if test "${ac_cv_header_zlib_h+set}" = set; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18245else
18246 ac_cv_header_zlib_h=$ac_header_preproc
18247fi
18248echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18249echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18250
18251fi
18252
18253
18254
18255 system_zlib_h_ok=$ac_cv_header_zlib_h
18256 fi
18257
18258 if test "$system_zlib_h_ok" = "yes"; then
18259 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18260echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18261if test "${ac_cv_lib_z_deflate+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18263else
18264 ac_check_lib_save_LIBS=$LIBS
18265LIBS="-lz $LIBS"
18266cat >conftest.$ac_ext <<_ACEOF
18267#line $LINENO "configure"
18268/* confdefs.h. */
18269_ACEOF
18270cat confdefs.h >>conftest.$ac_ext
18271cat >>conftest.$ac_ext <<_ACEOF
18272/* end confdefs.h. */
18273
18274/* Override any gcc2 internal prototype to avoid an error. */
18275#ifdef __cplusplus
18276extern "C"
18277#endif
18278/* We use char because int might match the return type of a gcc2
18279 builtin and then its argument prototype would still apply. */
18280char deflate ();
18281int
18282main ()
18283{
18284deflate ();
18285 ;
18286 return 0;
18287}
18288_ACEOF
18289rm -f conftest.$ac_objext conftest$ac_exeext
18290if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18291 (eval $ac_link) 2>&5
18292 ac_status=$?
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try='test -s conftest$ac_exeext'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18298 ac_status=$?
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; }; then
18301 ac_cv_lib_z_deflate=yes
18302else
18303 echo "$as_me: failed program was:" >&5
18304sed 's/^/| /' conftest.$ac_ext >&5
18305
18306ac_cv_lib_z_deflate=no
18307fi
18308rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18309LIBS=$ac_check_lib_save_LIBS
18310fi
18311echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18312echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18313if test $ac_cv_lib_z_deflate = yes; then
18314 ZLIB_LINK=" -lz"
18315fi
18316
18317 fi
18318
18319 if test "x$ZLIB_LINK" = "x" ; then
18320 if test "$wxUSE_ZLIB" = "sys" ; then
18321 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18322echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18323 { (exit 1); exit 1; }; }
18324 else
18325 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18326echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18327 wxUSE_ZLIB=builtin
18328 fi
18329 else
18330 wxUSE_ZLIB=sys
18331 fi
18332 fi
18333
18334 if test "$wxUSE_ZLIB" = "builtin" ; then
18335 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18336 fi
18337fi
18338
18339
18340PNG_INCLUDE=
18341PNG_LINK=
18342if test "$wxUSE_LIBPNG" != "no" ; then
18343 cat >>confdefs.h <<\_ACEOF
18344#define wxUSE_LIBPNG 1
18345_ACEOF
18346
18347
18348 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18349 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18350echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18351 wxUSE_LIBPNG=sys
18352 fi
18353
18354 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18355 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18356echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18357 wxUSE_LIBPNG=builtin
18358 fi
18359
18360 if test "$wxUSE_MGL" != 1 ; then
18361 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18362 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18363echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18364if test "${ac_cv_header_png_h+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18366else
18367 if test "$cross_compiling" = yes; then
18368 unset ac_cv_header_png_h
18369
18370else
18371 cat >conftest.$ac_ext <<_ACEOF
18372#line $LINENO "configure"
18373/* confdefs.h. */
18374_ACEOF
18375cat confdefs.h >>conftest.$ac_ext
18376cat >>conftest.$ac_ext <<_ACEOF
18377/* end confdefs.h. */
18378
18379 #include <png.h>
18380 #include <stdio.h>
18381
18382 int main()
18383 {
18384 FILE *f=fopen("conftestval", "w");
18385 if (!f) exit(1);
18386 fprintf(f, "%s",
18387 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18388 exit(0);
18389 }
18390
18391_ACEOF
18392rm -f conftest$ac_exeext
18393if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18394 (eval $ac_link) 2>&5
18395 ac_status=$?
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18403 ac_cv_header_png_h=`cat conftestval`
18404else
18405 echo "$as_me: program exited with status $ac_status" >&5
18406echo "$as_me: failed program was:" >&5
18407sed 's/^/| /' conftest.$ac_ext >&5
18408
18409( exit $ac_status )
18410ac_cv_header_png_h=no
18411fi
18412rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18413fi
18414
18415fi
18416echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18417echo "${ECHO_T}$ac_cv_header_png_h" >&6
18418 if test "${ac_cv_header_png_h+set}" = set; then
18419 echo "$as_me:$LINENO: checking for png.h" >&5
18420echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18421if test "${ac_cv_header_png_h+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18423fi
18424echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18425echo "${ECHO_T}$ac_cv_header_png_h" >&6
18426else
18427 # Is the header compilable?
18428echo "$as_me:$LINENO: checking png.h usability" >&5
18429echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18430cat >conftest.$ac_ext <<_ACEOF
18431#line $LINENO "configure"
18432/* confdefs.h. */
18433_ACEOF
18434cat confdefs.h >>conftest.$ac_ext
18435cat >>conftest.$ac_ext <<_ACEOF
18436/* end confdefs.h. */
18437$ac_includes_default
18438#include <png.h>
18439_ACEOF
18440rm -f conftest.$ac_objext
18441if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18442 (eval $ac_compile) 2>&5
18443 ac_status=$?
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); } &&
18446 { ac_try='test -s conftest.$ac_objext'
18447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18448 (eval $ac_try) 2>&5
18449 ac_status=$?
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); }; }; then
18452 ac_header_compiler=yes
18453else
18454 echo "$as_me: failed program was:" >&5
18455sed 's/^/| /' conftest.$ac_ext >&5
18456
18457ac_header_compiler=no
18458fi
18459rm -f conftest.$ac_objext conftest.$ac_ext
18460echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18461echo "${ECHO_T}$ac_header_compiler" >&6
18462
18463# Is the header present?
18464echo "$as_me:$LINENO: checking png.h presence" >&5
18465echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18466cat >conftest.$ac_ext <<_ACEOF
18467#line $LINENO "configure"
18468/* confdefs.h. */
18469_ACEOF
18470cat confdefs.h >>conftest.$ac_ext
18471cat >>conftest.$ac_ext <<_ACEOF
18472/* end confdefs.h. */
18473#include <png.h>
18474_ACEOF
18475if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18477 ac_status=$?
18478 grep -v '^ *+' conftest.er1 >conftest.err
18479 rm -f conftest.er1
18480 cat conftest.err >&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } >/dev/null; then
18483 if test -s conftest.err; then
18484 ac_cpp_err=$ac_c_preproc_warn_flag
18485 else
18486 ac_cpp_err=
18487 fi
18488else
18489 ac_cpp_err=yes
18490fi
18491if test -z "$ac_cpp_err"; then
18492 ac_header_preproc=yes
18493else
18494 echo "$as_me: failed program was:" >&5
18495sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 ac_header_preproc=no
18498fi
18499rm -f conftest.err conftest.$ac_ext
18500echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18501echo "${ECHO_T}$ac_header_preproc" >&6
18502
18503# So? What about this header?
18504case $ac_header_compiler:$ac_header_preproc in
18505 yes:no )
18506 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18507echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18508 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18509echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18510 (
18511 cat <<\_ASBOX
18512## ------------------------------------ ##
18513## Report this to bug-autoconf@gnu.org. ##
18514## ------------------------------------ ##
18515_ASBOX
18516 ) |
18517 sed "s/^/$as_me: WARNING: /" >&2
18518 ;;
18519 no:yes )
18520 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18521echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18522 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18523echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18524 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18525echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18526 (
18527 cat <<\_ASBOX
18528## ------------------------------------ ##
18529## Report this to bug-autoconf@gnu.org. ##
18530## ------------------------------------ ##
18531_ASBOX
18532 ) |
18533 sed "s/^/$as_me: WARNING: /" >&2
18534 ;;
18535esac
18536echo "$as_me:$LINENO: checking for png.h" >&5
18537echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18538if test "${ac_cv_header_png_h+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540else
18541 ac_cv_header_png_h=$ac_header_preproc
18542fi
18543echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18544echo "${ECHO_T}$ac_cv_header_png_h" >&6
18545
18546fi
18547
18548
18549
18550 if test "$ac_cv_header_png_h" = "yes"; then
18551 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18552echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18553if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18555else
18556 ac_check_lib_save_LIBS=$LIBS
18557LIBS="-lpng -lz -lm $LIBS"
18558cat >conftest.$ac_ext <<_ACEOF
18559#line $LINENO "configure"
18560/* confdefs.h. */
18561_ACEOF
18562cat confdefs.h >>conftest.$ac_ext
18563cat >>conftest.$ac_ext <<_ACEOF
18564/* end confdefs.h. */
18565
18566/* Override any gcc2 internal prototype to avoid an error. */
18567#ifdef __cplusplus
18568extern "C"
18569#endif
18570/* We use char because int might match the return type of a gcc2
18571 builtin and then its argument prototype would still apply. */
18572char png_check_sig ();
18573int
18574main ()
18575{
18576png_check_sig ();
18577 ;
18578 return 0;
18579}
18580_ACEOF
18581rm -f conftest.$ac_objext conftest$ac_exeext
18582if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18583 (eval $ac_link) 2>&5
18584 ac_status=$?
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } &&
18587 { ac_try='test -s conftest$ac_exeext'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_lib_png_png_check_sig=yes
18594else
18595 echo "$as_me: failed program was:" >&5
18596sed 's/^/| /' conftest.$ac_ext >&5
18597
18598ac_cv_lib_png_png_check_sig=no
18599fi
18600rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18601LIBS=$ac_check_lib_save_LIBS
18602fi
18603echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18604echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18605if test $ac_cv_lib_png_png_check_sig = yes; then
18606 PNG_LINK=" -lpng"
18607fi
18608
18609 fi
18610
18611 if test "x$PNG_LINK" = "x" ; then
18612 if test "$wxUSE_LIBPNG" = "sys" ; then
18613 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18614echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18615 { (exit 1); exit 1; }; }
18616 else
18617 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18618echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18619 wxUSE_LIBPNG=builtin
18620 fi
18621 else
18622 wxUSE_LIBPNG=sys
18623 fi
18624 fi
18625 fi
18626
18627 if test "$wxUSE_LIBPNG" = "builtin" ; then
18628 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18629 fi
18630
18631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18632fi
18633
18634
18635JPEG_INCLUDE=
18636JPEG_LINK=
18637if test "$wxUSE_LIBJPEG" != "no" ; then
18638 cat >>confdefs.h <<\_ACEOF
18639#define wxUSE_LIBJPEG 1
18640_ACEOF
18641
18642
18643 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18644 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18645echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18646 wxUSE_LIBJPEG=sys
18647 fi
18648
18649 if test "$wxUSE_MGL" != 1 ; then
18650 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18651 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18652echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18653 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18655else
18656 cat >conftest.$ac_ext <<_ACEOF
18657#line $LINENO "configure"
18658/* confdefs.h. */
18659_ACEOF
18660cat confdefs.h >>conftest.$ac_ext
18661cat >>conftest.$ac_ext <<_ACEOF
18662/* end confdefs.h. */
18663
18664 #undef HAVE_STDLIB_H
18665 #include <stdio.h>
18666 #include <jpeglib.h>
18667
18668int
18669main ()
18670{
18671
18672
18673 ;
18674 return 0;
18675}
18676_ACEOF
18677rm -f conftest.$ac_objext
18678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18679 (eval $ac_compile) 2>&5
18680 ac_status=$?
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 ac_cv_header_jpeglib_h=yes
18690else
18691 echo "$as_me: failed program was:" >&5
18692sed 's/^/| /' conftest.$ac_ext >&5
18693
18694ac_cv_header_jpeglib_h=no
18695
18696fi
18697rm -f conftest.$ac_objext conftest.$ac_ext
18698
18699fi
18700
18701 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18702echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18703
18704 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18705 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18706echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18707if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18708 echo $ECHO_N "(cached) $ECHO_C" >&6
18709else
18710 ac_check_lib_save_LIBS=$LIBS
18711LIBS="-ljpeg $LIBS"
18712cat >conftest.$ac_ext <<_ACEOF
18713#line $LINENO "configure"
18714/* confdefs.h. */
18715_ACEOF
18716cat confdefs.h >>conftest.$ac_ext
18717cat >>conftest.$ac_ext <<_ACEOF
18718/* end confdefs.h. */
18719
18720/* Override any gcc2 internal prototype to avoid an error. */
18721#ifdef __cplusplus
18722extern "C"
18723#endif
18724/* We use char because int might match the return type of a gcc2
18725 builtin and then its argument prototype would still apply. */
18726char jpeg_read_header ();
18727int
18728main ()
18729{
18730jpeg_read_header ();
18731 ;
18732 return 0;
18733}
18734_ACEOF
18735rm -f conftest.$ac_objext conftest$ac_exeext
18736if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18737 (eval $ac_link) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try='test -s conftest$ac_exeext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 ac_cv_lib_jpeg_jpeg_read_header=yes
18748else
18749 echo "$as_me: failed program was:" >&5
18750sed 's/^/| /' conftest.$ac_ext >&5
18751
18752ac_cv_lib_jpeg_jpeg_read_header=no
18753fi
18754rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18755LIBS=$ac_check_lib_save_LIBS
18756fi
18757echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18758echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18759if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18760 JPEG_LINK=" -ljpeg"
18761fi
18762
18763 fi
18764
18765 if test "x$JPEG_LINK" = "x" ; then
18766 if test "$wxUSE_LIBJPEG" = "sys" ; then
18767 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18768echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18769 { (exit 1); exit 1; }; }
18770 else
18771 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18772echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18773 wxUSE_LIBJPEG=builtin
18774 fi
18775 else
18776 wxUSE_LIBJPEG=sys
18777 fi
18778 fi
18779 fi
18780
18781 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18782 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18783 fi
18784fi
18785
18786
18787TIFF_INCLUDE=
18788TIFF_LINK=
18789TIFF_PREREQ_LINKS=-lm
18790if test "$wxUSE_LIBTIFF" != "no" ; then
18791 cat >>confdefs.h <<\_ACEOF
18792#define wxUSE_LIBTIFF 1
18793_ACEOF
18794
18795
18796 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18797 if test "$wxUSE_LIBJPEG" = "sys"; then
18798 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18799 fi
18800 if test "$wxUSE_ZLIB" = "sys"; then
18801 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18802 fi
18803 if test "${ac_cv_header_tiffio_h+set}" = set; then
18804 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18805echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18806if test "${ac_cv_header_tiffio_h+set}" = set; then
18807 echo $ECHO_N "(cached) $ECHO_C" >&6
18808fi
18809echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18810echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18811else
18812 # Is the header compilable?
18813echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18814echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18815cat >conftest.$ac_ext <<_ACEOF
18816#line $LINENO "configure"
18817/* confdefs.h. */
18818_ACEOF
18819cat confdefs.h >>conftest.$ac_ext
18820cat >>conftest.$ac_ext <<_ACEOF
18821/* end confdefs.h. */
18822$ac_includes_default
18823#include <tiffio.h>
18824_ACEOF
18825rm -f conftest.$ac_objext
18826if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18827 (eval $ac_compile) 2>&5
18828 ac_status=$?
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } &&
18831 { ac_try='test -s conftest.$ac_objext'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18834 ac_status=$?
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; }; then
18837 ac_header_compiler=yes
18838else
18839 echo "$as_me: failed program was:" >&5
18840sed 's/^/| /' conftest.$ac_ext >&5
18841
18842ac_header_compiler=no
18843fi
18844rm -f conftest.$ac_objext conftest.$ac_ext
18845echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18846echo "${ECHO_T}$ac_header_compiler" >&6
18847
18848# Is the header present?
18849echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18850echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18851cat >conftest.$ac_ext <<_ACEOF
18852#line $LINENO "configure"
18853/* confdefs.h. */
18854_ACEOF
18855cat confdefs.h >>conftest.$ac_ext
18856cat >>conftest.$ac_ext <<_ACEOF
18857/* end confdefs.h. */
18858#include <tiffio.h>
18859_ACEOF
18860if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18862 ac_status=$?
18863 grep -v '^ *+' conftest.er1 >conftest.err
18864 rm -f conftest.er1
18865 cat conftest.err >&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } >/dev/null; then
18868 if test -s conftest.err; then
18869 ac_cpp_err=$ac_c_preproc_warn_flag
18870 else
18871 ac_cpp_err=
18872 fi
18873else
18874 ac_cpp_err=yes
18875fi
18876if test -z "$ac_cpp_err"; then
18877 ac_header_preproc=yes
18878else
18879 echo "$as_me: failed program was:" >&5
18880sed 's/^/| /' conftest.$ac_ext >&5
18881
18882 ac_header_preproc=no
18883fi
18884rm -f conftest.err conftest.$ac_ext
18885echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18886echo "${ECHO_T}$ac_header_preproc" >&6
18887
18888# So? What about this header?
18889case $ac_header_compiler:$ac_header_preproc in
18890 yes:no )
18891 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18892echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18893 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18894echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18895 (
18896 cat <<\_ASBOX
18897## ------------------------------------ ##
18898## Report this to bug-autoconf@gnu.org. ##
18899## ------------------------------------ ##
18900_ASBOX
18901 ) |
18902 sed "s/^/$as_me: WARNING: /" >&2
18903 ;;
18904 no:yes )
18905 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18906echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18907 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18908echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18909 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18910echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18911 (
18912 cat <<\_ASBOX
18913## ------------------------------------ ##
18914## Report this to bug-autoconf@gnu.org. ##
18915## ------------------------------------ ##
18916_ASBOX
18917 ) |
18918 sed "s/^/$as_me: WARNING: /" >&2
18919 ;;
18920esac
18921echo "$as_me:$LINENO: checking for tiffio.h" >&5
18922echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18923if test "${ac_cv_header_tiffio_h+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925else
18926 ac_cv_header_tiffio_h=$ac_header_preproc
18927fi
18928echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18929echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18930
18931fi
18932if test $ac_cv_header_tiffio_h = yes; then
18933 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18934echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18935if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18937else
18938 ac_check_lib_save_LIBS=$LIBS
18939LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18940cat >conftest.$ac_ext <<_ACEOF
18941#line $LINENO "configure"
18942/* confdefs.h. */
18943_ACEOF
18944cat confdefs.h >>conftest.$ac_ext
18945cat >>conftest.$ac_ext <<_ACEOF
18946/* end confdefs.h. */
18947
18948/* Override any gcc2 internal prototype to avoid an error. */
18949#ifdef __cplusplus
18950extern "C"
18951#endif
18952/* We use char because int might match the return type of a gcc2
18953 builtin and then its argument prototype would still apply. */
18954char TIFFError ();
18955int
18956main ()
18957{
18958TIFFError ();
18959 ;
18960 return 0;
18961}
18962_ACEOF
18963rm -f conftest.$ac_objext conftest$ac_exeext
18964if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18965 (eval $ac_link) 2>&5
18966 ac_status=$?
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } &&
18969 { ac_try='test -s conftest$ac_exeext'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5
18972 ac_status=$?
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); }; }; then
18975 ac_cv_lib_tiff_TIFFError=yes
18976else
18977 echo "$as_me: failed program was:" >&5
18978sed 's/^/| /' conftest.$ac_ext >&5
18979
18980ac_cv_lib_tiff_TIFFError=no
18981fi
18982rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18983LIBS=$ac_check_lib_save_LIBS
18984fi
18985echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18986echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18987if test $ac_cv_lib_tiff_TIFFError = yes; then
18988 TIFF_LINK=" -ltiff"
18989fi
18990
18991
18992fi
18993
18994
18995
18996 if test "x$TIFF_LINK" = "x" ; then
18997 if test "$wxUSE_LIBTIFF" = "sys" ; then
18998 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
18999echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19000 { (exit 1); exit 1; }; }
19001 else
19002 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19003echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19004 wxUSE_LIBTIFF=builtin
19005 fi
19006 else
19007 wxUSE_LIBTIFF=sys
19008 fi
19009 fi
19010
19011 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19012 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19013 fi
19014fi
19015
19016
19017AFMINSTALL=
19018WIN32INSTALL=
19019
19020TOOLKIT=
19021TOOLKIT_INCLUDE=
19022WIDGET_SET=
19023
19024if test "$USE_WIN32" = 1 ; then
19025
19026for ac_header in w32api.h
19027do
19028as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19029if eval "test \"\${$as_ac_Header+set}\" = set"; then
19030 echo "$as_me:$LINENO: checking for $ac_header" >&5
19031echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19032if eval "test \"\${$as_ac_Header+set}\" = set"; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034fi
19035echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19036echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19037else
19038 # Is the header compilable?
19039echo "$as_me:$LINENO: checking $ac_header usability" >&5
19040echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19041cat >conftest.$ac_ext <<_ACEOF
19042#line $LINENO "configure"
19043/* confdefs.h. */
19044_ACEOF
19045cat confdefs.h >>conftest.$ac_ext
19046cat >>conftest.$ac_ext <<_ACEOF
19047/* end confdefs.h. */
19048$ac_includes_default
19049#include <$ac_header>
19050_ACEOF
19051rm -f conftest.$ac_objext
19052if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19053 (eval $ac_compile) 2>&5
19054 ac_status=$?
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); } &&
19057 { ac_try='test -s conftest.$ac_objext'
19058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19059 (eval $ac_try) 2>&5
19060 ac_status=$?
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); }; }; then
19063 ac_header_compiler=yes
19064else
19065 echo "$as_me: failed program was:" >&5
19066sed 's/^/| /' conftest.$ac_ext >&5
19067
19068ac_header_compiler=no
19069fi
19070rm -f conftest.$ac_objext conftest.$ac_ext
19071echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19072echo "${ECHO_T}$ac_header_compiler" >&6
19073
19074# Is the header present?
19075echo "$as_me:$LINENO: checking $ac_header presence" >&5
19076echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19077cat >conftest.$ac_ext <<_ACEOF
19078#line $LINENO "configure"
19079/* confdefs.h. */
19080_ACEOF
19081cat confdefs.h >>conftest.$ac_ext
19082cat >>conftest.$ac_ext <<_ACEOF
19083/* end confdefs.h. */
19084#include <$ac_header>
19085_ACEOF
19086if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19088 ac_status=$?
19089 grep -v '^ *+' conftest.er1 >conftest.err
19090 rm -f conftest.er1
19091 cat conftest.err >&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } >/dev/null; then
19094 if test -s conftest.err; then
19095 ac_cpp_err=$ac_c_preproc_warn_flag
19096 else
19097 ac_cpp_err=
19098 fi
19099else
19100 ac_cpp_err=yes
19101fi
19102if test -z "$ac_cpp_err"; then
19103 ac_header_preproc=yes
19104else
19105 echo "$as_me: failed program was:" >&5
19106sed 's/^/| /' conftest.$ac_ext >&5
19107
19108 ac_header_preproc=no
19109fi
19110rm -f conftest.err conftest.$ac_ext
19111echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19112echo "${ECHO_T}$ac_header_preproc" >&6
19113
19114# So? What about this header?
19115case $ac_header_compiler:$ac_header_preproc in
19116 yes:no )
19117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19118echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19120echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19121 (
19122 cat <<\_ASBOX
19123## ------------------------------------ ##
19124## Report this to bug-autoconf@gnu.org. ##
19125## ------------------------------------ ##
19126_ASBOX
19127 ) |
19128 sed "s/^/$as_me: WARNING: /" >&2
19129 ;;
19130 no:yes )
19131 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19132echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19133 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19134echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19136echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19137 (
19138 cat <<\_ASBOX
19139## ------------------------------------ ##
19140## Report this to bug-autoconf@gnu.org. ##
19141## ------------------------------------ ##
19142_ASBOX
19143 ) |
19144 sed "s/^/$as_me: WARNING: /" >&2
19145 ;;
19146esac
19147echo "$as_me:$LINENO: checking for $ac_header" >&5
19148echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19149if eval "test \"\${$as_ac_Header+set}\" = set"; then
19150 echo $ECHO_N "(cached) $ECHO_C" >&6
19151else
19152 eval "$as_ac_Header=$ac_header_preproc"
19153fi
19154echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19155echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19156
19157fi
19158if test `eval echo '${'$as_ac_Header'}'` = yes; then
19159 cat >>confdefs.h <<_ACEOF
19160#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19161_ACEOF
19162
19163fi
19164
19165done
19166
19167 if test "${ac_cv_header_windows_h+set}" = set; then
19168 echo "$as_me:$LINENO: checking for windows.h" >&5
19169echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19170if test "${ac_cv_header_windows_h+set}" = set; then
19171 echo $ECHO_N "(cached) $ECHO_C" >&6
19172fi
19173echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19174echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19175else
19176 # Is the header compilable?
19177echo "$as_me:$LINENO: checking windows.h usability" >&5
19178echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19179cat >conftest.$ac_ext <<_ACEOF
19180#line $LINENO "configure"
19181/* confdefs.h. */
19182_ACEOF
19183cat confdefs.h >>conftest.$ac_ext
19184cat >>conftest.$ac_ext <<_ACEOF
19185/* end confdefs.h. */
19186$ac_includes_default
19187#include <windows.h>
19188_ACEOF
19189rm -f conftest.$ac_objext
19190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19191 (eval $ac_compile) 2>&5
19192 ac_status=$?
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -s conftest.$ac_objext'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; }; then
19201 ac_header_compiler=yes
19202else
19203 echo "$as_me: failed program was:" >&5
19204sed 's/^/| /' conftest.$ac_ext >&5
19205
19206ac_header_compiler=no
19207fi
19208rm -f conftest.$ac_objext conftest.$ac_ext
19209echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19210echo "${ECHO_T}$ac_header_compiler" >&6
19211
19212# Is the header present?
19213echo "$as_me:$LINENO: checking windows.h presence" >&5
19214echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19215cat >conftest.$ac_ext <<_ACEOF
19216#line $LINENO "configure"
19217/* confdefs.h. */
19218_ACEOF
19219cat confdefs.h >>conftest.$ac_ext
19220cat >>conftest.$ac_ext <<_ACEOF
19221/* end confdefs.h. */
19222#include <windows.h>
19223_ACEOF
19224if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } >/dev/null; then
19232 if test -s conftest.err; then
19233 ac_cpp_err=$ac_c_preproc_warn_flag
19234 else
19235 ac_cpp_err=
19236 fi
19237else
19238 ac_cpp_err=yes
19239fi
19240if test -z "$ac_cpp_err"; then
19241 ac_header_preproc=yes
19242else
19243 echo "$as_me: failed program was:" >&5
19244sed 's/^/| /' conftest.$ac_ext >&5
19245
19246 ac_header_preproc=no
19247fi
19248rm -f conftest.err conftest.$ac_ext
19249echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19250echo "${ECHO_T}$ac_header_preproc" >&6
19251
19252# So? What about this header?
19253case $ac_header_compiler:$ac_header_preproc in
19254 yes:no )
19255 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19256echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19257 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19258echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19259 (
19260 cat <<\_ASBOX
19261## ------------------------------------ ##
19262## Report this to bug-autoconf@gnu.org. ##
19263## ------------------------------------ ##
19264_ASBOX
19265 ) |
19266 sed "s/^/$as_me: WARNING: /" >&2
19267 ;;
19268 no:yes )
19269 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19270echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19271 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19272echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19273 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19274echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19275 (
19276 cat <<\_ASBOX
19277## ------------------------------------ ##
19278## Report this to bug-autoconf@gnu.org. ##
19279## ------------------------------------ ##
19280_ASBOX
19281 ) |
19282 sed "s/^/$as_me: WARNING: /" >&2
19283 ;;
19284esac
19285echo "$as_me:$LINENO: checking for windows.h" >&5
19286echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19287if test "${ac_cv_header_windows_h+set}" = set; then
19288 echo $ECHO_N "(cached) $ECHO_C" >&6
19289else
19290 ac_cv_header_windows_h=$ac_header_preproc
19291fi
19292echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19293echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19294
19295fi
19296if test $ac_cv_header_windows_h = yes; then
19297 :
19298else
19299
19300 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19301echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19302 { (exit 1); exit 1; }; }
19303
19304fi
19305
19306
19307
19308 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19309echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19310if test "${wx_cv_w32api_win32_ie+set}" = set; then
19311 echo $ECHO_N "(cached) $ECHO_C" >&6
19312else
19313
19314 cat >conftest.$ac_ext <<_ACEOF
19315#line $LINENO "configure"
19316/* confdefs.h. */
19317_ACEOF
19318cat confdefs.h >>conftest.$ac_ext
19319cat >>conftest.$ac_ext <<_ACEOF
19320/* end confdefs.h. */
19321#include <w32api.h>
19322int
19323main ()
19324{
19325
19326 #define wxCHECK_W32API_VERSION( major, minor ) \
19327 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19328 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19329 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19330
19331 #if !wxCHECK_W32API_VERSION(1,1)
19332 #error You need w32api 1.1 or newer
19333 #endif
19334
19335 ;
19336 return 0;
19337}
19338_ACEOF
19339rm -f conftest.$ac_objext
19340if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19341 (eval $ac_compile) 2>&5
19342 ac_status=$?
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } &&
19345 { ac_try='test -s conftest.$ac_objext'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19348 ac_status=$?
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; }; then
19351
19352 wx_cv_w32api_win32_ie=yes
19353
19354else
19355 echo "$as_me: failed program was:" >&5
19356sed 's/^/| /' conftest.$ac_ext >&5
19357
19358
19359 wx_cv_w32api_win32_ie=no
19360
19361fi
19362rm -f conftest.$ac_objext conftest.$ac_ext
19363
19364fi
19365echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19366echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19367 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19368 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19369 fi
19370
19371 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
19372
19373 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19374 LIBS="$LIBS -loleacc"
19375 fi
19376
19377 case "${host}" in
19378 *-*-cygwin* )
19379 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
19380 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19381 esac
19382
19383 if test "$wxUSE_ODBC" = "sys" ; then
19384 wxUSE_ODBC = "yes"
19385 fi
19386 if test "$wxUSE_ODBC" = "yes" ; then
19387 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19388 cat >>confdefs.h <<\_ACEOF
19389#define wxUSE_ODBC 1
19390_ACEOF
19391
19392 fi
19393
19394 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19395 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19396
19397 WIN32INSTALL=win32install
19398fi
19399
19400if test "$USE_DARWIN" = 1; then
19401 if test "$wxUSE_PRECOMP" = "yes"; then
19402 CPPFLAGS="$CPPFLAGS -cpp-precomp"
19403 else
19404 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
19405 fi
19406fi
19407
19408if test "$wxUSE_GUI" = "yes"; then
19409 USE_GUI=1
19410
19411 GUI_TK_LIBRARY=
19412
19413 WXGTK12=
19414 WXGTK127=
19415 WXGTK20=
19416
19417 if test "$wxUSE_MSW" = 1 ; then
19418 TOOLKIT=MSW
19419 GUIDIST=MSW_DIST
19420
19421 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19422 fi
19423
19424 if test "$wxUSE_GTK" = 1; then
19425 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19426echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19427
19428 gtk_version_cached=1
19429 if test "${wx_cv_lib_gtk+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431else
19432
19433 gtk_version_cached=0
19434 echo "$as_me:$LINENO: result: " >&5
19435echo "${ECHO_T}" >&6
19436
19437 GTK_MODULES=
19438 if test "$wxUSE_THREADS" = "yes"; then
19439 GTK_MODULES=gthread
19440 fi
19441
19442 wx_cv_lib_gtk=
19443 if test "x$wxUSE_GTK2" = "xyes"; then
19444 # Check whether --enable-gtktest or --disable-gtktest was given.
19445if test "${enable_gtktest+set}" = set; then
19446 enableval="$enable_gtktest"
19447
19448else
19449 enable_gtktest=yes
19450fi;
19451
19452 pkg_config_args=gtk+-2.0
19453 for module in . $GTK_MODULES
19454 do
19455 case "$module" in
19456 gthread)
19457 pkg_config_args="$pkg_config_args gthread-2.0"
19458 ;;
19459 esac
19460 done
19461
19462 no_gtk=""
19463
19464 # Extract the first word of "pkg-config", so it can be a program name with args.
19465set dummy pkg-config; ac_word=$2
19466echo "$as_me:$LINENO: checking for $ac_word" >&5
19467echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19468if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19470else
19471 case $PKG_CONFIG in
19472 [\\/]* | ?:[\\/]*)
19473 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19474 ;;
19475 *)
19476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19477for as_dir in $PATH
19478do
19479 IFS=$as_save_IFS
19480 test -z "$as_dir" && as_dir=.
19481 for ac_exec_ext in '' $ac_executable_extensions; do
19482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19483 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19485 break 2
19486 fi
19487done
19488done
19489
19490 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19491 ;;
19492esac
19493fi
19494PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19495
19496if test -n "$PKG_CONFIG"; then
19497 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19498echo "${ECHO_T}$PKG_CONFIG" >&6
19499else
19500 echo "$as_me:$LINENO: result: no" >&5
19501echo "${ECHO_T}no" >&6
19502fi
19503
19504
19505 if test x$PKG_CONFIG != xno ; then
19506 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19507 :
19508 else
19509 echo *** pkg-config too old; version 0.7 or better required.
19510 no_gtk=yes
19511 PKG_CONFIG=no
19512 fi
19513 else
19514 no_gtk=yes
19515 fi
19516
19517 min_gtk_version=2.0.0
19518 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19519echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19520
19521 if test x$PKG_CONFIG != xno ; then
19522 ## don't try to run the test against uninstalled libtool libs
19523 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19524 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19525 enable_gtktest=no
19526 fi
19527
19528 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19529 :
19530 else
19531 no_gtk=yes
19532 fi
19533 fi
19534
19535 if test x"$no_gtk" = x ; then
19536 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19537 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19538 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19540 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19542 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19544 if test "x$enable_gtktest" = "xyes" ; then
19545 ac_save_CFLAGS="$CFLAGS"
19546 ac_save_LIBS="$LIBS"
19547 CFLAGS="$CFLAGS $GTK_CFLAGS"
19548 LIBS="$GTK_LIBS $LIBS"
19549 rm -f conf.gtktest
19550 if test "$cross_compiling" = yes; then
19551 echo $ac_n "cross compiling; assumed OK... $ac_c"
19552else
19553 cat >conftest.$ac_ext <<_ACEOF
19554#line $LINENO "configure"
19555/* confdefs.h. */
19556_ACEOF
19557cat confdefs.h >>conftest.$ac_ext
19558cat >>conftest.$ac_ext <<_ACEOF
19559/* end confdefs.h. */
19560
19561#include <gtk/gtk.h>
19562#include <stdio.h>
19563#include <stdlib.h>
19564
19565int
19566main ()
19567{
19568 int major, minor, micro;
19569 char *tmp_version;
19570
19571 system ("touch conf.gtktest");
19572
19573 /* HP/UX 9 (%@#!) writes to sscanf strings */
19574 tmp_version = g_strdup("$min_gtk_version");
19575 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19576 printf("%s, bad version string\n", "$min_gtk_version");
19577 exit(1);
19578 }
19579
19580 if ((gtk_major_version != $gtk_config_major_version) ||
19581 (gtk_minor_version != $gtk_config_minor_version) ||
19582 (gtk_micro_version != $gtk_config_micro_version))
19583 {
19584 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19585 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19586 gtk_major_version, gtk_minor_version, gtk_micro_version);
19587 printf ("*** was found! If pkg-config was correct, then it is best\n");
19588 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19589 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19590 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19591 printf("*** required on your system.\n");
19592 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19593 printf("*** to point to the correct configuration files\n");
19594 }
19595 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19596 (gtk_minor_version != GTK_MINOR_VERSION) ||
19597 (gtk_micro_version != GTK_MICRO_VERSION))
19598 {
19599 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19600 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19601 printf("*** library (version %d.%d.%d)\n",
19602 gtk_major_version, gtk_minor_version, gtk_micro_version);
19603 }
19604 else
19605 {
19606 if ((gtk_major_version > major) ||
19607 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19608 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19609 {
19610 return 0;
19611 }
19612 else
19613 {
19614 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19615 gtk_major_version, gtk_minor_version, gtk_micro_version);
19616 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19617 major, minor, micro);
19618 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19619 printf("***\n");
19620 printf("*** If you have already installed a sufficiently new version, this error\n");
19621 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19622 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19623 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19624 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19625 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19626 printf("*** so that the correct libraries are found at run-time))\n");
19627 }
19628 }
19629 return 1;
19630}
19631
19632_ACEOF
19633rm -f conftest$ac_exeext
19634if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19635 (eval $ac_link) 2>&5
19636 ac_status=$?
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19641 ac_status=$?
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 :
19645else
19646 echo "$as_me: program exited with status $ac_status" >&5
19647echo "$as_me: failed program was:" >&5
19648sed 's/^/| /' conftest.$ac_ext >&5
19649
19650( exit $ac_status )
19651no_gtk=yes
19652fi
19653rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19654fi
19655 CFLAGS="$ac_save_CFLAGS"
19656 LIBS="$ac_save_LIBS"
19657 fi
19658 fi
19659 if test "x$no_gtk" = x ; then
19660 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19661echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19662 wx_cv_lib_gtk=2.0
19663 else
19664 echo "$as_me:$LINENO: result: no" >&5
19665echo "${ECHO_T}no" >&6
19666 if test "$PKG_CONFIG" = "no" ; then
19667 echo "*** A new enough version of pkg-config was not found."
19668 echo "*** See http://pkgconfig.sourceforge.net"
19669 else
19670 if test -f conf.gtktest ; then
19671 :
19672 else
19673 echo "*** Could not run GTK+ test program, checking why..."
19674 ac_save_CFLAGS="$CFLAGS"
19675 ac_save_LIBS="$LIBS"
19676 CFLAGS="$CFLAGS $GTK_CFLAGS"
19677 LIBS="$LIBS $GTK_LIBS"
19678 cat >conftest.$ac_ext <<_ACEOF
19679#line $LINENO "configure"
19680/* confdefs.h. */
19681_ACEOF
19682cat confdefs.h >>conftest.$ac_ext
19683cat >>conftest.$ac_ext <<_ACEOF
19684/* end confdefs.h. */
19685
19686#include <gtk/gtk.h>
19687#include <stdio.h>
19688
19689int
19690main ()
19691{
19692 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19693 ;
19694 return 0;
19695}
19696_ACEOF
19697rm -f conftest.$ac_objext conftest$ac_exeext
19698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19699 (eval $ac_link) 2>&5
19700 ac_status=$?
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try='test -s conftest$ac_exeext'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19706 ac_status=$?
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; }; then
19709 echo "*** The test program compiled, but did not run. This usually means"
19710 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19711 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19712 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19713 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19714 echo "*** is required on your system"
19715 echo "***"
19716 echo "*** If you have an old version installed, it is best to remove it, although"
19717 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19718else
19719 echo "$as_me: failed program was:" >&5
19720sed 's/^/| /' conftest.$ac_ext >&5
19721
19722 echo "*** The test program failed to compile or link. See the file config.log for the"
19723 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19724fi
19725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19726 CFLAGS="$ac_save_CFLAGS"
19727 LIBS="$ac_save_LIBS"
19728 fi
19729 fi
19730 GTK_CFLAGS=""
19731 GTK_LIBS=""
19732 :
19733 fi
19734
19735
19736 rm -f conf.gtktest
19737
19738 else
19739
19740# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19741if test "${with_gtk_prefix+set}" = set; then
19742 withval="$with_gtk_prefix"
19743 gtk_config_prefix="$withval"
19744else
19745 gtk_config_prefix=""
19746fi;
19747
19748# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19749if test "${with_gtk_exec_prefix+set}" = set; then
19750 withval="$with_gtk_exec_prefix"
19751 gtk_config_exec_prefix="$withval"
19752else
19753 gtk_config_exec_prefix=""
19754fi;
19755# Check whether --enable-gtktest or --disable-gtktest was given.
19756if test "${enable_gtktest+set}" = set; then
19757 enableval="$enable_gtktest"
19758
19759else
19760 enable_gtktest=yes
19761fi;
19762
19763 for module in . $GTK_MODULES
19764 do
19765 case "$module" in
19766 gthread)
19767 gtk_config_args="$gtk_config_args gthread"
19768 ;;
19769 esac
19770 done
19771
19772 if test x$gtk_config_exec_prefix != x ; then
19773 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19774 if test x${GTK_CONFIG+set} != xset ; then
19775 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19776 fi
19777 fi
19778 if test x$gtk_config_prefix != x ; then
19779 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19780 if test x${GTK_CONFIG+set} != xset ; then
19781 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19782 fi
19783 fi
19784
19785 # Extract the first word of "gtk-config", so it can be a program name with args.
19786set dummy gtk-config; ac_word=$2
19787echo "$as_me:$LINENO: checking for $ac_word" >&5
19788echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19789if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19791else
19792 case $GTK_CONFIG in
19793 [\\/]* | ?:[\\/]*)
19794 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19795 ;;
19796 *)
19797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19798for as_dir in $PATH
19799do
19800 IFS=$as_save_IFS
19801 test -z "$as_dir" && as_dir=.
19802 for ac_exec_ext in '' $ac_executable_extensions; do
19803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19804 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19806 break 2
19807 fi
19808done
19809done
19810
19811 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19812 ;;
19813esac
19814fi
19815GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19816
19817if test -n "$GTK_CONFIG"; then
19818 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19819echo "${ECHO_T}$GTK_CONFIG" >&6
19820else
19821 echo "$as_me:$LINENO: result: no" >&5
19822echo "${ECHO_T}no" >&6
19823fi
19824
19825 min_gtk_version=1.2.7
19826 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19827echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19828 no_gtk=""
19829 if test "$GTK_CONFIG" = "no" ; then
19830 no_gtk=yes
19831 else
19832 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19833 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19834 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19836 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19838 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19840 if test "x$enable_gtktest" = "xyes" ; then
19841 ac_save_CFLAGS="$CFLAGS"
19842 ac_save_LIBS="$LIBS"
19843 CFLAGS="$CFLAGS $GTK_CFLAGS"
19844 LIBS="$GTK_LIBS $LIBS"
19845 rm -f conf.gtktest
19846 if test "$cross_compiling" = yes; then
19847 echo $ac_n "cross compiling; assumed OK... $ac_c"
19848else
19849 cat >conftest.$ac_ext <<_ACEOF
19850#line $LINENO "configure"
19851/* confdefs.h. */
19852_ACEOF
19853cat confdefs.h >>conftest.$ac_ext
19854cat >>conftest.$ac_ext <<_ACEOF
19855/* end confdefs.h. */
19856
19857#include <gtk/gtk.h>
19858#include <stdio.h>
19859#include <stdlib.h>
19860
19861int
19862main ()
19863{
19864 int major, minor, micro;
19865 char *tmp_version;
19866
19867 system ("touch conf.gtktest");
19868
19869 /* HP/UX 9 (%@#!) writes to sscanf strings */
19870 tmp_version = g_strdup("$min_gtk_version");
19871 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19872 printf("%s, bad version string\n", "$min_gtk_version");
19873 exit(1);
19874 }
19875
19876 if ((gtk_major_version != $gtk_config_major_version) ||
19877 (gtk_minor_version != $gtk_config_minor_version) ||
19878 (gtk_micro_version != $gtk_config_micro_version))
19879 {
19880 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19881 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19882 gtk_major_version, gtk_minor_version, gtk_micro_version);
19883 printf ("*** was found! If gtk-config was correct, then it is best\n");
19884 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19885 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19886 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19887 printf("*** required on your system.\n");
19888 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19889 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19890 printf("*** before re-running configure\n");
19891 }
19892#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19893 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19894 (gtk_minor_version != GTK_MINOR_VERSION) ||
19895 (gtk_micro_version != GTK_MICRO_VERSION))
19896 {
19897 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19898 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19899 printf("*** library (version %d.%d.%d)\n",
19900 gtk_major_version, gtk_minor_version, gtk_micro_version);
19901 }
19902#endif /* defined (GTK_MAJOR_VERSION) ... */
19903 else
19904 {
19905 if ((gtk_major_version > major) ||
19906 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19907 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19908 {
19909 return 0;
19910 }
19911 else
19912 {
19913 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19914 gtk_major_version, gtk_minor_version, gtk_micro_version);
19915 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19916 major, minor, micro);
19917 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19918 printf("***\n");
19919 printf("*** If you have already installed a sufficiently new version, this error\n");
19920 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19921 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19922 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19923 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19924 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19925 printf("*** so that the correct libraries are found at run-time))\n");
19926 }
19927 }
19928 return 1;
19929}
19930
19931_ACEOF
19932rm -f conftest$ac_exeext
19933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19934 (eval $ac_link) 2>&5
19935 ac_status=$?
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19940 ac_status=$?
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; }; then
19943 :
19944else
19945 echo "$as_me: program exited with status $ac_status" >&5
19946echo "$as_me: failed program was:" >&5
19947sed 's/^/| /' conftest.$ac_ext >&5
19948
19949( exit $ac_status )
19950no_gtk=yes
19951fi
19952rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19953fi
19954 CFLAGS="$ac_save_CFLAGS"
19955 LIBS="$ac_save_LIBS"
19956 fi
19957 fi
19958 if test "x$no_gtk" = x ; then
19959 echo "$as_me:$LINENO: result: yes" >&5
19960echo "${ECHO_T}yes" >&6
19961 wx_cv_lib_gtk=1.2.7
19962 else
19963 echo "$as_me:$LINENO: result: no" >&5
19964echo "${ECHO_T}no" >&6
19965 if test "$GTK_CONFIG" = "no" ; then
19966 echo "*** The gtk-config script installed by GTK could not be found"
19967 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19968 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19969 echo "*** full path to gtk-config."
19970 else
19971 if test -f conf.gtktest ; then
19972 :
19973 else
19974 echo "*** Could not run GTK test program, checking why..."
19975 CFLAGS="$CFLAGS $GTK_CFLAGS"
19976 LIBS="$LIBS $GTK_LIBS"
19977 cat >conftest.$ac_ext <<_ACEOF
19978#line $LINENO "configure"
19979/* confdefs.h. */
19980_ACEOF
19981cat confdefs.h >>conftest.$ac_ext
19982cat >>conftest.$ac_ext <<_ACEOF
19983/* end confdefs.h. */
19984
19985#include <gtk/gtk.h>
19986#include <stdio.h>
19987
19988int
19989main ()
19990{
19991 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19992 ;
19993 return 0;
19994}
19995_ACEOF
19996rm -f conftest.$ac_objext conftest$ac_exeext
19997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19998 (eval $ac_link) 2>&5
19999 ac_status=$?
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } &&
20002 { ac_try='test -s conftest$ac_exeext'
20003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004 (eval $ac_try) 2>&5
20005 ac_status=$?
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20008 echo "*** The test program compiled, but did not run. This usually means"
20009 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20010 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20011 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20012 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20013 echo "*** is required on your system"
20014 echo "***"
20015 echo "*** If you have an old version installed, it is best to remove it, although"
20016 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20017 echo "***"
20018 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20019 echo "*** came with the system with the command"
20020 echo "***"
20021 echo "*** rpm --erase --nodeps gtk gtk-devel"
20022else
20023 echo "$as_me: failed program was:" >&5
20024sed 's/^/| /' conftest.$ac_ext >&5
20025
20026 echo "*** The test program failed to compile or link. See the file config.log for the"
20027 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20028 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20029 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20030fi
20031rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20032 CFLAGS="$ac_save_CFLAGS"
20033 LIBS="$ac_save_LIBS"
20034 fi
20035 fi
20036 GTK_CFLAGS=""
20037 GTK_LIBS=""
20038 :
20039 fi
20040
20041
20042 rm -f conf.gtktest
20043
20044
20045 if test -z "$wx_cv_lib_gtk"; then
20046
20047# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20048if test "${with_gtk_prefix+set}" = set; then
20049 withval="$with_gtk_prefix"
20050 gtk_config_prefix="$withval"
20051else
20052 gtk_config_prefix=""
20053fi;
20054
20055# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20056if test "${with_gtk_exec_prefix+set}" = set; then
20057 withval="$with_gtk_exec_prefix"
20058 gtk_config_exec_prefix="$withval"
20059else
20060 gtk_config_exec_prefix=""
20061fi;
20062# Check whether --enable-gtktest or --disable-gtktest was given.
20063if test "${enable_gtktest+set}" = set; then
20064 enableval="$enable_gtktest"
20065
20066else
20067 enable_gtktest=yes
20068fi;
20069
20070 for module in . $GTK_MODULES
20071 do
20072 case "$module" in
20073 gthread)
20074 gtk_config_args="$gtk_config_args gthread"
20075 ;;
20076 esac
20077 done
20078
20079 if test x$gtk_config_exec_prefix != x ; then
20080 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20081 if test x${GTK_CONFIG+set} != xset ; then
20082 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20083 fi
20084 fi
20085 if test x$gtk_config_prefix != x ; then
20086 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20087 if test x${GTK_CONFIG+set} != xset ; then
20088 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20089 fi
20090 fi
20091
20092 # Extract the first word of "gtk-config", so it can be a program name with args.
20093set dummy gtk-config; ac_word=$2
20094echo "$as_me:$LINENO: checking for $ac_word" >&5
20095echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20096if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20097 echo $ECHO_N "(cached) $ECHO_C" >&6
20098else
20099 case $GTK_CONFIG in
20100 [\\/]* | ?:[\\/]*)
20101 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20102 ;;
20103 *)
20104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20105for as_dir in $PATH
20106do
20107 IFS=$as_save_IFS
20108 test -z "$as_dir" && as_dir=.
20109 for ac_exec_ext in '' $ac_executable_extensions; do
20110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20111 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20113 break 2
20114 fi
20115done
20116done
20117
20118 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20119 ;;
20120esac
20121fi
20122GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20123
20124if test -n "$GTK_CONFIG"; then
20125 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20126echo "${ECHO_T}$GTK_CONFIG" >&6
20127else
20128 echo "$as_me:$LINENO: result: no" >&5
20129echo "${ECHO_T}no" >&6
20130fi
20131
20132 min_gtk_version=1.2.3
20133 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20134echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20135 no_gtk=""
20136 if test "$GTK_CONFIG" = "no" ; then
20137 no_gtk=yes
20138 else
20139 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20140 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20141 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20143 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20145 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20147 if test "x$enable_gtktest" = "xyes" ; then
20148 ac_save_CFLAGS="$CFLAGS"
20149 ac_save_LIBS="$LIBS"
20150 CFLAGS="$CFLAGS $GTK_CFLAGS"
20151 LIBS="$GTK_LIBS $LIBS"
20152 rm -f conf.gtktest
20153 if test "$cross_compiling" = yes; then
20154 echo $ac_n "cross compiling; assumed OK... $ac_c"
20155else
20156 cat >conftest.$ac_ext <<_ACEOF
20157#line $LINENO "configure"
20158/* confdefs.h. */
20159_ACEOF
20160cat confdefs.h >>conftest.$ac_ext
20161cat >>conftest.$ac_ext <<_ACEOF
20162/* end confdefs.h. */
20163
20164#include <gtk/gtk.h>
20165#include <stdio.h>
20166#include <stdlib.h>
20167
20168int
20169main ()
20170{
20171 int major, minor, micro;
20172 char *tmp_version;
20173
20174 system ("touch conf.gtktest");
20175
20176 /* HP/UX 9 (%@#!) writes to sscanf strings */
20177 tmp_version = g_strdup("$min_gtk_version");
20178 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20179 printf("%s, bad version string\n", "$min_gtk_version");
20180 exit(1);
20181 }
20182
20183 if ((gtk_major_version != $gtk_config_major_version) ||
20184 (gtk_minor_version != $gtk_config_minor_version) ||
20185 (gtk_micro_version != $gtk_config_micro_version))
20186 {
20187 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20188 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20189 gtk_major_version, gtk_minor_version, gtk_micro_version);
20190 printf ("*** was found! If gtk-config was correct, then it is best\n");
20191 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20192 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20193 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20194 printf("*** required on your system.\n");
20195 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20196 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20197 printf("*** before re-running configure\n");
20198 }
20199#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20200 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20201 (gtk_minor_version != GTK_MINOR_VERSION) ||
20202 (gtk_micro_version != GTK_MICRO_VERSION))
20203 {
20204 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20205 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20206 printf("*** library (version %d.%d.%d)\n",
20207 gtk_major_version, gtk_minor_version, gtk_micro_version);
20208 }
20209#endif /* defined (GTK_MAJOR_VERSION) ... */
20210 else
20211 {
20212 if ((gtk_major_version > major) ||
20213 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20214 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20215 {
20216 return 0;
20217 }
20218 else
20219 {
20220 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20221 gtk_major_version, gtk_minor_version, gtk_micro_version);
20222 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20223 major, minor, micro);
20224 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20225 printf("***\n");
20226 printf("*** If you have already installed a sufficiently new version, this error\n");
20227 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20228 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20229 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20230 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20231 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20232 printf("*** so that the correct libraries are found at run-time))\n");
20233 }
20234 }
20235 return 1;
20236}
20237
20238_ACEOF
20239rm -f conftest$ac_exeext
20240if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20241 (eval $ac_link) 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20247 ac_status=$?
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 :
20251else
20252 echo "$as_me: program exited with status $ac_status" >&5
20253echo "$as_me: failed program was:" >&5
20254sed 's/^/| /' conftest.$ac_ext >&5
20255
20256( exit $ac_status )
20257no_gtk=yes
20258fi
20259rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20260fi
20261 CFLAGS="$ac_save_CFLAGS"
20262 LIBS="$ac_save_LIBS"
20263 fi
20264 fi
20265 if test "x$no_gtk" = x ; then
20266 echo "$as_me:$LINENO: result: yes" >&5
20267echo "${ECHO_T}yes" >&6
20268 wx_cv_lib_gtk=1.2.3
20269 else
20270 echo "$as_me:$LINENO: result: no" >&5
20271echo "${ECHO_T}no" >&6
20272 if test "$GTK_CONFIG" = "no" ; then
20273 echo "*** The gtk-config script installed by GTK could not be found"
20274 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20275 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20276 echo "*** full path to gtk-config."
20277 else
20278 if test -f conf.gtktest ; then
20279 :
20280 else
20281 echo "*** Could not run GTK test program, checking why..."
20282 CFLAGS="$CFLAGS $GTK_CFLAGS"
20283 LIBS="$LIBS $GTK_LIBS"
20284 cat >conftest.$ac_ext <<_ACEOF
20285#line $LINENO "configure"
20286/* confdefs.h. */
20287_ACEOF
20288cat confdefs.h >>conftest.$ac_ext
20289cat >>conftest.$ac_ext <<_ACEOF
20290/* end confdefs.h. */
20291
20292#include <gtk/gtk.h>
20293#include <stdio.h>
20294
20295int
20296main ()
20297{
20298 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20299 ;
20300 return 0;
20301}
20302_ACEOF
20303rm -f conftest.$ac_objext conftest$ac_exeext
20304if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20305 (eval $ac_link) 2>&5
20306 ac_status=$?
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -s conftest$ac_exeext'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20312 ac_status=$?
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; }; then
20315 echo "*** The test program compiled, but did not run. This usually means"
20316 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20317 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20318 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20319 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20320 echo "*** is required on your system"
20321 echo "***"
20322 echo "*** If you have an old version installed, it is best to remove it, although"
20323 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20324 echo "***"
20325 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20326 echo "*** came with the system with the command"
20327 echo "***"
20328 echo "*** rpm --erase --nodeps gtk gtk-devel"
20329else
20330 echo "$as_me: failed program was:" >&5
20331sed 's/^/| /' conftest.$ac_ext >&5
20332
20333 echo "*** The test program failed to compile or link. See the file config.log for the"
20334 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20335 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20336 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20337fi
20338rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20339 CFLAGS="$ac_save_CFLAGS"
20340 LIBS="$ac_save_LIBS"
20341 fi
20342 fi
20343 GTK_CFLAGS=""
20344 GTK_LIBS=""
20345 :
20346 fi
20347
20348
20349 rm -f conf.gtktest
20350
20351 fi
20352 fi
20353
20354 if test -z "$wx_cv_lib_gtk"; then
20355 wx_cv_lib_gtk=none
20356 else
20357 wx_cv_cflags_gtk=$GTK_CFLAGS
20358 wx_cv_libs_gtk=$GTK_LIBS
20359 fi
20360
20361
20362fi
20363
20364
20365 if test "$gtk_version_cached" = 1; then
20366 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20367echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20368 fi
20369
20370 case "$wx_cv_lib_gtk" in
20371 2.0) WXGTK20=1
20372 TOOLKIT_VERSION=2
20373 ;;
20374 1.2.7) WXGTK127=1
20375 WXGTK12=1
20376 ;;
20377 1.2.3) WXGTK12=1
20378 ;;
20379 *) { { echo "$as_me:$LINENO: error:
20380Please check that gtk-config is in path, the directory
20381where GTK+ libraries are installed (returned by
20382'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20383equivalent variable and GTK+ is version 1.2.3 or above.
20384 " >&5
20385echo "$as_me: error:
20386Please check that gtk-config is in path, the directory
20387where GTK+ libraries are installed (returned by
20388'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20389equivalent variable and GTK+ is version 1.2.3 or above.
20390 " >&2;}
20391 { (exit 1); exit 1; }; }
20392 ;;
20393 esac
20394
20395 if test "$WXGTK20" = 1; then
20396 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20397
20398 succeeded=no
20399
20400 if test -z "$PKG_CONFIG"; then
20401 # Extract the first word of "pkg-config", so it can be a program name with args.
20402set dummy pkg-config; ac_word=$2
20403echo "$as_me:$LINENO: checking for $ac_word" >&5
20404echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20405if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20406 echo $ECHO_N "(cached) $ECHO_C" >&6
20407else
20408 case $PKG_CONFIG in
20409 [\\/]* | ?:[\\/]*)
20410 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20411 ;;
20412 *)
20413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20414for as_dir in $PATH
20415do
20416 IFS=$as_save_IFS
20417 test -z "$as_dir" && as_dir=.
20418 for ac_exec_ext in '' $ac_executable_extensions; do
20419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20420 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20422 break 2
20423 fi
20424done
20425done
20426
20427 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20428 ;;
20429esac
20430fi
20431PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20432
20433if test -n "$PKG_CONFIG"; then
20434 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20435echo "${ECHO_T}$PKG_CONFIG" >&6
20436else
20437 echo "$as_me:$LINENO: result: no" >&5
20438echo "${ECHO_T}no" >&6
20439fi
20440
20441 fi
20442
20443 if test "$PKG_CONFIG" = "no" ; then
20444 echo "*** The pkg-config script could not be found. Make sure it is"
20445 echo "*** in your path, or set the PKG_CONFIG environment variable"
20446 echo "*** to the full path to pkg-config."
20447 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20448 else
20449 PKG_CONFIG_MIN_VERSION=0.9.0
20450 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20451 echo "$as_me:$LINENO: checking for pangoft2" >&5
20452echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20453
20454 if $PKG_CONFIG --exists "pangoft2" ; then
20455 echo "$as_me:$LINENO: result: yes" >&5
20456echo "${ECHO_T}yes" >&6
20457 succeeded=yes
20458
20459 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20460echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20461 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20462 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20463echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20464
20465 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20466echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20467 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20468 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20469echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20470 else
20471 PANGOFT2_CFLAGS=""
20472 PANGOFT2_LIBS=""
20473 ## If we have a custom action on failure, don't print errors, but
20474 ## do set a variable so people can do so.
20475 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20476
20477 fi
20478
20479
20480
20481 else
20482 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20483 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20484 fi
20485 fi
20486
20487 if test $succeeded = yes; then
20488
20489 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20490 LIBS="$LIBS $PANGOFT2_LIBS"
20491
20492 else
20493
20494 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20495echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20496 wxUSE_PRINTING_ARCHITECTURE="no"
20497
20498
20499 fi
20500
20501 fi
20502 else
20503 if test "$wxUSE_UNICODE" = "yes"; then
20504 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20505echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20506 wxUSE_UNICODE=no
20507 fi
20508 fi
20509
20510 if test "$USE_DARWIN" != 1; then
20511
20512for ac_func in poll
20513do
20514as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20515echo "$as_me:$LINENO: checking for $ac_func" >&5
20516echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20517if eval "test \"\${$as_ac_var+set}\" = set"; then
20518 echo $ECHO_N "(cached) $ECHO_C" >&6
20519else
20520 cat >conftest.$ac_ext <<_ACEOF
20521#line $LINENO "configure"
20522/* confdefs.h. */
20523_ACEOF
20524cat confdefs.h >>conftest.$ac_ext
20525cat >>conftest.$ac_ext <<_ACEOF
20526/* end confdefs.h. */
20527/* System header to define __stub macros and hopefully few prototypes,
20528 which can conflict with char $ac_func (); below.
20529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20530 <limits.h> exists even on freestanding compilers. */
20531#ifdef __STDC__
20532# include <limits.h>
20533#else
20534# include <assert.h>
20535#endif
20536/* Override any gcc2 internal prototype to avoid an error. */
20537#ifdef __cplusplus
20538extern "C"
20539{
20540#endif
20541/* We use char because int might match the return type of a gcc2
20542 builtin and then its argument prototype would still apply. */
20543char $ac_func ();
20544/* The GNU C library defines this for functions which it implements
20545 to always fail with ENOSYS. Some functions are actually named
20546 something starting with __ and the normal name is an alias. */
20547#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20548choke me
20549#else
20550char (*f) () = $ac_func;
20551#endif
20552#ifdef __cplusplus
20553}
20554#endif
20555
20556int
20557main ()
20558{
20559return f != $ac_func;
20560 ;
20561 return 0;
20562}
20563_ACEOF
20564rm -f conftest.$ac_objext conftest$ac_exeext
20565if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20566 (eval $ac_link) 2>&5
20567 ac_status=$?
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); } &&
20570 { ac_try='test -s conftest$ac_exeext'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20573 ac_status=$?
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; }; then
20576 eval "$as_ac_var=yes"
20577else
20578 echo "$as_me: failed program was:" >&5
20579sed 's/^/| /' conftest.$ac_ext >&5
20580
20581eval "$as_ac_var=no"
20582fi
20583rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20584fi
20585echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20586echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20587if test `eval echo '${'$as_ac_var'}'` = yes; then
20588 cat >>confdefs.h <<_ACEOF
20589#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20590_ACEOF
20591
20592fi
20593done
20594
20595 fi
20596
20597 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20598 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
20599
20600 AFMINSTALL=afminstall
20601 TOOLKIT=GTK
20602 GUIDIST=GTK_DIST
20603
20604 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20605echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20606if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20607 echo $ECHO_N "(cached) $ECHO_C" >&6
20608else
20609 ac_check_lib_save_LIBS=$LIBS
20610LIBS="-lgdk $LIBS"
20611cat >conftest.$ac_ext <<_ACEOF
20612#line $LINENO "configure"
20613/* confdefs.h. */
20614_ACEOF
20615cat confdefs.h >>conftest.$ac_ext
20616cat >>conftest.$ac_ext <<_ACEOF
20617/* end confdefs.h. */
20618
20619/* Override any gcc2 internal prototype to avoid an error. */
20620#ifdef __cplusplus
20621extern "C"
20622#endif
20623/* We use char because int might match the return type of a gcc2
20624 builtin and then its argument prototype would still apply. */
20625char gdk_im_open ();
20626int
20627main ()
20628{
20629gdk_im_open ();
20630 ;
20631 return 0;
20632}
20633_ACEOF
20634rm -f conftest.$ac_objext conftest$ac_exeext
20635if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20636 (eval $ac_link) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } &&
20640 { ac_try='test -s conftest$ac_exeext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_cv_lib_gdk_gdk_im_open=yes
20647else
20648 echo "$as_me: failed program was:" >&5
20649sed 's/^/| /' conftest.$ac_ext >&5
20650
20651ac_cv_lib_gdk_gdk_im_open=no
20652fi
20653rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20654LIBS=$ac_check_lib_save_LIBS
20655fi
20656echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20657echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20658if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20659 cat >>confdefs.h <<\_ACEOF
20660#define HAVE_XIM 1
20661_ACEOF
20662
20663fi
20664
20665 fi
20666
20667 if test "$wxUSE_MGL" = 1; then
20668 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20669echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20670 if test "x$MGL_ROOT" = x ; then
20671 echo "$as_me:$LINENO: result: not found" >&5
20672echo "${ECHO_T}not found" >&6
20673 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20674echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20675 { (exit 1); exit 1; }; }
20676 else
20677 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20678echo "${ECHO_T}$MGL_ROOT" >&6
20679 fi
20680
20681 echo "$as_me:$LINENO: checking for libmgl location" >&5
20682echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20683 case "${host}" in
20684 *-*-linux* )
20685 if test "x$wxUSE_SHARED" = xyes ; then
20686 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20687 else
20688 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20689 fi
20690 ;;
20691 *-pc-msdosdjgpp )
20692 mgl_os_candidates="dos32/dj2"
20693 ;;
20694 *)
20695 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20696echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20697 { (exit 1); exit 1; }; }
20698 esac
20699
20700 mgl_lib_type=""
20701 mgl_os=""
20702
20703 for mgl_os_i in $mgl_os_candidates ; do
20704 if test "x$mgl_os" = x ; then
20705 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20706 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20707 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20708 mgl_lib_type=debug
20709 mgl_os=$mgl_os_i
20710 fi
20711 fi
20712 if test "x$mgl_lib_type" = x ; then
20713 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20714 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20715 mgl_lib_type=release
20716 mgl_os=$mgl_os_i
20717 fi
20718 fi
20719 fi
20720 done
20721
20722 if test "x$mgl_os" = x ; then
20723 echo "$as_me:$LINENO: result: not found" >&5
20724echo "${ECHO_T}not found" >&6
20725 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20726echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20727 { (exit 1); exit 1; }; }
20728 fi
20729 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20730echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20731
20732 wxUSE_UNIVERSAL="yes"
20733
20734 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20735 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20736
20737 AFMINSTALL=afminstall
20738 TOOLKIT=MGL
20739 GUIDIST=MGL_DIST
20740 fi
20741
20742 if test "$wxUSE_MICROWIN" = 1; then
20743 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20744echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20745 if test "x$MICROWINDOWS" = x ; then
20746 echo "$as_me:$LINENO: result: not found" >&5
20747echo "${ECHO_T}not found" >&6
20748 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20749echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20750 { (exit 1); exit 1; }; }
20751 else
20752 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20753echo "${ECHO_T}$MICROWINDOWS" >&6
20754 fi
20755
20756 if test -f $MICROWINDOWS/lib/libmwin.a; then
20757 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20758echo "${ECHO_T}MicroWindows' libraries found." >&6
20759 else
20760 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20761echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20762 { (exit 1); exit 1; }; }
20763 fi
20764
20765 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20766 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20767
20768 wxUSE_UNIVERSAL="yes"
20769
20770 AFMINSTALL=afminstall
20771 TOOLKIT=MICROWIN
20772 GUIDIST=MICROWIN_DIST
20773
20774 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20775 fi
20776
20777 if test "$wxUSE_X11" = 1; then
20778 echo "$as_me:$LINENO: checking for X" >&5
20779echo $ECHO_N "checking for X... $ECHO_C" >&6
20780
20781
20782# Check whether --with-x or --without-x was given.
20783if test "${with_x+set}" = set; then
20784 withval="$with_x"
20785
20786fi;
20787# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20788if test "x$with_x" = xno; then
20789 # The user explicitly disabled X.
20790 have_x=disabled
20791else
20792 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20793 # Both variables are already set.
20794 have_x=yes
20795 else
20796 if test "${ac_cv_have_x+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20798else
20799 # One or both of the vars are not set, and there is no cached value.
20800ac_x_includes=no ac_x_libraries=no
20801rm -fr conftest.dir
20802if mkdir conftest.dir; then
20803 cd conftest.dir
20804 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20805 cat >Imakefile <<'_ACEOF'
20806acfindx:
20807 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20808_ACEOF
20809 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20810 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20811 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20812 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20813 for ac_extension in a so sl; do
20814 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20815 test -f $ac_im_libdir/libX11.$ac_extension; then
20816 ac_im_usrlibdir=$ac_im_libdir; break
20817 fi
20818 done
20819 # Screen out bogus values from the imake configuration. They are
20820 # bogus both because they are the default anyway, and because
20821 # using them would break gcc on systems where it needs fixed includes.
20822 case $ac_im_incroot in
20823 /usr/include) ;;
20824 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20825 esac
20826 case $ac_im_usrlibdir in
20827 /usr/lib | /lib) ;;
20828 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20829 esac
20830 fi
20831 cd ..
20832 rm -fr conftest.dir
20833fi
20834
20835# Standard set of common directories for X headers.
20836# Check X11 before X11Rn because it is often a symlink to the current release.
20837ac_x_header_dirs='
20838/usr/X11/include
20839/usr/X11R6/include
20840/usr/X11R5/include
20841/usr/X11R4/include
20842
20843/usr/include/X11
20844/usr/include/X11R6
20845/usr/include/X11R5
20846/usr/include/X11R4
20847
20848/usr/local/X11/include
20849/usr/local/X11R6/include
20850/usr/local/X11R5/include
20851/usr/local/X11R4/include
20852
20853/usr/local/include/X11
20854/usr/local/include/X11R6
20855/usr/local/include/X11R5
20856/usr/local/include/X11R4
20857
20858/usr/X386/include
20859/usr/x386/include
20860/usr/XFree86/include/X11
20861
20862/usr/include
20863/usr/local/include
20864/usr/unsupported/include
20865/usr/athena/include
20866/usr/local/x11r5/include
20867/usr/lpp/Xamples/include
20868
20869/usr/openwin/include
20870/usr/openwin/share/include'
20871
20872if test "$ac_x_includes" = no; then
20873 # Guess where to find include files, by looking for Intrinsic.h.
20874 # First, try using that file with no special directory specified.
20875 cat >conftest.$ac_ext <<_ACEOF
20876#line $LINENO "configure"
20877/* confdefs.h. */
20878_ACEOF
20879cat confdefs.h >>conftest.$ac_ext
20880cat >>conftest.$ac_ext <<_ACEOF
20881/* end confdefs.h. */
20882#include <X11/Intrinsic.h>
20883_ACEOF
20884if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20886 ac_status=$?
20887 grep -v '^ *+' conftest.er1 >conftest.err
20888 rm -f conftest.er1
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } >/dev/null; then
20892 if test -s conftest.err; then
20893 ac_cpp_err=$ac_c_preproc_warn_flag
20894 else
20895 ac_cpp_err=
20896 fi
20897else
20898 ac_cpp_err=yes
20899fi
20900if test -z "$ac_cpp_err"; then
20901 # We can compile using X headers with no special include directory.
20902ac_x_includes=
20903else
20904 echo "$as_me: failed program was:" >&5
20905sed 's/^/| /' conftest.$ac_ext >&5
20906
20907 for ac_dir in $ac_x_header_dirs; do
20908 if test -r "$ac_dir/X11/Intrinsic.h"; then
20909 ac_x_includes=$ac_dir
20910 break
20911 fi
20912done
20913fi
20914rm -f conftest.err conftest.$ac_ext
20915fi # $ac_x_includes = no
20916
20917if test "$ac_x_libraries" = no; then
20918 # Check for the libraries.
20919 # See if we find them without any special options.
20920 # Don't add to $LIBS permanently.
20921 ac_save_LIBS=$LIBS
20922 LIBS="-lXt $LIBS"
20923 cat >conftest.$ac_ext <<_ACEOF
20924#line $LINENO "configure"
20925/* confdefs.h. */
20926_ACEOF
20927cat confdefs.h >>conftest.$ac_ext
20928cat >>conftest.$ac_ext <<_ACEOF
20929/* end confdefs.h. */
20930#include <X11/Intrinsic.h>
20931int
20932main ()
20933{
20934XtMalloc (0)
20935 ;
20936 return 0;
20937}
20938_ACEOF
20939rm -f conftest.$ac_objext conftest$ac_exeext
20940if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20941 (eval $ac_link) 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try='test -s conftest$ac_exeext'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20948 ac_status=$?
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; }; then
20951 LIBS=$ac_save_LIBS
20952# We can link X programs with no special library path.
20953ac_x_libraries=
20954else
20955 echo "$as_me: failed program was:" >&5
20956sed 's/^/| /' conftest.$ac_ext >&5
20957
20958LIBS=$ac_save_LIBS
20959for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20960do
20961 # Don't even attempt the hair of trying to link an X program!
20962 for ac_extension in a so sl; do
20963 if test -r $ac_dir/libXt.$ac_extension; then
20964 ac_x_libraries=$ac_dir
20965 break 2
20966 fi
20967 done
20968done
20969fi
20970rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20971fi # $ac_x_libraries = no
20972
20973if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20974 # Didn't find X anywhere. Cache the known absence of X.
20975 ac_cv_have_x="have_x=no"
20976else
20977 # Record where we found X for the cache.
20978 ac_cv_have_x="have_x=yes \
20979 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20980fi
20981fi
20982
20983 fi
20984 eval "$ac_cv_have_x"
20985fi # $with_x != no
20986
20987if test "$have_x" != yes; then
20988 echo "$as_me:$LINENO: result: $have_x" >&5
20989echo "${ECHO_T}$have_x" >&6
20990 no_x=yes
20991else
20992 # If each of the values was on the command line, it overrides each guess.
20993 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20994 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20995 # Update the cache value to reflect the command line values.
20996 ac_cv_have_x="have_x=yes \
20997 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20998 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20999echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21000fi
21001
21002if test "$no_x" = yes; then
21003 # Not all programs may use this symbol, but it does not hurt to define it.
21004
21005cat >>confdefs.h <<\_ACEOF
21006#define X_DISPLAY_MISSING 1
21007_ACEOF
21008
21009 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21010else
21011 if test -n "$x_includes"; then
21012 X_CFLAGS="$X_CFLAGS -I$x_includes"
21013 fi
21014
21015 # It would also be nice to do this for all -L options, not just this one.
21016 if test -n "$x_libraries"; then
21017 X_LIBS="$X_LIBS -L$x_libraries"
21018 # For Solaris; some versions of Sun CC require a space after -R and
21019 # others require no space. Words are not sufficient . . . .
21020 case `(uname -sr) 2>/dev/null` in
21021 "SunOS 5"*)
21022 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21023echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21024 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21025 cat >conftest.$ac_ext <<_ACEOF
21026#line $LINENO "configure"
21027/* confdefs.h. */
21028_ACEOF
21029cat confdefs.h >>conftest.$ac_ext
21030cat >>conftest.$ac_ext <<_ACEOF
21031/* end confdefs.h. */
21032
21033int
21034main ()
21035{
21036
21037 ;
21038 return 0;
21039}
21040_ACEOF
21041rm -f conftest.$ac_objext conftest$ac_exeext
21042if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21043 (eval $ac_link) 2>&5
21044 ac_status=$?
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); } &&
21047 { ac_try='test -s conftest$ac_exeext'
21048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049 (eval $ac_try) 2>&5
21050 ac_status=$?
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; }; then
21053 ac_R_nospace=yes
21054else
21055 echo "$as_me: failed program was:" >&5
21056sed 's/^/| /' conftest.$ac_ext >&5
21057
21058ac_R_nospace=no
21059fi
21060rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21061 if test $ac_R_nospace = yes; then
21062 echo "$as_me:$LINENO: result: no" >&5
21063echo "${ECHO_T}no" >&6
21064 X_LIBS="$X_LIBS -R$x_libraries"
21065 else
21066 LIBS="$ac_xsave_LIBS -R $x_libraries"
21067 cat >conftest.$ac_ext <<_ACEOF
21068#line $LINENO "configure"
21069/* confdefs.h. */
21070_ACEOF
21071cat confdefs.h >>conftest.$ac_ext
21072cat >>conftest.$ac_ext <<_ACEOF
21073/* end confdefs.h. */
21074
21075int
21076main ()
21077{
21078
21079 ;
21080 return 0;
21081}
21082_ACEOF
21083rm -f conftest.$ac_objext conftest$ac_exeext
21084if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21085 (eval $ac_link) 2>&5
21086 ac_status=$?
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } &&
21089 { ac_try='test -s conftest$ac_exeext'
21090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21091 (eval $ac_try) 2>&5
21092 ac_status=$?
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); }; }; then
21095 ac_R_space=yes
21096else
21097 echo "$as_me: failed program was:" >&5
21098sed 's/^/| /' conftest.$ac_ext >&5
21099
21100ac_R_space=no
21101fi
21102rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21103 if test $ac_R_space = yes; then
21104 echo "$as_me:$LINENO: result: yes" >&5
21105echo "${ECHO_T}yes" >&6
21106 X_LIBS="$X_LIBS -R $x_libraries"
21107 else
21108 echo "$as_me:$LINENO: result: neither works" >&5
21109echo "${ECHO_T}neither works" >&6
21110 fi
21111 fi
21112 LIBS=$ac_xsave_LIBS
21113 esac
21114 fi
21115
21116 # Check for system-dependent libraries X programs must link with.
21117 # Do this before checking for the system-independent R6 libraries
21118 # (-lICE), since we may need -lsocket or whatever for X linking.
21119
21120 if test "$ISC" = yes; then
21121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21122 else
21123 # Martyn Johnson says this is needed for Ultrix, if the X
21124 # libraries were built with DECnet support. And Karl Berry says
21125 # the Alpha needs dnet_stub (dnet does not exist).
21126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21127 cat >conftest.$ac_ext <<_ACEOF
21128#line $LINENO "configure"
21129/* confdefs.h. */
21130_ACEOF
21131cat confdefs.h >>conftest.$ac_ext
21132cat >>conftest.$ac_ext <<_ACEOF
21133/* end confdefs.h. */
21134
21135/* Override any gcc2 internal prototype to avoid an error. */
21136#ifdef __cplusplus
21137extern "C"
21138#endif
21139/* We use char because int might match the return type of a gcc2
21140 builtin and then its argument prototype would still apply. */
21141char XOpenDisplay ();
21142int
21143main ()
21144{
21145XOpenDisplay ();
21146 ;
21147 return 0;
21148}
21149_ACEOF
21150rm -f conftest.$ac_objext conftest$ac_exeext
21151if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21152 (eval $ac_link) 2>&5
21153 ac_status=$?
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); } &&
21156 { ac_try='test -s conftest$ac_exeext'
21157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21158 (eval $ac_try) 2>&5
21159 ac_status=$?
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); }; }; then
21162 :
21163else
21164 echo "$as_me: failed program was:" >&5
21165sed 's/^/| /' conftest.$ac_ext >&5
21166
21167echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21168echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21169if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21171else
21172 ac_check_lib_save_LIBS=$LIBS
21173LIBS="-ldnet $LIBS"
21174cat >conftest.$ac_ext <<_ACEOF
21175#line $LINENO "configure"
21176/* confdefs.h. */
21177_ACEOF
21178cat confdefs.h >>conftest.$ac_ext
21179cat >>conftest.$ac_ext <<_ACEOF
21180/* end confdefs.h. */
21181
21182/* Override any gcc2 internal prototype to avoid an error. */
21183#ifdef __cplusplus
21184extern "C"
21185#endif
21186/* We use char because int might match the return type of a gcc2
21187 builtin and then its argument prototype would still apply. */
21188char dnet_ntoa ();
21189int
21190main ()
21191{
21192dnet_ntoa ();
21193 ;
21194 return 0;
21195}
21196_ACEOF
21197rm -f conftest.$ac_objext conftest$ac_exeext
21198if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21199 (eval $ac_link) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try='test -s conftest$ac_exeext'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21206 ac_status=$?
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21209 ac_cv_lib_dnet_dnet_ntoa=yes
21210else
21211 echo "$as_me: failed program was:" >&5
21212sed 's/^/| /' conftest.$ac_ext >&5
21213
21214ac_cv_lib_dnet_dnet_ntoa=no
21215fi
21216rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21217LIBS=$ac_check_lib_save_LIBS
21218fi
21219echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21220echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21221if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21222 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21223fi
21224
21225 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21226 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21227echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21228if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21229 echo $ECHO_N "(cached) $ECHO_C" >&6
21230else
21231 ac_check_lib_save_LIBS=$LIBS
21232LIBS="-ldnet_stub $LIBS"
21233cat >conftest.$ac_ext <<_ACEOF
21234#line $LINENO "configure"
21235/* confdefs.h. */
21236_ACEOF
21237cat confdefs.h >>conftest.$ac_ext
21238cat >>conftest.$ac_ext <<_ACEOF
21239/* end confdefs.h. */
21240
21241/* Override any gcc2 internal prototype to avoid an error. */
21242#ifdef __cplusplus
21243extern "C"
21244#endif
21245/* We use char because int might match the return type of a gcc2
21246 builtin and then its argument prototype would still apply. */
21247char dnet_ntoa ();
21248int
21249main ()
21250{
21251dnet_ntoa ();
21252 ;
21253 return 0;
21254}
21255_ACEOF
21256rm -f conftest.$ac_objext conftest$ac_exeext
21257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); } &&
21262 { ac_try='test -s conftest$ac_exeext'
21263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21265 ac_status=$?
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21269else
21270 echo "$as_me: failed program was:" >&5
21271sed 's/^/| /' conftest.$ac_ext >&5
21272
21273ac_cv_lib_dnet_stub_dnet_ntoa=no
21274fi
21275rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21276LIBS=$ac_check_lib_save_LIBS
21277fi
21278echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21279echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21280if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21281 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21282fi
21283
21284 fi
21285fi
21286rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21287 LIBS="$ac_xsave_LIBS"
21288
21289 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21290 # to get the SysV transport functions.
21291 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21292 # needs -lnsl.
21293 # The nsl library prevents programs from opening the X display
21294 # on Irix 5.2, according to T.E. Dickey.
21295 # The functions gethostbyname, getservbyname, and inet_addr are
21296 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21297 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21298echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21299if test "${ac_cv_func_gethostbyname+set}" = set; then
21300 echo $ECHO_N "(cached) $ECHO_C" >&6
21301else
21302 cat >conftest.$ac_ext <<_ACEOF
21303#line $LINENO "configure"
21304/* confdefs.h. */
21305_ACEOF
21306cat confdefs.h >>conftest.$ac_ext
21307cat >>conftest.$ac_ext <<_ACEOF
21308/* end confdefs.h. */
21309/* System header to define __stub macros and hopefully few prototypes,
21310 which can conflict with char gethostbyname (); below.
21311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21312 <limits.h> exists even on freestanding compilers. */
21313#ifdef __STDC__
21314# include <limits.h>
21315#else
21316# include <assert.h>
21317#endif
21318/* Override any gcc2 internal prototype to avoid an error. */
21319#ifdef __cplusplus
21320extern "C"
21321{
21322#endif
21323/* We use char because int might match the return type of a gcc2
21324 builtin and then its argument prototype would still apply. */
21325char gethostbyname ();
21326/* The GNU C library defines this for functions which it implements
21327 to always fail with ENOSYS. Some functions are actually named
21328 something starting with __ and the normal name is an alias. */
21329#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21330choke me
21331#else
21332char (*f) () = gethostbyname;
21333#endif
21334#ifdef __cplusplus
21335}
21336#endif
21337
21338int
21339main ()
21340{
21341return f != gethostbyname;
21342 ;
21343 return 0;
21344}
21345_ACEOF
21346rm -f conftest.$ac_objext conftest$ac_exeext
21347if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21348 (eval $ac_link) 2>&5
21349 ac_status=$?
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); } &&
21352 { ac_try='test -s conftest$ac_exeext'
21353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354 (eval $ac_try) 2>&5
21355 ac_status=$?
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; }; then
21358 ac_cv_func_gethostbyname=yes
21359else
21360 echo "$as_me: failed program was:" >&5
21361sed 's/^/| /' conftest.$ac_ext >&5
21362
21363ac_cv_func_gethostbyname=no
21364fi
21365rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21366fi
21367echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21368echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21369
21370 if test $ac_cv_func_gethostbyname = no; then
21371 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21372echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21373if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21374 echo $ECHO_N "(cached) $ECHO_C" >&6
21375else
21376 ac_check_lib_save_LIBS=$LIBS
21377LIBS="-lnsl $LIBS"
21378cat >conftest.$ac_ext <<_ACEOF
21379#line $LINENO "configure"
21380/* confdefs.h. */
21381_ACEOF
21382cat confdefs.h >>conftest.$ac_ext
21383cat >>conftest.$ac_ext <<_ACEOF
21384/* end confdefs.h. */
21385
21386/* Override any gcc2 internal prototype to avoid an error. */
21387#ifdef __cplusplus
21388extern "C"
21389#endif
21390/* We use char because int might match the return type of a gcc2
21391 builtin and then its argument prototype would still apply. */
21392char gethostbyname ();
21393int
21394main ()
21395{
21396gethostbyname ();
21397 ;
21398 return 0;
21399}
21400_ACEOF
21401rm -f conftest.$ac_objext conftest$ac_exeext
21402if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21403 (eval $ac_link) 2>&5
21404 ac_status=$?
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } &&
21407 { ac_try='test -s conftest$ac_exeext'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21410 ac_status=$?
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; }; then
21413 ac_cv_lib_nsl_gethostbyname=yes
21414else
21415 echo "$as_me: failed program was:" >&5
21416sed 's/^/| /' conftest.$ac_ext >&5
21417
21418ac_cv_lib_nsl_gethostbyname=no
21419fi
21420rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21421LIBS=$ac_check_lib_save_LIBS
21422fi
21423echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21424echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21425if test $ac_cv_lib_nsl_gethostbyname = yes; then
21426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21427fi
21428
21429 if test $ac_cv_lib_nsl_gethostbyname = no; then
21430 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21431echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21432if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21433 echo $ECHO_N "(cached) $ECHO_C" >&6
21434else
21435 ac_check_lib_save_LIBS=$LIBS
21436LIBS="-lbsd $LIBS"
21437cat >conftest.$ac_ext <<_ACEOF
21438#line $LINENO "configure"
21439/* confdefs.h. */
21440_ACEOF
21441cat confdefs.h >>conftest.$ac_ext
21442cat >>conftest.$ac_ext <<_ACEOF
21443/* end confdefs.h. */
21444
21445/* Override any gcc2 internal prototype to avoid an error. */
21446#ifdef __cplusplus
21447extern "C"
21448#endif
21449/* We use char because int might match the return type of a gcc2
21450 builtin and then its argument prototype would still apply. */
21451char gethostbyname ();
21452int
21453main ()
21454{
21455gethostbyname ();
21456 ;
21457 return 0;
21458}
21459_ACEOF
21460rm -f conftest.$ac_objext conftest$ac_exeext
21461if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21462 (eval $ac_link) 2>&5
21463 ac_status=$?
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } &&
21466 { ac_try='test -s conftest$ac_exeext'
21467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21468 (eval $ac_try) 2>&5
21469 ac_status=$?
21470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); }; }; then
21472 ac_cv_lib_bsd_gethostbyname=yes
21473else
21474 echo "$as_me: failed program was:" >&5
21475sed 's/^/| /' conftest.$ac_ext >&5
21476
21477ac_cv_lib_bsd_gethostbyname=no
21478fi
21479rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21480LIBS=$ac_check_lib_save_LIBS
21481fi
21482echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21483echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21484if test $ac_cv_lib_bsd_gethostbyname = yes; then
21485 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21486fi
21487
21488 fi
21489 fi
21490
21491 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21492 # socket/setsockopt and other routines are undefined under SCO ODT
21493 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21494 # on later versions), says Simon Leinen: it contains gethostby*
21495 # variants that don't use the name server (or something). -lsocket
21496 # must be given before -lnsl if both are needed. We assume that
21497 # if connect needs -lnsl, so does gethostbyname.
21498 echo "$as_me:$LINENO: checking for connect" >&5
21499echo $ECHO_N "checking for connect... $ECHO_C" >&6
21500if test "${ac_cv_func_connect+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21502else
21503 cat >conftest.$ac_ext <<_ACEOF
21504#line $LINENO "configure"
21505/* confdefs.h. */
21506_ACEOF
21507cat confdefs.h >>conftest.$ac_ext
21508cat >>conftest.$ac_ext <<_ACEOF
21509/* end confdefs.h. */
21510/* System header to define __stub macros and hopefully few prototypes,
21511 which can conflict with char connect (); below.
21512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21513 <limits.h> exists even on freestanding compilers. */
21514#ifdef __STDC__
21515# include <limits.h>
21516#else
21517# include <assert.h>
21518#endif
21519/* Override any gcc2 internal prototype to avoid an error. */
21520#ifdef __cplusplus
21521extern "C"
21522{
21523#endif
21524/* We use char because int might match the return type of a gcc2
21525 builtin and then its argument prototype would still apply. */
21526char connect ();
21527/* The GNU C library defines this for functions which it implements
21528 to always fail with ENOSYS. Some functions are actually named
21529 something starting with __ and the normal name is an alias. */
21530#if defined (__stub_connect) || defined (__stub___connect)
21531choke me
21532#else
21533char (*f) () = connect;
21534#endif
21535#ifdef __cplusplus
21536}
21537#endif
21538
21539int
21540main ()
21541{
21542return f != connect;
21543 ;
21544 return 0;
21545}
21546_ACEOF
21547rm -f conftest.$ac_objext conftest$ac_exeext
21548if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21549 (eval $ac_link) 2>&5
21550 ac_status=$?
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try='test -s conftest$ac_exeext'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21556 ac_status=$?
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; }; then
21559 ac_cv_func_connect=yes
21560else
21561 echo "$as_me: failed program was:" >&5
21562sed 's/^/| /' conftest.$ac_ext >&5
21563
21564ac_cv_func_connect=no
21565fi
21566rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21567fi
21568echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21569echo "${ECHO_T}$ac_cv_func_connect" >&6
21570
21571 if test $ac_cv_func_connect = no; then
21572 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21573echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21574if test "${ac_cv_lib_socket_connect+set}" = set; then
21575 echo $ECHO_N "(cached) $ECHO_C" >&6
21576else
21577 ac_check_lib_save_LIBS=$LIBS
21578LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21579cat >conftest.$ac_ext <<_ACEOF
21580#line $LINENO "configure"
21581/* confdefs.h. */
21582_ACEOF
21583cat confdefs.h >>conftest.$ac_ext
21584cat >>conftest.$ac_ext <<_ACEOF
21585/* end confdefs.h. */
21586
21587/* Override any gcc2 internal prototype to avoid an error. */
21588#ifdef __cplusplus
21589extern "C"
21590#endif
21591/* We use char because int might match the return type of a gcc2
21592 builtin and then its argument prototype would still apply. */
21593char connect ();
21594int
21595main ()
21596{
21597connect ();
21598 ;
21599 return 0;
21600}
21601_ACEOF
21602rm -f conftest.$ac_objext conftest$ac_exeext
21603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21604 (eval $ac_link) 2>&5
21605 ac_status=$?
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } &&
21608 { ac_try='test -s conftest$ac_exeext'
21609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21610 (eval $ac_try) 2>&5
21611 ac_status=$?
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; }; then
21614 ac_cv_lib_socket_connect=yes
21615else
21616 echo "$as_me: failed program was:" >&5
21617sed 's/^/| /' conftest.$ac_ext >&5
21618
21619ac_cv_lib_socket_connect=no
21620fi
21621rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21622LIBS=$ac_check_lib_save_LIBS
21623fi
21624echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21625echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21626if test $ac_cv_lib_socket_connect = yes; then
21627 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21628fi
21629
21630 fi
21631
21632 # Guillermo Gomez says -lposix is necessary on A/UX.
21633 echo "$as_me:$LINENO: checking for remove" >&5
21634echo $ECHO_N "checking for remove... $ECHO_C" >&6
21635if test "${ac_cv_func_remove+set}" = set; then
21636 echo $ECHO_N "(cached) $ECHO_C" >&6
21637else
21638 cat >conftest.$ac_ext <<_ACEOF
21639#line $LINENO "configure"
21640/* confdefs.h. */
21641_ACEOF
21642cat confdefs.h >>conftest.$ac_ext
21643cat >>conftest.$ac_ext <<_ACEOF
21644/* end confdefs.h. */
21645/* System header to define __stub macros and hopefully few prototypes,
21646 which can conflict with char remove (); below.
21647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21648 <limits.h> exists even on freestanding compilers. */
21649#ifdef __STDC__
21650# include <limits.h>
21651#else
21652# include <assert.h>
21653#endif
21654/* Override any gcc2 internal prototype to avoid an error. */
21655#ifdef __cplusplus
21656extern "C"
21657{
21658#endif
21659/* We use char because int might match the return type of a gcc2
21660 builtin and then its argument prototype would still apply. */
21661char remove ();
21662/* The GNU C library defines this for functions which it implements
21663 to always fail with ENOSYS. Some functions are actually named
21664 something starting with __ and the normal name is an alias. */
21665#if defined (__stub_remove) || defined (__stub___remove)
21666choke me
21667#else
21668char (*f) () = remove;
21669#endif
21670#ifdef __cplusplus
21671}
21672#endif
21673
21674int
21675main ()
21676{
21677return f != remove;
21678 ;
21679 return 0;
21680}
21681_ACEOF
21682rm -f conftest.$ac_objext conftest$ac_exeext
21683if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21684 (eval $ac_link) 2>&5
21685 ac_status=$?
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } &&
21688 { ac_try='test -s conftest$ac_exeext'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; }; then
21694 ac_cv_func_remove=yes
21695else
21696 echo "$as_me: failed program was:" >&5
21697sed 's/^/| /' conftest.$ac_ext >&5
21698
21699ac_cv_func_remove=no
21700fi
21701rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21702fi
21703echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21704echo "${ECHO_T}$ac_cv_func_remove" >&6
21705
21706 if test $ac_cv_func_remove = no; then
21707 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21708echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21709if test "${ac_cv_lib_posix_remove+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21711else
21712 ac_check_lib_save_LIBS=$LIBS
21713LIBS="-lposix $LIBS"
21714cat >conftest.$ac_ext <<_ACEOF
21715#line $LINENO "configure"
21716/* confdefs.h. */
21717_ACEOF
21718cat confdefs.h >>conftest.$ac_ext
21719cat >>conftest.$ac_ext <<_ACEOF
21720/* end confdefs.h. */
21721
21722/* Override any gcc2 internal prototype to avoid an error. */
21723#ifdef __cplusplus
21724extern "C"
21725#endif
21726/* We use char because int might match the return type of a gcc2
21727 builtin and then its argument prototype would still apply. */
21728char remove ();
21729int
21730main ()
21731{
21732remove ();
21733 ;
21734 return 0;
21735}
21736_ACEOF
21737rm -f conftest.$ac_objext conftest$ac_exeext
21738if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21739 (eval $ac_link) 2>&5
21740 ac_status=$?
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try='test -s conftest$ac_exeext'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 ac_cv_lib_posix_remove=yes
21750else
21751 echo "$as_me: failed program was:" >&5
21752sed 's/^/| /' conftest.$ac_ext >&5
21753
21754ac_cv_lib_posix_remove=no
21755fi
21756rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21757LIBS=$ac_check_lib_save_LIBS
21758fi
21759echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21760echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21761if test $ac_cv_lib_posix_remove = yes; then
21762 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21763fi
21764
21765 fi
21766
21767 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21768 echo "$as_me:$LINENO: checking for shmat" >&5
21769echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21770if test "${ac_cv_func_shmat+set}" = set; then
21771 echo $ECHO_N "(cached) $ECHO_C" >&6
21772else
21773 cat >conftest.$ac_ext <<_ACEOF
21774#line $LINENO "configure"
21775/* confdefs.h. */
21776_ACEOF
21777cat confdefs.h >>conftest.$ac_ext
21778cat >>conftest.$ac_ext <<_ACEOF
21779/* end confdefs.h. */
21780/* System header to define __stub macros and hopefully few prototypes,
21781 which can conflict with char shmat (); below.
21782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21783 <limits.h> exists even on freestanding compilers. */
21784#ifdef __STDC__
21785# include <limits.h>
21786#else
21787# include <assert.h>
21788#endif
21789/* Override any gcc2 internal prototype to avoid an error. */
21790#ifdef __cplusplus
21791extern "C"
21792{
21793#endif
21794/* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21796char shmat ();
21797/* The GNU C library defines this for functions which it implements
21798 to always fail with ENOSYS. Some functions are actually named
21799 something starting with __ and the normal name is an alias. */
21800#if defined (__stub_shmat) || defined (__stub___shmat)
21801choke me
21802#else
21803char (*f) () = shmat;
21804#endif
21805#ifdef __cplusplus
21806}
21807#endif
21808
21809int
21810main ()
21811{
21812return f != shmat;
21813 ;
21814 return 0;
21815}
21816_ACEOF
21817rm -f conftest.$ac_objext conftest$ac_exeext
21818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21819 (eval $ac_link) 2>&5
21820 ac_status=$?
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try='test -s conftest$ac_exeext'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; }; then
21829 ac_cv_func_shmat=yes
21830else
21831 echo "$as_me: failed program was:" >&5
21832sed 's/^/| /' conftest.$ac_ext >&5
21833
21834ac_cv_func_shmat=no
21835fi
21836rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21837fi
21838echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21839echo "${ECHO_T}$ac_cv_func_shmat" >&6
21840
21841 if test $ac_cv_func_shmat = no; then
21842 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21843echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21844if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21845 echo $ECHO_N "(cached) $ECHO_C" >&6
21846else
21847 ac_check_lib_save_LIBS=$LIBS
21848LIBS="-lipc $LIBS"
21849cat >conftest.$ac_ext <<_ACEOF
21850#line $LINENO "configure"
21851/* confdefs.h. */
21852_ACEOF
21853cat confdefs.h >>conftest.$ac_ext
21854cat >>conftest.$ac_ext <<_ACEOF
21855/* end confdefs.h. */
21856
21857/* Override any gcc2 internal prototype to avoid an error. */
21858#ifdef __cplusplus
21859extern "C"
21860#endif
21861/* We use char because int might match the return type of a gcc2
21862 builtin and then its argument prototype would still apply. */
21863char shmat ();
21864int
21865main ()
21866{
21867shmat ();
21868 ;
21869 return 0;
21870}
21871_ACEOF
21872rm -f conftest.$ac_objext conftest$ac_exeext
21873if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21874 (eval $ac_link) 2>&5
21875 ac_status=$?
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try='test -s conftest$ac_exeext'
21879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21880 (eval $ac_try) 2>&5
21881 ac_status=$?
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; }; then
21884 ac_cv_lib_ipc_shmat=yes
21885else
21886 echo "$as_me: failed program was:" >&5
21887sed 's/^/| /' conftest.$ac_ext >&5
21888
21889ac_cv_lib_ipc_shmat=no
21890fi
21891rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21892LIBS=$ac_check_lib_save_LIBS
21893fi
21894echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21895echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21896if test $ac_cv_lib_ipc_shmat = yes; then
21897 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21898fi
21899
21900 fi
21901 fi
21902
21903 # Check for libraries that X11R6 Xt/Xaw programs need.
21904 ac_save_LDFLAGS=$LDFLAGS
21905 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21906 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21907 # check for ICE first), but we must link in the order -lSM -lICE or
21908 # we get undefined symbols. So assume we have SM if we have ICE.
21909 # These have to be linked with before -lX11, unlike the other
21910 # libraries we check for below, so use a different variable.
21911 # John Interrante, Karl Berry
21912 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21913echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21914if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6
21916else
21917 ac_check_lib_save_LIBS=$LIBS
21918LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21919cat >conftest.$ac_ext <<_ACEOF
21920#line $LINENO "configure"
21921/* confdefs.h. */
21922_ACEOF
21923cat confdefs.h >>conftest.$ac_ext
21924cat >>conftest.$ac_ext <<_ACEOF
21925/* end confdefs.h. */
21926
21927/* Override any gcc2 internal prototype to avoid an error. */
21928#ifdef __cplusplus
21929extern "C"
21930#endif
21931/* We use char because int might match the return type of a gcc2
21932 builtin and then its argument prototype would still apply. */
21933char IceConnectionNumber ();
21934int
21935main ()
21936{
21937IceConnectionNumber ();
21938 ;
21939 return 0;
21940}
21941_ACEOF
21942rm -f conftest.$ac_objext conftest$ac_exeext
21943if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21944 (eval $ac_link) 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } &&
21948 { ac_try='test -s conftest$ac_exeext'
21949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21950 (eval $ac_try) 2>&5
21951 ac_status=$?
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); }; }; then
21954 ac_cv_lib_ICE_IceConnectionNumber=yes
21955else
21956 echo "$as_me: failed program was:" >&5
21957sed 's/^/| /' conftest.$ac_ext >&5
21958
21959ac_cv_lib_ICE_IceConnectionNumber=no
21960fi
21961rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21962LIBS=$ac_check_lib_save_LIBS
21963fi
21964echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21965echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21966if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21967 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21968fi
21969
21970 LDFLAGS=$ac_save_LDFLAGS
21971
21972fi
21973
21974
21975 if test "$no_x" = "yes"; then
21976 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21977echo "$as_me: error: X11 not found" >&2;}
21978 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
21979 fi
21980
21981 GUI_TK_LIBRARY="$X_LIBS"
21982 TOOLKIT_INCLUDE="$X_CFLAGS"
21983 AFMINSTALL=afminstall
21984 COMPILED_X_PROGRAM=0
21985
21986 if test "$wxUSE_NANOX" = "yes"; then
21987 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21988echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21989 if test "x$MICROWIN" = x ; then
21990 echo "$as_me:$LINENO: result: not found" >&5
21991echo "${ECHO_T}not found" >&6
21992 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21993echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21994 { (exit 1); exit 1; }; }
21995 else
21996 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21997echo "${ECHO_T}$MICROWIN" >&6
21998 cat >>confdefs.h <<\_ACEOF
21999#define wxUSE_NANOX 1
22000_ACEOF
22001
22002 fi
22003 fi
22004
22005 xpm_link=
22006 echo "$as_me:$LINENO: checking for Xpm library" >&5
22007echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22008
22009ac_find_libraries=
22010for ac_dir in $SEARCH_LIB /usr/lib;
22011 do
22012 for ac_extension in a so sl dylib; do
22013 if test -f "$ac_dir/libXpm.$ac_extension"; then
22014 ac_find_libraries=$ac_dir
22015 break 2
22016 fi
22017 done
22018 done
22019
22020 if test "$ac_find_libraries" != "" ; then
22021
22022 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22023 result=$?
22024 if test $result = 0; then
22025 ac_path_to_link=""
22026 else
22027 ac_path_to_link=" -L$ac_find_libraries"
22028 fi
22029
22030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22031 xpm_link=" -lXpm"
22032 cat >>confdefs.h <<\_ACEOF
22033#define wxHAVE_LIB_XPM 1
22034_ACEOF
22035
22036 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22037echo "${ECHO_T}found at $ac_find_libraries" >&6
22038 else
22039 cat >conftest.$ac_ext <<_ACEOF
22040#line $LINENO "configure"
22041/* confdefs.h. */
22042_ACEOF
22043cat confdefs.h >>conftest.$ac_ext
22044cat >>conftest.$ac_ext <<_ACEOF
22045/* end confdefs.h. */
22046
22047 #include <X11/xpm.h>
22048
22049int
22050main ()
22051{
22052
22053 int version;
22054 version = XpmLibraryVersion();
22055
22056 ;
22057 return 0;
22058}
22059_ACEOF
22060rm -f conftest.$ac_objext
22061if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22062 (eval $ac_compile) 2>&5
22063 ac_status=$?
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); } &&
22066 { ac_try='test -s conftest.$ac_objext'
22067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22068 (eval $ac_try) 2>&5
22069 ac_status=$?
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); }; }; then
22072
22073 xpm_link=" -lXpm"
22074 cat >>confdefs.h <<\_ACEOF
22075#define wxHAVE_LIB_XPM 1
22076_ACEOF
22077
22078 echo "$as_me:$LINENO: result: found in default search path" >&5
22079echo "${ECHO_T}found in default search path" >&6
22080 COMPILED_X_PROGRAM=0
22081
22082else
22083 echo "$as_me: failed program was:" >&5
22084sed 's/^/| /' conftest.$ac_ext >&5
22085
22086
22087 echo "$as_me:$LINENO: result: no" >&5
22088echo "${ECHO_T}no" >&6
22089 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22090echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22091
22092
22093fi
22094rm -f conftest.$ac_objext conftest.$ac_ext
22095 fi
22096
22097 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22098echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22099if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22100 echo $ECHO_N "(cached) $ECHO_C" >&6
22101else
22102 ac_check_lib_save_LIBS=$LIBS
22103LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22104cat >conftest.$ac_ext <<_ACEOF
22105#line $LINENO "configure"
22106/* confdefs.h. */
22107_ACEOF
22108cat confdefs.h >>conftest.$ac_ext
22109cat >>conftest.$ac_ext <<_ACEOF
22110/* end confdefs.h. */
22111
22112/* Override any gcc2 internal prototype to avoid an error. */
22113#ifdef __cplusplus
22114extern "C"
22115#endif
22116/* We use char because int might match the return type of a gcc2
22117 builtin and then its argument prototype would still apply. */
22118char XShapeQueryExtension ();
22119int
22120main ()
22121{
22122XShapeQueryExtension ();
22123 ;
22124 return 0;
22125}
22126_ACEOF
22127rm -f conftest.$ac_objext conftest$ac_exeext
22128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22129 (eval $ac_link) 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } &&
22133 { ac_try='test -s conftest$ac_exeext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 ac_cv_lib_Xext_XShapeQueryExtension=yes
22140else
22141 echo "$as_me: failed program was:" >&5
22142sed 's/^/| /' conftest.$ac_ext >&5
22143
22144ac_cv_lib_Xext_XShapeQueryExtension=no
22145fi
22146rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22147LIBS=$ac_check_lib_save_LIBS
22148fi
22149echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22150echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22151if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22152
22153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22154 wxHAVE_XEXT_LIB=1
22155
22156fi
22157
22158
22159 if test "$wxUSE_UNICODE" = "yes"; then
22160
22161 succeeded=no
22162
22163 if test -z "$PKG_CONFIG"; then
22164 # Extract the first word of "pkg-config", so it can be a program name with args.
22165set dummy pkg-config; ac_word=$2
22166echo "$as_me:$LINENO: checking for $ac_word" >&5
22167echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22168if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22169 echo $ECHO_N "(cached) $ECHO_C" >&6
22170else
22171 case $PKG_CONFIG in
22172 [\\/]* | ?:[\\/]*)
22173 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22174 ;;
22175 *)
22176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22177for as_dir in $PATH
22178do
22179 IFS=$as_save_IFS
22180 test -z "$as_dir" && as_dir=.
22181 for ac_exec_ext in '' $ac_executable_extensions; do
22182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22183 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22185 break 2
22186 fi
22187done
22188done
22189
22190 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22191 ;;
22192esac
22193fi
22194PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22195
22196if test -n "$PKG_CONFIG"; then
22197 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22198echo "${ECHO_T}$PKG_CONFIG" >&6
22199else
22200 echo "$as_me:$LINENO: result: no" >&5
22201echo "${ECHO_T}no" >&6
22202fi
22203
22204 fi
22205
22206 if test "$PKG_CONFIG" = "no" ; then
22207 echo "*** The pkg-config script could not be found. Make sure it is"
22208 echo "*** in your path, or set the PKG_CONFIG environment variable"
22209 echo "*** to the full path to pkg-config."
22210 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22211 else
22212 PKG_CONFIG_MIN_VERSION=0.9.0
22213 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22214 echo "$as_me:$LINENO: checking for pangox" >&5
22215echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22216
22217 if $PKG_CONFIG --exists "pangox" ; then
22218 echo "$as_me:$LINENO: result: yes" >&5
22219echo "${ECHO_T}yes" >&6
22220 succeeded=yes
22221
22222 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22223echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22224 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22225 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22226echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22227
22228 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22229echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22230 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22231 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22232echo "${ECHO_T}$PANGOX_LIBS" >&6
22233 else
22234 PANGOX_CFLAGS=""
22235 PANGOX_LIBS=""
22236 ## If we have a custom action on failure, don't print errors, but
22237 ## do set a variable so people can do so.
22238 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22239
22240 fi
22241
22242
22243
22244 else
22245 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22246 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22247 fi
22248 fi
22249
22250 if test $succeeded = yes; then
22251
22252 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22253 LIBS="$LIBS $PANGOX_LIBS"
22254
22255 else
22256
22257 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22258echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22259 { (exit 1); exit 1; }; }
22260
22261
22262 fi
22263
22264
22265 succeeded=no
22266
22267 if test -z "$PKG_CONFIG"; then
22268 # Extract the first word of "pkg-config", so it can be a program name with args.
22269set dummy pkg-config; ac_word=$2
22270echo "$as_me:$LINENO: checking for $ac_word" >&5
22271echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22272if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22273 echo $ECHO_N "(cached) $ECHO_C" >&6
22274else
22275 case $PKG_CONFIG in
22276 [\\/]* | ?:[\\/]*)
22277 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22278 ;;
22279 *)
22280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22281for as_dir in $PATH
22282do
22283 IFS=$as_save_IFS
22284 test -z "$as_dir" && as_dir=.
22285 for ac_exec_ext in '' $ac_executable_extensions; do
22286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22287 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22289 break 2
22290 fi
22291done
22292done
22293
22294 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22295 ;;
22296esac
22297fi
22298PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22299
22300if test -n "$PKG_CONFIG"; then
22301 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22302echo "${ECHO_T}$PKG_CONFIG" >&6
22303else
22304 echo "$as_me:$LINENO: result: no" >&5
22305echo "${ECHO_T}no" >&6
22306fi
22307
22308 fi
22309
22310 if test "$PKG_CONFIG" = "no" ; then
22311 echo "*** The pkg-config script could not be found. Make sure it is"
22312 echo "*** in your path, or set the PKG_CONFIG environment variable"
22313 echo "*** to the full path to pkg-config."
22314 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22315 else
22316 PKG_CONFIG_MIN_VERSION=0.9.0
22317 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22318 echo "$as_me:$LINENO: checking for pangoft2" >&5
22319echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22320
22321 if $PKG_CONFIG --exists "pangoft2" ; then
22322 echo "$as_me:$LINENO: result: yes" >&5
22323echo "${ECHO_T}yes" >&6
22324 succeeded=yes
22325
22326 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22327echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22328 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22329 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22330echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22331
22332 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22333echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22334 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22335 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22336echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22337 else
22338 PANGOFT2_CFLAGS=""
22339 PANGOFT2_LIBS=""
22340 ## If we have a custom action on failure, don't print errors, but
22341 ## do set a variable so people can do so.
22342 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22343
22344 fi
22345
22346
22347
22348 else
22349 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22350 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22351 fi
22352 fi
22353
22354 if test $succeeded = yes; then
22355
22356 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22357 LIBS="$LIBS $PANGOFT2_LIBS"
22358
22359 else
22360
22361 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22362echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22363 wxUSE_PRINTING_ARCHITECTURE="no"
22364
22365
22366 fi
22367
22368
22369 succeeded=no
22370
22371 if test -z "$PKG_CONFIG"; then
22372 # Extract the first word of "pkg-config", so it can be a program name with args.
22373set dummy pkg-config; ac_word=$2
22374echo "$as_me:$LINENO: checking for $ac_word" >&5
22375echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22376if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22377 echo $ECHO_N "(cached) $ECHO_C" >&6
22378else
22379 case $PKG_CONFIG in
22380 [\\/]* | ?:[\\/]*)
22381 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22382 ;;
22383 *)
22384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22385for as_dir in $PATH
22386do
22387 IFS=$as_save_IFS
22388 test -z "$as_dir" && as_dir=.
22389 for ac_exec_ext in '' $ac_executable_extensions; do
22390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22391 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22393 break 2
22394 fi
22395done
22396done
22397
22398 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22399 ;;
22400esac
22401fi
22402PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22403
22404if test -n "$PKG_CONFIG"; then
22405 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22406echo "${ECHO_T}$PKG_CONFIG" >&6
22407else
22408 echo "$as_me:$LINENO: result: no" >&5
22409echo "${ECHO_T}no" >&6
22410fi
22411
22412 fi
22413
22414 if test "$PKG_CONFIG" = "no" ; then
22415 echo "*** The pkg-config script could not be found. Make sure it is"
22416 echo "*** in your path, or set the PKG_CONFIG environment variable"
22417 echo "*** to the full path to pkg-config."
22418 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22419 else
22420 PKG_CONFIG_MIN_VERSION=0.9.0
22421 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22422 echo "$as_me:$LINENO: checking for pangoxft" >&5
22423echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22424
22425 if $PKG_CONFIG --exists "pangoxft" ; then
22426 echo "$as_me:$LINENO: result: yes" >&5
22427echo "${ECHO_T}yes" >&6
22428 succeeded=yes
22429
22430 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22431echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22432 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22433 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22434echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22435
22436 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22437echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22438 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22439 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22440echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22441 else
22442 PANGOXFT_CFLAGS=""
22443 PANGOXFT_LIBS=""
22444 ## If we have a custom action on failure, don't print errors, but
22445 ## do set a variable so people can do so.
22446 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22447
22448 fi
22449
22450
22451
22452 else
22453 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22454 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22455 fi
22456 fi
22457
22458 if test $succeeded = yes; then
22459
22460 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22461 LIBS="$LIBS $PANGOXFT_LIBS"
22462
22463 else
22464
22465 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22466echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22467
22468
22469 fi
22470
22471 fi
22472
22473 wxUSE_UNIVERSAL="yes"
22474
22475 if test "$wxUSE_NANOX" = "yes"; then
22476 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22477 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"
22478 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22479 else
22480 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22481 fi
22482
22483 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22484 TOOLKIT=X11
22485 GUIDIST=X11_DIST
22486 fi
22487
22488 if test "$wxUSE_MOTIF" = 1; then
22489 if test "$no_x" = yes; then
22490 # Not all programs may use this symbol, but it does not hurt to define it.
22491
22492cat >>confdefs.h <<\_ACEOF
22493#define X_DISPLAY_MISSING 1
22494_ACEOF
22495
22496 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22497else
22498 if test -n "$x_includes"; then
22499 X_CFLAGS="$X_CFLAGS -I$x_includes"
22500 fi
22501
22502 # It would also be nice to do this for all -L options, not just this one.
22503 if test -n "$x_libraries"; then
22504 X_LIBS="$X_LIBS -L$x_libraries"
22505 # For Solaris; some versions of Sun CC require a space after -R and
22506 # others require no space. Words are not sufficient . . . .
22507 case `(uname -sr) 2>/dev/null` in
22508 "SunOS 5"*)
22509 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22510echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22511 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22512 cat >conftest.$ac_ext <<_ACEOF
22513#line $LINENO "configure"
22514/* confdefs.h. */
22515_ACEOF
22516cat confdefs.h >>conftest.$ac_ext
22517cat >>conftest.$ac_ext <<_ACEOF
22518/* end confdefs.h. */
22519
22520int
22521main ()
22522{
22523
22524 ;
22525 return 0;
22526}
22527_ACEOF
22528rm -f conftest.$ac_objext conftest$ac_exeext
22529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22530 (eval $ac_link) 2>&5
22531 ac_status=$?
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } &&
22534 { ac_try='test -s conftest$ac_exeext'
22535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536 (eval $ac_try) 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); }; }; then
22540 ac_R_nospace=yes
22541else
22542 echo "$as_me: failed program was:" >&5
22543sed 's/^/| /' conftest.$ac_ext >&5
22544
22545ac_R_nospace=no
22546fi
22547rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22548 if test $ac_R_nospace = yes; then
22549 echo "$as_me:$LINENO: result: no" >&5
22550echo "${ECHO_T}no" >&6
22551 X_LIBS="$X_LIBS -R$x_libraries"
22552 else
22553 LIBS="$ac_xsave_LIBS -R $x_libraries"
22554 cat >conftest.$ac_ext <<_ACEOF
22555#line $LINENO "configure"
22556/* confdefs.h. */
22557_ACEOF
22558cat confdefs.h >>conftest.$ac_ext
22559cat >>conftest.$ac_ext <<_ACEOF
22560/* end confdefs.h. */
22561
22562int
22563main ()
22564{
22565
22566 ;
22567 return 0;
22568}
22569_ACEOF
22570rm -f conftest.$ac_objext conftest$ac_exeext
22571if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22572 (eval $ac_link) 2>&5
22573 ac_status=$?
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -s conftest$ac_exeext'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22579 ac_status=$?
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; }; then
22582 ac_R_space=yes
22583else
22584 echo "$as_me: failed program was:" >&5
22585sed 's/^/| /' conftest.$ac_ext >&5
22586
22587ac_R_space=no
22588fi
22589rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22590 if test $ac_R_space = yes; then
22591 echo "$as_me:$LINENO: result: yes" >&5
22592echo "${ECHO_T}yes" >&6
22593 X_LIBS="$X_LIBS -R $x_libraries"
22594 else
22595 echo "$as_me:$LINENO: result: neither works" >&5
22596echo "${ECHO_T}neither works" >&6
22597 fi
22598 fi
22599 LIBS=$ac_xsave_LIBS
22600 esac
22601 fi
22602
22603 # Check for system-dependent libraries X programs must link with.
22604 # Do this before checking for the system-independent R6 libraries
22605 # (-lICE), since we may need -lsocket or whatever for X linking.
22606
22607 if test "$ISC" = yes; then
22608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22609 else
22610 # Martyn Johnson says this is needed for Ultrix, if the X
22611 # libraries were built with DECnet support. And Karl Berry says
22612 # the Alpha needs dnet_stub (dnet does not exist).
22613 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22614 cat >conftest.$ac_ext <<_ACEOF
22615#line $LINENO "configure"
22616/* confdefs.h. */
22617_ACEOF
22618cat confdefs.h >>conftest.$ac_ext
22619cat >>conftest.$ac_ext <<_ACEOF
22620/* end confdefs.h. */
22621
22622/* Override any gcc2 internal prototype to avoid an error. */
22623#ifdef __cplusplus
22624extern "C"
22625#endif
22626/* We use char because int might match the return type of a gcc2
22627 builtin and then its argument prototype would still apply. */
22628char XOpenDisplay ();
22629int
22630main ()
22631{
22632XOpenDisplay ();
22633 ;
22634 return 0;
22635}
22636_ACEOF
22637rm -f conftest.$ac_objext conftest$ac_exeext
22638if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22639 (eval $ac_link) 2>&5
22640 ac_status=$?
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } &&
22643 { ac_try='test -s conftest$ac_exeext'
22644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645 (eval $ac_try) 2>&5
22646 ac_status=$?
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; }; then
22649 :
22650else
22651 echo "$as_me: failed program was:" >&5
22652sed 's/^/| /' conftest.$ac_ext >&5
22653
22654echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22655echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22656if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22657 echo $ECHO_N "(cached) $ECHO_C" >&6
22658else
22659 ac_check_lib_save_LIBS=$LIBS
22660LIBS="-ldnet $LIBS"
22661cat >conftest.$ac_ext <<_ACEOF
22662#line $LINENO "configure"
22663/* confdefs.h. */
22664_ACEOF
22665cat confdefs.h >>conftest.$ac_ext
22666cat >>conftest.$ac_ext <<_ACEOF
22667/* end confdefs.h. */
22668
22669/* Override any gcc2 internal prototype to avoid an error. */
22670#ifdef __cplusplus
22671extern "C"
22672#endif
22673/* We use char because int might match the return type of a gcc2
22674 builtin and then its argument prototype would still apply. */
22675char dnet_ntoa ();
22676int
22677main ()
22678{
22679dnet_ntoa ();
22680 ;
22681 return 0;
22682}
22683_ACEOF
22684rm -f conftest.$ac_objext conftest$ac_exeext
22685if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22686 (eval $ac_link) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } &&
22690 { ac_try='test -s conftest$ac_exeext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 ac_cv_lib_dnet_dnet_ntoa=yes
22697else
22698 echo "$as_me: failed program was:" >&5
22699sed 's/^/| /' conftest.$ac_ext >&5
22700
22701ac_cv_lib_dnet_dnet_ntoa=no
22702fi
22703rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22704LIBS=$ac_check_lib_save_LIBS
22705fi
22706echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22707echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22708if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22709 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22710fi
22711
22712 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22713 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22714echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22715if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22716 echo $ECHO_N "(cached) $ECHO_C" >&6
22717else
22718 ac_check_lib_save_LIBS=$LIBS
22719LIBS="-ldnet_stub $LIBS"
22720cat >conftest.$ac_ext <<_ACEOF
22721#line $LINENO "configure"
22722/* confdefs.h. */
22723_ACEOF
22724cat confdefs.h >>conftest.$ac_ext
22725cat >>conftest.$ac_ext <<_ACEOF
22726/* end confdefs.h. */
22727
22728/* Override any gcc2 internal prototype to avoid an error. */
22729#ifdef __cplusplus
22730extern "C"
22731#endif
22732/* We use char because int might match the return type of a gcc2
22733 builtin and then its argument prototype would still apply. */
22734char dnet_ntoa ();
22735int
22736main ()
22737{
22738dnet_ntoa ();
22739 ;
22740 return 0;
22741}
22742_ACEOF
22743rm -f conftest.$ac_objext conftest$ac_exeext
22744if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22745 (eval $ac_link) 2>&5
22746 ac_status=$?
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } &&
22749 { ac_try='test -s conftest$ac_exeext'
22750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22751 (eval $ac_try) 2>&5
22752 ac_status=$?
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); }; }; then
22755 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22756else
22757 echo "$as_me: failed program was:" >&5
22758sed 's/^/| /' conftest.$ac_ext >&5
22759
22760ac_cv_lib_dnet_stub_dnet_ntoa=no
22761fi
22762rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22763LIBS=$ac_check_lib_save_LIBS
22764fi
22765echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22766echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22767if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22768 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22769fi
22770
22771 fi
22772fi
22773rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22774 LIBS="$ac_xsave_LIBS"
22775
22776 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22777 # to get the SysV transport functions.
22778 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22779 # needs -lnsl.
22780 # The nsl library prevents programs from opening the X display
22781 # on Irix 5.2, according to T.E. Dickey.
22782 # The functions gethostbyname, getservbyname, and inet_addr are
22783 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22784 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22785echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22786if test "${ac_cv_func_gethostbyname+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22788else
22789 cat >conftest.$ac_ext <<_ACEOF
22790#line $LINENO "configure"
22791/* confdefs.h. */
22792_ACEOF
22793cat confdefs.h >>conftest.$ac_ext
22794cat >>conftest.$ac_ext <<_ACEOF
22795/* end confdefs.h. */
22796/* System header to define __stub macros and hopefully few prototypes,
22797 which can conflict with char gethostbyname (); below.
22798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22799 <limits.h> exists even on freestanding compilers. */
22800#ifdef __STDC__
22801# include <limits.h>
22802#else
22803# include <assert.h>
22804#endif
22805/* Override any gcc2 internal prototype to avoid an error. */
22806#ifdef __cplusplus
22807extern "C"
22808{
22809#endif
22810/* We use char because int might match the return type of a gcc2
22811 builtin and then its argument prototype would still apply. */
22812char gethostbyname ();
22813/* The GNU C library defines this for functions which it implements
22814 to always fail with ENOSYS. Some functions are actually named
22815 something starting with __ and the normal name is an alias. */
22816#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22817choke me
22818#else
22819char (*f) () = gethostbyname;
22820#endif
22821#ifdef __cplusplus
22822}
22823#endif
22824
22825int
22826main ()
22827{
22828return f != gethostbyname;
22829 ;
22830 return 0;
22831}
22832_ACEOF
22833rm -f conftest.$ac_objext conftest$ac_exeext
22834if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22835 (eval $ac_link) 2>&5
22836 ac_status=$?
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } &&
22839 { ac_try='test -s conftest$ac_exeext'
22840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22841 (eval $ac_try) 2>&5
22842 ac_status=$?
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); }; }; then
22845 ac_cv_func_gethostbyname=yes
22846else
22847 echo "$as_me: failed program was:" >&5
22848sed 's/^/| /' conftest.$ac_ext >&5
22849
22850ac_cv_func_gethostbyname=no
22851fi
22852rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22853fi
22854echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22855echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22856
22857 if test $ac_cv_func_gethostbyname = no; then
22858 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22859echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22860if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22862else
22863 ac_check_lib_save_LIBS=$LIBS
22864LIBS="-lnsl $LIBS"
22865cat >conftest.$ac_ext <<_ACEOF
22866#line $LINENO "configure"
22867/* confdefs.h. */
22868_ACEOF
22869cat confdefs.h >>conftest.$ac_ext
22870cat >>conftest.$ac_ext <<_ACEOF
22871/* end confdefs.h. */
22872
22873/* Override any gcc2 internal prototype to avoid an error. */
22874#ifdef __cplusplus
22875extern "C"
22876#endif
22877/* We use char because int might match the return type of a gcc2
22878 builtin and then its argument prototype would still apply. */
22879char gethostbyname ();
22880int
22881main ()
22882{
22883gethostbyname ();
22884 ;
22885 return 0;
22886}
22887_ACEOF
22888rm -f conftest.$ac_objext conftest$ac_exeext
22889if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22890 (eval $ac_link) 2>&5
22891 ac_status=$?
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } &&
22894 { ac_try='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22897 ac_status=$?
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_cv_lib_nsl_gethostbyname=yes
22901else
22902 echo "$as_me: failed program was:" >&5
22903sed 's/^/| /' conftest.$ac_ext >&5
22904
22905ac_cv_lib_nsl_gethostbyname=no
22906fi
22907rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22908LIBS=$ac_check_lib_save_LIBS
22909fi
22910echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22911echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22912if test $ac_cv_lib_nsl_gethostbyname = yes; then
22913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22914fi
22915
22916 if test $ac_cv_lib_nsl_gethostbyname = no; then
22917 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22918echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22919if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22921else
22922 ac_check_lib_save_LIBS=$LIBS
22923LIBS="-lbsd $LIBS"
22924cat >conftest.$ac_ext <<_ACEOF
22925#line $LINENO "configure"
22926/* confdefs.h. */
22927_ACEOF
22928cat confdefs.h >>conftest.$ac_ext
22929cat >>conftest.$ac_ext <<_ACEOF
22930/* end confdefs.h. */
22931
22932/* Override any gcc2 internal prototype to avoid an error. */
22933#ifdef __cplusplus
22934extern "C"
22935#endif
22936/* We use char because int might match the return type of a gcc2
22937 builtin and then its argument prototype would still apply. */
22938char gethostbyname ();
22939int
22940main ()
22941{
22942gethostbyname ();
22943 ;
22944 return 0;
22945}
22946_ACEOF
22947rm -f conftest.$ac_objext conftest$ac_exeext
22948if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22949 (eval $ac_link) 2>&5
22950 ac_status=$?
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } &&
22953 { ac_try='test -s conftest$ac_exeext'
22954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955 (eval $ac_try) 2>&5
22956 ac_status=$?
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); }; }; then
22959 ac_cv_lib_bsd_gethostbyname=yes
22960else
22961 echo "$as_me: failed program was:" >&5
22962sed 's/^/| /' conftest.$ac_ext >&5
22963
22964ac_cv_lib_bsd_gethostbyname=no
22965fi
22966rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22967LIBS=$ac_check_lib_save_LIBS
22968fi
22969echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22970echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22971if test $ac_cv_lib_bsd_gethostbyname = yes; then
22972 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22973fi
22974
22975 fi
22976 fi
22977
22978 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22979 # socket/setsockopt and other routines are undefined under SCO ODT
22980 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22981 # on later versions), says Simon Leinen: it contains gethostby*
22982 # variants that don't use the name server (or something). -lsocket
22983 # must be given before -lnsl if both are needed. We assume that
22984 # if connect needs -lnsl, so does gethostbyname.
22985 echo "$as_me:$LINENO: checking for connect" >&5
22986echo $ECHO_N "checking for connect... $ECHO_C" >&6
22987if test "${ac_cv_func_connect+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22989else
22990 cat >conftest.$ac_ext <<_ACEOF
22991#line $LINENO "configure"
22992/* confdefs.h. */
22993_ACEOF
22994cat confdefs.h >>conftest.$ac_ext
22995cat >>conftest.$ac_ext <<_ACEOF
22996/* end confdefs.h. */
22997/* System header to define __stub macros and hopefully few prototypes,
22998 which can conflict with char connect (); below.
22999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23000 <limits.h> exists even on freestanding compilers. */
23001#ifdef __STDC__
23002# include <limits.h>
23003#else
23004# include <assert.h>
23005#endif
23006/* Override any gcc2 internal prototype to avoid an error. */
23007#ifdef __cplusplus
23008extern "C"
23009{
23010#endif
23011/* We use char because int might match the return type of a gcc2
23012 builtin and then its argument prototype would still apply. */
23013char connect ();
23014/* The GNU C library defines this for functions which it implements
23015 to always fail with ENOSYS. Some functions are actually named
23016 something starting with __ and the normal name is an alias. */
23017#if defined (__stub_connect) || defined (__stub___connect)
23018choke me
23019#else
23020char (*f) () = connect;
23021#endif
23022#ifdef __cplusplus
23023}
23024#endif
23025
23026int
23027main ()
23028{
23029return f != connect;
23030 ;
23031 return 0;
23032}
23033_ACEOF
23034rm -f conftest.$ac_objext conftest$ac_exeext
23035if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23036 (eval $ac_link) 2>&5
23037 ac_status=$?
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } &&
23040 { ac_try='test -s conftest$ac_exeext'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23043 ac_status=$?
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; }; then
23046 ac_cv_func_connect=yes
23047else
23048 echo "$as_me: failed program was:" >&5
23049sed 's/^/| /' conftest.$ac_ext >&5
23050
23051ac_cv_func_connect=no
23052fi
23053rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23054fi
23055echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23056echo "${ECHO_T}$ac_cv_func_connect" >&6
23057
23058 if test $ac_cv_func_connect = no; then
23059 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23060echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23061if test "${ac_cv_lib_socket_connect+set}" = set; then
23062 echo $ECHO_N "(cached) $ECHO_C" >&6
23063else
23064 ac_check_lib_save_LIBS=$LIBS
23065LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23066cat >conftest.$ac_ext <<_ACEOF
23067#line $LINENO "configure"
23068/* confdefs.h. */
23069_ACEOF
23070cat confdefs.h >>conftest.$ac_ext
23071cat >>conftest.$ac_ext <<_ACEOF
23072/* end confdefs.h. */
23073
23074/* Override any gcc2 internal prototype to avoid an error. */
23075#ifdef __cplusplus
23076extern "C"
23077#endif
23078/* We use char because int might match the return type of a gcc2
23079 builtin and then its argument prototype would still apply. */
23080char connect ();
23081int
23082main ()
23083{
23084connect ();
23085 ;
23086 return 0;
23087}
23088_ACEOF
23089rm -f conftest.$ac_objext conftest$ac_exeext
23090if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23091 (eval $ac_link) 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try='test -s conftest$ac_exeext'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23098 ac_status=$?
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23101 ac_cv_lib_socket_connect=yes
23102else
23103 echo "$as_me: failed program was:" >&5
23104sed 's/^/| /' conftest.$ac_ext >&5
23105
23106ac_cv_lib_socket_connect=no
23107fi
23108rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23109LIBS=$ac_check_lib_save_LIBS
23110fi
23111echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23112echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23113if test $ac_cv_lib_socket_connect = yes; then
23114 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23115fi
23116
23117 fi
23118
23119 # Guillermo Gomez says -lposix is necessary on A/UX.
23120 echo "$as_me:$LINENO: checking for remove" >&5
23121echo $ECHO_N "checking for remove... $ECHO_C" >&6
23122if test "${ac_cv_func_remove+set}" = set; then
23123 echo $ECHO_N "(cached) $ECHO_C" >&6
23124else
23125 cat >conftest.$ac_ext <<_ACEOF
23126#line $LINENO "configure"
23127/* confdefs.h. */
23128_ACEOF
23129cat confdefs.h >>conftest.$ac_ext
23130cat >>conftest.$ac_ext <<_ACEOF
23131/* end confdefs.h. */
23132/* System header to define __stub macros and hopefully few prototypes,
23133 which can conflict with char remove (); below.
23134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23135 <limits.h> exists even on freestanding compilers. */
23136#ifdef __STDC__
23137# include <limits.h>
23138#else
23139# include <assert.h>
23140#endif
23141/* Override any gcc2 internal prototype to avoid an error. */
23142#ifdef __cplusplus
23143extern "C"
23144{
23145#endif
23146/* We use char because int might match the return type of a gcc2
23147 builtin and then its argument prototype would still apply. */
23148char remove ();
23149/* The GNU C library defines this for functions which it implements
23150 to always fail with ENOSYS. Some functions are actually named
23151 something starting with __ and the normal name is an alias. */
23152#if defined (__stub_remove) || defined (__stub___remove)
23153choke me
23154#else
23155char (*f) () = remove;
23156#endif
23157#ifdef __cplusplus
23158}
23159#endif
23160
23161int
23162main ()
23163{
23164return f != remove;
23165 ;
23166 return 0;
23167}
23168_ACEOF
23169rm -f conftest.$ac_objext conftest$ac_exeext
23170if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23171 (eval $ac_link) 2>&5
23172 ac_status=$?
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } &&
23175 { ac_try='test -s conftest$ac_exeext'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23178 ac_status=$?
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; }; then
23181 ac_cv_func_remove=yes
23182else
23183 echo "$as_me: failed program was:" >&5
23184sed 's/^/| /' conftest.$ac_ext >&5
23185
23186ac_cv_func_remove=no
23187fi
23188rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23189fi
23190echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23191echo "${ECHO_T}$ac_cv_func_remove" >&6
23192
23193 if test $ac_cv_func_remove = no; then
23194 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23195echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23196if test "${ac_cv_lib_posix_remove+set}" = set; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23198else
23199 ac_check_lib_save_LIBS=$LIBS
23200LIBS="-lposix $LIBS"
23201cat >conftest.$ac_ext <<_ACEOF
23202#line $LINENO "configure"
23203/* confdefs.h. */
23204_ACEOF
23205cat confdefs.h >>conftest.$ac_ext
23206cat >>conftest.$ac_ext <<_ACEOF
23207/* end confdefs.h. */
23208
23209/* Override any gcc2 internal prototype to avoid an error. */
23210#ifdef __cplusplus
23211extern "C"
23212#endif
23213/* We use char because int might match the return type of a gcc2
23214 builtin and then its argument prototype would still apply. */
23215char remove ();
23216int
23217main ()
23218{
23219remove ();
23220 ;
23221 return 0;
23222}
23223_ACEOF
23224rm -f conftest.$ac_objext conftest$ac_exeext
23225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23226 (eval $ac_link) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); } &&
23230 { ac_try='test -s conftest$ac_exeext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_cv_lib_posix_remove=yes
23237else
23238 echo "$as_me: failed program was:" >&5
23239sed 's/^/| /' conftest.$ac_ext >&5
23240
23241ac_cv_lib_posix_remove=no
23242fi
23243rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23244LIBS=$ac_check_lib_save_LIBS
23245fi
23246echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23247echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23248if test $ac_cv_lib_posix_remove = yes; then
23249 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23250fi
23251
23252 fi
23253
23254 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23255 echo "$as_me:$LINENO: checking for shmat" >&5
23256echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23257if test "${ac_cv_func_shmat+set}" = set; then
23258 echo $ECHO_N "(cached) $ECHO_C" >&6
23259else
23260 cat >conftest.$ac_ext <<_ACEOF
23261#line $LINENO "configure"
23262/* confdefs.h. */
23263_ACEOF
23264cat confdefs.h >>conftest.$ac_ext
23265cat >>conftest.$ac_ext <<_ACEOF
23266/* end confdefs.h. */
23267/* System header to define __stub macros and hopefully few prototypes,
23268 which can conflict with char shmat (); below.
23269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23270 <limits.h> exists even on freestanding compilers. */
23271#ifdef __STDC__
23272# include <limits.h>
23273#else
23274# include <assert.h>
23275#endif
23276/* Override any gcc2 internal prototype to avoid an error. */
23277#ifdef __cplusplus
23278extern "C"
23279{
23280#endif
23281/* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23283char shmat ();
23284/* The GNU C library defines this for functions which it implements
23285 to always fail with ENOSYS. Some functions are actually named
23286 something starting with __ and the normal name is an alias. */
23287#if defined (__stub_shmat) || defined (__stub___shmat)
23288choke me
23289#else
23290char (*f) () = shmat;
23291#endif
23292#ifdef __cplusplus
23293}
23294#endif
23295
23296int
23297main ()
23298{
23299return f != shmat;
23300 ;
23301 return 0;
23302}
23303_ACEOF
23304rm -f conftest.$ac_objext conftest$ac_exeext
23305if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23306 (eval $ac_link) 2>&5
23307 ac_status=$?
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } &&
23310 { ac_try='test -s conftest$ac_exeext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23313 ac_status=$?
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 ac_cv_func_shmat=yes
23317else
23318 echo "$as_me: failed program was:" >&5
23319sed 's/^/| /' conftest.$ac_ext >&5
23320
23321ac_cv_func_shmat=no
23322fi
23323rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23324fi
23325echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23326echo "${ECHO_T}$ac_cv_func_shmat" >&6
23327
23328 if test $ac_cv_func_shmat = no; then
23329 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23330echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23331if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23333else
23334 ac_check_lib_save_LIBS=$LIBS
23335LIBS="-lipc $LIBS"
23336cat >conftest.$ac_ext <<_ACEOF
23337#line $LINENO "configure"
23338/* confdefs.h. */
23339_ACEOF
23340cat confdefs.h >>conftest.$ac_ext
23341cat >>conftest.$ac_ext <<_ACEOF
23342/* end confdefs.h. */
23343
23344/* Override any gcc2 internal prototype to avoid an error. */
23345#ifdef __cplusplus
23346extern "C"
23347#endif
23348/* We use char because int might match the return type of a gcc2
23349 builtin and then its argument prototype would still apply. */
23350char shmat ();
23351int
23352main ()
23353{
23354shmat ();
23355 ;
23356 return 0;
23357}
23358_ACEOF
23359rm -f conftest.$ac_objext conftest$ac_exeext
23360if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23361 (eval $ac_link) 2>&5
23362 ac_status=$?
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } &&
23365 { ac_try='test -s conftest$ac_exeext'
23366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23367 (eval $ac_try) 2>&5
23368 ac_status=$?
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); }; }; then
23371 ac_cv_lib_ipc_shmat=yes
23372else
23373 echo "$as_me: failed program was:" >&5
23374sed 's/^/| /' conftest.$ac_ext >&5
23375
23376ac_cv_lib_ipc_shmat=no
23377fi
23378rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23379LIBS=$ac_check_lib_save_LIBS
23380fi
23381echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23382echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23383if test $ac_cv_lib_ipc_shmat = yes; then
23384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23385fi
23386
23387 fi
23388 fi
23389
23390 # Check for libraries that X11R6 Xt/Xaw programs need.
23391 ac_save_LDFLAGS=$LDFLAGS
23392 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23393 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23394 # check for ICE first), but we must link in the order -lSM -lICE or
23395 # we get undefined symbols. So assume we have SM if we have ICE.
23396 # These have to be linked with before -lX11, unlike the other
23397 # libraries we check for below, so use a different variable.
23398 # John Interrante, Karl Berry
23399 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23400echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23401if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403else
23404 ac_check_lib_save_LIBS=$LIBS
23405LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23406cat >conftest.$ac_ext <<_ACEOF
23407#line $LINENO "configure"
23408/* confdefs.h. */
23409_ACEOF
23410cat confdefs.h >>conftest.$ac_ext
23411cat >>conftest.$ac_ext <<_ACEOF
23412/* end confdefs.h. */
23413
23414/* Override any gcc2 internal prototype to avoid an error. */
23415#ifdef __cplusplus
23416extern "C"
23417#endif
23418/* We use char because int might match the return type of a gcc2
23419 builtin and then its argument prototype would still apply. */
23420char IceConnectionNumber ();
23421int
23422main ()
23423{
23424IceConnectionNumber ();
23425 ;
23426 return 0;
23427}
23428_ACEOF
23429rm -f conftest.$ac_objext conftest$ac_exeext
23430if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23431 (eval $ac_link) 2>&5
23432 ac_status=$?
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } &&
23435 { ac_try='test -s conftest$ac_exeext'
23436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437 (eval $ac_try) 2>&5
23438 ac_status=$?
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 ac_cv_lib_ICE_IceConnectionNumber=yes
23442else
23443 echo "$as_me: failed program was:" >&5
23444sed 's/^/| /' conftest.$ac_ext >&5
23445
23446ac_cv_lib_ICE_IceConnectionNumber=no
23447fi
23448rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23449LIBS=$ac_check_lib_save_LIBS
23450fi
23451echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23452echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23453if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23454 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23455fi
23456
23457 LDFLAGS=$ac_save_LDFLAGS
23458
23459fi
23460
23461
23462 if test "$no_x" = "yes"; then
23463 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23464echo "$as_me: error: X11 not found" >&2;}
23465 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23466 fi
23467
23468 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23469 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23470 AFMINSTALL=afminstall
23471 COMPILED_X_PROGRAM=0
23472
23473 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23474echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23475
23476ac_find_includes=
23477for ac_dir in $SEARCH_INCLUDE /usr/include;
23478 do
23479 if test -f "$ac_dir/Xm/Xm.h"; then
23480 ac_find_includes=$ac_dir
23481 break
23482 fi
23483 done
23484
23485 if test "$ac_find_includes" != "" ; then
23486 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23487echo "${ECHO_T}found in $ac_find_includes" >&6
23488
23489 if test "x$ac_find_includes" = "x/usr/include"; then
23490 ac_path_to_include=""
23491 else
23492 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23493 result=$?
23494 if test $result = 0; then
23495 ac_path_to_include=""
23496 else
23497 ac_path_to_include=" -I$ac_find_includes"
23498 fi
23499 fi
23500
23501 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23502 else
23503 cat >conftest.$ac_ext <<_ACEOF
23504#line $LINENO "configure"
23505/* confdefs.h. */
23506_ACEOF
23507cat confdefs.h >>conftest.$ac_ext
23508cat >>conftest.$ac_ext <<_ACEOF
23509/* end confdefs.h. */
23510
23511 #include <Xm/Xm.h>
23512
23513int
23514main ()
23515{
23516
23517 int version;
23518 version = xmUseVersion;
23519
23520 ;
23521 return 0;
23522}
23523_ACEOF
23524rm -f conftest.$ac_objext
23525if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23526 (eval $ac_compile) 2>&5
23527 ac_status=$?
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } &&
23530 { ac_try='test -s conftest.$ac_objext'
23531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532 (eval $ac_try) 2>&5
23533 ac_status=$?
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); }; }; then
23536
23537 echo "$as_me:$LINENO: result: found in default search path" >&5
23538echo "${ECHO_T}found in default search path" >&6
23539 COMPILED_X_PROGRAM=1
23540
23541else
23542 echo "$as_me: failed program was:" >&5
23543sed 's/^/| /' conftest.$ac_ext >&5
23544
23545
23546 echo "$as_me:$LINENO: result: no" >&5
23547echo "${ECHO_T}no" >&6
23548 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23549echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23550 { (exit 1); exit 1; }; }
23551
23552
23553fi
23554rm -f conftest.$ac_objext conftest.$ac_ext
23555 fi
23556
23557 if test "$COMPILED_X_PROGRAM" = 0; then
23558 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23559echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23560
23561ac_find_libraries=
23562for ac_dir in $SEARCH_LIB /usr/lib;
23563 do
23564 for ac_extension in a so sl dylib; do
23565 if test -f "$ac_dir/libXm.$ac_extension"; then
23566 ac_find_libraries=$ac_dir
23567 break 2
23568 fi
23569 done
23570 done
23571
23572 if test "$ac_find_libraries" != "" ; then
23573 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23574echo "${ECHO_T}found at $ac_find_libraries" >&6
23575
23576
23577 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23578 result=$?
23579 if test $result = 0; then
23580 ac_path_to_link=""
23581 else
23582 ac_path_to_link=" -L$ac_find_libraries"
23583 fi
23584
23585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23586 else
23587 save_CFLAGS=$CFLAGS
23588 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23589
23590 cat >conftest.$ac_ext <<_ACEOF
23591#line $LINENO "configure"
23592/* confdefs.h. */
23593_ACEOF
23594cat confdefs.h >>conftest.$ac_ext
23595cat >>conftest.$ac_ext <<_ACEOF
23596/* end confdefs.h. */
23597
23598 #include <Xm/Xm.h>
23599
23600int
23601main ()
23602{
23603
23604 int version;
23605 version = xmUseVersion;
23606
23607 ;
23608 return 0;
23609}
23610_ACEOF
23611rm -f conftest.$ac_objext
23612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23613 (eval $ac_compile) 2>&5
23614 ac_status=$?
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); } &&
23617 { ac_try='test -s conftest.$ac_objext'
23618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23619 (eval $ac_try) 2>&5
23620 ac_status=$?
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); }; }; then
23623
23624 echo "$as_me:$LINENO: result: found in default search path" >&5
23625echo "${ECHO_T}found in default search path" >&6
23626 COMPILED_X_PROGRAM=1
23627
23628else
23629 echo "$as_me: failed program was:" >&5
23630sed 's/^/| /' conftest.$ac_ext >&5
23631
23632
23633 echo "$as_me:$LINENO: result: no" >&5
23634echo "${ECHO_T}no" >&6
23635 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23636echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23637 { (exit 1); exit 1; }; }
23638
23639
23640fi
23641rm -f conftest.$ac_objext conftest.$ac_ext
23642
23643 CFLAGS=$save_CFLAGS
23644 fi
23645 fi
23646
23647 xpm_link=
23648 echo "$as_me:$LINENO: checking for Xpm library" >&5
23649echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23650
23651ac_find_libraries=
23652for ac_dir in $SEARCH_LIB /usr/lib;
23653 do
23654 for ac_extension in a so sl dylib; do
23655 if test -f "$ac_dir/libXpm.$ac_extension"; then
23656 ac_find_libraries=$ac_dir
23657 break 2
23658 fi
23659 done
23660 done
23661
23662 if test "$ac_find_libraries" != "" ; then
23663
23664 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23665 result=$?
23666 if test $result = 0; then
23667 ac_path_to_link=""
23668 else
23669 ac_path_to_link=" -L$ac_find_libraries"
23670 fi
23671
23672 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23673
23674 xpm_link=" -lXpm"
23675 cat >>confdefs.h <<\_ACEOF
23676#define wxHAVE_LIB_XPM 1
23677_ACEOF
23678
23679 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23680echo "${ECHO_T}found at $ac_find_libraries" >&6
23681 else
23682 save_CFLAGS=$CFLAGS
23683 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23684
23685 cat >conftest.$ac_ext <<_ACEOF
23686#line $LINENO "configure"
23687/* confdefs.h. */
23688_ACEOF
23689cat confdefs.h >>conftest.$ac_ext
23690cat >>conftest.$ac_ext <<_ACEOF
23691/* end confdefs.h. */
23692
23693 #include <X11/xpm.h>
23694
23695int
23696main ()
23697{
23698
23699 int version;
23700 version = XpmLibraryVersion();
23701
23702 ;
23703 return 0;
23704}
23705_ACEOF
23706rm -f conftest.$ac_objext
23707if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23708 (eval $ac_compile) 2>&5
23709 ac_status=$?
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try='test -s conftest.$ac_objext'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23715 ac_status=$?
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; }; then
23718
23719 xpm_link=" -lXpm"
23720 cat >>confdefs.h <<\_ACEOF
23721#define wxHAVE_LIB_XPM 1
23722_ACEOF
23723
23724 echo "$as_me:$LINENO: result: found in default search path" >&5
23725echo "${ECHO_T}found in default search path" >&6
23726 COMPILED_X_PROGRAM=0
23727
23728else
23729 echo "$as_me: failed program was:" >&5
23730sed 's/^/| /' conftest.$ac_ext >&5
23731
23732
23733 echo "$as_me:$LINENO: result: no" >&5
23734echo "${ECHO_T}no" >&6
23735 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23736echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23737
23738
23739fi
23740rm -f conftest.$ac_objext conftest.$ac_ext
23741
23742 CFLAGS=$save_CFLAGS
23743 fi
23744
23745 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23746echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23747 libp_link=""
23748 libsm_ice_link=""
23749 libs_found=0
23750 for libp in "" " -lXp"; do
23751 if test "$libs_found" = "0"; then
23752 for libsm_ice in " -lSM -lICE"; do
23753 if test "$libs_found" = "0"; then
23754 save_LIBS="$LIBS"
23755 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23756 save_CFLAGS=$CFLAGS
23757 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23758
23759 cat >conftest.$ac_ext <<_ACEOF
23760#line $LINENO "configure"
23761/* confdefs.h. */
23762_ACEOF
23763cat confdefs.h >>conftest.$ac_ext
23764cat >>conftest.$ac_ext <<_ACEOF
23765/* end confdefs.h. */
23766
23767 #include <Xm/Xm.h>
23768 #include <Xm/List.h>
23769
23770int
23771main ()
23772{
23773
23774 XmString string = NULL;
23775 Widget w = NULL;
23776 int position = 0;
23777 XmListAddItem(w, string, position);
23778
23779 ;
23780 return 0;
23781}
23782_ACEOF
23783rm -f conftest.$ac_objext conftest$ac_exeext
23784if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23785 (eval $ac_link) 2>&5
23786 ac_status=$?
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } &&
23789 { ac_try='test -s conftest$ac_exeext'
23790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791 (eval $ac_try) 2>&5
23792 ac_status=$?
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; }; then
23795
23796 libp_link="$libp"
23797 libsm_ice_link="$libsm_ice"
23798 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23799echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23800 libs_found=1
23801
23802else
23803 echo "$as_me: failed program was:" >&5
23804sed 's/^/| /' conftest.$ac_ext >&5
23805
23806
23807
23808fi
23809rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23810
23811 LIBS="$save_LIBS"
23812 CFLAGS=$save_CFLAGS
23813 fi
23814 done
23815 fi
23816 done
23817
23818 if test "$libs_found" = "0"; then
23819 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23820echo "${ECHO_T}can't find the right libraries" >&6
23821 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23822echo "$as_me: error: can't link a simple motif program" >&2;}
23823 { (exit 1); exit 1; }; }
23824 fi
23825
23826 save_CFLAGS=$CFLAGS
23827 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23828 echo "$as_me:$LINENO: checking for Motif 2" >&5
23829echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23830 cat >conftest.$ac_ext <<_ACEOF
23831#line $LINENO "configure"
23832/* confdefs.h. */
23833_ACEOF
23834cat confdefs.h >>conftest.$ac_ext
23835cat >>conftest.$ac_ext <<_ACEOF
23836/* end confdefs.h. */
23837
23838 #include <Xm/Xm.h>
23839
23840int
23841main ()
23842{
23843
23844 #if XmVersion < 2000
23845 #error "Not Motif 2"
23846 #endif
23847
23848 ;
23849 return 0;
23850}
23851_ACEOF
23852rm -f conftest.$ac_objext
23853if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23854 (eval $ac_compile) 2>&5
23855 ac_status=$?
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } &&
23858 { ac_try='test -s conftest.$ac_objext'
23859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23860 (eval $ac_try) 2>&5
23861 ac_status=$?
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; }; then
23864
23865 cat >>confdefs.h <<\_ACEOF
23866#define __WXMOTIF20__ 1
23867_ACEOF
23868
23869 echo "$as_me:$LINENO: result: found" >&5
23870echo "${ECHO_T}found" >&6
23871
23872else
23873 echo "$as_me: failed program was:" >&5
23874sed 's/^/| /' conftest.$ac_ext >&5
23875
23876
23877 cat >>confdefs.h <<\_ACEOF
23878#define __WXMOTIF20__ 0
23879_ACEOF
23880
23881 echo "$as_me:$LINENO: result: not found" >&5
23882echo "${ECHO_T}not found" >&6
23883
23884fi
23885rm -f conftest.$ac_objext conftest.$ac_ext
23886 CFLAGS=$save_CFLAGS
23887
23888 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23889 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23890 TOOLKIT=MOTIF
23891 GUIDIST=MOTIF_DIST
23892 wxHAVE_XEXT_LIB=1
23893 fi
23894
23895 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23896 test "$wxHAVE_XEXT_LIB" = 1; then
23897 save_CFLAGS="$CFLAGS"
23898 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23899
23900 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23901echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23902 cat >conftest.$ac_ext <<_ACEOF
23903#line $LINENO "configure"
23904/* confdefs.h. */
23905_ACEOF
23906cat confdefs.h >>conftest.$ac_ext
23907cat >>conftest.$ac_ext <<_ACEOF
23908/* end confdefs.h. */
23909
23910 #include <X11/Xlib.h>
23911 #include <X11/extensions/shape.h>
23912
23913int
23914main ()
23915{
23916
23917 int dummy1, dummy2;
23918 XShapeQueryExtension((Display*)NULL,
23919 (int*)NULL, (int*)NULL);
23920
23921 ;
23922 return 0;
23923}
23924_ACEOF
23925rm -f conftest.$ac_objext
23926if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23927 (eval $ac_compile) 2>&5
23928 ac_status=$?
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } &&
23931 { ac_try='test -s conftest.$ac_objext'
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933 (eval $ac_try) 2>&5
23934 ac_status=$?
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; }; then
23937
23938 cat >>confdefs.h <<\_ACEOF
23939#define HAVE_XSHAPE 1
23940_ACEOF
23941
23942 echo "$as_me:$LINENO: result: found" >&5
23943echo "${ECHO_T}found" >&6
23944
23945else
23946 echo "$as_me: failed program was:" >&5
23947sed 's/^/| /' conftest.$ac_ext >&5
23948
23949
23950 echo "$as_me:$LINENO: result: not found" >&5
23951echo "${ECHO_T}not found" >&6
23952
23953fi
23954rm -f conftest.$ac_objext conftest.$ac_ext
23955 CFLAGS="$save_CFLAGS"
23956 fi
23957
23958 if test "$wxUSE_MAC" = 1; then
23959 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23960
23961 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23962 TOOLKIT=MAC
23963 GUIDIST=MACX_DIST
23964 fi
23965
23966 if test "$wxUSE_COCOA" = 1; then
23967 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
23968 TOOLKIT=COCOA
23969 GUIDIST=COCOA_DIST
23970 fi
23971
23972 if test "$wxUSE_PM" = 1; then
23973 TOOLKIT=PM
23974 GUIDIST=GTK_DIST
23975 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23976echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23977 wxUSE_THREADS="no"
23978 fi
23979
23980 if test "$TOOLKIT" = "PM" ; then
23981 TOOLKIT_DIR="os2"
23982 else
23983 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23984 fi
23985
23986 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23987
23988 if test "$wxUSE_UNIVERSAL" = "yes"; then
23989 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23990
23991 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23992 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23993
23994 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23995 if test "$wxUSE_X11" = 1; then
23996 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23997 else
23998 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
23999 fi
24000 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24001 WIDGET_SET=univ
24002 else
24003 ALL_OBJECTS="\$(GUIOBJS)"
24004 ALL_SOURCES="\$(ALL_SOURCES)"
24005 ALL_HEADERS="\$(ALL_HEADERS)"
24006 fi
24007
24008 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24009
24010 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24011 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24012 fi
24013
24014 if test "$wxUSE_HTML" = "yes"; then
24015 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24016 fi
24017
24018 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24019 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24020 fi
24021 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24022 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24023 fi
24024 if test "$wxUSE_LIBPNG" = "builtin" ; then
24025 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24026 fi
24027
24028 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24029 DISTDIR="wx\$(TOOLKIT)"
24030else
24031 USE_GUI=0
24032
24033 TOOLKIT_DIR="base"
24034
24035 if test "$USE_WIN32" = 1 ; then
24036 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24037 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24038
24039 TOOLKIT="MSW"
24040 else
24041 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24042 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24043 fi
24044
24045 ALL_SOURCES="\$(ALL_SOURCES)"
24046 ALL_HEADERS="\$(ALL_HEADERS)"
24047
24048 PORT_FILES="\${top_srcdir}/src/files.lst"
24049
24050 GUIDIST="BASE_DIST"
24051 DISTDIR="wxBase"
24052fi
24053
24054
24055
24056
24057IODBC_C_SRC=""
24058
24059
24060if test "$TOOLKIT" != "MSW" ; then
24061
24062 if test "$wxUSE_ODBC" != "no" ; then
24063 cat >>confdefs.h <<\_ACEOF
24064#define wxUSE_ODBC 1
24065_ACEOF
24066
24067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24068
24069 WXODBCFLAG="-D_IODBC_"
24070
24071
24072 if test "$wxUSE_ODBC" = "sys" ; then
24073
24074 if test "${ac_cv_header_sql_h+set}" = set; then
24075 echo "$as_me:$LINENO: checking for sql.h" >&5
24076echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24077if test "${ac_cv_header_sql_h+set}" = set; then
24078 echo $ECHO_N "(cached) $ECHO_C" >&6
24079fi
24080echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24081echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24082else
24083 # Is the header compilable?
24084echo "$as_me:$LINENO: checking sql.h usability" >&5
24085echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24086cat >conftest.$ac_ext <<_ACEOF
24087#line $LINENO "configure"
24088/* confdefs.h. */
24089_ACEOF
24090cat confdefs.h >>conftest.$ac_ext
24091cat >>conftest.$ac_ext <<_ACEOF
24092/* end confdefs.h. */
24093$ac_includes_default
24094#include <sql.h>
24095_ACEOF
24096rm -f conftest.$ac_objext
24097if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24098 (eval $ac_compile) 2>&5
24099 ac_status=$?
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try='test -s conftest.$ac_objext'
24103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104 (eval $ac_try) 2>&5
24105 ac_status=$?
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); }; }; then
24108 ac_header_compiler=yes
24109else
24110 echo "$as_me: failed program was:" >&5
24111sed 's/^/| /' conftest.$ac_ext >&5
24112
24113ac_header_compiler=no
24114fi
24115rm -f conftest.$ac_objext conftest.$ac_ext
24116echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24117echo "${ECHO_T}$ac_header_compiler" >&6
24118
24119# Is the header present?
24120echo "$as_me:$LINENO: checking sql.h presence" >&5
24121echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24122cat >conftest.$ac_ext <<_ACEOF
24123#line $LINENO "configure"
24124/* confdefs.h. */
24125_ACEOF
24126cat confdefs.h >>conftest.$ac_ext
24127cat >>conftest.$ac_ext <<_ACEOF
24128/* end confdefs.h. */
24129#include <sql.h>
24130_ACEOF
24131if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24133 ac_status=$?
24134 grep -v '^ *+' conftest.er1 >conftest.err
24135 rm -f conftest.er1
24136 cat conftest.err >&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } >/dev/null; then
24139 if test -s conftest.err; then
24140 ac_cpp_err=$ac_c_preproc_warn_flag
24141 else
24142 ac_cpp_err=
24143 fi
24144else
24145 ac_cpp_err=yes
24146fi
24147if test -z "$ac_cpp_err"; then
24148 ac_header_preproc=yes
24149else
24150 echo "$as_me: failed program was:" >&5
24151sed 's/^/| /' conftest.$ac_ext >&5
24152
24153 ac_header_preproc=no
24154fi
24155rm -f conftest.err conftest.$ac_ext
24156echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24157echo "${ECHO_T}$ac_header_preproc" >&6
24158
24159# So? What about this header?
24160case $ac_header_compiler:$ac_header_preproc in
24161 yes:no )
24162 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24163echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24164 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24165echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24166 (
24167 cat <<\_ASBOX
24168## ------------------------------------ ##
24169## Report this to bug-autoconf@gnu.org. ##
24170## ------------------------------------ ##
24171_ASBOX
24172 ) |
24173 sed "s/^/$as_me: WARNING: /" >&2
24174 ;;
24175 no:yes )
24176 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24177echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24178 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24179echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24180 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24181echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24182 (
24183 cat <<\_ASBOX
24184## ------------------------------------ ##
24185## Report this to bug-autoconf@gnu.org. ##
24186## ------------------------------------ ##
24187_ASBOX
24188 ) |
24189 sed "s/^/$as_me: WARNING: /" >&2
24190 ;;
24191esac
24192echo "$as_me:$LINENO: checking for sql.h" >&5
24193echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24194if test "${ac_cv_header_sql_h+set}" = set; then
24195 echo $ECHO_N "(cached) $ECHO_C" >&6
24196else
24197 ac_cv_header_sql_h=$ac_header_preproc
24198fi
24199echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24200echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24201
24202fi
24203
24204
24205 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24206echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24207if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24208 echo $ECHO_N "(cached) $ECHO_C" >&6
24209else
24210 ac_func_search_save_LIBS=$LIBS
24211ac_cv_search_SQLAllocEnv=no
24212cat >conftest.$ac_ext <<_ACEOF
24213#line $LINENO "configure"
24214/* confdefs.h. */
24215_ACEOF
24216cat confdefs.h >>conftest.$ac_ext
24217cat >>conftest.$ac_ext <<_ACEOF
24218/* end confdefs.h. */
24219
24220/* Override any gcc2 internal prototype to avoid an error. */
24221#ifdef __cplusplus
24222extern "C"
24223#endif
24224/* We use char because int might match the return type of a gcc2
24225 builtin and then its argument prototype would still apply. */
24226char SQLAllocEnv ();
24227int
24228main ()
24229{
24230SQLAllocEnv ();
24231 ;
24232 return 0;
24233}
24234_ACEOF
24235rm -f conftest.$ac_objext conftest$ac_exeext
24236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24237 (eval $ac_link) 2>&5
24238 ac_status=$?
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); } &&
24241 { ac_try='test -s conftest$ac_exeext'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24244 ac_status=$?
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; }; then
24247 ac_cv_search_SQLAllocEnv="none required"
24248else
24249 echo "$as_me: failed program was:" >&5
24250sed 's/^/| /' conftest.$ac_ext >&5
24251
24252fi
24253rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24254if test "$ac_cv_search_SQLAllocEnv" = no; then
24255 for ac_lib in iodbc unixodbc odbc ; do
24256 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24257 cat >conftest.$ac_ext <<_ACEOF
24258#line $LINENO "configure"
24259/* confdefs.h. */
24260_ACEOF
24261cat confdefs.h >>conftest.$ac_ext
24262cat >>conftest.$ac_ext <<_ACEOF
24263/* end confdefs.h. */
24264
24265/* Override any gcc2 internal prototype to avoid an error. */
24266#ifdef __cplusplus
24267extern "C"
24268#endif
24269/* We use char because int might match the return type of a gcc2
24270 builtin and then its argument prototype would still apply. */
24271char SQLAllocEnv ();
24272int
24273main ()
24274{
24275SQLAllocEnv ();
24276 ;
24277 return 0;
24278}
24279_ACEOF
24280rm -f conftest.$ac_objext conftest$ac_exeext
24281if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24282 (eval $ac_link) 2>&5
24283 ac_status=$?
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); } &&
24286 { ac_try='test -s conftest$ac_exeext'
24287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24288 (eval $ac_try) 2>&5
24289 ac_status=$?
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); }; }; then
24292 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24293break
24294else
24295 echo "$as_me: failed program was:" >&5
24296sed 's/^/| /' conftest.$ac_ext >&5
24297
24298fi
24299rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24300 done
24301fi
24302LIBS=$ac_func_search_save_LIBS
24303fi
24304echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24305echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24306if test "$ac_cv_search_SQLAllocEnv" != no; then
24307 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24308
24309else
24310
24311 wxUSE_ODBC=builtin;
24312 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24313echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24314
24315fi
24316
24317 fi
24318 if test "$wxUSE_ODBC" != "sys" ; then
24319 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24320 fi
24321
24322 fi
24323
24324fi
24325
24326if test "$wxUSE_REGEX" = "builtin" ; then
24327 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24328fi
24329if test "$wxUSE_ZLIB" = "builtin" ; then
24330 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24331fi
24332
24333
24334if test "$wxUSE_OPENGL" = "yes"; then
24335 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24336 OPENGL_LIBS="-framework OpenGL -framework AGL"
24337 elif test "$wxUSE_MSW" = 1; then
24338 OPENGL_LIBS="-lopengl32 -lglu32"
24339 else
24340
24341
24342ac_find_includes=
24343for ac_dir in $SEARCH_INCLUDE /usr/include;
24344 do
24345 if test -f "$ac_dir/GL/gl.h"; then
24346 ac_find_includes=$ac_dir
24347 break
24348 fi
24349 done
24350
24351 if test "$ac_find_includes" != "" ; then
24352 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24353echo "${ECHO_T}found in $ac_find_includes" >&6
24354 set -x
24355
24356 if test "x$ac_find_includes" = "x/usr/include"; then
24357 ac_path_to_include=""
24358 else
24359 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24360 result=$?
24361 if test $result = 0; then
24362 ac_path_to_include=""
24363 else
24364 ac_path_to_include=" -I$ac_find_includes"
24365 fi
24366 fi
24367
24368 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24369 set +x
24370 fi
24371
24372 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24373 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24374echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24375if test "${ac_cv_header_GL_gl_h+set}" = set; then
24376 echo $ECHO_N "(cached) $ECHO_C" >&6
24377fi
24378echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24379echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24380else
24381 # Is the header compilable?
24382echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24383echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24384cat >conftest.$ac_ext <<_ACEOF
24385#line $LINENO "configure"
24386/* confdefs.h. */
24387_ACEOF
24388cat confdefs.h >>conftest.$ac_ext
24389cat >>conftest.$ac_ext <<_ACEOF
24390/* end confdefs.h. */
24391$ac_includes_default
24392#include <GL/gl.h>
24393_ACEOF
24394rm -f conftest.$ac_objext
24395if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24396 (eval $ac_compile) 2>&5
24397 ac_status=$?
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); } &&
24400 { ac_try='test -s conftest.$ac_objext'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24403 ac_status=$?
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; }; then
24406 ac_header_compiler=yes
24407else
24408 echo "$as_me: failed program was:" >&5
24409sed 's/^/| /' conftest.$ac_ext >&5
24410
24411ac_header_compiler=no
24412fi
24413rm -f conftest.$ac_objext conftest.$ac_ext
24414echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24415echo "${ECHO_T}$ac_header_compiler" >&6
24416
24417# Is the header present?
24418echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24419echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24420cat >conftest.$ac_ext <<_ACEOF
24421#line $LINENO "configure"
24422/* confdefs.h. */
24423_ACEOF
24424cat confdefs.h >>conftest.$ac_ext
24425cat >>conftest.$ac_ext <<_ACEOF
24426/* end confdefs.h. */
24427#include <GL/gl.h>
24428_ACEOF
24429if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24431 ac_status=$?
24432 grep -v '^ *+' conftest.er1 >conftest.err
24433 rm -f conftest.er1
24434 cat conftest.err >&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } >/dev/null; then
24437 if test -s conftest.err; then
24438 ac_cpp_err=$ac_c_preproc_warn_flag
24439 else
24440 ac_cpp_err=
24441 fi
24442else
24443 ac_cpp_err=yes
24444fi
24445if test -z "$ac_cpp_err"; then
24446 ac_header_preproc=yes
24447else
24448 echo "$as_me: failed program was:" >&5
24449sed 's/^/| /' conftest.$ac_ext >&5
24450
24451 ac_header_preproc=no
24452fi
24453rm -f conftest.err conftest.$ac_ext
24454echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24455echo "${ECHO_T}$ac_header_preproc" >&6
24456
24457# So? What about this header?
24458case $ac_header_compiler:$ac_header_preproc in
24459 yes:no )
24460 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24461echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24462 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24463echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24464 (
24465 cat <<\_ASBOX
24466## ------------------------------------ ##
24467## Report this to bug-autoconf@gnu.org. ##
24468## ------------------------------------ ##
24469_ASBOX
24470 ) |
24471 sed "s/^/$as_me: WARNING: /" >&2
24472 ;;
24473 no:yes )
24474 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24475echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24476 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24477echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24478 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24479echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24480 (
24481 cat <<\_ASBOX
24482## ------------------------------------ ##
24483## Report this to bug-autoconf@gnu.org. ##
24484## ------------------------------------ ##
24485_ASBOX
24486 ) |
24487 sed "s/^/$as_me: WARNING: /" >&2
24488 ;;
24489esac
24490echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24491echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24492if test "${ac_cv_header_GL_gl_h+set}" = set; then
24493 echo $ECHO_N "(cached) $ECHO_C" >&6
24494else
24495 ac_cv_header_GL_gl_h=$ac_header_preproc
24496fi
24497echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24498echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24499
24500fi
24501if test $ac_cv_header_GL_gl_h = yes; then
24502
24503 found_gl=0
24504
24505 echo "$as_me:$LINENO: checking for -lGL" >&5
24506echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24507
24508ac_find_libraries=
24509for ac_dir in $SEARCH_LIB /usr/lib;
24510 do
24511 for ac_extension in a so sl dylib; do
24512 if test -f "$ac_dir/libGL.$ac_extension"; then
24513 ac_find_libraries=$ac_dir
24514 break 2
24515 fi
24516 done
24517 done
24518
24519 if test "$ac_find_libraries" != "" ; then
24520
24521 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24522 result=$?
24523 if test $result = 0; then
24524 ac_path_to_link=""
24525 else
24526 ac_path_to_link=" -L$ac_find_libraries"
24527 fi
24528
24529 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24530 LDFLAGS_GL="$ac_path_to_link"
24531 fi
24532
24533
24534ac_find_libraries=
24535for ac_dir in $SEARCH_LIB /usr/lib;
24536 do
24537 for ac_extension in a so sl dylib; do
24538 if test -f "$ac_dir/libGLU.$ac_extension"; then
24539 ac_find_libraries=$ac_dir
24540 break 2
24541 fi
24542 done
24543 done
24544
24545 if test "$ac_find_libraries" != "" ; then
24546
24547 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24548 result=$?
24549 if test $result = 0; then
24550 ac_path_to_link=""
24551 else
24552 ac_path_to_link=" -L$ac_find_libraries"
24553 fi
24554
24555 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24556 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24557 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24558 fi
24559
24560 found_gl=1
24561 OPENGL_LIBS="-lGL -lGLU"
24562 echo "$as_me:$LINENO: result: yes" >&5
24563echo "${ECHO_T}yes" >&6
24564 fi
24565 fi
24566
24567 if "$found_gl" != 1; then
24568 echo "$as_me:$LINENO: result: no" >&5
24569echo "${ECHO_T}no" >&6
24570 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24571echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24572
24573ac_find_libraries=
24574for ac_dir in $SEARCH_LIB /usr/lib;
24575 do
24576 for ac_extension in a so sl dylib; do
24577 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24578 ac_find_libraries=$ac_dir
24579 break 2
24580 fi
24581 done
24582 done
24583
24584 if test "$ac_find_libraries" != "" ; then
24585
24586 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24587 result=$?
24588 if test $result = 0; then
24589 ac_path_to_link=""
24590 else
24591 ac_path_to_link=" -L$ac_find_libraries"
24592 fi
24593
24594 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24595 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24596 echo "$as_me:$LINENO: result: yes" >&5
24597echo "${ECHO_T}yes" >&6
24598 else
24599 echo "$as_me:$LINENO: result: no" >&5
24600echo "${ECHO_T}no" >&6
24601 fi
24602 fi
24603
24604fi
24605
24606
24607
24608 if test "x$OPENGL_LIBS" = "x"; then
24609 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24610echo "$as_me: error: OpenGL libraries not available" >&2;}
24611 { (exit 1); exit 1; }; }
24612 fi
24613 fi
24614
24615 if test "$wxUSE_OPENGL" = "yes"; then
24616 cat >>confdefs.h <<\_ACEOF
24617#define wxUSE_OPENGL 1
24618_ACEOF
24619
24620 cat >>confdefs.h <<\_ACEOF
24621#define wxUSE_GLCANVAS 1
24622_ACEOF
24623
24624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24625 fi
24626fi
24627
24628if test -z "$TOOLKIT_VPATH" ; then
24629 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24630fi
24631
24632if test -n "$TOOLKIT" ; then
24633 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24634fi
24635
24636UNICODE=0
24637lib_unicode_suffix=
24638if test "$wxUSE_UNICODE" = "yes"; then
24639 lib_unicode_suffix=u
24640 UNICODE=1
24641fi
24642
24643lib_debug_suffix=
24644BUILD=release
24645if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24646 lib_debug_suffix=d
24647 BUILD=debug
24648fi
24649
24650WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24651
24652TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24653TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24654
24655if test "$cross_compiling" = "yes"; then
24656 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24657 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24658fi
24659
24660WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24661WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24662WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24663
24664WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24665WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24666
24667WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24668WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24669WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24670WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24671
24672case "${host}" in
24673 *-*-cygwin* | *-*-mingw32* )
24674
24675
24676
24677 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24678 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24679 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24680 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24681 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24682 else
24683 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24684 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24685 fi
24686 ;;
24687
24688 *-*-darwin* )
24689
24690 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24691 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24692
24693 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24694 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24695 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24696 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24697
24698 if test "$wxUSE_MAC" = 1; then
24699 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24700 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24701 fi
24702 ;;
24703esac
24704
24705WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24706WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24707
24708WXCONFIG_LIBS="-l${WX_LIBRARY}"
24709WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24710
24711if test "$wxUSE_OPENGL" = "yes"; then
24712 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24713 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24714fi
24715
24716
24717
24718if test "$wxUSE_SHARED" = "yes"; then
24719 case "${host}" in
24720 *-pc-os2_emx | *-pc-os2-emx | \
24721 *-pc-msdosdjgpp )
24722 wxUSE_SHARED=no
24723 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24724echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24725 ;;
24726 esac
24727fi
24728
24729SHARED=0
24730if test "$wxUSE_SHARED" = "yes"; then
24731 SHARED=1
24732
24733 if test "$wxUSE_OPENGL" = "yes"; then
24734 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24735 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24736 else
24737 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24738 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24739 fi
24740
24741 if test "$GCC" = "yes"; then
24742 PIC_FLAG="-fPIC"
24743 fi
24744
24745
24746
24747 found_versioning=no
24748
24749
24750 if test $found_versioning = no ; then
24751 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24752echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24753if test "${wx_cv_version_script+set}" = set; then
24754 echo $ECHO_N "(cached) $ECHO_C" >&6
24755else
24756
24757 echo "VER_1 { *; };" >conftest.sym
24758 echo "int main() { return 0; }" >conftest.cpp
24759
24760 if { ac_try='
24761 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24762 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24764 (eval $ac_try) 2>&5
24765 ac_status=$?
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); }; } ; then
24768 if test -s conftest.stderr ; then
24769 wx_cv_version_script=no
24770 else
24771 wx_cv_version_script=yes
24772 fi
24773 else
24774 wx_cv_version_script=no
24775 fi
24776 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24777
24778fi
24779echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24780echo "${ECHO_T}$wx_cv_version_script" >&6
24781 if test $wx_cv_version_script = yes ; then
24782 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24783 fi
24784 fi
24785
24786
24787 SHARED_LD="${CXX} -shared -o"
24788
24789 case "${host}" in
24790 *-hp-hpux* )
24791 if test "$GCC" = "yes"; then
24792 SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
24793 else
24794 LDFLAGS="$LDFLAGS -L/usr/lib"
24795
24796 SHARED_LD="${CXX} -b -o"
24797 PIC_FLAG="+Z"
24798 fi
24799
24800 if test "$wxUSE_OPENGL" = "yes"; then
24801 WX_ALL_INSTALLED="preinstall_gl"
24802 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24803 else
24804 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24805 fi
24806 ;;
24807
24808 *-*-linux* | *-*-gnu* )
24809 if test "$GCC" != "yes"; then
24810 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24811echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24812if test "${wx_cv_prog_icc+set}" = set; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24814else
24815
24816 cat >conftest.$ac_ext <<_ACEOF
24817#line $LINENO "configure"
24818/* confdefs.h. */
24819_ACEOF
24820cat confdefs.h >>conftest.$ac_ext
24821cat >>conftest.$ac_ext <<_ACEOF
24822/* end confdefs.h. */
24823
24824int
24825main ()
24826{
24827
24828 #ifndef __INTEL_COMPILER
24829 #error Not icc
24830 #endif
24831
24832 ;
24833 return 0;
24834}
24835_ACEOF
24836rm -f conftest.$ac_objext
24837if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24838 (eval $ac_compile) 2>&5
24839 ac_status=$?
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); } &&
24842 { ac_try='test -s conftest.$ac_objext'
24843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24844 (eval $ac_try) 2>&5
24845 ac_status=$?
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); }; }; then
24848 wx_cv_prog_icc=yes
24849else
24850 echo "$as_me: failed program was:" >&5
24851sed 's/^/| /' conftest.$ac_ext >&5
24852
24853wx_cv_prog_icc=no
24854
24855fi
24856rm -f conftest.$ac_objext conftest.$ac_ext
24857
24858fi
24859echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24860echo "${ECHO_T}$wx_cv_prog_icc" >&6
24861 if test "$wx_cv_prog_icc" = "yes"; then
24862 PIC_FLAG="-KPIC"
24863 fi
24864 fi
24865
24866 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24867 ;;
24868
24869 *-*-solaris2* )
24870 if test "$GCC" = yes ; then
24871 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24872
24873 saveLdflags="$LDFLAGS"
24874 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24875 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24876echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24877 cat >conftest.$ac_ext <<_ACEOF
24878#line $LINENO "configure"
24879/* confdefs.h. */
24880_ACEOF
24881cat confdefs.h >>conftest.$ac_ext
24882cat >>conftest.$ac_ext <<_ACEOF
24883/* end confdefs.h. */
24884
24885int
24886main ()
24887{
24888
24889 ;
24890 return 0;
24891}
24892_ACEOF
24893rm -f conftest.$ac_objext conftest$ac_exeext
24894if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>&5
24896 ac_status=$?
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try='test -s conftest$ac_exeext'
24900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24901 (eval $ac_try) 2>&5
24902 ac_status=$?
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); }; }; then
24905
24906 echo "$as_me:$LINENO: result: yes" >&5
24907echo "${ECHO_T}yes" >&6
24908 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24909
24910else
24911 echo "$as_me: failed program was:" >&5
24912sed 's/^/| /' conftest.$ac_ext >&5
24913
24914
24915 echo "$as_me:$LINENO: result: no" >&5
24916echo "${ECHO_T}no" >&6
24917 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24918echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24919 LDFLAGS="$saveLdflags -Wl,-R,/"
24920 cat >conftest.$ac_ext <<_ACEOF
24921#line $LINENO "configure"
24922/* confdefs.h. */
24923_ACEOF
24924cat confdefs.h >>conftest.$ac_ext
24925cat >>conftest.$ac_ext <<_ACEOF
24926/* end confdefs.h. */
24927
24928int
24929main ()
24930{
24931
24932 ;
24933 return 0;
24934}
24935_ACEOF
24936rm -f conftest.$ac_objext conftest$ac_exeext
24937if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24938 (eval $ac_link) 2>&5
24939 ac_status=$?
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } &&
24942 { ac_try='test -s conftest$ac_exeext'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24945 ac_status=$?
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; }; then
24948
24949 echo "$as_me:$LINENO: result: yes" >&5
24950echo "${ECHO_T}yes" >&6
24951 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24952else
24953 echo "$as_me: failed program was:" >&5
24954sed 's/^/| /' conftest.$ac_ext >&5
24955
24956
24957 echo "$as_me:$LINENO: result: no" >&5
24958echo "${ECHO_T}no" >&6
24959
24960fi
24961rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24962
24963fi
24964rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24965 LDFLAGS="$saveLdflags"
24966 else
24967 SHARED_LD="${CXX} -G -o"
24968 PIC_FLAG="-KPIC"
24969 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24970 fi
24971 ;;
24972
24973 *-*-darwin* )
24974 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
24975 CFLAGS="$CFLAGS -fno-common"
24976 CXXFLAGS="$CXXFLAGS -fno-common"
24977 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
24978 PIC_FLAG="-dynamic -fPIC"
24979 ;;
24980
24981 *-*-aix* )
24982 if test "$GCC" != "yes"; then
24983 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
24984set dummy makeC++SharedLib; ac_word=$2
24985echo "$as_me:$LINENO: checking for $ac_word" >&5
24986echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24987if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
24988 echo $ECHO_N "(cached) $ECHO_C" >&6
24989else
24990 if test -n "$AIX_CXX_LD"; then
24991 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
24992else
24993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24994for as_dir in $PATH
24995do
24996 IFS=$as_save_IFS
24997 test -z "$as_dir" && as_dir=.
24998 for ac_exec_ext in '' $ac_executable_extensions; do
24999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25000 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
25001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25002 break 2
25003 fi
25004done
25005done
25006
25007 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
25008fi
25009fi
25010AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
25011if test -n "$AIX_CXX_LD"; then
25012 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
25013echo "${ECHO_T}$AIX_CXX_LD" >&6
25014else
25015 echo "$as_me:$LINENO: result: no" >&5
25016echo "${ECHO_T}no" >&6
25017fi
25018
25019
25020 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
25021 fi
25022 ;;
25023
25024 *-*-cygwin* | *-*-mingw32* )
25025 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
25026
25027 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
25028 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
25029
25030 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
25031
25032 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
25033 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
25034
25035 if test "$wxUSE_OPENGL" = "yes"; then
25036 LIBS="${LIBS} ${OPENGL_LIBS}"
25037 fi
25038 ;;
25039
25040 *-*-beos* )
25041 SHARED_LD="${LD} -shared -o"
25042 ;;
25043
25044 *-*-irix* )
25045 if test "$GCC" != "yes"; then
25046 PIC_FLAG="-KPIC"
25047 fi
25048 ;;
25049
25050 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25051 *-*-sunos4* | \
25052 *-*-osf* | \
25053 *-*-dgux5* | \
25054 *-*-sysv5* )
25055 ;;
25056
25057 *)
25058 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25059echo "$as_me: error: unknown system type $host." >&2;}
25060 { (exit 1); exit 1; }; }
25061 esac
25062
25063 if test "x$WX_TARGET_LIBRARY" = "x"; then
25064 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25065 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25066 fi
25067
25068 WX_TARGET_LIBRARY_TYPE="so"
25069 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25070fi
25071
25072if test "$wxUSE_SHARED" = "no"; then
25073
25074 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25075 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25076 fi
25077
25078 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25079 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25080 fi
25081
25082 if test "$wxUSE_OPENGL" = "yes"; then
25083 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25084 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25085 else
25086 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25087 fi
25088
25089 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25090 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25091
25092 WX_TARGET_LIBRARY_TYPE="a"
25093 INSTALL_LIBRARY='$(INSTALL_DATA)'
25094
25095 STATIC_FLAG="yes"
25096else
25097 STATIC_FLAG="no"
25098fi
25099
25100MACRESCOMP="@#"
25101MACSETFILE="@#"
25102MACRESWXCONFIG="#"
25103if test "$wxUSE_MAC" = 1; then
25104 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25105 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25106 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25107 # Extract the first word of "Rez", so it can be a program name with args.
25108set dummy Rez; ac_word=$2
25109echo "$as_me:$LINENO: checking for $ac_word" >&5
25110echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25111if test "${ac_cv_prog_RESCOMP+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25113else
25114 if test -n "$RESCOMP"; then
25115 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25116else
25117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25118for as_dir in $PATH
25119do
25120 IFS=$as_save_IFS
25121 test -z "$as_dir" && as_dir=.
25122 for ac_exec_ext in '' $ac_executable_extensions; do
25123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25124 ac_cv_prog_RESCOMP="Rez"
25125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25126 break 2
25127 fi
25128done
25129done
25130
25131 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25132fi
25133fi
25134RESCOMP=$ac_cv_prog_RESCOMP
25135if test -n "$RESCOMP"; then
25136 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25137echo "${ECHO_T}$RESCOMP" >&6
25138else
25139 echo "$as_me:$LINENO: result: no" >&5
25140echo "${ECHO_T}no" >&6
25141fi
25142
25143 # Extract the first word of "DeRez", so it can be a program name with args.
25144set dummy DeRez; ac_word=$2
25145echo "$as_me:$LINENO: checking for $ac_word" >&5
25146echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25147if test "${ac_cv_prog_DEREZ+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25149else
25150 if test -n "$DEREZ"; then
25151 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25152else
25153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25154for as_dir in $PATH
25155do
25156 IFS=$as_save_IFS
25157 test -z "$as_dir" && as_dir=.
25158 for ac_exec_ext in '' $ac_executable_extensions; do
25159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25160 ac_cv_prog_DEREZ="DeRez"
25161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25162 break 2
25163 fi
25164done
25165done
25166
25167 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25168fi
25169fi
25170DEREZ=$ac_cv_prog_DEREZ
25171if test -n "$DEREZ"; then
25172 echo "$as_me:$LINENO: result: $DEREZ" >&5
25173echo "${ECHO_T}$DEREZ" >&6
25174else
25175 echo "$as_me:$LINENO: result: no" >&5
25176echo "${ECHO_T}no" >&6
25177fi
25178
25179 # Extract the first word of "SetFile", so it can be a program name with args.
25180set dummy SetFile; ac_word=$2
25181echo "$as_me:$LINENO: checking for $ac_word" >&5
25182echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25183if test "${ac_cv_prog_SETFILE+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25185else
25186 if test -n "$SETFILE"; then
25187 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25188else
25189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25190for as_dir in $PATH
25191do
25192 IFS=$as_save_IFS
25193 test -z "$as_dir" && as_dir=.
25194 for ac_exec_ext in '' $ac_executable_extensions; do
25195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25196 ac_cv_prog_SETFILE="SetFile"
25197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25198 break 2
25199 fi
25200done
25201done
25202
25203 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25204fi
25205fi
25206SETFILE=$ac_cv_prog_SETFILE
25207if test -n "$SETFILE"; then
25208 echo "$as_me:$LINENO: result: $SETFILE" >&5
25209echo "${ECHO_T}$SETFILE" >&6
25210else
25211 echo "$as_me:$LINENO: result: no" >&5
25212echo "${ECHO_T}no" >&6
25213fi
25214
25215 MACOSX_BUNDLE="bundle"
25216 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25217 MACSETFILE="\$(SETFILE)"
25218 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25219elif test "$wxUSE_COCOA" = 1; then
25220 # Extract the first word of "Rez", so it can be a program name with args.
25221set dummy Rez; ac_word=$2
25222echo "$as_me:$LINENO: checking for $ac_word" >&5
25223echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25224if test "${ac_cv_prog_RESCOMP+set}" = set; then
25225 echo $ECHO_N "(cached) $ECHO_C" >&6
25226else
25227 if test -n "$RESCOMP"; then
25228 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25229else
25230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25231for as_dir in $PATH
25232do
25233 IFS=$as_save_IFS
25234 test -z "$as_dir" && as_dir=.
25235 for ac_exec_ext in '' $ac_executable_extensions; do
25236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25237 ac_cv_prog_RESCOMP="Rez"
25238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25239 break 2
25240 fi
25241done
25242done
25243
25244 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25245fi
25246fi
25247RESCOMP=$ac_cv_prog_RESCOMP
25248if test -n "$RESCOMP"; then
25249 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25250echo "${ECHO_T}$RESCOMP" >&6
25251else
25252 echo "$as_me:$LINENO: result: no" >&5
25253echo "${ECHO_T}no" >&6
25254fi
25255
25256 # Extract the first word of "DeRez", so it can be a program name with args.
25257set dummy DeRez; ac_word=$2
25258echo "$as_me:$LINENO: checking for $ac_word" >&5
25259echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25260if test "${ac_cv_prog_DEREZ+set}" = set; then
25261 echo $ECHO_N "(cached) $ECHO_C" >&6
25262else
25263 if test -n "$DEREZ"; then
25264 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25265else
25266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25267for as_dir in $PATH
25268do
25269 IFS=$as_save_IFS
25270 test -z "$as_dir" && as_dir=.
25271 for ac_exec_ext in '' $ac_executable_extensions; do
25272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25273 ac_cv_prog_DEREZ="DeRez"
25274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25275 break 2
25276 fi
25277done
25278done
25279
25280 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25281fi
25282fi
25283DEREZ=$ac_cv_prog_DEREZ
25284if test -n "$DEREZ"; then
25285 echo "$as_me:$LINENO: result: $DEREZ" >&5
25286echo "${ECHO_T}$DEREZ" >&6
25287else
25288 echo "$as_me:$LINENO: result: no" >&5
25289echo "${ECHO_T}no" >&6
25290fi
25291
25292 # Extract the first word of "SetFile", so it can be a program name with args.
25293set dummy SetFile; ac_word=$2
25294echo "$as_me:$LINENO: checking for $ac_word" >&5
25295echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25296if test "${ac_cv_prog_SETFILE+set}" = set; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25298else
25299 if test -n "$SETFILE"; then
25300 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25301else
25302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25303for as_dir in $PATH
25304do
25305 IFS=$as_save_IFS
25306 test -z "$as_dir" && as_dir=.
25307 for ac_exec_ext in '' $ac_executable_extensions; do
25308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25309 ac_cv_prog_SETFILE="SetFile"
25310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25311 break 2
25312 fi
25313done
25314done
25315
25316 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25317fi
25318fi
25319SETFILE=$ac_cv_prog_SETFILE
25320if test -n "$SETFILE"; then
25321 echo "$as_me:$LINENO: result: $SETFILE" >&5
25322echo "${ECHO_T}$SETFILE" >&6
25323else
25324 echo "$as_me:$LINENO: result: no" >&5
25325echo "${ECHO_T}no" >&6
25326fi
25327
25328 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25329 MACSETFILE="\$(SETFILE)"
25330 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25331else
25332 if test "$wxUSE_PM" = 1; then
25333 MACRESCOMP="emxbind -ep"
25334 fi
25335fi
25336
25337
25338echo "$as_me:$LINENO: checking for mode_t" >&5
25339echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25340if test "${ac_cv_type_mode_t+set}" = set; then
25341 echo $ECHO_N "(cached) $ECHO_C" >&6
25342else
25343 cat >conftest.$ac_ext <<_ACEOF
25344#line $LINENO "configure"
25345/* confdefs.h. */
25346_ACEOF
25347cat confdefs.h >>conftest.$ac_ext
25348cat >>conftest.$ac_ext <<_ACEOF
25349/* end confdefs.h. */
25350$ac_includes_default
25351int
25352main ()
25353{
25354if ((mode_t *) 0)
25355 return 0;
25356if (sizeof (mode_t))
25357 return 0;
25358 ;
25359 return 0;
25360}
25361_ACEOF
25362rm -f conftest.$ac_objext
25363if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25364 (eval $ac_compile) 2>&5
25365 ac_status=$?
25366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 (exit $ac_status); } &&
25368 { ac_try='test -s conftest.$ac_objext'
25369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25370 (eval $ac_try) 2>&5
25371 ac_status=$?
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); }; }; then
25374 ac_cv_type_mode_t=yes
25375else
25376 echo "$as_me: failed program was:" >&5
25377sed 's/^/| /' conftest.$ac_ext >&5
25378
25379ac_cv_type_mode_t=no
25380fi
25381rm -f conftest.$ac_objext conftest.$ac_ext
25382fi
25383echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25384echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25385if test $ac_cv_type_mode_t = yes; then
25386 :
25387else
25388
25389cat >>confdefs.h <<_ACEOF
25390#define mode_t int
25391_ACEOF
25392
25393fi
25394
25395echo "$as_me:$LINENO: checking for off_t" >&5
25396echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25397if test "${ac_cv_type_off_t+set}" = set; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25399else
25400 cat >conftest.$ac_ext <<_ACEOF
25401#line $LINENO "configure"
25402/* confdefs.h. */
25403_ACEOF
25404cat confdefs.h >>conftest.$ac_ext
25405cat >>conftest.$ac_ext <<_ACEOF
25406/* end confdefs.h. */
25407$ac_includes_default
25408int
25409main ()
25410{
25411if ((off_t *) 0)
25412 return 0;
25413if (sizeof (off_t))
25414 return 0;
25415 ;
25416 return 0;
25417}
25418_ACEOF
25419rm -f conftest.$ac_objext
25420if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25421 (eval $ac_compile) 2>&5
25422 ac_status=$?
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } &&
25425 { ac_try='test -s conftest.$ac_objext'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; }; then
25431 ac_cv_type_off_t=yes
25432else
25433 echo "$as_me: failed program was:" >&5
25434sed 's/^/| /' conftest.$ac_ext >&5
25435
25436ac_cv_type_off_t=no
25437fi
25438rm -f conftest.$ac_objext conftest.$ac_ext
25439fi
25440echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25441echo "${ECHO_T}$ac_cv_type_off_t" >&6
25442if test $ac_cv_type_off_t = yes; then
25443 :
25444else
25445
25446cat >>confdefs.h <<_ACEOF
25447#define off_t long
25448_ACEOF
25449
25450fi
25451
25452echo "$as_me:$LINENO: checking for pid_t" >&5
25453echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25454if test "${ac_cv_type_pid_t+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25456else
25457 cat >conftest.$ac_ext <<_ACEOF
25458#line $LINENO "configure"
25459/* confdefs.h. */
25460_ACEOF
25461cat confdefs.h >>conftest.$ac_ext
25462cat >>conftest.$ac_ext <<_ACEOF
25463/* end confdefs.h. */
25464$ac_includes_default
25465int
25466main ()
25467{
25468if ((pid_t *) 0)
25469 return 0;
25470if (sizeof (pid_t))
25471 return 0;
25472 ;
25473 return 0;
25474}
25475_ACEOF
25476rm -f conftest.$ac_objext
25477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25478 (eval $ac_compile) 2>&5
25479 ac_status=$?
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } &&
25482 { ac_try='test -s conftest.$ac_objext'
25483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25484 (eval $ac_try) 2>&5
25485 ac_status=$?
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); }; }; then
25488 ac_cv_type_pid_t=yes
25489else
25490 echo "$as_me: failed program was:" >&5
25491sed 's/^/| /' conftest.$ac_ext >&5
25492
25493ac_cv_type_pid_t=no
25494fi
25495rm -f conftest.$ac_objext conftest.$ac_ext
25496fi
25497echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25498echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25499if test $ac_cv_type_pid_t = yes; then
25500 :
25501else
25502
25503cat >>confdefs.h <<_ACEOF
25504#define pid_t int
25505_ACEOF
25506
25507fi
25508
25509echo "$as_me:$LINENO: checking for size_t" >&5
25510echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25511if test "${ac_cv_type_size_t+set}" = set; then
25512 echo $ECHO_N "(cached) $ECHO_C" >&6
25513else
25514 cat >conftest.$ac_ext <<_ACEOF
25515#line $LINENO "configure"
25516/* confdefs.h. */
25517_ACEOF
25518cat confdefs.h >>conftest.$ac_ext
25519cat >>conftest.$ac_ext <<_ACEOF
25520/* end confdefs.h. */
25521$ac_includes_default
25522int
25523main ()
25524{
25525if ((size_t *) 0)
25526 return 0;
25527if (sizeof (size_t))
25528 return 0;
25529 ;
25530 return 0;
25531}
25532_ACEOF
25533rm -f conftest.$ac_objext
25534if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25535 (eval $ac_compile) 2>&5
25536 ac_status=$?
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } &&
25539 { ac_try='test -s conftest.$ac_objext'
25540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25541 (eval $ac_try) 2>&5
25542 ac_status=$?
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); }; }; then
25545 ac_cv_type_size_t=yes
25546else
25547 echo "$as_me: failed program was:" >&5
25548sed 's/^/| /' conftest.$ac_ext >&5
25549
25550ac_cv_type_size_t=no
25551fi
25552rm -f conftest.$ac_objext conftest.$ac_ext
25553fi
25554echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25555echo "${ECHO_T}$ac_cv_type_size_t" >&6
25556if test $ac_cv_type_size_t = yes; then
25557 :
25558else
25559
25560cat >>confdefs.h <<_ACEOF
25561#define size_t unsigned
25562_ACEOF
25563
25564fi
25565
25566echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25567echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25568if test "${ac_cv_type_uid_t+set}" = set; then
25569 echo $ECHO_N "(cached) $ECHO_C" >&6
25570else
25571 cat >conftest.$ac_ext <<_ACEOF
25572#line $LINENO "configure"
25573/* confdefs.h. */
25574_ACEOF
25575cat confdefs.h >>conftest.$ac_ext
25576cat >>conftest.$ac_ext <<_ACEOF
25577/* end confdefs.h. */
25578#include <sys/types.h>
25579
25580_ACEOF
25581if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25582 $EGREP "uid_t" >/dev/null 2>&1; then
25583 ac_cv_type_uid_t=yes
25584else
25585 ac_cv_type_uid_t=no
25586fi
25587rm -f conftest*
25588
25589fi
25590echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25591echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25592if test $ac_cv_type_uid_t = no; then
25593
25594cat >>confdefs.h <<\_ACEOF
25595#define uid_t int
25596_ACEOF
25597
25598
25599cat >>confdefs.h <<\_ACEOF
25600#define gid_t int
25601_ACEOF
25602
25603fi
25604
25605
25606
25607
25608ac_ext=cc
25609ac_cpp='$CXXCPP $CPPFLAGS'
25610ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25613
25614echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25615echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25616if test "${wx_cv_size_t_is_uint+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618else
25619
25620 cat >conftest.$ac_ext <<_ACEOF
25621#line $LINENO "configure"
25622/* confdefs.h. */
25623_ACEOF
25624cat confdefs.h >>conftest.$ac_ext
25625cat >>conftest.$ac_ext <<_ACEOF
25626/* end confdefs.h. */
25627#include <stddef.h>
25628int
25629main ()
25630{
25631
25632 return 0; }
25633
25634 struct Foo { void foo(size_t); void foo(unsigned int); };
25635
25636 int bar() {
25637
25638 ;
25639 return 0;
25640}
25641_ACEOF
25642rm -f conftest.$ac_objext
25643if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25644 (eval $ac_compile) 2>&5
25645 ac_status=$?
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); } &&
25648 { ac_try='test -s conftest.$ac_objext'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25651 ac_status=$?
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; }; then
25654 wx_cv_size_t_is_uint=no
25655else
25656 echo "$as_me: failed program was:" >&5
25657sed 's/^/| /' conftest.$ac_ext >&5
25658
25659wx_cv_size_t_is_uint=yes
25660
25661fi
25662rm -f conftest.$ac_objext conftest.$ac_ext
25663
25664
25665fi
25666echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25667echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25668
25669if test "$wx_cv_size_t_is_uint" = "yes"; then
25670 cat >>confdefs.h <<\_ACEOF
25671#define wxSIZE_T_IS_UINT 1
25672_ACEOF
25673
25674else
25675 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25676echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25677if test "${wx_cv_size_t_is_ulong+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25679else
25680 cat >conftest.$ac_ext <<_ACEOF
25681#line $LINENO "configure"
25682/* confdefs.h. */
25683_ACEOF
25684cat confdefs.h >>conftest.$ac_ext
25685cat >>conftest.$ac_ext <<_ACEOF
25686/* end confdefs.h. */
25687#include <stddef.h>
25688int
25689main ()
25690{
25691
25692 return 0; }
25693
25694 struct Foo { void foo(size_t); void foo(unsigned long); };
25695
25696 int bar() {
25697
25698 ;
25699 return 0;
25700}
25701_ACEOF
25702rm -f conftest.$ac_objext
25703if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25704 (eval $ac_compile) 2>&5
25705 ac_status=$?
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } &&
25708 { ac_try='test -s conftest.$ac_objext'
25709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25710 (eval $ac_try) 2>&5
25711 ac_status=$?
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); }; }; then
25714 wx_cv_size_t_is_ulong=no
25715else
25716 echo "$as_me: failed program was:" >&5
25717sed 's/^/| /' conftest.$ac_ext >&5
25718
25719wx_cv_size_t_is_ulong=yes
25720
25721fi
25722rm -f conftest.$ac_objext conftest.$ac_ext
25723
25724fi
25725echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25726echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25727
25728 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25729 cat >>confdefs.h <<\_ACEOF
25730#define wxSIZE_T_IS_ULONG 1
25731_ACEOF
25732
25733 fi
25734fi
25735
25736ac_ext=c
25737ac_cpp='$CPP $CPPFLAGS'
25738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740ac_compiler_gnu=$ac_cv_c_compiler_gnu
25741
25742
25743
25744echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25745echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25746if test "${wx_cv_struct_pw_gecos+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25748else
25749
25750 cat >conftest.$ac_ext <<_ACEOF
25751#line $LINENO "configure"
25752/* confdefs.h. */
25753_ACEOF
25754cat confdefs.h >>conftest.$ac_ext
25755cat >>conftest.$ac_ext <<_ACEOF
25756/* end confdefs.h. */
25757#include <pwd.h>
25758int
25759main ()
25760{
25761
25762 char *p;
25763 struct passwd *pw;
25764 p = pw->pw_gecos;
25765
25766 ;
25767 return 0;
25768}
25769_ACEOF
25770rm -f conftest.$ac_objext
25771if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25772 (eval $ac_compile) 2>&5
25773 ac_status=$?
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try='test -s conftest.$ac_objext'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; }; then
25782
25783 wx_cv_struct_pw_gecos=yes
25784
25785else
25786 echo "$as_me: failed program was:" >&5
25787sed 's/^/| /' conftest.$ac_ext >&5
25788
25789
25790 wx_cv_struct_pw_gecos=no
25791
25792
25793fi
25794rm -f conftest.$ac_objext conftest.$ac_ext
25795
25796
25797fi
25798echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25799echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25800
25801if test "$wx_cv_struct_pw_gecos" = "yes"; then
25802 cat >>confdefs.h <<\_ACEOF
25803#define HAVE_PW_GECOS 1
25804_ACEOF
25805
25806fi
25807
25808
25809if test "$wx_cv_sizeof_wchar_t" != "0"; then
25810 cat >>confdefs.h <<\_ACEOF
25811#define wxUSE_WCHAR_T 1
25812_ACEOF
25813
25814
25815 WCSLEN_FOUND=0
25816 WCHAR_LINK=
25817
25818for ac_func in wcslen
25819do
25820as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25821echo "$as_me:$LINENO: checking for $ac_func" >&5
25822echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25823if eval "test \"\${$as_ac_var+set}\" = set"; then
25824 echo $ECHO_N "(cached) $ECHO_C" >&6
25825else
25826 cat >conftest.$ac_ext <<_ACEOF
25827#line $LINENO "configure"
25828/* confdefs.h. */
25829_ACEOF
25830cat confdefs.h >>conftest.$ac_ext
25831cat >>conftest.$ac_ext <<_ACEOF
25832/* end confdefs.h. */
25833/* System header to define __stub macros and hopefully few prototypes,
25834 which can conflict with char $ac_func (); below.
25835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25836 <limits.h> exists even on freestanding compilers. */
25837#ifdef __STDC__
25838# include <limits.h>
25839#else
25840# include <assert.h>
25841#endif
25842/* Override any gcc2 internal prototype to avoid an error. */
25843#ifdef __cplusplus
25844extern "C"
25845{
25846#endif
25847/* We use char because int might match the return type of a gcc2
25848 builtin and then its argument prototype would still apply. */
25849char $ac_func ();
25850/* The GNU C library defines this for functions which it implements
25851 to always fail with ENOSYS. Some functions are actually named
25852 something starting with __ and the normal name is an alias. */
25853#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25854choke me
25855#else
25856char (*f) () = $ac_func;
25857#endif
25858#ifdef __cplusplus
25859}
25860#endif
25861
25862int
25863main ()
25864{
25865return f != $ac_func;
25866 ;
25867 return 0;
25868}
25869_ACEOF
25870rm -f conftest.$ac_objext conftest$ac_exeext
25871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25872 (eval $ac_link) 2>&5
25873 ac_status=$?
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } &&
25876 { ac_try='test -s conftest$ac_exeext'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25879 ac_status=$?
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; }; then
25882 eval "$as_ac_var=yes"
25883else
25884 echo "$as_me: failed program was:" >&5
25885sed 's/^/| /' conftest.$ac_ext >&5
25886
25887eval "$as_ac_var=no"
25888fi
25889rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25890fi
25891echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25892echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25893if test `eval echo '${'$as_ac_var'}'` = yes; then
25894 cat >>confdefs.h <<_ACEOF
25895#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25896_ACEOF
25897 WCSLEN_FOUND=1
25898fi
25899done
25900
25901
25902 if test "$WCSLEN_FOUND" = 0; then
25903 if test "$TOOLKIT" = "MSW"; then
25904 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25905echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25906if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25907 echo $ECHO_N "(cached) $ECHO_C" >&6
25908else
25909 ac_check_lib_save_LIBS=$LIBS
25910LIBS="-lmsvcrt $LIBS"
25911cat >conftest.$ac_ext <<_ACEOF
25912#line $LINENO "configure"
25913/* confdefs.h. */
25914_ACEOF
25915cat confdefs.h >>conftest.$ac_ext
25916cat >>conftest.$ac_ext <<_ACEOF
25917/* end confdefs.h. */
25918
25919/* Override any gcc2 internal prototype to avoid an error. */
25920#ifdef __cplusplus
25921extern "C"
25922#endif
25923/* We use char because int might match the return type of a gcc2
25924 builtin and then its argument prototype would still apply. */
25925char wcslen ();
25926int
25927main ()
25928{
25929wcslen ();
25930 ;
25931 return 0;
25932}
25933_ACEOF
25934rm -f conftest.$ac_objext conftest$ac_exeext
25935if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25936 (eval $ac_link) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); } &&
25940 { ac_try='test -s conftest$ac_exeext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25943 ac_status=$?
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 ac_cv_lib_msvcrt_wcslen=yes
25947else
25948 echo "$as_me: failed program was:" >&5
25949sed 's/^/| /' conftest.$ac_ext >&5
25950
25951ac_cv_lib_msvcrt_wcslen=no
25952fi
25953rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25954LIBS=$ac_check_lib_save_LIBS
25955fi
25956echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25957echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25958if test $ac_cv_lib_msvcrt_wcslen = yes; then
25959 WCHAR_OK=1
25960fi
25961
25962 else
25963 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25964echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25965if test "${ac_cv_lib_w_wcslen+set}" = set; then
25966 echo $ECHO_N "(cached) $ECHO_C" >&6
25967else
25968 ac_check_lib_save_LIBS=$LIBS
25969LIBS="-lw $LIBS"
25970cat >conftest.$ac_ext <<_ACEOF
25971#line $LINENO "configure"
25972/* confdefs.h. */
25973_ACEOF
25974cat confdefs.h >>conftest.$ac_ext
25975cat >>conftest.$ac_ext <<_ACEOF
25976/* end confdefs.h. */
25977
25978/* Override any gcc2 internal prototype to avoid an error. */
25979#ifdef __cplusplus
25980extern "C"
25981#endif
25982/* We use char because int might match the return type of a gcc2
25983 builtin and then its argument prototype would still apply. */
25984char wcslen ();
25985int
25986main ()
25987{
25988wcslen ();
25989 ;
25990 return 0;
25991}
25992_ACEOF
25993rm -f conftest.$ac_objext conftest$ac_exeext
25994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25995 (eval $ac_link) 2>&5
25996 ac_status=$?
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } &&
25999 { ac_try='test -s conftest$ac_exeext'
26000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26001 (eval $ac_try) 2>&5
26002 ac_status=$?
26003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004 (exit $ac_status); }; }; then
26005 ac_cv_lib_w_wcslen=yes
26006else
26007 echo "$as_me: failed program was:" >&5
26008sed 's/^/| /' conftest.$ac_ext >&5
26009
26010ac_cv_lib_w_wcslen=no
26011fi
26012rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26013LIBS=$ac_check_lib_save_LIBS
26014fi
26015echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26016echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26017if test $ac_cv_lib_w_wcslen = yes; then
26018
26019 WCHAR_LINK=" -lw"
26020 WCSLEN_FOUND=1
26021
26022fi
26023
26024 fi
26025 fi
26026
26027 if test "$WCSLEN_FOUND" = 1; then
26028 cat >>confdefs.h <<\_ACEOF
26029#define HAVE_WCSLEN 1
26030_ACEOF
26031
26032 fi
26033
26034
26035for ac_func in wcsrtombs
26036do
26037as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26038echo "$as_me:$LINENO: checking for $ac_func" >&5
26039echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26040if eval "test \"\${$as_ac_var+set}\" = set"; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26042else
26043 cat >conftest.$ac_ext <<_ACEOF
26044#line $LINENO "configure"
26045/* confdefs.h. */
26046_ACEOF
26047cat confdefs.h >>conftest.$ac_ext
26048cat >>conftest.$ac_ext <<_ACEOF
26049/* end confdefs.h. */
26050/* System header to define __stub macros and hopefully few prototypes,
26051 which can conflict with char $ac_func (); below.
26052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26053 <limits.h> exists even on freestanding compilers. */
26054#ifdef __STDC__
26055# include <limits.h>
26056#else
26057# include <assert.h>
26058#endif
26059/* Override any gcc2 internal prototype to avoid an error. */
26060#ifdef __cplusplus
26061extern "C"
26062{
26063#endif
26064/* We use char because int might match the return type of a gcc2
26065 builtin and then its argument prototype would still apply. */
26066char $ac_func ();
26067/* The GNU C library defines this for functions which it implements
26068 to always fail with ENOSYS. Some functions are actually named
26069 something starting with __ and the normal name is an alias. */
26070#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26071choke me
26072#else
26073char (*f) () = $ac_func;
26074#endif
26075#ifdef __cplusplus
26076}
26077#endif
26078
26079int
26080main ()
26081{
26082return f != $ac_func;
26083 ;
26084 return 0;
26085}
26086_ACEOF
26087rm -f conftest.$ac_objext conftest$ac_exeext
26088if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26089 (eval $ac_link) 2>&5
26090 ac_status=$?
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); } &&
26093 { ac_try='test -s conftest$ac_exeext'
26094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095 (eval $ac_try) 2>&5
26096 ac_status=$?
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); }; }; then
26099 eval "$as_ac_var=yes"
26100else
26101 echo "$as_me: failed program was:" >&5
26102sed 's/^/| /' conftest.$ac_ext >&5
26103
26104eval "$as_ac_var=no"
26105fi
26106rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26107fi
26108echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26109echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26110if test `eval echo '${'$as_ac_var'}'` = yes; then
26111 cat >>confdefs.h <<_ACEOF
26112#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26113_ACEOF
26114
26115fi
26116done
26117
26118else
26119 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26120echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26121fi
26122
26123
26124
26125ac_ext=cc
26126ac_cpp='$CXXCPP $CPPFLAGS'
26127ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26128ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26129ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26130
26131
26132
26133for ac_func in vsnprintf
26134do
26135as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26136echo "$as_me:$LINENO: checking for $ac_func" >&5
26137echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26138if eval "test \"\${$as_ac_var+set}\" = set"; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26140else
26141 cat >conftest.$ac_ext <<_ACEOF
26142#line $LINENO "configure"
26143/* confdefs.h. */
26144_ACEOF
26145cat confdefs.h >>conftest.$ac_ext
26146cat >>conftest.$ac_ext <<_ACEOF
26147/* end confdefs.h. */
26148/* System header to define __stub macros and hopefully few prototypes,
26149 which can conflict with char $ac_func (); below.
26150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26151 <limits.h> exists even on freestanding compilers. */
26152#ifdef __STDC__
26153# include <limits.h>
26154#else
26155# include <assert.h>
26156#endif
26157/* Override any gcc2 internal prototype to avoid an error. */
26158#ifdef __cplusplus
26159extern "C"
26160{
26161#endif
26162/* We use char because int might match the return type of a gcc2
26163 builtin and then its argument prototype would still apply. */
26164char $ac_func ();
26165/* The GNU C library defines this for functions which it implements
26166 to always fail with ENOSYS. Some functions are actually named
26167 something starting with __ and the normal name is an alias. */
26168#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26169choke me
26170#else
26171char (*f) () = $ac_func;
26172#endif
26173#ifdef __cplusplus
26174}
26175#endif
26176
26177int
26178main ()
26179{
26180return f != $ac_func;
26181 ;
26182 return 0;
26183}
26184_ACEOF
26185rm -f conftest.$ac_objext conftest$ac_exeext
26186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26187 (eval $ac_link) 2>&5
26188 ac_status=$?
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } &&
26191 { ac_try='test -s conftest$ac_exeext'
26192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26193 (eval $ac_try) 2>&5
26194 ac_status=$?
26195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196 (exit $ac_status); }; }; then
26197 eval "$as_ac_var=yes"
26198else
26199 echo "$as_me: failed program was:" >&5
26200sed 's/^/| /' conftest.$ac_ext >&5
26201
26202eval "$as_ac_var=no"
26203fi
26204rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26205fi
26206echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26207echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26208if test `eval echo '${'$as_ac_var'}'` = yes; then
26209 cat >>confdefs.h <<_ACEOF
26210#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26211_ACEOF
26212
26213fi
26214done
26215
26216
26217if test "$ac_cv_func_vsnprintf" = "yes"; then
26218 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26219echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26220if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26222else
26223
26224 cat >conftest.$ac_ext <<_ACEOF
26225#line $LINENO "configure"
26226/* confdefs.h. */
26227_ACEOF
26228cat confdefs.h >>conftest.$ac_ext
26229cat >>conftest.$ac_ext <<_ACEOF
26230/* end confdefs.h. */
26231
26232 #include <stdio.h>
26233 #include <stdarg.h>
26234
26235int
26236main ()
26237{
26238
26239 char *buf;
26240 va_list ap;
26241 vsnprintf(buf, 10u, "%s", ap);
26242
26243 ;
26244 return 0;
26245}
26246_ACEOF
26247rm -f conftest.$ac_objext
26248if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26249 (eval $ac_compile) 2>&5
26250 ac_status=$?
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); } &&
26253 { ac_try='test -s conftest.$ac_objext'
26254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26255 (eval $ac_try) 2>&5
26256 ac_status=$?
26257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258 (exit $ac_status); }; }; then
26259 wx_cv_func_vsnprintf_decl=yes
26260else
26261 echo "$as_me: failed program was:" >&5
26262sed 's/^/| /' conftest.$ac_ext >&5
26263
26264wx_cv_func_vsnprintf_decl=no
26265
26266fi
26267rm -f conftest.$ac_objext conftest.$ac_ext
26268
26269
26270fi
26271echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26272echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26273
26274 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26275 cat >>confdefs.h <<\_ACEOF
26276#define HAVE_VSNPRINTF_DECL 1
26277_ACEOF
26278
26279 fi
26280fi
26281
26282if test "$wxUSE_UNICODE" = yes; then
26283
26284
26285
26286for ac_func in fputwc wprintf vswprintf
26287do
26288as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26289echo "$as_me:$LINENO: checking for $ac_func" >&5
26290echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26291if eval "test \"\${$as_ac_var+set}\" = set"; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26293else
26294 cat >conftest.$ac_ext <<_ACEOF
26295#line $LINENO "configure"
26296/* confdefs.h. */
26297_ACEOF
26298cat confdefs.h >>conftest.$ac_ext
26299cat >>conftest.$ac_ext <<_ACEOF
26300/* end confdefs.h. */
26301/* System header to define __stub macros and hopefully few prototypes,
26302 which can conflict with char $ac_func (); below.
26303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26304 <limits.h> exists even on freestanding compilers. */
26305#ifdef __STDC__
26306# include <limits.h>
26307#else
26308# include <assert.h>
26309#endif
26310/* Override any gcc2 internal prototype to avoid an error. */
26311#ifdef __cplusplus
26312extern "C"
26313{
26314#endif
26315/* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26317char $ac_func ();
26318/* The GNU C library defines this for functions which it implements
26319 to always fail with ENOSYS. Some functions are actually named
26320 something starting with __ and the normal name is an alias. */
26321#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26322choke me
26323#else
26324char (*f) () = $ac_func;
26325#endif
26326#ifdef __cplusplus
26327}
26328#endif
26329
26330int
26331main ()
26332{
26333return f != $ac_func;
26334 ;
26335 return 0;
26336}
26337_ACEOF
26338rm -f conftest.$ac_objext conftest$ac_exeext
26339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26340 (eval $ac_link) 2>&5
26341 ac_status=$?
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } &&
26344 { ac_try='test -s conftest$ac_exeext'
26345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26346 (eval $ac_try) 2>&5
26347 ac_status=$?
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); }; }; then
26350 eval "$as_ac_var=yes"
26351else
26352 echo "$as_me: failed program was:" >&5
26353sed 's/^/| /' conftest.$ac_ext >&5
26354
26355eval "$as_ac_var=no"
26356fi
26357rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26358fi
26359echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26360echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26361if test `eval echo '${'$as_ac_var'}'` = yes; then
26362 cat >>confdefs.h <<_ACEOF
26363#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26364_ACEOF
26365
26366fi
26367done
26368
26369
26370 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26371echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26372 cat >conftest.$ac_ext <<_ACEOF
26373#line $LINENO "configure"
26374/* confdefs.h. */
26375_ACEOF
26376cat confdefs.h >>conftest.$ac_ext
26377cat >>conftest.$ac_ext <<_ACEOF
26378/* end confdefs.h. */
26379#include <wchar.h>
26380int
26381main ()
26382{
26383&_vsnwprintf;
26384 ;
26385 return 0;
26386}
26387_ACEOF
26388rm -f conftest.$ac_objext
26389if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26390 (eval $ac_compile) 2>&5
26391 ac_status=$?
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } &&
26394 { ac_try='test -s conftest.$ac_objext'
26395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26396 (eval $ac_try) 2>&5
26397 ac_status=$?
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); }; }; then
26400 echo "$as_me:$LINENO: result: yes" >&5
26401echo "${ECHO_T}yes" >&6
26402 cat >>confdefs.h <<\_ACEOF
26403#define HAVE__VSNWPRINTF 1
26404_ACEOF
26405
26406else
26407 echo "$as_me: failed program was:" >&5
26408sed 's/^/| /' conftest.$ac_ext >&5
26409
26410echo "$as_me:$LINENO: result: no" >&5
26411echo "${ECHO_T}no" >&6
26412fi
26413rm -f conftest.$ac_objext conftest.$ac_ext;
26414fi
26415
26416ac_ext=c
26417ac_cpp='$CPP $CPPFLAGS'
26418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26420ac_compiler_gnu=$ac_cv_c_compiler_gnu
26421
26422
26423
26424
26425if test "$TOOLKIT" != "MSW"; then
26426
26427
26428
26429
26430ac_ext=cc
26431ac_cpp='$CXXCPP $CPPFLAGS'
26432ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26433ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26434ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26435
26436
26437
26438
26439# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26440if test "${with_libiconv_prefix+set}" = set; then
26441 withval="$with_libiconv_prefix"
26442
26443 for dir in `echo "$withval" | tr : ' '`; do
26444 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26445 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26446 done
26447
26448fi;
26449
26450 echo "$as_me:$LINENO: checking for iconv" >&5
26451echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26452if test "${am_cv_func_iconv+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26454else
26455
26456 am_cv_func_iconv="no, consider installing GNU libiconv"
26457 am_cv_lib_iconv=no
26458 cat >conftest.$ac_ext <<_ACEOF
26459#line $LINENO "configure"
26460/* confdefs.h. */
26461_ACEOF
26462cat confdefs.h >>conftest.$ac_ext
26463cat >>conftest.$ac_ext <<_ACEOF
26464/* end confdefs.h. */
26465#include <stdlib.h>
26466#include <iconv.h>
26467int
26468main ()
26469{
26470iconv_t cd = iconv_open("","");
26471 iconv(cd,NULL,NULL,NULL,NULL);
26472 iconv_close(cd);
26473 ;
26474 return 0;
26475}
26476_ACEOF
26477rm -f conftest.$ac_objext conftest$ac_exeext
26478if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>&5
26480 ac_status=$?
26481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482 (exit $ac_status); } &&
26483 { ac_try='test -s conftest$ac_exeext'
26484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26485 (eval $ac_try) 2>&5
26486 ac_status=$?
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); }; }; then
26489 am_cv_func_iconv=yes
26490else
26491 echo "$as_me: failed program was:" >&5
26492sed 's/^/| /' conftest.$ac_ext >&5
26493
26494fi
26495rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26496 if test "$am_cv_func_iconv" != yes; then
26497 am_save_LIBS="$LIBS"
26498 LIBS="$LIBS -liconv"
26499 cat >conftest.$ac_ext <<_ACEOF
26500#line $LINENO "configure"
26501/* confdefs.h. */
26502_ACEOF
26503cat confdefs.h >>conftest.$ac_ext
26504cat >>conftest.$ac_ext <<_ACEOF
26505/* end confdefs.h. */
26506#include <stdlib.h>
26507#include <iconv.h>
26508int
26509main ()
26510{
26511iconv_t cd = iconv_open("","");
26512 iconv(cd,NULL,NULL,NULL,NULL);
26513 iconv_close(cd);
26514 ;
26515 return 0;
26516}
26517_ACEOF
26518rm -f conftest.$ac_objext conftest$ac_exeext
26519if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26520 (eval $ac_link) 2>&5
26521 ac_status=$?
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try='test -s conftest$ac_exeext'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26527 ac_status=$?
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; }; then
26530 am_cv_lib_iconv=yes
26531 am_cv_func_iconv=yes
26532else
26533 echo "$as_me: failed program was:" >&5
26534sed 's/^/| /' conftest.$ac_ext >&5
26535
26536fi
26537rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26538 LIBS="$am_save_LIBS"
26539 fi
26540
26541fi
26542echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26543echo "${ECHO_T}$am_cv_func_iconv" >&6
26544 if test "$am_cv_func_iconv" = yes; then
26545
26546cat >>confdefs.h <<\_ACEOF
26547#define HAVE_ICONV 1
26548_ACEOF
26549
26550 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26551echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26552if test "${wx_cv_func_iconv_const+set}" = set; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26554else
26555 cat >conftest.$ac_ext <<_ACEOF
26556#line $LINENO "configure"
26557/* confdefs.h. */
26558_ACEOF
26559cat confdefs.h >>conftest.$ac_ext
26560cat >>conftest.$ac_ext <<_ACEOF
26561/* end confdefs.h. */
26562
26563#include <stdlib.h>
26564#include <iconv.h>
26565extern
26566#ifdef __cplusplus
26567"C"
26568#endif
26569#if defined(__STDC__) || defined(__cplusplus)
26570size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26571#else
26572size_t iconv();
26573#endif
26574
26575int
26576main ()
26577{
26578
26579 ;
26580 return 0;
26581}
26582_ACEOF
26583rm -f conftest.$ac_objext
26584if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26585 (eval $ac_compile) 2>&5
26586 ac_status=$?
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try='test -s conftest.$ac_objext'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26592 ac_status=$?
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; }; then
26595 wx_cv_func_iconv_const="no"
26596else
26597 echo "$as_me: failed program was:" >&5
26598sed 's/^/| /' conftest.$ac_ext >&5
26599
26600wx_cv_func_iconv_const="yes"
26601
26602fi
26603rm -f conftest.$ac_objext conftest.$ac_ext
26604
26605fi
26606echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26607echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26608
26609 iconv_const=
26610 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26611 iconv_const="const"
26612 fi
26613
26614
26615cat >>confdefs.h <<_ACEOF
26616#define ICONV_CONST $iconv_const
26617_ACEOF
26618
26619 fi
26620 LIBICONV=
26621 if test "$am_cv_lib_iconv" = yes; then
26622 LIBICONV="-liconv"
26623 fi
26624
26625
26626LIBS="$LIBICONV $LIBS"
26627ac_ext=c
26628ac_cpp='$CPP $CPPFLAGS'
26629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26631ac_compiler_gnu=$ac_cv_c_compiler_gnu
26632
26633
26634if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26635
26636for ac_func in sigaction
26637do
26638as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26639echo "$as_me:$LINENO: checking for $ac_func" >&5
26640echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26641if eval "test \"\${$as_ac_var+set}\" = set"; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26643else
26644 cat >conftest.$ac_ext <<_ACEOF
26645#line $LINENO "configure"
26646/* confdefs.h. */
26647_ACEOF
26648cat confdefs.h >>conftest.$ac_ext
26649cat >>conftest.$ac_ext <<_ACEOF
26650/* end confdefs.h. */
26651/* System header to define __stub macros and hopefully few prototypes,
26652 which can conflict with char $ac_func (); below.
26653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26654 <limits.h> exists even on freestanding compilers. */
26655#ifdef __STDC__
26656# include <limits.h>
26657#else
26658# include <assert.h>
26659#endif
26660/* Override any gcc2 internal prototype to avoid an error. */
26661#ifdef __cplusplus
26662extern "C"
26663{
26664#endif
26665/* We use char because int might match the return type of a gcc2
26666 builtin and then its argument prototype would still apply. */
26667char $ac_func ();
26668/* The GNU C library defines this for functions which it implements
26669 to always fail with ENOSYS. Some functions are actually named
26670 something starting with __ and the normal name is an alias. */
26671#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26672choke me
26673#else
26674char (*f) () = $ac_func;
26675#endif
26676#ifdef __cplusplus
26677}
26678#endif
26679
26680int
26681main ()
26682{
26683return f != $ac_func;
26684 ;
26685 return 0;
26686}
26687_ACEOF
26688rm -f conftest.$ac_objext conftest$ac_exeext
26689if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26690 (eval $ac_link) 2>&5
26691 ac_status=$?
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } &&
26694 { ac_try='test -s conftest$ac_exeext'
26695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26696 (eval $ac_try) 2>&5
26697 ac_status=$?
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); }; }; then
26700 eval "$as_ac_var=yes"
26701else
26702 echo "$as_me: failed program was:" >&5
26703sed 's/^/| /' conftest.$ac_ext >&5
26704
26705eval "$as_ac_var=no"
26706fi
26707rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26708fi
26709echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26710echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26711if test `eval echo '${'$as_ac_var'}'` = yes; then
26712 cat >>confdefs.h <<_ACEOF
26713#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26714_ACEOF
26715
26716fi
26717done
26718
26719
26720 if test "$ac_cv_func_sigaction" = "no"; then
26721 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26722echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26723 wxUSE_ON_FATAL_EXCEPTION=no
26724 fi
26725
26726 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26727
26728
26729 ac_ext=cc
26730ac_cpp='$CXXCPP $CPPFLAGS'
26731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26734
26735
26736 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26737echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26738if test "${wx_cv_type_sa_handler+set}" = set; then
26739 echo $ECHO_N "(cached) $ECHO_C" >&6
26740else
26741
26742 cat >conftest.$ac_ext <<_ACEOF
26743#line $LINENO "configure"
26744/* confdefs.h. */
26745_ACEOF
26746cat confdefs.h >>conftest.$ac_ext
26747cat >>conftest.$ac_ext <<_ACEOF
26748/* end confdefs.h. */
26749#include <signal.h>
26750int
26751main ()
26752{
26753
26754 extern void testSigHandler(int);
26755
26756 struct sigaction sa;
26757 sa.sa_handler = testSigHandler;
26758
26759 ;
26760 return 0;
26761}
26762_ACEOF
26763rm -f conftest.$ac_objext
26764if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26765 (eval $ac_compile) 2>&5
26766 ac_status=$?
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); } &&
26769 { ac_try='test -s conftest.$ac_objext'
26770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26771 (eval $ac_try) 2>&5
26772 ac_status=$?
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); }; }; then
26775
26776 wx_cv_type_sa_handler=int
26777
26778else
26779 echo "$as_me: failed program was:" >&5
26780sed 's/^/| /' conftest.$ac_ext >&5
26781
26782
26783 wx_cv_type_sa_handler=void
26784
26785fi
26786rm -f conftest.$ac_objext conftest.$ac_ext
26787
26788fi
26789echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26790echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26791
26792 ac_ext=c
26793ac_cpp='$CPP $CPPFLAGS'
26794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796ac_compiler_gnu=$ac_cv_c_compiler_gnu
26797
26798
26799 cat >>confdefs.h <<_ACEOF
26800#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26801_ACEOF
26802
26803 fi
26804fi
26805
26806
26807
26808for ac_func in mkstemp mktemp
26809do
26810as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26811echo "$as_me:$LINENO: checking for $ac_func" >&5
26812echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26813if eval "test \"\${$as_ac_var+set}\" = set"; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26815else
26816 cat >conftest.$ac_ext <<_ACEOF
26817#line $LINENO "configure"
26818/* confdefs.h. */
26819_ACEOF
26820cat confdefs.h >>conftest.$ac_ext
26821cat >>conftest.$ac_ext <<_ACEOF
26822/* end confdefs.h. */
26823/* System header to define __stub macros and hopefully few prototypes,
26824 which can conflict with char $ac_func (); below.
26825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26826 <limits.h> exists even on freestanding compilers. */
26827#ifdef __STDC__
26828# include <limits.h>
26829#else
26830# include <assert.h>
26831#endif
26832/* Override any gcc2 internal prototype to avoid an error. */
26833#ifdef __cplusplus
26834extern "C"
26835{
26836#endif
26837/* We use char because int might match the return type of a gcc2
26838 builtin and then its argument prototype would still apply. */
26839char $ac_func ();
26840/* The GNU C library defines this for functions which it implements
26841 to always fail with ENOSYS. Some functions are actually named
26842 something starting with __ and the normal name is an alias. */
26843#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26844choke me
26845#else
26846char (*f) () = $ac_func;
26847#endif
26848#ifdef __cplusplus
26849}
26850#endif
26851
26852int
26853main ()
26854{
26855return f != $ac_func;
26856 ;
26857 return 0;
26858}
26859_ACEOF
26860rm -f conftest.$ac_objext conftest$ac_exeext
26861if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26862 (eval $ac_link) 2>&5
26863 ac_status=$?
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); } &&
26866 { ac_try='test -s conftest$ac_exeext'
26867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26868 (eval $ac_try) 2>&5
26869 ac_status=$?
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); }; }; then
26872 eval "$as_ac_var=yes"
26873else
26874 echo "$as_me: failed program was:" >&5
26875sed 's/^/| /' conftest.$ac_ext >&5
26876
26877eval "$as_ac_var=no"
26878fi
26879rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26880fi
26881echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26882echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26883if test `eval echo '${'$as_ac_var'}'` = yes; then
26884 cat >>confdefs.h <<_ACEOF
26885#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26886_ACEOF
26887 break
26888fi
26889done
26890
26891
26892echo "$as_me:$LINENO: checking for statfs" >&5
26893echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26894if test "${wx_cv_func_statfs+set}" = set; then
26895 echo $ECHO_N "(cached) $ECHO_C" >&6
26896else
26897 cat >conftest.$ac_ext <<_ACEOF
26898#line $LINENO "configure"
26899/* confdefs.h. */
26900_ACEOF
26901cat confdefs.h >>conftest.$ac_ext
26902cat >>conftest.$ac_ext <<_ACEOF
26903/* end confdefs.h. */
26904
26905 #if defined(__BSD__)
26906 #include <sys/param.h>
26907 #include <sys/mount.h>
26908 #else
26909 #include <sys/vfs.h>
26910 #endif
26911
26912int
26913main ()
26914{
26915
26916 long l;
26917 struct statfs fs;
26918 statfs("/", &fs);
26919 l = fs.f_bsize;
26920 l += fs.f_blocks;
26921 l += fs.f_bavail;
26922
26923 ;
26924 return 0;
26925}
26926_ACEOF
26927rm -f conftest.$ac_objext
26928if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26929 (eval $ac_compile) 2>&5
26930 ac_status=$?
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); } &&
26933 { ac_try='test -s conftest.$ac_objext'
26934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26935 (eval $ac_try) 2>&5
26936 ac_status=$?
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); }; }; then
26939
26940 wx_cv_func_statfs=yes
26941
26942else
26943 echo "$as_me: failed program was:" >&5
26944sed 's/^/| /' conftest.$ac_ext >&5
26945
26946
26947 wx_cv_func_statfs=no
26948
26949
26950fi
26951rm -f conftest.$ac_objext conftest.$ac_ext
26952
26953fi
26954echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26955echo "${ECHO_T}$wx_cv_func_statfs" >&6
26956
26957if test "$wx_cv_func_statfs" = "yes"; then
26958 wx_cv_type_statvfs_t="struct statfs"
26959 cat >>confdefs.h <<\_ACEOF
26960#define HAVE_STATFS 1
26961_ACEOF
26962
26963else
26964 echo "$as_me:$LINENO: checking for statvfs" >&5
26965echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26966if test "${wx_cv_func_statvfs+set}" = set; then
26967 echo $ECHO_N "(cached) $ECHO_C" >&6
26968else
26969 cat >conftest.$ac_ext <<_ACEOF
26970#line $LINENO "configure"
26971/* confdefs.h. */
26972_ACEOF
26973cat confdefs.h >>conftest.$ac_ext
26974cat >>conftest.$ac_ext <<_ACEOF
26975/* end confdefs.h. */
26976
26977 #include <stddef.h>
26978 #include <sys/statvfs.h>
26979
26980int
26981main ()
26982{
26983
26984 statvfs("/", NULL);
26985
26986 ;
26987 return 0;
26988}
26989_ACEOF
26990rm -f conftest.$ac_objext
26991if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26992 (eval $ac_compile) 2>&5
26993 ac_status=$?
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } &&
26996 { ac_try='test -s conftest.$ac_objext'
26997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26998 (eval $ac_try) 2>&5
26999 ac_status=$?
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); }; }; then
27002 wx_cv_func_statvfs=yes
27003else
27004 echo "$as_me: failed program was:" >&5
27005sed 's/^/| /' conftest.$ac_ext >&5
27006
27007wx_cv_func_statvfs=no
27008
27009fi
27010rm -f conftest.$ac_objext conftest.$ac_ext
27011
27012fi
27013echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27014echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27015
27016 if test "$wx_cv_func_statvfs" = "yes"; then
27017
27018
27019 ac_ext=cc
27020ac_cpp='$CXXCPP $CPPFLAGS'
27021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27024
27025
27026 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27027echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27028if test "${wx_cv_type_statvfs_t+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27030else
27031 cat >conftest.$ac_ext <<_ACEOF
27032#line $LINENO "configure"
27033/* confdefs.h. */
27034_ACEOF
27035cat confdefs.h >>conftest.$ac_ext
27036cat >>conftest.$ac_ext <<_ACEOF
27037/* end confdefs.h. */
27038
27039 #include <sys/statvfs.h>
27040
27041int
27042main ()
27043{
27044
27045 long l;
27046 statvfs_t fs;
27047 statvfs("/", &fs);
27048 l = fs.f_bsize;
27049 l += fs.f_blocks;
27050 l += fs.f_bavail;
27051
27052 ;
27053 return 0;
27054}
27055_ACEOF
27056rm -f conftest.$ac_objext
27057if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27058 (eval $ac_compile) 2>&5
27059 ac_status=$?
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); } &&
27062 { ac_try='test -s conftest.$ac_objext'
27063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064 (eval $ac_try) 2>&5
27065 ac_status=$?
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); }; }; then
27068 wx_cv_type_statvfs_t=statvfs_t
27069else
27070 echo "$as_me: failed program was:" >&5
27071sed 's/^/| /' conftest.$ac_ext >&5
27072
27073
27074 cat >conftest.$ac_ext <<_ACEOF
27075#line $LINENO "configure"
27076/* confdefs.h. */
27077_ACEOF
27078cat confdefs.h >>conftest.$ac_ext
27079cat >>conftest.$ac_ext <<_ACEOF
27080/* end confdefs.h. */
27081
27082 #include <sys/statvfs.h>
27083
27084int
27085main ()
27086{
27087
27088 long l;
27089 struct statvfs fs;
27090 statvfs("/", &fs);
27091 l = fs.f_bsize;
27092 l += fs.f_blocks;
27093 l += fs.f_bavail;
27094
27095 ;
27096 return 0;
27097}
27098_ACEOF
27099rm -f conftest.$ac_objext
27100if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27101 (eval $ac_compile) 2>&5
27102 ac_status=$?
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); } &&
27105 { ac_try='test -s conftest.$ac_objext'
27106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27107 (eval $ac_try) 2>&5
27108 ac_status=$?
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); }; }; then
27111 wx_cv_type_statvfs_t="struct statvfs"
27112else
27113 echo "$as_me: failed program was:" >&5
27114sed 's/^/| /' conftest.$ac_ext >&5
27115
27116wx_cv_type_statvfs_t="unknown"
27117
27118fi
27119rm -f conftest.$ac_objext conftest.$ac_ext
27120
27121
27122fi
27123rm -f conftest.$ac_objext conftest.$ac_ext
27124
27125fi
27126echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27127echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27128
27129 ac_ext=c
27130ac_cpp='$CPP $CPPFLAGS'
27131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27133ac_compiler_gnu=$ac_cv_c_compiler_gnu
27134
27135
27136 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27137 cat >>confdefs.h <<\_ACEOF
27138#define HAVE_STATVFS 1
27139_ACEOF
27140
27141 fi
27142 else
27143 wx_cv_type_statvfs_t="unknown"
27144 fi
27145fi
27146
27147if test "$wx_cv_type_statvfs_t" != "unknown"; then
27148 cat >>confdefs.h <<_ACEOF
27149#define WX_STATFS_T $wx_cv_type_statvfs_t
27150_ACEOF
27151
27152else
27153 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27154echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27155fi
27156
27157if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27158
27159
27160for ac_func in fcntl flock
27161do
27162as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27163echo "$as_me:$LINENO: checking for $ac_func" >&5
27164echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27165if eval "test \"\${$as_ac_var+set}\" = set"; then
27166 echo $ECHO_N "(cached) $ECHO_C" >&6
27167else
27168 cat >conftest.$ac_ext <<_ACEOF
27169#line $LINENO "configure"
27170/* confdefs.h. */
27171_ACEOF
27172cat confdefs.h >>conftest.$ac_ext
27173cat >>conftest.$ac_ext <<_ACEOF
27174/* end confdefs.h. */
27175/* System header to define __stub macros and hopefully few prototypes,
27176 which can conflict with char $ac_func (); below.
27177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27178 <limits.h> exists even on freestanding compilers. */
27179#ifdef __STDC__
27180# include <limits.h>
27181#else
27182# include <assert.h>
27183#endif
27184/* Override any gcc2 internal prototype to avoid an error. */
27185#ifdef __cplusplus
27186extern "C"
27187{
27188#endif
27189/* We use char because int might match the return type of a gcc2
27190 builtin and then its argument prototype would still apply. */
27191char $ac_func ();
27192/* The GNU C library defines this for functions which it implements
27193 to always fail with ENOSYS. Some functions are actually named
27194 something starting with __ and the normal name is an alias. */
27195#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27196choke me
27197#else
27198char (*f) () = $ac_func;
27199#endif
27200#ifdef __cplusplus
27201}
27202#endif
27203
27204int
27205main ()
27206{
27207return f != $ac_func;
27208 ;
27209 return 0;
27210}
27211_ACEOF
27212rm -f conftest.$ac_objext conftest$ac_exeext
27213if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27214 (eval $ac_link) 2>&5
27215 ac_status=$?
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); } &&
27218 { ac_try='test -s conftest$ac_exeext'
27219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220 (eval $ac_try) 2>&5
27221 ac_status=$?
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); }; }; then
27224 eval "$as_ac_var=yes"
27225else
27226 echo "$as_me: failed program was:" >&5
27227sed 's/^/| /' conftest.$ac_ext >&5
27228
27229eval "$as_ac_var=no"
27230fi
27231rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27232fi
27233echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27234echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27235if test `eval echo '${'$as_ac_var'}'` = yes; then
27236 cat >>confdefs.h <<_ACEOF
27237#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27238_ACEOF
27239 break
27240fi
27241done
27242
27243
27244 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27245 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27246echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27247 wxUSE_SNGLINST_CHECKER=no
27248 fi
27249fi
27250
27251
27252for ac_func in timegm
27253do
27254as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27255echo "$as_me:$LINENO: checking for $ac_func" >&5
27256echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27257if eval "test \"\${$as_ac_var+set}\" = set"; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27259else
27260 cat >conftest.$ac_ext <<_ACEOF
27261#line $LINENO "configure"
27262/* confdefs.h. */
27263_ACEOF
27264cat confdefs.h >>conftest.$ac_ext
27265cat >>conftest.$ac_ext <<_ACEOF
27266/* end confdefs.h. */
27267/* System header to define __stub macros and hopefully few prototypes,
27268 which can conflict with char $ac_func (); below.
27269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27270 <limits.h> exists even on freestanding compilers. */
27271#ifdef __STDC__
27272# include <limits.h>
27273#else
27274# include <assert.h>
27275#endif
27276/* Override any gcc2 internal prototype to avoid an error. */
27277#ifdef __cplusplus
27278extern "C"
27279{
27280#endif
27281/* We use char because int might match the return type of a gcc2
27282 builtin and then its argument prototype would still apply. */
27283char $ac_func ();
27284/* The GNU C library defines this for functions which it implements
27285 to always fail with ENOSYS. Some functions are actually named
27286 something starting with __ and the normal name is an alias. */
27287#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27288choke me
27289#else
27290char (*f) () = $ac_func;
27291#endif
27292#ifdef __cplusplus
27293}
27294#endif
27295
27296int
27297main ()
27298{
27299return f != $ac_func;
27300 ;
27301 return 0;
27302}
27303_ACEOF
27304rm -f conftest.$ac_objext conftest$ac_exeext
27305if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27306 (eval $ac_link) 2>&5
27307 ac_status=$?
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } &&
27310 { ac_try='test -s conftest$ac_exeext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27313 ac_status=$?
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 eval "$as_ac_var=yes"
27317else
27318 echo "$as_me: failed program was:" >&5
27319sed 's/^/| /' conftest.$ac_ext >&5
27320
27321eval "$as_ac_var=no"
27322fi
27323rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27324fi
27325echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27326echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27327if test `eval echo '${'$as_ac_var'}'` = yes; then
27328 cat >>confdefs.h <<_ACEOF
27329#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27330_ACEOF
27331
27332fi
27333done
27334
27335
27336
27337
27338for ac_func in putenv setenv
27339do
27340as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27341echo "$as_me:$LINENO: checking for $ac_func" >&5
27342echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27343if eval "test \"\${$as_ac_var+set}\" = set"; then
27344 echo $ECHO_N "(cached) $ECHO_C" >&6
27345else
27346 cat >conftest.$ac_ext <<_ACEOF
27347#line $LINENO "configure"
27348/* confdefs.h. */
27349_ACEOF
27350cat confdefs.h >>conftest.$ac_ext
27351cat >>conftest.$ac_ext <<_ACEOF
27352/* end confdefs.h. */
27353/* System header to define __stub macros and hopefully few prototypes,
27354 which can conflict with char $ac_func (); below.
27355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356 <limits.h> exists even on freestanding compilers. */
27357#ifdef __STDC__
27358# include <limits.h>
27359#else
27360# include <assert.h>
27361#endif
27362/* Override any gcc2 internal prototype to avoid an error. */
27363#ifdef __cplusplus
27364extern "C"
27365{
27366#endif
27367/* We use char because int might match the return type of a gcc2
27368 builtin and then its argument prototype would still apply. */
27369char $ac_func ();
27370/* The GNU C library defines this for functions which it implements
27371 to always fail with ENOSYS. Some functions are actually named
27372 something starting with __ and the normal name is an alias. */
27373#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27374choke me
27375#else
27376char (*f) () = $ac_func;
27377#endif
27378#ifdef __cplusplus
27379}
27380#endif
27381
27382int
27383main ()
27384{
27385return f != $ac_func;
27386 ;
27387 return 0;
27388}
27389_ACEOF
27390rm -f conftest.$ac_objext conftest$ac_exeext
27391if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27392 (eval $ac_link) 2>&5
27393 ac_status=$?
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); } &&
27396 { ac_try='test -s conftest$ac_exeext'
27397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27398 (eval $ac_try) 2>&5
27399 ac_status=$?
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); }; }; then
27402 eval "$as_ac_var=yes"
27403else
27404 echo "$as_me: failed program was:" >&5
27405sed 's/^/| /' conftest.$ac_ext >&5
27406
27407eval "$as_ac_var=no"
27408fi
27409rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27410fi
27411echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27412echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27413if test `eval echo '${'$as_ac_var'}'` = yes; then
27414 cat >>confdefs.h <<_ACEOF
27415#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27416_ACEOF
27417 break
27418fi
27419done
27420
27421
27422HAVE_SOME_SLEEP_FUNC=0
27423if test "$USE_BEOS" = 1; then
27424 cat >>confdefs.h <<\_ACEOF
27425#define HAVE_SLEEP 1
27426_ACEOF
27427
27428 HAVE_SOME_SLEEP_FUNC=1
27429fi
27430
27431if test "$USE_DARWIN" = 1; then
27432 cat >>confdefs.h <<\_ACEOF
27433#define HAVE_USLEEP 1
27434_ACEOF
27435
27436 HAVE_SOME_SLEEP_FUNC=1
27437fi
27438
27439if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27440 POSIX4_LINK=
27441
27442for ac_func in nanosleep
27443do
27444as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27445echo "$as_me:$LINENO: checking for $ac_func" >&5
27446echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27447if eval "test \"\${$as_ac_var+set}\" = set"; then
27448 echo $ECHO_N "(cached) $ECHO_C" >&6
27449else
27450 cat >conftest.$ac_ext <<_ACEOF
27451#line $LINENO "configure"
27452/* confdefs.h. */
27453_ACEOF
27454cat confdefs.h >>conftest.$ac_ext
27455cat >>conftest.$ac_ext <<_ACEOF
27456/* end confdefs.h. */
27457/* System header to define __stub macros and hopefully few prototypes,
27458 which can conflict with char $ac_func (); below.
27459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27460 <limits.h> exists even on freestanding compilers. */
27461#ifdef __STDC__
27462# include <limits.h>
27463#else
27464# include <assert.h>
27465#endif
27466/* Override any gcc2 internal prototype to avoid an error. */
27467#ifdef __cplusplus
27468extern "C"
27469{
27470#endif
27471/* We use char because int might match the return type of a gcc2
27472 builtin and then its argument prototype would still apply. */
27473char $ac_func ();
27474/* The GNU C library defines this for functions which it implements
27475 to always fail with ENOSYS. Some functions are actually named
27476 something starting with __ and the normal name is an alias. */
27477#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27478choke me
27479#else
27480char (*f) () = $ac_func;
27481#endif
27482#ifdef __cplusplus
27483}
27484#endif
27485
27486int
27487main ()
27488{
27489return f != $ac_func;
27490 ;
27491 return 0;
27492}
27493_ACEOF
27494rm -f conftest.$ac_objext conftest$ac_exeext
27495if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27496 (eval $ac_link) 2>&5
27497 ac_status=$?
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); } &&
27500 { ac_try='test -s conftest$ac_exeext'
27501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27502 (eval $ac_try) 2>&5
27503 ac_status=$?
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); }; }; then
27506 eval "$as_ac_var=yes"
27507else
27508 echo "$as_me: failed program was:" >&5
27509sed 's/^/| /' conftest.$ac_ext >&5
27510
27511eval "$as_ac_var=no"
27512fi
27513rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27514fi
27515echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27516echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27517if test `eval echo '${'$as_ac_var'}'` = yes; then
27518 cat >>confdefs.h <<_ACEOF
27519#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27520_ACEOF
27521 cat >>confdefs.h <<\_ACEOF
27522#define HAVE_NANOSLEEP 1
27523_ACEOF
27524
27525else
27526
27527 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27528echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27529if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27531else
27532 ac_check_lib_save_LIBS=$LIBS
27533LIBS="-lposix4 $LIBS"
27534cat >conftest.$ac_ext <<_ACEOF
27535#line $LINENO "configure"
27536/* confdefs.h. */
27537_ACEOF
27538cat confdefs.h >>conftest.$ac_ext
27539cat >>conftest.$ac_ext <<_ACEOF
27540/* end confdefs.h. */
27541
27542/* Override any gcc2 internal prototype to avoid an error. */
27543#ifdef __cplusplus
27544extern "C"
27545#endif
27546/* We use char because int might match the return type of a gcc2
27547 builtin and then its argument prototype would still apply. */
27548char nanosleep ();
27549int
27550main ()
27551{
27552nanosleep ();
27553 ;
27554 return 0;
27555}
27556_ACEOF
27557rm -f conftest.$ac_objext conftest$ac_exeext
27558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27559 (eval $ac_link) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } &&
27563 { ac_try='test -s conftest$ac_exeext'
27564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27565 (eval $ac_try) 2>&5
27566 ac_status=$?
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); }; }; then
27569 ac_cv_lib_posix4_nanosleep=yes
27570else
27571 echo "$as_me: failed program was:" >&5
27572sed 's/^/| /' conftest.$ac_ext >&5
27573
27574ac_cv_lib_posix4_nanosleep=no
27575fi
27576rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27577LIBS=$ac_check_lib_save_LIBS
27578fi
27579echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27580echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27581if test $ac_cv_lib_posix4_nanosleep = yes; then
27582
27583 cat >>confdefs.h <<\_ACEOF
27584#define HAVE_NANOSLEEP 1
27585_ACEOF
27586
27587 POSIX4_LINK=" -lposix4"
27588
27589else
27590
27591
27592for ac_func in usleep
27593do
27594as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27595echo "$as_me:$LINENO: checking for $ac_func" >&5
27596echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27597if eval "test \"\${$as_ac_var+set}\" = set"; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27599else
27600 cat >conftest.$ac_ext <<_ACEOF
27601#line $LINENO "configure"
27602/* confdefs.h. */
27603_ACEOF
27604cat confdefs.h >>conftest.$ac_ext
27605cat >>conftest.$ac_ext <<_ACEOF
27606/* end confdefs.h. */
27607/* System header to define __stub macros and hopefully few prototypes,
27608 which can conflict with char $ac_func (); below.
27609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27610 <limits.h> exists even on freestanding compilers. */
27611#ifdef __STDC__
27612# include <limits.h>
27613#else
27614# include <assert.h>
27615#endif
27616/* Override any gcc2 internal prototype to avoid an error. */
27617#ifdef __cplusplus
27618extern "C"
27619{
27620#endif
27621/* We use char because int might match the return type of a gcc2
27622 builtin and then its argument prototype would still apply. */
27623char $ac_func ();
27624/* The GNU C library defines this for functions which it implements
27625 to always fail with ENOSYS. Some functions are actually named
27626 something starting with __ and the normal name is an alias. */
27627#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27628choke me
27629#else
27630char (*f) () = $ac_func;
27631#endif
27632#ifdef __cplusplus
27633}
27634#endif
27635
27636int
27637main ()
27638{
27639return f != $ac_func;
27640 ;
27641 return 0;
27642}
27643_ACEOF
27644rm -f conftest.$ac_objext conftest$ac_exeext
27645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27646 (eval $ac_link) 2>&5
27647 ac_status=$?
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try='test -s conftest$ac_exeext'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27653 ac_status=$?
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; }; then
27656 eval "$as_ac_var=yes"
27657else
27658 echo "$as_me: failed program was:" >&5
27659sed 's/^/| /' conftest.$ac_ext >&5
27660
27661eval "$as_ac_var=no"
27662fi
27663rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27664fi
27665echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27666echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27667if test `eval echo '${'$as_ac_var'}'` = yes; then
27668 cat >>confdefs.h <<_ACEOF
27669#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27670_ACEOF
27671 cat >>confdefs.h <<\_ACEOF
27672#define HAVE_USLEEP 1
27673_ACEOF
27674
27675else
27676 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27677echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27678
27679fi
27680done
27681
27682
27683
27684fi
27685
27686
27687
27688fi
27689done
27690
27691fi
27692
27693
27694
27695for ac_func in uname gethostname
27696do
27697as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27698echo "$as_me:$LINENO: checking for $ac_func" >&5
27699echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27700if eval "test \"\${$as_ac_var+set}\" = set"; then
27701 echo $ECHO_N "(cached) $ECHO_C" >&6
27702else
27703 cat >conftest.$ac_ext <<_ACEOF
27704#line $LINENO "configure"
27705/* confdefs.h. */
27706_ACEOF
27707cat confdefs.h >>conftest.$ac_ext
27708cat >>conftest.$ac_ext <<_ACEOF
27709/* end confdefs.h. */
27710/* System header to define __stub macros and hopefully few prototypes,
27711 which can conflict with char $ac_func (); below.
27712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27713 <limits.h> exists even on freestanding compilers. */
27714#ifdef __STDC__
27715# include <limits.h>
27716#else
27717# include <assert.h>
27718#endif
27719/* Override any gcc2 internal prototype to avoid an error. */
27720#ifdef __cplusplus
27721extern "C"
27722{
27723#endif
27724/* We use char because int might match the return type of a gcc2
27725 builtin and then its argument prototype would still apply. */
27726char $ac_func ();
27727/* The GNU C library defines this for functions which it implements
27728 to always fail with ENOSYS. Some functions are actually named
27729 something starting with __ and the normal name is an alias. */
27730#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27731choke me
27732#else
27733char (*f) () = $ac_func;
27734#endif
27735#ifdef __cplusplus
27736}
27737#endif
27738
27739int
27740main ()
27741{
27742return f != $ac_func;
27743 ;
27744 return 0;
27745}
27746_ACEOF
27747rm -f conftest.$ac_objext conftest$ac_exeext
27748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27749 (eval $ac_link) 2>&5
27750 ac_status=$?
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } &&
27753 { ac_try='test -s conftest$ac_exeext'
27754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27755 (eval $ac_try) 2>&5
27756 ac_status=$?
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); }; }; then
27759 eval "$as_ac_var=yes"
27760else
27761 echo "$as_me: failed program was:" >&5
27762sed 's/^/| /' conftest.$ac_ext >&5
27763
27764eval "$as_ac_var=no"
27765fi
27766rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27767fi
27768echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27769echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27770if test `eval echo '${'$as_ac_var'}'` = yes; then
27771 cat >>confdefs.h <<_ACEOF
27772#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27773_ACEOF
27774 break
27775fi
27776done
27777
27778
27779
27780
27781ac_ext=cc
27782ac_cpp='$CXXCPP $CPPFLAGS'
27783ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27784ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27785ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27786
27787
27788
27789for ac_func in strtok_r
27790do
27791as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27792echo "$as_me:$LINENO: checking for $ac_func" >&5
27793echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27794if eval "test \"\${$as_ac_var+set}\" = set"; then
27795 echo $ECHO_N "(cached) $ECHO_C" >&6
27796else
27797 cat >conftest.$ac_ext <<_ACEOF
27798#line $LINENO "configure"
27799/* confdefs.h. */
27800_ACEOF
27801cat confdefs.h >>conftest.$ac_ext
27802cat >>conftest.$ac_ext <<_ACEOF
27803/* end confdefs.h. */
27804/* System header to define __stub macros and hopefully few prototypes,
27805 which can conflict with char $ac_func (); below.
27806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27807 <limits.h> exists even on freestanding compilers. */
27808#ifdef __STDC__
27809# include <limits.h>
27810#else
27811# include <assert.h>
27812#endif
27813/* Override any gcc2 internal prototype to avoid an error. */
27814#ifdef __cplusplus
27815extern "C"
27816{
27817#endif
27818/* We use char because int might match the return type of a gcc2
27819 builtin and then its argument prototype would still apply. */
27820char $ac_func ();
27821/* The GNU C library defines this for functions which it implements
27822 to always fail with ENOSYS. Some functions are actually named
27823 something starting with __ and the normal name is an alias. */
27824#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27825choke me
27826#else
27827char (*f) () = $ac_func;
27828#endif
27829#ifdef __cplusplus
27830}
27831#endif
27832
27833int
27834main ()
27835{
27836return f != $ac_func;
27837 ;
27838 return 0;
27839}
27840_ACEOF
27841rm -f conftest.$ac_objext conftest$ac_exeext
27842if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27843 (eval $ac_link) 2>&5
27844 ac_status=$?
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); } &&
27847 { ac_try='test -s conftest$ac_exeext'
27848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27849 (eval $ac_try) 2>&5
27850 ac_status=$?
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); }; }; then
27853 eval "$as_ac_var=yes"
27854else
27855 echo "$as_me: failed program was:" >&5
27856sed 's/^/| /' conftest.$ac_ext >&5
27857
27858eval "$as_ac_var=no"
27859fi
27860rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27861fi
27862echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27863echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27864if test `eval echo '${'$as_ac_var'}'` = yes; then
27865 cat >>confdefs.h <<_ACEOF
27866#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27867_ACEOF
27868
27869fi
27870done
27871
27872
27873ac_ext=c
27874ac_cpp='$CPP $CPPFLAGS'
27875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27877ac_compiler_gnu=$ac_cv_c_compiler_gnu
27878
27879
27880INET_LINK=
27881
27882for ac_func in inet_addr
27883do
27884as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27885echo "$as_me:$LINENO: checking for $ac_func" >&5
27886echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27887if eval "test \"\${$as_ac_var+set}\" = set"; then
27888 echo $ECHO_N "(cached) $ECHO_C" >&6
27889else
27890 cat >conftest.$ac_ext <<_ACEOF
27891#line $LINENO "configure"
27892/* confdefs.h. */
27893_ACEOF
27894cat confdefs.h >>conftest.$ac_ext
27895cat >>conftest.$ac_ext <<_ACEOF
27896/* end confdefs.h. */
27897/* System header to define __stub macros and hopefully few prototypes,
27898 which can conflict with char $ac_func (); below.
27899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27900 <limits.h> exists even on freestanding compilers. */
27901#ifdef __STDC__
27902# include <limits.h>
27903#else
27904# include <assert.h>
27905#endif
27906/* Override any gcc2 internal prototype to avoid an error. */
27907#ifdef __cplusplus
27908extern "C"
27909{
27910#endif
27911/* We use char because int might match the return type of a gcc2
27912 builtin and then its argument prototype would still apply. */
27913char $ac_func ();
27914/* The GNU C library defines this for functions which it implements
27915 to always fail with ENOSYS. Some functions are actually named
27916 something starting with __ and the normal name is an alias. */
27917#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27918choke me
27919#else
27920char (*f) () = $ac_func;
27921#endif
27922#ifdef __cplusplus
27923}
27924#endif
27925
27926int
27927main ()
27928{
27929return f != $ac_func;
27930 ;
27931 return 0;
27932}
27933_ACEOF
27934rm -f conftest.$ac_objext conftest$ac_exeext
27935if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27936 (eval $ac_link) 2>&5
27937 ac_status=$?
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); } &&
27940 { ac_try='test -s conftest$ac_exeext'
27941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27942 (eval $ac_try) 2>&5
27943 ac_status=$?
27944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27945 (exit $ac_status); }; }; then
27946 eval "$as_ac_var=yes"
27947else
27948 echo "$as_me: failed program was:" >&5
27949sed 's/^/| /' conftest.$ac_ext >&5
27950
27951eval "$as_ac_var=no"
27952fi
27953rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27954fi
27955echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27956echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27957if test `eval echo '${'$as_ac_var'}'` = yes; then
27958 cat >>confdefs.h <<_ACEOF
27959#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27960_ACEOF
27961 cat >>confdefs.h <<\_ACEOF
27962#define HAVE_INET_ADDR 1
27963_ACEOF
27964
27965else
27966
27967 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27968echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27969if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27970 echo $ECHO_N "(cached) $ECHO_C" >&6
27971else
27972 ac_check_lib_save_LIBS=$LIBS
27973LIBS="-lnsl $LIBS"
27974cat >conftest.$ac_ext <<_ACEOF
27975#line $LINENO "configure"
27976/* confdefs.h. */
27977_ACEOF
27978cat confdefs.h >>conftest.$ac_ext
27979cat >>conftest.$ac_ext <<_ACEOF
27980/* end confdefs.h. */
27981
27982/* Override any gcc2 internal prototype to avoid an error. */
27983#ifdef __cplusplus
27984extern "C"
27985#endif
27986/* We use char because int might match the return type of a gcc2
27987 builtin and then its argument prototype would still apply. */
27988char inet_addr ();
27989int
27990main ()
27991{
27992inet_addr ();
27993 ;
27994 return 0;
27995}
27996_ACEOF
27997rm -f conftest.$ac_objext conftest$ac_exeext
27998if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27999 (eval $ac_link) 2>&5
28000 ac_status=$?
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); } &&
28003 { ac_try='test -s conftest$ac_exeext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28009 ac_cv_lib_nsl_inet_addr=yes
28010else
28011 echo "$as_me: failed program was:" >&5
28012sed 's/^/| /' conftest.$ac_ext >&5
28013
28014ac_cv_lib_nsl_inet_addr=no
28015fi
28016rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28017LIBS=$ac_check_lib_save_LIBS
28018fi
28019echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28020echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28021if test $ac_cv_lib_nsl_inet_addr = yes; then
28022 INET_LINK="nsl"
28023else
28024 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28025echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28026if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28027 echo $ECHO_N "(cached) $ECHO_C" >&6
28028else
28029 ac_check_lib_save_LIBS=$LIBS
28030LIBS="-lresolv $LIBS"
28031cat >conftest.$ac_ext <<_ACEOF
28032#line $LINENO "configure"
28033/* confdefs.h. */
28034_ACEOF
28035cat confdefs.h >>conftest.$ac_ext
28036cat >>conftest.$ac_ext <<_ACEOF
28037/* end confdefs.h. */
28038
28039/* Override any gcc2 internal prototype to avoid an error. */
28040#ifdef __cplusplus
28041extern "C"
28042#endif
28043/* We use char because int might match the return type of a gcc2
28044 builtin and then its argument prototype would still apply. */
28045char inet_addr ();
28046int
28047main ()
28048{
28049inet_addr ();
28050 ;
28051 return 0;
28052}
28053_ACEOF
28054rm -f conftest.$ac_objext conftest$ac_exeext
28055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28056 (eval $ac_link) 2>&5
28057 ac_status=$?
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); } &&
28060 { ac_try='test -s conftest$ac_exeext'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28063 ac_status=$?
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; }; then
28066 ac_cv_lib_resolv_inet_addr=yes
28067else
28068 echo "$as_me: failed program was:" >&5
28069sed 's/^/| /' conftest.$ac_ext >&5
28070
28071ac_cv_lib_resolv_inet_addr=no
28072fi
28073rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28074LIBS=$ac_check_lib_save_LIBS
28075fi
28076echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28077echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28078if test $ac_cv_lib_resolv_inet_addr = yes; then
28079 INET_LINK="resolv"
28080else
28081 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28082echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28083if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28084 echo $ECHO_N "(cached) $ECHO_C" >&6
28085else
28086 ac_check_lib_save_LIBS=$LIBS
28087LIBS="-lsocket $LIBS"
28088cat >conftest.$ac_ext <<_ACEOF
28089#line $LINENO "configure"
28090/* confdefs.h. */
28091_ACEOF
28092cat confdefs.h >>conftest.$ac_ext
28093cat >>conftest.$ac_ext <<_ACEOF
28094/* end confdefs.h. */
28095
28096/* Override any gcc2 internal prototype to avoid an error. */
28097#ifdef __cplusplus
28098extern "C"
28099#endif
28100/* We use char because int might match the return type of a gcc2
28101 builtin and then its argument prototype would still apply. */
28102char inet_addr ();
28103int
28104main ()
28105{
28106inet_addr ();
28107 ;
28108 return 0;
28109}
28110_ACEOF
28111rm -f conftest.$ac_objext conftest$ac_exeext
28112if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28113 (eval $ac_link) 2>&5
28114 ac_status=$?
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); } &&
28117 { ac_try='test -s conftest$ac_exeext'
28118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119 (eval $ac_try) 2>&5
28120 ac_status=$?
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); }; }; then
28123 ac_cv_lib_socket_inet_addr=yes
28124else
28125 echo "$as_me: failed program was:" >&5
28126sed 's/^/| /' conftest.$ac_ext >&5
28127
28128ac_cv_lib_socket_inet_addr=no
28129fi
28130rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28131LIBS=$ac_check_lib_save_LIBS
28132fi
28133echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28134echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28135if test $ac_cv_lib_socket_inet_addr = yes; then
28136 INET_LINK="socket"
28137
28138fi
28139
28140
28141fi
28142
28143
28144fi
28145
28146
28147
28148fi
28149done
28150
28151
28152
28153for ac_func in inet_aton
28154do
28155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28156echo "$as_me:$LINENO: checking for $ac_func" >&5
28157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28158if eval "test \"\${$as_ac_var+set}\" = set"; then
28159 echo $ECHO_N "(cached) $ECHO_C" >&6
28160else
28161 cat >conftest.$ac_ext <<_ACEOF
28162#line $LINENO "configure"
28163/* confdefs.h. */
28164_ACEOF
28165cat confdefs.h >>conftest.$ac_ext
28166cat >>conftest.$ac_ext <<_ACEOF
28167/* end confdefs.h. */
28168/* System header to define __stub macros and hopefully few prototypes,
28169 which can conflict with char $ac_func (); below.
28170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28171 <limits.h> exists even on freestanding compilers. */
28172#ifdef __STDC__
28173# include <limits.h>
28174#else
28175# include <assert.h>
28176#endif
28177/* Override any gcc2 internal prototype to avoid an error. */
28178#ifdef __cplusplus
28179extern "C"
28180{
28181#endif
28182/* We use char because int might match the return type of a gcc2
28183 builtin and then its argument prototype would still apply. */
28184char $ac_func ();
28185/* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28189choke me
28190#else
28191char (*f) () = $ac_func;
28192#endif
28193#ifdef __cplusplus
28194}
28195#endif
28196
28197int
28198main ()
28199{
28200return f != $ac_func;
28201 ;
28202 return 0;
28203}
28204_ACEOF
28205rm -f conftest.$ac_objext conftest$ac_exeext
28206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28207 (eval $ac_link) 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try='test -s conftest$ac_exeext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 eval "$as_ac_var=yes"
28218else
28219 echo "$as_me: failed program was:" >&5
28220sed 's/^/| /' conftest.$ac_ext >&5
28221
28222eval "$as_ac_var=no"
28223fi
28224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28225fi
28226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28227echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28228if test `eval echo '${'$as_ac_var'}'` = yes; then
28229 cat >>confdefs.h <<_ACEOF
28230#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28231_ACEOF
28232 cat >>confdefs.h <<\_ACEOF
28233#define HAVE_INET_ATON 1
28234_ACEOF
28235
28236else
28237
28238 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28239echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28240echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28241if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28242 echo $ECHO_N "(cached) $ECHO_C" >&6
28243else
28244 ac_check_lib_save_LIBS=$LIBS
28245LIBS="-l$INET_LINK $LIBS"
28246cat >conftest.$ac_ext <<_ACEOF
28247#line $LINENO "configure"
28248/* confdefs.h. */
28249_ACEOF
28250cat confdefs.h >>conftest.$ac_ext
28251cat >>conftest.$ac_ext <<_ACEOF
28252/* end confdefs.h. */
28253
28254/* Override any gcc2 internal prototype to avoid an error. */
28255#ifdef __cplusplus
28256extern "C"
28257#endif
28258/* We use char because int might match the return type of a gcc2
28259 builtin and then its argument prototype would still apply. */
28260char inet_aton ();
28261int
28262main ()
28263{
28264inet_aton ();
28265 ;
28266 return 0;
28267}
28268_ACEOF
28269rm -f conftest.$ac_objext conftest$ac_exeext
28270if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28271 (eval $ac_link) 2>&5
28272 ac_status=$?
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } &&
28275 { ac_try='test -s conftest$ac_exeext'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28278 ac_status=$?
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; }; then
28281 eval "$as_ac_Lib=yes"
28282else
28283 echo "$as_me: failed program was:" >&5
28284sed 's/^/| /' conftest.$ac_ext >&5
28285
28286eval "$as_ac_Lib=no"
28287fi
28288rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28289LIBS=$ac_check_lib_save_LIBS
28290fi
28291echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28292echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28293if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28294 cat >>confdefs.h <<\_ACEOF
28295#define HAVE_INET_ATON 1
28296_ACEOF
28297
28298fi
28299
28300
28301fi
28302done
28303
28304
28305if test "x$INET_LINK" != "x"; then
28306 cat >>confdefs.h <<\_ACEOF
28307#define HAVE_INET_ADDR 1
28308_ACEOF
28309
28310 INET_LINK=" -l$INET_LINK"
28311fi
28312
28313fi
28314
28315
28316
28317ESD_LINK=
28318if test "${ac_cv_header_esd_h+set}" = set; then
28319 echo "$as_me:$LINENO: checking for esd.h" >&5
28320echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28321if test "${ac_cv_header_esd_h+set}" = set; then
28322 echo $ECHO_N "(cached) $ECHO_C" >&6
28323fi
28324echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28325echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28326else
28327 # Is the header compilable?
28328echo "$as_me:$LINENO: checking esd.h usability" >&5
28329echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28330cat >conftest.$ac_ext <<_ACEOF
28331#line $LINENO "configure"
28332/* confdefs.h. */
28333_ACEOF
28334cat confdefs.h >>conftest.$ac_ext
28335cat >>conftest.$ac_ext <<_ACEOF
28336/* end confdefs.h. */
28337$ac_includes_default
28338#include <esd.h>
28339_ACEOF
28340rm -f conftest.$ac_objext
28341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28342 (eval $ac_compile) 2>&5
28343 ac_status=$?
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); } &&
28346 { ac_try='test -s conftest.$ac_objext'
28347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28348 (eval $ac_try) 2>&5
28349 ac_status=$?
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); }; }; then
28352 ac_header_compiler=yes
28353else
28354 echo "$as_me: failed program was:" >&5
28355sed 's/^/| /' conftest.$ac_ext >&5
28356
28357ac_header_compiler=no
28358fi
28359rm -f conftest.$ac_objext conftest.$ac_ext
28360echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28361echo "${ECHO_T}$ac_header_compiler" >&6
28362
28363# Is the header present?
28364echo "$as_me:$LINENO: checking esd.h presence" >&5
28365echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28366cat >conftest.$ac_ext <<_ACEOF
28367#line $LINENO "configure"
28368/* confdefs.h. */
28369_ACEOF
28370cat confdefs.h >>conftest.$ac_ext
28371cat >>conftest.$ac_ext <<_ACEOF
28372/* end confdefs.h. */
28373#include <esd.h>
28374_ACEOF
28375if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28377 ac_status=$?
28378 grep -v '^ *+' conftest.er1 >conftest.err
28379 rm -f conftest.er1
28380 cat conftest.err >&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } >/dev/null; then
28383 if test -s conftest.err; then
28384 ac_cpp_err=$ac_c_preproc_warn_flag
28385 else
28386 ac_cpp_err=
28387 fi
28388else
28389 ac_cpp_err=yes
28390fi
28391if test -z "$ac_cpp_err"; then
28392 ac_header_preproc=yes
28393else
28394 echo "$as_me: failed program was:" >&5
28395sed 's/^/| /' conftest.$ac_ext >&5
28396
28397 ac_header_preproc=no
28398fi
28399rm -f conftest.err conftest.$ac_ext
28400echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28401echo "${ECHO_T}$ac_header_preproc" >&6
28402
28403# So? What about this header?
28404case $ac_header_compiler:$ac_header_preproc in
28405 yes:no )
28406 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28407echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28408 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28409echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28410 (
28411 cat <<\_ASBOX
28412## ------------------------------------ ##
28413## Report this to bug-autoconf@gnu.org. ##
28414## ------------------------------------ ##
28415_ASBOX
28416 ) |
28417 sed "s/^/$as_me: WARNING: /" >&2
28418 ;;
28419 no:yes )
28420 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28421echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28422 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28423echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28424 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28425echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28426 (
28427 cat <<\_ASBOX
28428## ------------------------------------ ##
28429## Report this to bug-autoconf@gnu.org. ##
28430## ------------------------------------ ##
28431_ASBOX
28432 ) |
28433 sed "s/^/$as_me: WARNING: /" >&2
28434 ;;
28435esac
28436echo "$as_me:$LINENO: checking for esd.h" >&5
28437echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28438if test "${ac_cv_header_esd_h+set}" = set; then
28439 echo $ECHO_N "(cached) $ECHO_C" >&6
28440else
28441 ac_cv_header_esd_h=$ac_header_preproc
28442fi
28443echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28444echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28445
28446fi
28447if test $ac_cv_header_esd_h = yes; then
28448
28449 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28450echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28451if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28453else
28454 ac_check_lib_save_LIBS=$LIBS
28455LIBS="-lesd $LIBS"
28456cat >conftest.$ac_ext <<_ACEOF
28457#line $LINENO "configure"
28458/* confdefs.h. */
28459_ACEOF
28460cat confdefs.h >>conftest.$ac_ext
28461cat >>conftest.$ac_ext <<_ACEOF
28462/* end confdefs.h. */
28463
28464/* Override any gcc2 internal prototype to avoid an error. */
28465#ifdef __cplusplus
28466extern "C"
28467#endif
28468/* We use char because int might match the return type of a gcc2
28469 builtin and then its argument prototype would still apply. */
28470char esd_close ();
28471int
28472main ()
28473{
28474esd_close ();
28475 ;
28476 return 0;
28477}
28478_ACEOF
28479rm -f conftest.$ac_objext conftest$ac_exeext
28480if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28481 (eval $ac_link) 2>&5
28482 ac_status=$?
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } &&
28485 { ac_try='test -s conftest$ac_exeext'
28486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28487 (eval $ac_try) 2>&5
28488 ac_status=$?
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; }; then
28491 ac_cv_lib_esd_esd_close=yes
28492else
28493 echo "$as_me: failed program was:" >&5
28494sed 's/^/| /' conftest.$ac_ext >&5
28495
28496ac_cv_lib_esd_esd_close=no
28497fi
28498rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28499LIBS=$ac_check_lib_save_LIBS
28500fi
28501echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28502echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28503if test $ac_cv_lib_esd_esd_close = yes; then
28504
28505 ESD_LINK="-lesd"
28506
28507fi
28508
28509
28510fi
28511
28512
28513
28514
28515
28516cat >confcache <<\_ACEOF
28517# This file is a shell script that caches the results of configure
28518# tests run on this system so they can be shared between configure
28519# scripts and configure runs, see configure's option --config-cache.
28520# It is not useful on other systems. If it contains results you don't
28521# want to keep, you may remove or edit it.
28522#
28523# config.status only pays attention to the cache file if you give it
28524# the --recheck option to rerun configure.
28525#
28526# `ac_cv_env_foo' variables (set or unset) will be overridden when
28527# loading this file, other *unset* `ac_cv_foo' will be assigned the
28528# following values.
28529
28530_ACEOF
28531
28532# The following way of writing the cache mishandles newlines in values,
28533# but we know of no workaround that is simple, portable, and efficient.
28534# So, don't put newlines in cache variables' values.
28535# Ultrix sh set writes to stderr and can't be redirected directly,
28536# and sets the high bit in the cache file unless we assign to the vars.
28537{
28538 (set) 2>&1 |
28539 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28540 *ac_space=\ *)
28541 # `set' does not quote correctly, so add quotes (double-quote
28542 # substitution turns \\\\ into \\, and sed turns \\ into \).
28543 sed -n \
28544 "s/'/'\\\\''/g;
28545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28546 ;;
28547 *)
28548 # `set' quotes correctly as required by POSIX, so do not add quotes.
28549 sed -n \
28550 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28551 ;;
28552 esac;
28553} |
28554 sed '
28555 t clear
28556 : clear
28557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28558 t end
28559 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28560 : end' >>confcache
28561if diff $cache_file confcache >/dev/null 2>&1; then :; else
28562 if test -w $cache_file; then
28563 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28564 cat confcache >$cache_file
28565 else
28566 echo "not updating unwritable cache $cache_file"
28567 fi
28568fi
28569rm -f confcache
28570
28571
28572CPP_MT_FLAG=
28573if test "$TOOLKIT" != "MSW"; then
28574
28575
28576 THREADS_LINK=
28577 THREADS_CFLAGS=
28578
28579 if test "$wxUSE_THREADS" = "yes" ; then
28580 if test "$USE_BEOS" = 1; then
28581 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28582echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28583 wxUSE_THREADS="no"
28584 fi
28585 fi
28586
28587 if test "$wxUSE_THREADS" = "yes" ; then
28588
28589
28590 THREAD_OPTS="-pthread"
28591 case "${host}" in
28592 *-*-solaris2* | *-*-sunos4* )
28593 if test "x$GCC" = "xyes"; then
28594 THREAD_OPTS="-pthreads $THREAD_OPTS"
28595 else
28596 THREAD_OPTS="-mt $THREAD_OPTS"
28597 fi
28598 ;;
28599 *-*-freebsd*)
28600 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28601 ;;
28602 *-*-darwin* | *-*-cygwin* )
28603 THREAD_OPTS=""
28604 ;;
28605 *-*-aix*)
28606 THREAD_OPTS="pthreads"
28607 ;;
28608 *-hp-hpux* )
28609 if test "x$GCC" != "xyes"; then
28610 THREAD_OPTS=""
28611 fi
28612 ;;
28613
28614 *-*-irix* )
28615 if test "x$GCC" = "xyes"; then
28616 THREAD_OPTS=""
28617 fi
28618 ;;
28619
28620 *-*-*UnixWare*)
28621 if test "x$GCC" != "xyes"; then
28622 THREAD_OPTS="-Ethread"
28623 fi
28624 ;;
28625 esac
28626
28627 THREAD_OPTS="$THREAD_OPTS pthread none"
28628
28629 THREADS_OK=no
28630 for flag in $THREAD_OPTS; do
28631 case $flag in
28632 none)
28633 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28634echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28635 ;;
28636
28637 -*)
28638 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28639echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28640 THREADS_CFLAGS="$flag"
28641 ;;
28642
28643 *)
28644 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28645echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28646 THREADS_LINK="-l$flag"
28647 ;;
28648 esac
28649
28650 save_LIBS="$LIBS"
28651 save_CFLAGS="$CFLAGS"
28652 LIBS="$THREADS_LINK $LIBS"
28653 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28654
28655 cat >conftest.$ac_ext <<_ACEOF
28656#line $LINENO "configure"
28657/* confdefs.h. */
28658_ACEOF
28659cat confdefs.h >>conftest.$ac_ext
28660cat >>conftest.$ac_ext <<_ACEOF
28661/* end confdefs.h. */
28662#include <pthread.h>
28663int
28664main ()
28665{
28666pthread_create(0,0,0,0);
28667 ;
28668 return 0;
28669}
28670_ACEOF
28671rm -f conftest.$ac_objext conftest$ac_exeext
28672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28673 (eval $ac_link) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try='test -s conftest$ac_exeext'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; }; then
28683 THREADS_OK=yes
28684else
28685 echo "$as_me: failed program was:" >&5
28686sed 's/^/| /' conftest.$ac_ext >&5
28687
28688fi
28689rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28690
28691 LIBS="$save_LIBS"
28692 CFLAGS="$save_CFLAGS"
28693
28694 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28695echo "${ECHO_T}$THREADS_OK" >&6
28696 if test "x$THREADS_OK" = "xyes"; then
28697 break;
28698 fi
28699
28700 THREADS_LINK=""
28701 THREADS_CFLAGS=""
28702 done
28703
28704 if test "x$THREADS_OK" != "xyes"; then
28705 wxUSE_THREADS=no
28706 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28707echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28708 else
28709 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28710 LIBS="$THREADS_LINK $LIBS"
28711
28712 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28713echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28714 flag=no
28715 case "${host}" in
28716 *-aix*)
28717 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28718 flag="-D_THREAD_SAFE"
28719 ;;
28720 *-freebsd*)
28721 flag="-D_THREAD_SAFE"
28722 ;;
28723 *-hp-hpux* )
28724 flag="-D_REENTRANT"
28725 if test "x$GCC" != "xyes"; then
28726 flag="$flag -D_RWSTD_MULTI_THREAD"
28727 fi
28728 ;;
28729 *solaris* | alpha*-osf*)
28730 flag="-D_REENTRANT"
28731 ;;
28732 esac
28733 echo "$as_me:$LINENO: result: ${flag}" >&5
28734echo "${ECHO_T}${flag}" >&6
28735 if test "x$flag" != xno; then
28736 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28737 fi
28738
28739 if test "x$THREADS_CFLAGS" != "x"; then
28740 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28741 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28742 fi
28743 fi
28744 fi
28745
28746 if test "$wxUSE_THREADS" = "yes" ; then
28747
28748for ac_func in thr_setconcurrency
28749do
28750as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28751echo "$as_me:$LINENO: checking for $ac_func" >&5
28752echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28753if eval "test \"\${$as_ac_var+set}\" = set"; then
28754 echo $ECHO_N "(cached) $ECHO_C" >&6
28755else
28756 cat >conftest.$ac_ext <<_ACEOF
28757#line $LINENO "configure"
28758/* confdefs.h. */
28759_ACEOF
28760cat confdefs.h >>conftest.$ac_ext
28761cat >>conftest.$ac_ext <<_ACEOF
28762/* end confdefs.h. */
28763/* System header to define __stub macros and hopefully few prototypes,
28764 which can conflict with char $ac_func (); below.
28765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28766 <limits.h> exists even on freestanding compilers. */
28767#ifdef __STDC__
28768# include <limits.h>
28769#else
28770# include <assert.h>
28771#endif
28772/* Override any gcc2 internal prototype to avoid an error. */
28773#ifdef __cplusplus
28774extern "C"
28775{
28776#endif
28777/* We use char because int might match the return type of a gcc2
28778 builtin and then its argument prototype would still apply. */
28779char $ac_func ();
28780/* The GNU C library defines this for functions which it implements
28781 to always fail with ENOSYS. Some functions are actually named
28782 something starting with __ and the normal name is an alias. */
28783#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28784choke me
28785#else
28786char (*f) () = $ac_func;
28787#endif
28788#ifdef __cplusplus
28789}
28790#endif
28791
28792int
28793main ()
28794{
28795return f != $ac_func;
28796 ;
28797 return 0;
28798}
28799_ACEOF
28800rm -f conftest.$ac_objext conftest$ac_exeext
28801if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28802 (eval $ac_link) 2>&5
28803 ac_status=$?
28804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28805 (exit $ac_status); } &&
28806 { ac_try='test -s conftest$ac_exeext'
28807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28808 (eval $ac_try) 2>&5
28809 ac_status=$?
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); }; }; then
28812 eval "$as_ac_var=yes"
28813else
28814 echo "$as_me: failed program was:" >&5
28815sed 's/^/| /' conftest.$ac_ext >&5
28816
28817eval "$as_ac_var=no"
28818fi
28819rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28820fi
28821echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28822echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28823if test `eval echo '${'$as_ac_var'}'` = yes; then
28824 cat >>confdefs.h <<_ACEOF
28825#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28826_ACEOF
28827
28828fi
28829done
28830
28831
28832
28833for ac_header in sched.h
28834do
28835as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28836if eval "test \"\${$as_ac_Header+set}\" = set"; then
28837 echo "$as_me:$LINENO: checking for $ac_header" >&5
28838echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28839if eval "test \"\${$as_ac_Header+set}\" = set"; then
28840 echo $ECHO_N "(cached) $ECHO_C" >&6
28841fi
28842echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28843echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28844else
28845 # Is the header compilable?
28846echo "$as_me:$LINENO: checking $ac_header usability" >&5
28847echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28848cat >conftest.$ac_ext <<_ACEOF
28849#line $LINENO "configure"
28850/* confdefs.h. */
28851_ACEOF
28852cat confdefs.h >>conftest.$ac_ext
28853cat >>conftest.$ac_ext <<_ACEOF
28854/* end confdefs.h. */
28855$ac_includes_default
28856#include <$ac_header>
28857_ACEOF
28858rm -f conftest.$ac_objext
28859if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28860 (eval $ac_compile) 2>&5
28861 ac_status=$?
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } &&
28864 { ac_try='test -s conftest.$ac_objext'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28867 ac_status=$?
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; }; then
28870 ac_header_compiler=yes
28871else
28872 echo "$as_me: failed program was:" >&5
28873sed 's/^/| /' conftest.$ac_ext >&5
28874
28875ac_header_compiler=no
28876fi
28877rm -f conftest.$ac_objext conftest.$ac_ext
28878echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28879echo "${ECHO_T}$ac_header_compiler" >&6
28880
28881# Is the header present?
28882echo "$as_me:$LINENO: checking $ac_header presence" >&5
28883echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28884cat >conftest.$ac_ext <<_ACEOF
28885#line $LINENO "configure"
28886/* confdefs.h. */
28887_ACEOF
28888cat confdefs.h >>conftest.$ac_ext
28889cat >>conftest.$ac_ext <<_ACEOF
28890/* end confdefs.h. */
28891#include <$ac_header>
28892_ACEOF
28893if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28894 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28895 ac_status=$?
28896 grep -v '^ *+' conftest.er1 >conftest.err
28897 rm -f conftest.er1
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } >/dev/null; then
28901 if test -s conftest.err; then
28902 ac_cpp_err=$ac_c_preproc_warn_flag
28903 else
28904 ac_cpp_err=
28905 fi
28906else
28907 ac_cpp_err=yes
28908fi
28909if test -z "$ac_cpp_err"; then
28910 ac_header_preproc=yes
28911else
28912 echo "$as_me: failed program was:" >&5
28913sed 's/^/| /' conftest.$ac_ext >&5
28914
28915 ac_header_preproc=no
28916fi
28917rm -f conftest.err conftest.$ac_ext
28918echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28919echo "${ECHO_T}$ac_header_preproc" >&6
28920
28921# So? What about this header?
28922case $ac_header_compiler:$ac_header_preproc in
28923 yes:no )
28924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28925echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28927echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28928 (
28929 cat <<\_ASBOX
28930## ------------------------------------ ##
28931## Report this to bug-autoconf@gnu.org. ##
28932## ------------------------------------ ##
28933_ASBOX
28934 ) |
28935 sed "s/^/$as_me: WARNING: /" >&2
28936 ;;
28937 no:yes )
28938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28939echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28941echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28943echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28944 (
28945 cat <<\_ASBOX
28946## ------------------------------------ ##
28947## Report this to bug-autoconf@gnu.org. ##
28948## ------------------------------------ ##
28949_ASBOX
28950 ) |
28951 sed "s/^/$as_me: WARNING: /" >&2
28952 ;;
28953esac
28954echo "$as_me:$LINENO: checking for $ac_header" >&5
28955echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28956if eval "test \"\${$as_ac_Header+set}\" = set"; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28958else
28959 eval "$as_ac_Header=$ac_header_preproc"
28960fi
28961echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28962echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28963
28964fi
28965if test `eval echo '${'$as_ac_Header'}'` = yes; then
28966 cat >>confdefs.h <<_ACEOF
28967#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28968_ACEOF
28969
28970fi
28971
28972done
28973
28974 if test "$ac_cv_header_sched_h" = "yes"; then
28975 echo "$as_me:$LINENO: checking for sched_yield" >&5
28976echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28977if test "${ac_cv_func_sched_yield+set}" = set; then
28978 echo $ECHO_N "(cached) $ECHO_C" >&6
28979else
28980 cat >conftest.$ac_ext <<_ACEOF
28981#line $LINENO "configure"
28982/* confdefs.h. */
28983_ACEOF
28984cat confdefs.h >>conftest.$ac_ext
28985cat >>conftest.$ac_ext <<_ACEOF
28986/* end confdefs.h. */
28987/* System header to define __stub macros and hopefully few prototypes,
28988 which can conflict with char sched_yield (); below.
28989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28990 <limits.h> exists even on freestanding compilers. */
28991#ifdef __STDC__
28992# include <limits.h>
28993#else
28994# include <assert.h>
28995#endif
28996/* Override any gcc2 internal prototype to avoid an error. */
28997#ifdef __cplusplus
28998extern "C"
28999{
29000#endif
29001/* We use char because int might match the return type of a gcc2
29002 builtin and then its argument prototype would still apply. */
29003char sched_yield ();
29004/* The GNU C library defines this for functions which it implements
29005 to always fail with ENOSYS. Some functions are actually named
29006 something starting with __ and the normal name is an alias. */
29007#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29008choke me
29009#else
29010char (*f) () = sched_yield;
29011#endif
29012#ifdef __cplusplus
29013}
29014#endif
29015
29016int
29017main ()
29018{
29019return f != sched_yield;
29020 ;
29021 return 0;
29022}
29023_ACEOF
29024rm -f conftest.$ac_objext conftest$ac_exeext
29025if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29026 (eval $ac_link) 2>&5
29027 ac_status=$?
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); } &&
29030 { ac_try='test -s conftest$ac_exeext'
29031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29032 (eval $ac_try) 2>&5
29033 ac_status=$?
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); }; }; then
29036 ac_cv_func_sched_yield=yes
29037else
29038 echo "$as_me: failed program was:" >&5
29039sed 's/^/| /' conftest.$ac_ext >&5
29040
29041ac_cv_func_sched_yield=no
29042fi
29043rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29044fi
29045echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29046echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29047if test $ac_cv_func_sched_yield = yes; then
29048 cat >>confdefs.h <<\_ACEOF
29049#define HAVE_SCHED_YIELD 1
29050_ACEOF
29051
29052else
29053
29054 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29055echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29056if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29057 echo $ECHO_N "(cached) $ECHO_C" >&6
29058else
29059 ac_check_lib_save_LIBS=$LIBS
29060LIBS="-lposix4 $LIBS"
29061cat >conftest.$ac_ext <<_ACEOF
29062#line $LINENO "configure"
29063/* confdefs.h. */
29064_ACEOF
29065cat confdefs.h >>conftest.$ac_ext
29066cat >>conftest.$ac_ext <<_ACEOF
29067/* end confdefs.h. */
29068
29069/* Override any gcc2 internal prototype to avoid an error. */
29070#ifdef __cplusplus
29071extern "C"
29072#endif
29073/* We use char because int might match the return type of a gcc2
29074 builtin and then its argument prototype would still apply. */
29075char sched_yield ();
29076int
29077main ()
29078{
29079sched_yield ();
29080 ;
29081 return 0;
29082}
29083_ACEOF
29084rm -f conftest.$ac_objext conftest$ac_exeext
29085if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29086 (eval $ac_link) 2>&5
29087 ac_status=$?
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } &&
29090 { ac_try='test -s conftest$ac_exeext'
29091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29092 (eval $ac_try) 2>&5
29093 ac_status=$?
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29096 ac_cv_lib_posix4_sched_yield=yes
29097else
29098 echo "$as_me: failed program was:" >&5
29099sed 's/^/| /' conftest.$ac_ext >&5
29100
29101ac_cv_lib_posix4_sched_yield=no
29102fi
29103rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29104LIBS=$ac_check_lib_save_LIBS
29105fi
29106echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29107echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29108if test $ac_cv_lib_posix4_sched_yield = yes; then
29109 cat >>confdefs.h <<\_ACEOF
29110#define HAVE_SCHED_YIELD 1
29111_ACEOF
29112 POSIX4_LINK=" -lposix4"
29113else
29114 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29115echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29116
29117fi
29118
29119
29120
29121fi
29122
29123 fi
29124
29125 HAVE_PRIOR_FUNCS=0
29126 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29127echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29128if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29129 echo $ECHO_N "(cached) $ECHO_C" >&6
29130else
29131 cat >conftest.$ac_ext <<_ACEOF
29132#line $LINENO "configure"
29133/* confdefs.h. */
29134_ACEOF
29135cat confdefs.h >>conftest.$ac_ext
29136cat >>conftest.$ac_ext <<_ACEOF
29137/* end confdefs.h. */
29138/* System header to define __stub macros and hopefully few prototypes,
29139 which can conflict with char pthread_attr_getschedpolicy (); below.
29140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29141 <limits.h> exists even on freestanding compilers. */
29142#ifdef __STDC__
29143# include <limits.h>
29144#else
29145# include <assert.h>
29146#endif
29147/* Override any gcc2 internal prototype to avoid an error. */
29148#ifdef __cplusplus
29149extern "C"
29150{
29151#endif
29152/* We use char because int might match the return type of a gcc2
29153 builtin and then its argument prototype would still apply. */
29154char pthread_attr_getschedpolicy ();
29155/* The GNU C library defines this for functions which it implements
29156 to always fail with ENOSYS. Some functions are actually named
29157 something starting with __ and the normal name is an alias. */
29158#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29159choke me
29160#else
29161char (*f) () = pthread_attr_getschedpolicy;
29162#endif
29163#ifdef __cplusplus
29164}
29165#endif
29166
29167int
29168main ()
29169{
29170return f != pthread_attr_getschedpolicy;
29171 ;
29172 return 0;
29173}
29174_ACEOF
29175rm -f conftest.$ac_objext conftest$ac_exeext
29176if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 (eval $ac_link) 2>&5
29178 ac_status=$?
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } &&
29181 { ac_try='test -s conftest$ac_exeext'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29184 ac_status=$?
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; }; then
29187 ac_cv_func_pthread_attr_getschedpolicy=yes
29188else
29189 echo "$as_me: failed program was:" >&5
29190sed 's/^/| /' conftest.$ac_ext >&5
29191
29192ac_cv_func_pthread_attr_getschedpolicy=no
29193fi
29194rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29195fi
29196echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29197echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29198if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29199 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29200echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29201if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29202 echo $ECHO_N "(cached) $ECHO_C" >&6
29203else
29204 cat >conftest.$ac_ext <<_ACEOF
29205#line $LINENO "configure"
29206/* confdefs.h. */
29207_ACEOF
29208cat confdefs.h >>conftest.$ac_ext
29209cat >>conftest.$ac_ext <<_ACEOF
29210/* end confdefs.h. */
29211/* System header to define __stub macros and hopefully few prototypes,
29212 which can conflict with char pthread_attr_setschedparam (); below.
29213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29214 <limits.h> exists even on freestanding compilers. */
29215#ifdef __STDC__
29216# include <limits.h>
29217#else
29218# include <assert.h>
29219#endif
29220/* Override any gcc2 internal prototype to avoid an error. */
29221#ifdef __cplusplus
29222extern "C"
29223{
29224#endif
29225/* We use char because int might match the return type of a gcc2
29226 builtin and then its argument prototype would still apply. */
29227char pthread_attr_setschedparam ();
29228/* The GNU C library defines this for functions which it implements
29229 to always fail with ENOSYS. Some functions are actually named
29230 something starting with __ and the normal name is an alias. */
29231#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29232choke me
29233#else
29234char (*f) () = pthread_attr_setschedparam;
29235#endif
29236#ifdef __cplusplus
29237}
29238#endif
29239
29240int
29241main ()
29242{
29243return f != pthread_attr_setschedparam;
29244 ;
29245 return 0;
29246}
29247_ACEOF
29248rm -f conftest.$ac_objext conftest$ac_exeext
29249if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29250 (eval $ac_link) 2>&5
29251 ac_status=$?
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); } &&
29254 { ac_try='test -s conftest$ac_exeext'
29255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29256 (eval $ac_try) 2>&5
29257 ac_status=$?
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); }; }; then
29260 ac_cv_func_pthread_attr_setschedparam=yes
29261else
29262 echo "$as_me: failed program was:" >&5
29263sed 's/^/| /' conftest.$ac_ext >&5
29264
29265ac_cv_func_pthread_attr_setschedparam=no
29266fi
29267rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29268fi
29269echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29270echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29271if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29272 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29273echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29274if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29276else
29277 cat >conftest.$ac_ext <<_ACEOF
29278#line $LINENO "configure"
29279/* confdefs.h. */
29280_ACEOF
29281cat confdefs.h >>conftest.$ac_ext
29282cat >>conftest.$ac_ext <<_ACEOF
29283/* end confdefs.h. */
29284/* System header to define __stub macros and hopefully few prototypes,
29285 which can conflict with char sched_get_priority_max (); below.
29286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29287 <limits.h> exists even on freestanding compilers. */
29288#ifdef __STDC__
29289# include <limits.h>
29290#else
29291# include <assert.h>
29292#endif
29293/* Override any gcc2 internal prototype to avoid an error. */
29294#ifdef __cplusplus
29295extern "C"
29296{
29297#endif
29298/* We use char because int might match the return type of a gcc2
29299 builtin and then its argument prototype would still apply. */
29300char sched_get_priority_max ();
29301/* The GNU C library defines this for functions which it implements
29302 to always fail with ENOSYS. Some functions are actually named
29303 something starting with __ and the normal name is an alias. */
29304#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29305choke me
29306#else
29307char (*f) () = sched_get_priority_max;
29308#endif
29309#ifdef __cplusplus
29310}
29311#endif
29312
29313int
29314main ()
29315{
29316return f != sched_get_priority_max;
29317 ;
29318 return 0;
29319}
29320_ACEOF
29321rm -f conftest.$ac_objext conftest$ac_exeext
29322if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29323 (eval $ac_link) 2>&5
29324 ac_status=$?
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } &&
29327 { ac_try='test -s conftest$ac_exeext'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29330 ac_status=$?
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; }; then
29333 ac_cv_func_sched_get_priority_max=yes
29334else
29335 echo "$as_me: failed program was:" >&5
29336sed 's/^/| /' conftest.$ac_ext >&5
29337
29338ac_cv_func_sched_get_priority_max=no
29339fi
29340rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29341fi
29342echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29343echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29344if test $ac_cv_func_sched_get_priority_max = yes; then
29345 HAVE_PRIOR_FUNCS=1
29346else
29347 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29348echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29349if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29350 echo $ECHO_N "(cached) $ECHO_C" >&6
29351else
29352 ac_check_lib_save_LIBS=$LIBS
29353LIBS="-lposix4 $LIBS"
29354cat >conftest.$ac_ext <<_ACEOF
29355#line $LINENO "configure"
29356/* confdefs.h. */
29357_ACEOF
29358cat confdefs.h >>conftest.$ac_ext
29359cat >>conftest.$ac_ext <<_ACEOF
29360/* end confdefs.h. */
29361
29362/* Override any gcc2 internal prototype to avoid an error. */
29363#ifdef __cplusplus
29364extern "C"
29365#endif
29366/* We use char because int might match the return type of a gcc2
29367 builtin and then its argument prototype would still apply. */
29368char sched_get_priority_max ();
29369int
29370main ()
29371{
29372sched_get_priority_max ();
29373 ;
29374 return 0;
29375}
29376_ACEOF
29377rm -f conftest.$ac_objext conftest$ac_exeext
29378if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29379 (eval $ac_link) 2>&5
29380 ac_status=$?
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); } &&
29383 { ac_try='test -s conftest$ac_exeext'
29384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29385 (eval $ac_try) 2>&5
29386 ac_status=$?
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); }; }; then
29389 ac_cv_lib_posix4_sched_get_priority_max=yes
29390else
29391 echo "$as_me: failed program was:" >&5
29392sed 's/^/| /' conftest.$ac_ext >&5
29393
29394ac_cv_lib_posix4_sched_get_priority_max=no
29395fi
29396rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29397LIBS=$ac_check_lib_save_LIBS
29398fi
29399echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29400echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29401if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29402
29403 HAVE_PRIOR_FUNCS=1
29404 POSIX4_LINK=" -lposix4"
29405
29406fi
29407
29408
29409fi
29410
29411
29412fi
29413
29414
29415fi
29416
29417
29418 if test "$HAVE_PRIOR_FUNCS" = 1; then
29419 cat >>confdefs.h <<\_ACEOF
29420#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29421_ACEOF
29422
29423 else
29424 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29425echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29426 fi
29427
29428 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29429echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29430if test "${ac_cv_func_pthread_cancel+set}" = set; then
29431 echo $ECHO_N "(cached) $ECHO_C" >&6
29432else
29433 cat >conftest.$ac_ext <<_ACEOF
29434#line $LINENO "configure"
29435/* confdefs.h. */
29436_ACEOF
29437cat confdefs.h >>conftest.$ac_ext
29438cat >>conftest.$ac_ext <<_ACEOF
29439/* end confdefs.h. */
29440/* System header to define __stub macros and hopefully few prototypes,
29441 which can conflict with char pthread_cancel (); below.
29442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29443 <limits.h> exists even on freestanding compilers. */
29444#ifdef __STDC__
29445# include <limits.h>
29446#else
29447# include <assert.h>
29448#endif
29449/* Override any gcc2 internal prototype to avoid an error. */
29450#ifdef __cplusplus
29451extern "C"
29452{
29453#endif
29454/* We use char because int might match the return type of a gcc2
29455 builtin and then its argument prototype would still apply. */
29456char pthread_cancel ();
29457/* The GNU C library defines this for functions which it implements
29458 to always fail with ENOSYS. Some functions are actually named
29459 something starting with __ and the normal name is an alias. */
29460#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29461choke me
29462#else
29463char (*f) () = pthread_cancel;
29464#endif
29465#ifdef __cplusplus
29466}
29467#endif
29468
29469int
29470main ()
29471{
29472return f != pthread_cancel;
29473 ;
29474 return 0;
29475}
29476_ACEOF
29477rm -f conftest.$ac_objext conftest$ac_exeext
29478if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29479 (eval $ac_link) 2>&5
29480 ac_status=$?
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } &&
29483 { ac_try='test -s conftest$ac_exeext'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29486 ac_status=$?
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; }; then
29489 ac_cv_func_pthread_cancel=yes
29490else
29491 echo "$as_me: failed program was:" >&5
29492sed 's/^/| /' conftest.$ac_ext >&5
29493
29494ac_cv_func_pthread_cancel=no
29495fi
29496rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29497fi
29498echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29499echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29500if test $ac_cv_func_pthread_cancel = yes; then
29501 cat >>confdefs.h <<\_ACEOF
29502#define HAVE_PTHREAD_CANCEL 1
29503_ACEOF
29504
29505else
29506 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29507echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29508fi
29509
29510
29511 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29512echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29513if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29515else
29516
29517 cat >conftest.$ac_ext <<_ACEOF
29518#line $LINENO "configure"
29519/* confdefs.h. */
29520_ACEOF
29521cat confdefs.h >>conftest.$ac_ext
29522cat >>conftest.$ac_ext <<_ACEOF
29523/* end confdefs.h. */
29524#include <pthread.h>
29525int
29526main ()
29527{
29528
29529 pthread_cleanup_push(NULL, NULL);
29530 pthread_cleanup_pop(0);
29531
29532 ;
29533 return 0;
29534}
29535_ACEOF
29536rm -f conftest.$ac_objext
29537if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29538 (eval $ac_compile) 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); } &&
29542 { ac_try='test -s conftest.$ac_objext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548
29549 wx_cv_func_pthread_cleanup_push=yes
29550
29551else
29552 echo "$as_me: failed program was:" >&5
29553sed 's/^/| /' conftest.$ac_ext >&5
29554
29555
29556 wx_cv_func_pthread_cleanup_push=no
29557
29558fi
29559rm -f conftest.$ac_objext conftest.$ac_ext
29560
29561fi
29562echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29563echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29564
29565 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29566 cat >>confdefs.h <<\_ACEOF
29567#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29568_ACEOF
29569
29570 fi
29571
29572
29573 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29574echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29575if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29576 echo $ECHO_N "(cached) $ECHO_C" >&6
29577else
29578
29579 cat >conftest.$ac_ext <<_ACEOF
29580#line $LINENO "configure"
29581/* confdefs.h. */
29582_ACEOF
29583cat confdefs.h >>conftest.$ac_ext
29584cat >>conftest.$ac_ext <<_ACEOF
29585/* end confdefs.h. */
29586#include <pthread.h>
29587int
29588main ()
29589{
29590
29591 pthread_mutexattr_t attr;
29592 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29593
29594 ;
29595 return 0;
29596}
29597_ACEOF
29598rm -f conftest.$ac_objext
29599if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29600 (eval $ac_compile) 2>&5
29601 ac_status=$?
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); } &&
29604 { ac_try='test -s conftest.$ac_objext'
29605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29606 (eval $ac_try) 2>&5
29607 ac_status=$?
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); }; }; then
29610
29611 wx_cv_type_pthread_mutexattr_t=yes
29612
29613else
29614 echo "$as_me: failed program was:" >&5
29615sed 's/^/| /' conftest.$ac_ext >&5
29616
29617
29618 wx_cv_type_pthread_mutexattr_t=no
29619
29620
29621fi
29622rm -f conftest.$ac_objext conftest.$ac_ext
29623
29624fi
29625echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29626echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29627
29628 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29629 cat >>confdefs.h <<\_ACEOF
29630#define HAVE_PTHREAD_MUTEXATTR_T 1
29631_ACEOF
29632
29633 else
29634 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29635echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29636if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29637 echo $ECHO_N "(cached) $ECHO_C" >&6
29638else
29639
29640 cat >conftest.$ac_ext <<_ACEOF
29641#line $LINENO "configure"
29642/* confdefs.h. */
29643_ACEOF
29644cat confdefs.h >>conftest.$ac_ext
29645cat >>conftest.$ac_ext <<_ACEOF
29646/* end confdefs.h. */
29647#include <pthread.h>
29648int
29649main ()
29650{
29651
29652 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29653
29654 ;
29655 return 0;
29656}
29657_ACEOF
29658rm -f conftest.$ac_objext
29659if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29660 (eval $ac_compile) 2>&5
29661 ac_status=$?
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); } &&
29664 { ac_try='test -s conftest.$ac_objext'
29665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29666 (eval $ac_try) 2>&5
29667 ac_status=$?
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); }; }; then
29670
29671 wx_cv_type_pthread_rec_mutex_init=yes
29672
29673else
29674 echo "$as_me: failed program was:" >&5
29675sed 's/^/| /' conftest.$ac_ext >&5
29676
29677
29678 wx_cv_type_pthread_rec_mutex_init=no
29679
29680
29681fi
29682rm -f conftest.$ac_objext conftest.$ac_ext
29683
29684fi
29685echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29686echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29687 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29688 cat >>confdefs.h <<\_ACEOF
29689#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29690_ACEOF
29691
29692 else
29693 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29694echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29695 fi
29696 fi
29697 fi
29698
29699else
29700 if test "$wxUSE_THREADS" = "yes" ; then
29701 case "${host}" in
29702 *-*-mingw32* )
29703 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29704echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29705if test "${wx_cv_cflags_mthread+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29707else
29708
29709 CFLAGS_OLD="$CFLAGS"
29710 CFLAGS="$CFLAGS -mthreads"
29711 cat >conftest.$ac_ext <<_ACEOF
29712#line $LINENO "configure"
29713/* confdefs.h. */
29714_ACEOF
29715cat confdefs.h >>conftest.$ac_ext
29716cat >>conftest.$ac_ext <<_ACEOF
29717/* end confdefs.h. */
29718
29719int
29720main ()
29721{
29722
29723 ;
29724 return 0;
29725}
29726_ACEOF
29727rm -f conftest.$ac_objext
29728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29729 (eval $ac_compile) 2>&5
29730 ac_status=$?
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); } &&
29733 { ac_try='test -s conftest.$ac_objext'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; }; then
29739 wx_cv_cflags_mthread=yes
29740else
29741 echo "$as_me: failed program was:" >&5
29742sed 's/^/| /' conftest.$ac_ext >&5
29743
29744wx_cv_cflags_mthread=no
29745
29746fi
29747rm -f conftest.$ac_objext conftest.$ac_ext
29748
29749
29750fi
29751echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29752echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29753
29754 if test "$wx_cv_cflags_mthread" = "yes"; then
29755 CXXFLAGS="$CXXFLAGS -mthreads"
29756 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29757 LDFLAGS="$LDFLAGS -mthreads"
29758 else
29759 CFLAGS="$CFLAGS_OLD"
29760 fi
29761 ;;
29762 esac
29763 fi
29764fi
29765
29766if test "$wxUSE_THREADS" = "yes"; then
29767 cat >>confdefs.h <<\_ACEOF
29768#define wxUSE_THREADS 1
29769_ACEOF
29770
29771
29772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29773else
29774 if test "$ac_cv_func_strtok_r" = "yes"; then
29775 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29776echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29777 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29778 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29779 echo "$as_me:$LINENO: result: yes" >&5
29780echo "${ECHO_T}yes" >&6
29781 else
29782 echo "$as_me:$LINENO: result: no" >&5
29783echo "${ECHO_T}no" >&6
29784 fi
29785 fi
29786fi
29787
29788if test "$WXGTK20" = 1 ; then
29789 cat >>confdefs.h <<_ACEOF
29790#define __WXGTK20__ $WXGTK20
29791_ACEOF
29792
29793 WXGTK12=1
29794fi
29795
29796if test "$WXGTK12" = 1 ; then
29797 cat >>confdefs.h <<_ACEOF
29798#define __WXGTK12__ $WXGTK12
29799_ACEOF
29800
29801fi
29802
29803if test "$WXGTK127" = 1 ; then
29804 cat >>confdefs.h <<_ACEOF
29805#define __WXGTK127__ $WXGTK127
29806_ACEOF
29807
29808fi
29809
29810WXDEBUG=
29811
29812if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29813 WXDEBUG="-g"
29814 wxUSE_OPTIMISE=no
29815fi
29816
29817if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29818 wxUSE_DEBUG_INFO=yes
29819 WXDEBUG="-ggdb"
29820fi
29821
29822if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29823 cat >>confdefs.h <<\_ACEOF
29824#define WXDEBUG 1
29825_ACEOF
29826
29827 WXDEBUG_DEFINE="-D__WXDEBUG__"
29828else
29829 if test "$wxUSE_GTK" = 1 ; then
29830 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29831 fi
29832fi
29833
29834if test "$wxUSE_MEM_TRACING" = "yes" ; then
29835 cat >>confdefs.h <<\_ACEOF
29836#define wxUSE_MEMORY_TRACING 1
29837_ACEOF
29838
29839 cat >>confdefs.h <<\_ACEOF
29840#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29841_ACEOF
29842
29843 cat >>confdefs.h <<\_ACEOF
29844#define wxUSE_DEBUG_NEW_ALWAYS 1
29845_ACEOF
29846
29847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29848fi
29849
29850if test "$wxUSE_DMALLOC" = "yes" ; then
29851 DMALLOC_LIBS="-ldmalloc"
29852fi
29853
29854PROFILE=
29855if test "$wxUSE_PROFILE" = "yes" ; then
29856 PROFILE=" -pg"
29857fi
29858
29859CODE_GEN_FLAGS=
29860CODE_GEN_FLAGS_CXX=
29861if test "$GCC" = "yes" ; then
29862 if test "$wxUSE_NO_RTTI" = "yes" ; then
29863 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29864 fi
29865 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29866 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29867 fi
29868 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29869 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29870 fi
29871 if test "$USE_WIN32" = 1 ; then
29872 # I'm not even really sure what this was ever added to solve,
29873 # but someone added it for mingw native builds, so I guess
29874 # they had a reason, right??
29875 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29876 fi
29877
29878 case "${host}" in
29879 powerpc*-*-aix* )
29880 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29881 ;;
29882 *-hppa* )
29883 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29884 ;;
29885 esac
29886fi
29887
29888OPTIMISE=
29889if test "$wxUSE_OPTIMISE" = "no" ; then
29890 if test "$GCC" = yes ; then
29891 OPTIMISE="-O0"
29892 fi
29893else
29894 if test "$GCC" = yes ; then
29895 OPTIMISE="-O2"
29896
29897 case "${host}" in
29898 i586-*-*|i686-*-* )
29899 OPTIMISE="${OPTIMISE} "
29900 ;;
29901 esac
29902 else
29903 OPTIMISE="-O"
29904 fi
29905fi
29906
29907
29908if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29909 cat >>confdefs.h <<\_ACEOF
29910#define WXWIN_COMPATIBILITY_2 1
29911_ACEOF
29912
29913
29914 WXWIN_COMPATIBILITY_2_2="yes"
29915fi
29916
29917if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29918 cat >>confdefs.h <<\_ACEOF
29919#define WXWIN_COMPATIBILITY_2_2 1
29920_ACEOF
29921
29922
29923 WXWIN_COMPATIBILITY_2_4="yes"
29924fi
29925
29926if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29927 cat >>confdefs.h <<\_ACEOF
29928#define WXWIN_COMPATIBILITY_2_4 1
29929_ACEOF
29930
29931fi
29932
29933
29934if test "$wxUSE_GUI" = "yes"; then
29935 cat >>confdefs.h <<\_ACEOF
29936#define wxUSE_GUI 1
29937_ACEOF
29938
29939
29940 else
29941 cat >>confdefs.h <<\_ACEOF
29942#define wxUSE_NOGUI 1
29943_ACEOF
29944
29945fi
29946
29947
29948if test "$wxUSE_UNIX" = "yes"; then
29949 cat >>confdefs.h <<\_ACEOF
29950#define wxUSE_UNIX 1
29951_ACEOF
29952
29953fi
29954
29955
29956if test "$wxUSE_APPLE_IEEE" = "yes"; then
29957 cat >>confdefs.h <<\_ACEOF
29958#define wxUSE_APPLE_IEEE 1
29959_ACEOF
29960
29961fi
29962
29963if test "$wxUSE_TIMER" = "yes"; then
29964 cat >>confdefs.h <<\_ACEOF
29965#define wxUSE_TIMER 1
29966_ACEOF
29967
29968fi
29969
29970if test "$wxUSE_WAVE" = "yes"; then
29971 cat >>confdefs.h <<\_ACEOF
29972#define wxUSE_WAVE 1
29973_ACEOF
29974
29975fi
29976
29977if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29978 cat >>confdefs.h <<\_ACEOF
29979#define wxUSE_CMDLINE_PARSER 1
29980_ACEOF
29981
29982fi
29983
29984if test "$wxUSE_STOPWATCH" = "yes"; then
29985 cat >>confdefs.h <<\_ACEOF
29986#define wxUSE_STOPWATCH 1
29987_ACEOF
29988
29989fi
29990
29991if test "$wxUSE_DATETIME" = "yes"; then
29992 cat >>confdefs.h <<\_ACEOF
29993#define wxUSE_DATETIME 1
29994_ACEOF
29995
29996fi
29997
29998if test "$wxUSE_FILE" = "yes"; then
29999 cat >>confdefs.h <<\_ACEOF
30000#define wxUSE_FILE 1
30001_ACEOF
30002
30003fi
30004
30005if test "$wxUSE_FFILE" = "yes"; then
30006 cat >>confdefs.h <<\_ACEOF
30007#define wxUSE_FFILE 1
30008_ACEOF
30009
30010fi
30011
30012if test "$wxUSE_FILESYSTEM" = "yes"; then
30013 cat >>confdefs.h <<\_ACEOF
30014#define wxUSE_FILESYSTEM 1
30015_ACEOF
30016
30017fi
30018
30019if test "$wxUSE_FS_INET" = "yes"; then
30020 cat >>confdefs.h <<\_ACEOF
30021#define wxUSE_FS_INET 1
30022_ACEOF
30023
30024fi
30025
30026if test "$wxUSE_FS_ZIP" = "yes"; then
30027 cat >>confdefs.h <<\_ACEOF
30028#define wxUSE_FS_ZIP 1
30029_ACEOF
30030
30031fi
30032
30033if test "$wxUSE_ZIPSTREAM" = "yes"; then
30034 cat >>confdefs.h <<\_ACEOF
30035#define wxUSE_ZIPSTREAM 1
30036_ACEOF
30037
30038fi
30039
30040if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30041 cat >>confdefs.h <<\_ACEOF
30042#define wxUSE_ON_FATAL_EXCEPTION 1
30043_ACEOF
30044
30045fi
30046
30047if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30048 cat >>confdefs.h <<\_ACEOF
30049#define wxUSE_SNGLINST_CHECKER 1
30050_ACEOF
30051
30052fi
30053
30054if test "$wxUSE_BUSYINFO" = "yes"; then
30055 cat >>confdefs.h <<\_ACEOF
30056#define wxUSE_BUSYINFO 1
30057_ACEOF
30058
30059fi
30060
30061if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30062 cat >>confdefs.h <<\_ACEOF
30063#define wxUSE_STD_IOSTREAM 1
30064_ACEOF
30065
30066fi
30067
30068if test "$wxUSE_TEXTBUFFER" = "yes"; then
30069 cat >>confdefs.h <<\_ACEOF
30070#define wxUSE_TEXTBUFFER 1
30071_ACEOF
30072
30073fi
30074
30075if test "$wxUSE_TEXTFILE" = "yes"; then
30076 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30077 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30078echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30079 else
30080 cat >>confdefs.h <<\_ACEOF
30081#define wxUSE_TEXTFILE 1
30082_ACEOF
30083
30084 fi
30085fi
30086
30087if test "$wxUSE_CONFIG" = "yes" ; then
30088 if test "$wxUSE_TEXTFILE" != "yes"; then
30089 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30090echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30091 else
30092 cat >>confdefs.h <<\_ACEOF
30093#define wxUSE_CONFIG 1
30094_ACEOF
30095
30096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30097 fi
30098fi
30099
30100if test "$wxUSE_INTL" = "yes" ; then
30101 if test "$wxUSE_FILE" != "yes"; then
30102 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30103echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30104 else
30105 cat >>confdefs.h <<\_ACEOF
30106#define wxUSE_INTL 1
30107_ACEOF
30108
30109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30110 GUIDIST="$GUIDIST INTL_DIST"
30111 fi
30112fi
30113
30114if test "$wxUSE_LOG" = "yes"; then
30115 cat >>confdefs.h <<\_ACEOF
30116#define wxUSE_LOG 1
30117_ACEOF
30118
30119
30120 if test "$wxUSE_LOGGUI" = "yes"; then
30121 cat >>confdefs.h <<\_ACEOF
30122#define wxUSE_LOGGUI 1
30123_ACEOF
30124
30125 fi
30126
30127 if test "$wxUSE_LOGWINDOW" = "yes"; then
30128 cat >>confdefs.h <<\_ACEOF
30129#define wxUSE_LOGWINDOW 1
30130_ACEOF
30131
30132 fi
30133
30134 if test "$wxUSE_LOGDIALOG" = "yes"; then
30135 cat >>confdefs.h <<\_ACEOF
30136#define wxUSE_LOG_DIALOG 1
30137_ACEOF
30138
30139 fi
30140fi
30141
30142if test "$wxUSE_LONGLONG" = "yes"; then
30143 cat >>confdefs.h <<\_ACEOF
30144#define wxUSE_LONGLONG 1
30145_ACEOF
30146
30147fi
30148
30149if test "$wxUSE_GEOMETRY" = "yes"; then
30150 cat >>confdefs.h <<\_ACEOF
30151#define wxUSE_GEOMETRY 1
30152_ACEOF
30153
30154fi
30155
30156if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30157 cat >>confdefs.h <<\_ACEOF
30158#define wxUSE_DIALUP_MANAGER 1
30159_ACEOF
30160
30161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30162fi
30163
30164if test "$wxUSE_STREAMS" = "yes" ; then
30165 cat >>confdefs.h <<\_ACEOF
30166#define wxUSE_STREAMS 1
30167_ACEOF
30168
30169fi
30170
30171
30172if test "$wxUSE_DATETIME" = "yes"; then
30173
30174for ac_func in strptime
30175do
30176as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30177echo "$as_me:$LINENO: checking for $ac_func" >&5
30178echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30179if eval "test \"\${$as_ac_var+set}\" = set"; then
30180 echo $ECHO_N "(cached) $ECHO_C" >&6
30181else
30182 cat >conftest.$ac_ext <<_ACEOF
30183#line $LINENO "configure"
30184/* confdefs.h. */
30185_ACEOF
30186cat confdefs.h >>conftest.$ac_ext
30187cat >>conftest.$ac_ext <<_ACEOF
30188/* end confdefs.h. */
30189/* System header to define __stub macros and hopefully few prototypes,
30190 which can conflict with char $ac_func (); below.
30191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30192 <limits.h> exists even on freestanding compilers. */
30193#ifdef __STDC__
30194# include <limits.h>
30195#else
30196# include <assert.h>
30197#endif
30198/* Override any gcc2 internal prototype to avoid an error. */
30199#ifdef __cplusplus
30200extern "C"
30201{
30202#endif
30203/* We use char because int might match the return type of a gcc2
30204 builtin and then its argument prototype would still apply. */
30205char $ac_func ();
30206/* The GNU C library defines this for functions which it implements
30207 to always fail with ENOSYS. Some functions are actually named
30208 something starting with __ and the normal name is an alias. */
30209#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30210choke me
30211#else
30212char (*f) () = $ac_func;
30213#endif
30214#ifdef __cplusplus
30215}
30216#endif
30217
30218int
30219main ()
30220{
30221return f != $ac_func;
30222 ;
30223 return 0;
30224}
30225_ACEOF
30226rm -f conftest.$ac_objext conftest$ac_exeext
30227if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30228 (eval $ac_link) 2>&5
30229 ac_status=$?
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } &&
30232 { ac_try='test -s conftest$ac_exeext'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30235 ac_status=$?
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; }; then
30238 eval "$as_ac_var=yes"
30239else
30240 echo "$as_me: failed program was:" >&5
30241sed 's/^/| /' conftest.$ac_ext >&5
30242
30243eval "$as_ac_var=no"
30244fi
30245rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30246fi
30247echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30248echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30249if test `eval echo '${'$as_ac_var'}'` = yes; then
30250 cat >>confdefs.h <<_ACEOF
30251#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30252_ACEOF
30253
30254fi
30255done
30256
30257
30258 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30259echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30260if test "${wx_cv_var_timezone+set}" = set; then
30261 echo $ECHO_N "(cached) $ECHO_C" >&6
30262else
30263
30264 cat >conftest.$ac_ext <<_ACEOF
30265#line $LINENO "configure"
30266/* confdefs.h. */
30267_ACEOF
30268cat confdefs.h >>conftest.$ac_ext
30269cat >>conftest.$ac_ext <<_ACEOF
30270/* end confdefs.h. */
30271
30272 #include <time.h>
30273
30274int
30275main ()
30276{
30277
30278 int tz;
30279 tz = timezone;
30280
30281 ;
30282 return 0;
30283}
30284_ACEOF
30285rm -f conftest.$ac_objext
30286if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30287 (eval $ac_compile) 2>&5
30288 ac_status=$?
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } &&
30291 { ac_try='test -s conftest.$ac_objext'
30292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30293 (eval $ac_try) 2>&5
30294 ac_status=$?
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); }; }; then
30297
30298 wx_cv_var_timezone=timezone
30299
30300else
30301 echo "$as_me: failed program was:" >&5
30302sed 's/^/| /' conftest.$ac_ext >&5
30303
30304
30305 cat >conftest.$ac_ext <<_ACEOF
30306#line $LINENO "configure"
30307/* confdefs.h. */
30308_ACEOF
30309cat confdefs.h >>conftest.$ac_ext
30310cat >>conftest.$ac_ext <<_ACEOF
30311/* end confdefs.h. */
30312
30313 #include <time.h>
30314
30315int
30316main ()
30317{
30318
30319 int tz;
30320 tz = _timezone;
30321
30322 ;
30323 return 0;
30324}
30325_ACEOF
30326rm -f conftest.$ac_objext
30327if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30328 (eval $ac_compile) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } &&
30332 { ac_try='test -s conftest.$ac_objext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30335 ac_status=$?
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30338
30339 wx_cv_var_timezone=_timezone
30340
30341else
30342 echo "$as_me: failed program was:" >&5
30343sed 's/^/| /' conftest.$ac_ext >&5
30344
30345
30346 cat >conftest.$ac_ext <<_ACEOF
30347#line $LINENO "configure"
30348/* confdefs.h. */
30349_ACEOF
30350cat confdefs.h >>conftest.$ac_ext
30351cat >>conftest.$ac_ext <<_ACEOF
30352/* end confdefs.h. */
30353
30354 #include <time.h>
30355
30356int
30357main ()
30358{
30359
30360 int tz;
30361 tz = __timezone;
30362
30363 ;
30364 return 0;
30365}
30366_ACEOF
30367rm -f conftest.$ac_objext
30368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30369 (eval $ac_compile) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try='test -s conftest.$ac_objext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379
30380 wx_cv_var_timezone=__timezone
30381
30382else
30383 echo "$as_me: failed program was:" >&5
30384sed 's/^/| /' conftest.$ac_ext >&5
30385
30386
30387 if test "$USE_DOS" = 0 ; then
30388 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30389echo "$as_me: WARNING: no timezone variable" >&2;}
30390 fi
30391
30392
30393fi
30394rm -f conftest.$ac_objext conftest.$ac_ext
30395
30396
30397fi
30398rm -f conftest.$ac_objext conftest.$ac_ext
30399
30400
30401fi
30402rm -f conftest.$ac_objext conftest.$ac_ext
30403
30404
30405fi
30406echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30407echo "${ECHO_T}$wx_cv_var_timezone" >&6
30408
30409 if test "x$wx_cv_var_timezone" != x ; then
30410 cat >>confdefs.h <<_ACEOF
30411#define WX_TIMEZONE $wx_cv_var_timezone
30412_ACEOF
30413
30414 fi
30415
30416
30417for ac_func in localtime
30418do
30419as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30420echo "$as_me:$LINENO: checking for $ac_func" >&5
30421echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30422if eval "test \"\${$as_ac_var+set}\" = set"; then
30423 echo $ECHO_N "(cached) $ECHO_C" >&6
30424else
30425 cat >conftest.$ac_ext <<_ACEOF
30426#line $LINENO "configure"
30427/* confdefs.h. */
30428_ACEOF
30429cat confdefs.h >>conftest.$ac_ext
30430cat >>conftest.$ac_ext <<_ACEOF
30431/* end confdefs.h. */
30432/* System header to define __stub macros and hopefully few prototypes,
30433 which can conflict with char $ac_func (); below.
30434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30435 <limits.h> exists even on freestanding compilers. */
30436#ifdef __STDC__
30437# include <limits.h>
30438#else
30439# include <assert.h>
30440#endif
30441/* Override any gcc2 internal prototype to avoid an error. */
30442#ifdef __cplusplus
30443extern "C"
30444{
30445#endif
30446/* We use char because int might match the return type of a gcc2
30447 builtin and then its argument prototype would still apply. */
30448char $ac_func ();
30449/* The GNU C library defines this for functions which it implements
30450 to always fail with ENOSYS. Some functions are actually named
30451 something starting with __ and the normal name is an alias. */
30452#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30453choke me
30454#else
30455char (*f) () = $ac_func;
30456#endif
30457#ifdef __cplusplus
30458}
30459#endif
30460
30461int
30462main ()
30463{
30464return f != $ac_func;
30465 ;
30466 return 0;
30467}
30468_ACEOF
30469rm -f conftest.$ac_objext conftest$ac_exeext
30470if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30471 (eval $ac_link) 2>&5
30472 ac_status=$?
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); } &&
30475 { ac_try='test -s conftest$ac_exeext'
30476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30477 (eval $ac_try) 2>&5
30478 ac_status=$?
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); }; }; then
30481 eval "$as_ac_var=yes"
30482else
30483 echo "$as_me: failed program was:" >&5
30484sed 's/^/| /' conftest.$ac_ext >&5
30485
30486eval "$as_ac_var=no"
30487fi
30488rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30489fi
30490echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30491echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30492if test `eval echo '${'$as_ac_var'}'` = yes; then
30493 cat >>confdefs.h <<_ACEOF
30494#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30495_ACEOF
30496
30497fi
30498done
30499
30500
30501 if test "$ac_cv_func_localtime" = "yes"; then
30502 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30503echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30504if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30505 echo $ECHO_N "(cached) $ECHO_C" >&6
30506else
30507
30508 cat >conftest.$ac_ext <<_ACEOF
30509#line $LINENO "configure"
30510/* confdefs.h. */
30511_ACEOF
30512cat confdefs.h >>conftest.$ac_ext
30513cat >>conftest.$ac_ext <<_ACEOF
30514/* end confdefs.h. */
30515
30516 #include <time.h>
30517
30518int
30519main ()
30520{
30521
30522 struct tm tm;
30523 tm.tm_gmtoff++;
30524
30525 ;
30526 return 0;
30527}
30528_ACEOF
30529rm -f conftest.$ac_objext
30530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30531 (eval $ac_compile) 2>&5
30532 ac_status=$?
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); } &&
30535 { ac_try='test -s conftest.$ac_objext'
30536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30537 (eval $ac_try) 2>&5
30538 ac_status=$?
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); }; }; then
30541
30542 wx_cv_struct_tm_has_gmtoff=yes
30543
30544else
30545 echo "$as_me: failed program was:" >&5
30546sed 's/^/| /' conftest.$ac_ext >&5
30547
30548wx_cv_struct_tm_has_gmtoff=no
30549
30550fi
30551rm -f conftest.$ac_objext conftest.$ac_ext
30552
30553fi
30554echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30555echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30556 fi
30557
30558 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30559 cat >>confdefs.h <<\_ACEOF
30560#define WX_GMTOFF_IN_TM 1
30561_ACEOF
30562
30563 fi
30564
30565
30566
30567for ac_func in gettimeofday ftime
30568do
30569as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30570echo "$as_me:$LINENO: checking for $ac_func" >&5
30571echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30572if eval "test \"\${$as_ac_var+set}\" = set"; then
30573 echo $ECHO_N "(cached) $ECHO_C" >&6
30574else
30575 cat >conftest.$ac_ext <<_ACEOF
30576#line $LINENO "configure"
30577/* confdefs.h. */
30578_ACEOF
30579cat confdefs.h >>conftest.$ac_ext
30580cat >>conftest.$ac_ext <<_ACEOF
30581/* end confdefs.h. */
30582/* System header to define __stub macros and hopefully few prototypes,
30583 which can conflict with char $ac_func (); below.
30584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30585 <limits.h> exists even on freestanding compilers. */
30586#ifdef __STDC__
30587# include <limits.h>
30588#else
30589# include <assert.h>
30590#endif
30591/* Override any gcc2 internal prototype to avoid an error. */
30592#ifdef __cplusplus
30593extern "C"
30594{
30595#endif
30596/* We use char because int might match the return type of a gcc2
30597 builtin and then its argument prototype would still apply. */
30598char $ac_func ();
30599/* The GNU C library defines this for functions which it implements
30600 to always fail with ENOSYS. Some functions are actually named
30601 something starting with __ and the normal name is an alias. */
30602#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30603choke me
30604#else
30605char (*f) () = $ac_func;
30606#endif
30607#ifdef __cplusplus
30608}
30609#endif
30610
30611int
30612main ()
30613{
30614return f != $ac_func;
30615 ;
30616 return 0;
30617}
30618_ACEOF
30619rm -f conftest.$ac_objext conftest$ac_exeext
30620if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30621 (eval $ac_link) 2>&5
30622 ac_status=$?
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } &&
30625 { ac_try='test -s conftest$ac_exeext'
30626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627 (eval $ac_try) 2>&5
30628 ac_status=$?
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; }; then
30631 eval "$as_ac_var=yes"
30632else
30633 echo "$as_me: failed program was:" >&5
30634sed 's/^/| /' conftest.$ac_ext >&5
30635
30636eval "$as_ac_var=no"
30637fi
30638rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30639fi
30640echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30641echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30642if test `eval echo '${'$as_ac_var'}'` = yes; then
30643 cat >>confdefs.h <<_ACEOF
30644#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30645_ACEOF
30646 break
30647fi
30648done
30649
30650
30651 if test "$ac_cv_func_gettimeofday" = "yes"; then
30652 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30653echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30654if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30655 echo $ECHO_N "(cached) $ECHO_C" >&6
30656else
30657
30658
30659
30660 ac_ext=cc
30661ac_cpp='$CXXCPP $CPPFLAGS'
30662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30665
30666
30667 cat >conftest.$ac_ext <<_ACEOF
30668#line $LINENO "configure"
30669/* confdefs.h. */
30670_ACEOF
30671cat confdefs.h >>conftest.$ac_ext
30672cat >>conftest.$ac_ext <<_ACEOF
30673/* end confdefs.h. */
30674
30675 #include <sys/time.h>
30676 #include <unistd.h>
30677
30678int
30679main ()
30680{
30681
30682 struct timeval tv;
30683 gettimeofday(&tv, NULL);
30684
30685 ;
30686 return 0;
30687}
30688_ACEOF
30689rm -f conftest.$ac_objext
30690if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30691 (eval $ac_compile) 2>&5
30692 ac_status=$?
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); } &&
30695 { ac_try='test -s conftest.$ac_objext'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; }; then
30701 wx_cv_func_gettimeofday_has_2_args=yes
30702else
30703 echo "$as_me: failed program was:" >&5
30704sed 's/^/| /' conftest.$ac_ext >&5
30705
30706cat >conftest.$ac_ext <<_ACEOF
30707#line $LINENO "configure"
30708/* confdefs.h. */
30709_ACEOF
30710cat confdefs.h >>conftest.$ac_ext
30711cat >>conftest.$ac_ext <<_ACEOF
30712/* end confdefs.h. */
30713
30714 #include <sys/time.h>
30715 #include <unistd.h>
30716
30717int
30718main ()
30719{
30720
30721 struct timeval tv;
30722 gettimeofday(&tv);
30723
30724 ;
30725 return 0;
30726}
30727_ACEOF
30728rm -f conftest.$ac_objext
30729if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30730 (eval $ac_compile) 2>&5
30731 ac_status=$?
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } &&
30734 { ac_try='test -s conftest.$ac_objext'
30735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30736 (eval $ac_try) 2>&5
30737 ac_status=$?
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); }; }; then
30740 wx_cv_func_gettimeofday_has_2_args=no
30741else
30742 echo "$as_me: failed program was:" >&5
30743sed 's/^/| /' conftest.$ac_ext >&5
30744
30745
30746 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30747echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30748 wx_cv_func_gettimeofday_has_2_args=unknown
30749
30750
30751fi
30752rm -f conftest.$ac_objext conftest.$ac_ext
30753
30754fi
30755rm -f conftest.$ac_objext conftest.$ac_ext
30756 ac_ext=c
30757ac_cpp='$CPP $CPPFLAGS'
30758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30760ac_compiler_gnu=$ac_cv_c_compiler_gnu
30761
30762
30763fi
30764echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30765echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30766
30767 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30768 cat >>confdefs.h <<\_ACEOF
30769#define WX_GETTIMEOFDAY_NO_TZ 1
30770_ACEOF
30771
30772 fi
30773 fi
30774
30775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30776fi
30777
30778
30779if test "$wxUSE_SOCKETS" = "yes"; then
30780 if test "$wxUSE_MGL" = "1"; then
30781 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30782echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30783 wxUSE_SOCKETS="no"
30784 fi
30785fi
30786
30787if test "$wxUSE_SOCKETS" = "yes"; then
30788 if test "$TOOLKIT" != "MSW"; then
30789 echo "$as_me:$LINENO: checking for socket" >&5
30790echo $ECHO_N "checking for socket... $ECHO_C" >&6
30791if test "${ac_cv_func_socket+set}" = set; then
30792 echo $ECHO_N "(cached) $ECHO_C" >&6
30793else
30794 cat >conftest.$ac_ext <<_ACEOF
30795#line $LINENO "configure"
30796/* confdefs.h. */
30797_ACEOF
30798cat confdefs.h >>conftest.$ac_ext
30799cat >>conftest.$ac_ext <<_ACEOF
30800/* end confdefs.h. */
30801/* System header to define __stub macros and hopefully few prototypes,
30802 which can conflict with char socket (); below.
30803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30804 <limits.h> exists even on freestanding compilers. */
30805#ifdef __STDC__
30806# include <limits.h>
30807#else
30808# include <assert.h>
30809#endif
30810/* Override any gcc2 internal prototype to avoid an error. */
30811#ifdef __cplusplus
30812extern "C"
30813{
30814#endif
30815/* We use char because int might match the return type of a gcc2
30816 builtin and then its argument prototype would still apply. */
30817char socket ();
30818/* The GNU C library defines this for functions which it implements
30819 to always fail with ENOSYS. Some functions are actually named
30820 something starting with __ and the normal name is an alias. */
30821#if defined (__stub_socket) || defined (__stub___socket)
30822choke me
30823#else
30824char (*f) () = socket;
30825#endif
30826#ifdef __cplusplus
30827}
30828#endif
30829
30830int
30831main ()
30832{
30833return f != socket;
30834 ;
30835 return 0;
30836}
30837_ACEOF
30838rm -f conftest.$ac_objext conftest$ac_exeext
30839if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30840 (eval $ac_link) 2>&5
30841 ac_status=$?
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); } &&
30844 { ac_try='test -s conftest$ac_exeext'
30845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30846 (eval $ac_try) 2>&5
30847 ac_status=$?
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); }; }; then
30850 ac_cv_func_socket=yes
30851else
30852 echo "$as_me: failed program was:" >&5
30853sed 's/^/| /' conftest.$ac_ext >&5
30854
30855ac_cv_func_socket=no
30856fi
30857rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30858fi
30859echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30860echo "${ECHO_T}$ac_cv_func_socket" >&6
30861if test $ac_cv_func_socket = yes; then
30862 :
30863else
30864 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30865echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30866if test "${ac_cv_lib_socket_socket+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30868else
30869 ac_check_lib_save_LIBS=$LIBS
30870LIBS="-lsocket $LIBS"
30871cat >conftest.$ac_ext <<_ACEOF
30872#line $LINENO "configure"
30873/* confdefs.h. */
30874_ACEOF
30875cat confdefs.h >>conftest.$ac_ext
30876cat >>conftest.$ac_ext <<_ACEOF
30877/* end confdefs.h. */
30878
30879/* Override any gcc2 internal prototype to avoid an error. */
30880#ifdef __cplusplus
30881extern "C"
30882#endif
30883/* We use char because int might match the return type of a gcc2
30884 builtin and then its argument prototype would still apply. */
30885char socket ();
30886int
30887main ()
30888{
30889socket ();
30890 ;
30891 return 0;
30892}
30893_ACEOF
30894rm -f conftest.$ac_objext conftest$ac_exeext
30895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30896 (eval $ac_link) 2>&5
30897 ac_status=$?
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); } &&
30900 { ac_try='test -s conftest$ac_exeext'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30903 ac_status=$?
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; }; then
30906 ac_cv_lib_socket_socket=yes
30907else
30908 echo "$as_me: failed program was:" >&5
30909sed 's/^/| /' conftest.$ac_ext >&5
30910
30911ac_cv_lib_socket_socket=no
30912fi
30913rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30914LIBS=$ac_check_lib_save_LIBS
30915fi
30916echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30917echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30918if test $ac_cv_lib_socket_socket = yes; then
30919 if test "$INET_LINK" != " -lsocket"; then
30920 INET_LINK="$INET_LINK -lsocket"
30921 fi
30922else
30923
30924 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30925echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30926 wxUSE_SOCKETS=no
30927
30928
30929fi
30930
30931
30932fi
30933
30934 fi
30935fi
30936
30937if test "$wxUSE_SOCKETS" = "yes" ; then
30938 if test "$TOOLKIT" != "MSW"; then
30939 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30940echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30941if test "${wx_cv_type_getsockname3+set}" = set; then
30942 echo $ECHO_N "(cached) $ECHO_C" >&6
30943else
30944
30945 cat >conftest.$ac_ext <<_ACEOF
30946#line $LINENO "configure"
30947/* confdefs.h. */
30948_ACEOF
30949cat confdefs.h >>conftest.$ac_ext
30950cat >>conftest.$ac_ext <<_ACEOF
30951/* end confdefs.h. */
30952
30953 #include <sys/types.h>
30954 #include <sys/socket.h>
30955
30956int
30957main ()
30958{
30959
30960 socklen_t len;
30961 getsockname(0, 0, &len);
30962
30963 ;
30964 return 0;
30965}
30966_ACEOF
30967rm -f conftest.$ac_objext
30968if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30969 (eval $ac_compile) 2>&5
30970 ac_status=$?
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } &&
30973 { ac_try='test -s conftest.$ac_objext'
30974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30975 (eval $ac_try) 2>&5
30976 ac_status=$?
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); }; }; then
30979 wx_cv_type_getsockname3=socklen_t
30980else
30981 echo "$as_me: failed program was:" >&5
30982sed 's/^/| /' conftest.$ac_ext >&5
30983
30984
30985 CFLAGS_OLD="$CFLAGS"
30986 if test "$GCC" = yes ; then
30987 CFLAGS="$CFLAGS -Werror"
30988 fi
30989
30990 cat >conftest.$ac_ext <<_ACEOF
30991#line $LINENO "configure"
30992/* confdefs.h. */
30993_ACEOF
30994cat confdefs.h >>conftest.$ac_ext
30995cat >>conftest.$ac_ext <<_ACEOF
30996/* end confdefs.h. */
30997
30998 #include <sys/types.h>
30999 #include <sys/socket.h>
31000
31001int
31002main ()
31003{
31004
31005 size_t len;
31006 getsockname(0, 0, &len);
31007
31008 ;
31009 return 0;
31010}
31011_ACEOF
31012rm -f conftest.$ac_objext
31013if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31014 (eval $ac_compile) 2>&5
31015 ac_status=$?
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); } &&
31018 { ac_try='test -s conftest.$ac_objext'
31019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31020 (eval $ac_try) 2>&5
31021 ac_status=$?
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); }; }; then
31024 wx_cv_type_getsockname3=size_t
31025else
31026 echo "$as_me: failed program was:" >&5
31027sed 's/^/| /' conftest.$ac_ext >&5
31028
31029cat >conftest.$ac_ext <<_ACEOF
31030#line $LINENO "configure"
31031/* confdefs.h. */
31032_ACEOF
31033cat confdefs.h >>conftest.$ac_ext
31034cat >>conftest.$ac_ext <<_ACEOF
31035/* end confdefs.h. */
31036
31037 #include <sys/types.h>
31038 #include <sys/socket.h>
31039
31040int
31041main ()
31042{
31043
31044 int len;
31045 getsockname(0, 0, &len);
31046
31047 ;
31048 return 0;
31049}
31050_ACEOF
31051rm -f conftest.$ac_objext
31052if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31053 (eval $ac_compile) 2>&5
31054 ac_status=$?
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); } &&
31057 { ac_try='test -s conftest.$ac_objext'
31058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059 (eval $ac_try) 2>&5
31060 ac_status=$?
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); }; }; then
31063 wx_cv_type_getsockname3=int
31064else
31065 echo "$as_me: failed program was:" >&5
31066sed 's/^/| /' conftest.$ac_ext >&5
31067
31068wx_cv_type_getsockname3=unknown
31069
31070fi
31071rm -f conftest.$ac_objext conftest.$ac_ext
31072
31073fi
31074rm -f conftest.$ac_objext conftest.$ac_ext
31075
31076 CFLAGS="$CFLAGS_OLD"
31077
31078
31079fi
31080rm -f conftest.$ac_objext conftest.$ac_ext
31081
31082fi
31083echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31084echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31085
31086 if test "$wx_cv_type_getsockname3" = "unknown"; then
31087 wxUSE_SOCKETS=no
31088 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31089echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31090 else
31091 cat >>confdefs.h <<_ACEOF
31092#define SOCKLEN_T $wx_cv_type_getsockname3
31093_ACEOF
31094
31095 fi
31096 fi
31097fi
31098
31099if test "$wxUSE_SOCKETS" = "yes" ; then
31100 cat >>confdefs.h <<\_ACEOF
31101#define wxUSE_SOCKETS 1
31102_ACEOF
31103
31104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31105fi
31106
31107
31108if test "$wxUSE_GUI" = "yes"; then
31109
31110 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31111 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31112echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31113 wxUSE_JOYSTICK=no
31114 fi
31115 if test "$TOOLKIT" = "MOTIF"; then
31116 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31117echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31118 wxUSE_JOYSTICK=no
31119 fi
31120 if test "$TOOLKIT" = "X11"; then
31121 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31122echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31123 wxUSE_JOYSTICK=no
31124 fi
31125
31126 if test "$TOOLKIT" != "MSW"; then
31127 if test "$wxUSE_JOYSTICK" = "yes"; then
31128
31129for ac_header in linux/joystick.h
31130do
31131as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31132if eval "test \"\${$as_ac_Header+set}\" = set"; then
31133 echo "$as_me:$LINENO: checking for $ac_header" >&5
31134echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31135if eval "test \"\${$as_ac_Header+set}\" = set"; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31137fi
31138echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31139echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31140else
31141 # Is the header compilable?
31142echo "$as_me:$LINENO: checking $ac_header usability" >&5
31143echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31144cat >conftest.$ac_ext <<_ACEOF
31145#line $LINENO "configure"
31146/* confdefs.h. */
31147_ACEOF
31148cat confdefs.h >>conftest.$ac_ext
31149cat >>conftest.$ac_ext <<_ACEOF
31150/* end confdefs.h. */
31151$ac_includes_default
31152#include <$ac_header>
31153_ACEOF
31154rm -f conftest.$ac_objext
31155if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31156 (eval $ac_compile) 2>&5
31157 ac_status=$?
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); } &&
31160 { ac_try='test -s conftest.$ac_objext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31163 ac_status=$?
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31166 ac_header_compiler=yes
31167else
31168 echo "$as_me: failed program was:" >&5
31169sed 's/^/| /' conftest.$ac_ext >&5
31170
31171ac_header_compiler=no
31172fi
31173rm -f conftest.$ac_objext conftest.$ac_ext
31174echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31175echo "${ECHO_T}$ac_header_compiler" >&6
31176
31177# Is the header present?
31178echo "$as_me:$LINENO: checking $ac_header presence" >&5
31179echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31180cat >conftest.$ac_ext <<_ACEOF
31181#line $LINENO "configure"
31182/* confdefs.h. */
31183_ACEOF
31184cat confdefs.h >>conftest.$ac_ext
31185cat >>conftest.$ac_ext <<_ACEOF
31186/* end confdefs.h. */
31187#include <$ac_header>
31188_ACEOF
31189if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31191 ac_status=$?
31192 grep -v '^ *+' conftest.er1 >conftest.err
31193 rm -f conftest.er1
31194 cat conftest.err >&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); } >/dev/null; then
31197 if test -s conftest.err; then
31198 ac_cpp_err=$ac_c_preproc_warn_flag
31199 else
31200 ac_cpp_err=
31201 fi
31202else
31203 ac_cpp_err=yes
31204fi
31205if test -z "$ac_cpp_err"; then
31206 ac_header_preproc=yes
31207else
31208 echo "$as_me: failed program was:" >&5
31209sed 's/^/| /' conftest.$ac_ext >&5
31210
31211 ac_header_preproc=no
31212fi
31213rm -f conftest.err conftest.$ac_ext
31214echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31215echo "${ECHO_T}$ac_header_preproc" >&6
31216
31217# So? What about this header?
31218case $ac_header_compiler:$ac_header_preproc in
31219 yes:no )
31220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31221echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31223echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31224 (
31225 cat <<\_ASBOX
31226## ------------------------------------ ##
31227## Report this to bug-autoconf@gnu.org. ##
31228## ------------------------------------ ##
31229_ASBOX
31230 ) |
31231 sed "s/^/$as_me: WARNING: /" >&2
31232 ;;
31233 no:yes )
31234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31235echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31237echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31239echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31240 (
31241 cat <<\_ASBOX
31242## ------------------------------------ ##
31243## Report this to bug-autoconf@gnu.org. ##
31244## ------------------------------------ ##
31245_ASBOX
31246 ) |
31247 sed "s/^/$as_me: WARNING: /" >&2
31248 ;;
31249esac
31250echo "$as_me:$LINENO: checking for $ac_header" >&5
31251echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31252if eval "test \"\${$as_ac_Header+set}\" = set"; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31254else
31255 eval "$as_ac_Header=$ac_header_preproc"
31256fi
31257echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31258echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31259
31260fi
31261if test `eval echo '${'$as_ac_Header'}'` = yes; then
31262 cat >>confdefs.h <<_ACEOF
31263#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31264_ACEOF
31265
31266fi
31267
31268done
31269
31270 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31271 wxUSE_JOYSTICK=no
31272 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31273echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31274 fi
31275 fi
31276 fi
31277
31278 if test "$wxUSE_JOYSTICK" = "yes"; then
31279 cat >>confdefs.h <<\_ACEOF
31280#define wxUSE_JOYSTICK 1
31281_ACEOF
31282
31283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31284 fi
31285fi
31286
31287
31288if test "$TOOLKIT" != "MSW"; then
31289
31290 HAVE_DL_FUNCS=0
31291 HAVE_SHL_FUNCS=0
31292 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31293 if test "$USE_DARWIN" = 1; then
31294 HAVE_DL_FUNCS=1
31295 else
31296
31297for ac_func in dlopen
31298do
31299as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31300echo "$as_me:$LINENO: checking for $ac_func" >&5
31301echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31302if eval "test \"\${$as_ac_var+set}\" = set"; then
31303 echo $ECHO_N "(cached) $ECHO_C" >&6
31304else
31305 cat >conftest.$ac_ext <<_ACEOF
31306#line $LINENO "configure"
31307/* confdefs.h. */
31308_ACEOF
31309cat confdefs.h >>conftest.$ac_ext
31310cat >>conftest.$ac_ext <<_ACEOF
31311/* end confdefs.h. */
31312/* System header to define __stub macros and hopefully few prototypes,
31313 which can conflict with char $ac_func (); below.
31314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31315 <limits.h> exists even on freestanding compilers. */
31316#ifdef __STDC__
31317# include <limits.h>
31318#else
31319# include <assert.h>
31320#endif
31321/* Override any gcc2 internal prototype to avoid an error. */
31322#ifdef __cplusplus
31323extern "C"
31324{
31325#endif
31326/* We use char because int might match the return type of a gcc2
31327 builtin and then its argument prototype would still apply. */
31328char $ac_func ();
31329/* The GNU C library defines this for functions which it implements
31330 to always fail with ENOSYS. Some functions are actually named
31331 something starting with __ and the normal name is an alias. */
31332#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31333choke me
31334#else
31335char (*f) () = $ac_func;
31336#endif
31337#ifdef __cplusplus
31338}
31339#endif
31340
31341int
31342main ()
31343{
31344return f != $ac_func;
31345 ;
31346 return 0;
31347}
31348_ACEOF
31349rm -f conftest.$ac_objext conftest$ac_exeext
31350if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31351 (eval $ac_link) 2>&5
31352 ac_status=$?
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); } &&
31355 { ac_try='test -s conftest$ac_exeext'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31358 ac_status=$?
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; }; then
31361 eval "$as_ac_var=yes"
31362else
31363 echo "$as_me: failed program was:" >&5
31364sed 's/^/| /' conftest.$ac_ext >&5
31365
31366eval "$as_ac_var=no"
31367fi
31368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31369fi
31370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31371echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31372if test `eval echo '${'$as_ac_var'}'` = yes; then
31373 cat >>confdefs.h <<_ACEOF
31374#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31375_ACEOF
31376
31377 cat >>confdefs.h <<\_ACEOF
31378#define HAVE_DLOPEN 1
31379_ACEOF
31380
31381 HAVE_DL_FUNCS=1
31382
31383else
31384
31385 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31386echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31387if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31388 echo $ECHO_N "(cached) $ECHO_C" >&6
31389else
31390 ac_check_lib_save_LIBS=$LIBS
31391LIBS="-ldl $LIBS"
31392cat >conftest.$ac_ext <<_ACEOF
31393#line $LINENO "configure"
31394/* confdefs.h. */
31395_ACEOF
31396cat confdefs.h >>conftest.$ac_ext
31397cat >>conftest.$ac_ext <<_ACEOF
31398/* end confdefs.h. */
31399
31400/* Override any gcc2 internal prototype to avoid an error. */
31401#ifdef __cplusplus
31402extern "C"
31403#endif
31404/* We use char because int might match the return type of a gcc2
31405 builtin and then its argument prototype would still apply. */
31406char dlopen ();
31407int
31408main ()
31409{
31410dlopen ();
31411 ;
31412 return 0;
31413}
31414_ACEOF
31415rm -f conftest.$ac_objext conftest$ac_exeext
31416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31417 (eval $ac_link) 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } &&
31421 { ac_try='test -s conftest$ac_exeext'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; }; then
31427 ac_cv_lib_dl_dlopen=yes
31428else
31429 echo "$as_me: failed program was:" >&5
31430sed 's/^/| /' conftest.$ac_ext >&5
31431
31432ac_cv_lib_dl_dlopen=no
31433fi
31434rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31435LIBS=$ac_check_lib_save_LIBS
31436fi
31437echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31438echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31439if test $ac_cv_lib_dl_dlopen = yes; then
31440
31441 cat >>confdefs.h <<\_ACEOF
31442#define HAVE_DLOPEN 1
31443_ACEOF
31444
31445 HAVE_DL_FUNCS=1
31446 DL_LINK=" -ldl$DL_LINK"
31447
31448else
31449
31450
31451for ac_func in shl_load
31452do
31453as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31454echo "$as_me:$LINENO: checking for $ac_func" >&5
31455echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31456if eval "test \"\${$as_ac_var+set}\" = set"; then
31457 echo $ECHO_N "(cached) $ECHO_C" >&6
31458else
31459 cat >conftest.$ac_ext <<_ACEOF
31460#line $LINENO "configure"
31461/* confdefs.h. */
31462_ACEOF
31463cat confdefs.h >>conftest.$ac_ext
31464cat >>conftest.$ac_ext <<_ACEOF
31465/* end confdefs.h. */
31466/* System header to define __stub macros and hopefully few prototypes,
31467 which can conflict with char $ac_func (); below.
31468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31469 <limits.h> exists even on freestanding compilers. */
31470#ifdef __STDC__
31471# include <limits.h>
31472#else
31473# include <assert.h>
31474#endif
31475/* Override any gcc2 internal prototype to avoid an error. */
31476#ifdef __cplusplus
31477extern "C"
31478{
31479#endif
31480/* We use char because int might match the return type of a gcc2
31481 builtin and then its argument prototype would still apply. */
31482char $ac_func ();
31483/* The GNU C library defines this for functions which it implements
31484 to always fail with ENOSYS. Some functions are actually named
31485 something starting with __ and the normal name is an alias. */
31486#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31487choke me
31488#else
31489char (*f) () = $ac_func;
31490#endif
31491#ifdef __cplusplus
31492}
31493#endif
31494
31495int
31496main ()
31497{
31498return f != $ac_func;
31499 ;
31500 return 0;
31501}
31502_ACEOF
31503rm -f conftest.$ac_objext conftest$ac_exeext
31504if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31505 (eval $ac_link) 2>&5
31506 ac_status=$?
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); } &&
31509 { ac_try='test -s conftest$ac_exeext'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31512 ac_status=$?
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; }; then
31515 eval "$as_ac_var=yes"
31516else
31517 echo "$as_me: failed program was:" >&5
31518sed 's/^/| /' conftest.$ac_ext >&5
31519
31520eval "$as_ac_var=no"
31521fi
31522rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31523fi
31524echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31525echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31526if test `eval echo '${'$as_ac_var'}'` = yes; then
31527 cat >>confdefs.h <<_ACEOF
31528#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31529_ACEOF
31530
31531 cat >>confdefs.h <<\_ACEOF
31532#define HAVE_SHL_LOAD 1
31533_ACEOF
31534
31535 HAVE_SHL_FUNCS=1
31536
31537else
31538
31539 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31540echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31541if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31542 echo $ECHO_N "(cached) $ECHO_C" >&6
31543else
31544 ac_check_lib_save_LIBS=$LIBS
31545LIBS="-lshl_load $LIBS"
31546cat >conftest.$ac_ext <<_ACEOF
31547#line $LINENO "configure"
31548/* confdefs.h. */
31549_ACEOF
31550cat confdefs.h >>conftest.$ac_ext
31551cat >>conftest.$ac_ext <<_ACEOF
31552/* end confdefs.h. */
31553
31554/* Override any gcc2 internal prototype to avoid an error. */
31555#ifdef __cplusplus
31556extern "C"
31557#endif
31558/* We use char because int might match the return type of a gcc2
31559 builtin and then its argument prototype would still apply. */
31560char dld ();
31561int
31562main ()
31563{
31564dld ();
31565 ;
31566 return 0;
31567}
31568_ACEOF
31569rm -f conftest.$ac_objext conftest$ac_exeext
31570if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31571 (eval $ac_link) 2>&5
31572 ac_status=$?
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } &&
31575 { ac_try='test -s conftest$ac_exeext'
31576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31577 (eval $ac_try) 2>&5
31578 ac_status=$?
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); }; }; then
31581 ac_cv_lib_shl_load_dld=yes
31582else
31583 echo "$as_me: failed program was:" >&5
31584sed 's/^/| /' conftest.$ac_ext >&5
31585
31586ac_cv_lib_shl_load_dld=no
31587fi
31588rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31589LIBS=$ac_check_lib_save_LIBS
31590fi
31591echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31592echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31593if test $ac_cv_lib_shl_load_dld = yes; then
31594
31595 HAVE_SHL_FUNCS=1
31596 DL_LINK=" -ldld$DL_LINK"
31597
31598fi
31599
31600
31601fi
31602done
31603
31604
31605fi
31606
31607
31608fi
31609done
31610
31611
31612 if test "$HAVE_DL_FUNCS" = 1; then
31613
31614for ac_func in dlerror
31615do
31616as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31617echo "$as_me:$LINENO: checking for $ac_func" >&5
31618echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31619if eval "test \"\${$as_ac_var+set}\" = set"; then
31620 echo $ECHO_N "(cached) $ECHO_C" >&6
31621else
31622 cat >conftest.$ac_ext <<_ACEOF
31623#line $LINENO "configure"
31624/* confdefs.h. */
31625_ACEOF
31626cat confdefs.h >>conftest.$ac_ext
31627cat >>conftest.$ac_ext <<_ACEOF
31628/* end confdefs.h. */
31629/* System header to define __stub macros and hopefully few prototypes,
31630 which can conflict with char $ac_func (); below.
31631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31632 <limits.h> exists even on freestanding compilers. */
31633#ifdef __STDC__
31634# include <limits.h>
31635#else
31636# include <assert.h>
31637#endif
31638/* Override any gcc2 internal prototype to avoid an error. */
31639#ifdef __cplusplus
31640extern "C"
31641{
31642#endif
31643/* We use char because int might match the return type of a gcc2
31644 builtin and then its argument prototype would still apply. */
31645char $ac_func ();
31646/* The GNU C library defines this for functions which it implements
31647 to always fail with ENOSYS. Some functions are actually named
31648 something starting with __ and the normal name is an alias. */
31649#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31650choke me
31651#else
31652char (*f) () = $ac_func;
31653#endif
31654#ifdef __cplusplus
31655}
31656#endif
31657
31658int
31659main ()
31660{
31661return f != $ac_func;
31662 ;
31663 return 0;
31664}
31665_ACEOF
31666rm -f conftest.$ac_objext conftest$ac_exeext
31667if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31668 (eval $ac_link) 2>&5
31669 ac_status=$?
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); } &&
31672 { ac_try='test -s conftest$ac_exeext'
31673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31674 (eval $ac_try) 2>&5
31675 ac_status=$?
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); }; }; then
31678 eval "$as_ac_var=yes"
31679else
31680 echo "$as_me: failed program was:" >&5
31681sed 's/^/| /' conftest.$ac_ext >&5
31682
31683eval "$as_ac_var=no"
31684fi
31685rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31686fi
31687echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31688echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31689if test `eval echo '${'$as_ac_var'}'` = yes; then
31690 cat >>confdefs.h <<_ACEOF
31691#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31692_ACEOF
31693 cat >>confdefs.h <<\_ACEOF
31694#define HAVE_DLERROR 1
31695_ACEOF
31696
31697else
31698 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31699echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31700if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31701 echo $ECHO_N "(cached) $ECHO_C" >&6
31702else
31703 ac_check_lib_save_LIBS=$LIBS
31704LIBS="-ldl $LIBS"
31705cat >conftest.$ac_ext <<_ACEOF
31706#line $LINENO "configure"
31707/* confdefs.h. */
31708_ACEOF
31709cat confdefs.h >>conftest.$ac_ext
31710cat >>conftest.$ac_ext <<_ACEOF
31711/* end confdefs.h. */
31712
31713/* Override any gcc2 internal prototype to avoid an error. */
31714#ifdef __cplusplus
31715extern "C"
31716#endif
31717/* We use char because int might match the return type of a gcc2
31718 builtin and then its argument prototype would still apply. */
31719char dlerror ();
31720int
31721main ()
31722{
31723dlerror ();
31724 ;
31725 return 0;
31726}
31727_ACEOF
31728rm -f conftest.$ac_objext conftest$ac_exeext
31729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31730 (eval $ac_link) 2>&5
31731 ac_status=$?
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } &&
31734 { ac_try='test -s conftest$ac_exeext'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31737 ac_status=$?
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; }; then
31740 ac_cv_lib_dl_dlerror=yes
31741else
31742 echo "$as_me: failed program was:" >&5
31743sed 's/^/| /' conftest.$ac_ext >&5
31744
31745ac_cv_lib_dl_dlerror=no
31746fi
31747rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31748LIBS=$ac_check_lib_save_LIBS
31749fi
31750echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31751echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31752if test $ac_cv_lib_dl_dlerror = yes; then
31753 cat >>confdefs.h <<\_ACEOF
31754#define HAVE_DLERROR 1
31755_ACEOF
31756
31757fi
31758
31759fi
31760done
31761
31762 fi
31763 fi
31764
31765 if test "$HAVE_DL_FUNCS" = 0; then
31766 if test "$HAVE_SHL_FUNCS" = 0; then
31767 if test "$USE_UNIX" = 1; then
31768 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31769echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31770 wxUSE_DYNAMIC_LOADER=no
31771 wxUSE_DYNLIB_CLASS=no
31772 else
31773 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31774echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31775 fi
31776 fi
31777 fi
31778 fi
31779fi
31780
31781if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31782 cat >>confdefs.h <<\_ACEOF
31783#define wxUSE_DYNAMIC_LOADER 1
31784_ACEOF
31785
31786elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31787 cat >>confdefs.h <<\_ACEOF
31788#define wxUSE_DYNLIB_CLASS 1
31789_ACEOF
31790
31791fi
31792
31793
31794if test "$wxUSE_FONTMAP" = "yes" ; then
31795 cat >>confdefs.h <<\_ACEOF
31796#define wxUSE_FONTMAP 1
31797_ACEOF
31798
31799fi
31800
31801if test "$wxUSE_UNICODE" = "yes" ; then
31802 cat >>confdefs.h <<\_ACEOF
31803#define wxUSE_UNICODE 1
31804_ACEOF
31805
31806
31807 if test "$wxUSE_MSW" != 1; then
31808 wxUSE_UNICODE_MSLU=no
31809 fi
31810
31811 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31812 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31813echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31814if test "${ac_cv_lib_unicows_main+set}" = set; then
31815 echo $ECHO_N "(cached) $ECHO_C" >&6
31816else
31817 ac_check_lib_save_LIBS=$LIBS
31818LIBS="-lunicows $LIBS"
31819cat >conftest.$ac_ext <<_ACEOF
31820#line $LINENO "configure"
31821/* confdefs.h. */
31822_ACEOF
31823cat confdefs.h >>conftest.$ac_ext
31824cat >>conftest.$ac_ext <<_ACEOF
31825/* end confdefs.h. */
31826
31827
31828int
31829main ()
31830{
31831main ();
31832 ;
31833 return 0;
31834}
31835_ACEOF
31836rm -f conftest.$ac_objext conftest$ac_exeext
31837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31838 (eval $ac_link) 2>&5
31839 ac_status=$?
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); } &&
31842 { ac_try='test -s conftest$ac_exeext'
31843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31844 (eval $ac_try) 2>&5
31845 ac_status=$?
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); }; }; then
31848 ac_cv_lib_unicows_main=yes
31849else
31850 echo "$as_me: failed program was:" >&5
31851sed 's/^/| /' conftest.$ac_ext >&5
31852
31853ac_cv_lib_unicows_main=no
31854fi
31855rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31856LIBS=$ac_check_lib_save_LIBS
31857fi
31858echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31859echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31860if test $ac_cv_lib_unicows_main = yes; then
31861
31862 cat >>confdefs.h <<\_ACEOF
31863#define wxUSE_UNICODE_MSLU 1
31864_ACEOF
31865
31866
31867else
31868
31869 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31870 Applications will only run on Windows NT/2000/XP!" >&5
31871echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31872 Applications will only run on Windows NT/2000/XP!" >&2;}
31873 wxUSE_UNICODE_MSLU=no
31874
31875fi
31876
31877 fi
31878fi
31879
31880if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31881 cat >>confdefs.h <<\_ACEOF
31882#define wxUSE_EXPERIMENTAL_PRINTF 1
31883_ACEOF
31884
31885fi
31886
31887
31888if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31889 cat >>confdefs.h <<\_ACEOF
31890#define wxUSE_POSTSCRIPT 1
31891_ACEOF
31892
31893fi
31894
31895cat >>confdefs.h <<\_ACEOF
31896#define wxUSE_AFM_FOR_POSTSCRIPT 1
31897_ACEOF
31898
31899
31900cat >>confdefs.h <<\_ACEOF
31901#define wxUSE_NORMALIZED_PS_FONTS 1
31902_ACEOF
31903
31904
31905
31906if test "$wxUSE_CONSTRAINTS" = "yes"; then
31907 cat >>confdefs.h <<\_ACEOF
31908#define wxUSE_CONSTRAINTS 1
31909_ACEOF
31910
31911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31912fi
31913
31914if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31915
31916
31917 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31918 cat >>confdefs.h <<\_ACEOF
31919#define wxUSE_MDI_ARCHITECTURE 1
31920_ACEOF
31921
31922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31923 fi
31924fi
31925
31926if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31927 cat >>confdefs.h <<\_ACEOF
31928#define wxUSE_DOC_VIEW_ARCHITECTURE 1
31929_ACEOF
31930
31931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31932 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31934 fi
31935fi
31936
31937if test "$wxUSE_HELP" = "yes"; then
31938 cat >>confdefs.h <<\_ACEOF
31939#define wxUSE_HELP 1
31940_ACEOF
31941
31942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31943
31944 if test "$wxUSE_MSW" = 1; then
31945 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31946 cat >>confdefs.h <<\_ACEOF
31947#define wxUSE_MS_HTML_HELP 1
31948_ACEOF
31949
31950 fi
31951 fi
31952
31953 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31954 if test "$wxUSE_HTML" = "yes"; then
31955 cat >>confdefs.h <<\_ACEOF
31956#define wxUSE_WXHTML_HELP 1
31957_ACEOF
31958
31959 else
31960 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31961echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31962 wxUSE_WXHTML_HELP=no
31963 fi
31964 fi
31965fi
31966
31967if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31968 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31969 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31970echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31971 else
31972 cat >>confdefs.h <<\_ACEOF
31973#define wxUSE_PRINTING_ARCHITECTURE 1
31974_ACEOF
31975
31976 fi
31977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31978fi
31979
31980if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31981 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31982echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31983 { (exit 1); exit 1; }; }
31984fi
31985
31986
31987if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31988 -o "$wxUSE_CLIPBOARD" = "yes" \
31989 -o "$wxUSE_OLE" = "yes" \
31990 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31991
31992for ac_header in ole2.h
31993do
31994as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31995if eval "test \"\${$as_ac_Header+set}\" = set"; then
31996 echo "$as_me:$LINENO: checking for $ac_header" >&5
31997echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31998if eval "test \"\${$as_ac_Header+set}\" = set"; then
31999 echo $ECHO_N "(cached) $ECHO_C" >&6
32000fi
32001echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32002echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32003else
32004 # Is the header compilable?
32005echo "$as_me:$LINENO: checking $ac_header usability" >&5
32006echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32007cat >conftest.$ac_ext <<_ACEOF
32008#line $LINENO "configure"
32009/* confdefs.h. */
32010_ACEOF
32011cat confdefs.h >>conftest.$ac_ext
32012cat >>conftest.$ac_ext <<_ACEOF
32013/* end confdefs.h. */
32014$ac_includes_default
32015#include <$ac_header>
32016_ACEOF
32017rm -f conftest.$ac_objext
32018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32019 (eval $ac_compile) 2>&5
32020 ac_status=$?
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); } &&
32023 { ac_try='test -s conftest.$ac_objext'
32024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32025 (eval $ac_try) 2>&5
32026 ac_status=$?
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); }; }; then
32029 ac_header_compiler=yes
32030else
32031 echo "$as_me: failed program was:" >&5
32032sed 's/^/| /' conftest.$ac_ext >&5
32033
32034ac_header_compiler=no
32035fi
32036rm -f conftest.$ac_objext conftest.$ac_ext
32037echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32038echo "${ECHO_T}$ac_header_compiler" >&6
32039
32040# Is the header present?
32041echo "$as_me:$LINENO: checking $ac_header presence" >&5
32042echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32043cat >conftest.$ac_ext <<_ACEOF
32044#line $LINENO "configure"
32045/* confdefs.h. */
32046_ACEOF
32047cat confdefs.h >>conftest.$ac_ext
32048cat >>conftest.$ac_ext <<_ACEOF
32049/* end confdefs.h. */
32050#include <$ac_header>
32051_ACEOF
32052if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32054 ac_status=$?
32055 grep -v '^ *+' conftest.er1 >conftest.err
32056 rm -f conftest.er1
32057 cat conftest.err >&5
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); } >/dev/null; then
32060 if test -s conftest.err; then
32061 ac_cpp_err=$ac_c_preproc_warn_flag
32062 else
32063 ac_cpp_err=
32064 fi
32065else
32066 ac_cpp_err=yes
32067fi
32068if test -z "$ac_cpp_err"; then
32069 ac_header_preproc=yes
32070else
32071 echo "$as_me: failed program was:" >&5
32072sed 's/^/| /' conftest.$ac_ext >&5
32073
32074 ac_header_preproc=no
32075fi
32076rm -f conftest.err conftest.$ac_ext
32077echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32078echo "${ECHO_T}$ac_header_preproc" >&6
32079
32080# So? What about this header?
32081case $ac_header_compiler:$ac_header_preproc in
32082 yes:no )
32083 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32084echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32086echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32087 (
32088 cat <<\_ASBOX
32089## ------------------------------------ ##
32090## Report this to bug-autoconf@gnu.org. ##
32091## ------------------------------------ ##
32092_ASBOX
32093 ) |
32094 sed "s/^/$as_me: WARNING: /" >&2
32095 ;;
32096 no:yes )
32097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32098echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32100echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32102echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32103 (
32104 cat <<\_ASBOX
32105## ------------------------------------ ##
32106## Report this to bug-autoconf@gnu.org. ##
32107## ------------------------------------ ##
32108_ASBOX
32109 ) |
32110 sed "s/^/$as_me: WARNING: /" >&2
32111 ;;
32112esac
32113echo "$as_me:$LINENO: checking for $ac_header" >&5
32114echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32115if eval "test \"\${$as_ac_Header+set}\" = set"; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32117else
32118 eval "$as_ac_Header=$ac_header_preproc"
32119fi
32120echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32121echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32122
32123fi
32124if test `eval echo '${'$as_ac_Header'}'` = yes; then
32125 cat >>confdefs.h <<_ACEOF
32126#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32127_ACEOF
32128
32129fi
32130
32131done
32132
32133
32134 if test "$ac_cv_header_ole2_h" = "yes" ; then
32135 if test "$GCC" = yes ; then
32136
32137
32138 ac_ext=cc
32139ac_cpp='$CXXCPP $CPPFLAGS'
32140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32141ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32142ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32143
32144
32145 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32146echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32147 cat >conftest.$ac_ext <<_ACEOF
32148#line $LINENO "configure"
32149/* confdefs.h. */
32150_ACEOF
32151cat confdefs.h >>conftest.$ac_ext
32152cat >>conftest.$ac_ext <<_ACEOF
32153/* end confdefs.h. */
32154#include <windows.h>
32155 #include <ole2.h>
32156int
32157main ()
32158{
32159
32160 ;
32161 return 0;
32162}
32163_ACEOF
32164rm -f conftest.$ac_objext
32165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32166 (eval $ac_compile) 2>&5
32167 ac_status=$?
32168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169 (exit $ac_status); } &&
32170 { ac_try='test -s conftest.$ac_objext'
32171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172 (eval $ac_try) 2>&5
32173 ac_status=$?
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); }; }; then
32176 echo "$as_me:$LINENO: result: no" >&5
32177echo "${ECHO_T}no" >&6
32178else
32179 echo "$as_me: failed program was:" >&5
32180sed 's/^/| /' conftest.$ac_ext >&5
32181
32182echo "$as_me:$LINENO: result: yes" >&5
32183echo "${ECHO_T}yes" >&6
32184 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32185fi
32186rm -f conftest.$ac_objext conftest.$ac_ext
32187 ac_ext=c
32188ac_cpp='$CPP $CPPFLAGS'
32189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191ac_compiler_gnu=$ac_cv_c_compiler_gnu
32192
32193 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32194 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32195 cat >>confdefs.h <<\_ACEOF
32196#define wxUSE_OLE 1
32197_ACEOF
32198
32199
32200 fi
32201
32202 cat >>confdefs.h <<\_ACEOF
32203#define wxUSE_DATAOBJ 1
32204_ACEOF
32205
32206 else
32207 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32208echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32209
32210 wxUSE_CLIPBOARD=no
32211 wxUSE_DRAG_AND_DROP=no
32212 wxUSE_DATAOBJ=no
32213 wxUSE_OLE=no
32214 fi
32215
32216 if test "$wxUSE_METAFILE" = "yes"; then
32217 cat >>confdefs.h <<\_ACEOF
32218#define wxUSE_METAFILE 1
32219_ACEOF
32220
32221
32222 cat >>confdefs.h <<\_ACEOF
32223#define wxUSE_ENH_METAFILE 1
32224_ACEOF
32225
32226 fi
32227fi
32228
32229if test "$wxUSE_IPC" = "yes"; then
32230 if test "$wxUSE_SOCKETS" != "yes"; then
32231 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32232echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32233 fi
32234
32235 cat >>confdefs.h <<\_ACEOF
32236#define wxUSE_IPC 1
32237_ACEOF
32238
32239fi
32240
32241if test "$wxUSE_CLIPBOARD" = "yes"; then
32242 if test "$wxUSE_MGL" = 1; then
32243 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32244echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32245 wxUSE_CLIPBOARD=no
32246 fi
32247
32248 if test "$wxUSE_CLIPBOARD" = "yes"; then
32249 cat >>confdefs.h <<\_ACEOF
32250#define wxUSE_CLIPBOARD 1
32251_ACEOF
32252
32253
32254 cat >>confdefs.h <<\_ACEOF
32255#define wxUSE_DATAOBJ 1
32256_ACEOF
32257
32258 fi
32259fi
32260
32261if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32262 if test "$wxUSE_GTK" = 1; then
32263 if test "$WXGTK12" != 1; then
32264 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32265echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32266 wxUSE_DRAG_AND_DROP=no
32267 fi
32268 fi
32269
32270 if test "$wxUSE_MOTIF" = 1; then
32271 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32272echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32273 wxUSE_DRAG_AND_DROP=no
32274 fi
32275
32276 if test "$wxUSE_X11" = 1; then
32277 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32278echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32279 wxUSE_DRAG_AND_DROP=no
32280 fi
32281
32282 if test "$wxUSE_MGL" = 1; then
32283 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32284echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32285 wxUSE_DRAG_AND_DROP=no
32286 fi
32287
32288 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32289 cat >>confdefs.h <<\_ACEOF
32290#define wxUSE_DRAG_AND_DROP 1
32291_ACEOF
32292
32293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32294 fi
32295
32296fi
32297
32298if test "$wxUSE_SPLINES" = "yes" ; then
32299 cat >>confdefs.h <<\_ACEOF
32300#define wxUSE_SPLINES 1
32301_ACEOF
32302
32303fi
32304
32305
32306USES_CONTROLS=0
32307if test "$wxUSE_CONTROLS" = "yes"; then
32308 USES_CONTROLS=1
32309fi
32310
32311if test "$wxUSE_ACCEL" = "yes"; then
32312 cat >>confdefs.h <<\_ACEOF
32313#define wxUSE_ACCEL 1
32314_ACEOF
32315
32316 USES_CONTROLS=1
32317fi
32318
32319if test "$wxUSE_BUTTON" = "yes"; then
32320 cat >>confdefs.h <<\_ACEOF
32321#define wxUSE_BUTTON 1
32322_ACEOF
32323
32324 USES_CONTROLS=1
32325fi
32326
32327if test "$wxUSE_BMPBUTTON" = "yes"; then
32328 cat >>confdefs.h <<\_ACEOF
32329#define wxUSE_BMPBUTTON 1
32330_ACEOF
32331
32332 USES_CONTROLS=1
32333fi
32334
32335if test "$wxUSE_CALCTRL" = "yes"; then
32336 cat >>confdefs.h <<\_ACEOF
32337#define wxUSE_CALENDARCTRL 1
32338_ACEOF
32339
32340 USES_CONTROLS=1
32341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32342fi
32343
32344if test "$wxUSE_CARET" = "yes"; then
32345 cat >>confdefs.h <<\_ACEOF
32346#define wxUSE_CARET 1
32347_ACEOF
32348
32349 USES_CONTROLS=1
32350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32351fi
32352
32353if test "$wxUSE_COMBOBOX" = "yes"; then
32354 cat >>confdefs.h <<\_ACEOF
32355#define wxUSE_COMBOBOX 1
32356_ACEOF
32357
32358 USES_CONTROLS=1
32359fi
32360
32361if test "$wxUSE_CHOICE" = "yes"; then
32362 cat >>confdefs.h <<\_ACEOF
32363#define wxUSE_CHOICE 1
32364_ACEOF
32365
32366 USES_CONTROLS=1
32367fi
32368
32369if test "$wxUSE_CHECKBOX" = "yes"; then
32370 cat >>confdefs.h <<\_ACEOF
32371#define wxUSE_CHECKBOX 1
32372_ACEOF
32373
32374 USES_CONTROLS=1
32375fi
32376
32377if test "$wxUSE_CHECKLST" = "yes"; then
32378 cat >>confdefs.h <<\_ACEOF
32379#define wxUSE_CHECKLISTBOX 1
32380_ACEOF
32381
32382 USES_CONTROLS=1
32383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32384fi
32385
32386if test "$wxUSE_DISPLAY" = "yes"; then
32387 cat >>confdefs.h <<\_ACEOF
32388#define wxUSE_DISPLAY 1
32389_ACEOF
32390
32391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32392fi
32393
32394if test "$wxUSE_GAUGE" = "yes"; then
32395 cat >>confdefs.h <<\_ACEOF
32396#define wxUSE_GAUGE 1
32397_ACEOF
32398
32399 USES_CONTROLS=1
32400fi
32401
32402if test "$wxUSE_GRID" = "yes"; then
32403 cat >>confdefs.h <<\_ACEOF
32404#define wxUSE_GRID 1
32405_ACEOF
32406
32407 USES_CONTROLS=1
32408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32409fi
32410
32411if test "$wxUSE_IMAGLIST" = "yes"; then
32412 cat >>confdefs.h <<\_ACEOF
32413#define wxUSE_IMAGLIST 1
32414_ACEOF
32415
32416fi
32417
32418if test "$wxUSE_LISTBOX" = "yes"; then
32419 cat >>confdefs.h <<\_ACEOF
32420#define wxUSE_LISTBOX 1
32421_ACEOF
32422
32423 USES_CONTROLS=1
32424fi
32425
32426if test "$wxUSE_LISTCTRL" = "yes"; then
32427 if test "$wxUSE_IMAGLIST" = "yes"; then
32428 cat >>confdefs.h <<\_ACEOF
32429#define wxUSE_LISTCTRL 1
32430_ACEOF
32431
32432 USES_CONTROLS=1
32433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32434 else
32435 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32436echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32437 fi
32438fi
32439
32440if test "$wxUSE_NOTEBOOK" = "yes"; then
32441 cat >>confdefs.h <<\_ACEOF
32442#define wxUSE_NOTEBOOK 1
32443_ACEOF
32444
32445 USES_CONTROLS=1
32446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32447fi
32448
32449
32450if test "$wxUSE_RADIOBOX" = "yes"; then
32451 cat >>confdefs.h <<\_ACEOF
32452#define wxUSE_RADIOBOX 1
32453_ACEOF
32454
32455 USES_CONTROLS=1
32456fi
32457
32458if test "$wxUSE_RADIOBTN" = "yes"; then
32459 cat >>confdefs.h <<\_ACEOF
32460#define wxUSE_RADIOBTN 1
32461_ACEOF
32462
32463 USES_CONTROLS=1
32464fi
32465
32466if test "$wxUSE_SASH" = "yes"; then
32467 cat >>confdefs.h <<\_ACEOF
32468#define wxUSE_SASH 1
32469_ACEOF
32470
32471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32472fi
32473
32474if test "$wxUSE_SCROLLBAR" = "yes"; then
32475 cat >>confdefs.h <<\_ACEOF
32476#define wxUSE_SCROLLBAR 1
32477_ACEOF
32478
32479 USES_CONTROLS=1
32480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32481fi
32482
32483if test "$wxUSE_SLIDER" = "yes"; then
32484 cat >>confdefs.h <<\_ACEOF
32485#define wxUSE_SLIDER 1
32486_ACEOF
32487
32488 USES_CONTROLS=1
32489fi
32490
32491if test "$wxUSE_SPINBTN" = "yes"; then
32492 cat >>confdefs.h <<\_ACEOF
32493#define wxUSE_SPINBTN 1
32494_ACEOF
32495
32496 USES_CONTROLS=1
32497fi
32498
32499if test "$wxUSE_SPINCTRL" = "yes"; then
32500 cat >>confdefs.h <<\_ACEOF
32501#define wxUSE_SPINCTRL 1
32502_ACEOF
32503
32504 USES_CONTROLS=1
32505fi
32506
32507if test "$wxUSE_SPLITTER" = "yes"; then
32508 cat >>confdefs.h <<\_ACEOF
32509#define wxUSE_SPLITTER 1
32510_ACEOF
32511
32512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32513fi
32514
32515if test "$wxUSE_STATBMP" = "yes"; then
32516 cat >>confdefs.h <<\_ACEOF
32517#define wxUSE_STATBMP 1
32518_ACEOF
32519
32520 USES_CONTROLS=1
32521fi
32522
32523if test "$wxUSE_STATBOX" = "yes"; then
32524 cat >>confdefs.h <<\_ACEOF
32525#define wxUSE_STATBOX 1
32526_ACEOF
32527
32528 USES_CONTROLS=1
32529fi
32530
32531if test "$wxUSE_STATTEXT" = "yes"; then
32532 cat >>confdefs.h <<\_ACEOF
32533#define wxUSE_STATTEXT 1
32534_ACEOF
32535
32536 USES_CONTROLS=1
32537fi
32538
32539if test "$wxUSE_STATLINE" = "yes"; then
32540 cat >>confdefs.h <<\_ACEOF
32541#define wxUSE_STATLINE 1
32542_ACEOF
32543
32544 USES_CONTROLS=1
32545fi
32546
32547if test "$wxUSE_STATUSBAR" = "yes"; then
32548 cat >>confdefs.h <<\_ACEOF
32549#define wxUSE_STATUSBAR 1
32550_ACEOF
32551
32552 USES_CONTROLS=1
32553
32554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32555fi
32556
32557if test "$wxUSE_TABDIALOG" = "yes"; then
32558 cat >>confdefs.h <<\_ACEOF
32559#define wxUSE_TAB_DIALOG 1
32560_ACEOF
32561
32562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32563fi
32564
32565if test "$wxUSE_TEXTCTRL" = "yes"; then
32566 cat >>confdefs.h <<\_ACEOF
32567#define wxUSE_TEXTCTRL 1
32568_ACEOF
32569
32570 USES_CONTROLS=1
32571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32572fi
32573
32574if test "$wxUSE_TOGGLEBTN" = "yes"; then
32575 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32576 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32577echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32578 wxUSE_TOGGLEBTN=no
32579 fi
32580 if test "$wxUSE_UNIVERSAL" = "yes"; then
32581 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32582echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32583 wxUSE_TOGGLEBTN=no
32584 fi
32585
32586 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32587 cat >>confdefs.h <<\_ACEOF
32588#define wxUSE_TOGGLEBTN 1
32589_ACEOF
32590
32591 USES_CONTROLS=1
32592 fi
32593fi
32594
32595if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32596 cat >>confdefs.h <<\_ACEOF
32597#define wxUSE_TOOLBAR_SIMPLE 1
32598_ACEOF
32599
32600 wxUSE_TOOLBAR="yes"
32601 USES_CONTROLS=1
32602fi
32603
32604if test "$wxUSE_TOOLBAR" = "yes"; then
32605 cat >>confdefs.h <<\_ACEOF
32606#define wxUSE_TOOLBAR 1
32607_ACEOF
32608
32609 USES_CONTROLS=1
32610
32611 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32612 wxUSE_TOOLBAR_NATIVE="yes"
32613 fi
32614
32615 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32616 cat >>confdefs.h <<\_ACEOF
32617#define wxUSE_TOOLBAR_NATIVE 1
32618_ACEOF
32619
32620 USES_CONTROLS=1
32621 fi
32622
32623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32624fi
32625
32626if test "$wxUSE_TOOLTIPS" = "yes"; then
32627 if test "$wxUSE_MOTIF" = 1; then
32628 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32629echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32630 else
32631 if test "$wxUSE_UNIVERSAL" = "yes"; then
32632 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32633echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32634 else
32635 cat >>confdefs.h <<\_ACEOF
32636#define wxUSE_TOOLTIPS 1
32637_ACEOF
32638
32639 fi
32640 fi
32641fi
32642
32643if test "$wxUSE_TREECTRL" = "yes"; then
32644 if test "$wxUSE_IMAGLIST" = "yes"; then
32645 cat >>confdefs.h <<\_ACEOF
32646#define wxUSE_TREECTRL 1
32647_ACEOF
32648
32649 USES_CONTROLS=1
32650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32651 else
32652 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32653echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32654 fi
32655fi
32656
32657if test "$wxUSE_POPUPWIN" = "yes"; then
32658 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32659 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32660echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32661 else
32662 if test "$wxUSE_MOTIF" = 1; then
32663 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32664echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32665 else
32666 if test "$wxUSE_PM" = 1; then
32667 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32668echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32669 else
32670 cat >>confdefs.h <<\_ACEOF
32671#define wxUSE_POPUPWIN 1
32672_ACEOF
32673
32674
32675 USES_CONTROLS=1
32676 fi
32677 fi
32678 fi
32679fi
32680
32681if test "$wxUSE_TIPWINDOW" = "yes"; then
32682 if test "$wxUSE_PM" = 1; then
32683 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32684echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32685 else
32686 cat >>confdefs.h <<\_ACEOF
32687#define wxUSE_TIPWINDOW 1
32688_ACEOF
32689
32690 fi
32691fi
32692
32693if test "$USES_CONTROLS" = 1; then
32694 cat >>confdefs.h <<\_ACEOF
32695#define wxUSE_CONTROLS 1
32696_ACEOF
32697
32698fi
32699
32700
32701
32702if test "$wxUSE_DRAGIMAGE" = "yes"; then
32703 cat >>confdefs.h <<\_ACEOF
32704#define wxUSE_DRAGIMAGE 1
32705_ACEOF
32706
32707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32708fi
32709
32710if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32711 cat >>confdefs.h <<\_ACEOF
32712#define wxUSE_ACCESSIBILITY 1
32713_ACEOF
32714
32715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32716fi
32717
32718if test "$wxUSE_MENUS" = "yes"; then
32719 cat >>confdefs.h <<\_ACEOF
32720#define wxUSE_MENUS 1
32721_ACEOF
32722
32723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32724fi
32725
32726if test "$wxUSE_METAFILE" = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728#define wxUSE_METAFILE 1
32729_ACEOF
32730
32731fi
32732
32733if test "$wxUSE_MIMETYPE" = "yes"; then
32734 cat >>confdefs.h <<\_ACEOF
32735#define wxUSE_MIMETYPE 1
32736_ACEOF
32737
32738fi
32739
32740if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32741 cat >>confdefs.h <<\_ACEOF
32742#define wxUSE_SYSTEM_OPTIONS 1
32743_ACEOF
32744
32745if test "$TOOLKIT" = "MSW"; then
32746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32747fi
32748
32749fi
32750
32751if test "$wxUSE_PROTOCOL" = "yes"; then
32752 if test "$wxUSE_SOCKETS" != "yes"; then
32753 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32754echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32755 wxUSE_PROTOCOL=no
32756 fi
32757
32758 if test "$wxUSE_PROTOCOL" = "yes"; then
32759 cat >>confdefs.h <<\_ACEOF
32760#define wxUSE_PROTOCOL 1
32761_ACEOF
32762
32763
32764 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32765 cat >>confdefs.h <<\_ACEOF
32766#define wxUSE_PROTOCOL_HTTP 1
32767_ACEOF
32768
32769 fi
32770 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32771 cat >>confdefs.h <<\_ACEOF
32772#define wxUSE_PROTOCOL_FTP 1
32773_ACEOF
32774
32775 fi
32776 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32777 cat >>confdefs.h <<\_ACEOF
32778#define wxUSE_PROTOCOL_FILE 1
32779_ACEOF
32780
32781 fi
32782 fi
32783fi
32784
32785if test "$wxUSE_URL" = "yes"; then
32786 if test "$wxUSE_PROTOCOL" != "yes"; then
32787 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32788echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32789 wxUSE_URL=no
32790 fi
32791 if test "$wxUSE_URL" = "yes"; then
32792 cat >>confdefs.h <<\_ACEOF
32793#define wxUSE_URL 1
32794_ACEOF
32795
32796 fi
32797fi
32798
32799if test "$wxUSE_MINIFRAME" = "yes"; then
32800 cat >>confdefs.h <<\_ACEOF
32801#define wxUSE_MINIFRAME 1
32802_ACEOF
32803
32804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32805fi
32806
32807if test "$wxUSE_HTML" = "yes"; then
32808 cat >>confdefs.h <<\_ACEOF
32809#define wxUSE_HTML 1
32810_ACEOF
32811
32812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html htlbox"
32813fi
32814
32815if test "$wxUSE_VALIDATORS" = "yes"; then
32816 cat >>confdefs.h <<\_ACEOF
32817#define wxUSE_VALIDATORS 1
32818_ACEOF
32819
32820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32821fi
32822
32823if test "$wxUSE_PALETTE" = "yes" ; then
32824 cat >>confdefs.h <<\_ACEOF
32825#define wxUSE_PALETTE 1
32826_ACEOF
32827
32828fi
32829
32830if test "$wxUSE_IMAGE" = "yes" ; then
32831 cat >>confdefs.h <<\_ACEOF
32832#define wxUSE_IMAGE 1
32833_ACEOF
32834
32835fi
32836
32837if test "$wxUSE_GIF" = "yes" ; then
32838 cat >>confdefs.h <<\_ACEOF
32839#define wxUSE_GIF 1
32840_ACEOF
32841
32842fi
32843
32844if test "$wxUSE_PCX" = "yes" ; then
32845 cat >>confdefs.h <<\_ACEOF
32846#define wxUSE_PCX 1
32847_ACEOF
32848
32849fi
32850
32851if test "$wxUSE_IFF" = "yes" ; then
32852 cat >>confdefs.h <<\_ACEOF
32853#define wxUSE_IFF 1
32854_ACEOF
32855
32856fi
32857
32858if test "$wxUSE_PNM" = "yes" ; then
32859 cat >>confdefs.h <<\_ACEOF
32860#define wxUSE_PNM 1
32861_ACEOF
32862
32863fi
32864
32865if test "$wxUSE_XPM" = "yes" ; then
32866 cat >>confdefs.h <<\_ACEOF
32867#define wxUSE_XPM 1
32868_ACEOF
32869
32870fi
32871
32872if test "$wxUSE_ICO_CUR" = "yes" ; then
32873 cat >>confdefs.h <<\_ACEOF
32874#define wxUSE_ICO_CUR 1
32875_ACEOF
32876
32877fi
32878
32879if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32880 LIBS=" -lunicows $LIBS"
32881fi
32882
32883
32884if test "$wxUSE_CHOICEDLG" = "yes"; then
32885 cat >>confdefs.h <<\_ACEOF
32886#define wxUSE_CHOICEDLG 1
32887_ACEOF
32888
32889fi
32890
32891if test "$wxUSE_COLOURDLG" = "yes"; then
32892 cat >>confdefs.h <<\_ACEOF
32893#define wxUSE_COLOURDLG 1
32894_ACEOF
32895
32896fi
32897
32898if test "$wxUSE_FILEDLG" = "yes"; then
32899 cat >>confdefs.h <<\_ACEOF
32900#define wxUSE_FILEDLG 1
32901_ACEOF
32902
32903fi
32904
32905if test "$wxUSE_FINDREPLDLG" = "yes"; then
32906 cat >>confdefs.h <<\_ACEOF
32907#define wxUSE_FINDREPLDLG 1
32908_ACEOF
32909
32910fi
32911
32912if test "$wxUSE_FONTDLG" = "yes"; then
32913 cat >>confdefs.h <<\_ACEOF
32914#define wxUSE_FONTDLG 1
32915_ACEOF
32916
32917fi
32918
32919if test "$wxUSE_DIRDLG" = "yes"; then
32920 if test "$wxUSE_TREECTRL" != "yes"; then
32921 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32922echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32923 else
32924 cat >>confdefs.h <<\_ACEOF
32925#define wxUSE_DIRDLG 1
32926_ACEOF
32927
32928 fi
32929fi
32930
32931if test "$wxUSE_MSGDLG" = "yes"; then
32932 cat >>confdefs.h <<\_ACEOF
32933#define wxUSE_MSGDLG 1
32934_ACEOF
32935
32936fi
32937
32938if test "$wxUSE_NUMBERDLG" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940#define wxUSE_NUMBERDLG 1
32941_ACEOF
32942
32943fi
32944
32945if test "$wxUSE_PROGRESSDLG" = "yes"; then
32946 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32947 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32948echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32949 else
32950 cat >>confdefs.h <<\_ACEOF
32951#define wxUSE_PROGRESSDLG 1
32952_ACEOF
32953
32954 fi
32955fi
32956
32957if test "$wxUSE_SPLASH" = "yes"; then
32958 cat >>confdefs.h <<\_ACEOF
32959#define wxUSE_SPLASH 1
32960_ACEOF
32961
32962fi
32963
32964if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32965 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32966 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32967echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32968 else
32969 cat >>confdefs.h <<\_ACEOF
32970#define wxUSE_STARTUP_TIPS 1
32971_ACEOF
32972
32973 fi
32974fi
32975
32976if test "$wxUSE_TEXTDLG" = "yes"; then
32977 cat >>confdefs.h <<\_ACEOF
32978#define wxUSE_TEXTDLG 1
32979_ACEOF
32980
32981fi
32982
32983if test "$wxUSE_WIZARDDLG" = "yes"; then
32984 cat >>confdefs.h <<\_ACEOF
32985#define wxUSE_WIZARDDLG 1
32986_ACEOF
32987
32988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32989fi
32990
32991
32992if test "$cross_compiling" = "yes"; then
32993 OSINFO="\"$host\""
32994else
32995 OSINFO=`uname -s -r -m`
32996 OSINFO="\"$OSINFO\""
32997fi
32998
32999cat >>confdefs.h <<_ACEOF
33000#define WXWIN_OS_DESCRIPTION $OSINFO
33001_ACEOF
33002
33003
33004
33005if test "x$prefix" != "xNONE"; then
33006 wxPREFIX=$prefix
33007else
33008 wxPREFIX=$ac_default_prefix
33009fi
33010
33011cat >>confdefs.h <<_ACEOF
33012#define wxINSTALL_PREFIX "$wxPREFIX"
33013_ACEOF
33014
33015
33016top_builddir_wxconfig=`pwd`
33017
33018
33019
33020
33021if test "$wxUSE_MAC" = 1 ; then
33022 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33023fi
33024if test "$wxUSE_COCOA" = 1 ; then
33025 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33026fi
33027
33028
33029LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33030
33031have_cos=0
33032have_floor=0
33033
33034for ac_func in cos
33035do
33036as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33037echo "$as_me:$LINENO: checking for $ac_func" >&5
33038echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33039if eval "test \"\${$as_ac_var+set}\" = set"; then
33040 echo $ECHO_N "(cached) $ECHO_C" >&6
33041else
33042 cat >conftest.$ac_ext <<_ACEOF
33043#line $LINENO "configure"
33044/* confdefs.h. */
33045_ACEOF
33046cat confdefs.h >>conftest.$ac_ext
33047cat >>conftest.$ac_ext <<_ACEOF
33048/* end confdefs.h. */
33049/* System header to define __stub macros and hopefully few prototypes,
33050 which can conflict with char $ac_func (); below.
33051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33052 <limits.h> exists even on freestanding compilers. */
33053#ifdef __STDC__
33054# include <limits.h>
33055#else
33056# include <assert.h>
33057#endif
33058/* Override any gcc2 internal prototype to avoid an error. */
33059#ifdef __cplusplus
33060extern "C"
33061{
33062#endif
33063/* We use char because int might match the return type of a gcc2
33064 builtin and then its argument prototype would still apply. */
33065char $ac_func ();
33066/* The GNU C library defines this for functions which it implements
33067 to always fail with ENOSYS. Some functions are actually named
33068 something starting with __ and the normal name is an alias. */
33069#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33070choke me
33071#else
33072char (*f) () = $ac_func;
33073#endif
33074#ifdef __cplusplus
33075}
33076#endif
33077
33078int
33079main ()
33080{
33081return f != $ac_func;
33082 ;
33083 return 0;
33084}
33085_ACEOF
33086rm -f conftest.$ac_objext conftest$ac_exeext
33087if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33088 (eval $ac_link) 2>&5
33089 ac_status=$?
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } &&
33092 { ac_try='test -s conftest$ac_exeext'
33093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33094 (eval $ac_try) 2>&5
33095 ac_status=$?
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); }; }; then
33098 eval "$as_ac_var=yes"
33099else
33100 echo "$as_me: failed program was:" >&5
33101sed 's/^/| /' conftest.$ac_ext >&5
33102
33103eval "$as_ac_var=no"
33104fi
33105rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33106fi
33107echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33108echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33109if test `eval echo '${'$as_ac_var'}'` = yes; then
33110 cat >>confdefs.h <<_ACEOF
33111#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33112_ACEOF
33113 have_cos=1
33114fi
33115done
33116
33117
33118for ac_func in floor
33119do
33120as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33121echo "$as_me:$LINENO: checking for $ac_func" >&5
33122echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33123if eval "test \"\${$as_ac_var+set}\" = set"; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33125else
33126 cat >conftest.$ac_ext <<_ACEOF
33127#line $LINENO "configure"
33128/* confdefs.h. */
33129_ACEOF
33130cat confdefs.h >>conftest.$ac_ext
33131cat >>conftest.$ac_ext <<_ACEOF
33132/* end confdefs.h. */
33133/* System header to define __stub macros and hopefully few prototypes,
33134 which can conflict with char $ac_func (); below.
33135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33136 <limits.h> exists even on freestanding compilers. */
33137#ifdef __STDC__
33138# include <limits.h>
33139#else
33140# include <assert.h>
33141#endif
33142/* Override any gcc2 internal prototype to avoid an error. */
33143#ifdef __cplusplus
33144extern "C"
33145{
33146#endif
33147/* We use char because int might match the return type of a gcc2
33148 builtin and then its argument prototype would still apply. */
33149char $ac_func ();
33150/* The GNU C library defines this for functions which it implements
33151 to always fail with ENOSYS. Some functions are actually named
33152 something starting with __ and the normal name is an alias. */
33153#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33154choke me
33155#else
33156char (*f) () = $ac_func;
33157#endif
33158#ifdef __cplusplus
33159}
33160#endif
33161
33162int
33163main ()
33164{
33165return f != $ac_func;
33166 ;
33167 return 0;
33168}
33169_ACEOF
33170rm -f conftest.$ac_objext conftest$ac_exeext
33171if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33172 (eval $ac_link) 2>&5
33173 ac_status=$?
33174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175 (exit $ac_status); } &&
33176 { ac_try='test -s conftest$ac_exeext'
33177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33178 (eval $ac_try) 2>&5
33179 ac_status=$?
33180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181 (exit $ac_status); }; }; then
33182 eval "$as_ac_var=yes"
33183else
33184 echo "$as_me: failed program was:" >&5
33185sed 's/^/| /' conftest.$ac_ext >&5
33186
33187eval "$as_ac_var=no"
33188fi
33189rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33190fi
33191echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33192echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33193if test `eval echo '${'$as_ac_var'}'` = yes; then
33194 cat >>confdefs.h <<_ACEOF
33195#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33196_ACEOF
33197 have_floor=1
33198fi
33199done
33200
33201echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33202echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33203if test "$have_cos" = 1 -a "$have_floor" = 1; then
33204 echo "$as_me:$LINENO: result: yes" >&5
33205echo "${ECHO_T}yes" >&6
33206else
33207 echo "$as_me:$LINENO: result: no" >&5
33208echo "${ECHO_T}no" >&6
33209 LIBS="$LIBS -lm"
33210 # use different functions to avoid configure caching
33211 have_sin=0
33212 have_ceil=0
33213
33214for ac_func in sin
33215do
33216as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33217echo "$as_me:$LINENO: checking for $ac_func" >&5
33218echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33219if eval "test \"\${$as_ac_var+set}\" = set"; then
33220 echo $ECHO_N "(cached) $ECHO_C" >&6
33221else
33222 cat >conftest.$ac_ext <<_ACEOF
33223#line $LINENO "configure"
33224/* confdefs.h. */
33225_ACEOF
33226cat confdefs.h >>conftest.$ac_ext
33227cat >>conftest.$ac_ext <<_ACEOF
33228/* end confdefs.h. */
33229/* System header to define __stub macros and hopefully few prototypes,
33230 which can conflict with char $ac_func (); below.
33231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33232 <limits.h> exists even on freestanding compilers. */
33233#ifdef __STDC__
33234# include <limits.h>
33235#else
33236# include <assert.h>
33237#endif
33238/* Override any gcc2 internal prototype to avoid an error. */
33239#ifdef __cplusplus
33240extern "C"
33241{
33242#endif
33243/* We use char because int might match the return type of a gcc2
33244 builtin and then its argument prototype would still apply. */
33245char $ac_func ();
33246/* The GNU C library defines this for functions which it implements
33247 to always fail with ENOSYS. Some functions are actually named
33248 something starting with __ and the normal name is an alias. */
33249#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33250choke me
33251#else
33252char (*f) () = $ac_func;
33253#endif
33254#ifdef __cplusplus
33255}
33256#endif
33257
33258int
33259main ()
33260{
33261return f != $ac_func;
33262 ;
33263 return 0;
33264}
33265_ACEOF
33266rm -f conftest.$ac_objext conftest$ac_exeext
33267if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33268 (eval $ac_link) 2>&5
33269 ac_status=$?
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } &&
33272 { ac_try='test -s conftest$ac_exeext'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33275 ac_status=$?
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; }; then
33278 eval "$as_ac_var=yes"
33279else
33280 echo "$as_me: failed program was:" >&5
33281sed 's/^/| /' conftest.$ac_ext >&5
33282
33283eval "$as_ac_var=no"
33284fi
33285rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33286fi
33287echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33288echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33289if test `eval echo '${'$as_ac_var'}'` = yes; then
33290 cat >>confdefs.h <<_ACEOF
33291#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33292_ACEOF
33293 have_sin=1
33294fi
33295done
33296
33297
33298for ac_func in ceil
33299do
33300as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33301echo "$as_me:$LINENO: checking for $ac_func" >&5
33302echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33303if eval "test \"\${$as_ac_var+set}\" = set"; then
33304 echo $ECHO_N "(cached) $ECHO_C" >&6
33305else
33306 cat >conftest.$ac_ext <<_ACEOF
33307#line $LINENO "configure"
33308/* confdefs.h. */
33309_ACEOF
33310cat confdefs.h >>conftest.$ac_ext
33311cat >>conftest.$ac_ext <<_ACEOF
33312/* end confdefs.h. */
33313/* System header to define __stub macros and hopefully few prototypes,
33314 which can conflict with char $ac_func (); below.
33315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33316 <limits.h> exists even on freestanding compilers. */
33317#ifdef __STDC__
33318# include <limits.h>
33319#else
33320# include <assert.h>
33321#endif
33322/* Override any gcc2 internal prototype to avoid an error. */
33323#ifdef __cplusplus
33324extern "C"
33325{
33326#endif
33327/* We use char because int might match the return type of a gcc2
33328 builtin and then its argument prototype would still apply. */
33329char $ac_func ();
33330/* The GNU C library defines this for functions which it implements
33331 to always fail with ENOSYS. Some functions are actually named
33332 something starting with __ and the normal name is an alias. */
33333#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33334choke me
33335#else
33336char (*f) () = $ac_func;
33337#endif
33338#ifdef __cplusplus
33339}
33340#endif
33341
33342int
33343main ()
33344{
33345return f != $ac_func;
33346 ;
33347 return 0;
33348}
33349_ACEOF
33350rm -f conftest.$ac_objext conftest$ac_exeext
33351if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33352 (eval $ac_link) 2>&5
33353 ac_status=$?
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } &&
33356 { ac_try='test -s conftest$ac_exeext'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33359 ac_status=$?
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; }; then
33362 eval "$as_ac_var=yes"
33363else
33364 echo "$as_me: failed program was:" >&5
33365sed 's/^/| /' conftest.$ac_ext >&5
33366
33367eval "$as_ac_var=no"
33368fi
33369rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33370fi
33371echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33372echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33373if test `eval echo '${'$as_ac_var'}'` = yes; then
33374 cat >>confdefs.h <<_ACEOF
33375#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33376_ACEOF
33377 have_ceil=1
33378fi
33379done
33380
33381 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33382echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33383 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33384 echo "$as_me:$LINENO: result: yes" >&5
33385echo "${ECHO_T}yes" >&6
33386 else
33387 echo "$as_me:$LINENO: result: no" >&5
33388echo "${ECHO_T}no" >&6
33389 # not sure we should warn the user, crash, etc.
33390 fi
33391fi
33392
33393if test "$wxUSE_GUI" = "yes"; then
33394
33395 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33396
33397
33398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33399 drawing dynamic erase event exec font image \
33400 minimal propsize rotate shaped widgets"
33401else
33402 SAMPLES_SUBDIRS="console"
33403fi
33404
33405
33406INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33407-I\${top_srcdir}/include \
33408$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33409$TOOLKIT_INCLUDE"
33410
33411if test "$wxUSE_GTK" = 1; then
33412 WXCONFIG_INCLUDE=
33413else
33414 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33415fi
33416
33417if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33418 WXUNIV=1
33419else
33420 WXUNIV=0
33421fi
33422
33423
33424
33425
33426
33427
33428
33429
33430EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33431
33432if test $wxUSE_MONOLITHIC = "yes" ; then
33433 MONOLITHIC=1
33434else
33435 MONOLITHIC=0
33436fi
33437
33438
33439
33440
33441
33442
33443
33444TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33445
33446
33447
33448
33449
33450 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33451
33452 if test -n "$ac_tool_prefix"; then
33453 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33454set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33455echo "$as_me:$LINENO: checking for $ac_word" >&5
33456echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33457if test "${ac_cv_prog_RANLIB+set}" = set; then
33458 echo $ECHO_N "(cached) $ECHO_C" >&6
33459else
33460 if test -n "$RANLIB"; then
33461 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33462else
33463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33464for as_dir in $PATH
33465do
33466 IFS=$as_save_IFS
33467 test -z "$as_dir" && as_dir=.
33468 for ac_exec_ext in '' $ac_executable_extensions; do
33469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33470 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33472 break 2
33473 fi
33474done
33475done
33476
33477fi
33478fi
33479RANLIB=$ac_cv_prog_RANLIB
33480if test -n "$RANLIB"; then
33481 echo "$as_me:$LINENO: result: $RANLIB" >&5
33482echo "${ECHO_T}$RANLIB" >&6
33483else
33484 echo "$as_me:$LINENO: result: no" >&5
33485echo "${ECHO_T}no" >&6
33486fi
33487
33488fi
33489if test -z "$ac_cv_prog_RANLIB"; then
33490 ac_ct_RANLIB=$RANLIB
33491 # Extract the first word of "ranlib", so it can be a program name with args.
33492set dummy ranlib; ac_word=$2
33493echo "$as_me:$LINENO: checking for $ac_word" >&5
33494echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33495if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33497else
33498 if test -n "$ac_ct_RANLIB"; then
33499 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33500else
33501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33502for as_dir in $PATH
33503do
33504 IFS=$as_save_IFS
33505 test -z "$as_dir" && as_dir=.
33506 for ac_exec_ext in '' $ac_executable_extensions; do
33507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33508 ac_cv_prog_ac_ct_RANLIB="ranlib"
33509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33510 break 2
33511 fi
33512done
33513done
33514
33515 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33516fi
33517fi
33518ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33519if test -n "$ac_ct_RANLIB"; then
33520 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33521echo "${ECHO_T}$ac_ct_RANLIB" >&6
33522else
33523 echo "$as_me:$LINENO: result: no" >&5
33524echo "${ECHO_T}no" >&6
33525fi
33526
33527 RANLIB=$ac_ct_RANLIB
33528else
33529 RANLIB="$ac_cv_prog_RANLIB"
33530fi
33531
33532 # Find a good install program. We prefer a C program (faster),
33533# so one script is as good as another. But avoid the broken or
33534# incompatible versions:
33535# SysV /etc/install, /usr/sbin/install
33536# SunOS /usr/etc/install
33537# IRIX /sbin/install
33538# AIX /bin/install
33539# AmigaOS /C/install, which installs bootblocks on floppy discs
33540# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33541# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33542# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33543# ./install, which can be erroneously created by make from ./install.sh.
33544echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33545echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33546if test -z "$INSTALL"; then
33547if test "${ac_cv_path_install+set}" = set; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33549else
33550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33551for as_dir in $PATH
33552do
33553 IFS=$as_save_IFS
33554 test -z "$as_dir" && as_dir=.
33555 # Account for people who put trailing slashes in PATH elements.
33556case $as_dir/ in
33557 ./ | .// | /cC/* | \
33558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33559 /usr/ucb/* ) ;;
33560 *)
33561 # OSF1 and SCO ODT 3.0 have their own names for install.
33562 # Don't use installbsd from OSF since it installs stuff as root
33563 # by default.
33564 for ac_prog in ginstall scoinst install; do
33565 for ac_exec_ext in '' $ac_executable_extensions; do
33566 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33567 if test $ac_prog = install &&
33568 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33569 # AIX install. It has an incompatible calling convention.
33570 :
33571 elif test $ac_prog = install &&
33572 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33573 # program-specific install script used by HP pwplus--don't use.
33574 :
33575 else
33576 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33577 break 3
33578 fi
33579 fi
33580 done
33581 done
33582 ;;
33583esac
33584done
33585
33586
33587fi
33588 if test "${ac_cv_path_install+set}" = set; then
33589 INSTALL=$ac_cv_path_install
33590 else
33591 # As a last resort, use the slow shell script. We don't cache a
33592 # path for INSTALL within a source directory, because that will
33593 # break other packages using the cache if that directory is
33594 # removed, or if the path is relative.
33595 INSTALL=$ac_install_sh
33596 fi
33597fi
33598echo "$as_me:$LINENO: result: $INSTALL" >&5
33599echo "${ECHO_T}$INSTALL" >&6
33600
33601# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33602# It thinks the first close brace ends the variable substitution.
33603test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33604
33605test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33606
33607test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33608
33609 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33610echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33611LN_S=$as_ln_s
33612if test "$LN_S" = "ln -s"; then
33613 echo "$as_me:$LINENO: result: yes" >&5
33614echo "${ECHO_T}yes" >&6
33615else
33616 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33617echo "${ECHO_T}no, using $LN_S" >&6
33618fi
33619
33620
33621 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33622echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33623set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33624if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33625 echo $ECHO_N "(cached) $ECHO_C" >&6
33626else
33627 cat >conftest.make <<\_ACEOF
33628all:
33629 @echo 'ac_maketemp="$(MAKE)"'
33630_ACEOF
33631# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33632eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33633if test -n "$ac_maketemp"; then
33634 eval ac_cv_prog_make_${ac_make}_set=yes
33635else
33636 eval ac_cv_prog_make_${ac_make}_set=no
33637fi
33638rm -f conftest.make
33639fi
33640if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33641 echo "$as_me:$LINENO: result: yes" >&5
33642echo "${ECHO_T}yes" >&6
33643 SET_MAKE=
33644else
33645 echo "$as_me:$LINENO: result: no" >&5
33646echo "${ECHO_T}no" >&6
33647 SET_MAKE="MAKE=${MAKE-make}"
33648fi
33649
33650
33651
33652 if test "$build" != "$host" ; then
33653 AR=$host_alias-ar
33654 STRIP=$host_alias-strip
33655 else
33656 # Extract the first word of "ar", so it can be a program name with args.
33657set dummy ar; ac_word=$2
33658echo "$as_me:$LINENO: checking for $ac_word" >&5
33659echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33660if test "${ac_cv_prog_AR+set}" = set; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33662else
33663 if test -n "$AR"; then
33664 ac_cv_prog_AR="$AR" # Let the user override the test.
33665else
33666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33667for as_dir in $PATH
33668do
33669 IFS=$as_save_IFS
33670 test -z "$as_dir" && as_dir=.
33671 for ac_exec_ext in '' $ac_executable_extensions; do
33672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33673 ac_cv_prog_AR="ar"
33674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33675 break 2
33676 fi
33677done
33678done
33679
33680 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33681fi
33682fi
33683AR=$ac_cv_prog_AR
33684if test -n "$AR"; then
33685 echo "$as_me:$LINENO: result: $AR" >&5
33686echo "${ECHO_T}$AR" >&6
33687else
33688 echo "$as_me:$LINENO: result: no" >&5
33689echo "${ECHO_T}no" >&6
33690fi
33691
33692 # Extract the first word of "strip", so it can be a program name with args.
33693set dummy strip; ac_word=$2
33694echo "$as_me:$LINENO: checking for $ac_word" >&5
33695echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33696if test "${ac_cv_prog_STRIP+set}" = set; then
33697 echo $ECHO_N "(cached) $ECHO_C" >&6
33698else
33699 if test -n "$STRIP"; then
33700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33701else
33702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33703for as_dir in $PATH
33704do
33705 IFS=$as_save_IFS
33706 test -z "$as_dir" && as_dir=.
33707 for ac_exec_ext in '' $ac_executable_extensions; do
33708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33709 ac_cv_prog_STRIP="strip"
33710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33711 break 2
33712 fi
33713done
33714done
33715
33716 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33717fi
33718fi
33719STRIP=$ac_cv_prog_STRIP
33720if test -n "$STRIP"; then
33721 echo "$as_me:$LINENO: result: $STRIP" >&5
33722echo "${ECHO_T}$STRIP" >&6
33723else
33724 echo "$as_me:$LINENO: result: no" >&5
33725echo "${ECHO_T}no" >&6
33726fi
33727
33728 fi
33729
33730 case ${host} in
33731 *-hp-hpux* )
33732 INSTALL_DIR="mkdir"
33733 ;;
33734 *) INSTALL_DIR="$INSTALL -d"
33735 ;;
33736 esac
33737
33738
33739 fi
33740
33741 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33742echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33743if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33745else
33746
33747 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33748 egrep -s GNU > /dev/null); then
33749 bakefile_cv_prog_makeisgnu="yes"
33750 else
33751 bakefile_cv_prog_makeisgnu="no"
33752 fi
33753
33754fi
33755echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33756echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33757
33758 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33759 IF_GNU_MAKE=""
33760 else
33761 IF_GNU_MAKE="#"
33762 fi
33763
33764
33765
33766 PLATFORM_UNIX=0
33767 PLATFORM_WIN32=0
33768 PLATFORM_MSDOS=0
33769 PLATFORM_MAC=0
33770 PLATFORM_MACOSX=0
33771
33772 case "${host}" in
33773 *-*-cygwin* | *-*-mingw32* )
33774 PLATFORM_WIN32=1
33775 ;;
33776 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33777 PLATFORM_MSDOS=1
33778 ;;
33779 powerpc-*-darwin* )
33780 PLATFORM_MAC=1
33781 PLATFORM_MACOSX=1
33782 ;;
33783 * )
33784 PLATFORM_UNIX=1
33785 ;;
33786 esac
33787
33788
33789
33790
33791
33792
33793
33794
33795 SO_SUFFIX="so"
33796 EXEEXT=""
33797 DLLPREFIX=lib
33798
33799 case "${host}" in
33800 *-hp-hpux* )
33801 SO_SUFFIX="sl"
33802 ;;
33803 *-*-aix* )
33804 SO_SUFFIX="a"
33805 ;;
33806 *-*-cygwin* | *-*-mingw32* )
33807 SO_SUFFIX="dll"
33808 EXEEXT=".exe"
33809 DLLPREFIX=""
33810 ;;
33811 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33812 EXEEXT=".exe"
33813 DLLPREFIX=""
33814 ;;
33815 powerpc-*-darwin* )
33816 SO_SUFFIX="dylib"
33817 ;;
33818 esac
33819
33820
33821
33822
33823
33824
33825 SHARED_LD_CC="\$(CC) -shared -o"
33826 SHARED_LD_CXX="\$(CXX) -shared -o"
33827
33828 if test "x$GCC" = "xyes"; then
33829 PIC_FLAG="-fPIC"
33830 fi
33831
33832 case "${host}" in
33833 *-hp-hpux* )
33834 if test "x$GCC" = "xyes"; then
33835 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33836 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33837 else
33838 LDFLAGS="$LDFLAGS -L/usr/lib"
33839
33840 SHARED_LD_CC="${CC} -b -o"
33841 SHARED_LD_CXX="${CXX} -b -o"
33842 PIC_FLAG="+Z"
33843 fi
33844 ;;
33845
33846 *-*-linux* )
33847 if test "x$GCC" != "xyes"; then
33848 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33849echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33850if test "${bakefile_cv_prog_icc+set}" = set; then
33851 echo $ECHO_N "(cached) $ECHO_C" >&6
33852else
33853
33854 cat >conftest.$ac_ext <<_ACEOF
33855#line $LINENO "configure"
33856/* confdefs.h. */
33857_ACEOF
33858cat confdefs.h >>conftest.$ac_ext
33859cat >>conftest.$ac_ext <<_ACEOF
33860/* end confdefs.h. */
33861
33862int
33863main ()
33864{
33865
33866 #ifndef __INTEL_COMPILER
33867 #error Not icc
33868 #endif
33869
33870 ;
33871 return 0;
33872}
33873_ACEOF
33874rm -f conftest.$ac_objext
33875if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33876 (eval $ac_compile) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } &&
33880 { ac_try='test -s conftest.$ac_objext'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33883 ac_status=$?
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; }; then
33886 bakefile_cv_prog_icc=yes
33887else
33888 echo "$as_me: failed program was:" >&5
33889sed 's/^/| /' conftest.$ac_ext >&5
33890
33891bakefile_cv_prog_icc=no
33892
33893fi
33894rm -f conftest.$ac_objext conftest.$ac_ext
33895
33896fi
33897echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33898echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33899 if test "$bakefile_cv_prog_icc" = "yes"; then
33900 PIC_FLAG="-KPIC"
33901 fi
33902 fi
33903 ;;
33904
33905 *-*-solaris2* )
33906 if test "x$GCC" != xyes ; then
33907 SHARED_LD_CC="${CC} -G -o"
33908 SHARED_LD_CXX="${CXX} -G -o"
33909 PIC_FLAG="-KPIC"
33910 fi
33911 ;;
33912
33913 *-*-darwin* )
33914 CFLAGS="$CFLAGS -fno-common"
33915 CXXFLAGS="$CXXFLAGS -fno-common"
33916
33917
33918 cat <<EOF >shared-ld-sh
33919#!/bin/sh
33920#-----------------------------------------------------------------------------
33921#-- Name: distrib/mac/shared-ld-sh
33922#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33923#-- Author: Gilles Depeyrot
33924#-- Copyright: (c) 2002 Gilles Depeyrot
33925#-- Licence: any use permitted
33926#-----------------------------------------------------------------------------
33927
33928verbose=0
33929args=""
33930objects=""
33931
33932while test \${#} -gt 0; do
33933 case \${1} in
33934
33935 -v)
33936 verbose=1
33937 ;;
33938
33939 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33940 # collect these options and values
33941 args="\${args} \${1} \${2}"
33942 shift
33943 ;;
33944
33945 -l*|-L*|-flat_namespace)
33946 # collect these options
33947 args="\${args} \${1}"
33948 ;;
33949
33950 -dynamiclib)
33951 # skip these options
33952 ;;
33953
33954 -*)
33955 echo "shared-ld: unhandled option '\${1}'"
33956 exit 1
33957 ;;
33958
33959 *.o | *.a)
33960 # collect object files
33961 objects="\${objects} \${1}"
33962 ;;
33963
33964 *)
33965 echo "shared-ld: unhandled argument '\${1}'"
33966 exit 1
33967 ;;
33968
33969 esac
33970 shift
33971done
33972
33973#
33974# Link one module containing all the others
33975#
33976if test \${verbose} = 1; then
33977 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33978fi
33979c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33980status=\$?
33981if test \${status} != 0; then
33982 exit \${status}
33983fi
33984
33985#
33986# Link the shared library from the single module created
33987#
33988if test \${verbose} = 1; then
33989 echo "cc -dynamiclib master.\$\$.o \${args}"
33990fi
33991c++ -dynamiclib master.\$\$.o \${args}
33992status=\$?
33993if test \${status} != 0; then
33994 exit \${status}
33995fi
33996
33997#
33998# Remove intermediate module
33999#
34000rm -f master.\$\$.o
34001
34002exit 0
34003EOF
34004 chmod +x shared-ld-sh
34005
34006 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34007 SHARED_LD_CXX="$SHARED_LD_CC"
34008 PIC_FLAG="-dynamic -fPIC"
34009 ;;
34010
34011 *-*-aix* )
34012 if test "x$GCC" != "xyes"; then
34013 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34014set dummy makeC++SharedLib; ac_word=$2
34015echo "$as_me:$LINENO: checking for $ac_word" >&5
34016echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34017if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34018 echo $ECHO_N "(cached) $ECHO_C" >&6
34019else
34020 if test -n "$AIX_CXX_LD"; then
34021 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34022else
34023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34024for as_dir in $PATH
34025do
34026 IFS=$as_save_IFS
34027 test -z "$as_dir" && as_dir=.
34028 for ac_exec_ext in '' $ac_executable_extensions; do
34029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34030 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34032 break 2
34033 fi
34034done
34035done
34036
34037 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34038fi
34039fi
34040AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34041if test -n "$AIX_CXX_LD"; then
34042 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34043echo "${ECHO_T}$AIX_CXX_LD" >&6
34044else
34045 echo "$as_me:$LINENO: result: no" >&5
34046echo "${ECHO_T}no" >&6
34047fi
34048
34049 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34050 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34051 fi
34052 ;;
34053
34054 *-*-beos* )
34055 SHARED_LD_CC="${LD} -shared -o"
34056 SHARED_LD_CXX="${LD} -shared -o"
34057 ;;
34058
34059 *-*-irix* )
34060 if test "x$GCC" != "xyes"; then
34061 PIC_FLAG="-KPIC"
34062 fi
34063 ;;
34064
34065 *-*-cygwin* | *-*-mingw32* )
34066 PIC_FLAG=""
34067 ;;
34068
34069 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34070 *-*-sunos4* | \
34071 *-*-osf* | \
34072 *-*-dgux5* | \
34073 *-*-sysv5* )
34074 ;;
34075
34076 *)
34077 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34078echo "$as_me: error: unknown system type $host." >&2;}
34079 { (exit 1); exit 1; }; }
34080 esac
34081
34082
34083
34084
34085
34086
34087 USE_SOVERSION=0
34088 USE_SOVERLINUX=0
34089 USE_SOVERSOLARIS=0
34090 USE_SOSYMLINKS=0
34091 USE_MACVERSION=0
34092 SONAME_FLAG=
34093
34094 case "${host}" in
34095 *-*-linux* )
34096 SONAME_FLAG="-Wl,-soname,"
34097 USE_SOVERSION=1
34098 USE_SOVERLINUX=1
34099 USE_SOSYMLINKS=1
34100 ;;
34101
34102 *-*-solaris2* )
34103 SONAME_FLAG="-h "
34104 USE_SOVERSION=1
34105 USE_SOVERSOLARIS=1
34106 USE_SOSYMLINKS=1
34107 ;;
34108
34109 *-*-darwin* )
34110 USE_MACVERSION=1
34111 USE_SOVERSION=1
34112 USE_SOSYMLINKS=1
34113 ;;
34114 esac
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34125echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34126 DEPS_TRACKING=0
34127
34128 if test "x$GCC" = "xyes"; then
34129 DEPSMODE=gcc
34130 DEPS_TRACKING=1
34131 echo "$as_me:$LINENO: result: gcc" >&5
34132echo "${ECHO_T}gcc" >&6
34133 else
34134 echo "$as_me:$LINENO: result: none" >&5
34135echo "${ECHO_T}none" >&6
34136 fi
34137
34138 if test $DEPS_TRACKING = 1 ; then
34139 cat <<EOF >bk-deps
34140#!/bin/sh
34141
34142# This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34143# It is used to track C/C++ files dependencies in portable way.
34144#
34145# Permission is given to use this file in any way.
34146
34147DEPSMODE=$DEPSMODE
34148DEPSDIR=.deps
34149
34150mkdir -p \$DEPSDIR
34151
34152if test \$DEPSMODE = gcc ; then
34153 \${*} -MMD
34154 status=\${?}
34155 if test \${status} != 0 ; then
34156 exit \${status}
34157 fi
34158 # move created file to the location we want it in:
34159 while test \${#} -gt 0; do
34160 case "\${1}" in
34161 -o )
34162 shift
34163 objfile=\${1}
34164 ;;
34165 -* )
34166 ;;
34167 * )
34168 srcfile=\${1}
34169 ;;
34170 esac
34171 shift
34172 done
34173 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34174 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34175 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34176 rm -f \$depfile
34177 exit 0
34178else
34179 \${*}
34180 exit \${?}
34181fi
34182EOF
34183 chmod +x bk-deps
34184 fi
34185
34186
34187
34188
34189 RESCOMP=
34190 SETFILE=
34191
34192 case ${host} in
34193 *-*-cygwin* | *-*-mingw32* )
34194 if test "$build" != "$host" ; then
34195 RESCOMP=$host_alias-windres
34196 else
34197 # Extract the first word of "windres", so it can be a program name with args.
34198set dummy windres; ac_word=$2
34199echo "$as_me:$LINENO: checking for $ac_word" >&5
34200echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34201if test "${ac_cv_prog_RESCOMP+set}" = set; then
34202 echo $ECHO_N "(cached) $ECHO_C" >&6
34203else
34204 if test -n "$RESCOMP"; then
34205 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34206else
34207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34208for as_dir in $PATH
34209do
34210 IFS=$as_save_IFS
34211 test -z "$as_dir" && as_dir=.
34212 for ac_exec_ext in '' $ac_executable_extensions; do
34213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34214 ac_cv_prog_RESCOMP="windres"
34215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34216 break 2
34217 fi
34218done
34219done
34220
34221 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34222fi
34223fi
34224RESCOMP=$ac_cv_prog_RESCOMP
34225if test -n "$RESCOMP"; then
34226 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34227echo "${ECHO_T}$RESCOMP" >&6
34228else
34229 echo "$as_me:$LINENO: result: no" >&5
34230echo "${ECHO_T}no" >&6
34231fi
34232
34233 fi
34234 ;;
34235
34236 *-*-darwin* )
34237 # Extract the first word of "Rez", so it can be a program name with args.
34238set dummy Rez; ac_word=$2
34239echo "$as_me:$LINENO: checking for $ac_word" >&5
34240echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34241if test "${ac_cv_prog_RESCOMP+set}" = set; then
34242 echo $ECHO_N "(cached) $ECHO_C" >&6
34243else
34244 if test -n "$RESCOMP"; then
34245 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34246else
34247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34248for as_dir in $PATH
34249do
34250 IFS=$as_save_IFS
34251 test -z "$as_dir" && as_dir=.
34252 for ac_exec_ext in '' $ac_executable_extensions; do
34253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34254 ac_cv_prog_RESCOMP="Rez"
34255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34256 break 2
34257 fi
34258done
34259done
34260
34261 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34262fi
34263fi
34264RESCOMP=$ac_cv_prog_RESCOMP
34265if test -n "$RESCOMP"; then
34266 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34267echo "${ECHO_T}$RESCOMP" >&6
34268else
34269 echo "$as_me:$LINENO: result: no" >&5
34270echo "${ECHO_T}no" >&6
34271fi
34272
34273 # Extract the first word of "SetFile", so it can be a program name with args.
34274set dummy SetFile; ac_word=$2
34275echo "$as_me:$LINENO: checking for $ac_word" >&5
34276echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34277if test "${ac_cv_prog_SETFILE+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34279else
34280 if test -n "$SETFILE"; then
34281 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34282else
34283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34284for as_dir in $PATH
34285do
34286 IFS=$as_save_IFS
34287 test -z "$as_dir" && as_dir=.
34288 for ac_exec_ext in '' $ac_executable_extensions; do
34289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34290 ac_cv_prog_SETFILE="SetFile"
34291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34292 break 2
34293 fi
34294done
34295done
34296
34297 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34298fi
34299fi
34300SETFILE=$ac_cv_prog_SETFILE
34301if test -n "$SETFILE"; then
34302 echo "$as_me:$LINENO: result: $SETFILE" >&5
34303echo "${ECHO_T}$SETFILE" >&6
34304else
34305 echo "$as_me:$LINENO: result: no" >&5
34306echo "${ECHO_T}no" >&6
34307fi
34308
34309 ;;
34310 esac
34311
34312
34313
34314
34315
34316
34317
34318 COND_SHARED_1_MONOLITHIC_0="#"
34319 if test "x$SHARED" = "x1" -a \
34320 "x$MONOLITHIC" = "x0" ; then
34321 COND_SHARED_1_MONOLITHIC_0=
34322 fi
34323
34324 COND_WXUSE_LIBPNG_BUILTIN="#"
34325 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34326 COND_WXUSE_LIBPNG_BUILTIN=
34327 fi
34328
34329 COND_WXUSE_ZLIB_BUILTIN="#"
34330 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34331 COND_WXUSE_ZLIB_BUILTIN=
34332 fi
34333
34334 COND_USE_SOSYMLINKS_1="#"
34335 if test "x$USE_SOSYMLINKS" = "x1" ; then
34336 COND_USE_SOSYMLINKS_1=
34337 fi
34338
34339 COND_USE_GUI_1="#"
34340 if test "x$USE_GUI" = "x1" ; then
34341 COND_USE_GUI_1=
34342 fi
34343
34344 COND_WXUSE_ODBC_BUILTIN="#"
34345 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34346 COND_WXUSE_ODBC_BUILTIN=
34347 fi
34348
34349 COND_TOOLKIT_X11="#"
34350 if test "x$TOOLKIT" = "xX11" ; then
34351 COND_TOOLKIT_X11=
34352 fi
34353
34354 COND_TOOLKIT_MGL="#"
34355 if test "x$TOOLKIT" = "xMGL" ; then
34356 COND_TOOLKIT_MGL=
34357 fi
34358
34359 COND_TOOLKIT_GTK="#"
34360 if test "x$TOOLKIT" = "xGTK" ; then
34361 COND_TOOLKIT_GTK=
34362 fi
34363
34364 COND_TOOLKIT_MSW="#"
34365 if test "x$TOOLKIT" = "xMSW" ; then
34366 COND_TOOLKIT_MSW=
34367 fi
34368
34369 COND_TOOLKIT_MAC="#"
34370 if test "x$TOOLKIT" = "xMAC" ; then
34371 COND_TOOLKIT_MAC=
34372 fi
34373
34374 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0="#"
34375 if test "x$USE_SOVERSION" = "x1" -a \
34376 "x$PLATFORM_MACOSX" = "x0" ; then
34377 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0=
34378 fi
34379
34380 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1="#"
34381 if test "x$USE_SOVERSION" = "x1" -a \
34382 "x$PLATFORM_MACOSX" = "x1" ; then
34383 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1=
34384 fi
34385
34386 COND_PLATFORM_WIN32_1="#"
34387 if test "x$PLATFORM_WIN32" = "x1" ; then
34388 COND_PLATFORM_WIN32_1=
34389 fi
34390
34391 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0="#"
34392 if test "x$SHARED" = "x0" -a \
34393 "x$USE_GUI" = "x1" -a \
34394 "x$MONOLITHIC" = "x0" ; then
34395 COND_SHARED_0_USE_GUI_1_MONOLITHIC_0=
34396 fi
34397
34398 COND_PLATFORM_UNIX_1="#"
34399 if test "x$PLATFORM_UNIX" = "x1" ; then
34400 COND_PLATFORM_UNIX_1=
34401 fi
34402
34403 COND_PLATFORM_MACOSX_1="#"
34404 if test "x$PLATFORM_MACOSX" = "x1" ; then
34405 COND_PLATFORM_MACOSX_1=
34406 fi
34407
34408 COND_WXUSE_LIBTIFF_BUILTIN="#"
34409 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34410 COND_WXUSE_LIBTIFF_BUILTIN=
34411 fi
34412
34413 COND_SHARED_1_USE_GUI_1_MONOLITHIC_0="#"
34414 if test "x$SHARED" = "x1" -a \
34415 "x$USE_GUI" = "x1" -a \
34416 "x$MONOLITHIC" = "x0" ; then
34417 COND_SHARED_1_USE_GUI_1_MONOLITHIC_0=
34418 fi
34419
34420 COND_MONOLITHIC_0="#"
34421 if test "x$MONOLITHIC" = "x0" ; then
34422 COND_MONOLITHIC_0=
34423 fi
34424
34425 COND_WXUSE_REGEX_BUILTIN="#"
34426 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34427 COND_WXUSE_REGEX_BUILTIN=
34428 fi
34429
34430 COND_TOOLKIT_MOTIF="#"
34431 if test "x$TOOLKIT" = "xMOTIF" ; then
34432 COND_TOOLKIT_MOTIF=
34433 fi
34434
34435 COND_TOOLKIT_COCOA="#"
34436 if test "x$TOOLKIT" = "xCOCOA" ; then
34437 COND_TOOLKIT_COCOA=
34438 fi
34439
34440 COND_TOOLKIT_OS2="#"
34441 if test "x$TOOLKIT" = "xOS2" ; then
34442 COND_TOOLKIT_OS2=
34443 fi
34444
34445 COND_WXUNIV_1="#"
34446 if test "x$WXUNIV" = "x1" ; then
34447 COND_WXUNIV_1=
34448 fi
34449
34450 COND_WXUSE_LIBJPEG_BUILTIN="#"
34451 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34452 COND_WXUSE_LIBJPEG_BUILTIN=
34453 fi
34454
34455 COND_USE_GUI_0="#"
34456 if test "x$USE_GUI" = "x0" ; then
34457 COND_USE_GUI_0=
34458 fi
34459
34460 COND_SHARED_1_MONOLITHIC_1="#"
34461 if test "x$SHARED" = "x1" -a \
34462 "x$MONOLITHIC" = "x1" ; then
34463 COND_SHARED_1_MONOLITHIC_1=
34464 fi
34465
34466 COND_SHARED_0_MONOLITHIC_1="#"
34467 if test "x$SHARED" = "x0" -a \
34468 "x$MONOLITHIC" = "x1" ; then
34469 COND_SHARED_0_MONOLITHIC_1=
34470 fi
34471
34472 COND_USE_SOVERLINUX_1="#"
34473 if test "x$USE_SOVERLINUX" = "x1" ; then
34474 COND_USE_SOVERLINUX_1=
34475 fi
34476
34477 COND_USE_SOVERSOLARIS_1="#"
34478 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34479 COND_USE_SOVERSOLARIS_1=
34480 fi
34481
34482 COND_USE_GUI_1_WXUNIV_0="#"
34483 if test "x$USE_GUI" = "x1" -a \
34484 "x$WXUNIV" = "x0" ; then
34485 COND_USE_GUI_1_WXUNIV_0=
34486 fi
34487
34488 COND_USE_GUI_1_WXUNIV_1="#"
34489 if test "x$USE_GUI" = "x1" -a \
34490 "x$WXUNIV" = "x1" ; then
34491 COND_USE_GUI_1_WXUNIV_1=
34492 fi
34493
34494 COND_UNICODE_1="#"
34495 if test "x$UNICODE" = "x1" ; then
34496 COND_UNICODE_1=
34497 fi
34498
34499 COND_PLATFORM_WIN32_0="#"
34500 if test "x$PLATFORM_WIN32" = "x0" ; then
34501 COND_PLATFORM_WIN32_0=
34502 fi
34503
34504 COND_MONOLITHIC_1="#"
34505 if test "x$MONOLITHIC" = "x1" ; then
34506 COND_MONOLITHIC_1=
34507 fi
34508
34509 COND_SHARED_0_MONOLITHIC_0="#"
34510 if test "x$SHARED" = "x0" -a \
34511 "x$MONOLITHIC" = "x0" ; then
34512 COND_SHARED_0_MONOLITHIC_0=
34513 fi
34514
34515 COND_BUILD_DEBUG="#"
34516 if test "x$BUILD" = "xdebug" ; then
34517 COND_BUILD_DEBUG=
34518 fi
34519
34520 COND_DEPS_TYPE_GCC="#"
34521 if test "x$DEPS_TYPE" = "xgcc" ; then
34522 COND_DEPS_TYPE_GCC=
34523 fi
34524
34525 COND_PLATFORM_MAC_1="#"
34526 if test "x$PLATFORM_MAC" = "x1" ; then
34527 COND_PLATFORM_MAC_1=
34528 fi
34529
34530 COND_SHARED_1="#"
34531 if test "x$SHARED" = "x1" ; then
34532 COND_SHARED_1=
34533 fi
34534
34535 COND_SHARED_0="#"
34536 if test "x$SHARED" = "x0" ; then
34537 COND_SHARED_0=
34538 fi
34539
34540 COND_DEPS_TRACKING_1="#"
34541 if test "x$DEPS_TRACKING" = "x1" ; then
34542 COND_DEPS_TRACKING_1=
34543 fi
34544
34545 COND_DEPS_TRACKING_0="#"
34546 if test "x$DEPS_TRACKING" = "x0" ; then
34547 COND_DEPS_TRACKING_0=
34548 fi
34549
34550
34551
34552
34553if test "$GXX" = yes ; then
34554 CXXWARNINGS="-Wall"
34555 fi
34556
34557EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34558
34559CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34560CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34561CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34562LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34563
34564LDFLAGS="$LDFLAGS $PROFILE"
34565
34566SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34668echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34669set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34670if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34671 echo $ECHO_N "(cached) $ECHO_C" >&6
34672else
34673 cat >conftest.make <<\_ACEOF
34674all:
34675 @echo 'ac_maketemp="$(MAKE)"'
34676_ACEOF
34677# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34678eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34679if test -n "$ac_maketemp"; then
34680 eval ac_cv_prog_make_${ac_make}_set=yes
34681else
34682 eval ac_cv_prog_make_${ac_make}_set=no
34683fi
34684rm -f conftest.make
34685fi
34686if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34687 echo "$as_me:$LINENO: result: yes" >&5
34688echo "${ECHO_T}yes" >&6
34689 SET_MAKE=
34690else
34691 echo "$as_me:$LINENO: result: no" >&5
34692echo "${ECHO_T}no" >&6
34693 SET_MAKE="MAKE=${MAKE-make}"
34694fi
34695
34696
34697if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34698 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34699fi
34700
34701 ac_config_headers="$ac_config_headers setup.h"
34702
34703
34704 ac_config_files="$ac_config_files wx-config version-script Makefile"
34705
34706
34707 ac_config_commands="$ac_config_commands default"
34708
34709
34710
34711for subdir in samples demos utils contrib ; do
34712 if test -d ${srcdir}/${subdir} ; then
34713 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34714 for mkin in $makefiles ; do
34715 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34716 ac_config_files="$ac_config_files $mk"
34717
34718 done
34719 fi
34720done
34721
34722
34723cat >confcache <<\_ACEOF
34724# This file is a shell script that caches the results of configure
34725# tests run on this system so they can be shared between configure
34726# scripts and configure runs, see configure's option --config-cache.
34727# It is not useful on other systems. If it contains results you don't
34728# want to keep, you may remove or edit it.
34729#
34730# config.status only pays attention to the cache file if you give it
34731# the --recheck option to rerun configure.
34732#
34733# `ac_cv_env_foo' variables (set or unset) will be overridden when
34734# loading this file, other *unset* `ac_cv_foo' will be assigned the
34735# following values.
34736
34737_ACEOF
34738
34739# The following way of writing the cache mishandles newlines in values,
34740# but we know of no workaround that is simple, portable, and efficient.
34741# So, don't put newlines in cache variables' values.
34742# Ultrix sh set writes to stderr and can't be redirected directly,
34743# and sets the high bit in the cache file unless we assign to the vars.
34744{
34745 (set) 2>&1 |
34746 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34747 *ac_space=\ *)
34748 # `set' does not quote correctly, so add quotes (double-quote
34749 # substitution turns \\\\ into \\, and sed turns \\ into \).
34750 sed -n \
34751 "s/'/'\\\\''/g;
34752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34753 ;;
34754 *)
34755 # `set' quotes correctly as required by POSIX, so do not add quotes.
34756 sed -n \
34757 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34758 ;;
34759 esac;
34760} |
34761 sed '
34762 t clear
34763 : clear
34764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34765 t end
34766 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34767 : end' >>confcache
34768if diff $cache_file confcache >/dev/null 2>&1; then :; else
34769 if test -w $cache_file; then
34770 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34771 cat confcache >$cache_file
34772 else
34773 echo "not updating unwritable cache $cache_file"
34774 fi
34775fi
34776rm -f confcache
34777
34778test "x$prefix" = xNONE && prefix=$ac_default_prefix
34779# Let make expand exec_prefix.
34780test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34781
34782# VPATH may cause trouble with some makes, so we remove $(srcdir),
34783# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34784# trailing colons and then remove the whole line if VPATH becomes empty
34785# (actually we leave an empty line to preserve line numbers).
34786if test "x$srcdir" = x.; then
34787 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34788s/:*\$(srcdir):*/:/;
34789s/:*\${srcdir}:*/:/;
34790s/:*@srcdir@:*/:/;
34791s/^\([^=]*=[ ]*\):*/\1/;
34792s/:*$//;
34793s/^[^=]*=[ ]*$//;
34794}'
34795fi
34796
34797DEFS=-DHAVE_CONFIG_H
34798
34799ac_libobjs=
34800ac_ltlibobjs=
34801for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34802 # 1. Remove the extension, and $U if already installed.
34803 ac_i=`echo "$ac_i" |
34804 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34805 # 2. Add them.
34806 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34807 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34808done
34809LIBOBJS=$ac_libobjs
34810
34811LTLIBOBJS=$ac_ltlibobjs
34812
34813
34814
34815: ${CONFIG_STATUS=./config.status}
34816ac_clean_files_save=$ac_clean_files
34817ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34818{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34819echo "$as_me: creating $CONFIG_STATUS" >&6;}
34820cat >$CONFIG_STATUS <<_ACEOF
34821#! $SHELL
34822# Generated by $as_me.
34823# Run this file to recreate the current configuration.
34824# Compiler output produced by configure, useful for debugging
34825# configure, is in config.log if it exists.
34826
34827debug=false
34828ac_cs_recheck=false
34829ac_cs_silent=false
34830SHELL=\${CONFIG_SHELL-$SHELL}
34831_ACEOF
34832
34833cat >>$CONFIG_STATUS <<\_ACEOF
34834## --------------------- ##
34835## M4sh Initialization. ##
34836## --------------------- ##
34837
34838# Be Bourne compatible
34839if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34840 emulate sh
34841 NULLCMD=:
34842 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34843 # is contrary to our usage. Disable this feature.
34844 alias -g '${1+"$@"}'='"$@"'
34845elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34846 set -o posix
34847fi
34848
34849# Support unset when possible.
34850if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34851 as_unset=unset
34852else
34853 as_unset=false
34854fi
34855
34856
34857# Work around bugs in pre-3.0 UWIN ksh.
34858$as_unset ENV MAIL MAILPATH
34859PS1='$ '
34860PS2='> '
34861PS4='+ '
34862
34863# NLS nuisances.
34864for as_var in \
34865 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34866 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34867 LC_TELEPHONE LC_TIME
34868do
34869 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34870 eval $as_var=C; export $as_var
34871 else
34872 $as_unset $as_var
34873 fi
34874done
34875
34876# Required to use basename.
34877if expr a : '\(a\)' >/dev/null 2>&1; then
34878 as_expr=expr
34879else
34880 as_expr=false
34881fi
34882
34883if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34884 as_basename=basename
34885else
34886 as_basename=false
34887fi
34888
34889
34890# Name of the executable.
34891as_me=`$as_basename "$0" ||
34892$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34893 X"$0" : 'X\(//\)$' \| \
34894 X"$0" : 'X\(/\)$' \| \
34895 . : '\(.\)' 2>/dev/null ||
34896echo X/"$0" |
34897 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34898 /^X\/\(\/\/\)$/{ s//\1/; q; }
34899 /^X\/\(\/\).*/{ s//\1/; q; }
34900 s/.*/./; q'`
34901
34902
34903# PATH needs CR, and LINENO needs CR and PATH.
34904# Avoid depending upon Character Ranges.
34905as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34906as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34907as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34908as_cr_digits='0123456789'
34909as_cr_alnum=$as_cr_Letters$as_cr_digits
34910
34911# The user is always right.
34912if test "${PATH_SEPARATOR+set}" != set; then
34913 echo "#! /bin/sh" >conf$$.sh
34914 echo "exit 0" >>conf$$.sh
34915 chmod +x conf$$.sh
34916 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34917 PATH_SEPARATOR=';'
34918 else
34919 PATH_SEPARATOR=:
34920 fi
34921 rm -f conf$$.sh
34922fi
34923
34924
34925 as_lineno_1=$LINENO
34926 as_lineno_2=$LINENO
34927 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34928 test "x$as_lineno_1" != "x$as_lineno_2" &&
34929 test "x$as_lineno_3" = "x$as_lineno_2" || {
34930 # Find who we are. Look in the path if we contain no path at all
34931 # relative or not.
34932 case $0 in
34933 *[\\/]* ) as_myself=$0 ;;
34934 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34935for as_dir in $PATH
34936do
34937 IFS=$as_save_IFS
34938 test -z "$as_dir" && as_dir=.
34939 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34940done
34941
34942 ;;
34943 esac
34944 # We did not find ourselves, most probably we were run as `sh COMMAND'
34945 # in which case we are not to be found in the path.
34946 if test "x$as_myself" = x; then
34947 as_myself=$0
34948 fi
34949 if test ! -f "$as_myself"; then
34950 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34951echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34952 { (exit 1); exit 1; }; }
34953 fi
34954 case $CONFIG_SHELL in
34955 '')
34956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34957for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34958do
34959 IFS=$as_save_IFS
34960 test -z "$as_dir" && as_dir=.
34961 for as_base in sh bash ksh sh5; do
34962 case $as_dir in
34963 /*)
34964 if ("$as_dir/$as_base" -c '
34965 as_lineno_1=$LINENO
34966 as_lineno_2=$LINENO
34967 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34968 test "x$as_lineno_1" != "x$as_lineno_2" &&
34969 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34970 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34971 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34972 CONFIG_SHELL=$as_dir/$as_base
34973 export CONFIG_SHELL
34974 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34975 fi;;
34976 esac
34977 done
34978done
34979;;
34980 esac
34981
34982 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34983 # uniformly replaced by the line number. The first 'sed' inserts a
34984 # line-number line before each line; the second 'sed' does the real
34985 # work. The second script uses 'N' to pair each line-number line
34986 # with the numbered line, and appends trailing '-' during
34987 # substitution so that $LINENO is not a special case at line end.
34988 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34989 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34990 sed '=' <$as_myself |
34991 sed '
34992 N
34993 s,$,-,
34994 : loop
34995 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34996 t loop
34997 s,-$,,
34998 s,^['$as_cr_digits']*\n,,
34999 ' >$as_me.lineno &&
35000 chmod +x $as_me.lineno ||
35001 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35002echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35003 { (exit 1); exit 1; }; }
35004
35005 # Don't try to exec as it changes $[0], causing all sort of problems
35006 # (the dirname of $[0] is not the place where we might find the
35007 # original and so on. Autoconf is especially sensible to this).
35008 . ./$as_me.lineno
35009 # Exit status is that of the last command.
35010 exit
35011}
35012
35013
35014case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35015 *c*,-n*) ECHO_N= ECHO_C='
35016' ECHO_T=' ' ;;
35017 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35018 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35019esac
35020
35021if expr a : '\(a\)' >/dev/null 2>&1; then
35022 as_expr=expr
35023else
35024 as_expr=false
35025fi
35026
35027rm -f conf$$ conf$$.exe conf$$.file
35028echo >conf$$.file
35029if ln -s conf$$.file conf$$ 2>/dev/null; then
35030 # We could just check for DJGPP; but this test a) works b) is more generic
35031 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35032 if test -f conf$$.exe; then
35033 # Don't use ln at all; we don't have any links
35034 as_ln_s='cp -p'
35035 else
35036 as_ln_s='ln -s'
35037 fi
35038elif ln conf$$.file conf$$ 2>/dev/null; then
35039 as_ln_s=ln
35040else
35041 as_ln_s='cp -p'
35042fi
35043rm -f conf$$ conf$$.exe conf$$.file
35044
35045if mkdir -p . 2>/dev/null; then
35046 as_mkdir_p=:
35047else
35048 as_mkdir_p=false
35049fi
35050
35051as_executable_p="test -f"
35052
35053# Sed expression to map a string onto a valid CPP name.
35054as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35055
35056# Sed expression to map a string onto a valid variable name.
35057as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35058
35059
35060# IFS
35061# We need space, tab and new line, in precisely that order.
35062as_nl='
35063'
35064IFS=" $as_nl"
35065
35066# CDPATH.
35067$as_unset CDPATH
35068
35069exec 6>&1
35070
35071# Open the log real soon, to keep \$[0] and so on meaningful, and to
35072# report actual input values of CONFIG_FILES etc. instead of their
35073# values after options handling. Logging --version etc. is OK.
35074exec 5>>config.log
35075{
35076 echo
35077 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35078## Running $as_me. ##
35079_ASBOX
35080} >&5
35081cat >&5 <<_CSEOF
35082
35083This file was extended by wxWindows $as_me 2.5.0, which was
35084generated by GNU Autoconf 2.57. Invocation command line was
35085
35086 CONFIG_FILES = $CONFIG_FILES
35087 CONFIG_HEADERS = $CONFIG_HEADERS
35088 CONFIG_LINKS = $CONFIG_LINKS
35089 CONFIG_COMMANDS = $CONFIG_COMMANDS
35090 $ $0 $@
35091
35092_CSEOF
35093echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35094echo >&5
35095_ACEOF
35096
35097# Files that config.status was made for.
35098if test -n "$ac_config_files"; then
35099 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35100fi
35101
35102if test -n "$ac_config_headers"; then
35103 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35104fi
35105
35106if test -n "$ac_config_links"; then
35107 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35108fi
35109
35110if test -n "$ac_config_commands"; then
35111 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35112fi
35113
35114cat >>$CONFIG_STATUS <<\_ACEOF
35115
35116ac_cs_usage="\
35117\`$as_me' instantiates files from templates according to the
35118current configuration.
35119
35120Usage: $0 [OPTIONS] [FILE]...
35121
35122 -h, --help print this help, then exit
35123 -V, --version print version number, then exit
35124 -q, --quiet do not print progress messages
35125 -d, --debug don't remove temporary files
35126 --recheck update $as_me by reconfiguring in the same conditions
35127 --file=FILE[:TEMPLATE]
35128 instantiate the configuration file FILE
35129 --header=FILE[:TEMPLATE]
35130 instantiate the configuration header FILE
35131
35132Configuration files:
35133$config_files
35134
35135Configuration headers:
35136$config_headers
35137
35138Configuration commands:
35139$config_commands
35140
35141Report bugs to <bug-autoconf@gnu.org>."
35142_ACEOF
35143
35144cat >>$CONFIG_STATUS <<_ACEOF
35145ac_cs_version="\\
35146wxWindows config.status 2.5.0
35147configured by $0, generated by GNU Autoconf 2.57,
35148 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35149
35150Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35151Free Software Foundation, Inc.
35152This config.status script is free software; the Free Software Foundation
35153gives unlimited permission to copy, distribute and modify it."
35154srcdir=$srcdir
35155INSTALL="$INSTALL"
35156_ACEOF
35157
35158cat >>$CONFIG_STATUS <<\_ACEOF
35159# If no file are specified by the user, then we need to provide default
35160# value. By we need to know if files were specified by the user.
35161ac_need_defaults=:
35162while test $# != 0
35163do
35164 case $1 in
35165 --*=*)
35166 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35167 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35168 ac_shift=:
35169 ;;
35170 -*)
35171 ac_option=$1
35172 ac_optarg=$2
35173 ac_shift=shift
35174 ;;
35175 *) # This is not an option, so the user has probably given explicit
35176 # arguments.
35177 ac_option=$1
35178 ac_need_defaults=false;;
35179 esac
35180
35181 case $ac_option in
35182 # Handling of the options.
35183_ACEOF
35184cat >>$CONFIG_STATUS <<\_ACEOF
35185 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35186 ac_cs_recheck=: ;;
35187 --version | --vers* | -V )
35188 echo "$ac_cs_version"; exit 0 ;;
35189 --he | --h)
35190 # Conflict between --help and --header
35191 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35192Try \`$0 --help' for more information." >&5
35193echo "$as_me: error: ambiguous option: $1
35194Try \`$0 --help' for more information." >&2;}
35195 { (exit 1); exit 1; }; };;
35196 --help | --hel | -h )
35197 echo "$ac_cs_usage"; exit 0 ;;
35198 --debug | --d* | -d )
35199 debug=: ;;
35200 --file | --fil | --fi | --f )
35201 $ac_shift
35202 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35203 ac_need_defaults=false;;
35204 --header | --heade | --head | --hea )
35205 $ac_shift
35206 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35207 ac_need_defaults=false;;
35208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35209 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35210 ac_cs_silent=: ;;
35211
35212 # This is an error.
35213 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35214Try \`$0 --help' for more information." >&5
35215echo "$as_me: error: unrecognized option: $1
35216Try \`$0 --help' for more information." >&2;}
35217 { (exit 1); exit 1; }; } ;;
35218
35219 *) ac_config_targets="$ac_config_targets $1" ;;
35220
35221 esac
35222 shift
35223done
35224
35225ac_configure_extra_args=
35226
35227if $ac_cs_silent; then
35228 exec 6>/dev/null
35229 ac_configure_extra_args="$ac_configure_extra_args --silent"
35230fi
35231
35232_ACEOF
35233cat >>$CONFIG_STATUS <<_ACEOF
35234if \$ac_cs_recheck; then
35235 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35236 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35237fi
35238
35239_ACEOF
35240
35241cat >>$CONFIG_STATUS <<_ACEOF
35242#
35243# INIT-COMMANDS section.
35244#
35245
35246
35247 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35248 LN_S="${LN_S}"
35249
35250
35251
35252_ACEOF
35253
35254
35255
35256cat >>$CONFIG_STATUS <<\_ACEOF
35257for ac_config_target in $ac_config_targets
35258do
35259 case "$ac_config_target" in
35260 # Handling of arguments.
35261 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35262 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35263 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35264 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35265 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35266 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35267 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35268echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35269 { (exit 1); exit 1; }; };;
35270 esac
35271done
35272
35273# If the user did not use the arguments to specify the items to instantiate,
35274# then the envvar interface is used. Set only those that are not.
35275# We use the long form for the default assignment because of an extremely
35276# bizarre bug on SunOS 4.1.3.
35277if $ac_need_defaults; then
35278 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35279 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35280 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35281fi
35282
35283# Have a temporary directory for convenience. Make it in the build tree
35284# simply because there is no reason to put it here, and in addition,
35285# creating and moving files from /tmp can sometimes cause problems.
35286# Create a temporary directory, and hook for its removal unless debugging.
35287$debug ||
35288{
35289 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35290 trap '{ (exit 1); exit 1; }' 1 2 13 15
35291}
35292
35293# Create a (secure) tmp directory for tmp files.
35294
35295{
35296 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35297 test -n "$tmp" && test -d "$tmp"
35298} ||
35299{
35300 tmp=./confstat$$-$RANDOM
35301 (umask 077 && mkdir $tmp)
35302} ||
35303{
35304 echo "$me: cannot create a temporary directory in ." >&2
35305 { (exit 1); exit 1; }
35306}
35307
35308_ACEOF
35309
35310cat >>$CONFIG_STATUS <<_ACEOF
35311
35312#
35313# CONFIG_FILES section.
35314#
35315
35316# No need to generate the scripts if there are no CONFIG_FILES.
35317# This happens for instance when ./config.status config.h
35318if test -n "\$CONFIG_FILES"; then
35319 # Protect against being on the right side of a sed subst in config.status.
35320 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35321 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35322s,@SHELL@,$SHELL,;t t
35323s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35324s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35325s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35326s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35327s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35328s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35329s,@exec_prefix@,$exec_prefix,;t t
35330s,@prefix@,$prefix,;t t
35331s,@program_transform_name@,$program_transform_name,;t t
35332s,@bindir@,$bindir,;t t
35333s,@sbindir@,$sbindir,;t t
35334s,@libexecdir@,$libexecdir,;t t
35335s,@datadir@,$datadir,;t t
35336s,@sysconfdir@,$sysconfdir,;t t
35337s,@sharedstatedir@,$sharedstatedir,;t t
35338s,@localstatedir@,$localstatedir,;t t
35339s,@libdir@,$libdir,;t t
35340s,@includedir@,$includedir,;t t
35341s,@oldincludedir@,$oldincludedir,;t t
35342s,@infodir@,$infodir,;t t
35343s,@mandir@,$mandir,;t t
35344s,@build_alias@,$build_alias,;t t
35345s,@host_alias@,$host_alias,;t t
35346s,@target_alias@,$target_alias,;t t
35347s,@DEFS@,$DEFS,;t t
35348s,@ECHO_C@,$ECHO_C,;t t
35349s,@ECHO_N@,$ECHO_N,;t t
35350s,@ECHO_T@,$ECHO_T,;t t
35351s,@LIBS@,$LIBS,;t t
35352s,@build@,$build,;t t
35353s,@build_cpu@,$build_cpu,;t t
35354s,@build_vendor@,$build_vendor,;t t
35355s,@build_os@,$build_os,;t t
35356s,@host@,$host,;t t
35357s,@host_cpu@,$host_cpu,;t t
35358s,@host_vendor@,$host_vendor,;t t
35359s,@host_os@,$host_os,;t t
35360s,@target@,$target,;t t
35361s,@target_cpu@,$target_cpu,;t t
35362s,@target_vendor@,$target_vendor,;t t
35363s,@target_os@,$target_os,;t t
35364s,@CC@,$CC,;t t
35365s,@CFLAGS@,$CFLAGS,;t t
35366s,@LDFLAGS@,$LDFLAGS,;t t
35367s,@CPPFLAGS@,$CPPFLAGS,;t t
35368s,@ac_ct_CC@,$ac_ct_CC,;t t
35369s,@EXEEXT@,$EXEEXT,;t t
35370s,@OBJEXT@,$OBJEXT,;t t
35371s,@CPP@,$CPP,;t t
35372s,@EGREP@,$EGREP,;t t
35373s,@CXX@,$CXX,;t t
35374s,@CXXFLAGS@,$CXXFLAGS,;t t
35375s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35376s,@RANLIB@,$RANLIB,;t t
35377s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35378s,@AR@,$AR,;t t
35379s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35380s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35381s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35382s,@STRIP@,$STRIP,;t t
35383s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35384s,@YACC@,$YACC,;t t
35385s,@LEX@,$LEX,;t t
35386s,@LEXLIB@,$LEXLIB,;t t
35387s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35388s,@LN_S@,$LN_S,;t t
35389s,@CXXCPP@,$CXXCPP,;t t
35390s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35391s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35392s,@GTK_LIBS@,$GTK_LIBS,;t t
35393s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35394s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35395s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35396s,@X_CFLAGS@,$X_CFLAGS,;t t
35397s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35398s,@X_LIBS@,$X_LIBS,;t t
35399s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35400s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35401s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35402s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35403s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35404s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35405s,@RESCOMP@,$RESCOMP,;t t
35406s,@DEREZ@,$DEREZ,;t t
35407s,@SETFILE@,$SETFILE,;t t
35408s,@LIBICONV@,$LIBICONV,;t t
35409s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35410s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35411s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35412s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35413s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35414s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35415s,@WXUNIV@,$WXUNIV,;t t
35416s,@MONOLITHIC@,$MONOLITHIC,;t t
35417s,@EXTRALIBS@,$EXTRALIBS,;t t
35418s,@UNICODE@,$UNICODE,;t t
35419s,@BUILD@,$BUILD,;t t
35420s,@SHARED@,$SHARED,;t t
35421s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35422s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35423s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35424s,@SET_MAKE@,$SET_MAKE,;t t
35425s,@MAKE_SET@,$MAKE_SET,;t t
35426s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35427s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35428s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35429s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35430s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35431s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35432s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35433s,@DLLPREFIX@,$DLLPREFIX,;t t
35434s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35435s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35436s,@PIC_FLAG@,$PIC_FLAG,;t t
35437s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35438s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35439s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35440s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35441s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35442s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35443s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35444s,@COND_SHARED_1_MONOLITHIC_0@,$COND_SHARED_1_MONOLITHIC_0,;t t
35445s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35446s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35447s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35448s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35449s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35450s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35451s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35452s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35453s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35454s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35455s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_0@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_0,;t t
35456s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_1@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_1,;t t
35457s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35458s,@COND_SHARED_0_USE_GUI_1_MONOLITHIC_0@,$COND_SHARED_0_USE_GUI_1_MONOLITHIC_0,;t t
35459s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35460s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35461s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35462s,@COND_SHARED_1_USE_GUI_1_MONOLITHIC_0@,$COND_SHARED_1_USE_GUI_1_MONOLITHIC_0,;t t
35463s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35464s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35465s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35466s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35467s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35468s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35469s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35470s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35471s,@COND_SHARED_1_MONOLITHIC_1@,$COND_SHARED_1_MONOLITHIC_1,;t t
35472s,@COND_SHARED_0_MONOLITHIC_1@,$COND_SHARED_0_MONOLITHIC_1,;t t
35473s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35474s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35475s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35476s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35477s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35478s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35479s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35480s,@COND_SHARED_0_MONOLITHIC_0@,$COND_SHARED_0_MONOLITHIC_0,;t t
35481s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35482s,@COND_DEPS_TYPE_GCC@,$COND_DEPS_TYPE_GCC,;t t
35483s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35484s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35485s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35486s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35487s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35488s,@LEX_STEM@,$LEX_STEM,;t t
35489s,@PATH_IFS@,$PATH_IFS,;t t
35490s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35491s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35492s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35493s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35494s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35495s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35496s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35497s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35498s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35499s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35500s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35501s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35502s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35503s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35504s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35505s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35506s,@WX_ALL@,$WX_ALL,;t t
35507s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35508s,@SHARED_LD@,$SHARED_LD,;t t
35509s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35510s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35511s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35512s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35513s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35514s,@USE_GUI@,$USE_GUI,;t t
35515s,@AFMINSTALL@,$AFMINSTALL,;t t
35516s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35517s,@TOOLKIT@,$TOOLKIT,;t t
35518s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35519s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35520s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35521s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35522s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35523s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35524s,@cross_compiling@,$cross_compiling,;t t
35525s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35526s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35527s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35528s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35529s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35530s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35531s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35532s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35533s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35534s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35535s,@GUIDIST@,$GUIDIST,;t t
35536s,@PORT_FILES@,$PORT_FILES,;t t
35537s,@DISTDIR@,$DISTDIR,;t t
35538s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35539s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35540s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35541s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35542s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35543s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35544s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35545s,@RESFLAGS@,$RESFLAGS,;t t
35546s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35547s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35548s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35549s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35550s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35551s,@MACRESCOMP@,$MACRESCOMP,;t t
35552s,@MACSETFILE@,$MACSETFILE,;t t
35553s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35554s,@GCC@,$GCC,;t t
35555s,@DLLTOOL@,$DLLTOOL,;t t
35556s,@AS@,$AS,;t t
35557s,@NM@,$NM,;t t
35558s,@LD@,$LD,;t t
35559s,@MAKEINFO@,$MAKEINFO,;t t
35560s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35561s,@ESD_LINK@,$ESD_LINK,;t t
35562s,@LIBOBJS@,$LIBOBJS,;t t
35563s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35564CEOF
35565
35566_ACEOF
35567
35568 cat >>$CONFIG_STATUS <<\_ACEOF
35569 # Split the substitutions into bite-sized pieces for seds with
35570 # small command number limits, like on Digital OSF/1 and HP-UX.
35571 ac_max_sed_lines=48
35572 ac_sed_frag=1 # Number of current file.
35573 ac_beg=1 # First line for current file.
35574 ac_end=$ac_max_sed_lines # Line after last line for current file.
35575 ac_more_lines=:
35576 ac_sed_cmds=
35577 while $ac_more_lines; do
35578 if test $ac_beg -gt 1; then
35579 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35580 else
35581 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35582 fi
35583 if test ! -s $tmp/subs.frag; then
35584 ac_more_lines=false
35585 else
35586 # The purpose of the label and of the branching condition is to
35587 # speed up the sed processing (if there are no `@' at all, there
35588 # is no need to browse any of the substitutions).
35589 # These are the two extra sed commands mentioned above.
35590 (echo ':t
35591 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35592 if test -z "$ac_sed_cmds"; then
35593 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35594 else
35595 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35596 fi
35597 ac_sed_frag=`expr $ac_sed_frag + 1`
35598 ac_beg=$ac_end
35599 ac_end=`expr $ac_end + $ac_max_sed_lines`
35600 fi
35601 done
35602 if test -z "$ac_sed_cmds"; then
35603 ac_sed_cmds=cat
35604 fi
35605fi # test -n "$CONFIG_FILES"
35606
35607_ACEOF
35608cat >>$CONFIG_STATUS <<\_ACEOF
35609for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35610 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35611 case $ac_file in
35612 - | *:- | *:-:* ) # input from stdin
35613 cat >$tmp/stdin
35614 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35616 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35617 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35618 * ) ac_file_in=$ac_file.in ;;
35619 esac
35620
35621 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35622 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35623$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35624 X"$ac_file" : 'X\(//\)[^/]' \| \
35625 X"$ac_file" : 'X\(//\)$' \| \
35626 X"$ac_file" : 'X\(/\)' \| \
35627 . : '\(.\)' 2>/dev/null ||
35628echo X"$ac_file" |
35629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35630 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35631 /^X\(\/\/\)$/{ s//\1/; q; }
35632 /^X\(\/\).*/{ s//\1/; q; }
35633 s/.*/./; q'`
35634 { if $as_mkdir_p; then
35635 mkdir -p "$ac_dir"
35636 else
35637 as_dir="$ac_dir"
35638 as_dirs=
35639 while test ! -d "$as_dir"; do
35640 as_dirs="$as_dir $as_dirs"
35641 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35642$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35643 X"$as_dir" : 'X\(//\)[^/]' \| \
35644 X"$as_dir" : 'X\(//\)$' \| \
35645 X"$as_dir" : 'X\(/\)' \| \
35646 . : '\(.\)' 2>/dev/null ||
35647echo X"$as_dir" |
35648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35650 /^X\(\/\/\)$/{ s//\1/; q; }
35651 /^X\(\/\).*/{ s//\1/; q; }
35652 s/.*/./; q'`
35653 done
35654 test ! -n "$as_dirs" || mkdir $as_dirs
35655 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35656echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35657 { (exit 1); exit 1; }; }; }
35658
35659 ac_builddir=.
35660
35661if test "$ac_dir" != .; then
35662 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35663 # A "../" for each directory in $ac_dir_suffix.
35664 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35665else
35666 ac_dir_suffix= ac_top_builddir=
35667fi
35668
35669case $srcdir in
35670 .) # No --srcdir option. We are building in place.
35671 ac_srcdir=.
35672 if test -z "$ac_top_builddir"; then
35673 ac_top_srcdir=.
35674 else
35675 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35676 fi ;;
35677 [\\/]* | ?:[\\/]* ) # Absolute path.
35678 ac_srcdir=$srcdir$ac_dir_suffix;
35679 ac_top_srcdir=$srcdir ;;
35680 *) # Relative path.
35681 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35682 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35683esac
35684# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35685# absolute.
35686ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35687ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35688ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35689ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35690
35691
35692 case $INSTALL in
35693 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35694 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35695 esac
35696
35697 if test x"$ac_file" != x-; then
35698 { echo "$as_me:$LINENO: creating $ac_file" >&5
35699echo "$as_me: creating $ac_file" >&6;}
35700 rm -f "$ac_file"
35701 fi
35702 # Let's still pretend it is `configure' which instantiates (i.e., don't
35703 # use $as_me), people would be surprised to read:
35704 # /* config.h. Generated by config.status. */
35705 if test x"$ac_file" = x-; then
35706 configure_input=
35707 else
35708 configure_input="$ac_file. "
35709 fi
35710 configure_input=$configure_input"Generated from `echo $ac_file_in |
35711 sed 's,.*/,,'` by configure."
35712
35713 # First look for the input files in the build tree, otherwise in the
35714 # src tree.
35715 ac_file_inputs=`IFS=:
35716 for f in $ac_file_in; do
35717 case $f in
35718 -) echo $tmp/stdin ;;
35719 [\\/$]*)
35720 # Absolute (can't be DOS-style, as IFS=:)
35721 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35722echo "$as_me: error: cannot find input file: $f" >&2;}
35723 { (exit 1); exit 1; }; }
35724 echo $f;;
35725 *) # Relative
35726 if test -f "$f"; then
35727 # Build tree
35728 echo $f
35729 elif test -f "$srcdir/$f"; then
35730 # Source tree
35731 echo $srcdir/$f
35732 else
35733 # /dev/null tree
35734 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35735echo "$as_me: error: cannot find input file: $f" >&2;}
35736 { (exit 1); exit 1; }; }
35737 fi;;
35738 esac
35739 done` || { (exit 1); exit 1; }
35740_ACEOF
35741cat >>$CONFIG_STATUS <<_ACEOF
35742 sed "$ac_vpsub
35743$extrasub
35744_ACEOF
35745cat >>$CONFIG_STATUS <<\_ACEOF
35746:t
35747/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35748s,@configure_input@,$configure_input,;t t
35749s,@srcdir@,$ac_srcdir,;t t
35750s,@abs_srcdir@,$ac_abs_srcdir,;t t
35751s,@top_srcdir@,$ac_top_srcdir,;t t
35752s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35753s,@builddir@,$ac_builddir,;t t
35754s,@abs_builddir@,$ac_abs_builddir,;t t
35755s,@top_builddir@,$ac_top_builddir,;t t
35756s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35757s,@INSTALL@,$ac_INSTALL,;t t
35758" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35759 rm -f $tmp/stdin
35760 if test x"$ac_file" != x-; then
35761 mv $tmp/out $ac_file
35762 else
35763 cat $tmp/out
35764 rm -f $tmp/out
35765 fi
35766
35767done
35768_ACEOF
35769cat >>$CONFIG_STATUS <<\_ACEOF
35770
35771#
35772# CONFIG_HEADER section.
35773#
35774
35775# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35776# NAME is the cpp macro being defined and VALUE is the value it is being given.
35777#
35778# ac_d sets the value in "#define NAME VALUE" lines.
35779ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35780ac_dB='[ ].*$,\1#\2'
35781ac_dC=' '
35782ac_dD=',;t'
35783# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35784ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35785ac_uB='$,\1#\2define\3'
35786ac_uC=' '
35787ac_uD=',;t'
35788
35789for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35790 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35791 case $ac_file in
35792 - | *:- | *:-:* ) # input from stdin
35793 cat >$tmp/stdin
35794 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35795 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35796 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35797 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35798 * ) ac_file_in=$ac_file.in ;;
35799 esac
35800
35801 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35802echo "$as_me: creating $ac_file" >&6;}
35803
35804 # First look for the input files in the build tree, otherwise in the
35805 # src tree.
35806 ac_file_inputs=`IFS=:
35807 for f in $ac_file_in; do
35808 case $f in
35809 -) echo $tmp/stdin ;;
35810 [\\/$]*)
35811 # Absolute (can't be DOS-style, as IFS=:)
35812 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35813echo "$as_me: error: cannot find input file: $f" >&2;}
35814 { (exit 1); exit 1; }; }
35815 echo $f;;
35816 *) # Relative
35817 if test -f "$f"; then
35818 # Build tree
35819 echo $f
35820 elif test -f "$srcdir/$f"; then
35821 # Source tree
35822 echo $srcdir/$f
35823 else
35824 # /dev/null tree
35825 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35826echo "$as_me: error: cannot find input file: $f" >&2;}
35827 { (exit 1); exit 1; }; }
35828 fi;;
35829 esac
35830 done` || { (exit 1); exit 1; }
35831 # Remove the trailing spaces.
35832 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35833
35834_ACEOF
35835
35836# Transform confdefs.h into two sed scripts, `conftest.defines' and
35837# `conftest.undefs', that substitutes the proper values into
35838# config.h.in to produce config.h. The first handles `#define'
35839# templates, and the second `#undef' templates.
35840# And first: Protect against being on the right side of a sed subst in
35841# config.status. Protect against being in an unquoted here document
35842# in config.status.
35843rm -f conftest.defines conftest.undefs
35844# Using a here document instead of a string reduces the quoting nightmare.
35845# Putting comments in sed scripts is not portable.
35846#
35847# `end' is used to avoid that the second main sed command (meant for
35848# 0-ary CPP macros) applies to n-ary macro definitions.
35849# See the Autoconf documentation for `clear'.
35850cat >confdef2sed.sed <<\_ACEOF
35851s/[\\&,]/\\&/g
35852s,[\\$`],\\&,g
35853t clear
35854: clear
35855s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35856t end
35857s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35858: end
35859_ACEOF
35860# If some macros were called several times there might be several times
35861# the same #defines, which is useless. Nevertheless, we may not want to
35862# sort them, since we want the *last* AC-DEFINE to be honored.
35863uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35864sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35865rm -f confdef2sed.sed
35866
35867# This sed command replaces #undef with comments. This is necessary, for
35868# example, in the case of _POSIX_SOURCE, which is predefined and required
35869# on some systems where configure will not decide to define it.
35870cat >>conftest.undefs <<\_ACEOF
35871s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35872_ACEOF
35873
35874# Break up conftest.defines because some shells have a limit on the size
35875# of here documents, and old seds have small limits too (100 cmds).
35876echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35877echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35878echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35879echo ' :' >>$CONFIG_STATUS
35880rm -f conftest.tail
35881while grep . conftest.defines >/dev/null
35882do
35883 # Write a limited-size here document to $tmp/defines.sed.
35884 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35885 # Speed up: don't consider the non `#define' lines.
35886 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35887 # Work around the forget-to-reset-the-flag bug.
35888 echo 't clr' >>$CONFIG_STATUS
35889 echo ': clr' >>$CONFIG_STATUS
35890 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35891 echo 'CEOF
35892 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35893 rm -f $tmp/in
35894 mv $tmp/out $tmp/in
35895' >>$CONFIG_STATUS
35896 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35897 rm -f conftest.defines
35898 mv conftest.tail conftest.defines
35899done
35900rm -f conftest.defines
35901echo ' fi # grep' >>$CONFIG_STATUS
35902echo >>$CONFIG_STATUS
35903
35904# Break up conftest.undefs because some shells have a limit on the size
35905# of here documents, and old seds have small limits too (100 cmds).
35906echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35907rm -f conftest.tail
35908while grep . conftest.undefs >/dev/null
35909do
35910 # Write a limited-size here document to $tmp/undefs.sed.
35911 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35912 # Speed up: don't consider the non `#undef'
35913 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35914 # Work around the forget-to-reset-the-flag bug.
35915 echo 't clr' >>$CONFIG_STATUS
35916 echo ': clr' >>$CONFIG_STATUS
35917 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35918 echo 'CEOF
35919 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35920 rm -f $tmp/in
35921 mv $tmp/out $tmp/in
35922' >>$CONFIG_STATUS
35923 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35924 rm -f conftest.undefs
35925 mv conftest.tail conftest.undefs
35926done
35927rm -f conftest.undefs
35928
35929cat >>$CONFIG_STATUS <<\_ACEOF
35930 # Let's still pretend it is `configure' which instantiates (i.e., don't
35931 # use $as_me), people would be surprised to read:
35932 # /* config.h. Generated by config.status. */
35933 if test x"$ac_file" = x-; then
35934 echo "/* Generated by configure. */" >$tmp/config.h
35935 else
35936 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35937 fi
35938 cat $tmp/in >>$tmp/config.h
35939 rm -f $tmp/in
35940 if test x"$ac_file" != x-; then
35941 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35942 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35943echo "$as_me: $ac_file is unchanged" >&6;}
35944 else
35945 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35946$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35947 X"$ac_file" : 'X\(//\)[^/]' \| \
35948 X"$ac_file" : 'X\(//\)$' \| \
35949 X"$ac_file" : 'X\(/\)' \| \
35950 . : '\(.\)' 2>/dev/null ||
35951echo X"$ac_file" |
35952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35953 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35954 /^X\(\/\/\)$/{ s//\1/; q; }
35955 /^X\(\/\).*/{ s//\1/; q; }
35956 s/.*/./; q'`
35957 { if $as_mkdir_p; then
35958 mkdir -p "$ac_dir"
35959 else
35960 as_dir="$ac_dir"
35961 as_dirs=
35962 while test ! -d "$as_dir"; do
35963 as_dirs="$as_dir $as_dirs"
35964 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35965$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35966 X"$as_dir" : 'X\(//\)[^/]' \| \
35967 X"$as_dir" : 'X\(//\)$' \| \
35968 X"$as_dir" : 'X\(/\)' \| \
35969 . : '\(.\)' 2>/dev/null ||
35970echo X"$as_dir" |
35971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35972 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35973 /^X\(\/\/\)$/{ s//\1/; q; }
35974 /^X\(\/\).*/{ s//\1/; q; }
35975 s/.*/./; q'`
35976 done
35977 test ! -n "$as_dirs" || mkdir $as_dirs
35978 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35979echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35980 { (exit 1); exit 1; }; }; }
35981
35982 rm -f $ac_file
35983 mv $tmp/config.h $ac_file
35984 fi
35985 else
35986 cat $tmp/config.h
35987 rm -f $tmp/config.h
35988 fi
35989done
35990_ACEOF
35991cat >>$CONFIG_STATUS <<\_ACEOF
35992
35993#
35994# CONFIG_COMMANDS section.
35995#
35996for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35997 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35998 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35999 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36000$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36001 X"$ac_dest" : 'X\(//\)[^/]' \| \
36002 X"$ac_dest" : 'X\(//\)$' \| \
36003 X"$ac_dest" : 'X\(/\)' \| \
36004 . : '\(.\)' 2>/dev/null ||
36005echo X"$ac_dest" |
36006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36008 /^X\(\/\/\)$/{ s//\1/; q; }
36009 /^X\(\/\).*/{ s//\1/; q; }
36010 s/.*/./; q'`
36011 ac_builddir=.
36012
36013if test "$ac_dir" != .; then
36014 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36015 # A "../" for each directory in $ac_dir_suffix.
36016 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36017else
36018 ac_dir_suffix= ac_top_builddir=
36019fi
36020
36021case $srcdir in
36022 .) # No --srcdir option. We are building in place.
36023 ac_srcdir=.
36024 if test -z "$ac_top_builddir"; then
36025 ac_top_srcdir=.
36026 else
36027 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36028 fi ;;
36029 [\\/]* | ?:[\\/]* ) # Absolute path.
36030 ac_srcdir=$srcdir$ac_dir_suffix;
36031 ac_top_srcdir=$srcdir ;;
36032 *) # Relative path.
36033 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36034 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36035esac
36036# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36037# absolute.
36038ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36039ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36040ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36041ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36042
36043
36044 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36045echo "$as_me: executing $ac_dest commands" >&6;}
36046 case $ac_dest in
36047 default )
36048 if test ! -h wx-config; then
36049 chmod +x wx-config
36050 mv wx-config wx${TOOLCHAIN_NAME}-config
36051 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36052 fi
36053
36054 if test ! -d lib; then
36055 mkdir lib
36056 fi
36057 if test ! -d lib/wx; then
36058 mkdir lib/wx
36059 fi
36060 if test ! -d lib/wx/include; then
36061 mkdir lib/wx/include
36062 fi
36063 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36064 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36065 fi
36066 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36067 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36068 fi
36069 if test -f setup.h; then
36070 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36071 fi
36072 ;;
36073 esac
36074done
36075_ACEOF
36076
36077cat >>$CONFIG_STATUS <<\_ACEOF
36078
36079{ (exit 0); exit 0; }
36080_ACEOF
36081chmod +x $CONFIG_STATUS
36082ac_clean_files=$ac_clean_files_save
36083
36084
36085# configure is writing to config.log, and then calls config.status.
36086# config.status does its own redirection, appending to config.log.
36087# Unfortunately, on DOS this fails, as config.log is still kept open
36088# by configure, so config.status won't be able to write to it; its
36089# output is simply discarded. So we exec the FD to /dev/null,
36090# effectively closing config.log, so it can be properly (re)opened and
36091# appended to by config.status. When coming back to configure, we
36092# need to make the FD available again.
36093if test "$no_create" != yes; then
36094 ac_cs_success=:
36095 ac_config_status_args=
36096 test "$silent" = yes &&
36097 ac_config_status_args="$ac_config_status_args --quiet"
36098 exec 5>/dev/null
36099 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36100 exec 5>>config.log
36101 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36102 # would make configure fail if this is the last instruction.
36103 $ac_cs_success || { (exit 1); exit 1; }
36104fi
36105
36106
36107echo
36108echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36109echo ""
36110echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36111echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36112
36113echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36114echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36115echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36116
36117echo " What level of wxWindows compatibility should be enabled?"
36118echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36119echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36120echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36121
36122echo " Which libraries should wxWindows use?"
36123echo " jpeg ${wxUSE_LIBJPEG-none}"
36124echo " png ${wxUSE_LIBPNG-none}"
36125echo " regex ${wxUSE_REGEX}"
36126echo " tiff ${wxUSE_LIBTIFF-none}"
36127echo " zlib ${wxUSE_ZLIB}"
36128echo " odbc ${wxUSE_ODBC}"
36129
36130echo ""
36131